diff --git a/lib/webpack.config.js b/lib/webpack.config.js index 4d60614..33f0b50 100644 --- a/lib/webpack.config.js +++ b/lib/webpack.config.js @@ -42,6 +42,7 @@ export function webpackConfig (env, options, runner) { ] }, module: { + exprContextCritical: false, // mocha stil has a require.resolve resulting in a noisy warning rules: [ { test: testFiles, diff --git a/package.json b/package.json index 17991a2..c3c0eec 100644 --- a/package.json +++ b/package.json @@ -9,16 +9,16 @@ "glob": "^8.0.1", "path-browserify": "^1.0.1", "process": "^0.11.10", - "puppeteer": "~13.7.0", - "raw-loader": "~4.0.2", + "puppeteer": "^13.7.0", + "raw-loader": "^4.0.2", "readable-stream": "^3.6.0", "rimraf": "^3.0.2", "st": "^3.0.0", "stream-browserify": "^3.0.0", "strip-ansi": "^7.0.1", - "webpack": "~5.72.0", - "webpack-merge": "~5.8.0", - "yargs": "^17.3.0" + "webpack": "^5.72.0", + "webpack-merge": "^5.8.0", + "yargs": "^17.4.1" }, "bin": { "polendina": "./polendina-cli.js", diff --git a/resources/mocha-run.js b/resources/mocha-run.js index 178ba58..f5b3dec 100644 --- a/resources/mocha-run.js +++ b/resources/mocha-run.js @@ -1,6 +1,6 @@ // in-browser setup and runner for Mocha, at end of bundle -import mochaExport from 'mocha/mocha-es2018.js' +import mochaExport from 'mocha/mocha.js' import { registry, executionQueue, log, setup } from './common-run.js' function runMocha () { diff --git a/test/fixtures/bare-async-esm/package.json b/test/fixtures/bare-async-esm/package.json index c1fb08f..afac986 100644 --- a/test/fixtures/bare-async-esm/package.json +++ b/test/fixtures/bare-async-esm/package.json @@ -14,6 +14,6 @@ }, "license": "Apache-2.0", "devDependencies": { - "chai": "^4.3.4" + "chai": "^4.3.6" } } diff --git a/test/fixtures/bare-async-failure-esm/package.json b/test/fixtures/bare-async-failure-esm/package.json index 96fcc31..fbe645f 100644 --- a/test/fixtures/bare-async-failure-esm/package.json +++ b/test/fixtures/bare-async-failure-esm/package.json @@ -14,6 +14,6 @@ }, "license": "Apache-2.0", "devDependencies": { - "chai": "^4.3.4" + "chai": "^4.3.6" } } diff --git a/test/fixtures/bare-async-failure/package.json b/test/fixtures/bare-async-failure/package.json index 63f1b29..c392f3d 100644 --- a/test/fixtures/bare-async-failure/package.json +++ b/test/fixtures/bare-async-failure/package.json @@ -13,6 +13,6 @@ }, "license": "Apache-2.0", "devDependencies": { - "chai": "^4.3.4" + "chai": "^4.3.6" } } diff --git a/test/fixtures/bare-async/package.json b/test/fixtures/bare-async/package.json index 306a071..054afa0 100644 --- a/test/fixtures/bare-async/package.json +++ b/test/fixtures/bare-async/package.json @@ -13,6 +13,6 @@ }, "license": "Apache-2.0", "devDependencies": { - "chai": "^4.3.4" + "chai": "^4.3.6" } } diff --git a/test/fixtures/bare-sync-esm/package.json b/test/fixtures/bare-sync-esm/package.json index 1fd09d4..299a4aa 100644 --- a/test/fixtures/bare-sync-esm/package.json +++ b/test/fixtures/bare-sync-esm/package.json @@ -14,6 +14,6 @@ }, "license": "Apache-2.0", "devDependencies": { - "chai": "^4.3.4" + "chai": "^4.3.6" } } diff --git a/test/fixtures/bare-sync-failure-esm/package.json b/test/fixtures/bare-sync-failure-esm/package.json index fb9dd57..51c0d2d 100644 --- a/test/fixtures/bare-sync-failure-esm/package.json +++ b/test/fixtures/bare-sync-failure-esm/package.json @@ -14,6 +14,6 @@ }, "license": "Apache-2.0", "devDependencies": { - "chai": "^4.3.4" + "chai": "^4.3.6" } } diff --git a/test/fixtures/bare-sync-failure/package.json b/test/fixtures/bare-sync-failure/package.json index b6bbbb9..9fc53ea 100644 --- a/test/fixtures/bare-sync-failure/package.json +++ b/test/fixtures/bare-sync-failure/package.json @@ -13,6 +13,6 @@ }, "license": "Apache-2.0", "devDependencies": { - "chai": "^4.3.4" + "chai": "^4.3.6" } } diff --git a/test/fixtures/bare-sync/package.json b/test/fixtures/bare-sync/package.json index 35107c1..ad59fd1 100644 --- a/test/fixtures/bare-sync/package.json +++ b/test/fixtures/bare-sync/package.json @@ -13,6 +13,6 @@ }, "license": "Apache-2.0", "devDependencies": { - "chai": "^4.3.4" + "chai": "^4.3.6" } } diff --git a/test/fixtures/mocha-esm/package.json b/test/fixtures/mocha-esm/package.json index 2f81a34..af1e319 100644 --- a/test/fixtures/mocha-esm/package.json +++ b/test/fixtures/mocha-esm/package.json @@ -14,7 +14,7 @@ "url": "https://github.com/rvagg/polendina.git" }, "devDependencies": { - "chai": "^4.3.4", - "mocha": "~9.2.0" + "chai": "^4.3.6", + "mocha": "^10.0.0" } } diff --git a/test/fixtures/mocha-failure-esm/package.json b/test/fixtures/mocha-failure-esm/package.json index 87e30f3..7d6bc7f 100644 --- a/test/fixtures/mocha-failure-esm/package.json +++ b/test/fixtures/mocha-failure-esm/package.json @@ -14,7 +14,7 @@ "url": "https://github.com/rvagg/polendina.git" }, "devDependencies": { - "chai": "^4.3.4", - "mocha": "~9.2.0" + "chai": "^4.3.6", + "mocha": "^10.0.0" } } diff --git a/test/fixtures/mocha-failure/package.json b/test/fixtures/mocha-failure/package.json index 8514546..2d31181 100644 --- a/test/fixtures/mocha-failure/package.json +++ b/test/fixtures/mocha-failure/package.json @@ -13,7 +13,7 @@ "url": "https://github.com/rvagg/polendina.git" }, "devDependencies": { - "chai": "^4.3.4", - "mocha": "~9.2.0" + "chai": "^4.3.6", + "mocha": "^10.0.0" } } diff --git a/test/fixtures/mocha/package.json b/test/fixtures/mocha/package.json index acc1c73..abbeea8 100644 --- a/test/fixtures/mocha/package.json +++ b/test/fixtures/mocha/package.json @@ -13,7 +13,7 @@ "url": "https://github.com/rvagg/polendina.git" }, "devDependencies": { - "chai": "^4.3.4", - "mocha": "~9.2.0" + "chai": "^4.3.6", + "mocha": "^10.0.0" } } diff --git a/test/fixtures/tape-esm/package.json b/test/fixtures/tape-esm/package.json index 1aa1eed..c85a81c 100644 --- a/test/fixtures/tape-esm/package.json +++ b/test/fixtures/tape-esm/package.json @@ -14,6 +14,6 @@ "url": "https://github.com/rvagg/polendina.git" }, "devDependencies": { - "tape": "~5.5.0" + "tape": "^5.5.3" } } diff --git a/test/fixtures/tape-failure-esm/package.json b/test/fixtures/tape-failure-esm/package.json index f013ae2..959cd58 100644 --- a/test/fixtures/tape-failure-esm/package.json +++ b/test/fixtures/tape-failure-esm/package.json @@ -14,6 +14,6 @@ "url": "https://github.com/rvagg/polendina.git" }, "devDependencies": { - "tape": "~5.5.0" + "tape": "^5.5.3" } } diff --git a/test/fixtures/tape-failure/package.json b/test/fixtures/tape-failure/package.json index 9f7905f..ac2352a 100644 --- a/test/fixtures/tape-failure/package.json +++ b/test/fixtures/tape-failure/package.json @@ -13,6 +13,6 @@ "url": "https://github.com/rvagg/polendina.git" }, "devDependencies": { - "tape": "~5.5.0" + "tape": "^5.5.3" } } diff --git a/test/fixtures/tape/package.json b/test/fixtures/tape/package.json index 14514f7..5e8b6d8 100644 --- a/test/fixtures/tape/package.json +++ b/test/fixtures/tape/package.json @@ -13,6 +13,6 @@ "url": "https://github.com/rvagg/polendina.git" }, "devDependencies": { - "tape": "~5.5.0" + "tape": "^5.5.3" } } diff --git a/test/fixtures/webpack-merge/package.json b/test/fixtures/webpack-merge/package.json index ec26697..3db35fc 100644 --- a/test/fixtures/webpack-merge/package.json +++ b/test/fixtures/webpack-merge/package.json @@ -13,6 +13,6 @@ }, "license": "Apache-2.0", "devDependencies": { - "chai": "^4.3.4" + "chai": "^4.3.6" } }