POSSIBLY BREAKING CHANGES
Mainly bump to ip-filter@2
which fixes some wrong behaving. Also you should notice
that signle *
would not work in some cases, so you should **
, because basically ip-filter
converts IPs to filepaths to be able to use micromatch
as matching library behind the scenes.
So one way is to pass such filter: ['*.*.*.*', '!111.??.244.*']
, another is
the filter: ['**', '!111.??.244.*']
to match any IPs except 111.22.244.31
for example.
MISC STUFF
Boilerplate stuff. Update contributing guide, dotfiles, license year, npm scripts, release/publish flow and etc. Replace assertit
with mukla
which is drop-in replacement. Using verb
for generating the README.md and API docs.
- Release v2.0.0 / [email protected]
- add
related
section - fix complexity of tests, close #2, thanks @codeclimate
- remove
upcoming v2
notice, close #1 - update description/keywords
- refactor tests
- bump devDeps
- add test to ensure next middleware
- update docs/example, add notice
- update docs and features list
- notice for upcoming v2
- refactor - see #1
- Release v1.0.0 / [email protected]
- update example
- add docs and comments
- update readme example, editorconfig
- add example.js from readme
- update readme
- add test
opts.forbidden
to be function - change
accessForbidden
toforbidden
- add test for custom msg when 403
- update usage example
- first commits