Socket
Socket
Sign inDemoInstall

stringify-clone

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stringify-clone - npm Package Compare versions

Comparing version 1.1.1 to 2.0.0

48

package.json
{
"version": "1.1.1",
"name": "stringify-clone",

@@ -7,5 +6,8 @@ "description": "Wrapper for fast object cloning using `JSON.parse` & `JSON.stringify`",

"homepage": "https://github.com/ahmadnassri/stringify-clone",
"repository": "ahmadnassri/stringify-clone",
"license": "MIT",
"main": "./src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/ahmadnassri/stringify-clone.git"
},
"license": "ISC",
"main": "src/index.js",
"keywords": [

@@ -15,3 +17,3 @@ "stringify-clone"

"engines": {
"node": ">=0.8"
"node": ">= 4"
},

@@ -25,22 +27,24 @@ "files": [

"scripts": {
"pretest": "standard && echint",
"test": "mocha",
"posttest": "npm run coverage",
"coverage": "istanbul cover --dir coverage _mocha -- -R dot",
"codeclimate": "codeclimate < coverage/lcov.info"
"compile": "babel -q src",
"test": "tap test/*.js | tap-mocha-reporter spec",
"pretest": "snazzy && echint",
"coverage": "tap test/*.js --coverage",
"codeclimate": "nyc report --reporter=text-lcov | codeclimate-test-reporter",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"echint": {
"ignore": [
"coverage/**"
]
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"codeclimate-test-reporter": "0.0.4",
"echint": "^1.1.1",
"istanbul": "^0.3.14",
"mocha": "^2.2.5",
"should": "^6.0.3",
"standard": "^3.11.1"
"codeclimate-test-reporter": "^0.4.0",
"cz-conventional-changelog": "^1.2.0",
"echint": "^1.5.3",
"semantic-release": "^6.3.1",
"snazzy": "^5.0.0",
"tap": "^8.0.0",
"tap-mocha-reporter": "^3.0.0"
},
"dependencies": {}
}
"version": "2.0.0"
}
# Stringify Clone [![version][npm-version]][npm-url] [![License][npm-license]][license-url]
Wrapper for fast object cloning using `JSON.parse` & `JSON.stringify`. see [Benchmarks](https://github.com/ahmadnassri/node-clone-benchmark).
> Wrapper for fast object cloning using `JSON.parse` & `JSON.stringify`. see [Benchmarks](https://github.com/ahmadnassri/node-clone-benchmark).
[![Build Status][travis-image]][travis-url]
[![Downloads][npm-downloads]][npm-url]
[![Code Climate][codeclimate-quality]][codeclimate-url]
[![Coverage Status][codeclimate-coverage]][codeclimate-url]
[![Dependency Status][dependencyci-image]][dependencyci-url]
[![Dependencies][david-image]][david-url]
**Notes**:

@@ -12,12 +19,6 @@

[![Build Status][travis-image]][travis-url]
[![Downloads][npm-downloads]][npm-url]
[![Code Climate][codeclimate-quality]][codeclimate-url]
[![Coverage Status][codeclimate-coverage]][codeclimate-url]
[![Dependencies][david-image]][david-url]
## Install
```sh
npm install --save stringify-clone
```bash
npm install --production --save stringify-clone
```

@@ -37,17 +38,10 @@

## Support
----
> :copyright: [www.ahmadnassri.com](https://www.ahmadnassri.com/) &nbsp;&middot;&nbsp;
> License: [ISC][license-url] &nbsp;&middot;&nbsp;
> Github: [@ahmadnassri](https://github.com/ahmadnassri) &nbsp;&middot;&nbsp;
> Twitter: [@ahmadnassri](https://twitter.com/ahmadnassri)
Donations are welcome to help support the continuous development of this project.
[license-url]: http://choosealicense.com/licenses/isc/
[![Gratipay][gratipay-image]][gratipay-url]
[![PayPal][paypal-image]][paypal-url]
[![Flattr][flattr-image]][flattr-url]
[![Bitcoin][bitcoin-image]][bitcoin-url]
## License
[MIT](LICENSE) &copy; [Ahmad Nassri](https://www.ahmadnassri.com)
[license-url]: https://github.com/ahmadnassri/stringify-clone/blob/master/LICENSE
[travis-url]: https://travis-ci.org/ahmadnassri/stringify-clone

@@ -68,12 +62,3 @@ [travis-image]: https://img.shields.io/travis/ahmadnassri/stringify-clone.svg?style=flat-square

[gratipay-url]: https://www.gratipay.com/ahmadnassri/
[gratipay-image]: https://img.shields.io/gratipay/ahmadnassri.svg?style=flat-square
[paypal-url]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UJ2B2BTK9VLRS&on0=project&os0=stringify-clone
[paypal-image]: http://img.shields.io/badge/paypal-donate-green.svg?style=flat-square
[flattr-url]: https://flattr.com/submit/auto?user_id=ahmadnassri&url=https://github.com/ahmadnassri/stringify-clone&title=stringify-clone&language=&tags=github&category=software
[flattr-image]: http://img.shields.io/badge/flattr-donate-green.svg?style=flat-square
[bitcoin-image]: http://img.shields.io/badge/bitcoin-1Nb46sZRVG3or7pNaDjthcGJpWhvoPpCxy-green.svg?style=flat-square
[bitcoin-url]: https://www.coinbase.com/checkouts/ae383ae6bb931a2fa5ad11cec115191e?name=stringify-clone
[dependencyci-url]: https://dependencyci.com/github/ahmadnassri/stringify-clone
[dependencyci-image]: https://dependencyci.com/github/ahmadnassri/stringify-clone/badge?style=flat-square

@@ -1,5 +0,3 @@

'use strict'
module.exports = function (obj) {
return JSON.parse(JSON.stringify(obj))
}

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