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

eslint-plugin-hapi

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-hapi - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

2

lib/index.js
'use strict';
var HapiCapitalizeModules = require('hapi-capitalize-modules');
var HapiForYou = require('hapi-for-you');
var HapiNoVar = require('hapi-no-var');
var HapiScopeStart = require('hapi-scope-start');

@@ -12,2 +13,3 @@ var NoArrowception = require('no-arrowception');

'hapi-for-you': HapiForYou,
'hapi-no-var': HapiNoVar,
'hapi-scope-start': HapiScopeStart,

@@ -14,0 +16,0 @@ 'no-arrowception': NoArrowception

9

package.json
{
"name": "eslint-plugin-hapi",
"version": "4.0.0",
"version": "4.1.0",
"description": "ESLint plugin containing hapi style guide rules",

@@ -28,2 +28,3 @@ "author": "Continuation Labs <contact@continuation.io> (http://continuation.io/)",

"hapi-for-you": "1.x.x",
"hapi-no-var": "1.x.x",
"hapi-scope-start": "2.x.x",

@@ -33,6 +34,6 @@ "no-arrowception": "1.x.x"

"devDependencies": {
"belly-button": "1.x.x",
"code": "1.x.x",
"lab": "6.x.x"
"belly-button": "4.x.x",
"code": "4.x.x",
"lab": "14.x.x"
}
}

@@ -20,14 +20,10 @@ 'use strict';

expect(rules.length).to.equal(4);
expect(rules.length).to.equal(5);
expect(rules.indexOf('hapi-capitalize-modules')).to.not.equal(-1);
expect(rules.indexOf('hapi-for-you')).to.not.equal(-1);
expect(rules.indexOf('hapi-no-var')).to.not.equal(-1);
expect(rules.indexOf('hapi-scope-start')).to.not.equal(-1);
expect(rules.indexOf('no-arrowception')).to.not.equal(-1);
for (var i = 0; i < rules.length; ++i) {
expect(Plugin.rules[rules[i]]).to.be.a.function();
}
done();
});
});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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