Skip to content

Commit

Permalink
feat: remove vulnerable libs
Browse files Browse the repository at this point in the history
This requires a change of the http request lib. Now nodesi uses
a native fetch, or you can provide your own http client
implementation.

Previously nodesi used good-guy-http, which is no longer
maintained, so the change in the behavior is that nodesi
does not provide a cache out of the box.

good-guy-http came with the in-memory cache that respected
Cache-Control headers, but the new native fetch implementation
does not provide this feature.

BREAKING CHANGE: change in the default http request library
  • Loading branch information
bukowskiadam committed Jan 12, 2024
1 parent 3978d8b commit ce77d63
Show file tree
Hide file tree
Showing 11 changed files with 1,016 additions and 1,261 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.js]
indent_style = space
indent_size = 4
quote_type = single
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ test
.jshintrc
.travis.yml
.nvmrc
.editorconfig
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ deploy:

after_success:
- npm run coverage
- node_modules/.bin/nyc report --reporter=text-lcov | node_modules/.bin/coveralls
Loading

0 comments on commit ce77d63

Please sign in to comment.