@atproto-labs/fetch-node
Advanced tools
Comparing version 0.1.3 to 0.1.4
# @atproto-labs/fetch-node | ||
## 0.1.4 | ||
### Patch Changes | ||
- Updated dependencies [[`622654672`](https://github.com/bluesky-social/atproto/commit/6226546725d1bb0375e3c9e0d71af173e8253c4f)]: | ||
- @atproto-labs/fetch@0.1.2 | ||
## 0.1.3 | ||
@@ -4,0 +11,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.safeFetchWrap = void 0; | ||
exports.safeFetchWrap = safeFetchWrap; | ||
const fetch_1 = require("@atproto-labs/fetch"); | ||
@@ -58,3 +58,2 @@ const pipe_1 = require("@atproto-labs/pipe"); | ||
} | ||
exports.safeFetchWrap = safeFetchWrap; | ||
//# sourceMappingURL=safe.js.map |
@@ -1,3 +0,1 @@ | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import dns from 'node:dns'; | ||
@@ -4,0 +2,0 @@ import { LookupFunction } from 'node:net'; |
@@ -6,3 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.unicastLookup = exports.unicastFetchWrap = void 0; | ||
exports.unicastFetchWrap = unicastFetchWrap; | ||
exports.unicastLookup = unicastLookup; | ||
const node_dns_1 = __importDefault(require("node:dns")); | ||
@@ -110,3 +111,2 @@ const fetch_1 = require("@atproto-labs/fetch"); | ||
} | ||
exports.unicastFetchWrap = unicastFetchWrap; | ||
function unicastLookup(hostname, options, callback) { | ||
@@ -134,3 +134,2 @@ if (!(0, psl_1.isValid)(hostname)) { | ||
} | ||
exports.unicastLookup = unicastLookup; | ||
function isNotUnicast(ip) { | ||
@@ -137,0 +136,0 @@ return ip.range() !== 'unicast'; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isUnicastIp = void 0; | ||
exports.isUnicastIp = isUnicastIp; | ||
const ipaddr_js_1 = __importDefault(require("ipaddr.js")); | ||
@@ -23,3 +23,2 @@ const { IPv4, IPv6 } = ipaddr_js_1.default; | ||
} | ||
exports.isUnicastIp = isUnicastIp; | ||
//# sourceMappingURL=util.js.map |
{ | ||
"name": "@atproto-labs/fetch-node", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"license": "MIT", | ||
@@ -30,3 +30,3 @@ "description": "SSRF protection for fetch() in Node.js", | ||
"undici": "^6.14.1", | ||
"@atproto-labs/fetch": "0.1.1", | ||
"@atproto-labs/fetch": "0.1.2", | ||
"@atproto-labs/pipe": "0.1.0" | ||
@@ -36,3 +36,3 @@ }, | ||
"@types/psl": "1.1.3", | ||
"typescript": "^5.3.3" | ||
"typescript": "^5.6.3" | ||
}, | ||
@@ -39,0 +39,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
34098
26
568
+ Added@atproto-labs/fetch@0.1.2(transitive)
- Removed@atproto-labs/fetch@0.1.1(transitive)
Updated@atproto-labs/fetch@0.1.2