@storm-software/unbuild 0.17.3 → 0.18.0

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.
Files changed (62) hide show
  1. package/bin/unbuild.js +30733 -35355
  2. package/bin/{unbuild.cjs → unbuild.mjs} +30714 -35362
  3. package/dist/{build.d.cts → build.d.mts} +1 -1
  4. package/dist/build.js +16 -16
  5. package/dist/build.mjs +16 -0
  6. package/dist/chunk-2ML6ALMN.js +9 -9
  7. package/dist/{chunk-V37I6FRL.cjs → chunk-3BWHONLG.js} +287 -290
  8. package/dist/chunk-55B3XBWH.mjs +29 -0
  9. package/dist/chunk-6EUZQHAF.js +10 -10
  10. package/dist/{chunk-VNXPCFXP.js → chunk-ANPRZIKG.mjs} +76 -79
  11. package/dist/{chunk-R3YTTAZ5.js → chunk-BKBMIPZ6.mjs} +1 -1
  12. package/dist/chunk-C2KSDATI.mjs +33 -0
  13. package/dist/chunk-DX77GU2M.mjs +28 -0
  14. package/dist/{chunk-4XOYG7KV.cjs → chunk-FGN5X2T4.js} +2 -2
  15. package/dist/chunk-GGNOJ77I.js +1 -0
  16. package/dist/{chunk-3QBFDGR4.js → chunk-H5YLUXXE.mjs} +2 -2
  17. package/dist/{chunk-TMJKCWPB.cjs → chunk-HMWQVVLE.js} +46 -46
  18. package/dist/{chunk-E2QFB4NU.js → chunk-IYBW4IOL.mjs} +6 -6
  19. package/dist/chunk-KKPEE667.js +12 -12
  20. package/dist/{chunk-SSZ7VM2H.js → chunk-KYQEKSKC.mjs} +5172 -9801
  21. package/dist/chunk-PYJU2DCJ.js +10 -10
  22. package/dist/{chunk-SZZ6PSUY.cjs → chunk-S6U5RC6R.js} +15101 -19730
  23. package/dist/chunk-SRBMAPFT.js +10 -10
  24. package/dist/chunk-U4C3GQY2.mjs +18 -0
  25. package/dist/chunk-WAXGOBY2.mjs +0 -0
  26. package/dist/{chunk-HEEVZWS4.js → chunk-XRDEYS2Q.mjs} +1 -1
  27. package/dist/{chunk-C4IRH3TZ.cjs → chunk-Y65MI4DK.mjs} +10 -10
  28. package/dist/{chunk-2WTCOI6G.cjs → chunk-Y7B2FEG5.js} +4 -4
  29. package/dist/chunk-YIWBJCZO.js +31 -0
  30. package/dist/clean.d.mts +2 -0
  31. package/dist/clean.js +7 -7
  32. package/dist/clean.mjs +7 -0
  33. package/dist/{config.d.cts → config.d.mts} +1 -1
  34. package/dist/config.js +12 -12
  35. package/dist/config.mjs +12 -0
  36. package/dist/{dist-5FEBPCIF.js → dist-73LKVJOU.mjs} +2 -2
  37. package/dist/dist-G2KLYMK6.js +83 -0
  38. package/dist/{index.d.cts → index.d.mts} +5 -5
  39. package/dist/index.js +28 -28
  40. package/dist/index.mjs +28 -0
  41. package/dist/{prompt-2QA7QO2Y.cjs → prompt-5OLVTLXP.js} +120 -120
  42. package/dist/{prompt-CTBFX6QF.js → prompt-G22OCPDR.mjs} +2 -2
  43. package/dist/{sass.node-3YP74F4W.js → sass.node-3JFKIJQ4.mjs} +46 -47
  44. package/dist/{sass.node-2WXXYG5G.cjs → sass.node-C3IPCFGU.js} +3618 -3619
  45. package/dist/types.js +1 -1
  46. package/dist/types.mjs +1 -0
  47. package/package.json +1 -1
  48. package/dist/build.cjs +0 -16
  49. package/dist/chunk-IZYSCGNB.cjs +0 -28
  50. package/dist/chunk-KYPGHXZY.cjs +0 -31
  51. package/dist/chunk-PNQSAHAO.cjs +0 -18
  52. package/dist/chunk-QPWIL3K6.cjs +0 -33
  53. package/dist/chunk-SFZRYJZ2.cjs +0 -1
  54. package/dist/chunk-ZAHNNGDE.cjs +0 -29
  55. package/dist/clean.cjs +0 -7
  56. package/dist/clean.d.cts +0 -2
  57. package/dist/config.cjs +0 -12
  58. package/dist/dist-YYM2MCAV.cjs +0 -83
  59. package/dist/index.cjs +0 -28
  60. package/dist/types.cjs +0 -1
  61. /package/dist/{clean-BlXMN74D.d.cts → clean-BlXMN74D.d.mts} +0 -0
  62. /package/dist/{types.d.cts → types.d.mts} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  colors,
3
3
  isUnicodeSupported
4
- } from "./chunk-3QBFDGR4.js";
4
+ } from "./chunk-H5YLUXXE.mjs";
5
5
  import {
6
6
  __name
7
- } from "./chunk-6EUZQHAF.js";
7
+ } from "./chunk-Y65MI4DK.mjs";
8
8
 
9
9
  // ../../node_modules/.pnpm/consola@3.3.3/node_modules/consola/dist/chunks/prompt.mjs
10
10
  import { stdin, stdout } from "node:process";
@@ -6,11 +6,11 @@ import {
6
6
  __require,
7
7
  __toCommonJS,
8
8
  __toESM
9
- } from "./chunk-6EUZQHAF.js";
9
+ } from "./chunk-Y65MI4DK.mjs";
10
10
 
11
- // ../../node_modules/.pnpm/sass@1.83.1/node_modules/sass/sass.dart.js
11
+ // ../../node_modules/.pnpm/sass@1.83.4/node_modules/sass/sass.dart.js
12
12
  var require_sass_dart = __commonJS({
13
- "../../node_modules/.pnpm/sass@1.83.1/node_modules/sass/sass.dart.js"() {
13
+ "../../node_modules/.pnpm/sass@1.83.4/node_modules/sass/sass.dart.js"() {
14
14
  if (!globalThis._cliPkgExports) {
15
15
  globalThis._cliPkgExports = [];
16
16
  }
@@ -26353,7 +26353,7 @@ var require_sass_dart = __commonJS({
26353
26353
  J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
26354
26354
  J.set$Version$x(self.exports, $.$get$versionClass());
26355
26355
  J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
26356
- J.set$info$x(self.exports, "dart-sass 1.83.1 (Sass Compiler) [Dart]\ndart2js 3.6.0 (Dart Compiler) [Dart]");
26356
+ J.set$info$x(self.exports, "dart-sass 1.83.4 (Sass Compiler) [Dart]\ndart2js 3.6.1 (Dart Compiler) [Dart]");
26357
26357
  A.updateCanonicalizeContextPrototype();
26358
26358
  A.updateSourceSpanPrototype();
26359
26359
  J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
@@ -31111,7 +31111,7 @@ var require_sass_dart = __commonJS({
31111
31111
  if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer);
31112
31112
  while (true) switch ($async$goto) {
31113
31113
  case 0:
31114
- $async$returnValue = "1.83.1 compiled with dart2js 3.6.0";
31114
+ $async$returnValue = "1.83.4 compiled with dart2js 3.6.1";
31115
31115
  $async$goto = 1;
31116
31116
  break;
31117
31117
  case 1:
@@ -47445,7 +47445,7 @@ var require_sass_dart = __commonJS({
47445
47445
  }
47446
47446
  try {
47447
47447
  argVersion = A.Version_Version$parse(id);
47448
- sassVersion = A.Version_Version$parse("1.83.1");
47448
+ sassVersion = A.Version_Version$parse("1.83.4");
47449
47449
  if (J.compareTo$1$ns(argVersion, sassVersion) > 0) A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
47450
47450
  J.addAll$1$ax(deprecations2, A.Deprecation_forVersion(argVersion));
47451
47451
  } catch (exception2) {
@@ -52210,29 +52210,27 @@ var require_sass_dart = __commonJS({
52210
52210
  };
52211
52211
  A.StderrLogger.prototype = {
52212
52212
  internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
52213
- var t2, t3, result = new A.StringBuffer(""), t1 = this.color;
52214
- if (t1) {
52215
- t2 = result._contents = "\x1B[33m\x1B[1m";
52216
- t3 = deprecation != null;
52217
- t2 = result._contents = (t3 ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1B[0m";
52218
- if (t3) {
52219
- t2 += " [\x1B[34m" + deprecation.toString$0(0) + "\x1B[0m]";
52220
- result._contents = t2;
52221
- }
52213
+ var t3, result = new A.StringBuffer(""), t1 = deprecation != null, showDeprecation = t1 && deprecation !== B.Deprecation_W1R, t2 = this.color;
52214
+ if (t2) {
52215
+ t3 = result._contents = "\x1B[33m\x1B[1m";
52216
+ t3 = result._contents = (t1 ? result._contents = t3 + "Deprecation " : t3) + "Warning\x1B[0m";
52217
+ if (showDeprecation) {
52218
+ t1 = t3 + (" [\x1B[34m" + A.S(deprecation) + "\x1B[0m]");
52219
+ result._contents = t1;
52220
+ } else t1 = t3;
52222
52221
  } else {
52223
- t2 = deprecation != null;
52224
- t3 = result._contents = (t2 ? result._contents = "DEPRECATION " : "") + "WARNING";
52225
- if (t2) {
52226
- t2 = t3 + (" [" + deprecation.toString$0(0) + "]");
52227
- result._contents = t2;
52228
- } else t2 = t3;
52222
+ t3 = result._contents = (t1 ? result._contents = "DEPRECATION " : "") + "WARNING";
52223
+ if (showDeprecation) {
52224
+ t1 = t3 + (" [" + A.S(deprecation) + "]");
52225
+ result._contents = t1;
52226
+ } else t1 = t3;
52229
52227
  }
52230
- if (span == null) t1 = result._contents = t2 + (": " + message + "\n");
52228
+ if (span == null) t1 = result._contents = t1 + (": " + message + "\n");
52231
52229
  else if (trace != null) {
52232
- t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
52230
+ t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
52233
52231
  result._contents = t1;
52234
52232
  } else {
52235
- t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
52233
+ t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
52236
52234
  result._contents = t1;
52237
52235
  }
52238
52236
  if (trace != null) result._contents = t1 + (A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
@@ -96143,8 +96141,11 @@ var require_sass_dart = __commonJS({
96143
96141
  };
96144
96142
  A.JSToDartLogger_internalWarn_closure.prototype = {
96145
96143
  call$0() {
96146
- var _this = this, t1 = _this.deprecation != null ? B.Deprecation_JeE : null;
96147
- _this.$this._fallback.internalWarn$4$deprecation$span$trace(_this.message, t1, _this.span, _this.trace);
96144
+ var _this = this;
96145
+ $label0$0: {
96146
+ _this.$this._fallback.internalWarn$4$deprecation$span$trace(_this.message, _this.deprecation, _this.span, _this.trace);
96147
+ break $label0$0;
96148
+ }
96148
96149
  },
96149
96150
  $signature: 1
96150
96151
  };
@@ -105692,29 +105693,27 @@ var require_sass_dart = __commonJS({
105692
105693
  };
105693
105694
  A.StderrLogger0.prototype = {
105694
105695
  internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
105695
- var t2, t3, result = new A.StringBuffer(""), t1 = this.color;
105696
- if (t1) {
105697
- t2 = result._contents = "\x1B[33m\x1B[1m";
105698
- t3 = deprecation != null;
105699
- t2 = result._contents = (t3 ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1B[0m";
105700
- if (t3) {
105701
- t2 += " [\x1B[34m" + deprecation.toString$0(0) + "\x1B[0m]";
105702
- result._contents = t2;
105703
- }
105696
+ var t3, result = new A.StringBuffer(""), t1 = deprecation != null, showDeprecation = t1 && deprecation !== B.Deprecation_JeE, t2 = this.color;
105697
+ if (t2) {
105698
+ t3 = result._contents = "\x1B[33m\x1B[1m";
105699
+ t3 = result._contents = (t1 ? result._contents = t3 + "Deprecation " : t3) + "Warning\x1B[0m";
105700
+ if (showDeprecation) {
105701
+ t1 = t3 + (" [\x1B[34m" + A.S(deprecation) + "\x1B[0m]");
105702
+ result._contents = t1;
105703
+ } else t1 = t3;
105704
105704
  } else {
105705
- t2 = deprecation != null;
105706
- t3 = result._contents = (t2 ? result._contents = "DEPRECATION " : "") + "WARNING";
105707
- if (t2) {
105708
- t2 = t3 + (" [" + deprecation.toString$0(0) + "]");
105709
- result._contents = t2;
105710
- } else t2 = t3;
105705
+ t3 = result._contents = (t1 ? result._contents = "DEPRECATION " : "") + "WARNING";
105706
+ if (showDeprecation) {
105707
+ t1 = t3 + (" [" + A.S(deprecation) + "]");
105708
+ result._contents = t1;
105709
+ } else t1 = t3;
105711
105710
  }
105712
- if (span == null) t1 = result._contents = t2 + (": " + message + "\n");
105711
+ if (span == null) t1 = result._contents = t1 + (": " + message + "\n");
105713
105712
  else if (trace != null) {
105714
- t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
105713
+ t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
105715
105714
  result._contents = t1;
105716
105715
  } else {
105717
- t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
105716
+ t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
105718
105717
  result._contents = t1;
105719
105718
  }
105720
105719
  if (trace != null) result._contents = t1 + (A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
@@ -125654,9 +125653,9 @@ var init_immutable_es = __esm({
125654
125653
  }
125655
125654
  });
125656
125655
 
125657
- // ../../node_modules/.pnpm/sass@1.83.1/node_modules/sass/sass.node.js
125656
+ // ../../node_modules/.pnpm/sass@1.83.4/node_modules/sass/sass.node.js
125658
125657
  var require_sass_node = __commonJS({
125659
- "../../node_modules/.pnpm/sass@1.83.1/node_modules/sass/sass.node.js"(exports, module) {
125658
+ "../../node_modules/.pnpm/sass@1.83.4/node_modules/sass/sass.node.js"(exports, module) {
125660
125659
  require_sass_dart();
125661
125660
  var library = globalThis._cliPkgExports.pop();
125662
125661
  if (globalThis._cliPkgExports.length === 0) delete globalThis._cliPkgExports;
@@ -125671,7 +125670,7 @@ var require_sass_node = __commonJS({
125671
125670
  }
125672
125671
  });
125673
125672
 
125674
- // ../../node_modules/.pnpm/sass@1.83.1/node_modules/sass/sass.node.mjs
125673
+ // ../../node_modules/.pnpm/sass@1.83.4/node_modules/sass/sass.node.mjs
125675
125674
  var import_sass_node = __toESM(require_sass_node(), 1);
125676
125675
  var compile = import_sass_node.default.compile;
125677
125676
  var compileAsync = import_sass_node.default.compileAsync;