@salesforce/cli 1.47.0 → 1.49.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/dist/cli.js CHANGED
@@ -25,7 +25,6 @@ const envVars = [
25
25
  env_1.Env.SF_DISABLE_AUTOUPDATE,
26
26
  env_1.Env.SF_ENV,
27
27
  env_1.Env.SF_INSTALLER,
28
- env_1.Env.SF_LAZY_LOAD_MODULES,
29
28
  env_1.Env.SF_NPM_REGISTRY,
30
29
  'SF_REDIRECTED',
31
30
  env_1.Env.SF_S3_HOST,
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2022, salesforce.com, inc.
4
+ * All rights reserved.
5
+ * Licensed under the BSD 3-Clause license.
6
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ const core_1 = require("@oclif/core");
10
+ const hook = async function (options) {
11
+ const verifySignHookResult = await this.config.runHook('plugins:preinstall:verify:signature', options);
12
+ const pluginTrustFailure = verifySignHookResult.failures.find((failure) => failure.plugin.name === '@salesforce/plugin-trust');
13
+ if (pluginTrustFailure !== undefined) {
14
+ core_1.Errors.handle(pluginTrustFailure.error);
15
+ }
16
+ };
17
+ exports.default = hook;
18
+ //# sourceMappingURL=pluginsPreinstall.js.map
package/dist/util/env.js CHANGED
@@ -47,9 +47,6 @@ class Env extends core_1.EnvVars {
47
47
  setNpmRegistryOverride(value) {
48
48
  return this.setString(Env.SF_NPM_REGISTRY, value);
49
49
  }
50
- isLazyRequireEnabled() {
51
- return this.getBoolean(Env.SF_LAZY_LOAD_MODULES);
52
- }
53
50
  normalizeAutoupdateDisabled() {
54
51
  // Ensure that the legacy envar always causes the oclif counterpart to be set
55
52
  // see https://github.com/oclif/plugin-update/blob/3946fb296a0a95544ab6364b36a1f7422c8aeddf/src/hooks/init.ts#L22
@@ -67,7 +64,6 @@ Env.SF_DISABLE_AUTOUPDATE = 'SF_DISABLE_AUTOUPDATE';
67
64
  Env.SF_ENV = 'SF_ENV';
68
65
  Env.SF_INSTALLER = 'SF_INSTALLER';
69
66
  Env.SFDX_INSTALLER = 'SFDX_INSTALLER';
70
- Env.SF_LAZY_LOAD_MODULES = 'SF_LAZY_LOAD_MODULES';
71
67
  Env.SF_NPM_REGISTRY = 'SF_NPM_REGISTRY';
72
68
  Env.SF_S3_HOST = 'SF_S3_HOST';
73
69
  Env.SF_UPDATE_INSTRUCTIONS = 'SF_UPDATE_INSTRUCTIONS';