Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remotion/eslint-plugin

Package Overview
Dependencies
Maintainers
1
Versions
915
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remotion/eslint-plugin - npm Package Compare versions

Comparing version 1.0.0-y.105 to 1.0.0-y.106

2

dist/rules/no-mp4-import.js

@@ -43,3 +43,3 @@ "use strict";

if (!firstArgument) {
const sourceCode = context.getSourceCode().lines.join("\n");
const sourceCode = context.getSourceCode().getText(node);
if (sourceCode.includes(".mp4")) {

@@ -46,0 +46,0 @@ context.report({

@@ -12,3 +12,7 @@ "use strict";

ruleTester.run("no-mp4-import", no_mp4_import_1.default, {
valid: ['const hi = require("hi")', 'import hi from "hi.mp3"'],
valid: [
'const hi = require("hi")',
'import hi from "hi.mp3"',
'const falsePosition = ".mp4"; require("hi"+1+".png") ',
],
invalid: [

@@ -15,0 +19,0 @@ {

{
"name": "@remotion/eslint-plugin",
"version": "1.0.0-y.105",
"version": "1.0.0-y.106",
"description": "A set of rules helping you avoid common pitfalls in Remotion.",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc