@cssdoc/providers 0.5.1 → 0.5.3

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.mjs +1 -1
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -395,7 +395,7 @@ const record = {
395
395
  fragments.examples = frag;
396
396
  }
397
397
  }
398
- for (const key of sectionOrder ?? HOVER_SECTION_KEYS) {
398
+ for (const key of sectionOrder?.length ? sectionOrder : HOVER_SECTION_KEYS) {
399
399
  const frag = fragments[key];
400
400
  if (frag) lines.push(...frag);
401
401
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cssdoc/providers",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "Host-agnostic aspect providers over the @cssdoc/index — diagnostics, completions, hover, and definitions for modifiers, custom properties, structure, functions, states, and conditions.",
5
5
  "keywords": [
6
6
  "css",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "css-tree": "^3.2.1",
32
- "@cssdoc/core": "0.5.1",
33
- "@cssdoc/index": "0.5.1"
32
+ "@cssdoc/core": "0.5.3",
33
+ "@cssdoc/index": "0.5.3"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/css-tree": "^2.3.11",