New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

string2js

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string2js - npm Package Compare versions

Comparing version
0.1.1
to
0.2.0
+4
-0
index.js

@@ -44,2 +44,6 @@ const isostring = require('isostring')

// Infinity and NaN
if(value === 'Infinity') return Infinity
if(value === 'NaN') return NaN
// RegExp

@@ -46,0 +50,0 @@ if(value.match(regexpRegex)) return RegExp(value)

+1
-1
{
"name": "string2js",
"version": "0.1.1",
"version": "0.2.0",
"description": "Create Javascript objects and primitives from their string representation",

@@ -5,0 +5,0 @@ "main": "index.js",