@icebreakers/stylelint-config 5.0.3 → 5.0.4

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 (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -70,7 +70,8 @@ const requireFromConfig = createRequire(import.meta.url);
70
70
  const BEM_OOCSS_CLASS_NAME_PATTERN = /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*(?:__[a-z0-9]+(?:-[a-z0-9]+)*)*(?:--[a-z0-9]+(?:-[a-z0-9]+)*)*$/;
71
71
  function resolvePresetPath(specifier) {
72
72
  if (!(process.env["ICEBREAKER_STYLELINT_DISABLE_IMPORT_META_RESOLVE"] === "1") && typeof import.meta.resolve === "function") try {
73
- return fileURLToPath(import.meta.resolve(specifier));
73
+ const resolved = import.meta.resolve(specifier);
74
+ return fileURLToPath(resolved);
74
75
  } catch {}
75
76
  try {
76
77
  return requireFromConfig.resolve(specifier);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/stylelint-config",
3
3
  "type": "module",
4
- "version": "5.0.3",
4
+ "version": "5.0.4",
5
5
  "description": "Stylelint preset from Icebreaker's dev-configs",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -44,14 +44,14 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "comment-json": "^5.0.0",
47
- "postcss-html": "^1.8.1",
48
- "stylelint-config-recess-order": "^7.7.0",
47
+ "postcss-html": "^2.0.0",
48
+ "stylelint-config-recess-order": "^7.8.0",
49
49
  "stylelint-config-recommended": "^18.0.0",
50
50
  "stylelint-config-recommended-scss": "^17.0.1",
51
- "stylelint-config-recommended-vue": "^1.6.1",
51
+ "stylelint-config-recommended-vue": "^2.0.0",
52
52
  "stylelint-config-standard-scss": "^17.0.0",
53
53
  "stylelint-order": "^8.1.1",
54
- "stylelint-plugin-tailwindcss": "3.0.3"
54
+ "stylelint-plugin-tailwindcss": "3.0.4"
55
55
  },
56
56
  "publishConfig": {
57
57
  "access": "public",