-
✨ Features
-
Added keywords - lucashorward, issue/707 pull/838
package.jsonfiles usually contain a keywords array so that npm can make searching easier.
This PR extracts keywords fromCargo.tomland 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-installnpm package to version^0.1.0in 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-wasmdidn'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 newworking again! -
Pass through extra options when building tests - azriel91, issue/698 pull/851
wasm-pack testaccepts extra options to pass through tocargowhen running tests.
Under the hood, this runscargo buildbeforecargo test, and the additional options were only passed through to thetestcommand. 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-unknowntarget with the native features enabled.This PR passes through the extra options to
cargowhen building the tests as well. -
Corrected files included in package.json for bundler / no target - lucashorward, issue/837 pull/839
wasm-pack buildandwasm-pack build --target bundlergenerates 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-packwould 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
-