Improve URL handling in JSDOMParser and Readability.js
This change ups the required node version to 7.0 because it relies on the builtin url module. We now pass a url when constructing a jsdom document or JSDOMParser document. Because this is an API change, I'm increasing the package version. Ultimately, I would like to remove the argument from the readability constructor. It should use the documentURI from the document it is passed.pull/394/merge
parent
834672ef86
commit
d598baf02b
@ -1,7 +1,7 @@
|
||||
language: node_js
|
||||
sudo: false
|
||||
node_js:
|
||||
- '6.5'
|
||||
- '7.0'
|
||||
script:
|
||||
- npm run lint
|
||||
- npm run test
|
||||
|
Loading…
Reference in New Issue