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

neatjson

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neatjson - npm Package Compare versions

Comparing version 0.10.3 to 0.10.4

2

javascript/neatjson.js

@@ -142,4 +142,4 @@ (function(exports){

}
neatJSON.version = "0.10.2";
neatJSON.version = "0.10.4";
})(typeof exports === 'undefined' ? this : exports);
{
"name": "neatjson",
"version": "0.10.3",
"version": "0.10.4",
"description": "Pretty, powerful, flexible JSON generation.",

@@ -5,0 +5,0 @@ "main": "./javascript/neatjson.js",

@@ -32,3 +32,3 @@ # NeatJSON

* [License & Contact](#license--contact)
* [TODO/Known Limitations](#todo-aka-known-limitations)
* [TODO (aka Known Limitations)](#todo-aka-known-limitations)
* [History](#history)

@@ -182,3 +182,3 @@

# Ruby
json = JSON.neat_generate my_value, array_padding:1, after_comma:1, before_colon_n:2, indent_last:true
json = JSON.neat_generate my_value, array_padding:1, after_comma:1, before_colon_n:2
~~~

@@ -188,3 +188,3 @@

// JavaScript
var json = neatJSON( myValue, { arrayPadding:1, afterComma:1, beforeColonN:2, indentLast:true } );
var json = neatJSON( myValue, { arrayPadding:1, afterComma:1, beforeColonN:2 } );
~~~

@@ -194,3 +194,3 @@

-- Lua
local json = neatJSON( myValue, { arrayPadding=1, afterComma=1, beforeColonN=2, indentLast=true } )
local json = neatJSON( myValue, { arrayPadding=1, afterComma=1, beforeColonN=2 } )
~~~

@@ -285,4 +285,10 @@

## HISTORY
## History
* **v0.10.4** — November 17, 2022
* Online tool shows input/output bytes
* **v0.10.2** — August 31, 2022
* Fix bugs found in JavaScript version related to `trim_trailing_zeros`.
* **v0.10.1** — August 29, 2022

@@ -297,7 +303,2 @@ * Fix bugs found when `force_floats_in` was combined with wrapping.

* **v0.10** — August 29, 2022
* Add `force_floats` and `force_floats_in` to support serialization for non-standard parsers that differentiate between integers and floats.
* Add `trim_trailing_zeros` option to convert the `decimals` output from e.g. `5.40000` to `5.4`.
* Convert JavaScript version to require ECMAScript 6 for performance.
* **v0.9** — July 29, 2019

@@ -304,0 +305,0 @@ * Add Lua version, serializing to both JSON and Lua table literals

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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