@polkadot/x-bigint
Advanced tools
Comparing version 10.1.11 to 10.1.12
@@ -13,10 +13,8 @@ "use strict"; | ||
}); | ||
var _xGlobal = require("@polkadot/x-global"); | ||
var _packageInfo = require("./packageInfo"); | ||
// Copyright 2017-2022 @polkadot/x-bigint authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
const BigInt = typeof _xGlobal.xglobal.BigInt === 'function' && typeof _xGlobal.xglobal.BigInt.asIntN === 'function' ? _xGlobal.xglobal.BigInt : () => Number.NaN; | ||
exports.BigInt = BigInt; |
@@ -9,3 +9,5 @@ "use strict"; | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// Do not edit, auto-generated by @polkadot/dev | ||
const packageInfo = { | ||
@@ -15,4 +17,4 @@ name: '@polkadot/x-bigint', | ||
type: 'cjs', | ||
version: '10.1.11' | ||
version: '10.1.12' | ||
}; | ||
exports.packageInfo = packageInfo; |
"use strict"; | ||
var _xBigint = require("@polkadot/x-bigint"); | ||
var _xGlobal = require("@polkadot/x-global"); | ||
// Copyright 2017-2022 @polkadot/x-bigint authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
(0, _xGlobal.exposeGlobal)('BigInt', _xBigint.BigInt); |
// Copyright 2017-2022 @polkadot/x-bigint authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
import { xglobal } from '@polkadot/x-global'; | ||
export { packageInfo } from "./packageInfo.js"; | ||
export const BigInt = typeof xglobal.BigInt === 'function' && typeof xglobal.BigInt.asIntN === 'function' ? xglobal.BigInt : () => Number.NaN; |
@@ -23,3 +23,3 @@ { | ||
"type": "module", | ||
"version": "10.1.11", | ||
"version": "10.1.12", | ||
"main": "./cjs/index.js", | ||
@@ -59,5 +59,5 @@ "module": "./index.js", | ||
"dependencies": { | ||
"@babel/runtime": "^7.19.4", | ||
"@polkadot/x-global": "10.1.11" | ||
"@babel/runtime": "^7.20.1", | ||
"@polkadot/x-global": "10.1.12" | ||
} | ||
} |
// Copyright 2017-2022 @polkadot/x-bigint authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// Do not edit, auto-generated by @polkadot/dev | ||
export const packageInfo = { | ||
@@ -8,3 +10,3 @@ name: '@polkadot/x-bigint', | ||
type: 'esm', | ||
version: '10.1.11' | ||
version: '10.1.12' | ||
}; |
// Copyright 2017-2022 @polkadot/x-bigint authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
import { BigInt } from '@polkadot/x-bigint'; | ||
import { exposeGlobal } from '@polkadot/x-global'; | ||
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
4204
+ Added@polkadot/x-global@10.1.12(transitive)
- Removed@polkadot/x-global@10.1.11(transitive)
Updated@babel/runtime@^7.20.1
Updated@polkadot/x-global@10.1.12