@unpackjs/core 1.7.5 → 1.7.7
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.
- package/compiled/css-loader/index.js +180 -178
- package/compiled/less-loader/index.js +11 -11
- package/compiled/line-diff/index.js +4 -4
- package/compiled/line-diff/license +1 -1
- package/compiled/line-diff/package.json +1 -1
- package/compiled/portfinder/index.js +37 -37
- package/compiled/postcss-loader/index.js +261 -256
- package/compiled/sass-loader/index.js +24 -20
- package/compiled/sass-loader/package.json +1 -1
- package/compiled/semver/index.js +188 -170
- package/compiled/semver/package.json +1 -1
- package/compiled/style-loader/index.js +13 -13
- package/compiled/webpack-bundle-analyzer/index.js +198 -198
- package/compiled/webpack-merge/index.js +29 -29
- package/dist/bundler-config/chunkSplit.cjs +169 -156
- package/dist/bundler-config/chunkSplit.js +125 -134
- package/dist/bundler-config/css.cjs +181 -158
- package/dist/bundler-config/css.js +139 -151
- package/dist/bundler-config/experimentCss.cjs +203 -159
- package/dist/bundler-config/experimentCss.js +162 -152
- package/dist/bundler-config/helper.cjs +82 -78
- package/dist/bundler-config/helper.js +36 -55
- package/dist/bundler-config/index.cjs +260 -209
- package/dist/bundler-config/index.d.ts.map +1 -1
- package/dist/bundler-config/index.js +209 -182
- package/dist/bundler-config/jsMinify.cjs +114 -95
- package/dist/bundler-config/jsMinify.js +70 -73
- package/dist/colors.cjs +83 -56
- package/dist/colors.js +38 -37
- package/dist/config.cjs +107 -93
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +64 -70
- package/dist/constants.cjs +65 -62
- package/dist/constants.d.ts +1 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +22 -38
- package/dist/createUnpack.cjs +111 -104
- package/dist/createUnpack.js +67 -82
- package/dist/global.cjs +36 -0
- package/dist/global.d.ts +2 -0
- package/dist/global.d.ts.map +1 -0
- package/dist/global.js +4 -0
- package/dist/index.cjs +174 -51
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +33 -15
- package/dist/lightningcss/loader.cjs +56 -53
- package/dist/lightningcss/loader.d.ts.map +1 -1
- package/dist/lightningcss/loader.js +25 -34
- package/dist/lightningcss/minimizer.cjs +90 -109
- package/dist/lightningcss/minimizer.d.ts.map +1 -1
- package/dist/lightningcss/minimizer.js +59 -87
- package/dist/logger.cjs +104 -98
- package/dist/logger.js +59 -76
- package/dist/openBrowser.cjs +104 -81
- package/dist/openBrowser.js +56 -52
- package/dist/plugin-progress/rspack.cjs +104 -79
- package/dist/plugin-progress/rspack.js +59 -57
- package/dist/plugin-progress/webpack.cjs +111 -89
- package/dist/plugin-progress/webpack.js +65 -67
- package/dist/plugin.cjs +38 -29
- package/dist/plugin.js +8 -17
- package/dist/prebundleDeps.cjs +327 -337
- package/dist/prebundleDeps.d.ts.map +1 -1
- package/dist/prebundleDeps.js +278 -324
- package/dist/progressBar.cjs +82 -65
- package/dist/progressBar.js +38 -43
- package/dist/reporter.cjs +149 -124
- package/dist/reporter.d.ts.map +1 -1
- package/dist/reporter.js +102 -102
- package/dist/run/build.cjs +68 -67
- package/dist/run/build.js +24 -45
- package/dist/run/dev.cjs +96 -83
- package/dist/run/dev.d.ts.map +1 -1
- package/dist/run/dev.js +50 -61
- package/dist/run/index.cjs +74 -21
- package/dist/run/index.js +2 -9
- package/dist/typed-css-modules/loader.cjs +179 -188
- package/dist/typed-css-modules/loader.js +118 -151
- package/dist/typed-css-modules/plugin.cjs +113 -88
- package/dist/typed-css-modules/plugin.js +68 -66
- package/dist/typed-css-modules/utils.cjs +43 -42
- package/dist/typed-css-modules/utils.js +13 -30
- package/dist/types/chunkSplit.cjs +19 -15
- package/dist/types/chunkSplit.d.ts +2 -10
- package/dist/types/chunkSplit.d.ts.map +1 -1
- package/dist/types/chunkSplit.js +2 -9
- package/dist/types/config.cjs +19 -15
- package/dist/types/config.js +2 -9
- package/dist/types/index.cjs +101 -27
- package/dist/types/index.js +2 -9
- package/dist/types/lightningcss.cjs +19 -15
- package/dist/types/lightningcss.js +2 -9
- package/dist/types/logger.cjs +43 -34
- package/dist/types/logger.js +13 -22
- package/dist/types/plugin.cjs +19 -15
- package/dist/types/plugin.js +2 -9
- package/dist/utils.cjs +280 -304
- package/dist/utils.js +195 -241
- package/dist/watchFiles.cjs +73 -0
- package/dist/watchFiles.d.ts +3 -0
- package/dist/watchFiles.d.ts.map +1 -0
- package/dist/watchFiles.js +27 -0
- package/package.json +18 -21
- package/compiled/commander/index.d.ts +0 -1047
- package/compiled/commander/index.js +0 -2428
- package/compiled/commander/license +0 -22
- package/compiled/commander/package.json +0 -1
- package/dist/bundleRequire.cjs +0 -200
- package/dist/bundleRequire.d.ts +0 -5
- package/dist/bundleRequire.d.ts.map +0 -1
- package/dist/bundleRequire.js +0 -173
- package/dist/lightningcss/cache.cjs +0 -36
- package/dist/lightningcss/cache.d.ts +0 -2
- package/dist/lightningcss/cache.d.ts.map +0 -1
- package/dist/lightningcss/cache.js +0 -22
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
882: function (__unused_webpack_module, exports) {
|
|
4
4
|
(function (global, factory) {
|
|
5
5
|
"use strict";
|
|
6
6
|
true ? factory(exports) : 0;
|
|
@@ -4795,19 +4795,19 @@
|
|
|
4795
4795
|
}
|
|
4796
4796
|
});
|
|
4797
4797
|
},
|
|
4798
|
-
|
|
4798
|
+
666: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4799
4799
|
"use strict";
|
|
4800
|
-
const loader = __nccwpck_require__(
|
|
4800
|
+
const loader = __nccwpck_require__(88);
|
|
4801
4801
|
module.exports = loader.default;
|
|
4802
4802
|
},
|
|
4803
|
-
|
|
4803
|
+
88: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
4804
4804
|
"use strict";
|
|
4805
4805
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4806
4806
|
exports["default"] = void 0;
|
|
4807
|
-
var _url = _interopRequireDefault(__nccwpck_require__(
|
|
4808
|
-
var _path = _interopRequireDefault(__nccwpck_require__(
|
|
4809
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
4810
|
-
var _utils = __nccwpck_require__(
|
|
4807
|
+
var _url = _interopRequireDefault(__nccwpck_require__(16));
|
|
4808
|
+
var _path = _interopRequireDefault(__nccwpck_require__(928));
|
|
4809
|
+
var _options = _interopRequireDefault(__nccwpck_require__(441));
|
|
4810
|
+
var _utils = __nccwpck_require__(201);
|
|
4811
4811
|
function _interopRequireDefault(e) {
|
|
4812
4812
|
return e && e.__esModule ? e : { default: e };
|
|
4813
4813
|
}
|
|
@@ -4917,7 +4917,7 @@
|
|
|
4917
4917
|
}
|
|
4918
4918
|
var _default = (exports["default"] = loader);
|
|
4919
4919
|
},
|
|
4920
|
-
|
|
4920
|
+
201: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
4921
4921
|
"use strict";
|
|
4922
4922
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4923
4923
|
exports.errorFactory = errorFactory;
|
|
@@ -4928,8 +4928,8 @@
|
|
|
4928
4928
|
exports.getWebpackImporter = getWebpackImporter;
|
|
4929
4929
|
exports.getWebpackResolver = getWebpackResolver;
|
|
4930
4930
|
exports.normalizeSourceMap = normalizeSourceMap;
|
|
4931
|
-
var _url = _interopRequireDefault(__nccwpck_require__(
|
|
4932
|
-
var _path = _interopRequireDefault(__nccwpck_require__(
|
|
4931
|
+
var _url = _interopRequireDefault(__nccwpck_require__(16));
|
|
4932
|
+
var _path = _interopRequireDefault(__nccwpck_require__(928));
|
|
4933
4933
|
function _interopRequireDefault(e) {
|
|
4934
4934
|
return e && e.__esModule ? e : { default: e };
|
|
4935
4935
|
}
|
|
@@ -4950,7 +4950,7 @@
|
|
|
4950
4950
|
}
|
|
4951
4951
|
}
|
|
4952
4952
|
}
|
|
4953
|
-
return __nccwpck_require__(
|
|
4953
|
+
return __nccwpck_require__(881);
|
|
4954
4954
|
}
|
|
4955
4955
|
function getSassImplementation(loaderContext, implementation) {
|
|
4956
4956
|
let resolvedImplementation = implementation;
|
|
@@ -5186,7 +5186,7 @@
|
|
|
5186
5186
|
}
|
|
5187
5187
|
const extension = _path.default.extname(request).toLowerCase();
|
|
5188
5188
|
if (extension === ".css") {
|
|
5189
|
-
return [];
|
|
5189
|
+
return fromImport ? [] : [url];
|
|
5190
5190
|
}
|
|
5191
5191
|
const dirname = _path.default.dirname(request);
|
|
5192
5192
|
const normalizedDirname = dirname === "." ? "" : `${dirname}/`;
|
|
@@ -5438,7 +5438,11 @@
|
|
|
5438
5438
|
);
|
|
5439
5439
|
return function importer(originalUrl, prev, done) {
|
|
5440
5440
|
const { fromImport } = this;
|
|
5441
|
-
resolve(
|
|
5441
|
+
resolve(
|
|
5442
|
+
prev,
|
|
5443
|
+
originalUrl,
|
|
5444
|
+
typeof fromImport === "undefined" ? true : fromImport,
|
|
5445
|
+
)
|
|
5442
5446
|
.then((result) => {
|
|
5443
5447
|
loaderContext.addDependency(_path.default.normalize(result));
|
|
5444
5448
|
done({ file: result.replace(MATCH_CSS, "") });
|
|
@@ -5497,7 +5501,7 @@
|
|
|
5497
5501
|
}
|
|
5498
5502
|
if (nodeSassJobQueue === null) {
|
|
5499
5503
|
const threadPoolSize = Number(process.env.UV_THREADPOOL_SIZE || 4);
|
|
5500
|
-
const async = __nccwpck_require__(
|
|
5504
|
+
const async = __nccwpck_require__(882);
|
|
5501
5505
|
nodeSassJobQueue = async.queue(
|
|
5502
5506
|
implementation.render.bind(implementation),
|
|
5503
5507
|
threadPoolSize - 1,
|
|
@@ -5566,19 +5570,19 @@
|
|
|
5566
5570
|
return obj;
|
|
5567
5571
|
}
|
|
5568
5572
|
},
|
|
5569
|
-
|
|
5573
|
+
928: (module) => {
|
|
5570
5574
|
"use strict";
|
|
5571
5575
|
module.exports = require("path");
|
|
5572
5576
|
},
|
|
5573
|
-
|
|
5577
|
+
881: (module) => {
|
|
5574
5578
|
"use strict";
|
|
5575
5579
|
module.exports = require("sass");
|
|
5576
5580
|
},
|
|
5577
|
-
|
|
5581
|
+
16: (module) => {
|
|
5578
5582
|
"use strict";
|
|
5579
5583
|
module.exports = require("url");
|
|
5580
5584
|
},
|
|
5581
|
-
|
|
5585
|
+
441: (module) => {
|
|
5582
5586
|
"use strict";
|
|
5583
5587
|
module.exports = JSON.parse(
|
|
5584
5588
|
'{"title":"Sass Loader options","type":"object","properties":{"implementation":{"description":"The implementation of the sass to be used.","link":"https://github.com/webpack-contrib/sass-loader#implementation","anyOf":[{"type":"string"},{"type":"object"}]},"api":{"description":"Switch between old and modern API for `sass` (`Dart Sass`) and `Sass Embedded` implementations.","link":"https://github.com/webpack-contrib/sass-loader#sassoptions","enum":["legacy","modern","modern-compiler"]},"sassOptions":{"description":"Options for `node-sass` or `sass` (`Dart Sass`) implementation.","link":"https://github.com/webpack-contrib/sass-loader#sassoptions","anyOf":[{"type":"object","additionalProperties":true},{"instanceof":"Function"}]},"additionalData":{"description":"Prepends/Appends `Sass`/`SCSS` code before the actual entry file.","link":"https://github.com/webpack-contrib/sass-loader#additionaldata","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/sass-loader#sourcemap","type":"boolean"},"webpackImporter":{"description":"Enables/Disables default `webpack` importer.","link":"https://github.com/webpack-contrib/sass-loader#webpackimporter","type":"boolean"},"warnRuleAsWarning":{"description":"Treats the \'@warn\' rule as a webpack warning.","link":"https://github.com/webpack-contrib/sass-loader#warnruleaswarning","type":"boolean"}},"additionalProperties":false}',
|
|
@@ -5608,6 +5612,6 @@
|
|
|
5608
5612
|
}
|
|
5609
5613
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
5610
5614
|
__nccwpck_require__.ab = __dirname + "/";
|
|
5611
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
5615
|
+
var __webpack_exports__ = __nccwpck_require__(666);
|
|
5612
5616
|
module.exports = __webpack_exports__;
|
|
5613
5617
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"sass-loader","author":"J. Tangelder","version":"16.0.
|
|
1
|
+
{"name":"sass-loader","author":"J. Tangelder","version":"16.0.5","funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"license":"MIT","types":"index.d.ts","type":"commonjs"}
|