rezo 1.0.100 → 1.0.101
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 -7
- package/dist/adapters/entries/fetch.d.ts +2 -7
- package/dist/adapters/entries/http.d.ts +2 -7
- package/dist/adapters/entries/http2.d.ts +2 -7
- package/dist/adapters/entries/react-native.d.ts +2 -7
- package/dist/adapters/entries/xhr.d.ts +2 -7
- 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 +12 -12
- package/dist/crawler/index.cjs +42 -42
- package/dist/crawler/plugin/index.cjs +1 -1
- package/dist/crawler.d.ts +1 -6
- package/dist/entries/crawler.cjs +6 -6
- package/dist/index.cjs +41 -41
- package/dist/index.d.ts +2 -7
- package/dist/internal/agents/index.cjs +14 -14
- package/dist/platform/browser.d.ts +2 -7
- package/dist/platform/bun.d.ts +2 -7
- package/dist/platform/deno.d.ts +2 -7
- package/dist/platform/node.d.ts +2 -7
- package/dist/platform/react-native.d.ts +2 -7
- package/dist/platform/worker.d.ts +2 -7
- package/dist/proxy/index.cjs +4 -4
- package/dist/queue/index.cjs +9 -9
- 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/stealth/stealth.cjs +17 -17
- package/dist/stealth/stealth.js +17 -17
- 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 -6
- package/package.json +1 -1
|
@@ -2665,12 +2665,7 @@ export interface ResolvedStealthProfile {
|
|
|
2665
2665
|
navigator: BrowserProfile["navigator"];
|
|
2666
2666
|
}
|
|
2667
2667
|
declare class RezoStealth {
|
|
2668
|
-
private
|
|
2669
|
-
private _resolved;
|
|
2670
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2671
|
-
private readonly _autoDetect;
|
|
2672
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2673
|
-
private readonly _rotate;
|
|
2668
|
+
#private;
|
|
2674
2669
|
/**
|
|
2675
2670
|
* Create a RezoStealth instance.
|
|
2676
2671
|
*
|
|
@@ -5514,7 +5509,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5514
5509
|
*
|
|
5515
5510
|
* IMPORTANT: Update these values when bumping package version.
|
|
5516
5511
|
*/
|
|
5517
|
-
export declare const VERSION = "1.0.
|
|
5512
|
+
export declare const VERSION = "1.0.101";
|
|
5518
5513
|
/**
|
|
5519
5514
|
* cURL Options Configuration
|
|
5520
5515
|
*
|
|
@@ -2665,12 +2665,7 @@ export interface ResolvedStealthProfile {
|
|
|
2665
2665
|
navigator: BrowserProfile["navigator"];
|
|
2666
2666
|
}
|
|
2667
2667
|
declare class RezoStealth {
|
|
2668
|
-
private
|
|
2669
|
-
private _resolved;
|
|
2670
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2671
|
-
private readonly _autoDetect;
|
|
2672
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2673
|
-
private readonly _rotate;
|
|
2668
|
+
#private;
|
|
2674
2669
|
/**
|
|
2675
2670
|
* Create a RezoStealth instance.
|
|
2676
2671
|
*
|
|
@@ -5514,7 +5509,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5514
5509
|
*
|
|
5515
5510
|
* IMPORTANT: Update these values when bumping package version.
|
|
5516
5511
|
*/
|
|
5517
|
-
export declare const VERSION = "1.0.
|
|
5512
|
+
export declare const VERSION = "1.0.101";
|
|
5518
5513
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5519
5514
|
export declare const Cancel: typeof RezoError;
|
|
5520
5515
|
export declare const CancelToken: {
|
|
@@ -2665,12 +2665,7 @@ export interface ResolvedStealthProfile {
|
|
|
2665
2665
|
navigator: BrowserProfile["navigator"];
|
|
2666
2666
|
}
|
|
2667
2667
|
declare class RezoStealth {
|
|
2668
|
-
private
|
|
2669
|
-
private _resolved;
|
|
2670
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2671
|
-
private readonly _autoDetect;
|
|
2672
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2673
|
-
private readonly _rotate;
|
|
2668
|
+
#private;
|
|
2674
2669
|
/**
|
|
2675
2670
|
* Create a RezoStealth instance.
|
|
2676
2671
|
*
|
|
@@ -5514,7 +5509,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5514
5509
|
*
|
|
5515
5510
|
* IMPORTANT: Update these values when bumping package version.
|
|
5516
5511
|
*/
|
|
5517
|
-
export declare const VERSION = "1.0.
|
|
5512
|
+
export declare const VERSION = "1.0.101";
|
|
5518
5513
|
/**
|
|
5519
5514
|
* Type guard to check if an error is a RezoError instance.
|
|
5520
5515
|
*/
|
|
@@ -2665,12 +2665,7 @@ export interface ResolvedStealthProfile {
|
|
|
2665
2665
|
navigator: BrowserProfile["navigator"];
|
|
2666
2666
|
}
|
|
2667
2667
|
declare class RezoStealth {
|
|
2668
|
-
private
|
|
2669
|
-
private _resolved;
|
|
2670
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2671
|
-
private readonly _autoDetect;
|
|
2672
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2673
|
-
private readonly _rotate;
|
|
2668
|
+
#private;
|
|
2674
2669
|
/**
|
|
2675
2670
|
* Create a RezoStealth instance.
|
|
2676
2671
|
*
|
|
@@ -5514,7 +5509,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5514
5509
|
*
|
|
5515
5510
|
* IMPORTANT: Update these values when bumping package version.
|
|
5516
5511
|
*/
|
|
5517
|
-
export declare const VERSION = "1.0.
|
|
5512
|
+
export declare const VERSION = "1.0.101";
|
|
5518
5513
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5519
5514
|
export declare const Cancel: typeof RezoError;
|
|
5520
5515
|
export declare const CancelToken: {
|
|
@@ -2665,12 +2665,7 @@ export interface ResolvedStealthProfile {
|
|
|
2665
2665
|
navigator: BrowserProfile["navigator"];
|
|
2666
2666
|
}
|
|
2667
2667
|
declare class RezoStealth {
|
|
2668
|
-
private
|
|
2669
|
-
private _resolved;
|
|
2670
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2671
|
-
private readonly _autoDetect;
|
|
2672
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2673
|
-
private readonly _rotate;
|
|
2668
|
+
#private;
|
|
2674
2669
|
/**
|
|
2675
2670
|
* Create a RezoStealth instance.
|
|
2676
2671
|
*
|
|
@@ -5514,7 +5509,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5514
5509
|
*
|
|
5515
5510
|
* IMPORTANT: Update these values when bumping package version.
|
|
5516
5511
|
*/
|
|
5517
|
-
export declare const VERSION = "1.0.
|
|
5512
|
+
export declare const VERSION = "1.0.101";
|
|
5518
5513
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5519
5514
|
export declare const Cancel: typeof RezoError;
|
|
5520
5515
|
export declare const CancelToken: {
|
|
@@ -2665,12 +2665,7 @@ export interface ResolvedStealthProfile {
|
|
|
2665
2665
|
navigator: BrowserProfile["navigator"];
|
|
2666
2666
|
}
|
|
2667
2667
|
declare class RezoStealth {
|
|
2668
|
-
private
|
|
2669
|
-
private _resolved;
|
|
2670
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2671
|
-
private readonly _autoDetect;
|
|
2672
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2673
|
-
private readonly _rotate;
|
|
2668
|
+
#private;
|
|
2674
2669
|
/**
|
|
2675
2670
|
* Create a RezoStealth instance.
|
|
2676
2671
|
*
|
|
@@ -5514,7 +5509,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5514
5509
|
*
|
|
5515
5510
|
* IMPORTANT: Update these values when bumping package version.
|
|
5516
5511
|
*/
|
|
5517
|
-
export declare const VERSION = "1.0.
|
|
5512
|
+
export declare const VERSION = "1.0.101";
|
|
5518
5513
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5519
5514
|
export declare const Cancel: typeof RezoError;
|
|
5520
5515
|
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_pr4vkd = require('./picker.cjs');
|
|
2
|
+
exports.detectRuntime = _mod_pr4vkd.detectRuntime;
|
|
3
|
+
exports.getAdapterCapabilities = _mod_pr4vkd.getAdapterCapabilities;
|
|
4
|
+
exports.buildAdapterContext = _mod_pr4vkd.buildAdapterContext;
|
|
5
|
+
exports.getAvailableAdapters = _mod_pr4vkd.getAvailableAdapters;
|
|
6
|
+
exports.selectAdapter = _mod_pr4vkd.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_btefna = require('./lru-cache.cjs');
|
|
2
|
+
exports.LRUCache = _mod_btefna.LRUCache;;
|
|
3
|
+
const _mod_49glpr = require('./dns-cache.cjs');
|
|
4
|
+
exports.DNSCache = _mod_49glpr.DNSCache;
|
|
5
|
+
exports.getGlobalDNSCache = _mod_49glpr.getGlobalDNSCache;
|
|
6
|
+
exports.resetGlobalDNSCache = _mod_49glpr.resetGlobalDNSCache;;
|
|
7
|
+
const _mod_wg653g = require('./response-cache.cjs');
|
|
8
|
+
exports.ResponseCache = _mod_wg653g.ResponseCache;
|
|
9
|
+
exports.normalizeResponseCacheConfig = _mod_wg653g.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_5y4kxz = require('./cookie.cjs');
|
|
4
|
+
exports.Cookie = _mod_5y4kxz.Cookie;;
|
|
5
5
|
|
|
6
6
|
class RezoCookieJar extends TouchCookieJar {
|
|
7
7
|
constructor(store, options) {
|
|
@@ -469,7 +469,7 @@ class RezoCookieJar extends TouchCookieJar {
|
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
const CookieJar = exports.CookieJar = RezoCookieJar;
|
|
472
|
-
const
|
|
473
|
-
exports.Store =
|
|
472
|
+
const _mod_vkc2vm = require("tough-cookie");
|
|
473
|
+
exports.Store = _mod_vkc2vm.Store;;
|
|
474
474
|
|
|
475
475
|
exports.RezoCookieJar = RezoCookieJar;
|
package/dist/cookies/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.Cookie =
|
|
3
|
-
exports.RezoCookie =
|
|
4
|
-
const
|
|
5
|
-
exports.RezoCookieStore =
|
|
6
|
-
const
|
|
7
|
-
exports.RezoFileCookieStore =
|
|
8
|
-
const
|
|
9
|
-
exports.RezoCookieJar =
|
|
10
|
-
exports.CookieJar =
|
|
11
|
-
const
|
|
12
|
-
exports.Store =
|
|
1
|
+
const _mod_z9pvi7 = require('./cookie.cjs');
|
|
2
|
+
exports.Cookie = _mod_z9pvi7.Cookie;
|
|
3
|
+
exports.RezoCookie = _mod_z9pvi7.RezoCookie;;
|
|
4
|
+
const _mod_wsk35i = require('./cookie-store.cjs');
|
|
5
|
+
exports.RezoCookieStore = _mod_wsk35i.RezoCookieStore;;
|
|
6
|
+
const _mod_etk8br = require('./file-store.cjs');
|
|
7
|
+
exports.RezoFileCookieStore = _mod_etk8br.RezoFileCookieStore;;
|
|
8
|
+
const _mod_01zn3y = require('./cookie-jar.cjs');
|
|
9
|
+
exports.RezoCookieJar = _mod_01zn3y.RezoCookieJar;
|
|
10
|
+
exports.CookieJar = _mod_01zn3y.CookieJar;;
|
|
11
|
+
const _mod_jld9zp = require("tough-cookie");
|
|
12
|
+
exports.Store = _mod_jld9zp.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_jowerg = require('./crawler.cjs');
|
|
2
|
+
exports.Crawler = _mod_jowerg.Crawler;;
|
|
3
|
+
const _mod_56t6n7 = require('./crawler-options.cjs');
|
|
4
|
+
exports.CrawlerOptions = _mod_56t6n7.CrawlerOptions;;
|
|
5
|
+
const _mod_e7y88w = require('./plugin/robots-txt.cjs');
|
|
6
|
+
exports.RobotsTxt = _mod_e7y88w.RobotsTxt;;
|
|
7
|
+
const _mod_3wxws8 = require('./plugin/file-cacher.cjs');
|
|
8
|
+
exports.FileCacher = _mod_3wxws8.FileCacher;;
|
|
9
|
+
const _mod_5wsptt = require('./plugin/url-store.cjs');
|
|
10
|
+
exports.UrlStore = _mod_5wsptt.UrlStore;;
|
|
11
|
+
const _mod_uhecvj = require('./plugin/navigation-history.cjs');
|
|
12
|
+
exports.NavigationHistory = _mod_uhecvj.NavigationHistory;;
|
|
13
|
+
const _mod_khkz56 = require('./addon/oxylabs/index.cjs');
|
|
14
|
+
exports.Oxylabs = _mod_khkz56.Oxylabs;;
|
|
15
|
+
const _mod_uh9g15 = require('./addon/oxylabs/options.cjs');
|
|
16
|
+
exports.OXYLABS_BROWSER_TYPES = _mod_uh9g15.OXYLABS_BROWSER_TYPES;
|
|
17
|
+
exports.OXYLABS_COMMON_LOCALES = _mod_uh9g15.OXYLABS_COMMON_LOCALES;
|
|
18
|
+
exports.OXYLABS_COMMON_GEO_LOCATIONS = _mod_uh9g15.OXYLABS_COMMON_GEO_LOCATIONS;
|
|
19
|
+
exports.OXYLABS_US_STATES = _mod_uh9g15.OXYLABS_US_STATES;
|
|
20
|
+
exports.OXYLABS_EUROPEAN_COUNTRIES = _mod_uh9g15.OXYLABS_EUROPEAN_COUNTRIES;
|
|
21
|
+
exports.OXYLABS_ASIAN_COUNTRIES = _mod_uh9g15.OXYLABS_ASIAN_COUNTRIES;
|
|
22
|
+
exports.getRandomOxylabsBrowserType = _mod_uh9g15.getRandomBrowserType;
|
|
23
|
+
exports.getRandomOxylabsLocale = _mod_uh9g15.getRandomLocale;
|
|
24
|
+
exports.getRandomOxylabsGeoLocation = _mod_uh9g15.getRandomGeoLocation;;
|
|
25
|
+
const _mod_84eviu = require('./scraper.cjs');
|
|
26
|
+
exports.isRestrictedDomain = _mod_84eviu.isRestrictedDomain;;
|
|
27
|
+
const _mod_8982rh = require('./addon/decodo/index.cjs');
|
|
28
|
+
exports.Decodo = _mod_8982rh.Decodo;;
|
|
29
|
+
const _mod_j84pa0 = require('./addon/decodo/options.cjs');
|
|
30
|
+
exports.DECODO_DEVICE_TYPES = _mod_j84pa0.DECODO_DEVICE_TYPES;
|
|
31
|
+
exports.DECODO_HEADLESS_MODES = _mod_j84pa0.DECODO_HEADLESS_MODES;
|
|
32
|
+
exports.DECODO_COMMON_LOCALES = _mod_j84pa0.DECODO_COMMON_LOCALES;
|
|
33
|
+
exports.DECODO_COMMON_COUNTRIES = _mod_j84pa0.DECODO_COMMON_COUNTRIES;
|
|
34
|
+
exports.DECODO_EUROPEAN_COUNTRIES = _mod_j84pa0.DECODO_EUROPEAN_COUNTRIES;
|
|
35
|
+
exports.DECODO_ASIAN_COUNTRIES = _mod_j84pa0.DECODO_ASIAN_COUNTRIES;
|
|
36
|
+
exports.DECODO_US_STATES = _mod_j84pa0.DECODO_US_STATES;
|
|
37
|
+
exports.DECODO_COMMON_CITIES = _mod_j84pa0.DECODO_COMMON_CITIES;
|
|
38
|
+
exports.getRandomDecodoDeviceType = _mod_j84pa0.getRandomDeviceType;
|
|
39
|
+
exports.getRandomDecodoLocale = _mod_j84pa0.getRandomLocale;
|
|
40
|
+
exports.getRandomDecodoCountry = _mod_j84pa0.getRandomCountry;
|
|
41
|
+
exports.getRandomDecodoCity = _mod_j84pa0.getRandomCity;
|
|
42
|
+
exports.generateDecodoSessionId = _mod_j84pa0.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 d=require("./capped-map.cjs");exports.CappedMap=d.CappedMap;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 d=require("./capped-map.cjs");exports.CappedMap=d.CappedMap;var m=require("./capped-array.cjs");exports.CappedArray=m.CappedArray;
|
package/dist/crawler.d.ts
CHANGED
|
@@ -2784,12 +2784,7 @@ export interface ResolvedStealthProfile {
|
|
|
2784
2784
|
navigator: BrowserProfile["navigator"];
|
|
2785
2785
|
}
|
|
2786
2786
|
declare class RezoStealth {
|
|
2787
|
-
private
|
|
2788
|
-
private _resolved;
|
|
2789
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2790
|
-
private readonly _autoDetect;
|
|
2791
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2792
|
-
private readonly _rotate;
|
|
2787
|
+
#private;
|
|
2793
2788
|
/**
|
|
2794
2789
|
* Create a RezoStealth instance.
|
|
2795
2790
|
*
|
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_efj02f = require('../crawler/crawler.cjs');
|
|
2
|
+
exports.Crawler = _mod_efj02f.Crawler;;
|
|
3
|
+
const _mod_dt1lbg = require('../crawler/crawler-options.cjs');
|
|
4
|
+
exports.CrawlerOptions = _mod_dt1lbg.CrawlerOptions;;
|
|
5
|
+
const _mod_fsqeuz = require('../crawler/scraper.cjs');
|
|
6
|
+
exports.isRestrictedDomain = _mod_fsqeuz.isRestrictedDomain;;
|
package/dist/index.cjs
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
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.ProxyManager =
|
|
27
|
-
const
|
|
28
|
-
exports.RezoStealth =
|
|
29
|
-
const
|
|
30
|
-
exports.listProfiles =
|
|
31
|
-
exports.getProfile =
|
|
32
|
-
exports.getProfilesByFamily =
|
|
33
|
-
const
|
|
34
|
-
exports.RezoQueue =
|
|
35
|
-
exports.HttpQueue =
|
|
36
|
-
exports.RezoHttpQueue =
|
|
37
|
-
exports.Priority =
|
|
38
|
-
exports.HttpMethodPriority =
|
|
1
|
+
const _mod_oi5el5 = require('./core/rezo.cjs');
|
|
2
|
+
exports.Rezo = _mod_oi5el5.Rezo;
|
|
3
|
+
exports.createRezoInstance = _mod_oi5el5.createRezoInstance;
|
|
4
|
+
exports.createDefaultInstance = _mod_oi5el5.createDefaultInstance;;
|
|
5
|
+
const _mod_kfvhrn = require('./errors/rezo-error.cjs');
|
|
6
|
+
exports.RezoError = _mod_kfvhrn.RezoError;
|
|
7
|
+
exports.RezoErrorCode = _mod_kfvhrn.RezoErrorCode;;
|
|
8
|
+
const _mod_0i4q77 = require('./utils/headers.cjs');
|
|
9
|
+
exports.RezoHeaders = _mod_0i4q77.RezoHeaders;;
|
|
10
|
+
const _mod_slhhie = require('./utils/form-data.cjs');
|
|
11
|
+
exports.RezoFormData = _mod_slhhie.RezoFormData;;
|
|
12
|
+
const _mod_a2whgw = require('./cookies/cookie-jar.cjs');
|
|
13
|
+
exports.RezoCookieJar = _mod_a2whgw.RezoCookieJar;
|
|
14
|
+
exports.CookieJar = _mod_a2whgw.CookieJar;
|
|
15
|
+
exports.Cookie = _mod_a2whgw.Cookie;
|
|
16
|
+
exports.Store = _mod_a2whgw.Store;;
|
|
17
|
+
const _mod_mlxhro = require('./cookies/cookie-store.cjs');
|
|
18
|
+
exports.RezoCookieStore = _mod_mlxhro.RezoCookieStore;;
|
|
19
|
+
const _mod_b5csgg = require('./utils/curl.cjs');
|
|
20
|
+
exports.toCurl = _mod_b5csgg.toCurl;
|
|
21
|
+
exports.fromCurl = _mod_b5csgg.fromCurl;;
|
|
22
|
+
const _mod_bc9u6l = require('./core/hooks.cjs');
|
|
23
|
+
exports.createDefaultHooks = _mod_bc9u6l.createDefaultHooks;
|
|
24
|
+
exports.mergeHooks = _mod_bc9u6l.mergeHooks;;
|
|
25
|
+
const _mod_ydpx72 = require('./proxy/manager.cjs');
|
|
26
|
+
exports.ProxyManager = _mod_ydpx72.ProxyManager;;
|
|
27
|
+
const _mod_msdp6u = require('./stealth/stealth.cjs');
|
|
28
|
+
exports.RezoStealth = _mod_msdp6u.RezoStealth;;
|
|
29
|
+
const _mod_i03c4e = require('./stealth/profiles/index.cjs');
|
|
30
|
+
exports.listProfiles = _mod_i03c4e.listProfiles;
|
|
31
|
+
exports.getProfile = _mod_i03c4e.getProfile;
|
|
32
|
+
exports.getProfilesByFamily = _mod_i03c4e.getProfilesByFamily;;
|
|
33
|
+
const _mod_rqpsfn = require('./queue/index.cjs');
|
|
34
|
+
exports.RezoQueue = _mod_rqpsfn.RezoQueue;
|
|
35
|
+
exports.HttpQueue = _mod_rqpsfn.HttpQueue;
|
|
36
|
+
exports.RezoHttpQueue = _mod_rqpsfn.RezoHttpQueue;
|
|
37
|
+
exports.Priority = _mod_rqpsfn.Priority;
|
|
38
|
+
exports.HttpMethodPriority = _mod_rqpsfn.HttpMethodPriority;;
|
|
39
39
|
const { RezoError } = require('./errors/rezo-error.cjs');
|
|
40
40
|
const isRezoError = exports.isRezoError = RezoError.isRezoError;
|
|
41
41
|
const Cancel = exports.Cancel = RezoError;
|
|
@@ -45,9 +45,9 @@ const isCancel = exports.isCancel = (error) => {
|
|
|
45
45
|
};
|
|
46
46
|
const all = exports.all = Promise.all.bind(Promise);
|
|
47
47
|
const spread = exports.spread = (callback) => (array) => callback(...array);
|
|
48
|
-
const
|
|
49
|
-
exports.VERSION =
|
|
50
|
-
exports.PACKAGE_NAME =
|
|
48
|
+
const _mod_c1vrf7 = require('./version.cjs');
|
|
49
|
+
exports.VERSION = _mod_c1vrf7.VERSION;
|
|
50
|
+
exports.PACKAGE_NAME = _mod_c1vrf7.PACKAGE_NAME;;
|
|
51
51
|
const { executeRequest } = require('./adapters/http.cjs');
|
|
52
52
|
const { setGlobalAdapter, createRezoInstance } = require('./core/rezo.cjs');
|
|
53
53
|
setGlobalAdapter(executeRequest);
|
package/dist/index.d.ts
CHANGED
|
@@ -2789,12 +2789,7 @@ export interface ResolvedStealthProfile {
|
|
|
2789
2789
|
navigator: BrowserProfile["navigator"];
|
|
2790
2790
|
}
|
|
2791
2791
|
export declare class RezoStealth {
|
|
2792
|
-
private
|
|
2793
|
-
private _resolved;
|
|
2794
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2795
|
-
private readonly _autoDetect;
|
|
2796
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2797
|
-
private readonly _rotate;
|
|
2792
|
+
#private;
|
|
2798
2793
|
/**
|
|
2799
2794
|
* Create a RezoStealth instance.
|
|
2800
2795
|
*
|
|
@@ -5736,7 +5731,7 @@ export declare function listProfiles(): string[];
|
|
|
5736
5731
|
*
|
|
5737
5732
|
* IMPORTANT: Update these values when bumping package version.
|
|
5738
5733
|
*/
|
|
5739
|
-
export declare const VERSION = "1.0.
|
|
5734
|
+
export declare const VERSION = "1.0.101";
|
|
5740
5735
|
export declare const PACKAGE_NAME = "rezo";
|
|
5741
5736
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5742
5737
|
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_f5xea0 = require('./base.cjs');
|
|
2
|
+
exports.Agent = _mod_f5xea0.Agent;;
|
|
3
|
+
const _mod_jl1p19 = require('./http-proxy.cjs');
|
|
4
|
+
exports.HttpProxyAgent = _mod_jl1p19.HttpProxyAgent;;
|
|
5
|
+
const _mod_rmu36a = require('./https-proxy.cjs');
|
|
6
|
+
exports.HttpsProxyAgent = _mod_rmu36a.HttpsProxyAgent;;
|
|
7
|
+
const _mod_lac5um = require('./socks-proxy.cjs');
|
|
8
|
+
exports.SocksProxyAgent = _mod_lac5um.SocksProxyAgent;;
|
|
9
|
+
const _mod_shfiu3 = require('./socks-client.cjs');
|
|
10
|
+
exports.SocksClient = _mod_shfiu3.SocksClient;;
|
|
11
|
+
const _mod_su03wt = require('./bun-socks-http.cjs');
|
|
12
|
+
exports.bunHttp = _mod_su03wt.bunHttp;
|
|
13
|
+
exports.isBunRuntime = _mod_su03wt.isBunRuntime;
|
|
14
|
+
exports.isBunSocksRequest = _mod_su03wt.isBunSocksRequest;;
|
|
@@ -2665,12 +2665,7 @@ export interface ResolvedStealthProfile {
|
|
|
2665
2665
|
navigator: BrowserProfile["navigator"];
|
|
2666
2666
|
}
|
|
2667
2667
|
declare class RezoStealth {
|
|
2668
|
-
private
|
|
2669
|
-
private _resolved;
|
|
2670
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2671
|
-
private readonly _autoDetect;
|
|
2672
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2673
|
-
private readonly _rotate;
|
|
2668
|
+
#private;
|
|
2674
2669
|
/**
|
|
2675
2670
|
* Create a RezoStealth instance.
|
|
2676
2671
|
*
|
|
@@ -5514,7 +5509,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5514
5509
|
*
|
|
5515
5510
|
* IMPORTANT: Update these values when bumping package version.
|
|
5516
5511
|
*/
|
|
5517
|
-
export declare const VERSION = "1.0.
|
|
5512
|
+
export declare const VERSION = "1.0.101";
|
|
5518
5513
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5519
5514
|
export declare const Cancel: typeof RezoError;
|
|
5520
5515
|
export declare const CancelToken: {
|
package/dist/platform/bun.d.ts
CHANGED
|
@@ -2665,12 +2665,7 @@ export interface ResolvedStealthProfile {
|
|
|
2665
2665
|
navigator: BrowserProfile["navigator"];
|
|
2666
2666
|
}
|
|
2667
2667
|
declare class RezoStealth {
|
|
2668
|
-
private
|
|
2669
|
-
private _resolved;
|
|
2670
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2671
|
-
private readonly _autoDetect;
|
|
2672
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2673
|
-
private readonly _rotate;
|
|
2668
|
+
#private;
|
|
2674
2669
|
/**
|
|
2675
2670
|
* Create a RezoStealth instance.
|
|
2676
2671
|
*
|
|
@@ -5514,7 +5509,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5514
5509
|
*
|
|
5515
5510
|
* IMPORTANT: Update these values when bumping package version.
|
|
5516
5511
|
*/
|
|
5517
|
-
export declare const VERSION = "1.0.
|
|
5512
|
+
export declare const VERSION = "1.0.101";
|
|
5518
5513
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5519
5514
|
export declare const Cancel: typeof RezoError;
|
|
5520
5515
|
export declare const CancelToken: {
|
package/dist/platform/deno.d.ts
CHANGED
|
@@ -2665,12 +2665,7 @@ export interface ResolvedStealthProfile {
|
|
|
2665
2665
|
navigator: BrowserProfile["navigator"];
|
|
2666
2666
|
}
|
|
2667
2667
|
declare class RezoStealth {
|
|
2668
|
-
private
|
|
2669
|
-
private _resolved;
|
|
2670
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2671
|
-
private readonly _autoDetect;
|
|
2672
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2673
|
-
private readonly _rotate;
|
|
2668
|
+
#private;
|
|
2674
2669
|
/**
|
|
2675
2670
|
* Create a RezoStealth instance.
|
|
2676
2671
|
*
|
|
@@ -5514,7 +5509,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5514
5509
|
*
|
|
5515
5510
|
* IMPORTANT: Update these values when bumping package version.
|
|
5516
5511
|
*/
|
|
5517
|
-
export declare const VERSION = "1.0.
|
|
5512
|
+
export declare const VERSION = "1.0.101";
|
|
5518
5513
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5519
5514
|
export declare const Cancel: typeof RezoError;
|
|
5520
5515
|
export declare const CancelToken: {
|
package/dist/platform/node.d.ts
CHANGED
|
@@ -2665,12 +2665,7 @@ export interface ResolvedStealthProfile {
|
|
|
2665
2665
|
navigator: BrowserProfile["navigator"];
|
|
2666
2666
|
}
|
|
2667
2667
|
declare class RezoStealth {
|
|
2668
|
-
private
|
|
2669
|
-
private _resolved;
|
|
2670
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2671
|
-
private readonly _autoDetect;
|
|
2672
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2673
|
-
private readonly _rotate;
|
|
2668
|
+
#private;
|
|
2674
2669
|
/**
|
|
2675
2670
|
* Create a RezoStealth instance.
|
|
2676
2671
|
*
|
|
@@ -5514,7 +5509,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5514
5509
|
*
|
|
5515
5510
|
* IMPORTANT: Update these values when bumping package version.
|
|
5516
5511
|
*/
|
|
5517
|
-
export declare const VERSION = "1.0.
|
|
5512
|
+
export declare const VERSION = "1.0.101";
|
|
5518
5513
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5519
5514
|
export declare const Cancel: typeof RezoError;
|
|
5520
5515
|
export declare const CancelToken: {
|
|
@@ -2665,12 +2665,7 @@ export interface ResolvedStealthProfile {
|
|
|
2665
2665
|
navigator: BrowserProfile["navigator"];
|
|
2666
2666
|
}
|
|
2667
2667
|
declare class RezoStealth {
|
|
2668
|
-
private
|
|
2669
|
-
private _resolved;
|
|
2670
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2671
|
-
private readonly _autoDetect;
|
|
2672
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2673
|
-
private readonly _rotate;
|
|
2668
|
+
#private;
|
|
2674
2669
|
/**
|
|
2675
2670
|
* Create a RezoStealth instance.
|
|
2676
2671
|
*
|
|
@@ -5514,7 +5509,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5514
5509
|
*
|
|
5515
5510
|
* IMPORTANT: Update these values when bumping package version.
|
|
5516
5511
|
*/
|
|
5517
|
-
export declare const VERSION = "1.0.
|
|
5512
|
+
export declare const VERSION = "1.0.101";
|
|
5518
5513
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5519
5514
|
export declare const Cancel: typeof RezoError;
|
|
5520
5515
|
export declare const CancelToken: {
|
|
@@ -2665,12 +2665,7 @@ export interface ResolvedStealthProfile {
|
|
|
2665
2665
|
navigator: BrowserProfile["navigator"];
|
|
2666
2666
|
}
|
|
2667
2667
|
declare class RezoStealth {
|
|
2668
|
-
private
|
|
2669
|
-
private _resolved;
|
|
2670
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
2671
|
-
private readonly _autoDetect;
|
|
2672
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
2673
|
-
private readonly _rotate;
|
|
2668
|
+
#private;
|
|
2674
2669
|
/**
|
|
2675
2670
|
* Create a RezoStealth instance.
|
|
2676
2671
|
*
|
|
@@ -5514,7 +5509,7 @@ export interface RezoInstance extends Rezo, RezoCallable {
|
|
|
5514
5509
|
*
|
|
5515
5510
|
* IMPORTANT: Update these values when bumping package version.
|
|
5516
5511
|
*/
|
|
5517
|
-
export declare const VERSION = "1.0.
|
|
5512
|
+
export declare const VERSION = "1.0.101";
|
|
5518
5513
|
export declare const isRezoError: typeof RezoError.isRezoError;
|
|
5519
5514
|
export declare const Cancel: typeof RezoError;
|
|
5520
5515
|
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_xipkwg = require('./manager.cjs');
|
|
4
|
+
exports.ProxyManager = _mod_xipkwg.ProxyManager;;
|
|
5
|
+
const _mod_3pevld = require('./parse.cjs');
|
|
6
|
+
exports.parseProxyString = _mod_3pevld.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,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
exports.RezoQueue =
|
|
3
|
-
const
|
|
4
|
-
exports.HttpQueue =
|
|
5
|
-
exports.RezoHttpQueue =
|
|
6
|
-
exports.extractDomain =
|
|
7
|
-
const
|
|
8
|
-
exports.Priority =
|
|
9
|
-
exports.HttpMethodPriority =
|
|
1
|
+
const _mod_8epd0u = require('./queue.cjs');
|
|
2
|
+
exports.RezoQueue = _mod_8epd0u.RezoQueue;;
|
|
3
|
+
const _mod_8wx3co = require('./http-queue.cjs');
|
|
4
|
+
exports.HttpQueue = _mod_8wx3co.HttpQueue;
|
|
5
|
+
exports.RezoHttpQueue = _mod_8wx3co.HttpQueue;
|
|
6
|
+
exports.extractDomain = _mod_8wx3co.extractDomain;;
|
|
7
|
+
const _mod_qvxp2n = require('./types.cjs');
|
|
8
|
+
exports.Priority = _mod_qvxp2n.Priority;
|
|
9
|
+
exports.HttpMethodPriority = _mod_qvxp2n.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_spq85a = require('./event-emitter.cjs');
|
|
2
|
+
exports.UniversalEventEmitter = _mod_spq85a.UniversalEventEmitter;;
|
|
3
|
+
const _mod_h9sv43 = require('./stream.cjs');
|
|
4
|
+
exports.UniversalStreamResponse = _mod_h9sv43.UniversalStreamResponse;
|
|
5
|
+
exports.StreamResponse = _mod_h9sv43.StreamResponse;;
|
|
6
|
+
const _mod_9d97ea = require('./download.cjs');
|
|
7
|
+
exports.UniversalDownloadResponse = _mod_9d97ea.UniversalDownloadResponse;
|
|
8
|
+
exports.DownloadResponse = _mod_9d97ea.DownloadResponse;;
|
|
9
|
+
const _mod_96e6ti = require('./upload.cjs');
|
|
10
|
+
exports.UniversalUploadResponse = _mod_96e6ti.UniversalUploadResponse;
|
|
11
|
+
exports.UploadResponse = _mod_96e6ti.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_pwc5q4 = require('./stealth.cjs');
|
|
2
|
+
exports.RezoStealth = _mod_pwc5q4.RezoStealth;;
|
|
3
|
+
const _mod_w2nobs = require('./tls-fingerprint.cjs');
|
|
4
|
+
exports.createSecureContext = _mod_w2nobs.createSecureContext;
|
|
5
|
+
exports.buildTlsOptions = _mod_w2nobs.buildTlsOptions;;
|
|
6
|
+
const _mod_oedts3 = require('./resolver.cjs');
|
|
7
|
+
exports.resolveProfile = _mod_oedts3.resolveProfile;
|
|
8
|
+
exports.detectProfileFromUserAgent = _mod_oedts3.detectProfileFromUserAgent;;
|
|
9
|
+
const _mod_4k0snz = require('./profiles/index.cjs');
|
|
10
|
+
exports.getProfile = _mod_4k0snz.getProfile;
|
|
11
|
+
exports.getProfilesByFamily = _mod_4k0snz.getProfilesByFamily;
|
|
12
|
+
exports.getProfilesByDevice = _mod_4k0snz.getProfilesByDevice;
|
|
13
|
+
exports.getRandomProfile = _mod_4k0snz.getRandomProfile;
|
|
14
|
+
exports.getRandomProfileByFamily = _mod_4k0snz.getRandomProfileByFamily;
|
|
15
|
+
exports.listProfiles = _mod_4k0snz.listProfiles;
|
|
16
|
+
exports.listProfilesByFamily = _mod_4k0snz.listProfilesByFamily;
|
|
17
|
+
exports.PROFILE_REGISTRY = _mod_4k0snz.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_cidc85 = require('./constants.cjs');
|
|
47
|
+
exports.expandPseudoOrder = _mod_cidc85.expandPseudoOrder;;
|
|
48
|
+
const _mod_rkyncc = require('./chrome-profiles.cjs');
|
|
49
|
+
exports.CHROME_PROFILES = _mod_rkyncc.CHROME_PROFILES;;
|
|
50
|
+
const _mod_vwbvzz = require('./firefox-profiles.cjs');
|
|
51
|
+
exports.FIREFOX_PROFILES = _mod_vwbvzz.FIREFOX_PROFILES;;
|
|
52
|
+
const _mod_lxkfdc = require('./safari-profiles.cjs');
|
|
53
|
+
exports.SAFARI_PROFILES = _mod_lxkfdc.SAFARI_PROFILES;;
|
|
54
|
+
const _mod_hrzei2 = require('./edge-profiles.cjs');
|
|
55
|
+
exports.EDGE_PROFILES = _mod_hrzei2.EDGE_PROFILES;;
|
|
56
56
|
|
|
57
57
|
exports.getProfile = getProfile;
|
|
58
58
|
exports.getProfilesByFamily = getProfilesByFamily;
|
package/dist/stealth/stealth.cjs
CHANGED
|
@@ -2,38 +2,38 @@ const { resolveProfile, detectProfileFromUserAgent } = require('./resolver.cjs')
|
|
|
2
2
|
const { getRandomProfile, getRandomProfileByFamily } = require('./profiles/index.cjs');
|
|
3
3
|
|
|
4
4
|
class RezoStealth {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
#input;
|
|
6
|
+
#resolved;
|
|
7
|
+
#autoDetect;
|
|
8
|
+
#rotate;
|
|
9
9
|
constructor(input) {
|
|
10
|
-
this
|
|
11
|
-
this
|
|
12
|
-
this
|
|
10
|
+
this.#input = input;
|
|
11
|
+
this.#autoDetect = input === undefined;
|
|
12
|
+
this.#rotate = typeof input === "object" && input !== null && !("id" in input) && !!input.rotate;
|
|
13
13
|
}
|
|
14
14
|
get isAutoDetect() {
|
|
15
|
-
return this
|
|
15
|
+
return this.#autoDetect;
|
|
16
16
|
}
|
|
17
17
|
get isRotate() {
|
|
18
|
-
return this
|
|
18
|
+
return this.#rotate;
|
|
19
19
|
}
|
|
20
20
|
resolve(userAgent) {
|
|
21
|
-
if (this
|
|
22
|
-
return resolveProfile(this
|
|
21
|
+
if (this.#rotate) {
|
|
22
|
+
return resolveProfile(this.#input);
|
|
23
23
|
}
|
|
24
|
-
if (!this
|
|
25
|
-
if (this
|
|
24
|
+
if (!this.#resolved) {
|
|
25
|
+
if (this.#autoDetect) {
|
|
26
26
|
if (userAgent) {
|
|
27
27
|
const profile = detectProfileFromUserAgent(userAgent);
|
|
28
|
-
this
|
|
28
|
+
this.#resolved = resolveProfile(profile ?? getRandomProfileByFamily("chrome"));
|
|
29
29
|
} else {
|
|
30
|
-
this
|
|
30
|
+
this.#resolved = resolveProfile(getRandomProfileByFamily("chrome"));
|
|
31
31
|
}
|
|
32
32
|
} else {
|
|
33
|
-
this
|
|
33
|
+
this.#resolved = resolveProfile(this.#input);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
return this
|
|
36
|
+
return this.#resolved;
|
|
37
37
|
}
|
|
38
38
|
get profileName() {
|
|
39
39
|
return this.resolve().profileId;
|
package/dist/stealth/stealth.js
CHANGED
|
@@ -2,38 +2,38 @@ import { resolveProfile, detectProfileFromUserAgent } from './resolver.js';
|
|
|
2
2
|
import { getRandomProfile, getRandomProfileByFamily } from './profiles/index.js';
|
|
3
3
|
|
|
4
4
|
export class RezoStealth {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
#input;
|
|
6
|
+
#resolved;
|
|
7
|
+
#autoDetect;
|
|
8
|
+
#rotate;
|
|
9
9
|
constructor(input) {
|
|
10
|
-
this
|
|
11
|
-
this
|
|
12
|
-
this
|
|
10
|
+
this.#input = input;
|
|
11
|
+
this.#autoDetect = input === undefined;
|
|
12
|
+
this.#rotate = typeof input === "object" && input !== null && !("id" in input) && !!input.rotate;
|
|
13
13
|
}
|
|
14
14
|
get isAutoDetect() {
|
|
15
|
-
return this
|
|
15
|
+
return this.#autoDetect;
|
|
16
16
|
}
|
|
17
17
|
get isRotate() {
|
|
18
|
-
return this
|
|
18
|
+
return this.#rotate;
|
|
19
19
|
}
|
|
20
20
|
resolve(userAgent) {
|
|
21
|
-
if (this
|
|
22
|
-
return resolveProfile(this
|
|
21
|
+
if (this.#rotate) {
|
|
22
|
+
return resolveProfile(this.#input);
|
|
23
23
|
}
|
|
24
|
-
if (!this
|
|
25
|
-
if (this
|
|
24
|
+
if (!this.#resolved) {
|
|
25
|
+
if (this.#autoDetect) {
|
|
26
26
|
if (userAgent) {
|
|
27
27
|
const profile = detectProfileFromUserAgent(userAgent);
|
|
28
|
-
this
|
|
28
|
+
this.#resolved = resolveProfile(profile ?? getRandomProfileByFamily("chrome"));
|
|
29
29
|
} else {
|
|
30
|
-
this
|
|
30
|
+
this.#resolved = resolveProfile(getRandomProfileByFamily("chrome"));
|
|
31
31
|
}
|
|
32
32
|
} else {
|
|
33
|
-
this
|
|
33
|
+
this.#resolved = resolveProfile(this.#input);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
return this
|
|
36
|
+
return this.#resolved;
|
|
37
37
|
}
|
|
38
38
|
get profileName() {
|
|
39
39
|
return this.resolve().profileId;
|
package/dist/version.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const VERSION = exports.VERSION = "1.0.
|
|
1
|
+
const VERSION = exports.VERSION = "1.0.101";
|
|
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.101";
|
|
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_qm686k = require('./types.cjs');
|
|
2
|
+
exports.WgetError = _mod_qm686k.WgetError;;
|
|
3
|
+
const _mod_kf2vlh = require('./asset-extractor.cjs');
|
|
4
|
+
exports.AssetExtractor = _mod_kf2vlh.AssetExtractor;;
|
|
5
|
+
const _mod_xc6ruy = require('./url-filter.cjs');
|
|
6
|
+
exports.UrlFilter = _mod_xc6ruy.UrlFilter;;
|
|
7
|
+
const _mod_ed40yh = require('./file-writer.cjs');
|
|
8
|
+
exports.FileWriter = _mod_ed40yh.FileWriter;;
|
|
9
|
+
const _mod_nw8m83 = require('./robots.cjs');
|
|
10
|
+
exports.RobotsHandler = _mod_nw8m83.RobotsHandler;;
|
|
11
|
+
const _mod_oiakxm = require('./resume.cjs');
|
|
12
|
+
exports.ResumeHandler = _mod_oiakxm.ResumeHandler;;
|
|
13
|
+
const _mod_to29mh = require('./progress.cjs');
|
|
14
|
+
exports.ProgressReporter = _mod_to29mh.ProgressReporter;
|
|
15
|
+
exports.ProgressTracker = _mod_to29mh.ProgressTracker;
|
|
16
|
+
exports.parseSize = _mod_to29mh.parseSize;;
|
|
17
|
+
const _mod_0iw3xi = require('./link-converter.cjs');
|
|
18
|
+
exports.LinkConverter = _mod_0iw3xi.LinkConverter;;
|
|
19
|
+
const _mod_5nwxr6 = require('./style-extractor.cjs');
|
|
20
|
+
exports.StyleExtractor = _mod_5nwxr6.StyleExtractor;;
|
|
21
|
+
const _mod_8vibvp = require('./downloader.cjs');
|
|
22
|
+
exports.Downloader = _mod_8vibvp.Downloader;;
|
|
23
|
+
const _mod_nped19 = require('./asset-organizer.cjs');
|
|
24
|
+
exports.AssetOrganizer = _mod_nped19.AssetOrganizer;
|
|
25
|
+
exports.DEFAULT_ASSET_FOLDERS = _mod_nped19.DEFAULT_ASSET_FOLDERS;;
|
|
26
|
+
const _mod_m3i4ly = require('./download-cache.cjs');
|
|
27
|
+
exports.DownloadCache = _mod_m3i4ly.DownloadCache;;
|
|
28
|
+
const _mod_07yemf = require('./filter-lists.cjs');
|
|
29
|
+
exports.EXECUTABLE_EXTENSIONS = _mod_07yemf.EXECUTABLE_EXTENSIONS;
|
|
30
|
+
exports.ARCHIVE_EXTENSIONS = _mod_07yemf.ARCHIVE_EXTENSIONS;
|
|
31
|
+
exports.DOCUMENT_EXTENSIONS = _mod_07yemf.DOCUMENT_EXTENSIONS;
|
|
32
|
+
exports.IMAGE_EXTENSIONS = _mod_07yemf.IMAGE_EXTENSIONS;
|
|
33
|
+
exports.VIDEO_EXTENSIONS = _mod_07yemf.VIDEO_EXTENSIONS;
|
|
34
|
+
exports.AUDIO_EXTENSIONS = _mod_07yemf.AUDIO_EXTENSIONS;
|
|
35
|
+
exports.FONT_EXTENSIONS = _mod_07yemf.FONT_EXTENSIONS;
|
|
36
|
+
exports.WEB_ASSET_EXTENSIONS = _mod_07yemf.WEB_ASSET_EXTENSIONS;
|
|
37
|
+
exports.DATA_EXTENSIONS = _mod_07yemf.DATA_EXTENSIONS;
|
|
38
|
+
exports.EXECUTABLE_MIME_TYPES = _mod_07yemf.EXECUTABLE_MIME_TYPES;
|
|
39
|
+
exports.ARCHIVE_MIME_TYPES = _mod_07yemf.ARCHIVE_MIME_TYPES;
|
|
40
|
+
exports.DOCUMENT_MIME_TYPES = _mod_07yemf.DOCUMENT_MIME_TYPES;
|
|
41
|
+
exports.IMAGE_MIME_TYPES = _mod_07yemf.IMAGE_MIME_TYPES;
|
|
42
|
+
exports.VIDEO_MIME_TYPES = _mod_07yemf.VIDEO_MIME_TYPES;
|
|
43
|
+
exports.AUDIO_MIME_TYPES = _mod_07yemf.AUDIO_MIME_TYPES;
|
|
44
|
+
exports.FONT_MIME_TYPES = _mod_07yemf.FONT_MIME_TYPES;
|
|
45
|
+
exports.WEB_ASSET_MIME_TYPES = _mod_07yemf.WEB_ASSET_MIME_TYPES;
|
|
46
|
+
exports.DATA_MIME_TYPES = _mod_07yemf.DATA_MIME_TYPES;
|
|
47
|
+
exports.SAFE_WEB_PRESET = _mod_07yemf.SAFE_WEB_PRESET;
|
|
48
|
+
exports.DOCUMENTS_ONLY_PRESET = _mod_07yemf.DOCUMENTS_ONLY_PRESET;
|
|
49
|
+
exports.NO_MEDIA_PRESET = _mod_07yemf.NO_MEDIA_PRESET;
|
|
50
|
+
exports.MINIMAL_MIRROR_PRESET = _mod_07yemf.MINIMAL_MIRROR_PRESET;
|
|
51
|
+
exports.TEXT_ONLY_PRESET = _mod_07yemf.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
|
@@ -5562,12 +5562,7 @@ export interface ResolvedStealthProfile {
|
|
|
5562
5562
|
navigator: BrowserProfile["navigator"];
|
|
5563
5563
|
}
|
|
5564
5564
|
declare class RezoStealth {
|
|
5565
|
-
private
|
|
5566
|
-
private _resolved;
|
|
5567
|
-
/** True when constructed with no args — profile will be detected from request headers */
|
|
5568
|
-
private readonly _autoDetect;
|
|
5569
|
-
/** True when rotate mode is enabled — fresh identity per resolve() call */
|
|
5570
|
-
private readonly _rotate;
|
|
5565
|
+
#private;
|
|
5571
5566
|
/**
|
|
5572
5567
|
* Create a RezoStealth instance.
|
|
5573
5568
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rezo",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.101",
|
|
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",
|