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

@ipld/dag-json

Package Overview
Dependencies
Maintainers
3
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ipld/dag-json - npm Package Compare versions

Comparing version 3.0.16 to 3.0.17

6

package.json
{
"name": "@ipld/dag-json",
"version": "3.0.16",
"version": "3.0.17",
"description": "JSON Directed Acrylic Graph for IPLD",

@@ -47,5 +47,3 @@ "directories": {

},
"browser": {
"import": "./cjs/index.js"
}
"browser": "./cjs/index.js"
}

@@ -35,14 +35,3 @@ ## JSON Directed Acrylic Graph for IPLD

The `dag-json` spec is quite simple.
The [`dag-json` spec is in the IPLD specs repo](https://github.com/ipld/specs/blob/master/block-layer/codecs/dag-json.md).
Nodes are in standard JSON format with the following requirements:
* Objects are consistent and deterministic
* Object keys are sorted (TODO: specify sorting algorithm).
* No whitespace outside of values. `{"x":1,"y":[2,3]}`
* Links are encoded as objects with a single `'/'` value of the
base58 encoded CID.
* `{"/": "QmaozNR7DZHQK1ZcU9p7QdrshMvXqWK6gpu5rmrkPdT3L4"}`
That's all :)
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