@oclif/core 4.5.1 → 4.5.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.
@@ -78,7 +78,8 @@ async function cacheCommand(uncachedCmd, plugin, respectNoCacheDefault = false)
78
78
  cacheArgs((0, ensure_arg_object_1.ensureArgObject)(cmd.args), respectNoCacheDefault),
79
79
  ]);
80
80
  const stdProperties = {
81
- aliases: cmd.aliases ?? [],
81
+ // Replace all spaces in aliases with colons to standardize them.
82
+ aliases: (cmd.aliases ?? []).map((a) => a.replaceAll(' ', ':')),
82
83
  args,
83
84
  deprecateAliases: cmd.deprecateAliases,
84
85
  deprecationOptions: cmd.deprecationOptions,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "4.5.1",
4
+ "version": "4.5.2",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {