Verified Commit 009ba67a authored by GitLab Dependency Bot's avatar GitLab Dependency Bot Committed by GitLab
Browse files

chore(deps): update dependency @gitlab-org/gitlab-lsp to ^8.93.2

parent ec3ebb3c
Loading
Loading
Loading
Loading
+43 −29
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
      "license": "MIT",
      "dependencies": {
        "@anycable/core": "^0.9.2",
        "@gitlab-org/gitlab-lsp": "^8.93.0",
        "@gitlab-org/gitlab-lsp": "^8.93.2",
        "@gitlab/needle": "2.0.0",
        "@snowplow/tracker-core": "4.8.0",
        "archiver": "^7.0.0",
@@ -3227,9 +3227,9 @@
      }
    },
    "node_modules/@gitlab-org/gitlab-lsp": {
      "version": "8.93.0",
      "resolved": "https://gitlab.com/api/v4/projects/46519181/packages/npm/@gitlab-org/gitlab-lsp/-/@gitlab-org/gitlab-lsp-8.93.0.tgz",
      "integrity": "sha1-2JihI5V8MWVEl/6f+NOLs6nQ7Y8=",
      "version": "8.93.2",
      "resolved": "https://gitlab.com/api/v4/projects/46519181/packages/npm/@gitlab-org/gitlab-lsp/-/@gitlab-org/gitlab-lsp-8.93.2.tgz",
      "integrity": "sha1-SZcm+gTv5k7Iu/xLWr3LcfL1ac4=",
      "dependencies": {
        "@anthropic-ai/sandbox-runtime": "^0.0.49",
        "@anycable/core": "^0.9.2",
@@ -3290,8 +3290,8 @@
        "vscode-languageserver-textdocument": "^1.0.12",
        "vscode-uri": "^3.1.0",
        "web-tree-sitter": "^0.24.7",
        "zod": "^3.25.76",
        "zod-validation-error": "^3.5.3"
        "zod": "^4.4.1",
        "zod-validation-error": "^5.0.0"
      },
      "bin": {
        "gitlab-lsp": "out/main-bundle-node.js"
@@ -3363,9 +3363,9 @@
      }
    },
    "node_modules/@gitlab-org/gitlab-lsp/node_modules/brace-expansion": {
      "version": "5.0.5",
      "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
      "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
      "version": "5.0.6",
      "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",
      "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",
      "license": "MIT",
      "dependencies": {
        "balanced-match": "^4.0.2"
@@ -3375,9 +3375,9 @@
      }
    },
    "node_modules/@gitlab-org/gitlab-lsp/node_modules/builtin-modules": {
      "version": "5.1.0",
      "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-5.1.0.tgz",
      "integrity": "sha512-c5JxaDrzwRjq3WyJkI1AGR5xy6Gr6udlt7sQPbl09+3ckB+Zo2qqQ2KhCTBr7Q8dHB43bENGYEk4xddrFH/b7A==",
      "version": "5.2.0",
      "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-5.2.0.tgz",
      "integrity": "sha512-02yxLeyxF4dNl6SlY6/5HfRSrSdZ/sCPoxy2kZNP5dZZX8LSAD9aE2gtJIUgWrsQTiMPl3mxESyrobSwvRGisQ==",
      "license": "MIT",
      "engines": {
        "node": ">=18.20"
@@ -3497,6 +3497,15 @@
        "node": ">=14.0.0"
      }
    },
    "node_modules/@gitlab-org/gitlab-lsp/node_modules/zod": {
      "version": "4.4.3",
      "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
      "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
      "license": "MIT",
      "funding": {
        "url": "https://github.com/sponsors/colinhacks"
      }
    },
    "node_modules/@gitlab/eslint-plugin": {
      "version": "21.3.1",
      "resolved": "https://registry.npmjs.org/@gitlab/eslint-plugin/-/eslint-plugin-21.3.1.tgz",
@@ -27879,9 +27888,9 @@
      }
    },
    "node_modules/zod-validation-error": {
      "version": "3.5.3",
      "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-3.5.3.tgz",
      "integrity": "sha512-OT5Y8lbUadqVZCsnyFaTQ4/O2mys4tj7PqhdbBCp7McPwvIEKfPtdA6QfPeFQK2/Rz5LgwmAXRJTugBNBi0btw==",
      "version": "5.0.0",
      "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-5.0.0.tgz",
      "integrity": "sha512-hmk+pkyKq7Q71PiWVSDUc3VfpzpvcRHZ3QPw9yEMVvmtCekaMeOHnbr3WbxfrgEnQTv6haGP4cmv0Ojmihzsxw==",
      "license": "MIT",
      "engines": {
        "node": ">=18.0.0"
@@ -29837,9 +29846,9 @@
      }
    },
    "@gitlab-org/gitlab-lsp": {
      "version": "8.93.0",
      "resolved": "https://gitlab.com/api/v4/projects/46519181/packages/npm/@gitlab-org/gitlab-lsp/-/@gitlab-org/gitlab-lsp-8.93.0.tgz",
      "integrity": "sha1-2JihI5V8MWVEl/6f+NOLs6nQ7Y8=",
      "version": "8.93.2",
      "resolved": "https://gitlab.com/api/v4/projects/46519181/packages/npm/@gitlab-org/gitlab-lsp/-/@gitlab-org/gitlab-lsp-8.93.2.tgz",
      "integrity": "sha1-SZcm+gTv5k7Iu/xLWr3LcfL1ac4=",
      "requires": {
        "@anthropic-ai/sandbox-runtime": "^0.0.49",
        "@anycable/core": "^0.9.2",
@@ -29900,8 +29909,8 @@
        "vscode-languageserver-textdocument": "^1.0.12",
        "vscode-uri": "^3.1.0",
        "web-tree-sitter": "^0.24.7",
        "zod": "^3.25.76",
        "zod-validation-error": "^3.5.3"
        "zod": "^4.4.1",
        "zod-validation-error": "^5.0.0"
      },
      "dependencies": {
        "@snowplow/tracker-core": {
@@ -29948,17 +29957,17 @@
          "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA=="
        },
        "brace-expansion": {
          "version": "5.0.5",
          "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
          "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
          "version": "5.0.6",
          "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",
          "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",
          "requires": {
            "balanced-match": "^4.0.2"
          }
        },
        "builtin-modules": {
          "version": "5.1.0",
          "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-5.1.0.tgz",
          "integrity": "sha512-c5JxaDrzwRjq3WyJkI1AGR5xy6Gr6udlt7sQPbl09+3ckB+Zo2qqQ2KhCTBr7Q8dHB43bENGYEk4xddrFH/b7A=="
          "version": "5.2.0",
          "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-5.2.0.tgz",
          "integrity": "sha512-02yxLeyxF4dNl6SlY6/5HfRSrSdZ/sCPoxy2kZNP5dZZX8LSAD9aE2gtJIUgWrsQTiMPl3mxESyrobSwvRGisQ=="
        },
        "fdir": {
          "version": "6.5.0",
@@ -30018,6 +30027,11 @@
          "version": "8.2.1",
          "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.1.tgz",
          "integrity": "sha512-kdjOSJ2lLIn7r1rtrMbbNCHjyMPfRnowdKjBQ+mGq6NAW5QY2bEZC/khaC5OR8svbbjvLEaIXkOq45e2X9BIbQ=="
        },
        "zod": {
          "version": "4.4.3",
          "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
          "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ=="
        }
      }
    },
@@ -46805,9 +46819,9 @@
      "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ=="
    },
    "zod-validation-error": {
      "version": "3.5.3",
      "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-3.5.3.tgz",
      "integrity": "sha512-OT5Y8lbUadqVZCsnyFaTQ4/O2mys4tj7PqhdbBCp7McPwvIEKfPtdA6QfPeFQK2/Rz5LgwmAXRJTugBNBi0btw==",
      "version": "5.0.0",
      "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-5.0.0.tgz",
      "integrity": "sha512-hmk+pkyKq7Q71PiWVSDUc3VfpzpvcRHZ3QPw9yEMVvmtCekaMeOHnbr3WbxfrgEnQTv6haGP4cmv0Ojmihzsxw==",
      "requires": {}
    },
    "zwitch": {
+1 −1
Original line number Diff line number Diff line
@@ -629,7 +629,7 @@
  },
  "dependencies": {
    "@anycable/core": "^0.9.2",
    "@gitlab-org/gitlab-lsp": "^8.93.0",
    "@gitlab-org/gitlab-lsp": "^8.93.2",
    "@gitlab/needle": "2.0.0",
    "@snowplow/tracker-core": "4.8.0",
    "archiver": "^7.0.0",
+2 −1
Original line number Diff line number Diff line
@@ -85,7 +85,8 @@ export class LanguageServerPolicy implements StatePolicy {
    if (!stateCheck) return;

    if (stateCheck.checkId === UNSUPPORTED_GITLAB_VERSION && stateCheck.context) {
      await this.#deprecatedVersionHandler(stateCheck.context.baseUrl, stateCheck.context.version);
      const { baseUrl, version } = stateCheck.context as { baseUrl: string; version: string };
      await this.#deprecatedVersionHandler(baseUrl, version);
    }

    if (stateCheck.checkId === SUGGESTIONS_NO_CREDITS) {
+3 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ import {
  CHAT_TERMINAL_CONTEXT,
  CODE_SUGGESTIONS,
  FLOWS,
  SANDBOX,
  StateCheckId,
} from '@gitlab-org/gitlab-lsp';
import { AllFeaturesState } from '../../language_server/language_server_feature_state_provider';
@@ -152,6 +153,7 @@ const createMockState = (engaged: boolean): AllFeaturesState => {
        createCheck('agentic-chat-no-support', 'Not supported'),
      ],
    },
    [SANDBOX]: { featureId: SANDBOX, engagedChecks: [], allChecks: [] },
  };
};

@@ -233,6 +235,7 @@ describe('FeatureStateDiagnosticsRenderer', () => {
      [CODE_SUGGESTIONS]: { featureId: CODE_SUGGESTIONS, engagedChecks: [], allChecks: [] },
      [AGENTIC_CHAT]: { featureId: AGENTIC_CHAT, engagedChecks: [], allChecks: [] },
      [FLOWS]: { featureId: FLOWS, engagedChecks: [], allChecks: [] },
      [SANDBOX]: { featureId: SANDBOX, engagedChecks: [], allChecks: [] },
    };
    const result = renderer.render([mockEmptyState]);
    expect(result).toEqual([]);
+7 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ import {
  CHAT_TERMINAL_CONTEXT,
  CODE_SUGGESTIONS,
  FLOWS,
  SANDBOX,
  FeatureState,
  FeatureStateCheck,
} from '@gitlab-org/gitlab-lsp';
@@ -94,6 +95,11 @@ describe('LanguageServerFeatureStateProvider', () => {
        engagedChecks: [],
        allChecks: [],
      }),
      [SANDBOX]: createFakePartial<FeatureState>({
        featureId: SANDBOX,
        engagedChecks: [],
        allChecks: [],
      }),
    });
  });

@@ -104,7 +110,7 @@ describe('LanguageServerFeatureStateProvider', () => {

    languageServerFeatureStateProvider.setStates(mockStates);

    expect(listener).toHaveBeenCalledWith(mockStateProviderResponse);
    expect(listener).toHaveBeenLastCalledWith(mockStateProviderResponse);
    expect(languageServerFeatureStateProvider.state.chat).toEqual(mockStateProviderResponse.chat);
  });
});
Loading