Skip to content

Commit dc1cef8

Browse files
committed
update tsconfig types paths and restrict max tar version
1 parent 92d9573 commit dc1cef8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@types/jest": "27.4.0",
2727
"@types/node": "^16.11.25",
2828
"@types/string-format": "2.0.0",
29-
"@types/tar": "^6.1.1",
29+
"@types/tar": "^6.1.13",
3030
"@types/tar-stream": "2.2.2",
3131
"@types/tmp": "0.2.0",
3232
"@types/unbzip2-stream": "^1.4.0",
@@ -57,7 +57,7 @@
5757
"axios": ">=0.11.0",
5858
"compare-versions": "^6.1.0",
5959
"string-format": ">=1.0.0",
60-
"tar": ">=3.1.10",
60+
"tar": ">=3.1.10, <7",
6161
"tar-stream": ">=0.1.0",
6262
"unbzip2-stream": ">=1.0.0",
6363
"unzip-stream": ">=0.1.0"

tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@
99
"moduleResolution": "node"
1010
},
1111
"exclude": ["build/**/*", "coverage/**/*"],
12-
"extends": "@tsconfig/strictest"
12+
"extends": "@tsconfig/strictest",
13+
"paths": {
14+
"*": ["node_modules/@types/*", "types/*"]
15+
}
1316
}

0 commit comments

Comments
 (0)