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

eslint-plugin-reanimated

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-reanimated - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

8

dist/rules/js-function-in-worklet.js

@@ -79,7 +79,5 @@ "use strict";

if (statement && typescript_1.isExpressionStatement(statement)) {
const esNode = parserServices.tsNodeToESTreeNodeMap.get(statement);
if (!esNode) {
throw new Error("ESNode not found: " + statement.getText());
}
return esNode.directive === "worklet";
return (statement.expression
.getText()
.substring(1, "worklet".length + 1) === "worklet");
}

@@ -86,0 +84,0 @@ }

{
"name": "eslint-plugin-reanimated",
"version": "1.0.5",
"version": "1.0.6",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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