Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big puppeteer-extra upgrade. #649

Open
wants to merge 205 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
205 commits
Select commit Hold shift + click to select a range
b4ea779
clean a single tsconfig
UrielCh Jun 6, 2022
7d0607a
fix test unit
UrielCh Jun 6, 2022
9b5949d
tryc convert connect.js to connect.ts
UrielCh Jun 6, 2022
d329562
fix connect.ts
UrielCh Jun 6, 2022
4f5b637
migrate ava js to ts
UrielCh Jun 6, 2022
a2939ae
ava js test
UrielCh Jun 6, 2022
3cf4bac
fix event.ts
UrielCh Jun 6, 2022
a2c4c84
2 more any
UrielCh Jun 6, 2022
17ec2a4
add some any
UrielCh Jun 6, 2022
31a7c27
fix error in option.ts
UrielCh Jun 6, 2022
7074ae1
patch test
UrielCh Jun 6, 2022
cf97137
remove ava config files
UrielCh Jun 6, 2022
6870db8
update PuppeteerExtra typing
UrielCh Jun 6, 2022
61224eb
add semicons
UrielCh Jun 6, 2022
cb89d20
"typescript": "4.4.4"
UrielCh Jun 6, 2022
dac97fc
rollback
UrielCh Jun 6, 2022
9bb99a6
remove contraint from PluginData
UrielCh Jun 6, 2022
2ef94eb
fix model inconcistancy
UrielCh Jun 6, 2022
8aab7af
split a ts file
UrielCh Jun 6, 2022
6c1ed27
update build matrix
UrielCh Jun 6, 2022
ce5084a
update test for pptr 12+
UrielCh Jun 6, 2022
88d503d
fix pptr 12+ test
UrielCh Jun 6, 2022
35f39ae
add pptr 13.7.0 test
UrielCh Jun 6, 2022
c035764
fix pptr 5 + update ava test
UrielCh Jun 6, 2022
f648406
rollback matrix
UrielCh Jun 6, 2022
694b664
rollback test
UrielCh Jun 6, 2022
a41865c
add some typing ton puppeteer-extra-plugin
UrielCh Jun 6, 2022
3dd9d35
TRY TO DEAL WITH puppeteer-legacy
UrielCh Jun 6, 2022
644d533
UPDATE BUILD MATRIX
UrielCh Jun 6, 2022
cc460ce
update build matrix
UrielCh Jun 6, 2022
be037dd
update GL test + update https-proxy-agent@^2.2.3
UrielCh Jun 6, 2022
77a3e12
pptr 14
UrielCh Jun 6, 2022
f622336
fry fix pptr 14 test
UrielCh Jun 6, 2022
46c1211
update PuppeteerExtraPlugin
UrielCh Jun 6, 2022
1e789c3
update PuppeteerExtraPlugin
UrielCh Jun 6, 2022
d9a18ab
add old export
UrielCh Jun 6, 2022
56f6ff8
remove ava config files
UrielCh Jun 6, 2022
d71830a
drop all ava config files
UrielCh Jun 6, 2022
c76df1e
patch for windows build
UrielCh Jun 6, 2022
219ffe7
fix path
UrielCh Jun 6, 2022
eaaf492
remove replace-in-files-cli
UrielCh Jun 6, 2022
84421b3
clean tsconfig.json
UrielCh Jun 6, 2022
094ebd0
drop puppeteer-firefox + fix windows build
UrielCh Jun 6, 2022
7ff3fd6
parcial roll back
UrielCh Jun 6, 2022
d53196d
windows patch
UrielCh Jun 6, 2022
64e00c8
rollback + prettier
UrielCh Jun 6, 2022
4e8bb87
try fix windows build
UrielCh Jun 6, 2022
05fb316
new rollback
UrielCh Jun 6, 2022
f39408d
move test files in test directory
UrielCh Jun 6, 2022
74cf256
remove ava --fail-fast
UrielCh Jun 6, 2022
58da24c
fix test
UrielCh Jun 6, 2022
cf95f06
merge 2 puppeteer-legacy.d.ts
UrielCh Jun 6, 2022
ce2ffc5
trey fix build error
UrielCh Jun 6, 2022
2e5478b
move back puppeteer-legacy.d.ts
UrielCh Jun 6, 2022
66de728
remove pptr 5.5.0
UrielCh Jun 6, 2022
489120c
Revert "remove pptr 5.5.0"
UrielCh Jun 7, 2022
38806d2
Revert "move back puppeteer-legacy.d.ts"
UrielCh Jun 7, 2022
f63aa0c
Revert "trey fix build error"
UrielCh Jun 7, 2022
4711eaa
Revert "merge 2 puppeteer-legacy.d.ts"
UrielCh Jun 7, 2022
cf55c42
mac M1 test
UrielCh Jun 7, 2022
d11c33b
update caniuse-lite
UrielCh Jun 7, 2022
399d082
TS
UrielCh Jun 7, 2022
5f1eff6
patch ava conf
UrielCh Jun 7, 2022
343f8d7
move generated code
UrielCh Jun 7, 2022
54a2046
refactor export in withUtils
UrielCh Jun 7, 2022
5f11be0
refactor utils export
UrielCh Jun 7, 2022
eb5dd5b
small package changes
UrielCh Jun 7, 2022
ebb164c
windows build patch
UrielCh Jun 7, 2022
a1e1a2b
remove vanilla navigator.languages test
UrielCh Jun 7, 2022
b31a352
conver 2 evasion to TS
UrielCh Jun 7, 2022
b2958b2
one more evasion
UrielCh Jun 7, 2022
eb3fd55
port evasions
UrielCh Jun 7, 2022
28a7d10
rollback
UrielCh Jun 7, 2022
207d856
use default exports
UrielCh Jun 7, 2022
38d351e
use defAULT EXPORT
UrielCh Jun 7, 2022
77e61a4
use default export
UrielCh Jun 7, 2022
8e6393f
try windows patch
UrielCh Jun 7, 2022
5b3555e
try with ||
UrielCh Jun 7, 2022
c4a3428
vonvert JS to TS
UrielCh Jun 7, 2022
0d931b5
JS to TS
UrielCh Jun 7, 2022
852afcb
more TS files
UrielCh Jun 7, 2022
e69db83
add Type Aliases + use once
UrielCh Jun 7, 2022
2469b8d
enforce typing on onPageCreated
UrielCh Jun 7, 2022
42abae6
enforce typing
UrielCh Jun 7, 2022
aa29436
heavy typing pass
UrielCh Jun 7, 2022
5374ab1
more typing
UrielCh Jun 7, 2022
c01842f
more types
UrielCh Jun 7, 2022
96f8135
more types
UrielCh Jun 7, 2022
030cf68
one more ts
UrielCh Jun 7, 2022
c1364c9
strict mode enabled
UrielCh Jun 7, 2022
12f08d9
small patch in typing
UrielCh Jun 7, 2022
fcce51f
update old deps
UrielCh Jun 7, 2022
609cc5e
more types
UrielCh Jun 7, 2022
989c1bc
fix type errors
UrielCh Jun 7, 2022
9980645
convert puppeteer-extra-plugin-anonymize-ua to TS
UrielCh Jun 7, 2022
012e998
fix package.json
UrielCh Jun 7, 2022
00ebfb6
add clean
UrielCh Jun 7, 2022
adbb0e8
upgrade test
UrielCh Jun 8, 2022
79cf0b9
puppeteer-extra-plugin-block-resources TS
UrielCh Jun 8, 2022
2de6d87
convert puppeteer-extra-plugin-user-data-dir
UrielCh Jun 8, 2022
b427f5e
puppeteer-extra-plugin-user-preferences TS
UrielCh Jun 8, 2022
cb15f58
puppeteer-extra-plugin-font-size TS
UrielCh Jun 8, 2022
b0d8f93
add setPluginOptions, get pluginOptions
UrielCh Jun 8, 2022
1c252bb
update deps
UrielCh Jun 8, 2022
925caa9
Revert "update deps"
UrielCh Jun 8, 2022
92ac068
update rimraf version
UrielCh Jun 8, 2022
ec3ab40
improve ava conf
UrielCh Jun 8, 2022
e1395e2
puppeteer-extra-plugin-flash TS
UrielCh Jun 8, 2022
753ee00
fix ts config
UrielCh Jun 8, 2022
d97fe2a
fix flash plugin
UrielCh Jun 8, 2022
95a1dcd
convert js to TS
UrielCh Jun 8, 2022
288fd65
Merge pull request #1 from UrielCh/test/mac
UrielCh Jun 8, 2022
d4a3683
patch test
UrielCh Jun 8, 2022
cac845f
puppeteer-extra-plugin-repl TS
UrielCh Jun 8, 2022
5ee7f39
add missing import
UrielCh Jun 8, 2022
d60964d
fix err
UrielCh Jun 8, 2022
b1f7a3d
puppeteer-extra-plugin-devtools TS
UrielCh Jun 8, 2022
d0c6d01
add missing build
UrielCh Jun 8, 2022
9645d72
fix import
UrielCh Jun 8, 2022
17ecb47
patch test
UrielCh Jun 8, 2022
98124f1
puppeteer-extra-plugin-click-and-wait TS
UrielCh Jun 9, 2022
25b1c7b
fix puppeteer-extra-plugin-click-and-wait
UrielCh Jun 9, 2022
efb9ba1
update tests
UrielCh Jun 9, 2022
ba7c451
Merge pull request #3 from UrielCh/test/mac
UrielCh Jun 9, 2022
af8a8da
update deps
UrielCh Jun 9, 2022
aa186f7
Merge pull request #4 from UrielCh/test/mac
UrielCh Jun 9, 2022
4027ad5
update extract-stealth-evasions
UrielCh Jun 9, 2022
140f9ef
extract-stealth-evasions TS
UrielCh Jun 9, 2022
d58b262
rewrite dependences injection
UrielCh Jun 9, 2022
238376e
improve stealt code
UrielCh Jun 9, 2022
ccea7af
change pptr version to 14.2.1
UrielCh Jun 10, 2022
99fcafd
new yarn lock
UrielCh Jun 10, 2022
3115614
update puppeteer
UrielCh Jun 10, 2022
85e8221
merge deps to master
UrielCh Jun 10, 2022
7146cb9
fix missing space
UrielCh Jun 10, 2022
35f5ee0
clean puppeteer-extra-plugin-stealth
UrielCh Jun 10, 2022
3fd4b29
merge
UrielCh Jun 10, 2022
074ce39
patch sourceurl evasion test
UrielCh Jun 12, 2022
d53db05
drop some example.com
UrielCh Jun 12, 2022
1900615
add missing exports
UrielCh Jun 12, 2022
3630270
restore sourceurl test
UrielCh Jun 12, 2022
42b368f
enable macos an windows
UrielCh Jun 12, 2022
e5537cf
drop macos
UrielCh Jun 12, 2022
53c0767
less builds
UrielCh Jun 12, 2022
13f7a29
dump ava 3.15, downgrad pptr 13
UrielCh Jun 13, 2022
34d37da
all test are now serial
UrielCh Jun 13, 2022
ab99122
increate EventEmitter.defaultMaxListeners in test
UrielCh Jun 13, 2022
b5ef431
PluginDependencies = Array<string> | Set<string>
UrielCh Jun 13, 2022
f5b2d38
drop compileEnhancements: false plugin-adblocker
UrielCh Jun 13, 2022
ef61c85
add missing build step in extract-stealth.yml
UrielCh Jun 13, 2022
2953059
package.json cleaning
UrielCh Jun 13, 2022
d0bfed1
remove tslint + fix extract-stealth.yml
UrielCh Jun 13, 2022
05c2de7
add lint
UrielCh Jun 13, 2022
e42d215
fix typing in puppeteer-extra-plugin-recaptcha
UrielCh Jun 13, 2022
53ee691
fix workflow
UrielCh Jun 13, 2022
727706b
extand ava timeout
UrielCh Jun 13, 2022
0fe7c13
add missing PluginOptions
UrielCh Jun 13, 2022
ee61aba
update pipeline
UrielCh Jun 13, 2022
7a1746b
extand timeout
UrielCh Jun 13, 2022
7a119f5
remove old lint
UrielCh Jun 13, 2022
9ef4e71
update workflows
UrielCh Jun 13, 2022
b44bd83
new eslint conf
UrielCh Jun 13, 2022
85d9a8c
remove <{}>
UrielCh Jun 13, 2022
e5dc1cd
Merge branch 'master' into test/fix2
UrielCh Jun 13, 2022
9d7c5ed
Merge pull request #5 from UrielCh/test/fix2
UrielCh Jun 13, 2022
043d4c4
rollback lint
UrielCh Jun 13, 2022
7a2650a
retrocompatibility plugin patch
UrielCh Jun 22, 2022
d3e0905
Merge branch 'master' of berstend/puppeteer-extra
UrielCh Jun 23, 2022
b81c5a9
regen lock
UrielCh Jun 23, 2022
87625cc
fix master change imports
UrielCh Jun 23, 2022
3856933
test 14.2.1
UrielCh Jun 23, 2022
8755937
extends test timeout
UrielCh Jun 23, 2022
cc6327a
Merge pull request #7 from UrielCh/berstend-master
UrielCh Jun 23, 2022
2da8afd
dump pptr 13.7.0 to 14.2.1
UrielCh Jun 23, 2022
e22f2b8
update tests
UrielCh Jun 23, 2022
db519d6
improve tests
UrielCh Jun 23, 2022
2807e25
Merge pull request #8 from UrielCh/berstend-master
UrielCh Jun 23, 2022
cca1eaf
improve puppeteer-extra-plugin-recaptcha typing
UrielCh Jun 23, 2022
e821e7f
less workflow test.
UrielCh Jun 23, 2022
940ce83
remove declare var window: any;
UrielCh Jun 27, 2022
3adc495
Merge branch 'master' of https://github.com/UrielCh/puppeteer-extra-ts
UrielCh Jun 27, 2022
a213f35
add missing @types/chrome
UrielCh Jun 27, 2022
faacbeb
unify @types/chrome Version + lock
UrielCh Jun 27, 2022
e35f5e1
add missing @types/chrome + lock
UrielCh Jun 27, 2022
32820d8
update lock
UrielCh Jun 27, 2022
ec06bd3
reset yarn lock
UrielCh Jun 27, 2022
5db726d
add yarn.lock in workflow paths
UrielCh Jun 27, 2022
6edf7a4
drop windows-latest build
UrielCh Jun 27, 2022
2ff1770
localtunnel.me is down
UrielCh Jun 27, 2022
3655c04
update cach in workflow
UrielCh Jun 27, 2022
f2d43a8
update gitflow version
UrielCh Jun 27, 2022
ad2dbc5
add yarn install
UrielCh Jun 27, 2022
635ff85
put back bahmutov/npm-install@v1
UrielCh Jun 27, 2022
946836f
patch test
UrielCh Jun 27, 2022
c068a25
disable test execution
UrielCh Jun 27, 2022
0cadbd5
try to fix test
UrielCh Jun 27, 2022
24a9547
re-enable tests
UrielCh Jun 27, 2022
32818b6
test macOSX
UrielCh Jun 27, 2022
d503487
rollbackactions/setup-node@v3
UrielCh Jun 27, 2022
9e0c53e
add some typings
UrielCh Jun 28, 2022
14ff723
Merge branch of berstend/puppeteer-extra
UrielCh Aug 3, 2022
22a7ac7
ccontinue merge
UrielCh Aug 3, 2022
33182a4
merge
UrielCh Aug 3, 2022
e3375ca
merge stealthtests
UrielCh Aug 3, 2022
ab1f6bb
reduce code size, fix windows compatibility
UrielCh Aug 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ root = true
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
end_of_line = auto
insert_final_newline = true
trim_trailing_whitespace = true

Expand Down
6 changes: 0 additions & 6 deletions .eslintrc

This file was deleted.

19 changes: 19 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
],
rules: {
"lines-between-class-members": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
// "max-len": ["warn", {code: 120, commentLength: 160, tabWidth: 2, ignoreUrls: true}]
},
"ignorePatterns": ["**/*.js"]
}
19 changes: 10 additions & 9 deletions .github/workflows/extract-stealth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on:
branches:
- master
paths:
- 'packages/puppeteer-extra-plugin-stealth/**'
- 'packages/extract-stealth-evasions/**'
- '.github/workflows/extract-stealth.yml'
- packages/puppeteer-extra-plugin-stealth/**
- packages/extract-stealth-evasions/**
- .github/workflows/extract-stealth.yml
- yarn.lock

jobs:
build:
Expand All @@ -16,19 +17,19 @@ jobs:
- name: Sleep for 190 seconds
uses: jakejarvis/wait-action@master
with:
time: '190s'
time: 190s

- name: Checkout
uses: actions/checkout@v2

- name: 'Fix for: error fsevents@2.1.2: The platform "linux" is incompatible with this module.'
- name: 'Fix for: error fsevents@2.3.2: The platform "linux" is incompatible with this module.'
run: npx json -I -f package.json -e 'this.resolutions={}'

- name: Build packages
- name: Transpile sources
run: |
yarn install
yarn bootstrap
yarn build
lerna run build --scope puppeteer-extra --scope puppeteer-extra-plugin --scope puppeteer-extra-plugin-user-preferences --scope extract-stealth-evasions --scope puppeteer-extra-plugin-stealth --scope puppeteer-extra-plugin-user-data-dir

- name: Extract stealth.min.js
run: |
Expand All @@ -41,7 +42,7 @@ jobs:
with:
add: 'stealth.min.js'
force: true
ref: 'stealth-js'
message: 'Auto-updated stealth.min.js with newest evasions'
ref: stealth-js
message: Auto-updated stealth.min.js with newest evasions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101 changes: 101 additions & 0 deletions .github/workflows/test-macOS.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: Test MacOS

on:
pull_request:
branches:
- '*'
types:
- opened
- synchronize
- reopened
paths:
- packages/**
- .github/workflows/test-macOS.yml
- package.json
- yarn.lock
push:
branches:
- master
- test/*
paths:
- packages/**
- .github/workflows/test-macOS.yml
- package.json
- yarn.lock

env:
CI: 'true'
FORCE_COLOR: 'true'

jobs:
test:
name: node v${{ matrix.node }}, pptr ${{ matrix.puppeteer_version }}, ${{ matrix.os }}

runs-on: ${{ matrix.os }}

strategy:
matrix:
node:
# - 18
- 16
# - 14
puppeteer_version:
- 14.2.1 # evasion failed Jun 6 2022
# - 14.2.0 # Chromium 103.0.5059.0 # requires >=14.1.0
# - 13.7.0 #
# - 12.0.1 #
# - 10.4.0 # Chromium 93.0.4577.0
# - 10.2.0 # Chromium 93.0.4577.0
# - 7.0.0 # Chromium 90.0.4403.0, Feb 3, 2021
# - 5.5.0 # Chromium 88.0.4298.0
# - 5.0.0 # Chromium 83.0.4103.0, Jul 2, 2020
# - 2.1.1 # Chromium 79.0.3942.0, Oct 24 2019
# - 2.0.0 # Chromium 79.0.3942.0, Oct 24 2019
# - 1.20.0 # Chromium 78.0.3882.0, Sep 13 2019
# - 1.15.0 # Chromium 75.0.3765.0, Apr 26 2019
# - 1.9.0 # Chromium 71.0.3563.0, Oct 4, 2018
# - 1.6.2 # Chromium 69.0.3494.0, Aug 1, 2018

os:
- macOS-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- name: inastall [email protected]
run: yarn add [email protected] --ignore-workspace-root-check

- name: yarn install
uses: bahmutov/npm-install@v1

- name: yarn bootstrap
run: yarn bootstrap

- name: install puppeteer@${{ matrix.puppeteer_version }}
run: yarn lerna add --dev puppeteer@${{ matrix.puppeteer_version }}

- name: lerna link
run: yarn lerna link

- name: lerna build
run: yarn lerna run build --concurrency 1

- name: debug
run: |
yarn list --pattern "puppeteer|puppeteer-extra"
file node_modules/puppeteer-extra/dist/index.cjs.js
- uses: microsoft/playwright-github-action@v1

- name: test
uses: GabrielBB/xvfb-action@v1
env:
DISPLAY: :99.0
with:
run: yarn test-ci

31 changes: 22 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Test Linux / Windows

on:
pull_request:
Expand All @@ -8,10 +8,19 @@ on:
- opened
- synchronize
- reopened
paths:
- packages/**
- .github/workflows/test.yml
- package.json
push:
branches:
- master
- 'test/*'
- test/*
paths:
- packages/**
- .github/workflows/test.yml
- package.json
- yarn.lock

workflow_dispatch:
branches:
Expand All @@ -32,10 +41,14 @@ jobs:
# - 16
- 14
puppeteer_version:
- 14.2.1 # evasion failed Jun 6 2022
# - 14.2.0 # Chromium 103.0.5059.0 # requires >=14.1.0
- 10.2.0 # Chromium 93.0.4577.0
# - 13.7.0 #
# - 12.0.1 #
# - 10.4.0 # Chromium 93.0.4577.0
# - 10.2.0 # Chromium 93.0.4577.0
# - 7.0.0 # Chromium 90.0.4403.0, Feb 3, 2021
- 5.5.0 # Chromium 88.0.4298.0
# - 5.5.0 # Chromium 88.0.4298.0
# - 5.0.0 # Chromium 83.0.4103.0, Jul 2, 2020
# - 2.1.1 # Chromium 79.0.3942.0, Oct 24 2019
# - 2.0.0 # Chromium 79.0.3942.0, Oct 24 2019
Expand All @@ -46,23 +59,23 @@ jobs:

os:
- ubuntu-latest
# - macOS-latest
# - windows-latest
# - windows-latest

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

- name: 'Fix for: error fsevents@2.1.2: The platform "linux" is incompatible with this module.'
- name: 'Fix for: error fsevents@2.3.2: The platform "linux" is incompatible with this module.'
run: npx json -I -f package.json -e 'this.resolutions={}'

- name: yarn install
uses: bahmutov/npm-install@v1
# run: yarn install --frozen-lockfile

- name: yarn bootstrap
run: yarn bootstrap
Expand Down
65 changes: 65 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,68 @@ testing/

*.tgz*

packages/puppeteer-extra-plugin-stealth/index.d.ts
packages/puppeteer-extra-plugin-stealth/index.js
packages/**/*.map
packages/puppeteer-extra-plugin-stealth/evasions/navigator.languages/index.d.ts
packages/puppeteer-extra-plugin-stealth/evasions/navigator.languages/index.js
packages/puppeteer-extra-plugin-stealth/evasions/navigator.languages/index.js
packages/puppeteer-extra-plugin-stealth/evasions/navigator.languages/index.js
packages/puppeteer-extra-plugin-stealth/evasions/navigator.permissions/index.js
packages/puppeteer-extra-plugin-stealth/evasions/navigator.permissions/index.d.ts
packages/puppeteer-extra-plugin-stealth/evasions/chrome.app/index.d.ts
packages/puppeteer-extra-plugin-stealth/evasions/chrome.app/index.js
packages/puppeteer-extra-plugin-stealth/evasions/chrome.runtime/index.js
packages/puppeteer-extra-plugin-stealth/evasions/chrome.loadTimes/index.js
packages/puppeteer-extra-plugin-stealth/evasions/chrome.csi/index.js
packages/puppeteer-extra-plugin-stealth/evasions/_template/index.js
packages/puppeteer-extra-plugin-stealth/evasions/defaultArgs/index.js
packages/puppeteer-extra-plugin-stealth/evasions/iframe.contentWindow/index.js
packages/puppeteer-extra-plugin-stealth/evasions/media.codecs/index.js
packages/puppeteer-extra-plugin-stealth/evasions/navigator.hardwareConcurrency/index.js
packages/puppeteer-extra-plugin-stealth/evasions/navigator.vendor/index.js
packages/puppeteer-extra-plugin-stealth/evasions/navigator.webdriver/index.js
packages/puppeteer-extra-plugin-stealth/evasions/navigator.plugins/index.js
packages/puppeteer-extra-plugin-stealth/evasions/sourceurl/index.js
packages/puppeteer-extra-plugin-stealth/evasions/user-agent-override/index.js
packages/puppeteer-extra-plugin-stealth/evasions/webgl.vendor/index.js
packages/puppeteer-extra-plugin-stealth/evasions/window.outerdimensions/index.js
packages/puppeteer-extra-plugin-stealth/evasions/sourceurl/index.js
packages/puppeteer-extra-plugin-stealth/evasions/_utils/withUtils.d.ts
packages/puppeteer-extra-plugin-stealth/evasions/_utils/withUtils.js
packages/puppeteer-extra-plugin-stealth/evasions/[a-z]*/index.d.ts
packages/puppeteer-extra-plugin-stealth/evasions/_template/index.d.ts
packages/puppeteer-extra-plugin-stealth/evasions/navigator.plugins/mimeTypes.d.ts
packages/puppeteer-extra-plugin-stealth/evasions/navigator.plugins/plugins.d.ts
packages/puppeteer-extra-plugin-stealth/evasions/navigator.plugins/plugins.js
packages/puppeteer-extra-plugin-stealth/evasions/navigator.plugins/mimeTypes.js
packages/puppeteer-extra-plugin-stealth/evasions/navigator.plugins/functionMocks.js
packages/puppeteer-extra-plugin-stealth/evasions/navigator.plugins/functionMocks.d.ts
packages/puppeteer-extra-plugin-stealth/evasions/navigator.plugins/magicArray.d.ts
packages/puppeteer-extra-plugin-stealth/evasions/navigator.plugins/magicArray.js
packages/puppeteer-extra-plugin-anonymize-ua/index.d.ts
packages/puppeteer-extra-plugin-anonymize-ua/index.js
packages/puppeteer-extra-plugin-block-resources/index.d.ts
packages/puppeteer-extra-plugin-block-resources/index.js
packages/puppeteer-extra-plugin-user-data-dir/index.d.ts
packages/puppeteer-extra-plugin-user-data-dir/index.js
packages/puppeteer-extra-plugin-user-preferences/index.d.ts
packages/puppeteer-extra-plugin-user-preferences/index.js
packages/puppeteer-extra-plugin-font-size/index.d.ts
packages/puppeteer-extra-plugin-font-size/index.js
packages/puppeteer-extra-plugin-flash/index.js
packages/puppeteer-extra-plugin-flash/index.d.ts
packages/puppeteer-extra-plugin-repl/index.js
packages/puppeteer-extra-plugin-repl/lib/REPLSession.d.ts
packages/puppeteer-extra-plugin-repl/lib/REPLSession.js
packages/puppeteer-extra-plugin-repl/lib/super-readline.d.ts
packages/puppeteer-extra-plugin-repl/lib/super-readline.js
packages/puppeteer-extra-plugin-devtools/index.d.ts
packages/puppeteer-extra-plugin-devtools/index.js
packages/puppeteer-extra-plugin-devtools/lib/RemoteDevTools.d.ts
packages/puppeteer-extra-plugin-devtools/lib/RemoteDevTools.js
packages/puppeteer-extra-plugin-repl/index.d.ts
packages/puppeteer-extra-plugin-click-and-wait/index.d.ts
packages/puppeteer-extra-plugin-click-and-wait/index.js
packages/extract-stealth-evasions/index.d.ts
packages/extract-stealth-evasions/index.js
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
...require('prettier-config-standard'),

// override for Windows
endOfLine: 'lf',
endOfLine: 'auto',
}
54 changes: 54 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "test1",
"env": {
"NODE_OPTIONS": "-r ts-node/register --no-warnings"
},
"cwd": "${workspaceFolder}/packages/puppeteer-extra-plugin-stealth",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/packages/puppeteer-extra-plugin-stealth/examples/test1.ts"
},
{
"type": "node",
"request": "launch",
"name": "Debug current AVA test file in puppeteer-extra-plugin-anonymize-ua",
"program": "${workspaceFolder}/node_modules/ava/cli.js",
"args": [
"${file}"
],
"outputCapture": "std",
"console": "integratedTerminal", // optional
"cwd": "${workspaceFolder}/packages/puppeteer-extra-plugin-anonymize-ua/",
"skipFiles": [
"<node_internals>/**/*",
"node_modules/**/*"
]
},
{
"type": "node",
"request": "launch",
"name": "Debug current AVA test file in puppeteer-extra-plugin-devtools",
"program": "${workspaceFolder}/node_modules/ava/cli.js",
"args": [
"${file}"
],
"outputCapture": "std",
"console": "integratedTerminal", // optional
"cwd": "${workspaceFolder}/packages/puppeteer-extra-plugin-devtools/",
"skipFiles": [
"<node_internals>/**/*",
"node_modules/**/*"
]
}

]
}
Loading