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

@webextensions/simpleid

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webextensions/simpleid - npm Package Compare versions

Comparing version

to
0.0.3

7

index.js

@@ -1,7 +0,8 @@

let getRandomValues;
let cryptoLib = null;
if (typeof crypto === 'undefined') {
getRandomValues = require('node:crypto').getRandomValues;
cryptoLib = require('node:crypto');
} else {
getRandomValues = crypto.getRandomValues;
cryptoLib = crypto;
}
const getRandomValues = cryptoLib.getRandomValues.bind(cryptoLib);

@@ -8,0 +9,0 @@ const pullAll = function (array, valuesToDelete) {

{
"name": "@webextensions/simpleid",
"version": "0.0.2",
"version": "0.0.3",
"description": "Generate simple unique ID strings (simpleid)",

@@ -5,0 +5,0 @@ "engines": {