New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

interface-ipld-format

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

interface-ipld-format - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

5

package.json
{
"name": "interface-ipld-format",
"version": "0.0.0",
"version": "0.0.1",
"description": "IPLD format",
"main": "index.js",
"types": "./types.d.ts",
"files": [
"types.d.ts"
],
"scripts": {

@@ -8,0 +11,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

8

types.d.ts

@@ -15,4 +15,4 @@ import CID from 'cids'

util: {
serialize (ipldNode: T) : Promise<Uint8Array>
deserialize (binaryBlob: Uint8Array) : Promise<T>
serialize (ipldNode: T) : Uint8Array
deserialize (binaryBlob: Uint8Array) : T
cid (binaryBlob: Uint8Array, options: { }) : Promise<CID>

@@ -22,5 +22,5 @@ }

resolver: {
resolve (binaryBlob: Uint8Array, path: string) : Promise<{ value: any, remainderPath?: string }>
tree (binaryBlob: Uint8Array) : AsyncGenerator<string, void, undefined>
resolve (binaryBlob: Uint8Array, path: string) : { value: any, remainderPath?: string }
tree (binaryBlob: Uint8Array) : Generator<string, void, undefined>
}
}
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