Skip to content

Commit

Permalink
chore: Updated dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShogunPanda committed Mar 7, 2022
1 parent 29cf5e2 commit d3901fb
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 14 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ jobs:
- name: Restore cached dependencies
uses: actions/cache@v2
with:
path: node_modules
path: ~/.pnpm-store
key: node-modules-${{ hashFiles('package.json') }}
- name: Install dependencies
run: npm install
uses: pnpm/action-setup@v2
with:
version: latest
run_install: true
- name: Run Tests
run: npm run ci
run: pnpm run ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
"postpublish": "git push origin && git push origin -f --tags"
},
"dependencies": {
"acquerello": "^1.0.6",
"acquerello": "^1.0.7",
"hdr-histogram-js": "^3.0.0",
"table": "^6.8.0"
},
"devDependencies": {
"@cowtech/eslint-config": "^8.4.0",
"@cowtech/eslint-config": "^8.6.1",
"@swc/cli": "^0.1.55",
"@swc/core": "^1.2.150",
"@types/node": "^17.0.21",
Expand All @@ -54,8 +54,8 @@
"chokidar": "^3.5.3",
"prettier": "^2.5.1",
"proxyquire": "^2.1.3",
"sinon": "^12.0.1",
"tap": "^15.2.3",
"sinon": "^13.0.1",
"tap": "^16.0.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion test/asyncImport.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-floating-promises */

import t from 'tap'
import { isMainThread } from 'node:worker_threads'
import t from 'tap'
import { cronometro, percentiles } from '../src/index.js'

async function main(): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion test/config/c8-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"functions": 90,
"lines": 90,
"statements": 90
}
}
2 changes: 1 addition & 1 deletion test/config/c8-local.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"reporter": ["text", "html"]
}
}
2 changes: 1 addition & 1 deletion test/genericErrorHandling.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-floating-promises */

import t from 'tap'
import { isMainThread } from 'node:worker_threads'
import t from 'tap'
import { cronometro } from '../src/index.js'

if (!isMainThread) {
Expand Down
2 changes: 1 addition & 1 deletion test/print.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* eslint-disable @typescript-eslint/no-floating-promises */

import { isMainThread } from 'node:worker_threads'
import sinon from 'sinon'
import t from 'tap'
import { isMainThread } from 'node:worker_threads'
import { cronometro, defaultOptions, percentiles } from '../src/index.js'
import { setLogger } from '../src/print.js'

Expand Down
2 changes: 1 addition & 1 deletion test/success.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-floating-promises */

import t from 'tap'
import { isMainThread } from 'node:worker_threads'
import t from 'tap'
import { cronometro, percentiles } from '../src/index.js'

if (!isMainThread) {
Expand Down
2 changes: 1 addition & 1 deletion test/unhandledErrorHandling.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-floating-promises */

import t from 'tap'
import { isMainThread } from 'node:worker_threads'
import t from 'tap'
import { Callback, cronometro, percentiles } from '../src/index.js'

if (!isMainThread) {
Expand Down

0 comments on commit d3901fb

Please sign in to comment.