π¦οΈ 0.10.0
-
β¨ Features
-
Added keywords - lucashorward, issue/707 pull/838
package.json
files usually contain a keywords array so that npm can make searching easier.
This PR extracts keywords fromCargo.toml
and puts them intopackage.json
.
-
-
π€ Fixes
-
Update binary-install to get fix for axios security vulnerability - simlay, Rizary, issue/958 pull/973 pull/1012
Updates
binary-install
npm package to version^0.1.0
in order to get security fix for a security vulnerability in axios. -
Fix cargo-generate installation - bradyjoslin, issue/975 issue/907 pull/983
wasm-pack new hello-wasm
didn't work due to a bad link when trying to installcargo-generate
.This PR points the installation to the correct place and makes
wasm-pack new
working again! -
Pass through extra options when building tests - azriel91, issue/698 pull/851
wasm-pack test
accepts extra options to pass through tocargo
when running tests.
Under the hood, this runscargo build
beforecargo test
, and the additional options were only passed through to thetest
command. This meant that crates that enabled native features by default could not be built usingwasm-pack
, as it would attempt to build tests for thewasm32-unknown-unknown
target with the native features enabled.This PR passes through the extra options to
cargo
when building the tests as well. -
Corrected files included in package.json for bundler / no target - lucashorward, issue/837 pull/839
wasm-pack build
andwasm-pack build --target bundler
generates a _bg.js file, but it was not added to thepackage.json
.
The file that is added, *.js will however reference the _bg.js, so when the package was distributed (both through pack or publish) it is not usable.This PR includes that _bg.js file in
package.json
. -
Find the main package if multiple packages have the same name - ghost, pull/830
If there were 2 packages with the same name,
wasm-pack
would sometimes use the wrong one and errored.
-
-
π Documentation
-
π οΈ Maintenance
-
Fix CI. Remove appveyor and travis and use Github actions - ashleygwilliams, drager, issue/594 issue/979 pull/947
-
Cargo update - ashleygwilliams, pull/800
-
Remove dirs dependency - brightly-salty, issue/943 pull/944
-