diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 823bada1..59fc400d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - name: Set Node.js version uses: actions/setup-node@v3 with: - node-version: "14.x" + node-version: "18.x" - run: node setVersion.js working-directory: .\components\text-to-socket-engine - run: | @@ -48,7 +48,7 @@ jobs: - name: Set Node.js version uses: actions/setup-node@v3 with: - node-version: "14.x" + node-version: "18.x" - uses: actions/download-artifact@v3 with: name: text-to-socket-engine-x86 diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 1c4be315..d38910a4 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -16,16 +16,6 @@ jobs: node-version: "14.x" - run: npm i -g pnpm - run: pnpm update -r --latest -E - - run: | - ( cd ./components/assistive-webdriver && pnpm install p-queue@6.6.2 ) - ( cd ./components/assistive-webdriver && pnpm install node-fetch@2.6.7 ) - ( cd ./components/assistive-webdriver && pnpm install -D @types/node-fetch@2.6.2 ) - ( cd ./components/assistive-playwright-client && pnpm install node-fetch@2.6.7 ) - ( cd ./components/assistive-playwright-client && pnpm install -D @types/node-fetch@2.6.2 ) - ( cd ./components/assistive-playwright-server && pnpm install -D node-fetch@2.6.7 ) - ( cd ./components/assistive-playwright-server && pnpm install -D @types/node-fetch@2.6.2 ) - ( cd ./components/assistive-playwright-tester && pnpm install node-fetch@2.6.7 ) - ( cd ./components/assistive-playwright-tester && pnpm install -D @types/node-fetch@2.6.2 ) - name: Create pull request uses: peter-evans/create-pull-request@bd72e1b7922d417764d27d30768117ad7da78a0e # v4.0.2 with: diff --git a/components/assistive-playwright-client/jest.config.js b/components/assistive-playwright-client/jest.config.js index d2d94906..26d22923 100644 --- a/components/assistive-playwright-client/jest.config.js +++ b/components/assistive-playwright-client/jest.config.js @@ -17,7 +17,9 @@ */ module.exports = { + transformIgnorePatterns: [], transform: { + "\\.m?js$": "../../tools/jestEsmTransform", "^.+\\.ts$": [ "../../tools/code-coverage/jestTransform", { tsconfig: "tsconfig.test.json" } @@ -25,5 +27,6 @@ module.exports = { }, testEnvironment: "../../tools/code-coverage/jestEnv", testMatch: ["/test/**/*.spec.ts"], - testPathIgnorePatterns: ["/test/e2e/"] + testPathIgnorePatterns: ["/test/e2e/"], + testTimeout: 30000 }; diff --git a/components/assistive-playwright-client/package.json b/components/assistive-playwright-client/package.json index 58b67f3d..fa2ca40e 100644 --- a/components/assistive-playwright-client/package.json +++ b/components/assistive-playwright-client/package.json @@ -26,20 +26,22 @@ ], "devDependencies": { "@microsoft/api-extractor": "7.33.6", + "@rollup/plugin-commonjs": "23.0.3", + "@rollup/plugin-node-resolve": "15.0.1", + "@rollup/plugin-typescript": "10.0.1", "@types/jest": "29.2.3", - "@types/node-fetch": "2.6.2", "@types/pngjs": "6.0.1", "@types/uuid": "9.0.0", "@types/ws": "8.5.3", "assistive-playwright-server": "workspace:*", "jest": "29.3.1", - "rollup": "3.5.0", + "node-fetch": "3.3.0", + "rollup": "3.5.1", "tslib": "2.4.1", "typescript": "4.9.3", "wait-port": "1.0.4" }, "dependencies": { - "node-fetch": "2.6.7", "playwright-core": "1.28.1", "uuid": "9.0.0", "vm-providers": "workspace:*", diff --git a/components/assistive-playwright-client/rollup.config.js b/components/assistive-playwright-client/rollup.config.js index 6984d66a..00031a22 100644 --- a/components/assistive-playwright-client/rollup.config.js +++ b/components/assistive-playwright-client/rollup.config.js @@ -19,6 +19,8 @@ require("../../tools/code-coverage/overrideReadFileSync"); const pkg = require("./package.json"); const dependencies = Object.keys(pkg.dependencies); +const commonjs = require("@rollup/plugin-commonjs"); +const { nodeResolve } = require("@rollup/plugin-node-resolve"); const typescript = require("@rollup/plugin-typescript"); module.exports = [ @@ -26,7 +28,8 @@ module.exports = [ output: [ { file: "./dist/index.js", - format: "cjs" + format: "cjs", + inlineDynamicImports: true } ], input: "./src/index.ts", @@ -41,6 +44,6 @@ module.exports = [ "stream", "url" ]), - plugins: [typescript()] + plugins: [commonjs({ preferBuiltins: true }), nodeResolve(), typescript()] } ]; diff --git a/components/assistive-playwright-client/test/withServerNoVM.spec.ts b/components/assistive-playwright-client/test/withServerNoVM.spec.ts index 233b54ab..a45cdb97 100644 --- a/components/assistive-playwright-client/test/withServerNoVM.spec.ts +++ b/components/assistive-playwright-client/test/withServerNoVM.spec.ts @@ -44,14 +44,14 @@ describe("with server and no vm", () => { }); it("should create a page in chromium", async () => { - const { chromium } = connectRemotePlaywright("http://localhost:8885"); + const { chromium } = connectRemotePlaywright("http://127.0.0.1:8885"); const instance = await chromium.launch(); try { const context = await instance.newContext(); try { const page = await context.newPage(); try { - const response = await page.goto("http://localhost:8885"); + const response = await page.goto("http://127.0.0.1:8885"); const json = await response!.json(); expect(json).toEqual({ server: "assistive-playwright-server" }); } finally { @@ -67,7 +67,7 @@ describe("with server and no vm", () => { it("should receive messages from the screen reader", async () => { const screenReader = await ScreenReaderClient.create( - "ws://localhost:8885/screen-reader" + "ws://127.0.0.1:8885/screen-reader" ); expect(screenReader.connected).toBe(true); const socketTCP = createConnection(8886, "127.0.0.1"); diff --git a/components/assistive-playwright-server/jest.config.js b/components/assistive-playwright-server/jest.config.js index 9d2986f9..8f7e2b7e 100644 --- a/components/assistive-playwright-server/jest.config.js +++ b/components/assistive-playwright-server/jest.config.js @@ -17,7 +17,9 @@ */ module.exports = { + transformIgnorePatterns: [], transform: { + "\\.m?js$": "../../tools/jestEsmTransform", "^.+\\.ts$": [ "../../tools/code-coverage/jestTransform", { tsconfig: "tsconfig.test.json" } diff --git a/components/assistive-playwright-server/package.json b/components/assistive-playwright-server/package.json index 0d833aca..e1dea05c 100644 --- a/components/assistive-playwright-server/package.json +++ b/components/assistive-playwright-server/package.json @@ -31,12 +31,11 @@ "@types/co-body": "6.1.0", "@types/http-proxy": "1.17.9", "@types/jest": "29.2.3", - "@types/node-fetch": "2.6.2", "@types/ws": "8.5.3", "@types/yargs": "17.0.15", "jest": "29.3.1", - "node-fetch": "2.6.7", - "rollup": "3.5.0", + "node-fetch": "3.3.0", + "rollup": "3.5.1", "tslib": "2.4.1", "typescript": "4.9.3", "typescript-json-schema": "0.55.0", diff --git a/components/assistive-playwright-server/rollup.config.js b/components/assistive-playwright-server/rollup.config.js index f5672b7b..f9a650a0 100644 --- a/components/assistive-playwright-server/rollup.config.js +++ b/components/assistive-playwright-server/rollup.config.js @@ -21,8 +21,9 @@ const { } = require("../../tools/code-coverage/overrideReadFileSync"); const pkg = require("./package.json"); const dependencies = Object.keys(pkg.dependencies); -const typescript = require("@rollup/plugin-typescript"); const commonjs = require("@rollup/plugin-commonjs"); +const { nodeResolve } = require("@rollup/plugin-node-resolve"); +const typescript = require("@rollup/plugin-typescript"); const replace = require("@rollup/plugin-replace"); module.exports = { @@ -49,7 +50,8 @@ module.exports = { }, preventAssignment: true }), - commonjs(), + commonjs({ preferBuiltins: true }), + nodeResolve(), typescript() ] }; diff --git a/components/assistive-playwright-test-sample/package.json b/components/assistive-playwright-test-sample/package.json index 453487c8..d7eeb8c9 100644 --- a/components/assistive-playwright-test-sample/package.json +++ b/components/assistive-playwright-test-sample/package.json @@ -17,7 +17,7 @@ "sirv-cli": "2.0.2" }, "scripts": { - "start": "sirv -H 0.0.0.0 public" + "start": "sirv -H :: public" }, "license": "MIT" } diff --git a/components/assistive-playwright-test/package.json b/components/assistive-playwright-test/package.json index b8c66021..a30f8ffc 100644 --- a/components/assistive-playwright-test/package.json +++ b/components/assistive-playwright-test/package.json @@ -28,7 +28,7 @@ "@microsoft/api-extractor": "7.33.6", "@playwright/test": "1.28.1", "@types/uuid": "9.0.0", - "rollup": "3.5.0", + "rollup": "3.5.1", "tslib": "2.4.1", "typescript": "4.9.3" }, diff --git a/components/assistive-playwright-tester/package.json b/components/assistive-playwright-tester/package.json index 19d8c8dd..183163af 100644 --- a/components/assistive-playwright-tester/package.json +++ b/components/assistive-playwright-tester/package.json @@ -19,18 +19,20 @@ ], "dependencies": { "assistive-playwright-client": "workspace:*", - "node-fetch": "2.6.7", "uuid": "9.0.0", "vm-providers": "workspace:*", "winston": "3.8.2", "yargs": "17.6.2" }, "devDependencies": { - "@types/node-fetch": "2.6.2", + "@rollup/plugin-commonjs": "23.0.3", + "@rollup/plugin-node-resolve": "15.0.1", + "@rollup/plugin-typescript": "10.0.1", "@types/uuid": "9.0.0", "@types/yargs": "17.0.15", "playwright-core": "1.28.1", - "rollup": "3.5.0", + "node-fetch": "3.3.0", + "rollup": "3.5.1", "tslib": "2.4.1", "typescript": "4.9.3", "wait-port": "1.0.4" diff --git a/components/assistive-playwright-tester/rollup.config.js b/components/assistive-playwright-tester/rollup.config.js index ad6740bc..094748e6 100644 --- a/components/assistive-playwright-tester/rollup.config.js +++ b/components/assistive-playwright-tester/rollup.config.js @@ -19,16 +19,19 @@ require("../../tools/code-coverage/overrideReadFileSync"); const pkg = require("./package.json"); const dependencies = Object.keys(pkg.dependencies); +const commonjs = require("@rollup/plugin-commonjs"); +const { nodeResolve } = require("@rollup/plugin-node-resolve"); const typescript = require("@rollup/plugin-typescript"); module.exports = { output: [ { file: "./dist/index.js", - format: "cjs" + format: "cjs", + inlineDynamicImports: true } ], input: "./src/cli.ts", external: dependencies.concat(["http", "os", "readline", "path", "fs"]), - plugins: [typescript()] + plugins: [commonjs({ preferBuiltins: true }), nodeResolve(), typescript()] }; diff --git a/components/assistive-webdriver/jest.config.js b/components/assistive-webdriver/jest.config.js index d0d93454..5999f297 100644 --- a/components/assistive-webdriver/jest.config.js +++ b/components/assistive-webdriver/jest.config.js @@ -17,7 +17,9 @@ */ module.exports = { + transformIgnorePatterns: [], transform: { + "\\.m?js$": "../../tools/jestEsmTransform", "^.+\\.ts$": [ "../../tools/code-coverage/jestTransform", { tsconfig: "tsconfig.test.json" } @@ -25,5 +27,5 @@ module.exports = { }, testEnvironment: "../../tools/code-coverage/jestEnv", testMatch: ["/test/**/*.spec.ts"], - testTimeout: 10000 + testTimeout: 30000 }; diff --git a/components/assistive-webdriver/package.json b/components/assistive-webdriver/package.json index ec459359..dd190945 100644 --- a/components/assistive-webdriver/package.json +++ b/components/assistive-webdriver/package.json @@ -37,7 +37,6 @@ "http-proxy": "1.18.1", "koa": "2.13.4", "koa-route": "3.2.0", - "node-fetch": "2.6.7", "uuid": "9.0.0", "vm-providers": "workspace:*", "winston": "3.8.2", @@ -56,7 +55,6 @@ "@types/koa": "2.13.5", "@types/koa-bodyparser": "4.3.10", "@types/koa-route": "3.2.5", - "@types/node-fetch": "2.6.2", "@types/pngjs": "6.0.1", "@types/selenium-webdriver": "4.1.9", "@types/uuid": "9.0.0", @@ -64,10 +62,11 @@ "@types/yargs": "17.0.15", "jest": "29.3.1", "json-schema-to-typescript": "11.0.2", - "p-queue": "6.6.2", + "node-fetch": "3.3.0", + "p-queue": "7.3.0", "pngjs": "6.0.0", - "rollup": "3.5.0", - "selenium-webdriver": "4.6.1", + "rollup": "3.5.1", + "selenium-webdriver": "4.7.0", "tslib": "2.4.1", "typescript": "4.9.3" }, diff --git a/components/assistive-webdriver/rollup.config.js b/components/assistive-webdriver/rollup.config.js index 106d5066..05b909d7 100644 --- a/components/assistive-webdriver/rollup.config.js +++ b/components/assistive-webdriver/rollup.config.js @@ -65,16 +65,24 @@ module.exports = [ output: [ { file: "./dist/server/index.js", - format: "cjs" + format: "cjs", + inlineDynamicImports: true }, { file: "./dist/server/index.mjs", - format: "esm" + format: "esm", + inlineDynamicImports: true } ], input: "./src/server/index.ts", external: externalDependencies, - plugins + plugins, + onwarn(warning, warn) { + if (warning.code === "THIS_IS_UNDEFINED") { + return; // ignore this warning + } + warn(warning); + } }, { output: [ diff --git a/components/assistive-webdriver/samples/ariatemplates.js b/components/assistive-webdriver/samples/ariatemplates.js index e2700403..e272f015 100644 --- a/components/assistive-webdriver/samples/ariatemplates.js +++ b/components/assistive-webdriver/samples/ariatemplates.js @@ -12,7 +12,7 @@ const { "awd:vm-config": "jaws" }) .forBrowser(Browser.INTERNET_EXPLORER) - .usingServer("http://localhost:3000/") + .usingServer("http://127.0.0.1:3000/") .build(); try { addScreenReaderTextListener(driver, message => diff --git a/components/assistive-webdriver/samples/googleSearch.js b/components/assistive-webdriver/samples/googleSearch.js index ede65e10..858bea43 100644 --- a/components/assistive-webdriver/samples/googleSearch.js +++ b/components/assistive-webdriver/samples/googleSearch.js @@ -5,7 +5,7 @@ const { Builder, By, Key, Browser, until } = require("selenium-webdriver"); (async function () { const driver = await new Builder() .forBrowser(Browser.CHROME) - .usingServer("http://localhost:3000/") + .usingServer("http://127.0.0.1:3000/") .build(); try { await driver.get("https://www.google.com"); diff --git a/components/assistive-webdriver/src/tester/bin.ts b/components/assistive-webdriver/src/tester/bin.ts index cbebbfe3..9936e4d1 100644 --- a/components/assistive-webdriver/src/tester/bin.ts +++ b/components/assistive-webdriver/src/tester/bin.ts @@ -38,7 +38,7 @@ import { sigintWin32 } from "../server/sigintWin32"; server: { type: "string", alias: "s", - default: "http://localhost:3000" + default: "http://127.0.0.1:3000" }, browser: { type: "string", diff --git a/components/vm-providers/jest.config.js b/components/vm-providers/jest.config.js index 9d2986f9..8f7e2b7e 100644 --- a/components/vm-providers/jest.config.js +++ b/components/vm-providers/jest.config.js @@ -17,7 +17,9 @@ */ module.exports = { + transformIgnorePatterns: [], transform: { + "\\.m?js$": "../../tools/jestEsmTransform", "^.+\\.ts$": [ "../../tools/code-coverage/jestTransform", { tsconfig: "tsconfig.test.json" } diff --git a/components/vm-providers/package.json b/components/vm-providers/package.json index 5f535bc1..b9862feb 100644 --- a/components/vm-providers/package.json +++ b/components/vm-providers/package.json @@ -40,7 +40,7 @@ "@types/uuid": "9.0.0", "jest": "29.3.1", "json-schema-to-typescript": "11.0.2", - "rollup": "3.5.0", + "rollup": "3.5.1", "tslib": "2.4.1", "typescript": "4.9.3" }, diff --git a/package.json b/package.json index 3e86b71b..d98002a6 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "devDependencies": { "@babel/core": "7.20.5", "@babel/plugin-syntax-typescript": "7.20.0", + "@babel/plugin-transform-modules-commonjs": "7.19.6", "@microsoft/api-documenter": "7.19.25", "@typescript-eslint/eslint-plugin": "5.45.0", "@typescript-eslint/parser": "5.45.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0b0238dc..3eae81b6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,6 +6,7 @@ importers: specifiers: '@babel/core': 7.20.5 '@babel/plugin-syntax-typescript': 7.20.0 + '@babel/plugin-transform-modules-commonjs': 7.19.6 '@microsoft/api-documenter': 7.19.25 '@typescript-eslint/eslint-plugin': 5.45.0 '@typescript-eslint/parser': 5.45.0 @@ -19,6 +20,7 @@ importers: devDependencies: '@babel/core': 7.20.5 '@babel/plugin-syntax-typescript': 7.20.0_@babel+core@7.20.5 + '@babel/plugin-transform-modules-commonjs': 7.19.6_@babel+core@7.20.5 '@microsoft/api-documenter': 7.19.25 '@typescript-eslint/eslint-plugin': 5.45.0_vbnhqcxlbs7ynbxw44hu2vq7eq '@typescript-eslint/parser': 5.45.0_eslint@8.28.0 @@ -33,16 +35,18 @@ importers: components/assistive-playwright-client: specifiers: '@microsoft/api-extractor': 7.33.6 + '@rollup/plugin-commonjs': 23.0.3 + '@rollup/plugin-node-resolve': 15.0.1 + '@rollup/plugin-typescript': 10.0.1 '@types/jest': 29.2.3 - '@types/node-fetch': 2.6.2 '@types/pngjs': 6.0.1 '@types/uuid': 9.0.0 '@types/ws': 8.5.3 assistive-playwright-server: workspace:* jest: 29.3.1 - node-fetch: 2.6.7 + node-fetch: 3.3.0 playwright-core: 1.28.1 - rollup: 3.5.0 + rollup: 3.5.1 tslib: 2.4.1 typescript: 4.9.3 uuid: 9.0.0 @@ -50,21 +54,23 @@ importers: wait-port: 1.0.4 ws: 8.11.0 dependencies: - node-fetch: 2.6.7 playwright-core: 1.28.1 uuid: 9.0.0 vm-providers: link:../vm-providers ws: 8.11.0 devDependencies: '@microsoft/api-extractor': 7.33.6 + '@rollup/plugin-commonjs': 23.0.3_rollup@3.5.1 + '@rollup/plugin-node-resolve': 15.0.1_rollup@3.5.1 + '@rollup/plugin-typescript': 10.0.1_3d7bvrhnnvjmhphi3zgbz54owe '@types/jest': 29.2.3 - '@types/node-fetch': 2.6.2 '@types/pngjs': 6.0.1 '@types/uuid': 9.0.0 '@types/ws': 8.5.3 assistive-playwright-server: link:../assistive-playwright-server jest: 29.3.1 - rollup: 3.5.0 + node-fetch: 3.3.0 + rollup: 3.5.1 tslib: 2.4.1 typescript: 4.9.3 wait-port: 1.0.4 @@ -77,16 +83,15 @@ importers: '@types/co-body': 6.1.0 '@types/http-proxy': 1.17.9 '@types/jest': 29.2.3 - '@types/node-fetch': 2.6.2 '@types/ws': 8.5.3 '@types/yargs': 17.0.15 ajv: 8.11.2 co-body: 6.1.0 http-proxy: 1.18.1 jest: 29.3.1 - node-fetch: 2.6.7 + node-fetch: 3.3.0 playwright: 1.28.1 - rollup: 3.5.0 + rollup: 3.5.1 tslib: 2.4.1 typescript: 4.9.3 typescript-json-schema: 0.55.0 @@ -101,18 +106,17 @@ importers: ws: 8.11.0 yargs: 17.6.2 devDependencies: - '@rollup/plugin-commonjs': 23.0.3_rollup@3.5.0 - '@rollup/plugin-replace': 5.0.1_rollup@3.5.0 - '@rollup/plugin-typescript': 10.0.1_3qldpvhx2vwhgdtnpkk4u5tuly + '@rollup/plugin-commonjs': 23.0.3_rollup@3.5.1 + '@rollup/plugin-replace': 5.0.1_rollup@3.5.1 + '@rollup/plugin-typescript': 10.0.1_3d7bvrhnnvjmhphi3zgbz54owe '@types/co-body': 6.1.0 '@types/http-proxy': 1.17.9 '@types/jest': 29.2.3 - '@types/node-fetch': 2.6.2 '@types/ws': 8.5.3 '@types/yargs': 17.0.15 jest: 29.3.1 - node-fetch: 2.6.7 - rollup: 3.5.0 + node-fetch: 3.3.0 + rollup: 3.5.1 tslib: 2.4.1 typescript: 4.9.3 typescript-json-schema: 0.55.0 @@ -124,7 +128,7 @@ importers: '@playwright/test': 1.28.1 '@types/uuid': 9.0.0 assistive-playwright-client: workspace:* - rollup: 3.5.0 + rollup: 3.5.1 tslib: 2.4.1 typescript: 4.9.3 uuid: 9.0.0 @@ -135,7 +139,7 @@ importers: '@microsoft/api-extractor': 7.33.6 '@playwright/test': 1.28.1 '@types/uuid': 9.0.0 - rollup: 3.5.0 + rollup: 3.5.1 tslib: 2.4.1 typescript: 4.9.3 @@ -151,13 +155,15 @@ importers: components/assistive-playwright-tester: specifiers: - '@types/node-fetch': 2.6.2 + '@rollup/plugin-commonjs': 23.0.3 + '@rollup/plugin-node-resolve': 15.0.1 + '@rollup/plugin-typescript': 10.0.1 '@types/uuid': 9.0.0 '@types/yargs': 17.0.15 assistive-playwright-client: workspace:* - node-fetch: 2.6.7 + node-fetch: 3.3.0 playwright-core: 1.28.1 - rollup: 3.5.0 + rollup: 3.5.1 tslib: 2.4.1 typescript: 4.9.3 uuid: 9.0.0 @@ -167,17 +173,19 @@ importers: yargs: 17.6.2 dependencies: assistive-playwright-client: link:../assistive-playwright-client - node-fetch: 2.6.7 uuid: 9.0.0 vm-providers: link:../vm-providers winston: 3.8.2 yargs: 17.6.2 devDependencies: - '@types/node-fetch': 2.6.2 + '@rollup/plugin-commonjs': 23.0.3_rollup@3.5.1 + '@rollup/plugin-node-resolve': 15.0.1_rollup@3.5.1 + '@rollup/plugin-typescript': 10.0.1_3d7bvrhnnvjmhphi3zgbz54owe '@types/uuid': 9.0.0 '@types/yargs': 17.0.15 + node-fetch: 3.3.0 playwright-core: 1.28.1 - rollup: 3.5.0 + rollup: 3.5.1 tslib: 2.4.1 typescript: 4.9.3 wait-port: 1.0.4 @@ -195,7 +203,6 @@ importers: '@types/koa': 2.13.5 '@types/koa-bodyparser': 4.3.10 '@types/koa-route': 3.2.5 - '@types/node-fetch': 2.6.2 '@types/pngjs': 6.0.1 '@types/selenium-webdriver': 4.1.9 '@types/uuid': 9.0.0 @@ -208,11 +215,11 @@ importers: json-schema-to-typescript: 11.0.2 koa: 2.13.4 koa-route: 3.2.0 - node-fetch: 2.6.7 - p-queue: 6.6.2 + node-fetch: 3.3.0 + p-queue: 7.3.0 pngjs: 6.0.0 - rollup: 3.5.0 - selenium-webdriver: 4.6.1 + rollup: 3.5.1 + selenium-webdriver: 4.7.0 tslib: 2.4.1 typescript: 4.9.3 uuid: 9.0.0 @@ -226,7 +233,6 @@ importers: http-proxy: 1.18.1 koa: 2.13.4 koa-route: 3.2.0 - node-fetch: 2.6.7 uuid: 9.0.0 vm-providers: link:../vm-providers winston: 3.8.2 @@ -234,9 +240,9 @@ importers: yargs: 17.6.2 devDependencies: '@microsoft/api-extractor': 7.33.6 - '@rollup/plugin-commonjs': 23.0.3_rollup@3.5.0 - '@rollup/plugin-node-resolve': 15.0.1_rollup@3.5.0 - '@rollup/plugin-typescript': 10.0.1_3qldpvhx2vwhgdtnpkk4u5tuly + '@rollup/plugin-commonjs': 23.0.3_rollup@3.5.1 + '@rollup/plugin-node-resolve': 15.0.1_rollup@3.5.1 + '@rollup/plugin-typescript': 10.0.1_3d7bvrhnnvjmhphi3zgbz54owe '@sinonjs/fake-timers': 10.0.0 '@types/co-body': 6.1.0 '@types/http-proxy': 1.17.9 @@ -244,7 +250,6 @@ importers: '@types/koa': 2.13.5 '@types/koa-bodyparser': 4.3.10 '@types/koa-route': 3.2.5 - '@types/node-fetch': 2.6.2 '@types/pngjs': 6.0.1 '@types/selenium-webdriver': 4.1.9 '@types/uuid': 9.0.0 @@ -252,10 +257,11 @@ importers: '@types/yargs': 17.0.15 jest: 29.3.1 json-schema-to-typescript: 11.0.2 - p-queue: 6.6.2 + node-fetch: 3.3.0 + p-queue: 7.3.0 pngjs: 6.0.0 - rollup: 3.5.0 - selenium-webdriver: 4.6.1 + rollup: 3.5.1 + selenium-webdriver: 4.7.0 tslib: 2.4.1 typescript: 4.9.3 @@ -295,7 +301,7 @@ importers: json-schema-to-typescript: 11.0.2 pngjs: 6.0.0 qrcode: 1.5.1 - rollup: 3.5.0 + rollup: 3.5.1 stream-json: 1.7.5 tslib: 2.4.1 typescript: 4.9.3 @@ -310,7 +316,7 @@ importers: virtualbox-soap: 5.0.0 devDependencies: '@microsoft/api-extractor': 7.33.6 - '@rollup/plugin-typescript': 10.0.1_3qldpvhx2vwhgdtnpkk4u5tuly + '@rollup/plugin-typescript': 10.0.1_3d7bvrhnnvjmhphi3zgbz54owe '@types/jest': 29.2.3 '@types/pngjs': 6.0.1 '@types/qrcode': 1.5.0 @@ -318,7 +324,7 @@ importers: '@types/uuid': 9.0.0 jest: 29.3.1 json-schema-to-typescript: 11.0.2 - rollup: 3.5.0 + rollup: 3.5.1 tslib: 2.4.1 typescript: 4.9.3 @@ -623,6 +629,20 @@ packages: '@babel/helper-plugin-utils': 7.20.2 dev: true + /@babel/plugin-transform-modules-commonjs/7.19.6_@babel+core@7.20.5: + resolution: {integrity: sha512-8PIa1ym4XRTKuSsOUXqDG0YaOlEuTVvHMe5JCfgBMOtHvJKw/4NGovEGN33viISshG/rZNVrACiBmPQLvWN8xQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.20.5 + '@babel/helper-module-transforms': 7.20.2 + '@babel/helper-plugin-utils': 7.20.2 + '@babel/helper-simple-access': 7.20.2 + transitivePeerDependencies: + - supports-color + dev: true + /@babel/template/7.18.10: resolution: {integrity: sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==} engines: {node: '>=6.9.0'} @@ -1092,7 +1112,7 @@ packages: resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} dev: false - /@rollup/plugin-commonjs/23.0.3_rollup@3.5.0: + /@rollup/plugin-commonjs/23.0.3_rollup@3.5.1: resolution: {integrity: sha512-31HxrT5emGfTyIfAs1lDQHj6EfYxTXcwtX5pIIhq+B/xZBNIqQ179d/CkYxlpYmFCxT78AeU4M8aL8Iv/IBxFA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1101,16 +1121,16 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.2_rollup@3.5.0 + '@rollup/pluginutils': 5.0.2_rollup@3.5.1 commondir: 1.0.1 estree-walker: 2.0.2 glob: 8.0.3 is-reference: 1.2.1 magic-string: 0.26.7 - rollup: 3.5.0 + rollup: 3.5.1 dev: true - /@rollup/plugin-node-resolve/15.0.1_rollup@3.5.0: + /@rollup/plugin-node-resolve/15.0.1_rollup@3.5.1: resolution: {integrity: sha512-ReY88T7JhJjeRVbfCyNj+NXAG3IIsVMsX9b5/9jC98dRP8/yxlZdz7mHZbHk5zHr24wZZICS5AcXsFZAXYUQEg==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1119,16 +1139,16 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.2_rollup@3.5.0 + '@rollup/pluginutils': 5.0.2_rollup@3.5.1 '@types/resolve': 1.20.2 deepmerge: 4.2.2 is-builtin-module: 3.2.0 is-module: 1.0.0 resolve: 1.22.1 - rollup: 3.5.0 + rollup: 3.5.1 dev: true - /@rollup/plugin-replace/5.0.1_rollup@3.5.0: + /@rollup/plugin-replace/5.0.1_rollup@3.5.1: resolution: {integrity: sha512-Z3MfsJ4CK17BfGrZgvrcp/l6WXoKb0kokULO+zt/7bmcyayokDaQ2K3eDJcRLCTAlp5FPI4/gz9MHAsosz4Rag==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1137,12 +1157,12 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.2_rollup@3.5.0 + '@rollup/pluginutils': 5.0.2_rollup@3.5.1 magic-string: 0.26.7 - rollup: 3.5.0 + rollup: 3.5.1 dev: true - /@rollup/plugin-typescript/10.0.1_3qldpvhx2vwhgdtnpkk4u5tuly: + /@rollup/plugin-typescript/10.0.1_3d7bvrhnnvjmhphi3zgbz54owe: resolution: {integrity: sha512-wBykxRLlX7EzL8BmUqMqk5zpx2onnmRMSw/l9M1sVfkJvdwfxogZQVNUM9gVMJbjRLDR5H6U0OMOrlDGmIV45A==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1155,14 +1175,14 @@ packages: tslib: optional: true dependencies: - '@rollup/pluginutils': 5.0.2_rollup@3.5.0 + '@rollup/pluginutils': 5.0.2_rollup@3.5.1 resolve: 1.22.1 - rollup: 3.5.0 + rollup: 3.5.1 tslib: 2.4.1 typescript: 4.9.3 dev: true - /@rollup/pluginutils/5.0.2_rollup@3.5.0: + /@rollup/pluginutils/5.0.2_rollup@3.5.1: resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1174,7 +1194,7 @@ packages: '@types/estree': 1.0.0 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 3.5.0 + rollup: 3.5.1 dev: true /@rushstack/node-core-library/3.53.2: @@ -1445,13 +1465,6 @@ packages: resolution: {integrity: sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==} dev: true - /@types/node-fetch/2.6.2: - resolution: {integrity: sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==} - dependencies: - '@types/node': 18.11.10 - form-data: 3.0.1 - dev: true - /@types/node/12.20.24: resolution: {integrity: sha512-yxDeaQIAJlMav7fH5AQqPH1u8YIuhYJXYBzxaQ4PifsU0GDO38MSdmEDeRlIxrKbC6NbEaaEHDanWb+y30U8SQ==} dev: true @@ -1828,6 +1841,7 @@ packages: /asynckit/0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + dev: false /axios-ntlm/1.3.1_debug@4.3.4: resolution: {integrity: sha512-YhjZj6UUzFzGirh7SiKbyvoXCWiZFMjjx2WJ8ouUUGNrqw/QgTc4H3M+7a6CTGENfLgXi2OiEhVeHmqoCffdYQ==} @@ -2181,6 +2195,7 @@ packages: engines: {node: '>= 0.8'} dependencies: delayed-stream: 1.0.0 + dev: false /commander/2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} @@ -2267,6 +2282,11 @@ packages: type: 1.2.0 dev: true + /data-uri-to-buffer/4.0.0: + resolution: {integrity: sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA==} + engines: {node: '>= 12'} + dev: true + /debug/2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} peerDependencies: @@ -2331,6 +2351,7 @@ packages: /delayed-stream/1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} + dev: false /delegates/1.0.0: resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} @@ -2360,8 +2381,8 @@ packages: resolution: {integrity: sha512-nMNZG0zfMgmdv8S5O0TM5cpwNbGKRGPCxVsr0SmA3NZZy9CYBbuNLL0PD3Acx9e5LIUgwONXtM9kM6RlawPxEQ==} dev: false - /dezalgo/1.0.3: - resolution: {integrity: sha512-K7i4zNfT2kgQz3GylDw40ot9GAE47sFZ9EXHFSPP6zONLgH6kWXE0KWJchkbQJLBkRazq4APwZ4OwiFFlT95OQ==} + /dezalgo/1.0.4: + resolution: {integrity: sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==} dependencies: asap: 2.0.6 wrappy: 1.0.2 @@ -2773,6 +2794,14 @@ packages: resolution: {integrity: sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==} dev: false + /fetch-blob/3.2.0: + resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==} + engines: {node: ^12.20 || >= 14.13} + dependencies: + node-domexception: 1.0.0 + web-streams-polyfill: 3.2.1 + dev: true + /file-entry-cache/6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} @@ -2862,15 +2891,6 @@ packages: signal-exit: 3.0.7 dev: true - /form-data/3.0.1: - resolution: {integrity: sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==} - engines: {node: '>= 6'} - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.35 - dev: true - /form-data/4.0.0: resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} engines: {node: '>= 6'} @@ -2880,13 +2900,20 @@ packages: mime-types: 2.1.35 dev: false - /formidable/2.0.1: - resolution: {integrity: sha512-rjTMNbp2BpfQShhFbR3Ruk3qk2y9jKpvMW78nJgx8QKtxjDVrwbZG+wvDOmVbifHyOUOQJXxqEy6r0faRrPzTQ==} + /formdata-polyfill/4.0.10: + resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==} + engines: {node: '>=12.20.0'} dependencies: - dezalgo: 1.0.3 + fetch-blob: 3.2.0 + dev: true + + /formidable/2.1.1: + resolution: {integrity: sha512-0EcS9wCFEzLvfiks7omJ+SiYJAiD+TzK4Pcw1UlUoGnhUxDcMKjt0P7x8wEb0u6OHu8Nb98WG3nxtlF5C7bvUQ==} + dependencies: + dezalgo: 1.0.4 hexoid: 1.0.0 once: 1.4.0 - qs: 6.9.3 + qs: 6.11.0 dev: false /forwarded/0.2.0: @@ -4156,12 +4183,14 @@ packages: /mime-db/1.52.0: resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} engines: {node: '>= 0.6'} + dev: false /mime-types/2.1.35: resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} engines: {node: '>= 0.6'} dependencies: mime-db: 1.52.0 + dev: false /mime/1.6.0: resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} @@ -4243,16 +4272,19 @@ packages: resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} dev: true - /node-fetch/2.6.7: - resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true + /node-domexception/1.0.0: + resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} + engines: {node: '>=10.5.0'} + dev: true + + /node-fetch/3.3.0: + resolution: {integrity: sha512-BKwRP/O0UvoMKp7GNdwPlObhYGB5DQqwhEDQlNKuoqwVYSxkSZCSbHjnFFmUEtwSKRPU4kNK8PbDYYitwaE3QA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: - whatwg-url: 5.0.0 + data-uri-to-buffer: 4.0.0 + fetch-blob: 3.2.0 + formdata-polyfill: 4.0.10 + dev: true /node-int64/0.4.0: resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} @@ -4367,11 +4399,6 @@ packages: word-wrap: 1.2.3 dev: true - /p-finally/1.0.0: - resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} - engines: {node: '>=4'} - dev: true - /p-limit/2.3.0: resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} engines: {node: '>=6'} @@ -4405,19 +4432,17 @@ packages: aggregate-error: 3.1.0 dev: true - /p-queue/6.6.2: - resolution: {integrity: sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==} - engines: {node: '>=8'} + /p-queue/7.3.0: + resolution: {integrity: sha512-5fP+yVQ0qp0rEfZoDTlP2c3RYBgxvRsw30qO+VtPPc95lyvSG+x6USSh1TuLB4n96IO6I8/oXQGsTgtna4q2nQ==} + engines: {node: '>=12'} dependencies: eventemitter3: 4.0.7 - p-timeout: 3.2.0 + p-timeout: 5.1.0 dev: true - /p-timeout/3.2.0: - resolution: {integrity: sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==} - engines: {node: '>=8'} - dependencies: - p-finally: 1.0.0 + /p-timeout/5.1.0: + resolution: {integrity: sha512-auFDyzzzGZZZdHz3BtET9VEz0SE/uMEAx7uWfGPucfzEwwe/xH0iVeZibQmANYE/hp9T2+UUZT5m+BKyrDp3Ew==} + engines: {node: '>=12'} dev: true /p-try/2.2.0: @@ -4613,11 +4638,6 @@ packages: side-channel: 1.0.4 dev: false - /qs/6.9.3: - resolution: {integrity: sha512-EbZYNarm6138UKKq46tdx08Yo/q9ZhFoAXAI1meAFd2GtbRDhbZY2WQSICskT0c5q99aFzLG1D4nvTk9tqfXIw==} - engines: {node: '>=0.6'} - dev: false - /querystringify/2.2.0: resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} dev: false @@ -4750,8 +4770,8 @@ packages: glob: 7.2.3 dev: true - /rollup/3.5.0: - resolution: {integrity: sha512-TYu2L+TGhmNsXCtByont89u+ATQLcDy6A+++PwLXYunRtOm7XnaD+65s1pvewaOxMYR0eOkMXn9/i0saBxxpnQ==} + /rollup/3.5.1: + resolution: {integrity: sha512-hdQWTvPeiAbM6SUkxV70HdGUVxsgsc+CLy5fuh4KdgUBJ0SowXiix8gANgXoG3wEuLwfoJhCT2V+WwxfWq9Ikw==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: @@ -4791,8 +4811,8 @@ packages: resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==} dev: false - /selenium-webdriver/4.6.1: - resolution: {integrity: sha512-FT8Dw0tbzaTp8YYLuwhaCnve/nw03HKrOJrA3aUmTKmxaIFSP4kT2R5fN3K0RpV5kbR0ZnM4FGVI2vANBvekaA==} + /selenium-webdriver/4.7.0: + resolution: {integrity: sha512-ZB/77G6xKz96beiUIq6RSdU/Klccg8Fg6lGvEmsVSeLwOWjmJDRehBeXE/y59mytOqitYSewFzJsSU5Xov1X+Q==} engines: {node: '>= 14.20.0'} dependencies: jszip: 3.10.1 @@ -4936,7 +4956,7 @@ packages: dependencies: axios-ntlm: 1.3.1_debug@4.3.4 debug: 4.3.4 - formidable: 2.0.1 + formidable: 2.1.1 get-stream: 6.0.1 lodash: 4.17.21 sax: 1.2.4 @@ -5192,9 +5212,6 @@ packages: engines: {node: '>=6'} dev: false - /tr46/0.0.3: - resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - /triple-beam/1.3.0: resolution: {integrity: sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==} dev: false @@ -5467,8 +5484,10 @@ packages: makeerror: 1.0.12 dev: true - /webidl-conversions/3.0.1: - resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + /web-streams-polyfill/3.2.1: + resolution: {integrity: sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==} + engines: {node: '>= 8'} + dev: true /websocket-driver/0.7.4: resolution: {integrity: sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==} @@ -5489,12 +5508,6 @@ packages: engines: {node: '>=12'} dev: false - /whatwg-url/5.0.0: - resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} - dependencies: - tr46: 0.0.3 - webidl-conversions: 3.0.1 - /which-module/2.0.0: resolution: {integrity: sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q==} diff --git a/tools/jestEsmTransform.js b/tools/jestEsmTransform.js new file mode 100644 index 00000000..caf7c6bd --- /dev/null +++ b/tools/jestEsmTransform.js @@ -0,0 +1,31 @@ +/* + * Copyright 2019 Amadeus s.a.s. + * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and + * associated documentation files (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial + * portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT + * LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +/* eslint-disable @typescript-eslint/no-var-requires */ +const babel = require("@babel/core"); + +module.exports = { + process(src) { + return { + code: babel.transform(src, { + compact: false, + plugins: [require.resolve("@babel/plugin-transform-modules-commonjs")] + }).code + }; + } +}; diff --git a/vagrant/win10-chromium-nvda/urls.txt b/vagrant/win10-chromium-nvda/urls.txt index a3424a34..0fef5285 100644 --- a/vagrant/win10-chromium-nvda/urls.txt +++ b/vagrant/win10-chromium-nvda/urls.txt @@ -13,9 +13,9 @@ https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/G https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.6.0/selenium-server-4.6.0.jar out=selenium-server.jar checksum=sha-512=8d81dd4cfd76de1f72ce999999f615d79bccb9307cad79f20be64a97d3efba5875d7518764d80fb7039f7cebafb59eb17ef6ac4b9639e85c68ae935da0d556f1 -https://nodejs.org/dist/v16.14.0/node-v16.14.0-x64.msi +https://nodejs.org/dist/v18.12.1/node-v18.12.1-x64.msi out=node.msi - checksum=sha-512=c05c96b72b73039719a0a727518f6997742012ec8aa1dedad48bf5e2ec9d28d5259efb48fc19c86a238d9dc73106f6cd930774ca3112f739c332486068e022ee + checksum=sha-512=38b1819384b7e9da45bcf50a90c3f175de07e6f624c89d3614beec90376dc69b39d102bef4774a5d83db7829acdddce07fabe7bab726f6662c22d7341e970e7e # cf https://www.chromium.org/getting-involved/download-chromium https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Win%2F961656%2Fchrome-win.zip?generation=1642724549952286&alt=media out=chrome.zip