Skip to content

Commit

Permalink
feat!: bump node@18, webpack@5.76.0, ncc@0.38.1, codecov@3.8.4 (#187)
Browse files Browse the repository at this point in the history
BREAKING CHANGE

- node@18
- webpack@5.76.0
- ncc@0.38.1
- codecov@3.8.4

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
styfle and dependabot[bot] committed May 16, 2024
1 parent fdc3ae1 commit 749afdf
Show file tree
Hide file tree
Showing 161 changed files with 1,297 additions and 1,228 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [14]
node: [18]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Print Node Version
Expand All @@ -29,14 +29,14 @@ jobs:
run: yarn install
- name: Run Tests
run: yarn test
- name: Run yarn pnp tests
if: matrix.os == 'ubuntu-latest'
run: yarn test-pnp
# - name: Run yarn pnp tests
# if: matrix.os == 'ubuntu-latest'
# run: yarn test-pnp
- name: Coverage
if: matrix.os == 'ubuntu-latest'
run: yarn test-coverage
- name: Release
if: matrix.os == 'ubuntu-latest' && matrix.node == 14 && github.event_name == 'push' && github.ref == 'refs/heads/main'
if: matrix.os == 'ubuntu-latest' && matrix.node == 18 && github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }}
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"resolve": "^1.10.0"
},
"devDependencies": {
"@vercel/ncc": "^0.25.1",
"@vercel/ncc": "^0.38.1",
"acorn": "^8.3.0",
"acorn-class-fields": "^1.0.0",
"acorn-private-class-elements": "^1.0.0",
"acorn-static-class-features": "^1.0.0",
"bindings": "^1.4.0",
"codecov": "^3.6.5",
"codecov": "^3.8.3",
"estree-walker": "^0.6.1",
"glob": "^7.1.3",
"graceful-fs": "^4.1.15",
Expand All @@ -42,5 +42,6 @@
"sourcemap-codec": "^1.4.4",
"webpack": "^5",
"webpack-cli": "^4"
}
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
4 changes: 3 additions & 1 deletion test/unit/amd-disable/output-coverage.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/******/ (() => { // webpackBootstrap
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";/************************************************************************/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";
/******/
/************************************************************************/
var __webpack_exports__ = {};
if (typeof define === 'function' && define.amd)
define(function (require) {
Expand Down
4 changes: 3 additions & 1 deletion test/unit/amd-disable/output.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/******/ (() => { // webpackBootstrap
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";/************************************************************************/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
/******/
/************************************************************************/
var __webpack_exports__ = {};
if (typeof define === 'function' && define.amd)
define(function (require) {
Expand Down
10 changes: 6 additions & 4 deletions test/unit/array-emission/output-coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
/******/ "use strict";
/******/ var __webpack_modules__ = ({

/***/ 747:
/***/ 147:
/***/ ((module) => {

module.exports = require("fs");;
module.exports = require("fs");

/***/ })

Expand Down Expand Up @@ -38,13 +38,15 @@ module.exports = require("fs");;
/************************************************************************/
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";/************************************************************************/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {


const fs = __webpack_require__(747);
const fs = __webpack_require__(147);

const REPORT_JAVASCRIPT = [
fs.readFileSync(__webpack_require__.ab + "util.js", 'utf8'),
Expand Down
14 changes: 8 additions & 6 deletions test/unit/array-emission/output.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
/******/ "use strict";
/******/ var __webpack_modules__ = ({

/***/ 747:
/***/ 147:
/***/ ((module) => {

module.exports = require("fs");;
module.exports = require("fs");

/***/ })

Expand Down Expand Up @@ -38,17 +38,19 @@ module.exports = require("fs");;
/************************************************************************/
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";/************************************************************************/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {


const fs = __webpack_require__(747);
const fs = __webpack_require__(147);

const REPORT_JAVASCRIPT = [
fs.readFileSync(__webpack_require__.ab + "util.js", 'utf8'),
fs.readFileSync(__webpack_require__.ab + "dom.js", 'utf8'),
fs.readFileSync(__nccwpck_require__.ab + "util.js", 'utf8'),
fs.readFileSync(__nccwpck_require__.ab + "dom.js", 'utf8'),
].join(';\n');

})();
Expand Down
4 changes: 3 additions & 1 deletion test/unit/array-holes/output-coverage.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/******/ (() => { // webpackBootstrap
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";/************************************************************************/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";
/******/
/************************************************************************/
var __webpack_exports__ = {};
var a = [1,,2];

Expand Down
4 changes: 3 additions & 1 deletion test/unit/array-holes/output.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/******/ (() => { // webpackBootstrap
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";/************************************************************************/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
/******/
/************************************************************************/
var __webpack_exports__ = {};
var a = [1,,2];

Expand Down
10 changes: 6 additions & 4 deletions test/unit/asset-conditional/output-coverage.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({

/***/ 622:
/***/ 17:
/***/ ((module) => {

"use strict";
module.exports = require("path");;
module.exports = require("path");

/***/ })

Expand Down Expand Up @@ -38,11 +38,13 @@ module.exports = require("path");;
/************************************************************************/
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";/************************************************************************/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
const path = __webpack_require__(622);
const path = __webpack_require__(17);
let moduleJsPath = isHarmony ? __webpack_require__.ab + "asset1.txt" : __webpack_require__.ab + "asset2.txt";
})();

Expand Down
12 changes: 7 additions & 5 deletions test/unit/asset-conditional/output.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({

/***/ 622:
/***/ 17:
/***/ ((module) => {

"use strict";
module.exports = require("path");;
module.exports = require("path");

/***/ })

Expand Down Expand Up @@ -38,12 +38,14 @@ module.exports = require("path");;
/************************************************************************/
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";/************************************************************************/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
const path = __webpack_require__(622);
let moduleJsPath = isHarmony ? __webpack_require__.ab + "asset1.txt" : __webpack_require__.ab + "asset2.txt";
const path = __webpack_require__(17);
let moduleJsPath = isHarmony ? __nccwpck_require__.ab + "asset1.txt" : __nccwpck_require__.ab + "asset2.txt";
})();

module.exports = __webpack_exports__;
Expand Down
16 changes: 9 additions & 7 deletions test/unit/asset-fs-array-expr/output-coverage.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({

/***/ 129:
/***/ 81:
/***/ ((module) => {

"use strict";
module.exports = require("child_process");;
module.exports = require("child_process");

/***/ }),

/***/ 622:
/***/ 17:
/***/ ((module) => {

"use strict";
module.exports = require("path");;
module.exports = require("path");

/***/ })

Expand Down Expand Up @@ -46,12 +46,14 @@ module.exports = require("path");;
/************************************************************************/
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";/************************************************************************/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
const { spawn } = __webpack_require__(129);
const { join } = __webpack_require__(622);
const { spawn } = __webpack_require__(81);
const { join } = __webpack_require__(17);

const child = spawn(gifsicle, ['--colors', '256', __webpack_require__.ab + "asset1.txt"]);

Expand Down
18 changes: 10 additions & 8 deletions test/unit/asset-fs-array-expr/output.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({

/***/ 129:
/***/ 81:
/***/ ((module) => {

"use strict";
module.exports = require("child_process");;
module.exports = require("child_process");

/***/ }),

/***/ 622:
/***/ 17:
/***/ ((module) => {

"use strict";
module.exports = require("path");;
module.exports = require("path");

/***/ })

Expand Down Expand Up @@ -46,14 +46,16 @@ module.exports = require("path");;
/************************************************************************/
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";/************************************************************************/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
const { spawn } = __webpack_require__(129);
const { join } = __webpack_require__(622);
const { spawn } = __webpack_require__(81);
const { join } = __webpack_require__(17);

const child = spawn(gifsicle, ['--colors', '256', __webpack_require__.ab + "asset1.txt"]);
const child = spawn(gifsicle, ['--colors', '256', __nccwpck_require__.ab + "asset1.txt"]);

})();

Expand Down
10 changes: 6 additions & 4 deletions test/unit/asset-fs-existing-asset-name/output-coverage.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({

/***/ 747:
/***/ 147:
/***/ ((module) => {

"use strict";
module.exports = require("fs");;
module.exports = require("fs");

/***/ })

Expand Down Expand Up @@ -38,11 +38,13 @@ module.exports = require("fs");;
/************************************************************************/
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";/************************************************************************/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
const fs = __webpack_require__(747);
const fs = __webpack_require__(147);
console.log(fs.readFileSync(__webpack_require__.ab + "existing1.txt"));

})();
Expand Down
12 changes: 7 additions & 5 deletions test/unit/asset-fs-existing-asset-name/output.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({

/***/ 747:
/***/ 147:
/***/ ((module) => {

"use strict";
module.exports = require("fs");;
module.exports = require("fs");

/***/ })

Expand Down Expand Up @@ -38,12 +38,14 @@ module.exports = require("fs");;
/************************************************************************/
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + "/";/************************************************************************/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
const fs = __webpack_require__(747);
console.log(fs.readFileSync(__webpack_require__.ab + "existing1.txt"));
const fs = __webpack_require__(147);
console.log(fs.readFileSync(__nccwpck_require__.ab + "existing1.txt"));

})();

Expand Down
Loading

0 comments on commit 749afdf

Please sign in to comment.