@xylabs/crypto
Advanced tools
Comparing version 2.11.16 to 2.11.17
@@ -1,3 +0,3 @@ | ||
export * from './browser'; | ||
export { cryptoPolyfillBrowser as bufferPolyfill, BrowserCrypto as Crypto } from './browser'; | ||
export * from './browser-only'; | ||
export { cryptoPolyfillBrowser as bufferPolyfill, BrowserCrypto as Crypto } from './browser-only'; | ||
//# sourceMappingURL=browserIndex.d.ts.map |
@@ -1,3 +0,3 @@ | ||
export * from "./browser"; | ||
import { cryptoPolyfillBrowser, BrowserCrypto } from "./browser"; | ||
export * from "./browser-only"; | ||
import { cryptoPolyfillBrowser, BrowserCrypto } from "./browser-only"; | ||
export { | ||
@@ -4,0 +4,0 @@ BrowserCrypto as Crypto, |
@@ -1,3 +0,3 @@ | ||
export * from './node'; | ||
export { NodeCrypto as Crypto, cryptoPolyfillNode as cryptoPolyfill } from './node'; | ||
export * from './node-only'; | ||
export { NodeCrypto as Crypto, cryptoPolyfillNode as cryptoPolyfill } from './node-only'; | ||
//# sourceMappingURL=nodeIndex.d.ts.map |
@@ -1,3 +0,3 @@ | ||
export * from "./node"; | ||
import { NodeCrypto, cryptoPolyfillNode } from "./node"; | ||
export * from "./node-only"; | ||
import { NodeCrypto, cryptoPolyfillNode } from "./node-only"; | ||
export { | ||
@@ -4,0 +4,0 @@ NodeCrypto as Crypto, |
@@ -1,3 +0,3 @@ | ||
export * from './browser'; | ||
export { cryptoPolyfillBrowser as bufferPolyfill, BrowserCrypto as Crypto } from './browser'; | ||
export * from './browser-only'; | ||
export { cryptoPolyfillBrowser as bufferPolyfill, BrowserCrypto as Crypto } from './browser-only'; | ||
//# sourceMappingURL=browserIndex.d.ts.map |
@@ -22,8 +22,8 @@ "use strict"; | ||
__export(browserIndex_exports, { | ||
Crypto: () => import_browser.BrowserCrypto, | ||
bufferPolyfill: () => import_browser.cryptoPolyfillBrowser | ||
Crypto: () => import_browser_only.BrowserCrypto, | ||
bufferPolyfill: () => import_browser_only.cryptoPolyfillBrowser | ||
}); | ||
module.exports = __toCommonJS(browserIndex_exports); | ||
__reExport(browserIndex_exports, require("./browser"), module.exports); | ||
var import_browser = require("./browser"); | ||
__reExport(browserIndex_exports, require("./browser-only"), module.exports); | ||
var import_browser_only = require("./browser-only"); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -33,4 +33,4 @@ 0 && (module.exports = { | ||
bufferPolyfill, | ||
...require("./browser") | ||
...require("./browser-only") | ||
}); | ||
//# sourceMappingURL=browserIndex.js.map |
@@ -1,3 +0,3 @@ | ||
export * from './node'; | ||
export { NodeCrypto as Crypto, cryptoPolyfillNode as cryptoPolyfill } from './node'; | ||
export * from './node-only'; | ||
export { NodeCrypto as Crypto, cryptoPolyfillNode as cryptoPolyfill } from './node-only'; | ||
//# sourceMappingURL=nodeIndex.d.ts.map |
@@ -22,8 +22,8 @@ "use strict"; | ||
__export(nodeIndex_exports, { | ||
Crypto: () => import_node.NodeCrypto, | ||
cryptoPolyfill: () => import_node.cryptoPolyfillNode | ||
Crypto: () => import_node_only.NodeCrypto, | ||
cryptoPolyfill: () => import_node_only.cryptoPolyfillNode | ||
}); | ||
module.exports = __toCommonJS(nodeIndex_exports); | ||
__reExport(nodeIndex_exports, require("./node"), module.exports); | ||
var import_node = require("./node"); | ||
__reExport(nodeIndex_exports, require("./node-only"), module.exports); | ||
var import_node_only = require("./node-only"); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -33,4 +33,4 @@ 0 && (module.exports = { | ||
cryptoPolyfill, | ||
...require("./node") | ||
...require("./node-only") | ||
}); | ||
//# sourceMappingURL=nodeIndex.js.map |
@@ -15,28 +15,16 @@ { | ||
"docs": "dist/docs.json", | ||
"types": "dist/node/nodeIndex.d.ts", | ||
"types": "dist/node/node-only/index.d.ts", | ||
"exports": { | ||
".": { | ||
"browser": { | ||
"types": "./dist/browser/browser-only/index.d.ts", | ||
"default": "./dist/browser/browser-only/index.js" | ||
}, | ||
"require": { | ||
"browser": { | ||
"types": "./dist/browser/browserIndex.d.ts", | ||
"default": "./dist/browser/browserIndex.js" | ||
}, | ||
"node": { | ||
"types": "./dist/node/nodeIndex.d.ts", | ||
"default": "./dist/node/nodeIndex.js" | ||
}, | ||
"types": "./dist/node/nodeIndex.d.ts", | ||
"default": "./dist/node/nodeIndex.js" | ||
"types": "./dist/node/node-only/index.d.ts", | ||
"default": "./dist/node/node-only/index.js" | ||
}, | ||
"import": { | ||
"browser": { | ||
"types": "./dist/browser/browserIndex.d.mts", | ||
"default": "./dist/browser/browserIndex.mjs" | ||
}, | ||
"node": { | ||
"types": "./dist/node/nodeIndex.d.mts", | ||
"default": "./dist/node/nodeIndex.mjs" | ||
}, | ||
"types": "./dist/node/nodeIndex.d.mts", | ||
"default": "./dist/node/nodeIndex.mjs" | ||
"types": "./dist/node/node-only/index.d.mts", | ||
"default": "./dist/node/node-only/index.mjs" | ||
} | ||
@@ -49,4 +37,4 @@ }, | ||
}, | ||
"main": "dist/node/nodeIndex.js", | ||
"module": "dist/node/nodeIndex.mjs", | ||
"main": "dist/node/node-only/index.js", | ||
"module": "dist/node/node-only/index.mjs", | ||
"homepage": "https://xylabs.com", | ||
@@ -66,5 +54,5 @@ "keywords": [ | ||
"@types/node": "^20.7.0", | ||
"@xylabs/ts-scripts-yarn3": "^3.0.62", | ||
"@xylabs/tsconfig": "^3.0.62", | ||
"@xylabs/tsconfig-dom": "^3.0.62", | ||
"@xylabs/ts-scripts-yarn3": "^3.0.65", | ||
"@xylabs/tsconfig": "^3.0.65", | ||
"@xylabs/tsconfig-dom": "^3.0.65", | ||
"typescript": "^5.2.2" | ||
@@ -80,3 +68,3 @@ }, | ||
"sideEffects": false, | ||
"version": "2.11.16", | ||
"version": "2.11.17", | ||
"xy": { | ||
@@ -83,0 +71,0 @@ "compile": { |
@@ -1,2 +0,2 @@ | ||
export * from './browser' | ||
export { cryptoPolyfillBrowser as bufferPolyfill, BrowserCrypto as Crypto } from './browser' | ||
export * from './browser-only' | ||
export { cryptoPolyfillBrowser as bufferPolyfill, BrowserCrypto as Crypto } from './browser-only' |
@@ -1,2 +0,2 @@ | ||
export * from './node' | ||
export { NodeCrypto as Crypto, cryptoPolyfillNode as cryptoPolyfill } from './node' | ||
export * from './node-only' | ||
export { NodeCrypto as Crypto, cryptoPolyfillNode as cryptoPolyfill } from './node-only' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
49179
1