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

@xylabs/crypto

Package Overview
Dependencies
Maintainers
7
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/crypto - npm Package Compare versions

Comparing version 2.11.24 to 2.12.0

dist/node/Crypto.cjs

41

dist/node/Crypto.js

@@ -1,41 +0,6 @@

"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/node/Crypto.ts
var Crypto_exports = {};
__export(Crypto_exports, {
Crypto: () => import_crypto.default
});
module.exports = __toCommonJS(Crypto_exports);
var import_crypto = __toESM(require("crypto"));
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
import Crypto from "crypto";
export {
Crypto
});
};
//# sourceMappingURL=Crypto.js.map

@@ -1,33 +0,8 @@

"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/node/cryptoPolyfill.ts
var cryptoPolyfill_exports = {};
__export(cryptoPolyfill_exports, {
cryptoPolyfill: () => cryptoPolyfill
});
module.exports = __toCommonJS(cryptoPolyfill_exports);
var cryptoPolyfill = () => {
return;
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
export {
cryptoPolyfill
});
};
//# sourceMappingURL=cryptoPolyfill.js.map

@@ -1,40 +0,3 @@

"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/node/index.ts
var node_exports = {};
__export(node_exports, {
Crypto: () => import_crypto.default,
cryptoPolyfill: () => cryptoPolyfill
});
module.exports = __toCommonJS(node_exports);
// src/node/Crypto.ts
var import_crypto = __toESM(require("crypto"));
import Crypto from "crypto";

@@ -45,7 +8,6 @@ // src/node/cryptoPolyfill.ts

};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
export {
Crypto,
cryptoPolyfill
});
};
//# sourceMappingURL=index.js.map

@@ -15,3 +15,2 @@ {

"docs": "dist/docs.json",
"types": "dist/node/node/index.d.ts",
"exports": {

@@ -25,3 +24,3 @@ ".": {

"import": {
"types": "./dist/browser/browser/index.d.ts",
"types": "./dist/browser/browser/index.d.mts",
"default": "./dist/browser/index.js"

@@ -32,7 +31,7 @@ }

"types": "./dist/node/node/index.d.ts",
"default": "./dist/node/index.js"
"default": "./dist/node/index.cjs"
},
"import": {
"types": "./dist/node/node/index.d.mts",
"default": "./dist/node/index.mjs"
"default": "./dist/node/index.js"
}

@@ -45,4 +44,2 @@ },

},
"main": "dist/node/index.js",
"module": "dist/node/index.mjs",
"homepage": "https://xylabs.com",

@@ -75,3 +72,3 @@ "keywords": [

"sideEffects": false,
"version": "2.11.24",
"version": "2.12.0",
"xy": {

@@ -86,3 +83,4 @@ "compile": {

}
}
},
"type": "module"
}

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

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