multiformats
Advanced tools
Comparing version 1.0.7 to 1.1.0
{ | ||
"name": "multiformats", | ||
"version": "1.0.7", | ||
"version": "1.1.0", | ||
"description": "Interface for multihash, multicodec, multibase and CID.", | ||
@@ -8,6 +8,9 @@ "main": "index.js", | ||
"scripts": { | ||
"pre:test": "standard", | ||
"build": "rollup --config rollup.config.js", | ||
"prepublishOnly": "npm run build", | ||
"lint": "standard", | ||
"test:cjs": "npm run build && mocha test/cjs/test.cjs", | ||
"test:node": "hundreds mocha test/test-*.js", | ||
"test:browser": "polendina --cleanup test/test-*.js", | ||
"test": "npm run pre:test && npm run test:node && npm run test:browser", | ||
"test": "npm run lint && npm run test:node && npm run test:browser && npm run test:cjs", | ||
"coverage": "c8 --reporter=html mocha test/test-*.js && npx st -d coverage -p 8080" | ||
@@ -22,2 +25,5 @@ }, | ||
}, | ||
"exports": { | ||
"require": "./dist/bundle.cjs" | ||
}, | ||
"devDependencies": { | ||
@@ -28,4 +34,10 @@ "c8": "^7.2.0", | ||
"polendina": "^1.0.0", | ||
"rollup": "^2.17.1", | ||
"standard": "^14.3.4" | ||
}, | ||
"standard": { | ||
"ignore": [ | ||
"dist" | ||
] | ||
}, | ||
"dependencies": { | ||
@@ -32,0 +44,0 @@ "base-x": "^3.0.8", |
@@ -43,2 +43,5 @@ # multiformats | ||
If you cannot use `import` because your module is still using CJS you | ||
can use `require()` and the module is the interface from `multiformats/basics.js`. | ||
# Plugins | ||
@@ -45,0 +48,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60164
29
1529
157
6