@drskillissue/ganko 0.2.1 → 0.2.6
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/dist/{chunk-CAKVXEYV.js → chunk-FTIRRRQY.js} +252 -52
- package/dist/chunk-FTIRRRQY.js.map +1 -0
- package/dist/eslint-plugin.cjs +251 -51
- package/dist/eslint-plugin.cjs.map +1 -1
- package/dist/eslint-plugin.js +1 -1
- package/dist/index.cjs +251 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-CAKVXEYV.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -2510,7 +2510,7 @@ interface AlignmentContext {
|
|
|
2510
2510
|
readonly evidence: LayoutContextEvidence;
|
|
2511
2511
|
}
|
|
2512
2512
|
|
|
2513
|
-
declare const layoutSignalNames: readonly ["line-height", "font-size", "width", "inline-size", "height", "block-size", "min-width", "min-block-size", "min-height", "aspect-ratio", "vertical-align", "display", "white-space", "object-fit", "overflow", "overflow-y", "overflow-anchor", "scrollbar-gutter", "scrollbar-width", "contain-intrinsic-size", "content-visibility", "align-items", "align-self", "justify-items", "place-items", "place-self", "flex-direction", "grid-auto-flow", "appearance", "box-sizing", "padding-top", "padding-left", "padding-right", "padding-bottom", "border-top-width", "border-left-width", "border-right-width", "border-bottom-width", "position", "top", "bottom", "margin-top", "margin-bottom", "transform", "translate", "inset-block-start", "inset-block-end", "writing-mode", "direction"];
|
|
2513
|
+
declare const layoutSignalNames: readonly ["line-height", "font-size", "width", "inline-size", "height", "block-size", "min-width", "min-block-size", "min-height", "aspect-ratio", "vertical-align", "display", "white-space", "object-fit", "overflow", "overflow-y", "overflow-anchor", "scrollbar-gutter", "scrollbar-width", "contain-intrinsic-size", "content-visibility", "align-items", "align-self", "justify-items", "place-items", "place-self", "flex-direction", "grid-auto-flow", "appearance", "box-sizing", "padding-top", "padding-left", "padding-right", "padding-bottom", "border-top-width", "border-left-width", "border-right-width", "border-bottom-width", "position", "top", "bottom", "margin-top", "margin-bottom", "transform", "translate", "inset-block-start", "inset-block-end", "writing-mode", "direction", "contain"];
|
|
2514
2514
|
type LayoutSignalName = (typeof layoutSignalNames)[number];
|
|
2515
2515
|
declare const enum LayoutSignalSource {
|
|
2516
2516
|
Selector = 0,
|
|
@@ -2712,7 +2712,7 @@ interface EvidenceProvenance {
|
|
|
2712
2712
|
readonly guards: readonly LayoutGuardConditionProvenance[];
|
|
2713
2713
|
}
|
|
2714
2714
|
|
|
2715
|
-
type LayoutGuardConditionKind = "media" | "supports" | "container";
|
|
2715
|
+
type LayoutGuardConditionKind = "media" | "supports" | "container" | "dynamic-attribute";
|
|
2716
2716
|
interface LayoutGuardConditionProvenance {
|
|
2717
2717
|
readonly kind: LayoutGuardConditionKind;
|
|
2718
2718
|
readonly query: string | null;
|
|
@@ -2764,6 +2764,8 @@ interface LayoutMatchEdge {
|
|
|
2764
2764
|
readonly selectorId: number;
|
|
2765
2765
|
readonly specificityScore: number;
|
|
2766
2766
|
readonly sourceOrder: number;
|
|
2767
|
+
/** Whether the selector match is conditional due to dynamic attribute values. */
|
|
2768
|
+
readonly conditionalMatch: boolean;
|
|
2767
2769
|
}
|
|
2768
2770
|
interface LayoutElementRef {
|
|
2769
2771
|
readonly solid: SolidGraph;
|
package/dist/index.d.ts
CHANGED
|
@@ -2510,7 +2510,7 @@ interface AlignmentContext {
|
|
|
2510
2510
|
readonly evidence: LayoutContextEvidence;
|
|
2511
2511
|
}
|
|
2512
2512
|
|
|
2513
|
-
declare const layoutSignalNames: readonly ["line-height", "font-size", "width", "inline-size", "height", "block-size", "min-width", "min-block-size", "min-height", "aspect-ratio", "vertical-align", "display", "white-space", "object-fit", "overflow", "overflow-y", "overflow-anchor", "scrollbar-gutter", "scrollbar-width", "contain-intrinsic-size", "content-visibility", "align-items", "align-self", "justify-items", "place-items", "place-self", "flex-direction", "grid-auto-flow", "appearance", "box-sizing", "padding-top", "padding-left", "padding-right", "padding-bottom", "border-top-width", "border-left-width", "border-right-width", "border-bottom-width", "position", "top", "bottom", "margin-top", "margin-bottom", "transform", "translate", "inset-block-start", "inset-block-end", "writing-mode", "direction"];
|
|
2513
|
+
declare const layoutSignalNames: readonly ["line-height", "font-size", "width", "inline-size", "height", "block-size", "min-width", "min-block-size", "min-height", "aspect-ratio", "vertical-align", "display", "white-space", "object-fit", "overflow", "overflow-y", "overflow-anchor", "scrollbar-gutter", "scrollbar-width", "contain-intrinsic-size", "content-visibility", "align-items", "align-self", "justify-items", "place-items", "place-self", "flex-direction", "grid-auto-flow", "appearance", "box-sizing", "padding-top", "padding-left", "padding-right", "padding-bottom", "border-top-width", "border-left-width", "border-right-width", "border-bottom-width", "position", "top", "bottom", "margin-top", "margin-bottom", "transform", "translate", "inset-block-start", "inset-block-end", "writing-mode", "direction", "contain"];
|
|
2514
2514
|
type LayoutSignalName = (typeof layoutSignalNames)[number];
|
|
2515
2515
|
declare const enum LayoutSignalSource {
|
|
2516
2516
|
Selector = 0,
|
|
@@ -2712,7 +2712,7 @@ interface EvidenceProvenance {
|
|
|
2712
2712
|
readonly guards: readonly LayoutGuardConditionProvenance[];
|
|
2713
2713
|
}
|
|
2714
2714
|
|
|
2715
|
-
type LayoutGuardConditionKind = "media" | "supports" | "container";
|
|
2715
|
+
type LayoutGuardConditionKind = "media" | "supports" | "container" | "dynamic-attribute";
|
|
2716
2716
|
interface LayoutGuardConditionProvenance {
|
|
2717
2717
|
readonly kind: LayoutGuardConditionKind;
|
|
2718
2718
|
readonly query: string | null;
|
|
@@ -2764,6 +2764,8 @@ interface LayoutMatchEdge {
|
|
|
2764
2764
|
readonly selectorId: number;
|
|
2765
2765
|
readonly specificityScore: number;
|
|
2766
2766
|
readonly sourceOrder: number;
|
|
2767
|
+
/** Whether the selector match is conditional due to dynamic attribute values. */
|
|
2768
|
+
readonly conditionalMatch: boolean;
|
|
2767
2769
|
}
|
|
2768
2770
|
interface LayoutElementRef {
|
|
2769
2771
|
readonly solid: SolidGraph;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drskillissue/ganko",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "Static analysis SDK for Solid.js — graphs, rules, ESLint adapter",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"build": "bun run generate && tsup",
|
|
72
72
|
"dev": "tsup --watch",
|
|
73
73
|
"clean": "bun -e \"import { rm } from 'node:fs/promises'; await rm('dist', { recursive: true, force: true });\"",
|
|
74
|
-
"test": "vitest --run",
|
|
74
|
+
"test": "NODE_OPTIONS='--max-old-space-size=8192' vitest --run",
|
|
75
75
|
"test:watch": "vitest",
|
|
76
76
|
"lint": "eslint src",
|
|
77
77
|
"tsc": "tsc --noEmit"
|