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

eslint-plugin-angular-header-interface

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-angular-header-interface - npm Package Compare versions

Comparing version

to
0.0.3

12

lib/rules/name-return-after-class.js

@@ -65,6 +65,10 @@ /**

angularClassKeys =
_.map(firstVariable.init.properties, function(property) {
return property.key.name;
})
if(_.get(firstVariable, 'init.properties')) {
angularClassKeys =
_.map(firstVariable.init.properties, function(property) {
return property.key.name;
})
} else {
angularClassKeys = [];
}

@@ -71,0 +75,0 @@ // var a = _.filter(_.get(node, 'parent.arguments[1].body.body'),

{
"name": "eslint-plugin-angular-header-interface",
"version": "0.0.2",
"version": "0.0.3",
"description": "Enforce angular classes to have a strict interface definition on the top by leveraging javascript function hoisting.",

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

Sorry, the diff of this file is not supported yet