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

@polkadot/util

Package Overview
Dependencies
Maintainers
2
Versions
1411
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/util - npm Package Compare versions

Comparing version 9.4.2-8 to 9.4.2-9

16

bi/min.js
// Copyright 2017-2022 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { createCmp } from "./helpers.js";
/** @internal */
function gt(a, b) {
return a > b;
}
/** @internal */
function lt(a, b) {
return a < b;
}
/**

@@ -20,4 +9,3 @@ * @name nMax

export const nMax = createCmp(gt);
export const nMax = createCmp((a, b) => a > b);
/**

@@ -28,2 +16,2 @@ * @name nMin

export const nMin = createCmp(lt);
export const nMin = createCmp((a, b) => a < b);

@@ -5,12 +5,2 @@ // Copyright 2017-2022 @polkadot/util authors & contributors

/** @internal */
function gt(a, b) {
return a.gt(b);
}
/** @internal */
function lt(a, b) {
return a.lt(b);
}
/**

@@ -29,5 +19,3 @@ * @name bnMax

*/
export const bnMax = createCmp(gt);
export const bnMax = createCmp((a, b) => a.gt(b));
/**

@@ -47,2 +35,2 @@ * @name bnMin

export const bnMin = createCmp(lt);
export const bnMin = createCmp((a, b) => a.lt(b));

@@ -13,12 +13,2 @@ "use strict";

/** @internal */
function gt(a, b) {
return a > b;
}
/** @internal */
function lt(a, b) {
return a < b;
}
/**

@@ -28,5 +18,3 @@ * @name nMax

*/
const nMax = (0, _helpers.createCmp)(gt);
const nMax = (0, _helpers.createCmp)((a, b) => a > b);
/**

@@ -38,3 +26,3 @@ * @name nMin

exports.nMax = nMax;
const nMin = (0, _helpers.createCmp)(lt);
const nMin = (0, _helpers.createCmp)((a, b) => a < b);
exports.nMin = nMin;

@@ -13,12 +13,2 @@ "use strict";

/** @internal */
function gt(a, b) {
return a.gt(b);
}
/** @internal */
function lt(a, b) {
return a.lt(b);
}
/**

@@ -37,5 +27,3 @@ * @name bnMax

*/
const bnMax = (0, _helpers.createCmp)(gt);
const bnMax = (0, _helpers.createCmp)((a, b) => a.gt(b));
/**

@@ -56,3 +44,3 @@ * @name bnMin

exports.bnMax = bnMax;
const bnMin = (0, _helpers.createCmp)(lt);
const bnMin = (0, _helpers.createCmp)((a, b) => a.lt(b));
exports.bnMin = bnMin;

2

cjs/packageInfo.js

@@ -14,4 +14,4 @@ "use strict";

type: 'cjs',
version: '9.4.2-8'
version: '9.4.2-9'
};
exports.packageInfo = packageInfo;

@@ -23,3 +23,3 @@ {

"type": "module",
"version": "9.4.2-8",
"version": "9.4.2-9",
"main": "./cjs/index.js",

@@ -703,6 +703,6 @@ "module": "./index.js",

"@babel/runtime": "^7.18.3",
"@polkadot/x-bigint": "9.4.2-8",
"@polkadot/x-global": "9.4.2-8",
"@polkadot/x-textdecoder": "9.4.2-8",
"@polkadot/x-textencoder": "9.4.2-8",
"@polkadot/x-bigint": "9.4.2-9",
"@polkadot/x-global": "9.4.2-9",
"@polkadot/x-textdecoder": "9.4.2-9",
"@polkadot/x-textencoder": "9.4.2-9",
"@types/bn.js": "^5.1.0",

@@ -709,0 +709,0 @@ "bn.js": "^5.2.1",

@@ -8,3 +8,3 @@ // Copyright 2017-2022 @polkadot/util authors & contributors

type: 'esm',
version: '9.4.2-8'
version: '9.4.2-9'
};

Sorry, the diff of this file is too big to display

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