async-ratelimiter
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://nicedoc.io/microlinkhq/async-ratelimiter", | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"main": "src/index.js", | ||
@@ -62,3 +62,3 @@ "author": { | ||
"clean": "rm -rf node_modules", | ||
"contributors": "(git-authors-cli && finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true", | ||
"contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true", | ||
"lint": "standard-markdown README.md && standard", | ||
@@ -65,0 +65,0 @@ "postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)", |
@@ -38,3 +38,3 @@ <div align="center"> | ||
if (!res.finished && !res.headersSent) { | ||
if (!res.writableEnded) { | ||
res.setHeader('X-Rate-Limit-Limit', limit.total) | ||
@@ -41,0 +41,0 @@ res.setHeader('X-Rate-Limit-Remaining', Math.max(0, limit.remaining - 1)) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9567