serialize-to-js
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18157
Updatedjs-beautify@~1.6.8