Skip to content

Commit 5e160c0

Browse files
committed
chore: Updated dependencies.
1 parent ad2d6a9 commit 5e160c0

File tree

5 files changed

+20
-19
lines changed

5 files changed

+20
-19
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout
9-
uses: actions/checkout@v2
9+
uses: actions/checkout@v3
1010
- name: Use Node.js LTS
11-
uses: actions/setup-node@v2
11+
uses: actions/setup-node@v3
1212
with:
1313
node-version: lts/*
1414
- name: Restore cached dependencies
15-
uses: actions/cache@v2
15+
uses: actions/cache@v3
1616
with:
1717
path: ~/.pnpm-store
1818
key: node-modules-${{ hashFiles('package.json') }}
@@ -22,11 +22,10 @@ jobs:
2222
version: latest
2323
run_install: |
2424
- recursive: true
25-
args: [--no-strict-peer-dependencies]
2625
- name: Run Tests
2726
run: pnpm run ci
2827
- name: Upload coverage to Codecov
29-
uses: codecov/codecov-action@v1
28+
uses: codecov/codecov-action@v3
3029
with:
3130
file: ./coverage/coverage-final.json
3231
token: ${{ secrets.CODECOV_TOKEN }}

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,25 @@
3939
"postpublish": "git push origin && git push origin -f --tags"
4040
},
4141
"dependencies": {
42-
"acquerello": "^1.0.7",
42+
"acquerello": "^1.0.8",
4343
"hdr-histogram-js": "^3.0.0",
4444
"table": "^6.8.0"
4545
},
4646
"devDependencies": {
47-
"@cowtech/eslint-config": "^8.6.1",
48-
"@swc/cli": "^0.1.55",
49-
"@swc/core": "^1.2.150",
50-
"@types/node": "^17.0.21",
51-
"@types/sinon": "^10.0.11",
52-
"@types/tap": "^15.0.6",
53-
"c8": "^7.11.0",
47+
"@cowtech/eslint-config": "^8.7.1",
48+
"@swc/cli": "^0.1.57",
49+
"@swc/core": "^1.2.244",
50+
"@types/node": "^18.7.13",
51+
"@types/sinon": "^10.0.13",
52+
"@types/tap": "^15.0.7",
53+
"c8": "^7.12.0",
5454
"chokidar": "^3.5.3",
55-
"prettier": "^2.5.1",
55+
"prettier": "^2.7.1",
5656
"proxyquire": "^2.1.3",
57-
"sinon": "^13.0.1",
58-
"tap": "^16.0.0",
59-
"ts-node": "^10.7.0",
60-
"typescript": "^4.6.2"
57+
"sinon": "^14.0.0",
58+
"tap": "^16.3.0",
59+
"ts-node": "^10.9.1",
60+
"typescript": "^4.8.2"
6161
},
6262
"engines": {
6363
"node": ">=14.15.0"

src/runner.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ if (workerData.path.endsWith('.ts')) {
1313
const instance = Symbol.for('ts-node.register.instance')
1414

1515
if (!(instance in process)) {
16+
// eslint-disable-next-line unicorn/prefer-top-level-await
1617
chain = import('ts-node').then(({ register }) => {
1718
register({ project: process.env.TS_NODE_PROJECT })
1819
})
@@ -35,6 +36,7 @@ chain
3536
// Run the worker
3637
runWorker(workerData, value => parentPort!.postMessage(value), process.exit)
3738
})
39+
// eslint-disable-next-line unicorn/prefer-top-level-await
3840
.catch(error => {
3941
process.nextTick(() => {
4042
throw error

test/asyncImport.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ async function main(): Promise<void> {
5555
}
5656
}
5757

58+
// eslint-disable-next-line unicorn/prefer-top-level-await
5859
main()
5960

6061
export default main

test/fixture/sample.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const replacements: { [key: string]: string } = { 1: 'a', 2: 'b', 3: 'c' }
66
const subject =
77
'123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123'
88

9-
// eslint-disable-next-line @typescript-eslint/no-floating-promises
109
cronometro(
1110
{
1211
single() {

0 commit comments

Comments
 (0)