ssrf-agent-guard 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -0
- package/dist/index.esm.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -303,5 +303,6 @@ function ssrfAgentGuard(url, options) {
|
|
|
303
303
|
return finalAgent;
|
|
304
304
|
}
|
|
305
305
|
module.exports = ssrfAgentGuard;
|
|
306
|
+
module.exports.default = ssrfAgentGuard;
|
|
306
307
|
|
|
307
308
|
export { ssrfAgentGuard as default, getTLD, isCloudMetadata, matchesDomain, validateHost, validatePolicy };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ssrf-agent-guard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "A TypeScript SSRF protection library for Node.js (express/axios) with advanced policies, DNS rebinding detection and cloud metadata protection.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|