Skip to content

Commit 7c48c4d

Browse files
committed
Update to [email protected] and [email protected] and fix test suite
1 parent 98f7d6e commit 7c48c4d

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
node-version: ${{ matrix.node-version }}
3030
cache: npm
3131
- name: Upgrade npm
32-
run: npm install --global npm@^8.12
32+
run: npm install --global npm@^8.18
3333
- run: npm install --no-audit
3434
- run: npm run cover
3535
- uses: codecov/codecov-action@v2
@@ -50,7 +50,7 @@ jobs:
5050
node-version: ^18
5151
cache: npm
5252
- name: Upgrade npm
53-
run: npm install --global npm@^8.12
53+
run: npm install --global npm@^8.18
5454
- run: npm install --no-audit
5555
- run: npm i typescript@${TS_VERSION}
5656
env:
@@ -69,7 +69,7 @@ jobs:
6969
node-version: ^18
7070
cache: npm
7171
- name: Upgrade npm
72-
run: if [[ "$(npm -v)" != "8.12.0" ]]; then npm install --global npm@8.12.0; fi
72+
run: if [[ "$(npm -v)" != "8.18.0" ]]; then npm install --global npm@8.18.0; fi
7373
- run: npm install --no-audit
7474
- name: Test package-lock for unexpected modifications
7575
run: |
@@ -90,7 +90,7 @@ jobs:
9090
with:
9191
node-version: ^18
9292
- name: Upgrade npm
93-
run: npm install --global npm@^8.12
93+
run: npm install --global npm@^8.18
9494
- run: npm install --no-package-lock --no-audit
9595
- run: npm run cover
9696

@@ -104,6 +104,6 @@ jobs:
104104
node-version: ^18
105105
cache: npm
106106
- name: Upgrade npm
107-
run: npm install --global npm@^8.12
107+
run: npm install --global npm@^8.18
108108
- run: npm install --no-audit
109109
- run: npx xo

.xo-config.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ module.exports = {
3636
{
3737
files: 'examples/**',
3838
rules: {
39+
'ava/no-ignored-test-files': 'off',
3940
'ava/no-only-test': 'off',
4041
'unicorn/prefer-module': 'off',
4142
},

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
}
159159
},
160160
"volta": {
161-
"node": "18.3.0",
162-
"npm": "8.12.0"
161+
"node": "18.8.0",
162+
"npm": "8.18.0"
163163
}
164164
}

test-tap/reporters/default.edgecases.v18.log

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
---tty-stream-chunk-separator
1818
Uncaught exception in ast-syntax-error.cjs
1919

20+
~/test-tap/fixture/report/edgecases/ast-syntax-error.cjs:3
21+
const fn = do {
22+
^^
23+
2024
SyntaxError: Unexpected token 'do'
2125

2226
---tty-stream-chunk-separator

test-tap/reporters/tap.edgecases.v18.log

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
TAP version 13
22
---tty-stream-chunk-separator
3-
not ok 1 - SyntaxError: Unexpected token 'do'
3+
not ok 1 - ~/test-tap/fixture/report/edgecases/ast-syntax-error.cjs:3
4+
const fn = do {
5+
^^
6+
7+
SyntaxError: Unexpected token 'do'
48
---
59
name: SyntaxError
610
message: Unexpected token 'do'

0 commit comments

Comments
 (0)