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 0.4.0 to 0.5.0

2

lib/internal/utils.js

@@ -7,3 +7,3 @@ /* eslint

var UNSAFE_CHARS_REGEXP = /[\r\n\t<>\/\u2028\u2029"]/g
var UNSAFE_CHARS_REGEXP = /[\r\n\t<>\u2028\u2029"/]/g
var CHARS_REGEXP = /[\r\n\t"]/g

@@ -10,0 +10,0 @@

@@ -22,7 +22,7 @@ /*

* //> var m = module.exports = {
* //> object: {
* //> regexp: /^test?$/
* //> }
* //> };
* //> m.reference = m.object;
* //> object: {
* //> regexp: /^test?$/
* //> }
* //> }
* //> m.reference = m.object
* ```

@@ -61,4 +61,4 @@ *

opts.beautify = {
indent_size: 1,
indent_char: '\t'
indent_size: 2,
indent_char: ' '
}

@@ -65,0 +65,0 @@ }

{
"name": "serialize-to-js",
"version": "0.4.0",
"version": "0.5.0",
"description": "serialize objects to javascript",

@@ -14,12 +14,12 @@ "main": "lib",

"dependencies": {
"js-beautify": "~1.6.2"
"js-beautify": "~1.6.8"
},
"devDependencies": {
"eslint": "^2.8.0",
"eslint-config-standard": "^5.2.0",
"eslint-plugin-promise": "^1.1.0",
"eslint-plugin-standard": "^1.3.2",
"istanbul": "^0.4.3",
"mocha": "^2.4.5",
"rimraf": "^2.5.2"
"eslint": "^3.13.1",
"eslint-config-standard": "^6.2.1",
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-standard": "^2.0.1",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"rimraf": "^2.5.4"
},

@@ -49,3 +49,12 @@ "scripts": {

},
"homepage": "https://github.com/commenthol/serialize-to-js"
"homepage": "https://github.com/commenthol/serialize-to-js",
"eslintConfig": {
"extends": "standard",
"plugins": [
"standard"
],
"rules": {
"key-spacing": 0
}
}
}

@@ -168,3 +168,3 @@ # serialize-to-js

Copyright (c) 2016 commenthol (MIT License)
Copyright (c) 2016- commenthol (MIT License)

@@ -171,0 +171,0 @@ See [LICENSE][] for more info.

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