polendina 3.2.4 → 3.2.6

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,23 @@
1
+ ## [3.2.6](https://github.com/rvagg/polendina/compare/v3.2.5...v3.2.6) (2024-12-03)
2
+
3
+ ### Trivial Changes
4
+
5
+ * **deps-dev:** bump mocha in /test/fixtures/mocha ([2694528](https://github.com/rvagg/polendina/commit/2694528c0dd35224c6dfa9f608cd89285afc187e))
6
+ * **deps-dev:** bump mocha in /test/fixtures/mocha-esm ([42d3c28](https://github.com/rvagg/polendina/commit/42d3c28e42513aa87204c1ecac9d960d54c275c6))
7
+ * **deps-dev:** bump mocha in /test/fixtures/mocha-failure ([56aef00](https://github.com/rvagg/polendina/commit/56aef004cd68f3c5c80fd4ba8344ae04c6b99193))
8
+ * **deps-dev:** bump mocha in /test/fixtures/mocha-failure-esm ([e685972](https://github.com/rvagg/polendina/commit/e685972590ad5bea7f7bc3b99fd63f4c5d81e7b3))
9
+
10
+ ## [3.2.5](https://github.com/rvagg/polendina/compare/v3.2.4...v3.2.5) (2024-10-25)
11
+
12
+ ### Bug Fixes
13
+
14
+ * adapt to Node.js 23 ESM CJS import wrapper ([85c1353](https://github.com/rvagg/polendina/commit/85c13537efa1316f7e77e269cf9a4e7664fa6e59))
15
+
16
+ ### Trivial Changes
17
+
18
+ * **deps:** bump actions/setup-node from 4.0.4 to 4.1.0 ([f52212d](https://github.com/rvagg/polendina/commit/f52212d85c8e2a06a3ef596a7f0130a65fda76a2))
19
+ * update deps ([cfd7be4](https://github.com/rvagg/polendina/commit/cfd7be4fff78503eccef4fc328cec14ecff68f0e))
20
+
1
21
  ## [3.2.4](https://github.com/rvagg/polendina/compare/v3.2.3...v3.2.4) (2024-09-26)
2
22
 
3
23
  ### 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.6",
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 = {
@@ -14,6 +14,6 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "chai": "^5.1.1",
17
- "mocha": "^10.2.0"
17
+ "mocha": "^11.0.1"
18
18
  }
19
19
  }
@@ -15,6 +15,6 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "chai": "^5.1.1",
18
- "mocha": "^10.2.0"
18
+ "mocha": "^11.0.1"
19
19
  }
20
20
  }
@@ -14,6 +14,6 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "chai": "^5.1.1",
17
- "mocha": "^10.2.0"
17
+ "mocha": "^11.0.1"
18
18
  }
19
19
  }
@@ -15,6 +15,6 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "chai": "^5.1.1",
18
- "mocha": "^10.2.0"
18
+ "mocha": "^11.0.1"
19
19
  }
20
20
  }