oxlint-plugin-react-doctor 0.9.18-dev.9a79847 → 0.9.18
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/capability-BE9ryJ2C.js +28 -0
- package/dist/core.d.ts +2 -23
- package/dist/core.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -12
- package/dist/{react-native-dependency-names-HniFQ29a.d.ts → react-native-dependency-names-wQiIw9Gw.d.ts} +1 -2
- package/package.json +1 -1
- package/dist/capability-BcLhLM_e.js +0 -28
package/dist/core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as FRAMEWORK_TOKENS, C as RuleContext, D as ScannedFile, E as ScanFinding, O as Capability, T as FileScan, _ as RuleExecution, a as shouldReadSecurityScanContent, b as RuleSeverity, c as UNBOUNDED_CROSS_FILE_RULE_IDS, d as CROSS_FILE_RULE_IDS, f as MOTION_LIBRARY_PACKAGES, g as Rule, h as OxlintRuleSeverity, i as classifySecurityScanFile, j as FrameworkToken, k as CapabilityQuery, l as collectCrossFileDependencyProbes, m as REACT_COMPILER_RULES, n as REACT_NATIVE_DEPENDENCY_PREFIXES, o as resetFilesystemCaches, p as EXTERNAL_RULES, r as isReactNativeDependencyName, s as CROSS_FILE_DEPENDENCY_COLLECTORS, t as REACT_NATIVE_DEPENDENCY_NAMES, u as CrossFileProbeTrace, v as RuleFramework, w as EsTreeNode, x as RuleVisitors } from "./react-native-dependency-names-
|
|
1
|
+
import { A as FRAMEWORK_TOKENS, C as RuleContext, D as ScannedFile, E as ScanFinding, O as Capability, T as FileScan, _ as RuleExecution, a as shouldReadSecurityScanContent, b as RuleSeverity, c as UNBOUNDED_CROSS_FILE_RULE_IDS, d as CROSS_FILE_RULE_IDS, f as MOTION_LIBRARY_PACKAGES, g as Rule, h as OxlintRuleSeverity, i as classifySecurityScanFile, j as FrameworkToken, k as CapabilityQuery, l as collectCrossFileDependencyProbes, m as REACT_COMPILER_RULES, n as REACT_NATIVE_DEPENDENCY_PREFIXES, o as resetFilesystemCaches, p as EXTERNAL_RULES, r as isReactNativeDependencyName, s as CROSS_FILE_DEPENDENCY_COLLECTORS, t as REACT_NATIVE_DEPENDENCY_NAMES, u as CrossFileProbeTrace, v as RuleFramework, w as EsTreeNode, x as RuleVisitors } from "./react-native-dependency-names-wQiIw9Gw.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin/utils/core-rule-metadata.d.ts
|
|
4
4
|
interface CoreRuleMetadata {
|
|
@@ -1121,27 +1121,6 @@ declare const reactDoctorScanRules: readonly [{
|
|
|
1121
1121
|
};
|
|
1122
1122
|
}];
|
|
1123
1123
|
//#endregion
|
|
1124
|
-
//#region src/plugin/utils/atomic-write-file.d.ts
|
|
1125
|
-
declare const atomicWriteFile: (filePath: string, contents: string) => void;
|
|
1126
|
-
//#endregion
|
|
1127
|
-
//#region src/plugin/utils/get-diagnostic-context-path.d.ts
|
|
1128
|
-
interface DiagnosticContextIdentity {
|
|
1129
|
-
readonly filename: string;
|
|
1130
|
-
readonly rule: string;
|
|
1131
|
-
readonly offset: number;
|
|
1132
|
-
readonly message: string;
|
|
1133
|
-
}
|
|
1134
|
-
interface DiagnosticContextPathInput extends DiagnosticContextIdentity {
|
|
1135
|
-
readonly directory: string;
|
|
1136
|
-
}
|
|
1137
|
-
declare const getDiagnosticContextPath: (input: DiagnosticContextPathInput) => string;
|
|
1138
|
-
//#endregion
|
|
1139
|
-
//#region src/plugin/utils/diagnostic-context-range.d.ts
|
|
1140
|
-
interface DiagnosticContextRange {
|
|
1141
|
-
readonly offset: number;
|
|
1142
|
-
readonly length: number;
|
|
1143
|
-
}
|
|
1144
|
-
//#endregion
|
|
1145
1124
|
//#region src/core.d.ts
|
|
1146
1125
|
declare const REACT_DOCTOR_RULES: readonly CoreRuleRegistryEntry[];
|
|
1147
1126
|
declare const REACT_DOCTOR_PROJECT_RULES: CoreRuleRegistryEntry[];
|
|
@@ -1150,5 +1129,5 @@ declare const REACT_DOCTOR_RULE_REGISTRY: Readonly<Record<string, CoreRuleMetada
|
|
|
1150
1129
|
declare const ALL_REACT_DOCTOR_RULE_KEYS: ReadonlySet<string>;
|
|
1151
1130
|
declare const FRAMEWORK_SPECIFIC_RULE_KEYS: ReadonlySet<string>;
|
|
1152
1131
|
//#endregion
|
|
1153
|
-
export { ALL_REACT_DOCTOR_RULE_KEYS, CROSS_FILE_DEPENDENCY_COLLECTORS, CROSS_FILE_RULE_IDS, type Capability, type CapabilityQuery, type CoreRuleMetadata, type CrossFileProbeTrace,
|
|
1132
|
+
export { ALL_REACT_DOCTOR_RULE_KEYS, CROSS_FILE_DEPENDENCY_COLLECTORS, CROSS_FILE_RULE_IDS, type Capability, type CapabilityQuery, type CoreRuleMetadata, type CrossFileProbeTrace, EXTERNAL_RULES, type EsTreeNode, FRAMEWORK_SPECIFIC_RULE_KEYS, FRAMEWORK_TOKENS, type FileScan, type FrameworkToken, MOTION_LIBRARY_PACKAGES, type OxlintRuleSeverity, REACT_COMPILER_RULES, REACT_DOCTOR_OPT_IN_PROJECT_RULE_IDS, REACT_DOCTOR_PROJECT_RULES, REACT_DOCTOR_RULES, REACT_DOCTOR_RULE_REGISTRY, reactDoctorScanRules as REACT_DOCTOR_SCAN_RULES, REACT_NATIVE_DEPENDENCY_NAMES, REACT_NATIVE_DEPENDENCY_PREFIXES, type Rule, type RuleExecution, type RuleFramework, type RuleSeverity, type ScanFinding, type ScannedFile, UNBOUNDED_CROSS_FILE_RULE_IDS, classifySecurityScanFile, collectCrossFileDependencyProbes, isReactNativeDependencyName, resetFilesystemCaches as resetManifestCaches, shouldReadSecurityScanContent };
|
|
1154
1133
|
//# sourceMappingURL=core.d.ts.map
|