@codingame/monaco-vscode-extension-gallery-service-override 26.0.0 → 26.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-extension-gallery-service-override",
3
- "version": "26.0.0",
3
+ "version": "26.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - extension-gallery service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "26.0.0"
18
+ "@codingame/monaco-vscode-api": "26.0.1"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -1228,7 +1228,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
1228
1228
  if (checked.indexOf(extension) !== -1) {
1229
1229
  return [];
1230
1230
  }
1231
- if (this.productService.defaultChatAgent != null && areSameExtensions(extension.identifier, {
1231
+ if (this.productService.defaultChatAgent && areSameExtensions(extension.identifier, {
1232
1232
  id: this.productService.defaultChatAgent.extensionId
1233
1233
  })) {
1234
1234
  return [];
@@ -925,7 +925,7 @@ let AbstractExtensionGalleryService = class AbstractExtensionGalleryService {
925
925
  ((query.pageNumber - 1) * query.pageSize) + index,
926
926
  options.source
927
927
  );
928
- if (this.productService.defaultChatAgent != null && areSameExtensions(extension.identifier, {
928
+ if (this.productService.defaultChatAgent && areSameExtensions(extension.identifier, {
929
929
  id: this.productService.defaultChatAgent.extensionId
930
930
  })) {
931
931
  defaultChatAgentExtension = extension;
@@ -1744,7 +1744,7 @@ let AbstractExtensionGalleryService = class AbstractExtensionGalleryService {
1744
1744
  }
1745
1745
  }
1746
1746
  }
1747
- if (this.productService.defaultChatAgent != null) {
1747
+ if (this.productService.defaultChatAgent) {
1748
1748
  deprecated[this.productService.defaultChatAgent.extensionId.toLowerCase()] = {
1749
1749
  disallowInstall: true,
1750
1750
  extension: {