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

sort-json

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sort-json - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

index.js
module.exports = visit;
function visit(old) {
if (typeof(old) !== 'object' && old !== null) {
if (typeof(old) !== 'object' || old === null) {
return old;

@@ -13,2 +13,2 @@ }

return copy;
}
}
{
"name": "sort-json",
"version": "1.1.0",
"version": "1.1.1",
"description": "Takes a json-file and return a copy of the same file, but sorted",

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

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