@salesforce/core-bundle 8.6.0 → 8.6.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.
@@ -54,10 +54,8 @@ var require_wait = __commonJS({
54
54
  if (current === prior) {
55
55
  check(backoff >= MAX_TIMEOUT ? MAX_TIMEOUT : backoff * 2);
56
56
  } else {
57
- if (current === expected)
58
- done(null, "ok");
59
- else
60
- done(null, "not-equal");
57
+ if (current === expected) done(null, "ok");
58
+ else done(null, "not-equal");
61
59
  }
62
60
  }, backoff);
63
61
  }
@@ -130,10 +128,8 @@ async function start() {
130
128
  throw error;
131
129
  }
132
130
  }
133
- if (typeof worker === "object")
134
- worker = worker.default;
135
- if (typeof worker === "object")
136
- worker = worker.default;
131
+ if (typeof worker === "object") worker = worker.default;
132
+ if (typeof worker === "object") worker = worker.default;
137
133
  destination = await worker(workerData.workerData);
138
134
  destination.on("error", function(err) {
139
135
  Atomics.store(state, WRITE_INDEX, -2);
package/messages/core.md CHANGED
@@ -36,7 +36,7 @@ Error authenticating with the refresh token due to: %s
36
36
 
37
37
  # invalidSfdxAuthUrlError
38
38
 
39
- Invalid SFDX authorization URL. Must be in the format "force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>". Note that the "instanceUrl" inside the SFDX authorization URL doesn\'t include the protocol ("https://"). Run "org display --target-org" on an org to see an example of an SFDX authorization URL.
39
+ Invalid SFDX authorization URL. Must be in the format "force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>". Note that the "instanceUrl" inside the SFDX authorization URL doesn\'t include the protocol ("https://"). Run "org display --target-org" on an org to see an example of an SFDX authorization URL.
40
40
 
41
41
  # orgDataNotAvailableError
42
42
 
@@ -56,7 +56,7 @@ The service and account specified in %s do not match the version of the toolbelt
56
56
 
57
57
  # genericKeychainInvalidPermsError
58
58
 
59
- Invalid file permissions for secret file
59
+ Invalid file permissions for secret file: %s
60
60
 
61
61
  # genericKeychainInvalidPermsError.actions
62
62
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/core-bundle",
3
- "version": "8.6.0",
3
+ "version": "8.6.2",
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",
@@ -65,10 +65,11 @@
65
65
  "@types/proper-lockfile": "^4.1.4",
66
66
  "@types/semver": "^7.5.8",
67
67
  "benchmark": "^2.1.4",
68
- "esbuild": "^0.19.5",
69
- "esbuild-plugin-pino": "^2.1.0",
68
+ "esbuild": "^0.23.1",
69
+ "esbuild-plugin-pino": "^2.2.0",
70
70
  "esbuild-plugin-tsc": "^0.4.0",
71
- "npm-dts": "^1.3.12",
71
+ "npm-dts": "^1.3.13",
72
+ "ts-morph": "^23.0.0",
72
73
  "ts-node": "^10.9.2",
73
74
  "ts-patch": "^3.2.1",
74
75
  "typescript": "^5.5.4"