black-scholes-wasm
Advanced tools
Comparing version 0.0.2 to 0.0.5
{ | ||
"name": "black-scholes-wasm", | ||
"version": "0.0.2", | ||
"version": "0.0.5", | ||
"description": "A binary WebAssembly port of Ronnie C.'s excellent SIMD options pricer", | ||
@@ -9,16 +9,20 @@ "repository": "git@github.com:ironblock/black-scholes-wasm.git", | ||
"private": false, | ||
"type": "module", | ||
"scripts": { | ||
"rust:clean": "rm -rf ./dist", | ||
"rust:compile": "wasm-pack build --release --out-name black-scholes-wasm --out-dir ../dist ./rust", | ||
"rust:compile-pack": "wasm-pack build --target bundler --release --out-name black-scholes-wasm --out-dir ../dist ./rust", | ||
"rust:declutter": "find ./dist -type f -not \\( -name \"*.wasm\" -o -name \"*.ts\" -o -name \"*.js\" \\) -exec rm {} \";\"", | ||
"rust:optimize": "mv ./dist/black-scholes-wasm_bg.wasm /tmp/black-scholes-wasm_bg.unoptimized.wasm && wasm-opt -Oz -o ./dist/black-scholes-wasm_bg.wasm /tmp/black-scholes-wasm_bg.unoptimized.wasm", | ||
"build": "yarn rust:clean && yarn rust:compile && yarn rust:optimize && yarn rust:declutter", | ||
"build:dev": "yarn rust:clean && yarn rust:compile-pack", | ||
"build": "yarn rust:clean && yarn rust:compile-pack && yarn rust:optimize && yarn rust:declutter", | ||
"prepare": "yarn build" | ||
}, | ||
"files": [ | ||
"dist/**" | ||
"dist/black-scholes-wasm_bg.wasm", | ||
"dist/black-scholes-wasm.js", | ||
"dist/black-scholes-wasm.d.ts" | ||
], | ||
"module": "dist/black-scholes-wasm.js", | ||
"main": "dist/black-scholes-wasm.js", | ||
"types": "dist/black-scholes-wasm.d.ts", | ||
"sideEffects": false | ||
} |
Sorry, the diff of this file is not supported yet
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
Yes
145007
6
265
1