Skip to content

Commit aa316a9

Browse files
Upgrade dependencies (#684)
* Remove deprecated ts-jest global define * Node minimum version 16 * Node maximum version 18
1 parent bc34df1 commit aa316a9

File tree

4 files changed

+1634
-2142
lines changed

4 files changed

+1634
-2142
lines changed

.github/workflows/testing.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
os: [ ubuntu-latest, macos-latest, windows-latest ]
34-
node-version: [ 14.x, 16.x, 18.x ]
34+
node-version: [ 16.x, 18.x ]
3535
name: Testing
3636
steps:
3737
- name: Check out code base

jest.config.js

-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
module.exports = {
2-
globals: {
3-
'ts-jest': {
4-
tsconfig: 'tsconfig.json',
5-
},
6-
},
72
moduleFileExtensions: ['ts', 'js'],
83
transform: {
94
'^.+\\.(ts|tsx)$': 'ts-jest',

package.json

+24-24
Original file line numberDiff line numberDiff line change
@@ -41,41 +41,41 @@
4141
},
4242
"homepage": "https://github.com/wabarc/cairn#readme",
4343
"dependencies": {
44-
"axios": "^0.24.0",
45-
"chardet": "^1.3.0",
46-
"cheerio": "^1.0.0-rc.10",
47-
"commander": "^8.2.0",
48-
"http-proxy-agent": "^6.0.1",
49-
"https-proxy-agent": "^6.1.0",
44+
"axios": "^1.4.0",
45+
"chardet": "^1.5.1",
46+
"cheerio": "^1.0.0-rc.12",
47+
"commander": "^10.0.1",
48+
"http-proxy-agent": "^6.1.0",
49+
"https-proxy-agent": "^6.2.0",
5050
"iconv-lite": "^0.6.3",
51-
"nth-check": "^2.0.1",
51+
"nth-check": "^2.1.1",
5252
"socks-proxy-agent": "^8.0.1",
5353
"tmpl": "^1.0.5"
5454
},
5555
"devDependencies": {
56-
"@types/cheerio": "^0.22.30",
57-
"@types/jest": "^27.0.3",
58-
"@types/node": "^16.11.12",
59-
"@typescript-eslint/eslint-plugin": "^5.6.0",
60-
"@typescript-eslint/parser": "^5.6.0",
61-
"eslint": "^7.32.0",
62-
"eslint-plugin-jest": "^25.3.0",
63-
"eslint-plugin-prettier": "^4.0.0",
64-
"jest": "^27.1.0",
65-
"jsdom": "^19.0.0",
66-
"nodemon": "^2.0.15",
67-
"pkg": "^5.5.1",
68-
"prettier": "^2.3.2",
69-
"ts-jest": "^27.0.5",
70-
"ts-node": "^10.2.1",
71-
"typescript": "^4.4.2",
56+
"@types/cheerio": "^0.22.31",
57+
"@types/jest": "^29.5.1",
58+
"@types/node": "^20.2.3",
59+
"@typescript-eslint/eslint-plugin": "^5.59.7",
60+
"@typescript-eslint/parser": "^5.59.7",
61+
"eslint": "^8.41.0",
62+
"eslint-plugin-jest": "^27.2.1",
63+
"eslint-plugin-prettier": "^4.2.1",
64+
"jest": "^29.5.0",
65+
"jsdom": "^22.0.0",
66+
"nodemon": "^2.0.22",
67+
"pkg": "^5.8.1",
68+
"prettier": "^2.8.8",
69+
"ts-jest": "^29.1.0",
70+
"ts-node": "^10.9.1",
71+
"typescript": "^5.0.4",
7272
"typescript-formatter": "^7.2.2"
7373
},
7474
"directories": {
7575
"lib": "lib",
7676
"test": "test"
7777
},
7878
"engines": {
79-
"node": ">=14"
79+
"node": ">=16 <20"
8080
}
8181
}

0 commit comments

Comments
 (0)