@yarnpkg/plugin-essentials 4.3.0 → 4.3.2

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.
@@ -54,6 +54,8 @@ class ConfigCommand extends cli_1.BaseCommand {
54
54
  }
55
55
  if (this.json) {
56
56
  for (const name of names) {
57
+ if (this.noDefaults && !configuration.sources.has(name))
58
+ continue;
57
59
  const data = configuration.settings.get(name);
58
60
  if (typeof data === `undefined`)
59
61
  report.reportError(core_1.MessageName.INVALID_CONFIGURATION_KEY, `No configuration key named "${name}"`);
@@ -390,7 +390,7 @@ async function autofixMergeConflicts(configuration, immutable) {
390
390
  if (key === `__metadata`)
391
391
  continue;
392
392
  const checksum = variant[key].checksum;
393
- if (typeof checksum === `string` && checksum.includes(`/`))
393
+ if (typeof checksum === `undefined` || checksum.includes(`/`))
394
394
  continue;
395
395
  variant[key].checksum = `${variant.__metadata.cacheKey}/${checksum}`;
396
396
  }
@@ -46,7 +46,7 @@ SetResolutionCommand.usage = clipanion_1.Command.Usage({
46
46
  `,
47
47
  examples: [[
48
48
  `Force all instances of lodash@npm:^1.2.3 to resolve to 1.5.0`,
49
- `$0 set resolution lodash@npm:^1.2.3 1.5.0`,
49
+ `$0 set resolution lodash@npm:^1.2.3 npm:1.5.0`,
50
50
  ]],
51
51
  });
52
52
  exports.default = SetResolutionCommand;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yarnpkg/plugin-essentials",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
4
4
  "license": "BSD-2-Clause",
5
5
  "main": "./lib/index.js",
6
6
  "exports": {
@@ -8,8 +8,8 @@
8
8
  "./package.json": "./package.json"
9
9
  },
10
10
  "dependencies": {
11
- "@yarnpkg/fslib": "^3.1.1",
12
- "@yarnpkg/parsers": "^3.0.2",
11
+ "@yarnpkg/fslib": "^3.1.2",
12
+ "@yarnpkg/parsers": "^3.0.3",
13
13
  "ci-info": "^4.0.0",
14
14
  "clipanion": "^4.0.0-rc.2",
15
15
  "enquirer": "^2.3.6",
@@ -20,21 +20,21 @@
20
20
  "typanion": "^3.14.0"
21
21
  },
22
22
  "peerDependencies": {
23
- "@yarnpkg/cli": "^4.6.0",
24
- "@yarnpkg/core": "^4.2.0",
25
- "@yarnpkg/plugin-git": "^3.1.0"
23
+ "@yarnpkg/cli": "^4.8.0",
24
+ "@yarnpkg/core": "^4.3.0",
25
+ "@yarnpkg/plugin-git": "^3.1.1"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/lodash": "^4.14.136",
29
29
  "@types/micromatch": "^4.0.1",
30
30
  "@types/semver": "^7.1.0",
31
- "@yarnpkg/cli": "^4.6.0",
32
- "@yarnpkg/core": "^4.2.0",
33
- "@yarnpkg/plugin-git": "^3.1.0"
31
+ "@yarnpkg/cli": "^4.8.0",
32
+ "@yarnpkg/core": "^4.3.0",
33
+ "@yarnpkg/plugin-git": "^3.1.1"
34
34
  },
35
35
  "repository": {
36
36
  "type": "git",
37
- "url": "ssh://git@github.com/yarnpkg/berry.git",
37
+ "url": "git+https://github.com/yarnpkg/berry.git",
38
38
  "directory": "packages/plugin-essentials"
39
39
  },
40
40
  "scripts": {