Socket
Socket
Sign inDemoInstall

clone

Package Overview
Dependencies
0
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.5 to 0.1.6

5

clone.js

@@ -22,2 +22,5 @@ var util = require('util');

circular = true;
var useBuffer = typeof Buffer != 'undefined';
var i;

@@ -55,3 +58,3 @@ if (circular) {

child = new RegExp(parent.source);
else if (Buffer.isBuffer(parent))
else if (useBuffer && Buffer.isBuffer(parent))
{

@@ -58,0 +61,0 @@ child = new Buffer(parent.length);

2

package.json

@@ -11,3 +11,3 @@ {

],
"version": "0.1.5",
"version": "0.1.6",
"repository": {

@@ -14,0 +14,0 @@ "type": "git",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc