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

multiformats

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiformats - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

cjs/src/bases/base16.js

70

package.json
{
"name": "multiformats",
"version": "3.0.1",
"description": "Interface for multihash, multicodec, multibase and CID.",
"main": "index.js",
"type": "module",
"version": "3.0.2",
"description": "Interface for multihash, multicodec, multibase and CID",
"scripts": {

@@ -23,36 +21,55 @@ "build": "npm_config_yes=true npx ipjs@latest build --tests",

".": {
"import": "./src/index.js"
"require": "./cjs/src/index.js",
"import": "./esm/src/index.js",
"browser": "./esm/src/index.js"
},
"./basics": {
"import": "./src/basics-import.js",
"browser": "./src/basics-browser.js"
"require": "./cjs/src/basics-import.js",
"import": "./esm/src/basics-import.js",
"browser": "./esm/src/basics-browser.js"
},
"./cid": {
"import": "./src/cid.js"
"require": "./cjs/src/cid.js",
"import": "./esm/src/cid.js",
"browser": "./esm/src/cid.js"
},
"./legacy": {
"import": "./src/legacy.js"
"require": "./cjs/src/legacy.js",
"import": "./esm/src/legacy.js",
"browser": "./esm/src/legacy.js"
},
"./bases/base16": {
"import": "./src/bases/base16.js"
"require": "./cjs/src/bases/base16.js",
"import": "./esm/src/bases/base16.js",
"browser": "./esm/src/bases/base16.js"
},
"./bases/base32": {
"import": "./src/bases/base32.js"
"require": "./cjs/src/bases/base32.js",
"import": "./esm/src/bases/base32.js",
"browser": "./esm/src/bases/base32.js"
},
"./bases/base58": {
"import": "./src/bases/base58.js"
"require": "./cjs/src/bases/base58.js",
"import": "./esm/src/bases/base58.js",
"browser": "./esm/src/bases/base58.js"
},
"./bases/base64": {
"import": "./src/bases/base64-import.js",
"browser": "./src/bases/base64-browser.js"
"require": "./cjs/src/bases/base64-import.js",
"import": "./esm/src/bases/base64-import.js",
"browser": "./esm/src/bases/base64-browser.js"
},
"./hashes/sha2": {
"browser": "./src/hashes/sha2-browser.js",
"import": "./src/hashes/sha2.js"
"require": "./cjs/src/hashes/sha2.js",
"import": "./esm/src/hashes/sha2.js",
"browser": "./esm/src/hashes/sha2-browser.js"
},
"./codecs/json": {
"import": "./src/codecs/json.js"
"require": "./cjs/src/codecs/json.js",
"import": "./esm/src/codecs/json.js",
"browser": "./esm/src/codecs/json.js"
},
"./codecs/raw": {
"import": "./src/codecs/raw.js"
"require": "./cjs/src/codecs/raw.js",
"import": "./esm/src/codecs/raw.js",
"browser": "./esm/src/codecs/raw.js"
}

@@ -88,3 +105,16 @@ },

},
"homepage": "https://github.com/multiformats/js-multiformats#readme"
}
"homepage": "https://github.com/multiformats/js-multiformats#readme",
"browser": {
".": "./cjs/src/index.js",
"./basics": "./cjs/src/basics-browser.js",
"./cid": "./cjs/src/cid.js",
"./legacy": "./cjs/src/legacy.js",
"./bases/base16": "./cjs/src/bases/base16.js",
"./bases/base32": "./cjs/src/bases/base32.js",
"./bases/base58": "./cjs/src/bases/base58.js",
"./bases/base64": "./cjs/src/bases/base64-browser.js",
"./hashes/sha2": "./cjs/src/hashes/sha2-browser.js",
"./codecs/json": "./cjs/src/codecs/json.js",
"./codecs/raw": "./cjs/src/codecs/raw.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