@arcjet/ip
Advanced tools
Comparing version 1.0.0-alpha.9 to 1.0.0-alpha.10
@@ -275,3 +275,3 @@ function parseXForwardedFor(value) { | ||
// Shared range | ||
if (octets[0] === 100 && (octets[1] & 192) === 64) { | ||
if (octets[0] === 100 && (octets[1] & 0b1100_0000) === 0b0100_0000) { | ||
return false; | ||
@@ -278,0 +278,0 @@ } |
{ | ||
"name": "@arcjet/ip", | ||
"version": "1.0.0-alpha.9", | ||
"version": "1.0.0-alpha.10", | ||
"description": "Arcjet utilities for finding the originating IP of a request", | ||
@@ -44,10 +44,10 @@ "license": "Apache-2.0", | ||
"devDependencies": { | ||
"@arcjet/eslint-config": "1.0.0-alpha.9", | ||
"@arcjet/rollup-config": "1.0.0-alpha.9", | ||
"@arcjet/tsconfig": "1.0.0-alpha.9", | ||
"@arcjet/eslint-config": "1.0.0-alpha.10", | ||
"@arcjet/rollup-config": "1.0.0-alpha.10", | ||
"@arcjet/tsconfig": "1.0.0-alpha.10", | ||
"@jest/globals": "29.7.0", | ||
"@rollup/wasm-node": "4.12.0", | ||
"@rollup/wasm-node": "4.13.0", | ||
"@types/node": "18.18.0", | ||
"jest": "29.7.0", | ||
"typescript": "5.3.3" | ||
"typescript": "5.4.2" | ||
}, | ||
@@ -54,0 +54,0 @@ "publishConfig": { |
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
56311