Comparing version 4.0.3 to 4.1.0
# Changelog | ||
## 4.1.0 (2016-11-21) | ||
* Install PhantomJS as a dependency if the latest version isn't present | ||
* Remove the SSL protocol from the default PhantomJS config | ||
## 4.0.3 (2016-11-20) | ||
@@ -5,0 +10,0 @@ |
@@ -10,2 +10,3 @@ 'use strict'; | ||
var trufflerPkg = require('truffler/package.json'); | ||
var phantomjsPath = require('phantomjs-prebuilt').path; | ||
@@ -33,5 +34,5 @@ module.exports = pa11y; | ||
parameters: { | ||
'ignore-ssl-errors': 'true', | ||
'ssl-protocol': 'tlsv1' | ||
} | ||
'ignore-ssl-errors': 'true' | ||
}, | ||
path: phantomjsPath | ||
}, | ||
@@ -38,0 +39,0 @@ rootElement: null, |
{ | ||
"name": "pa11y", | ||
"version": "4.0.3", | ||
"version": "4.1.0", | ||
@@ -39,2 +39,3 @@ "description": "Pa11y is your automated accessibility testing pal", | ||
"once": "~1.3", | ||
"phantomjs-prebuilt": "^2.1.12", | ||
"truffler": "~2.3" | ||
@@ -41,0 +42,0 @@ }, |
@@ -33,3 +33,3 @@ | ||
✨ 🔜 ✨ The Pa11y team is very excited to announce plans for the successor to Pa11y Dashboard and Pa11y Webservice, codename "Sidekick". Help us define the features that you want to see by visiting the [proposal][sidekick-proposal]. ✨ | ||
✨ 🔜 ✨ The Pa11y team is very excited to announce plans for the successor to Pa11y Dashboard and Pa11y Webservice, codename "Sidekick". Help us define the features that you want to see by visiting the [proposal][sidekick-proposal]. ✨ | ||
@@ -56,47 +56,23 @@ --- | ||
Pa11y requires [Node.js][node] 4+ and [PhantomJS][phantom] (latest stable version recommended) to run. | ||
Pa11y requires [Node.js][node] 4+ to run. | ||
### OS X | ||
On a Mac, you can install the required dependencies with [Homebrew][brew]: | ||
On a Mac, you can install the required dependency with [Homebrew][brew]: | ||
```sh | ||
$ brew install node | ||
$ brew install phantomjs | ||
``` | ||
Alternatively download pre-built packages from the [Node.js][node] and [PhantomJS][phantom] websites. | ||
Alternatively download pre-built packages from the [Node.js][node] website. | ||
### Linux | ||
Depending on your flavour of Linux, you should be able to use a package manager to install the required dependencies. Alternatively download pre-built packages from the [Node.js][node] and [PhantomJS][phantom] websites. | ||
Depending on your flavour of Linux, you should be able to use a package manager to install the required dependency. Alternatively download pre-built packages from the [Node.js][node] website. | ||
### Windows | ||
Windows users approach with caution – we've been able to get Pa11y running (Windows 7, Node 4) but only after installing Visual Studio and the Windows SDK (as well as Git, Python and PhantomJS). The [Windows installation instructions for node-gyp][windows-install] are a good place to start. | ||
Windows users approach with caution – we've been able to get Pa11y running (Windows 7, Node 4) but only after installing Visual Studio and the Windows SDK (as well as Git, and Python). The [Windows installation instructions for node-gyp][windows-install] are a good place to start. | ||
If you run into following error: | ||
``` | ||
Error: spawn phantomjs ENOENT | ||
at exports._errnoException (util.js:874:11) | ||
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32) | ||
at onErrorNT (internal/child_process.js:344:16) | ||
at doNTCallback2 (node.js:439:9) | ||
at process._tickCallback (node.js:353:17) | ||
at Function.Module.runMain (module.js:469:11) | ||
at startup (node.js:134:18) | ||
at node.js:961:3 | ||
``` | ||
follow these steps: | ||
1. Install PhantomJS@v2.0 via [npm][npm] | ||
``` | ||
npm install -g phantomjs2 | ||
``` | ||
2. Navigate to `%APPDATA%\AppData\Roaming\npm\node_modules\phantomjs2\lib\phantom\bin` and copy `phantomjs.exe` to `%APPDATA%\AppData\Roaming\npm\` | ||
Command-Line Interface | ||
@@ -784,3 +760,3 @@ ---------------------- | ||
| :hourglass: | 3 | 3.8 | 0.12–6 | 2016-12-05 | | ||
| :hourglass: | 2 | 2.4 | 0.10–0.12 | 2016-10-16 | | ||
| :skull: | 2 | 2.4 | 0.10–0.12 | 2016-10-16 | | ||
| :skull: | 1 | 1.7 | 0.10 | 2016-06-08 | | ||
@@ -787,0 +763,0 @@ |
@@ -106,6 +106,2 @@ // jshint maxstatements: false | ||
it('should have a `phantom.parameters[\'ssl-protocol\']` property', function() { | ||
assert.strictEqual(defaults.phantom.parameters['ssl-protocol'], 'tlsv1'); | ||
}); | ||
it('should have a `standard` property', function() { | ||
@@ -112,0 +108,0 @@ assert.strictEqual(defaults.standard, 'WCAG2AA'); |
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
251228
9
2608
801
+ Addedphantomjs-prebuilt@^2.1.12
+ Addedajv@6.12.6(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedbuffer-crc32@0.2.13(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedconcat-stream@1.6.2(transitive)
+ Addedcore-util-is@1.0.21.0.3(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedes6-promise@4.2.8(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextract-zip@1.7.0(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedfd-slicer@1.1.0(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedfs-extra@1.0.0(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhasha@2.2.0(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsonfile@2.4.0(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedkew@0.7.0(transitive)
+ Addedklaw@1.3.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedpend@1.2.0(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedphantomjs-prebuilt@2.1.16(transitive)
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedprogress@1.1.8(transitive)
+ Addedpsl@1.9.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedrequest-progress@2.0.1(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedthrottleit@1.0.1(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addedtypedarray@0.0.6(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)
+ Addedwhich@1.3.1(transitive)
+ Addedyauzl@2.10.0(transitive)