🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@cloudflare/eslint-plugin-sparrow

Package Overview
Dependencies
Maintainers
19
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/eslint-plugin-sparrow - npm Package Compare versions

Comparing version

to
0.5.1

12

CHANGELOG.md

@@ -6,3 +6,11 @@ # Change Log

<a name="0.5.0"></a>
<a name="0.5.1"></a>
## [0.5.1](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/eslint-plugin-sparrow@0.5.0...@cloudflare/eslint-plugin-sparrow@0.5.1) (2018-11-28)
**Note:** Version bump only for package @cloudflare/eslint-plugin-sparrow
<a name="0.5.0"></a>
# [0.5.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/eslint-plugin-sparrow@0.4.0...@cloudflare/eslint-plugin-sparrow@0.5.0) (2018-11-27)

@@ -20,3 +28,3 @@

<a name="0.4.0"></a>
<a name="0.4.0"></a>
# [0.4.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/eslint-plugin-sparrow@0.3.0...@cloudflare/eslint-plugin-sparrow@0.4.0) (2018-10-30)

@@ -23,0 +31,0 @@

2

es/rules/no-missing-category.js

@@ -111,3 +111,3 @@ /**

if (isValidType(arg1, 'Literal') && isValidType(arg2, 'ObjectExpression')) {
if (typeof arg1 !== 'undefined' && isValidType(arg2, 'ObjectExpression')) {
if (!hasKeyInObject(arg2, 'category')) {

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

@@ -111,3 +111,3 @@ /**

if (isValidType(arg1, 'Literal') && isValidType(arg2, 'ObjectExpression')) {
if (typeof arg1 !== 'undefined' && isValidType(arg2, 'ObjectExpression')) {
if (!hasKeyInObject(arg2, 'category')) {

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

{
"name": "@cloudflare/eslint-plugin-sparrow",
"description": "A list of recommended rules for @cloudflare/util-sparrow",
"version": "0.5.0",
"version": "0.5.1",
"keywords": [

@@ -6,0 +6,0 @@ "eslint",

@@ -121,3 +121,3 @@ /**

if (
isValidType(arg1, 'Literal') &&
typeof arg1 !== 'undefined' &&
isValidType(arg2, 'ObjectExpression')

@@ -124,0 +124,0 @@ ) {