access-sniff
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
125874
830
232
2