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

@polkadot/x-bigint

Package Overview
Dependencies
Maintainers
2
Versions
297
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/x-bigint - npm Package Compare versions

Comparing version 10.1.11 to 10.1.12

4

cjs/index.js

@@ -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);
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