@oclif/plugin-update 4.7.26 → 4.7.28

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/4.7.26/src/commands/update.ts)_
84
+ _See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/4.7.28/src/commands/update.ts)_
85
85
  <!-- commandsstop -->
86
86
 
87
87
  # Contributing
package/dist/update.js CHANGED
@@ -182,7 +182,7 @@ ${binPathEnvVar}="\$DIR/${bin}" ${redirectedEnvVar}=1 "$DIR/../${version}/bin/${
182
182
  return mtime < new Date();
183
183
  };
184
184
  await Promise.all(files
185
- .filter((f) => isNotSpecial(this.config.version, f.path) && isOld(f.stat))
185
+ .filter((f) => isNotSpecial(f.path, this.config.version) && isOld(f.stat))
186
186
  .map((f) => rm(f.path, { force: true, recursive: true })));
187
187
  }
188
188
  catch (error) {
@@ -106,5 +106,5 @@
106
106
  ]
107
107
  }
108
108
  },
109
- "version": "4.7.26"
109
+ "version": "4.7.28"
110
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-update",
3
- "version": "4.7.26",
3
+ "version": "4.7.28",
4
4
  "author": "Salesforce",
5
5
  "bugs": "https://github.com/oclif/plugin-update/issues",
6
6
  "dependencies": {
@@ -21,7 +21,7 @@
21
21
  "@oclif/plugin-help": "^6",
22
22
  "@oclif/prettier-config": "^0.2.1",
23
23
  "@types/chai": "^4.3.17",
24
- "@types/debug": "^4.1.12",
24
+ "@types/debug": "^4.1.13",
25
25
  "@types/execa": "^0.9.0",
26
26
  "@types/mocha": "^10",
27
27
  "@types/node": "^18",
@@ -31,7 +31,7 @@
31
31
  "chai": "^4.5.0",
32
32
  "commitlint": "^19",
33
33
  "eslint": "^9.39.4",
34
- "eslint-config-oclif": "^6.0.151",
34
+ "eslint-config-oclif": "^6.0.153",
35
35
  "eslint-config-prettier": "^10.1.8",
36
36
  "husky": "^9.1.7",
37
37
  "lint-staged": "^15",