Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade devDependencies #155

Merged
merged 2 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macOS-latest ]
# https://github.com/actions/runner-images#available-images
# macos-latest-large is x64
# macos-latest is arm64
os: [ ubuntu-latest, windows-latest ]
node-version: [ 8.x, 10.x, 12.x, 13.x, 14.x, 16.x, 18.x, 20.x ]
exclude:
# exclude Node.js 8.x on ubuntu-latest
Expand All @@ -40,6 +43,12 @@ jobs:
node-version: 13.x
- os: windows-latest
node-version: 14.x
include:
# macos-latest is arm64 which supports only the latest Node.js versions
- os: macos-latest
node-version: 18.x
- os: macos-latest
node-version: 20.x

steps:

Expand Down Expand Up @@ -68,5 +77,5 @@ jobs:
- name: Run tests
run: npm test
# TODO: enable once tests do not get stuck on Windows
# Mocha and Sinon.JS support only Node.js >=14.x
if: matrix.os != 'windows-latest' && contains(fromJSON('["14.x", "16.x", "18.x", "20.x"]'), matrix.node-version)
# AVA supports only officially supported Node.js versions
if: matrix.os != 'windows-latest' && contains(fromJSON('["18.x", "20.x"]'), matrix.node-version)
46 changes: 24 additions & 22 deletions ava.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,28 @@ module.exports = {
files: [
'./test/**/*',
],
ignoredByWatcher: [
//
// some files and directories are ignored by default,
// see https://github.com/avajs/ava/blob/main/docs/recipes/watch-mode.md#ignoring-changes
//
// note:
// AVA dependency tracking (https://github.com/avajs/ava/blob/main/docs/recipes/watch-mode.md#dependency-tracking)
// currently does not work with native ES modules.
// See
// https://github.com/avajs/ava/issues/2388
// https://github.com/avajs/ava/pull/3123
// https://github.com/avajs/ava/issues/2905
//
// use the following to debug:
// DEBUG=ava:watcher npx ava --watch
// or
// DEBUG=ava:* npx ava --watch
//
'./.idea/',
'./temp/',
'./dist/',
],
watchMode: {
ignoreChanges: [
//
// some files and directories are ignored by default,
// see https://github.com/avajs/ava/blob/main/docs/recipes/watch-mode.md#ignoring-changes
//
// note:
// AVA dependency tracking (https://github.com/avajs/ava/blob/main/docs/recipes/watch-mode.md#dependency-tracking)
// currently does not seem to work. However, since AVA v6 it should work.
// See
// https://github.com/avajs/ava/issues/2388
// https://github.com/avajs/ava/pull/3123
// https://github.com/avajs/ava/issues/2905
//
// use the following to debug:
// DEBUG=ava:watcher npx ava --watch
// or
// DEBUG=ava:* npx ava --watch
//
'./.idea/',
'./temp/',
'./dist/',
],
},
};
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@
"@pokusew/pcsclite": "^0.6.0"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.0",
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-class-properties": "^7.22.5",
"@babel/plugin-transform-modules-commonjs": "^7.23.0",
"@babel/register": "^7.22.15",
"ava": "^5.3.1",
"@babel/plugin-transform-class-properties": "^7.25.9",
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
"@babel/register": "^7.25.9",
"ava": "^6.2.0",
"chalk": "^4.0.0",
"cross-env": "^7.0.3",
"mock-require": "^3.0.3",
"triple-beam": "^1.4.1",
"winston": "^3.11.0"
"winston": "^3.17.0"
}
}
Loading
Loading