Skip to content

Commit 4a7450c

Browse files
committed
Lock touch-cookie version
1 parent def8f94 commit 4a7450c

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

nodejs/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.0.1",
44
"description": "HackMD/CodiMD Node.js API Client",
55
"main": "dist/index.js",
6+
"declaration": "./dist/index.d.ts",
67
"scripts": {
78
"build": "tsc -d",
89
"prepublishOnly": "npm run build"
@@ -23,7 +24,7 @@
2324
"@types/fs-extra": "^8.1.0",
2425
"@types/node": "^13.11.1",
2526
"@types/node-fetch": "^2.5.6",
26-
"@types/tough-cookie": "^4.0.0",
27+
"@types/tough-cookie": "^2.3.7",
2728
"@types/tough-cookie-filestore": "^0.0.0",
2829
"ts-node": "^8.8.2",
2930
"typescript": "^3.8.3"
@@ -33,7 +34,7 @@
3334
"fetch-cookie": "^0.8.0",
3435
"fs-extra": "^9.0.0",
3536
"node-fetch": "^2.6.0",
36-
"tough-cookie": "^4.0.0",
37+
"tough-cookie": "^3.0.0",
3738
"tough-cookie-filestore": "^0.0.1",
3839
"tslib": "^1.11.1"
3940
}

nodejs/yarn.lock

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
version "0.0.0"
3030
resolved "https://registry.yarnpkg.com/@types/tough-cookie-filestore/-/tough-cookie-filestore-0.0.0.tgz#3d53077d7a688a3f2ee6b4f31a848d09eaec9aba"
3131

32-
"@types/tough-cookie@^4.0.0":
33-
version "4.0.0"
34-
resolved "https://registry.yarnpkg.com/@types/tough-cookie/-/tough-cookie-4.0.0.tgz#fef1904e4668b6e5ecee60c52cc6a078ffa6697d"
32+
"@types/tough-cookie@^3.0.0":
33+
version "2.3.7"
34+
resolved "https://registry.yarnpkg.com/@types/tough-cookie/-/tough-cookie-2.3.7.tgz#979434b5900f9d710f5d4e15c466cadb8e9fdc47"
3535

3636
arg@^4.1.0:
3737
version "4.1.3"
@@ -183,6 +183,10 @@ inherits@^2.0.1, inherits@^2.0.3:
183183
version "2.0.4"
184184
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
185185

186+
ip-regex@^2.1.0:
187+
version "2.1.0"
188+
resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9"
189+
186190
jsonfile@^6.0.1:
187191
version "6.0.1"
188192
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.0.1.tgz#98966cba214378c8c84b82e085907b40bf614179"
@@ -225,7 +229,7 @@ parse5@^3.0.1:
225229
dependencies:
226230
"@types/node" "*"
227231

228-
psl@^1.1.33:
232+
psl@^1.1.28, psl@^1.1.33:
229233
version "1.8.0"
230234
resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
231235

@@ -268,14 +272,22 @@ tough-cookie-filestore@^0.0.1:
268272
dependencies:
269273
tough-cookie "~0.12.1"
270274

271-
"tough-cookie@^2.3.3 || ^3.0.1 || ^4.0.0", tough-cookie@^4.0.0:
275+
"tough-cookie@^2.3.3 || ^3.0.1 || ^4.0.0":
272276
version "4.0.0"
273277
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.0.0.tgz#d822234eeca882f991f0f908824ad2622ddbece4"
274278
dependencies:
275279
psl "^1.1.33"
276280
punycode "^2.1.1"
277281
universalify "^0.1.2"
278282

283+
tough-cookie@^3.0.0:
284+
version "3.0.1"
285+
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-3.0.1.tgz#9df4f57e739c26930a018184887f4adb7dca73b2"
286+
dependencies:
287+
ip-regex "^2.1.0"
288+
psl "^1.1.28"
289+
punycode "^2.1.1"
290+
279291
tough-cookie@~0.12.1:
280292
version "0.12.1"
281293
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-0.12.1.tgz#8220c7e21abd5b13d96804254bd5a81ebf2c7d62"

0 commit comments

Comments
 (0)