Skip to content

Commit

Permalink
Merge pull request #1012 from simlay/binary-install-update-for-958
Browse files Browse the repository at this point in the history
Binary install update for axios security vulnerability.
  • Loading branch information
drager authored Jun 17, 2021
2 parents 06bd461 + cdd733c commit 5b3ff33
Show file tree
Hide file tree
Showing 3 changed files with 254 additions and 125 deletions.
2 changes: 1 addition & 1 deletion npm/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const getBinary = () => {
const author = "rustwasm";
const name = "wasm-pack";
const url = `https://github.com/${author}/${name}/releases/download/v${version}/${name}-v${version}-${platform}.tar.gz`;
return new Binary(url, { name });
return new Binary(name, url );
};

const run = () => {
Expand Down
Loading

0 comments on commit 5b3ff33

Please sign in to comment.