uint8array-tools
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "uint8array-tools", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "A library for dealing with Uint8Arrays.", | ||
@@ -13,7 +13,18 @@ "homepage": "https://github.com/bitcoinjs/uint8array-tools#readme", | ||
}, | ||
"main": "src/cjs", | ||
"types": "src/cjs", | ||
"module": "src/mjs", | ||
"exports": { | ||
"node": { | ||
"module": "./src/mjs/index.js", | ||
"require": "./src/cjs/index.cjs", | ||
"import": "./src/mjs/index.js" | ||
}, | ||
"browser": "./src/mjs/browser.js", | ||
"default": "./src/mjs/browser.js" | ||
}, | ||
"types": "src/cjs/index.d.ts", | ||
"type": "module", | ||
"scripts": { | ||
"build": "rm -rf src/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup.sh", | ||
"build": "npm run clean && npm run build-ts && npm run convert-cjs && rm -f ./src/cjs/browser.d.ts", | ||
"build-ts": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json", | ||
"clean": "rm -rf ./src/* && rm -rf ./coverage && rm -f ./package-lock.json", | ||
"convert-cjs": "for f in ./src/cjs/*.js; do mv -- \"$f\" \"${f%.js}.cjs\"; done", | ||
"coverage": "npm run unit -- --coverage", | ||
@@ -27,6 +38,2 @@ "eslint": "eslint ts_src/*.ts", | ||
}, | ||
"exports": { | ||
"import": "./src/mjs/index.js", | ||
"require": "./src/cjs/index.js" | ||
}, | ||
"keywords": [ | ||
@@ -33,0 +40,0 @@ "uint8array", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Yes
9544
8
160
1