@r_masseater/oxlint-typed-rules 0.6.6 → 0.6.8

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 (27) hide show
  1. package/dist/{_typescript-default-CzTenk4q.mjs → _typescript-default-Dl1RVMfr.mjs} +2 -4
  2. package/dist/{_typescript-default-CzTenk4q.mjs.map → _typescript-default-Dl1RVMfr.mjs.map} +1 -1
  3. package/dist/{config-rules-Buk48gLL.mjs → config-rules-BuPkk6Kx.mjs} +1 -2
  4. package/dist/{config-rules-Buk48gLL.mjs.map → config-rules-BuPkk6Kx.mjs.map} +1 -1
  5. package/dist/drizzle.mjs +3 -11
  6. package/dist/drizzle.mjs.map +1 -1
  7. package/dist/{eslint-utils-CRZcxQ1H.mjs → eslint-utils-wD9mdhio.mjs} +2 -15
  8. package/dist/{eslint-utils-CRZcxQ1H.mjs.map → eslint-utils-wD9mdhio.mjs.map} +1 -1
  9. package/dist/index.mjs +1 -1
  10. package/dist/react.mjs +14 -252
  11. package/dist/react.mjs.map +1 -1
  12. package/dist/remotion.mjs +2 -4
  13. package/dist/remotion.mjs.map +1 -1
  14. package/dist/{rolldown-runtime-DQp2zzRu.mjs → rolldown-runtime-Dn33JYCD.mjs} +0 -1
  15. package/dist/tanstack-query.mjs +3 -6
  16. package/dist/tanstack-query.mjs.map +1 -1
  17. package/dist/tanstack-router.mjs +2 -12
  18. package/dist/tanstack-router.mjs.map +1 -1
  19. package/dist/tanstack-start.mjs +4 -17
  20. package/dist/tanstack-start.mjs.map +1 -1
  21. package/dist/{typed-rule-FCRt1nKZ.mjs → typed-rule-ugUYAIDV.mjs} +1 -8
  22. package/dist/{typed-rule-FCRt1nKZ.mjs.map → typed-rule-ugUYAIDV.mjs.map} +1 -1
  23. package/dist/{typescript-eslint-utils-DyPqf6eg.mjs → typescript-eslint-utils-Km-YrWgU.mjs} +3 -4
  24. package/dist/{typescript-eslint-utils-DyPqf6eg.mjs.map → typescript-eslint-utils-Km-YrWgU.mjs.map} +1 -1
  25. package/dist/{upstream-plugin-eT7t_K7e.mjs → upstream-plugin-DzQudgu5.mjs} +2 -3
  26. package/dist/{upstream-plugin-eT7t_K7e.mjs.map → upstream-plugin-DzQudgu5.mjs.map} +1 -1
  27. package/package.json +11 -11
@@ -1,9 +1,8 @@
1
- import { r as __exportAll } from "./rolldown-runtime-DQp2zzRu.mjs";
1
+ import { r as __exportAll } from "./rolldown-runtime-Dn33JYCD.mjs";
2
2
  import { Array, Function, Option, Predicate } from "effect";
3
3
  import { JsxEmit, JsxEmit as JsxEmit$1, SymbolFlags, SymbolFlags as SymbolFlags$1, TypeFlags, TypeFlags as TypeFlags$1 } from "tsrs/sync";
4
4
  import { NodeFlags, NodeFlags as NodeFlags$1, SyntaxKind, SyntaxKind as SyntaxKind$1 } from "tsrs/ast";
5
5
  import { isArrayBindingPattern, isArrayBindingPattern as isArrayBindingPattern$1, isArrowFunction, isArrowFunction as isArrowFunction$1, isBindingElement, isBindingElement as isBindingElement$1, isCallExpression, isCallExpression as isCallExpression$1, isClassDeclaration, isClassDeclaration as isClassDeclaration$1, isClassExpression, isClassExpression as isClassExpression$1, isComputedPropertyName, isComputedPropertyName as isComputedPropertyName$1, isEnumDeclaration, isEnumDeclaration as isEnumDeclaration$1, isEnumMember, isEnumMember as isEnumMember$1, isExpressionStatement, isExpressionStatement as isExpressionStatement$1, isFunctionDeclaration, isFunctionDeclaration as isFunctionDeclaration$1, isFunctionExpression, isFunctionExpression as isFunctionExpression$1, isIdentifier, isIdentifier as isIdentifier$1, isImportClause, isImportClause as isImportClause$1, isImportSpecifier, isImportSpecifier as isImportSpecifier$1, isInterfaceDeclaration, isInterfaceDeclaration as isInterfaceDeclaration$1, isIntersectionTypeNode, isIntersectionTypeNode as isIntersectionTypeNode$1, isJsxAttribute, isJsxAttribute as isJsxAttribute$1, isJsxExpression, isJsxExpression as isJsxExpression$1, isJsxOpeningElement, isJsxOpeningElement as isJsxOpeningElement$1, isJsxSelfClosingElement, isJsxSelfClosingElement as isJsxSelfClosingElement$1, isMappedTypeNode, isMappedTypeNode as isMappedTypeNode$1, isMethodDeclaration, isMethodDeclaration as isMethodDeclaration$1, isMethodSignatureDeclaration, isMethodSignatureDeclaration as isMethodSignature, isModuleDeclaration, isModuleDeclaration as isModuleDeclaration$1, isNamespaceExport, isNamespaceExport as isNamespaceExport$1, isNamespaceExportDeclaration, isNamespaceExportDeclaration as isNamespaceExportDeclaration$1, isNamespaceImport, isNamespaceImport as isNamespaceImport$1, isObjectBindingPattern, isObjectBindingPattern as isObjectBindingPattern$1, isObjectLiteralExpression, isObjectLiteralExpression as isObjectLiteralExpression$1, isParameterDeclaration, isParameterDeclaration as isParameter, isParenthesizedExpression, isParenthesizedExpression as isParenthesizedExpression$1, isPropertyAccessExpression, isPropertyAccessExpression as isPropertyAccessExpression$1, isPropertyAssignment, isPropertyAssignment as isPropertyAssignment$1, isPropertyDeclaration, isPropertyDeclaration as isPropertyDeclaration$1, isPropertySignatureDeclaration, isPropertySignatureDeclaration as isPropertySignature, isSourceFile, isSourceFile as isSourceFile$1, isStringLiteral, isStringLiteral as isStringLiteral$1, isTypeAliasDeclaration, isTypeAliasDeclaration as isTypeAliasDeclaration$1, isTypeLiteralNode, isTypeLiteralNode as isTypeLiteralNode$1, isTypeParameterDeclaration, isTypeParameterDeclaration as isTypeParameterDeclaration$1, isTypeQueryNode, isTypeQueryNode as isTypeQueryNode$1, isTypeReferenceNode, isTypeReferenceNode as isTypeReferenceNode$1, isUnionTypeNode, isUnionTypeNode as isUnionTypeNode$1, isVariableDeclaration, isVariableDeclaration as isVariableDeclaration$1, isVariableStatement, isVariableStatement as isVariableStatement$1 } from "tsrs/ast/is";
6
- // src/shared/lib/ts-compat.ts
7
6
  const FUNCTION_LIKE_KINDS = /* @__PURE__ */ new Set([
8
7
  SyntaxKind.FunctionDeclaration,
9
8
  SyntaxKind.MethodDeclaration,
@@ -77,7 +76,6 @@ const ts = {
77
76
  SyntaxKind,
78
77
  TypeFlags
79
78
  };
80
- // \0typescript-default
81
79
  var _typescript_default_exports = /* @__PURE__ */ __exportAll({
82
80
  JsxEmit: () => JsxEmit$1,
83
81
  NodeFlags: () => NodeFlags$1,
@@ -138,4 +136,4 @@ var _typescript_default_exports = /* @__PURE__ */ __exportAll({
138
136
  var _typescript_default_default = ts;
139
137
  export { isArrayBindingPattern$1 as a, isExpressionStatement$1 as c, isJsxOpeningElement$1 as d, isJsxSelfClosingElement$1 as f, isStringLiteral$1 as h, forEachChild as i, isFunctionLike as l, isParameter as m, _typescript_default_exports as n, isBindingElement$1 as o, isObjectBindingPattern$1 as p, SymbolFlags$1 as r, isCallExpression$1 as s, _typescript_default_default as t, isIdentifier$1 as u };
140
138
 
141
- //# sourceMappingURL=_typescript-default-CzTenk4q.mjs.map
139
+ //# sourceMappingURL=_typescript-default-Dl1RVMfr.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"_typescript-default-CzTenk4q.mjs","names":["Arr"],"sources":["../src/shared/lib/ts-compat.ts"],"sourcesContent":["import { Array as Arr, Function, Option, Predicate } from \"effect\";\nimport { NodeFlags, SyntaxKind } from \"tsrs/ast\";\nimport type { Node } from \"tsrs/ast\";\nimport {\n isArrayBindingPattern,\n isArrowFunction,\n isBindingElement,\n isCallExpression,\n isClassDeclaration,\n isClassExpression,\n isComputedPropertyName,\n isEnumDeclaration,\n isEnumMember,\n isExpressionStatement,\n isFunctionDeclaration,\n isFunctionExpression,\n isIdentifier,\n isImportClause,\n isImportSpecifier,\n isInterfaceDeclaration,\n isIntersectionTypeNode,\n isJsxAttribute,\n isJsxExpression,\n isJsxOpeningElement,\n isJsxSelfClosingElement,\n isMappedTypeNode,\n isMethodDeclaration,\n isMethodSignatureDeclaration,\n isModuleDeclaration,\n isNamespaceExport,\n isNamespaceExportDeclaration,\n isNamespaceImport,\n isObjectBindingPattern,\n isObjectLiteralExpression,\n isParameterDeclaration,\n isParenthesizedExpression,\n isPropertyAccessExpression,\n isPropertyAssignment,\n isPropertyDeclaration,\n isPropertySignatureDeclaration,\n isSourceFile,\n isStringLiteral,\n isTypeAliasDeclaration,\n isTypeLiteralNode,\n isTypeParameterDeclaration,\n isTypeQueryNode,\n isTypeReferenceNode,\n isUnionTypeNode,\n isVariableDeclaration,\n isVariableStatement,\n} from \"tsrs/ast/is\";\nimport { JsxEmit, SymbolFlags, TypeFlags } from \"tsrs/sync\";\n\nconst FUNCTION_LIKE_KINDS: ReadonlySet<SyntaxKind> = new Set([\n SyntaxKind.FunctionDeclaration,\n SyntaxKind.MethodDeclaration,\n SyntaxKind.Constructor,\n SyntaxKind.GetAccessor,\n SyntaxKind.SetAccessor,\n SyntaxKind.FunctionExpression,\n SyntaxKind.ArrowFunction,\n SyntaxKind.MethodSignature,\n SyntaxKind.CallSignature,\n SyntaxKind.JSDocSignature,\n SyntaxKind.ConstructSignature,\n SyntaxKind.IndexSignature,\n SyntaxKind.FunctionType,\n SyntaxKind.ConstructorType,\n]);\n\nexport const isFunctionLike = (node: Node | null | undefined): boolean =>\n Option.fromNullishOr(node).pipe(Option.exists(({ kind }) => FUNCTION_LIKE_KINDS.has(kind)));\n\nexport const forEachChild: {\n <Result>(visit: (child: Node) => Result | undefined): (node: Node) => Result | undefined;\n <Result>(node: Node, visit: (child: Node) => Result | undefined): Result | undefined;\n} = Function.dual(\n (args) =>\n Arr.head(Arr.fromIterable(args)).pipe(Option.exists(Predicate.not(Predicate.isFunction))),\n <Result>(node: Node, visit: (child: Node) => Result | undefined): Result | undefined =>\n node.forEachChild(visit),\n);\n\nexport const ts = {\n forEachChild,\n isArrayBindingPattern,\n isArrowFunction,\n isBindingElement,\n isCallExpression,\n isClassDeclaration,\n isClassExpression,\n isComputedPropertyName,\n isEnumDeclaration,\n isEnumMember,\n isExpressionStatement,\n isFunctionDeclaration,\n isFunctionExpression,\n isFunctionLike,\n isIdentifier,\n isImportClause,\n isImportSpecifier,\n isInterfaceDeclaration,\n isIntersectionTypeNode,\n isJsxAttribute,\n isJsxExpression,\n isJsxOpeningElement,\n isJsxSelfClosingElement,\n isMappedTypeNode,\n isMethodDeclaration,\n isMethodSignature: isMethodSignatureDeclaration,\n isModuleDeclaration,\n isNamespaceExport,\n isNamespaceExportDeclaration,\n isNamespaceImport,\n isObjectBindingPattern,\n isObjectLiteralExpression,\n isParameter: isParameterDeclaration,\n isParenthesizedExpression,\n isPropertyAccessExpression,\n isPropertyAssignment,\n isPropertyDeclaration,\n isPropertySignature: isPropertySignatureDeclaration,\n isSourceFile,\n isStringLiteral,\n isTypeAliasDeclaration,\n isTypeLiteralNode,\n isTypeParameterDeclaration,\n isTypeQueryNode,\n isTypeReferenceNode,\n isUnionTypeNode,\n isVariableDeclaration,\n isVariableStatement,\n JsxEmit,\n NodeFlags,\n SymbolFlags,\n SyntaxKind,\n TypeFlags,\n} as const;\n\nexport {\n isArrayBindingPattern,\n isArrowFunction,\n isBindingElement,\n isCallExpression,\n isClassDeclaration,\n isClassExpression,\n isComputedPropertyName,\n isEnumDeclaration,\n isEnumMember,\n isExpressionStatement,\n isFunctionDeclaration,\n isFunctionExpression,\n isIdentifier,\n isImportClause,\n isImportSpecifier,\n isInterfaceDeclaration,\n isIntersectionTypeNode,\n isJsxAttribute,\n isJsxExpression,\n isJsxOpeningElement,\n isJsxSelfClosingElement,\n isMappedTypeNode,\n isMethodDeclaration,\n isMethodSignatureDeclaration as isMethodSignature,\n isModuleDeclaration,\n isNamespaceExport,\n isNamespaceExportDeclaration,\n isNamespaceImport,\n isObjectBindingPattern,\n isObjectLiteralExpression,\n isParameterDeclaration as isParameter,\n isParenthesizedExpression,\n isPropertyAccessExpression,\n isPropertyAssignment,\n isPropertyDeclaration,\n isPropertySignatureDeclaration as isPropertySignature,\n isSourceFile,\n isStringLiteral,\n isTypeAliasDeclaration,\n isTypeLiteralNode,\n isTypeParameterDeclaration,\n isTypeQueryNode,\n isTypeReferenceNode,\n isUnionTypeNode,\n isVariableDeclaration,\n isVariableStatement,\n} from \"tsrs/ast/is\";\nexport { NodeFlags, SyntaxKind } from \"tsrs/ast\";\nexport { JsxEmit, SymbolFlags, TypeFlags } from \"tsrs/sync\";\n"],"mappings":";;;;;;AAqDA,MAAM,sCAA+C,IAAI,IAAI;CAC3D,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;AACb,CAAC;AAED,MAAa,kBAAkB,SAC7B,OAAO,cAAc,IAAI,CAAC,CAAC,KAAK,OAAO,QAAQ,EAAE,WAAW,oBAAoB,IAAI,IAAI,CAAC,CAAC;AAE5F,MAAa,eAGT,SAAS,MACV,SACCA,MAAI,KAAKA,MAAI,aAAa,IAAI,CAAC,CAAC,CAAC,KAAK,OAAO,OAAO,UAAU,IAAI,UAAU,UAAU,CAAC,CAAC,IACjF,MAAY,UACnB,KAAK,aAAa,KAAK,CAC3B;AAEA,MAAa,KAAK;CAChB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,mBAAmB;CACnB;CACA;CACA;CACA;CACA;CACA;CACA,aAAa;CACb;CACA;CACA;CACA;CACA,qBAAqB;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
1
+ {"version":3,"file":"_typescript-default-Dl1RVMfr.mjs","names":["Arr"],"sources":["../src/shared/lib/ts-compat.ts"],"sourcesContent":["import { Array as Arr, Function, Option, Predicate } from \"effect\";\nimport { NodeFlags, SyntaxKind } from \"tsrs/ast\";\nimport type { Node } from \"tsrs/ast\";\nimport {\n isArrayBindingPattern,\n isArrowFunction,\n isBindingElement,\n isCallExpression,\n isClassDeclaration,\n isClassExpression,\n isComputedPropertyName,\n isEnumDeclaration,\n isEnumMember,\n isExpressionStatement,\n isFunctionDeclaration,\n isFunctionExpression,\n isIdentifier,\n isImportClause,\n isImportSpecifier,\n isInterfaceDeclaration,\n isIntersectionTypeNode,\n isJsxAttribute,\n isJsxExpression,\n isJsxOpeningElement,\n isJsxSelfClosingElement,\n isMappedTypeNode,\n isMethodDeclaration,\n isMethodSignatureDeclaration,\n isModuleDeclaration,\n isNamespaceExport,\n isNamespaceExportDeclaration,\n isNamespaceImport,\n isObjectBindingPattern,\n isObjectLiteralExpression,\n isParameterDeclaration,\n isParenthesizedExpression,\n isPropertyAccessExpression,\n isPropertyAssignment,\n isPropertyDeclaration,\n isPropertySignatureDeclaration,\n isSourceFile,\n isStringLiteral,\n isTypeAliasDeclaration,\n isTypeLiteralNode,\n isTypeParameterDeclaration,\n isTypeQueryNode,\n isTypeReferenceNode,\n isUnionTypeNode,\n isVariableDeclaration,\n isVariableStatement,\n} from \"tsrs/ast/is\";\nimport { JsxEmit, SymbolFlags, TypeFlags } from \"tsrs/sync\";\n\nconst FUNCTION_LIKE_KINDS: ReadonlySet<SyntaxKind> = new Set([\n SyntaxKind.FunctionDeclaration,\n SyntaxKind.MethodDeclaration,\n SyntaxKind.Constructor,\n SyntaxKind.GetAccessor,\n SyntaxKind.SetAccessor,\n SyntaxKind.FunctionExpression,\n SyntaxKind.ArrowFunction,\n SyntaxKind.MethodSignature,\n SyntaxKind.CallSignature,\n SyntaxKind.JSDocSignature,\n SyntaxKind.ConstructSignature,\n SyntaxKind.IndexSignature,\n SyntaxKind.FunctionType,\n SyntaxKind.ConstructorType,\n]);\n\nexport const isFunctionLike = (node: Node | null | undefined): boolean =>\n Option.fromNullishOr(node).pipe(Option.exists(({ kind }) => FUNCTION_LIKE_KINDS.has(kind)));\n\nexport const forEachChild: {\n <Result>(visit: (child: Node) => Result | undefined): (node: Node) => Result | undefined;\n <Result>(node: Node, visit: (child: Node) => Result | undefined): Result | undefined;\n} = Function.dual(\n (args) =>\n Arr.head(Arr.fromIterable(args)).pipe(Option.exists(Predicate.not(Predicate.isFunction))),\n <Result>(node: Node, visit: (child: Node) => Result | undefined): Result | undefined =>\n node.forEachChild(visit),\n);\n\nexport const ts = {\n forEachChild,\n isArrayBindingPattern,\n isArrowFunction,\n isBindingElement,\n isCallExpression,\n isClassDeclaration,\n isClassExpression,\n isComputedPropertyName,\n isEnumDeclaration,\n isEnumMember,\n isExpressionStatement,\n isFunctionDeclaration,\n isFunctionExpression,\n isFunctionLike,\n isIdentifier,\n isImportClause,\n isImportSpecifier,\n isInterfaceDeclaration,\n isIntersectionTypeNode,\n isJsxAttribute,\n isJsxExpression,\n isJsxOpeningElement,\n isJsxSelfClosingElement,\n isMappedTypeNode,\n isMethodDeclaration,\n isMethodSignature: isMethodSignatureDeclaration,\n isModuleDeclaration,\n isNamespaceExport,\n isNamespaceExportDeclaration,\n isNamespaceImport,\n isObjectBindingPattern,\n isObjectLiteralExpression,\n isParameter: isParameterDeclaration,\n isParenthesizedExpression,\n isPropertyAccessExpression,\n isPropertyAssignment,\n isPropertyDeclaration,\n isPropertySignature: isPropertySignatureDeclaration,\n isSourceFile,\n isStringLiteral,\n isTypeAliasDeclaration,\n isTypeLiteralNode,\n isTypeParameterDeclaration,\n isTypeQueryNode,\n isTypeReferenceNode,\n isUnionTypeNode,\n isVariableDeclaration,\n isVariableStatement,\n JsxEmit,\n NodeFlags,\n SymbolFlags,\n SyntaxKind,\n TypeFlags,\n} as const;\n\nexport {\n isArrayBindingPattern,\n isArrowFunction,\n isBindingElement,\n isCallExpression,\n isClassDeclaration,\n isClassExpression,\n isComputedPropertyName,\n isEnumDeclaration,\n isEnumMember,\n isExpressionStatement,\n isFunctionDeclaration,\n isFunctionExpression,\n isIdentifier,\n isImportClause,\n isImportSpecifier,\n isInterfaceDeclaration,\n isIntersectionTypeNode,\n isJsxAttribute,\n isJsxExpression,\n isJsxOpeningElement,\n isJsxSelfClosingElement,\n isMappedTypeNode,\n isMethodDeclaration,\n isMethodSignatureDeclaration as isMethodSignature,\n isModuleDeclaration,\n isNamespaceExport,\n isNamespaceExportDeclaration,\n isNamespaceImport,\n isObjectBindingPattern,\n isObjectLiteralExpression,\n isParameterDeclaration as isParameter,\n isParenthesizedExpression,\n isPropertyAccessExpression,\n isPropertyAssignment,\n isPropertyDeclaration,\n isPropertySignatureDeclaration as isPropertySignature,\n isSourceFile,\n isStringLiteral,\n isTypeAliasDeclaration,\n isTypeLiteralNode,\n isTypeParameterDeclaration,\n isTypeQueryNode,\n isTypeReferenceNode,\n isUnionTypeNode,\n isVariableDeclaration,\n isVariableStatement,\n} from \"tsrs/ast/is\";\nexport { NodeFlags, SyntaxKind } from \"tsrs/ast\";\nexport { JsxEmit, SymbolFlags, TypeFlags } from \"tsrs/sync\";\n"],"mappings":";;;;;AAqDA,MAAM,sCAA+C,IAAI,IAAI;CAC3D,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;AACb,CAAC;AAED,MAAa,kBAAkB,SAC7B,OAAO,cAAc,IAAI,CAAC,CAAC,KAAK,OAAO,QAAQ,EAAE,WAAW,oBAAoB,IAAI,IAAI,CAAC,CAAC;AAE5F,MAAa,eAGT,SAAS,MACV,SACCA,MAAI,KAAKA,MAAI,aAAa,IAAI,CAAC,CAAC,CAAC,KAAK,OAAO,OAAO,UAAU,IAAI,UAAU,UAAU,CAAC,CAAC,IACjF,MAAY,UACnB,KAAK,aAAa,KAAK,CAC3B;AAEA,MAAa,KAAK;CAChB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,mBAAmB;CACnB;CACA;CACA;CACA;CACA;CACA;CACA,aAAa;CACb;CACA;CACA;CACA;CACA,qBAAqB;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
@@ -1,6 +1,5 @@
1
1
  import { Option, Predicate } from "effect";
2
- // src/entities/upstream-plugin/model/config-rules.ts
3
2
  const rulesOf = (config) => Option.liftPredicate(config, Predicate.hasProperty("rules")).pipe(Option.flatMap(({ rules }) => Option.liftPredicate(rules, Predicate.isReadonlyObject)));
4
3
  export { rulesOf as t };
5
4
 
6
- //# sourceMappingURL=config-rules-Buk48gLL.mjs.map
5
+ //# sourceMappingURL=config-rules-BuPkk6Kx.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-rules-Buk48gLL.mjs","names":[],"sources":["../src/entities/upstream-plugin/model/config-rules.ts"],"sourcesContent":["import { Option, Predicate } from \"effect\";\n\nexport const rulesOf = (config: unknown): Option.Option<Readonly<Record<string, unknown>>> =>\n Option.liftPredicate(config, Predicate.hasProperty(\"rules\")).pipe(\n Option.flatMap(({ rules }) => Option.liftPredicate(rules, Predicate.isReadonlyObject)),\n );\n"],"mappings":";;AAEA,MAAa,WAAW,WACtB,OAAO,cAAc,QAAQ,UAAU,YAAY,OAAO,CAAC,CAAC,CAAC,KAC3D,OAAO,SAAS,EAAE,YAAY,OAAO,cAAc,OAAO,UAAU,gBAAgB,CAAC,CACvF"}
1
+ {"version":3,"file":"config-rules-BuPkk6Kx.mjs","names":[],"sources":["../src/entities/upstream-plugin/model/config-rules.ts"],"sourcesContent":["import { Option, Predicate } from \"effect\";\n\nexport const rulesOf = (config: unknown): Option.Option<Readonly<Record<string, unknown>>> =>\n Option.liftPredicate(config, Predicate.hasProperty(\"rules\")).pipe(\n Option.flatMap(({ rules }) => Option.liftPredicate(rules, Predicate.isReadonlyObject)),\n );\n"],"mappings":";AAEA,MAAa,WAAW,WACtB,OAAO,cAAc,QAAQ,UAAU,YAAY,OAAO,CAAC,CAAC,CAAC,KAC3D,OAAO,SAAS,EAAE,YAAY,OAAO,cAAc,OAAO,UAAU,gBAAgB,CAAC,CACvF"}
package/dist/drizzle.mjs CHANGED
@@ -1,7 +1,6 @@
1
- import { i as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-DQp2zzRu.mjs";
2
- import { i as typescript_eslint_utils_exports, r as init_typescript_eslint_utils } from "./typescript-eslint-utils-DyPqf6eg.mjs";
3
- import { n as upstreamPlugin, t as plainRules } from "./upstream-plugin-eT7t_K7e.mjs";
4
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/package.json
1
+ import { i as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-Dn33JYCD.mjs";
2
+ import { i as typescript_eslint_utils_exports, r as init_typescript_eslint_utils } from "./typescript-eslint-utils-Km-YrWgU.mjs";
3
+ import { n as upstreamPlugin, t as plainRules } from "./upstream-plugin-DzQudgu5.mjs";
5
4
  var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
5
  module.exports = {
7
6
  "name": "eslint-plugin-drizzle",
@@ -40,7 +39,6 @@ var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
40
39
  "peerDependencies": { "eslint": ">=8.0.0" }
41
40
  };
42
41
  }));
43
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/configs/all.js
44
42
  var require_all = /* @__PURE__ */ __commonJSMin(((exports) => {
45
43
  Object.defineProperty(exports, "__esModule", { value: true });
46
44
  exports.default = {
@@ -56,7 +54,6 @@ var require_all = /* @__PURE__ */ __commonJSMin(((exports) => {
56
54
  }
57
55
  };
58
56
  }));
59
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/configs/recommended.js
60
57
  var require_recommended = /* @__PURE__ */ __commonJSMin(((exports) => {
61
58
  Object.defineProperty(exports, "__esModule", { value: true });
62
59
  exports.default = {
@@ -72,7 +69,6 @@ var require_recommended = /* @__PURE__ */ __commonJSMin(((exports) => {
72
69
  }
73
70
  };
74
71
  }));
75
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/utils/ast.js
76
72
  var require_ast = /* @__PURE__ */ __commonJSMin(((exports) => {
77
73
  Object.defineProperty(exports, "__esModule", { value: true });
78
74
  exports.resolveMemberExpressionPath = void 0;
@@ -102,7 +98,6 @@ var require_ast = /* @__PURE__ */ __commonJSMin(((exports) => {
102
98
  };
103
99
  exports.resolveMemberExpressionPath = resolveMemberExpressionPath;
104
100
  }));
105
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/utils/options.js
106
101
  var require_options = /* @__PURE__ */ __commonJSMin(((exports) => {
107
102
  Object.defineProperty(exports, "__esModule", { value: true });
108
103
  exports.isDrizzleObj = void 0;
@@ -126,7 +121,6 @@ var require_options = /* @__PURE__ */ __commonJSMin(((exports) => {
126
121
  };
127
122
  exports.isDrizzleObj = isDrizzleObj;
128
123
  }));
129
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/enforce-delete-with-where.js
130
124
  var require_enforce_delete_with_where = /* @__PURE__ */ __commonJSMin(((exports) => {
131
125
  Object.defineProperty(exports, "__esModule", { value: true });
132
126
  const utils_1 = (init_typescript_eslint_utils(), __toCommonJS(typescript_eslint_utils_exports));
@@ -162,7 +156,6 @@ var require_enforce_delete_with_where = /* @__PURE__ */ __commonJSMin(((exports)
162
156
  }
163
157
  });
164
158
  }));
165
- // ../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/enforce-update-with-where.js
166
159
  var require_enforce_update_with_where = /* @__PURE__ */ __commonJSMin(((exports) => {
167
160
  Object.defineProperty(exports, "__esModule", { value: true });
168
161
  const utils_1 = (init_typescript_eslint_utils(), __toCommonJS(typescript_eslint_utils_exports));
@@ -198,7 +191,6 @@ var require_enforce_update_with_where = /* @__PURE__ */ __commonJSMin(((exports)
198
191
  }
199
192
  });
200
193
  }));
201
- // src/app/drizzle.ts
202
194
  var import_src = (/* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
203
195
  var __importDefault = this$1 && this$1.__importDefault || function(mod) {
204
196
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -1 +1 @@
1
- {"version":3,"file":"drizzle.mjs","names":[],"sources":["../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/package.json","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/configs/all.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/configs/recommended.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/utils/ast.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/utils/options.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/enforce-delete-with-where.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/enforce-update-with-where.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/index.js","../src/app/drizzle.ts"],"sourcesContent":["","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = {\n env: {\n es2024: true,\n },\n parserOptions: {\n ecmaVersion: 'latest',\n sourceType: 'module',\n },\n plugins: ['drizzle'],\n rules: {\n 'drizzle/enforce-delete-with-where': 'error',\n 'drizzle/enforce-update-with-where': 'error',\n },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = {\n env: {\n es2024: true,\n },\n parserOptions: {\n ecmaVersion: 'latest',\n sourceType: 'module',\n },\n plugins: ['drizzle'],\n rules: {\n 'drizzle/enforce-delete-with-where': 'error',\n 'drizzle/enforce-update-with-where': 'error',\n },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveMemberExpressionPath = void 0;\nconst resolveMemberExpressionPath = (node) => {\n let objectExpression = node.object;\n let fullName = '';\n const addToFullName = (name) => {\n const prefix = fullName ? '.' : '';\n fullName = `${name}${prefix}${fullName}`;\n };\n while (objectExpression) {\n if (objectExpression.type === 'MemberExpression') {\n if (objectExpression.property.type === 'Identifier') {\n addToFullName(objectExpression.property.name);\n }\n objectExpression = objectExpression.object;\n }\n else if (objectExpression.type === 'CallExpression' && objectExpression.callee.type === 'Identifier') {\n addToFullName(`${objectExpression.callee.name}(...)`);\n break;\n }\n else if (objectExpression.type === 'CallExpression' && objectExpression.callee.type === 'MemberExpression') {\n if (objectExpression.callee.property.type === 'Identifier') {\n addToFullName(`${objectExpression.callee.property.name}(...)`);\n }\n objectExpression = objectExpression.callee.object;\n }\n else if (objectExpression.type === 'Identifier') {\n addToFullName(objectExpression.name);\n break;\n }\n else if (objectExpression.type === 'ThisExpression') {\n addToFullName('this');\n break;\n }\n else {\n break;\n }\n }\n return fullName;\n};\nexports.resolveMemberExpressionPath = resolveMemberExpressionPath;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isDrizzleObj = void 0;\nconst isDrizzleObjName = (name, drizzleObjectName) => {\n if (typeof drizzleObjectName === 'string') {\n return name === drizzleObjectName;\n }\n if (Array.isArray(drizzleObjectName)) {\n if (drizzleObjectName.length === 0) {\n return true;\n }\n return drizzleObjectName.includes(name);\n }\n return false;\n};\nconst isDrizzleObj = (node, options) => {\n const drizzleObjectName = options[0].drizzleObjectName;\n if (node.object.type === 'Identifier') {\n return isDrizzleObjName(node.object.name, drizzleObjectName);\n }\n else if (node.object.type === 'MemberExpression' && node.object.property.type === 'Identifier') {\n return isDrizzleObjName(node.object.property.name, drizzleObjectName);\n }\n else if (node.object.type === 'CallExpression') {\n if (node.object.callee.type === 'Identifier') {\n return isDrizzleObjName(node.object.callee.name, drizzleObjectName);\n }\n else if (node.object.callee.type === 'MemberExpression' && node.object.callee.property.type === 'Identifier') {\n return isDrizzleObjName(node.object.callee.property.name, drizzleObjectName);\n }\n }\n return false;\n};\nexports.isDrizzleObj = isDrizzleObj;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils_1 = require(\"@typescript-eslint/utils\");\nconst ast_1 = require(\"./utils/ast\");\nconst options_1 = require(\"./utils/options\");\nconst createRule = utils_1.ESLintUtils.RuleCreator(() => 'https://github.com/drizzle-team/eslint-plugin-drizzle');\nlet lastNodeName = '';\nconst deleteRule = createRule({\n defaultOptions: [{ drizzleObjectName: [] }],\n name: 'enforce-delete-with-where',\n meta: {\n type: 'problem',\n docs: {\n description: 'Enforce that `delete` method is used with `where` to avoid deleting all the rows in a table.',\n },\n fixable: 'code',\n messages: {\n enforceDeleteWithWhere: \"Without `.where(...)` you will delete all the rows in a table. If you didn't want to do it, please use `{{ drizzleObjName }}.delete(...).where(...)` instead. Otherwise you can ignore this rule here\",\n },\n schema: [{\n type: 'object',\n properties: {\n drizzleObjectName: {\n type: ['string', 'array'],\n },\n },\n additionalProperties: false,\n }],\n },\n create(context, options) {\n return {\n MemberExpression: (node) => {\n if (node.property.type === 'Identifier') {\n if (node.property.name === 'delete' && lastNodeName !== 'where' && (0, options_1.isDrizzleObj)(node, options)) {\n context.report({\n node,\n messageId: 'enforceDeleteWithWhere',\n data: {\n drizzleObjName: (0, ast_1.resolveMemberExpressionPath)(node),\n },\n });\n }\n lastNodeName = node.property.name;\n }\n return;\n },\n };\n },\n});\nexports.default = deleteRule;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils_1 = require(\"@typescript-eslint/utils\");\nconst ast_1 = require(\"./utils/ast\");\nconst options_1 = require(\"./utils/options\");\nconst createRule = utils_1.ESLintUtils.RuleCreator(() => 'https://github.com/drizzle-team/eslint-plugin-drizzle');\nlet lastNodeName = '';\nconst updateRule = createRule({\n defaultOptions: [{ drizzleObjectName: [] }],\n name: 'enforce-update-with-where',\n meta: {\n type: 'problem',\n docs: {\n description: 'Enforce that `update` method is used with `where` to avoid deleting all the rows in a table.',\n },\n fixable: 'code',\n messages: {\n enforceUpdateWithWhere: \"Without `.where(...)` you will update all the rows in a table. If you didn't want to do it, please use `{{ drizzleObjName }}.update(...).set(...).where(...)` instead. Otherwise you can ignore this rule here\",\n },\n schema: [{\n type: 'object',\n properties: {\n drizzleObjectName: {\n type: ['string', 'array'],\n },\n },\n additionalProperties: false,\n }],\n },\n create(context, options) {\n return {\n MemberExpression: (node) => {\n if (node.property.type === 'Identifier') {\n if (lastNodeName !== 'where'\n && node.property.name === 'set'\n && node.object.type === 'CallExpression'\n && node.object.callee.type === 'MemberExpression'\n && node.object.callee.property.type === 'Identifier'\n && node.object.callee.property.name === 'update'\n && (0, options_1.isDrizzleObj)(node.object.callee, options)) {\n context.report({\n node,\n messageId: 'enforceUpdateWithWhere',\n data: {\n drizzleObjName: (0, ast_1.resolveMemberExpressionPath)(node.object.callee),\n },\n });\n }\n lastNodeName = node.property.name;\n }\n return;\n },\n };\n },\n});\nexports.default = updateRule;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.meta = exports.configs = exports.rules = void 0;\nconst package_json_1 = require(\"../package.json\");\nconst all_1 = __importDefault(require(\"./configs/all\"));\nconst recommended_1 = __importDefault(require(\"./configs/recommended\"));\nconst enforce_delete_with_where_1 = __importDefault(require(\"./enforce-delete-with-where\"));\nconst enforce_update_with_where_1 = __importDefault(require(\"./enforce-update-with-where\"));\nexports.rules = {\n 'enforce-delete-with-where': enforce_delete_with_where_1.default,\n 'enforce-update-with-where': enforce_update_with_where_1.default,\n};\nexports.configs = { all: all_1.default, recommended: recommended_1.default };\nexports.meta = { name: package_json_1.name, version: package_json_1.version };\n","import { configs, rules } from \"eslint-plugin-drizzle\";\n\nimport { plainRules, upstreamPlugin } from \"#/entities/upstream-plugin/index.ts\";\nimport type { UpstreamPlugin } from \"#/entities/upstream-plugin/index.ts\";\n\nexport type ConfigName = \"all\" | \"recommended\";\n\nconst plugin: UpstreamPlugin<ConfigName> = upstreamPlugin(\n \"drizzle\",\n { configs, rules },\n plainRules,\n);\n\nexport default plugin;\n"],"ignoreList":[0,1,2,3,4,5,6,7],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CCCA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;CAC5D,QAAQ,UAAU;EACd,KAAK,EACD,QAAQ,KACZ;EACA,eAAe;GACX,aAAa;GACb,YAAY;EAChB;EACA,SAAS,CAAC,SAAS;EACnB,OAAO;GACH,qCAAqC;GACrC,qCAAqC;EACzC;CACJ;;;;CCdA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;CAC5D,QAAQ,UAAU;EACd,KAAK,EACD,QAAQ,KACZ;EACA,eAAe;GACX,aAAa;GACb,YAAY;EAChB;EACA,SAAS,CAAC,SAAS;EACnB,OAAO;GACH,qCAAqC;GACrC,qCAAqC;EACzC;CACJ;;;;CCdA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;CAC5D,QAAQ,8BAA8B,KAAK;CAC3C,MAAM,+BAA+B,SAAS;EAC1C,IAAI,mBAAmB,KAAK;EAC5B,IAAI,WAAW;EACf,MAAM,iBAAiB,SAAS;GAE5B,WAAW,GAAG,OADC,WAAW,MAAM,KACF;EAClC;EACA,OAAO,kBACH,IAAI,iBAAiB,SAAS,oBAAoB;GAC9C,IAAI,iBAAiB,SAAS,SAAS,cACnC,cAAc,iBAAiB,SAAS,IAAI;GAEhD,mBAAmB,iBAAiB;EACxC,OACK,IAAI,iBAAiB,SAAS,oBAAoB,iBAAiB,OAAO,SAAS,cAAc;GAClG,cAAc,GAAG,iBAAiB,OAAO,KAAK,MAAM;GACpD;EACJ,OACK,IAAI,iBAAiB,SAAS,oBAAoB,iBAAiB,OAAO,SAAS,oBAAoB;GACxG,IAAI,iBAAiB,OAAO,SAAS,SAAS,cAC1C,cAAc,GAAG,iBAAiB,OAAO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A,WAAA;CAAS,OAAA,WAAA;AAAM,GACjB,UACF"}
1
+ {"version":3,"file":"drizzle.mjs","names":[],"sources":["../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/package.json","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/configs/all.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/configs/recommended.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/utils/ast.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/utils/options.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/enforce-delete-with-where.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/enforce-update-with-where.js","../../../node_modules/.pnpm/eslint-plugin-drizzle@0.2.3_patch_hash=970a4ab095ef16d6b77ccac81c31e17b85e1423d06ec977b_c723539dfa2dcd59172ece8cdbd9ae46/node_modules/eslint-plugin-drizzle/src/index.js","../src/app/drizzle.ts"],"sourcesContent":["","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = {\n env: {\n es2024: true,\n },\n parserOptions: {\n ecmaVersion: 'latest',\n sourceType: 'module',\n },\n plugins: ['drizzle'],\n rules: {\n 'drizzle/enforce-delete-with-where': 'error',\n 'drizzle/enforce-update-with-where': 'error',\n },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = {\n env: {\n es2024: true,\n },\n parserOptions: {\n ecmaVersion: 'latest',\n sourceType: 'module',\n },\n plugins: ['drizzle'],\n rules: {\n 'drizzle/enforce-delete-with-where': 'error',\n 'drizzle/enforce-update-with-where': 'error',\n },\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveMemberExpressionPath = void 0;\nconst resolveMemberExpressionPath = (node) => {\n let objectExpression = node.object;\n let fullName = '';\n const addToFullName = (name) => {\n const prefix = fullName ? '.' : '';\n fullName = `${name}${prefix}${fullName}`;\n };\n while (objectExpression) {\n if (objectExpression.type === 'MemberExpression') {\n if (objectExpression.property.type === 'Identifier') {\n addToFullName(objectExpression.property.name);\n }\n objectExpression = objectExpression.object;\n }\n else if (objectExpression.type === 'CallExpression' && objectExpression.callee.type === 'Identifier') {\n addToFullName(`${objectExpression.callee.name}(...)`);\n break;\n }\n else if (objectExpression.type === 'CallExpression' && objectExpression.callee.type === 'MemberExpression') {\n if (objectExpression.callee.property.type === 'Identifier') {\n addToFullName(`${objectExpression.callee.property.name}(...)`);\n }\n objectExpression = objectExpression.callee.object;\n }\n else if (objectExpression.type === 'Identifier') {\n addToFullName(objectExpression.name);\n break;\n }\n else if (objectExpression.type === 'ThisExpression') {\n addToFullName('this');\n break;\n }\n else {\n break;\n }\n }\n return fullName;\n};\nexports.resolveMemberExpressionPath = resolveMemberExpressionPath;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isDrizzleObj = void 0;\nconst isDrizzleObjName = (name, drizzleObjectName) => {\n if (typeof drizzleObjectName === 'string') {\n return name === drizzleObjectName;\n }\n if (Array.isArray(drizzleObjectName)) {\n if (drizzleObjectName.length === 0) {\n return true;\n }\n return drizzleObjectName.includes(name);\n }\n return false;\n};\nconst isDrizzleObj = (node, options) => {\n const drizzleObjectName = options[0].drizzleObjectName;\n if (node.object.type === 'Identifier') {\n return isDrizzleObjName(node.object.name, drizzleObjectName);\n }\n else if (node.object.type === 'MemberExpression' && node.object.property.type === 'Identifier') {\n return isDrizzleObjName(node.object.property.name, drizzleObjectName);\n }\n else if (node.object.type === 'CallExpression') {\n if (node.object.callee.type === 'Identifier') {\n return isDrizzleObjName(node.object.callee.name, drizzleObjectName);\n }\n else if (node.object.callee.type === 'MemberExpression' && node.object.callee.property.type === 'Identifier') {\n return isDrizzleObjName(node.object.callee.property.name, drizzleObjectName);\n }\n }\n return false;\n};\nexports.isDrizzleObj = isDrizzleObj;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils_1 = require(\"@typescript-eslint/utils\");\nconst ast_1 = require(\"./utils/ast\");\nconst options_1 = require(\"./utils/options\");\nconst createRule = utils_1.ESLintUtils.RuleCreator(() => 'https://github.com/drizzle-team/eslint-plugin-drizzle');\nlet lastNodeName = '';\nconst deleteRule = createRule({\n defaultOptions: [{ drizzleObjectName: [] }],\n name: 'enforce-delete-with-where',\n meta: {\n type: 'problem',\n docs: {\n description: 'Enforce that `delete` method is used with `where` to avoid deleting all the rows in a table.',\n },\n fixable: 'code',\n messages: {\n enforceDeleteWithWhere: \"Without `.where(...)` you will delete all the rows in a table. If you didn't want to do it, please use `{{ drizzleObjName }}.delete(...).where(...)` instead. Otherwise you can ignore this rule here\",\n },\n schema: [{\n type: 'object',\n properties: {\n drizzleObjectName: {\n type: ['string', 'array'],\n },\n },\n additionalProperties: false,\n }],\n },\n create(context, options) {\n return {\n MemberExpression: (node) => {\n if (node.property.type === 'Identifier') {\n if (node.property.name === 'delete' && lastNodeName !== 'where' && (0, options_1.isDrizzleObj)(node, options)) {\n context.report({\n node,\n messageId: 'enforceDeleteWithWhere',\n data: {\n drizzleObjName: (0, ast_1.resolveMemberExpressionPath)(node),\n },\n });\n }\n lastNodeName = node.property.name;\n }\n return;\n },\n };\n },\n});\nexports.default = deleteRule;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst utils_1 = require(\"@typescript-eslint/utils\");\nconst ast_1 = require(\"./utils/ast\");\nconst options_1 = require(\"./utils/options\");\nconst createRule = utils_1.ESLintUtils.RuleCreator(() => 'https://github.com/drizzle-team/eslint-plugin-drizzle');\nlet lastNodeName = '';\nconst updateRule = createRule({\n defaultOptions: [{ drizzleObjectName: [] }],\n name: 'enforce-update-with-where',\n meta: {\n type: 'problem',\n docs: {\n description: 'Enforce that `update` method is used with `where` to avoid deleting all the rows in a table.',\n },\n fixable: 'code',\n messages: {\n enforceUpdateWithWhere: \"Without `.where(...)` you will update all the rows in a table. If you didn't want to do it, please use `{{ drizzleObjName }}.update(...).set(...).where(...)` instead. Otherwise you can ignore this rule here\",\n },\n schema: [{\n type: 'object',\n properties: {\n drizzleObjectName: {\n type: ['string', 'array'],\n },\n },\n additionalProperties: false,\n }],\n },\n create(context, options) {\n return {\n MemberExpression: (node) => {\n if (node.property.type === 'Identifier') {\n if (lastNodeName !== 'where'\n && node.property.name === 'set'\n && node.object.type === 'CallExpression'\n && node.object.callee.type === 'MemberExpression'\n && node.object.callee.property.type === 'Identifier'\n && node.object.callee.property.name === 'update'\n && (0, options_1.isDrizzleObj)(node.object.callee, options)) {\n context.report({\n node,\n messageId: 'enforceUpdateWithWhere',\n data: {\n drizzleObjName: (0, ast_1.resolveMemberExpressionPath)(node.object.callee),\n },\n });\n }\n lastNodeName = node.property.name;\n }\n return;\n },\n };\n },\n});\nexports.default = updateRule;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.meta = exports.configs = exports.rules = void 0;\nconst package_json_1 = require(\"../package.json\");\nconst all_1 = __importDefault(require(\"./configs/all\"));\nconst recommended_1 = __importDefault(require(\"./configs/recommended\"));\nconst enforce_delete_with_where_1 = __importDefault(require(\"./enforce-delete-with-where\"));\nconst enforce_update_with_where_1 = __importDefault(require(\"./enforce-update-with-where\"));\nexports.rules = {\n 'enforce-delete-with-where': enforce_delete_with_where_1.default,\n 'enforce-update-with-where': enforce_update_with_where_1.default,\n};\nexports.configs = { all: all_1.default, recommended: recommended_1.default };\nexports.meta = { name: package_json_1.name, version: package_json_1.version };\n","import { configs, rules } from \"eslint-plugin-drizzle\";\n\nimport { plainRules, upstreamPlugin } from \"#/entities/upstream-plugin/index.ts\";\nimport type { UpstreamPlugin } from \"#/entities/upstream-plugin/index.ts\";\n\nexport type ConfigName = \"all\" | \"recommended\";\n\nconst plugin: UpstreamPlugin<ConfigName> = upstreamPlugin(\n \"drizzle\",\n { configs, rules },\n plainRules,\n);\n\nexport default plugin;\n"],"ignoreList":[0,1,2,3,4,5,6,7],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CCCA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;CAC5D,QAAQ,UAAU;EACd,KAAK,EACD,QAAQ,KACZ;EACA,eAAe;GACX,aAAa;GACb,YAAY;EAChB;EACA,SAAS,CAAC,SAAS;EACnB,OAAO;GACH,qCAAqC;GACrC,qCAAqC;EACzC;CACJ;;;CCdA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;CAC5D,QAAQ,UAAU;EACd,KAAK,EACD,QAAQ,KACZ;EACA,eAAe;GACX,aAAa;GACb,YAAY;EAChB;EACA,SAAS,CAAC,SAAS;EACnB,OAAO;GACH,qCAAqC;GACrC,qCAAqC;EACzC;CACJ;;;CCdA,OAA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AK;EACnE,OAAQ,OAAO,IAAI,aAAc,MAAM,EAAE,WAAW,IAAI;CAC5D;CACA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;CAC5D,QAAQ,OAAO,QAAQ,UAAU,QAAQ,QAAQ,KAAK;CACtD,MAAM,iBAAA,gBAAA;CACN,MAAM,QAAQ,gBAAA,YAAA,CAAwC;CACtD,MAAM,gBAAgB,gBAAA,oBAAA,CAAgD;CACtE,MAAM,8BAA8B,gBAAA,kCAAA,CAAsD;CAC1F,MAAM,8BAA8B,gBAAA,kCAAA,CAAsD;CAC1F,QAAQ,QAAQ;EACZ,6BAA6B,4BAA4B;EACzD,6BAA6B,4BAA4B;CAC7D;CACA,QAAQ,UAAU;EAAE,KAAK,MAAM;EAAS,aAAa,cAAc;CAAQ;CAC3E,QAAQ,OAAO;EAAE,MAAM,eAAe;EAAM,SAAS,eAAe;CAAQ;;ACT5E,MAAM,SAAqC,eACzC,WACA;CAAE,SAAA,WAAA;CAAS,OAAA,WAAA;AAAM,GACjB,UACF"}
@@ -1,5 +1,4 @@
1
- import { t as __commonJSMin } from "./rolldown-runtime-DQp2zzRu.mjs";
2
- // ../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js
1
+ import { t as __commonJSMin } from "./rolldown-runtime-Dn33JYCD.mjs";
3
2
  var require_ast_spec = /* @__PURE__ */ __commonJSMin(((exports) => {
4
3
  /**********************************************
5
4
  * DO NOT MODIFY THIS FILE MANUALLY *
@@ -201,15 +200,12 @@ var require_ast_spec = /* @__PURE__ */ __commonJSMin(((exports) => {
201
200
  AST_TOKEN_TYPES["Line"] = "Line";
202
201
  })(AST_TOKEN_TYPES || (exports.AST_TOKEN_TYPES = AST_TOKEN_TYPES = {}));
203
202
  }));
204
- // ../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/lib.js
205
203
  var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
206
204
  Object.defineProperty(exports, "__esModule", { value: true });
207
205
  }));
208
- // ../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/parser-options.js
209
206
  var require_parser_options = /* @__PURE__ */ __commonJSMin(((exports) => {
210
207
  Object.defineProperty(exports, "__esModule", { value: true });
211
208
  }));
212
- // ../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/ts-estree.js
213
209
  var require_ts_estree = /* @__PURE__ */ __commonJSMin(((exports, module, this$3) => {
214
210
  var __createBinding = this$3 && this$3.__createBinding || (Object.create ? (function(o, m, k, k2) {
215
211
  if (k2 === void 0) k2 = k;
@@ -256,7 +252,6 @@ var require_ts_estree = /* @__PURE__ */ __commonJSMin(((exports, module, this$3)
256
252
  exports.TSESTree = void 0;
257
253
  exports.TSESTree = __importStar(require_ast_spec());
258
254
  }));
259
- // ../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/index.js
260
255
  var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) => {
261
256
  var __createBinding = this$2 && this$2.__createBinding || (Object.create ? (function(o, m, k, k2) {
262
257
  if (k2 === void 0) k2 = k;
@@ -294,7 +289,6 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) => {
294
289
  __exportStar(require_parser_options(), exports);
295
290
  __exportStar(require_ts_estree(), exports);
296
291
  }));
297
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js
298
292
  var require_deepMerge = /* @__PURE__ */ __commonJSMin(((exports) => {
299
293
  Object.defineProperty(exports, "__esModule", { value: true });
300
294
  exports.isObjectNotArray = isObjectNotArray;
@@ -330,7 +324,6 @@ var require_deepMerge = /* @__PURE__ */ __commonJSMin(((exports) => {
330
324
  }));
331
325
  }
332
326
  }));
333
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js
334
327
  var require_applyDefault = /* @__PURE__ */ __commonJSMin(((exports) => {
335
328
  Object.defineProperty(exports, "__esModule", { value: true });
336
329
  exports.applyDefault = applyDefault;
@@ -355,7 +348,6 @@ var require_applyDefault = /* @__PURE__ */ __commonJSMin(((exports) => {
355
348
  return options;
356
349
  }
357
350
  }));
358
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js
359
351
  var require_parserSeemsToBeTSESLint = /* @__PURE__ */ __commonJSMin(((exports) => {
360
352
  Object.defineProperty(exports, "__esModule", { value: true });
361
353
  exports.parserSeemsToBeTSESLint = parserSeemsToBeTSESLint;
@@ -363,7 +355,6 @@ var require_parserSeemsToBeTSESLint = /* @__PURE__ */ __commonJSMin(((exports) =
363
355
  return !!parser && /(?:typescript-eslint|\.\.)[\w/\\]*parser/.test(parser);
364
356
  }
365
357
  }));
366
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js
367
358
  var require_getParserServices = /* @__PURE__ */ __commonJSMin(((exports) => {
368
359
  Object.defineProperty(exports, "__esModule", { value: true });
369
360
  exports.getParserServices = getParserServices;
@@ -385,11 +376,9 @@ var require_getParserServices = /* @__PURE__ */ __commonJSMin(((exports) => {
385
376
  throw new Error(messages.join("\n"));
386
377
  }
387
378
  }));
388
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js
389
379
  var require_InferTypesFromRule = /* @__PURE__ */ __commonJSMin(((exports) => {
390
380
  Object.defineProperty(exports, "__esModule", { value: true });
391
381
  }));
392
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js
393
382
  var require_nullThrows = /* @__PURE__ */ __commonJSMin(((exports) => {
394
383
  Object.defineProperty(exports, "__esModule", { value: true });
395
384
  exports.NullThrowsReasons = void 0;
@@ -410,7 +399,6 @@ var require_nullThrows = /* @__PURE__ */ __commonJSMin(((exports) => {
410
399
  return value;
411
400
  }
412
401
  }));
413
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js
414
402
  var require_RuleCreator = /* @__PURE__ */ __commonJSMin(((exports) => {
415
403
  Object.defineProperty(exports, "__esModule", { value: true });
416
404
  exports.RuleCreator = RuleCreator;
@@ -457,7 +445,6 @@ var require_RuleCreator = /* @__PURE__ */ __commonJSMin(((exports) => {
457
445
  return createRule(args);
458
446
  };
459
447
  }));
460
- // ../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js
461
448
  var require_eslint_utils = /* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
462
449
  var __createBinding = this$1 && this$1.__createBinding || (Object.create ? (function(o, m, k, k2) {
463
450
  if (k2 === void 0) k2 = k;
@@ -486,4 +473,4 @@ var require_eslint_utils = /* @__PURE__ */ __commonJSMin(((exports, module, this
486
473
  }));
487
474
  export { require_dist as n, require_eslint_utils as t };
488
475
 
489
- //# sourceMappingURL=eslint-utils-CRZcxQ1H.mjs.map
476
+ //# sourceMappingURL=eslint-utils-wD9mdhio.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"eslint-utils-CRZcxQ1H.mjs","names":[],"sources":["../../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js","../../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/lib.js","../../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/parser-options.js","../../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/ts-estree.js","../../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/index.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_f154ba891377147fa1d9d3c331bd6d27/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js"],"sourcesContent":["\"use strict\";\n/**********************************************\n * DO NOT MODIFY THIS FILE MANUALLY *\n * *\n * THIS FILE HAS BEEN COPIED FROM ast-spec. *\n * ANY CHANGES WILL BE LOST ON THE NEXT BUILD *\n * *\n * MAKE CHANGES TO ast-spec AND THEN RUN *\n * pnpm run build *\n **********************************************/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0;\nvar AST_NODE_TYPES;\n(function (AST_NODE_TYPES) {\n AST_NODE_TYPES[\"AccessorProperty\"] = \"AccessorProperty\";\n AST_NODE_TYPES[\"ArrayExpression\"] = \"ArrayExpression\";\n AST_NODE_TYPES[\"ArrayPattern\"] = \"ArrayPattern\";\n AST_NODE_TYPES[\"ArrowFunctionExpression\"] = \"ArrowFunctionExpression\";\n AST_NODE_TYPES[\"AssignmentExpression\"] = \"AssignmentExpression\";\n AST_NODE_TYPES[\"AssignmentPattern\"] = \"AssignmentPattern\";\n AST_NODE_TYPES[\"AwaitExpression\"] = \"AwaitExpression\";\n AST_NODE_TYPES[\"BinaryExpression\"] = \"BinaryExpression\";\n AST_NODE_TYPES[\"BlockStatement\"] = \"BlockStatement\";\n AST_NODE_TYPES[\"BreakStatement\"] = \"BreakStatement\";\n AST_NODE_TYPES[\"CallExpression\"] = \"CallExpression\";\n AST_NODE_TYPES[\"CatchClause\"] = \"CatchClause\";\n AST_NODE_TYPES[\"ChainExpression\"] = \"ChainExpression\";\n AST_NODE_TYPES[\"ClassBody\"] = \"ClassBody\";\n AST_NODE_TYPES[\"ClassDeclaration\"] = \"ClassDeclaration\";\n AST_NODE_TYPES[\"ClassExpression\"] = \"ClassExpression\";\n AST_NODE_TYPES[\"ConditionalExpression\"] = \"ConditionalExpression\";\n AST_NODE_TYPES[\"ContinueStatement\"] = \"ContinueStatement\";\n AST_NODE_TYPES[\"DebuggerStatement\"] = \"DebuggerStatement\";\n AST_NODE_TYPES[\"Decorator\"] = \"Decorator\";\n AST_NODE_TYPES[\"DoWhileStatement\"] = \"DoWhileStatement\";\n AST_NODE_TYPES[\"EmptyStatement\"] = \"EmptyStatement\";\n AST_NODE_TYPES[\"ExportAllDeclaration\"] = \"ExportAllDeclaration\";\n AST_NODE_TYPES[\"ExportDefaultDeclaration\"] = \"ExportDefaultDeclaration\";\n AST_NODE_TYPES[\"ExportNamedDeclaration\"] = \"ExportNamedDeclaration\";\n AST_NODE_TYPES[\"ExportSpecifier\"] = \"ExportSpecifier\";\n AST_NODE_TYPES[\"ExpressionStatement\"] = \"ExpressionStatement\";\n AST_NODE_TYPES[\"ForInStatement\"] = \"ForInStatement\";\n AST_NODE_TYPES[\"ForOfStatement\"] = \"ForOfStatement\";\n AST_NODE_TYPES[\"ForStatement\"] = \"ForStatement\";\n AST_NODE_TYPES[\"FunctionDeclaration\"] = \"FunctionDeclaration\";\n AST_NODE_TYPES[\"FunctionExpression\"] = \"FunctionExpression\";\n AST_NODE_TYPES[\"Identifier\"] = \"Identifier\";\n AST_NODE_TYPES[\"IfStatement\"] = \"IfStatement\";\n AST_NODE_TYPES[\"ImportAttribute\"] = \"ImportAttribute\";\n AST_NODE_TYPES[\"ImportDeclaration\"] = \"ImportDeclaration\";\n AST_NODE_TYPES[\"ImportDefaultSpecifier\"] = \"ImportDefaultSpecifier\";\n AST_NODE_TYPES[\"ImportExpression\"] = \"ImportExpression\";\n AST_NODE_TYPES[\"ImportNamespaceSpecifier\"] = \"ImportNamespaceSpecifier\";\n AST_NODE_TYPES[\"ImportSpecifier\"] = \"ImportSpecifier\";\n AST_NODE_TYPES[\"JSXAttribute\"] = \"JSXAttribute\";\n AST_NODE_TYPES[\"JSXClosingElement\"] = \"JSXClosingElement\";\n AST_NODE_TYPES[\"JSXClosingFragment\"] = \"JSXClosingFragment\";\n AST_NODE_TYPES[\"JSXElement\"] = \"JSXElement\";\n AST_NODE_TYPES[\"JSXEmptyExpression\"] = \"JSXEmptyExpression\";\n AST_NODE_TYPES[\"JSXExpressionContainer\"] = \"JSXExpressionContainer\";\n AST_NODE_TYPES[\"JSXFragment\"] = \"JSXFragment\";\n AST_NODE_TYPES[\"JSXIdentifier\"] = \"JSXIdentifier\";\n AST_NODE_TYPES[\"JSXMemberExpression\"] = \"JSXMemberExpression\";\n AST_NODE_TYPES[\"JSXNamespacedName\"] = \"JSXNamespacedName\";\n AST_NODE_TYPES[\"JSXOpeningElement\"] = \"JSXOpeningElement\";\n AST_NODE_TYPES[\"JSXOpeningFragment\"] = \"JSXOpeningFragment\";\n AST_NODE_TYPES[\"JSXSpreadAttribute\"] = \"JSXSpreadAttribute\";\n AST_NODE_TYPES[\"JSXSpreadChild\"] = \"JSXSpreadChild\";\n AST_NODE_TYPES[\"JSXText\"] = \"JSXText\";\n AST_NODE_TYPES[\"LabeledStatement\"] = \"LabeledStatement\";\n AST_NODE_TYPES[\"Literal\"] = \"Literal\";\n AST_NODE_TYPES[\"LogicalExpression\"] = \"LogicalExpression\";\n AST_NODE_TYPES[\"MemberExpression\"] = \"MemberExpression\";\n AST_NODE_TYPES[\"MetaProperty\"] = \"MetaProperty\";\n AST_NODE_TYPES[\"MethodDefinition\"] = \"MethodDefinition\";\n AST_NODE_TYPES[\"NewExpression\"] = \"NewExpression\";\n AST_NODE_TYPES[\"ObjectExpression\"] = \"ObjectExpression\";\n AST_NODE_TYPES[\"ObjectPattern\"] = \"ObjectPattern\";\n AST_NODE_TYPES[\"PrivateIdentifier\"] = \"PrivateIdentifier\";\n AST_NODE_TYPES[\"Program\"] = \"Program\";\n AST_NODE_TYPES[\"Property\"] = \"Property\";\n AST_NODE_TYPES[\"PropertyDefinition\"] = \"PropertyDefinition\";\n AST_NODE_TYPES[\"RestElement\"] = \"RestElement\";\n AST_NODE_TYPES[\"ReturnStatement\"] = \"ReturnStatement\";\n AST_NODE_TYPES[\"SequenceExpression\"] = \"SequenceExpression\";\n AST_NODE_TYPES[\"SpreadElement\"] = \"SpreadElement\";\n AST_NODE_TYPES[\"StaticBlock\"] = \"StaticBlock\";\n AST_NODE_TYPES[\"Super\"] = \"Super\";\n AST_NODE_TYPES[\"SwitchCase\"] = \"SwitchCase\";\n AST_NODE_TYPES[\"SwitchStatement\"] = \"SwitchStatement\";\n AST_NODE_TYPES[\"TaggedTemplateExpression\"] = \"TaggedTemplateExpression\";\n AST_NODE_TYPES[\"TemplateElement\"] = \"TemplateElement\";\n AST_NODE_TYPES[\"TemplateLiteral\"] = \"TemplateLiteral\";\n AST_NODE_TYPES[\"ThisExpression\"] = \"ThisExpression\";\n AST_NODE_TYPES[\"ThrowStatement\"] = \"ThrowStatement\";\n AST_NODE_TYPES[\"TryStatement\"] = \"TryStatement\";\n AST_NODE_TYPES[\"UnaryExpression\"] = \"UnaryExpression\";\n AST_NODE_TYPES[\"UpdateExpression\"] = \"UpdateExpression\";\n AST_NODE_TYPES[\"VariableDeclaration\"] = \"VariableDeclaration\";\n AST_NODE_TYPES[\"VariableDeclarator\"] = \"VariableDeclarator\";\n AST_NODE_TYPES[\"WhileStatement\"] = \"WhileStatement\";\n AST_NODE_TYPES[\"WithStatement\"] = \"WithStatement\";\n AST_NODE_TYPES[\"YieldExpression\"] = \"YieldExpression\";\n AST_NODE_TYPES[\"TSAbstractAccessorProperty\"] = \"TSAbstractAccessorProperty\";\n AST_NODE_TYPES[\"TSAbstractKeyword\"] = \"TSAbstractKeyword\";\n AST_NODE_TYPES[\"TSAbstractMethodDefinition\"] = \"TSAbstractMethodDefinition\";\n AST_NODE_TYPES[\"TSAbstractPropertyDefinition\"] = \"TSAbstractPropertyDefinition\";\n AST_NODE_TYPES[\"TSAnyKeyword\"] = \"TSAnyKeyword\";\n AST_NODE_TYPES[\"TSArrayType\"] = \"TSArrayType\";\n AST_NODE_TYPES[\"TSAsExpression\"] = \"TSAsExpression\";\n AST_NODE_TYPES[\"TSAsyncKeyword\"] = \"TSAsyncKeyword\";\n AST_NODE_TYPES[\"TSBigIntKeyword\"] = \"TSBigIntKeyword\";\n AST_NODE_TYPES[\"TSBooleanKeyword\"] = \"TSBooleanKeyword\";\n AST_NODE_TYPES[\"TSCallSignatureDeclaration\"] = \"TSCallSignatureDeclaration\";\n AST_NODE_TYPES[\"TSClassImplements\"] = \"TSClassImplements\";\n AST_NODE_TYPES[\"TSConditionalType\"] = \"TSConditionalType\";\n AST_NODE_TYPES[\"TSConstructorType\"] = \"TSConstructorType\";\n AST_NODE_TYPES[\"TSConstructSignatureDeclaration\"] = \"TSConstructSignatureDeclaration\";\n AST_NODE_TYPES[\"TSDeclareFunction\"] = \"TSDeclareFunction\";\n AST_NODE_TYPES[\"TSDeclareKeyword\"] = \"TSDeclareKeyword\";\n AST_NODE_TYPES[\"TSEmptyBodyFunctionExpression\"] = \"TSEmptyBodyFunctionExpression\";\n AST_NODE_TYPES[\"TSEnumBody\"] = \"TSEnumBody\";\n AST_NODE_TYPES[\"TSEnumDeclaration\"] = \"TSEnumDeclaration\";\n AST_NODE_TYPES[\"TSEnumMember\"] = \"TSEnumMember\";\n AST_NODE_TYPES[\"TSExportAssignment\"] = \"TSExportAssignment\";\n AST_NODE_TYPES[\"TSExportKeyword\"] = \"TSExportKeyword\";\n AST_NODE_TYPES[\"TSExternalModuleReference\"] = \"TSExternalModuleReference\";\n AST_NODE_TYPES[\"TSFunctionType\"] = \"TSFunctionType\";\n AST_NODE_TYPES[\"TSImportEqualsDeclaration\"] = \"TSImportEqualsDeclaration\";\n AST_NODE_TYPES[\"TSImportType\"] = \"TSImportType\";\n AST_NODE_TYPES[\"TSIndexedAccessType\"] = \"TSIndexedAccessType\";\n AST_NODE_TYPES[\"TSIndexSignature\"] = \"TSIndexSignature\";\n AST_NODE_TYPES[\"TSInferType\"] = \"TSInferType\";\n AST_NODE_TYPES[\"TSInstantiationExpression\"] = \"TSInstantiationExpression\";\n AST_NODE_TYPES[\"TSInterfaceBody\"] = \"TSInterfaceBody\";\n AST_NODE_TYPES[\"TSInterfaceDeclaration\"] = \"TSInterfaceDeclaration\";\n AST_NODE_TYPES[\"TSInterfaceHeritage\"] = \"TSInterfaceHeritage\";\n AST_NODE_TYPES[\"TSIntersectionType\"] = \"TSIntersectionType\";\n AST_NODE_TYPES[\"TSIntrinsicKeyword\"] = \"TSIntrinsicKeyword\";\n AST_NODE_TYPES[\"TSLiteralType\"] = \"TSLiteralType\";\n AST_NODE_TYPES[\"TSMappedType\"] = \"TSMappedType\";\n AST_NODE_TYPES[\"TSMethodSignature\"] = \"TSMethodSignature\";\n AST_NODE_TYPES[\"TSModuleBlock\"] = \"TSModuleBlock\";\n AST_NODE_TYPES[\"TSModuleDeclaration\"] = \"TSModuleDeclaration\";\n AST_NODE_TYPES[\"TSNamedTupleMember\"] = \"TSNamedTupleMember\";\n AST_NODE_TYPES[\"TSNamespaceExportDeclaration\"] = \"TSNamespaceExportDeclaration\";\n AST_NODE_TYPES[\"TSNeverKeyword\"] = \"TSNeverKeyword\";\n AST_NODE_TYPES[\"TSNonNullExpression\"] = \"TSNonNullExpression\";\n AST_NODE_TYPES[\"TSNullKeyword\"] = \"TSNullKeyword\";\n AST_NODE_TYPES[\"TSNumberKeyword\"] = \"TSNumberKeyword\";\n AST_NODE_TYPES[\"TSObjectKeyword\"] = \"TSObjectKeyword\";\n AST_NODE_TYPES[\"TSOptionalType\"] = \"TSOptionalType\";\n AST_NODE_TYPES[\"TSParameterProperty\"] = \"TSParameterProperty\";\n AST_NODE_TYPES[\"TSPrivateKeyword\"] = \"TSPrivateKeyword\";\n AST_NODE_TYPES[\"TSPropertySignature\"] = \"TSPropertySignature\";\n AST_NODE_TYPES[\"TSProtectedKeyword\"] = \"TSProtectedKeyword\";\n AST_NODE_TYPES[\"TSPublicKeyword\"] = \"TSPublicKeyword\";\n AST_NODE_TYPES[\"TSQualifiedName\"] = \"TSQualifiedName\";\n AST_NODE_TYPES[\"TSReadonlyKeyword\"] = \"TSReadonlyKeyword\";\n AST_NODE_TYPES[\"TSRestType\"] = \"TSRestType\";\n AST_NODE_TYPES[\"TSSatisfiesExpression\"] = \"TSSatisfiesExpression\";\n AST_NODE_TYPES[\"TSStaticKeyword\"] = \"TSStaticKeyword\";\n AST_NODE_TYPES[\"TSStringKeyword\"] = \"TSStringKeyword\";\n AST_NODE_TYPES[\"TSSymbolKeyword\"] = \"TSSymbolKeyword\";\n AST_NODE_TYPES[\"TSTemplateLiteralType\"] = \"TSTemplateLiteralType\";\n AST_NODE_TYPES[\"TSThisType\"] = \"TSThisType\";\n AST_NODE_TYPES[\"TSTupleType\"] = \"TSTupleType\";\n AST_NODE_TYPES[\"TSTypeAliasDeclaration\"] = \"TSTypeAliasDeclaration\";\n AST_NODE_TYPES[\"TSTypeAnnotation\"] = \"TSTypeAnnotation\";\n AST_NODE_TYPES[\"TSTypeAssertion\"] = \"TSTypeAssertion\";\n AST_NODE_TYPES[\"TSTypeLiteral\"] = \"TSTypeLiteral\";\n AST_NODE_TYPES[\"TSTypeOperator\"] = \"TSTypeOperator\";\n AST_NODE_TYPES[\"TSTypeParameter\"] = \"TSTypeParameter\";\n AST_NODE_TYPES[\"TSTypeParameterDeclaration\"] = \"TSTypeParameterDeclaration\";\n AST_NODE_TYPES[\"TSTypeParameterInstantiation\"] = \"TSTypeParameterInstantiation\";\n AST_NODE_TYPES[\"TSTypePredicate\"] = \"TSTypePredicate\";\n AST_NODE_TYPES[\"TSTypeQuery\"] = \"TSTypeQuery\";\n AST_NODE_TYPES[\"TSTypeReference\"] = \"TSTypeReference\";\n AST_NODE_TYPES[\"TSUndefinedKeyword\"] = \"TSUndefinedKeyword\";\n AST_NODE_TYPES[\"TSUnionType\"] = \"TSUnionType\";\n AST_NODE_TYPES[\"TSUnknownKeyword\"] = \"TSUnknownKeyword\";\n AST_NODE_TYPES[\"TSVoidKeyword\"] = \"TSVoidKeyword\";\n})(AST_NODE_TYPES || (exports.AST_NODE_TYPES = AST_NODE_TYPES = {}));\nvar AST_TOKEN_TYPES;\n(function (AST_TOKEN_TYPES) {\n AST_TOKEN_TYPES[\"Boolean\"] = \"Boolean\";\n AST_TOKEN_TYPES[\"Identifier\"] = \"Identifier\";\n AST_TOKEN_TYPES[\"JSXIdentifier\"] = \"JSXIdentifier\";\n AST_TOKEN_TYPES[\"PrivateIdentifier\"] = \"PrivateIdentifier\";\n AST_TOKEN_TYPES[\"JSXText\"] = \"JSXText\";\n AST_TOKEN_TYPES[\"Keyword\"] = \"Keyword\";\n AST_TOKEN_TYPES[\"Null\"] = \"Null\";\n AST_TOKEN_TYPES[\"Numeric\"] = \"Numeric\";\n AST_TOKEN_TYPES[\"Punctuator\"] = \"Punctuator\";\n AST_TOKEN_TYPES[\"RegularExpression\"] = \"RegularExpression\";\n AST_TOKEN_TYPES[\"String\"] = \"String\";\n AST_TOKEN_TYPES[\"Template\"] = \"Template\";\n AST_TOKEN_TYPES[\"Block\"] = \"Block\";\n AST_TOKEN_TYPES[\"Line\"] = \"Line\";\n})(AST_TOKEN_TYPES || (exports.AST_TOKEN_TYPES = AST_TOKEN_TYPES = {}));\n//# sourceMappingURL=ast-spec.js.map","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:\n// npx nx generate-lib repo\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=lib.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=parser-options.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TSESTree = void 0;\nexports.TSESTree = __importStar(require(\"./generated/ast-spec\"));\n//# sourceMappingURL=ts-estree.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0;\nvar ast_spec_1 = require(\"./generated/ast-spec\");\nObject.defineProperty(exports, \"AST_NODE_TYPES\", { enumerable: true, get: function () { return ast_spec_1.AST_NODE_TYPES; } });\nObject.defineProperty(exports, \"AST_TOKEN_TYPES\", { enumerable: true, get: function () { return ast_spec_1.AST_TOKEN_TYPES; } });\n__exportStar(require(\"./lib\"), exports);\n__exportStar(require(\"./parser-options\"), exports);\n__exportStar(require(\"./ts-estree\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isObjectNotArray = isObjectNotArray;\nexports.deepMerge = deepMerge;\n/**\n * Check if the variable contains an object strictly rejecting arrays\n * @returns `true` if obj is an object\n */\nfunction isObjectNotArray(obj) {\n return typeof obj === 'object' && obj != null && !Array.isArray(obj);\n}\n/**\n * Pure function - doesn't mutate either parameter!\n * Merges two objects together deeply, overwriting the properties in first with the properties in second\n * @param first The first object\n * @param second The second object\n * @returns a new object\n */\nfunction deepMerge(first = {}, second = {}) {\n // get the unique set of keys across both objects\n const keys = new Set([...Object.keys(first), ...Object.keys(second)]);\n return Object.fromEntries([...keys].map(key => {\n const firstHasKey = key in first;\n const secondHasKey = key in second;\n const firstValue = first[key];\n const secondValue = second[key];\n let value;\n if (firstHasKey && secondHasKey) {\n if (isObjectNotArray(firstValue) && isObjectNotArray(secondValue)) {\n // object type\n value = deepMerge(firstValue, secondValue);\n }\n else {\n // value type\n value = secondValue;\n }\n }\n else if (firstHasKey) {\n value = firstValue;\n }\n else {\n value = secondValue;\n }\n return [key, value];\n }));\n}\n//# sourceMappingURL=deepMerge.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.applyDefault = applyDefault;\nconst deepMerge_1 = require(\"./deepMerge\");\n/**\n * Pure function - doesn't mutate either parameter!\n * Uses the default options and overrides with the options provided by the user\n * @param defaultOptions the defaults\n * @param userOptions the user opts\n * @returns the options with defaults\n */\nfunction applyDefault(defaultOptions, userOptions) {\n // clone defaults\n const options = structuredClone(defaultOptions);\n if (userOptions == null) {\n return options;\n }\n // For avoiding the type error\n // `This expression is not callable. Type 'unknown' has no call signatures.ts(2349)`\n options.forEach((opt, i) => {\n // eslint-disable-next-line @typescript-eslint/internal/eqeq-nullish\n if (userOptions[i] !== undefined) {\n const userOpt = userOptions[i];\n if ((0, deepMerge_1.isObjectNotArray)(userOpt) && (0, deepMerge_1.isObjectNotArray)(opt)) {\n options[i] = (0, deepMerge_1.deepMerge)(opt, userOpt);\n }\n else {\n options[i] = userOpt;\n }\n }\n });\n return options;\n}\n//# sourceMappingURL=applyDefault.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.parserSeemsToBeTSESLint = parserSeemsToBeTSESLint;\nfunction parserSeemsToBeTSESLint(parser) {\n return !!parser && /(?:typescript-eslint|\\.\\.)[\\w/\\\\]*parser/.test(parser);\n}\n//# sourceMappingURL=parserSeemsToBeTSESLint.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getParserServices = getParserServices;\nconst parserSeemsToBeTSESLint_1 = require(\"./parserSeemsToBeTSESLint\");\nconst ERROR_MESSAGE_REQUIRES_PARSER_SERVICES = \"You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file. See https://tseslint.com/typed-linting for enabling linting with type information.\";\nconst ERROR_MESSAGE_UNKNOWN_PARSER = 'Note: detected a parser other than @typescript-eslint/parser. Make sure the parser is configured to forward \"parserOptions.project\" to @typescript-eslint/parser.';\nfunction getParserServices(context, allowWithoutFullTypeInformation = false) {\n const parser = \n // eslint-disable-next-line @typescript-eslint/no-deprecated -- For compatibility with ESLint 8\n context.parserPath || context.languageOptions.parser?.meta?.name;\n // This check is unnecessary if the user is using the latest version of our parser.\n //\n // However the world isn't perfect:\n // - Users often use old parser versions.\n // Old versions of the parser would not return any parserServices unless parserOptions.project was set.\n // - Users sometimes use parsers that aren't @typescript-eslint/parser\n // Other parsers won't return the parser services we expect (if they return any at all).\n //\n // This check allows us to handle bad user setups whilst providing a nice user-facing\n // error message explaining the problem.\n if (context.sourceCode.parserServices?.esTreeNodeToTSNodeMap == null ||\n context.sourceCode.parserServices.tsNodeToESTreeNodeMap == null) {\n throwError(parser);\n }\n // if a rule requires full type information, then hard fail if it doesn't exist\n // this forces the user to supply parserOptions.project\n if (context.sourceCode.parserServices.program == null &&\n !allowWithoutFullTypeInformation) {\n throwError(parser);\n }\n return context.sourceCode.parserServices;\n}\n/* eslint-enable @typescript-eslint/unified-signatures */\nfunction throwError(parser) {\n const messages = [\n ERROR_MESSAGE_REQUIRES_PARSER_SERVICES,\n `Parser: ${parser || '(unknown)'}`,\n !(0, parserSeemsToBeTSESLint_1.parserSeemsToBeTSESLint)(parser) && ERROR_MESSAGE_UNKNOWN_PARSER,\n ].filter(Boolean);\n throw new Error(messages.join('\\n'));\n}\n//# sourceMappingURL=getParserServices.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=InferTypesFromRule.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NullThrowsReasons = void 0;\nexports.nullThrows = nullThrows;\n/**\n * A set of common reasons for calling nullThrows\n */\nexports.NullThrowsReasons = {\n MissingParent: 'Expected node to have a parent.',\n MissingToken: (token, thing) => `Expected to find a ${token} for the ${thing}.`,\n};\n/**\n * Assert that a value must not be null or undefined.\n * This is a nice explicit alternative to the non-null assertion operator.\n */\nfunction nullThrows(value, message) {\n if (value == null) {\n throw new Error(`Non-null Assertion Failed: ${message}`);\n }\n return value;\n}\n//# sourceMappingURL=nullThrows.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RuleCreator = RuleCreator;\nconst applyDefault_1 = require(\"./applyDefault\");\n/**\n * Creates reusable function to create rules with default options and docs URLs.\n *\n * @param urlCreator Creates a documentation URL for a given rule name.\n * @returns Function to create a rule with the docs URL format.\n */\nfunction RuleCreator(urlCreator) {\n // This function will get much easier to call when this is merged https://github.com/Microsoft/TypeScript/pull/26349\n // TODO - when the above PR lands; add type checking for the context.report `data` property\n return function createNamedRule({ meta, name, ...rule }) {\n const ruleWithDocs = createRule({\n meta: {\n ...meta,\n docs: {\n ...meta.docs,\n url: urlCreator(name),\n },\n },\n name,\n ...rule,\n });\n return ruleWithDocs;\n };\n}\nfunction createRule({ create, \n// Keep accepting deprecated defaultOptions for backward compatibility.\n// eslint-disable-next-line @typescript-eslint/no-deprecated\ndefaultOptions, meta, name, }) {\n const resolvedDefaultOptions = (meta.defaultOptions ??\n defaultOptions ??\n []);\n return {\n create(context) {\n const optionsWithDefault = (0, applyDefault_1.applyDefault)(resolvedDefaultOptions, context.options);\n return create(context, optionsWithDefault);\n },\n // eslint-disable-next-line @typescript-eslint/no-deprecated -- For compatibility with ESLint 8, see #12842\n defaultOptions,\n meta,\n name,\n };\n}\n/**\n * Creates a well-typed TSESLint custom ESLint rule without a docs URL.\n *\n * @returns Well-typed TSESLint custom ESLint rule.\n * @remarks It is generally better to provide a docs URL function to RuleCreator.\n */\nRuleCreator.withoutDocs = function withoutDocs(args) {\n return createRule(args);\n};\n//# sourceMappingURL=RuleCreator.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./applyDefault\"), exports);\n__exportStar(require(\"./deepMerge\"), exports);\n__exportStar(require(\"./getParserServices\"), exports);\n__exportStar(require(\"./InferTypesFromRule\"), exports);\n__exportStar(require(\"./nullThrows\"), exports);\n__exportStar(require(\"./RuleCreator\"), exports);\n//# sourceMappingURL=index.js.map"],"ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12],"mappings":";;;;;;;;;;;;CAUA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;CAC5D,QAAQ,kBAAkB,QAAQ,iBAAiB,KAAK;CACxD,IAAI;CACJ,CAAC,SAAU,gBAAgB;EACvB,eAAe,sBAAsB;EACrC,eAAe,qBAAqB;EACpC,eAAe,kBAAkB;EACjC,eAAe,6BAA6B;EAC5C,eAAe,0BAA0B;EACzC,eAAe,uBAAuB;EACtC,eAAe,qBAAqB;EACpC,eAAe,sBAAsB;EACrC,eAAe,oBAAoB;EACnC,eAAe,oBAAoB;EACnC,eAAe,oBAAoB;EACnC,eAAe,iBAAiB;EAChC,eAAe,qBAAqB;EACpC,eAAe,eAAe;EAC9B,eAAe,sBAAsB;EACrC,eAAe,qBAAqB;EACpC,eAAe,2BAA2B;EAC1C,eAAe,uBAAuB;EACtC,eAAe,uBAAuB;EACtC,eAAe,eAAe;EAC9B,eAAe,sBAAsB;EACrC,eAAe,oBAAoB;EACnC,eAAe,0BAA0B;EACzC,eAAe,8BAA8B;EAC7C,eAAe,4BAA4B;EAC3C,eAAe,qBAAqB;EACpC,eAAe,yBAAyB;EACxC,eAAe,oBAAoB;EACnC,eAAe,oBAAoB;EACnC,eAAe,kBAAkB;EACjC,e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,GAAuC,OAAO"}
1
+ {"version":3,"file":"eslint-utils-wD9mdhio.mjs","names":[],"sources":["../../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js","../../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/lib.js","../../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/parser-options.js","../../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/ts-estree.js","../../../node_modules/.pnpm/@typescript-eslint+types@8.74.0/node_modules/@typescript-eslint/types/dist/index.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_7da7c1466ed348a6b7f5fd1d95799cbc/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_7da7c1466ed348a6b7f5fd1d95799cbc/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_7da7c1466ed348a6b7f5fd1d95799cbc/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_7da7c1466ed348a6b7f5fd1d95799cbc/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_7da7c1466ed348a6b7f5fd1d95799cbc/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_7da7c1466ed348a6b7f5fd1d95799cbc/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_7da7c1466ed348a6b7f5fd1d95799cbc/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js","../../../node_modules/.pnpm/@typescript-eslint+utils@8.74.0_eslint@10.16.0_jiti@2.7.0_supports-color@10.2.2__suppor_7da7c1466ed348a6b7f5fd1d95799cbc/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js"],"sourcesContent":["\"use strict\";\n/**********************************************\n * DO NOT MODIFY THIS FILE MANUALLY *\n * *\n * THIS FILE HAS BEEN COPIED FROM ast-spec. *\n * ANY CHANGES WILL BE LOST ON THE NEXT BUILD *\n * *\n * MAKE CHANGES TO ast-spec AND THEN RUN *\n * pnpm run build *\n **********************************************/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0;\nvar AST_NODE_TYPES;\n(function (AST_NODE_TYPES) {\n AST_NODE_TYPES[\"AccessorProperty\"] = \"AccessorProperty\";\n AST_NODE_TYPES[\"ArrayExpression\"] = \"ArrayExpression\";\n AST_NODE_TYPES[\"ArrayPattern\"] = \"ArrayPattern\";\n AST_NODE_TYPES[\"ArrowFunctionExpression\"] = \"ArrowFunctionExpression\";\n AST_NODE_TYPES[\"AssignmentExpression\"] = \"AssignmentExpression\";\n AST_NODE_TYPES[\"AssignmentPattern\"] = \"AssignmentPattern\";\n AST_NODE_TYPES[\"AwaitExpression\"] = \"AwaitExpression\";\n AST_NODE_TYPES[\"BinaryExpression\"] = \"BinaryExpression\";\n AST_NODE_TYPES[\"BlockStatement\"] = \"BlockStatement\";\n AST_NODE_TYPES[\"BreakStatement\"] = \"BreakStatement\";\n AST_NODE_TYPES[\"CallExpression\"] = \"CallExpression\";\n AST_NODE_TYPES[\"CatchClause\"] = \"CatchClause\";\n AST_NODE_TYPES[\"ChainExpression\"] = \"ChainExpression\";\n AST_NODE_TYPES[\"ClassBody\"] = \"ClassBody\";\n AST_NODE_TYPES[\"ClassDeclaration\"] = \"ClassDeclaration\";\n AST_NODE_TYPES[\"ClassExpression\"] = \"ClassExpression\";\n AST_NODE_TYPES[\"ConditionalExpression\"] = \"ConditionalExpression\";\n AST_NODE_TYPES[\"ContinueStatement\"] = \"ContinueStatement\";\n AST_NODE_TYPES[\"DebuggerStatement\"] = \"DebuggerStatement\";\n AST_NODE_TYPES[\"Decorator\"] = \"Decorator\";\n AST_NODE_TYPES[\"DoWhileStatement\"] = \"DoWhileStatement\";\n AST_NODE_TYPES[\"EmptyStatement\"] = \"EmptyStatement\";\n AST_NODE_TYPES[\"ExportAllDeclaration\"] = \"ExportAllDeclaration\";\n AST_NODE_TYPES[\"ExportDefaultDeclaration\"] = \"ExportDefaultDeclaration\";\n AST_NODE_TYPES[\"ExportNamedDeclaration\"] = \"ExportNamedDeclaration\";\n AST_NODE_TYPES[\"ExportSpecifier\"] = \"ExportSpecifier\";\n AST_NODE_TYPES[\"ExpressionStatement\"] = \"ExpressionStatement\";\n AST_NODE_TYPES[\"ForInStatement\"] = \"ForInStatement\";\n AST_NODE_TYPES[\"ForOfStatement\"] = \"ForOfStatement\";\n AST_NODE_TYPES[\"ForStatement\"] = \"ForStatement\";\n AST_NODE_TYPES[\"FunctionDeclaration\"] = \"FunctionDeclaration\";\n AST_NODE_TYPES[\"FunctionExpression\"] = \"FunctionExpression\";\n AST_NODE_TYPES[\"Identifier\"] = \"Identifier\";\n AST_NODE_TYPES[\"IfStatement\"] = \"IfStatement\";\n AST_NODE_TYPES[\"ImportAttribute\"] = \"ImportAttribute\";\n AST_NODE_TYPES[\"ImportDeclaration\"] = \"ImportDeclaration\";\n AST_NODE_TYPES[\"ImportDefaultSpecifier\"] = \"ImportDefaultSpecifier\";\n AST_NODE_TYPES[\"ImportExpression\"] = \"ImportExpression\";\n AST_NODE_TYPES[\"ImportNamespaceSpecifier\"] = \"ImportNamespaceSpecifier\";\n AST_NODE_TYPES[\"ImportSpecifier\"] = \"ImportSpecifier\";\n AST_NODE_TYPES[\"JSXAttribute\"] = \"JSXAttribute\";\n AST_NODE_TYPES[\"JSXClosingElement\"] = \"JSXClosingElement\";\n AST_NODE_TYPES[\"JSXClosingFragment\"] = \"JSXClosingFragment\";\n AST_NODE_TYPES[\"JSXElement\"] = \"JSXElement\";\n AST_NODE_TYPES[\"JSXEmptyExpression\"] = \"JSXEmptyExpression\";\n AST_NODE_TYPES[\"JSXExpressionContainer\"] = \"JSXExpressionContainer\";\n AST_NODE_TYPES[\"JSXFragment\"] = \"JSXFragment\";\n AST_NODE_TYPES[\"JSXIdentifier\"] = \"JSXIdentifier\";\n AST_NODE_TYPES[\"JSXMemberExpression\"] = \"JSXMemberExpression\";\n AST_NODE_TYPES[\"JSXNamespacedName\"] = \"JSXNamespacedName\";\n AST_NODE_TYPES[\"JSXOpeningElement\"] = \"JSXOpeningElement\";\n AST_NODE_TYPES[\"JSXOpeningFragment\"] = \"JSXOpeningFragment\";\n AST_NODE_TYPES[\"JSXSpreadAttribute\"] = \"JSXSpreadAttribute\";\n AST_NODE_TYPES[\"JSXSpreadChild\"] = \"JSXSpreadChild\";\n AST_NODE_TYPES[\"JSXText\"] = \"JSXText\";\n AST_NODE_TYPES[\"LabeledStatement\"] = \"LabeledStatement\";\n AST_NODE_TYPES[\"Literal\"] = \"Literal\";\n AST_NODE_TYPES[\"LogicalExpression\"] = \"LogicalExpression\";\n AST_NODE_TYPES[\"MemberExpression\"] = \"MemberExpression\";\n AST_NODE_TYPES[\"MetaProperty\"] = \"MetaProperty\";\n AST_NODE_TYPES[\"MethodDefinition\"] = \"MethodDefinition\";\n AST_NODE_TYPES[\"NewExpression\"] = \"NewExpression\";\n AST_NODE_TYPES[\"ObjectExpression\"] = \"ObjectExpression\";\n AST_NODE_TYPES[\"ObjectPattern\"] = \"ObjectPattern\";\n AST_NODE_TYPES[\"PrivateIdentifier\"] = \"PrivateIdentifier\";\n AST_NODE_TYPES[\"Program\"] = \"Program\";\n AST_NODE_TYPES[\"Property\"] = \"Property\";\n AST_NODE_TYPES[\"PropertyDefinition\"] = \"PropertyDefinition\";\n AST_NODE_TYPES[\"RestElement\"] = \"RestElement\";\n AST_NODE_TYPES[\"ReturnStatement\"] = \"ReturnStatement\";\n AST_NODE_TYPES[\"SequenceExpression\"] = \"SequenceExpression\";\n AST_NODE_TYPES[\"SpreadElement\"] = \"SpreadElement\";\n AST_NODE_TYPES[\"StaticBlock\"] = \"StaticBlock\";\n AST_NODE_TYPES[\"Super\"] = \"Super\";\n AST_NODE_TYPES[\"SwitchCase\"] = \"SwitchCase\";\n AST_NODE_TYPES[\"SwitchStatement\"] = \"SwitchStatement\";\n AST_NODE_TYPES[\"TaggedTemplateExpression\"] = \"TaggedTemplateExpression\";\n AST_NODE_TYPES[\"TemplateElement\"] = \"TemplateElement\";\n AST_NODE_TYPES[\"TemplateLiteral\"] = \"TemplateLiteral\";\n AST_NODE_TYPES[\"ThisExpression\"] = \"ThisExpression\";\n AST_NODE_TYPES[\"ThrowStatement\"] = \"ThrowStatement\";\n AST_NODE_TYPES[\"TryStatement\"] = \"TryStatement\";\n AST_NODE_TYPES[\"UnaryExpression\"] = \"UnaryExpression\";\n AST_NODE_TYPES[\"UpdateExpression\"] = \"UpdateExpression\";\n AST_NODE_TYPES[\"VariableDeclaration\"] = \"VariableDeclaration\";\n AST_NODE_TYPES[\"VariableDeclarator\"] = \"VariableDeclarator\";\n AST_NODE_TYPES[\"WhileStatement\"] = \"WhileStatement\";\n AST_NODE_TYPES[\"WithStatement\"] = \"WithStatement\";\n AST_NODE_TYPES[\"YieldExpression\"] = \"YieldExpression\";\n AST_NODE_TYPES[\"TSAbstractAccessorProperty\"] = \"TSAbstractAccessorProperty\";\n AST_NODE_TYPES[\"TSAbstractKeyword\"] = \"TSAbstractKeyword\";\n AST_NODE_TYPES[\"TSAbstractMethodDefinition\"] = \"TSAbstractMethodDefinition\";\n AST_NODE_TYPES[\"TSAbstractPropertyDefinition\"] = \"TSAbstractPropertyDefinition\";\n AST_NODE_TYPES[\"TSAnyKeyword\"] = \"TSAnyKeyword\";\n AST_NODE_TYPES[\"TSArrayType\"] = \"TSArrayType\";\n AST_NODE_TYPES[\"TSAsExpression\"] = \"TSAsExpression\";\n AST_NODE_TYPES[\"TSAsyncKeyword\"] = \"TSAsyncKeyword\";\n AST_NODE_TYPES[\"TSBigIntKeyword\"] = \"TSBigIntKeyword\";\n AST_NODE_TYPES[\"TSBooleanKeyword\"] = \"TSBooleanKeyword\";\n AST_NODE_TYPES[\"TSCallSignatureDeclaration\"] = \"TSCallSignatureDeclaration\";\n AST_NODE_TYPES[\"TSClassImplements\"] = \"TSClassImplements\";\n AST_NODE_TYPES[\"TSConditionalType\"] = \"TSConditionalType\";\n AST_NODE_TYPES[\"TSConstructorType\"] = \"TSConstructorType\";\n AST_NODE_TYPES[\"TSConstructSignatureDeclaration\"] = \"TSConstructSignatureDeclaration\";\n AST_NODE_TYPES[\"TSDeclareFunction\"] = \"TSDeclareFunction\";\n AST_NODE_TYPES[\"TSDeclareKeyword\"] = \"TSDeclareKeyword\";\n AST_NODE_TYPES[\"TSEmptyBodyFunctionExpression\"] = \"TSEmptyBodyFunctionExpression\";\n AST_NODE_TYPES[\"TSEnumBody\"] = \"TSEnumBody\";\n AST_NODE_TYPES[\"TSEnumDeclaration\"] = \"TSEnumDeclaration\";\n AST_NODE_TYPES[\"TSEnumMember\"] = \"TSEnumMember\";\n AST_NODE_TYPES[\"TSExportAssignment\"] = \"TSExportAssignment\";\n AST_NODE_TYPES[\"TSExportKeyword\"] = \"TSExportKeyword\";\n AST_NODE_TYPES[\"TSExternalModuleReference\"] = \"TSExternalModuleReference\";\n AST_NODE_TYPES[\"TSFunctionType\"] = \"TSFunctionType\";\n AST_NODE_TYPES[\"TSImportEqualsDeclaration\"] = \"TSImportEqualsDeclaration\";\n AST_NODE_TYPES[\"TSImportType\"] = \"TSImportType\";\n AST_NODE_TYPES[\"TSIndexedAccessType\"] = \"TSIndexedAccessType\";\n AST_NODE_TYPES[\"TSIndexSignature\"] = \"TSIndexSignature\";\n AST_NODE_TYPES[\"TSInferType\"] = \"TSInferType\";\n AST_NODE_TYPES[\"TSInstantiationExpression\"] = \"TSInstantiationExpression\";\n AST_NODE_TYPES[\"TSInterfaceBody\"] = \"TSInterfaceBody\";\n AST_NODE_TYPES[\"TSInterfaceDeclaration\"] = \"TSInterfaceDeclaration\";\n AST_NODE_TYPES[\"TSInterfaceHeritage\"] = \"TSInterfaceHeritage\";\n AST_NODE_TYPES[\"TSIntersectionType\"] = \"TSIntersectionType\";\n AST_NODE_TYPES[\"TSIntrinsicKeyword\"] = \"TSIntrinsicKeyword\";\n AST_NODE_TYPES[\"TSLiteralType\"] = \"TSLiteralType\";\n AST_NODE_TYPES[\"TSMappedType\"] = \"TSMappedType\";\n AST_NODE_TYPES[\"TSMethodSignature\"] = \"TSMethodSignature\";\n AST_NODE_TYPES[\"TSModuleBlock\"] = \"TSModuleBlock\";\n AST_NODE_TYPES[\"TSModuleDeclaration\"] = \"TSModuleDeclaration\";\n AST_NODE_TYPES[\"TSNamedTupleMember\"] = \"TSNamedTupleMember\";\n AST_NODE_TYPES[\"TSNamespaceExportDeclaration\"] = \"TSNamespaceExportDeclaration\";\n AST_NODE_TYPES[\"TSNeverKeyword\"] = \"TSNeverKeyword\";\n AST_NODE_TYPES[\"TSNonNullExpression\"] = \"TSNonNullExpression\";\n AST_NODE_TYPES[\"TSNullKeyword\"] = \"TSNullKeyword\";\n AST_NODE_TYPES[\"TSNumberKeyword\"] = \"TSNumberKeyword\";\n AST_NODE_TYPES[\"TSObjectKeyword\"] = \"TSObjectKeyword\";\n AST_NODE_TYPES[\"TSOptionalType\"] = \"TSOptionalType\";\n AST_NODE_TYPES[\"TSParameterProperty\"] = \"TSParameterProperty\";\n AST_NODE_TYPES[\"TSPrivateKeyword\"] = \"TSPrivateKeyword\";\n AST_NODE_TYPES[\"TSPropertySignature\"] = \"TSPropertySignature\";\n AST_NODE_TYPES[\"TSProtectedKeyword\"] = \"TSProtectedKeyword\";\n AST_NODE_TYPES[\"TSPublicKeyword\"] = \"TSPublicKeyword\";\n AST_NODE_TYPES[\"TSQualifiedName\"] = \"TSQualifiedName\";\n AST_NODE_TYPES[\"TSReadonlyKeyword\"] = \"TSReadonlyKeyword\";\n AST_NODE_TYPES[\"TSRestType\"] = \"TSRestType\";\n AST_NODE_TYPES[\"TSSatisfiesExpression\"] = \"TSSatisfiesExpression\";\n AST_NODE_TYPES[\"TSStaticKeyword\"] = \"TSStaticKeyword\";\n AST_NODE_TYPES[\"TSStringKeyword\"] = \"TSStringKeyword\";\n AST_NODE_TYPES[\"TSSymbolKeyword\"] = \"TSSymbolKeyword\";\n AST_NODE_TYPES[\"TSTemplateLiteralType\"] = \"TSTemplateLiteralType\";\n AST_NODE_TYPES[\"TSThisType\"] = \"TSThisType\";\n AST_NODE_TYPES[\"TSTupleType\"] = \"TSTupleType\";\n AST_NODE_TYPES[\"TSTypeAliasDeclaration\"] = \"TSTypeAliasDeclaration\";\n AST_NODE_TYPES[\"TSTypeAnnotation\"] = \"TSTypeAnnotation\";\n AST_NODE_TYPES[\"TSTypeAssertion\"] = \"TSTypeAssertion\";\n AST_NODE_TYPES[\"TSTypeLiteral\"] = \"TSTypeLiteral\";\n AST_NODE_TYPES[\"TSTypeOperator\"] = \"TSTypeOperator\";\n AST_NODE_TYPES[\"TSTypeParameter\"] = \"TSTypeParameter\";\n AST_NODE_TYPES[\"TSTypeParameterDeclaration\"] = \"TSTypeParameterDeclaration\";\n AST_NODE_TYPES[\"TSTypeParameterInstantiation\"] = \"TSTypeParameterInstantiation\";\n AST_NODE_TYPES[\"TSTypePredicate\"] = \"TSTypePredicate\";\n AST_NODE_TYPES[\"TSTypeQuery\"] = \"TSTypeQuery\";\n AST_NODE_TYPES[\"TSTypeReference\"] = \"TSTypeReference\";\n AST_NODE_TYPES[\"TSUndefinedKeyword\"] = \"TSUndefinedKeyword\";\n AST_NODE_TYPES[\"TSUnionType\"] = \"TSUnionType\";\n AST_NODE_TYPES[\"TSUnknownKeyword\"] = \"TSUnknownKeyword\";\n AST_NODE_TYPES[\"TSVoidKeyword\"] = \"TSVoidKeyword\";\n})(AST_NODE_TYPES || (exports.AST_NODE_TYPES = AST_NODE_TYPES = {}));\nvar AST_TOKEN_TYPES;\n(function (AST_TOKEN_TYPES) {\n AST_TOKEN_TYPES[\"Boolean\"] = \"Boolean\";\n AST_TOKEN_TYPES[\"Identifier\"] = \"Identifier\";\n AST_TOKEN_TYPES[\"JSXIdentifier\"] = \"JSXIdentifier\";\n AST_TOKEN_TYPES[\"PrivateIdentifier\"] = \"PrivateIdentifier\";\n AST_TOKEN_TYPES[\"JSXText\"] = \"JSXText\";\n AST_TOKEN_TYPES[\"Keyword\"] = \"Keyword\";\n AST_TOKEN_TYPES[\"Null\"] = \"Null\";\n AST_TOKEN_TYPES[\"Numeric\"] = \"Numeric\";\n AST_TOKEN_TYPES[\"Punctuator\"] = \"Punctuator\";\n AST_TOKEN_TYPES[\"RegularExpression\"] = \"RegularExpression\";\n AST_TOKEN_TYPES[\"String\"] = \"String\";\n AST_TOKEN_TYPES[\"Template\"] = \"Template\";\n AST_TOKEN_TYPES[\"Block\"] = \"Block\";\n AST_TOKEN_TYPES[\"Line\"] = \"Line\";\n})(AST_TOKEN_TYPES || (exports.AST_TOKEN_TYPES = AST_TOKEN_TYPES = {}));\n//# sourceMappingURL=ast-spec.js.map","\"use strict\";\n// THIS CODE WAS AUTOMATICALLY GENERATED\n// DO NOT EDIT THIS CODE BY HAND\n// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:\n// npx nx generate-lib repo\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=lib.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=parser-options.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TSESTree = void 0;\nexports.TSESTree = __importStar(require(\"./generated/ast-spec\"));\n//# sourceMappingURL=ts-estree.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0;\nvar ast_spec_1 = require(\"./generated/ast-spec\");\nObject.defineProperty(exports, \"AST_NODE_TYPES\", { enumerable: true, get: function () { return ast_spec_1.AST_NODE_TYPES; } });\nObject.defineProperty(exports, \"AST_TOKEN_TYPES\", { enumerable: true, get: function () { return ast_spec_1.AST_TOKEN_TYPES; } });\n__exportStar(require(\"./lib\"), exports);\n__exportStar(require(\"./parser-options\"), exports);\n__exportStar(require(\"./ts-estree\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isObjectNotArray = isObjectNotArray;\nexports.deepMerge = deepMerge;\n/**\n * Check if the variable contains an object strictly rejecting arrays\n * @returns `true` if obj is an object\n */\nfunction isObjectNotArray(obj) {\n return typeof obj === 'object' && obj != null && !Array.isArray(obj);\n}\n/**\n * Pure function - doesn't mutate either parameter!\n * Merges two objects together deeply, overwriting the properties in first with the properties in second\n * @param first The first object\n * @param second The second object\n * @returns a new object\n */\nfunction deepMerge(first = {}, second = {}) {\n // get the unique set of keys across both objects\n const keys = new Set([...Object.keys(first), ...Object.keys(second)]);\n return Object.fromEntries([...keys].map(key => {\n const firstHasKey = key in first;\n const secondHasKey = key in second;\n const firstValue = first[key];\n const secondValue = second[key];\n let value;\n if (firstHasKey && secondHasKey) {\n if (isObjectNotArray(firstValue) && isObjectNotArray(secondValue)) {\n // object type\n value = deepMerge(firstValue, secondValue);\n }\n else {\n // value type\n value = secondValue;\n }\n }\n else if (firstHasKey) {\n value = firstValue;\n }\n else {\n value = secondValue;\n }\n return [key, value];\n }));\n}\n//# sourceMappingURL=deepMerge.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.applyDefault = applyDefault;\nconst deepMerge_1 = require(\"./deepMerge\");\n/**\n * Pure function - doesn't mutate either parameter!\n * Uses the default options and overrides with the options provided by the user\n * @param defaultOptions the defaults\n * @param userOptions the user opts\n * @returns the options with defaults\n */\nfunction applyDefault(defaultOptions, userOptions) {\n // clone defaults\n const options = structuredClone(defaultOptions);\n if (userOptions == null) {\n return options;\n }\n // For avoiding the type error\n // `This expression is not callable. Type 'unknown' has no call signatures.ts(2349)`\n options.forEach((opt, i) => {\n // eslint-disable-next-line @typescript-eslint/internal/eqeq-nullish\n if (userOptions[i] !== undefined) {\n const userOpt = userOptions[i];\n if ((0, deepMerge_1.isObjectNotArray)(userOpt) && (0, deepMerge_1.isObjectNotArray)(opt)) {\n options[i] = (0, deepMerge_1.deepMerge)(opt, userOpt);\n }\n else {\n options[i] = userOpt;\n }\n }\n });\n return options;\n}\n//# sourceMappingURL=applyDefault.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.parserSeemsToBeTSESLint = parserSeemsToBeTSESLint;\nfunction parserSeemsToBeTSESLint(parser) {\n return !!parser && /(?:typescript-eslint|\\.\\.)[\\w/\\\\]*parser/.test(parser);\n}\n//# sourceMappingURL=parserSeemsToBeTSESLint.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getParserServices = getParserServices;\nconst parserSeemsToBeTSESLint_1 = require(\"./parserSeemsToBeTSESLint\");\nconst ERROR_MESSAGE_REQUIRES_PARSER_SERVICES = \"You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file. See https://tseslint.com/typed-linting for enabling linting with type information.\";\nconst ERROR_MESSAGE_UNKNOWN_PARSER = 'Note: detected a parser other than @typescript-eslint/parser. Make sure the parser is configured to forward \"parserOptions.project\" to @typescript-eslint/parser.';\nfunction getParserServices(context, allowWithoutFullTypeInformation = false) {\n const parser = \n // eslint-disable-next-line @typescript-eslint/no-deprecated -- For compatibility with ESLint 8\n context.parserPath || context.languageOptions.parser?.meta?.name;\n // This check is unnecessary if the user is using the latest version of our parser.\n //\n // However the world isn't perfect:\n // - Users often use old parser versions.\n // Old versions of the parser would not return any parserServices unless parserOptions.project was set.\n // - Users sometimes use parsers that aren't @typescript-eslint/parser\n // Other parsers won't return the parser services we expect (if they return any at all).\n //\n // This check allows us to handle bad user setups whilst providing a nice user-facing\n // error message explaining the problem.\n if (context.sourceCode.parserServices?.esTreeNodeToTSNodeMap == null ||\n context.sourceCode.parserServices.tsNodeToESTreeNodeMap == null) {\n throwError(parser);\n }\n // if a rule requires full type information, then hard fail if it doesn't exist\n // this forces the user to supply parserOptions.project\n if (context.sourceCode.parserServices.program == null &&\n !allowWithoutFullTypeInformation) {\n throwError(parser);\n }\n return context.sourceCode.parserServices;\n}\n/* eslint-enable @typescript-eslint/unified-signatures */\nfunction throwError(parser) {\n const messages = [\n ERROR_MESSAGE_REQUIRES_PARSER_SERVICES,\n `Parser: ${parser || '(unknown)'}`,\n !(0, parserSeemsToBeTSESLint_1.parserSeemsToBeTSESLint)(parser) && ERROR_MESSAGE_UNKNOWN_PARSER,\n ].filter(Boolean);\n throw new Error(messages.join('\\n'));\n}\n//# sourceMappingURL=getParserServices.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=InferTypesFromRule.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NullThrowsReasons = void 0;\nexports.nullThrows = nullThrows;\n/**\n * A set of common reasons for calling nullThrows\n */\nexports.NullThrowsReasons = {\n MissingParent: 'Expected node to have a parent.',\n MissingToken: (token, thing) => `Expected to find a ${token} for the ${thing}.`,\n};\n/**\n * Assert that a value must not be null or undefined.\n * This is a nice explicit alternative to the non-null assertion operator.\n */\nfunction nullThrows(value, message) {\n if (value == null) {\n throw new Error(`Non-null Assertion Failed: ${message}`);\n }\n return value;\n}\n//# sourceMappingURL=nullThrows.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RuleCreator = RuleCreator;\nconst applyDefault_1 = require(\"./applyDefault\");\n/**\n * Creates reusable function to create rules with default options and docs URLs.\n *\n * @param urlCreator Creates a documentation URL for a given rule name.\n * @returns Function to create a rule with the docs URL format.\n */\nfunction RuleCreator(urlCreator) {\n // This function will get much easier to call when this is merged https://github.com/Microsoft/TypeScript/pull/26349\n // TODO - when the above PR lands; add type checking for the context.report `data` property\n return function createNamedRule({ meta, name, ...rule }) {\n const ruleWithDocs = createRule({\n meta: {\n ...meta,\n docs: {\n ...meta.docs,\n url: urlCreator(name),\n },\n },\n name,\n ...rule,\n });\n return ruleWithDocs;\n };\n}\nfunction createRule({ create, \n// Keep accepting deprecated defaultOptions for backward compatibility.\n// eslint-disable-next-line @typescript-eslint/no-deprecated\ndefaultOptions, meta, name, }) {\n const resolvedDefaultOptions = (meta.defaultOptions ??\n defaultOptions ??\n []);\n return {\n create(context) {\n const optionsWithDefault = (0, applyDefault_1.applyDefault)(resolvedDefaultOptions, context.options);\n return create(context, optionsWithDefault);\n },\n // eslint-disable-next-line @typescript-eslint/no-deprecated -- For compatibility with ESLint 8, see #12842\n defaultOptions,\n meta,\n name,\n };\n}\n/**\n * Creates a well-typed TSESLint custom ESLint rule without a docs URL.\n *\n * @returns Well-typed TSESLint custom ESLint rule.\n * @remarks It is generally better to provide a docs URL function to RuleCreator.\n */\nRuleCreator.withoutDocs = function withoutDocs(args) {\n return createRule(args);\n};\n//# sourceMappingURL=RuleCreator.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./applyDefault\"), exports);\n__exportStar(require(\"./deepMerge\"), exports);\n__exportStar(require(\"./getParserServices\"), exports);\n__exportStar(require(\"./InferTypesFromRule\"), exports);\n__exportStar(require(\"./nullThrows\"), exports);\n__exportStar(require(\"./RuleCreator\"), exports);\n//# sourceMappingURL=index.js.map"],"ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12],"mappings":";;;;;;;;;;;CAUA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;CAC5D,QAAQ,kBAAkB,QAAQ,iBAAiB,KAAK;CACxD,IAAI;CACJ,CAAC,SAAU,gBAAgB;EACvB,eAAe,sBAAsB;EACrC,eAAe,qBAAqB;EACpC,eAAe,kBAAkB;EACjC,eAAe,6BAA6B;EAC5C,eAAe,0BAA0B;EACzC,eAAe,uBAAuB;EACtC,eAAe,qBAAqB;EACpC,eAAe,sBAAsB;EACrC,eAAe,oBAAoB;EACnC,eAAe,oBAAoB;EACnC,eAAe,oBAAoB;EACnC,eAAe,iBAAiB;EAChC,eAAe,qBAAqB;EACpC,eAAe,eAAe;EAC9B,eAAe,sBAAsB;EACrC,eAAe,qBAAqB;EACpC,eAAe,2BAA2B;EAC1C,eAAe,uBAAuB;EACtC,eAAe,uBAAuB;EACtC,eAAe,eAAe;EAC9B,eAAe,sBAAsB;EACrC,eAAe,oBAAoB;EACnC,eAAe,0BAA0B;EACzC,eAAe,8BAA8B;EAC7C,eAAe,4BAA4B;EAC3C,eAAe,qBAAqB;EACpC,eAAe,yBAAyB;EACxC,eAAe,oBAAoB;EACnC,eAAe,oBAAoB;EACnC,eAAe,kBAAkB;EACjC,eAAe,yBAAyB;EACxC,eAAe,wBAAwB;EACvC,eAAe,gBAAgB;EAC/B,eAAe,iBAAiB;EAChC,eAAe,qBAAqB;EACpC,eAAe,uBAAuB;EACtC,eAAe,4BAA4B;EAC3C,eAAe,sBAAsB;EACrC,eA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ADc,GAAG,eAAe,aAAA,CAAc,wBAAwB,QAAQ,OACpD,CAAC;GAC7C;GAEA;GACA;GACA;EACJ;CACJ;;;;;;;CAOA,YAAY,cAAc,SAAS,YAAY,MAAM;EACjD,OAAO,WAAW,IAAI;CAC1B;;;CCrDA,IAAI,kBAAA,UAAA,OAAgC,oBAAqB,OAAO,UAAU,SAAS,GAAG,GAAG,GAAG,IAAI;EAC5F,IAAI,OAAO,KAAA,GAAW,KAAK;EAC3B,IAAI,OAAO,OAAO,yBAAyB,GAAG,CAAC;EAC/C,IAAI,CAAC,SAAS,SAAS,OAAO,CAAC,EAAE,aAAa,KAAK,YAAY,KAAK,eAClE,OAAO;GAAE,YAAY;GAAM,KAAK,WAAW;IAAE,OAAO,EAAE;GAAI;EAAE;EAE9D,OAAO,eAAe,GAAG,IAAI,IAAI;CACrC,MAAM,SAAS,GAAG,GAAG,GAAG,IAAI;EACxB,IAAI,OAAO,KAAA,GAAW,KAAK;EAC3B,EAAE,MAAM,EAAE;CACd;CACA,IAAI,eAAA,UAAA,OAA6B,gBAAiB,SAAS,GAAG,SAAS;EACnE,KAAK,IAAI,KAAK,GAAG,IAAI,MAAM,aAAa,CAAC,OAAO,UAAU,eAAe,KAAK,SAAS,CAAC,GAAG,gBAAgB,SAAS,GAAG,CAAC;CAC5H;CACA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAK,CAAC;CAC5D,aAAA,qBAAA,GAAwC,OAAO;CAC/C,aAAA,kBAAA,GAAqC,OAAO;CAC5C,aAAA,0BAAA,GAA6C,OAAO;CACpD,aAAA,2BAAA,GAA8C,OAAO;CACrD,aAAA,mBAAA,GAAsC,OAAO;CAC7C,aAAA,oBAAA,GAAuC,OAAO"}
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- export { r as typedRules, a as withTypeInformation } from "./typed-rule-FCRt1nKZ.mjs";
1
+ export { r as typedRules, a as withTypeInformation } from "./typed-rule-ugUYAIDV.mjs";