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.15 to 3.0.16

10

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

@@ -19,7 +19,5 @@ "directories": {

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

@@ -26,0 +24,0 @@ "repository": {

6

README.md

@@ -18,5 +18,5 @@ ## JSON Directed Acrylic Graph for IPLD

/* CID instances are encoded as links */
y: [2, 3, new CID('QmaozNR7DZHQK1ZcU9p7QdrshMvXqWK6gpu5rmrkPdT3L4')],
y: [2, 3, CID.from('QmaozNR7DZHQK1ZcU9p7QdrshMvXqWK6gpu5rmrkPdT3L4')],
z: {
a: new CID('QmaozNR7DZHQK1ZcU9p7QdrshMvXqWK6gpu5rmrkPdT3L4'),
a: CID.from('QmaozNR7DZHQK1ZcU9p7QdrshMvXqWK6gpu5rmrkPdT3L4'),
b: null,

@@ -31,3 +31,3 @@ c: 'string'

decoded.y[0] // 2
CID.isCID(decoded.z.a) // true
CID.asCID(decoded.z.a) // cid instance
```

@@ -34,0 +34,0 @@

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