polendina 3.2.4 → 3.2.5

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.
@@ -12,7 +12,7 @@ jobs:
12
12
  - name: Checkout Repository
13
13
  uses: actions/checkout@v4
14
14
  - name: Use Node.js ${{ matrix.node }}
15
- uses: actions/setup-node@v4.0.4
15
+ uses: actions/setup-node@v4.1.0
16
16
  with:
17
17
  node-version: ${{ matrix.node }}
18
18
  - name: Install Dependencies
@@ -33,7 +33,7 @@ jobs:
33
33
  with:
34
34
  fetch-depth: 0
35
35
  - name: Setup Node.js
36
- uses: actions/setup-node@v4.0.4
36
+ uses: actions/setup-node@v4.1.0
37
37
  with:
38
38
  node-version: lts/*
39
39
  - name: Install dependencies
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## [3.2.5](https://github.com/rvagg/polendina/compare/v3.2.4...v3.2.5) (2024-10-25)
2
+
3
+ ### Bug Fixes
4
+
5
+ * adapt to Node.js 23 ESM CJS import wrapper ([85c1353](https://github.com/rvagg/polendina/commit/85c13537efa1316f7e77e269cf9a4e7664fa6e59))
6
+
7
+ ### Trivial Changes
8
+
9
+ * **deps:** bump actions/setup-node from 4.0.4 to 4.1.0 ([f52212d](https://github.com/rvagg/polendina/commit/f52212d85c8e2a06a3ef596a7f0130a65fda76a2))
10
+ * update deps ([cfd7be4](https://github.com/rvagg/polendina/commit/cfd7be4fff78503eccef4fc328cec14ecff68f0e))
11
+
1
12
  ## [3.2.4](https://github.com/rvagg/polendina/compare/v3.2.3...v3.2.4) (2024-09-26)
2
13
 
3
14
  ### Trivial Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polendina",
3
- "version": "3.2.4",
3
+ "version": "3.2.5",
4
4
  "description": "Non-UI browser testing for JavaScript libraries from the command-line",
5
5
  "main": "polendina.js",
6
6
  "type": "module",
@@ -9,14 +9,14 @@
9
9
  "glob": "^11.0.0",
10
10
  "path-browserify": "^1.0.1",
11
11
  "process": "^0.11.10",
12
- "puppeteer": "^23.4.0",
12
+ "puppeteer": "^23.6.0",
13
13
  "raw-loader": "^4.0.2",
14
14
  "readable-stream": "^4.5.2",
15
15
  "rimraf": "^6.0.1",
16
- "st": "^3.0.0",
16
+ "st": "^3.0.1",
17
17
  "stream-browserify": "^3.0.0",
18
18
  "strip-ansi": "^7.1.0",
19
- "webpack": "^5.94.0",
19
+ "webpack": "^5.95.0",
20
20
  "webpack-merge": "^6.0.1",
21
21
  "yargs": "^17.7.2"
22
22
  },
@@ -46,7 +46,11 @@ async function run () {
46
46
  const tests = testFiles.map((f) => {
47
47
  return {
48
48
  name: path.relative(process.cwd(), f),
49
- load: () => import(new URL(`file://${path.resolve(process.cwd(), f)}`))
49
+ load: async () => {
50
+ const mod = await import(new URL(`file://${path.resolve(process.cwd(), f)}`))
51
+ // Node.js 23 ESM CJS wrapper
52
+ return 'module.exports' in mod ? mod['module.exports'] : mod
53
+ }
50
54
  }
51
55
  })
52
56
  const log = {