@yarnpkg/plugin-essentials 4.4.3 → 4.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commands/install.js +1 -1
- package/package.json +8 -8
package/lib/commands/install.js
CHANGED
|
@@ -182,7 +182,7 @@ class YarnCommand extends cli_1.BaseCommand {
|
|
|
182
182
|
const isRcBinary = semver_1.default.prerelease(core_1.YarnVersion);
|
|
183
183
|
const releaseType = isRcBinary ? `canary` : `stable`;
|
|
184
184
|
const candidate = data.latest[releaseType];
|
|
185
|
-
if (semver_1.default.gt(candidate, core_1.YarnVersion)) {
|
|
185
|
+
if (candidate !== null && semver_1.default.gt(candidate, core_1.YarnVersion)) {
|
|
186
186
|
newVersion = [releaseType, candidate];
|
|
187
187
|
}
|
|
188
188
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yarnpkg/plugin-essentials",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.5",
|
|
4
4
|
"license": "BSD-2-Clause",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"./package.json": "./package.json"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@yarnpkg/fslib": "^3.1.
|
|
11
|
+
"@yarnpkg/fslib": "^3.1.5",
|
|
12
12
|
"@yarnpkg/parsers": "^3.0.3",
|
|
13
13
|
"ci-info": "^4.0.0",
|
|
14
14
|
"clipanion": "^4.0.0-rc.2",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"typanion": "^3.14.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@yarnpkg/cli": "^4.
|
|
24
|
-
"@yarnpkg/core": "^4.
|
|
25
|
-
"@yarnpkg/plugin-git": "^3.1.
|
|
23
|
+
"@yarnpkg/cli": "^4.13.0",
|
|
24
|
+
"@yarnpkg/core": "^4.6.0",
|
|
25
|
+
"@yarnpkg/plugin-git": "^3.1.4"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/micromatch": "^4.0.1",
|
|
29
29
|
"@types/semver": "^7.1.0",
|
|
30
|
-
"@yarnpkg/cli": "^4.
|
|
31
|
-
"@yarnpkg/core": "^4.
|
|
32
|
-
"@yarnpkg/plugin-git": "^3.1.
|
|
30
|
+
"@yarnpkg/cli": "^4.13.0",
|
|
31
|
+
"@yarnpkg/core": "^4.6.0",
|
|
32
|
+
"@yarnpkg/plugin-git": "^3.1.4"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|