Socket
Socket
Sign inDemoInstall

stringify-object

Package Overview
Dependencies
Maintainers
10
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stringify-object - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

3

index.js

@@ -127,2 +127,3 @@ import isRegexp from 'is-regexp';

input = input.replace(/\\/g, '\\\\');
input = String(input).replace(/[\r\n]/g, x => x === '\n' ? '\\n' : '\\r');

@@ -135,5 +136,5 @@

input = input.replace(/\\?'/g, '\\\'');
input = input.replace(/'/g, '\\\'');
return `'${input}'`;
})(input, options, pad);
}
{
"name": "stringify-object",
"version": "4.0.0",
"version": "4.0.1",
"description": "Stringify an object/array like JSON.stringify just without all the double-quotes",

@@ -5,0 +5,0 @@ "license": "BSD-2-Clause",

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