Socket
Socket
Sign inDemoInstall

@polkadot/x-bigint

Package Overview
Dependencies
Maintainers
2
Versions
295
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 11.0.2 to 11.1.1

2

cjs/index.js

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