@r_masseater/oxlint-typed-rules 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/remotion.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { n as import_eslint_utils, r as init_typescript_eslint_utils } from "./typescript-eslint-utils-QnYasB-9.mjs";
2
- import { n as upstreamPlugin, t as plainRules } from "./upstream-plugin-DqJEA6iy.mjs";
3
- // ../../node_modules/.pnpm/@remotion+eslint-plugin@4.0.541_eslint@9.39.5_jiti@2.6.1_supports-color@7.2.0_/node_modules/@remotion/eslint-plugin/dist/esm/index.mjs
1
+ import { n as import_eslint_utils, r as init_typescript_eslint_utils } from "./typescript-eslint-utils-DRyGbBR9.mjs";
2
+ import { n as upstreamPlugin, t as plainRules } from "./upstream-plugin-B_PNfSLV.mjs";
3
+ // ../../node_modules/.pnpm/@remotion+eslint-plugin@4.0.542_eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2_/node_modules/@remotion/eslint-plugin/dist/esm/index.mjs
4
4
  init_typescript_eslint_utils();
5
5
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
6
6
  var __esm = (fn, res, err) => () => {
@@ -331,7 +331,8 @@ var init_no_string_assets = __esm(() => {
331
331
  create: (context) => {
332
332
  return { JSXAttribute: (node) => {
333
333
  if (node.type !== "JSXAttribute") return;
334
- if (node.name.name !== "src") return;
334
+ const attributeName = node.name.name;
335
+ if (attributeName !== "src" && attributeName !== "srcSet") return;
335
336
  const value = node.value;
336
337
  const insideCurlyBraces = value && value.type === "JSXExpressionContainer" && value.expression.type === "Literal";
337
338
  if (!value || value.type !== "Literal" && !insideCurlyBraces) return;
@@ -343,9 +344,8 @@ var init_no_string_assets = __esm(() => {
343
344
  const name = parent.name;
344
345
  if (name.type !== "JSXIdentifier") return;
345
346
  if (name.name === "Img" || name.name === "img" || name.name === "Audio" || name.name === "audio" || name.name === "Video" || name.name === "video" || name.name === "source" || name.name === "Html5Video" || name.name === "Html5Audio") {
346
- if (stringValue.startsWith("http://")) return;
347
- if (stringValue.startsWith("https://")) return;
348
347
  if (stringValue.startsWith("data:")) return;
348
+ if ((attributeName === "srcSet" ? stringValue.split(",").map((candidate) => candidate.trim().split(/\s+/)[0]) : [stringValue]).every((url) => url.startsWith("http://") || url.startsWith("https://") || url.startsWith("data:"))) return;
349
349
  context.report({
350
350
  messageId: "NoStringAssets",
351
351
  node
@@ -560,9 +560,11 @@ var init_staticfile_no_relative = __esm(() => {
560
560
  const args = node.arguments;
561
561
  if (args.length === 0) return;
562
562
  const firstArg = args[0];
563
+ let value = null;
563
564
  if (firstArg.type === "Literal") {
564
- const value = firstArg.value;
565
- if (typeof value !== "string") return;
565
+ if (typeof firstArg.value === "string") value = firstArg.value;
566
+ } else if (firstArg.type === "TemplateLiteral") value = firstArg.quasis[0]?.value.cooked ?? null;
567
+ if (value !== null) {
566
568
  if (value.startsWith("./")) context.report({
567
569
  messageId: "RelativePathStaticFile",
568
570
  node
@@ -575,7 +577,7 @@ var init_staticfile_no_relative = __esm(() => {
575
577
  messageId: "PublicStaticFile",
576
578
  node
577
579
  });
578
- if (value.startsWith("/Users") || value.startsWith("/home") || value.startsWith("/tmp") || value.startsWith("/etc") || value.startsWith("/opt") || value.startsWith("/var") || value.startsWith("C:") || value.startsWith("D:") || value.startsWith("E:")) context.report({
580
+ if (value.startsWith("/Users") || value.startsWith("/home") || value.startsWith("/tmp") || value.startsWith("/etc") || value.startsWith("/opt") || value.startsWith("/var") || /^[a-zA-Z]:[\\/]/.test(value) || value.startsWith("\\\\")) context.report({
579
581
  messageId: "AbsoluteStaticFile",
580
582
  node
581
583
  });
@@ -614,9 +616,11 @@ var init_staticfile_no_remote = __esm(() => {
614
616
  const args = node.arguments;
615
617
  if (args.length === 0) return;
616
618
  const firstArg = args[0];
619
+ let value = null;
617
620
  if (firstArg.type === "Literal") {
618
- const value = firstArg.value;
619
- if (typeof value !== "string") return;
621
+ if (typeof firstArg.value === "string") value = firstArg.value;
622
+ } else if (firstArg.type === "TemplateLiteral") value = firstArg.quasis[0]?.value.cooked ?? null;
623
+ if (value !== null) {
620
624
  if (value.startsWith("http://")) context.report({
621
625
  messageId: "RelativePathStaticFile",
622
626
  node
@@ -1 +1 @@
1
- {"version":3,"file":"remotion.mjs","names":["ESLintUtils","ESLintUtils2","ESLintUtils3","ESLintUtils4","ESLintUtils5","ESLintUtils6","ESLintUtils7","ESLintUtils8","ESLintUtils9","ESLintUtils10","value","ESLintUtils11","ESLintUtils12","ESLintUtils13","ESLintUtils14","ESLintUtils15","ESLintUtils16","remotion"],"sources":["../../../node_modules/.pnpm/@remotion+eslint-plugin@4.0.541_eslint@9.39.5_jiti@2.6.1_supports-color@7.2.0_/node_modules/@remotion/eslint-plugin/dist/esm/index.mjs","../src/remotion.ts"],"sourcesContent":["var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);\nvar __esm = (fn, res, err) => () => {\n if (fn)\n try {\n res = fn(fn = 0);\n } catch (e) {\n err = [e];\n }\n if (err)\n throw err[0];\n return res;\n};\n\n// src/rules/deterministic-randomness.ts\nimport { ESLintUtils } from \"@typescript-eslint/utils\";\nvar createRule, DeterministicRandomness, deterministic_randomness_default;\nvar init_deterministic_randomness = __esm(() => {\n createRule = ESLintUtils.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n DeterministicRandomness = [\n \"The result of Math.random() will change between frames while in rendering mode.\",\n \"Use the `random()` API from Remotion to get a deterministic pseudorandom value.\",\n \"If you are sure you want a true random value, use `random(null)` to hide this warning.\",\n \"See: https://remotion.dev/docs/using-randomness\"\n ].join(`\n`);\n deterministic_randomness_default = createRule({\n name: \"deterministic-randomness\",\n meta: {\n type: \"problem\",\n docs: {\n description: DeterministicRandomness,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n DeterministicRandomness\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n CallExpression: (node) => {\n const callee = node.callee;\n if (callee.type === \"MemberExpression\") {\n if (callee.object.type === \"Identifier\" && callee.object.name === \"Math\") {\n if (callee.property.type === \"Identifier\" && callee.property.name === \"random\") {\n context.report({\n messageId: \"DeterministicRandomness\",\n node\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/even-dimensions.ts\nimport { ESLintUtils as ESLintUtils2 } from \"@typescript-eslint/utils\";\nvar createRule2, EvenDimensions = \"Videos rendered in H264/H265 codec do not support dimensions that are not divisible by 2. Remotion will round down your dimensions to satisfy this constraint. Ignore this warning if you don't plan on rendering this video with a H264 or H265 codec.\", even_dimensions_default;\nvar init_even_dimensions = __esm(() => {\n createRule2 = ESLintUtils2.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n even_dimensions_default = createRule2({\n name: \"even-dimensions\",\n meta: {\n type: \"problem\",\n docs: {\n description: EvenDimensions,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n EvenDimensions\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXAttribute: (node) => {\n if (node.type !== \"JSXAttribute\") {\n return;\n }\n if (node.name.name !== \"width\" && node.name.name !== \"height\") {\n return;\n }\n const value = node.value;\n if (!value || value.type !== \"JSXExpressionContainer\") {\n return;\n }\n const expression = value.expression;\n if (!expression || expression.type !== \"Literal\") {\n return;\n }\n const stringValue = expression.value;\n if (typeof stringValue !== \"number\") {\n return;\n }\n const parent = node.parent;\n if (!parent) {\n return;\n }\n if (parent.type !== \"JSXOpeningElement\") {\n return;\n }\n const name = parent.name;\n if (name.type !== \"JSXIdentifier\") {\n return;\n }\n if (name.name !== \"Composition\") {\n return;\n }\n if (stringValue % 2 !== 0) {\n context.report({\n messageId: \"EvenDimensions\",\n node\n });\n }\n }\n };\n }\n });\n});\n\n// src/rules/no-background-image.ts\nimport { ESLintUtils as ESLintUtils3 } from \"@typescript-eslint/utils\";\nvar createRule3, BackgroundImage, no_background_image_default;\nvar init_no_background_image = __esm(() => {\n createRule3 = ESLintUtils3.RuleCreator(() => {\n return \"https://remotion.dev/docs/troubleshooting/background-image\";\n });\n BackgroundImage = [\n \"Don't use background-image in Remotion.\",\n \"See: https://remotion.dev/docs/troubleshooting/background-image\"\n ].join(`\n`);\n no_background_image_default = createRule3({\n name: \"no-background-image\",\n meta: {\n type: \"problem\",\n docs: {\n description: BackgroundImage,\n recommended: \"error\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n BackgroundImage\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n Property: (node) => {\n if (node.key.type !== \"Identifier\") {\n return;\n }\n if (node.key.name !== \"backgroundImage\") {\n return;\n }\n if (node.value.type === \"Literal\") {\n const { value } = node.value;\n if (typeof value === \"string\" && value.includes(\"url(\")) {\n context.report({\n messageId: \"BackgroundImage\",\n node\n });\n }\n }\n if (node.value.type === \"TemplateLiteral\") {\n for (const element of node.value.quasis) {\n if (element.type !== \"TemplateElement\") {\n continue;\n }\n if (element.value.raw.includes(\"url(\")) {\n context.report({\n messageId: \"BackgroundImage\",\n node\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/no-duration-frames-infinity.ts\nimport { ESLintUtils as ESLintUtils4 } from \"@typescript-eslint/utils\";\nvar createRule4, DurationInFrames = \"Infinity is now the default, so you can remove the prop.\", no_duration_frames_infinity_default;\nvar init_no_duration_frames_infinity = __esm(() => {\n createRule4 = ESLintUtils4.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n no_duration_frames_infinity_default = createRule4({\n name: \"duration-in-frames\",\n meta: {\n type: \"problem\",\n docs: {\n description: DurationInFrames,\n recommended: \"warn\"\n },\n fixable: \"code\",\n schema: [],\n messages: {\n DurationInFrames\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXAttribute: (node) => {\n if (node.type !== \"JSXAttribute\") {\n return;\n }\n if (node.name.name !== \"durationInFrames\") {\n return;\n }\n const value = node.value;\n if (!value || value.type !== \"JSXExpressionContainer\") {\n return;\n }\n const expression = value.expression;\n if (!expression || expression.type !== \"Identifier\") {\n return;\n }\n const stringValue = expression.name;\n if (typeof stringValue !== \"string\") {\n return;\n }\n const parent = node.parent;\n if (!parent) {\n return;\n }\n if (parent.type !== \"JSXOpeningElement\") {\n return;\n }\n const name = parent.name;\n if (name.type !== \"JSXIdentifier\") {\n return;\n }\n if (name.name !== \"Sequence\") {\n return;\n }\n if (stringValue === \"Infinity\") {\n context.report({\n messageId: \"DurationInFrames\",\n node,\n fix: (fixer) => {\n return fixer.removeRange([node.name.range[0], value.range[1]]);\n }\n });\n }\n }\n };\n }\n });\n});\n\n// src/rules/no-from-0.ts\nimport { ESLintUtils as ESLintUtils5 } from \"@typescript-eslint/utils\";\nvar createRule5, From0 = \"0 is now the default, so you can remove the prop.\", no_from_0_default;\nvar init_no_from_0 = __esm(() => {\n createRule5 = ESLintUtils5.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n no_from_0_default = createRule5({\n name: \"from\",\n meta: {\n type: \"problem\",\n docs: {\n description: From0,\n recommended: \"warn\"\n },\n fixable: \"code\",\n schema: [],\n messages: {\n From0\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXAttribute: (node) => {\n if (node.type !== \"JSXAttribute\") {\n return;\n }\n if (node.name.name !== \"from\") {\n return;\n }\n const value = node.value;\n if (!value || value.type !== \"JSXExpressionContainer\") {\n return;\n }\n const expression = value.expression;\n if (!expression || expression.type !== \"Literal\") {\n return;\n }\n const stringValue = expression.value;\n if (stringValue !== 0) {\n return;\n }\n const parent = node.parent;\n if (!parent) {\n return;\n }\n if (parent.type !== \"JSXOpeningElement\") {\n return;\n }\n const name = parent.name;\n if (name.type !== \"JSXIdentifier\") {\n return;\n }\n if (name.name !== \"Sequence\") {\n return;\n }\n if (stringValue === 0) {\n context.report({\n messageId: \"From0\",\n node,\n fix: (fixer) => {\n return fixer.removeRange([node.name.range[0], value.range[1]]);\n }\n });\n }\n }\n };\n }\n });\n});\n\n// src/rules/no-object-fit-on-media-video.ts\nimport { ESLintUtils as ESLintUtils6 } from \"@typescript-eslint/utils\";\nvar createRule6, NoObjectFitInStyle, NoObjectFitInClassName, objectFitClassPattern, no_object_fit_on_media_video_default;\nvar init_no_object_fit_on_media_video = __esm(() => {\n createRule6 = ESLintUtils6.RuleCreator(() => {\n return \"https://remotion.dev/docs/media/video#objectfit\";\n });\n NoObjectFitInStyle = [\n \"Passing `objectFit` via the `style` prop is not supported for `<Video>` from `@remotion/media`.\",\n \"Use the `objectFit` prop directly instead.\",\n \"See: https://remotion.dev/docs/media/video#objectfit\"\n ].join(`\n`);\n NoObjectFitInClassName = [\n \"Passing an `object-fit` CSS class via `className` is not supported for `<Video>` from `@remotion/media`.\",\n \"Use the `objectFit` prop directly instead.\",\n \"See: https://remotion.dev/docs/media/video#objectfit\"\n ].join(`\n`);\n objectFitClassPattern = /\\bobject-(contain|cover|fill|none|scale-down)\\b/;\n no_object_fit_on_media_video_default = createRule6({\n name: \"no-object-fit-on-media-video\",\n meta: {\n type: \"problem\",\n docs: {\n description: NoObjectFitInStyle,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n NoObjectFitInStyle,\n NoObjectFitInClassName\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXOpeningElement: (node) => {\n if (node.name.type !== \"JSXIdentifier\" || node.name.name !== \"Video\") {\n return;\n }\n for (const attr of node.attributes) {\n if (attr.type !== \"JSXAttribute\") {\n continue;\n }\n if (attr.name.type === \"JSXIdentifier\" && attr.name.name === \"style\" && attr.value) {\n if (attr.value.type === \"JSXExpressionContainer\" && attr.value.expression.type === \"ObjectExpression\") {\n for (const prop of attr.value.expression.properties) {\n if (prop.type !== \"Property\") {\n continue;\n }\n let propertyName;\n if (prop.key.type === \"Identifier\") {\n propertyName = prop.key.name;\n } else if (prop.key.type === \"Literal\" && typeof prop.key.value === \"string\") {\n propertyName = prop.key.value;\n }\n if (propertyName === \"objectFit\" || propertyName === \"object-fit\") {\n context.report({\n messageId: \"NoObjectFitInStyle\",\n node: prop\n });\n }\n }\n }\n }\n if (attr.name.type === \"JSXIdentifier\" && attr.name.name === \"className\" && attr.value) {\n let classString;\n if (attr.value.type === \"Literal\" && typeof attr.value.value === \"string\") {\n classString = attr.value.value;\n } else if (attr.value.type === \"JSXExpressionContainer\" && attr.value.expression.type === \"Literal\" && typeof attr.value.expression.value === \"string\") {\n classString = attr.value.expression.value;\n } else if (attr.value.type === \"JSXExpressionContainer\" && attr.value.expression.type === \"TemplateLiteral\") {\n classString = attr.value.expression.quasis.map((q) => q.value.cooked || q.value.raw).join(\" \");\n }\n if (classString && objectFitClassPattern.test(classString)) {\n context.report({\n messageId: \"NoObjectFitInClassName\",\n node: attr\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/no-string-assets.ts\nimport { ESLintUtils as ESLintUtils7 } from \"@typescript-eslint/utils\";\nvar createRule7, NoStringAssets, no_string_assets_default;\nvar init_no_string_assets = __esm(() => {\n createRule7 = ESLintUtils7.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n NoStringAssets = [\n \"Don't reference local assets by string, use an import statement or staticFile() instead.\",\n \"See: https://www.remotion.dev/docs/assets\"\n ].join(`\n`);\n no_string_assets_default = createRule7({\n name: \"no-string-assets\",\n meta: {\n type: \"problem\",\n docs: {\n description: NoStringAssets,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n NoStringAssets\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXAttribute: (node) => {\n if (node.type !== \"JSXAttribute\") {\n return;\n }\n if (node.name.name !== \"src\") {\n return;\n }\n const value = node.value;\n const insideCurlyBraces = value && value.type === \"JSXExpressionContainer\" && value.expression.type === \"Literal\";\n if (!value || value.type !== \"Literal\" && !insideCurlyBraces) {\n return;\n }\n const stringValue = value && value.type === \"JSXExpressionContainer\" && value.expression.type === \"Literal\" ? value.expression.value : value.type === \"Literal\" ? value.value : null;\n if (typeof stringValue !== \"string\") {\n return;\n }\n const parent = node.parent;\n if (!parent) {\n return;\n }\n if (parent.type !== \"JSXOpeningElement\") {\n return;\n }\n const name = parent.name;\n if (name.type !== \"JSXIdentifier\") {\n return;\n }\n if (name.name === \"Img\" || name.name === \"img\" || name.name === \"Audio\" || name.name === \"audio\" || name.name === \"Video\" || name.name === \"video\" || name.name === \"source\" || name.name === \"Html5Video\" || name.name === \"Html5Audio\") {\n if (stringValue.startsWith(\"http://\")) {\n return;\n }\n if (stringValue.startsWith(\"https://\")) {\n return;\n }\n if (stringValue.startsWith(\"data:\")) {\n return;\n }\n context.report({\n messageId: \"NoStringAssets\",\n node\n });\n }\n }\n };\n }\n });\n});\n\n// src/rules/non-pure-animation.ts\nimport { ESLintUtils as ESLintUtils8 } from \"@typescript-eslint/utils\";\nfunction findProblematicTailwindClass(classString) {\n for (const pattern of nonPureAnimationTailwindClasses) {\n const match = classString.match(pattern);\n if (match) {\n return {\n match: match[0],\n index: match.index\n };\n }\n }\n return null;\n}\nvar createRule8, NonPureAnimation, nonPureAnimationProperties, nonPureAnimationPropertiesKebab, nonPureAnimationTailwindClasses, non_pure_animation_default;\nvar init_non_pure_animation = __esm(() => {\n createRule8 = ESLintUtils8.RuleCreator(() => {\n return \"https://www.remotion.dev/docs/flickering\";\n });\n NonPureAnimation = [\n \"This animation does not run purely off useCurrentFrame() and will lead to flickering.\",\n \"See: https://www.remotion.dev/docs/flickering\"\n ].join(`\n`);\n nonPureAnimationProperties = new Set([\"transition\"]);\n nonPureAnimationPropertiesKebab = new Set([\"transition\"]);\n nonPureAnimationTailwindClasses = [\n /\\btransition-\\w+\\b/,\n /\\btransition\\b/\n ];\n non_pure_animation_default = createRule8({\n name: \"non-pure-animation\",\n meta: {\n type: \"problem\",\n docs: {\n description: NonPureAnimation,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n NonPureAnimation\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n Property: (node) => {\n let propertyName;\n if (node.key.type === \"Identifier\") {\n propertyName = node.key.name;\n } else if (node.key.type === \"Literal\" && typeof node.key.value === \"string\") {\n propertyName = node.key.value;\n }\n if (!propertyName) {\n return;\n }\n const isNonPureProperty = nonPureAnimationProperties.has(propertyName) || nonPureAnimationPropertiesKebab.has(propertyName);\n if (isNonPureProperty) {\n context.report({\n messageId: \"NonPureAnimation\",\n node\n });\n }\n },\n JSXAttribute: (node) => {\n if (node.name.type === \"JSXIdentifier\" && node.name.name === \"className\" && node.value) {\n let classString;\n let valueNode;\n if (node.value.type === \"Literal\" && typeof node.value.value === \"string\") {\n classString = node.value.value;\n valueNode = node.value;\n } else if (node.value.type === \"JSXExpressionContainer\" && node.value.expression.type === \"Literal\" && typeof node.value.expression.value === \"string\") {\n classString = node.value.expression.value;\n valueNode = node.value.expression;\n } else if (node.value.type === \"JSXExpressionContainer\" && node.value.expression.type === \"TemplateLiteral\") {\n const templateLiteral = node.value.expression;\n classString = templateLiteral.quasis.map((q) => q.value.cooked || q.value.raw).join(\" \");\n valueNode = templateLiteral;\n }\n if (classString) {\n const problematicClass = findProblematicTailwindClass(classString);\n if (problematicClass) {\n const sourceCode = \"sourceCode\" in context ? context.sourceCode : context.getSourceCode();\n const valueStart = valueNode.range[0];\n const quoteOffset = valueNode.type === \"Literal\" ? 1 : 0;\n const classStart = valueStart + quoteOffset + problematicClass.index;\n const classEnd = classStart + problematicClass.match.length;\n const start = sourceCode.getLocFromIndex(classStart);\n const end = sourceCode.getLocFromIndex(classEnd);\n context.report({\n messageId: \"NonPureAnimation\",\n loc: {\n start,\n end\n }\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/slow-css-property.ts\nimport { ESLintUtils as ESLintUtils9 } from \"@typescript-eslint/utils\";\nfunction containsSlowTailwindClass(classString) {\n return slowTailwindClasses.some((pattern) => pattern.test(classString));\n}\nvar createRule9, SlowCssProperty, slowCssProperties, slowCssPropertiesKebab, slowTailwindClasses, slow_css_property_default;\nvar init_slow_css_property = __esm(() => {\n createRule9 = ESLintUtils9.RuleCreator(() => {\n return \"https://remotion.dev/docs/gpu\";\n });\n SlowCssProperty = [\n \"This GPU effect may slow down the render on machines which don't have a GPU.\",\n \"See: https://remotion.dev/docs/gpu\"\n ].join(`\n`);\n slowCssProperties = new Set([\"boxShadow\", \"textShadow\", \"filter\"]);\n slowCssPropertiesKebab = new Set([\"box-shadow\", \"text-shadow\", \"filter\"]);\n slowTailwindClasses = [\n /\\bshadow-(?:sm|md|lg|xl|2xl|inner|none|\\w+)\\b/,\n /\\bshadow-\\w+(?:\\/\\d+)?\\b/,\n /\\bblur-(?:none|sm|md|lg|xl|2xl|3xl|\\w+)\\b/,\n /\\bbrightness-\\d+\\b/,\n /\\bcontrast-\\d+\\b/,\n /\\bdrop-shadow-(?:sm|md|lg|xl|2xl|none|\\w+)\\b/,\n /\\bgrayscale(?:-\\d+)?\\b/,\n /\\bhue-rotate-\\d+\\b/,\n /\\binvert(?:-\\d+)?\\b/,\n /\\bsaturate-\\d+\\b/,\n /\\bsepia(?:-\\d+)?\\b/,\n /\\btext-shadow-\\w+\\b/\n ];\n slow_css_property_default = createRule9({\n name: \"slow-css-property\",\n meta: {\n type: \"problem\",\n docs: {\n description: SlowCssProperty,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n SlowCssProperty\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n Property: (node) => {\n let propertyName;\n if (node.key.type === \"Identifier\") {\n propertyName = node.key.name;\n } else if (node.key.type === \"Literal\" && typeof node.key.value === \"string\") {\n propertyName = node.key.value;\n }\n if (!propertyName) {\n return;\n }\n const isSlowProperty = slowCssProperties.has(propertyName) || slowCssPropertiesKebab.has(propertyName);\n if (isSlowProperty) {\n context.report({\n messageId: \"SlowCssProperty\",\n node\n });\n }\n },\n JSXAttribute: (node) => {\n if (node.name.type === \"JSXIdentifier\" && node.name.name === \"className\" && node.value) {\n let classString;\n if (node.value.type === \"Literal\" && typeof node.value.value === \"string\") {\n classString = node.value.value;\n } else if (node.value.type === \"JSXExpressionContainer\" && node.value.expression.type === \"Literal\" && typeof node.value.expression.value === \"string\") {\n classString = node.value.expression.value;\n } else if (node.value.type === \"JSXExpressionContainer\" && node.value.expression.type === \"TemplateLiteral\") {\n const templateLiteral = node.value.expression;\n classString = templateLiteral.quasis.map((q) => q.value.cooked || q.value.raw).join(\" \");\n }\n if (classString && containsSlowTailwindClass(classString)) {\n context.report({\n messageId: \"SlowCssProperty\",\n node\n });\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/staticfile-no-relative.ts\nimport { ESLintUtils as ESLintUtils10 } from \"@typescript-eslint/utils\";\nvar createRule10, RelativePathStaticFile, AbsoluteStaticFile, PublicStaticFile, staticfile_no_relative_default;\nvar init_staticfile_no_relative = __esm(() => {\n createRule10 = ESLintUtils10.RuleCreator(() => {\n return `https://remotion.dev/docs/staticfile-relative-paths`;\n });\n RelativePathStaticFile = [\n \"Don't pass a relative path to staticFile().\",\n \"See: https://remotion.dev/docs/staticfile-relative-paths\"\n ].join(`\n`);\n AbsoluteStaticFile = [\n \"Do not pass an absolute path to staticFile().\",\n \"See: https://remotion.dev/docs/staticfile-relative-paths\"\n ].join(\"\");\n PublicStaticFile = [\n \"Do not prefix your assets with public/.\",\n \"See: https://remotion.dev/docs/staticfile-relative-paths\"\n ].join(\"\");\n staticfile_no_relative_default = createRule10({\n name: \"staticfile-no-relative\",\n meta: {\n type: \"problem\",\n docs: {\n description: RelativePathStaticFile,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n RelativePathStaticFile,\n PublicStaticFile,\n AbsoluteStaticFile\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n CallExpression: (node) => {\n const value = node;\n if (!value) {\n return;\n }\n if (node.type === \"CallExpression\" && node.callee.type === \"Identifier\" && node.callee.name === \"staticFile\") {\n const args = node.arguments;\n if (args.length === 0) {\n return;\n }\n const firstArg = args[0];\n if (firstArg.type === \"Literal\") {\n const value = firstArg.value;\n if (typeof value !== \"string\") {\n return;\n }\n if (value.startsWith(\"./\")) {\n context.report({\n messageId: \"RelativePathStaticFile\",\n node\n });\n }\n if (value.startsWith(\"../\")) {\n context.report({\n messageId: \"RelativePathStaticFile\",\n node\n });\n }\n if (value.startsWith(\"public/\")) {\n context.report({\n messageId: \"PublicStaticFile\",\n node\n });\n }\n if (value.startsWith(\"/Users\") || value.startsWith(\"/home\") || value.startsWith(\"/tmp\") || value.startsWith(\"/etc\") || value.startsWith(\"/opt\") || value.startsWith(\"/var\") || value.startsWith(\"C:\") || value.startsWith(\"D:\") || value.startsWith(\"E:\")) {\n context.report({\n messageId: \"AbsoluteStaticFile\",\n node\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/staticfile-no-remote.ts\nimport { ESLintUtils as ESLintUtils11 } from \"@typescript-eslint/utils\";\nvar createRule11, RelativePathStaticFile2, staticfile_no_remote_default;\nvar init_staticfile_no_remote = __esm(() => {\n createRule11 = ESLintUtils11.RuleCreator(() => {\n return `https://remotion.dev/docs/staticfile-remote-urls`;\n });\n RelativePathStaticFile2 = [\n \"Don't pass a remote URL to staticFile().\",\n \"See: https://remotion.dev/docs/staticfile-remote-urls\"\n ].join(`\n`);\n staticfile_no_remote_default = createRule11({\n name: \"staticfile-no-remote\",\n meta: {\n type: \"problem\",\n docs: {\n description: RelativePathStaticFile2,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n RelativePathStaticFile: RelativePathStaticFile2\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n CallExpression: (node) => {\n const value = node;\n if (!value) {\n return;\n }\n if (node.type === \"CallExpression\" && node.callee.type === \"Identifier\" && node.callee.name === \"staticFile\") {\n const args = node.arguments;\n if (args.length === 0) {\n return;\n }\n const firstArg = args[0];\n if (firstArg.type === \"Literal\") {\n const value = firstArg.value;\n if (typeof value !== \"string\") {\n return;\n }\n if (value.startsWith(\"http://\")) {\n context.report({\n messageId: \"RelativePathStaticFile\",\n node\n });\n }\n if (value.startsWith(\"https://\")) {\n context.report({\n messageId: \"RelativePathStaticFile\",\n node\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/use-gif-component.ts\nimport { ESLintUtils as ESLintUtils12 } from \"@typescript-eslint/utils\";\nvar createRule12, UseGifComponent, use_gif_component_default;\nvar init_use_gif_component = __esm(() => {\n createRule12 = ESLintUtils12.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n UseGifComponent = [\n \"Use the <Gif> component animated GIFs.\",\n \"See: https://www.remotion.dev/docs/gif.\",\n \"Ignore this message if this is a non-animated GIF.\"\n ].join(`\n`);\n use_gif_component_default = createRule12({\n name: \"use-gif-component\",\n meta: {\n type: \"problem\",\n docs: {\n description: UseGifComponent,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n UseGifComponent\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXAttribute: (node) => {\n if (node.type !== \"JSXAttribute\") {\n return;\n }\n if (node.name.name !== \"src\") {\n return;\n }\n const parent = node.parent;\n if (!parent) {\n return;\n }\n if (parent.type !== \"JSXOpeningElement\") {\n return;\n }\n const name = parent.name;\n if (name.type !== \"JSXIdentifier\") {\n return;\n }\n if (name.name !== \"Img\" && name.name !== \"img\") {\n return;\n }\n const value = node.value;\n if (!value) {\n return;\n }\n const stringValue = value && value.type === \"JSXExpressionContainer\" && value.expression.type === \"Literal\" ? value.expression.value : value.type === \"Literal\" ? value.value : null;\n if (typeof stringValue === \"string\") {\n if (stringValue.includes(\".gif\")) {\n context.report({\n messageId: \"UseGifComponent\",\n node\n });\n }\n }\n if (value.type === \"JSXExpressionContainer\" && value.expression.type === \"CallExpression\" && value.expression.callee.type === \"Identifier\" && value.expression.callee.name === \"staticFile\") {\n const args = value.expression.arguments;\n if (args.length === 0) {\n return;\n }\n const firstArg = args[0];\n if (firstArg.type === \"Literal\") {\n const value = firstArg.value;\n if (typeof value !== \"string\") {\n return;\n }\n if (value.includes(\".gif\")) {\n context.report({\n messageId: \"UseGifComponent\",\n node\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/v4-import.ts\nimport { ESLintUtils as ESLintUtils13 } from \"@typescript-eslint/utils\";\nvar createRule13, ImportConfig = \"Update the import to the new V4 location: import {Config} from '@remotion/cli/config'\", rule, v4_import_default;\nvar init_v4_import = __esm(() => {\n createRule13 = ESLintUtils13.RuleCreator(() => {\n return `https://www.remotion.dev/docs/4-0-migration`;\n });\n rule = createRule13({\n name: \"v4-config-import\",\n meta: {\n type: \"problem\",\n docs: {\n description: ImportConfig,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n ImportConfig\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n ImportDeclaration: (node) => {\n if (node.source.value !== \"remotion\") {\n return;\n }\n const config = node.specifiers.find((s) => s.type === \"ImportSpecifier\" && s.imported.name === \"Config\");\n if (config) {\n context.report({\n messageId: \"ImportConfig\",\n node\n });\n }\n }\n };\n }\n });\n v4_import_default = rule;\n});\n\n// src/rules/valid-composition-and-folder-name.ts\nimport { ESLintUtils as ESLintUtils14 } from \"@typescript-eslint/utils\";\nvar createRule14, validNameRegex, InvalidCompositionId = \"Composition IDs can only contain a-z, A-Z, 0-9, CJK characters and -.\", InvalidFolderName = \"Folder names can only contain a-z, A-Z, 0-9, CJK characters and -.\", getStringValue = (value) => {\n if (!value) {\n return null;\n }\n if (value.type === \"Literal\") {\n return typeof value.value === \"string\" ? value.value : null;\n }\n if (value.type !== \"JSXExpressionContainer\") {\n return null;\n }\n const { expression } = value;\n if (expression.type === \"Literal\") {\n return typeof expression.value === \"string\" ? expression.value : null;\n }\n if (expression.type === \"TemplateLiteral\" && expression.expressions.length === 0) {\n return expression.quasis[0].value.cooked;\n }\n return null;\n}, getJsxElementName = (node) => {\n if (node.type !== \"JSXIdentifier\") {\n return null;\n }\n return node.name;\n}, valid_composition_and_folder_name_default;\nvar init_valid_composition_and_folder_name = __esm(() => {\n createRule14 = ESLintUtils14.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n validNameRegex = /^([a-zA-Z0-9-\\u4E00-\\u9FFF])+$/;\n valid_composition_and_folder_name_default = createRule14({\n name: \"valid-composition-and-folder-name\",\n meta: {\n type: \"problem\",\n docs: {\n description: \"Warns about invalid Remotion composition IDs and folder names.\",\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n InvalidCompositionId,\n InvalidFolderName\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXAttribute: (node) => {\n if (node.type !== \"JSXAttribute\") {\n return;\n }\n if (node.name.type !== \"JSXIdentifier\") {\n return;\n }\n const parent = node.parent;\n if (!parent || parent.type !== \"JSXOpeningElement\") {\n return;\n }\n const elementName = getJsxElementName(parent.name);\n if (elementName === null) {\n return;\n }\n const propName = node.name.name;\n const value = getStringValue(node.value);\n if (value === null || validNameRegex.test(value)) {\n return;\n }\n if ((elementName === \"Composition\" || elementName === \"Still\") && propName === \"id\") {\n context.report({\n messageId: \"InvalidCompositionId\",\n node\n });\n }\n if (elementName === \"Folder\" && propName === \"name\") {\n context.report({\n messageId: \"InvalidFolderName\",\n node\n });\n }\n }\n };\n }\n });\n});\n\n// src/rules/volume-callback.ts\nimport { ESLintUtils as ESLintUtils15 } from \"@typescript-eslint/utils\";\nvar createRule15, VolumeCallback = \"Deprecated no-op kept for compatibility. Volume can be animated with regular keyframes.\", volume_callback_default;\nvar init_volume_callback = __esm(() => {\n createRule15 = ESLintUtils15.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n volume_callback_default = createRule15({\n name: \"volume-callback\",\n meta: {\n type: \"problem\",\n docs: {\n description: VolumeCallback,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n VolumeCallback\n }\n },\n defaultOptions: [],\n create: () => ({})\n });\n});\n\n// src/rules/warn-native-media-tag.ts\nimport { ESLintUtils as ESLintUtils16 } from \"@typescript-eslint/utils\";\nvar createRule16, NoNativeImgTag = \"Prefer the <Img /> tag from 'remotion' package, because it will wait until the image is loaded when you are rendering your video.\", NoNativeIFrameTag = \"Prefer the <IFrame /> tag from 'remotion' package, because it will wait until the iframe is loaded when you are rendering your video.\", NoNativeAudioTag = \"Use the <Audio /> tag from '@remotion/media' package, because it will synchronize with the Remotion timeline.\", NoNativeVideoTag = \"Use the <Video /> tag from '@remotion/media' package, because it will synchronize with the Remotion timeline.\", warn_native_media_tag_default;\nvar init_warn_native_media_tag = __esm(() => {\n createRule16 = ESLintUtils16.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n warn_native_media_tag_default = createRule16({\n name: \"warn-native-media-tag\",\n meta: {\n type: \"problem\",\n docs: {\n description: NoNativeImgTag,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n NoNativeImgTag,\n NoNativeIFrameTag,\n NoNativeAudioTag,\n NoNativeVideoTag\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXOpeningElement: (node) => {\n if (node.name.type === \"JSXIdentifier\" && node.name.name === \"img\") {\n context.report({\n messageId: \"NoNativeImgTag\",\n node\n });\n }\n if (node.name.type === \"JSXIdentifier\" && node.name.name === \"iframe\") {\n context.report({\n messageId: \"NoNativeIFrameTag\",\n node\n });\n }\n if (node.name.type === \"JSXIdentifier\" && node.name.name === \"video\") {\n context.report({\n messageId: \"NoNativeVideoTag\",\n node\n });\n }\n if (node.name.type === \"JSXIdentifier\" && node.name.name === \"audio\") {\n context.report({\n messageId: \"NoNativeAudioTag\",\n node\n });\n }\n },\n TaggedTemplateExpression: (node) => {\n if (node.tag.type !== \"MemberExpression\") {\n return;\n }\n if (node.tag.object.type !== \"Identifier\") {\n return;\n }\n if (node.tag.object.name !== \"styled\") {\n return;\n }\n if (node.tag.property.type !== \"Identifier\") {\n return;\n }\n if (node.tag.property.name === \"img\") {\n context.report({\n messageId: \"NoNativeImgTag\",\n node\n });\n }\n if (node.tag.property.name === \"iframe\") {\n context.report({\n messageId: \"NoNativeIFrameTag\",\n node\n });\n }\n if (node.tag.property.name === \"audio\") {\n context.report({\n messageId: \"NoNativeAudioTag\",\n node\n });\n }\n if (node.tag.property.name === \"video\") {\n context.report({\n messageId: \"NoNativeVideoTag\",\n node\n });\n }\n }\n };\n }\n });\n});\n\n// src/index.ts\nvar require_src = __commonJS(function(exports, module) {\n init_deterministic_randomness();\n init_even_dimensions();\n init_no_background_image();\n init_no_duration_frames_infinity();\n init_no_from_0();\n init_no_object_fit_on_media_video();\n init_no_string_assets();\n init_non_pure_animation();\n init_slow_css_property();\n init_staticfile_no_relative();\n init_staticfile_no_remote();\n init_use_gif_component();\n init_v4_import();\n init_valid_composition_and_folder_name();\n init_volume_callback();\n init_warn_native_media_tag();\n var rules = {\n \"warn-native-media-tag\": warn_native_media_tag_default,\n \"deterministic-randomness\": deterministic_randomness_default,\n \"no-string-assets\": no_string_assets_default,\n \"even-dimensions\": even_dimensions_default,\n \"duration-in-frames\": no_duration_frames_infinity_default,\n \"from-0\": no_from_0_default,\n \"volume-callback\": volume_callback_default,\n \"use-gif-component\": use_gif_component_default,\n \"staticfile-no-relative\": staticfile_no_relative_default,\n \"staticfile-no-remote\": staticfile_no_remote_default,\n \"no-background-image\": no_background_image_default,\n \"non-pure-animation\": non_pure_animation_default,\n \"slow-css-property\": slow_css_property_default,\n \"v4-config-import\": v4_import_default,\n \"no-object-fit-on-media-video\": no_object_fit_on_media_video_default,\n \"valid-composition-and-folder-name\": valid_composition_and_folder_name_default\n };\n var recommendedRuleConfig = {\n \"@remotion/warn-native-media-tag\": \"error\",\n \"@remotion/deterministic-randomness\": \"error\",\n \"@remotion/no-string-assets\": \"error\",\n \"@remotion/even-dimensions\": \"error\",\n \"@remotion/duration-in-frames\": \"error\",\n \"@remotion/from-0\": \"error\",\n \"@remotion/use-gif-component\": \"error\",\n \"@remotion/staticfile-no-relative\": \"error\",\n \"@remotion/staticfile-no-remote\": \"error\",\n \"@remotion/no-background-image\": \"error\",\n \"@remotion/non-pure-animation\": \"warn\",\n \"@remotion/v4-config-import\": \"error\",\n \"@remotion/no-object-fit-on-media-video\": \"warn\",\n \"@remotion/valid-composition-and-folder-name\": \"error\"\n };\n var configs = {\n recommended: {\n rules: recommendedRuleConfig,\n plugins: [\"@remotion\"]\n }\n };\n var flatPlugin = {\n rules: recommendedRuleConfig,\n plugins: {\n \"@remotion\": {\n rules\n }\n }\n };\n module.exports = {\n configs,\n rules,\n flatPlugin\n };\n});\nexport default require_src();\n","import remotion from \"@remotion/eslint-plugin\";\n\nimport { plainRules, upstreamPlugin } from \"./upstream-plugin.ts\";\nimport type { UpstreamPlugin } from \"./upstream-plugin.ts\";\n\ntype ConfigName = \"recommended\";\n\nconst plugin: UpstreamPlugin<ConfigName> = upstreamPlugin(\"@remotion\", remotion, plainRules);\n\nexport type { ConfigName };\nexport default plugin;\n"],"ignoreList":[0],"mappings":";;;AAcsD,6BAAA;AAdtD,IAAI,cAAc,IAAI,eAAe,OAAO,IAAI,MAAM,EAAE,SAAS,CAAC,EAAE,EAAA,CAAG,SAAS,GAAG,GAAG,IAAI;AAC1F,IAAI,SAAS,IAAI,KAAK,cAAc;CAClC,IAAI,IACF,IAAI;EACF,MAAM,GAAG,KAAK,CAAC;CACjB,SAAS,GAAG;EACV,MAAM,CAAC,CAAC;CACV;CACF,IAAI,KACF,MAAM,IAAI;CACZ,OAAO;AACT;AAIA,IAAI;AAAY,IAAA;AAAyB,IAAA;AACzC,IAAI,gCAAgC,YAAY;CAC9C,aAAaA,oBAAY,kBAAkB;EACzC,OAAO;CACT,CAAC;CACD,0BAA0B;EACxB;EACA;EACA;EACA;CACF,CAAC,CAAC,KAAK;CACR;CACC,mCAAmC,WAAW;EAC5C,MAAM;EACN,MAAM;GACJ,MAAM;GACN,MAAM;IACJ,aAAa;IACb,aAAa;GACf;GACA,SAAS,KAAA;GACT,QAAQ,CAAC;GACT,UAAU,EACR,wBACF;EACF;EACA,gBAAgB,C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B,mCAAmC;EACnC,sCAAsC;EACtC,8BAA8B;EAC9B,6BAA6B;EAC7B,gCAAgC;EAChC,oBAAoB;EACpB,+BAA+B;EAC/B,oCAAoC;EACpC,kCAAkC;EAClC,iCAAiC;EACjC,gCAAgC;EAChC,8BAA8B;EAC9B,0CAA0C;EAC1C,+CAA+C;CACjD;CAeA,OAAO,UAAU;EACf,SAAA,EAdA,aAAa;GACX,OAAO;GACP,SAAS,CAAC,WAAW;EACvB,EAWM;EACN;EACA,YAAA;GAVA,OAAO;GACP,SAAS,EACP,aAAa,EACX,MACF,EACF;EAKS;CACX;AACF,CACe,CAAA,CAAY;;AC3uC3B,MAAM,SAAqC,eAAe,aAAaC,aAAU,UAAU"}
1
+ {"version":3,"file":"remotion.mjs","names":["ESLintUtils","ESLintUtils2","ESLintUtils3","ESLintUtils4","ESLintUtils5","ESLintUtils6","ESLintUtils7","ESLintUtils8","ESLintUtils9","ESLintUtils10","value","ESLintUtils11","ESLintUtils12","ESLintUtils13","ESLintUtils14","ESLintUtils15","ESLintUtils16","remotion"],"sources":["../../../node_modules/.pnpm/@remotion+eslint-plugin@4.0.542_eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2_/node_modules/@remotion/eslint-plugin/dist/esm/index.mjs","../src/remotion.ts"],"sourcesContent":["var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);\nvar __esm = (fn, res, err) => () => {\n if (fn)\n try {\n res = fn(fn = 0);\n } catch (e) {\n err = [e];\n }\n if (err)\n throw err[0];\n return res;\n};\n\n// src/rules/deterministic-randomness.ts\nimport { ESLintUtils } from \"@typescript-eslint/utils\";\nvar createRule, DeterministicRandomness, deterministic_randomness_default;\nvar init_deterministic_randomness = __esm(() => {\n createRule = ESLintUtils.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n DeterministicRandomness = [\n \"The result of Math.random() will change between frames while in rendering mode.\",\n \"Use the `random()` API from Remotion to get a deterministic pseudorandom value.\",\n \"If you are sure you want a true random value, use `random(null)` to hide this warning.\",\n \"See: https://remotion.dev/docs/using-randomness\"\n ].join(`\n`);\n deterministic_randomness_default = createRule({\n name: \"deterministic-randomness\",\n meta: {\n type: \"problem\",\n docs: {\n description: DeterministicRandomness,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n DeterministicRandomness\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n CallExpression: (node) => {\n const callee = node.callee;\n if (callee.type === \"MemberExpression\") {\n if (callee.object.type === \"Identifier\" && callee.object.name === \"Math\") {\n if (callee.property.type === \"Identifier\" && callee.property.name === \"random\") {\n context.report({\n messageId: \"DeterministicRandomness\",\n node\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/even-dimensions.ts\nimport { ESLintUtils as ESLintUtils2 } from \"@typescript-eslint/utils\";\nvar createRule2, EvenDimensions = \"Videos rendered in H264/H265 codec do not support dimensions that are not divisible by 2. Remotion will round down your dimensions to satisfy this constraint. Ignore this warning if you don't plan on rendering this video with a H264 or H265 codec.\", even_dimensions_default;\nvar init_even_dimensions = __esm(() => {\n createRule2 = ESLintUtils2.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n even_dimensions_default = createRule2({\n name: \"even-dimensions\",\n meta: {\n type: \"problem\",\n docs: {\n description: EvenDimensions,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n EvenDimensions\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXAttribute: (node) => {\n if (node.type !== \"JSXAttribute\") {\n return;\n }\n if (node.name.name !== \"width\" && node.name.name !== \"height\") {\n return;\n }\n const value = node.value;\n if (!value || value.type !== \"JSXExpressionContainer\") {\n return;\n }\n const expression = value.expression;\n if (!expression || expression.type !== \"Literal\") {\n return;\n }\n const stringValue = expression.value;\n if (typeof stringValue !== \"number\") {\n return;\n }\n const parent = node.parent;\n if (!parent) {\n return;\n }\n if (parent.type !== \"JSXOpeningElement\") {\n return;\n }\n const name = parent.name;\n if (name.type !== \"JSXIdentifier\") {\n return;\n }\n if (name.name !== \"Composition\") {\n return;\n }\n if (stringValue % 2 !== 0) {\n context.report({\n messageId: \"EvenDimensions\",\n node\n });\n }\n }\n };\n }\n });\n});\n\n// src/rules/no-background-image.ts\nimport { ESLintUtils as ESLintUtils3 } from \"@typescript-eslint/utils\";\nvar createRule3, BackgroundImage, no_background_image_default;\nvar init_no_background_image = __esm(() => {\n createRule3 = ESLintUtils3.RuleCreator(() => {\n return \"https://remotion.dev/docs/troubleshooting/background-image\";\n });\n BackgroundImage = [\n \"Don't use background-image in Remotion.\",\n \"See: https://remotion.dev/docs/troubleshooting/background-image\"\n ].join(`\n`);\n no_background_image_default = createRule3({\n name: \"no-background-image\",\n meta: {\n type: \"problem\",\n docs: {\n description: BackgroundImage,\n recommended: \"error\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n BackgroundImage\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n Property: (node) => {\n if (node.key.type !== \"Identifier\") {\n return;\n }\n if (node.key.name !== \"backgroundImage\") {\n return;\n }\n if (node.value.type === \"Literal\") {\n const { value } = node.value;\n if (typeof value === \"string\" && value.includes(\"url(\")) {\n context.report({\n messageId: \"BackgroundImage\",\n node\n });\n }\n }\n if (node.value.type === \"TemplateLiteral\") {\n for (const element of node.value.quasis) {\n if (element.type !== \"TemplateElement\") {\n continue;\n }\n if (element.value.raw.includes(\"url(\")) {\n context.report({\n messageId: \"BackgroundImage\",\n node\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/no-duration-frames-infinity.ts\nimport { ESLintUtils as ESLintUtils4 } from \"@typescript-eslint/utils\";\nvar createRule4, DurationInFrames = \"Infinity is now the default, so you can remove the prop.\", no_duration_frames_infinity_default;\nvar init_no_duration_frames_infinity = __esm(() => {\n createRule4 = ESLintUtils4.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n no_duration_frames_infinity_default = createRule4({\n name: \"duration-in-frames\",\n meta: {\n type: \"problem\",\n docs: {\n description: DurationInFrames,\n recommended: \"warn\"\n },\n fixable: \"code\",\n schema: [],\n messages: {\n DurationInFrames\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXAttribute: (node) => {\n if (node.type !== \"JSXAttribute\") {\n return;\n }\n if (node.name.name !== \"durationInFrames\") {\n return;\n }\n const value = node.value;\n if (!value || value.type !== \"JSXExpressionContainer\") {\n return;\n }\n const expression = value.expression;\n if (!expression || expression.type !== \"Identifier\") {\n return;\n }\n const stringValue = expression.name;\n if (typeof stringValue !== \"string\") {\n return;\n }\n const parent = node.parent;\n if (!parent) {\n return;\n }\n if (parent.type !== \"JSXOpeningElement\") {\n return;\n }\n const name = parent.name;\n if (name.type !== \"JSXIdentifier\") {\n return;\n }\n if (name.name !== \"Sequence\") {\n return;\n }\n if (stringValue === \"Infinity\") {\n context.report({\n messageId: \"DurationInFrames\",\n node,\n fix: (fixer) => {\n return fixer.removeRange([node.name.range[0], value.range[1]]);\n }\n });\n }\n }\n };\n }\n });\n});\n\n// src/rules/no-from-0.ts\nimport { ESLintUtils as ESLintUtils5 } from \"@typescript-eslint/utils\";\nvar createRule5, From0 = \"0 is now the default, so you can remove the prop.\", no_from_0_default;\nvar init_no_from_0 = __esm(() => {\n createRule5 = ESLintUtils5.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n no_from_0_default = createRule5({\n name: \"from\",\n meta: {\n type: \"problem\",\n docs: {\n description: From0,\n recommended: \"warn\"\n },\n fixable: \"code\",\n schema: [],\n messages: {\n From0\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXAttribute: (node) => {\n if (node.type !== \"JSXAttribute\") {\n return;\n }\n if (node.name.name !== \"from\") {\n return;\n }\n const value = node.value;\n if (!value || value.type !== \"JSXExpressionContainer\") {\n return;\n }\n const expression = value.expression;\n if (!expression || expression.type !== \"Literal\") {\n return;\n }\n const stringValue = expression.value;\n if (stringValue !== 0) {\n return;\n }\n const parent = node.parent;\n if (!parent) {\n return;\n }\n if (parent.type !== \"JSXOpeningElement\") {\n return;\n }\n const name = parent.name;\n if (name.type !== \"JSXIdentifier\") {\n return;\n }\n if (name.name !== \"Sequence\") {\n return;\n }\n if (stringValue === 0) {\n context.report({\n messageId: \"From0\",\n node,\n fix: (fixer) => {\n return fixer.removeRange([node.name.range[0], value.range[1]]);\n }\n });\n }\n }\n };\n }\n });\n});\n\n// src/rules/no-object-fit-on-media-video.ts\nimport { ESLintUtils as ESLintUtils6 } from \"@typescript-eslint/utils\";\nvar createRule6, NoObjectFitInStyle, NoObjectFitInClassName, objectFitClassPattern, no_object_fit_on_media_video_default;\nvar init_no_object_fit_on_media_video = __esm(() => {\n createRule6 = ESLintUtils6.RuleCreator(() => {\n return \"https://remotion.dev/docs/media/video#objectfit\";\n });\n NoObjectFitInStyle = [\n \"Passing `objectFit` via the `style` prop is not supported for `<Video>` from `@remotion/media`.\",\n \"Use the `objectFit` prop directly instead.\",\n \"See: https://remotion.dev/docs/media/video#objectfit\"\n ].join(`\n`);\n NoObjectFitInClassName = [\n \"Passing an `object-fit` CSS class via `className` is not supported for `<Video>` from `@remotion/media`.\",\n \"Use the `objectFit` prop directly instead.\",\n \"See: https://remotion.dev/docs/media/video#objectfit\"\n ].join(`\n`);\n objectFitClassPattern = /\\bobject-(contain|cover|fill|none|scale-down)\\b/;\n no_object_fit_on_media_video_default = createRule6({\n name: \"no-object-fit-on-media-video\",\n meta: {\n type: \"problem\",\n docs: {\n description: NoObjectFitInStyle,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n NoObjectFitInStyle,\n NoObjectFitInClassName\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXOpeningElement: (node) => {\n if (node.name.type !== \"JSXIdentifier\" || node.name.name !== \"Video\") {\n return;\n }\n for (const attr of node.attributes) {\n if (attr.type !== \"JSXAttribute\") {\n continue;\n }\n if (attr.name.type === \"JSXIdentifier\" && attr.name.name === \"style\" && attr.value) {\n if (attr.value.type === \"JSXExpressionContainer\" && attr.value.expression.type === \"ObjectExpression\") {\n for (const prop of attr.value.expression.properties) {\n if (prop.type !== \"Property\") {\n continue;\n }\n let propertyName;\n if (prop.key.type === \"Identifier\") {\n propertyName = prop.key.name;\n } else if (prop.key.type === \"Literal\" && typeof prop.key.value === \"string\") {\n propertyName = prop.key.value;\n }\n if (propertyName === \"objectFit\" || propertyName === \"object-fit\") {\n context.report({\n messageId: \"NoObjectFitInStyle\",\n node: prop\n });\n }\n }\n }\n }\n if (attr.name.type === \"JSXIdentifier\" && attr.name.name === \"className\" && attr.value) {\n let classString;\n if (attr.value.type === \"Literal\" && typeof attr.value.value === \"string\") {\n classString = attr.value.value;\n } else if (attr.value.type === \"JSXExpressionContainer\" && attr.value.expression.type === \"Literal\" && typeof attr.value.expression.value === \"string\") {\n classString = attr.value.expression.value;\n } else if (attr.value.type === \"JSXExpressionContainer\" && attr.value.expression.type === \"TemplateLiteral\") {\n classString = attr.value.expression.quasis.map((q) => q.value.cooked || q.value.raw).join(\" \");\n }\n if (classString && objectFitClassPattern.test(classString)) {\n context.report({\n messageId: \"NoObjectFitInClassName\",\n node: attr\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/no-string-assets.ts\nimport { ESLintUtils as ESLintUtils7 } from \"@typescript-eslint/utils\";\nvar createRule7, NoStringAssets, no_string_assets_default;\nvar init_no_string_assets = __esm(() => {\n createRule7 = ESLintUtils7.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n NoStringAssets = [\n \"Don't reference local assets by string, use an import statement or staticFile() instead.\",\n \"See: https://www.remotion.dev/docs/assets\"\n ].join(`\n`);\n no_string_assets_default = createRule7({\n name: \"no-string-assets\",\n meta: {\n type: \"problem\",\n docs: {\n description: NoStringAssets,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n NoStringAssets\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXAttribute: (node) => {\n if (node.type !== \"JSXAttribute\") {\n return;\n }\n const attributeName = node.name.name;\n if (attributeName !== \"src\" && attributeName !== \"srcSet\") {\n return;\n }\n const value = node.value;\n const insideCurlyBraces = value && value.type === \"JSXExpressionContainer\" && value.expression.type === \"Literal\";\n if (!value || value.type !== \"Literal\" && !insideCurlyBraces) {\n return;\n }\n const stringValue = value && value.type === \"JSXExpressionContainer\" && value.expression.type === \"Literal\" ? value.expression.value : value.type === \"Literal\" ? value.value : null;\n if (typeof stringValue !== \"string\") {\n return;\n }\n const parent = node.parent;\n if (!parent) {\n return;\n }\n if (parent.type !== \"JSXOpeningElement\") {\n return;\n }\n const name = parent.name;\n if (name.type !== \"JSXIdentifier\") {\n return;\n }\n if (name.name === \"Img\" || name.name === \"img\" || name.name === \"Audio\" || name.name === \"audio\" || name.name === \"Video\" || name.name === \"video\" || name.name === \"source\" || name.name === \"Html5Video\" || name.name === \"Html5Audio\") {\n if (stringValue.startsWith(\"data:\")) {\n return;\n }\n const urls = attributeName === \"srcSet\" ? stringValue.split(\",\").map((candidate) => candidate.trim().split(/\\s+/)[0]) : [stringValue];\n const isRemote = urls.every((url) => url.startsWith(\"http://\") || url.startsWith(\"https://\") || url.startsWith(\"data:\"));\n if (isRemote) {\n return;\n }\n context.report({\n messageId: \"NoStringAssets\",\n node\n });\n }\n }\n };\n }\n });\n});\n\n// src/rules/non-pure-animation.ts\nimport { ESLintUtils as ESLintUtils8 } from \"@typescript-eslint/utils\";\nfunction findProblematicTailwindClass(classString) {\n for (const pattern of nonPureAnimationTailwindClasses) {\n const match = classString.match(pattern);\n if (match) {\n return {\n match: match[0],\n index: match.index\n };\n }\n }\n return null;\n}\nvar createRule8, NonPureAnimation, nonPureAnimationProperties, nonPureAnimationPropertiesKebab, nonPureAnimationTailwindClasses, non_pure_animation_default;\nvar init_non_pure_animation = __esm(() => {\n createRule8 = ESLintUtils8.RuleCreator(() => {\n return \"https://www.remotion.dev/docs/flickering\";\n });\n NonPureAnimation = [\n \"This animation does not run purely off useCurrentFrame() and will lead to flickering.\",\n \"See: https://www.remotion.dev/docs/flickering\"\n ].join(`\n`);\n nonPureAnimationProperties = new Set([\"transition\"]);\n nonPureAnimationPropertiesKebab = new Set([\"transition\"]);\n nonPureAnimationTailwindClasses = [\n /\\btransition-\\w+\\b/,\n /\\btransition\\b/\n ];\n non_pure_animation_default = createRule8({\n name: \"non-pure-animation\",\n meta: {\n type: \"problem\",\n docs: {\n description: NonPureAnimation,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n NonPureAnimation\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n Property: (node) => {\n let propertyName;\n if (node.key.type === \"Identifier\") {\n propertyName = node.key.name;\n } else if (node.key.type === \"Literal\" && typeof node.key.value === \"string\") {\n propertyName = node.key.value;\n }\n if (!propertyName) {\n return;\n }\n const isNonPureProperty = nonPureAnimationProperties.has(propertyName) || nonPureAnimationPropertiesKebab.has(propertyName);\n if (isNonPureProperty) {\n context.report({\n messageId: \"NonPureAnimation\",\n node\n });\n }\n },\n JSXAttribute: (node) => {\n if (node.name.type === \"JSXIdentifier\" && node.name.name === \"className\" && node.value) {\n let classString;\n let valueNode;\n if (node.value.type === \"Literal\" && typeof node.value.value === \"string\") {\n classString = node.value.value;\n valueNode = node.value;\n } else if (node.value.type === \"JSXExpressionContainer\" && node.value.expression.type === \"Literal\" && typeof node.value.expression.value === \"string\") {\n classString = node.value.expression.value;\n valueNode = node.value.expression;\n } else if (node.value.type === \"JSXExpressionContainer\" && node.value.expression.type === \"TemplateLiteral\") {\n const templateLiteral = node.value.expression;\n classString = templateLiteral.quasis.map((q) => q.value.cooked || q.value.raw).join(\" \");\n valueNode = templateLiteral;\n }\n if (classString) {\n const problematicClass = findProblematicTailwindClass(classString);\n if (problematicClass) {\n const sourceCode = \"sourceCode\" in context ? context.sourceCode : context.getSourceCode();\n const valueStart = valueNode.range[0];\n const quoteOffset = valueNode.type === \"Literal\" ? 1 : 0;\n const classStart = valueStart + quoteOffset + problematicClass.index;\n const classEnd = classStart + problematicClass.match.length;\n const start = sourceCode.getLocFromIndex(classStart);\n const end = sourceCode.getLocFromIndex(classEnd);\n context.report({\n messageId: \"NonPureAnimation\",\n loc: {\n start,\n end\n }\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/slow-css-property.ts\nimport { ESLintUtils as ESLintUtils9 } from \"@typescript-eslint/utils\";\nfunction containsSlowTailwindClass(classString) {\n return slowTailwindClasses.some((pattern) => pattern.test(classString));\n}\nvar createRule9, SlowCssProperty, slowCssProperties, slowCssPropertiesKebab, slowTailwindClasses, slow_css_property_default;\nvar init_slow_css_property = __esm(() => {\n createRule9 = ESLintUtils9.RuleCreator(() => {\n return \"https://remotion.dev/docs/gpu\";\n });\n SlowCssProperty = [\n \"This GPU effect may slow down the render on machines which don't have a GPU.\",\n \"See: https://remotion.dev/docs/gpu\"\n ].join(`\n`);\n slowCssProperties = new Set([\"boxShadow\", \"textShadow\", \"filter\"]);\n slowCssPropertiesKebab = new Set([\"box-shadow\", \"text-shadow\", \"filter\"]);\n slowTailwindClasses = [\n /\\bshadow-(?:sm|md|lg|xl|2xl|inner|none|\\w+)\\b/,\n /\\bshadow-\\w+(?:\\/\\d+)?\\b/,\n /\\bblur-(?:none|sm|md|lg|xl|2xl|3xl|\\w+)\\b/,\n /\\bbrightness-\\d+\\b/,\n /\\bcontrast-\\d+\\b/,\n /\\bdrop-shadow-(?:sm|md|lg|xl|2xl|none|\\w+)\\b/,\n /\\bgrayscale(?:-\\d+)?\\b/,\n /\\bhue-rotate-\\d+\\b/,\n /\\binvert(?:-\\d+)?\\b/,\n /\\bsaturate-\\d+\\b/,\n /\\bsepia(?:-\\d+)?\\b/,\n /\\btext-shadow-\\w+\\b/\n ];\n slow_css_property_default = createRule9({\n name: \"slow-css-property\",\n meta: {\n type: \"problem\",\n docs: {\n description: SlowCssProperty,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n SlowCssProperty\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n Property: (node) => {\n let propertyName;\n if (node.key.type === \"Identifier\") {\n propertyName = node.key.name;\n } else if (node.key.type === \"Literal\" && typeof node.key.value === \"string\") {\n propertyName = node.key.value;\n }\n if (!propertyName) {\n return;\n }\n const isSlowProperty = slowCssProperties.has(propertyName) || slowCssPropertiesKebab.has(propertyName);\n if (isSlowProperty) {\n context.report({\n messageId: \"SlowCssProperty\",\n node\n });\n }\n },\n JSXAttribute: (node) => {\n if (node.name.type === \"JSXIdentifier\" && node.name.name === \"className\" && node.value) {\n let classString;\n if (node.value.type === \"Literal\" && typeof node.value.value === \"string\") {\n classString = node.value.value;\n } else if (node.value.type === \"JSXExpressionContainer\" && node.value.expression.type === \"Literal\" && typeof node.value.expression.value === \"string\") {\n classString = node.value.expression.value;\n } else if (node.value.type === \"JSXExpressionContainer\" && node.value.expression.type === \"TemplateLiteral\") {\n const templateLiteral = node.value.expression;\n classString = templateLiteral.quasis.map((q) => q.value.cooked || q.value.raw).join(\" \");\n }\n if (classString && containsSlowTailwindClass(classString)) {\n context.report({\n messageId: \"SlowCssProperty\",\n node\n });\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/staticfile-no-relative.ts\nimport { ESLintUtils as ESLintUtils10 } from \"@typescript-eslint/utils\";\nvar createRule10, RelativePathStaticFile, AbsoluteStaticFile, PublicStaticFile, staticfile_no_relative_default;\nvar init_staticfile_no_relative = __esm(() => {\n createRule10 = ESLintUtils10.RuleCreator(() => {\n return `https://remotion.dev/docs/staticfile-relative-paths`;\n });\n RelativePathStaticFile = [\n \"Don't pass a relative path to staticFile().\",\n \"See: https://remotion.dev/docs/staticfile-relative-paths\"\n ].join(`\n`);\n AbsoluteStaticFile = [\n \"Do not pass an absolute path to staticFile().\",\n \"See: https://remotion.dev/docs/staticfile-relative-paths\"\n ].join(\"\");\n PublicStaticFile = [\n \"Do not prefix your assets with public/.\",\n \"See: https://remotion.dev/docs/staticfile-relative-paths\"\n ].join(\"\");\n staticfile_no_relative_default = createRule10({\n name: \"staticfile-no-relative\",\n meta: {\n type: \"problem\",\n docs: {\n description: RelativePathStaticFile,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n RelativePathStaticFile,\n PublicStaticFile,\n AbsoluteStaticFile\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n CallExpression: (node) => {\n const value = node;\n if (!value) {\n return;\n }\n if (node.type === \"CallExpression\" && node.callee.type === \"Identifier\" && node.callee.name === \"staticFile\") {\n const args = node.arguments;\n if (args.length === 0) {\n return;\n }\n const firstArg = args[0];\n let value = null;\n if (firstArg.type === \"Literal\") {\n if (typeof firstArg.value === \"string\") {\n value = firstArg.value;\n }\n } else if (firstArg.type === \"TemplateLiteral\") {\n value = firstArg.quasis[0]?.value.cooked ?? null;\n }\n if (value !== null) {\n if (value.startsWith(\"./\")) {\n context.report({\n messageId: \"RelativePathStaticFile\",\n node\n });\n }\n if (value.startsWith(\"../\")) {\n context.report({\n messageId: \"RelativePathStaticFile\",\n node\n });\n }\n if (value.startsWith(\"public/\")) {\n context.report({\n messageId: \"PublicStaticFile\",\n node\n });\n }\n if (value.startsWith(\"/Users\") || value.startsWith(\"/home\") || value.startsWith(\"/tmp\") || value.startsWith(\"/etc\") || value.startsWith(\"/opt\") || value.startsWith(\"/var\") || /^[a-zA-Z]:[\\\\/]/.test(value) || value.startsWith(\"\\\\\\\\\")) {\n context.report({\n messageId: \"AbsoluteStaticFile\",\n node\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/staticfile-no-remote.ts\nimport { ESLintUtils as ESLintUtils11 } from \"@typescript-eslint/utils\";\nvar createRule11, RelativePathStaticFile2, staticfile_no_remote_default;\nvar init_staticfile_no_remote = __esm(() => {\n createRule11 = ESLintUtils11.RuleCreator(() => {\n return `https://remotion.dev/docs/staticfile-remote-urls`;\n });\n RelativePathStaticFile2 = [\n \"Don't pass a remote URL to staticFile().\",\n \"See: https://remotion.dev/docs/staticfile-remote-urls\"\n ].join(`\n`);\n staticfile_no_remote_default = createRule11({\n name: \"staticfile-no-remote\",\n meta: {\n type: \"problem\",\n docs: {\n description: RelativePathStaticFile2,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n RelativePathStaticFile: RelativePathStaticFile2\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n CallExpression: (node) => {\n const value = node;\n if (!value) {\n return;\n }\n if (node.type === \"CallExpression\" && node.callee.type === \"Identifier\" && node.callee.name === \"staticFile\") {\n const args = node.arguments;\n if (args.length === 0) {\n return;\n }\n const firstArg = args[0];\n let value = null;\n if (firstArg.type === \"Literal\") {\n if (typeof firstArg.value === \"string\") {\n value = firstArg.value;\n }\n } else if (firstArg.type === \"TemplateLiteral\") {\n value = firstArg.quasis[0]?.value.cooked ?? null;\n }\n if (value !== null) {\n if (value.startsWith(\"http://\")) {\n context.report({\n messageId: \"RelativePathStaticFile\",\n node\n });\n }\n if (value.startsWith(\"https://\")) {\n context.report({\n messageId: \"RelativePathStaticFile\",\n node\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/use-gif-component.ts\nimport { ESLintUtils as ESLintUtils12 } from \"@typescript-eslint/utils\";\nvar createRule12, UseGifComponent, use_gif_component_default;\nvar init_use_gif_component = __esm(() => {\n createRule12 = ESLintUtils12.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n UseGifComponent = [\n \"Use the <Gif> component animated GIFs.\",\n \"See: https://www.remotion.dev/docs/gif.\",\n \"Ignore this message if this is a non-animated GIF.\"\n ].join(`\n`);\n use_gif_component_default = createRule12({\n name: \"use-gif-component\",\n meta: {\n type: \"problem\",\n docs: {\n description: UseGifComponent,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n UseGifComponent\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXAttribute: (node) => {\n if (node.type !== \"JSXAttribute\") {\n return;\n }\n if (node.name.name !== \"src\") {\n return;\n }\n const parent = node.parent;\n if (!parent) {\n return;\n }\n if (parent.type !== \"JSXOpeningElement\") {\n return;\n }\n const name = parent.name;\n if (name.type !== \"JSXIdentifier\") {\n return;\n }\n if (name.name !== \"Img\" && name.name !== \"img\") {\n return;\n }\n const value = node.value;\n if (!value) {\n return;\n }\n const stringValue = value && value.type === \"JSXExpressionContainer\" && value.expression.type === \"Literal\" ? value.expression.value : value.type === \"Literal\" ? value.value : null;\n if (typeof stringValue === \"string\") {\n if (stringValue.includes(\".gif\")) {\n context.report({\n messageId: \"UseGifComponent\",\n node\n });\n }\n }\n if (value.type === \"JSXExpressionContainer\" && value.expression.type === \"CallExpression\" && value.expression.callee.type === \"Identifier\" && value.expression.callee.name === \"staticFile\") {\n const args = value.expression.arguments;\n if (args.length === 0) {\n return;\n }\n const firstArg = args[0];\n if (firstArg.type === \"Literal\") {\n const value = firstArg.value;\n if (typeof value !== \"string\") {\n return;\n }\n if (value.includes(\".gif\")) {\n context.report({\n messageId: \"UseGifComponent\",\n node\n });\n }\n }\n }\n }\n };\n }\n });\n});\n\n// src/rules/v4-import.ts\nimport { ESLintUtils as ESLintUtils13 } from \"@typescript-eslint/utils\";\nvar createRule13, ImportConfig = \"Update the import to the new V4 location: import {Config} from '@remotion/cli/config'\", rule, v4_import_default;\nvar init_v4_import = __esm(() => {\n createRule13 = ESLintUtils13.RuleCreator(() => {\n return `https://www.remotion.dev/docs/4-0-migration`;\n });\n rule = createRule13({\n name: \"v4-config-import\",\n meta: {\n type: \"problem\",\n docs: {\n description: ImportConfig,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n ImportConfig\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n ImportDeclaration: (node) => {\n if (node.source.value !== \"remotion\") {\n return;\n }\n const config = node.specifiers.find((s) => s.type === \"ImportSpecifier\" && s.imported.name === \"Config\");\n if (config) {\n context.report({\n messageId: \"ImportConfig\",\n node\n });\n }\n }\n };\n }\n });\n v4_import_default = rule;\n});\n\n// src/rules/valid-composition-and-folder-name.ts\nimport { ESLintUtils as ESLintUtils14 } from \"@typescript-eslint/utils\";\nvar createRule14, validNameRegex, InvalidCompositionId = \"Composition IDs can only contain a-z, A-Z, 0-9, CJK characters and -.\", InvalidFolderName = \"Folder names can only contain a-z, A-Z, 0-9, CJK characters and -.\", getStringValue = (value) => {\n if (!value) {\n return null;\n }\n if (value.type === \"Literal\") {\n return typeof value.value === \"string\" ? value.value : null;\n }\n if (value.type !== \"JSXExpressionContainer\") {\n return null;\n }\n const { expression } = value;\n if (expression.type === \"Literal\") {\n return typeof expression.value === \"string\" ? expression.value : null;\n }\n if (expression.type === \"TemplateLiteral\" && expression.expressions.length === 0) {\n return expression.quasis[0].value.cooked;\n }\n return null;\n}, getJsxElementName = (node) => {\n if (node.type !== \"JSXIdentifier\") {\n return null;\n }\n return node.name;\n}, valid_composition_and_folder_name_default;\nvar init_valid_composition_and_folder_name = __esm(() => {\n createRule14 = ESLintUtils14.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n validNameRegex = /^([a-zA-Z0-9-\\u4E00-\\u9FFF])+$/;\n valid_composition_and_folder_name_default = createRule14({\n name: \"valid-composition-and-folder-name\",\n meta: {\n type: \"problem\",\n docs: {\n description: \"Warns about invalid Remotion composition IDs and folder names.\",\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n InvalidCompositionId,\n InvalidFolderName\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXAttribute: (node) => {\n if (node.type !== \"JSXAttribute\") {\n return;\n }\n if (node.name.type !== \"JSXIdentifier\") {\n return;\n }\n const parent = node.parent;\n if (!parent || parent.type !== \"JSXOpeningElement\") {\n return;\n }\n const elementName = getJsxElementName(parent.name);\n if (elementName === null) {\n return;\n }\n const propName = node.name.name;\n const value = getStringValue(node.value);\n if (value === null || validNameRegex.test(value)) {\n return;\n }\n if ((elementName === \"Composition\" || elementName === \"Still\") && propName === \"id\") {\n context.report({\n messageId: \"InvalidCompositionId\",\n node\n });\n }\n if (elementName === \"Folder\" && propName === \"name\") {\n context.report({\n messageId: \"InvalidFolderName\",\n node\n });\n }\n }\n };\n }\n });\n});\n\n// src/rules/volume-callback.ts\nimport { ESLintUtils as ESLintUtils15 } from \"@typescript-eslint/utils\";\nvar createRule15, VolumeCallback = \"Deprecated no-op kept for compatibility. Volume can be animated with regular keyframes.\", volume_callback_default;\nvar init_volume_callback = __esm(() => {\n createRule15 = ESLintUtils15.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n volume_callback_default = createRule15({\n name: \"volume-callback\",\n meta: {\n type: \"problem\",\n docs: {\n description: VolumeCallback,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n VolumeCallback\n }\n },\n defaultOptions: [],\n create: () => ({})\n });\n});\n\n// src/rules/warn-native-media-tag.ts\nimport { ESLintUtils as ESLintUtils16 } from \"@typescript-eslint/utils\";\nvar createRule16, NoNativeImgTag = \"Prefer the <Img /> tag from 'remotion' package, because it will wait until the image is loaded when you are rendering your video.\", NoNativeIFrameTag = \"Prefer the <IFrame /> tag from 'remotion' package, because it will wait until the iframe is loaded when you are rendering your video.\", NoNativeAudioTag = \"Use the <Audio /> tag from '@remotion/media' package, because it will synchronize with the Remotion timeline.\", NoNativeVideoTag = \"Use the <Video /> tag from '@remotion/media' package, because it will synchronize with the Remotion timeline.\", warn_native_media_tag_default;\nvar init_warn_native_media_tag = __esm(() => {\n createRule16 = ESLintUtils16.RuleCreator(() => {\n return `https://github.com/remotion-dev/remotion`;\n });\n warn_native_media_tag_default = createRule16({\n name: \"warn-native-media-tag\",\n meta: {\n type: \"problem\",\n docs: {\n description: NoNativeImgTag,\n recommended: \"warn\"\n },\n fixable: undefined,\n schema: [],\n messages: {\n NoNativeImgTag,\n NoNativeIFrameTag,\n NoNativeAudioTag,\n NoNativeVideoTag\n }\n },\n defaultOptions: [],\n create: (context) => {\n return {\n JSXOpeningElement: (node) => {\n if (node.name.type === \"JSXIdentifier\" && node.name.name === \"img\") {\n context.report({\n messageId: \"NoNativeImgTag\",\n node\n });\n }\n if (node.name.type === \"JSXIdentifier\" && node.name.name === \"iframe\") {\n context.report({\n messageId: \"NoNativeIFrameTag\",\n node\n });\n }\n if (node.name.type === \"JSXIdentifier\" && node.name.name === \"video\") {\n context.report({\n messageId: \"NoNativeVideoTag\",\n node\n });\n }\n if (node.name.type === \"JSXIdentifier\" && node.name.name === \"audio\") {\n context.report({\n messageId: \"NoNativeAudioTag\",\n node\n });\n }\n },\n TaggedTemplateExpression: (node) => {\n if (node.tag.type !== \"MemberExpression\") {\n return;\n }\n if (node.tag.object.type !== \"Identifier\") {\n return;\n }\n if (node.tag.object.name !== \"styled\") {\n return;\n }\n if (node.tag.property.type !== \"Identifier\") {\n return;\n }\n if (node.tag.property.name === \"img\") {\n context.report({\n messageId: \"NoNativeImgTag\",\n node\n });\n }\n if (node.tag.property.name === \"iframe\") {\n context.report({\n messageId: \"NoNativeIFrameTag\",\n node\n });\n }\n if (node.tag.property.name === \"audio\") {\n context.report({\n messageId: \"NoNativeAudioTag\",\n node\n });\n }\n if (node.tag.property.name === \"video\") {\n context.report({\n messageId: \"NoNativeVideoTag\",\n node\n });\n }\n }\n };\n }\n });\n});\n\n// src/index.ts\nvar require_src = __commonJS(function(exports, module) {\n init_deterministic_randomness();\n init_even_dimensions();\n init_no_background_image();\n init_no_duration_frames_infinity();\n init_no_from_0();\n init_no_object_fit_on_media_video();\n init_no_string_assets();\n init_non_pure_animation();\n init_slow_css_property();\n init_staticfile_no_relative();\n init_staticfile_no_remote();\n init_use_gif_component();\n init_v4_import();\n init_valid_composition_and_folder_name();\n init_volume_callback();\n init_warn_native_media_tag();\n var rules = {\n \"warn-native-media-tag\": warn_native_media_tag_default,\n \"deterministic-randomness\": deterministic_randomness_default,\n \"no-string-assets\": no_string_assets_default,\n \"even-dimensions\": even_dimensions_default,\n \"duration-in-frames\": no_duration_frames_infinity_default,\n \"from-0\": no_from_0_default,\n \"volume-callback\": volume_callback_default,\n \"use-gif-component\": use_gif_component_default,\n \"staticfile-no-relative\": staticfile_no_relative_default,\n \"staticfile-no-remote\": staticfile_no_remote_default,\n \"no-background-image\": no_background_image_default,\n \"non-pure-animation\": non_pure_animation_default,\n \"slow-css-property\": slow_css_property_default,\n \"v4-config-import\": v4_import_default,\n \"no-object-fit-on-media-video\": no_object_fit_on_media_video_default,\n \"valid-composition-and-folder-name\": valid_composition_and_folder_name_default\n };\n var recommendedRuleConfig = {\n \"@remotion/warn-native-media-tag\": \"error\",\n \"@remotion/deterministic-randomness\": \"error\",\n \"@remotion/no-string-assets\": \"error\",\n \"@remotion/even-dimensions\": \"error\",\n \"@remotion/duration-in-frames\": \"error\",\n \"@remotion/from-0\": \"error\",\n \"@remotion/use-gif-component\": \"error\",\n \"@remotion/staticfile-no-relative\": \"error\",\n \"@remotion/staticfile-no-remote\": \"error\",\n \"@remotion/no-background-image\": \"error\",\n \"@remotion/non-pure-animation\": \"warn\",\n \"@remotion/v4-config-import\": \"error\",\n \"@remotion/no-object-fit-on-media-video\": \"warn\",\n \"@remotion/valid-composition-and-folder-name\": \"error\"\n };\n var configs = {\n recommended: {\n rules: recommendedRuleConfig,\n plugins: [\"@remotion\"]\n }\n };\n var flatPlugin = {\n rules: recommendedRuleConfig,\n plugins: {\n \"@remotion\": {\n rules\n }\n }\n };\n module.exports = {\n configs,\n rules,\n flatPlugin\n };\n});\nexport default require_src();\n","import remotion from \"@remotion/eslint-plugin\";\n\nimport { plainRules, upstreamPlugin } from \"./upstream-plugin.ts\";\nimport type { UpstreamPlugin } from \"./upstream-plugin.ts\";\n\ntype ConfigName = \"recommended\";\n\nconst plugin: UpstreamPlugin<ConfigName> = upstreamPlugin(\"@remotion\", remotion, plainRules);\n\nexport type { ConfigName };\nexport default plugin;\n"],"ignoreList":[0],"mappings":";;;AAcsD,6BAAA;AAdtD,IAAI,cAAc,IAAI,eAAe,OAAO,IAAI,MAAM,EAAE,SAAS,CAAC,EAAE,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;GACX,OAAO;GACP,SAAS,CAAC,WAAW;EACvB,EAWM;EACN;EACA,YAAA;GAVA,OAAO;GACP,SAAS,EACP,aAAa,EACX,MACF,EACF;EAKS;CACX;AACF,CACe,CAAA,CAAY;;ACnvC3B,MAAM,SAAqC,eAAe,aAAaC,aAAU,UAAU"}
@@ -1,7 +1,7 @@
1
- import { n as import_eslint_utils, r as init_typescript_eslint_utils, t as import_dist } from "./typescript-eslint-utils-QnYasB-9.mjs";
2
- import { n as optionallyTypedRules } from "./typed-rule-DsbM82SI.mjs";
3
- import { n as upstreamPlugin } from "./upstream-plugin-DqJEA6iy.mjs";
4
- // ../../node_modules/.pnpm/@tanstack+eslint-plugin-query@5.105.3_eslint@9.39.5_jiti@2.6.1_supports-color@7.2.0__su_d952cca362d1d08c5aa1aaa1487f168b/node_modules/@tanstack/eslint-plugin-query/build/modern/rules-D9GziSYo.js
1
+ import { n as import_eslint_utils, r as init_typescript_eslint_utils, t as import_dist } from "./typescript-eslint-utils-DRyGbBR9.mjs";
2
+ import { n as optionallyTypedRules } from "./typed-rule-DljA66d1.mjs";
3
+ import { n as upstreamPlugin } from "./upstream-plugin-B_PNfSLV.mjs";
4
+ // ../../node_modules/.pnpm/@tanstack+eslint-plugin-query@5.107.1_eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2___cacc9ce5857cbd75fddcb32afa3fea85/node_modules/@tanstack/eslint-plugin-query/build/modern/rules-D9GziSYo.js
5
5
  init_typescript_eslint_utils();
6
6
  /**
7
7
  * Removes duplicate items, keeping the first item for each key.
@@ -1332,7 +1332,7 @@ const rules = {
1332
1332
  [name$1]: rule$1,
1333
1333
  [name]: rule
1334
1334
  };
1335
- // ../../node_modules/.pnpm/@tanstack+eslint-plugin-query@5.105.3_eslint@9.39.5_jiti@2.6.1_supports-color@7.2.0__su_d952cca362d1d08c5aa1aaa1487f168b/node_modules/@tanstack/eslint-plugin-query/build/modern/index.js
1335
+ // ../../node_modules/.pnpm/@tanstack+eslint-plugin-query@5.107.1_eslint@10.14.0_jiti@2.7.0_supports-color@10.2.2___cacc9ce5857cbd75fddcb32afa3fea85/node_modules/@tanstack/eslint-plugin-query/build/modern/index.js
1336
1336
  const recommendedRules = {
1337
1337
  "@tanstack/query/exhaustive-deps": "error",
1338
1338
  "@tanstack/query/no-rest-destructuring": "warn",