rezo 1.0.115 → 1.0.116
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/adapters/entries/curl.d.ts +2 -4
- package/dist/adapters/entries/fetch.d.ts +2 -4
- package/dist/adapters/entries/http.d.ts +2 -4
- package/dist/adapters/entries/http2.d.ts +2 -4
- package/dist/adapters/entries/react-native.d.ts +2 -4
- package/dist/adapters/entries/xhr.d.ts +2 -4
- package/dist/adapters/index.cjs +6 -6
- package/dist/cache/index.cjs +9 -9
- package/dist/cookies/cookie-jar.cjs +4 -4
- package/dist/cookies/index.cjs +10 -10
- package/dist/crawler/index.cjs +42 -42
- package/dist/crawler/plugin/index.cjs +1 -1
- package/dist/crawler.d.ts +1 -3
- package/dist/entries/crawler.cjs +6 -6
- package/dist/index.cjs +44 -44
- package/dist/index.d.ts +2 -4
- package/dist/internal/agents/index.cjs +14 -14
- package/dist/platform/browser.d.ts +2 -4
- package/dist/platform/bun.d.ts +2 -4
- package/dist/platform/deno.d.ts +2 -4
- package/dist/platform/node.d.ts +2 -4
- package/dist/platform/react-native.d.ts +2 -4
- package/dist/platform/worker.d.ts +2 -4
- package/dist/proxy/index.cjs +4 -4
- package/dist/queue/index.cjs +8 -8
- package/dist/responses/universal/index.cjs +11 -11
- package/dist/stealth/index.cjs +17 -17
- package/dist/stealth/profiles/index.cjs +10 -10
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/wget/index.cjs +51 -51
- package/dist/wget/index.d.ts +1 -3
- package/package.json +1 -1
|
@@ -2732,8 +2732,6 @@ declare class RezoStealth {
|
|
|
2732
2732
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2733
2733
|
}
|
|
2734
2734
|
export type queueOptions = QueueConfig;
|
|
2735
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2736
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2737
2735
|
export interface CacheConfig {
|
|
2738
2736
|
/** Response cache configuration */
|
|
2739
2737
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2789,7 +2787,7 @@ export interface RezoDefaultOptions {
|
|
|
2789
2787
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2790
2788
|
* ```
|
|
2791
2789
|
*/
|
|
2792
|
-
queue?: RezoQueue<any> |
|
|
2790
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2793
2791
|
/**
|
|
2794
2792
|
* @deprecated Use `queue` instead
|
|
2795
2793
|
* Legacy queue options format
|
|
@@ -5673,7 +5671,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5673
5671
|
*
|
|
5674
5672
|
* IMPORTANT: Update these values when bumping package version.
|
|
5675
5673
|
*/
|
|
5676
|
-
export declare const VERSION = "1.0.
|
|
5674
|
+
export declare const VERSION = "1.0.116";
|
|
5677
5675
|
/**
|
|
5678
5676
|
* cURL Options Configuration
|
|
5679
5677
|
*
|
|
@@ -2732,8 +2732,6 @@ declare class RezoStealth {
|
|
|
2732
2732
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2733
2733
|
}
|
|
2734
2734
|
export type queueOptions = QueueConfig;
|
|
2735
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2736
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2737
2735
|
export interface CacheConfig {
|
|
2738
2736
|
/** Response cache configuration */
|
|
2739
2737
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2789,7 +2787,7 @@ export interface RezoDefaultOptions {
|
|
|
2789
2787
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2790
2788
|
* ```
|
|
2791
2789
|
*/
|
|
2792
|
-
queue?: RezoQueue<any> |
|
|
2790
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2793
2791
|
/**
|
|
2794
2792
|
* @deprecated Use `queue` instead
|
|
2795
2793
|
* Legacy queue options format
|
|
@@ -5673,7 +5671,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5673
5671
|
*
|
|
5674
5672
|
* IMPORTANT: Update these values when bumping package version.
|
|
5675
5673
|
*/
|
|
5676
|
-
export declare const VERSION = "1.0.
|
|
5674
|
+
export declare const VERSION = "1.0.116";
|
|
5677
5675
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5678
5676
|
export declare const Cancel: typeof RezoError;
|
|
5679
5677
|
export declare const CancelToken: {
|
|
@@ -2732,8 +2732,6 @@ export declare class RezoStealth {
|
|
|
2732
2732
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2733
2733
|
}
|
|
2734
2734
|
export type queueOptions = QueueConfig;
|
|
2735
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2736
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2737
2735
|
export interface CacheConfig {
|
|
2738
2736
|
/** Response cache configuration */
|
|
2739
2737
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2789,7 +2787,7 @@ export interface RezoDefaultOptions {
|
|
|
2789
2787
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2790
2788
|
* ```
|
|
2791
2789
|
*/
|
|
2792
|
-
queue?: RezoQueue<any> |
|
|
2790
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2793
2791
|
/**
|
|
2794
2792
|
* @deprecated Use `queue` instead
|
|
2795
2793
|
* Legacy queue options format
|
|
@@ -5673,7 +5671,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5673
5671
|
*
|
|
5674
5672
|
* IMPORTANT: Update these values when bumping package version.
|
|
5675
5673
|
*/
|
|
5676
|
-
export declare const VERSION = "1.0.
|
|
5674
|
+
export declare const VERSION = "1.0.116";
|
|
5677
5675
|
/**
|
|
5678
5676
|
* Type guard to check if an error is a RezoError instance.
|
|
5679
5677
|
*/
|
|
@@ -2732,8 +2732,6 @@ export declare class RezoStealth {
|
|
|
2732
2732
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2733
2733
|
}
|
|
2734
2734
|
export type queueOptions = QueueConfig;
|
|
2735
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2736
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2737
2735
|
export interface CacheConfig {
|
|
2738
2736
|
/** Response cache configuration */
|
|
2739
2737
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2789,7 +2787,7 @@ export interface RezoDefaultOptions {
|
|
|
2789
2787
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2790
2788
|
* ```
|
|
2791
2789
|
*/
|
|
2792
|
-
queue?: RezoQueue<any> |
|
|
2790
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2793
2791
|
/**
|
|
2794
2792
|
* @deprecated Use `queue` instead
|
|
2795
2793
|
* Legacy queue options format
|
|
@@ -5673,7 +5671,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5673
5671
|
*
|
|
5674
5672
|
* IMPORTANT: Update these values when bumping package version.
|
|
5675
5673
|
*/
|
|
5676
|
-
export declare const VERSION = "1.0.
|
|
5674
|
+
export declare const VERSION = "1.0.116";
|
|
5677
5675
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5678
5676
|
export declare const Cancel: typeof RezoError;
|
|
5679
5677
|
export declare const CancelToken: {
|
|
@@ -2732,8 +2732,6 @@ declare class RezoStealth {
|
|
|
2732
2732
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2733
2733
|
}
|
|
2734
2734
|
export type queueOptions = QueueConfig;
|
|
2735
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2736
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2737
2735
|
export interface CacheConfig {
|
|
2738
2736
|
/** Response cache configuration */
|
|
2739
2737
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2789,7 +2787,7 @@ export interface RezoDefaultOptions {
|
|
|
2789
2787
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2790
2788
|
* ```
|
|
2791
2789
|
*/
|
|
2792
|
-
queue?: RezoQueue<any> |
|
|
2790
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2793
2791
|
/**
|
|
2794
2792
|
* @deprecated Use `queue` instead
|
|
2795
2793
|
* Legacy queue options format
|
|
@@ -5673,7 +5671,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5673
5671
|
*
|
|
5674
5672
|
* IMPORTANT: Update these values when bumping package version.
|
|
5675
5673
|
*/
|
|
5676
|
-
export declare const VERSION = "1.0.
|
|
5674
|
+
export declare const VERSION = "1.0.116";
|
|
5677
5675
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5678
5676
|
export declare const Cancel: typeof RezoError;
|
|
5679
5677
|
export declare const CancelToken: {
|
|
@@ -2732,8 +2732,6 @@ declare class RezoStealth {
|
|
|
2732
2732
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2733
2733
|
}
|
|
2734
2734
|
export type queueOptions = QueueConfig;
|
|
2735
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2736
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2737
2735
|
export interface CacheConfig {
|
|
2738
2736
|
/** Response cache configuration */
|
|
2739
2737
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2789,7 +2787,7 @@ export interface RezoDefaultOptions {
|
|
|
2789
2787
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2790
2788
|
* ```
|
|
2791
2789
|
*/
|
|
2792
|
-
queue?: RezoQueue<any> |
|
|
2790
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2793
2791
|
/**
|
|
2794
2792
|
* @deprecated Use `queue` instead
|
|
2795
2793
|
* Legacy queue options format
|
|
@@ -5673,7 +5671,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5673
5671
|
*
|
|
5674
5672
|
* IMPORTANT: Update these values when bumping package version.
|
|
5675
5673
|
*/
|
|
5676
|
-
export declare const VERSION = "1.0.
|
|
5674
|
+
export declare const VERSION = "1.0.116";
|
|
5677
5675
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5678
5676
|
export declare const Cancel: typeof RezoError;
|
|
5679
5677
|
export declare const CancelToken: {
|
package/dist/adapters/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.detectRuntime =
|
|
3
|
-
exports.getAdapterCapabilities =
|
|
4
|
-
exports.buildAdapterContext =
|
|
5
|
-
exports.getAvailableAdapters =
|
|
6
|
-
exports.selectAdapter =
|
|
1
|
+
const _mod_ro7ovs = require('./picker.cjs');
|
|
2
|
+
exports.detectRuntime = _mod_ro7ovs.detectRuntime;
|
|
3
|
+
exports.getAdapterCapabilities = _mod_ro7ovs.getAdapterCapabilities;
|
|
4
|
+
exports.buildAdapterContext = _mod_ro7ovs.buildAdapterContext;
|
|
5
|
+
exports.getAvailableAdapters = _mod_ro7ovs.getAvailableAdapters;
|
|
6
|
+
exports.selectAdapter = _mod_ro7ovs.selectAdapter;;
|
package/dist/cache/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.LRUCache =
|
|
3
|
-
const
|
|
4
|
-
exports.DNSCache =
|
|
5
|
-
exports.getGlobalDNSCache =
|
|
6
|
-
exports.resetGlobalDNSCache =
|
|
7
|
-
const
|
|
8
|
-
exports.ResponseCache =
|
|
9
|
-
exports.normalizeResponseCacheConfig =
|
|
1
|
+
const _mod_nv1th8 = require('./lru-cache.cjs');
|
|
2
|
+
exports.LRUCache = _mod_nv1th8.LRUCache;;
|
|
3
|
+
const _mod_eru5vj = require('./dns-cache.cjs');
|
|
4
|
+
exports.DNSCache = _mod_eru5vj.DNSCache;
|
|
5
|
+
exports.getGlobalDNSCache = _mod_eru5vj.getGlobalDNSCache;
|
|
6
|
+
exports.resetGlobalDNSCache = _mod_eru5vj.resetGlobalDNSCache;;
|
|
7
|
+
const _mod_o91tzc = require('./response-cache.cjs');
|
|
8
|
+
exports.ResponseCache = _mod_o91tzc.ResponseCache;
|
|
9
|
+
exports.normalizeResponseCacheConfig = _mod_o91tzc.normalizeResponseCacheConfig;;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { CookieJar: TouchCookieJar } = require("tough-cookie");
|
|
2
2
|
const { Cookie } = require('./cookie.cjs');
|
|
3
|
-
const
|
|
4
|
-
exports.Cookie =
|
|
3
|
+
const _mod_gw383j = require('./cookie.cjs');
|
|
4
|
+
exports.Cookie = _mod_gw383j.Cookie;;
|
|
5
5
|
|
|
6
6
|
class RezoCookieJar extends TouchCookieJar {
|
|
7
7
|
constructor(store, options) {
|
|
@@ -470,7 +470,7 @@ class RezoCookieJar extends TouchCookieJar {
|
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
472
|
const CookieJar = exports.CookieJar = RezoCookieJar;
|
|
473
|
-
const
|
|
474
|
-
exports.Store =
|
|
473
|
+
const _mod_dnioqc = require("tough-cookie");
|
|
474
|
+
exports.Store = _mod_dnioqc.Store;;
|
|
475
475
|
|
|
476
476
|
exports.RezoCookieJar = RezoCookieJar;
|
package/dist/cookies/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.Cookie =
|
|
3
|
-
exports.RezoCookie =
|
|
4
|
-
const
|
|
5
|
-
exports.RezoCookieStore =
|
|
6
|
-
const
|
|
7
|
-
exports.RezoCookieJar =
|
|
8
|
-
exports.CookieJar =
|
|
9
|
-
const
|
|
10
|
-
exports.Store =
|
|
1
|
+
const _mod_ytkggg = require('./cookie.cjs');
|
|
2
|
+
exports.Cookie = _mod_ytkggg.Cookie;
|
|
3
|
+
exports.RezoCookie = _mod_ytkggg.RezoCookie;;
|
|
4
|
+
const _mod_9kkilw = require('./cookie-store.cjs');
|
|
5
|
+
exports.RezoCookieStore = _mod_9kkilw.RezoCookieStore;;
|
|
6
|
+
const _mod_piz3a8 = require('./cookie-jar.cjs');
|
|
7
|
+
exports.RezoCookieJar = _mod_piz3a8.RezoCookieJar;
|
|
8
|
+
exports.CookieJar = _mod_piz3a8.CookieJar;;
|
|
9
|
+
const _mod_525466 = require("tough-cookie");
|
|
10
|
+
exports.Store = _mod_525466.Store;;
|
package/dist/crawler/index.cjs
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.Crawler =
|
|
3
|
-
const
|
|
4
|
-
exports.CrawlerOptions =
|
|
5
|
-
const
|
|
6
|
-
exports.RobotsTxt =
|
|
7
|
-
const
|
|
8
|
-
exports.FileCacher =
|
|
9
|
-
const
|
|
10
|
-
exports.UrlStore =
|
|
11
|
-
const
|
|
12
|
-
exports.NavigationHistory =
|
|
13
|
-
const
|
|
14
|
-
exports.Oxylabs =
|
|
15
|
-
const
|
|
16
|
-
exports.OXYLABS_BROWSER_TYPES =
|
|
17
|
-
exports.OXYLABS_COMMON_LOCALES =
|
|
18
|
-
exports.OXYLABS_COMMON_GEO_LOCATIONS =
|
|
19
|
-
exports.OXYLABS_US_STATES =
|
|
20
|
-
exports.OXYLABS_EUROPEAN_COUNTRIES =
|
|
21
|
-
exports.OXYLABS_ASIAN_COUNTRIES =
|
|
22
|
-
exports.getRandomOxylabsBrowserType =
|
|
23
|
-
exports.getRandomOxylabsLocale =
|
|
24
|
-
exports.getRandomOxylabsGeoLocation =
|
|
25
|
-
const
|
|
26
|
-
exports.isRestrictedDomain =
|
|
27
|
-
const
|
|
28
|
-
exports.Decodo =
|
|
29
|
-
const
|
|
30
|
-
exports.DECODO_DEVICE_TYPES =
|
|
31
|
-
exports.DECODO_HEADLESS_MODES =
|
|
32
|
-
exports.DECODO_COMMON_LOCALES =
|
|
33
|
-
exports.DECODO_COMMON_COUNTRIES =
|
|
34
|
-
exports.DECODO_EUROPEAN_COUNTRIES =
|
|
35
|
-
exports.DECODO_ASIAN_COUNTRIES =
|
|
36
|
-
exports.DECODO_US_STATES =
|
|
37
|
-
exports.DECODO_COMMON_CITIES =
|
|
38
|
-
exports.getRandomDecodoDeviceType =
|
|
39
|
-
exports.getRandomDecodoLocale =
|
|
40
|
-
exports.getRandomDecodoCountry =
|
|
41
|
-
exports.getRandomDecodoCity =
|
|
42
|
-
exports.generateDecodoSessionId =
|
|
1
|
+
const _mod_yygvcf = require('./crawler.cjs');
|
|
2
|
+
exports.Crawler = _mod_yygvcf.Crawler;;
|
|
3
|
+
const _mod_8hlyo8 = require('./crawler-options.cjs');
|
|
4
|
+
exports.CrawlerOptions = _mod_8hlyo8.CrawlerOptions;;
|
|
5
|
+
const _mod_62z0tq = require('./plugin/robots-txt.cjs');
|
|
6
|
+
exports.RobotsTxt = _mod_62z0tq.RobotsTxt;;
|
|
7
|
+
const _mod_q1d9ij = require('./plugin/file-cacher.cjs');
|
|
8
|
+
exports.FileCacher = _mod_q1d9ij.FileCacher;;
|
|
9
|
+
const _mod_b5gk2h = require('./plugin/url-store.cjs');
|
|
10
|
+
exports.UrlStore = _mod_b5gk2h.UrlStore;;
|
|
11
|
+
const _mod_ap107e = require('./plugin/navigation-history.cjs');
|
|
12
|
+
exports.NavigationHistory = _mod_ap107e.NavigationHistory;;
|
|
13
|
+
const _mod_7pe6wp = require('./addon/oxylabs/index.cjs');
|
|
14
|
+
exports.Oxylabs = _mod_7pe6wp.Oxylabs;;
|
|
15
|
+
const _mod_wofkfd = require('./addon/oxylabs/options.cjs');
|
|
16
|
+
exports.OXYLABS_BROWSER_TYPES = _mod_wofkfd.OXYLABS_BROWSER_TYPES;
|
|
17
|
+
exports.OXYLABS_COMMON_LOCALES = _mod_wofkfd.OXYLABS_COMMON_LOCALES;
|
|
18
|
+
exports.OXYLABS_COMMON_GEO_LOCATIONS = _mod_wofkfd.OXYLABS_COMMON_GEO_LOCATIONS;
|
|
19
|
+
exports.OXYLABS_US_STATES = _mod_wofkfd.OXYLABS_US_STATES;
|
|
20
|
+
exports.OXYLABS_EUROPEAN_COUNTRIES = _mod_wofkfd.OXYLABS_EUROPEAN_COUNTRIES;
|
|
21
|
+
exports.OXYLABS_ASIAN_COUNTRIES = _mod_wofkfd.OXYLABS_ASIAN_COUNTRIES;
|
|
22
|
+
exports.getRandomOxylabsBrowserType = _mod_wofkfd.getRandomBrowserType;
|
|
23
|
+
exports.getRandomOxylabsLocale = _mod_wofkfd.getRandomLocale;
|
|
24
|
+
exports.getRandomOxylabsGeoLocation = _mod_wofkfd.getRandomGeoLocation;;
|
|
25
|
+
const _mod_lwzlfw = require('./scraper.cjs');
|
|
26
|
+
exports.isRestrictedDomain = _mod_lwzlfw.isRestrictedDomain;;
|
|
27
|
+
const _mod_pn4szy = require('./addon/decodo/index.cjs');
|
|
28
|
+
exports.Decodo = _mod_pn4szy.Decodo;;
|
|
29
|
+
const _mod_dfevg5 = require('./addon/decodo/options.cjs');
|
|
30
|
+
exports.DECODO_DEVICE_TYPES = _mod_dfevg5.DECODO_DEVICE_TYPES;
|
|
31
|
+
exports.DECODO_HEADLESS_MODES = _mod_dfevg5.DECODO_HEADLESS_MODES;
|
|
32
|
+
exports.DECODO_COMMON_LOCALES = _mod_dfevg5.DECODO_COMMON_LOCALES;
|
|
33
|
+
exports.DECODO_COMMON_COUNTRIES = _mod_dfevg5.DECODO_COMMON_COUNTRIES;
|
|
34
|
+
exports.DECODO_EUROPEAN_COUNTRIES = _mod_dfevg5.DECODO_EUROPEAN_COUNTRIES;
|
|
35
|
+
exports.DECODO_ASIAN_COUNTRIES = _mod_dfevg5.DECODO_ASIAN_COUNTRIES;
|
|
36
|
+
exports.DECODO_US_STATES = _mod_dfevg5.DECODO_US_STATES;
|
|
37
|
+
exports.DECODO_COMMON_CITIES = _mod_dfevg5.DECODO_COMMON_CITIES;
|
|
38
|
+
exports.getRandomDecodoDeviceType = _mod_dfevg5.getRandomDeviceType;
|
|
39
|
+
exports.getRandomDecodoLocale = _mod_dfevg5.getRandomLocale;
|
|
40
|
+
exports.getRandomDecodoCountry = _mod_dfevg5.getRandomCountry;
|
|
41
|
+
exports.getRandomDecodoCity = _mod_dfevg5.getRandomCity;
|
|
42
|
+
exports.generateDecodoSessionId = _mod_dfevg5.generateSessionId;;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e=require("./file-cacher.cjs");exports.FileCacher=e.FileCacher;var r=require("./url-store.cjs");exports.UrlStore=r.UrlStore;var o=require("./result-stream.cjs");exports.ResultStream=o.ResultStream;var t=require("./memory-monitor.cjs");exports.MemoryMonitor=t.MemoryMonitor;var a=require("./health-metrics.cjs");exports.HealthMetrics=a.HealthMetrics;var
|
|
1
|
+
var e=require("./file-cacher.cjs");exports.FileCacher=e.FileCacher;var r=require("./url-store.cjs");exports.UrlStore=r.UrlStore;var o=require("./result-stream.cjs");exports.ResultStream=o.ResultStream;var t=require("./memory-monitor.cjs");exports.MemoryMonitor=t.MemoryMonitor;var a=require("./health-metrics.cjs");exports.HealthMetrics=a.HealthMetrics;var s=require("./capped-map.cjs");exports.CappedMap=s.CappedMap;var i=require("./capped-array.cjs");exports.CappedArray=i.CappedArray;
|
package/dist/crawler.d.ts
CHANGED
|
@@ -2853,8 +2853,6 @@ declare class RezoStealth {
|
|
|
2853
2853
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2854
2854
|
}
|
|
2855
2855
|
export type queueOptions = QueueConfig;
|
|
2856
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2857
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2858
2856
|
export interface CacheConfig {
|
|
2859
2857
|
/** Response cache configuration */
|
|
2860
2858
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2910,7 +2908,7 @@ export interface RezoDefaultOptions {
|
|
|
2910
2908
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2911
2909
|
* ```
|
|
2912
2910
|
*/
|
|
2913
|
-
queue?: RezoQueue<any> |
|
|
2911
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2914
2912
|
/**
|
|
2915
2913
|
* @deprecated Use `queue` instead
|
|
2916
2914
|
* Legacy queue options format
|
package/dist/entries/crawler.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.Crawler =
|
|
3
|
-
const
|
|
4
|
-
exports.CrawlerOptions =
|
|
5
|
-
const
|
|
6
|
-
exports.isRestrictedDomain =
|
|
1
|
+
const _mod_bsdc10 = require('../crawler/crawler.cjs');
|
|
2
|
+
exports.Crawler = _mod_bsdc10.Crawler;;
|
|
3
|
+
const _mod_yq5gpw = require('../crawler/crawler-options.cjs');
|
|
4
|
+
exports.CrawlerOptions = _mod_yq5gpw.CrawlerOptions;;
|
|
5
|
+
const _mod_xw4xbm = require('../crawler/scraper.cjs');
|
|
6
|
+
exports.isRestrictedDomain = _mod_xw4xbm.isRestrictedDomain;;
|
package/dist/index.cjs
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.Rezo =
|
|
3
|
-
exports.createRezoInstance =
|
|
4
|
-
exports.createDefaultInstance =
|
|
5
|
-
const
|
|
6
|
-
exports.RezoError =
|
|
7
|
-
exports.RezoErrorCode =
|
|
8
|
-
const
|
|
9
|
-
exports.RezoHeaders =
|
|
10
|
-
const
|
|
11
|
-
exports.RezoFormData =
|
|
12
|
-
const
|
|
13
|
-
exports.RezoCookieJar =
|
|
14
|
-
exports.CookieJar =
|
|
15
|
-
exports.Cookie =
|
|
16
|
-
exports.Store =
|
|
17
|
-
const
|
|
18
|
-
exports.RezoCookieStore =
|
|
19
|
-
const
|
|
20
|
-
exports.toCurl =
|
|
21
|
-
exports.fromCurl =
|
|
22
|
-
const
|
|
23
|
-
exports.createDefaultHooks =
|
|
24
|
-
exports.mergeHooks =
|
|
25
|
-
const
|
|
26
|
-
exports.RequestInterceptorManager =
|
|
27
|
-
exports.ResponseInterceptorManager =
|
|
28
|
-
const
|
|
29
|
-
exports.ProxyManager =
|
|
30
|
-
const
|
|
31
|
-
exports.RezoStealth =
|
|
32
|
-
const
|
|
33
|
-
exports.listProfiles =
|
|
34
|
-
exports.getProfile =
|
|
35
|
-
exports.getProfilesByFamily =
|
|
36
|
-
const
|
|
37
|
-
exports.RezoQueue =
|
|
38
|
-
exports.HttpQueue =
|
|
39
|
-
exports.RezoHttpQueue =
|
|
40
|
-
exports.Priority =
|
|
41
|
-
exports.HttpMethodPriority =
|
|
1
|
+
const _mod_obt1ex = require('./core/rezo.cjs');
|
|
2
|
+
exports.Rezo = _mod_obt1ex.Rezo;
|
|
3
|
+
exports.createRezoInstance = _mod_obt1ex.createRezoInstance;
|
|
4
|
+
exports.createDefaultInstance = _mod_obt1ex.createDefaultInstance;;
|
|
5
|
+
const _mod_xl18b6 = require('./errors/rezo-error.cjs');
|
|
6
|
+
exports.RezoError = _mod_xl18b6.RezoError;
|
|
7
|
+
exports.RezoErrorCode = _mod_xl18b6.RezoErrorCode;;
|
|
8
|
+
const _mod_drhr9g = require('./utils/headers.cjs');
|
|
9
|
+
exports.RezoHeaders = _mod_drhr9g.RezoHeaders;;
|
|
10
|
+
const _mod_jttsda = require('./utils/form-data.cjs');
|
|
11
|
+
exports.RezoFormData = _mod_jttsda.RezoFormData;;
|
|
12
|
+
const _mod_nz9vpv = require('./cookies/cookie-jar.cjs');
|
|
13
|
+
exports.RezoCookieJar = _mod_nz9vpv.RezoCookieJar;
|
|
14
|
+
exports.CookieJar = _mod_nz9vpv.CookieJar;
|
|
15
|
+
exports.Cookie = _mod_nz9vpv.Cookie;
|
|
16
|
+
exports.Store = _mod_nz9vpv.Store;;
|
|
17
|
+
const _mod_bibqut = require('./cookies/cookie-store.cjs');
|
|
18
|
+
exports.RezoCookieStore = _mod_bibqut.RezoCookieStore;;
|
|
19
|
+
const _mod_xd4420 = require('./utils/curl.cjs');
|
|
20
|
+
exports.toCurl = _mod_xd4420.toCurl;
|
|
21
|
+
exports.fromCurl = _mod_xd4420.fromCurl;;
|
|
22
|
+
const _mod_qpa9vm = require('./core/hooks.cjs');
|
|
23
|
+
exports.createDefaultHooks = _mod_qpa9vm.createDefaultHooks;
|
|
24
|
+
exports.mergeHooks = _mod_qpa9vm.mergeHooks;;
|
|
25
|
+
const _mod_itsnvs = require('./core/interceptor-manager.cjs');
|
|
26
|
+
exports.RequestInterceptorManager = _mod_itsnvs.RequestInterceptorManager;
|
|
27
|
+
exports.ResponseInterceptorManager = _mod_itsnvs.ResponseInterceptorManager;;
|
|
28
|
+
const _mod_zlpv3m = require('./proxy/manager.cjs');
|
|
29
|
+
exports.ProxyManager = _mod_zlpv3m.ProxyManager;;
|
|
30
|
+
const _mod_t1b5k6 = require('./stealth/stealth.cjs');
|
|
31
|
+
exports.RezoStealth = _mod_t1b5k6.RezoStealth;;
|
|
32
|
+
const _mod_xdgc7y = require('./stealth/profiles/index.cjs');
|
|
33
|
+
exports.listProfiles = _mod_xdgc7y.listProfiles;
|
|
34
|
+
exports.getProfile = _mod_xdgc7y.getProfile;
|
|
35
|
+
exports.getProfilesByFamily = _mod_xdgc7y.getProfilesByFamily;;
|
|
36
|
+
const _mod_4at1iv = require('./queue/index.cjs');
|
|
37
|
+
exports.RezoQueue = _mod_4at1iv.RezoQueue;
|
|
38
|
+
exports.HttpQueue = _mod_4at1iv.HttpQueue;
|
|
39
|
+
exports.RezoHttpQueue = _mod_4at1iv.HttpQueue;
|
|
40
|
+
exports.Priority = _mod_4at1iv.Priority;
|
|
41
|
+
exports.HttpMethodPriority = _mod_4at1iv.HttpMethodPriority;;
|
|
42
42
|
const { RezoError } = require('./errors/rezo-error.cjs');
|
|
43
43
|
const isRezoError = exports.isRezoError = RezoError.isRezoError;
|
|
44
44
|
const Cancel = exports.Cancel = RezoError;
|
|
@@ -48,9 +48,9 @@ const isCancel = exports.isCancel = (error) => {
|
|
|
48
48
|
};
|
|
49
49
|
const all = exports.all = Promise.all.bind(Promise);
|
|
50
50
|
const spread = exports.spread = (callback) => (array) => callback(...array);
|
|
51
|
-
const
|
|
52
|
-
exports.VERSION =
|
|
53
|
-
exports.PACKAGE_NAME =
|
|
51
|
+
const _mod_bqbkgh = require('./version.cjs');
|
|
52
|
+
exports.VERSION = _mod_bqbkgh.VERSION;
|
|
53
|
+
exports.PACKAGE_NAME = _mod_bqbkgh.PACKAGE_NAME;;
|
|
54
54
|
const { executeRequest } = require('./adapters/http.cjs');
|
|
55
55
|
const { setGlobalAdapter, createRezoInstance } = require('./core/rezo.cjs');
|
|
56
56
|
setGlobalAdapter(executeRequest);
|
package/dist/index.d.ts
CHANGED
|
@@ -2856,8 +2856,6 @@ export declare class RezoStealth {
|
|
|
2856
2856
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2857
2857
|
}
|
|
2858
2858
|
export type queueOptions = QueueConfig;
|
|
2859
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2860
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2861
2859
|
export interface CacheConfig {
|
|
2862
2860
|
/** Response cache configuration */
|
|
2863
2861
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2913,7 +2911,7 @@ export interface RezoDefaultOptions {
|
|
|
2913
2911
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2914
2912
|
* ```
|
|
2915
2913
|
*/
|
|
2916
|
-
queue?: RezoQueue<any> |
|
|
2914
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2917
2915
|
/**
|
|
2918
2916
|
* @deprecated Use `queue` instead
|
|
2919
2917
|
* Legacy queue options format
|
|
@@ -5909,7 +5907,7 @@ export declare function listProfiles(): string[];
|
|
|
5909
5907
|
*
|
|
5910
5908
|
* IMPORTANT: Update these values when bumping package version.
|
|
5911
5909
|
*/
|
|
5912
|
-
export declare const VERSION = "1.0.
|
|
5910
|
+
export declare const VERSION = "1.0.116";
|
|
5913
5911
|
export declare const PACKAGE_NAME = "rezo";
|
|
5914
5912
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5915
5913
|
export declare const Cancel: typeof RezoError;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.Agent =
|
|
3
|
-
const
|
|
4
|
-
exports.HttpProxyAgent =
|
|
5
|
-
const
|
|
6
|
-
exports.HttpsProxyAgent =
|
|
7
|
-
const
|
|
8
|
-
exports.SocksProxyAgent =
|
|
9
|
-
const
|
|
10
|
-
exports.SocksClient =
|
|
11
|
-
const
|
|
12
|
-
exports.bunHttp =
|
|
13
|
-
exports.isBunRuntime =
|
|
14
|
-
exports.isBunSocksRequest =
|
|
1
|
+
const _mod_c3ko6j = require('./base.cjs');
|
|
2
|
+
exports.Agent = _mod_c3ko6j.Agent;;
|
|
3
|
+
const _mod_id1q7r = require('./http-proxy.cjs');
|
|
4
|
+
exports.HttpProxyAgent = _mod_id1q7r.HttpProxyAgent;;
|
|
5
|
+
const _mod_q87yoi = require('./https-proxy.cjs');
|
|
6
|
+
exports.HttpsProxyAgent = _mod_q87yoi.HttpsProxyAgent;;
|
|
7
|
+
const _mod_kim7vx = require('./socks-proxy.cjs');
|
|
8
|
+
exports.SocksProxyAgent = _mod_kim7vx.SocksProxyAgent;;
|
|
9
|
+
const _mod_asn3z6 = require('./socks-client.cjs');
|
|
10
|
+
exports.SocksClient = _mod_asn3z6.SocksClient;;
|
|
11
|
+
const _mod_i2er88 = require('./bun-socks-http.cjs');
|
|
12
|
+
exports.bunHttp = _mod_i2er88.bunHttp;
|
|
13
|
+
exports.isBunRuntime = _mod_i2er88.isBunRuntime;
|
|
14
|
+
exports.isBunSocksRequest = _mod_i2er88.isBunSocksRequest;;
|
|
@@ -2732,8 +2732,6 @@ declare class RezoStealth {
|
|
|
2732
2732
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2733
2733
|
}
|
|
2734
2734
|
export type queueOptions = QueueConfig;
|
|
2735
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2736
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2737
2735
|
export interface CacheConfig {
|
|
2738
2736
|
/** Response cache configuration */
|
|
2739
2737
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2789,7 +2787,7 @@ export interface RezoDefaultOptions {
|
|
|
2789
2787
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2790
2788
|
* ```
|
|
2791
2789
|
*/
|
|
2792
|
-
queue?: RezoQueue<any> |
|
|
2790
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2793
2791
|
/**
|
|
2794
2792
|
* @deprecated Use `queue` instead
|
|
2795
2793
|
* Legacy queue options format
|
|
@@ -5673,7 +5671,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5673
5671
|
*
|
|
5674
5672
|
* IMPORTANT: Update these values when bumping package version.
|
|
5675
5673
|
*/
|
|
5676
|
-
export declare const VERSION = "1.0.
|
|
5674
|
+
export declare const VERSION = "1.0.116";
|
|
5677
5675
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5678
5676
|
export declare const Cancel: typeof RezoError;
|
|
5679
5677
|
export declare const CancelToken: {
|
package/dist/platform/bun.d.ts
CHANGED
|
@@ -2732,8 +2732,6 @@ declare class RezoStealth {
|
|
|
2732
2732
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2733
2733
|
}
|
|
2734
2734
|
export type queueOptions = QueueConfig;
|
|
2735
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2736
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2737
2735
|
export interface CacheConfig {
|
|
2738
2736
|
/** Response cache configuration */
|
|
2739
2737
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2789,7 +2787,7 @@ export interface RezoDefaultOptions {
|
|
|
2789
2787
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2790
2788
|
* ```
|
|
2791
2789
|
*/
|
|
2792
|
-
queue?: RezoQueue<any> |
|
|
2790
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2793
2791
|
/**
|
|
2794
2792
|
* @deprecated Use `queue` instead
|
|
2795
2793
|
* Legacy queue options format
|
|
@@ -5673,7 +5671,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5673
5671
|
*
|
|
5674
5672
|
* IMPORTANT: Update these values when bumping package version.
|
|
5675
5673
|
*/
|
|
5676
|
-
export declare const VERSION = "1.0.
|
|
5674
|
+
export declare const VERSION = "1.0.116";
|
|
5677
5675
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5678
5676
|
export declare const Cancel: typeof RezoError;
|
|
5679
5677
|
export declare const CancelToken: {
|
package/dist/platform/deno.d.ts
CHANGED
|
@@ -2732,8 +2732,6 @@ declare class RezoStealth {
|
|
|
2732
2732
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2733
2733
|
}
|
|
2734
2734
|
export type queueOptions = QueueConfig;
|
|
2735
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2736
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2737
2735
|
export interface CacheConfig {
|
|
2738
2736
|
/** Response cache configuration */
|
|
2739
2737
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2789,7 +2787,7 @@ export interface RezoDefaultOptions {
|
|
|
2789
2787
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2790
2788
|
* ```
|
|
2791
2789
|
*/
|
|
2792
|
-
queue?: RezoQueue<any> |
|
|
2790
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2793
2791
|
/**
|
|
2794
2792
|
* @deprecated Use `queue` instead
|
|
2795
2793
|
* Legacy queue options format
|
|
@@ -5673,7 +5671,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5673
5671
|
*
|
|
5674
5672
|
* IMPORTANT: Update these values when bumping package version.
|
|
5675
5673
|
*/
|
|
5676
|
-
export declare const VERSION = "1.0.
|
|
5674
|
+
export declare const VERSION = "1.0.116";
|
|
5677
5675
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5678
5676
|
export declare const Cancel: typeof RezoError;
|
|
5679
5677
|
export declare const CancelToken: {
|
package/dist/platform/node.d.ts
CHANGED
|
@@ -2732,8 +2732,6 @@ declare class RezoStealth {
|
|
|
2732
2732
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2733
2733
|
}
|
|
2734
2734
|
export type queueOptions = QueueConfig;
|
|
2735
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2736
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2737
2735
|
export interface CacheConfig {
|
|
2738
2736
|
/** Response cache configuration */
|
|
2739
2737
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2789,7 +2787,7 @@ export interface RezoDefaultOptions {
|
|
|
2789
2787
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2790
2788
|
* ```
|
|
2791
2789
|
*/
|
|
2792
|
-
queue?: RezoQueue<any> |
|
|
2790
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2793
2791
|
/**
|
|
2794
2792
|
* @deprecated Use `queue` instead
|
|
2795
2793
|
* Legacy queue options format
|
|
@@ -5673,7 +5671,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5673
5671
|
*
|
|
5674
5672
|
* IMPORTANT: Update these values when bumping package version.
|
|
5675
5673
|
*/
|
|
5676
|
-
export declare const VERSION = "1.0.
|
|
5674
|
+
export declare const VERSION = "1.0.116";
|
|
5677
5675
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5678
5676
|
export declare const Cancel: typeof RezoError;
|
|
5679
5677
|
export declare const CancelToken: {
|
|
@@ -2732,8 +2732,6 @@ declare class RezoStealth {
|
|
|
2732
2732
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2733
2733
|
}
|
|
2734
2734
|
export type queueOptions = QueueConfig;
|
|
2735
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2736
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2737
2735
|
export interface CacheConfig {
|
|
2738
2736
|
/** Response cache configuration */
|
|
2739
2737
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2789,7 +2787,7 @@ export interface RezoDefaultOptions {
|
|
|
2789
2787
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2790
2788
|
* ```
|
|
2791
2789
|
*/
|
|
2792
|
-
queue?: RezoQueue<any> |
|
|
2790
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2793
2791
|
/**
|
|
2794
2792
|
* @deprecated Use `queue` instead
|
|
2795
2793
|
* Legacy queue options format
|
|
@@ -5673,7 +5671,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5673
5671
|
*
|
|
5674
5672
|
* IMPORTANT: Update these values when bumping package version.
|
|
5675
5673
|
*/
|
|
5676
|
-
export declare const VERSION = "1.0.
|
|
5674
|
+
export declare const VERSION = "1.0.116";
|
|
5677
5675
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5678
5676
|
export declare const Cancel: typeof RezoError;
|
|
5679
5677
|
export declare const CancelToken: {
|
|
@@ -2732,8 +2732,6 @@ declare class RezoStealth {
|
|
|
2732
2732
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
2733
2733
|
}
|
|
2734
2734
|
export type queueOptions = QueueConfig;
|
|
2735
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
2736
|
-
export type RezoHttpQueue = HttpQueue;
|
|
2737
2735
|
export interface CacheConfig {
|
|
2738
2736
|
/** Response cache configuration */
|
|
2739
2737
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -2789,7 +2787,7 @@ export interface RezoDefaultOptions {
|
|
|
2789
2787
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
2790
2788
|
* ```
|
|
2791
2789
|
*/
|
|
2792
|
-
queue?: RezoQueue<any> |
|
|
2790
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
2793
2791
|
/**
|
|
2794
2792
|
* @deprecated Use `queue` instead
|
|
2795
2793
|
* Legacy queue options format
|
|
@@ -5673,7 +5671,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5673
5671
|
*
|
|
5674
5672
|
* IMPORTANT: Update these values when bumping package version.
|
|
5675
5673
|
*/
|
|
5676
|
-
export declare const VERSION = "1.0.
|
|
5674
|
+
export declare const VERSION = "1.0.116";
|
|
5677
5675
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5678
5676
|
export declare const Cancel: typeof RezoError;
|
|
5679
5677
|
export declare const CancelToken: {
|
package/dist/proxy/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const { Agent, HttpProxyAgent, HttpsProxyAgent, SocksProxyAgent } = require('../internal/agents/index.cjs');
|
|
2
2
|
const { parseProxyString } = require('./parse.cjs');
|
|
3
|
-
const
|
|
4
|
-
exports.ProxyManager =
|
|
5
|
-
const
|
|
6
|
-
exports.parseProxyString =
|
|
3
|
+
const _mod_5l6zmx = require('./manager.cjs');
|
|
4
|
+
exports.ProxyManager = _mod_5l6zmx.ProxyManager;;
|
|
5
|
+
const _mod_kwp7fg = require('./parse.cjs');
|
|
6
|
+
exports.parseProxyString = _mod_kwp7fg.parseProxyString;;
|
|
7
7
|
function createOptions(uri, opts) {
|
|
8
8
|
if (uri instanceof URL || typeof uri === "string") {
|
|
9
9
|
return {
|
package/dist/queue/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.RezoQueue =
|
|
3
|
-
const
|
|
4
|
-
exports.HttpQueue =
|
|
5
|
-
exports.extractDomain =
|
|
6
|
-
const
|
|
7
|
-
exports.Priority =
|
|
8
|
-
exports.HttpMethodPriority =
|
|
1
|
+
const _mod_sx4lxu = require('./queue.cjs');
|
|
2
|
+
exports.RezoQueue = _mod_sx4lxu.RezoQueue;;
|
|
3
|
+
const _mod_fjo7xa = require('./http-queue.cjs');
|
|
4
|
+
exports.HttpQueue = _mod_fjo7xa.HttpQueue;
|
|
5
|
+
exports.extractDomain = _mod_fjo7xa.extractDomain;;
|
|
6
|
+
const _mod_1bhefk = require('./types.cjs');
|
|
7
|
+
exports.Priority = _mod_1bhefk.Priority;
|
|
8
|
+
exports.HttpMethodPriority = _mod_1bhefk.HttpMethodPriority;;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.UniversalEventEmitter =
|
|
3
|
-
const
|
|
4
|
-
exports.UniversalStreamResponse =
|
|
5
|
-
exports.StreamResponse =
|
|
6
|
-
const
|
|
7
|
-
exports.UniversalDownloadResponse =
|
|
8
|
-
exports.DownloadResponse =
|
|
9
|
-
const
|
|
10
|
-
exports.UniversalUploadResponse =
|
|
11
|
-
exports.UploadResponse =
|
|
1
|
+
const _mod_zu1j8c = require('./event-emitter.cjs');
|
|
2
|
+
exports.UniversalEventEmitter = _mod_zu1j8c.UniversalEventEmitter;;
|
|
3
|
+
const _mod_h4tyvi = require('./stream.cjs');
|
|
4
|
+
exports.UniversalStreamResponse = _mod_h4tyvi.UniversalStreamResponse;
|
|
5
|
+
exports.StreamResponse = _mod_h4tyvi.StreamResponse;;
|
|
6
|
+
const _mod_nhdbj4 = require('./download.cjs');
|
|
7
|
+
exports.UniversalDownloadResponse = _mod_nhdbj4.UniversalDownloadResponse;
|
|
8
|
+
exports.DownloadResponse = _mod_nhdbj4.DownloadResponse;;
|
|
9
|
+
const _mod_blovng = require('./upload.cjs');
|
|
10
|
+
exports.UniversalUploadResponse = _mod_blovng.UniversalUploadResponse;
|
|
11
|
+
exports.UploadResponse = _mod_blovng.UploadResponse;;
|
package/dist/stealth/index.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.RezoStealth =
|
|
3
|
-
const
|
|
4
|
-
exports.createSecureContext =
|
|
5
|
-
exports.buildTlsOptions =
|
|
6
|
-
const
|
|
7
|
-
exports.resolveProfile =
|
|
8
|
-
exports.detectProfileFromUserAgent =
|
|
9
|
-
const
|
|
10
|
-
exports.getProfile =
|
|
11
|
-
exports.getProfilesByFamily =
|
|
12
|
-
exports.getProfilesByDevice =
|
|
13
|
-
exports.getRandomProfile =
|
|
14
|
-
exports.getRandomProfileByFamily =
|
|
15
|
-
exports.listProfiles =
|
|
16
|
-
exports.listProfilesByFamily =
|
|
17
|
-
exports.PROFILE_REGISTRY =
|
|
1
|
+
const _mod_94dsqe = require('./stealth.cjs');
|
|
2
|
+
exports.RezoStealth = _mod_94dsqe.RezoStealth;;
|
|
3
|
+
const _mod_ljyhss = require('./tls-fingerprint.cjs');
|
|
4
|
+
exports.createSecureContext = _mod_ljyhss.createSecureContext;
|
|
5
|
+
exports.buildTlsOptions = _mod_ljyhss.buildTlsOptions;;
|
|
6
|
+
const _mod_ip7iqw = require('./resolver.cjs');
|
|
7
|
+
exports.resolveProfile = _mod_ip7iqw.resolveProfile;
|
|
8
|
+
exports.detectProfileFromUserAgent = _mod_ip7iqw.detectProfileFromUserAgent;;
|
|
9
|
+
const _mod_4ct9lf = require('./profiles/index.cjs');
|
|
10
|
+
exports.getProfile = _mod_4ct9lf.getProfile;
|
|
11
|
+
exports.getProfilesByFamily = _mod_4ct9lf.getProfilesByFamily;
|
|
12
|
+
exports.getProfilesByDevice = _mod_4ct9lf.getProfilesByDevice;
|
|
13
|
+
exports.getRandomProfile = _mod_4ct9lf.getRandomProfile;
|
|
14
|
+
exports.getRandomProfileByFamily = _mod_4ct9lf.getRandomProfileByFamily;
|
|
15
|
+
exports.listProfiles = _mod_4ct9lf.listProfiles;
|
|
16
|
+
exports.listProfilesByFamily = _mod_4ct9lf.listProfilesByFamily;
|
|
17
|
+
exports.PROFILE_REGISTRY = _mod_4ct9lf.PROFILE_REGISTRY;;
|
|
@@ -43,16 +43,16 @@ function getRandomProfileByFamily(family) {
|
|
|
43
43
|
throw new Error(`No profiles found for family: ${family}`);
|
|
44
44
|
return profiles[Math.floor(Math.random() * profiles.length)];
|
|
45
45
|
}
|
|
46
|
-
const
|
|
47
|
-
exports.expandPseudoOrder =
|
|
48
|
-
const
|
|
49
|
-
exports.CHROME_PROFILES =
|
|
50
|
-
const
|
|
51
|
-
exports.FIREFOX_PROFILES =
|
|
52
|
-
const
|
|
53
|
-
exports.SAFARI_PROFILES =
|
|
54
|
-
const
|
|
55
|
-
exports.EDGE_PROFILES =
|
|
46
|
+
const _mod_3v776b = require('./constants.cjs');
|
|
47
|
+
exports.expandPseudoOrder = _mod_3v776b.expandPseudoOrder;;
|
|
48
|
+
const _mod_v6yhuh = require('./chrome-profiles.cjs');
|
|
49
|
+
exports.CHROME_PROFILES = _mod_v6yhuh.CHROME_PROFILES;;
|
|
50
|
+
const _mod_9gmfio = require('./firefox-profiles.cjs');
|
|
51
|
+
exports.FIREFOX_PROFILES = _mod_9gmfio.FIREFOX_PROFILES;;
|
|
52
|
+
const _mod_ybwu40 = require('./safari-profiles.cjs');
|
|
53
|
+
exports.SAFARI_PROFILES = _mod_ybwu40.SAFARI_PROFILES;;
|
|
54
|
+
const _mod_s7rusg = require('./edge-profiles.cjs');
|
|
55
|
+
exports.EDGE_PROFILES = _mod_s7rusg.EDGE_PROFILES;;
|
|
56
56
|
|
|
57
57
|
exports.getProfile = getProfile;
|
|
58
58
|
exports.getProfilesByFamily = getProfilesByFamily;
|
package/dist/version.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const VERSION = exports.VERSION = "1.0.
|
|
1
|
+
const VERSION = exports.VERSION = "1.0.116";
|
|
2
2
|
const PACKAGE_NAME = exports.PACKAGE_NAME = "rezo";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "1.0.
|
|
1
|
+
export const VERSION = "1.0.116";
|
|
2
2
|
export const PACKAGE_NAME = "rezo";
|
package/dist/wget/index.cjs
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.WgetError =
|
|
3
|
-
const
|
|
4
|
-
exports.AssetExtractor =
|
|
5
|
-
const
|
|
6
|
-
exports.UrlFilter =
|
|
7
|
-
const
|
|
8
|
-
exports.FileWriter =
|
|
9
|
-
const
|
|
10
|
-
exports.RobotsHandler =
|
|
11
|
-
const
|
|
12
|
-
exports.ResumeHandler =
|
|
13
|
-
const
|
|
14
|
-
exports.ProgressReporter =
|
|
15
|
-
exports.ProgressTracker =
|
|
16
|
-
exports.parseSize =
|
|
17
|
-
const
|
|
18
|
-
exports.LinkConverter =
|
|
19
|
-
const
|
|
20
|
-
exports.StyleExtractor =
|
|
21
|
-
const
|
|
22
|
-
exports.Downloader =
|
|
23
|
-
const
|
|
24
|
-
exports.AssetOrganizer =
|
|
25
|
-
exports.DEFAULT_ASSET_FOLDERS =
|
|
26
|
-
const
|
|
27
|
-
exports.DownloadCache =
|
|
28
|
-
const
|
|
29
|
-
exports.EXECUTABLE_EXTENSIONS =
|
|
30
|
-
exports.ARCHIVE_EXTENSIONS =
|
|
31
|
-
exports.DOCUMENT_EXTENSIONS =
|
|
32
|
-
exports.IMAGE_EXTENSIONS =
|
|
33
|
-
exports.VIDEO_EXTENSIONS =
|
|
34
|
-
exports.AUDIO_EXTENSIONS =
|
|
35
|
-
exports.FONT_EXTENSIONS =
|
|
36
|
-
exports.WEB_ASSET_EXTENSIONS =
|
|
37
|
-
exports.DATA_EXTENSIONS =
|
|
38
|
-
exports.EXECUTABLE_MIME_TYPES =
|
|
39
|
-
exports.ARCHIVE_MIME_TYPES =
|
|
40
|
-
exports.DOCUMENT_MIME_TYPES =
|
|
41
|
-
exports.IMAGE_MIME_TYPES =
|
|
42
|
-
exports.VIDEO_MIME_TYPES =
|
|
43
|
-
exports.AUDIO_MIME_TYPES =
|
|
44
|
-
exports.FONT_MIME_TYPES =
|
|
45
|
-
exports.WEB_ASSET_MIME_TYPES =
|
|
46
|
-
exports.DATA_MIME_TYPES =
|
|
47
|
-
exports.SAFE_WEB_PRESET =
|
|
48
|
-
exports.DOCUMENTS_ONLY_PRESET =
|
|
49
|
-
exports.NO_MEDIA_PRESET =
|
|
50
|
-
exports.MINIMAL_MIRROR_PRESET =
|
|
51
|
-
exports.TEXT_ONLY_PRESET =
|
|
1
|
+
const _mod_a3m00h = require('./types.cjs');
|
|
2
|
+
exports.WgetError = _mod_a3m00h.WgetError;;
|
|
3
|
+
const _mod_13scgn = require('./asset-extractor.cjs');
|
|
4
|
+
exports.AssetExtractor = _mod_13scgn.AssetExtractor;;
|
|
5
|
+
const _mod_bd3c10 = require('./url-filter.cjs');
|
|
6
|
+
exports.UrlFilter = _mod_bd3c10.UrlFilter;;
|
|
7
|
+
const _mod_r8rfyx = require('./file-writer.cjs');
|
|
8
|
+
exports.FileWriter = _mod_r8rfyx.FileWriter;;
|
|
9
|
+
const _mod_ob7lgf = require('./robots.cjs');
|
|
10
|
+
exports.RobotsHandler = _mod_ob7lgf.RobotsHandler;;
|
|
11
|
+
const _mod_qeqw04 = require('./resume.cjs');
|
|
12
|
+
exports.ResumeHandler = _mod_qeqw04.ResumeHandler;;
|
|
13
|
+
const _mod_uorech = require('./progress.cjs');
|
|
14
|
+
exports.ProgressReporter = _mod_uorech.ProgressReporter;
|
|
15
|
+
exports.ProgressTracker = _mod_uorech.ProgressTracker;
|
|
16
|
+
exports.parseSize = _mod_uorech.parseSize;;
|
|
17
|
+
const _mod_yapyna = require('./link-converter.cjs');
|
|
18
|
+
exports.LinkConverter = _mod_yapyna.LinkConverter;;
|
|
19
|
+
const _mod_nssz5s = require('./style-extractor.cjs');
|
|
20
|
+
exports.StyleExtractor = _mod_nssz5s.StyleExtractor;;
|
|
21
|
+
const _mod_jszeyx = require('./downloader.cjs');
|
|
22
|
+
exports.Downloader = _mod_jszeyx.Downloader;;
|
|
23
|
+
const _mod_ljogki = require('./asset-organizer.cjs');
|
|
24
|
+
exports.AssetOrganizer = _mod_ljogki.AssetOrganizer;
|
|
25
|
+
exports.DEFAULT_ASSET_FOLDERS = _mod_ljogki.DEFAULT_ASSET_FOLDERS;;
|
|
26
|
+
const _mod_u410bv = require('./download-cache.cjs');
|
|
27
|
+
exports.DownloadCache = _mod_u410bv.DownloadCache;;
|
|
28
|
+
const _mod_at0cm1 = require('./filter-lists.cjs');
|
|
29
|
+
exports.EXECUTABLE_EXTENSIONS = _mod_at0cm1.EXECUTABLE_EXTENSIONS;
|
|
30
|
+
exports.ARCHIVE_EXTENSIONS = _mod_at0cm1.ARCHIVE_EXTENSIONS;
|
|
31
|
+
exports.DOCUMENT_EXTENSIONS = _mod_at0cm1.DOCUMENT_EXTENSIONS;
|
|
32
|
+
exports.IMAGE_EXTENSIONS = _mod_at0cm1.IMAGE_EXTENSIONS;
|
|
33
|
+
exports.VIDEO_EXTENSIONS = _mod_at0cm1.VIDEO_EXTENSIONS;
|
|
34
|
+
exports.AUDIO_EXTENSIONS = _mod_at0cm1.AUDIO_EXTENSIONS;
|
|
35
|
+
exports.FONT_EXTENSIONS = _mod_at0cm1.FONT_EXTENSIONS;
|
|
36
|
+
exports.WEB_ASSET_EXTENSIONS = _mod_at0cm1.WEB_ASSET_EXTENSIONS;
|
|
37
|
+
exports.DATA_EXTENSIONS = _mod_at0cm1.DATA_EXTENSIONS;
|
|
38
|
+
exports.EXECUTABLE_MIME_TYPES = _mod_at0cm1.EXECUTABLE_MIME_TYPES;
|
|
39
|
+
exports.ARCHIVE_MIME_TYPES = _mod_at0cm1.ARCHIVE_MIME_TYPES;
|
|
40
|
+
exports.DOCUMENT_MIME_TYPES = _mod_at0cm1.DOCUMENT_MIME_TYPES;
|
|
41
|
+
exports.IMAGE_MIME_TYPES = _mod_at0cm1.IMAGE_MIME_TYPES;
|
|
42
|
+
exports.VIDEO_MIME_TYPES = _mod_at0cm1.VIDEO_MIME_TYPES;
|
|
43
|
+
exports.AUDIO_MIME_TYPES = _mod_at0cm1.AUDIO_MIME_TYPES;
|
|
44
|
+
exports.FONT_MIME_TYPES = _mod_at0cm1.FONT_MIME_TYPES;
|
|
45
|
+
exports.WEB_ASSET_MIME_TYPES = _mod_at0cm1.WEB_ASSET_MIME_TYPES;
|
|
46
|
+
exports.DATA_MIME_TYPES = _mod_at0cm1.DATA_MIME_TYPES;
|
|
47
|
+
exports.SAFE_WEB_PRESET = _mod_at0cm1.SAFE_WEB_PRESET;
|
|
48
|
+
exports.DOCUMENTS_ONLY_PRESET = _mod_at0cm1.DOCUMENTS_ONLY_PRESET;
|
|
49
|
+
exports.NO_MEDIA_PRESET = _mod_at0cm1.NO_MEDIA_PRESET;
|
|
50
|
+
exports.MINIMAL_MIRROR_PRESET = _mod_at0cm1.MINIMAL_MIRROR_PRESET;
|
|
51
|
+
exports.TEXT_ONLY_PRESET = _mod_at0cm1.TEXT_ONLY_PRESET;;
|
|
52
52
|
const { Downloader } = require('./downloader.cjs');
|
|
53
53
|
const rezo = require('../index.cjs');
|
|
54
54
|
const { promises: fs } = require("node:fs");
|
package/dist/wget/index.d.ts
CHANGED
|
@@ -5629,8 +5629,6 @@ declare class RezoStealth {
|
|
|
5629
5629
|
static fromUserAgent(userAgent: string): RezoStealth;
|
|
5630
5630
|
}
|
|
5631
5631
|
export type queueOptions = QueueConfig;
|
|
5632
|
-
/** Type alias for RezoHttpQueue (same as HttpQueue) */
|
|
5633
|
-
export type RezoHttpQueue = HttpQueue;
|
|
5634
5632
|
export interface CacheConfig {
|
|
5635
5633
|
/** Response cache configuration */
|
|
5636
5634
|
response?: boolean | ResponseCacheConfig;
|
|
@@ -5686,7 +5684,7 @@ export interface RezoDefaultOptions {
|
|
|
5686
5684
|
* const client = rezo.create({ queue: { concurrency: 5 } });
|
|
5687
5685
|
* ```
|
|
5688
5686
|
*/
|
|
5689
|
-
queue?: RezoQueue<any> |
|
|
5687
|
+
queue?: RezoQueue<any> | HttpQueue | QueueConfig | HttpQueueConfig;
|
|
5690
5688
|
/**
|
|
5691
5689
|
* @deprecated Use `queue` instead
|
|
5692
5690
|
* Legacy queue options format
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rezo",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.116",
|
|
4
4
|
"description": "Lightning-fast, enterprise-grade HTTP client for modern JavaScript. Full HTTP/2 support, intelligent cookie management, multiple adapters (HTTP, Fetch, cURL, XHR), streaming, proxy support (HTTP/HTTPS/SOCKS), and cross-environment compatibility.",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|