@fusion.dev/helix-diagnostics 0.192.0 → 0.194.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.
package/README.md CHANGED
@@ -293,6 +293,7 @@ works on it:
293
293
  | `primitive-token` | error | A rule reads a `--_helix-` primitive, which is internal to `@fusion.dev/helix-styles`. Found by `helix scan` |
294
294
  | `unknown-token` | error | A rule reads or sets a `--helix-` name the token set does not have, so it falls back silently. Found by `helix scan` |
295
295
  | `unreflected-attribute` | warn | A rule selects a Helix element by an attribute it takes and never writes back, so it matches only markup a server wrote and nothing after a client navigation |
296
+ | `native-element` | warn | A native element is written where an installed Helix family stands in for it, such as `<button>` for `helix-button` or `<p>` for `helix-text`. Found by `helix scan`, from the templates |
296
297
  | `duplicate-registration` | error | Two copies of Helix are on the page |
297
298
  | `manifest-skew` | error | The manifest is from another version than the page runs. It replaces every other finding, since each would be judged against the wrong version. Turned off, the page is judged as usual |
298
299
 
package/dist/identity.js CHANGED
@@ -5,6 +5,7 @@ const CATEGORY = {
5
5
  'duplicate-registration': 'integrity',
6
6
  'invalid-value': 'markup',
7
7
  'manifest-skew': 'integrity',
8
+ 'native-element': 'guideline',
8
9
  'primitive-token': 'styling',
9
10
  'unforwarded-part': 'styling',
10
11
  'unimported-tag': 'integrity',
@@ -22,6 +23,7 @@ const OWNER = {
22
23
  'duplicate-registration': 'consumer',
23
24
  'invalid-value': 'consumer',
24
25
  'manifest-skew': 'consumer',
26
+ 'native-element': 'consumer',
25
27
  'primitive-token': 'consumer',
26
28
  'unforwarded-part': 'helix',
27
29
  'unimported-tag': 'consumer',
package/dist/report.d.ts CHANGED
@@ -97,7 +97,7 @@ export interface Finding {
97
97
  tag: string;
98
98
  }
99
99
  /** Every fault class, stable across versions. */
100
- export declare const KINDS: readonly ['dead-hook', 'dead-part', 'disabled-attribute', 'duplicate-registration', 'invalid-value', 'manifest-skew', 'primitive-token', 'unforwarded-part', 'unimported-tag', 'unknown-attribute', 'unknown-event', 'unknown-slot', 'unknown-tag', 'unknown-token', 'unreflected-attribute'];
100
+ export declare const KINDS: readonly ['dead-hook', 'dead-part', 'disabled-attribute', 'duplicate-registration', 'invalid-value', 'manifest-skew', 'native-element', 'primitive-token', 'unforwarded-part', 'unimported-tag', 'unknown-attribute', 'unknown-event', 'unknown-slot', 'unknown-tag', 'unknown-token', 'unreflected-attribute'];
101
101
  /** A fault class. */
102
102
  export type Kind = (typeof KINDS)[number];
103
103
  /** How serious a finding is. */
package/dist/report.js CHANGED
@@ -5,6 +5,7 @@ export const KINDS = [
5
5
  'duplicate-registration',
6
6
  'invalid-value',
7
7
  'manifest-skew',
8
+ 'native-element',
8
9
  'primitive-token',
9
10
  'unforwarded-part',
10
11
  'unimported-tag',
package/dist/rules.js CHANGED
@@ -7,6 +7,7 @@ export const SHIPPED_RULES = {
7
7
  'duplicate-registration': 'error',
8
8
  'invalid-value': 'error',
9
9
  'manifest-skew': 'error',
10
+ 'native-element': 'warn',
10
11
  'primitive-token': 'error',
11
12
  'unforwarded-part': 'warn',
12
13
  'unimported-tag': 'warn',
package/dist/version.d.ts CHANGED
@@ -6,4 +6,4 @@
6
6
  * release, so the two never disagree; a spec beside this holds them to it.
7
7
  * Nothing else in the running code knows which release it is.
8
8
  */
9
- export declare const VERSION = "0.192.0";
9
+ export declare const VERSION = "0.194.0";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.192.0';
1
+ export const VERSION = '0.194.0';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix-diagnostics",
3
3
  "description": "Finds the Helix mistakes that are valid CSS: dead parts, misnamed hooks, two copies of the library.",
4
- "version": "0.192.0",
4
+ "version": "0.194.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "bugs": "https://github.com/project-fusion/fusion/issues",
35
35
  "devDependencies": {
36
- "@fusion.dev/helix-testing": "0.192.0",
36
+ "@fusion.dev/helix-testing": "0.194.0",
37
37
  "@types/bun": "^1.4.2"
38
38
  },
39
39
  "homepage": "https://fusion.dev",