Socket
Socket
Sign inDemoInstall

access-sniff

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

access-sniff - npm Package Compare versions

Comparing version 0.2.1 to 1.0.0

2

package.json
{
"name": "access-sniff",
"version": "0.2.1",
"version": "1.0.0",
"description": "A node/iojs library & CLI for HTML_Codesniffer",

@@ -5,0 +5,0 @@ "main": "src/accessSniff.js",

@@ -6,6 +6,7 @@ # AccessSniff

- [Gulp plugin](https://github.com/yargalot/gulp-accessibility)
- [Grunt plugin](https://github.com/yargalot/grunt-accessibility)
![Example Image](img/example.png)
NOTE: This is in beta, please leave feedback. Would love it :)
## Getting Started

@@ -12,0 +13,0 @@ Install this plugin with `npm install access-sniff` then use it in your project with

@@ -25,9 +25,11 @@ /*

this.options = Accessibility.Defaults;
this.basepath = process.cwd();
this.failTask = false;
this.log = '';
this.fileContents = '';
// Defaults options with input options
_.defaults(options, Accessibility.Defaults);
this.options = options;
if (this.options.accessibilityrc) {

@@ -37,5 +39,2 @@ this.options.ignore = fs.readFile('.accessibilityrc').ignore;

// Extend options with input options
_.extend(this.options, options);
_that = this;

@@ -222,12 +221,9 @@

childProcess.execFile(phantomPath, childArgs, function(err, stdout, stderr) {
// handle results
if (!err) {
if (err) {
deferredOutside.fulfill();
}
_this.parseOutput(stdout, deferredOutside);
_this.parseOutput(stdout, deferredOutside);
return;
}
deferredOutside.fulfill();
});

@@ -244,2 +240,5 @@

console.error('There was an error');
console.error(err);
return err;

@@ -246,0 +245,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