Socket
Socket
Sign inDemoInstall

serialize-to-js

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serialize-to-js - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

2

lib/index.js

@@ -96,3 +96,3 @@ /*

case 'String':
return utils.quote(source, opts);
return utils.quote(source, opts) || '""';

@@ -99,0 +99,0 @@ case 'Function':

{
"name": "serialize-to-js",
"version": "3.1.0",
"version": "3.1.1",
"description": "serialize objects to javascript",

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

@@ -85,3 +85,3 @@ /*

case 'String':
return utils.quote(source, opts)
return utils.quote(source, opts) || '""'
case 'Function': {

@@ -88,0 +88,0 @@ const _tmp = source.toString()

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