Socket
Socket
Sign inDemoInstall

serialize-to-js

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serialize-to-js - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

lib/serialize.js

@@ -84,3 +84,3 @@ /*

// looks like buffers are accidentially detected as typed arrays
out += "new Buffer('" + source.toString('base64') + "', 'base64')"
out += "new Buffer('" + source.toString('base64') + "', 'base64')" // FIXME replace with Buffer.from
} else if ((type = util.isTypedArray(source))) {

@@ -87,0 +87,0 @@ tmp = []

{
"name": "serialize-to-js",
"version": "1.1.1",
"version": "1.1.2",
"description": "serialize objects to javascript",
"keywords": [
"javascript",
"objects",
"serialize"
],
"homepage": "https://github.com/commenthol/serialize-to-js",
"bugs": {
"url": "https://github.com/commenthol/serialize-to-js/issues"
},
"license": "MIT",
"author": "commenthol <commenthol@gmail.com>",
"main": "lib",
"engines": {
"node": ">=4.0.0"
},
"directories": {

@@ -13,39 +21,16 @@ "doc": "doc",

},
"dependencies": {
"js-beautify": "~1.6.8",
"safer-eval": "^1.2.1"
"repository": {
"type": "git",
"url": "https://github.com/commenthol/serialize-to-js.git"
},
"devDependencies": {
"eslint": "^3.13.1",
"eslint-config-standard": "^7.0.0-beta.0",
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-standard": "^2.0.1",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"rimraf": "^2.5.4"
},
"scripts": {
"test": "mocha test/*.js",
"cover": "istanbul cover _mocha --report lcov --report text -- --reporter dot --check-leaks test/*.js",
"all": "npm run lint && npm test",
"clean": "rimraf doc coverage node_modules *.tgz",
"cover": "nyc -r text -r html npm test",
"doc": "jsdox -o doc lib/*.js",
"lint": "eslint --quiet '**/*.js'",
"lint": "eslint '**/*.js'",
"prepublishOnly": "npm run all",
"readme": "markedpp --githubid -i README.md -o README.md",
"clean": "rimraf doc coverage node_modules"
"test": "mocha"
},
"repository": {
"type": "git",
"url": "https://github.com/commenthol/serialize-to-js.git"
},
"keywords": [
"serialize",
"javascript",
"objects"
],
"author": "commenthol <commenthol@gmail.com>",
"maintainers": "commenthol <commenthol@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/commenthol/serialize-to-js/issues"
},
"homepage": "https://github.com/commenthol/serialize-to-js",
"eslintConfig": {

@@ -59,3 +44,22 @@ "extends": "standard",

}
}
},
"dependencies": {
"js-beautify": "~1.7.5",
"safer-eval": "^1.2.3"
},
"devDependencies": {
"eslint": "^4.18.2",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^3.0.1",
"istanbul": "^0.4.5",
"mocha": "^5.0.1",
"rimraf": "^2.6.2"
},
"engines": {
"node": ">=4.0.0"
},
"maintainers": "commenthol <commenthol@gmail.com>"
}

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