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

fclone

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fclone - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

2

package.json
{
"name": "fclone",
"version": "1.0.9",
"version": "1.0.10",
"description": "Clone objects by dropping circular references",

@@ -5,0 +5,0 @@ "main": "dist/fclone.js",

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

// typed array Int32Array etc.
if (/\d[a-z]*Array]$/i.test(Object.prototype.toString.call(obj))) {
if (typeof obj.subarray === 'function' && /[A-Z][A-Za-z\d]+Array/.test(Object.prototype.toString.call(obj))) {
return obj.subarray(0);

@@ -26,0 +26,0 @@ }

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