Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to wasm-pack 0.10.0 #21

Merged
merged 1 commit into from
Jul 3, 2021

Conversation

simlay
Copy link
Contributor

@simlay simlay commented Jul 2, 2021

Resolves security issue from rustwasm/wasm-pack#958.

I tested this in the examples directory (and left the relative path file dependency).

@@ -7,7 +7,7 @@
"build": "rimraf dist/js && rollup --config"
},
"devDependencies": {
"@wasm-tool/rollup-plugin-rust": "^1.0.0",
"@wasm-tool/rollup-plugin-rust": "file:..",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer for the example to be self-contained, so it will work even if the user copy-pastes it into their own project.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Also note that if you want to test locally, you can use yarn link to override @wasm-tool/rollup-plugin-rust with the local version)

package.json Outdated
@@ -2,7 +2,7 @@
"name": "@wasm-tool/rollup-plugin-rust",
"author": "Pauan <[email protected]>",
"description": "Rollup plugin for bundling and importing Rust crates.",
"version": "1.0.6",
"version": "1.0.7",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't bump the version, I do that right before releasing.

@simlay simlay force-pushed the update-to-wasm-pack-0.10.0 branch from bc8532d to 3ccb7ce Compare July 3, 2021 16:48
@Pauan Pauan merged commit 4b242b4 into wasm-tool:master Jul 3, 2021
@Pauan
Copy link
Collaborator

Pauan commented Jul 3, 2021

Thanks!

@simlay
Copy link
Contributor Author

simlay commented Jul 8, 2021

@Pauan Would you be up to publish a new release to npmjs?

@Pauan
Copy link
Collaborator

Pauan commented Jul 8, 2021

@simlay Yeah, sorry for the delay, I need to update my npm first, since yarn isn't allowing me to publish.

@Pauan
Copy link
Collaborator

Pauan commented Jul 8, 2021

I published version 1.0.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants