@fastify/forwarded
Advanced tools
+1
-1
@@ -42,3 +42,3 @@ /** | ||
| char = header[i] | ||
| if (char === ' ') { | ||
| if (char === ' ' || char === '\t') { | ||
| (start === end) && (start = end = i) | ||
@@ -45,0 +45,0 @@ } else if (char === ',') { |
+1
-3
| MIT License | ||
| Copyright (c) 2014-2017 Douglas Christopher Wilson | ||
| Copyright (c) 2021-present The Fastify team | ||
| Copyright (c) 2021-present The Fastify team <https://github.com/fastify/fastify#team> | ||
| The Fastify team members are listed at https://github.com/fastify/fastify#team. | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
@@ -9,0 +7,0 @@ of this software and associated documentation files (the "Software"), to deal |
+6
-6
| { | ||
| "name": "@fastify/forwarded", | ||
| "description": "Parse HTTP X-Forwarded-For header", | ||
| "version": "3.0.1", | ||
| "version": "3.0.2", | ||
| "type": "commonjs", | ||
@@ -51,8 +51,8 @@ "author": "Douglas Christopher Wilson <doug@somethingdoug.com>", | ||
| "devDependencies": { | ||
| "@types/node": "^24.0.8", | ||
| "@types/node": "^26.0.1", | ||
| "benchmark": "2.1.4", | ||
| "c8": "^10.1.2", | ||
| "c8": "^12.0.0", | ||
| "eslint": "^9.17.0", | ||
| "neostandard": "^0.12.0", | ||
| "tsd": "^0.33.0" | ||
| "neostandard": "^0.13.0", | ||
| "tstyche": "^7.0.0" | ||
| }, | ||
@@ -73,4 +73,4 @@ "types": "types/index.d.ts", | ||
| "test:unit": "c8 --100 node --test", | ||
| "test:typescript": "tsd" | ||
| "test:typescript": "tstyche" | ||
| } | ||
| } |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
1
-50%5685
-0.26%