@vscode/vsce 3.6.3-2 → 3.6.3-3

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/out/package.js CHANGED
@@ -1027,7 +1027,6 @@ function validateManifestForPackaging(manifest) {
1027
1027
  throw new Error(`Manifest contains invalid value '${manifest.sponsor.url}' in the 'sponsor' property. It must be a valid URL with a HTTP or HTTPS protocol.`);
1028
1028
  }
1029
1029
  }
1030
- // Validate extension dependencies and extension pack use lowercase IDs
1031
1030
  (0, validation_1.validateExtensionDependencies)(manifest.extensionDependencies, 'extensionDependencies');
1032
1031
  (0, validation_1.validateExtensionDependencies)(manifest.extensionPack, 'extensionPack');
1033
1032
  return {
package/out/validation.js CHANGED
@@ -126,31 +126,14 @@ function validateVSCodeTypesCompatibility(engineVersion, typeVersion) {
126
126
  }
127
127
  }
128
128
  exports.validateVSCodeTypesCompatibility = validateVSCodeTypesCompatibility;
129
- /**
130
- * Validates that extension IDs use only lowercase letters.
131
- * This validation ensures compliance with VS Code extension marketplace requirements.
132
- *
133
- * Note: This only validates the case (lowercase). It does not validate the format
134
- * or structure of extension IDs (e.g., presence of dot separator, valid characters).
135
- */
136
129
  function validateExtensionDependencies(dependencies, fieldName) {
137
130
  if (!dependencies || dependencies.length === 0) {
138
131
  return;
139
132
  }
140
- const invalidDependencies = [];
141
133
  for (const dep of dependencies) {
142
- // Check if extension ID uses only lowercase letters
143
- // Note: This does not validate the format of the extension ID itself
144
- if (dep !== dep.toLowerCase()) {
145
- invalidDependencies.push(dep);
134
+ if (dep.toLowerCase() === 'github.copilot') {
135
+ util_1.log.warn(`The "${dep}" extension is being deprecated in favor of the "${dep}-chat" extension. Please use "${dep}-chat" in ${fieldName} instead and remove any references to "${dep}".`);
146
136
  }
147
- if (dep === 'github.copilot') {
148
- util_1.log.warn(`The "github.copilot" extension is being deprecated in favor of the "github.copilot-chat" extension. Please use "github.copilot-chat" in ${fieldName} instead.`);
149
- }
150
- }
151
- if (invalidDependencies.length > 0) {
152
- const depList = invalidDependencies.map(d => `"${d}"`).join(', ');
153
- throw new Error(`The extension IDs in "${fieldName}" must use lowercase letters only. Invalid IDs: ${depList}.`);
154
137
  }
155
138
  }
156
139
  exports.validateExtensionDependencies = validateExtensionDependencies;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/vsce",
3
- "version": "3.6.3-2",
3
+ "version": "3.6.3-3",
4
4
  "description": "VS Code Extensions Manager",
5
5
  "repository": {
6
6
  "type": "git",