@gooddata/code-cli 0.58.0-alpha.2 → 0.58.0-alpha.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.
Files changed (3) hide show
  1. package/NOTICE +5 -5
  2. package/dist/index.js +12 -12
  3. package/package.json +1 -1
package/NOTICE CHANGED
@@ -7,9 +7,9 @@
7
7
 
8
8
  The following 3rd-party software packages may be used by or distributed with gdc-analytics-as-code. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
9
9
 
10
- Date generated: 2026-10-9
10
+ Date generated: 2026-10-12
11
11
 
12
- Revision ID: 3ef6d105ddec892804628036fd14253a8cc9efdf
12
+ Revision ID: 8e06ea94c3cd8c855fa1714a3b3077c84a332395
13
13
 
14
14
  ================================================================================
15
15
  ================================================================================
@@ -10527,7 +10527,7 @@ MIT
10527
10527
 
10528
10528
  Authors: marijn@haverbeke.berlin
10529
10529
  Package Manager: NPM
10530
- Project URL: https://www.npmjs.com/package/@lezer/yaml
10530
+ Project URL: https://github.com/lezer-parser/yaml#readme
10531
10531
  Package Download URL: https://registry.npmjs.org/@lezer/yaml/-/yaml-1.0.4.tgz
10532
10532
  Dependency Path: @codemirror/lang-yaml > @lezer/yaml
10533
10533
  File Path(s): common/config/subspaces/aac/pnpm-lock.yaml
@@ -58771,7 +58771,7 @@ MIT
58771
58771
 
58772
58772
  Authors: keith@mcknig.ht, tituswormer@gmail.com
58773
58773
  Package Manager: NPM
58774
- Project URL: https://www.npmjs.com/package/unist-builder
58774
+ Project URL: https://github.com/syntax-tree/unist-builder#readme
58775
58775
  Package Download URL: https://registry.npmjs.org/unist-builder/-/unist-builder-4.0.0.tgz
58776
58776
  Dependency Path: unist-builder
58777
58777
  File Path(s): common/config/subspaces/aac/pnpm-lock.yaml
@@ -62819,4 +62819,4 @@ File Path(s): common/config/subspaces/aac/pnpm-lock.yaml
62819
62819
  --------------------------------------------------------------------------------
62820
62820
  --------------------------------------------------------------------------------
62821
62821
 
62822
- Report Generated by FOSSA on 2026-10-9
62822
+ Report Generated by FOSSA on 2026-10-12
package/dist/index.js CHANGED
@@ -37370,7 +37370,7 @@ function isPromise(value) {
37370
37370
  //#endregion
37371
37371
  //#region package.json
37372
37372
  var name$1 = "@gooddata/code-cli";
37373
- var version$1 = "0.58.0-alpha.2";
37373
+ var version$1 = "0.58.0-alpha.4";
37374
37374
  //#endregion
37375
37375
  //#region ../../../common/temp/aac/node_modules/.pnpm/vscode-languageserver@8.1.0/node_modules/vscode-languageserver/lib/common/utils/is.js
37376
37376
  var require_is$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -106498,7 +106498,7 @@ function linkDirectory(root, filepath, content) {
106498
106498
  errors.push(...res.errors ?? []);
106499
106499
  }
106500
106500
  });
106501
- const allErrors = [...errors.filter(Boolean)];
106501
+ const allErrors = errors.filter(Boolean);
106502
106502
  return {
106503
106503
  descriptor: createDirectoryDescriptor(root, start),
106504
106504
  added: addedNodes,
@@ -146736,7 +146736,7 @@ function resolveReferencesObjects(references, objects) {
146736
146736
  attributeAdded = true;
146737
146737
  }
146738
146738
  if (isAttribute$3(field)) {
146739
- const allLabels = { ...field.labels || {} };
146739
+ const allLabels = { ...field.labels };
146740
146740
  const defLabels = Object.keys(allLabels);
146741
146741
  let defaultAdded = false;
146742
146742
  if (defLabels.length === 0) {
@@ -160955,7 +160955,7 @@ function convertSchemaCompletionListToFileCompletionList(list) {
160955
160955
  cItem.sortText = item.sortText;
160956
160956
  cItem.filterText = item.filterText;
160957
160957
  cItem.data = {
160958
- ...item.data || {},
160958
+ ...item.data,
160959
160959
  isArray: item.tags?.includes(SchemaCompletionItemTag.Array) || false
160960
160960
  };
160961
160961
  cItem.insertText = {
@@ -160979,7 +160979,7 @@ function convertVscodeCompletionListToFileCompletionList(list) {
160979
160979
  cItem.sortText = item.sortText;
160980
160980
  cItem.filterText = item.filterText;
160981
160981
  cItem.data = {
160982
- ...item.data || {},
160982
+ ...item.data,
160983
160983
  isArray: item.data?.isArray ?? false
160984
160984
  };
160985
160985
  cItem.insertText = {
@@ -163750,7 +163750,7 @@ function performTextChanges(state, emitter, updatedFiles, updates) {
163750
163750
  if (isFileDescriptor(foundFile)) {
163751
163751
  const { textDocument, changes } = updates.updates[file];
163752
163752
  if (saveSync(state, emitter, file, Buffer.from(textDocument.getText()), {})) updatedFiles[file] = {
163753
- ...updatedFiles[file] || {},
163753
+ ...updatedFiles[file],
163754
163754
  changes
163755
163755
  };
163756
163756
  }
@@ -163767,7 +163767,7 @@ function performFileChanges(state, emitter, updatedFiles, updates) {
163767
163767
  if (rename) {
163768
163768
  const mode = getFileMode(foundFile);
163769
163769
  if (renameSync(state, emitter, rename.oldPath, rename.newPath, { mode })) updatedFiles[file] = {
163770
- ...updatedFiles[file] || {},
163770
+ ...updatedFiles[file],
163771
163771
  rename: rename.newPath
163772
163772
  };
163773
163773
  }
@@ -163811,7 +163811,7 @@ async function open(state, emitter, file) {
163811
163811
  //#endregion
163812
163812
  //#region ../code/package.json
163813
163813
  var name = "@gooddata/code";
163814
- var version = "0.58.0-alpha.2";
163814
+ var version = "0.58.0-alpha.4";
163815
163815
  //#endregion
163816
163816
  //#region ../../../sdk/libs/api-client-tiger/src/axios.ts
163817
163817
  /**
@@ -163833,7 +163833,7 @@ const _CONFIG = {
163833
163833
  common: {
163834
163834
  "X-Requested-With": "XMLHttpRequest",
163835
163835
  "X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
163836
- "X-GDC-JS-PACKAGE-VERSION": "11.62.0-alpha.2"
163836
+ "X-GDC-JS-PACKAGE-VERSION": "11.62.0-alpha.4"
163837
163837
  },
163838
163838
  post: { "Content-Type": "application/json;charset=utf8" },
163839
163839
  put: { "Content-Type": "application/json;charset=utf8" }
@@ -197416,7 +197416,7 @@ const tigerLocationStyleClientFactory = (axios) => {
197416
197416
  * Low-level request that retrieves the default MapLibre style configuration.
197417
197417
  */
197418
197418
  async function LocationStyleApi_GetDefaultStyle(axios, params) {
197419
- const queryParams = { ...params?.language === void 0 ? {} : { language: params.language } };
197419
+ const queryParams = params?.language === void 0 ? {} : { language: params.language };
197420
197420
  return (await axios.get("/api/v1/location/style", { params: queryParams })).data;
197421
197421
  }
197422
197422
  /**
@@ -197429,7 +197429,7 @@ async function LocationStyleApi_GetStyles(axios) {
197429
197429
  * Low-level request that retrieves the MapLibre style for a specific style ID.
197430
197430
  */
197431
197431
  async function LocationStyleApi_GetStyleById(axios, styleId, params) {
197432
- const queryParams = { ...params?.language === void 0 ? {} : { language: params.language } };
197432
+ const queryParams = params?.language === void 0 ? {} : { language: params.language };
197433
197433
  return (await axios.get(`/api/v1/location/styles/${encodeURIComponent(styleId)}`, { params: queryParams })).data;
197434
197434
  }
197435
197435
  //#endregion
@@ -204395,7 +204395,7 @@ function updateDeclarativeLayout(currentWs, newWs) {
204395
204395
  ...currentWs,
204396
204396
  ldm: newWs.ldm,
204397
204397
  analytics: {
204398
- ...currentWs.analytics ?? {},
204398
+ ...currentWs.analytics,
204399
204399
  metrics: newWs.analytics?.metrics,
204400
204400
  ...newWs.analytics?.computedAttributes ? { computedAttributes: newWs.analytics?.computedAttributes } : {},
204401
204401
  ...newWs.analytics?.visualizationObjects ? { visualizationObjects: newWs.analytics?.visualizationObjects } : {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/code-cli",
3
- "version": "0.58.0-alpha.2",
3
+ "version": "0.58.0-alpha.4",
4
4
  "description": "GoodData CLI",
5
5
  "keywords": [
6
6
  "analytics",