@lvce-editor/test-with-playwright 0.0.24 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-with-playwright",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "description": "",
5
5
  "main": "src/main.js",
6
6
  "types": "src/main.d.ts",
@@ -14,9 +14,9 @@
14
14
  "author": "",
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
- "@playwright/test": "^1.29.2",
17
+ "@playwright/test": "^1.34.2",
18
18
  "get-port": "^6.1.2",
19
- "minimist": "^1.2.7",
19
+ "minimist": "^1.2.8",
20
20
  "read-pkg-up": "^9.1.0"
21
21
  }
22
22
  }
package/src/all.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { expect } from '@playwright/test'
2
+ import parseArgv from 'minimist'
2
3
  import { readdirSync } from 'node:fs'
3
4
  import { basename, join } from 'node:path'
4
5
  import { performance } from 'node:perf_hooks'
5
- import { closeAll, getRoot, runTest, startAll, state } from './main.js'
6
- import parseArgv from 'minimist'
6
+ import { closeAll, getRoot, startAll } from './main.js'
7
7
 
8
8
  /**
9
9
  * @param {string} name
package/src/main.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { chromium } from '@playwright/test'
2
- import assert from 'assert'
3
- import { fork } from 'child_process'
4
- import { mkdir, mkdtemp, writeFile } from 'fs/promises'
2
+ import assert from 'node:assert'
3
+ import { fork } from 'node:child_process'
4
+ import { mkdir, mkdtemp, writeFile } from 'node:fs/promises'
5
5
  import getPort from 'get-port'
6
6
  import { join } from 'node:path'
7
7
  import { performance } from 'node:perf_hooks'
8
- import { tmpdir } from 'os'
9
- import { dirname } from 'path'
8
+ import { tmpdir } from 'node:os'
9
+ import { dirname } from 'node:path'
10
10
  import { readPackageUp } from 'read-pkg-up'
11
11
 
12
12
  export const state = {