chore: update to version 14.0.11 and align website URLs

This commit is contained in:
2026-01-11 11:34:13 +03:00
parent ef74383349
commit 19c8d69bd8
1499 changed files with 53633 additions and 89 deletions
+2
View File
@@ -0,0 +1,2 @@
export { packageInfo } from './packageInfo.js';
export declare const fetch: typeof globalThis.fetch;
+3
View File
@@ -0,0 +1,3 @@
import { xglobal } from '@pezkuwi/x-global';
export { packageInfo } from './packageInfo.js';
export const fetch = xglobal.fetch;
+2
View File
@@ -0,0 +1,2 @@
export { packageInfo } from './packageInfo.js';
export declare const fetch: typeof globalThis.fetch;
+7
View File
@@ -0,0 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fetch = exports.packageInfo = void 0;
const x_global_1 = require("@pezkuwi/x-global");
var packageInfo_js_1 = require("./packageInfo.js");
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_js_1.packageInfo; } });
exports.fetch = x_global_1.xglobal.fetch;
+2
View File
@@ -0,0 +1,2 @@
export { packageInfo } from './packageInfo.js';
export declare const fetch: typeof globalThis.fetch;
+19
View File
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fetch = exports.packageInfo = void 0;
const x_global_1 = require("@pezkuwi/x-global");
var packageInfo_js_1 = require("./packageInfo.js");
Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_js_1.packageInfo; } });
const importFetch = import('node-fetch').catch(() => null);
let modFn = null;
async function nodeFetch(...args) {
if (!modFn) {
const mod = await importFetch;
if (!mod?.default) {
throw new Error('Unable to import node-fetch in this environment');
}
modFn = mod.default;
}
return modFn(...args);
}
exports.fetch = (0, x_global_1.extractGlobal)('fetch', nodeFetch);
+3
View File
@@ -0,0 +1,3 @@
{
"type": "commonjs"
}
+6
View File
@@ -0,0 +1,6 @@
export declare const packageInfo: {
name: string;
path: string;
type: string;
version: string;
};
+4
View File
@@ -0,0 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.packageInfo = void 0;
exports.packageInfo = { name: '@pezkuwi/x-fetch', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '14.0.10' };
+1
View File
@@ -0,0 +1 @@
export * from './browser.js';
+4
View File
@@ -0,0 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./browser.js"), exports);
+1
View File
@@ -0,0 +1 @@
export {};
+5
View File
@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const x_fetch_1 = require("@pezkuwi/x-fetch");
const x_global_1 = require("@pezkuwi/x-global");
(0, x_global_1.exposeGlobal)('fetch', x_fetch_1.fetch);
+2
View File
@@ -0,0 +1,2 @@
export { packageInfo } from './packageInfo.js';
export declare const fetch: typeof globalThis.fetch;
+15
View File
@@ -0,0 +1,15 @@
import { extractGlobal } from '@pezkuwi/x-global';
export { packageInfo } from './packageInfo.js';
const importFetch = import('node-fetch').catch(() => null);
let modFn = null;
async function nodeFetch(...args) {
if (!modFn) {
const mod = await importFetch;
if (!mod?.default) {
throw new Error('Unable to import node-fetch in this environment');
}
modFn = mod.default;
}
return modFn(...args);
}
export const fetch = /*#__PURE__*/ extractGlobal('fetch', nodeFetch);
+158 -5
View File
@@ -15,12 +15,165 @@
},
"sideEffects": false,
"type": "module",
"version": "14.0.10",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"version": "14.0.11",
"main": "./cjs/node.js",
"module": "./node.js",
"browser": "./cjs/browser.js",
"react-native": "./cjs/react-native.js",
"types": "./node.d.ts",
"exports": {
"./cjs/package.json": "./cjs/package.json",
"./cjs/*": "./cjs/*.js",
".": {
"types": "./node.d.ts",
"react-native": {
"module": {
"types": "./react-native.d.ts",
"default": "./react-native.js"
},
"require": {
"types": "./cjs/react-native.d.ts",
"default": "./cjs/react-native.js"
},
"default": {
"types": "./react-native.d.ts",
"default": "./react-native.js"
}
},
"browser": {
"module": {
"types": "./browser.d.ts",
"default": "./browser.js"
},
"require": {
"types": "./cjs/browser.d.ts",
"default": "./cjs/browser.js"
},
"default": {
"types": "./browser.d.ts",
"default": "./browser.js"
}
},
"node": {
"module": {
"types": "./node.d.ts",
"default": "./node.js"
},
"require": {
"types": "./cjs/node.d.ts",
"default": "./cjs/node.js"
},
"default": {
"types": "./node.d.ts",
"default": "./node.js"
}
}
},
"./browser": {
"module": {
"types": "./browser.d.ts",
"default": "./browser.js"
},
"require": {
"types": "./cjs/browser.d.ts",
"default": "./cjs/browser.js"
},
"default": {
"types": "./browser.d.ts",
"default": "./browser.js"
}
},
"./node": {
"module": {
"types": "./node.d.ts",
"default": "./node.js"
},
"require": {
"types": "./cjs/node.d.ts",
"default": "./cjs/node.js"
},
"default": {
"types": "./node.d.ts",
"default": "./node.js"
}
},
"./package.json": {
"require": "./cjs/package.json",
"default": "./package.json"
},
"./packageInfo.js": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./packageInfo": {
"module": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
},
"require": {
"types": "./cjs/packageInfo.d.ts",
"default": "./cjs/packageInfo.js"
},
"default": {
"types": "./packageInfo.d.ts",
"default": "./packageInfo.js"
}
},
"./react-native": {
"module": {
"types": "./react-native.d.ts",
"default": "./react-native.js"
},
"require": {
"types": "./cjs/react-native.d.ts",
"default": "./cjs/react-native.js"
},
"default": {
"types": "./react-native.d.ts",
"default": "./react-native.js"
}
},
"./shim.js": {
"module": {
"types": "./shim.d.ts",
"default": "./shim.js"
},
"require": {
"types": "./cjs/shim.d.ts",
"default": "./cjs/shim.js"
},
"default": {
"types": "./shim.d.ts",
"default": "./shim.js"
}
},
"./shim": {
"module": {
"types": "./shim.d.ts",
"default": "./shim.js"
},
"require": {
"types": "./cjs/shim.d.ts",
"default": "./cjs/shim.js"
},
"default": {
"types": "./shim.d.ts",
"default": "./shim.js"
}
}
},
"dependencies": {
"@pezkuwi/x-global": "workspace:*",
"@pezkuwi/x-global": "14.0.11",
"node-fetch": "^3.3.2",
"tslib": "^2.8.0"
}
+6
View File
@@ -0,0 +1,6 @@
export declare const packageInfo: {
name: string;
path: string;
type: string;
version: string;
};
+1
View File
@@ -0,0 +1 @@
export const packageInfo = { name: '@pezkuwi/x-fetch', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '14.0.10' };
+1
View File
@@ -0,0 +1 @@
export * from './browser.js';
+1
View File
@@ -0,0 +1 @@
export * from './browser.js';
+1
View File
@@ -0,0 +1 @@
export {};
+3
View File
@@ -0,0 +1,3 @@
import { fetch } from '@pezkuwi/x-fetch';
import { exposeGlobal } from '@pezkuwi/x-global';
exposeGlobal('fetch', fetch);