@chainsafe/as-sha256
Advanced tools
Comparing version 0.3.1 to 0.4.0
@@ -6,2 +6,9 @@ # Change Log | ||
## [0.4.0](https://github.com/ChainSafe/ssz/compare/as-sha256-v0.3.1...as-sha256-v0.4.0) (2023-04-05) | ||
### Features | ||
* add swappable hasher, default to noble-hashes ([#314](https://github.com/ChainSafe/ssz/issues/314)) ([4b44614](https://github.com/ChainSafe/ssz/commit/4b44614003619b2c5477363a3c85287e2f2987bd)) | ||
## [0.3.1](https://github.com/chainsafe/as-sha256/compare/@chainsafe/as-sha256@0.3.0...@chainsafe/as-sha256@0.3.1) (2022-04-14) | ||
@@ -8,0 +15,0 @@ |
{ | ||
"name": "@chainsafe/as-sha256", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"description": "An AssemblyScript implementation of SHA256", | ||
@@ -16,2 +16,15 @@ "author": "ChainSafe Systems", | ||
"main": "lib/index.js", | ||
"exports": { | ||
".": "./lib/index.js", | ||
"./hashObject": "./lib/hashObject.js" | ||
}, | ||
"typesVersions": { | ||
"*": { | ||
"*": [ | ||
"*", | ||
"lib/*", | ||
"lib/*/index" | ||
] | ||
} | ||
}, | ||
"types": "lib/index.d.ts", | ||
@@ -23,13 +36,12 @@ "files": [ | ||
"scripts": { | ||
"prebuild": "rm -rf ./dist && node -r ts-node/register ./scripts/codegen.ts", | ||
"prepublish": "yarn build", | ||
"clean": "rm -rf ./dist && node -r ts-node/register ./scripts/codegen.ts", | ||
"build": "yarn asbuild:untouched && yarn asbuild:optimized && yarn build:lib", | ||
"asbuild:untouched": "asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --runtime none --validate --debug", | ||
"asbuild:optimized": "asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --runtime none --validate -O3z --noAssert", | ||
"build:lib": "tsc -p tsconfig.build.json", | ||
"build:web": "webpack --mode production --entry ./index.js --output ./dist/as-sha256.min.js", | ||
"build:lib": "run -T tsc -p tsconfig.build.json", | ||
"build:web": "run -T webpack --mode production --entry ./index.js --output ./dist/as-sha256.min.js", | ||
"test": "yarn run test:as-ci && yarn run test:unit", | ||
"test:unit": "yarn run test:unit:node && yarn run test:unit:browser", | ||
"test:unit:node": "mocha -r ts-node/register test/unit/*.test.ts", | ||
"test:unit:browser": "karma start --single-run --browsers ChromeHeadless,FirefoxHeadless karma.config.js", | ||
"test:unit:node": "run -T mocha -r ts-node/register test/unit/*.test.ts", | ||
"test:unit:browser": "run -T karma start --single-run --browsers ChromeHeadless,FirefoxHeadless karma.config.js", | ||
"benchmark": "node -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/index.test.ts'", | ||
@@ -48,4 +60,3 @@ "benchmark:local": "yarn benchmark --local", | ||
"benchmark": "^2.1.4" | ||
}, | ||
"gitHead": "42c30c4c797ef1ec06ef0139d4967c4725dca4e7" | ||
} | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
164976
0
28