vite 6.0.0-beta.6 → 6.0.0-beta.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/LICENSE.md CHANGED
@@ -418,29 +418,6 @@ Repositories: chalk/ansi-regex, sindresorhus/bundle-name, sindresorhus/default-b
418
418
 
419
419
  ---------------------------------------
420
420
 
421
- ## anymatch
422
- License: ISC
423
- By: Elan Shanker
424
- Repository: https://github.com/micromatch/anymatch
425
-
426
- > The ISC License
427
- >
428
- > Copyright (c) 2019 Elan Shanker, Paul Miller (https://paulmillr.com)
429
- >
430
- > Permission to use, copy, modify, and/or distribute this software for any
431
- > purpose with or without fee is hereby granted, provided that the above
432
- > copyright notice and this permission notice appear in all copies.
433
- >
434
- > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
435
- > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
436
- > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
437
- > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
438
- > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
439
- > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
440
- > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
441
-
442
- ---------------------------------------
443
-
444
421
  ## artichokie
445
422
  License: MIT
446
423
  By: sapphi-red, Evan You
@@ -471,91 +448,6 @@ Repository: git+https://github.com/sapphi-red/artichokie.git
471
448
 
472
449
  ---------------------------------------
473
450
 
474
- ## astring
475
- License: MIT
476
- By: David Bonnet
477
- Repository: https://github.com/davidbonnet/astring.git
478
-
479
- > Copyright (c) 2015, David Bonnet <david@bonnet.cc>
480
- >
481
- > Permission is hereby granted, free of charge, to any person obtaining a copy
482
- > of this software and associated documentation files (the "Software"), to deal
483
- > in the Software without restriction, including without limitation the rights
484
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
485
- > copies of the Software, and to permit persons to whom the Software is
486
- > furnished to do so, subject to the following conditions:
487
- >
488
- > The above copyright notice and this permission notice shall be included in
489
- > all copies or substantial portions of the Software.
490
- >
491
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
492
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
493
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
494
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
495
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
496
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
497
- > THE SOFTWARE.
498
-
499
- ---------------------------------------
500
-
501
- ## binary-extensions, is-binary-path
502
- License: MIT
503
- By: Sindre Sorhus
504
- Repositories: sindresorhus/binary-extensions, sindresorhus/is-binary-path
505
-
506
- > MIT License
507
- >
508
- > Copyright (c) 2019 Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com), Paul Miller (https://paulmillr.com)
509
- >
510
- > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
511
- >
512
- > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
513
- >
514
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
515
-
516
- ---------------------------------------
517
-
518
- ## braces, fill-range, is-number, micromatch
519
- License: MIT
520
- By: Jon Schlinkert, Brian Woodward, Elan Shanker, Eugene Sharygin, hemanth.hm
521
- Repository: micromatch/braces
522
-
523
- License: MIT
524
- By: Jon Schlinkert, Edo Rivai, Paul Miller, Rouven Weßling
525
- Repository: jonschlinkert/fill-range
526
-
527
- License: MIT
528
- By: Jon Schlinkert, Olsten Larck, Rouven Weßling
529
- Repository: jonschlinkert/is-number
530
-
531
- License: MIT
532
- By: Jon Schlinkert, Amila Welihinda, Bogdan Chadkin, Brian Woodward, Devon Govett, Elan Shanker, Fabrício Matté, Martin Kolárik, Olsten Larck, Paul Miller, Tom Byrer, Tyler Akins, Peter Bright, Kuba Juszczyk
533
- Repository: micromatch/micromatch
534
-
535
- > The MIT License (MIT)
536
- >
537
- > Copyright (c) 2014-present, Jon Schlinkert.
538
- >
539
- > Permission is hereby granted, free of charge, to any person obtaining a copy
540
- > of this software and associated documentation files (the "Software"), to deal
541
- > in the Software without restriction, including without limitation the rights
542
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
543
- > copies of the Software, and to permit persons to whom the Software is
544
- > furnished to do so, subject to the following conditions:
545
- >
546
- > The above copyright notice and this permission notice shall be included in
547
- > all copies or substantial portions of the Software.
548
- >
549
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
550
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
551
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
552
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
553
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
554
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
555
- > THE SOFTWARE.
556
-
557
- ---------------------------------------
558
-
559
451
  ## cac
560
452
  License: MIT
561
453
  By: egoist
@@ -587,12 +479,12 @@ Repository: egoist/cac
587
479
 
588
480
  ## chokidar
589
481
  License: MIT
590
- By: Paul Miller, Elan Shanker
482
+ By: Paul Miller
591
483
  Repository: git+https://github.com/paulmillr/chokidar.git
592
484
 
593
485
  > The MIT License (MIT)
594
486
  >
595
- > Copyright (c) 2012-2019 Paul Miller (https://paulmillr.com), Elan Shanker
487
+ > Copyright (c) 2012 Paul Miller (https://paulmillr.com), Elan Shanker
596
488
  >
597
489
  > Permission is hereby granted, free of charge, to any person obtaining a copy
598
490
  > of this software and associated documentation files (the “Software”), to deal
@@ -1186,29 +1078,6 @@ Repository: git+https://github.com/css-modules/generic-names.git
1186
1078
 
1187
1079
  ---------------------------------------
1188
1080
 
1189
- ## glob-parent
1190
- License: ISC
1191
- By: Gulp Team, Elan Shanker, Blaine Bublitz
1192
- Repository: gulpjs/glob-parent
1193
-
1194
- > The ISC License
1195
- >
1196
- > Copyright (c) 2015, 2019 Elan Shanker
1197
- >
1198
- > Permission to use, copy, modify, and/or distribute this software for any
1199
- > purpose with or without fee is hereby granted, provided that the above
1200
- > copyright notice and this permission notice appear in all copies.
1201
- >
1202
- > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1203
- > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1204
- > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1205
- > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1206
- > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1207
- > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
1208
- > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1209
-
1210
- ---------------------------------------
1211
-
1212
1081
  ## http-proxy
1213
1082
  License: MIT
1214
1083
  By: Charlie Robbins, jcrugzz <jcrugzz@gmail.com>
@@ -1253,64 +1122,6 @@ Repository: git+https://github.com/css-modules/icss-utils.git
1253
1122
 
1254
1123
  ---------------------------------------
1255
1124
 
1256
- ## is-extglob
1257
- License: MIT
1258
- By: Jon Schlinkert
1259
- Repository: jonschlinkert/is-extglob
1260
-
1261
- > The MIT License (MIT)
1262
- >
1263
- > Copyright (c) 2014-2016, Jon Schlinkert
1264
- >
1265
- > Permission is hereby granted, free of charge, to any person obtaining a copy
1266
- > of this software and associated documentation files (the "Software"), to deal
1267
- > in the Software without restriction, including without limitation the rights
1268
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1269
- > copies of the Software, and to permit persons to whom the Software is
1270
- > furnished to do so, subject to the following conditions:
1271
- >
1272
- > The above copyright notice and this permission notice shall be included in
1273
- > all copies or substantial portions of the Software.
1274
- >
1275
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1276
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1277
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1278
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1279
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1280
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1281
- > THE SOFTWARE.
1282
-
1283
- ---------------------------------------
1284
-
1285
- ## is-glob
1286
- License: MIT
1287
- By: Jon Schlinkert, Brian Woodward, Daniel Perez
1288
- Repository: micromatch/is-glob
1289
-
1290
- > The MIT License (MIT)
1291
- >
1292
- > Copyright (c) 2014-2017, Jon Schlinkert.
1293
- >
1294
- > Permission is hereby granted, free of charge, to any person obtaining a copy
1295
- > of this software and associated documentation files (the "Software"), to deal
1296
- > in the Software without restriction, including without limitation the rights
1297
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1298
- > copies of the Software, and to permit persons to whom the Software is
1299
- > furnished to do so, subject to the following conditions:
1300
- >
1301
- > The above copyright notice and this permission notice shall be included in
1302
- > all copies or substantial portions of the Software.
1303
- >
1304
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1305
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1306
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1307
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1308
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1309
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1310
- > THE SOFTWARE.
1311
-
1312
- ---------------------------------------
1313
-
1314
1125
  ## is-reference
1315
1126
  License: MIT
1316
1127
  By: Rich Harris
@@ -1611,39 +1422,10 @@ Repository: vercel/ms
1611
1422
 
1612
1423
  ---------------------------------------
1613
1424
 
1614
- ## normalize-path
1615
- License: MIT
1616
- By: Jon Schlinkert, Blaine Bublitz
1617
- Repository: jonschlinkert/normalize-path
1618
-
1619
- > The MIT License (MIT)
1620
- >
1621
- > Copyright (c) 2014-2018, Jon Schlinkert.
1622
- >
1623
- > Permission is hereby granted, free of charge, to any person obtaining a copy
1624
- > of this software and associated documentation files (the "Software"), to deal
1625
- > in the Software without restriction, including without limitation the rights
1626
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1627
- > copies of the Software, and to permit persons to whom the Software is
1628
- > furnished to do so, subject to the following conditions:
1629
- >
1630
- > The above copyright notice and this permission notice shall be included in
1631
- > all copies or substantial portions of the Software.
1632
- >
1633
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1634
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1635
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1636
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1637
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1638
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1639
- > THE SOFTWARE.
1640
-
1641
- ---------------------------------------
1642
-
1643
- ## object-assign, pify
1425
+ ## object-assign
1644
1426
  License: MIT
1645
1427
  By: Sindre Sorhus
1646
- Repositories: sindresorhus/object-assign, sindresorhus/pify
1428
+ Repository: sindresorhus/object-assign
1647
1429
 
1648
1430
  > The MIT License (MIT)
1649
1431
  >
@@ -2056,34 +1838,6 @@ Repository: https://github.com/TrySound/postcss-value-parser.git
2056
1838
 
2057
1839
  ---------------------------------------
2058
1840
 
2059
- ## read-cache
2060
- License: MIT
2061
- By: Bogdan Chadkin
2062
- Repository: git+https://github.com/TrySound/read-cache.git
2063
-
2064
- > The MIT License (MIT)
2065
- >
2066
- > Copyright 2016 Bogdan Chadkin <trysound@yandex.ru>
2067
- >
2068
- > Permission is hereby granted, free of charge, to any person obtaining a copy of
2069
- > this software and associated documentation files (the "Software"), to deal in
2070
- > the Software without restriction, including without limitation the rights to
2071
- > use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
2072
- > the Software, and to permit persons to whom the Software is furnished to do so,
2073
- > subject to the following conditions:
2074
- >
2075
- > The above copyright notice and this permission notice shall be included in all
2076
- > copies or substantial portions of the Software.
2077
- >
2078
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2079
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
2080
- > FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
2081
- > COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
2082
- > IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2083
- > CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2084
-
2085
- ---------------------------------------
2086
-
2087
1841
  ## readdirp
2088
1842
  License: MIT
2089
1843
  By: Thorsten Lorenz, Paul Miller
@@ -2290,35 +2044,6 @@ Repository: git+https://github.com/SuperchupuDev/tinyglobby.git
2290
2044
 
2291
2045
  ---------------------------------------
2292
2046
 
2293
- ## to-regex-range
2294
- License: MIT
2295
- By: Jon Schlinkert, Rouven Weßling
2296
- Repository: micromatch/to-regex-range
2297
-
2298
- > The MIT License (MIT)
2299
- >
2300
- > Copyright (c) 2015-present, Jon Schlinkert.
2301
- >
2302
- > Permission is hereby granted, free of charge, to any person obtaining a copy
2303
- > of this software and associated documentation files (the "Software"), to deal
2304
- > in the Software without restriction, including without limitation the rights
2305
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2306
- > copies of the Software, and to permit persons to whom the Software is
2307
- > furnished to do so, subject to the following conditions:
2308
- >
2309
- > The above copyright notice and this permission notice shall be included in
2310
- > all copies or substantial portions of the Software.
2311
- >
2312
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2313
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2314
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2315
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2316
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2317
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2318
- > THE SOFTWARE.
2319
-
2320
- ---------------------------------------
2321
-
2322
2047
  ## tsconfck
2323
2048
  License: MIT
2324
2049
  By: dominikg
@@ -1,9 +1,9 @@
1
- import { M as commonjsGlobal, L as getDefaultExportFromCjs } from './dep-D4jOq5eU.js';
2
- import require$$0$3 from 'fs';
3
- import require$$0$1 from 'postcss';
4
- import require$$0 from 'path';
1
+ import { M as commonjsGlobal, L as getDefaultExportFromCjs } from './dep-Vd7gFLqj.js';
2
+ import require$$0$1 from 'fs';
3
+ import require$$0 from 'postcss';
4
+ import sysPath__default from 'path';
5
5
  import require$$3 from 'crypto';
6
- import require$$0$2 from 'util';
6
+ import require$$1 from 'util';
7
7
  import { r as requireLib } from './dep-mtw2NpNs.js';
8
8
 
9
9
  import { createRequire as __cjs_createRequire } from 'node:module';
@@ -1126,9 +1126,9 @@ function requireFileSystemLoader () {
1126
1126
  });
1127
1127
  FileSystemLoader.default = void 0;
1128
1128
 
1129
- var _postcss = _interopRequireDefault(require$$0$1);
1129
+ var _postcss = _interopRequireDefault(require$$0);
1130
1130
 
1131
- var _path = _interopRequireDefault(require$$0);
1131
+ var _path = _interopRequireDefault(sysPath__default);
1132
1132
 
1133
1133
  var _Parser = _interopRequireDefault(requireParser$1());
1134
1134
 
@@ -2157,7 +2157,7 @@ function requireInterpolateName () {
2157
2157
  if (hasRequiredInterpolateName) return interpolateName_1;
2158
2158
  hasRequiredInterpolateName = 1;
2159
2159
 
2160
- const path = require$$0;
2160
+ const path = sysPath__default;
2161
2161
  const getHashDigest = requireGetHashDigest();
2162
2162
 
2163
2163
  function interpolateName(loaderContext, name, options = {}) {
@@ -2282,7 +2282,7 @@ function requireGenericNames () {
2282
2282
  hasRequiredGenericNames = 1;
2283
2283
 
2284
2284
  var interpolateName = requireInterpolateName();
2285
- var path = require$$0;
2285
+ var path = sysPath__default;
2286
2286
 
2287
2287
  /**
2288
2288
  * @param {string} pattern
@@ -3631,7 +3631,7 @@ function requireNode () {
3631
3631
  * For Node.js, simply re-export the core `util.deprecate` function.
3632
3632
  */
3633
3633
 
3634
- node = require$$0$2.deprecate;
3634
+ node = require$$1.deprecate;
3635
3635
  return node;
3636
3636
  }
3637
3637
 
@@ -5030,7 +5030,7 @@ function requireParser () {
5030
5030
  }
5031
5031
  // We need to decide between a space that's a descendant combinator and meaningless whitespace at the end of a selector.
5032
5032
  var nextSigTokenPos = this.locateNextMeaningfulToken(this.position);
5033
- if (nextSigTokenPos < 0 || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.comma) {
5033
+ if (nextSigTokenPos < 0 || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.comma || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.closeParenthesis) {
5034
5034
  var nodes = this.parseWhitespaceEquivalentTokens(nextSigTokenPos);
5035
5035
  if (nodes.length > 0) {
5036
5036
  var last = this.current.last;
@@ -7079,7 +7079,7 @@ function requirePluginFactory () {
7079
7079
  });
7080
7080
  pluginFactory.makePlugin = makePlugin;
7081
7081
 
7082
- var _postcss = _interopRequireDefault(require$$0$1);
7082
+ var _postcss = _interopRequireDefault(require$$0);
7083
7083
 
7084
7084
  var _unquote = _interopRequireDefault(requireUnquote());
7085
7085
 
@@ -7188,7 +7188,7 @@ function requireBuild () {
7188
7188
  if (hasRequiredBuild) return build.exports;
7189
7189
  hasRequiredBuild = 1;
7190
7190
 
7191
- var _fs = require$$0$3;
7191
+ var _fs = require$$0$1;
7192
7192
 
7193
7193
  var _fs2 = requireFs();
7194
7194
 
@@ -1,6 +1,5 @@
1
- import { L as getDefaultExportFromCjs } from './dep-D4jOq5eU.js';
2
- import require$$0$1 from 'path';
3
- import require$$0 from 'fs';
1
+ import { L as getDefaultExportFromCjs } from './dep-Vd7gFLqj.js';
2
+ import sysPath__default from 'path';
4
3
  import { r as requireLib } from './dep-mtw2NpNs.js';
5
4
 
6
5
  import { createRequire as __cjs_createRequire } from 'node:module';
@@ -231,171 +230,6 @@ function requireApplyStyles () {
231
230
  return applyStyles;
232
231
  }
233
232
 
234
- var readCache = {exports: {}};
235
-
236
- var pify = {exports: {}};
237
-
238
- var hasRequiredPify;
239
-
240
- function requirePify () {
241
- if (hasRequiredPify) return pify.exports;
242
- hasRequiredPify = 1;
243
-
244
- var processFn = function (fn, P, opts) {
245
- return function () {
246
- var that = this;
247
- var args = new Array(arguments.length);
248
-
249
- for (var i = 0; i < arguments.length; i++) {
250
- args[i] = arguments[i];
251
- }
252
-
253
- return new P(function (resolve, reject) {
254
- args.push(function (err, result) {
255
- if (err) {
256
- reject(err);
257
- } else if (opts.multiArgs) {
258
- var results = new Array(arguments.length - 1);
259
-
260
- for (var i = 1; i < arguments.length; i++) {
261
- results[i - 1] = arguments[i];
262
- }
263
-
264
- resolve(results);
265
- } else {
266
- resolve(result);
267
- }
268
- });
269
-
270
- fn.apply(that, args);
271
- });
272
- };
273
- };
274
-
275
- var pify$1 = pify.exports = function (obj, P, opts) {
276
- if (typeof P !== 'function') {
277
- opts = P;
278
- P = Promise;
279
- }
280
-
281
- opts = opts || {};
282
- opts.exclude = opts.exclude || [/.+Sync$/];
283
-
284
- var filter = function (key) {
285
- var match = function (pattern) {
286
- return typeof pattern === 'string' ? key === pattern : pattern.test(key);
287
- };
288
-
289
- return opts.include ? opts.include.some(match) : !opts.exclude.some(match);
290
- };
291
-
292
- var ret = typeof obj === 'function' ? function () {
293
- if (opts.excludeMain) {
294
- return obj.apply(this, arguments);
295
- }
296
-
297
- return processFn(obj, P, opts).apply(this, arguments);
298
- } : {};
299
-
300
- return Object.keys(obj).reduce(function (ret, key) {
301
- var x = obj[key];
302
-
303
- ret[key] = typeof x === 'function' && filter(key) ? processFn(x, P, opts) : x;
304
-
305
- return ret;
306
- }, ret);
307
- };
308
-
309
- pify$1.all = pify$1;
310
- return pify.exports;
311
- }
312
-
313
- var hasRequiredReadCache;
314
-
315
- function requireReadCache () {
316
- if (hasRequiredReadCache) return readCache.exports;
317
- hasRequiredReadCache = 1;
318
- var fs = require$$0;
319
- var path = require$$0$1;
320
- var pify = requirePify();
321
-
322
- var stat = pify(fs.stat);
323
- var readFile = pify(fs.readFile);
324
- var resolve = path.resolve;
325
-
326
- var cache = Object.create(null);
327
-
328
- function convert(content, encoding) {
329
- if (Buffer.isEncoding(encoding)) {
330
- return content.toString(encoding);
331
- }
332
- return content;
333
- }
334
-
335
- readCache.exports = function (path, encoding) {
336
- path = resolve(path);
337
-
338
- return stat(path).then(function (stats) {
339
- var item = cache[path];
340
-
341
- if (item && item.mtime.getTime() === stats.mtime.getTime()) {
342
- return convert(item.content, encoding);
343
- }
344
-
345
- return readFile(path).then(function (data) {
346
- cache[path] = {
347
- mtime: stats.mtime,
348
- content: data
349
- };
350
-
351
- return convert(data, encoding);
352
- });
353
- }).catch(function (err) {
354
- cache[path] = null;
355
- return Promise.reject(err);
356
- });
357
- };
358
-
359
- readCache.exports.sync = function (path, encoding) {
360
- path = resolve(path);
361
-
362
- try {
363
- var stats = fs.statSync(path);
364
- var item = cache[path];
365
-
366
- if (item && item.mtime.getTime() === stats.mtime.getTime()) {
367
- return convert(item.content, encoding);
368
- }
369
-
370
- var data = fs.readFileSync(path);
371
-
372
- cache[path] = {
373
- mtime: stats.mtime,
374
- content: data
375
- };
376
-
377
- return convert(data, encoding);
378
- } catch (err) {
379
- cache[path] = null;
380
- throw err;
381
- }
382
-
383
- };
384
-
385
- readCache.exports.get = function (path, encoding) {
386
- path = resolve(path);
387
- if (cache[path]) {
388
- return convert(cache[path].content, encoding);
389
- }
390
- return null;
391
- };
392
-
393
- readCache.exports.clear = function () {
394
- cache = Object.create(null);
395
- };
396
- return readCache.exports;
397
- }
398
-
399
233
  var dataUrl;
400
234
  var hasRequiredDataUrl;
401
235
 
@@ -433,26 +267,6 @@ function requireDataUrl () {
433
267
  return dataUrl;
434
268
  }
435
269
 
436
- var loadContent;
437
- var hasRequiredLoadContent;
438
-
439
- function requireLoadContent () {
440
- if (hasRequiredLoadContent) return loadContent;
441
- hasRequiredLoadContent = 1;
442
-
443
- const readCache = requireReadCache();
444
- const dataURL = requireDataUrl();
445
-
446
- loadContent = function loadContent(filename) {
447
- if (dataURL.isValid(filename)) {
448
- return dataURL.contents(filename)
449
- }
450
-
451
- return readCache(filename, "utf-8")
452
- };
453
- return loadContent;
454
- }
455
-
456
270
  var parseStatements;
457
271
  var hasRequiredParseStatements;
458
272
 
@@ -704,7 +518,7 @@ function requireProcessContent () {
704
518
  hasRequiredProcessContent = 1;
705
519
 
706
520
  // builtin tooling
707
- const path = require$$0$1;
521
+ const path = sysPath__default;
708
522
 
709
523
  // placeholder tooling
710
524
  let sugarss;
@@ -771,7 +585,7 @@ function requireParseStyles () {
771
585
  if (hasRequiredParseStyles) return parseStyles_1;
772
586
  hasRequiredParseStyles = 1;
773
587
 
774
- const path = require$$0$1;
588
+ const path = sysPath__default;
775
589
 
776
590
  const dataURL = requireDataUrl();
777
591
  const parseStatements = requireParseStatements();
@@ -1017,13 +831,13 @@ function requirePostcssImport () {
1017
831
  if (hasRequiredPostcssImport) return postcssImport;
1018
832
  hasRequiredPostcssImport = 1;
1019
833
  // builtin tooling
1020
- const path = require$$0$1;
834
+ const path = sysPath__default;
1021
835
 
1022
836
  // internal tooling
1023
837
  const applyConditions = requireApplyConditions();
1024
838
  const applyRaws = requireApplyRaws();
1025
839
  const applyStyles = requireApplyStyles();
1026
- const loadContent = requireLoadContent();
840
+ const loadContent = () => "";
1027
841
  const parseStyles = requireParseStyles();
1028
842
  const resolveId = (id) => id;
1029
843