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 CHANGED
@@ -307,6 +307,7 @@ function ssrfAgentGuard(url, options) {
307
307
  return finalAgent;
308
308
  }
309
309
  module.exports = ssrfAgentGuard;
310
+ module.exports.default = ssrfAgentGuard;
310
311
 
311
312
  exports.default = ssrfAgentGuard;
312
313
  exports.getTLD = getTLD;
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.11",
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",