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

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 2.4.0 to 2.4.1

8

dist/accesssniff.js

@@ -86,3 +86,4 @@ 'use strict';

accessibilityrc: true,
accessibilityLevel: 'WCAG2A'
accessibilityLevel: 'WCAG2A',
maxBuffer: 500 * 1024
};

@@ -281,5 +282,6 @@

// Call Phantom
_child_process2.default.execFile(_phantomjsPrebuilt2.default.path, [_path2.default.join(__dirname, './phantom.js'), file, this.options.accessibilityLevel], function (error, stdout) {
_child_process2.default.execFile(_phantomjsPrebuilt2.default.path, [_path2.default.join(__dirname, './phantom.js'), file, this.options.accessibilityLevel], { maxBuffer: this.options.maxBuffer }, function (error, stdout) {
if (error) {
_logger2.default.generError(error);
_logger2.default.generalError('Testing ' + _this2.options.filePath + ' failed');
_logger2.default.generalError(error);
deferredOutside.reject(error);

@@ -286,0 +288,0 @@ }

{
"name": "access-sniff",
"version": "2.4.0",
"version": "2.4.1",
"description": "A node/iojs library & CLI for HTML_Codesniffer",

@@ -5,0 +5,0 @@ "main": "dist/",

@@ -142,2 +142,14 @@ # AccessSniff

## maxBuffer
`maxBuffer` is a number, defaults to `500*1024`
In certain situations you might have to increase the memory allocated to render a page.
```js
options: {
force: true
}
```
## Reports

@@ -144,0 +156,0 @@ You can pass the following options to the report generator

Sorry, the diff of this file is too big to display

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