@xylabs/bignumber
Advanced tools
Comparing version 2.11.24 to 2.12.0
@@ -1,43 +0,7 @@ | ||
"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/index.ts | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
BN: () => import_bn.default, | ||
BigNumber: () => import_bn.default | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
var import_bn = __toESM(require("bn.js")); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
import BN from "bn.js"; | ||
export { | ||
BN, | ||
BigNumber | ||
}); | ||
BN as BigNumber | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -18,3 +18,2 @@ { | ||
}, | ||
"types": "dist/node/index.d.ts", | ||
"exports": { | ||
@@ -24,7 +23,7 @@ ".": { | ||
"types": "./dist/node/index.d.ts", | ||
"default": "./dist/node/index.js" | ||
"default": "./dist/node/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./dist/node/index.d.mts", | ||
"default": "./dist/node/index.mjs" | ||
"default": "./dist/node/index.js" | ||
} | ||
@@ -37,4 +36,2 @@ }, | ||
}, | ||
"main": "dist/node/index.js", | ||
"module": "dist/node/index.mjs", | ||
"homepage": "https://xylabs.com", | ||
@@ -61,3 +58,4 @@ "keywords": [ | ||
"sideEffects": false, | ||
"version": "2.11.24" | ||
"version": "2.12.0", | ||
"type": "module" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Yes
16827