sap-ux-sap-systems-ext 1.0.0 → 1.0.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.
package/dist/extension.js CHANGED
@@ -134245,7 +134245,7 @@ function configAzureTelemetryClient(client) {
134245
134245
  // ../telemetry/package.json
134246
134246
  var package_default = {
134247
134247
  name: "@sap-ux/telemetry",
134248
- version: "1.0.0",
134248
+ version: "1.0.5",
134249
134249
  description: "Library for sending usage telemetry data",
134250
134250
  type: "module",
134251
134251
  repository: {
@@ -139198,7 +139198,7 @@ var import_semver3 = __toESM(require_semver2(), 1);
139198
139198
  var nodejs_utils_i18n_default = {
139199
139199
  error: {
139200
139200
  unsupportedYoVersion: "The installed version of the `Yo` CLI tool: {{installedYoVersion}} is not supported. Please use `npm` or `yarn` to globally install the latest supported version by running: 'npm i -g yo@{{latestSupportedYoVer}}'.",
139201
- executingNpmListCmd: "Running: {{npmCmd}} returned an error: {{- error}}. Check that `npm` is installed and available on the path. If `yo@{{latestSupportedYoVer}}` is not installed, use `npm` or `yarn` to globally install the latest required version by running: 'npm i -g yo@{{latestSupportedYoVer}}'."
139201
+ executingYoVersionCmd: "Running: {{yoCmd}} returned an error: {{- error}}. Check that `yo` is installed and available on the path. If `yo@{{latestSupportedYoVer}}` is not installed, use `npm` or `yarn` to globally install the latest required version by running: 'npm i -g yo@{{latestSupportedYoVer}}'."
139202
139202
  }
139203
139203
  };
139204
139204
 
@@ -142823,7 +142823,8 @@ var UI5Config = class _UI5Config {
142823
142823
  path: "builder.resources.excludes",
142824
142824
  value: "/localService/**"
142825
142825
  });
142826
- const configuration = { target, app, exclude, lrep };
142826
+ const deployExclude = Array.from(/* @__PURE__ */ new Set([...exclude ?? [], "/test/", "/localService/"]));
142827
+ const configuration = { target, app, exclude: deployExclude, lrep };
142827
142828
  if (index) {
142828
142829
  configuration["index"] = true;
142829
142830
  }
@@ -143294,6 +143295,7 @@ function getNodeModulesPath(projectRoot, module2) {
143294
143295
  }
143295
143296
 
143296
143297
  // ../project-access/dist/project/module-loader.js
143298
+ var import_node_url = require("node:url");
143297
143299
  var require4 = (0, import_node_module3.createRequire)(__filename);
143298
143300
  async function getModulePath(projectRoot, moduleName) {
143299
143301
  if (!getNodeModulesPath(projectRoot, moduleName)) {
@@ -143305,7 +143307,7 @@ async function loadModuleFromProject(projectRoot, moduleName) {
143305
143307
  let module2;
143306
143308
  try {
143307
143309
  const modulePath = await getModulePath(projectRoot, moduleName);
143308
- module2 = await import(modulePath);
143310
+ module2 = await import((0, import_node_url.pathToFileURL)(modulePath).href);
143309
143311
  } catch (error) {
143310
143312
  throw Error(`Module '${moduleName}' not installed in project '${projectRoot}'.
143311
143313
  ${error.toString()}`);
@@ -150303,7 +150305,7 @@ asyncInterceptorTypesMapping.set(InterceptorTypes.DURATION, durationAsync);
150303
150305
  asyncInterceptorTypesMapping.set(InterceptorTypes.CAPTURE_PARAM, captureParamAsync);
150304
150306
 
150305
150307
  // package.json
150306
- var version = "1.0.0";
150308
+ var version = "1.0.2";
150307
150309
 
150308
150310
  // ../feature-toggle/dist/constants.js
150309
150311
  var extensionConfigKeys = {
@@ -151008,7 +151010,7 @@ var UAATimeoutError = class extends TimeoutError3 {
151008
151010
  };
151009
151011
 
151010
151012
  // ../axios-extension/dist/abap/message.js
151011
- var import_node_url = require("node:url");
151013
+ var import_node_url2 = require("node:url");
151012
151014
  function logLevel(severity, msg, log, error = false) {
151013
151015
  if (severity) {
151014
151016
  severity = severity.toLowerCase();
@@ -151040,12 +151042,12 @@ function prettyPrintMessage({ msg, log, host, isDest = false }) {
151040
151042
  }
151041
151043
  function logFullURL({ host, path: path6, log, isDest = false }) {
151042
151044
  if (host && path6) {
151043
- const base = new import_node_url.URL(host).origin;
151045
+ const base = new import_node_url2.URL(host).origin;
151044
151046
  log.info("Please copy/paste this URL in a browser for more details:");
151045
151047
  if (isDest) {
151046
151048
  log.info("(Note: You will need to replace the host in the URL with the internal host, if your destination is configured using an On-Premise SAP Cloud Connector)");
151047
151049
  }
151048
- log.info(new import_node_url.URL(path6, base).href);
151050
+ log.info(new import_node_url2.URL(path6, base).href);
151049
151051
  }
151050
151052
  }
151051
151053
  function prettyPrintError({ error, log, host, isDest }, showAllMessages = true) {
@@ -152111,7 +152113,7 @@ var Ui5AbapRepositoryService = class _Ui5AbapRepositoryService extends ODataServ
152111
152113
 
152112
152114
  // ../axios-extension/dist/abap/lrep-service.js
152113
152115
  var import_node_fs9 = require("node:fs");
152114
- var import_node_url2 = require("node:url");
152116
+ var import_node_url3 = require("node:url");
152115
152117
  var import_qs2 = __toESM(require_lib8(), 1);
152116
152118
  var AdaptationProjectType;
152117
152119
  (function(AdaptationProjectType2) {
@@ -152163,7 +152165,7 @@ var LayeredRepositoryService = class extends Axios2 {
152163
152165
  */
152164
152166
  async mergeAppDescriptorVariant(appDescriptorVariant, workspacePath) {
152165
152167
  const path6 = "/appdescr_variant_preview/";
152166
- const params = new import_node_url2.URLSearchParams(this.defaults?.params);
152168
+ const params = new import_node_url3.URLSearchParams(this.defaults?.params);
152167
152169
  if (workspacePath) {
152168
152170
  params.append("workspacePath", workspacePath);
152169
152171
  }
@@ -152306,7 +152308,7 @@ var LayeredRepositoryService = class extends Axios2 {
152306
152308
  * @returns {Promise<KeyUserDataResponse>} Key user change payload.
152307
152309
  */
152308
152310
  async getKeyUserData(componentId, adaptationId) {
152309
- const params = new import_node_url2.URLSearchParams(this.defaults?.params);
152311
+ const params = new import_node_url3.URLSearchParams(this.defaults?.params);
152310
152312
  params.append("adaptationId", encodeURIComponent(adaptationId));
152311
152313
  try {
152312
152314
  const response = await this.get(`/flex/keyuserdata/${componentId}`, {
@@ -152333,7 +152335,7 @@ var LayeredRepositoryService = class extends Axios2 {
152333
152335
  */
152334
152336
  async getFlexVersions(componentId, limit = 2, language = "EN") {
152335
152337
  try {
152336
- const params = new import_node_url2.URLSearchParams(this.defaults?.params);
152338
+ const params = new import_node_url3.URLSearchParams(this.defaults?.params);
152337
152339
  params.append("sap-language", language);
152338
152340
  params.append("limit", limit.toString());
152339
152341
  const response = await this.get(`/flex/versions/${encodeURIComponent(componentId)}`, {