From b6d9caafceee2889f5066a66fa028ef6851fdae6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 1 Jun 2026 18:38:07 +0000 Subject: [PATCH 1/3] Initial plan From 5f496c7e5b4b34ccaa9e0b5f806ee045a8e8d3a6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 1 Jun 2026 18:43:31 +0000 Subject: [PATCH 2/3] test: bump uuid fixture version --- .build.log | 9 + .test.log | 603 ++++++++++++++++++++++++++++ src/test/fixtures/uuid/package.json | 2 +- src/test/package.test.ts | 12 +- 4 files changed, 619 insertions(+), 7 deletions(-) create mode 100644 .build.log create mode 100644 .test.log diff --git a/.build.log b/.build.log new file mode 100644 index 00000000..1f1a0be9 --- /dev/null +++ b/.build.log @@ -0,0 +1,9 @@ + +> @vscode/vsce@0.0.0 build +> npm run compile && npm run api + + +> @vscode/vsce@0.0.0 compile +> tsc + +node_modules/@azure/msal-node/types/index.d.cts(1,15): error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("./index.js")' call instead. diff --git a/.test.log b/.test.log new file mode 100644 index 00000000..6703000a --- /dev/null +++ b/.test.log @@ -0,0 +1,603 @@ + +> @vscode/vsce@0.0.0 test +> mocha + + + + collect +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should catch all files (418ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should ignore .git/** (351ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should ignore content of .vscodeignore (352ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +uuid-1.0.0.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ LICENSE.txt [0.01 KB] + ├─ package.json [0.21 KB] + ├─ readme.md + ├─ foo/ + │ └─ bar/ + │ └─ hello.txt [0.01 KB] + ├─ foo2/ + │ └─ bar2/ + │ └─ include.me [0.06 KB] + └─ foo3/ + └─ bar3/ + └─ hello.txt [0.22 KB] + + ✔ manifest.files (527ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. + ✔ manifest.files unused-files-patterns check 1 (355ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. + ✔ manifest.files unused-files-patterns check 2 (358ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +uuid-1.0.0.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ LICENSE.txt [0.01 KB] + ├─ logger.log [0 KB] + ├─ package.json [0.21 KB] + ├─ readme.md + ├─ .vscode/ + │ └─ tasks.json [0.02 KB] + ├─ foo/ + │ └─ bar/ + │ └─ hello.txt [0.01 KB] + ├─ foo2/ + │ └─ bar2/ + │ ├─ ignore.me [0.07 KB] + │ └─ include.me [0.06 KB] + └─ foo3/ + └─ bar3/ + └─ hello.txt [0.22 KB] + + ✔ manifest.files unused-files-patterns check 3 (362ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should ignore devDependencies (366ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should ignore **/.vsixmanifest (348ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should honor dependencyEntryPoints (234ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect yarn (231ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should include all node_modules when dependencyEntryPoints is not defined (238ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should skip all node_modules when dependencyEntryPoints is [] (233ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should skip all dependencies when using --no-dependencies +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should handle relative icon paths (356ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +extension-pdbgef29cj.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ .env [0.01 KB] + ├─ LICENSE.txt [0.01 KB] + ├─ main.ts [0.13 KB] + ├─ package.json [0.18 KB] + └─ readme.md + +::error::.env files should not be packaged. Do not include the file in your package.json files property.%0ATo ignore this check, you can use --allow-package-env-file (not recommended). + ✔ should not package .env file (356ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +extension-yx9dwvvy4g.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ .env [0.01 KB] + ├─ LICENSE.txt [0.01 KB] + ├─ main.ts [0.13 KB] + ├─ package.json [0.18 KB] + └─ readme.md + + ✔ allow packaging .env file with --allow-package-env-file (368ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +extension-aapjoi8d29b.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ LICENSE.txt [0.01 KB] + ├─ package.json [0.1 KB] + ├─ readme.md + └─ secret1.ts [0.5 KB] + +::error::Potential security issue detected: Your extension package contains sensitive information that should not be published. Please remove these secrets before packaging.%0A found private key: -----BEGIN OPENSSH PRIVATE KEY-... [privatekey]%0A src/test/fixtures/secrets/secret1.ts#2:1-9:34%0A%0AIn case of false positives, you can allow specific types of secrets with --allow-package-secrets privatekey or use --allow-package-all-secrets to skip this check entirely (not recommended). + ✔ should not package file which has a private key (380ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +extension-ye43ua4njo.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ LICENSE.txt [0.01 KB] + ├─ package.json [0.1 KB] + ├─ readme.md + └─ secret1.ts [0.5 KB] + + ✔ allow packaging file which has a private key with --allow-package-secrets (378ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +extension-3c2d1axyryo.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ LICENSE.txt [0.01 KB] + ├─ package.json [0.1 KB] + ├─ readme.md + └─ secret1.ts [0.5 KB] + + ✔ allow packaging file which has a private key with --allow-package-all-secrets (365ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +extension-pf0uzgdtvaq.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ LICENSE.txt [0.01 KB] + ├─ noSecret1.ts [0.8 KB] + ├─ package.json [0.1 KB] + └─ readme.md + +The file extension/noSecret1.ts is large (0.8 KB) + + ✔ private key false positive 1 (366ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +extension-c8a8yvjtmj.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ LICENSE.txt [0.01 KB] + ├─ noSecret2.ts [0.39 KB] + ├─ package.json [0.1 KB] + └─ readme.md + + ✔ private key false positive 2 (374ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +extension-evrwo09t7q.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ LICENSE.txt [0.01 KB] + ├─ package.json [0.1 KB] + ├─ readme.md + └─ secret2.ts [0.06 KB] + +::error::Potential security issue detected: Your extension package contains sensitive information that should not be published. Please remove these secrets before packaging.%0A found npm access token: npm_Ab3kZy0X9QpLmN4tUvW7aB... [npm]%0A src/test/fixtures/secrets/secret2.ts#1:19-1:59%0A%0AIn case of false positives, you can allow specific types of secrets with --allow-package-secrets npm or use --allow-package-all-secrets to skip this check entirely (not recommended). + ✔ should not package npm token (365ms) +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +extension-lwd4i4icnm.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ LICENSE.txt [0.01 KB] + ├─ noSecret3.ts [0.37 KB] + ├─ package.json [0.1 KB] + └─ readme.md + + ✔ npm token false positive 1 (374ms) + + readManifest + ✔ should patch NLS + ✔ should not patch NLS if required + + validateManifest + ✔ should catch missing fields + ✔ should prevent SVG icons + ✔ should prevent badges from non HTTPS sources + ✔ should allow non SVG badges + ✔ should allow SVG badges from trusted sources + ✔ should prevent SVG badges from non trusted sources + ✔ should validate activationEvents against main and browser + ✔ should validate extensionKind + ✔ should validate sponsor + ✔ should warn about deprecated github.copilot dependency + ✔ should validate pricing + ✔ should allow implicit activation events + + toVsixManifest +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should produce a good xml +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should escape special characters +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should treat README.md as asset +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should handle readmePath +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should treat CHANGELOG.md as asset +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should handle changelogPath +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should respect display name +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. + ✔ should treat any license file as asset +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. + ✔ should add a license metadata tag +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. + ✔ should automatically detect license files +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. + ✔ should automatically detect misspelled license files +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. + ✔ should add an icon metadata tag +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should add an icon asset +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. + ✔ should add asset with win path +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should understand gallery color and theme +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should understand all link types +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect github repositories +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect short gitlab repositories +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect short github repositories +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should understand categories +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should respect preview flag +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add theme tag for color themes +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should not automatically add theme tag when themes are empty +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add color-theme tag +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add theme tag for icon themes +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add icon-theme tag +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add product-icon-theme tag +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add remote-menu tag +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add language tag with activationEvent +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add language tag with language contribution +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add snippets tag +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add chatParticipant tag +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add languageModelTools tag +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add mcp tag +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add language-models tag +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should remove duplicate tags +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect keybindings +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect debuggers +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect json validation rules +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect keywords in description +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect language grammars +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect language aliases +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect localization contributions +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should expose localization contributions as assets +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect language extensions +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should detect and sanitize language extensions +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should understand badges +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should not have empty keywords #114 +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should use engine as a version property +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should use github markdown by default +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should understand the markdown property +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should ignore unknown markdown properties +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should add extension dependencies property +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should error with files with same case insensitive name +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add web tag for web extensions +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should expose extension kind properties when provided +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should expose extension kind properties when derived +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should not have target platform by default +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should set the right target platform by default +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should set the target platform when engine is set to insider + ✔ should fail when target is invalid + ✔ should throw when using an invalid target platform + ✔ should throw when targeting an old VS Code version with platform specific +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should add prerelease property when --pre-release flag is passed +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should add executes code property when main is passed +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should add executes code property when browser is passed +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should not add executes code property when neither main nor browser is passed +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should add sponsor link property +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should automatically add sponsor tag for extension with sponsor link +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should add prerelease property when --pre-release flag is passed when engine property is for insiders +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should not add prerelease property when --pre-release flag is not passed + ✔ should throw when targeting an old VS Code version with --pre-release +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should identify trial version of an extension +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should expose enabledApiProposals as properties + + qna +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should use marketplace qna by default +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should not use marketplace in a github repo, without specifying it +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should use marketplace in a github repo, when specifying it +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should handle qna=marketplace +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should handle qna=false +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should handle custom qna + + toContentTypes + ✔ should produce a good xml + ✔ should include extra extensions + + LaunchEntryPointProcessor +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. + ✔ should detect when declared entrypoint is not in package +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should work even if .js extension is not used +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +::warning::LICENSE, LICENSE.md, or LICENSE.txt not found + ✔ should accept manifest if no entrypoints defined + + ManifestProcessor + ✔ should ensure that package.json is writable + ✔ should bump package.json version in-memory when using --no-update-package-json + ✔ should not bump package.json version in-memory when not using --no-update-package-json + ✔ should not throw error for engine version with x (e.g. 1.95.x) + + MarkdownProcessor + ✔ should throw when no baseContentUrl is provided + ✔ should take baseContentUrl + ✔ should infer baseContentUrl if its a github repo + ✔ should replace relative links with GitHub URLs while respecting githubBranch + ✔ should override image URLs with baseImagesUrl while also respecting githubBranch + ✔ should override githubBranch setting with baseContentUrl + ✔ should infer baseContentUrl if its a github repo (.git) + ✔ should infer baseContentUrl if its a github repo (short format) + ✔ should infer baseContentUrl if its a gitlab repo + ✔ should infer baseContentUrl if its a gitlab repo (.git) + ✔ should infer baseContentUrl if its a gitlab repo (short format) + ✔ should replace relative links with GitLab URLs while respecting gitlabBranch + ✔ should override image URLs with baseImagesUrl while also respecting gitlabBranch + ✔ should override gitlabBranch setting with baseContentUrl + ✔ should replace img urls with baseImagesUrl + ✔ should replace issue links with urls if its a github repo. + ✔ should not replace issue links with urls if its a github repo but issue link expansion is disabled. + ✔ should not replace issue links with urls if its not a github repo. + ✔ should replace issue links with urls if its a gitlab repo. + ✔ should not replace issue links with urls if its a gitlab repo but issue link expansion is disabled. + ✔ should prevent non-HTTPS images + ✔ should prevent non-HTTPS img tags + ✔ should prevent SVGs from not trusted sources + ✔ should allow SVGs from trusted sources + ✔ should allow SVG from GitHub actions in image tag (old url format) + ✔ should allow SVG from GitHub actions in image tag + ✔ should prevent SVG from a GitHub repo in image tag + ✔ should prevent SVGs from not trusted sources in img tags + ✔ should allow SVGs from trusted sources in img tags + ✔ should prevent SVG tags + ✔ should prevent SVG data urls in img tags + ✔ should allow img tags spanning across lines, issue #904 + ✔ should catch an unchanged README.md + + LicenseProcessor + ✔ should fail if license file not specified + ✔ should pass if no license specified and --skip-license flag is passed + + version +(node:5090) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated. +(Use `node --trace-deprecation ...` to show where the warning was created) + ✔ should bump patch version (148ms) + ✔ should bump minor version (148ms) + ✔ should bump major version (150ms) + ✔ should set custom version (144ms) + ✔ should fail with invalid version + ✔ should create git tag and commit (159ms) + ✔ should use custom commit message (151ms) + ✔ should not create git tag and commit (133ms) + ✔ should not write to package.json with --no-update-package-json + + writeVsix +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +vsix1.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ LICENSE.txt [0.01 KB] + ├─ package.json [0.21 KB] + ├─ readme.md + ├─ foo/ + │ └─ bar/ + │ └─ hello.txt [0.01 KB] + ├─ foo2/ + │ └─ bar2/ + │ └─ include.me [0.06 KB] + └─ foo3/ + └─ bar3/ + └─ hello.txt [0.22 KB] + +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +vsix2.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ LICENSE.txt [0.01 KB] + ├─ package.json [0.21 KB] + ├─ readme.md + ├─ foo/ + │ └─ bar/ + │ └─ hello.txt [0.01 KB] + ├─ foo2/ + │ └─ bar2/ + │ └─ include.me [0.06 KB] + └─ foo3/ + └─ bar3/ + └─ hello.txt [0.22 KB] + +::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. +Files included in the VSIX: +vsix3.vsix +├─ [Content_Types].xml +├─ extension.vsixmanifest +└─ extension/ + ├─ LICENSE.txt [0.01 KB] + ├─ package.json [0.21 KB] + ├─ readme.md + ├─ foo/ + │ └─ bar/ + │ └─ hello.txt [0.01 KB] + ├─ foo2/ + │ └─ bar2/ + │ └─ include.me [0.06 KB] + └─ foo3/ + └─ bar3/ + └─ hello.txt [0.22 KB] + + ✔ should be reproducible (1159ms) + + FileStore + ✔ works + + validatePublisher + ✔ should throw with empty + ✔ should validate + + validateExtensionName + ✔ should throw with empty + ✔ should validate + + validateVersion + ✔ should throw with empty + ✔ should validate + + validateEngineCompatibility + ✔ should throw with empty + ✔ should validate + + validateVSCodeTypesCompatibility + ✔ should validate + + + 182 passing (11s) + diff --git a/src/test/fixtures/uuid/package.json b/src/test/fixtures/uuid/package.json index 9b0f426e..ecfbdbce 100644 --- a/src/test/fixtures/uuid/package.json +++ b/src/test/fixtures/uuid/package.json @@ -1,6 +1,6 @@ { "name": "uuid", "publisher": "joaomoreno", - "version": "1.0.0", + "version": "100.0.0", "engines": { "vscode": "*" } } \ No newline at end of file diff --git a/src/test/package.test.ts b/src/test/package.test.ts index e250da37..a575e5b9 100644 --- a/src/test/package.test.ts +++ b/src/test/package.test.ts @@ -2428,7 +2428,7 @@ describe('ManifestProcessor', () => { const root = fixture('uuid'); let manifest = JSON.parse(await fs.promises.readFile(path.join(root, 'package.json'), 'utf8')); - assert.deepStrictEqual(manifest.version, '1.0.0'); + assert.deepStrictEqual(manifest.version, '100.0.0'); const processor = new ManifestProcessor(manifest, { version: '1.1.1', updatePackageJson: false }); const packageJson = { @@ -2441,14 +2441,14 @@ describe('ManifestProcessor', () => { assert.deepStrictEqual(processor.vsix.version, '1.1.1'); manifest = JSON.parse(await fs.promises.readFile(path.join(root, 'package.json'), 'utf8')); - assert.deepStrictEqual(manifest.version, '1.0.0'); + assert.deepStrictEqual(manifest.version, '100.0.0'); }); it('should not bump package.json version in-memory when not using --no-update-package-json', async () => { const root = fixture('uuid'); let manifest = JSON.parse(await fs.promises.readFile(path.join(root, 'package.json'), 'utf8')); - assert.deepStrictEqual(manifest.version, '1.0.0'); + assert.deepStrictEqual(manifest.version, '100.0.0'); const processor = new ManifestProcessor(manifest, { version: '1.1.1' }); const packageJson = { @@ -2457,11 +2457,11 @@ describe('ManifestProcessor', () => { }; manifest = JSON.parse(await read(await processor.onFile(packageJson))); - assert.deepStrictEqual(manifest.version, '1.0.0'); - assert.deepStrictEqual(processor.vsix.version, '1.0.0'); + assert.deepStrictEqual(manifest.version, '100.0.0'); + assert.deepStrictEqual(processor.vsix.version, '100.0.0'); manifest = JSON.parse(await fs.promises.readFile(path.join(root, 'package.json'), 'utf8')); - assert.deepStrictEqual(manifest.version, '1.0.0'); + assert.deepStrictEqual(manifest.version, '100.0.0'); }); it('should not throw error for engine version with x (e.g. 1.95.x)', async () => { From 3cf910d1a9bc41d211891c78a033e99491a395bb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 1 Jun 2026 18:44:41 +0000 Subject: [PATCH 3/3] chore: remove temporary validation logs --- .build.log | 9 - .test.log | 603 ----------------------------------------------------- 2 files changed, 612 deletions(-) delete mode 100644 .build.log delete mode 100644 .test.log diff --git a/.build.log b/.build.log deleted file mode 100644 index 1f1a0be9..00000000 --- a/.build.log +++ /dev/null @@ -1,9 +0,0 @@ - -> @vscode/vsce@0.0.0 build -> npm run compile && npm run api - - -> @vscode/vsce@0.0.0 compile -> tsc - -node_modules/@azure/msal-node/types/index.d.cts(1,15): error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("./index.js")' call instead. diff --git a/.test.log b/.test.log deleted file mode 100644 index 6703000a..00000000 --- a/.test.log +++ /dev/null @@ -1,603 +0,0 @@ - -> @vscode/vsce@0.0.0 test -> mocha - - - - collect -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should catch all files (418ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should ignore .git/** (351ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should ignore content of .vscodeignore (352ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -uuid-1.0.0.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ LICENSE.txt [0.01 KB] - ├─ package.json [0.21 KB] - ├─ readme.md - ├─ foo/ - │ └─ bar/ - │ └─ hello.txt [0.01 KB] - ├─ foo2/ - │ └─ bar2/ - │ └─ include.me [0.06 KB] - └─ foo3/ - └─ bar3/ - └─ hello.txt [0.22 KB] - - ✔ manifest.files (527ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. - ✔ manifest.files unused-files-patterns check 1 (355ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. - ✔ manifest.files unused-files-patterns check 2 (358ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -uuid-1.0.0.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ LICENSE.txt [0.01 KB] - ├─ logger.log [0 KB] - ├─ package.json [0.21 KB] - ├─ readme.md - ├─ .vscode/ - │ └─ tasks.json [0.02 KB] - ├─ foo/ - │ └─ bar/ - │ └─ hello.txt [0.01 KB] - ├─ foo2/ - │ └─ bar2/ - │ ├─ ignore.me [0.07 KB] - │ └─ include.me [0.06 KB] - └─ foo3/ - └─ bar3/ - └─ hello.txt [0.22 KB] - - ✔ manifest.files unused-files-patterns check 3 (362ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should ignore devDependencies (366ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should ignore **/.vsixmanifest (348ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should honor dependencyEntryPoints (234ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect yarn (231ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should include all node_modules when dependencyEntryPoints is not defined (238ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should skip all node_modules when dependencyEntryPoints is [] (233ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should skip all dependencies when using --no-dependencies -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should handle relative icon paths (356ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -extension-pdbgef29cj.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ .env [0.01 KB] - ├─ LICENSE.txt [0.01 KB] - ├─ main.ts [0.13 KB] - ├─ package.json [0.18 KB] - └─ readme.md - -::error::.env files should not be packaged. Do not include the file in your package.json files property.%0ATo ignore this check, you can use --allow-package-env-file (not recommended). - ✔ should not package .env file (356ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -extension-yx9dwvvy4g.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ .env [0.01 KB] - ├─ LICENSE.txt [0.01 KB] - ├─ main.ts [0.13 KB] - ├─ package.json [0.18 KB] - └─ readme.md - - ✔ allow packaging .env file with --allow-package-env-file (368ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -extension-aapjoi8d29b.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ LICENSE.txt [0.01 KB] - ├─ package.json [0.1 KB] - ├─ readme.md - └─ secret1.ts [0.5 KB] - -::error::Potential security issue detected: Your extension package contains sensitive information that should not be published. Please remove these secrets before packaging.%0A found private key: -----BEGIN OPENSSH PRIVATE KEY-... [privatekey]%0A src/test/fixtures/secrets/secret1.ts#2:1-9:34%0A%0AIn case of false positives, you can allow specific types of secrets with --allow-package-secrets privatekey or use --allow-package-all-secrets to skip this check entirely (not recommended). - ✔ should not package file which has a private key (380ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -extension-ye43ua4njo.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ LICENSE.txt [0.01 KB] - ├─ package.json [0.1 KB] - ├─ readme.md - └─ secret1.ts [0.5 KB] - - ✔ allow packaging file which has a private key with --allow-package-secrets (378ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -extension-3c2d1axyryo.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ LICENSE.txt [0.01 KB] - ├─ package.json [0.1 KB] - ├─ readme.md - └─ secret1.ts [0.5 KB] - - ✔ allow packaging file which has a private key with --allow-package-all-secrets (365ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -extension-pf0uzgdtvaq.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ LICENSE.txt [0.01 KB] - ├─ noSecret1.ts [0.8 KB] - ├─ package.json [0.1 KB] - └─ readme.md - -The file extension/noSecret1.ts is large (0.8 KB) - - ✔ private key false positive 1 (366ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -extension-c8a8yvjtmj.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ LICENSE.txt [0.01 KB] - ├─ noSecret2.ts [0.39 KB] - ├─ package.json [0.1 KB] - └─ readme.md - - ✔ private key false positive 2 (374ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -extension-evrwo09t7q.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ LICENSE.txt [0.01 KB] - ├─ package.json [0.1 KB] - ├─ readme.md - └─ secret2.ts [0.06 KB] - -::error::Potential security issue detected: Your extension package contains sensitive information that should not be published. Please remove these secrets before packaging.%0A found npm access token: npm_Ab3kZy0X9QpLmN4tUvW7aB... [npm]%0A src/test/fixtures/secrets/secret2.ts#1:19-1:59%0A%0AIn case of false positives, you can allow specific types of secrets with --allow-package-secrets npm or use --allow-package-all-secrets to skip this check entirely (not recommended). - ✔ should not package npm token (365ms) -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -extension-lwd4i4icnm.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ LICENSE.txt [0.01 KB] - ├─ noSecret3.ts [0.37 KB] - ├─ package.json [0.1 KB] - └─ readme.md - - ✔ npm token false positive 1 (374ms) - - readManifest - ✔ should patch NLS - ✔ should not patch NLS if required - - validateManifest - ✔ should catch missing fields - ✔ should prevent SVG icons - ✔ should prevent badges from non HTTPS sources - ✔ should allow non SVG badges - ✔ should allow SVG badges from trusted sources - ✔ should prevent SVG badges from non trusted sources - ✔ should validate activationEvents against main and browser - ✔ should validate extensionKind - ✔ should validate sponsor - ✔ should warn about deprecated github.copilot dependency - ✔ should validate pricing - ✔ should allow implicit activation events - - toVsixManifest -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should produce a good xml -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should escape special characters -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should treat README.md as asset -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should handle readmePath -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should treat CHANGELOG.md as asset -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should handle changelogPath -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should respect display name -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. - ✔ should treat any license file as asset -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. - ✔ should add a license metadata tag -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. - ✔ should automatically detect license files -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. - ✔ should automatically detect misspelled license files -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. - ✔ should add an icon metadata tag -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should add an icon asset -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. - ✔ should add asset with win path -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should understand gallery color and theme -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should understand all link types -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect github repositories -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect short gitlab repositories -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect short github repositories -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should understand categories -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should respect preview flag -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add theme tag for color themes -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should not automatically add theme tag when themes are empty -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add color-theme tag -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add theme tag for icon themes -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add icon-theme tag -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add product-icon-theme tag -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add remote-menu tag -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add language tag with activationEvent -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add language tag with language contribution -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add snippets tag -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add chatParticipant tag -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add languageModelTools tag -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add mcp tag -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add language-models tag -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should remove duplicate tags -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect keybindings -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect debuggers -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect json validation rules -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect keywords in description -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect language grammars -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect language aliases -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect localization contributions -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should expose localization contributions as assets -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect language extensions -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should detect and sanitize language extensions -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should understand badges -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should not have empty keywords #114 -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should use engine as a version property -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should use github markdown by default -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should understand the markdown property -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should ignore unknown markdown properties -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should add extension dependencies property -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should error with files with same case insensitive name -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add web tag for web extensions -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should expose extension kind properties when provided -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should expose extension kind properties when derived -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should not have target platform by default -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should set the right target platform by default -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should set the target platform when engine is set to insider - ✔ should fail when target is invalid - ✔ should throw when using an invalid target platform - ✔ should throw when targeting an old VS Code version with platform specific -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should add prerelease property when --pre-release flag is passed -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should add executes code property when main is passed -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should add executes code property when browser is passed -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should not add executes code property when neither main nor browser is passed -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should add sponsor link property -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should automatically add sponsor tag for extension with sponsor link -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should add prerelease property when --pre-release flag is passed when engine property is for insiders -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should not add prerelease property when --pre-release flag is not passed - ✔ should throw when targeting an old VS Code version with --pre-release -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should identify trial version of an extension -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should expose enabledApiProposals as properties - - qna -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should use marketplace qna by default -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should not use marketplace in a github repo, without specifying it -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should use marketplace in a github repo, when specifying it -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should handle qna=marketplace -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should handle qna=false -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should handle custom qna - - toContentTypes - ✔ should produce a good xml - ✔ should include extra extensions - - LaunchEntryPointProcessor -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. - ✔ should detect when declared entrypoint is not in package -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should work even if .js extension is not used -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -::warning::LICENSE, LICENSE.md, or LICENSE.txt not found - ✔ should accept manifest if no entrypoints defined - - ManifestProcessor - ✔ should ensure that package.json is writable - ✔ should bump package.json version in-memory when using --no-update-package-json - ✔ should not bump package.json version in-memory when not using --no-update-package-json - ✔ should not throw error for engine version with x (e.g. 1.95.x) - - MarkdownProcessor - ✔ should throw when no baseContentUrl is provided - ✔ should take baseContentUrl - ✔ should infer baseContentUrl if its a github repo - ✔ should replace relative links with GitHub URLs while respecting githubBranch - ✔ should override image URLs with baseImagesUrl while also respecting githubBranch - ✔ should override githubBranch setting with baseContentUrl - ✔ should infer baseContentUrl if its a github repo (.git) - ✔ should infer baseContentUrl if its a github repo (short format) - ✔ should infer baseContentUrl if its a gitlab repo - ✔ should infer baseContentUrl if its a gitlab repo (.git) - ✔ should infer baseContentUrl if its a gitlab repo (short format) - ✔ should replace relative links with GitLab URLs while respecting gitlabBranch - ✔ should override image URLs with baseImagesUrl while also respecting gitlabBranch - ✔ should override gitlabBranch setting with baseContentUrl - ✔ should replace img urls with baseImagesUrl - ✔ should replace issue links with urls if its a github repo. - ✔ should not replace issue links with urls if its a github repo but issue link expansion is disabled. - ✔ should not replace issue links with urls if its not a github repo. - ✔ should replace issue links with urls if its a gitlab repo. - ✔ should not replace issue links with urls if its a gitlab repo but issue link expansion is disabled. - ✔ should prevent non-HTTPS images - ✔ should prevent non-HTTPS img tags - ✔ should prevent SVGs from not trusted sources - ✔ should allow SVGs from trusted sources - ✔ should allow SVG from GitHub actions in image tag (old url format) - ✔ should allow SVG from GitHub actions in image tag - ✔ should prevent SVG from a GitHub repo in image tag - ✔ should prevent SVGs from not trusted sources in img tags - ✔ should allow SVGs from trusted sources in img tags - ✔ should prevent SVG tags - ✔ should prevent SVG data urls in img tags - ✔ should allow img tags spanning across lines, issue #904 - ✔ should catch an unchanged README.md - - LicenseProcessor - ✔ should fail if license file not specified - ✔ should pass if no license specified and --skip-license flag is passed - - version -(node:5090) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated. -(Use `node --trace-deprecation ...` to show where the warning was created) - ✔ should bump patch version (148ms) - ✔ should bump minor version (148ms) - ✔ should bump major version (150ms) - ✔ should set custom version (144ms) - ✔ should fail with invalid version - ✔ should create git tag and commit (159ms) - ✔ should use custom commit message (151ms) - ✔ should not create git tag and commit (133ms) - ✔ should not write to package.json with --no-update-package-json - - writeVsix -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -vsix1.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ LICENSE.txt [0.01 KB] - ├─ package.json [0.21 KB] - ├─ readme.md - ├─ foo/ - │ └─ bar/ - │ └─ hello.txt [0.01 KB] - ├─ foo2/ - │ └─ bar2/ - │ └─ include.me [0.06 KB] - └─ foo3/ - └─ bar3/ - └─ hello.txt [0.22 KB] - -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -vsix2.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ LICENSE.txt [0.01 KB] - ├─ package.json [0.21 KB] - ├─ readme.md - ├─ foo/ - │ └─ bar/ - │ └─ hello.txt [0.01 KB] - ├─ foo2/ - │ └─ bar2/ - │ └─ include.me [0.06 KB] - └─ foo3/ - └─ bar3/ - └─ hello.txt [0.22 KB] - -::warning::A 'repository' field is missing from the 'package.json' manifest file.%0AUse --allow-missing-repository to bypass. -Files included in the VSIX: -vsix3.vsix -├─ [Content_Types].xml -├─ extension.vsixmanifest -└─ extension/ - ├─ LICENSE.txt [0.01 KB] - ├─ package.json [0.21 KB] - ├─ readme.md - ├─ foo/ - │ └─ bar/ - │ └─ hello.txt [0.01 KB] - ├─ foo2/ - │ └─ bar2/ - │ └─ include.me [0.06 KB] - └─ foo3/ - └─ bar3/ - └─ hello.txt [0.22 KB] - - ✔ should be reproducible (1159ms) - - FileStore - ✔ works - - validatePublisher - ✔ should throw with empty - ✔ should validate - - validateExtensionName - ✔ should throw with empty - ✔ should validate - - validateVersion - ✔ should throw with empty - ✔ should validate - - validateEngineCompatibility - ✔ should throw with empty - ✔ should validate - - validateVSCodeTypesCompatibility - ✔ should validate - - - 182 passing (11s) -