@salesforce/core-bundle 8.11.2 → 8.11.4
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 +9 -6
- package/lib/pino-pretty.js +16 -5452
- package/package.json +2 -2
package/lib/index.js
CHANGED
@@ -8289,7 +8289,7 @@ ${error.message}`);
|
|
8289
8289
|
const relevantTokens = tokens.slice(tokenCur, tokenCur + tokenCount);
|
8290
8290
|
tokenCur += tokenCount;
|
8291
8291
|
return util.format(msgStr, ...relevantTokens);
|
8292
|
-
} else {
|
8292
|
+
} else if (tokens.length > 0) {
|
8293
8293
|
const logger = logger_12.Logger.childFromRoot("core:messages");
|
8294
8294
|
logger.warn(`Unable to render tokens in message. Ensure a specifier (e.g. %s) exists in the message:
|
8295
8295
|
${msgStr}`);
|
@@ -12319,7 +12319,7 @@ var require_package2 = __commonJS({
|
|
12319
12319
|
"package.json"(exports2, module2) {
|
12320
12320
|
module2.exports = {
|
12321
12321
|
name: "@salesforce/core-bundle",
|
12322
|
-
version: "8.11.
|
12322
|
+
version: "8.11.4",
|
12323
12323
|
description: "Core libraries to interact with SFDX projects, orgs, and APIs.",
|
12324
12324
|
main: "lib/index",
|
12325
12325
|
types: "lib/index.d.ts",
|
@@ -12370,7 +12370,7 @@ var require_package2 = __commonJS({
|
|
12370
12370
|
jszip: "3.10.1",
|
12371
12371
|
pino: "^9.7.0",
|
12372
12372
|
"pino-abstract-transport": "^1.2.0",
|
12373
|
-
"pino-pretty": "^11.
|
12373
|
+
"pino-pretty": "^11.3.0",
|
12374
12374
|
"proper-lockfile": "^4.1.2",
|
12375
12375
|
semver: "^7.6.3",
|
12376
12376
|
"ts-retry-promise": "^0.8.1"
|
@@ -106884,6 +106884,7 @@ var require_scratchOrgSettingsGenerator = __commonJS({
|
|
106884
106884
|
var directoryWriter_1 = require_directoryWriter();
|
106885
106885
|
var lifecycleEvents_12 = require_lifecycleEvents();
|
106886
106886
|
var messages_12 = require_messages();
|
106887
|
+
var configAggregator_12 = require_configAggregator();
|
106887
106888
|
var RequestStatus;
|
106888
106889
|
(function(RequestStatus2) {
|
106889
106890
|
RequestStatus2["Pending"] = "Pending";
|
@@ -107059,9 +107060,11 @@ var require_scratchOrgSettingsGenerator = __commonJS({
|
|
107059
107060
|
const connection = scratchOrg.getConnection();
|
107060
107061
|
logger.debug(`deploying to apiVersion: ${apiVersion}`);
|
107061
107062
|
connection.setApiVersion(apiVersion);
|
107062
|
-
const
|
107063
|
-
logger.debug(`
|
107064
|
-
|
107063
|
+
const restDeploy = (await configAggregator_12.ConfigAggregator.create()).getPropertyValue("org-metadata-rest-deploy");
|
107064
|
+
logger.debug(`Deploying settings to scratch org using ${restDeploy ? "REST" : "SOAP"} API`);
|
107065
|
+
const { id } = await connection.deploy(this.writer.buffer, { rest: restDeploy });
|
107066
|
+
logger.debug(`Settings deploy id: ${id}`);
|
107067
|
+
let result = await connection.metadata.checkDeployStatus(id, void 0, restDeploy);
|
107065
107068
|
const pollingOptions = {
|
107066
107069
|
async poll() {
|
107067
107070
|
try {
|