Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sorted-json

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sorted-json - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

2

package.json
{
"name": "sorted-json",
"version": "0.2.5",
"version": "0.2.6",
"main": "sorted-json.js",

@@ -5,0 +5,0 @@ "devDependencies": {

@@ -60,9 +60,9 @@ # sorted-json-js

{
sortBy : null, // Specifies a function that defines the sort order. Same to `compareFunction` parameter in `Array.prototype.sort(compareFunction)`
sortKey : true, // Sort the keys in `obj` or not
sortArray: true, // Sort the array elements in `obj or not
sortBy : undefined, // Specifies a function that defines the sort order. Same to `compareFunction` parameter in `Array.prototype.sort(compareFunction)`
sortKey : true, // Sort the keys in `obj` or not
sortArray: true, // Sort the array elements in `obj or not
stringify: false, // Output the stringified `obj` or not (Using `JSON.stringify()`)
replacer : null, // Parameter for `JSON.stringify()`
space : null, // Parameter for `JSON.stringify()`
stringify: false, // Output the stringified `obj` or not (Using `JSON.stringify()`)
replacer : null, // Parameter for `JSON.stringify()`
space : null, // Parameter for `JSON.stringify()`
}

@@ -69,0 +69,0 @@ ```

@@ -6,3 +6,3 @@ 'use strict'

var DEFAULT_SORT_OPTIONS = {
sortBy : null,
sortBy : undefined,
sortKey : true,

@@ -9,0 +9,0 @@ sortArray: false,

@@ -115,2 +115,2 @@ var assert = require('assert');

});
});
});
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