New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

code-stringify

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code-stringify - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

index.js

@@ -79,3 +79,3 @@

function apply_replacer (value, replacer) {
if (node_util.isFunction(replacer)) {
if (typeof replacer === 'function') {
var input = {

@@ -82,0 +82,0 @@ '': value

{
"name": "code-stringify",
"version": "1.2.0",
"version": "1.2.1",
"description": "code-stringify is node.js module that converts JavaScript variables into source codes. Unlike JSON.stringify, code-stringify converts things into strings of code, not JSON.",

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

@@ -103,3 +103,3 @@ [![Build Status](https://travis-ci.org/kaelzhang/node-code-stringify.svg?branch=master)](https://travis-ci.org/kaelzhang/node-code-stringify)

value | JSON.stringify(value) | code(value) |
value | JSON.stringify(value) | code(value) | comment
----- | --------------------- | ----------- | ----------

@@ -110,4 +110,4 @@ `1` | `'1'` | `'1'` |

`null` | `'null'` | `'null'` |
[undefined] | `[null]` | `[undefined]` |
[null] | `[null]` | `[null]` |
`[undefined]` | `[null]` | `[undefined]` |
`[null]` | `[null]` | `[null]` |

@@ -114,0 +114,0 @@ - `JSON.stringify` makes JSON.

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