Socket
Socket
Sign inDemoInstall

@vscode/vsce

Package Overview
Dependencies
Maintainers
7
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vscode/vsce - npm Package Compare versions

Comparing version 2.16.0 to 2.17.0

6

out/api.js

@@ -37,3 +37,7 @@ "use strict";

function listFiles(options = {}) {
return (0, package_1.listFiles)(options);
return (0, package_1.listFiles)({
...options,
useYarn: options.packageManager === PackageManager.Yarn,
dependencies: options.packageManager !== PackageManager.None,
});
}

@@ -40,0 +44,0 @@ exports.listFiles = listFiles;

@@ -879,7 +879,23 @@ "use strict";

}
(0, validation_1.validateEngineCompatibility)(manifest.engines['vscode']);
const engineVersion = manifest.engines['vscode'];
(0, validation_1.validateEngineCompatibility)(engineVersion);
const hasActivationEvents = !!manifest.activationEvents;
const hasImplicitActivationEvents = manifest.contributes?.commands ||
manifest.contributes?.authentication ||
manifest.contributes?.languages ||
manifest.contributes?.customEditors ||
manifest.contributes?.views;
const hasMain = !!manifest.main;
const hasBrowser = !!manifest.browser;
if (hasActivationEvents) {
let parsedEngineVersion;
try {
const engineSemver = (0, parse_semver_1.default)(`vscode@${engineVersion}`);
parsedEngineVersion = engineSemver.version;
}
catch (err) {
throw new Error('Failed to parse semver of engines.vscode');
}
if (hasActivationEvents ||
((engineVersion === '*' || semver.satisfies(parsedEngineVersion, '>=1.74', { includePrerelease: true })) &&
hasImplicitActivationEvents)) {
if (!hasMain && !hasBrowser) {

@@ -886,0 +902,0 @@ throw new Error("Manifest needs either a 'main' or 'browser' property, given it has a 'activationEvents' property.");

2

package.json
{
"name": "@vscode/vsce",
"version": "2.16.0",
"version": "2.17.0",
"description": "VSCode Extension Manager",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc