New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@polkadot/util

Package Overview
Dependencies
Maintainers
1
Versions
1412
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 0.19.4 to 0.19.5

is/observable.js

8

is/bn.js

@@ -9,3 +9,3 @@ 'use strict';

/**
@name isBN
@name isBn
@signature isBN (value: mixed): boolean

@@ -17,8 +17,8 @@ @summary Tests for a `BN` object instance.

import BN from 'bn.js';
import { isBN } from '@polkadot/util';
import { isBn } from '@polkadot/util';
console.log('isBN', isBN(new BN(1))); // => true
console.log('isBn', isBn(new BN(1))); // => true
*/
module.exports = function isBN(value) {
module.exports = function isBn(value) {
return BN.isBN(value);
};

@@ -6,3 +6,3 @@ 'use strict';

// of the ISC license. See the LICENSE file for details.
var isBN = require('./bn');
var isBn = require('./bn');
var isBuffer = require('./buffer');

@@ -18,2 +18,3 @@ var isBoolean = require('./boolean');

var isObject = require('./object');
var isObservable = require('./observable');
var isString = require('./string');

@@ -27,3 +28,3 @@ var isU8a = require('./u8a');

module.exports = {
isBN: isBN,
isBn: isBn,
isBoolean: isBoolean,

@@ -37,2 +38,3 @@ isBuffer: isBuffer,

isObject: isObject,
isObservable: isObservable,
isNull: isNull,

@@ -39,0 +41,0 @@ isNumber: isNumber,

{
"name": "@polkadot/util",
"version": "0.19.4",
"version": "0.19.5",
"description": "A collection of useful utilities for @polkadot",

@@ -32,3 +32,3 @@ "main": "index.js",

"devDependencies": {
"@polkadot/api-jsonrpc": "^0.9.5"
"@polkadot/api-jsonrpc": "^0.9.15"
},

@@ -35,0 +35,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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