Socket
Socket
Sign inDemoInstall

serialize-to-js

Package Overview
Dependencies
0
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

2

lib/index.js

@@ -78,3 +78,3 @@ /*

if (util.isRegExp(source)) {
out += source.toString()
out += 'new RegExp("' + source.source + '", "' + source.flags + '")'
} else if (util.isDate(source)) {

@@ -81,0 +81,0 @@ out += 'new Date("' + source.toJSON() + '")'

{
"name": "serialize-to-js",
"version": "3.0.0",
"version": "3.0.1",
"description": "serialize objects to javascript",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc