Skip to content

Commit e236181

Browse files
committed
v3.0.0
1 parent 7aac621 commit e236181

4 files changed

Lines changed: 9 additions & 11 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# v3.0.0 (July 5, 2022)
1+
# v3.0.0 (July 7, 2022)
22

33
* BREAKING CHANGE: Require Node.js 14.15.0 LTS or newer.
44
* BREAKING CHANGE: Changed package to a ES module.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "check-kit",
3-
"version": "2.0.0",
3+
"version": "3.0.0",
44
"description": "Checks if a newer version is available for command line interfaces",
55
"type": "module",
66
"exports": "./src/index.js",

‎src/index.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,7 @@ async function getLatestVersion(name, distTag, opts) {
243243
},
244244
responseType: 'json',
245245
retry: 0,
246-
timeout: {
247-
request: Object.prototype.hasOwnProperty.call(opts, 'timeout') ? opts.timeout : 1000
248-
},
246+
timeout: Object.prototype.hasOwnProperty.call(opts, 'timeout') ? opts.timeout : 1000,
249247
url: new URL(encodeURIComponent(name).replace(/^%40/, '@'), regUrl)
250248
};
251249
let info;

‎yarn.lock‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@
148148
"@types/node" "*"
149149

150150
"@types/node@*":
151-
version "18.0.2"
152-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.0.2.tgz#a594e580c396c22dd6b1470be81737c79ec0b1b1"
153-
integrity sha512-b947SdS4GH+g2W33wf5FzUu1KLj5FcSIiNWbU1ZyMvt/X7w48ZsVcsQoirIgE/Oq03WT5Qbn/dkY0hePi4ZXcQ==
151+
version "18.0.3"
152+
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.0.3.tgz#463fc47f13ec0688a33aec75d078a0541a447199"
153+
integrity sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==
154154

155155
"@types/responselike@*", "@types/responselike@^1.0.0":
156156
version "1.0.0"
@@ -276,9 +276,9 @@ browser-stdout@1.3.1:
276276
integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==
277277

278278
bryt-lite@^2.0.0:
279-
version "2.0.0"
280-
resolved "https://registry.yarnpkg.com/bryt-lite/-/bryt-lite-2.0.0.tgz#c938348b74caeff53be385a19fc6845dda2cca76"
281-
integrity sha512-hRXN1pKApAQCNp0/fIQ7ftEkmHD71wwY8yqdfrFlpiXdIknV63bLce861j3GYzF8p1/3FWuxEsh8C/ZKP2fzeQ==
279+
version "2.0.1"
280+
resolved "https://registry.yarnpkg.com/bryt-lite/-/bryt-lite-2.0.1.tgz#8bb35d3219d541622ba6c9c32d051e91a60d54c5"
281+
integrity sha512-m6QJ1DUuLc+XTFQ26uLLFZdS5Dcjc4tWDK8M49YLHLW8EtSAwnbzGZVyBV4XjXmoMmWsCJ/d6NvpydhW/KQwNA==
282282

283283
bryt@^1.0.2:
284284
version "1.0.2"

0 commit comments

Comments
 (0)