@salesforce/core-bundle 7.3.12 → 7.4.0

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/lib/index.js CHANGED
@@ -7604,7 +7604,7 @@ var require_pino = __commonJS({
7604
7604
  return f(p);
7605
7605
  }
7606
7606
  }
7607
- globalThis.__bundlerPathsOverrides = { ...globalThis.__bundlerPathsOverrides || {}, "thread-stream-worker": pinoBundlerAbsolutePath("./thread-stream-worker.js"), "pino-worker": pinoBundlerAbsolutePath("./pino-worker.js"), "pino-pipeline-worker": pinoBundlerAbsolutePath("./pino-pipeline-worker.js"), "pino/file": pinoBundlerAbsolutePath("./pino-file.js"), "pino-pretty": pinoBundlerAbsolutePath("./pino-pretty.js") };
7607
+ globalThis.__bundlerPathsOverrides = { ...globalThis.__bundlerPathsOverrides || {}, "thread-stream-worker": pinoBundlerAbsolutePath("./thread-stream-worker.js"), "pino-worker": pinoBundlerAbsolutePath("./pino-worker.js"), "pino/file": pinoBundlerAbsolutePath("./pino-file.js"), "pino-pipeline-worker": pinoBundlerAbsolutePath("./pino-pipeline-worker.js"), "pino-pretty": pinoBundlerAbsolutePath("./pino-pretty.js") };
7608
7608
  var os = require("os");
7609
7609
  var stdSerializers = require_pino_std_serializers();
7610
7610
  var caller = require_caller();
@@ -12075,7 +12075,7 @@ var require_package2 = __commonJS({
12075
12075
  "package.json"(exports2, module2) {
12076
12076
  module2.exports = {
12077
12077
  name: "@salesforce/core-bundle",
12078
- version: "7.3.12",
12078
+ version: "7.4.0",
12079
12079
  description: "Core libraries to interact with SFDX projects, orgs, and APIs.",
12080
12080
  main: "lib/index",
12081
12081
  types: "lib/index.d.ts",
@@ -12146,7 +12146,7 @@ var require_package2 = __commonJS({
12146
12146
  "esbuild-plugin-tsc": "^0.4.0",
12147
12147
  "npm-dts": "^1.3.12",
12148
12148
  "ts-node": "^10.9.2",
12149
- "ts-patch": "^3.1.1",
12149
+ "ts-patch": "^3.2.0",
12150
12150
  typescript: "^5.4.5"
12151
12151
  },
12152
12152
  repository: {
@@ -93728,7 +93728,9 @@ var require_sfProject = __commonJS({
93728
93728
  */
93729
93729
  getDefaultPackage() {
93730
93730
  if (!this.hasPackages()) {
93731
- throw new sfError_12.SfError("The sfdx-project.json does not have any packageDirectories defined.");
93731
+ throw new sfError_12.SfError("The sfdx-project.json does not have any packageDirectories defined.", "NoPackageDirectories", [
93732
+ `Check ${this.getPath()} for packageDirectories.`
93733
+ ]);
93732
93734
  }
93733
93735
  const defaultPackage = this.findPackage((packageDir) => packageDir.default === true);
93734
93736
  return defaultPackage ?? this.getPackageDirectories()[0];
@@ -122630,6 +122632,7 @@ var require_testSetup = __commonJS({
122630
122632
  Object.values(testContext.SANDBOXES).forEach((theSandbox) => theSandbox.restore());
122631
122633
  testContext.configStubs = {};
122632
122634
  stateAggregator_12.StateAggregator.clearInstance();
122635
+ sfProject_12.SfProject.instances.clear();
122633
122636
  delete configAggregator_12.ConfigAggregator.instance;
122634
122637
  };
122635
122638
  exports2.restoreContext = restoreContext;
package/lib/pino-file.js CHANGED
@@ -4123,7 +4123,7 @@ var require_pino = __commonJS({
4123
4123
  return f(p);
4124
4124
  }
4125
4125
  }
4126
- globalThis.__bundlerPathsOverrides = { ...globalThis.__bundlerPathsOverrides || {}, "thread-stream-worker": pinoBundlerAbsolutePath("./thread-stream-worker.js"), "pino-worker": pinoBundlerAbsolutePath("./pino-worker.js"), "pino-pipeline-worker": pinoBundlerAbsolutePath("./pino-pipeline-worker.js"), "pino/file": pinoBundlerAbsolutePath("./pino-file.js"), "pino-pretty": pinoBundlerAbsolutePath("./pino-pretty.js") };
4126
+ globalThis.__bundlerPathsOverrides = { ...globalThis.__bundlerPathsOverrides || {}, "thread-stream-worker": pinoBundlerAbsolutePath("./thread-stream-worker.js"), "pino-worker": pinoBundlerAbsolutePath("./pino-worker.js"), "pino/file": pinoBundlerAbsolutePath("./pino-file.js"), "pino-pipeline-worker": pinoBundlerAbsolutePath("./pino-pipeline-worker.js"), "pino-pretty": pinoBundlerAbsolutePath("./pino-pretty.js") };
4127
4127
  var os = require("os");
4128
4128
  var stdSerializers = require_pino_std_serializers();
4129
4129
  var caller = require_caller();
@@ -4123,7 +4123,7 @@ var require_pino = __commonJS({
4123
4123
  return f(p);
4124
4124
  }
4125
4125
  }
4126
- globalThis.__bundlerPathsOverrides = { ...globalThis.__bundlerPathsOverrides || {}, "thread-stream-worker": pinoBundlerAbsolutePath("./thread-stream-worker.js"), "pino-worker": pinoBundlerAbsolutePath("./pino-worker.js"), "pino-pipeline-worker": pinoBundlerAbsolutePath("./pino-pipeline-worker.js"), "pino/file": pinoBundlerAbsolutePath("./pino-file.js"), "pino-pretty": pinoBundlerAbsolutePath("./pino-pretty.js") };
4126
+ globalThis.__bundlerPathsOverrides = { ...globalThis.__bundlerPathsOverrides || {}, "thread-stream-worker": pinoBundlerAbsolutePath("./thread-stream-worker.js"), "pino-worker": pinoBundlerAbsolutePath("./pino-worker.js"), "pino/file": pinoBundlerAbsolutePath("./pino-file.js"), "pino-pipeline-worker": pinoBundlerAbsolutePath("./pino-pipeline-worker.js"), "pino-pretty": pinoBundlerAbsolutePath("./pino-pretty.js") };
4127
4127
  var os = require("os");
4128
4128
  var stdSerializers = require_pino_std_serializers();
4129
4129
  var caller = require_caller();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/core-bundle",
3
- "version": "7.3.12",
3
+ "version": "7.4.0",
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",
@@ -71,7 +71,7 @@
71
71
  "esbuild-plugin-tsc": "^0.4.0",
72
72
  "npm-dts": "^1.3.12",
73
73
  "ts-node": "^10.9.2",
74
- "ts-patch": "^3.1.1",
74
+ "ts-patch": "^3.2.0",
75
75
  "typescript": "^5.4.5"
76
76
  },
77
77
  "repository": {