Comparing version 1.0.0 to 1.0.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [1.0.1](https://github.com/nuxt-contrib/destr/compare/v1.0.0...v1.0.1) (2020-11-08) | ||
### Bug Fixes | ||
* don't parse numbers if potential to exceed 15 digits ([bc8c596](https://github.com/nuxt-contrib/destr/commit/bc8c5962747a9fff189e17bbdc02f760d157fdbd)) | ||
## [1.0.0](https://github.com/nuxt-contrib/destr/compare/v0.1.9...v1.0.0) (2020-06-16) | ||
@@ -7,0 +14,0 @@ |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/; | ||
var JsonSigRx = /^["{[]|^-?[0-9][0-9.]*$/; | ||
var JsonSigRx = /^["{[]|^-?[0-9][0-9.]{0,14}$/; | ||
@@ -10,0 +10,0 @@ function jsonParseTransform(key, value) { |
{ | ||
"name": "destr", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A faster, secure and convenient alternative for JSON.parse", | ||
@@ -5,0 +5,0 @@ "repository": "nuxt-contrib/destr", |
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
8161