@whatwg-node/node-fetch 0.2.0-alpha-20230210093840-06aaaf0 → 0.2.0-alpha-20230210095043-408a558
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/URL.d.ts +2 -2
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/URL.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import FastUrl from
|
2
|
-
import { PonyfillURLSearchParams } from
|
1
|
+
import FastUrl from 'fast-url-parser';
|
2
|
+
import { PonyfillURLSearchParams } from './URLSearchParams';
|
3
3
|
export declare class PonyfillURL extends FastUrl implements URL {
|
4
4
|
constructor(url: string, base?: string | URL);
|
5
5
|
get origin(): string;
|
package/index.js
CHANGED
@@ -11,8 +11,8 @@ const stream = require('stream');
|
|
11
11
|
const url = require('url');
|
12
12
|
const events = require('@whatwg-node/events');
|
13
13
|
const busboy = _interopDefault(require('busboy'));
|
14
|
-
const FastUrl = _interopDefault(require('fast-url-parser'));
|
15
14
|
const FastQuerystring = _interopDefault(require('fast-querystring'));
|
15
|
+
const FastUrl = _interopDefault(require('fast-url-parser'));
|
16
16
|
|
17
17
|
// Will be removed after v14 reaches EOL
|
18
18
|
class PonyfillAbortError extends Error {
|
package/index.mjs
CHANGED
@@ -5,8 +5,8 @@ import { Readable } from 'stream';
|
|
5
5
|
import { fileURLToPath } from 'url';
|
6
6
|
import { EventTarget, CustomEvent } from '@whatwg-node/events';
|
7
7
|
import busboy from 'busboy';
|
8
|
-
import FastUrl from 'fast-url-parser';
|
9
8
|
import FastQuerystring from 'fast-querystring';
|
9
|
+
import FastUrl from 'fast-url-parser';
|
10
10
|
|
11
11
|
// Will be removed after v14 reaches EOL
|
12
12
|
class PonyfillAbortError extends Error {
|
package/package.json
CHANGED