@oclif/plugin-update 4.7.20-qa.0 → 4.7.21

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/README.md CHANGED
@@ -81,7 +81,7 @@ EXAMPLES
81
81
  $ oclif-example update --available
82
82
  ```
83
83
 
84
- _See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v4.7.20-qa.0/src/commands/update.ts)_
84
+ _See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/4.7.21/src/commands/update.ts)_
85
85
  <!-- commandsstop -->
86
86
 
87
87
  # Contributing
package/dist/update.js CHANGED
@@ -305,14 +305,7 @@ const debounce = async (cacheDir) => {
305
305
  };
306
306
  const setChannel = async (channel, dataDir) => writeFile(join(dataDir, 'channel'), channel, 'utf8');
307
307
  const fetchChannelManifest = async (channel, config) => {
308
- const hasCustomTemplates = Boolean(config.pjson.oclif?.update?.s3?.templates);
309
- const s3Key = hasCustomTemplates
310
- ? config.s3Key('manifest', {
311
- arch: config.arch,
312
- channel,
313
- platform: determinePlatform(config),
314
- })
315
- : s3ChannelManifestKey(channel, config);
308
+ const s3Key = s3ChannelManifestKey(channel, config);
316
309
  try {
317
310
  return await fetchManifest(s3Key, config);
318
311
  }
@@ -106,5 +106,5 @@
106
106
  ]
107
107
  }
108
108
  },
109
- "version": "4.7.20-qa.0"
109
+ "version": "4.7.21"
110
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-update",
3
- "version": "4.7.20-qa.0",
3
+ "version": "4.7.21",
4
4
  "author": "Salesforce",
5
5
  "bugs": "https://github.com/oclif/plugin-update/issues",
6
6
  "dependencies": {
@@ -31,11 +31,11 @@
31
31
  "chai": "^4.5.0",
32
32
  "commitlint": "^19",
33
33
  "eslint": "^9.39.3",
34
- "eslint-config-oclif": "^6.0.142",
34
+ "eslint-config-oclif": "^6.0.146",
35
35
  "eslint-config-prettier": "^10.1.8",
36
36
  "husky": "^9.1.7",
37
37
  "lint-staged": "^15",
38
- "mocha": "^10.8.2",
38
+ "mocha": "^11",
39
39
  "nock": "^13.5.6",
40
40
  "oclif": "^4",
41
41
  "prettier": "^3.8.1",
@@ -58,6 +58,7 @@
58
58
  ],
59
59
  "license": "MIT",
60
60
  "oclif": {
61
+ "repositoryPrefix": "<%- repo %>/blob/<%- version %>/<%- commandPath %>",
61
62
  "autoupdate": "github",
62
63
  "commands": "./dist/commands",
63
64
  "bin": "oclif-example",