Jesper Håkansson
f28cf3e716
Merge pull request #1540 from drager/alert-autofix-3
...
chore: fix for code scanning alert no. 3: Workflow does not contain permissions
2025-11-30 14:33:16 +01:00
Jesper Håkansson
948213c1ba
Merge pull request #1539 from drager/alert-autofix-2
...
chore: fix for code scanning alert no. 2: Workflow does not contain permissions
2025-11-30 14:32:58 +01:00
Jesper Håkansson
b146bca89f
Potential fix for code scanning alert no. 3: Workflow does not contain permissions
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-11-30 14:27:20 +01:00
Jesper Håkansson
fdac312b6b
Potential fix for code scanning alert no. 2: Workflow does not contain permissions
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-11-30 14:26:52 +01:00
Jesper Håkansson
d243e2d729
Merge pull request #1537 from drager/alert-autofix-5
...
chore: fix for code scanning alert no. 5: Workflow does not contain permissions
2025-11-30 14:22:41 +01:00
Jesper Håkansson
93c1818046
Merge pull request #1538 from drager/alert-autofix-1
...
chore: fix for code scanning alert no. 1: Workflow does not contain permissions
2025-11-30 14:22:25 +01:00
Jesper Håkansson
e6dbb88434
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-11-30 14:14:12 +01:00
Jesper Håkansson
17f260dbbe
Potential fix for code scanning alert no. 5: Workflow does not contain permissions
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-11-30 14:13:43 +01:00
Jesper Håkansson
7d334d2b33
Merge pull request #1536 from drager/bump-deps
...
chore: Update dependencies to latest versions
2025-11-30 13:45:09 +01:00
Jesper Håkansson
b0c4a1fe66
chore: Update dependencies to latest versions
2025-11-30 13:35:37 +01:00
Jesper Håkansson
604822291a
Merge pull request #1516 from drager/dependabot/cargo/ring-0.17.14
...
chore(deps): bump ring from 0.17.8 to 0.17.14
2025-11-30 12:48:58 +01:00
Jesper Håkansson
9c1a2fcc40
Merge pull request #1515 from drager/dependabot/npm_and_yarn/npm/brace-expansion-1.1.12
...
chore(deps): bump brace-expansion from 1.1.11 to 1.1.12 in /npm
2025-11-30 12:48:20 +01:00
Jesper Håkansson
923833663d
Merge pull request #1467 from walkingeyerobot/master
...
fix spelling mistake 'Unsed' -> 'Unused'
2025-11-30 12:43:55 +01:00
Jesper Håkansson
c694e252ea
Merge pull request #1473 from ahaoboy/patch-1
...
ci: add aarch64-apple-darwin
2025-11-30 12:43:06 +01:00
dependabot[bot]
1393a7b002
chore(deps): bump brace-expansion from 1.1.11 to 1.1.12 in /npm
...
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion ) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases )
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12 )
---
updated-dependencies:
- dependency-name: brace-expansion
dependency-version: 1.1.12
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-30 11:41:44 +00:00
dependabot[bot]
7d4f36232c
chore(deps): bump ring from 0.17.8 to 0.17.14
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.8 to 0.17.14.
- [Changelog](https://github.com/briansmith/ring/blob/main/RELEASES.md )
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
dependency-version: 0.17.14
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-30 11:41:17 +00:00
Jesper Håkansson
4a955bb267
Merge pull request #1451 from drager/dependabot/cargo/rustls-0.23.18
...
chore(deps): bump rustls from 0.23.16 to 0.23.18
2025-11-30 12:40:05 +01:00
Jesper Håkansson
b59e5db608
Merge pull request #1524 from RReverser/wasi
...
Support arbitrary targets
2025-11-30 12:37:43 +01:00
Jesper Håkansson
87a5e2c3cf
Merge branch 'master' into wasi
2025-11-30 12:31:56 +01:00
Jesper Håkansson
b1f955529e
Merge pull request #1535 from drager/fix-tests
...
chore: Fix tests and docs build
2025-11-30 12:12:23 +01:00
Jesper Håkansson
68b9bddbb1
doc: Update links and remove old mentions
2025-11-30 12:03:29 +01:00
Jesper Håkansson
0566633fb2
chore: Use wasm-bindgen 0.2.100 for all tests
2025-11-30 11:12:17 +01:00
Jesper Håkansson
5c91a90055
chore: Fix cache issue on macos runner
2025-11-30 11:11:54 +01:00
Jesper Håkansson
b98906e711
fix(docs): Remove multilingual since it has been removed in latest mdBook
2025-11-30 09:52:34 +01:00
Jesper Håkansson
930d3248cf
fix: Filter build artifacts to only .wasm files
...
Fixes build failure when Cargo.toml has both cdylib and rlib in
crate-type by filtering artifacts to only .wasm files before the
single-artifact check.
2025-11-30 09:41:43 +01:00
Jesper Håkansson
e31e4409a8
Merge branch 'master' into wasi
2025-11-30 09:34:04 +01:00
Jesper Håkansson
716207a872
chore: Pre-install wasm-bindgen-ccli on macOS to avoid race condition
2025-11-30 09:13:43 +01:00
Jesper Håkansson
06fd92ce90
test: Update wasm-bindgen version in tests
2025-11-27 20:56:06 +01:00
Jesper Håkansson
7ff4f25240
test: Fix tests by using wasm-bindgen 0.2.100
2025-11-25 21:13:04 +01:00
Jesper Håkansson
c467943149
fix: Download url and version for cargo generate
2025-11-25 20:55:13 +01:00
Ingvar Stepanyan
8592725085
Use log::error
2025-09-16 15:55:30 +01:00
Ingvar Stepanyan
03a9654914
Support arbitrary targets
...
This PR allows user to pass custom `--target` to Cargo which will take precedence over the `wasm32-unknown-unknown`.
This allows us to experiments with targets like Emscripten and WASI in wasm-bindgen projects more easily.
2025-09-11 18:34:20 +01:00
Jesper Håkansson
cd1718aa7b
Merge pull request #1509 from mshroyer/fixup
...
Fix many broken cargo tests
2025-08-04 23:36:01 +02:00
Jesper Håkansson
ab612a2fb5
Merge pull request #1513 from yutannihilation/doc/replace-urls
...
Update the document URL and the repsitory URL to `drager/wasm-pack`
2025-08-04 23:34:45 +02:00
Hiroaki Yutani
d881b07f63
Replace GitHub repository URL
2025-08-02 19:13:35 +09:00
Hiroaki Yutani
d7d2b8ad27
Update URL of the document website
2025-08-02 19:01:34 +09:00
Jesper Håkansson
1a0a851f92
Merge pull request #1512 from BrianHung/fix-installer-version-parameter
...
fix: Handle undefined VERSION in installer script
2025-07-24 22:23:56 +02:00
Brian Hung
1f5da7d0e8
update latest to point at correct repo
2025-07-24 12:50:00 -07:00
Brian Hung
15e4f4f8b4
fix: Handle undefined VERSION in installer script
...
## Issue Description
The wasm-pack installer script fails in CI environments with the error:
./install.sh: line 18: VERSION: unbound variable
This occurs when running the standard installation command:
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
### Root Cause
The script uses 'set -u' on line 16, which causes bash to exit on undefined
variables. Line 18 then references $VERSION before it's defined:
UPDATE_ROOT="https://github.com/rustwasm/wasm-pack/releases/download/$VERSION "
The script expects VERSION to be set as an environment variable, but this is
not documented and is impractical in many CI environments where the command
is piped directly to sh.
### Affected Environments
- GitHub Actions
- GitLab CI
- Jenkins
- Any environment where setting env vars before piping is difficult
### Fix
This commit adds proper VERSION handling:
1. Check if VERSION is already set as an environment variable
2. Parse --version from command line arguments
3. Default to 'latest' if not specified
4. Resolve 'latest' to actual version via GitHub API
5. Ensure VERSION has 'v' prefix for download URLs
### Compatibility
Maintains full backward compatibility:
- VERSION=0.13.1 curl ... | sh (still works)
- curl ... | sh -s -- --version 0.13.1 (new)
- curl ... | sh (defaults to latest)
This allows the installer to work in all environments without requiring
users to modify their CI scripts to set environment variables.
2025-07-24 11:28:59 -07:00
Mark Shroyer
1e244a2a9d
Document prerequisites for webdriver tests
...
Documents preliminary steps that developers working on wasm-pack itself may
need to take before `cargo test` can succeed.
2025-07-20 20:21:30 -07:00
Mark Shroyer
3a6079d979
Fix it_gets_wasm_bindgen_version test
...
This test case creates a Cargo.toml fixture specifying version "0.3" of
wasm-bindgen-test as a dependency, then reads the lockfile and checks
the version of that dependency therein. It previously checked for a
specific, hard-coded version of that dependency in the lock file, but
that fails once the published package has been updated. Instead, we
should check that the version in the lockfile matches the semver
specified in Cargo.toml.
2025-07-20 20:21:28 -07:00
Mark Shroyer
b2e6762b79
Update wasm-bindgen in test fixtures
...
Version 0.2.74 doesn't build with rustc 1.88.0. This also requires
modifying some test cases that previously expected specific behavior
when building older wasm-bindgen versions.
2025-07-19 15:07:56 -07:00
阿豪
373a8c5e8b
ci: add aarch64-apple-darwin
2025-02-08 20:39:35 +08:00
Mitch Foley
a4e5cc0555
fix spelling mistake 'Unsed' -> 'Unused'
2025-01-21 01:49:58 -05:00
dependabot[bot]
a6106ecf56
chore(deps): bump rustls from 0.23.16 to 0.23.18
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.23.16 to 0.23.18.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.16...v/0.23.18 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 17:01:09 +00:00
Jesper Håkansson
32e52ca893
Merge pull request #1423 from ArhanChaudhary/docs-elaboration
...
Be more explicit with available wasm-opt flags in documentation
2024-11-02 18:04:21 +01:00
Jesper Håkansson
ba5fef3206
Merge pull request #1443 from codeart1st/split-linked-modules
...
feat: allow bindgen-cli --split-linked-modules #1092
2024-11-02 18:03:44 +01:00
Paul Lange
4ea2a23716
feat: allow bindgen-cli --split-linked-modules #1092
2024-11-02 13:36:38 +01:00
Jesper Håkansson
513feba51b
Merge pull request #1428 from rafaelbeckel/master
...
feat: Implements custom build profile (closes #1111 )
2024-10-30 18:48:06 +01:00
Jesper Håkansson
0227505a08
Merge pull request #1440 from rustwasm/0.13.1
...
0.13.1
2024-10-29 19:52:48 +01:00