koajs / csrf

CSRF tokens for koa
MIT License
264 stars 32 forks source link

Refactor to koa middleware style #61

Closed 3imed-jaberi closed 2 years ago

codecov[bot] commented 3 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3d55f6a). Click here to learn what that means. The diff coverage is 55.55%.

:exclamation: Current head 098da83 differs from pull request most recent head 247f12e. Consider uploading reports for the commit 247f12e to get more accurate results Impacted file tree graph

@@            Coverage Diff            @@
##             master      #61   +/-   ##
=========================================
  Coverage          ?   55.55%           
=========================================
  Files             ?        1           
  Lines             ?       27           
  Branches          ?        0           
=========================================
  Hits              ?       15           
  Misses            ?       12           
  Partials          ?        0           
Impacted Files Coverage Δ
index.js 55.55% <55.55%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3d55f6a...247f12e. Read the comment docs.

titanism commented 2 years ago

Refactored this a bit further and modernized it. Released koa-csrf v4.0.0, which requires Node >= 14.

https://github.com/koajs/csrf/releases/tag/v4.0.0