@vscode/vsce 2.29.1-1 → 2.30.0

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
@@ -894,6 +894,7 @@ class ValidationProcessor extends BaseProcessor {
894
894
  exports.ValidationProcessor = ValidationProcessor;
895
895
  function validateManifest(manifest) {
896
896
  (0, validation_1.validateExtensionName)(manifest.name);
897
+ (0, validation_1.validatePublisher)(manifest.publisher);
897
898
  if (!manifest.version) {
898
899
  throw new Error('Manifest missing field: version');
899
900
  }
package/out/validation.js CHANGED
@@ -35,7 +35,7 @@ function validatePublisher(publisher) {
35
35
  throw new Error(`Missing publisher name. Learn more: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#publishing-extensions`);
36
36
  }
37
37
  if (!nameRegex.test(publisher)) {
38
- throw new Error(`Invalid publisher name '${publisher}'. Expected the identifier of a publisher, not its human-friendly name. Learn more: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#publishing-extensions`);
38
+ throw new Error(`Invalid publisher name '${publisher}'. Expected the identifier of a publisher, not its human-friendly name. Learn more: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#publishing-extensions`);
39
39
  }
40
40
  }
41
41
  exports.validatePublisher = validatePublisher;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/vsce",
3
- "version": "2.29.1-1",
3
+ "version": "2.30.0",
4
4
  "description": "VS Code Extensions Manager",
5
5
  "repository": {
6
6
  "type": "git",