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

@lit-protocol/nacl

Package Overview
Dependencies
Maintainers
4
Versions
509
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lit-protocol/nacl - npm Package Compare versions

Comparing version 2.0.33 to 2.0.34

2

package.json
{
"name": "@lit-protocol/nacl",
"version": "2.0.33",
"version": "2.0.34",
"type": "commonjs",

@@ -5,0 +5,0 @@ "tags": [

@@ -1168,3 +1168,13 @@ "use strict";

// Node.js.
crypto = require('crypto');
// this nodeRequire hack was added by Chris Cassano
// because webpack was complaining that "you might try to require crypto and that's not bundled" by webpack automatically anymore.
// but this code path will only run on nodejs so it's a non-issue.
// thus we have this hack to make webpack happy.
const nodeVer = typeof process !== 'undefined' && process.versions?.node;
const nodeRequire = nodeVer
? typeof __webpack_require__ === 'function'
? __non_webpack_require__
: require
: undefined;
crypto = nodeRequire('crypto');
if (crypto && crypto.randomBytes) {

@@ -1171,0 +1181,0 @@ _nacl.setPRNG(function (x, n) {

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