Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xylabs/platform

Package Overview
Dependencies
Maintainers
0
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/platform - npm Package Compare versions

Comparing version 3.6.12 to 4.0.0

14

dist/browser/index.d.ts

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc