Socket
Socket
Sign inDemoInstall

destr

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

destr - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

CHANGELOG.md

@@ -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 @@

2

dist/index.js

@@ -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",

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