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

canonicaljson

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canonicaljson - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

lib/canonicaljson.js

@@ -797,2 +797,7 @@ (function (global, factory) {

// undefined value must be treated the same way as a null value
// since the serialization must be consistent across languages
case 'undefined':
return 'null';
case 'boolean':

@@ -799,0 +804,0 @@ case 'null':

16

package.json
{
"name": "canonicaljson",
"version": "1.0.0",
"version": "1.0.1",
"description": "JS library for producing JSON in canonical format",
"main": "lib/canonicaljson.js",
"module": "lib/canonicaljson.mjs",
"files": [
"cli/",
"lib/",
"src/",
"LICENSE"
],
"files": ["cli/", "lib/", "src/", "LICENSE"],
"scripts": {

@@ -26,8 +21,3 @@ "build": "rollup -c rollup.config.js",

},
"keywords": [
"stratumn",
"canonical",
"json",
"js"
],
"keywords": ["stratumn", "canonical", "json", "js"],
"author": "Stratumn team",

@@ -34,0 +24,0 @@ "license": "Apache-2.0",

@@ -67,2 +67,7 @@ /*

// undefined value must be treated the same way as a null value
// since the serialization must be consistent across languages
case 'undefined':
return 'null';
case 'boolean':

@@ -69,0 +74,0 @@ case 'null':

Sorry, the diff of this file is not supported yet

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