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 1.2.0 to 1.2.1

README.md

5

lib/util/stylesheet.js

@@ -338,2 +338,5 @@ 'use strict';

node.properties.forEach(p => {
if (!p.value || !p.key) {
return;
}
if (p.value.type === 'Literal') {

@@ -365,3 +368,3 @@ invalid = true;

node.properties.forEach(p => {
if (p.key.name && p.key.name.toLowerCase().indexOf('color') !== -1) {
if (p.key && p.key.name && p.key.name.toLowerCase().indexOf('color') !== -1) {
if (p.value.type === 'Literal') {

@@ -368,0 +371,0 @@ invalid = true;

6

package.json
{
"name": "eslint-plugin-react-native",
"version": "1.2.0",
"version": "1.2.1",
"author": "Tom Hastjarjanto <tom@intellicode.nl>",

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

"babel-eslint": "6.1.2",
"coveralls": "2.11.11",
"coveralls": "2.11.12",
"eslint": "2.13.1",

@@ -35,3 +35,3 @@ "eslint-config-airbnb": "9.0.1",

"istanbul": "0.4.4",
"mocha": "2.5.3"
"mocha": "3.0.0"
},

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

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