@xylabs/platform 4.0.3 → 4.0.5

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.
@@ -1,8 +1,6 @@
1
- import { subtle as subtle$1 } from 'node:crypto';
2
-
3
- declare const isBrowser: () => boolean;
4
- declare const isWebworker: () => boolean;
5
- declare const getGlobal: <T extends object>() => typeof globalThis | T;
6
- declare const subtle: typeof subtle$1;
7
-
8
- export { getGlobal, isBrowser, isWebworker, subtle };
1
+ import type { subtle as subtleType } from 'node:crypto';
2
+ export declare const isBrowser: () => boolean;
3
+ export declare const isWebworker: () => boolean;
4
+ export declare const getGlobal: <T extends object>() => typeof globalThis | T;
5
+ export declare const subtle: typeof subtleType;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,aAAa,CAAA;AAEvD,eAAO,MAAM,SAAS,eAErB,CAAA;AAED,eAAO,MAAM,WAAW,eAEvB,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,MAAM,4BAKxB,CAAA;AAElB,eAAO,MAAM,MAAM,EAAwC,OAAO,UAAU,CAAA"}
@@ -1,7 +1,5 @@
1
1
  export { subtle } from 'node:crypto';
2
-
3
- declare const isBrowser: () => boolean;
4
- declare const isWebworker: () => boolean;
5
- declare const getGlobal: <T extends object>() => typeof globalThis | T;
6
-
7
- export { getGlobal, isBrowser, isWebworker };
2
+ export declare const isBrowser: () => boolean;
3
+ export declare const isWebworker: () => boolean;
4
+ export declare const getGlobal: <T extends object>() => typeof globalThis | T;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,eAAO,MAAM,SAAS,eAErB,CAAA;AAED,eAAO,MAAM,WAAW,eAEvB,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,MAAM,4BAKxB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/platform",
3
- "version": "4.0.3",
3
+ "version": "4.0.5",
4
4
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
5
5
  "keywords": [
6
6
  "platform",
@@ -46,9 +46,9 @@
46
46
  "module": "./dist/browser/index.mjs",
47
47
  "types": "./dist/browser/index.d.ts",
48
48
  "devDependencies": {
49
- "@xylabs/ts-scripts-yarn3": "^4.0.0",
50
- "@xylabs/tsconfig": "^4.0.0",
51
- "@xylabs/tsconfig-dom": "^4.0.0",
49
+ "@xylabs/ts-scripts-yarn3": "^4.0.7",
50
+ "@xylabs/tsconfig": "^4.0.7",
51
+ "@xylabs/tsconfig-dom": "^4.0.7",
52
52
  "typescript": "^5.5.4"
53
53
  },
54
54
  "engines": {