diff --git a/package.json b/package.json index db5d49b68..50d602c66 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@sentry/node": "^7.66.0", "@slack/web-api": "^6.9.0", "@types/node": "^25.9.0", - "@vercel/webpack-asset-relocator-loader": "1.7.3", + "@vercel/webpack-asset-relocator-loader": "1.10.3", "analytics-node": "^6.2.0", "apollo-server-express": "^2.2.2", "arg": "^5.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f01a45d85..077c3e202 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,8 +41,8 @@ importers: specifier: ^25.9.0 version: 25.9.0 '@vercel/webpack-asset-relocator-loader': - specifier: 1.7.3 - version: 1.7.3 + specifier: 1.10.3 + version: 1.10.3(encoding@0.1.13) analytics-node: specifier: ^6.2.0 version: 6.2.0 @@ -1173,6 +1173,11 @@ packages: resolution: {integrity: sha512-TuB0x50EoAvEX/UEWITd8Mkn3WhiTjSvbTMCLj0BhsQEl5iUzjXdA0bETEVpTk+5TGTLR6QktI9H4hLviVeaAQ==} engines: {node: '>=v12.0.0'} + '@mapbox/node-pre-gyp@2.0.3': + resolution: {integrity: sha512-uwPAhccfFJlsfCxMYTwOdVfOz3xqyj8xYL3zJj8f0pb30tLohnnFPhLuqp4/qoEz8sNxe4SESZedcBojRefIzg==} + engines: {node: '>=18'} + hasBin: true + '@mongodb-js/saslprep@1.4.11': resolution: {integrity: sha512-o9rAHc0IpIjuPSxRutWpE1F62x7n+4mVS4rCNHkzhIUMQcc18bb6xEq5wd2NdN0WjepIyXIppRshYI2kQDOZVA==} @@ -1512,8 +1517,8 @@ packages: resolution: {integrity: sha512-yURCknZhvywvQItHMMmFSo+fq5arCUIyz/CVk7jD89MSai7dkaX8ufjCWp3NttLojoTVbcE72ri+be/TnEbMHw==} engines: {node: '>=20.0.0'} - '@vercel/webpack-asset-relocator-loader@1.7.3': - resolution: {integrity: sha512-vizrI18v8Lcb1PmNNUBz7yxPxxXoOeuaVEjTG9MjvDrphjiSxFZrRJ5tIghk+qdLFRCXI5HBCshgobftbmrC5g==} + '@vercel/webpack-asset-relocator-loader@1.10.3': + resolution: {integrity: sha512-G8jCqUKGsgvzHA1R9SAh2pzMT/Cea5BKmx1C3ng18ykLWj58o9PXWt9Fj8fO4b5GRwezR1Btib1DbQ6pByxb5g==} '@vue/compiler-sfc@2.7.16': resolution: {integrity: sha512-KWhJ9k5nXuNtygPU7+t1rX6baZeqOYLEforUPjgNDBnLicfHCoi48H87Q8XyLZOrNNsmhuwKqtpDQWjEFe6Ekg==} @@ -1580,6 +1585,10 @@ packages: resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} deprecated: Use your platform's native atob() and btoa() methods instead + abbrev@3.0.1: + resolution: {integrity: sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==} + engines: {node: ^18.17.0 || >=20.5.0} + abbrev@4.0.0: resolution: {integrity: sha512-a1wflyaL0tHtJSmLSOVybYhy22vRih4eduhhrkcjgrWGnRfrZtovJ2FRjxuTtkkj47O/baf0R86QU5OuYpz8fA==} engines: {node: ^20.17.0 || >=22.9.0} @@ -1600,6 +1609,12 @@ packages: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} + acorn-class-fields@1.0.0: + resolution: {integrity: sha512-l+1FokF34AeCXGBHkrXFmml9nOIRI+2yBnBpO5MaVAaTIJ96irWLtcCxX+7hAp6USHFCe+iyyBB4ZhxV807wmA==} + engines: {node: '>=4.8.2'} + peerDependencies: + acorn: ^6 || ^7 || ^8 + acorn-globals@6.0.0: resolution: {integrity: sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==} @@ -1616,6 +1631,18 @@ packages: acorn-node@1.8.2: resolution: {integrity: sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==} + acorn-private-class-elements@1.0.0: + resolution: {integrity: sha512-zYNcZtxKgVCg1brS39BEou86mIao1EV7eeREG+6WMwKbuYTeivRRs6S2XdWnboRde6G9wKh2w+WBydEyJsJ6mg==} + engines: {node: '>=4.8.2'} + peerDependencies: + acorn: ^6.1.0 || ^7 || ^8 + + acorn-static-class-features@1.0.0: + resolution: {integrity: sha512-XZJECjbmMOKvMHiNzbiPXuXpLAJfN3dAKtfIYbk1eHiWdsutlek+gS7ND4B8yJ3oqvHo1NxfafnezVmq7NXK0A==} + engines: {node: '>=4.8.2'} + peerDependencies: + acorn: ^6.1.0 || ^7 || ^8 + acorn-walk@7.2.0: resolution: {integrity: sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==} engines: {node: '>=0.4.0'} @@ -2081,6 +2108,9 @@ packages: bcryptjs@2.4.3: resolution: {integrity: sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ==} + big.js@5.2.2: + resolution: {integrity: sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==} + big.js@7.0.1: resolution: {integrity: sha512-iFgV784tD8kq4ccF1xtNMZnXeZzVuXWWM+ERFzKQjv+A5G9HC8CY3DuV45vgzFFcW+u2tIvmF95+AzWgs6BjCg==} @@ -2504,6 +2534,10 @@ packages: connection-parse@0.0.7: resolution: {integrity: sha512-bTTG28diWg7R7/+qE5NZumwPbCiJOT8uPdZYu674brDjBWQctbaQbYlDKhalS+4i5HxIx+G8dZsnBHKzWpp01A==} + consola@3.4.2: + resolution: {integrity: sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==} + engines: {node: ^14.18.0 || >=16.10.0} + console-browserify@1.2.0: resolution: {integrity: sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==} @@ -3083,6 +3117,10 @@ packages: emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + emojis-list@3.0.0: + resolution: {integrity: sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==} + engines: {node: '>= 4'} + encodeurl@2.0.0: resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} engines: {node: '>= 0.8'} @@ -3254,6 +3292,9 @@ packages: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} + estree-walker@0.6.1: + resolution: {integrity: sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==} + esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -4696,6 +4737,10 @@ packages: json-stringify-safe@5.0.1: resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} + json5@1.0.2: + resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} + hasBin: true + json5@2.2.3: resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} engines: {node: '>=6'} @@ -4880,6 +4925,10 @@ packages: resolution: {integrity: sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w==} engines: {node: '>=6.11.5'} + loader-utils@1.4.2: + resolution: {integrity: sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==} + engines: {node: '>=4.0.0'} + localforage@1.10.0: resolution: {integrity: sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==} @@ -5032,6 +5081,9 @@ packages: lru-memoizer@2.3.0: resolution: {integrity: sha512-GXn7gyHAMhO13WSKrIiNfztwxodVsP8IoZ3XfrJV4yH2x0/OeTO/FIaAHTY5YekdGgW94njfuKmyyt1E0mR6Ug==} + magic-string@0.25.9: + resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} + mailgun@0.5.0: resolution: {integrity: sha512-g0qrj4RP7l3S6+9Fb7x0nTmRoR+oB1rm68iEuSg3IKJir67b9RE5kfsNyK3ZenVgDCLRCdtaheDiybjkSYeZRA==} @@ -5440,6 +5492,11 @@ packages: resolution: {integrity: sha512-Z+iLaBGVaSjbIzQ4pX6XV41HrooLsQ10ZWPUehGmuantvzWoDVBnmsdUcOIDM1t+yPor5pDhVlDESgOMEGxhHA==} engines: {node: '>=6.0.0'} + nopt@8.1.0: + resolution: {integrity: sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==} + engines: {node: ^18.17.0 || >=20.5.0} + hasBin: true + nopt@9.0.0: resolution: {integrity: sha512-Zhq3a+yFKrYwSBluL4H9XP3m3y5uvQkB/09CwDruCiRmR/UJYnn9W4R48ry0uGC70aeTPKLynBtscP9efFFcPw==} engines: {node: ^20.17.0 || >=22.9.0} @@ -6247,6 +6304,10 @@ packages: resolution: {integrity: sha512-QxMPqI6le2u0dCLyiGzgy92kjkkL6zO0XyvHzjdTNH3zM6e5Hz3BwG6+aEyNgiQ5Xz6PwTwgQEj3U50dByPKIA==} engines: {node: '>=0.10.0'} + resolve-from@3.0.0: + resolution: {integrity: sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw==} + engines: {node: '>=4'} + resolve-from@5.0.0: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} @@ -6318,6 +6379,9 @@ packages: robots-parser@2.4.0: resolution: {integrity: sha512-oO8f2SI04dJk3pbj2KOMJ4G6QfPAgqcGmrYGmansIcpRewIPT2ljWEt5I+ip6EgiyaLo+RXkkUWw74M25HDkMA==} + rollup-pluginutils@2.8.2: + resolution: {integrity: sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==} + rootpath@0.1.2: resolution: {integrity: sha512-R3wLbuAYejpxQjL/SjXo1Cjv4wcJECnMRT/FlcCfTwCBhaji9rWaRCoVEQ1SPiTJ4kKK+yh+bZLAV7SCafoDDw==} @@ -6639,6 +6703,10 @@ packages: resolution: {integrity: sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==} engines: {node: '>= 12'} + sourcemap-codec@1.4.8: + resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} + deprecated: Please use @jridgewell/sourcemap-codec instead + sparse-bitfield@3.0.3: resolution: {integrity: sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==} @@ -9215,6 +9283,19 @@ snapshots: dependencies: lodash: 4.18.1 + '@mapbox/node-pre-gyp@2.0.3(encoding@0.1.13)': + dependencies: + consola: 3.4.2 + detect-libc: 2.1.2 + https-proxy-agent: 7.0.6 + node-fetch: 2.7.0(encoding@0.1.13) + nopt: 8.1.0 + semver: 7.8.0 + tar: 7.5.15 + transitivePeerDependencies: + - encoding + - supports-color + '@mongodb-js/saslprep@1.4.11': dependencies: sparse-bitfield: 3.0.3 @@ -9608,9 +9689,27 @@ snapshots: transitivePeerDependencies: - supports-color - '@vercel/webpack-asset-relocator-loader@1.7.3': + '@vercel/webpack-asset-relocator-loader@1.10.3(encoding@0.1.13)': dependencies: + '@mapbox/node-pre-gyp': 2.0.3(encoding@0.1.13) + acorn: 8.16.0 + acorn-class-fields: 1.0.0(acorn@8.16.0) + acorn-private-class-elements: 1.0.0(acorn@8.16.0) + acorn-static-class-features: 1.0.0(acorn@8.16.0) + bindings: 1.5.0 + estree-walker: 0.6.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + loader-utils: 1.4.2 + magic-string: 0.25.9 + node-gyp-build: 4.8.4 resolve: 1.22.12 + resolve-from: 3.0.0 + rollup-pluginutils: 2.8.2 + sourcemap-codec: 1.4.8 + transitivePeerDependencies: + - encoding + - supports-color '@vue/compiler-sfc@2.7.16': dependencies: @@ -9711,6 +9810,8 @@ snapshots: abab@2.0.6: {} + abbrev@3.0.1: {} + abbrev@4.0.0: {} abort-controller@3.0.0: @@ -9735,6 +9836,11 @@ snapshots: mime-types: 2.1.35 negotiator: 0.6.3 + acorn-class-fields@1.0.0(acorn@8.16.0): + dependencies: + acorn: 8.16.0 + acorn-private-class-elements: 1.0.0(acorn@8.16.0) + acorn-globals@6.0.0: dependencies: acorn: 7.4.1 @@ -9754,6 +9860,15 @@ snapshots: acorn-walk: 7.2.0 xtend: 4.0.2 + acorn-private-class-elements@1.0.0(acorn@8.16.0): + dependencies: + acorn: 8.16.0 + + acorn-static-class-features@1.0.0(acorn@8.16.0): + dependencies: + acorn: 8.16.0 + acorn-private-class-elements: 1.0.0(acorn@8.16.0) + acorn-walk@7.2.0: {} acorn-walk@8.3.5: @@ -10294,6 +10409,8 @@ snapshots: bcryptjs@2.4.3: {} + big.js@5.2.2: {} + big.js@7.0.1: {} bignumber.js@9.0.0: {} @@ -10305,7 +10422,6 @@ snapshots: bindings@1.5.0: dependencies: file-uri-to-path: 1.0.0 - optional: true bl@1.2.3: dependencies: @@ -10903,6 +11019,8 @@ snapshots: connection-parse@0.0.7: {} + consola@3.4.2: {} + console-browserify@1.2.0: {} consolidate@0.16.0(ejs@3.1.10)(lodash@4.18.1)(pug@3.0.4)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)(swig@1.4.2)(underscore@1.13.8): @@ -11329,6 +11447,8 @@ snapshots: emoji-regex@8.0.0: {} + emojis-list@3.0.0: {} + encodeurl@2.0.0: {} encoding@0.1.13: @@ -11588,6 +11708,8 @@ snapshots: estraverse@5.3.0: {} + estree-walker@0.6.1: {} + esutils@2.0.3: {} etag@1.8.1: {} @@ -11861,8 +11983,7 @@ snapshots: strtok3: 6.3.0 token-types: 4.2.1 - file-uri-to-path@1.0.0: - optional: true + file-uri-to-path@1.0.0: {} filelist@1.0.6: dependencies: @@ -13514,6 +13635,10 @@ snapshots: json-stringify-safe@5.0.1: {} + json5@1.0.2: + dependencies: + minimist: 1.2.8 + json5@2.2.3: {} jsonify@0.0.1: {} @@ -13782,6 +13907,12 @@ snapshots: loader-runner@4.3.2: {} + loader-utils@1.4.2: + dependencies: + big.js: 5.2.2 + emojis-list: 3.0.0 + json5: 1.0.2 + localforage@1.10.0: dependencies: lie: 3.1.1 @@ -13958,6 +14089,10 @@ snapshots: lodash.clonedeep: 4.5.0 lru-cache: 6.0.0 + magic-string@0.25.9: + dependencies: + sourcemap-codec: 1.4.8 + mailgun@0.5.0: {} make-dir@3.1.0: @@ -14405,6 +14540,10 @@ snapshots: nodemailer@6.10.1: {} + nopt@8.1.0: + dependencies: + abbrev: 3.0.1 + nopt@9.0.0: dependencies: abbrev: 4.0.0 @@ -15303,6 +15442,8 @@ snapshots: expand-tilde: 1.2.2 global-modules: 0.2.3 + resolve-from@3.0.0: {} + resolve-from@5.0.0: {} resolve-url@0.2.1: {} @@ -15368,6 +15509,10 @@ snapshots: robots-parser@2.4.0: {} + rollup-pluginutils@2.8.2: + dependencies: + estree-walker: 0.6.1 + rootpath@0.1.2: {} rxjs@7.8.2: @@ -15754,6 +15899,8 @@ snapshots: source-map@0.7.6: {} + sourcemap-codec@1.4.8: {} + sparse-bitfield@3.0.3: dependencies: memory-pager: 1.5.0 diff --git a/test/unit/browser-mainfield/output-coverage.js b/test/unit/browser-mainfield/output-coverage.js index 3bf280252..8620e0ea5 100644 --- a/test/unit/browser-mainfield/output-coverage.js +++ b/test/unit/browser-mainfield/output-coverage.js @@ -41,6 +41,9 @@ console.log('browser file!!') /******/ } /******/ /************************************************************************/ +/******/ /* webpack/runtime/asset-relocator-loader */ +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; +/******/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules @@ -81,10 +84,6 @@ console.log('browser file!!') /******/ }; /******/ })(); /******/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ 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 in strict mode. diff --git a/test/unit/browser-mainfield/output.js b/test/unit/browser-mainfield/output.js index 1e2a455dd..6b3ae974f 100644 --- a/test/unit/browser-mainfield/output.js +++ b/test/unit/browser-mainfield/output.js @@ -41,6 +41,9 @@ console.log('browser file!!') /******/ } /******/ /************************************************************************/ +/******/ /* webpack/runtime/asset-relocator-loader */ +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; +/******/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules @@ -81,10 +84,6 @@ console.log('browser file!!') /******/ }; /******/ })(); /******/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ 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 in strict mode. diff --git a/test/unit/bundle-subasset/output-coverage.js b/test/unit/bundle-subasset/output-coverage.js index 4a9508f35..29a67f08e 100644 --- a/test/unit/bundle-subasset/output-coverage.js +++ b/test/unit/bundle-subasset/output-coverage.js @@ -42,6 +42,9 @@ module.exports = require("path"); /******/ } /******/ /************************************************************************/ +/******/ /* webpack/runtime/asset-relocator-loader */ +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; +/******/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules @@ -82,10 +85,6 @@ module.exports = require("path"); /******/ }; /******/ })(); /******/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ /************************************************************************/ var __webpack_exports__ = {}; __nccwpck_require__.r(__webpack_exports__); diff --git a/test/unit/bundle-subasset/output.js b/test/unit/bundle-subasset/output.js index 4a9508f35..29a67f08e 100644 --- a/test/unit/bundle-subasset/output.js +++ b/test/unit/bundle-subasset/output.js @@ -42,6 +42,9 @@ module.exports = require("path"); /******/ } /******/ /************************************************************************/ +/******/ /* webpack/runtime/asset-relocator-loader */ +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; +/******/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules @@ -82,10 +85,6 @@ module.exports = require("path"); /******/ }; /******/ })(); /******/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ /************************************************************************/ var __webpack_exports__ = {}; __nccwpck_require__.r(__webpack_exports__); diff --git a/test/unit/bundle-subasset2/output-coverage.js b/test/unit/bundle-subasset2/output-coverage.js index 24447e239..11bc32133 100644 --- a/test/unit/bundle-subasset2/output-coverage.js +++ b/test/unit/bundle-subasset2/output-coverage.js @@ -33,6 +33,9 @@ /******/ } /******/ /************************************************************************/ +/******/ /* webpack/runtime/asset-relocator-loader */ +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; +/******/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules @@ -62,10 +65,6 @@ /******/ __nccwpck_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) /******/ })(); /******/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ /************************************************************************/ var __webpack_exports__ = {}; diff --git a/test/unit/bundle-subasset2/output.js b/test/unit/bundle-subasset2/output.js index 24447e239..11bc32133 100644 --- a/test/unit/bundle-subasset2/output.js +++ b/test/unit/bundle-subasset2/output.js @@ -33,6 +33,9 @@ /******/ } /******/ /************************************************************************/ +/******/ /* webpack/runtime/asset-relocator-loader */ +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; +/******/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules @@ -62,10 +65,6 @@ /******/ __nccwpck_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) /******/ })(); /******/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ /************************************************************************/ var __webpack_exports__ = {}; diff --git a/test/unit/custom-emit/output-coverage.js b/test/unit/custom-emit/output-coverage.js index 74c1dc83a..98b0f5119 100644 --- a/test/unit/custom-emit/output-coverage.js +++ b/test/unit/custom-emit/output-coverage.js @@ -42,8 +42,7 @@ module.exports = require("fs"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/custom-emit/output.js b/test/unit/custom-emit/output.js index 74c1dc83a..98b0f5119 100644 --- a/test/unit/custom-emit/output.js +++ b/test/unit/custom-emit/output.js @@ -42,8 +42,7 @@ module.exports = require("fs"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/double-nested-builds/output-coverage.js b/test/unit/double-nested-builds/output-coverage.js index 07b69d396..4b03cd0d3 100644 --- a/test/unit/double-nested-builds/output-coverage.js +++ b/test/unit/double-nested-builds/output-coverage.js @@ -223,8 +223,7 @@ module.exports = require("path"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/double-nested-builds/output.js b/test/unit/double-nested-builds/output.js index fe183fffc..c23557f56 100644 --- a/test/unit/double-nested-builds/output.js +++ b/test/unit/double-nested-builds/output.js @@ -223,8 +223,7 @@ module.exports = require("path"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/exports-nomodule/output-coverage.js b/test/unit/exports-nomodule/output-coverage.js index 63d25ba84..06ccd1cfb 100644 --- a/test/unit/exports-nomodule/output-coverage.js +++ b/test/unit/exports-nomodule/output-coverage.js @@ -1,8 +1,3 @@ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/) ? 1 : 0, -1) + "/"; -/******/ -/************************************************************************/ var __webpack_exports__ = {}; ;// CONCATENATED MODULE: ./test/unit/exports-nomodule/node.js diff --git a/test/unit/exports-nomodule/output.js b/test/unit/exports-nomodule/output.js index 63d25ba84..06ccd1cfb 100644 --- a/test/unit/exports-nomodule/output.js +++ b/test/unit/exports-nomodule/output.js @@ -1,8 +1,3 @@ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/) ? 1 : 0, -1) + "/"; -/******/ -/************************************************************************/ var __webpack_exports__ = {}; ;// CONCATENATED MODULE: ./test/unit/exports-nomodule/node.js diff --git a/test/unit/exports-wildcard/output-coverage.js b/test/unit/exports-wildcard/output-coverage.js index 36cc6b47e..fb0042b62 100644 --- a/test/unit/exports-wildcard/output-coverage.js +++ b/test/unit/exports-wildcard/output-coverage.js @@ -1,8 +1,3 @@ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/) ? 1 : 0, -1) + "/"; -/******/ -/************************************************************************/ var __webpack_exports__ = {}; ;// CONCATENATED MODULE: ./test/unit/exports-wildcard/node.js diff --git a/test/unit/exports-wildcard/output.js b/test/unit/exports-wildcard/output.js index 36cc6b47e..fb0042b62 100644 --- a/test/unit/exports-wildcard/output.js +++ b/test/unit/exports-wildcard/output.js @@ -1,8 +1,3 @@ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/) ? 1 : 0, -1) + "/"; -/******/ -/************************************************************************/ var __webpack_exports__ = {}; ;// CONCATENATED MODULE: ./test/unit/exports-wildcard/node.js diff --git a/test/unit/externals/output-coverage.js b/test/unit/externals/output-coverage.js index 8f4918323..5eda1d50b 100644 --- a/test/unit/externals/output-coverage.js +++ b/test/unit/externals/output-coverage.js @@ -58,8 +58,7 @@ module.exports = require("regexexternal"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/externals/output.js b/test/unit/externals/output.js index 8f4918323..5eda1d50b 100644 --- a/test/unit/externals/output.js +++ b/test/unit/externals/output.js @@ -58,8 +58,7 @@ module.exports = require("regexexternal"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/import-meta-cjs/output-coverage.js b/test/unit/import-meta-cjs/output-coverage.js index 62212d12d..515c1f82b 100644 --- a/test/unit/import-meta-cjs/output-coverage.js +++ b/test/unit/import-meta-cjs/output-coverage.js @@ -1,10 +1,6 @@ /******/ (() => { // webpackBootstrap -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ -/************************************************************************/ var __webpack_exports__ = {}; console.log(require("url").pathToFileURL(__filename).href); +module.exports = __webpack_exports__; /******/ })() ; \ No newline at end of file diff --git a/test/unit/import-meta-cjs/output.js b/test/unit/import-meta-cjs/output.js index fe8a17ac8..515c1f82b 100644 --- a/test/unit/import-meta-cjs/output.js +++ b/test/unit/import-meta-cjs/output.js @@ -1,9 +1,4 @@ /******/ (() => { // webpackBootstrap -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ -/************************************************************************/ var __webpack_exports__ = {}; console.log(require("url").pathToFileURL(__filename).href); module.exports = __webpack_exports__; diff --git a/test/unit/import-meta-esm/output-coverage.js b/test/unit/import-meta-esm/output-coverage.js index f63d27cdb..7d40c64c5 100644 --- a/test/unit/import-meta-esm/output-coverage.js +++ b/test/unit/import-meta-esm/output-coverage.js @@ -1,7 +1,2 @@ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/) ? 1 : 0, -1) + "/"; -/******/ -/************************************************************************/ var __webpack_exports__ = {}; console.log(import.meta.url); \ No newline at end of file diff --git a/test/unit/import-meta-esm/output.js b/test/unit/import-meta-esm/output.js index f63d27cdb..7d40c64c5 100644 --- a/test/unit/import-meta-esm/output.js +++ b/test/unit/import-meta-esm/output.js @@ -1,7 +1,2 @@ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/) ? 1 : 0, -1) + "/"; -/******/ -/************************************************************************/ var __webpack_exports__ = {}; console.log(import.meta.url); \ No newline at end of file diff --git a/test/unit/imports/output-coverage.js b/test/unit/imports/output-coverage.js index c9cf28632..1890d7f86 100644 --- a/test/unit/imports/output-coverage.js +++ b/test/unit/imports/output-coverage.js @@ -1,8 +1,3 @@ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/) ? 1 : 0, -1) + "/"; -/******/ -/************************************************************************/ var __webpack_exports__ = {}; ;// CONCATENATED MODULE: ./test/unit/imports/node.js diff --git a/test/unit/imports/output.js b/test/unit/imports/output.js index c9cf28632..1890d7f86 100644 --- a/test/unit/imports/output.js +++ b/test/unit/imports/output.js @@ -1,8 +1,3 @@ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/) ? 1 : 0, -1) + "/"; -/******/ -/************************************************************************/ var __webpack_exports__ = {}; ;// CONCATENATED MODULE: ./test/unit/imports/node.js diff --git a/test/unit/minify-sourcemap-register/output-coverage.js b/test/unit/minify-sourcemap-register/output-coverage.js index 65224c34d..dad438f87 100644 --- a/test/unit/minify-sourcemap-register/output-coverage.js +++ b/test/unit/minify-sourcemap-register/output-coverage.js @@ -1,2 +1,2 @@ -require('./sourcemap-register.js');(()=>{if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var e={};(()=>{var _=e;const o="qux";console.log?.("hello");_.foobar=o})();module.exports=e})(); +require('./sourcemap-register.js');(()=>{var o={};(()=>{var l=o;const e="qux";console.log?.("hello");l.foobar=e})();module.exports=o})(); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/unit/minify-sourcemap-register/output-coverage.js.map b/test/unit/minify-sourcemap-register/output-coverage.js.map index 6cf246d98..10fb0e2ab 100644 --- a/test/unit/minify-sourcemap-register/output-coverage.js.map +++ b/test/unit/minify-sourcemap-register/output-coverage.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","names":["__webpack_require__","ab","__dirname","foobar","console","log","exports"],"sources":["../webpack/runtime/compat","../test/unit/minify-sourcemap-register/input.js"],"sourcesContent":["\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + \"/\";","const foobar = 'qux'\nconsole.log?.(\"hello\");\nexports.foobar = foobar\n"],"mappings":"MACA,UAAAA,sBAAA,YAAAA,oBAAAC,GAAAC,UAAA,I,uBCDA,MAAAC,EAAA,MACAC,QAAAC,MAAA,SACAC,EAAAH,Q","ignoreList":[]} \ No newline at end of file +{"version":3,"file":"index.js","names":["foobar","console","log","exports"],"sources":["../test/unit/minify-sourcemap-register/input.js"],"sourcesContent":["const foobar = 'qux'\nconsole.log?.(\"hello\");\nexports.foobar = foobar\n"],"mappings":"6BAAA,MAAAA,EAAA,MACAC,QAAAC,MAAA,SACAC,EAAAH,Q","ignoreList":[]} \ No newline at end of file diff --git a/test/unit/minify-sourcemap-register/output.js b/test/unit/minify-sourcemap-register/output.js index ec551d8b4..dad438f87 100644 --- a/test/unit/minify-sourcemap-register/output.js +++ b/test/unit/minify-sourcemap-register/output.js @@ -1,2 +1,2 @@ -require('./sourcemap-register.js');(()=>{if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var e={};(()=>{var _=e;const o="qux";console.log?.("hello");_.foobar=o})();module.exports=e})(); -//# sourceMappingURL=index.js.map +require('./sourcemap-register.js');(()=>{var o={};(()=>{var l=o;const e="qux";console.log?.("hello");l.foobar=e})();module.exports=o})(); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/unit/minify-sourcemap-register/output.js.map b/test/unit/minify-sourcemap-register/output.js.map index 6cf246d98..10fb0e2ab 100644 --- a/test/unit/minify-sourcemap-register/output.js.map +++ b/test/unit/minify-sourcemap-register/output.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","names":["__webpack_require__","ab","__dirname","foobar","console","log","exports"],"sources":["../webpack/runtime/compat","../test/unit/minify-sourcemap-register/input.js"],"sourcesContent":["\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + \"/\";","const foobar = 'qux'\nconsole.log?.(\"hello\");\nexports.foobar = foobar\n"],"mappings":"MACA,UAAAA,sBAAA,YAAAA,oBAAAC,GAAAC,UAAA,I,uBCDA,MAAAC,EAAA,MACAC,QAAAC,MAAA,SACAC,EAAAH,Q","ignoreList":[]} \ No newline at end of file +{"version":3,"file":"index.js","names":["foobar","console","log","exports"],"sources":["../test/unit/minify-sourcemap-register/input.js"],"sourcesContent":["const foobar = 'qux'\nconsole.log?.(\"hello\");\nexports.foobar = foobar\n"],"mappings":"6BAAA,MAAAA,EAAA,MACAC,QAAAC,MAAA,SACAC,EAAAH,Q","ignoreList":[]} \ No newline at end of file diff --git a/test/unit/minify-v8cache-sourcemap-register/output-coverage.js.map b/test/unit/minify-v8cache-sourcemap-register/output-coverage.js.map index b9ab9a0c7..82b988d92 100644 --- a/test/unit/minify-v8cache-sourcemap-register/output-coverage.js.map +++ b/test/unit/minify-v8cache-sourcemap-register/output-coverage.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","names":["__webpack_require__","ab","__dirname","foobar","console","log","exports"],"sources":["../webpack/runtime/compat","../test/unit/minify-v8cache-sourcemap-register/input.js"],"sourcesContent":["\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + \"/\";","const foobar = 'qux'\nconsole.log(\"hello\");\nexports.foobar = foobar\n"],"mappings":"MACA,UAAAA,sBAAA,YAAAA,oBAAAC,GAAAC,UAAA,I,uBCDA,MAAAC,EAAA,MACAC,QAAAC,IAAA,SACAC,EAAAH,Q","ignoreList":[]} \ No newline at end of file +{"version":3,"file":"index.js","names":["foobar","console","log","exports"],"sources":["../test/unit/minify-v8cache-sourcemap-register/input.js"],"sourcesContent":["const foobar = 'qux'\nconsole.log(\"hello\");\nexports.foobar = foobar\n"],"mappings":"6BAAA,MAAAA,EAAA,MACAC,QAAAC,IAAA,SACAC,EAAAH,Q","ignoreList":[]} \ No newline at end of file diff --git a/test/unit/minify-v8cache-sourcemap-register/output.js.map b/test/unit/minify-v8cache-sourcemap-register/output.js.map index b9ab9a0c7..82b988d92 100644 --- a/test/unit/minify-v8cache-sourcemap-register/output.js.map +++ b/test/unit/minify-v8cache-sourcemap-register/output.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","names":["__webpack_require__","ab","__dirname","foobar","console","log","exports"],"sources":["../webpack/runtime/compat","../test/unit/minify-v8cache-sourcemap-register/input.js"],"sourcesContent":["\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + \"/\";","const foobar = 'qux'\nconsole.log(\"hello\");\nexports.foobar = foobar\n"],"mappings":"MACA,UAAAA,sBAAA,YAAAA,oBAAAC,GAAAC,UAAA,I,uBCDA,MAAAC,EAAA,MACAC,QAAAC,IAAA,SACAC,EAAAH,Q","ignoreList":[]} \ No newline at end of file +{"version":3,"file":"index.js","names":["foobar","console","log","exports"],"sources":["../test/unit/minify-v8cache-sourcemap-register/input.js"],"sourcesContent":["const foobar = 'qux'\nconsole.log(\"hello\");\nexports.foobar = foobar\n"],"mappings":"6BAAA,MAAAA,EAAA,MACAC,QAAAC,IAAA,SACAC,EAAAH,Q","ignoreList":[]} \ No newline at end of file diff --git a/test/unit/minify/output-coverage.js b/test/unit/minify/output-coverage.js index 8601cc795..52345a5c4 100644 --- a/test/unit/minify/output-coverage.js +++ b/test/unit/minify/output-coverage.js @@ -1,2 +1,2 @@ -(()=>{if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var e={};(()=>{var _=e;const o="qux";console.log?.("hello");_.foobar=o})();module.exports=e})(); +(()=>{var o={};(()=>{var l=o;const e="qux";console.log?.("hello");l.foobar=e})();module.exports=o})(); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/unit/minify/output-coverage.js.map b/test/unit/minify/output-coverage.js.map index cd15259d6..60b3b1e67 100644 --- a/test/unit/minify/output-coverage.js.map +++ b/test/unit/minify/output-coverage.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","names":["__webpack_require__","ab","__dirname","foobar","console","log","exports"],"sources":["../webpack/runtime/compat","../test/unit/minify/input.js"],"sourcesContent":["\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + \"/\";","const foobar = 'qux'\nconsole.log?.(\"hello\");\nexports.foobar = foobar\n"],"mappings":"MACA,UAAAA,sBAAA,YAAAA,oBAAAC,GAAAC,UAAA,I,uBCDA,MAAAC,EAAA,MACAC,QAAAC,MAAA,SACAC,EAAAH,Q","ignoreList":[]} \ No newline at end of file +{"version":3,"file":"index.js","names":["foobar","console","log","exports"],"sources":["../test/unit/minify/input.js"],"sourcesContent":["const foobar = 'qux'\nconsole.log?.(\"hello\");\nexports.foobar = foobar\n"],"mappings":"6BAAA,MAAAA,EAAA,MACAC,QAAAC,MAAA,SACAC,EAAAH,Q","ignoreList":[]} \ No newline at end of file diff --git a/test/unit/minify/output.js b/test/unit/minify/output.js index 8601cc795..52345a5c4 100644 --- a/test/unit/minify/output.js +++ b/test/unit/minify/output.js @@ -1,2 +1,2 @@ -(()=>{if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var e={};(()=>{var _=e;const o="qux";console.log?.("hello");_.foobar=o})();module.exports=e})(); +(()=>{var o={};(()=>{var l=o;const e="qux";console.log?.("hello");l.foobar=e})();module.exports=o})(); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/unit/minify/output.js.map b/test/unit/minify/output.js.map index cd15259d6..60b3b1e67 100644 --- a/test/unit/minify/output.js.map +++ b/test/unit/minify/output.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","names":["__webpack_require__","ab","__dirname","foobar","console","log","exports"],"sources":["../webpack/runtime/compat","../test/unit/minify/input.js"],"sourcesContent":["\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + \"/\";","const foobar = 'qux'\nconsole.log?.(\"hello\");\nexports.foobar = foobar\n"],"mappings":"MACA,UAAAA,sBAAA,YAAAA,oBAAAC,GAAAC,UAAA,I,uBCDA,MAAAC,EAAA,MACAC,QAAAC,MAAA,SACAC,EAAAH,Q","ignoreList":[]} \ No newline at end of file +{"version":3,"file":"index.js","names":["foobar","console","log","exports"],"sources":["../test/unit/minify/input.js"],"sourcesContent":["const foobar = 'qux'\nconsole.log?.(\"hello\");\nexports.foobar = foobar\n"],"mappings":"6BAAA,MAAAA,EAAA,MACAC,QAAAC,MAAA,SACAC,EAAAH,Q","ignoreList":[]} \ No newline at end of file diff --git a/test/unit/nested-builds/output-coverage.js b/test/unit/nested-builds/output-coverage.js index 1f77797ff..3b561f225 100644 --- a/test/unit/nested-builds/output-coverage.js +++ b/test/unit/nested-builds/output-coverage.js @@ -159,8 +159,7 @@ module.exports = require("path"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/nested-builds/output.js b/test/unit/nested-builds/output.js index 90a680434..f164abd72 100644 --- a/test/unit/nested-builds/output.js +++ b/test/unit/nested-builds/output.js @@ -159,8 +159,7 @@ module.exports = require("path"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/runtime-notfound/output-coverage.js b/test/unit/runtime-notfound/output-coverage.js index 67fa9f1e5..3c765573d 100644 --- a/test/unit/runtime-notfound/output-coverage.js +++ b/test/unit/runtime-notfound/output-coverage.js @@ -50,8 +50,7 @@ module.exports = eval("require")("./not-found.js"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/runtime-notfound/output.js b/test/unit/runtime-notfound/output.js index 1f01ae428..2caca3c6e 100644 --- a/test/unit/runtime-notfound/output.js +++ b/test/unit/runtime-notfound/output.js @@ -50,8 +50,7 @@ module.exports = eval("require")("./not-found.js"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/shebang/output-coverage.js b/test/unit/shebang/output-coverage.js index f91f6fb60..6cfbb8f58 100644 --- a/test/unit/shebang/output-coverage.js +++ b/test/unit/shebang/output-coverage.js @@ -42,11 +42,6 @@ module.exports = 'asdf'; /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ -/************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports diff --git a/test/unit/shebang/output.js b/test/unit/shebang/output.js index 987c2ff5e..11a1d2b50 100644 --- a/test/unit/shebang/output.js +++ b/test/unit/shebang/output.js @@ -42,11 +42,6 @@ module.exports = 'asdf'; /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ -/************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports diff --git a/test/unit/ts-decl-dir/output-coverage.js b/test/unit/ts-decl-dir/output-coverage.js index a8fd65120..d3fc31423 100644 --- a/test/unit/ts-decl-dir/output-coverage.js +++ b/test/unit/ts-decl-dir/output-coverage.js @@ -32,10 +32,6 @@ /******/ }; /******/ })(); /******/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ /************************************************************************/ var __webpack_exports__ = {}; // ESM COMPAT FLAG diff --git a/test/unit/ts-decl-dir/output.js b/test/unit/ts-decl-dir/output.js index a8fd65120..d3fc31423 100644 --- a/test/unit/ts-decl-dir/output.js +++ b/test/unit/ts-decl-dir/output.js @@ -32,10 +32,6 @@ /******/ }; /******/ })(); /******/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ /************************************************************************/ var __webpack_exports__ = {}; // ESM COMPAT FLAG diff --git a/test/unit/ts-decl/output-coverage.js b/test/unit/ts-decl/output-coverage.js index 413ae8351..c406d5dde 100644 --- a/test/unit/ts-decl/output-coverage.js +++ b/test/unit/ts-decl/output-coverage.js @@ -32,10 +32,6 @@ /******/ }; /******/ })(); /******/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ /************************************************************************/ var __webpack_exports__ = {}; // ESM COMPAT FLAG diff --git a/test/unit/ts-decl/output.js b/test/unit/ts-decl/output.js index 413ae8351..c406d5dde 100644 --- a/test/unit/ts-decl/output.js +++ b/test/unit/ts-decl/output.js @@ -32,10 +32,6 @@ /******/ }; /******/ })(); /******/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ /************************************************************************/ var __webpack_exports__ = {}; // ESM COMPAT FLAG diff --git a/test/unit/ts-exts/output-coverage.js b/test/unit/ts-exts/output-coverage.js index a04121ed7..b762ad9c0 100644 --- a/test/unit/ts-exts/output-coverage.js +++ b/test/unit/ts-exts/output-coverage.js @@ -57,8 +57,7 @@ Object.defineProperty(exports, "default", ({ enumerable: true, get: function () /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/ts-exts/output.js b/test/unit/ts-exts/output.js index 2e858b61b..0de645327 100644 --- a/test/unit/ts-exts/output.js +++ b/test/unit/ts-exts/output.js @@ -57,8 +57,7 @@ Object.defineProperty(exports, "default", ({ enumerable: true, get: function () /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/ts-json-resolve/output-coverage.js b/test/unit/ts-json-resolve/output-coverage.js index b89ea060a..95c4800d9 100644 --- a/test/unit/ts-json-resolve/output-coverage.js +++ b/test/unit/ts-json-resolve/output-coverage.js @@ -2,7 +2,7 @@ /******/ "use strict"; /******/ var __webpack_modules__ = ({ -/***/ 827: +/***/ 990: /***/ ((__unused_webpack_module, exports) => { @@ -48,8 +48,7 @@ function greet() { /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ @@ -59,7 +58,7 @@ var __webpack_exports__ = {}; var exports = __webpack_exports__; Object.defineProperty(exports, "__esModule", ({ value: true })); -const dep_1 = __nccwpck_require__(827); +const dep_1 = __nccwpck_require__(990); console.log((0, dep_1.greet)()); })(); diff --git a/test/unit/ts-json-resolve/output.js b/test/unit/ts-json-resolve/output.js index b89ea060a..2efd21e3f 100644 --- a/test/unit/ts-json-resolve/output.js +++ b/test/unit/ts-json-resolve/output.js @@ -48,8 +48,7 @@ function greet() { /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/ts-mixed-modules/output-coverage.js b/test/unit/ts-mixed-modules/output-coverage.js index e1e38040e..1ddb6da73 100644 --- a/test/unit/ts-mixed-modules/output-coverage.js +++ b/test/unit/ts-mixed-modules/output-coverage.js @@ -48,11 +48,6 @@ module.exports = config; /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ -/************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports diff --git a/test/unit/ts-mixed-modules/output.js b/test/unit/ts-mixed-modules/output.js index e7a7d8efe..6c2de9550 100644 --- a/test/unit/ts-mixed-modules/output.js +++ b/test/unit/ts-mixed-modules/output.js @@ -48,11 +48,6 @@ module.exports = config; /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ -/************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports diff --git a/test/unit/ts-target-es2018/output-coverage.js b/test/unit/ts-target-es2018/output-coverage.js index 5f2aaf142..f88ee9a78 100644 --- a/test/unit/ts-target-es2018/output-coverage.js +++ b/test/unit/ts-target-es2018/output-coverage.js @@ -1,10 +1,5 @@ /******/ (() => { // webpackBootstrap /******/ "use strict"; -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ -/************************************************************************/ var __webpack_exports__ = {}; if (process === null || process === void 0 ? void 0 : process.env.FOO) { diff --git a/test/unit/ts-target-es2018/output.js b/test/unit/ts-target-es2018/output.js index 5f2aaf142..f88ee9a78 100644 --- a/test/unit/ts-target-es2018/output.js +++ b/test/unit/ts-target-es2018/output.js @@ -1,10 +1,5 @@ /******/ (() => { // webpackBootstrap /******/ "use strict"; -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ -/************************************************************************/ var __webpack_exports__ = {}; if (process === null || process === void 0 ? void 0 : process.env.FOO) { diff --git a/test/unit/tsconfig-paths-allowjs/output-coverage.js b/test/unit/tsconfig-paths-allowjs/output-coverage.js index f7d88d308..641bbed51 100644 --- a/test/unit/tsconfig-paths-allowjs/output-coverage.js +++ b/test/unit/tsconfig-paths-allowjs/output-coverage.js @@ -47,6 +47,9 @@ __nccwpck_require__.r(__webpack_exports__); /******/ } /******/ /************************************************************************/ +/******/ /* webpack/runtime/asset-relocator-loader */ +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; +/******/ /******/ /* webpack/runtime/define property getters */ /******/ (() => { /******/ // define getter functions for harmony exports @@ -75,10 +78,6 @@ __nccwpck_require__.r(__webpack_exports__); /******/ }; /******/ })(); /******/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it uses a non-standard name for the exports (exports). diff --git a/test/unit/tsconfig-paths-allowjs/output.js b/test/unit/tsconfig-paths-allowjs/output.js index bf15ea71c..d51962f32 100644 --- a/test/unit/tsconfig-paths-allowjs/output.js +++ b/test/unit/tsconfig-paths-allowjs/output.js @@ -42,8 +42,7 @@ module.exports = eval("require")("@module"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/tsconfig-paths-array-extends/output-coverage.js b/test/unit/tsconfig-paths-array-extends/output-coverage.js index 84c893f6d..af5d7edac 100644 --- a/test/unit/tsconfig-paths-array-extends/output-coverage.js +++ b/test/unit/tsconfig-paths-array-extends/output-coverage.js @@ -47,6 +47,9 @@ __nccwpck_require__.r(__webpack_exports__); /******/ } /******/ /************************************************************************/ +/******/ /* webpack/runtime/asset-relocator-loader */ +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; +/******/ /******/ /* webpack/runtime/define property getters */ /******/ (() => { /******/ // define getter functions for harmony exports @@ -75,10 +78,6 @@ __nccwpck_require__.r(__webpack_exports__); /******/ }; /******/ })(); /******/ -/******/ /* webpack/runtime/compat */ -/******/ -/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; -/******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it uses a non-standard name for the exports (exports). diff --git a/test/unit/tsconfig-paths-array-extends/output.js b/test/unit/tsconfig-paths-array-extends/output.js index bf15ea71c..d51962f32 100644 --- a/test/unit/tsconfig-paths-array-extends/output.js +++ b/test/unit/tsconfig-paths-array-extends/output.js @@ -42,8 +42,7 @@ module.exports = eval("require")("@module"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/tsconfig-paths-conflicting-external/output-coverage.js b/test/unit/tsconfig-paths-conflicting-external/output-coverage.js index 4b0a23370..e643859cb 100644 --- a/test/unit/tsconfig-paths-conflicting-external/output-coverage.js +++ b/test/unit/tsconfig-paths-conflicting-external/output-coverage.js @@ -45,8 +45,7 @@ exports["default"] = {}; /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/tsconfig-paths-conflicting-external/output.js b/test/unit/tsconfig-paths-conflicting-external/output.js index bf15ea71c..d51962f32 100644 --- a/test/unit/tsconfig-paths-conflicting-external/output.js +++ b/test/unit/tsconfig-paths-conflicting-external/output.js @@ -42,8 +42,7 @@ module.exports = eval("require")("@module"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/tsconfig-paths/output-coverage.js b/test/unit/tsconfig-paths/output-coverage.js index fdfda74d1..79691f6f5 100644 --- a/test/unit/tsconfig-paths/output-coverage.js +++ b/test/unit/tsconfig-paths/output-coverage.js @@ -45,8 +45,7 @@ exports["default"] = {}; /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/test/unit/tsconfig-paths/output.js b/test/unit/tsconfig-paths/output.js index bf15ea71c..d51962f32 100644 --- a/test/unit/tsconfig-paths/output.js +++ b/test/unit/tsconfig-paths/output.js @@ -42,8 +42,7 @@ module.exports = eval("require")("@module"); /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/compat */ -/******/ +/******/ /* webpack/runtime/asset-relocator-loader */ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; /******/ /************************************************************************/ diff --git a/update-fixtures.sh b/update-fixtures.sh index 7f26f9c8e..bc34f42e6 100755 --- a/update-fixtures.sh +++ b/update-fixtures.sh @@ -2,7 +2,7 @@ pnpm run build -node_modules/.bin/jest test/unit +node node_modules/jest/bin/jest.js test/unit for f in test/unit/*; do if [ -e "${f}/actual.js" ]; then @@ -16,7 +16,7 @@ for f in test/unit/*; do fi done -node --expose-gc node_modules/.bin/jest --coverage --globals "{\"coverage\":true}" test/unit +node --expose-gc node_modules/jest/bin/jest.js --coverage --globals "{\"coverage\":true}" test/unit for f in test/unit/*; do if [ -e "${f}/actual.js" ]; then