Skip to content

Commit acb8252

Browse files
committed
fix: compatibility with npm >= 10.4
1 parent 26cafd3 commit acb8252

File tree

2 files changed

+29
-13
lines changed

2 files changed

+29
-13
lines changed

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@
1616
"license": "ISC",
1717
"scripts": {
1818
"fix": "tsc --noEmit && eslint . --fix && prettier --write .",
19-
"postinstall": "husky install",
2019
"lint": "tsc --noEmit && eslint . && prettier --check .",
21-
"prepack": "pinst --disable",
22-
"postpack": "pinst --enable",
23-
"prepare": "tsc",
20+
"prepare": "tsc && husky install",
2421
"semantic-release": "semantic-release",
2522
"test": "ava"
2623
},
@@ -52,7 +49,6 @@
5249
"eslint-plugin-prefer-arrow": "1.2.3",
5350
"eslint-plugin-sonarjs": "0.23.0",
5451
"husky": "8.0.3",
55-
"pinst": "3.0.0",
5652
"prettier": "2.8.8",
5753
"semantic-release": "19.0.5",
5854
"ts-expect": "1.3.0",

yarn.lock

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4785,11 +4785,6 @@ pify@^3.0.0:
47854785
resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176"
47864786
integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==
47874787

4788-
4789-
version "3.0.0"
4790-
resolved "https://registry.yarnpkg.com/pinst/-/pinst-3.0.0.tgz#80dec0a85f1f993c6084172020f3dbf512897eec"
4791-
integrity sha512-cengSmBxtCyaJqtRSvJorIIZXMXg+lJ3sIljGmtBGUVonMnMsVJbnzl6jGN1HkOWwxNuJynCJ2hXxxqCQrFDdw==
4792-
47934788
pkg-conf@^2.1.0:
47944789
version "2.1.0"
47954790
resolved "https://registry.yarnpkg.com/pkg-conf/-/pkg-conf-2.1.0.tgz#2126514ca6f2abfebd168596df18ba57867f0058"
@@ -5412,7 +5407,16 @@ stream-combiner2@~1.1.1:
54125407
duplexer2 "~0.1.0"
54135408
readable-stream "^2.0.2"
54145409

5415-
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
5410+
"string-width-cjs@npm:string-width@^4.2.0":
5411+
version "4.2.3"
5412+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
5413+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
5414+
dependencies:
5415+
emoji-regex "^8.0.0"
5416+
is-fullwidth-code-point "^3.0.0"
5417+
strip-ansi "^6.0.1"
5418+
5419+
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
54165420
version "4.2.3"
54175421
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
54185422
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -5471,7 +5475,14 @@ string_decoder@~1.1.1:
54715475
dependencies:
54725476
safe-buffer "~5.1.0"
54735477

5474-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
5478+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
5479+
version "6.0.1"
5480+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
5481+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
5482+
dependencies:
5483+
ansi-regex "^5.0.1"
5484+
5485+
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
54755486
version "6.0.1"
54765487
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
54775488
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -6003,7 +6014,16 @@ wordwrap@^1.0.0:
60036014
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
60046015
integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==
60056016

6006-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
6017+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
6018+
version "7.0.0"
6019+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
6020+
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
6021+
dependencies:
6022+
ansi-styles "^4.0.0"
6023+
string-width "^4.1.0"
6024+
strip-ansi "^6.0.0"
6025+
6026+
wrap-ansi@^7.0.0:
60076027
version "7.0.0"
60086028
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
60096029
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==

0 commit comments

Comments
 (0)