@vscode/test-web
Advanced tools
Comparing version 0.0.63 to 0.0.64
@@ -27,5 +27,3 @@ "use strict"; | ||
const url = `https://update.code.visualstudio.com/commit:${commit}/web-standalone/${quality}`; | ||
const httpLibrary = url.startsWith('https') ? https : http; | ||
httpLibrary.get(url, { method: 'HEAD', ...getAgent(url) }, res => { | ||
console.log(res.statusCode, res.headers.location); | ||
https.get(url, { method: 'HEAD', ...getAgent(url) }, res => { | ||
if ((res.statusCode === 301 || res.statusCode === 302 || res.statusCode === 307) && res.headers.location) { | ||
@@ -37,2 +35,3 @@ resolve(res.headers.location); | ||
} | ||
res.resume(); // Discard response body | ||
}); | ||
@@ -64,2 +63,3 @@ }); | ||
}); | ||
res.on('error', reject); | ||
res.on('end', () => { | ||
@@ -66,0 +66,0 @@ if (timeout) { |
{ | ||
"name": "@vscode/test-web", | ||
"version": "0.0.63", | ||
"version": "0.0.64", | ||
"scripts": { | ||
@@ -28,3 +28,3 @@ "install-extensions": "npm i --prefix=fs-provider && npm i --prefix=sample", | ||
"@koa/router": "^13.1.0", | ||
"@playwright/browser-chromium": "^1.48.1", | ||
"@playwright/browser-chromium": "^1.48.2", | ||
"glob": "^11.0.0", | ||
@@ -39,3 +39,3 @@ "gunzip-maybe": "^1.4.2", | ||
"minimist": "^1.2.8", | ||
"playwright": "^1.48.1", | ||
"playwright": "^1.48.2", | ||
"tar-fs": "^3.0.6", | ||
@@ -45,4 +45,4 @@ "vscode-uri": "^3.0.8" | ||
"devDependencies": { | ||
"@eslint/eslintrc": "^3.1.0", | ||
"@eslint/js": "^9.13.0", | ||
"@eslint/eslintrc": "^3.2.0", | ||
"@eslint/js": "^9.15.0", | ||
"@types/gunzip-maybe": "^1.4.2", | ||
@@ -57,5 +57,5 @@ "@types/koa": "^2.15.0", | ||
"@types/tar-fs": "^2.0.4", | ||
"@typescript-eslint/eslint-plugin": "^8.10.0", | ||
"@typescript-eslint/parser": "^8.10.0", | ||
"eslint": "^9.13.0", | ||
"@typescript-eslint/eslint-plugin": "^8.14.0", | ||
"@typescript-eslint/parser": "^8.14.0", | ||
"eslint": "^9.15.0", | ||
"@tony.ganchev/eslint-plugin-header": "^3.1.2", | ||
@@ -62,0 +62,0 @@ "typescript": "^5.6.3" |
@@ -84,3 +84,3 @@ # @vscode/test-web | ||
| --commit | commitHash The servion of the server to use. Defaults to latest build version of the given quality. Ignored when sourcesPath is provided. | | ||
| --sourcesPath | If set, runs the server from VS Code sources located at the given path. Make sure the sources and extensions are compiled (`yarn compile` and `yarn compile-web`). | | ||
| --sourcesPath | If set, runs the server from VS Code sources located at the given path. Make sure the sources and extensions are compiled (`npm run compile` and `npm run compile-web`). | | ||
| --headless | If set, hides the browser. Defaults to true when an extensionTestsPath is provided, otherwise false. | | ||
@@ -87,0 +87,0 @@ | --permission | Permission granted to the opened browser: e.g. `clipboard-read`, `clipboard-write`. See [full list of options](https://playwright.dev/docs/api/class-browsercontext#browser-context-grant-permissions). Argument can be provided multiple times. | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
418075
8
Updatedplaywright@^1.48.2