stylelint-config-inspector 2.1.2 → 2.3.1

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 (54) hide show
  1. package/dist/cli.cjs +8 -4
  2. package/dist/cli.cjs.map +1 -1
  3. package/dist/cli.mjs +8 -4
  4. package/dist/cli.mjs.map +1 -1
  5. package/dist/nitro.json +3 -3
  6. package/dist/public/200.html +1 -1
  7. package/dist/public/404.html +1 -1
  8. package/dist/public/_nuxt/{gIvUbHeU.js → 8fb7oYZ7.js} +1 -1
  9. package/dist/public/_nuxt/BAcHe6o1.js +1 -0
  10. package/dist/public/_nuxt/BHvHbKKE.js +1 -0
  11. package/dist/public/_nuxt/B_Ai4vLn.js +1 -0
  12. package/dist/public/_nuxt/BsE9Cf6Q.js +1 -0
  13. package/dist/public/_nuxt/Bx7A0lpy.js +1 -0
  14. package/dist/public/_nuxt/C-qAsQUT.js +1 -0
  15. package/dist/public/_nuxt/C2zvjHVY.js +1 -0
  16. package/dist/public/_nuxt/CD-6Huh9.js +3 -0
  17. package/dist/public/_nuxt/CoB_Putt.js +1 -0
  18. package/dist/public/_nuxt/Cvh5Yzk5.js +1 -0
  19. package/dist/public/_nuxt/Cz8buFOa.js +1 -0
  20. package/dist/public/_nuxt/DKDGYXcX.js +4 -0
  21. package/dist/public/_nuxt/DXGm3Xy7.js +153 -0
  22. package/dist/public/_nuxt/GlobItem.4phjDAa3.css +1 -0
  23. package/dist/public/_nuxt/RuleList.CYZAb2ne.css +1 -0
  24. package/dist/public/_nuxt/builds/latest.json +1 -1
  25. package/dist/public/_nuxt/builds/meta/4c08e2a1-6f8e-4ac9-a9ca-a84eff6c1ede.json +1 -0
  26. package/dist/public/_nuxt/dRgU1WmP.js +1 -0
  27. package/dist/public/_nuxt/entry.Cbs_sV94.css +1 -0
  28. package/dist/public/_nuxt/error-404.C3kT2QX-.css +1 -0
  29. package/dist/public/_nuxt/error-500.BW0Y54Of.css +1 -0
  30. package/dist/public/index.html +1 -1
  31. package/dist/stylelint-config-recommended-5NhtDN7A.cjs +48 -0
  32. package/dist/stylelint-config-recommended-5NhtDN7A.cjs.map +1 -0
  33. package/dist/stylelint-config-recommended-B2cdJboF.mjs +48 -0
  34. package/dist/stylelint-config-recommended-B2cdJboF.mjs.map +1 -0
  35. package/package.json +118 -181
  36. package/dist/public/_nuxt/B32w3Z0_.js +0 -1
  37. package/dist/public/_nuxt/BXGE01zI.js +0 -1
  38. package/dist/public/_nuxt/BfTbEWfi.js +0 -1
  39. package/dist/public/_nuxt/BoyKD4TK.js +0 -1
  40. package/dist/public/_nuxt/C-c0Lurd.js +0 -2
  41. package/dist/public/_nuxt/C9htPpno.js +0 -1
  42. package/dist/public/_nuxt/CBRdQU5L.js +0 -1
  43. package/dist/public/_nuxt/CS2wPRIy.js +0 -1
  44. package/dist/public/_nuxt/Cn7w-amQ.js +0 -1
  45. package/dist/public/_nuxt/DII3Ed1Y.js +0 -1
  46. package/dist/public/_nuxt/DPmu0e__.js +0 -1
  47. package/dist/public/_nuxt/DTQ9lSwW.js +0 -153
  48. package/dist/public/_nuxt/DlwPbu84.js +0 -1
  49. package/dist/public/_nuxt/HjVbkg5y.js +0 -4
  50. package/dist/public/_nuxt/RuleList.BhbO3DvU.css +0 -1
  51. package/dist/public/_nuxt/builds/meta/19c0422c-1304-4098-850f-55fb3aa81c3c.json +0 -1
  52. package/dist/public/_nuxt/entry.B86qEHVx.css +0 -1
  53. package/dist/public/_nuxt/error-404.C-Ezrlz-.css +0 -1
  54. package/dist/public/_nuxt/error-500.DBWf9FGj.css +0 -1
package/dist/cli.cjs CHANGED
@@ -1585,8 +1585,8 @@ const justDots = new Set(["..", "."]);
1585
1585
  const reSpecials = /* @__PURE__ */ new Set("().*{}+?[]^$\\!");
1586
1586
  const regExpEscape$1 = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
1587
1587
  const qmark = "[^/]";
1588
- const star$1 = qmark + "*?";
1589
- const starNoEmpty = qmark + "+?";
1588
+ const star$1 = "[^/]*?";
1589
+ const starNoEmpty = "[^/]+?";
1590
1590
  let ID = 0;
1591
1591
  var AST = class {
1592
1592
  type;
@@ -1931,7 +1931,7 @@ var AST = class {
1931
1931
  let final = "";
1932
1932
  if (this.type === "!" && this.#emptyExt) final = (this.isStart() && !dot ? startNoDot : "") + starNoEmpty;
1933
1933
  else {
1934
- const close = this.type === "!" ? "))" + (this.isStart() && !dot && !allowDot ? startNoDot : "") + star$1 + ")" : this.type === "@" ? ")" : this.type === "?" ? ")?" : this.type === "+" && bodyDotAllowed ? ")" : this.type === "*" && bodyDotAllowed ? `)?` : `)${this.type}`;
1934
+ const close = this.type === "!" ? "))" + (this.isStart() && !dot && !allowDot ? startNoDot : "") + "[^/]*?)" : this.type === "@" ? ")" : this.type === "?" ? ")?" : this.type === "+" && bodyDotAllowed ? ")" : this.type === "*" && bodyDotAllowed ? `)?` : `)${this.type}`;
1935
1935
  final = start + body + close;
1936
1936
  }
1937
1937
  return [
@@ -3871,6 +3871,8 @@ const filesAndIgnoresSchema = Object.freeze({
3871
3871
  }
3872
3872
  });
3873
3873
  (0, import_src.default)("@eslint/config-array");
3874
+ new Set(["array", "function"]);
3875
+ new Set(["name", "basePath"]);
3874
3876
  new ObjectSchema(filesAndIgnoresSchema);
3875
3877
  Object.freeze({ status: "external" });
3876
3878
  Object.freeze({ status: "ignored" });
@@ -3972,6 +3974,8 @@ var ConfigInspectorError = class extends Error {
3972
3974
  }
3973
3975
  };
3974
3976
  var ConfigPathError = class extends ConfigInspectorError {
3977
+ basePath;
3978
+ configFilenames;
3975
3979
  name = "ConfigPathError";
3976
3980
  constructor(basePath, configFilenames) {
3977
3981
  super("Cannot find Stylelint config file");
@@ -4571,7 +4575,7 @@ async function resolveRecommendedCoreRuleNames() {
4571
4575
  if (_recommendedCoreRulesPromise) return await _recommendedCoreRulesPromise;
4572
4576
  _recommendedCoreRulesPromise = (async () => {
4573
4577
  try {
4574
- const moduleValue = await import("stylelint-config-recommended");
4578
+ const moduleValue = await Promise.resolve().then(() => require("./stylelint-config-recommended-5NhtDN7A.cjs"));
4575
4579
  const configValue = moduleValue.default ?? moduleValue;
4576
4580
  if (!isRecord(configValue) || !isRecord(configValue["rules"])) return /* @__PURE__ */ new Set();
4577
4581
  return new Set(Object.keys(configValue["rules"]));