tnp-core 19.0.33 → 19.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -263,6 +263,11 @@ export declare namespace UtilsOs {
263
263
  */
264
264
  checkForSpecificOnlyHost?: string;
265
265
  }) => Promise<boolean>;
266
+ const isElectron: boolean;
267
+ const isBrowser: boolean;
268
+ const isNode: boolean;
269
+ const isWebSQL: boolean;
270
+ const isVscodeExtension: boolean;
266
271
  }
267
272
  export declare namespace UtilsString {
268
273
  const kebabCaseNoSplitNumbers: (input: string) => string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tnp-core/browser",
3
- "version": "19.0.33",
3
+ "version": "19.0.36",
4
4
  "module": "fesm2022/tnp-core.mjs",
5
5
  "typings": "index.d.ts",
6
6
  "exports": {
package/cli.backend.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1748396577716 = dummy1748396577716;
4
- function dummy1748396577716() { }
3
+ exports.dummy1748550826512 = dummy1748550826512;
4
+ function dummy1748550826512() { }
5
5
  //# sourceMappingURL=cli.backend.js.map
@@ -2342,6 +2342,7 @@ var UtilsOs;
2342
2342
  /* */
2343
2343
  /* */
2344
2344
  return (void 0);
2345
+ return false;
2345
2346
  };
2346
2347
  //#endregion
2347
2348
  //#region utils os / is running in wsl
@@ -2538,6 +2539,11 @@ var UtilsOs;
2538
2539
  return (void 0);
2539
2540
  };
2540
2541
  //#endregion
2542
+ UtilsOs.isElectron = UtilsOs.isRunningInElectron();
2543
+ UtilsOs.isBrowser = UtilsOs.isRunningInBrowser();
2544
+ UtilsOs.isNode = UtilsOs.isRunningInNode();
2545
+ UtilsOs.isWebSQL = UtilsOs.isRunningInWebSQL();
2546
+ UtilsOs.isVscodeExtension = UtilsOs.isRunningInVscodeExtension();
2541
2547
  })(UtilsOs || (UtilsOs = {}));
2542
2548
  //#endregion
2543
2549
  //#region utils string