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 0.1.8 to 0.1.9

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.1.9](https://github.com/nuxt-contrib/destr/compare/v0.1.8...v0.1.9) (2020-05-28)
### Bug Fixes
* fix number regex ([886c143](https://github.com/nuxt-contrib/destr/commit/886c1433b388907072528aabaacfd36512a1d6f4))
### [0.1.8](https://github.com/nuxt-contrib/destr/compare/v0.1.7...v0.1.8) (2020-05-28)

@@ -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.]*$/;

@@ -10,0 +10,0 @@ function jsonParseTransform(key, value) {

{
"name": "destr",
"version": "0.1.8",
"version": "0.1.9",
"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