@nexpress/wp-import 0.3.3 → 0.3.5
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.js +3 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1331,7 +1331,9 @@ async function fetchWithRedirects(originalUrl, opts) {
|
|
|
1331
1331
|
signal: opts.signal,
|
|
1332
1332
|
redirect: "manual"
|
|
1333
1333
|
};
|
|
1334
|
-
if (dispatcher)
|
|
1334
|
+
if (dispatcher) {
|
|
1335
|
+
init.dispatcher = dispatcher;
|
|
1336
|
+
}
|
|
1335
1337
|
const res = await opts.fetchImpl(currentUrl, init);
|
|
1336
1338
|
if (isRedirectStatus(res.status)) {
|
|
1337
1339
|
const next = res.headers.get("location");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexpress/wp-import",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "WordPress (WXR) importer for NexPress — HTML to Lexical conversion, media pipeline, taxonomies, comments.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Nexpress",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"fast-xml-parser": "^5.7.0",
|
|
40
40
|
"node-html-parser": "^7.0.1",
|
|
41
|
-
"undici": "^
|
|
42
|
-
"@nexpress/core": "0.3.
|
|
41
|
+
"undici": "^8.3.0",
|
|
42
|
+
"@nexpress/core": "0.3.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"tsup": "^8.5.0",
|