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

@polkadot/x-randomvalues

Package Overview
Dependencies
Maintainers
2
Versions
721
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/x-randomvalues - npm Package Compare versions

Comparing version 11.0.2 to 11.1.1

2

base64.js

@@ -19,2 +19,2 @@ const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';

return Uint8Array.from(bytes);
}
}

@@ -8,2 +8,2 @@ import { xglobal } from '@polkadot/x-global';

return xglobal.crypto.getRandomValues(arr);
}
}

@@ -23,2 +23,2 @@ "use strict";

}
exports.base64Decode = base64Decode;
exports.base64Decode = base64Decode;

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

}
exports.getRandomValues = getRandomValues;
exports.getRandomValues = getRandomValues;

@@ -19,2 +19,2 @@ "use strict";

}
exports.insecureRandomValues = insecureRandomValues;
exports.insecureRandomValues = insecureRandomValues;

@@ -15,2 +15,2 @@ "use strict";

}
exports.getRandomValues = getRandomValues;
exports.getRandomValues = getRandomValues;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.packageInfo = void 0;
exports.packageInfo = { name: '@polkadot/x-randomvalues', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '11.0.2' };
exports.packageInfo = { name: '@polkadot/x-randomvalues', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '11.1.1' };

@@ -24,2 +24,2 @@ "use strict";

? fallback_js_1.insecureRandomValues
: getRandomValuesNative);
: getRandomValuesNative);

@@ -15,2 +15,2 @@ let warned = false;

return arr;
}
}

@@ -9,2 +9,2 @@ import crypto from 'crypto';

return output;
}
}
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/common/issues",
"contributors": [],
"description": "A cross-environment window.crypto.getRandomValues replacement",
"engines": {
"node": ">=14.0.0"
"node": ">=14"
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-randomvalues#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/x-randomvalues",

@@ -20,3 +18,3 @@ "repository": {

"type": "module",
"version": "11.0.2",
"version": "11.1.1",
"main": "./cjs/node.js",

@@ -86,3 +84,3 @@ "module": "./node.js",

"dependencies": {
"@polkadot/x-global": "11.0.2",
"@polkadot/x-global": "11.1.1",
"tslib": "^2.5.0"

@@ -89,0 +87,0 @@ },

@@ -1,1 +0,1 @@

export const packageInfo = { name: '@polkadot/x-randomvalues', 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-randomvalues', 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' };

@@ -20,2 +20,2 @@ import { NativeModules } from 'react-native';

? insecureRandomValues
: getRandomValuesNative);
: getRandomValuesNative);
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