mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-26 21:33:38 +03:00
chore: pin production dependencies (#11793)
This commit is contained in:
parent
b0daa7754f
commit
c752b28516
228
package-lock.json
generated
228
package-lock.json
generated
@ -7516,7 +7516,7 @@
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"playwright-core": "=1.19.0-next"
|
||||
"playwright-core": "1.19.0-next"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
@ -7530,7 +7530,7 @@
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"playwright-core": "=1.19.0-next"
|
||||
"playwright-core": "1.19.0-next"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
@ -7543,22 +7543,22 @@
|
||||
"version": "1.19.0-next",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"commander": "^8.3.0",
|
||||
"debug": "^4.3.3",
|
||||
"extract-zip": "^2.0.1",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
"jpeg-js": "^0.4.3",
|
||||
"mime": "^3.0.0",
|
||||
"pngjs": "^6.0.0",
|
||||
"progress": "^2.0.3",
|
||||
"proper-lockfile": "^4.1.2",
|
||||
"proxy-from-env": "^1.1.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"socks-proxy-agent": "^6.1.1",
|
||||
"stack-utils": "^2.0.5",
|
||||
"ws": "^8.4.2",
|
||||
"yauzl": "^2.10.0",
|
||||
"yazl": "^2.5.1"
|
||||
"commander": "8.3.0",
|
||||
"debug": "4.3.3",
|
||||
"extract-zip": "2.0.1",
|
||||
"https-proxy-agent": "5.0.0",
|
||||
"jpeg-js": "0.4.3",
|
||||
"mime": "3.0.0",
|
||||
"pngjs": "6.0.0",
|
||||
"progress": "2.0.3",
|
||||
"proper-lockfile": "4.1.2",
|
||||
"proxy-from-env": "1.1.0",
|
||||
"rimraf": "3.0.2",
|
||||
"socks-proxy-agent": "6.1.1",
|
||||
"stack-utils": "2.0.5",
|
||||
"ws": "8.4.2",
|
||||
"yauzl": "2.10.0",
|
||||
"yazl": "2.5.1"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
@ -7580,7 +7580,7 @@
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"playwright-core": "=1.19.0-next"
|
||||
"playwright-core": "1.19.0-next"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
@ -7594,44 +7594,44 @@
|
||||
"version": "1.19.0-next",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/code-frame": "^7.16.7",
|
||||
"@babel/core": "^7.16.12",
|
||||
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
||||
"@babel/plugin-proposal-dynamic-import": "^7.16.7",
|
||||
"@babel/plugin-proposal-export-namespace-from": "^7.16.7",
|
||||
"@babel/plugin-proposal-logical-assignment-operators": "^7.16.7",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
|
||||
"@babel/plugin-proposal-numeric-separator": "^7.16.7",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
||||
"@babel/plugin-proposal-private-methods": "^7.16.11",
|
||||
"@babel/plugin-proposal-private-property-in-object": "^7.16.7",
|
||||
"@babel/plugin-syntax-async-generators": "^7.8.4",
|
||||
"@babel/plugin-syntax-json-strings": "^7.8.3",
|
||||
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
|
||||
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.16.8",
|
||||
"@babel/plugin-transform-react-jsx": "^7.16.7",
|
||||
"@babel/preset-typescript": "^7.16.7",
|
||||
"babel-plugin-module-resolver": "^4.1.0",
|
||||
"@babel/code-frame": "7.16.7",
|
||||
"@babel/core": "7.16.12",
|
||||
"@babel/plugin-proposal-class-properties": "7.16.7",
|
||||
"@babel/plugin-proposal-dynamic-import": "7.16.7",
|
||||
"@babel/plugin-proposal-export-namespace-from": "7.16.7",
|
||||
"@babel/plugin-proposal-logical-assignment-operators": "7.16.7",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "7.16.7",
|
||||
"@babel/plugin-proposal-numeric-separator": "7.16.7",
|
||||
"@babel/plugin-proposal-optional-chaining": "7.16.7",
|
||||
"@babel/plugin-proposal-private-methods": "7.16.11",
|
||||
"@babel/plugin-proposal-private-property-in-object": "7.16.7",
|
||||
"@babel/plugin-syntax-async-generators": "7.8.4",
|
||||
"@babel/plugin-syntax-json-strings": "7.8.3",
|
||||
"@babel/plugin-syntax-object-rest-spread": "7.8.3",
|
||||
"@babel/plugin-syntax-optional-catch-binding": "7.8.3",
|
||||
"@babel/plugin-transform-modules-commonjs": "7.16.8",
|
||||
"@babel/plugin-transform-react-jsx": "7.16.7",
|
||||
"@babel/preset-typescript": "7.16.7",
|
||||
"babel-plugin-module-resolver": "4.1.0",
|
||||
"colors": "1.4.0",
|
||||
"commander": "^8.3.0",
|
||||
"debug": "^4.3.3",
|
||||
"expect": "=27.2.5",
|
||||
"jest-matcher-utils": "=27.2.5",
|
||||
"jpeg-js": "^0.4.3",
|
||||
"json5": "^2.2.0",
|
||||
"mime": "^3.0.0",
|
||||
"minimatch": "^3.0.4",
|
||||
"ms": "^2.1.3",
|
||||
"open": "^8.4.0",
|
||||
"pirates": "=4.0.4",
|
||||
"pixelmatch": "^5.2.1",
|
||||
"playwright-core": "=1.19.0-next",
|
||||
"pngjs": "^6.0.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"source-map-support": "^0.5.21",
|
||||
"stack-utils": "^2.0.5",
|
||||
"yazl": "^2.5.1"
|
||||
"commander": "8.3.0",
|
||||
"debug": "4.3.3",
|
||||
"expect": "27.2.5",
|
||||
"jest-matcher-utils": "27.2.5",
|
||||
"jpeg-js": "0.4.3",
|
||||
"json5": "2.2.0",
|
||||
"mime": "3.0.0",
|
||||
"minimatch": "3.0.4",
|
||||
"ms": "2.1.3",
|
||||
"open": "8.4.0",
|
||||
"pirates": "4.0.4",
|
||||
"pixelmatch": "5.2.1",
|
||||
"playwright-core": "1.19.0-next",
|
||||
"pngjs": "6.0.0",
|
||||
"rimraf": "3.0.2",
|
||||
"source-map-support": "0.5.21",
|
||||
"stack-utils": "2.0.5",
|
||||
"yazl": "2.5.1"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
@ -7666,7 +7666,7 @@
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"playwright-core": "=1.19.0-next"
|
||||
"playwright-core": "1.19.0-next"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
@ -8403,44 +8403,44 @@
|
||||
"@playwright/test": {
|
||||
"version": "file:packages/playwright-test",
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.16.7",
|
||||
"@babel/core": "^7.16.12",
|
||||
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
||||
"@babel/plugin-proposal-dynamic-import": "^7.16.7",
|
||||
"@babel/plugin-proposal-export-namespace-from": "^7.16.7",
|
||||
"@babel/plugin-proposal-logical-assignment-operators": "^7.16.7",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
|
||||
"@babel/plugin-proposal-numeric-separator": "^7.16.7",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
||||
"@babel/plugin-proposal-private-methods": "^7.16.11",
|
||||
"@babel/plugin-proposal-private-property-in-object": "^7.16.7",
|
||||
"@babel/plugin-syntax-async-generators": "^7.8.4",
|
||||
"@babel/plugin-syntax-json-strings": "^7.8.3",
|
||||
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
|
||||
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.16.8",
|
||||
"@babel/plugin-transform-react-jsx": "^7.16.7",
|
||||
"@babel/preset-typescript": "^7.16.7",
|
||||
"babel-plugin-module-resolver": "^4.1.0",
|
||||
"@babel/code-frame": "7.16.7",
|
||||
"@babel/core": "7.16.12",
|
||||
"@babel/plugin-proposal-class-properties": "7.16.7",
|
||||
"@babel/plugin-proposal-dynamic-import": "7.16.7",
|
||||
"@babel/plugin-proposal-export-namespace-from": "7.16.7",
|
||||
"@babel/plugin-proposal-logical-assignment-operators": "7.16.7",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "7.16.7",
|
||||
"@babel/plugin-proposal-numeric-separator": "7.16.7",
|
||||
"@babel/plugin-proposal-optional-chaining": "7.16.7",
|
||||
"@babel/plugin-proposal-private-methods": "7.16.11",
|
||||
"@babel/plugin-proposal-private-property-in-object": "7.16.7",
|
||||
"@babel/plugin-syntax-async-generators": "7.8.4",
|
||||
"@babel/plugin-syntax-json-strings": "7.8.3",
|
||||
"@babel/plugin-syntax-object-rest-spread": "7.8.3",
|
||||
"@babel/plugin-syntax-optional-catch-binding": "7.8.3",
|
||||
"@babel/plugin-transform-modules-commonjs": "7.16.8",
|
||||
"@babel/plugin-transform-react-jsx": "7.16.7",
|
||||
"@babel/preset-typescript": "7.16.7",
|
||||
"babel-plugin-module-resolver": "4.1.0",
|
||||
"colors": "1.4.0",
|
||||
"commander": "^8.3.0",
|
||||
"debug": "^4.3.3",
|
||||
"expect": "=27.2.5",
|
||||
"jest-matcher-utils": "=27.2.5",
|
||||
"jpeg-js": "^0.4.3",
|
||||
"json5": "^2.2.0",
|
||||
"mime": "^3.0.0",
|
||||
"minimatch": "^3.0.4",
|
||||
"ms": "^2.1.3",
|
||||
"open": "^8.4.0",
|
||||
"pirates": "=4.0.4",
|
||||
"pixelmatch": "^5.2.1",
|
||||
"playwright-core": "=1.19.0-next",
|
||||
"pngjs": "^6.0.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"source-map-support": "^0.5.21",
|
||||
"stack-utils": "^2.0.5",
|
||||
"yazl": "^2.5.1"
|
||||
"commander": "8.3.0",
|
||||
"debug": "4.3.3",
|
||||
"expect": "27.2.5",
|
||||
"jest-matcher-utils": "27.2.5",
|
||||
"jpeg-js": "0.4.3",
|
||||
"json5": "2.2.0",
|
||||
"mime": "3.0.0",
|
||||
"minimatch": "3.0.4",
|
||||
"ms": "2.1.3",
|
||||
"open": "8.4.0",
|
||||
"pirates": "4.0.4",
|
||||
"pixelmatch": "5.2.1",
|
||||
"playwright-core": "1.19.0-next",
|
||||
"pngjs": "6.0.0",
|
||||
"rimraf": "3.0.2",
|
||||
"source-map-support": "0.5.21",
|
||||
"stack-utils": "2.0.5",
|
||||
"yazl": "2.5.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"commander": {
|
||||
@ -12100,34 +12100,34 @@
|
||||
"playwright": {
|
||||
"version": "file:packages/playwright",
|
||||
"requires": {
|
||||
"playwright-core": "=1.19.0-next"
|
||||
"playwright-core": "1.19.0-next"
|
||||
}
|
||||
},
|
||||
"playwright-chromium": {
|
||||
"version": "file:packages/playwright-chromium",
|
||||
"requires": {
|
||||
"playwright-core": "=1.19.0-next"
|
||||
"playwright-core": "1.19.0-next"
|
||||
}
|
||||
},
|
||||
"playwright-core": {
|
||||
"version": "file:packages/playwright-core",
|
||||
"requires": {
|
||||
"commander": "^8.3.0",
|
||||
"debug": "^4.3.3",
|
||||
"extract-zip": "^2.0.1",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
"jpeg-js": "^0.4.3",
|
||||
"mime": "^3.0.0",
|
||||
"pngjs": "^6.0.0",
|
||||
"progress": "^2.0.3",
|
||||
"proper-lockfile": "^4.1.2",
|
||||
"proxy-from-env": "^1.1.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"socks-proxy-agent": "^6.1.1",
|
||||
"stack-utils": "^2.0.5",
|
||||
"ws": "^8.4.2",
|
||||
"yauzl": "^2.10.0",
|
||||
"yazl": "^2.5.1"
|
||||
"commander": "8.3.0",
|
||||
"debug": "4.3.3",
|
||||
"extract-zip": "2.0.1",
|
||||
"https-proxy-agent": "5.0.0",
|
||||
"jpeg-js": "0.4.3",
|
||||
"mime": "3.0.0",
|
||||
"pngjs": "6.0.0",
|
||||
"progress": "2.0.3",
|
||||
"proper-lockfile": "4.1.2",
|
||||
"proxy-from-env": "1.1.0",
|
||||
"rimraf": "3.0.2",
|
||||
"socks-proxy-agent": "6.1.1",
|
||||
"stack-utils": "2.0.5",
|
||||
"ws": "8.4.2",
|
||||
"yauzl": "2.10.0",
|
||||
"yazl": "2.5.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"commander": {
|
||||
@ -12140,13 +12140,13 @@
|
||||
"playwright-firefox": {
|
||||
"version": "file:packages/playwright-firefox",
|
||||
"requires": {
|
||||
"playwright-core": "=1.19.0-next"
|
||||
"playwright-core": "1.19.0-next"
|
||||
}
|
||||
},
|
||||
"playwright-webkit": {
|
||||
"version": "file:packages/playwright-webkit",
|
||||
"requires": {
|
||||
"playwright-core": "=1.19.0-next"
|
||||
"playwright-core": "1.19.0-next"
|
||||
}
|
||||
},
|
||||
"pngjs": {
|
||||
|
@ -26,6 +26,6 @@
|
||||
"install": "node install.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"playwright-core": "=1.19.0-next"
|
||||
"playwright-core": "1.19.0-next"
|
||||
}
|
||||
}
|
||||
|
@ -37,21 +37,21 @@
|
||||
"playwright": "./cli.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"commander": "^8.3.0",
|
||||
"debug": "^4.3.3",
|
||||
"extract-zip": "^2.0.1",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
"jpeg-js": "^0.4.3",
|
||||
"mime": "^3.0.0",
|
||||
"pngjs": "^6.0.0",
|
||||
"progress": "^2.0.3",
|
||||
"proper-lockfile": "^4.1.2",
|
||||
"proxy-from-env": "^1.1.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"socks-proxy-agent": "^6.1.1",
|
||||
"stack-utils": "^2.0.5",
|
||||
"ws": "^8.4.2",
|
||||
"yauzl": "^2.10.0",
|
||||
"yazl": "^2.5.1"
|
||||
"commander": "8.3.0",
|
||||
"debug": "4.3.3",
|
||||
"extract-zip": "2.0.1",
|
||||
"https-proxy-agent": "5.0.0",
|
||||
"jpeg-js": "0.4.3",
|
||||
"mime": "3.0.0",
|
||||
"pngjs": "6.0.0",
|
||||
"progress": "2.0.3",
|
||||
"proper-lockfile": "4.1.2",
|
||||
"proxy-from-env": "1.1.0",
|
||||
"rimraf": "3.0.2",
|
||||
"socks-proxy-agent": "6.1.1",
|
||||
"stack-utils": "2.0.5",
|
||||
"ws": "8.4.2",
|
||||
"yauzl": "2.10.0",
|
||||
"yazl": "2.5.1"
|
||||
}
|
||||
}
|
||||
|
@ -20,12 +20,12 @@ import { fork } from 'child_process';
|
||||
import { getPlaywrightVersion } from '../utils/utils';
|
||||
|
||||
export function launchGridAgent(agentId: string, gridURL: string) {
|
||||
const log = debug(`[agent ${agentId}]`);
|
||||
const log = debug(`pw:grid:agent:${agentId}`);
|
||||
log('created');
|
||||
const params = new URLSearchParams();
|
||||
params.set('pwVersion', getPlaywrightVersion(true /* majorMinorOnly */));
|
||||
params.set('agentId', agentId);
|
||||
const ws = new WebSocket(gridURL + `/registerAgent?` + params.toString());
|
||||
const ws = new WebSocket(gridURL.replace('http://', 'ws://') + `/registerAgent?` + params.toString());
|
||||
ws.on('message', (workerId: string) => {
|
||||
log('Worker requested ' + workerId);
|
||||
fork(require.resolve('./gridWorker.js'), [gridURL, agentId, workerId], { detached: true });
|
||||
|
@ -65,7 +65,7 @@ class GridWorker extends EventEmitter {
|
||||
|
||||
constructor(clientSocket: WebSocket) {
|
||||
super();
|
||||
this._log = debug(`[worker ${this.workerId}]`);
|
||||
this._log = debug(`pw:grid:worker${this.workerId}`);
|
||||
this._clientSocket = clientSocket;
|
||||
clientSocket.on('close', (code: number, reason: string) => this.closeWorker(WSErrors.NO_ERROR));
|
||||
clientSocket.on('error', (error: Error) => this.closeWorker(WSErrors.CLIENT_SOCKET_ERROR));
|
||||
@ -110,7 +110,7 @@ class GridAgent extends EventEmitter {
|
||||
constructor(capacity = Infinity, creationTimeout = 5 * 60000, retireTimeout = 30000) {
|
||||
super();
|
||||
this._capacity = capacity;
|
||||
this._log = debug(`[agent ${this.agentId}]`);
|
||||
this._log = debug(`pw:grid:agent${this.agentId}`);
|
||||
this.setStatus('created');
|
||||
this._retireTimeout = retireTimeout;
|
||||
this._agentCreationTimeoutId = setTimeout(() => {
|
||||
@ -196,7 +196,7 @@ export class GridServer {
|
||||
private _pwVersion: string;
|
||||
|
||||
constructor(factory: GridFactory, authToken: string = '') {
|
||||
this._log = debug(`[grid]`);
|
||||
this._log = debug(`pw:grid:server`);
|
||||
this._authToken = authToken || '';
|
||||
this._server = new HttpServer();
|
||||
this._factory = factory;
|
||||
|
@ -22,9 +22,9 @@ import { createPlaywright } from '../server/playwright';
|
||||
import { gracefullyCloseAll } from '../utils/processLauncher';
|
||||
|
||||
function launchGridWorker(gridURL: string, agentId: string, workerId: string) {
|
||||
const log = debug(`[worker ${workerId}]`);
|
||||
const log = debug(`pw:grid:worker${workerId}`);
|
||||
log('created');
|
||||
const ws = new WebSocket(gridURL + `/registerWorker?agentId=${agentId}&workerId=${workerId}`);
|
||||
const ws = new WebSocket(gridURL.replace('http://', 'ws://') + `/registerWorker?agentId=${agentId}&workerId=${workerId}`);
|
||||
const dispatcherConnection = new DispatcherConnection();
|
||||
dispatcherConnection.onmessage = message => ws.send(JSON.stringify(message));
|
||||
ws.once('open', () => {
|
||||
|
@ -26,6 +26,6 @@
|
||||
"install": "node install.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"playwright-core": "=1.19.0-next"
|
||||
"playwright-core": "1.19.0-next"
|
||||
}
|
||||
}
|
||||
|
@ -27,43 +27,43 @@
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/code-frame": "^7.16.7",
|
||||
"@babel/core": "^7.16.12",
|
||||
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
||||
"@babel/plugin-proposal-dynamic-import": "^7.16.7",
|
||||
"@babel/plugin-proposal-export-namespace-from": "^7.16.7",
|
||||
"@babel/plugin-proposal-logical-assignment-operators": "^7.16.7",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
|
||||
"@babel/plugin-proposal-numeric-separator": "^7.16.7",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
||||
"@babel/plugin-proposal-private-methods": "^7.16.11",
|
||||
"@babel/plugin-proposal-private-property-in-object": "^7.16.7",
|
||||
"@babel/plugin-syntax-async-generators": "^7.8.4",
|
||||
"@babel/plugin-syntax-json-strings": "^7.8.3",
|
||||
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
|
||||
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.16.8",
|
||||
"@babel/plugin-transform-react-jsx": "^7.16.7",
|
||||
"@babel/preset-typescript": "^7.16.7",
|
||||
"babel-plugin-module-resolver": "^4.1.0",
|
||||
"@babel/code-frame": "7.16.7",
|
||||
"@babel/core": "7.16.12",
|
||||
"@babel/plugin-proposal-class-properties": "7.16.7",
|
||||
"@babel/plugin-proposal-dynamic-import": "7.16.7",
|
||||
"@babel/plugin-proposal-export-namespace-from": "7.16.7",
|
||||
"@babel/plugin-proposal-logical-assignment-operators": "7.16.7",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "7.16.7",
|
||||
"@babel/plugin-proposal-numeric-separator": "7.16.7",
|
||||
"@babel/plugin-proposal-optional-chaining": "7.16.7",
|
||||
"@babel/plugin-proposal-private-methods": "7.16.11",
|
||||
"@babel/plugin-proposal-private-property-in-object": "7.16.7",
|
||||
"@babel/plugin-syntax-async-generators": "7.8.4",
|
||||
"@babel/plugin-syntax-json-strings": "7.8.3",
|
||||
"@babel/plugin-syntax-object-rest-spread": "7.8.3",
|
||||
"@babel/plugin-syntax-optional-catch-binding": "7.8.3",
|
||||
"@babel/plugin-transform-modules-commonjs": "7.16.8",
|
||||
"@babel/plugin-transform-react-jsx": "7.16.7",
|
||||
"@babel/preset-typescript": "7.16.7",
|
||||
"babel-plugin-module-resolver": "4.1.0",
|
||||
"colors": "1.4.0",
|
||||
"commander": "^8.3.0",
|
||||
"debug": "^4.3.3",
|
||||
"expect": "=27.2.5",
|
||||
"jest-matcher-utils": "=27.2.5",
|
||||
"jpeg-js": "^0.4.3",
|
||||
"json5": "^2.2.0",
|
||||
"mime": "^3.0.0",
|
||||
"minimatch": "^3.0.4",
|
||||
"ms": "^2.1.3",
|
||||
"open": "^8.4.0",
|
||||
"pirates": "=4.0.4",
|
||||
"pixelmatch": "^5.2.1",
|
||||
"playwright-core": "=1.19.0-next",
|
||||
"pngjs": "^6.0.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"source-map-support": "^0.5.21",
|
||||
"stack-utils": "^2.0.5",
|
||||
"yazl": "^2.5.1"
|
||||
"commander": "8.3.0",
|
||||
"debug": "4.3.3",
|
||||
"expect": "27.2.5",
|
||||
"jest-matcher-utils": "27.2.5",
|
||||
"jpeg-js": "0.4.3",
|
||||
"json5": "2.2.0",
|
||||
"mime": "3.0.0",
|
||||
"minimatch": "3.0.4",
|
||||
"ms": "2.1.3",
|
||||
"open": "8.4.0",
|
||||
"pirates": "4.0.4",
|
||||
"pixelmatch": "5.2.1",
|
||||
"playwright-core": "1.19.0-next",
|
||||
"pngjs": "6.0.0",
|
||||
"rimraf": "3.0.2",
|
||||
"source-map-support": "0.5.21",
|
||||
"stack-utils": "2.0.5",
|
||||
"yazl": "2.5.1"
|
||||
}
|
||||
}
|
||||
|
@ -25,6 +25,6 @@
|
||||
"install": "node install.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"playwright-core": "=1.19.0-next"
|
||||
"playwright-core": "1.19.0-next"
|
||||
}
|
||||
}
|
||||
|
@ -26,6 +26,6 @@
|
||||
"install": "node install.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"playwright-core": "=1.19.0-next"
|
||||
"playwright-core": "1.19.0-next"
|
||||
}
|
||||
}
|
||||
|
@ -44,12 +44,12 @@ export class ServiceTestMode implements TestMode {
|
||||
private _gridClient: GridClient;
|
||||
|
||||
async setup() {
|
||||
this._gridClient = await GridClient.connect('http://localhost:3333');
|
||||
this._gridClient = await GridClient.connect('ws://localhost:3333');
|
||||
return this._gridClient.playwright();
|
||||
}
|
||||
|
||||
async teardown() {
|
||||
await this._gridClient.close();
|
||||
this._gridClient.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ const { packages, packagesToPublish } = require('./list_packages.js');
|
||||
if (publicPackages.has(package))
|
||||
playwrightCorePackages.version = version;
|
||||
if (playwrightCorePackages.dependencies && playwrightCorePackages.dependencies['playwright-core'])
|
||||
packageLock['packages']['packages/playwright-test']['dependencies']['playwright-core'] = '=' + version;
|
||||
packageLock['packages']['packages/playwright-test']['dependencies']['playwright-core'] = version;
|
||||
}
|
||||
fs.writeFileSync(packageLockPath, JSON.stringify(packageLock, null, 2) + '\n');
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ async function lintPackage(packageName) {
|
||||
currentPackageJSON.license = pwInternalJSON.license;
|
||||
for (const name of Object.keys(currentPackageJSON.dependencies || {})) {
|
||||
if (name in PACKAGES)
|
||||
currentPackageJSON.dependencies[name] = `=${pwInternalJSON.version}`;
|
||||
currentPackageJSON.dependencies[name] = pwInternalJSON.version;
|
||||
}
|
||||
await writeToPackage('package.json', JSON.stringify(currentPackageJSON, null, 2) + '\n');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user