@salesforce/core-bundle 8.8.4 → 8.8.5

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -12310,7 +12310,7 @@ var require_package2 = __commonJS({
12310
12310
  "package.json"(exports2, module2) {
12311
12311
  module2.exports = {
12312
12312
  name: "@salesforce/core-bundle",
12313
- version: "8.8.4",
12313
+ version: "8.8.5",
12314
12314
  description: "Core libraries to interact with SFDX projects, orgs, and APIs.",
12315
12315
  main: "lib/index",
12316
12316
  types: "lib/index.d.ts",
@@ -15927,7 +15927,7 @@ var require_aliasAccessor = __commonJS({
15927
15927
  try {
15928
15928
  this.aliasStore = fileContentsRawToAliasStore(await (0, promises_1.readFile)(this.fileLocation, "utf-8"));
15929
15929
  } catch (e) {
15930
- if (e instanceof Error && "code" in e && e.code === "ENOENT") {
15930
+ if (e instanceof Error && "code" in e && typeof e.code === "string" && ["ENOENT", "ENOTDIR"].includes(e.code)) {
15931
15931
  this.aliasStore = /* @__PURE__ */ new Map();
15932
15932
  await (0, promises_1.mkdir)((0, node_path_1.dirname)(this.fileLocation), { recursive: true });
15933
15933
  await this.saveAliasStoreToFile();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/core-bundle",
3
- "version": "8.8.4",
3
+ "version": "8.8.5",
4
4
  "description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
5
5
  "main": "lib/index",
6
6
  "types": "lib/index.d.ts",