New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-react-native

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-native - npm Package Compare versions

Comparing version 3.2.1 to 3.3.0

4

lib/util/stylesheet.js

@@ -337,6 +337,6 @@

}
} else if (p.value.type === 'UnaryExpression' && p.value.operator === '-') {
} else if (p.value.type === 'UnaryExpression' && p.value.operator === '-' && p.value.argument.type === 'Literal') {
invalid = true;
obj[p.key.name] = -1 * p.value.argument.value;
} else if (p.value.type === 'UnaryExpression' && p.value.operator === '+') {
} else if (p.value.type === 'UnaryExpression' && p.value.operator === '+' && p.value.argument.type === 'Literal') {
invalid = true;

@@ -343,0 +343,0 @@ obj[p.key.name] = p.value.argument.value;

{
"name": "eslint-plugin-react-native",
"version": "3.2.1",
"version": "3.3.0",
"author": "Tom Hastjarjanto <tom@intellicode.nl>",

@@ -28,3 +28,3 @@ "description": "React Native specific linting rules for ESLint",

"coveralls": "2.13.1",
"eslint": "^4.3.0",
"eslint": "^5.5.0",
"eslint-config-airbnb": "15.1.0",

@@ -38,3 +38,3 @@ "eslint-plugin-import": "^2.0.0",

"peerDependencies": {
"eslint": "^3.17.0 || ^4.0.0"
"eslint": "^3.17.0 || ^4 || ^5"
},

@@ -41,0 +41,0 @@ "keywords": [

@@ -16,3 +16,3 @@

```sh
$ npm install eslint
$ npm install --save-dev eslint
```

@@ -23,3 +23,3 @@

```sh
$ npm install eslint-plugin-react
$ npm install --save-dev eslint-plugin-react
```

@@ -31,3 +31,3 @@

```sh
$ npm install eslint-plugin-react-native
$ npm install --save-dev eslint-plugin-react-native
```

@@ -34,0 +34,0 @@

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