@xylabs/platform
Advanced tools
Comparing version 3.6.12 to 4.0.0
@@ -1,6 +0,8 @@ | ||
import type { subtle as subtleType } from 'node:crypto'; | ||
export declare const isBrowser: () => boolean; | ||
export declare const isWebworker: () => boolean; | ||
export declare const getGlobal: <T extends object>() => typeof globalThis | T; | ||
export declare const subtle: typeof subtleType; | ||
//# sourceMappingURL=index.d.ts.map | ||
import { subtle as subtle$1 } from 'node:crypto'; | ||
declare const isBrowser: () => boolean; | ||
declare const isWebworker: () => boolean; | ||
declare const getGlobal: <T extends object>() => typeof globalThis | T; | ||
declare const subtle: typeof subtle$1; | ||
export { getGlobal, isBrowser, isWebworker, subtle }; |
export { subtle } from 'node:crypto'; | ||
export declare const isBrowser: () => boolean; | ||
export declare const isWebworker: () => boolean; | ||
export declare const getGlobal: <T extends object>() => typeof globalThis | T; | ||
//# sourceMappingURL=index.d.ts.map | ||
declare const isBrowser: () => boolean; | ||
declare const isWebworker: () => boolean; | ||
declare const getGlobal: <T extends object>() => typeof globalThis | T; | ||
export { getGlobal, isBrowser, isWebworker }; |
@@ -17,30 +17,12 @@ { | ||
"browser": { | ||
"require": { | ||
"types": "./dist/browser/index.d.cts", | ||
"default": "./dist/browser/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./dist/browser/index.d.ts", | ||
"default": "./dist/browser/index.mjs" | ||
} | ||
"types": "./dist/browser/index.d.ts", | ||
"default": "./dist/browser/index.mjs" | ||
}, | ||
"neutral": { | ||
"require": { | ||
"types": "./dist/browser/index.d.cts", | ||
"default": "./dist/browser/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./dist/browser/index.d.ts", | ||
"default": "./dist/browser/index.mjs" | ||
} | ||
"types": "./dist/browser/index.d.ts", | ||
"default": "./dist/browser/index.mjs" | ||
}, | ||
"node": { | ||
"require": { | ||
"types": "./dist/node/index.d.cts", | ||
"default": "./dist/node/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./dist/node/index.d.ts", | ||
"default": "./dist/node/index.mjs" | ||
} | ||
"types": "./dist/node/index.d.ts", | ||
"default": "./dist/node/index.mjs" | ||
} | ||
@@ -50,3 +32,2 @@ }, | ||
}, | ||
"main": "./dist/browser/index.cjs", | ||
"types": "./dist/browser/index.d.ts", | ||
@@ -63,5 +44,5 @@ "module": "./dist/browser/index.mjs", | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^3.15.14", | ||
"@xylabs/tsconfig": "^3.15.14", | ||
"@xylabs/tsconfig-dom": "^3.15.14", | ||
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15", | ||
"@xylabs/tsconfig": "^4.0.0-rc.15", | ||
"@xylabs/tsconfig-dom": "^4.0.0-rc.15", | ||
"typescript": "^5.5.4" | ||
@@ -80,4 +61,4 @@ }, | ||
"sideEffects": false, | ||
"version": "3.6.12", | ||
"version": "4.0.0", | ||
"type": "module" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15377
14
106