Skip to content

Commit 87c46db

Browse files
committed
remove url module (not required) and update readme
1 parent 9c51a7e commit 87c46db

File tree

5 files changed

+2000
-1946
lines changed

5 files changed

+2000
-1946
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ npm run test
168168
- [dictionary-en-gb](https://ghub.io/dictionary-en-gb): English (United Kingdom) spelling dictionary in UTF-8
169169
- [html-to-text](https://ghub.io/html-to-text): Advanced html to plain text converter
170170
- [nlcst-to-string](https://ghub.io/nlcst-to-string): Stringify NLCST
171-
- [node-readability](https://ghub.io/node-readability): Turning any web page into a clean view.
172171
- [vfile-reporter-json](https://ghub.io/vfile-reporter-json): JSON reporter for virtual files
173172

174173

@@ -186,3 +185,7 @@ npm run test
186185
## License
187186

188187
This project is licensed under the GNU GENERAL PUBLIC LICENSE Version 3 - see the [LICENSE](LICENSE) file for details
188+
189+
## Notes
190+
191+
Due to [node-readability](https://github.com/luin/readability) being stale I have imported the relevent functions into this project and refactored it so it doesn't use [request](https://github.com/request/request) and therfor has no vulnrabilities.

helpers.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
var url = require('url')
2-
31
module.exports.capitalizeFirstLetter = function (string) {
42
return string.charAt(0).toUpperCase() + string.slice(1)
53
}

package-lock.json

Lines changed: 1 addition & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"retext-pos": "^2.0.2",
3535
"retext-spell": "^3.0.0",
3636
"sentiment": "^5.0.1",
37-
"url": "^0.11.0",
3837
"vfile-reporter-json": "^2.0.0"
3938
},
4039
"devDependencies": {

testresults.json

Lines changed: 1995 additions & 1920 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)