@oclif/plugin-update 4.4.2 → 4.4.4

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
@@ -55,7 +55,7 @@ EXAMPLES
55
55
  $ oclif-example update --available
56
56
  ```
57
57
 
58
- _See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v4.4.2/src/commands/update.ts)_
58
+ _See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v4.4.4/src/commands/update.ts)_
59
59
  <!-- commandsstop -->
60
60
 
61
61
  # Contributing
package/dist/tar.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
1
  declare function extract(stream: NodeJS.ReadableStream, basename: string, output: string, sha?: string): Promise<void>;
3
2
  export declare const Extractor: {
4
3
  extract: typeof extract;
package/dist/update.js CHANGED
@@ -332,7 +332,7 @@ const downloadAndExtract = async (output, manifest, channel, config) => {
332
332
  await extraction;
333
333
  };
334
334
  const determineChannel = async ({ config, version }) => {
335
- ux.action.status = `Determining channel for ${version}`;
335
+ ux.action.status = version ? `Determining channel for ${version}` : 'Determining channel';
336
336
  const channelPath = join(config.dataDir, 'channel');
337
337
  const channel = existsSync(channelPath) ? (await readFile(channelPath, 'utf8')).trim() : 'stable';
338
338
  if (config.pjson.oclif.update?.disableNpmLookup ?? false) {
package/dist/util.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
1
  import { Stats } from 'node:fs';
3
2
  export declare function touch(p: string): Promise<void>;
4
3
  export declare function ls(dir: string): Promise<Array<{
@@ -96,5 +96,5 @@
96
96
  ]
97
97
  }
98
98
  },
99
- "version": "4.4.2"
99
+ "version": "4.4.4"
100
100
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@oclif/plugin-update",
3
- "version": "4.4.2",
3
+ "version": "4.4.4",
4
4
  "author": "Salesforce",
5
5
  "bugs": "https://github.com/oclif/plugin-update/issues",
6
6
  "dependencies": {
7
- "@inquirer/select": "^2.3.5",
7
+ "@inquirer/select": "^2.3.6",
8
8
  "@oclif/core": "^4",
9
9
  "ansis": "^3.2.0",
10
10
  "debug": "^4.3.5",
@@ -30,7 +30,7 @@
30
30
  "commitlint": "^19",
31
31
  "eslint": "^8.57.0",
32
32
  "eslint-config-oclif": "^5.2.0",
33
- "eslint-config-oclif-typescript": "^3.1.7",
33
+ "eslint-config-oclif-typescript": "^3.1.8",
34
34
  "eslint-config-prettier": "^9.1.0",
35
35
  "husky": "^9",
36
36
  "lint-staged": "^15",
@@ -42,7 +42,7 @@
42
42
  "sinon": "^18.0.0",
43
43
  "strip-ansi": "^7.1.0",
44
44
  "ts-node": "^10.9.2",
45
- "typescript": "^5.4.5"
45
+ "typescript": "^5.5.2"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=18.0.0"