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

cyclonejs

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cyclonejs - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

cyclone.js

@@ -324,3 +324,3 @@ /**

module.exports = CY;
} else if (_isFunc(define) && _isFunc(require)) {
} else if (typeof define === "function" && define.amd) {
// AMD/RequireJS

@@ -327,0 +327,0 @@ define([], function() { return CY; });

{
"name": "cyclonejs",
"version": "1.0.0",
"version": "1.0.1",
"description": "A pure-javascript adaptation of the W3C's structured cloning algorithm, designed to provide an easy interface for deep copying of complex objects",

@@ -5,0 +5,0 @@ "main": "cyclone.js",

@@ -69,2 +69,3 @@ [![Build Status](https://travis-ci.org/traviskaufman/cycloneJS.png)](https://travis-ci.org/traviskaufman/cycloneJS)

* `allowFunctions`: (default: `false`) If set to true, `CY.clone` will simply pass functions through to the copied object, instead of throwing an error saying it can't clone a function.
```javascript

@@ -80,2 +81,3 @@ var fnObject = {

* `suppressErrors`: (default: `false`) If set to true, `CY.clone` will return `null` instead of throwing an Error if it comes across an object it doesn't know how to clone. If you need `CY.clone` to be extremely forgiving, this is the option for you.
```javascript

@@ -82,0 +84,0 @@ var mixedBag = {

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