Skip to content

Commit 10c4c5b

Browse files
chore: fix dependabot alerts (#21)
* chore: fix dependabot alerts by upgrading semantic-release and adding overrides * chore: address PR feedback - use caret overrides and bump CI to Node 20 * chore: add .npmrc with legacy-peer-deps to fix CI * chore: address PR feedback - upgrade actions to v4, inline legacy-peer-deps, fix prettier * fix: update asp --no-logo flag and empty.wat snapshot for newer asc output
1 parent 4caec57 commit 10c4c5b

8 files changed

Lines changed: 8668 additions & 17045 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
name: Performance regression check
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313
- name: Setup Node.js
14-
uses: actions/setup-node@v1
14+
uses: actions/setup-node@v4
1515
with:
16-
node-version: 15
17-
- run: npm ci
16+
node-version: 20
17+
- run: npm ci --legacy-peer-deps
1818
- run: npm run asbuild
1919
# Run benchmark with `go test -bench` and stores the output to a file
2020
- name: Run benchmark

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ on:
1010
jobs:
1111
release:
1212
name: Release
13-
runs-on: ubuntu-18.04
13+
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v1
16+
uses: actions/checkout@v4
1717
- name: Setup Node.js
18-
uses: actions/setup-node@v1
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: 15
20+
node-version: 20
2121
- name: Install dependencies
22-
run: npm ci
22+
run: npm ci --legacy-peer-deps
2323
- name: Run tests
2424
run: npm test
2525
- name: Release

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [15.x]
18+
node-version: [20.x]
1919
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v1
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version: ${{ matrix.node-version }}
27-
- run: npm ci
27+
- run: npm ci --legacy-peer-deps
2828
- run: npm test

.prettierignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# prettier doesn't support decorators on functions :-(
22
assembly/char.ts
3-
assembly/nfa/types.ts
3+
assembly/nfa/matcher.ts
4+
assembly/nfa/types.ts
5+
assembly/parser/walker.ts

assembly/__tests__/empty.wat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
(module
22
(memory $0 0)
3-
(table $0 1 funcref)
3+
(table $0 1 1 funcref)
4+
(elem $0 (i32.const 1))
45
(export "memory" (memory $0))
56
)

0 commit comments

Comments
 (0)