Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
55ca2e9
feat: Add wasm module build (#1)
timfish Jun 2, 2025
2ab74b2
chore: Rename npm module for temporary publishing (#3)
timfish Jun 2, 2025
bec4711
Reorganize wasm unit testing (#2)
jsumners-nr Jun 3, 2025
75f6d81
fix: Ensure `channel_name` doesn't cause invalid identifiers (#4)
timfish Jun 3, 2025
378f9b7
fix: Don't check for matching sync/async function type (#5)
timfish Jun 4, 2025
65fbb26
chore: v0.2.0 release (#6)
timfish Jun 4, 2025
77f1df7
fix: Handle `module.exports = class Foo` when locating classes (#7)
bizob2828 Jun 10, 2025
1993f68
chore: Release v0.3.0 (#8)
timfish Jun 10, 2025
3fa645b
feat: Error when code injection fails (#9)
timfish Jun 16, 2025
8790c4e
fix: `wasm-pack` should be in `devDependencies` (#12)
timfish Jun 30, 2025
f5d7d1f
feat: Allow `unknown` module type (#11)
timfish Jul 1, 2025
5f75963
fix: Use uniquely named local variables (#13)
timfish Jul 2, 2025
a08febf
chore: Changelog for v0.4.0 release (#14)
timfish Jul 2, 2025
43de1ac
fix: Updated `visit_mut_fn_decl` to return true to allow walking a fu…
bizob2828 Jul 8, 2025
d67053d
chore: v0.5.0 release (#18)
timfish Jul 9, 2025
bfbe99d
Add support for argument mutation in complex argument functions (#19)
bizob2828 Jul 16, 2025
c06de15
chore: v0.6.0 release (#21)
bizob2828 Jul 16, 2025
288764e
feat: Sourcemap support (#16)
timfish Jul 28, 2025
c44fb2d
feat: Update all dependencies (#24)
timfish Jul 31, 2025
73dc940
feat: Include module version in event args (#23)
timfish Aug 19, 2025
22995c9
chore: v0.7.0 release (#29)
bizob2828 Aug 21, 2025
99eee29
Allow clearer code
jsumners-nr Aug 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.wasm32-unknown-unknown]
rustflags = ['--cfg', 'getrandom_backend="wasm_js"']
25 changes: 16 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: CI
on: [push]
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
RUST_VERSION: 1.84.1
RUST_VERSION: 1.87.0
jobs:
test:
name: Test & Lint
Expand All @@ -14,15 +14,22 @@ jobs:
run: rustup toolchain install ${{ env.RUST_VERSION }} --component clippy --component rustfmt && rustup default ${{ env.RUST_VERSION }}
- name: Cache
uses: Swatinem/rust-cache@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
- name: Build
run: cargo build --all
run: cargo build --all-features
- name: Run tests
run: cargo test --all
run: cargo test --all-features
- name: Run clippy
run: cargo clippy --all -- -D warnings
run: cargo clippy --all-features -- -D warnings
- name: Run fmt
run: cargo fmt --all -- --check
- name: Install license tool
run: cargo install dd-rust-license-tool
- name: Run license tool
run: dd-rust-license-tool check
- name: Build and Test wasm
run: npm install && npm run build && npm test
# This check is currently failing even after updating the license file.
# - name: Install license tool
# run: cargo install dd-rust-license-tool
# - name: Run license tool
# run: dd-rust-license-tool check
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
^target/
target
tests/*/instrumented.*
pkg/
node_modules/
package-lock.json
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## 0.7.0

- feat: Sourcemap support (#16)
- feat: Update all dependencies (#24)
- feat: Include module version in event args (#23)

## 0.6.0

- fix: Allow for argumentation mutation in complex argument functions (#19)

## 0.5.0

- fix: Allow injecting into functions nested in functions (#17)

## 0.4.0

- feat: Error when code injection fails (#9)
- feat: Allow `unknown` module type (#11)
- fix: `wasm-pack` should be in `devDependencies` (#12)
- fix: Use uniquely named local variables (#13)

## 0.3.0

- fix: Handle `module.exports = class Foo` when locating classes (#7)

## 0.2.0

- fix: Ensure `channel_name` doesn't cause invalid JavaScript identifiers (#4)
- fix: Don't check for matching sync/async function type (#5)

## 0.1.1

- Initial publish of the temporary package.
Loading