@atproto-labs/fetch-node
Advanced tools
Comparing version 0.1.6 to 0.1.7
# @atproto-labs/fetch-node | ||
## 0.1.7 | ||
### Patch Changes | ||
- [#3220](https://github.com/bluesky-social/atproto/pull/3220) [`61dc0d60e`](https://github.com/bluesky-social/atproto/commit/61dc0d60e19b88c6427a54c6d95a391b5f4da7bd) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Apply new linting rules regarding import order | ||
- [#3220](https://github.com/bluesky-social/atproto/pull/3220) [`61dc0d60e`](https://github.com/bluesky-social/atproto/commit/61dc0d60e19b88c6427a54c6d95a391b5f4da7bd) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Update NodeJS engine requirement to >=18.7.0 | ||
- Updated dependencies [[`61dc0d60e`](https://github.com/bluesky-social/atproto/commit/61dc0d60e19b88c6427a54c6d95a391b5f4da7bd)]: | ||
- @atproto-labs/fetch@0.2.1 | ||
## 0.1.6 | ||
@@ -4,0 +15,0 @@ |
@@ -9,6 +9,6 @@ "use strict"; | ||
const node_dns_1 = __importDefault(require("node:dns")); | ||
const fetch_1 = require("@atproto-labs/fetch"); | ||
const ipaddr_js_1 = __importDefault(require("ipaddr.js")); | ||
const psl_1 = require("psl"); | ||
const undici_1 = require("undici"); | ||
const fetch_1 = require("@atproto-labs/fetch"); | ||
const util_js_1 = require("./util.js"); | ||
@@ -15,0 +15,0 @@ const { IPv4, IPv6 } = ipaddr_js_1.default; |
{ | ||
"name": "@atproto-labs/fetch-node", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"license": "MIT", | ||
@@ -26,2 +26,5 @@ "description": "SSRF protection for fetch() in Node.js", | ||
}, | ||
"engines": { | ||
"node": ">=18.7.0" | ||
}, | ||
"dependencies": { | ||
@@ -31,3 +34,3 @@ "ipaddr.js": "^2.1.0", | ||
"undici": "^6.14.1", | ||
"@atproto-labs/fetch": "0.2.0", | ||
"@atproto-labs/fetch": "0.2.1", | ||
"@atproto-labs/pipe": "0.1.0" | ||
@@ -34,0 +37,0 @@ }, |
import { | ||
asRequest, | ||
DEFAULT_FORBIDDEN_DOMAIN_NAMES, | ||
Fetch, | ||
asRequest, | ||
fetchMaxSizeProcessor, | ||
@@ -14,3 +14,2 @@ forbiddenDomainNameRequestTransform, | ||
import { pipe } from '@atproto-labs/pipe' | ||
import { unicastFetchWrap } from './unicast.js' | ||
@@ -17,0 +16,0 @@ |
import dns, { LookupAddress } from 'node:dns' | ||
import { LookupFunction } from 'node:net' | ||
import ipaddr from 'ipaddr.js' | ||
import { parse as pslParse } from 'psl' | ||
import { Agent, Client } from 'undici' | ||
import { | ||
asRequest, | ||
extractUrl, | ||
Fetch, | ||
FetchContext, | ||
FetchRequestError, | ||
asRequest, | ||
extractUrl, | ||
} from '@atproto-labs/fetch' | ||
import ipaddr from 'ipaddr.js' | ||
import { parse as pslParse } from 'psl' | ||
import { Agent, Client } from 'undici' | ||
import { isUnicastIp } from './util.js' | ||
@@ -16,0 +14,0 @@ |
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
36141
+ Added@atproto-labs/fetch@0.2.1(transitive)
- Removed@atproto-labs/fetch@0.2.0(transitive)
Updated@atproto-labs/fetch@0.2.1