@polkadot/x-bigint
Advanced tools
Comparing version 11.0.2 to 11.1.1
@@ -9,2 +9,2 @@ "use strict"; | ||
? x_global_1.xglobal.BigInt | ||
: (() => Number.NaN); | ||
: (() => Number.NaN); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.packageInfo = void 0; | ||
exports.packageInfo = { name: '@polkadot/x-bigint', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '11.0.2' }; | ||
exports.packageInfo = { name: '@polkadot/x-bigint', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '11.1.1' }; |
@@ -5,2 +5,2 @@ "use strict"; | ||
const x_global_1 = require("@polkadot/x-global"); | ||
(0, x_global_1.exposeGlobal)('BigInt', x_bigint_1.BigInt); | ||
(0, x_global_1.exposeGlobal)('BigInt', x_bigint_1.BigInt); |
@@ -5,2 +5,2 @@ import { xglobal } from '@polkadot/x-global'; | ||
? xglobal.BigInt | ||
: (() => Number.NaN); | ||
: (() => Number.NaN); |
{ | ||
"author": "Jaco Greeff <jacogr@gmail.com>", | ||
"bugs": "https://github.com/polkadot-js/common/issues", | ||
"contributors": [], | ||
"description": "A cross-environment BigInt replacement", | ||
"engines": { | ||
"node": ">=14.0.0" | ||
"node": ">=14" | ||
}, | ||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-bigint#readme", | ||
"license": "Apache-2.0", | ||
"maintainers": [], | ||
"name": "@polkadot/x-bigint", | ||
@@ -23,3 +21,3 @@ "repository": { | ||
"type": "module", | ||
"version": "11.0.2", | ||
"version": "11.1.1", | ||
"main": "./cjs/index.js", | ||
@@ -62,5 +60,5 @@ "module": "./index.js", | ||
"dependencies": { | ||
"@polkadot/x-global": "11.0.2", | ||
"@polkadot/x-global": "11.1.1", | ||
"tslib": "^2.5.0" | ||
} | ||
} |
@@ -1,1 +0,1 @@ | ||
export const packageInfo = { name: '@polkadot/x-bigint', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '11.0.2' }; | ||
export const packageInfo = { name: '@polkadot/x-bigint', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '11.1.1' }; |
import { BigInt } from '@polkadot/x-bigint'; | ||
import { exposeGlobal } from '@polkadot/x-global'; | ||
exposeGlobal('BigInt', BigInt); | ||
exposeGlobal('BigInt', BigInt); |
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
36
14242
+ Added@polkadot/x-global@11.1.1(transitive)
- Removed@polkadot/x-global@11.0.2(transitive)
Updated@polkadot/x-global@11.1.1