diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 7b5982a..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parserOptions": { - "ecmaVersion": 6 - }, - "env": { - "node": true, - "es6": true - }, - "extends": [ - "eslint:recommended", - "google" - ], - "rules": { - "no-control-regex": 0, - "max-len": [ - 1, - 120 - ], - "no-console":"warn", - "require-jsdoc": 0 - } -} \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..3707292 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +name: Build and test +"on": + push: + branches: + - master + pull_request: + branches: + - master +jobs: + Build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: + - "20.x" + - "22.x" + - "24.x" + steps: + - uses: actions/checkout@v4 + - name: "Set up Node.js ${{ matrix.node-version }}" + uses: actions/setup-node@v4 + with: + node-version: "${{ matrix.node-version }}" + - run: npm install + - run: npm run lint + - run: npm run test-and-coverage diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..041c660 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1 @@ +npx --no-install lint-staged diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bd7d976..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -language: node_js -sudo: false -node_js: - - "6" - - "7" - - "8" - - "9" - - "10" - - "11" - - "node" - -cache: npm - -matrix: - fast_finish: true - allow_failures: - - node_js: node - -script: - - npm run lint - - npm run test-and-coverage - -after_success: - - cat ./coverage/lcov.info | codacy-coverage - - codecov \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b731e44..c88ae9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,105 +1,184 @@ +#### 0.8.0 (2026-08-27) + +- Sync WhichBrowser/Parser-JavaScript to [WhichBrowser/Parser-PHP@581d614](https://github.com/WhichBrowser/Parser-PHP/commit/581d614d686bfbec3529ad60562a5213ac5d8d72) [[diff](https://github.com/WhichBrowser/Parser-PHP/compare/1044880bc792dbce5948fbff22ae731c43c280d9...581d614d686bfbec3529ad60562a5213ac5d8d72)] + +- **Fixes:** + * Hide the macOS version when it is reported as the fingerprinting-mitigation frozen value (`10.15.7` for Chrome/Safari, `10.15` for Firefox) + * Recognize macOS versions starting with `2x` (e.g. macOS 26 Tahoe) — the OS X version regex previously only matched `1x` (10 to 19) + * Recover the real iOS version from Safari's `Version/` token when iOS 26+ freezes the reported OS version at `18.x`/`19.x` + * `update-chrome` pulled its data from `omahaproxy.appspot.com`, which has been shut down for years and returned 404, so it silently updated nothing. Chrome versions released after 118 (Nov 2023) had no matching entry in the stable-channel database and were consequently misidentified as `Chrome Dev`. Switched to the Chromium Dash release API + +- **Database:** + * Adds macOS nicknames `Ventura` (13), `Sonoma` (14), `Sequoia` (15) and `Tahoe` (26) + * Adds Darwin-to-macOS/iOS version mapping up to Darwin 25 (macOS 26 Tahoe / iOS 26) + * Added Chrome stable versions 119 to 153 (desktop) and 119 to 152 (mobile). Firefox and Edge were checked too — both parse the browser version directly from the UA string with no version lookup table, so current releases (Firefox 141, Edge 140) were already detected correctly + * Routine refresh of the applications, models, indices, profiles and regexes databases + +- **Operations:** + * Removed the deprecated `request` package (unmaintained, several vulnerabilities with no fix available) from the `bin/update-*` scripts in favor of the native `fetch`. This also resolved every other outstanding Dependabot alert (`js-yaml`, `handlebars`, `minimatch`, `picomatch`, `path-to-regexp`, `uuid`) by bumping `nyc`, and picking up newer transitive dependencies for `eslint`, `lint-staged` and `sinon` — none of this affects the published package, which has zero runtime dependencies + * The `bin/update-*` scripts used to swallow fetch failures silently (this is exactly how the dead `omahaproxy` endpoint above went unnoticed for years); they now log the error and exit with a non-zero status code + * Every devDependency bumped to latest: `eslint` 8→10, `husky` 8→9, `lint-staged` 15→17, `sinon` 17→22, `@hapi/lab` 25→26, `prettier`, `eslint-plugin-prettier`, `eslint-config-prettier` + * Migrated `.eslintrc.json` to flat config (`eslint.config.js`), required by ESLint 9+. Replaced `eslint-config-google` — archived by Google in 2025, last released in 2019, and no longer loadable at all under ESLint 10 since it still references core rules (`valid-jsdoc`, `require-jsdoc`) that were removed — with the ~20 rules it contributed that weren't already superseded by Prettier, declared directly so the project no longer depends on an abandoned package + * `husky` 9 dropped the `.husky/_/husky.sh` boilerplate hooks used to source; updated `.husky/pre-commit` accordingly + * `nyc` 18 and `lint-staged` 17 require Node 20+/22+ to run; updated the CI matrix from Node 16-20 (all EOL except the tail of 20.x) to the currently maintained LTS lines (20.x, 22.x, 24.x), and bumped `actions/checkout`/`actions/setup-node` to v4 + * `update-all` now runs `prettier`/`eslint --fix` on `data/` right after regenerating it (new `format-data` script), so the generated files are committed in their final formatted form instead of relying on the pre-commit hook to reformat them after the fact + +#### 0.7.1 (2023-11-01) + +- **Database:** Added Chrome 101 to 118. + +#### 0.7.0 (2022-04-21) + +- Sync WhichBrowser/Parser-JavaScript to [WhichBrowser/Parser-PHP@1044880](https://github.com/WhichBrowser/Parser-PHP/commit/1044880bc792dbce5948fbff22ae731c43c280d9) + +- Supports [Chrome UA reduction](https://developer.chrome.com/docs/privacy-sandbox/user-agent/) + +- **BREAKING:** `Plasystation` has been reworded to `PlayStation` across the whole codebase. + +- **Database:** + * Adds support for `Huawei Browser` + * Adds support for `Xbox Series X` + * Adds support for `PlayStation 5` + * Adds support for `HarmonyOS` + + + +#### 0.6.1 (2022-04-07) + +- **Database:** Added Chrome 99 and 100 ([a770c30](https://github.com/WhichBrowser/Parser-JavaScript/commit/a770c30d29045893797b79f6c623b9ab8ebb8cc0)) +- **Fixes:** Chrome 100+ was being detected as a browser in Camouflage mode. Fixes [#61](https://github.com/WhichBrowser/Parser-JavaScript/issues/61) + +#### 0.6.0 (2022-02-16) + +- **Database:** Synced the JavaScript version of WhichBrowser with the latest changes happened in WhichBrowser-PHP until [WhichBrowser-PHP@d082883](https://github.com/WhichBrowser/Parser-PHP/commit/d0828833c1e2e05654b72e78d6944732adeb606b) [[diff](https://github.com/WhichBrowser/Parser-PHP/compare/0ef1a43950f14c65a760fe8123b4401e2b315bc3...d082883)]. +- **Operations:** Migrate from TravisCI to GitHub Actuibs + #### 0.5.1 (2019-11-30) -* **Database:** Added Chrome 77 and 78. + +- **Database:** Added Chrome 77 and 78. #### 0.5.0 (2019-08-25) -* **Database:** Added support for Chromium based Edge. Updated Android and iOS models. Added Chrome 75 and 76. Added Samsung Galaxy Fold and Galaxy A models. -* **Fixes:** False positive for Obigo browser. + +- **Database:** Added support for Chromium based Edge. Updated Android and iOS models. Added Chrome 75 and 76. Added Samsung Galaxy Fold and Galaxy A models. +- **Fixes:** False positive for Obigo browser. #### 0.4.2 (2019-06-01) -Now *TypeScript Types* are available thanks to @[AnandChowdhary](https://github.com/AnandChowdhary) and his PR [#36](https://github.com/WhichBrowser/Parser-JavaScript/pull/36) -* **Database:** Added Chrome 73 and 74 ([d2ea800](https://github.com/WhichBrowser/Parser-JavaScript/commit/d2ea8009277426ea874559e8e426f29510816ae0)) + +Now _TypeScript Types_ are available thanks to @[AnandChowdhary](https://github.com/AnandChowdhary) and his PR [#36](https://github.com/WhichBrowser/Parser-JavaScript/pull/36) + +- **Database:** Added Chrome 73 and 74 ([d2ea800](https://github.com/WhichBrowser/Parser-JavaScript/commit/d2ea8009277426ea874559e8e426f29510816ae0)) #### 0.4.0 (2019-02-07) -* **Fix:** [Issue 96 of WhichBrowser/Parser-PHP](https://github.com/WhichBrowser/Parser-PHP/issues/96), `profiles.js` and `models-*.js` files had some occourrences of spaces replaced by Unicode Character 'EN SPACE' (U+2002). The scripts that download these files are now stripping away that character and replacing it with a normal space. Thanks @[koconder](https://github.com/koconder) for [#29](https://github.com/WhichBrowser/Parser-JavaScript/pull/29) and @[Taiwaninja](https://github.com/Taiwaninja) for reporting it. -* **Tools:** WhichBrowser/Parser-Javascript is now tested on all the node versions between 6 and 11 included. Thanks again to @[koconder](https://github.com/koconder) for [#30](https://github.com/WhichBrowser/Parser-JavaScript/pull/30). -* **Database:** Added Chrome 70, 71 and 72 ([34735c2](https://github.com/WhichBrowser/Parser-JavaScript/commit/34735c27191e6b4c70b850aeea6f90bc51c65299)) + +- **Fix:** [Issue 96 of WhichBrowser/Parser-PHP](https://github.com/WhichBrowser/Parser-PHP/issues/96), `profiles.js` and `models-*.js` files had some occourrences of spaces replaced by Unicode Character 'EN SPACE' (U+2002). The scripts that download these files are now stripping away that character and replacing it with a normal space. Thanks @[koconder](https://github.com/koconder) for [#29](https://github.com/WhichBrowser/Parser-JavaScript/pull/29) and @[Taiwaninja](https://github.com/Taiwaninja) for reporting it. +- **Tools:** WhichBrowser/Parser-Javascript is now tested on all the node versions between 6 and 11 included. Thanks again to @[koconder](https://github.com/koconder) for [#30](https://github.com/WhichBrowser/Parser-JavaScript/pull/30). +- **Database:** Added Chrome 70, 71 and 72 ([34735c2](https://github.com/WhichBrowser/Parser-JavaScript/commit/34735c27191e6b4c70b850aeea6f90bc51c65299)) #### 0.3.5 (2018-10-01) -* **Database:** Added new iPhones XS, XS Max, XR ([911ae7a](https://github.com/WhichBrowser/Parser-JavaScript/commit/911ae7a7847acc2be01a809db95bbfaeb930ae73)) + +- **Database:** Added new iPhones XS, XS Max, XR ([911ae7a](https://github.com/WhichBrowser/Parser-JavaScript/commit/911ae7a7847acc2be01a809db95bbfaeb930ae73)) #### 0.3.4 (2018-09-13) -* **Database:** Added Chrome 69 ([5b8a4fa](https://github.com/WhichBrowser/Parser-JavaScript/commit/5b8a4fa5e81740336cf29c88982af152f70e81c9)) + +- **Database:** Added Chrome 69 ([5b8a4fa](https://github.com/WhichBrowser/Parser-JavaScript/commit/5b8a4fa5e81740336cf29c88982af152f70e81c9)) #### 0.3.3 (2018-08-22) -* **Fixes:** Now is possible to *really* disable the bot detection with the option `detectBots: false` ([5e02e9a](https://github.com/WhichBrowser/Parser-JavaScript/commit/5e02e9a01fdee83b7bb0b6e91372b1870b157d52)) + +- **Fixes:** Now is possible to _really_ disable the bot detection with the option `detectBots: false` ([5e02e9a](https://github.com/WhichBrowser/Parser-JavaScript/commit/5e02e9a01fdee83b7bb0b6e91372b1870b157d52)) #### 0.3.2 (2018-07-27) -* **Database:** Added Chrome 68 ([0d04c8d](https://github.com/WhichBrowser/Parser-JavaScript/commit/0d04c8def9971c7a6bf16e1b1398bb475e69a310) & [cd5ec81](https://github.com/WhichBrowser/Parser-JavaScript/commit/cd5ec8183a6145dd901e3433c78846e1f9af5976)) -* **Database:** Fixed name of Oculus Browser and added Oculus Go detection, thanks @frankolivier (#23) ([b38377c](https://github.com/WhichBrowser/Parser-JavaScript/commit/b38377c8d1856a316c6f74fea15ee3228aa050d6)) + +- **Database:** Added Chrome 68 ([0d04c8d](https://github.com/WhichBrowser/Parser-JavaScript/commit/0d04c8def9971c7a6bf16e1b1398bb475e69a310) & [cd5ec81](https://github.com/WhichBrowser/Parser-JavaScript/commit/cd5ec8183a6145dd901e3433c78846e1f9af5976)) +- **Database:** Fixed name of Oculus Browser and added Oculus Go detection, thanks @frankolivier (#23) ([b38377c](https://github.com/WhichBrowser/Parser-JavaScript/commit/b38377c8d1856a316c6f74fea15ee3228aa050d6)) #### 0.3.1 (2018-07-13) -* **Database:** Updated Models, Indices and Profiles ([fa4dd85](https://github.com/WhichBrowser/Parser-JavaScript/commit/fa4dd8514991578da4102027269071db860194f3)) + +- **Database:** Updated Models, Indices and Profiles ([fa4dd85](https://github.com/WhichBrowser/Parser-JavaScript/commit/fa4dd8514991578da4102027269071db860194f3)) #### 0.3.0 (2018-06-19) -* **Database:** Added Chrome 66 & 67 ([a9bce87](https://github.com/WhichBrowser/Parser-JavaScript/commit/a9bce872a9a17491539aca760d2627f1af2a6beb)) + +- **Database:** Added Chrome 66 & 67 ([a9bce87](https://github.com/WhichBrowser/Parser-JavaScript/commit/a9bce872a9a17491539aca760d2627f1af2a6beb)) #### 0.2.9 (2018-03-16) -* **Database:** Added Chrome 65 ([c1c9148](https://github.com/WhichBrowser/Parser-JavaScript/commit/c1c9148397b179d0655ec0f5b181d8e65511df38)) + +- **Database:** Added Chrome 65 ([c1c9148](https://github.com/WhichBrowser/Parser-JavaScript/commit/c1c9148397b179d0655ec0f5b181d8e65511df38)) #### 0.2.8 (2018-03-06) -* **Fixes:** Update dependencies due to [vulnerable moment.js version](https://nvd.nist.gov/vuln/detail/CVE-2017-18214) ([4ed2fc2](https://github.com/WhichBrowser/Parser-JavaScript/commit/4ed2fc296e1949b0cb8c5563a65b8cf97649241a)) -* **Database:** Added Czech service, thanks to @pixietrixibell for [#90 on Parser-PHP](https://github.com/WhichBrowser/Parser-PHP/pull/90) ([8a96017](https://github.com/WhichBrowser/Parser-JavaScript/commit/8a96017408ac35b37e73d31b7746ad84723dcfc0)) + +- **Fixes:** Update dependencies due to [vulnerable moment.js version](https://nvd.nist.gov/vuln/detail/CVE-2017-18214) ([4ed2fc2](https://github.com/WhichBrowser/Parser-JavaScript/commit/4ed2fc296e1949b0cb8c5563a65b8cf97649241a)) +- **Database:** Added Czech service, thanks to @pixietrixibell for [#90 on Parser-PHP](https://github.com/WhichBrowser/Parser-PHP/pull/90) ([8a96017](https://github.com/WhichBrowser/Parser-JavaScript/commit/8a96017408ac35b37e73d31b7746ad84723dcfc0)) #### 0.2.7 (2018-01-31) -* **Fixes:** Windows IoT 10 being detected as Android ([695751b](https://github.com/WhichBrowser/Parser-JavaScript/commit/695751b00a28b6ca28208c944e8bbf13a230c798)) -* **Database:** Added Chrome 64 ([ec0e117](https://github.com/WhichBrowser/Parser-JavaScript/commit/ec0e117b7e1f56a68d53cc2e8d0982b23827994a)) + +- **Fixes:** Windows IoT 10 being detected as Android ([695751b](https://github.com/WhichBrowser/Parser-JavaScript/commit/695751b00a28b6ca28208c944e8bbf13a230c798)) +- **Database:** Added Chrome 64 ([ec0e117](https://github.com/WhichBrowser/Parser-JavaScript/commit/ec0e117b7e1f56a68d53cc2e8d0982b23827994a)) #### 0.2.6 (2018-01-21) -**This update is too big to list all the improvements** + +**This update is too big to list all the improvements** Just to list some of these: -* Improved XIAOMI and MIUI browser detection -* Added Zen, Ziox, Yuanda and many others -* Added a lot of new models -* Added new browsers +- Improved XIAOMI and MIUI browser detection +- Added Zen, Ziox, Yuanda and many others +- Added a lot of new models +- Added new browsers #### 0.2.5 (2017-12-07) -* **Fixes:** - * Issue [#10](https://github.com/WhichBrowser/Parser-JavaScript/issues/10) - Thanks [@stouf](https://github.com/stouf) for reporting ([a3285e1](https://github.com/WhichBrowser/Parser-JavaScript/commit/a3285e1f1f439bccbbe2c1bb93abfdcd3a93f7de)) -* **Database:** Added Chrome 63, new iPhones, MANY new models of various manufacturers and Os ([6e6715e](https://github.com/WhichBrowser/Parser-JavaScript/commit/6e6715e022bb26e2a4bd5a7f24a6fc2a9a023ebb)) -* **Analysis:** Better management of Edge, added management of KaiOS ([22a2752](https://github.com/WhichBrowser/Parser-JavaScript/commit/22a27520ce38dd5f50954387b5e0499c88bef1e0)) -#### 0.2.4 (2017-11-17) -* **Database:** Added Chrome 62 ([3d4a74c](https://github.com/WhichBrowser/Parser-JavaScript/commit/3d4a74c1cf995a41bde6a6136bfd076d9e877286)) +- **Fixes:** + - Issue [#10](https://github.com/WhichBrowser/Parser-JavaScript/issues/10) - Thanks [@stouf](https://github.com/stouf) for reporting ([a3285e1](https://github.com/WhichBrowser/Parser-JavaScript/commit/a3285e1f1f439bccbbe2c1bb93abfdcd3a93f7de)) +- **Database:** Added Chrome 63, new iPhones, MANY new models of various manufacturers and Os ([6e6715e](https://github.com/WhichBrowser/Parser-JavaScript/commit/6e6715e022bb26e2a4bd5a7f24a6fc2a9a023ebb)) +- **Analysis:** Better management of Edge, added management of KaiOS ([22a2752](https://github.com/WhichBrowser/Parser-JavaScript/commit/22a27520ce38dd5f50954387b5e0499c88bef1e0)) + +#### 0.2.4 (2017-11-17) + +- **Database:** Added Chrome 62 ([3d4a74c](https://github.com/WhichBrowser/Parser-JavaScript/commit/3d4a74c1cf995a41bde6a6136bfd076d9e877286)) -#### 0.2.3 (2017-09-25) -* **Database:** Added Chrome 61 ([6d86594](https://github.com/WhichBrowser/Parser-JavaScript/commit/6d86594e82e795fb1720dfc162c002e73889be4b)) -* **Database:** Added macOS High Sierra ([5b8584a](https://github.com/WhichBrowser/Parser-JavaScript/commit/5b8584adf81f449b75d851c34d2d6ab39d138579)) +#### 0.2.3 (2017-09-25) + +- **Database:** Added Chrome 61 ([6d86594](https://github.com/WhichBrowser/Parser-JavaScript/commit/6d86594e82e795fb1720dfc162c002e73889be4b)) +- **Database:** Added macOS High Sierra ([5b8584a](https://github.com/WhichBrowser/Parser-JavaScript/commit/5b8584adf81f449b75d851c34d2d6ab39d138579)) #### 0.2.2 (2017-08-08) ##### New Features -* **Database:** Added Chrome 60 ([0043804](https://github.com/WhichBrowser/Parser-JavaScript/commit/00438049ff3f30fb2810a980c88146b2112eff0b)) + +- **Database:** Added Chrome 60 ([0043804](https://github.com/WhichBrowser/Parser-JavaScript/commit/00438049ff3f30fb2810a980c88146b2112eff0b)) #### 0.2.1 (2017-07-14) ##### News -* **This project:** 🎊 is now the official JavaScript version of WhichBrowser 🍾 + +- **This project:** 🎊 is now the official JavaScript version of WhichBrowser 🍾 ##### Documentation Changes -* **readme:** updated with new badge due to change of GitHub url ([11b18b7](https://github.com/WhichBrowser/Parser-JavaScript/commit/11b18b76409edeece95a8fd32fdb13b466ab1e8f)) -* **changelog:** added this changelog + +- **readme:** updated with new badge due to change of GitHub url ([11b18b7](https://github.com/WhichBrowser/Parser-JavaScript/commit/11b18b76409edeece95a8fd32fdb13b466ab1e8f)) +- **changelog:** added this changelog ##### New Features -* **database:** updated with new devices ([0e9f5ff](https://github.com/WhichBrowser/Parser-JavaScript/commit/0e9f5ffe6c8c571edec13d9590c67348247a8bc1)) -([a9ed8a0](https://github.com/WhichBrowser/Parser-JavaScript/commit/a9ed8a0a45206eae7a64f8f86f861688b4ed3cca)) -([cd4e0cd](https://github.com/WhichBrowser/Parser-JavaScript/commit/cd4e0cd158a897a917593e41cddd992b9325b53e)) -([3fbe24d](https://github.com/WhichBrowser/Parser-JavaScript/commit/3fbe24d223eb45d3fd14e97e91f55ef5f98be065)) + +- **database:** updated with new devices ([0e9f5ff](https://github.com/WhichBrowser/Parser-JavaScript/commit/0e9f5ffe6c8c571edec13d9590c67348247a8bc1)) + ([a9ed8a0](https://github.com/WhichBrowser/Parser-JavaScript/commit/a9ed8a0a45206eae7a64f8f86f861688b4ed3cca)) + ([cd4e0cd](https://github.com/WhichBrowser/Parser-JavaScript/commit/cd4e0cd158a897a917593e41cddd992b9325b53e)) + ([3fbe24d](https://github.com/WhichBrowser/Parser-JavaScript/commit/3fbe24d223eb45d3fd14e97e91f55ef5f98be065)) ##### Bug Fixes -* **coverage:** removed unused line of code that lowered the coverage, now is 100% 🎉 ([36fed88](https://github.com/WhichBrowser/Parser-JavaScript/commit/36fed88210cbfd38f65911a03d1d90be6e3553c4)) + +- **coverage:** removed unused line of code that lowered the coverage, now is 100% 🎉 ([36fed88](https://github.com/WhichBrowser/Parser-JavaScript/commit/36fed88210cbfd38f65911a03d1d90be6e3553c4)) ## 0.2.0 (2017-07-10) ##### Documentation Changes -* **readme:** added instructions 📖 on how to use cache ([0e2c83e](https://github.com/WhichBrowser/Parser-JavaScript/commit/0e2c83e5cd53bcaa5c59047ea8665a9e48174ff8)) +- **readme:** added instructions 📖 on how to use cache ([0e2c83e](https://github.com/WhichBrowser/Parser-JavaScript/commit/0e2c83e5cd53bcaa5c59047ea8665a9e48174ff8)) ##### New Features -* **cache:** adding a simple cache mechanism ([0e2c83e](https://github.com/WhichBrowser/Parser-JavaScript/commit/0e2c83e5cd53bcaa5c59047ea8665a9e48174ff8)) + +- **cache:** adding a simple cache mechanism ([0e2c83e](https://github.com/WhichBrowser/Parser-JavaScript/commit/0e2c83e5cd53bcaa5c59047ea8665a9e48174ff8)) ## 0.1.0 (2017-07-06) ##### New Features -* **npm:** First version of JavaScript porting on npm 🎇 +- **npm:** First version of JavaScript porting on npm 🎇 diff --git a/README.md b/README.md index 1a0ee1e..e0515fc 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,19 @@ This is an extremely complicated and almost completely useless browser sniffing library written in JavaScript. Useless because you shouldn't use browser sniffing. So stop right now and go read something about feature detecting instead. I'm serious. Go away. You'll thank me later. -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/026f9fea094c4f90ab8fdba98ced5a13)](https://www.codacy.com/app/mariotsi/Parser-JavaScript?utm_source=github.com&utm_medium=referral&utm_content=WhichBrowser/Parser-JavaScript&utm_campaign=badger) -[![Build Status](https://travis-ci.org/WhichBrowser/Parser-JavaScript.svg?branch=master)](https://travis-ci.org/WhichBrowser/Parser-JavaScript) -[![Coverage Status](https://api.codacy.com/project/badge/Coverage/026f9fea094c4f90ab8fdba98ced5a13)](https://www.codacy.com/app/mariotsi/Parser-JavaScript?utm_source=github.com&utm_medium=referral&utm_content=WhichBrowser/Parser-JavaScript&utm_campaign=Badge_Coverage) -[![npm](https://img.shields.io/npm/l/which-browser.svg)](https://yarnpkg.com/en/package/which-browser) -[![npm](https://img.shields.io/npm/v/which-browser.svg)](https://yarnpkg.com/en/package/which-browser) +![Build Status](https://github.com/WhichBrowser/Parser-JavaScript/actions/workflows/main.yml/badge.svg?event=push) +[![npm](https://img.shields.io/npm/l/which-browser.svg)](https://www.npmjs.com/package/which-browser) +[![npm](https://img.shields.io/npm/v/which-browser.svg)](https://www.npmjs.com/package/which-browser) [![Twitter Follow](https://img.shields.io/twitter/follow/simariot.svg?style=social)](https://twitter.com/simariot) + --- + If you are looking for the PHP version of WhichBrowser, please go to the [WhichBrowser/Parser-PHP](https://github.com/WhichBrowser/Parser-PHP) project. If you are looking for the server written in PHP that provides a Javascript API for the browser, please go to the [WhichBrowser/Server](https://github.com/WhichBrowser/Server) project. --- -**But why *almost completely useless* and not completely useless?** +**But why _almost completely useless_ and not completely useless?** Well, there is always an exception to the rule. There are valid reasons to do browser sniffing: to improve the user experience or to gather intelligence about which browsers are used on your website. The original author website is html5test.com and he wanted to know which score belongs to which browser. And to do that you need a browser sniffing library. **Why is it extremely complicated?** @@ -22,80 +22,73 @@ Because everybody lies. Seriously, there is not a single browser that is complet **What kind of information does it give?** You get a nice object which has information about the browser, rendering engine, os and device. It gives you names and versions and even device manufacturer and model. And WhichBrowser is pretty tenacious. It gives you info that others don't. For example: - JUC (Linux; U; 2.3.6; zh-cn; GT-I8150; 480*800) UCWEB8.7.4.225/145/800 + JUC (Linux; U; 2.3.6; zh-cn; GT-I8150; 480*800) UCWEB8.7.4.225/145/800 UC Browser 8.7 on a Samsung Galaxy W running Android 2.3.6 Android is never mentioned - Mozilla/5.0 (Series40; Nokia501/10.0.2; Profile/MIDP-2.1 Configuration/CLDC-1.1) Gecko/20100401 S40OviBrowser/3.0.0.0.73 + Mozilla/5.0 (Series40; Nokia501/10.0.2; Profile/MIDP-2.1 Configuration/CLDC-1.1) Gecko/20100401 S40OviBrowser/3.0.0.0.73 Nokia Xpress 3.0.0 on a Nokia Asha 501 running Nokia Asha Platform Despite the useragent header claiming to be a Series40 device, we know it's actually running the Asha Platform and we also know that OviBrowser has been renamed to Nokia Xpress. - Opera/9.80 (X11; Linux zvav; U; zh) Presto/2.8.119 Version/11.10 + Opera/9.80 (X11; Linux zvav; U; zh) Presto/2.8.119 Version/11.10 Opera Mini on a Nokia 5230 running Series60 5.0 The useragent header looks like Opera 11.10 on Linux, but we know it's Opera Mini. We can even figure out the real operating system and device model from other headers. +## Requirements +WhichBrowser requires Node 6 or higher to run and Node 16 or higher to build and test. -Requirements ------------------ - -WhichBrowser requires node 6 or higher. - -Dependencies ------------------ +## Dependencies WhichBrowser has no dependencies, is just plain ES6. - -How to install it ------------------ +## How to install it You can install WhichBrowser by NPM and Yarn npm install which-browser - -or - - yarn add which-browser +or + +yarn add which-browser -Do not stick to a specific WhichBrowser version, otherwise you will miss all the sniffing engine updates +Do not stick to a specific WhichBrowser version, otherwise you will miss all the sniffing engine updates + +## How to use it (short version) -How to use it (short version) -------------- ```js -const WhichBrowser = require('which-browser'); -const http = require('http'); +const WhichBrowser = require("which-browser"); +const http = require("http"); const port = 3000; const server = http.createServer((request, response) => { - const result = new WhichBrowser(request.headers) - response.end(result.toString()) + const result = new WhichBrowser(request.headers); + response.end(result.toString()); }); server.listen(port, (err) => { - if (err) { - return console.log('Something is broken ¯\\_(ツ)_/¯', err) - } - console.log(`Server is listening on port ${port} ✌(-‿-)✌`) -}) + if (err) { + return console.log("Something is broken ¯\\_(ツ)_/¯", err); + } + console.log(`Server is listening on port ${port} ✌(-‿-)✌`); +}); ``` -How to use it (long version) -------------- +## How to use it (long version) The first step require WhichBrowser: ```js -const WhichBrowser = require('which-browser'); +const WhichBrowser = require("which-browser"); ``` The second step is to create a new instance of the `WhichBrowser` class. This object will contain all the information the library could find about the browser. The object has a required parameter, either the headers send by the browser, or a useragent string. Using the request headers is preferable, because it will allow a better detection, but if you have just the useragent string, this will also work. For example: + ```js const result = new WhichBrowser(request.headers); ``` @@ -106,10 +99,8 @@ or: const result = new WhichBrowser(request.headers['user-agent'])); ``` - The variable `result` now contains an object which you can query for information. There are various ways to access the information. - First of all, you can call to `toString()` function to get a human readable identification: ```js @@ -120,22 +111,22 @@ First of all, you can call to `toString()` function to get a human readable iden Another possiblity is to query the object: ```js -result.isType('desktop'); +result.isType("desktop"); // true -result.isType('mobile', 'tablet', 'media', 'gaming:portable'); +result.isType("mobile", "tablet", "media", "gaming:portable"); // false -result.isBrowser('Maxthon', '<', '4.0.5'); +result.isBrowser("Maxthon", "<", "4.0.5"); // false -result.isOs('iOS', '>=', '8'); +result.isOs("iOS", ">=", "8"); // false -result.isOs('OS X'); +result.isOs("OS X"); // true -result.isEngine('Blink'); +result.isEngine("Blink"); // true ``` @@ -143,7 +134,7 @@ You can also access these properties directly: ```js result.browser.toString(); -// Chrome 27 +// Chrome 27 result.engine.toString(); // Blink @@ -171,15 +162,14 @@ result.engine.name; Finally you can also query versions directly: ```js -result.browser.version.is('>', 26); +result.browser.version.is(">", 26); // true -result.os.version.is('<', '10.7.4'); +result.os.version.is("<", "10.7.4"); // false ``` -Options -------- +## Options It is possible to set additional options by passing an object as the second parameter when creating the `WhichBrowser` object. @@ -191,8 +181,7 @@ In some cases you may want to disable the detection of bots. This allows the bot result = new WhichBrowser(request.headers, { detectBots: false }); ``` -Enable result caching ---------------------- +## Enable result caching WhichBrowser can cache results between requests. Using a cache is especially useful if you use WhichBrowser on every page of your website and a user visits multiple pages. During the first visit the headers will be parsed and the result will be cached. Upon further visits, the cached results will be used, which is much faster than having to parse the headers again and again. @@ -201,8 +190,11 @@ In order to enable caching you need to specify in the options object which type For example, if you want to enable the cache you need to construct the `WhichBrowser` object in this way: ```js -const result = new WhichBrowser(request.header, {cache: WhichBrowser.SIMPLE_CACHE}); +const result = new WhichBrowser(request.header, { + cache: WhichBrowser.SIMPLE_CACHE, +}); ``` + If a result is retrieved from the cache it has the `cached` property set to `true` ```js @@ -212,6 +204,7 @@ if (result.cached) { // just parsed for the first time } ``` + You can also specify after how many seconds a cached result should be discarded. The default value is 900 seconds or 15 minutes. If you think WhichBrowser uses too much memory for caching, you should lower this value. You can do this by setting the `cacheExpires` property in the options object. For example, if you want that your cached results lasts for 300 seconds or 5 minutes do: @@ -219,10 +212,10 @@ For example, if you want that your cached results lasts for 300 seconds or 5 min ```js const result = new WhichBrowser(request.header, { cache: WhichBrowser.SIMPLE_CACHE, - cacheExpires: 300 - } -); + cacheExpires: 300, +}); ``` + A value for `cacheExpires` less or equal to `0` disable the expiry for that result and it will last until you restart node or you parse the same set of headers with a `cacheExpires` greater than `0`. Cache validity is checked at a rate of `cacheExpires / 5` so, with a `cacheExpires` of `500`, you can rest assured that your result has been reaped from the cache after `500 + 500 / 5 + 1` seconds. @@ -233,16 +226,15 @@ If you want to speed up the process of validity check you can set the `cacheChec const result = new WhichBrowser(request.header, { cache: WhichBrowser.SIMPLE_CACHE, cacheExpires: 300, - cacheCheckInterval: 1 - } -); + cacheCheckInterval: 1, +}); ``` + In this way the cache lasts for `300` seconds but is checked every `1` second. > Be aware that changing `cacheExpiries` or `cacheCheckInterval` impact the cache validity check rate for **ALL** records in the cache. For example setting `cacheExpiries` to `0` will prevent **ALL** results to expire because it will disable the cache validity check (for the sake of truth it will be done every `57085` years, `5` months, `10` days, `7` hours, `35` minutes and `48` seconds). -API reference -------------- +## API reference ### The WhichBrowser object @@ -250,13 +242,13 @@ After a new `WhichBrowser` object is created, it contains a number of properties **Properties:** -* `browser` +- `browser` an object that contains information about the browser itself -* `engine` +- `engine` an object that contains information about the rendering engine -* `os` +- `os` an object that contains information about the operating system -* `device` +- `device` an object that contains information about the device **Functions:** @@ -280,35 +272,34 @@ Is used to query the `name` and `version` property of the `engine` object. This Is used to query the `name` and `version` property of the `os` object. This function works in exactly the same way as `isBrowser`. `isDetected()` -Is there actually some browser detected, for did we fail to detect anything? +Is there actually some browser detected, or did we fail to detect anything? `toString()` Get a human readable representation of the detected browser, including operating system and device information. - ### The Browser object An object of the `Browser` class is used for the `browser` property of the main `WhichBrowser` object and contains a number of properties. If a property is not applicable in this situation it will be null or undefined. **Properties:** -* `name` +- `name` a string containing the name of the browser -* `alias` +- `alias` a string containing an alternative name of the browser -* `version` +- `version` a version object containing information about the version of the browser -* `stock` +- `stock` a boolean, true if the browser is the default browser of the operating system, false otherwise -* `channel` +- `channel` a string containing the distribution channel, ie. 'Nightly' or 'Next'. -* `mode` +- `mode` a string that can contain the operating mode of the browser, ie. 'proxy'. -* `hidden` +- `hidden` a boolean that is true if the browser does not have a name and is the default of the operating system. -* `family` +- `family` an object that contains information about to which family this browser belongs -* `using` +- `using` an object that contains information about to which kind of webview this browser uses **Functions:** @@ -328,16 +319,15 @@ Get the version of the browser `toString()` Get a human readable representation of the detected browser - ### The Engine object An object of the `Engine` class is used for the `engine` property of the main `WhichBrowser` object and contains a number of properties. If a property is not applicable in this situation it will be null or undefined. **Properties:** -* `name` +- `name` a string containing the name of the rendering engine -* `version` +- `version` a version object containing information about the version of the rendering engine **Functions:** @@ -351,18 +341,17 @@ Get the version of the rendering engine `toString()` Get a human readable representation of the detected rendering engine - ### The Os object An object of the `Os` class is used for the `os` property of the main `WhichBrowser` object and contains a number of properties. If a property is not applicable in this situation it will be null or undefined. **Properties:** -* `name` +- `name` a string containing the name of the operating system -* `version` +- `version` a version object containing information about the version of the operating system -* `family` +- `family` an object that contains information about to which family this operating system belongs **Functions:** @@ -379,52 +368,60 @@ Get the version of the operating system `toString()` Get a human readable representation of the detected operating system - ### The Device object An object of the `Device` class is used for the `device` property of the main `Parser` object and contains a number of properties. If a property is not applicable in this situation it will be null or undefined. **Properties:** -* `type` +- `type` a string containing the type of the browser. -* `subtype` +- `subtype` a string containing the subtype of the browser. -* `identified` +- `identified` a boolean that is true if the device has been positively identified. -* `manufacturer` +- `manufacturer` a string containing the manufacturer of the device, ie. 'Apple' or 'Samsung'. -* `model` +- `model` as string containing the model of the device, ie. 'iPhone' or 'Galaxy S4'. The `type` property can contain any value from the following list: -* desktop -* mobile -* tablet -* gaming -* headset -* ereader -* media -* emulator -* television -* monitor -* camera -* signage -* whiteboard -* car -* pos -* bot +- desktop +- mobile +- pda +- dect +- tablet +- gaming +- ereader +- media +- headset +- watch +- emulator +- television +- monitor +- camera +- printer +- signage +- whiteboard +- devboard +- inflight +- appliance +- gps +- car +- pos +- bot +- projector If the `type` is "mobile", the `subtype` property can contain any value from the following list: -* feature -* smart +- feature +- smart If the `type` is "gaming", the `subtype` property can contain any value from the following list: -* console -* portable +- console +- portable **Functions:** @@ -437,16 +434,15 @@ Get the name of the model `toString()` Get a human readable representation of the detected device - ### The Family object An object of the `Family` class is used for the `family` property of the `Browser` and `Os` object and contains a number of properties. If a property is not applicable in this situation it will be null or undefined. **Properties:** -* `name` +- `name` a string containing the name of the family -* `version` +- `version` a version object containing information about the version of the family **Functions:** @@ -460,16 +456,15 @@ Get the version of the family `toString()` Get a human readable representation of the family - ### The Using object An object of the `Using` class is used for the `using` property of the `Browser` object and contains a number of properties. If a property is not applicable in this situation it will be null or undefined. **Properties:** -* `name` +- `name` a string containing the name of the webview -* `version` +- `version` a version object containing information about the version of the webview **Functions:** @@ -483,20 +478,19 @@ Get the version of the webview `toString()` Get a human readable representation of the webview - ### The Version object An object of the `Version` class is used for the `version` property of the `Browser`, `Engine` and `Os` object and contains a number of properties and functions. If a property is not applicable in this situation it will be null or undefined. **Properties:** -* `value` +- `value` a string containing the original version number. -* `alias` +- `alias` a string containing an alias for the version number, ie. 'XP' for Windows '5.1'. -* `nickname` +- `nickname` a string containing a nickname for the version number, ie. 'Mojave' for OS X '10.14'. -* `details` +- `details` an integer containing the number of digits of the version number that should be printed. **Functions:** @@ -505,24 +499,24 @@ An object of the `Version` class is used for the `version` property of the `Brow Using this function it is easy to compare a version to another version. If you specify only one argument, this function will return if the versions are the same. You can also specify two arguments, in that case the first argument contains the comparison operator, such as `<`, `<=`, `=`, `=>` or `>`. The second argument is the version you want to compare it to. You can use versions like `10`, `10.7` or `'10.7.4'`, but be aware that `10` is not the same as `10.0`. For example if our OS version is `10.7.4`: ```js -result.os.version.is('10.7.4'); +result.os.version.is("10.7.4"); // true -result.os.version.is('10.7'); +result.os.version.is("10.7"); // true -result.os.version.is('10'); +result.os.version.is("10"); // true -result.os.version.is('10.0'); +result.os.version.is("10.0"); // false -result.os.version.is('>', '10'); +result.os.version.is(">", "10"); // false -result.os.version.is('>', '10.7'); +result.os.version.is(">", "10.7"); // false -result.os.version.is('>', '10.7.3'); +result.os.version.is(">", "10.7.3"); // true ``` diff --git a/bin/update-applications.js b/bin/update-applications.js index bef8434..2b4f40b 100644 --- a/bin/update-applications.js +++ b/bin/update-applications.js @@ -16,7 +16,6 @@ const types = [ needsBrowserConstants: true, }, ]; -const request = require('request'); const fs = require('fs'); const path = require('path'); @@ -24,14 +23,16 @@ types.forEach((type) => { console.log(`Updating application-${type.name.toLowerCase()}...`); const filepath = path.join(__dirname, `../data/applications-${type.name.toLowerCase()}.js`); const fileStream = fs.createWriteStream(filepath); - request( - `https://raw.githubusercontent.com/WhichBrowser/Parser/master/data/applications-${type.name.toLowerCase()}.php`, - (err, response = {}) => { - if (err) { - return; + const url = `https://raw.githubusercontent.com/WhichBrowser/Parser/master/data/applications-${type.name.toLowerCase()}.php`; + fetch(url) + .then((response) => { + if (!response.ok) { + throw new Error(`${url} responded with HTTP ${response.status}`); } - - let result = response.body.match(/\[[\s\S]*\]/)[0]; + return response.text(); + }) + .then((body) => { + let result = body.match(/\[[\s\S]*\]/)[0]; // Remove => and add : result = result @@ -57,14 +58,17 @@ types.forEach((type) => { fileStream.write('/* This file is automatically generated, do not edit manually! */\n\n'); fileStream.write('/* eslint-disable */\n\n'); type.needsDeviceConstants && - fileStream.write('const DeviceType = require(\'../src/constants\').deviceType;\n\n'); + fileStream.write("const DeviceType = require('../src/constants').deviceType;\n\n"); type.needsBrowserConstants && - fileStream.write('const BrowserType = require(\'../src/constants\').browserType;\n\n'); + fileStream.write("const BrowserType = require('../src/constants').browserType;\n\n"); fileStream.write(`exports.${type.name} = ${result};\n\n`); fileStream.write('/* This file is automatically generated, do not edit manually! */\n'); fileStream.end(); console.log(`Downloaded new application-${type.name.toLowerCase()}...`); - } - ); + }) + .catch((err) => { + console.error(`Failed to update application-${type.name.toLowerCase()}: ${err.message}`); + process.exitCode = 1; + }); }); diff --git a/bin/update-browser-ids.js b/bin/update-browser-ids.js index 7e7b11e..d473a70 100644 --- a/bin/update-browser-ids.js +++ b/bin/update-browser-ids.js @@ -1,24 +1,32 @@ /* eslint-disable no-console */ -const request = require('request'); const fs = require('fs'); const path = require('path'); console.log('Updating browser ids...'); const filepath = path.join(__dirname, '../data/id-android.js'); const fileStream = fs.createWriteStream(filepath); -request('https://api.whichbrowser.net/resources/browser-ids.json', (err, response = {}) => { - if (err) { - return; - } - const result = JSON.parse(response.body); - fileStream.write('/* This file is automatically generated, do not edit manually! */\n\n'); - fileStream.write('exports.ANDROID_BROWSERS = {\n'); - result.forEach((val) => fileStream.write(` '${val.browserId}': ${deviceString(val.browserName)},\n`), null); - fileStream.write('};\n\n'); - fileStream.write('/* This file is automatically generated, do not edit manually! */\n'); - fileStream.end(); - console.log(`Browser ids update complete with ${result.length} entries...`); -}); +const URL = 'https://api.whichbrowser.net/resources/browser-ids.json'; + +fetch(URL) + .then((response) => { + if (!response.ok) { + throw new Error(`${URL} responded with HTTP ${response.status}`); + } + return response.json(); + }) + .then((result) => { + fileStream.write('/* This file is automatically generated, do not edit manually! */\n\n'); + fileStream.write('exports.ANDROID_BROWSERS = {\n'); + result.forEach((val) => fileStream.write(` '${val.browserId}': ${deviceString(val.browserName)},\n`), null); + fileStream.write('};\n\n'); + fileStream.write('/* This file is automatically generated, do not edit manually! */\n'); + fileStream.end(); + console.log(`Browser ids update complete with ${result.length} entries...`); + }) + .catch((err) => { + console.error(`Failed to update browser ids: ${err.message}`); + process.exitCode = 1; + }); /** * Escapes \ and ' inside string diff --git a/bin/update-chrome.js b/bin/update-chrome.js index 925b11e..5a242a9 100644 --- a/bin/update-chrome.js +++ b/bin/update-chrome.js @@ -1,78 +1,83 @@ /* eslint-disable no-console */ -const request = require('request'); const fs = require('fs'); const path = require('path'); const Chrome = require('../src/data/Chrome'); console.log('Updating chrome versions...'); const filepath = path.join(__dirname, '../data/browsers-chrome.js'); -const fileStream = fs.createWriteStream(filepath); -const stable = { - desktop: [], - mobile: [], -}; -function comparator(a, b) { - return parseInt(a, 10) - parseInt(b, 10); -} -request('http://omahaproxy.appspot.com/history', (err, response = {}) => { - if (err) { - return; - } - const omaha = response.body.split('\n'); - omaha.forEach((line) => { - const [os, stability, version] = line.split(','); - if (os === 'mac' && stability === 'stable') { - stable.desktop.push( - version - .split('.') - .slice(0, 3) - .join('.') - ); - } - if (os === 'android' && stability === 'stable') { - stable.mobile.push( - version - .split('.') - .slice(0, 3) - .join('.') - ); - } - }); - - stable.desktop.sort(comparator); - stable.mobile.sort(comparator); +/* OmahaProxy (the previous source for this data) has been shut down; the Chromium Dash + * release API is the maintained replacement. `num` is capped server-side at 1000, which + * is enough to cover the full Stable release history for both platforms. */ +const ENDPOINT = 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&num=1000&platform='; - let countNewDesktop = 0; - stable.desktop.forEach((version) => { - if (!Chrome.DESKTOP[version]) { - Chrome.DESKTOP[version] = 'stable'; - countNewDesktop++; +function compareVersions(a, b) { + const partsA = a.split('.').map(Number); + const partsB = b.split('.').map(Number); + for (let i = 0; i < Math.max(partsA.length, partsB.length); i++) { + const diff = (partsA[i] || 0) - (partsB[i] || 0); + if (diff !== 0) { + return diff; } - }); + } + return 0; +} - let countNewMobile = 0; - stable.mobile.forEach((version) => { - if (!Chrome.MOBILE[version]) { - Chrome.MOBILE[version] = 'stable'; - countNewMobile++; - } - }); +function fetchPlatform(platform, callback) { + const url = ENDPOINT + platform; + fetch(url) + .then((response) => { + if (!response.ok) { + throw new Error(`${url} responded with HTTP ${response.status}`); + } + return response.json(); + }) + .then((body) => { + if (!Array.isArray(body)) { + throw new Error(`${url} returned an unexpected payload`); + } + callback(body.map((release) => release.version.split('.').slice(0, 3).join('.'))); + }) + .catch((err) => { + console.error(`Failed to fetch ${platform} releases: ${err.message}`); + process.exitCode = 1; + callback([]); + }); +} + +fetchPlatform('Mac', (desktopVersions) => { + fetchPlatform('Android', (mobileVersions) => { + let countNewDesktop = 0; + desktopVersions.forEach((version) => { + if (!Chrome.DESKTOP[version]) { + Chrome.DESKTOP[version] = 'stable'; + countNewDesktop++; + } + }); - fileStream.write('module.exports = {\n'); - fileStream.write(' DESKTOP: {\n'); - Object.keys(Chrome.DESKTOP).forEach((version) => - fileStream.write(` '${version}': '${Chrome.DESKTOP[version]}',\n`) - ); - fileStream.write(' },\n'); - fileStream.write(' MOBILE: {\n'); - Object.keys(Chrome.MOBILE).forEach((version) => - fileStream.write(` '${version}': '${Chrome.MOBILE[version]}',\n`) - ); - fileStream.write(' },\n'); - fileStream.write('};\n'); + let countNewMobile = 0; + mobileVersions.forEach((version) => { + if (!Chrome.MOBILE[version]) { + Chrome.MOBILE[version] = 'stable'; + countNewMobile++; + } + }); - fileStream.end(); + const fileStream = fs.createWriteStream(filepath); + fileStream.write('module.exports = {\n'); + fileStream.write(' DESKTOP: {\n'); + Object.keys(Chrome.DESKTOP) + .sort(compareVersions) + .forEach((version) => fileStream.write(` '${version}': '${Chrome.DESKTOP[version]}',\n`)); + fileStream.write(' },\n'); + fileStream.write(' MOBILE: {\n'); + Object.keys(Chrome.MOBILE) + .sort(compareVersions) + .forEach((version) => fileStream.write(` '${version}': '${Chrome.MOBILE[version]}',\n`)); + fileStream.write(' },\n'); + fileStream.write('};\n'); + fileStream.end(); - console.log(`Updated chrome with ${countNewDesktop} new stable version for DEKSTOP`); - console.log(`Updated chrome with ${countNewMobile} new stable version for MOBILE`); + console.log(`Updated chrome with ${countNewDesktop} new stable version for DEKSTOP`); + console.log(`Updated chrome with ${countNewMobile} new stable version for MOBILE`); + }); }); diff --git a/bin/update-indices.js b/bin/update-indices.js index e24d988..49438ac 100644 --- a/bin/update-indices.js +++ b/bin/update-indices.js @@ -66,21 +66,22 @@ function updateIndeces(type) { * @param {string} type */ function updateIndecesFromWeb(type) { - const request = require('request'); const fs = require('fs'); const path = require('path'); console.log(`Updating indices models-${type}...`); const filepath = path.join(__dirname, `../data/indices/models-${type}.js`); const fileStream = fs.createWriteStream(filepath); - request( - `https://raw.githubusercontent.com/WhichBrowser/Parser/master/data/indices/models-${type}.php`, - (err, response = {}) => { - if (err) { - return; + const url = `https://raw.githubusercontent.com/WhichBrowser/Parser/master/data/indices/models-${type}.php`; + fetch(url) + .then((response) => { + if (!response.ok) { + throw new Error(`${url} responded with HTTP ${response.status}`); } - - let result = response.body.match(/array \(([\s\S]*)\);/)[1]; + return response.text(); + }) + .then((body) => { + let result = body.match(/array \(([\s\S]*)\);/)[1]; // Replace '@50' => with '@50': result = result.replace(/('@.*') =>/g, '$1:'); @@ -97,14 +98,20 @@ function updateIndecesFromWeb(type) { fileStream.write('/* This file is automatically generated, do not edit manually! */\n'); fileStream.end(); console.log(`Downloaded new application-${type}...`); - } - ); + }) + .catch((err) => { + console.error(`Failed to update indices/models-${type}: ${err.message}`); + process.exitCode = 1; + }); } /** * Sort object by keys * @param {object} obj * @return {object} */ -const ksort = (obj) => Object.keys(obj).sort().reduce((acc, val) => Object.assign(acc, {[val]: obj[val]}), {}); +const ksort = (obj) => + Object.keys(obj) + .sort() + .reduce((acc, val) => Object.assign(acc, { [val]: obj[val] }), {}); types.forEach(useWeb ? updateIndecesFromWeb : updateIndeces); diff --git a/bin/update-models.js b/bin/update-models.js index af05fbc..76cf8ec 100644 --- a/bin/update-models.js +++ b/bin/update-models.js @@ -7,27 +7,27 @@ const models = [ needsFlagsConstants: true, hasCarrier: true, }, - {name: 'ASHA'}, - {name: 'BADA'}, - {name: 'BLACKBERRY'}, - {name: 'BREW'}, + { name: 'ASHA' }, + { name: 'BADA' }, + { name: 'BLACKBERRY' }, + { name: 'BREW' }, { name: 'FEATURE', needsDeviceConstants: true, }, - {name: 'FIREFOXOS'}, + { name: 'FIREFOXOS' }, { name: 'IOS', needsDeviceConstants: true, }, - {name: 'KDDI'}, + { name: 'KDDI' }, { name: 'PALMOS', needsDeviceConstants: true, needsDeviceSubTypeConstants: true, }, - {name: 'S30PLUS'}, - {name: 'S40'}, + { name: 'S30PLUS' }, + { name: 'S40' }, { name: 'SYMBIAN', needsFlagsConstants: true, @@ -38,7 +38,7 @@ const models = [ name: 'TIZEN', needsDeviceConstants: true, }, - {name: 'TOUCHWIZ'}, + { name: 'TOUCHWIZ' }, { name: 'WM', hasCarrier: true, @@ -50,7 +50,6 @@ const models = [ }, ]; -const request = require('request'); const fs = require('fs'); const path = require('path'); @@ -58,14 +57,16 @@ models.forEach((type) => { console.log(`Updating application-${type.name.toLowerCase()}...`); const filepath = path.join(__dirname, `../data/models-${type.name.toLowerCase()}.js`); const fileStream = fs.createWriteStream(filepath); - request( - `https://raw.githubusercontent.com/WhichBrowser/Parser/master/data/models-${type.name.toLowerCase()}.php`, - (err, response = {}) => { - if (err) { - return; + const url = `https://raw.githubusercontent.com/WhichBrowser/Parser/master/data/models-${type.name.toLowerCase()}.php`; + fetch(url) + .then((response) => { + if (!response.ok) { + throw new Error(`${url} responded with HTTP ${response.status}`); } - - let result = response.body.match(/\[[\s\S]*\]/)[0]; + return response.text(); + }) + .then((body) => { + let result = body.match(/\[[\s\S]*\]/)[0]; // Remove => and add : result = result.replace(/=>/g, ':'); @@ -105,17 +106,20 @@ models.forEach((type) => { fileStream.write('/* This file is automatically generated, do not edit manually! */\n\n'); fileStream.write('/* eslint-disable */\n\n'); type.needsDeviceConstants && - fileStream.write('const DeviceType = require(\'../src/constants\').deviceType;\n\n'); + fileStream.write("const DeviceType = require('../src/constants').deviceType;\n\n"); type.needsDeviceSubTypeConstants && - fileStream.write('const DeviceSubType = require(\'../src/constants\').deviceSubType;\n\n'); + fileStream.write("const DeviceSubType = require('../src/constants').deviceSubType;\n\n"); type.needsBrowserConstants && - fileStream.write('const BrowserType = require(\'../src/constants\').browserType;\n\n'); - type.needsFlagsConstants && fileStream.write('const Flag = require(\'../src/constants\').flag;\n\n'); + fileStream.write("const BrowserType = require('../src/constants').browserType;\n\n"); + type.needsFlagsConstants && fileStream.write("const Flag = require('../src/constants').flag;\n\n"); fileStream.write(`exports.${type.name}_MODELS = ${result};\n\n`); fileStream.write('/* This file is automatically generated, do not edit manually! */\n'); fileStream.end(); console.log(`Downloaded new application-${type.name.toLowerCase()}...`); - } - ); + }) + .catch((err) => { + console.error(`Failed to update models-${type.name.toLowerCase()}: ${err.message}`); + process.exitCode = 1; + }); }); diff --git a/bin/update-profiles.js b/bin/update-profiles.js index 934124b..58fc9bb 100644 --- a/bin/update-profiles.js +++ b/bin/update-profiles.js @@ -1,36 +1,44 @@ /* eslint-disable no-console */ -const request = require('request'); const fs = require('fs'); const path = require('path'); console.log('Updating profiles...'); const filepath = path.join(__dirname, '../data/profiles.js'); const fileStream = fs.createWriteStream(filepath); -request('https://api.whichbrowser.net/resources/profiles.json', (err, response = {}) => { - if (err) { - return; - } - const result = JSON.parse(response.body); - fileStream.write('/* This file is automatically generated, do not edit manually! */\n\n'); - fileStream.write('/* eslint-disable max-len */\n\n'); - fileStream.write('const DeviceType = require(\'../src/constants\').deviceType;\n\n'); - fileStream.write('exports.PROFILES = {\n'); - result.forEach( - (profile) => - fileStream.write( - ` ${escapeString(profile.url)}: ` + - `[${escapeString(profile.deviceManufacturer)}, ${escapeString(profile.deviceModel)}, ` + - `${escapeString(profile.osName)}` + - `${deviceType(profile.deviceType) ? `, ${deviceType(profile.deviceType)}` : ''}],\n` - ), - null - ); - fileStream.write('};\n\n'); - fileStream.write('/* eslint-enable max-len */\n\n'); - fileStream.write('/* This file is automatically generated, do not edit manually! */\n'); - fileStream.end(); - console.log(`Downloaded ${result.length} profiles...`); -}); +const URL = 'https://api.whichbrowser.net/resources/profiles.json'; + +fetch(URL) + .then((response) => { + if (!response.ok) { + throw new Error(`${URL} responded with HTTP ${response.status}`); + } + return response.json(); + }) + .then((result) => { + fileStream.write('/* This file is automatically generated, do not edit manually! */\n\n'); + fileStream.write('/* eslint-disable max-len */\n\n'); + fileStream.write("const DeviceType = require('../src/constants').deviceType;\n\n"); + fileStream.write('exports.PROFILES = {\n'); + result.forEach( + (profile) => + fileStream.write( + ` ${escapeString(profile.url)}: ` + + `[${escapeString(profile.deviceManufacturer)}, ${escapeString(profile.deviceModel)}, ` + + `${escapeString(profile.osName)}` + + `${deviceType(profile.deviceType) ? `, ${deviceType(profile.deviceType)}` : ''}],\n` + ), + null + ); + fileStream.write('};\n\n'); + fileStream.write('/* eslint-enable max-len */\n\n'); + fileStream.write('/* This file is automatically generated, do not edit manually! */\n'); + fileStream.end(); + console.log(`Downloaded ${result.length} profiles...`); + }) + .catch((err) => { + console.error(`Failed to update profiles: ${err.message}`); + process.exitCode = 1; + }); /** * Escapes \ and ' inside string diff --git a/bin/update-regexes.js b/bin/update-regexes.js index 1447e3e..77e78b7 100644 --- a/bin/update-regexes.js +++ b/bin/update-regexes.js @@ -35,7 +35,7 @@ function updateRegexes(type) { */ function getSet(list) { const set = new Set(); - list.forEach(({id}) => set.add(id)); + list.forEach(({ id }) => set.add(id)); return set; } diff --git a/data/applications-bots.js b/data/applications-bots.js index 25df850..4f348b4 100644 --- a/data/applications-bots.js +++ b/data/applications-bots.js @@ -12,13 +12,19 @@ exports.BOTS = [ { name: 'Adaxas', id: 'adaxas', regexp: /Adaxas Spider/u }, { name: 'AddThis.com', id: 'addthis', regexp: /AddThis.com/u }, { name: 'ADmantX', id: 'admantx', regexp: /ADmantX Platform Semantic Analyzer/u }, - { name: 'AhrefsBot', id: 'ahrefsbot', regexp: /AhrefsBot.Feeds v([0-9.]*)/u }, - { name: 'AhrefsBot', id: 'ahrefsbot', regexp: /AhrefsBot\/([0-9.]*)/u }, + { name: 'Adsbot', id: 'adsbot', regexp: /Adsbot\/([0-9.]*)/u }, // Not to be mixed up with Google Adsbot + { name: 'Ahrefs Feeds Bot', id: 'ahrefs', regexp: /AhrefsBot\.Feeds v([0-9.]*)/u }, + { name: 'Ahrefs Site Audit Bot', id: 'ahrefs', regexp: /AhrefsSiteAudit\/([0-9.]*)/u }, + { name: 'Ahrefs News Bot', id: 'ahrefs', regexp: /AhrefsBot\/([0-9.]*); News/u }, + { name: 'Ahrefs SA Bot', id: 'ahrefs', regexp: /AhrefsBot\/([0-9.]*); SA/u }, + { name: 'Ahrefs Bot', id: 'ahrefs', regexp: /AhrefsBot\/([0-9.]*)/u }, { name: 'Alexa', id: 'archiver', regexp: /ia_archiver/u }, { name: 'AltaVista', id: 'altavista', regexp: /AltaVista Intranet V([0-9.]*)/u }, { name: 'Analytics SEO', id: 'curious', regexp: /Curious George - www.analyticsseo.com\/crawler/u }, { name: 'Amazon CloudFront', id: 'cloudfront', regexp: /Amazon CloudFront/u }, { name: 'Amorank Spider', id: 'amorank', regexp: /AmorankSpider\/([0-9.]*)/u }, + { name: 'Apple Bot', id: 'apple', regexp: /Applebot\/([0-9.]*)/u }, + { name: 'Apple News Bot', id: 'apple', regexp: /AppleNewsBot/u }, { name: 'ArchiveBot', id: 'archive', regexp: /ArchiveTeam ArchiveBot/u }, { name: 'Archive.org', id: 'archive', regexp: /archive.org_bot(?:\/([0-9.]*))?/u }, { name: 'Archive.org', id: 'archive', regexp: /special_archiver(?:\/([0-9.]*))?/u }, @@ -32,6 +38,7 @@ exports.BOTS = [ { name: 'Baiduspider', id: 'baidu', regexp: /baiduspider-mobile-gate/u }, { name: 'Baiduspider', id: 'baidu', regexp: /\+http:\/\/www.baidu.com\/search\/spider.html/u }, { name: 'Baiduspider', id: 'baidu', regexp: /BaiduImagespider/u }, + { name: 'Barkrowler', id: 'barkrowler', regexp: /Barkrowler\/([0-9.]*)/u }, { name: 'BazQux', id: 'bazqux', regexp: /BazQux\/([0-9.]*)/u }, { name: 'Bing', id: 'bingbot', regexp: /bingbot\/([0-9.]*)/u }, { name: 'Bing', id: 'msnbot', regexp: /msnbot\/([0-9.]*)/u }, @@ -42,7 +49,10 @@ exports.BOTS = [ { name: 'Bing', id: 'msnbot', regexp: /MSNBOT_Mobile/u }, { name: 'Bing', id: 'msmobot', regexp: /MSMOBOT/u }, { name: 'Bing Preview', id: 'bing', regexp: /BingPreview\/([0-9.]*)/u }, + { name: 'Blex Bot', id: 'blex', regexp: /BLEXBot\/([0-9.]*)/u }, + { name: 'Blex Test Bot', id: 'blex', regexp: /BLEXBotTest\/([0-9.]*)/u }, { name: 'BlogBridge', id: 'blogbridge', regexp: /BlogBridge ([0-9.]*)/u }, + { name: 'Blogger Bot', id: 'blogger', regexp: /blogger\.com\)/u }, { name: 'Bloglines', id: 'bloglines', regexp: /Bloglines\/([0-9.]*)/u }, { name: 'Bloglovin', id: 'bloglovin', regexp: /Bloglovin\/([0-9.]*)/u }, { name: 'BlogPulse', id: 'blogpulse', regexp: /BlogPulse \(ISSpider-([0-9.]*)/u }, @@ -50,21 +60,46 @@ exports.BOTS = [ { name: 'Blogtrottr', id: 'blogtrot', regexp: /Blogtrottr\/([0-9.]*)/u }, { name: 'Blogshares', id: 'blogshares', regexp: /Blogshares/u }, { name: 'BoardReader', id: 'boardreader', regexp: /BoardReader\/([0-9.]*)/u }, + { name: 'British Library', id: 'lddc', regexp: /uk_lddc_bot\/([0-9.]*)/u }, { name: 'Browsershots', id: 'browsershots', regexp: /Browsershots/u }, { name: 'BUbiNG', id: 'bubing', regexp: /BUbiNG/u }, + { name: 'Buck', id: 'buck', regexp: /Buck\/([0-9.]*)/u }, + { name: 'BuiltWith', id: 'builtwith', regexp: /BuiltWith\/([0-9.]*)/u }, { name: 'Butterfly', id: 'butterfly', regexp: /Butterfly\/([0-9.]*)/u }, + { name: 'BuzzSumo', id: 'buzzsumo', regexp: /buzzsumo\.com/u }, + { name: 'Bytespider', id: 'bytespider', regexp: /Bytespider/u }, { name: 'CiteSeerX', id: 'heritrix', regexp: /heritrix\/([0-9.]*)/u }, + { name: 'Clarabot', id: 'clarabot', regexp: /Clarabot\/([0-9.]*)/u }, { name: 'Cliqzbot', id: 'cliqz', regexp: /Cliqzbot\/([0-9.]*)/u }, - { name: 'CloudFare Always Online', id: 'cloudflare', regexp: /CloudFlare-AlwaysOnline\/([0-9.]*)/u }, + { name: 'Cloudflare Always Online', id: 'cloudflare', regexp: /CloudFlare-AlwaysOnline\/([0-9.]*)/u }, + { name: 'Cloudflare AMP', id: 'cloudflare', regexp: /Cloudflare-AMP\/([0-9.]*)/u }, + { name: 'Cloudflare Diagnostics', id: 'cloudflare', regexp: /Cloudflare Diagnostics/u }, + { name: 'Cloudflare Diagnostics', id: 'cloudflare', regexp: /Cloudflare-Diagnostics/u }, + { name: 'Cloudflare SpeedTest', id: 'cloudflare', regexp: /Cloudflare SpeedTest\/([0-9.]*)/u }, + { name: 'Coccocbot Web', id: 'coccoc', regexp: /coccocbot-web\/([0-9.]*)/u }, + { name: 'Coccocbot Image', id: 'coccoc', regexp: /coccocbot-image\/([0-9.]*)/u }, { name: 'Comodo', id: 'comodo', regexp: /Comodo Spider ([0-9.]*)/u }, { name: 'CommaFeed', id: 'commafeed', regexp: /CommaFeed\/([0-9.]*)/u }, - { name: 'CommonCrawl', id: 'cbot', regexp: /CCBot\/([0-9.]*)/u }, + { name: 'Common Crawl Bot', id: 'cbot', regexp: /CCBot\/([0-9.]*)/u }, + { name: 'Common Crawl Research Bot', id: 'cresearch', regexp: /CCResearchBot\/([0-9.]*)/u }, { name: 'Data Hotel Watchdog', id: 'watchdog', regexp: /Data-Hotel-Watchdog\/([0-9.]*)/u }, + { name: 'Datanyze', id: 'datanyze', regexp: /Datanyze/u }, { name: 'DataparkSearch', id: 'datasearch', regexp: /DataparkSearch\/([0-9.]*)/u }, + { name: 'Dataprovider Bot', id: 'dataprovider', regexp: /Dataprovider/u }, + { name: 'Daum', id: 'daum', regexp: /Daum\/([0-9.]*)/u }, { name: 'Daumoa', id: 'daumoa', regexp: /Daumoa ([0-9.]*)/u }, { name: 'Digg', id: 'digg', regexp: /Digg Deeper\/v([0-9.]*)/u }, { name: 'Digg', id: 'digg', regexp: /Digg\/([0-9.]*)/u }, + { name: 'DomainCrawler', id: 'domaincrawl', regexp: /DomainCrawler\/([0-9.]*)/u }, + { name: 'Domain Stats Bot', id: 'domainstats', regexp: /DomainStatsBot\/([0-9.]*)/u }, + { name: 'Discord', id: 'discord', regexp: /Discordbot\/([0-9.]*)/u }, { name: 'Domain Re-Animator', id: 'domain', regexp: /Domain Re-Animator Bot/u }, + { name: 'DMCA', id: 'dmca', regexp: /DMCA\.com Page Protection Crawling Service/u }, + { name: 'DuckDuckGo Bot', id: 'duckduck', regexp: /DuckDuckBot\/([0-9.]*)/u }, + { name: 'DuckDuckGo Https Bot', id: 'duckduck', regexp: /DuckDuckBot-Https\/([0-9.]*)/u }, + { name: 'DuckDuckGo Favicons Bot', id: 'duckduck', regexp: /DuckDuckGo-Favicons-Bot\/([0-9.]*)/u }, + { name: 'Embed PHP Library', id: 'embed', regexp: /Embed PHP library/iu }, + { name: 'Evc-batch', id: 'evc', regexp: /evc-batch\/([0-9.]*)/u }, { name: 'Exabot Thumbnails', id: 'exabot', regexp: /Exabot-Thumbnails/u }, { name: 'ExactSeek', id: 'exactseek', regexp: /ExactSeek Crawler/u }, { name: 'Ezooms Crawler', id: 'ezooms', regexp: /Ezooms\/([0-9.]*)/u }, @@ -91,11 +126,13 @@ exports.BOTS = [ { name: 'FeedValidator', id: 'validator', regexp: /FeedValidator\/([0-9.]*)/u }, { name: 'FeedZirra', id: 'feed', regexp: /feedzirra/u }, { name: 'Fever', id: 'fever', regexp: /Fever\/([0-9.]*)/u }, + { name: 'Florienzh', id: 'florienzh', regexp: /Florienzh\/([0-9.]*)/u }, { name: 'Friendica', id: 'friendica', regexp: /Friendica/u }, { name: 'FTRF: Friendly Robot', id: 'robot', regexp: /FTRF: Friendly robot\/([0-9.]*)/u }, { name: 'Genieo Web Filter', id: 'genieo', regexp: /Genieo\/([0-9.]*)/u }, { name: 'GNIP', id: 'fetchor', regexp: /UnwindFetchor\/([0-9.]*)/u }, { name: 'Gocrawl', id: 'google', regexp: /Googlebot \(gocrawl v([0-9.]*)\)/u }, + { name: 'Gofeed', id: 'gofeed', regexp: /Gofeed\/([0-9.]+)/u }, { name: 'GomezAgent', id: 'gomez', regexp: /GomezAgent ([0-9.]+)/u }, { name: 'Goo', id: 'ichiro', regexp: /ichiro\/mobile goo/u }, { name: 'Goo Blog Search', id: 'gooblog', regexp: /gooblog\/([0-9.]*)/u }, @@ -110,6 +147,7 @@ exports.BOTS = [ { name: 'Google App Engine', id: 'google', regexp: /AppEngine-Google/u }, { name: 'Google Web Preview', id: 'google', regexp: /Google Web Preview/u }, { name: 'Google Page Speed', id: 'google', regexp: /Google Page Speed Insights/u }, + { name: 'Google Favicon', id: 'google', regexp: /Google Favicon/u }, { name: 'Google FeedBurner', id: 'feed', regexp: /FeedBurner\/([0-9.]*)/u }, { name: 'Google Feedfetcher', id: 'google', regexp: /Feedfetcher-Google/iu }, { name: 'Google Font Analysis', id: 'google', regexp: /Google-FontAnalysis\/([0-9.]*)/u }, @@ -122,6 +160,7 @@ exports.BOTS = [ { name: 'Google Wireless Transcoder', id: 'google', regexp: /Google Wireless Transcoder/u }, { name: 'Google Play Newsstand', id: 'google', regexp: /GoogleProducer/u }, { name: 'Google YouTube Sample', id: 'google', regexp: /Google-YouTubeSample\/([0-9.]*)/u }, + { name: 'Gowikibot', id: 'gowiki', regexp: /Gowikibot\/([0-9.]*)/u }, { name: 'Grammarly', id: 'grammarly', regexp: /Grammarly\/([0-9.]*)/u }, { name: 'Grub', id: 'grub', regexp: /grub-client-([0-9.]*)/u }, { name: 'Hatena Antenna', id: 'hatena', regexp: /Hatena Antenna\/([0-9.]*)/u }, @@ -129,30 +168,57 @@ exports.BOTS = [ { name: 'Hatena Pagetitle', id: 'hatena', regexp: /Hatena Pagetitle Agent\/([0-9.]*)/u }, { name: 'HeartRails Capture', id: 'capture', regexp: /HeartRails_Capture\/([0-9.]*)/u }, { name: 'Heureka Feed', id: 'heureka', regexp: /Heurekabot-Feed/u }, + { name: 'HootSuite', id: 'hootsuite', regexp: /Hootsuite-WebFeed\/([0-9\.]*)/u }, + { name: 'HootSuite', id: 'hootsuite', regexp: /HootSuite Image proxy/u }, { name: 'htdig', id: 'htdig', regexp: /htdig\/([0-9.]*)/u }, { name: 'HTTPMon', id: 'httpmon', regexp: /HTTPMon\/([0-9.]*)/u }, { name: 'HubPages', id: 'hubpages', regexp: /HubPages V([0-9.]*)/u }, + { name: 'HubSpot Crawler', id: 'hubspot', regexp: /hubspot\.com/u }, { name: 'iAsk Spider', id: 'spider', regexp: /iaskspider\/([0-9.]*)/u }, { name: 'iAsk Spider', id: 'spider', regexp: /iaskspider2/u }, { name: 'Ichiro', id: 'ichiro', regexp: /ichiro\/([0-9.]*)/u }, { name: 'Internet Archive', id: 'archive', regexp: /InternetArchive\/([0-9.]*)/u }, + { name: 'IndeedBot', id: 'indeed', regexp: /IndeedBot ([0-9.]*)/u }, + { name: 'Iodc', id: 'iodc', regexp: /iodc\.co\.uk/u }, + { name: 'Istellabot', id: 'istellabot', regexp: /istellabot\/t\.([0-9.]*)/u }, { name: 'JamesBOT', id: 'crawler', regexp: /James BOT - WebCrawler/u }, { name: 'Jayde', id: 'crawler', regexp: /Jayde Crawler./u }, + { name: 'KakaoTalk Bot', id: 'kakao', regexp: /kakaotalk-scrap\/([0-9.]*)/u }, { name: 'Kouio', id: 'kouio', regexp: /kouio.com/u }, { name: 'Larbin', id: 'larbin', regexp: /[Ll]arbin[\/_]([0-9.]*)/u }, + { name: 'LetsearchBot', id: 'letsearch', regexp: /LetsearchBot\/([0-9.]*)/u }, + { name: 'Line Bot', id: 'line', regexp: /Linespider\/([0-9.]*)/u }, { name: 'Linkedin Bot', id: 'linkedin', regexp: /LinkedInBot\/([0-9.]*)/u }, + { name: 'Linkpad Bot', id: 'linkpad', regexp: /LinkpadBot\/([0-9.]*)/u }, { name: 'Linkdex Bot', id: 'linkdex', regexp: /linkdexbot-mobile\/([0-9.]*)/u }, { name: 'Linkdex Bot', id: 'linkdex', regexp: /linkdex.com\/v([0-9.]*)/u }, { name: 'Livedoor', id: 'livedoor', regexp: /livedoor/u }, + { name: 'LookSeek', id: 'seeker', regexp: /Seeker v\.([0-9.]*)/u }, { name: 'LTX71', id: 'ltx71', regexp: /ltx71/u }, { name: 'Magpie RSS', id: 'magpie', regexp: /MagpieRSS\/([0-9.]*)/u }, + { name: 'Majestic MJ12 Bot', id: 'mj12bot', regexp: /MJ12bot\/v([0-9.]*)/u }, + { name: 'Majestic MJ12 Bot', id: 'mj12bot', regexp: /mj12bot/u }, { name: 'Mapian News Bot', id: 'mapion', regexp: /mapion-news-bot\/([0-9.]*)/u }, + { name: 'Mail.ru Bot', id: 'mail\.ru', regexp: /Mail\.RU_Bot\/Img\/([0-9.]*)/i }, + { name: 'Mail.ru Bot', id: 'mail\.ru', regexp: /Mail\.RU_Bot\/([0-9.]*)/i }, + { name: 'Medium Bot', id: 'medium', regexp: /Mediumbot-MetaTagFetcher\/([0-9.]*)/u }, + { name: 'Medium Bot', id: 'medium', regexp: /Mediumbot-ProxyFetcher\/([0-9.]*)/u }, + { name: 'Mega Index Bot', id: 'megaindex', regexp: /MegaIndex\.ru\/([0-9.]*)/u }, { name: 'Microsoft Social Streams', id: 'socialstreams', regexp: /Microsoft MSN SocialStreams Bot/u }, { name: 'Mixi', id: 'mixi', regexp: /mixi-check\/([0-9.]*)/u }, + { name: 'Minds', id: 'minds', regexp: /MindsMediaProxy\/([0-9\.]*)/u }, { name: 'MnoGoSearch', id: 'mnogo', regexp: /MnoGoSearch\/([0-9.]*)/u }, + { name: 'MojeekBot', id: 'mojeek', regexp: /MojeekBot\/([0-9.]*)/u }, { name: 'Monitor.us', id: 'monitor', regexp: /monitor.us/u }, + { name: 'Moz', id: 'dotbot', regexp: /DotBot\/([0-9.]*)/i }, + { name: 'Moz', id: 'rogerbot', regexp: /rogerbot\/([0-9.]*)/i }, { name: 'Naver Yeti', id: 'yeti', regexp: /Yeti\/([0-9.]*)/u }, - { name: 'Netcraft Survey Bot', id: 'netcraft', regexp: /Netcraft Web Server Survey/u }, + { name: 'MxToolbox', id: 'mxtoolbox', regexp: /MxToolbox\/([a-zA-Z0-9.]*)/u }, + { name: 'Netcraft Survey Agent Bot', id: 'netcraft', regexp: /NetcraftSurveyAgent\/([0-9.]*)/u }, + { name: 'Netcraft Web Server Survey Bot', id: 'netcraft', regexp: /Netcraft Web Server Survey/u }, + { name: 'Netcraft SSL Server Survey Bot', id: 'netcraft', regexp: /Netcraft SSL Server Survey/u }, + { name: 'Netcraft Bot', id: 'netcraft', regexp: /Netcraft/iu }, + { name: 'netEstate NE Crawler', id: 'netestate', regexp: /netEstate NE Crawler/u }, { name: 'Netvibes', id: 'netvibes', regexp: /Netvibes/u }, { name: 'NewsBlur', id: 'newsblur', regexp: /NewsBlur Favicon Fetcher/u }, { name: 'NewsBlur', id: 'newsblur', regexp: /NewsBlur Feed Fetcher/u }, @@ -161,17 +227,27 @@ exports.BOTS = [ { name: 'NewsGator', id: 'newsgator', regexp: /NewsGator\/([0-9.]*)/u }, { name: 'NewsGator', id: 'newsgator', regexp: /NewsGatorOnline\/([0-9.]*)/u }, { name: 'NewsGator FetchLinks', id: 'newsgator', regexp: /NewsGator FetchLinks extension\/([0-9.]*)/u }, + { name: 'Nimbostratus', id: 'nimbostratus', regexp: /Nimbostratus-Bot\/v([0-9.]*)/u }, + { name: 'OdklBot', id: 'odklbot', regexp: /OdklBot\/([0-9.]*)/u }, { name: 'OpenWebSpider', id: 'spider', regexp: /OpenWebSpider v([0-9.]*)/u }, { name: 'OrangeBot', id: 'orange', regexp: /OrangeBot-Collector\/([0-9.]*)/u }, { name: 'OrangeBot', id: 'orange', regexp: /OrangeBot-Mobile/u }, - { name: 'PagesInventory ', id: 'pages', regexp: /PagesInventory/u }, - { name: 'Picsearch bot', id: 'psbot', regexp: /psbot-page/u }, + { name: 'PagesInventory', id: 'pages', regexp: /PagesInventory/u }, + { name: 'Petal Bot', id: 'petal', regexp: /PetalBot/u }, + { name: 'Petal Bot', id: 'aspiegel', regexp: /Aspiegel/u }, + { name: 'Picsearch Bot', id: 'psbot', regexp: /psbot\/([0-9.]*)/u }, + { name: 'Picsearch Bot', id: 'psbot', regexp: /psbot-page/u }, + { name: 'Picsearch Bot', id: 'psbot', regexp: /psbot-image/u }, { name: 'Pingdom', id: 'pingdom', regexp: /Pingdom.com_bot_version_([0-9.]*)/u }, { name: 'Pinterest', id: 'pinterest', regexp: /Pinterest\/([0-9.]+)( \(+|$)/u }, + { name: 'Plurk Bot', id: 'plurk', regexp: /PlurkBot\/([0-9\.]*)/u }, + { name: 'Pocket', id: 'pocket', regexp: /PocketImageCache\/([0-9.]+)/u }, + { name: 'Pocket', id: 'pocket', regexp: /PocketParser\/([0-9.]+)/u }, { name: 'PostRank', id: 'postrank', regexp: /PostRank\/([0-9.]*)/u }, { name: 'PowerMapper', id: 'crawler', regexp: /CrawlerProcess \(http:\/\/www\.PowerMapper\.com\) \/([0-9.]*)/u }, { name: 'Radian 6', id: 'feed', regexp: /R6_FeedFetcher/u }, { name: 'Radian 6', id: 'comment', regexp: /R6_CommentReader/u }, + { name: 'Reddit Bot', id: 'reddit', regexp: /redditbot\/([0-9.]*)/u }, { name: 'RssBar', id: 'rssbar', regexp: /RssBar\/([0-9.]*)/u }, { name: 'ROI Hunter', id: 'hunter', regexp: /ROI Hunter/u }, { name: 'QuerySeekerSpider', id: 'spider', regexp: /QuerySeekerSpider(?:\/([0-9.]*))?/u }, @@ -179,6 +255,11 @@ exports.BOTS = [ { name: 'SafeSearch Microdata', id: 'safesearch', regexp: /SafeSearch microdata crawler/u }, { name: 'Scrapy', id: 'scrapy', regexp: /Scrapy\/([0-9.]*)/u }, { name: 'ScreenerBot', id: 'crawler', regexp: /ScreenerBot Crawler Beta ([0-9.]*)/u }, + { name: 'Search Atlas Bot', id: 'searchatlas', regexp: /SearchAtlas/iu }, + { name: 'Seekport Crawler', id: 'seekport', regexp: /Seekport Crawler/u }, + { name: 'Semrush', id: 'semrush', regexp: /SemrushBot\/([0-9.]*)/u }, + { name: 'Serp Stat', id: 'serpstat', regexp: /serpstatbot\/([0-9.]*)/u }, + { name: 'SEOkicks Bot', id: 'seokicks', regexp: /SEOkicks/u }, { name: 'Server Density', id: 'monitor', regexp: /Server Density Service Monitoring/u }, { name: 'Seznam bot', id: 'seznam', regexp: /SeznamBot|SklikBot|Seznam screenshot-generator/u }, { name: 'Seznam Email Proxy', id: 'seznam', regexp: /SeznamEmailProxy/u }, @@ -187,6 +268,8 @@ exports.BOTS = [ { name: 'SilverReader', id: 'reader', regexp: /SilverReader\/([0-9.]*)/u }, { name: 'SimplePie', id: 'simplepie', regexp: /SimplePie\/([0-9.]*)/u }, { name: 'Site24x7', id: 'site24', regexp: /Site24x7/u }, + { name: 'Skype Url Preview', id: 'skype', regexp: /SkypeUriPreview Preview\/([0-9.]*)/u }, + { name: 'Slackbot Link Checker', id: 'slack', regexp: /Slackbot-LinkExpanding ([0-9.]*)/u }, { name: 'Sogou Web Spider', id: 'sogou', regexp: /sogou spider/u }, { name: 'Sogou Web Spider', id: 'sogou', regexp: /Sogou pic spider\/([0-9.]*)/u }, { name: 'Sogou Web Spider', id: 'sogou', regexp: /Sogou inst spider\/([0-9.]*)/u }, @@ -196,21 +279,32 @@ exports.BOTS = [ { name: 'Soso Web Spider', id: 'soso', regexp: /Sosospider\/([0-9.]*)/u }, { name: 'Soso Web Spider', id: 'soso', regexp: /Sosospider/u }, { name: 'Soso Image Spider', id: 'soso', regexp: /Sosoimagespider/u }, + { name: 'SpazioDati', id: 'spaziodati', regexp: /spaziodati/u }, { name: 'SPDYCheck', id: 'spdycheck', regexp: /SPDYCheck SPDY Protocol Tester/iu }, { name: 'Spinn3r', id: 'spinn', regexp: /Spinn3r ([0-9.]*)/iu }, { name: 'Spiderlytics', id: 'spider', regexp: /Spiderlytics\/([0-9.]*)/iu }, + { name: 'Sputnik Favicon Bot', id: 'sputnik', regexp: /SputnikFaviconBot\/([0-9.]*)/iu }, + { name: 'Sputnik Image Bot', id: 'sputnik', regexp: /SputnikImageBot\/([0-9.]*)/iu }, + { name: 'Sputnik Bot', id: 'sputnik', regexp: /SputnikBot\/([0-9.]*)/iu }, { name: 'StatusCake Error Detector', id: 'detector', regexp: /StatusCake Error Detector/iu }, { name: 'Summify', id: 'summify', regexp: /Summify\/([0-9.]*)/u }, { name: 'TelegramBot', id: 'telegram', regexp: /TelegramBot/u }, { name: 'Twisted PageGetter', id: 'twisted', regexp: /Twisted PageGetter/u }, { name: 'Twitterbot', id: 'twitter', regexp: /Twitterbot\/([0-9.]*)/u }, { name: 'Tiny Tiny RSS', id: 'tiny', regexp: /Tiny Tiny RSS\/([0-9.]*)/u }, + { name: 'TinEye Bot', id: 'tineye', regexp: /TinEye\/([0-9.]*)/u }, + { name: 'TinEye Bot', id: 'tineye', regexp: /TinEye-bot\/([0-9.]*)/u }, { name: 'TLSProber', id: 'tlsprober', regexp: /TLSProber\/([0-9.]*)/u }, + { name: 'TrustedSite', id: 'trustedsite', regexp: /TrustedSite/u }, { name: 'Typhoeus', id: 'typhoeus', regexp: /Typhoeus/u }, { name: 'Vagabondo', id: 'vagabondo', regexp: /Vagabondo\/([0-9.]*)/u }, + { name: 'VelenPublicWebCrawler', id: 'velen', regexp: /VelenPublicWebCrawler\/([0-9.]*)/u }, + { name: 'vkShare', id: 'vkshare', regexp: /vkShare/u }, + { name: 'Voat', id: 'voat', regexp: /Voat\.co OpenGraph Parser/u }, { name: 'Voilabot', id: 'voila', regexp: /Voila[Bb]ot/u }, { name: 'VocusBot', id: 'vocus', regexp: /VocusBot ([0-9.]*)/u }, { name: 'Vodafone mCrawler', id: 'mcrawler', regexp: /Vodafone mCrawler/u }, + { name: 'VuhuvBot', id: 'vuhuv', regexp: /vuhuvBot\/([0-9.]*)/u }, { name: 'W3Bot', id: 'w3bot', regexp: /W3Bot ([0-9.]*)/u }, { name: 'W3C CSS Validator', id: 'jigsaw', regexp: /Jigsaw\/([0-9.]*)/u }, { name: 'W3C Internationalization Checker', id: 'w3c', regexp: /W3C_I18n-Checker\/([0-9.]*)/u }, @@ -222,6 +316,7 @@ exports.BOTS = [ { name: 'W3C Robot', id: 'w3c', regexp: /W3CRobot\/([0-9.]*)/u }, { name: 'W3C Unified Validator', id: 'w3c', regexp: /W3C_Unicorn\/([0-9.]*)/u }, { name: 'W3C Validator.nu', id: 'validator', regexp: /Validator.nu\//u }, + { name: 'Wappalyzer', id: 'wappalyzer', regexp: /Wappalyzer/u }, { name: 'Wayback Archive', id: 'wayback', regexp: /waybackarchive.org\/([0-9.]*)/u }, { name: 'WebbCrawler', id: 'crawler', regexp: /WebbCrawler ([0-9.]*)/u }, { name: 'WebIndexer', id: 'webindexer', regexp: /WebIndexer\//u }, @@ -229,6 +324,7 @@ exports.BOTS = [ { name: 'WordPress.com', id: 'wordpress', regexp: /WordPress\.com; http/u }, { name: 'WordPress Jetpack', id: 'wordpress', regexp: /Jetpack by WordPress\.com/u }, { name: 'WWW Mechanize', id: 'mechanize', regexp: /WWW-Mechanize\/([0-9.]*)/u }, + { name: 'Xenu Link Sleuth', id: 'xenu', regexp: /Xenu Link Sleuth\/([0-9.]*)/u }, { name: 'Xerka WebBot', id: 'xerka', regexp: /Xerka WebBot v([0-9.]*)/u }, { name: 'XML Sitemaps Generator', id: 'sitemap', regexp: /XML-Sitemaps\/([0-9.]*)/u }, { name: 'XMLSitemapGenerator', id: 'sitemap', regexp: /XmlSitemapGenerator/u }, @@ -268,6 +364,12 @@ exports.BOTS = [ { name: 'Inktomi Slurp', id: 'slurp', regexp: /Slurp\/([0-9.]*)/u }, { name: 'Inktomi Slurp', id: 'slurp', regexp: /Slurp\.so\/([0-9.]*)/u }, + { name: 'Yelp Spider', id: 'yelp', regexp: /yelpspider-([0-9.]*)/u }, + { name: 'Yioop Bot', id: 'yioop', regexp: /YioopBot/u }, + { name: 'Yisou Spider', id: 'yisou', regexp: /YisouSpider\/?([0-9.]*)/u }, + { name: 'Zgrab', id: 'zgrab', regexp: /zgrab\//u }, + { name: 'ZmEu', id: 'zmeu', regexp: /ZmEu/u }, + /* Generic bots */ { name: 'Apache Httpd', id: 'httpclient', regexp: /Apache-HttpClient(?:\/([0-9.]*))?/u }, { name: 'Apache Jakarta', id: 'httpclient', regexp: /Jakarta Commons-HttpClient(?:\/([0-9.]*))?/u }, @@ -275,6 +377,11 @@ exports.BOTS = [ { name: 'Apache Nutch', id: 'nutch', regexp: /Nutch(?:CVS|Org)\/([0-9.]*)/u }, { name: 'Apache Synapse', id: 'synapse', regexp: /compatible; Synapse/u }, { name: 'Borland Delphi', id: 'indy', regexp: /Indy Library/u }, + { name: 'Go Http Client', id: 'go', regexp: /Go-http-client\/([0-9.]*)/u }, + { name: 'Go Http Client', id: 'go', regexp: /go-httpclient v([0-9.]*)/u }, + { name: 'HttpUnit', id: 'httpunit', regexp: /httpunit\/([0-9.]*)/u }, + { name: 'OkHttp', id: 'okhttp', regexp: /okhttp\/([0-9.]*)/u }, + { name: 'Node Fetch', id: 'node', regexp: /node-fetch\/([0-9.]*)/u }, { name: 'Wget', id: 'wget', regexp: /Wget\/([0-9.]*)/u }, { name: 'Curl', id: 'curl', regexp: /^curl\/([0-9.]*)/u }, @@ -283,13 +390,14 @@ exports.BOTS = [ { name: 'Perl', id: 'simple', regexp: /LWP::Simple\//u }, { name: 'Perl', id: 'libwww', regexp: /libwww-perl\//u }, { name: 'Perl', id: 'lwp', regexp: /lwp-trivial\//u }, - { name: 'Python', id: 'urllib', regexp: /Python-urllib/u }, + { name: 'Python', id: 'urllib', regexp: /Python-urllib\/([0-9.]*)/u }, + { name: 'Python', id: 'requests', regexp: /python-requests\/([0-9.]*)/u }, { name: 'PHP', id: 'php', regexp: / PHP\/([0-9.]*)/u }, { name: 'PHP', id: 'php', regexp: /^PHP/u }, { name: 'PHP', id: 'pear', regexp: /PEAR HTTP_Request class/u }, { name: 'PHP', id: 'php', regexp: /CakePHP/u }, { name: 'PHP', id: 'zend', regexp: /Zend_Http_Client/u }, - { name: 'Ruby', id: 'ruby', regexp: /^Ruby/u } + { name: 'Ruby', id: 'ruby', regexp: /^Ruby/u }, ]; /* This file is automatically generated, do not edit manually! */ diff --git a/data/applications-browsers.js b/data/applications-browsers.js index 0385955..86cf1b3 100644 --- a/data/applications-browsers.js +++ b/data/applications-browsers.js @@ -15,7 +15,9 @@ exports.BROWSERS = { { name: '2345 Explorer', id: '2345', regexp: /2345Explorer\/([0-9.]*)/u, details: 3 }, { name: '2345 Explorer', id: '2345', regexp: /2345Explorer v([0-9.]*)/u, details: 3 }, { name: '2345 Chrome', id: '2345', regexp: /2345chrome v([0-9.]*)/u, details: 3 }, + { name: '37abc Browser', id: '37abc', regexp: / 37abc\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: '360 Extreme Explorer', id: 'qihu', regexp: /QIHU 360EE/u, type: DeviceType.DESKTOP }, + { name: '1st Browser', id: '1stbrowser', regexp: /1stBrowser\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: '360 Safe Explorer', id: 'qihu', regexp: /QIHU 360SE/u, type: DeviceType.DESKTOP }, { name: '7Star', id: '7star', regexp: /7Star\/([0-9.]*)/u }, // see: http://www.qixing123.com { name: 'ABrowse', id: 'abrowse', regexp: /A[Bb]rowse ([0-9.]*)/u }, // browser for the Syllable OS @@ -23,8 +25,10 @@ exports.BROWSERS = { { name: 'Acorn Browse', id: 'acorn', regexp: /Acorn Browse ([0-9.]+)/u }, { name: 'Acorn Browse', id: 'acorn', regexp: /Acorn Phoenix ([0-9.]+)/u }, { name: 'Acoo Browser', id: 'acoo', regexp: /Acoo Browser/u }, + { name: 'Amigo Browser', id: 'amigo', regexp: / Amigo\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://amigo.mail.ru/ { name: 'AOL Desktop', id: 'aol', regexp: /AOL ([0-9.]*); AOLBuild/i }, { name: 'AOL Browser', id: 'america', regexp: /America Online Browser (?:[0-9.]*); rev([0-9.]*);/i }, + { name: 'APUS Browser', id: 'apus', regexp: /APUSBrowser\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.apusapps.com/en/browser/ { name: 'Arachne', id: 'arachne', regexp: /xChaos_Arachne\/[0-9]\.([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: www.glennmcc.org { name: 'Arora', id: 'arora', regexp: /[Aa]rora\/([0-9.]*)/u }, // see: www.arora-browser.org { name: 'AWeb', id: 'aweb', regexp: /Amiga-AWeb(?:\/([0-9.]*))?/u }, @@ -32,25 +36,43 @@ exports.BROWSERS = { { name: 'Avant Browser', id: 'avant', regexp: /Avant Browser/u }, { name: 'Avant Browser', id: 'avant', regexp: /Avant TriCore/u }, { name: 'Avast SafeZone', id: 'asw', regexp: /ASW\/([0-9.]*)/u, details: 2 }, + { name: 'AVG Secure Browser', id: 'avg', regexp: / AVG\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.avg.com/secure-browser { name: 'Aviator', id: 'aviator', regexp: /Aviator\/([0-9.]*)/u, details: 1 }, // see: https://github.com/WhiteHatSecurity/Aviator + { name: 'Avira Scout', id: 'avira', regexp: /AviraScout\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.avira.com/en/avira-scout { name: 'Baidu Browser', id: 'flyflow', regexp: /FlyFlow\/([0-9.]*)/u, details: 2 }, { name: 'Baidu Browser', id: 'bdbrowser', regexp: /bdbrowser\/([0-9.]*)/i }, { name: 'Baidu Browser', id: 'bdbrowser', regexp: /bdbrowser_i18n\/([0-9.]*)/i }, { name: 'Baidu Spark', id: 'bdspark', regexp: /BDSpark\/([0-9.]*)/u, details: 2 }, + { name: 'Basilisk', id: 'basilisk', regexp: / Basilisk\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://basilisk-browser.org/ { name: 'Beamrise', id: 'beamrise', regexp: /Beamrise\/([0-9.]*)/u }, // see: http://beamrise.com + { name: 'Beonex', id: 'beonex', regexp: /Beonex\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.beonex.com/ { name: 'Black Wren', id: 'blackwren', regexp: /BlackWren\/([0-9.]*)/u, details: 2 }, // see: https://github.com/conmarap/jetbrowser + { name: 'Black Hawk', id: 'blackhawk', regexp: /BlackHawk\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://www.netgate.sk/blackhawk/help/welcome-to-blackhawk-web-browser.html + { name: 'Bolt Browser', id: 'bolt', regexp: / Bolt\/([0-9.]*)/i, type: DeviceType.DESKTOP }, // see: http://www.boltbrowser.com/ + { name: 'Blackbird', id: 'blackbird', regexp: /Blackbird\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://www.blackbirdbrowser.com/ { name: 'Brave', id: 'brave', regexp: /brave\/([0-9.]*)/u }, + { name: 'Brisk Bard', id: 'brisk', regexp: /BriskBard\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.briskbard.com/index.php?lang=en + { name: 'BrowseX', id: 'browsex', regexp: /BrowseX \(([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://dev.pdqi.com/fossil/browsex/doc/tip/index.html + { name: 'Browzar', id: 'browzar', regexp: /Browzar/u, type: DeviceType.DESKTOP }, // see: http://browzar.com/ { name: 'Byffox', id: 'byffox', regexp: /Byffox\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'Camino', id: 'camino', regexp: /Camino\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'Canure', id: 'canure', regexp: /Canure\/([0-9.]*)/u, details: 3 }, // see: http://canure.weebly.com/index.html + { name: 'CCleaner Browser', id: 'ccleaner', regexp: /CCleaner\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.ccleaner.com/ccleaner/browser + { name: 'Cent Browser', id: 'cent', regexp: / Cent\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.centbrowser.com/ { name: 'Charon', id: 'charon', regexp: /Charon/ }, // see: http://www.vitanuova.com/inferno/man/1/charon.html + { name: 'Chedot', id: 'chedot', regexp: / Chedot\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://landing.chedot.com/ + { name: 'Cheshire', id: 'cheshire', regexp: / Cheshire\/([0-9.A-Z]*)/u, type: DeviceType.DESKTOP }, + { name: 'Chim Lac', id: 'chimlac', regexp: /chimlac_browser\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://chimlac.com.vn/ + { name: 'Chimera', id: 'chimera', regexp: / Chimera\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'ChromePlus', id: 'chromeplus', regexp: /ChromePlus(?:\/([0-9.]*))?$/u, details: 3, - type: DeviceType.DESKTOP + type: DeviceType.DESKTOP, }, + { name: 'Colibri', id: 'colibri', regexp: /Colibri\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://colibri.opqr.co/ + { name: 'Columbus', id: 'columbus', regexp: /Columbus\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'CometBird', id: 'cometbird', regexp: /CometBird\/([0-9.]*)/u }, // see: http://www.cometbird.com { name: 'Comodo Dragon', id: 'comodo', regexp: /Comodo_Dragon\/([0-9.]*)/u, details: 2 }, { name: 'Comodo Dragon', id: 'dragon', regexp: /Dragon\/([0-9.]*)/u, details: 2 }, @@ -59,76 +81,158 @@ exports.BROWSERS = { id: 'dragon', regexp: /IceDragon\/([0-9.]*)/u, details: 2, - type: DeviceType.DESKTOP + type: DeviceType.DESKTOP, }, { name: 'Conkeror', id: 'conkeror', regexp: /[Cc]onkeror\/([0-9.]*)/u }, + { name: 'Coc Coc', id: 'coc', regexp: /coc_coc_browser\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://coccoc.com/en/ { name: 'CoolNovo', id: 'coolnovo', regexp: /(?:CoolNovo|CoolNovoChromePlus)\/([0-9.]*)/u, details: 3, - type: DeviceType.DESKTOP + type: DeviceType.DESKTOP, }, + { name: 'Corom Browser', id: 'corom', regexp: / CoRom\/([0-9.]*)/u, type: DeviceType.MOBILE }, // see: https://apkpure.com/corom-browser-for-android/com.coccoc.corom + { name: 'Crazy Browser', id: 'crazy', regexp: /Crazy Browser ([0-9.]*)/u, type: DeviceType.DESKTOP }, + { name: 'Crusta', id: 'crusta', regexp: / Crusta\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://github.com/Tarptaeya/Crusta { name: 'Cunaguaro', id: 'cunaguaro', regexp: /Cunaguaro\/([0-9.]*)/u, details: 3, type: DeviceType.DESKTOP }, + { name: 'Cyberdog', id: 'cyberdog', regexp: /Cyberdog\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'Cyberfox', id: 'cyberfox', regexp: /Cyberfox\/([0-9.]*)/u, details: 2 }, // see: https://cyberfox.8pecxstudios.com { name: 'Daedalus', id: 'daedalus', regexp: /Daedalus ([0-9.]*)/u, details: 2 }, + { name: 'Deg-degan', id: 'degan', regexp: /Degdegan\/([0-9.]*)/u, details: 3, type: DeviceType.DESKTOP }, + { name: 'Demeter', id: 'demeter', regexp: /Demeter\/([0-9.]*)/u, type: DeviceType.DESKTOP }, + { name: 'DeskBrowse', id: 'deskbrowse', regexp: /DeskBrowse\/([0-9.]*)/u, type: DeviceType.DESKTOP }, + { name: 'Diigo Browser', id: 'diigo', regexp: /DiigoBrowser/u, type: DeviceType.MOBILE }, // see: https://apps.apple.com/us/app/diigo-annotator-for-safari/id933773981 { name: 'Dillo', id: 'dillo', regexp: /Dillo\/([0-9.]*)/u }, // see: http://www.dillo.org + { name: 'DocZilla', id: 'doczilla', regexp: /DocZilla\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'Doga Rhodonit', id: 'rhodonit', regexp: /DogaRhodonit/u }, + { name: 'DPlus Browser', id: 'dplus', regexp: / DPlus ([0-9.]*)/u, type: DeviceType.DESKTOP }, + { name: 'Elements Browser', id: 'elements', regexp: /Elements Browser\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'EudoraWeb', id: 'eudoraweb', regexp: /EudoraWeb ([0-9.]*)/u }, + { name: 'Falkon', id: 'falkon', regexp: / Falkon\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.falkon.org/ + { name: 'FlameSky', id: 'flamesky', regexp: /FlameSky\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://github.com/flameskyofficial/flamesky { name: 'Flock', id: 'flock', regexp: /Flock\/([0-9.]*)/u, details: 3, type: DeviceType.DESKTOP }, + { name: 'Framafox', id: 'framafox', regexp: /Framafox\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://framakey.org/telecharger/applications-portables-libres#internet + { name: 'Freeu Browser', id: 'freeu', regexp: / Free[Uu]\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://play.google.com/store/apps/details?id=com.freeuvpn.android&hl=en { name: 'Galeon', id: 'galeon', regexp: /Galeon\/([0-9.]*)/u, details: 3 }, + { name: 'GlobalMojo', id: 'globalmojo', regexp: /GlobalMojo\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'GNOME Web', id: 'epiphany', regexp: /Epiphany\/([0-9.]*)/u, type: DeviceType.DESKTOP }, + { name: 'GreenBrowser', id: 'greenbrowser', regexp: /GreenBrowser/u, type: DeviceType.DESKTOP }, + { name: 'Hola Browser', id: 'hola', regexp: / Hola\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://play.google.com/store/apps/details?id=org.hola&hl=en + { name: 'Hydra Browser', id: 'hydra', regexp: /Hydra Browser/u, type: DeviceType.DESKTOP }, { name: 'IBrowse', id: 'ibrowse', regexp: /IBrowse[\/ ]([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'iCab', id: 'icab', regexp: /iCab(?: J)?[\/ ](?:Pre)?([0-9.]*)/u }, { name: 'Iceape', id: 'iceape', regexp: /Iceape\/([0-9.]*)/u }, { name: 'IceCat', id: 'icecat', regexp: /IceCat[ \/]([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.gnu.org/software/gnuzilla/ + { name: 'Icedove', id: 'icedove', regexp: / Icedove\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://wiki.debian.org/Icedove { name: 'Iceweasel', id: 'iceweasel', regexp: /Iceweasel\/([0-9.]*)/iu, type: DeviceType.DESKTOP }, + { name: 'iRider Browser', id: 'irider', regexp: /iRider ([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'Iridium', id: 'iridium', regexp: /Iridium\/([0-9.]*)/u, details: 2 }, // see: http://www.srware.net/en/software_srware_iron.php { name: 'Iron', id: 'iron', regexp: /Iron\/([0-9.]*)/u, details: 2 }, // see: http://www.srware.net/en/software_srware_iron.php + { name: 'Kapiko', id: 'kapiko', regexp: / Kapiko\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://sites.google.com/site/kapikoproject/ { name: 'Kazehakase', id: 'kazehakase', regexp: /Kazehakase\/([0-9.]*)/u }, // see: http://kazehakase.osdn.jp { name: 'KChrome', id: 'kchrome', regexp: /KChrome\/([0-9.]*)/u, details: 3 }, // see: http://www.kchrome.com + { name: 'Kinza', id: 'kinza', regexp: / Kinza\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.kinza.jp/en/ + { name: 'KKMAN', id: 'kkman', regexp: / KKman([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.kkbox.com/kkman/ + { name: 'Klondike', id: 'klondike', regexp: /Klondike\/([0-9.]*)/u, type: DeviceType.DESKTOP }, + { name: 'Kylo', id: 'kylo', regexp: / Kylo\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://kylo.tv/ { name: 'K-Meleon', id: 'meleon', regexp: /K-Meleon\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://kmeleonbrowser.org + { name: 'LBrowser', id: 'lbrowser', regexp: /LBrowser\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'LieBao', id: 'lbbrowser', regexp: /LBBROWSER/u }, // see: http://www.liebao.cn + { name: 'Light', id: 'light', regexp: / Light\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://en.wikipedia.org/wiki/Light_(web_browser) { name: 'Lobo', id: 'lobo', regexp: /Lobo\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://sourceforge.net/projects/xamj/files/Lobo%20Browser/ + { name: 'Lolifox', id: 'lolifox', regexp: /lolifox\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://ja.wikipedia.org/wiki/Lolifox + { name: 'Lovense', id: 'lovense', regexp: /Lovense\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.lovense.com/cam-model/guides/pc-phone { name: 'Lunascape', id: 'lunascape', regexp: / Lunascape[\/| ]([0-9.]*)/u, details: 3 }, // see: http://www.lunascape.tv { name: 'Naenara', id: 'naenara', regexp: /NaenaraBrowser\/([0-9.]*)/u, details: 2 }, // Firefox based browser used with Red Star OS + { name: 'NetCaptor', id: 'netcaptor', regexp: /NetCaptor ([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://en.wikipedia.org/wiki/NetCaptor + { name: 'Madfox', id: 'madfox', regexp: /Madfox\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'Maxthon', id: 'mxbrowser', regexp: /MxBrowser\/([0-9.]*)/u }, { name: 'Maxthon', id: 'mxbrowser', regexp: /MxBrowser-iPhone\/([0-9.]*)/u }, + { name: 'Min Browser', id: 'min', regexp: / min\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://minbrowser.github.io/min/ + { name: 'Mini Browser', id: 'mini', regexp: / MiniBrowser\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://dmkho.tripod.com/mb/index.html { name: 'MixShark', id: 'mixshark', regexp: /MixShark\/([0-9.]*)/u }, // see: http://terbaddo.free.fr/mixshark.php { name: 'mlbrowser', id: 'mlbrowser', regexp: /mlbrowser/u }, // see: https://github.com/Topguy/mlbrowser + { name: 'Mypal Browser', id: 'mypal', regexp: / Mypal\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://github.com/Feodor2/Mypal + { name: 'Multi-Browser XP', id: 'multixp', regexp: /Multi-Browser ([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'NetPositive', id: 'netpositive', regexp: /NetPositive\/([0-9.]*)/u }, + { name: 'Nichrome', id: 'nichrome', regexp: /Nichrome\/self\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'Origyn', id: 'origyn', regexp: /Origyn Web Browser/u }, { name: 'Odyssey', id: 'owb', regexp: /OWB\/([0-9.]*)/u }, + { name: 'Open Live Writer', id: 'live', regexp: /Open Live Writer ([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://openlivewriter.org/ + { name: 'Orange Browser', id: 'juzi', regexp: /JuziBrowser/u, type: DeviceType.DESKTOP }, // see: http://www.123juzi.com/ { name: 'Orca', id: 'orca', regexp: /Orca\/([0-9.]*)/u }, { name: 'Oregano', id: 'oregano', regexp: /Oregano ([0-9.]*)/u }, // see: http://www.xat.nl/en/riscos/sw/oregano/ { name: 'Otter', id: 'otter', regexp: /Otter(?: Browser)?\/([0-9.]*)/u }, // see: https://otter-browser.org { name: 'Pale Moon', id: 'palemoon', regexp: /Pale[mM]oon\/([0-9.]*)/u }, // see: https://www.palemoon.org + { name: 'Patriott Browser', id: 'patriott', regexp: /Patriott::Browser\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://madgroup.x10.mx/patriott1.php + { name: 'Perk', id: 'perk', regexp: / Perk\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://www.perk.com/ + { name: 'Polarity', id: 'polarity', regexp: /Polarity\/([0-9.]*)/u, type: DeviceType.DESKTOP }, + { name: 'Privacy Browser', id: 'privacy', regexp: /PrivacyBrowser\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.stoutner.com/privacy-browser/ { name: 'Qihoo 360', id: 'qihu', regexp: /QIHU THEWORLD/u }, + { name: 'Qiyu Browser', id: 'qiyu', regexp: /Qiyu\/([0-9.]*)/i, type: DeviceType.DESKTOP }, // see: https://apps.apple.com/cn/app/qi-yu-liu-lan-qi/id959447103 { name: 'QtWeb', id: 'qtweb', regexp: /QtWeb Internet Browser\/([0-9.]*)/u }, + { name: 'Quick Look', id: 'quicklook', regexp: /QuickLook\/([0-9.]*)/u }, // see: https://en.wikipedia.org/wiki/Quick_Look { name: 'QupZilla', id: 'qupzilla', regexp: /QupZilla\/([0-9.]*)/u, type: DeviceType.DESKTOP }, + { name: 'Qute Browser', id: 'qute', regexp: /qutebrowser\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://github.com/qutebrowser/qutebrowser { name: 'rekonq', id: 'rekonq', regexp: /rekonq(?:\/([0-9.]*))?/u, type: DeviceType.DESKTOP }, { name: 'Ryouko', id: 'ryouko', regexp: /Ryouko\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://github.com/foxhead128/ryouko + { name: 'Sylera', id: 'sylera', regexp: /Sylera\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // Needs to be discovered before SeaMonkey Browser, see: https://ja.wikipedia.org/wiki/Sylera { name: 'SaaYaa Explorer', id: 'saayaa', regexp: /SaaYaa/u, type: DeviceType.DESKTOP }, + { name: 'SalamWeb', id: 'salam', regexp: /SalamWeb\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://salamweb.com/ + { name: 'SalamWeb', id: 'salam', regexp: /Salam Browser/u, type: DeviceType.DESKTOP }, + { name: 'Shiira', id: 'shiira', regexp: /Shiira/u, type: DeviceType.DESKTOP }, + { name: 'Sielo Browser', id: 'sielo', regexp: / Sielo\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://github.com/SieloBrowser/sielo-legacy + { name: 'SiteKiosk', id: 'sitekiosk', regexp: /SiteKiosk ([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.provisio.com/web/us/products/windows-kiosk-software-sitekiosk { name: 'Sleipnir', id: 'sleipnir', regexp: /Sleipnir\/([0-9.]*)/u, details: 3 }, + { name: 'Slimjet', id: 'slimjet', regexp: / Slimjet\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.slimjet.com/ { name: 'Sogou Explorer', id: 'metasr', regexp: /SE 2.X MetaSr/u, type: DeviceType.DESKTOP }, + { name: 'Sparrow', id: 'sparrow', regexp: /Sparrow\/([0-9.]*)/u, type: DeviceType.DESKTOP }, + { name: 'Sputnik', id: 'sputnik', regexp: /SputnikBrowser\/([0-9.]*)/u }, // see: https://browser.sputnik.ru/ { name: 'Stainless', id: 'stainless', regexp: /Stainless\/([0-9.]*)/u }, // see: http://www.stainlessapp.com + { name: 'Station Browser', id: 'station', regexp: / Station\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://getstation.com/ { name: 'SunChrome', id: 'sunchrome', regexp: /SunChrome\/([0-9.]*)/u }, + { name: 'Sundance', id: 'sundance', regexp: /Sundance\/([0-9.]*)/u, type: DeviceType.DESKTOP }, + { name: 'Sundial', id: 'sundial', regexp: /Sundial\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://www.sundialbrowser.com/ { name: 'Superbird', id: 'superbird', regexp: /Super[Bb]ird\/([0-9.]*)/u, details: 2 }, + { name: 'Swiftweasel', id: 'swiftweasel', regexp: /Swiftweasel\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://swiftweasel.tuxfamily.org/ + { name: 'Swiftfox', id: 'swiftfox', regexp: /Swiftfox/u, type: DeviceType.DESKTOP }, { name: 'Swing Browser', id: 'swing', regexp: /Swing(?:\(And\))?\/([0-9.]*)/u, details: 3 }, // see: http://swing-browser.com + { name: 't-online.de', id: 'to-browser', regexp: /TO-Browser\/TOB([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://www.t-online.de/computer/browser/ + { name: 't-online.de', id: 'to-browser', regexp: /TO-Browser/u, type: DeviceType.DESKTOP }, { name: 'Tencent Traveler', id: 'tencent', regexp: /TencentTraveler ([0-9.]*)/u, details: 2 }, { name: 'TenFourFox', id: 'tenfourfox', regexp: /TenFourFox\//u }, { name: 'The World', id: 'theworld', regexp: /TheWorld(?: ([0-9.]*))?/u }, + { name: 'Tulip Chain', id: 'tulip', regexp: /TulipChain\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://ostermiller.org/tulipchain/ { name: 'Tungsten Browser', id: 'tungsten', regexp: /TungstenBrowser\/([0-9.]*)/u }, + { name: 'UltraBrowser', id: 'ultrab', regexp: /UltraBrowser ([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://www.ultrabrowser.com/ + { name: 'Usejump', id: 'usejump', regexp: /Usejump\/([0-9.]*)/u, details: 2, type: DeviceType.DESKTOP }, + { name: 'Vimprobable', id: 'vimprobable', regexp: /Vimprobable\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'Vivaldi', id: 'vivaldi', regexp: /Vivaldi\/([0-9.]*)/u, details: 2 }, + { + name: 'VMware Workspace ONE', + id: 'airwatch', + regexp: /Air[Ww]atch Browser v([0-9.]*)/u, + type: DeviceType.DESKTOP, + }, + { name: 'Vonkeror', id: 'vonkeror', regexp: /Vonkeror\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'Voyager', id: 'voyager', regexp: /AmigaVoyager\/([0-9.]*)/u }, { name: 'Waterfox', id: 'waterfox', regexp: /Waterfox\/([0-9.]*)/u, details: 2, type: DeviceType.DESKTOP }, + { name: 'Whale Browser', id: 'whale', regexp: / Whale\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://whale.naver.com/ + { name: 'WinWAP Browser', id: 'winwap', regexp: /WinWAP\/([0-9]*)/u, type: DeviceType.DESKTOP }, // see: https://www.winwap.com/mobile_applications/winwap_browser.php + { name: 'WinWAP Browser', id: 'winwap', regexp: /WinWAP-SPBE\/([0-9.]*)/u, type: DeviceType.DESKTOP }, + { name: 'Xvast', id: 'xvast', regexp: /Xvast\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://www.xvast.com/ { name: 'Yandex Browser', id: 'yabrowser', regexp: /YaBrowser\/([0-9.]*)/u, details: 2 }, + { name: 'Zvu Browser', id: 'zvu', regexp: / Zvu\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://zvu.com/ + { name: 'ZipZap', id: 'zipzap', regexp: /ZipZap ([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://www.zipzaphome.com/ + { name: 'Zombie.js', id: 'zombie', regexp: /Zombie\.js\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: http://zombie.js.org/ /* Mobile browsers */ { name: '1Browser', id: '1password', regexp: /1Password\/([0-9.]*)/u }, { name: '2345 Browser', id: '2345', regexp: /Mb2345Browser\/([0-9.]*)/u }, { name: '3G Explorer', id: '3g explorer', regexp: /3G Explorer\/([0-9.]*)/u, details: 3 }, { name: '4G Explorer', id: '4g explorer', regexp: /4G Explorer\/([0-9.]*)/u, details: 3 }, + { name: 'Aloha Browser', id: 'aloha', regexp: /AlohaBrowser\/([0-9.]*)/u, type: DeviceType.MOBILE }, // see: https://alohabrowser.com/ { name: 'Atomic', id: 'atomiclite', regexp: /AtomicLite\/([0-9.]*)/u }, // see: http://atomicwebbrowser.com { name: 'AU', id: 'au', regexp: /(?:^| )AU(?:.Browser)?\/([0-9.]+)/u }, { name: 'Awakening', id: 'awakening', regexp: /Awakening Browser\/([0-9.]*)/u, details: 2 }, @@ -146,10 +250,14 @@ exports.BROWSERS = { { name: 'Digia @Web', id: 'digia', regexp: /Digia @Web\/([0-9.]*)/u }, { name: 'Doris', id: 'doris', regexp: /Doris\/([0-9.]*)/u }, { name: 'Dorothy', id: 'doroty', regexp: /Dorothy$/u }, + { name: 'Ecosia Browser', id: 'ecosia', regexp: /Ecosia\sandroid@([0-9.]*)/u, type: DeviceType.MOBILE }, // see: https://play.google.com/store/apps/details?id=com.ecosia.android + { name: 'Ecosia Browser', id: 'ecosia', regexp: /Ecosia\sios@([0-9.]*)/u, type: DeviceType.MOBILE }, // see: https://apps.apple.com/us/app/ecosia/id670881887 { name: 'EMOBILE Browser', id: 'www browser', regexp: /WWW Browser\/ver([0-9.]*)/u }, + { name: 'Epic Browser', id: 'epic', regexp: / Epic\/([0-9.]*)/u, type: DeviceType.MOBILE }, // see: https://en.wikipedia.org/wiki/Epic_(web_browser) { name: 'EUI Browser', id: 'eui', regexp: /EUI Browser\/[^0-9\s]*([0-9.]*)/u, details: 2 }, - { name: 'Go.Web', id: 'go.web', regexp: /Go\.Web\/([0-9.]*)/u }, // used on early Blackberry, by GoAmerica + { name: 'Go.Web', id: 'go\.web', regexp: /Go\.Web\/([0-9.]*)/u }, // used on early Blackberry, by GoAmerica { name: 'Helium', id: 'helium', regexp: /HeliumMobileBrowser\/([0-9.]*)/u }, + { name: 'HeyTap Browser', id: 'heytap', regexp: /HeyTapBrowser\/([0-9.]*)/u, type: DeviceType.MOBILE }, { name: 'Huohou Browser', id: 'huohoubrowser', regexp: /HuohouBrowser\/([0-9.]*)/u }, { name: 'iCab', id: 'icab', regexp: /iCabMobile\/([0-9.]*)/u }, { name: 'iLunascape', id: 'lunascape', regexp: /iLunascape\/([0-9.]*)/u, details: 3 }, // see: http://www.lunascape.tv @@ -159,31 +267,38 @@ exports.BROWSERS = { name: 'Jig Browser', id: 'jig browser', regexp: /jig browser(?: web| core|9i?)?;? ?([0-9.]+)?/u, - type: DeviceType.MOBILE + type: DeviceType.MOBILE, }, { name: 'Jumanji', id: 'jumanji', regexp: /jumanji/u }, // see: jumanji browser ubuntu + { name: 'K.Browser', id: 'tnsbrowser', regexp: /TNSBrowser\/([0-9.]*)/u, type: DeviceType.MOBILE }, // see: https://play.google.com/store/apps/details?id=com.tnsua.browser { name: 'Kiosk', id: 'kiosk', regexp: /Kiosk\/([0-9.]*)/u }, // see: http://www.kioskbrowser.net + { name: 'Kiwi Browser', id: 'kiwi', regexp: /Kiwi Chrome\/([0-9.A-Z]*)/u }, // see: https://kiwibrowser.com { name: 'LeBrowser', id: 'lebrowser', regexp: /LeBrowser\/([0-9.]*)/u, details: 2 }, { name: 'LieBaoFast', id: 'liebao', regexp: /LieBaoFast\/([0-9.]*)/u }, // see: http://www.liebao.cn { name: 'MaCross Mobile', id: 'macross', regexp: /MaCross\/([0-9.]*)/u }, { name: 'Mammoth', id: 'mammoth', regexp: /Mammoth\/([0-9.]*)/u }, // see: https://itunes.apple.com/cn/app/meng-ma-liu-lan-qi/id403760998?mt=8 { name: 'mCent Browser', id: 'mcent', regexp: /mCent\/([0-9.]*)/u }, + { name: 'Mint Browser', id: 'mint', regexp: /XiaoMi\/Mint Browser\/([0-9.]*)/u, type: DeviceType.MOBILE }, // see: http://www.mintbrowser.com/ + { name: 'Mobicip', id: 'mobicip', regexp: / Mobicip\//u, type: DeviceType.MOBILE }, // see: https://www.mobicip.com/ { name: 'Motorola Internet Browser', id: 'mib', regexp: /MIB\/([0-9.]*)/u }, { name: 'Motorola Internet Browser', id: 'mib', regexp: /MIB([0-9.]+)\//u }, { name: 'Motorola Internet Browser', id: 'cmcs', regexp: /Browser\/CMCS([0-9.]*)/u }, { name: 'Motorola WebKit', id: 'motorola', regexp: /MotorolaWebKit(?:\/([0-9.]*))?/u, details: 3 }, + { name: 'MultiZilla', id: 'multizilla', regexp: /MultiZilla\/([0-9.]*)/u, type: DeviceType.DESKTOP }, // see: https://sourceforge.net/projects/multizilla/ { name: 'NetFront Life Browser', id: 'netfrontlife', regexp: /NetFrontLifeBrowser\/([0-9.]*)/u }, { name: 'OneBrowser', id: 'onebrowser', regexp: /OneBrowser\/([0-9.]*)/u }, + { name: 'OnePlus Browser', id: 'oneplus', regexp: /OnePlusBrowser\/([0-9.]*)/u, type: DeviceType.MOBILE }, // see: https://www.oneplus.com/ { name: 'PocketLink', id: 'plink', regexp: /PLink ([0-9.]+)/iu, details: 2 }, { name: 'Polaris', id: 'polaris', regexp: /Polaris[\/ ]v?([0-9.]*)/iu, details: 2 }, { name: 'Polaris', id: 'polaris', regexp: /POLARIS([0-9.]+)/u, details: 2 }, + { name: 'Pure Browser', id: 'pure', regexp: /PureBrowser\/([0-9.]*)/u, details: 2 }, { name: 'Openwave', id: 'openwave', regexp: /Open[Ww]ave\/([0-9.]*)/u, details: 2, type: DeviceType.MOBILE }, { name: 'Openwave', id: 'openwave', regexp: /Openwave Mobile Browser ([0-9.]*)/u, details: 2, - type: DeviceType.MOBILE + type: DeviceType.MOBILE, }, { name: 'Openwave', id: 'openwave', regexp: /Browser\/OpenWave([0-9.]*)/u, details: 2, type: DeviceType.MOBILE }, { @@ -191,18 +306,25 @@ exports.BROWSERS = { id: 'up', regexp: /UP\. ?Browser(?:\/([a-z0-9.]*))?/iu, details: 2, - type: DeviceType.MOBILE + type: DeviceType.MOBILE, }, { name: 'Openwave', id: 'km', regexp: /KM\.Browser\/([0-9.]+)/iu, details: 2, type: DeviceType.MOBILE }, { name: 'Openwave', id: 'up', regexp: /UP\/([0-9.]+)/u, details: 2, type: DeviceType.MOBILE }, + { name: 'Oppo Browser', id: 'oppo', regexp: /OppoBrowser\/([0-9.]+)/iu }, { name: 'Quark Browser', id: 'quark', regexp: /Quark\/([0-9.]*)/u, details: 3 }, + { name: 'Realme Browser', id: 'realme', regexp: /RealmeBrowser\/([0-9.]*)/u, type: DeviceType.MOBILE }, + { name: 'SEMC Browser', id: 'semc', regexp: /SEMC-Browser\/([0-9.]*)/u }, { name: 'STNC HitchHiker', id: 'stnc', regexp: /STNC-WTL\/[0-9.]*/u }, { name: 'Sogou Mobile', id: 'sogou', regexp: /SogouMobileBrowser\/([0-9.]*)/u, details: 2 }, { name: 'Swing Browser', id: 'swing', regexp: /Swing\(And\)\/([0-9.]*)/u, details: 3 }, { name: 'Symphony', id: 'symphony', regexp: /Symphony ([0-9.]+)$/u }, + { name: 'Tenta Browser', id: 'tenta', regexp: / Tenta\/([0-9.]*)/u, type: DeviceType.MOBILE }, // see: https://play.google.com/store/apps/details?id=com.tenta.android&hl=en { name: 'TinY', id: 'ucpro', regexp: /ucpro\/([0-9.]+)/iu }, + { name: 'Vivo Browser', id: 'vivo', regexp: /VivoBrowser\/([0-9.]+)/iu }, { name: 'WebLite', id: 'weblite', regexp: /WebLite\/([0-9.]*)/u, type: DeviceType.MOBILE }, + { name: 'WK Browser', id: 'wk', regexp: /wkbrowser ([0-9.]*)/u, type: DeviceType.MOBILE }, // see: https://github.com/keanulee/WKBrowser + { name: 'Yaani Browser', id: 'yaani', regexp: /YaaniBrowser\/([0-9.]*)/u, type: DeviceType.MOBILE }, // see: https://www.yaani.com.tr/ /* Television browsers */ { name: 'AltiBrowser', id: 'alti', regexp: /AltiBrowser\/([0-9.]*)/i }, @@ -210,6 +332,7 @@ exports.BROWSERS = { { name: 'AwoX', id: 'awox', regexp: /AwoX(?:\/([0-9.]*))? Browser/i }, { name: 'Isis', id: 'browserserver', regexp: /BrowserServer/u }, { name: 'Isis', id: 'isis', regexp: /ISIS\/([0-9.]*)/u, details: 2 }, + { name: 'Netbox', id: 'netbox', regexp: /Netbox\/([0-9.]*)/u, type: DeviceType.TELEVISION }, { name: 'Spyglass', id: 'spyglass', regexp: /Spyglass ([0-9.]+); OpenTV/u }, { name: 'Oregan Browser', id: 'oregan', regexp: /OreganMediaBrowser(?:\/([0-9.]*))?/u, details: 2 }, { name: 'Viera Browser', id: 'viera', regexp: /Viera\/([0-9.]*)/u }, @@ -220,7 +343,7 @@ exports.BROWSERS = { { name: 'Aplix', id: 'aplix', regexp: /Aplix_SEGASATURN_browser\/([0-9](?:.[0-9.]+)?)/u }, // browser for the Sega Saturn { name: 'Bunjalloo', id: 'bunjalloo', regexp: /Bunjalloo\/([0-9.]*)/u }, // browser for the Nintento DS { name: 'Nintendo Web Framework', id: 'nwf', regexp: /NWF\/([0-9.]*)/u, details: 2 }, // browser for the Sega Dreamcast - { name: 'Nuanti Meta', id: 'nuanti', regexp: /Nuanti(?:Meta)?\/([0-9.]*)/u }, // browser for the Playstation + { name: 'Nuanti Meta', id: 'nuanti', regexp: /Nuanti(?:Meta)?\/([0-9.]*)/u }, // browser for the PlayStation /* Other browsers */ { name: 'Wear Internet Browser', id: 'wib', regexp: /WIB\/([0-9.]*)/u }, @@ -251,7 +374,7 @@ exports.BROWSERS = { { name: 'Snowshoe', id: 'snowshoe', regexp: /Snowshoe\/([0-9.]*)/u, details: 2 }, { name: 'Sputnik', id: 'sputnik', regexp: /Sputnik\/([0-9.]*)/iu, details: 3 }, { name: 'Surf', id: 'surf', regexp: /Surf\/([0-9.]*)/u }, - { name: 'TaoBrowser', id: 'tao', regexp: /TaoBrowser\/([0-9.]*)/u, details: 2 }, + { name: 'Taobao Browser', id: 'tao', regexp: /TaoBrowser\/([0-9.]*)/u, details: 2 }, { name: 'TaomeeBrowser', id: 'tao', regexp: /TaomeeBrowser\/([0-9.]*)/u, details: 2 }, { name: 'TazWeb', id: 'taz', regexp: /TazWeb/u }, { name: 'Uzbl', id: 'uzbl', regexp: /^Uzbl/u }, @@ -264,7 +387,7 @@ exports.BROWSERS = { { name: 'Wyzo', id: 'wyzo', regexp: /Wyzo\/([0-9.]*)/u, details: 3 }, { name: 'Yelang', id: 'yelang', regexp: /Yelang\/([0-9.]*)/u, details: 3 }, // see: wellgo.org { name: 'YRC Weblink', id: 'yrcweb', regexp: /YRCWeblink\/([0-9.]*)/u }, - { name: '冲浪浏览器', id: 'surf', regexp: /CMSurfClient-Android/u } + { name: '冲浪浏览器', id: 'surf', regexp: /CMSurfClient-Android/u }, ], [BrowserType.BROWSER_TEXT]: [ @@ -273,7 +396,7 @@ exports.BROWSERS = { { name: 'Lynx', id: 'lynx', regexp: /Lynx \(textmode\)/u }, { name: 'ELinks', id: 'links', regexp: /E[Ll]inks(?:\/| \()([0-9.]*[0-9])/u, type: DeviceType.DESKTOP }, { name: 'Links', id: 'links', regexp: /Links \(([0-9.]*)/u }, - { name: 'w3m', id: 'w3m', regexp: /w3m\/([0-9.]*)/u } + { name: 'w3m', id: 'w3m', regexp: /w3m\/([0-9.]*)/u }, ], [BrowserType.UNKNOWN]: [ @@ -283,8 +406,8 @@ exports.BROWSERS = { { name: 'Open Sankoré', id: 'sankore', regexp: /Open-Sankore\/([0-9.]*)/u, type: DeviceType.WHITEBOARD }, { name: 'Adapi', id: 'adapi', regexp: / ADAPI\/([0-9.]*)/u, hidden: true, type: DeviceType.SIGNAGE }, { name: 'BrightSign', id: 'brightsign', regexp: /BrightSign\/([0-9.]*)/u, type: DeviceType.SIGNAGE }, - { name: 'Coship MMCP', id: 'coship', regexp: /Coship_MMCP_([0-9.]*)/u, type: DeviceType.SIGNAGE } - ] + { name: 'Coship MMCP', id: 'coship', regexp: /Coship_MMCP_([0-9.]*)/u, type: DeviceType.SIGNAGE }, + ], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/applications-others.js b/data/applications-others.js index 9275afa..a659925 100644 --- a/data/applications-others.js +++ b/data/applications-others.js @@ -23,7 +23,7 @@ exports.OTHERS = { { name: 'FlyCast', id: 'flycast', regexp: /FlyCast\/([0-9.]*)/u }, { name: 'Boxee', id: 'boxee', regexp: /Boxee(?:\/([0-9.]*))?/u, type: DeviceType.TELEVISION }, { name: 'Kodi', id: 'kodi', regexp: /^Kodi\/([0-9.]+)/u, details: 2 }, - { name: 'XBMC', id: 'xbmc', regexp: /^XBMC\/(?:PRE-)?([0-9.]+)/u, details: 2 } + { name: 'XBMC', id: 'xbmc', regexp: /^XBMC\/(?:PRE-)?([0-9.]+)/u, details: 2 }, ], [BrowserType.APP_EMAIL]: [ @@ -34,32 +34,32 @@ exports.OTHERS = { id: 'outlook', regexp: /Microsoft Outlook IMO, Build ([0-9.]*)/u, details: 2, - type: DeviceType.DESKTOP + type: DeviceType.DESKTOP, }, { name: 'Microsoft Outlook', id: 'outlook', regexp: /Microsoft Outlook ([0-9.]*)/u, details: 2, - type: DeviceType.DESKTOP + type: DeviceType.DESKTOP, }, { name: 'Microsoft Outlook Express', id: 'outlook', regexp: /Outlook-Express\/([0-9.]*)/u, details: 2, - type: DeviceType.DESKTOP + type: DeviceType.DESKTOP, }, { name: 'Lotus Notes', id: 'lotus', regexp: /Lotus-Notes\/([0-9.]*)/u, details: 2, type: DeviceType.DESKTOP }, { name: 'Postbox', id: 'postbox', regexp: /Postbox[\/ ]([0-9.]*)/u, details: 2 }, { name: 'The Bat!', id: 'bat', regexp: /The Bat! ([0-9.]*)/u, details: 3 }, - { name: 'Yahoo Mail', id: 'yahoo', regexp: /YahooMobile\/1.0 \(mail; ([0-9.]+)\)/u, details: 3 } + { name: 'Yahoo Mail', id: 'yahoo', regexp: /YahooMobile\/1.0 \(mail; ([0-9.]+)\)/u, details: 3 }, ], [BrowserType.APP_NEWS]: [ { name: 'Daum', id: 'daum', regexp: /DaumApps\/([0-9.]*)/u }, { name: 'Daum', id: 'daum', regexp: /daumcafe\/([0-9.]*)/u }, - { name: 'Flipboard', id: 'flipboard', regexp: /Flipboard\/([0-9.]+)/u } + { name: 'Flipboard', id: 'flipboard', regexp: /Flipboard\/([0-9.]+)/u }, ], [BrowserType.APP_FEEDREADER]: [ @@ -80,7 +80,7 @@ exports.OTHERS = { { name: 'ReedKit', id: 'reedkit', regexp: /ReedKit\/([0-9.]*)/u, type: DeviceType.DESKTOP }, { name: 'Rome', id: 'rome', regexp: /Rome Client/u }, { name: 'jsRSS++', id: 'rss', regexp: /jsRSS\+\+\/([0-9.]*)/u }, - { name: 'Windows RSS Platorm', id: 'rss', regexp: /Windows-RSS-Platform\/([0-9.]*)/u } + { name: 'Windows RSS Platorm', id: 'rss', regexp: /Windows-RSS-Platform\/([0-9.]*)/u }, ], [BrowserType.APP_PODCAST]: [{ name: 'Ziepod', id: 'ziepod', regexp: /Ziepod\+? ([0-9.]*)/u }], @@ -88,11 +88,20 @@ exports.OTHERS = { [BrowserType.APP_CHAT]: [ { name: 'Facebook Messenger', id: 'messenger', regexp: /FBAN\/MessengerForiOS/u }, { name: 'Facebook Messenger', id: 'messenger', regexp: /FB_IAB\/MESSENGER/u }, + { name: 'KakaoTalk', id: 'kakao', regexp: /KAKAOTALK ([0-9.]*)/u }, + { name: 'KakaoTalk', id: 'kakao', regexp: /KAKAOTALK/u }, { name: 'Kik', id: 'kik', regexp: /Kik\/([0-9.]*?)(\.0)?\.[0-9]{3,4}/u }, + { name: 'Line', id: 'line', regexp: / Line\/([0-9.]*)/u }, + { name: 'Slack', id: 'slack', regexp: / Slack_SSB\/([0-9.]*)/u }, + { name: 'Viber', id: 'viber', regexp: / Viber/u }, + { name: 'Viber', id: 'viber', regexp: /Viber\/([0-9.]*)/u }, { name: 'WeChat', id: 'messenger', regexp: /MicroMessenger\/([0-9.]*)/u }, + { name: 'WhatsApp', id: 'whatsapp', regexp: /WhatsApp\/([0-9.]*)/u }, { name: 'Wire', id: 'wire', regexp: /Wire\/([0-9.]*)/u }, { name: 'Yahoo Messenger', id: 'yahoo', regexp: /YahooMobile\/1.0 \(im; ([0-9.]+)\)/u, details: 3 }, - { name: 'Yammer', id: 'yammer', regexp: /Yammer\/([0-9.]*)/u, details: 2 } + { name: 'Yammer', id: 'yammer', regexp: /Yammer\/([0-9.]*)/u, details: 2 }, + { name: 'Zalo', id: 'zalo', regexp: /Zalo-win32-([0-9.]*)/u }, + { name: 'Zalo', id: 'zalo', regexp: / Zalo\/([0-9.]*)/u }, ], [BrowserType.APP_SOCIAL]: [ @@ -107,7 +116,8 @@ exports.OTHERS = { { name: 'Tumblr', id: 'tumblr', regexp: /Tumblr\/([0-9.]*)/u }, { name: 'Twitter', id: 'twitter', regexp: /TwitterAndroid/u }, { name: 'Twitter', id: 'twitter', regexp: /Twitter for iPhone/u }, - { name: 'WordPress', id: 'wp-android', regexp: /wp-android\/([0-9.]*)/u } + { name: 'WordPress', id: 'wp-android', regexp: /wp-android\/([0-9.]*)/u }, + { name: 'Yelp', id: 'yelp', regexp: /YelpApp\/([0-9.]*)/u }, ], [BrowserType.APP_OFFICE]: [ @@ -118,7 +128,7 @@ exports.OTHERS = { { name: 'Microsoft OneNote', id: 'office', regexp: /Microsoft Office OneNote ([0-9.]*)/u }, { name: 'Microsoft PowerPoint', id: 'office', regexp: /Microsoft Office PowerPoint ([0-9.]*)/u }, { name: 'Microsoft Word', id: 'office', regexp: /Microsoft Office Word ([0-9.]*)/u }, - { name: 'OpenOffice', id: 'office', regexp: /OpenOffice\/([0-9.]*)/u } + { name: 'OpenOffice', id: 'office', regexp: /OpenOffice\/([0-9.]*)/u }, ], [BrowserType.APP_SEARCH]: [ @@ -127,7 +137,7 @@ exports.OTHERS = { { name: 'Google Search', id: 'gsa', regexp: /GSA\/([0-9.]*)/u, details: 3 }, { name: 'NAVER', id: 'naver', regexp: /NAVER\(inapp; search; [0-9]+; ([0-9.]*)\)/u }, { name: 'Sogou Search', id: 'sogousearch', regexp: /SogouSearch Android(?:[0-9.]*) version([0-9.]*)/u }, - { name: 'Yandex Search', id: 'yandex', regexp: /YandexSearch\/([0-9.]*)/u } + { name: 'Yandex Search', id: 'yandex', regexp: /YandexSearch\/([0-9.]*)/u }, ], [BrowserType.APP_EDITOR]: [ @@ -140,22 +150,26 @@ exports.OTHERS = { id: 'frontpage', regexp: /MS ?FrontPage[ \/]([0-9.]*)/u, details: 2, - type: DeviceType.DESKTOP + type: DeviceType.DESKTOP, }, { name: 'W3C Amaya', id: 'amaya', regexp: /amaya\/([0-9.]*)/u }, - { name: 'IBM WebSphere Homepage Builder', id: 'websphere', regexp: /IBM WebSphere Homepage Builder V([0-9.]*)/u } + { + name: 'IBM WebSphere Homepage Builder', + id: 'websphere', + regexp: /IBM WebSphere Homepage Builder V([0-9.]*)/u, + }, ], [BrowserType.APP_DOWNLOAD]: [ { name: 'Download Manager', id: 'download', regexp: /AndroidDownloadManager\//u }, - { name: 'Tanso Download Manager', id: 'tansodl', regexp: /TansoDL/u } + { name: 'Tanso Download Manager', id: 'tansodl', regexp: /TansoDL/u }, ], [BrowserType.APP_GAME]: [ { name: 'EA Origin', id: 'origin', regexp: /Origin\/([0-9.]*)/u }, { name: 'SecondLife', id: 'secondlife', regexp: /SecondLife\/([0-9.]*)/u }, { name: 'Valve Steam', id: 'valve', regexp: /Valve Steam/u }, - { name: 'Raptr', id: 'raptr', regexp: /Raptr/u } + { name: 'Raptr', id: 'raptr', regexp: /Raptr/u }, ], [BrowserType.APP]: [ @@ -164,8 +178,8 @@ exports.OTHERS = { { name: 'Google Earth', id: 'google', regexp: /Google Earth\/([0-9.]*)/u, details: 2 }, { name: 'Google Desktop', id: 'google', regexp: /Google Desktop\/([0-9.]*)/u, details: 2 }, { name: 'Leechcraft', id: 'leechcraft', regexp: /Leechcraft(?:\/([0-9.]*))?/u, details: 2 }, - { name: 'Lotus Expeditor', id: 'expeditor', regexp: /Gecko Expeditor ([0-9.]*)/u, details: 3 } - ] + { name: 'Lotus Expeditor', id: 'expeditor', regexp: /Gecko Expeditor ([0-9.]*)/u, details: 3 }, + ], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/browsers-chrome.js b/data/browsers-chrome.js index 36dfe22..f68ba02 100644 --- a/data/browsers-chrome.js +++ b/data/browsers-chrome.js @@ -82,12 +82,88 @@ module.exports = { '76.0.3809': 'stable', '77.0.3865': 'stable', '78.0.3904': 'stable', + '79.0.3945': 'stable', + '80.0.3987': 'stable', + '81.0.4044': 'stable', + '83.0.4103': 'stable', + '84.0.4147': 'stable', + '85.0.4183': 'stable', + '86.0.4240': 'stable', + '87.0.4280': 'stable', + '88.0.4324': 'stable', + '89.0.4389': 'stable', + '90.0.4430': 'stable', + '91.0.4472': 'stable', + '92.0.4515': 'stable', + '93.0.4577': 'stable', + '94.0.4606': 'stable', + '95.0.4638': 'stable', + '96.0.4664': 'stable', + '97.0.4692': 'stable', + '98.0.4758': 'stable', + '99.0.4844': 'stable', + '100.0.4896': 'stable', + '101.0.4951': 'stable', + '102.0.5005': 'stable', + '103.0.5060': 'stable', + '104.0.5112': 'stable', + '105.0.5195': 'stable', + '106.0.5249': 'stable', + '107.0.5304': 'stable', + '108.0.5359': 'stable', + '109.0.5414': 'stable', + '110.0.5481': 'stable', + '111.0.5563': 'stable', + '112.0.5615': 'stable', + '113.0.5672': 'stable', + '114.0.5735': 'stable', + '115.0.5790': 'stable', + '116.0.5845': 'stable', + '117.0.5938': 'stable', + '118.0.5993': 'stable', + '119.0.6045': 'stable', + '120.0.6099': 'stable', + '121.0.6167': 'stable', + '122.0.6261': 'stable', + '123.0.6312': 'stable', + '124.0.6367': 'stable', + '125.0.6422': 'stable', + '126.0.6478': 'stable', + '127.0.6533': 'stable', + '128.0.6613': 'stable', + '129.0.6668': 'stable', + '130.0.6723': 'stable', + '131.0.6778': 'stable', + '132.0.6834': 'stable', + '133.0.6943': 'stable', + '134.0.6998': 'stable', + '135.0.7049': 'stable', + '136.0.7103': 'stable', + '137.0.7151': 'stable', + '138.0.7204': 'stable', + '139.0.7258': 'stable', + '140.0.7339': 'stable', + '141.0.7390': 'stable', + '142.0.7444': 'stable', + '143.0.7499': 'stable', + '144.0.7559': 'stable', + '145.0.7632': 'stable', + '146.0.7680': 'stable', + '147.0.7727': 'stable', + '148.0.7778': 'stable', + '149.0.7827': 'stable', + '150.0.7871': 'stable', + '151.0.7922': 'stable', + '152.0.7977': 'stable', + '153.0.8010': 'stable', }, MOBILE: { '16.0.912': 'beta', '18.0.1025': 'stable', '25.0.1364': 'stable', + '26.0.1410': 'stable', '27.0.1453': 'stable', + '28.0.1500': 'stable', '29.0.1547': 'stable', '30.0.1599': 'stable', '31.0.1650': 'stable', @@ -138,5 +214,78 @@ module.exports = { '76.0.3809': 'stable', '77.0.3865': 'stable', '78.0.3904': 'stable', + '79.0.3945': 'stable', + '80.0.3987': 'stable', + '81.0.4044': 'stable', + '83.0.4103': 'stable', + '84.0.4147': 'stable', + '85.0.4183': 'stable', + '86.0.4240': 'stable', + '87.0.4280': 'stable', + '88.0.4324': 'stable', + '89.0.4389': 'stable', + '90.0.4430': 'stable', + '91.0.4472': 'stable', + '92.0.4515': 'stable', + '93.0.4577': 'stable', + '94.0.4606': 'stable', + '95.0.4638': 'stable', + '96.0.4664': 'stable', + '97.0.4692': 'stable', + '98.0.4758': 'stable', + '99.0.4844': 'stable', + '100.0.4896': 'stable', + '101.0.4951': 'stable', + '102.0.5005': 'stable', + '103.0.5060': 'stable', + '104.0.5112': 'stable', + '105.0.5195': 'stable', + '106.0.5249': 'stable', + '107.0.5304': 'stable', + '108.0.5359': 'stable', + '109.0.5414': 'stable', + '110.0.5481': 'stable', + '111.0.5563': 'stable', + '112.0.5615': 'stable', + '113.0.5672': 'stable', + '114.0.5735': 'stable', + '115.0.5790': 'stable', + '116.0.5845': 'stable', + '117.0.5938': 'stable', + '118.0.5993': 'stable', + '119.0.6045': 'stable', + '120.0.6099': 'stable', + '121.0.6167': 'stable', + '122.0.6261': 'stable', + '123.0.6312': 'stable', + '124.0.6367': 'stable', + '125.0.6422': 'stable', + '126.0.6478': 'stable', + '127.0.6533': 'stable', + '128.0.6613': 'stable', + '129.0.6668': 'stable', + '130.0.6723': 'stable', + '131.0.6778': 'stable', + '132.0.6834': 'stable', + '133.0.6943': 'stable', + '134.0.6998': 'stable', + '135.0.7049': 'stable', + '136.0.7103': 'stable', + '137.0.7151': 'stable', + '138.0.7204': 'stable', + '139.0.7258': 'stable', + '140.0.7339': 'stable', + '141.0.7390': 'stable', + '142.0.7444': 'stable', + '143.0.7499': 'stable', + '144.0.7559': 'stable', + '145.0.7632': 'stable', + '146.0.7680': 'stable', + '147.0.7727': 'stable', + '148.0.7778': 'stable', + '149.0.7827': 'stable', + '150.0.7871': 'stable', + '151.0.7922': 'stable', + '152.0.7977': 'stable', }, }; diff --git a/data/build-android.js b/data/build-android.js index 05c4083..3141454 100644 --- a/data/build-android.js +++ b/data/build-android.js @@ -1,117 +1,117 @@ exports.ANDROID_BUILDS = { - 'CUPCAKE': '1.5', - 'DONUT': '1.6', - 'ECLAIR': '2.0', - 'FROYO': '2.2', - 'GINGERBREAD': '2.3', - 'DRC83': '1.6', - 'DRC92': '1.6', - 'DRD08': '1.6', - 'DRD20': '1.6', - 'DMD64': '1.6', - 'ESD20': '2.0', - 'ESD56': '2.0.1', - 'ERD79': '2.1', - 'ERE27': '2.1', - 'EPE54B': '2.1', - 'ESE81': '2.1', - 'EPF21B': '2.1', - 'FRF85B': '2.2', - 'FRF91': '2.2', - 'FRG01B': '2.2', - 'FRG22D': '2.2', - 'FRG83': '2.2.1', - 'FRG83D': '2.2.1', - 'FRG83G': '2.2.2', - 'FRK76': '2.2.3', - 'FRK76C': '2.2.3', - 'GRH55': '2.3', - 'GRH78': '2.3.1', - 'GRH78C': '2.3.2', - 'GRI40': '2.3.3', - 'GRI54': '2.3.3', - 'GRJ06D': '2.3.4', - 'GRJ22': '2.3.4', - 'GRJ90': '2.3.5', - 'GRK39C': '2.3.6', - 'GRK39F': '2.3.6', - 'GWK74': '2.3.7', + CUPCAKE: '1.5', + DONUT: '1.6', + ECLAIR: '2.0', + FROYO: '2.2', + GINGERBREAD: '2.3', + DRC83: '1.6', + DRC92: '1.6', + DRD08: '1.6', + DRD20: '1.6', + DMD64: '1.6', + ESD20: '2.0', + ESD56: '2.0.1', + ERD79: '2.1', + ERE27: '2.1', + EPE54B: '2.1', + ESE81: '2.1', + EPF21B: '2.1', + FRF85B: '2.2', + FRF91: '2.2', + FRG01B: '2.2', + FRG22D: '2.2', + FRG83: '2.2.1', + FRG83D: '2.2.1', + FRG83G: '2.2.2', + FRK76: '2.2.3', + FRK76C: '2.2.3', + GRH55: '2.3', + GRH78: '2.3.1', + GRH78C: '2.3.2', + GRI40: '2.3.3', + GRI54: '2.3.3', + GRJ06D: '2.3.4', + GRJ22: '2.3.4', + GRJ90: '2.3.5', + GRK39C: '2.3.6', + GRK39F: '2.3.6', + GWK74: '2.3.7', - 'HRI39': '3.0', - 'HRI66': '3.0', - 'HWI69': '3.0', - 'HRI83': '3.0', - 'HMJ37': '3.1', - 'HTJ85B': '3.2', - 'HTK55D': '3.2.1', - 'HTK75': '3.2.1', - 'HTK75D': '3.2.1', - 'HLK75C': '3.2.2', - 'HLK75D': '3.2.2', - 'HLK75F': '3.2.4', - 'HLK75H': '3.2.6', - 'ITL41D': '4.0.1', - 'ITL41E': '4.0.1', - 'ITL41F': '4.0.1', - 'ICL53F': '4.0.2', - 'IML74K': '4.0.3', - 'IML77': '4.0.3', - 'IMM76': '4.0.4', - 'IMM76D': '4.0.4', - 'IMM76I': '4.0.4', - 'IMM76K': '4.0.4', - 'IMM76L': '4.0.4', - 'JRO03C': '4.1.1', - 'JRO03D': '4.1.1', - 'JRO03E': '4.1.1', - 'JRO03H': '4.1.1', - 'JRO03L': '4.1.1', - 'JRO03O': '4.1.1', - 'JRO03R': '4.1.1', - 'JRO03S': '4.1.1', - 'JZO54K': '4.1.2', - 'JZO54M': '4.1.2', - 'JVP15S': '4.2', // Interim build used by the Nexus 7 - 'JOP40C': '4.2', - 'JOP40D': '4.2.1', - 'JOP40F': '4.2.1', - 'JOP40G': '4.2.1', - 'JDQ39': '4.2.2', - 'JDQ39B': '4.2.2', - 'JDQ39E': '4.2.2', - 'JWR66L': '4.3', - 'JWR66N': '4.3', + HRI39: '3.0', + HRI66: '3.0', + HWI69: '3.0', + HRI83: '3.0', + HMJ37: '3.1', + HTJ85B: '3.2', + HTK55D: '3.2.1', + HTK75: '3.2.1', + HTK75D: '3.2.1', + HLK75C: '3.2.2', + HLK75D: '3.2.2', + HLK75F: '3.2.4', + HLK75H: '3.2.6', + ITL41D: '4.0.1', + ITL41E: '4.0.1', + ITL41F: '4.0.1', + ICL53F: '4.0.2', + IML74K: '4.0.3', + IML77: '4.0.3', + IMM76: '4.0.4', + IMM76D: '4.0.4', + IMM76I: '4.0.4', + IMM76K: '4.0.4', + IMM76L: '4.0.4', + JRO03C: '4.1.1', + JRO03D: '4.1.1', + JRO03E: '4.1.1', + JRO03H: '4.1.1', + JRO03L: '4.1.1', + JRO03O: '4.1.1', + JRO03R: '4.1.1', + JRO03S: '4.1.1', + JZO54K: '4.1.2', + JZO54M: '4.1.2', + JVP15S: '4.2', // Interim build used by the Nexus 7 + JOP40C: '4.2', + JOP40D: '4.2.1', + JOP40F: '4.2.1', + JOP40G: '4.2.1', + JDQ39: '4.2.2', + JDQ39B: '4.2.2', + JDQ39E: '4.2.2', + JWR66L: '4.3', + JWR66N: '4.3', 'JWR66N.S005': '4.3', // Google Play Edition - Samsung Galaxy S4 - 'JWR66V': '4.3', + JWR66V: '4.3', 'JWR66V.H10': '4.3', // Google Play Edition - HTC One 'JWR66V.S014': '4.3', // Google Play Edition - Samsung Galaxy S4 - 'JWR66Y': '4.3', + JWR66Y: '4.3', 'JWR66Y.S003': '4.3', // Google Play Edition - Samsung Galaxy S4 - 'JSR78D': '4.3', - 'JSS15J': '4.3', - 'JSS15Q': '4.3', - 'KRT16S': '4.4', - 'KRT16M': '4.4', - 'KOT49E': '4.4.1', - 'KOT49H': '4.4.2', - 'KVT49L': '4.4.2', - 'KTU84L': '4.4.3', - 'KTU84M': '4.4.3', - 'KTU84P': '4.4.4', - 'LPV79': {'value': '5.0', 'alias': 'L'}, - 'LPV81C': {'value': '5.0', 'alias': 'L'}, - 'LPX13D': {'value': '5.0', 'alias': 'L'}, - 'LRX21L': '5.0', - 'LRX21M': '5.0', - 'LRX21O': '5.0', - 'LRX21P': '5.0', - 'LRX21Q': '5.0', - 'LRX21R': '5.0', - 'LRX21T': '5.0', - 'LRX21V': '5.0', - 'LRX22C': '5.0.1', - 'LRX22G': '5.0.2', - 'LRX22L': '5.0.2', + JSR78D: '4.3', + JSS15J: '4.3', + JSS15Q: '4.3', + KRT16S: '4.4', + KRT16M: '4.4', + KOT49E: '4.4.1', + KOT49H: '4.4.2', + KVT49L: '4.4.2', + KTU84L: '4.4.3', + KTU84M: '4.4.3', + KTU84P: '4.4.4', + LPV79: { value: '5.0', alias: 'L' }, + LPV81C: { value: '5.0', alias: 'L' }, + LPX13D: { value: '5.0', alias: 'L' }, + LRX21L: '5.0', + LRX21M: '5.0', + LRX21O: '5.0', + LRX21P: '5.0', + LRX21Q: '5.0', + LRX21R: '5.0', + LRX21T: '5.0', + LRX21V: '5.0', + LRX22C: '5.0.1', + LRX22G: '5.0.2', + LRX22L: '5.0.2', 'LGZ23.S3': '5.0.2', // Sony Bravia Android TV 'LGZ23.S15': '5.0.2', // Sony Bravia Android TV 'LGZ23.S37': '5.0.2', // Sony Bravia Android TV @@ -127,15 +127,15 @@ exports.ANDROID_BUILDS = { 'LGY75.S131': '5.0.2', // Sony Bravia Android TV 'LGY75.S143': '5.0.2', // Sony Bravia Android TV 'LGY75.S147': '5.0.2', // Sony Bravia Android TV - 'LMY47D': '5.1', - 'LMY47E': '5.1', - 'LMY47I': '5.1', - 'LMY47M': '5.1', - 'LMY47O': '5.1', - 'LMY47V': '5.1.1', - 'LMY47X': '5.1.1', - 'LMY47Z': '5.1.1', - 'LMY48B': '5.1.1', + LMY47D: '5.1', + LMY47E: '5.1', + LMY47I: '5.1', + LMY47M: '5.1', + LMY47O: '5.1', + LMY47V: '5.1.1', + LMY47X: '5.1.1', + LMY47Z: '5.1.1', + LMY48B: '5.1.1', 'LMY48E.S1': '5.1.1', // Sony Bravia Android TV 'LMY48E.S39': '5.1.1', // Sony Bravia Android TV 'LMY48E.S63': '5.1.1', // Sony Bravia Android TV @@ -153,80 +153,80 @@ exports.ANDROID_BUILDS = { 'LMY48E.S195': '5.1.1', // Sony Bravia Android TV 'LMY48E.S197': '5.1.1', // Sony Bravia Android TV 'LMY48E.S223': '5.1.1', // Sony Bravia Android TV - 'LMY48G': '5.1.1', - 'LMY48I': '5.1.1', - 'LMY48J': '5.1.1', - 'LMY48M': '5.1.1', - 'LMY48N': '5.1.1', - 'LMY48P': '5.1.1', - 'LMY48T': '5.1.1', - 'LMY48U': '5.1.1', - 'LMY48W': '5.1.1', - 'LMY48X': '5.1.1', - 'LMY48Y': '5.1.1', - 'LMY48Z': '5.1.1', - 'LMY49F': '5.1.1', - 'LMY49G': '5.1.1', - 'LMY49H': '5.1.1', - 'LMY49I': '5.1.1', - 'LMY49J': '5.1.1', - 'LVY48C': '5.1.1', - 'LVY48E': '5.1.1', - 'LVY48F': '5.1.1', - 'LVY48H': '5.1.1', - 'LYZ28E': '5.1.1', - 'LYZ28J': '5.1.1', - 'LYZ28K': '5.1.1', - 'LYZ28M': '5.1.1', - 'LYZ28N': '5.1.1', - 'MPZ44Q': {'value': '6.0', 'alias': 'M'}, - 'MPZ79M': {'value': '6.0', 'alias': 'M'}, - 'MRA58K': '6.0', - 'MRA58N': '6.0', - 'MRA58U': '6.0', - 'MRA58V': '6.0', - 'MRA58X': '6.0', - 'MRA59B': '6.0', - 'MDA89D': '6.0', - 'MDA89E': '6.0', - 'MDB08I': '6.0', - 'MDB08K': '6.0', - 'MDB08L': '6.0', - 'MDB08M': '6.0', - 'MMB29N': '6.0', - 'MMB29K': '6.0.1', - 'MMB29M': '6.0.1', - 'MMB29O': '6.0.1', - 'MMB29P': '6.0.1', - 'MMB29S': '6.0.1', - 'MMB29T': '6.0.1', - 'MMB29Q': '6.0.1', - 'MMB29R': '6.0.1', - 'MMB29U': '6.0.1', - 'MMB29V': '6.0.1', - 'MMB29X': '6.0.1', - 'MHC19I': '6.0.1', - 'MHC19J': '6.0.1', - 'MHC19Q': '6.0.1', - 'MOB30D': '6.0.1', - 'MOB30G': '6.0.1', - 'MOB30H': '6.0.1', - 'MOB30I': '6.0.1', - 'MOB30J': '6.0.1', - 'MTC19T': '6.0.1', - 'MXB48J': '6.0.1', - 'MXB48K': '6.0.1', - 'MXB48T': '6.0.1', - 'MXC14G': '6.0.1', - 'MXC89F': '6.0.1', - 'M5C14J': '6.0.1', - 'NPC56P': {'value': '7.0', 'alias': 'N'}, - 'NPC56W': {'value': '7.0', 'alias': 'N'}, - 'NPC56X': {'value': '7.0', 'alias': 'N'}, - 'NPC91K': {'value': '7.0', 'alias': 'N'}, - 'NPD35K': {'value': '7.0', 'alias': 'N'}, - 'NRD21D': {'value': '7.0', 'alias': 'N'}, - 'NRD28C': {'value': '7.0', 'alias': 'N'}, + LMY48G: '5.1.1', + LMY48I: '5.1.1', + LMY48J: '5.1.1', + LMY48M: '5.1.1', + LMY48N: '5.1.1', + LMY48P: '5.1.1', + LMY48T: '5.1.1', + LMY48U: '5.1.1', + LMY48W: '5.1.1', + LMY48X: '5.1.1', + LMY48Y: '5.1.1', + LMY48Z: '5.1.1', + LMY49F: '5.1.1', + LMY49G: '5.1.1', + LMY49H: '5.1.1', + LMY49I: '5.1.1', + LMY49J: '5.1.1', + LVY48C: '5.1.1', + LVY48E: '5.1.1', + LVY48F: '5.1.1', + LVY48H: '5.1.1', + LYZ28E: '5.1.1', + LYZ28J: '5.1.1', + LYZ28K: '5.1.1', + LYZ28M: '5.1.1', + LYZ28N: '5.1.1', + MPZ44Q: { value: '6.0', alias: 'M' }, + MPZ79M: { value: '6.0', alias: 'M' }, + MRA58K: '6.0', + MRA58N: '6.0', + MRA58U: '6.0', + MRA58V: '6.0', + MRA58X: '6.0', + MRA59B: '6.0', + MDA89D: '6.0', + MDA89E: '6.0', + MDB08I: '6.0', + MDB08K: '6.0', + MDB08L: '6.0', + MDB08M: '6.0', + MMB29N: '6.0', + MMB29K: '6.0.1', + MMB29M: '6.0.1', + MMB29O: '6.0.1', + MMB29P: '6.0.1', + MMB29S: '6.0.1', + MMB29T: '6.0.1', + MMB29Q: '6.0.1', + MMB29R: '6.0.1', + MMB29U: '6.0.1', + MMB29V: '6.0.1', + MMB29X: '6.0.1', + MHC19I: '6.0.1', + MHC19J: '6.0.1', + MHC19Q: '6.0.1', + MOB30D: '6.0.1', + MOB30G: '6.0.1', + MOB30H: '6.0.1', + MOB30I: '6.0.1', + MOB30J: '6.0.1', + MTC19T: '6.0.1', + MXB48J: '6.0.1', + MXB48K: '6.0.1', + MXB48T: '6.0.1', + MXC14G: '6.0.1', + MXC89F: '6.0.1', + M5C14J: '6.0.1', + NPC56P: { value: '7.0', alias: 'N' }, + NPC56W: { value: '7.0', alias: 'N' }, + NPC56X: { value: '7.0', alias: 'N' }, + NPC91K: { value: '7.0', alias: 'N' }, + NPD35K: { value: '7.0', alias: 'N' }, + NRD21D: { value: '7.0', alias: 'N' }, + NRD28C: { value: '7.0', alias: 'N' }, }; // Source: http://source.android.com/source/build-numbers.html diff --git a/data/indices/models-android.js b/data/indices/models-android.js index 302462a..0d368d5 100644 --- a/data/indices/models-android.js +++ b/data/indices/models-android.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.ANDROID_INDEX = { '@': [ 'A[0-9]{3,3}!!', @@ -14,6 +12,7 @@ exports.ANDROID_INDEX = { '(Hisense )?(LED[0-9]{2,2}(G|K|L|EC|XT)[0-9]{2,3})!', '[SX06][0-9]{2,2}HT!!', '(Huawei )?[MSTX](1|2|7|8|10)\\-[A-Z0-9][0-9]{2,2}!!', + '(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!', 'G[0-9]{3,3}!!', 'Y[0-9]{3,3}!!', '[0-9AS][0-9]{2,2}HW!!', @@ -41,6 +40,8 @@ exports.ANDROID_INDEX = { 'F[0-9]{4,4}!!', 'G[0-9]{4,4}!!', 'H[0-9]{4,4}!!', + 'I[0-9]{4,4}!!', + 'J[0-9]{4,4}!!', 'E[0-9]{2,2}[a-z]!!', 'L[0-9]{2,2}[a-z]!!', '(SNM\\-)?M[0-9]{2,2}[a-z]!!', @@ -53,7 +54,7 @@ exports.ANDROID_INDEX = { '(ZTE ?)?V ?[0-9]{3,3}!!', '(ZTE ?)?X[0-9]{3,3}!!', '(ZTE )?Z[0-9]!!', - '[a-z][a-z](?:-[a-z][a-z])?, SmartTabII7!' + '[a-z][a-z](?:-[a-z][a-z])?, SmartTabII7!', ], '@00': ['001DL', '003P', '003Z', '008Z', '009Z'], '@0P': ['0PCV1', '0PM92', '0PJA1!', '0PJA2!', '0PKV1', '0PAJ5'], @@ -66,8 +67,11 @@ exports.ANDROID_INDEX = { '@18': ['1801-A01'], '@2 ': ['(Lenovo )?(Tab ?)?(2 ?)?[AS](7|8|10)!!'], '@20': ['201M', '(Xiaomi )?20!!', '(Xiaomi |HM)?20!!'], + '@21': ['21061119DG', '2107113SG', '21081111RG', '21091116AG', '(Xiaomi |HM)?21!!', '21051182G'], + '@22': ['2201117TY', '2201122G', '2201123G', '2201116PG'], '@2P': ['2PQ93', '2PS64'], '@3': ['(3|5|6|7)0[0-9]SH!!'], + '@30': [3007], '@36': ['360 N4S'], '@3G': ['3G7334i', '(Lenovo |Lephone )?3GC101!', '(Lenovo |Lephone )?3GW100!', '(Lenovo |Lephone )?3GW101!'], '@40': [ @@ -102,11 +106,15 @@ exports.ANDROID_INDEX = { '4060[SW]!', '40[0-9]SC!!', '40[0-9]SO!!', - '402ZT' + '402ZT', ], '@48': ['(48|50|55)AX600C!'], '@5': ['(3|5|6|7)0[0-9]SH!!'], '@50': [ + '5001[D]!', + '5002[DH]!', + '5003[D]!', + '5009[D]!', '5010[DEGSUX]!', '5011[A]!', '5012[G]!', @@ -118,9 +126,10 @@ exports.ANDROID_INDEX = { '5020[A]!', '5022[DEX]!', '5023[F]!', - '5024[D]!', + '5024[DF]!', '5025[DEGX]!', '5027[B]!', + '5030[DF]!', '5033[ADJOX]!', '5034[D]!', '5036[D]!', @@ -132,11 +141,12 @@ exports.ANDROID_INDEX = { '5045[ADFGJTXY]!', '5046[DGIJUY]!', '5047[DIUY]!', + '5048[UY]!', '5049[EGSWZ]!', '5050[ASYX]!', '5051[ADJMX]!', '5052[DY]!', - '5053[D]!', + '5053[DK]!', '5054[ADOSTX]!', '5054[NW]!', '5056[ADEINUWX]!', @@ -145,6 +155,7 @@ exports.ANDROID_INDEX = { '5058[I]!', '5059[ADJTXY]!', '5060[D]!', + '5061[KU]!', '5065[ADJNWX]!', '5070[DJX]!', '5080[A]!', @@ -163,7 +174,7 @@ exports.ANDROID_INDEX = { '(48|50|55)AX600C!', '5080C Pro', '50[0-9]SO!!', - '502ZT' + '502ZT', ], '@55': ['5560S', '(48|50|55)AX600C!'], '@58': [5832, 5855, 5860, '5860A', '5860E', '5860S', 5870], @@ -171,6 +182,7 @@ exports.ANDROID_INDEX = { '@60': [ '6014[DX]!', '6016[ADEX]!', + '6025[D]!', '6031[X]!', '6036[AYX]!', '6037[BIKY]!', @@ -181,6 +193,7 @@ exports.ANDROID_INDEX = { '6045[BFGIKOXY]!', '6050[AFWY]!', '6055[ABDHIKPUY]!', + '6056[D]!', '6058[D]!', '6060[S]!', '6062[W]!', @@ -188,8 +201,9 @@ exports.ANDROID_INDEX = { '602LV', '60[0-9]SO!!', '602ZT', - '6034R ORANGE Niva' + '6034R ORANGE Niva', ], + '@66': [6607], '@70': [ '7030[L]!', '7040[DNR]!', @@ -204,13 +218,27 @@ exports.ANDROID_INDEX = { '7053[D]!', '7055[AW]!', '704DC', - '70[0-9]SO!!' + '70[0-9]SO!!', ], '@71': ['710C'], '@72': [7260, 7266], '@75': ['7500IPS'], '@7D': ['7D-501u'], - '@80': ['8020[D]!', '8030[BY]!', 8022, '801ES', '80-1', '801a', '801s', '802w', '800P31C'], + '@80': [ + '8020[D]!', + '8030[BY]!', + 8063, + 8082, + '8082 EEA', + '8094[X]!', + 8022, + '801ES', + '80-1', + '801a', + '801s', + '802w', + '800P31C', + ], '@81': ['8190Q'], '@82': ['825 T-Mobile'], '@83': ['831C'], @@ -232,14 +260,15 @@ exports.ANDROID_INDEX = { '9022[SX]!', '9024[OW]!', '9025[MQ]!', + '9026[X]!', '9021[AM]!', '909d', 9088, - '9020[A]!' + '9020[A]!', ], '@93': [9300, '9300+', '932i'], '@97': ['97FC'], - '@A0': ['A001', 'A0001', 'A0002', 'A05510'], + '@A0': ['A001', 'A007', 'A0001', 'A0002', 'A05510'], '@A1': [ 'A1-[0-9]{3,3}!!', 'A10', @@ -273,7 +302,8 @@ exports.ANDROID_INDEX = { 'A10T(8DM1)', 'A11(M5A7)', 'A11s(M5A7)', - 'A15(E6C2)' + 'A15(E6C2)', + 'A11 Pro Max', ], '@A2': ['A206G', 'A2', 'A21'], '@A3': [ @@ -287,11 +317,12 @@ exports.ANDROID_INDEX = { 'A31', 'A31c', 'A31t', + 'A31u', 'A33f', 'A33w', 'A37f', 'A37fw', - 'A3' + 'A3', ], '@A4': [ 'A450TL', @@ -307,7 +338,7 @@ exports.ANDROID_INDEX = { 'A400CG', 'A45', 'A47', - 'A4' + 'A4', ], '@A5': [ 'A520L', @@ -330,10 +361,11 @@ exports.ANDROID_INDEX = { 'A500CG', 'A55i', 'A52', + 'A51', 'A51f', 'A51w', 'A5000', - 'a5' + 'a5', ], '@A6': ['A621BL', 'A621R', 'A622GL', 'A622VL', 'A6 Duo', 'A6 Lite', 'A6277', 'A6020', 'A6S'], '@A7': [ @@ -356,9 +388,10 @@ exports.ANDROID_INDEX = { 'A750', 'A7000-a', 'A7010a48', + 'A73', 'A7272+', 'A70(CY6T)', - 'A78h四核(C1V3)' + 'A78h四核(C1V3)', ], '@A8': [ 'A845L', @@ -367,6 +400,8 @@ exports.ANDROID_INDEX = { 'A862W', 'A80KSC!', 'A80HF', + 'A80Plus', + 'A80Pro', 'A89', 'A820t', 'A87', @@ -380,24 +415,27 @@ exports.ANDROID_INDEX = { 'A80 se四核(M5MC)', 'A80HD四核(C4H6)', 'A88 mini四核(M1C5)', - 'A81E' + 'A81E', ], - '@A9': ['A995L', 'A95', 'A97i', '(GIO-)?(GiONEE[- ])?A9$!', 'A90S', 'A953', 'A955'], + '@A9': ['A995L', 'A95', 'A97i', '(GIO-)?(GiONEE[- ])?A9$!', 'A90S', 'A953', 'A955', 'A9 Pro'], '@AA': ['AA3-600'], '@AC': [ - 'Acer Chromebook R11', - 'Acer Chromebook R11 (CB5-132T / C738T)', - 'Acer Chromebook 15 (CB3-532)', + 'Acer Chromebook R11!', + 'Acer Chromebook R13!', + 'Acer Chromebook 15!', '(AC|BC|LC|MT|RC|QS|VM|TS|OC)[0-9]{4,4}[A-Z]!!', 'AC45BHE', 'AC50BHE', 'AC50DHE', 'AC45NE', + 'Action-X3', 'ACM3066-8', '(Explay|X-tremer|ActiveD|Informer|Surfer)!!', + 'AC2001', + 'AC2003', 'ACT2000', 'ACU Volvo', - 'Acqua' + 'Acqua', ], '@AD': [ 'ADT-1', @@ -453,7 +491,7 @@ exports.ANDROID_INDEX = { 'AD6893G', 'AD682H', 'Admire Alpha', - 'Admire Curve' + 'Admire Curve', ], '@AE': ['Aero A2-110', 'Aegis2'], '@AF': ['AFTB', 'AFTS', 'AFTN', 'AFTRS', 'AFTM', 'AFTT'], @@ -464,7 +502,8 @@ exports.ANDROID_INDEX = { 'AG Go-Tab Access', 'AG Chrome Go Tab 7.0', 'AGS-(L09|W09)!', - '(KATBL|Kogan|Agora)!!' + 'AGS2-(L09|W09)!', + '(KATBL|Kogan|Agora)!!', ], '@AI': [ 'aigoPad', @@ -485,7 +524,7 @@ exports.ANDROID_INDEX = { '(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!', 'Air!!', 'Aiki-4S', - 'Aiki-5' + 'Aiki-5', ], '@AK': ['AK330', 'AK330s', 'AKAI NEO', 'AKAI N8800', 'AKAI PHA-4800', 'AKAIPHA 5800', 'AKAI MIDMA-7002S'], '@AL': [ @@ -525,13 +564,13 @@ exports.ANDROID_INDEX = { '(Allview|Alldro)!!', 'Allwinner A10', '(Highscreen|Alpha|Bay|Boost|Cosmo|Explosion|Power|Prime|Zera)!!', - '(HUAWEI )?(ALP|BLA|CRR|LON|MATE|MHA|MT1|MT2|MT7|M200|NXT|Z100)!!', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'Alfa A93 POP', 'Alfa L', 'Ally', 'Altus 18', - 'Altus 24' + 'Altus 24', ], '@AM': [ 'amd brazos', @@ -562,7 +601,8 @@ exports.ANDROID_INDEX = { 'AMD120', '(Amaze|Hitech)!!', 'Amaze 4G', - '(Amazing|Fantastic)!!' + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', + '(Amazing|Fantastic)!!', ], '@AN': [ 'Android', @@ -609,7 +649,7 @@ exports.ANDROID_INDEX = { 'AN10G2-LZ', 'AN10BG3-LZ', 'AN7DG3C', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', '(iBall )?Andi!!', 'AND1', 'AND1E', @@ -621,7 +661,7 @@ exports.ANDROID_INDEX = { '(Smartfren|Andromax)!!', 'Androtab 7', '(Starway )?Andromeda!!', - '(Andy|Yezz)!!' + '(Andy|Yezz)!!', ], '@AO': [ 'AOLE 828', @@ -639,7 +679,7 @@ exports.ANDROID_INDEX = { 'aoson M787T', 'AOSON M1016', '(cm|aokp) tenderloin!', - 'AO5510' + 'AO5510', ], '@AP': [ 'App Runtime for Chrome', @@ -650,7 +690,7 @@ exports.ANDROID_INDEX = { 'apanda-A80T', 'apanda-A100', 'apanda-A101', - 'Aprix D97+' + 'Aprix D97+', ], '@AQ': [ '(bq|Aquaris|Edison|Maxwell)!!', @@ -667,10 +707,11 @@ exports.ANDROID_INDEX = { 'Aquila 101-1008 3G', 'Aquila LE 080-0508', 'Aquila SE 090-0508', + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', '(Intex )?Aqua!!', 'AQUOS!!', 'aqua', - 'AQT80' + 'AQT80', ], '@AR': [ 'ARCHM901', @@ -701,14 +742,31 @@ exports.ANDROID_INDEX = { 'arrowsM03', 'ARIES 101', 'ARIES 785', + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', 'ARA YS608', 'Arctic450', 'Arc', - 'Arc S' + 'Arc S', + 'Armor 2', + 'Armor 3W', + 'Armor 3WT', + 'Armor 5S', + 'Armor 6E', + 'Armor 7', + 'Armor 7E', + 'Armor 8', + 'Armor 9', + 'Armor 9E', + 'Armor 10 5G', + 'Armor 11 5G', + 'Armor 11T 5G', + 'Armor X5', + 'Armor X7', + 'Armor X7 Pro', + 'Armor X8', ], '@AS': [ - 'ASUS Chromebook Flip C100PA', - 'ASUS Chromebook Flip C302', + 'ASUS Chromebook Flip!', 'Astone A108', 'aspire1000s', 'Aspire!!', @@ -730,7 +788,7 @@ exports.ANDROID_INDEX = { 'AS985', 'AS650C', 'Aster', - 'Aster T' + 'Aster T', ], '@AT': [ 'AT390', @@ -749,7 +807,8 @@ exports.ANDROID_INDEX = { 'AT1G*', 'AT7E', 'ATP515CKIT', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', + '(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', 'aTab9.7 IPS', 'AT735', 'Atrix 2', @@ -785,9 +844,15 @@ exports.ANDROID_INDEX = { 'AT703', 'AT830', 'AT-A[QS][0-9]{2,2}!!', - 'ATLAS W' + 'ATLAS W', + ], + '@AU': [ + 'Aurora-II', + 'AUX!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + '(Aura|iberry|AUXUS)!!', + 'AURUS III', ], - '@AU': ['Aurora-II', 'AUX!!', '(Aura|iberry|AUXUS)!!', 'AURUS III'], '@AV': ['Avea!!', '(Ilium )?Avvio!!'], '@AX': [ 'AX3Party', @@ -796,11 +861,13 @@ exports.ANDROID_INDEX = { '(AXPAD|Axxion)!!', '(Bmobile )?AX[0-9]{3,4}!!', 'AX7OO', - 'AX600C' + 'AX600C', ], '@AZ': ['Azumi!!', '(AZ|BT)[0-9]{3,3}!!'], '@B1': ['B1-[A0-9][A0-9]{2,2}!!', 'B15', 'B15Q'], - '@B3': ['B3-A10', 'B3-A20', 'B3-A20B', 'B3-A30', 'B3-A32', 'B3-A40', 'B3-A40FHD', 'B3000'], + '@B2': ['B2021'], + '@B3': ['B3-A10', 'B3-A20', 'B3-A20B', 'B3-A30', 'B3-A32', 'B3-A40', 'B3-A40FHD', 'B3-A50FHD', 'B3000'], + '@B5': ['B5532'], '@B9': ['B916C'], '@BA': [ 'Bay Trail Generic Platform', @@ -811,12 +878,14 @@ exports.ANDROID_INDEX = { 'Barnes & Noble Nook HD+', '(Highscreen|Alpha|Bay|Boost|Cosmo|Explosion|Power|Prime|Zera)!!', 'BAH-(W09|AL00|L09)!', + 'BAH2-(AL10|L09|W09|W19)!', + 'BAH3-(W09)!', '(HW-|HUAWEI )?BAC-(AL00|L03|L21|L22|TL00)!', 'Backflip', 'Backflip Me600', 'Bambook S1', 'BARRY', - 'BASE!!' + 'BASE!!', ], '@BB': [ 'BB EH7', @@ -832,7 +901,7 @@ exports.ANDROID_INDEX = { 'BBE100-[0-9]!', 'BBF100-[0-9]!', '(BBG-|VIV-)?vivo!!', - 'Bbox Miami' + 'Bbox Miami', ], '@BC': [ 'bcm platform', @@ -849,7 +918,7 @@ exports.ANDROID_INDEX = { 'BCM28145!', 'BCM28155!', '(AC|BC|LC|MT|RC|QS|VM|TS|OC)[0-9]{4,4}[A-Z]!!', - 'BC1003' + 'BC1003', ], '@BD': ['(BDS|BHX|BKO)\\-!!'], '@BE': [ @@ -869,17 +938,19 @@ exports.ANDROID_INDEX = { 'BePhone UN030', 'Best ?sonny!!', 'BEAN 454', + 'BE202[69]!', + 'BE2013', 'beetle', 'Be Touch 2', - 'Beeline!!' + 'Beeline!!', ], '@BF': ['BF[ \\-]!!', 'BFB!!', 'BF[0-9]{2,2}00!!'], - '@BG': ['bg2 !', 'bg2ct !', 'bg2q4k !', 'bg2qa0v4 !', 'bg2qv4 !', 'BGO-(DL09|L03)!', 'BG2-(U01)!'], + '@BG': ['bg2 !', 'bg2ct !', 'bg2q4k !', 'bg2qa0v4 !', 'bg2qv4 !', 'BGO-(DL09|L03)!', 'BG2-(U01|W09)!'], '@BH': ['(BDS|BHX|BKO)\\-!!'], - '@BI': ['bird75v2', 'BioniQ!!', 'Bird!!', 'BizSmartPhone', 'BIP-6000', 'BIRDY'], + '@BI': ['bird75v2', 'BioniQ!!', 'Bird!!', 'BizSmartPhone', 'BIP-6000', 'BISON', 'BISON Pro', 'BISON GT', 'BIRDY'], '@BK': [ '(BDS|BHX|BKO)\\-!!', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', ], '@BL': [ 'Blaze', @@ -887,18 +958,19 @@ exports.ANDROID_INDEX = { 'BlueStacks!', 'BlackBerry Runtime for Android Apps', "BLACKBERRY P'9982", + 'BL6000Pro', '(BLU|DASH|LIFE|NEO|STUDIO|VIVO)!!', 'Bluboo S1', 'Blaze S180', 'BLADE LE 70', - '(HUAWEI )?(ALP|BLA|CRR|LON|MATE|MHA|MT1|MT2|MT7|M200|NXT|Z100)!!', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', '(HW-|HUAWEI )?(BLL|CHC|TAG|KII)!!', '(BLF-)?lephone!!', 'Blackphone 2', 'BLOOM', 'BLACK', - '(ZTE )?Blade!!' + '(ZTE )?Blade!!', ], '@BM': ['BMOBILE DASH 3.5', '(Bmobile )?AX[0-9]{3,4}!!', 'Bmobile T35AC', 'BM999'], '@BN': [ @@ -911,7 +983,7 @@ exports.ANDROID_INDEX = { '(NOOK )?BNTV(800)!', 'BN Nook HD', 'BN NookHD+', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', ], '@BO': [ 'Boost', @@ -925,7 +997,7 @@ exports.ANDROID_INDEX = { 'Bouygues Telecom Bs 403', 'Bouygues Telecom Bs 451', 'Boston 4G', - 'Boston' + 'Boston', ], '@BP': ['BP710A'], '@BQ': [ @@ -974,7 +1046,7 @@ exports.ANDROID_INDEX = { 'BQS-5500', 'BQS-5502', 'BQS-5505', - 'BQS 5505' + 'BQS 5505', ], '@BR': [ 'Bravo', @@ -984,20 +1056,37 @@ exports.ANDROID_INDEX = { 'BroadSign Xpress!', 'Broncho M7', '(BRS-)?BROR!!', - 'BRAVIA' + 'BRAVIA', ], '@BS': ['Bs 451', 'Bs 501', 'Bs541', 'BSTB-200C'], '@BT': ['BTV-(DL09|W09)!', '(AZ|BT)[0-9]{3,3}!!'], '@BU': ['BUSH!!', 'Burst S280', 'Butterfly S', 'Bucare Y330-U05'], - '@BV': ['BV8000Pro'], - '@C2': ['C2'], + '@BV': [ + 'BV4900Pro', + 'BV5500Plus', + 'BV5900', + 'BV6300Pro', + 'BV6600', + 'BV6900', + 'BV8000Pro', + 'BV9100', + 'BV9500', + 'BV9500Plus', + 'BV9600E', + 'BV9600Pro', + 'BV9800Pro', + 'BV9900E', + 'BV9900Pro', + ], + '@C1': ['C15 Pro'], + '@C2': ['C21 Pro', 'C2'], '@C5': ['(GIO-)?(GiONEE[- ])?C500!', 'C525c'], '@C6': [ 'C6 Duo', 'C6Quad 4G', '(GIO-)?(GiONEE[- ])?C600!', '(GIO-)?(GiONEE[- ])?C610!', - '(GIO-)?(GiONEE[- ])?C620!' + '(GIO-)?(GiONEE[- ])?C620!', ], '@C7': ['C771', '(GIO-)?(GiONEE[- ])?C700!'], '@C8': ['C811 4G', 'C8297W', 'C8660', '(GIO-)?(GiONEE[- ])?C800!', 'C8817D', 'C8817E', 'C8[0-9]{3,3}!!', 'C868'], @@ -1005,6 +1094,7 @@ exports.ANDROID_INDEX = { '@CA': [ 'Cardhu', 'CA907AAC0G', + 'Carbon 1 Mark II', 'Camangi-Mangrove7', 'CAPTIVA!!', 'Carpad T5', @@ -1015,15 +1105,18 @@ exports.ANDROID_INDEX = { 'Casper VIA!!', 'CAT!!', 'Candy TV', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', - '(HW-|HUAWEI )?(CRO|LUA|CUN|SCC|SCU|CAM|LDN|LYO|MYA)!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', '(HW-|HUAWEI )?CAZ-(AL10|TL10|TL20)!', '(HW-|HUAWEI )?CAN-(L01|L11|L12)!', 'calgary', 'Captivate-I897', - 'capricorn' + 'capricorn', ], '@CC': ['CCE SK352'], + '@CD': [ + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', + ], '@CE': ['cedartrail', 'CENTURION', 'CENTURION 3', 'Celkon!!'], '@CH': [ 'Chacer', @@ -1040,10 +1133,10 @@ exports.ANDROID_INDEX = { 'Cherry w500', 'CHUWI!!', 'CHONG!!', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', '(HW-|HUAWEI )?(BLL|CHC|TAG|KII)!!', 'chagall', - 'chiron' + 'chiron', ], '@CI': [ 'cius', @@ -1059,7 +1152,7 @@ exports.ANDROID_INDEX = { 'CINK SLIM', 'Cink Slim A', 'Cink Slim B', - 'CINK SLIM 2' + 'CINK SLIM 2', ], '@CJ': ['(CJ-)?ThL!!'], '@CL': [ @@ -1070,12 +1163,13 @@ exports.ANDROID_INDEX = { 'Clanga SE 097-1008', 'CLP281X', 'Click', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', '(Intex )?Cloud!!', 'CLIQ', 'CLIQ XT', - 'CLIQ2' + 'CLIQ2', ], - '@CM': ['CMP!!', '(cm|aokp) tenderloin!', 'CM980', 'CM990'], + '@CM': ['CMP!!', '(cm|aokp) tenderloin!', 'CMR-(AL09|AL19|W09|W19)!', 'CM980', 'CM990'], '@CN': ['CnM!!', 'CN51 [NQ]!'], '@CO': [ 'Colibri-T20', @@ -1091,17 +1185,18 @@ exports.ANDROID_INDEX = { 'COSHIP F2', 'COWON!!', 'COZCO C1 Plus', + 'Core-M5', 'Collo DG100', 'Collo 2 DG120', 'Connect-2G-2.0', '(Highscreen|Alpha|Bay|Boost|Cosmo|Explosion|Power|Prime|Zera)!!', 'Coquettish Red', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', 'Comet', 'Corvair', 'COOLPIX S800c', 'COOLPIX S810c', - 'Constellation V' + 'Constellation V', ], '@CP': [ 'CP-DX!!', @@ -1109,25 +1204,96 @@ exports.ANDROID_INDEX = { 'CP8676!', 'CP8298!', 'CPN-(W09|AL00|L09)!', + 'CPH1803', + 'CPH1809', + 'CPH1901', + 'CPH1937', + 'CPH1941', 'CPH1605', 'CPH1701', 'CPH1717', + 'CPH1801', + 'CPH1729', + 'CPH1827', 'CPH1609', 'CPH1613', 'CPH1723', - 'CPH1611' + 'CPH1727', + 'CPH1819', + 'CPH1821', + 'CPH1859', + 'CPH1881', + 'CPH1823', + 'CPH1831', + 'CPH1837', + 'CPH1871', + 'CPH1875', + 'CPH1877', + 'CPH1893', + 'CPH1903', + 'CPH1907', + 'CPH1909', + 'CPH1911', + 'CPH1917', + 'CPH1919', + 'CPH1920', + 'CPH1923', + 'CPH1931', + 'CPH1933', + 'CPH1951', + 'CPH1969', + 'CPH1989', + 'CPH2005', + 'CPH2009', + 'CPH2021', + 'CPH2023', + 'CPH2025', + 'CPH2043', + 'CPH2065', + 'CPH2067', + 'CPH2069', + 'CPH2083', + 'CPH2089', + 'CPH2091', + 'CPH2121', + 'CPH2125', + 'CPH2127', + 'CPH2135', + 'CPH2145', + 'CPH2161', + 'CPH2173', + 'CPH2185', + 'CPH2195', + 'CPH2197', + 'CPH2205', + 'CPH2207', + 'CPH2211', + 'CPH2219', + 'CPH2247', + 'CPH2251', + 'CPH2269', + 'CPH2271', + 'CPH2273', + 'CPH2305', + 'CPH2307', + 'CPH2371', + 'CPH1721', + 'CPH1611', + 'CPH1879', + 'CPH1861', + 'CPH1979', ], '@CR': [ 'Crespo!', 'CRESTA.CTP888', 'Cross!!', 'Crosscall!!', - '(HUAWEI )?(ALP|BLA|CRR|LON|MATE|MHA|MT1|MT2|MT7|M200|NXT|Z100)!!', - '(HW-|HUAWEI )?(CRO|LUA|CUN|SCC|SCU|CAM|LDN|LYO|MYA)!!', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', 'CRONO 22', - 'Crescent' + 'Crescent', ], - '@CS': ['CS-1A13', '(CSL[- ])?(Spice[- ]?)?Mi(-| )?[0-9]{3,3}!!'], + '@CS': ['CS45XA', 'CS-1A13', '(CSL[- ])?(Spice[- ]?)?Mi(-| )?[0-9]{3,3}!!'], '@CT': [ 'CT[0-9]{3,4}!!', 'CT-1', @@ -1144,13 +1310,13 @@ exports.ANDROID_INDEX = { 'CT720HD', 'CT920', 'CT1006', - 'CT9973W43M' + 'CT9973W43M', ], '@CU': [ 'CUBOT!!', '(CUBE ?)?(K8|U1|U2|U3|U5|U6|U8|U9)[0-9]?GT!!', 'CUBE!!', - '(HW-|HUAWEI )?(CRO|LUA|CUN|SCC|SCU|CAM|LDN|LYO|MYA)!!' + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', ], '@CW': ['CW[- ]!!'], '@CX': ['CX-919', 'CX-921', 'CX-921B', 'CX-929', 'CX-950', 'CX-958'], @@ -1161,11 +1327,11 @@ exports.ANDROID_INDEX = { 'D000-0000(01|07)-[A-Z][0-9]{2,2}!', 'D000-000002-[W0][0-9]{2,2}!', 'D000-0000(10|11)-N!', - 'D000 000043' + 'D000 000043', ], '@D2': [ 'D2-[0-9]{3,3}!!', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!' + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', ], '@D5': ['D530', 'D539'], '@D7': ['D709', 'D7800AD', 'D75E', 'D70W'], @@ -1176,14 +1342,14 @@ exports.ANDROID_INDEX = { '(BLU|DASH|LIFE|NEO|STUDIO|VIVO)!!', 'Dakele A380', 'DAKELE MC001', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'DATAM803HC', 'DATAM805HC', 'DATAM819HD!', 'DARKFULL', 'DARKMOON', 'DARKNIGHT', - 'DARKSIDE' + 'DARKSIDE', ], '@DE': [ 'Dell!!', @@ -1216,7 +1382,7 @@ exports.ANDROID_INDEX = { 'DEDY+', 'Dext', 'Devour', - 'DEM752NC' + 'DEM752NC', ], '@DG': ['DG310', 'DG750 Iron Bone'], '@DI': [ @@ -1235,7 +1401,7 @@ exports.ANDROID_INDEX = { 'DIAMOND S3', 'Discovery', 'Discovery Elite', - 'Discovery II Mini' + 'Discovery II Mini', ], '@DJ': ['DJC Touchtab3', 'DJC Touchtab4'], '@DK': ['DKL01', 'Dk1031'], @@ -1244,16 +1410,30 @@ exports.ANDROID_INDEX = { 'DL8006', 'DLX', 'DLXU', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', - 'dL1' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + 'dL1', + 'DLT-H0', + ], + '@DM': [ + 'DM0[0-9]{2,2}(K|SH)!!', + 'DM001c Frozen', + 'DM001c Mickey', + 'DM001c Princess', + 'DM-01G', + 'DM-01K', + 'DM-02H', + 'DMC-CM1', + 'DM-01H', + 'DM-01J', ], - '@DM': ['DM0[0-9]{2,2}(K|SH)!!', 'DM-01G', 'DM-01K', 'DM-02H', 'DMC-CM1', 'DM-01H', 'DM-01J'], '@DN': [ 'DNS Airbook TYT701', '(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!', 'DNS S!!', 'DNSS4003', - 'DNS4502M' + 'DNS4502M', + 'DN2101', + 'DN2103', ], '@DO': [ 'Dooderbutt!', @@ -1263,17 +1443,18 @@ exports.ANDROID_INDEX = { 'DOOV!!', 'Doro Liberto!!', 'Doro 8030', + 'Doro 8040', 'Doro 824', 'Doro PhoneEasy 745', 'Dolphin 70e Black', - 'Docomo HT-03A' + 'Docomo HT-03A', ], '@DP': ['DPS Dream 7', 'DPS Dream 9', 'DP-X1', 'DPH-D710'], '@DR': [ 'Dream', '(GIO-)?(GiONEE[- ])?Dream D1!', 'Droid Incredible', - '(HW-|HUAWEI )?(DRA|FLA|TIT|TAG|NCE|TRT|SLA)!!', + '(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!', 'DroniX-0.5', 'Droid', 'DROID', @@ -1304,13 +1485,15 @@ exports.ANDROID_INDEX = { 'DROIDZ Race', 'DROIDZ Race X', 'DROIDZ Sport', - 'DROIDZ Ultimate' + 'DROIDZ Ultimate', ], - '@DS': ['Dslide!!'], + '@DS': ['Dslide!!', 'DSB-0220', 'DSB-0230'], '@DT': ['Dtac phone Joey Jet 2', 'dtab01'], '@DU': [ - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', ], + '@DV': ['(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!'], '@DW': ['DW-PS3G5', 'DW-UBT7W', 'DW-UBT7SC*', 'DW-UBT27Cz', 'DW-UBT23G7'], '@DY': [ 'dyno 7.80', @@ -1324,11 +1507,11 @@ exports.ANDROID_INDEX = { 'Dynamic Shake', 'Dynamic Wide', 'Dynamic Wing', - 'Dynamic Racing 3' + 'Dynamic Racing 3', ], '@E': ['(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!'], '@E-': ['(E-Boda|Eruption|Essential|Supreme|Storm|Revo)!!'], - '@E1': ['E1 v360', 'E170BS', 'E1031', 'e1808 v75!', 'e1109 v73!'], + '@E1': ['E1 v360', 'E170BS', 'E1031', 'E1050X', 'E1051X', 'E1060X', 'e1808 v75!', 'e1109 v73!'], '@E2': ['E2 Jump', 'E239', 'E270BSA', 'E2281', '(Moto)?E2$!', '(Moto)?E2\\(4G-LTE\\)$!'], '@E3': ['E3 Living', 'E3 Sign', '(GIO-)?(GiONEE[- ])?E3T!', '(GIO-)?(GiONEE[- ])?E3$!'], '@E4': ['E4', 'E4 Lite'], @@ -1339,19 +1522,19 @@ exports.ANDROID_INDEX = { '(GIO-)?(GiONEE[- ])?E6T$!', 'E6782', 'E650', - 'E60w' + 'E60w', ], '@E7': ['E70[0-9]{2,2}H[DG]!!', '(GIO-)?(GiONEE[- ])?E7$!', 'E780', 'E731'], '@E8': ['E80[0-9]{2,2}H[DG]!!', 'E860', 'E800', 'E815', 'E812', 'E810'], - '@E9': ['E900', 'E912'], + '@E9': ['E940-2795-00', 'E940-2796-00', 'E900', 'E912'], '@EA': ['eagle75v1 2', 'EasyPhone EP5', 'EasyPad 971'], - '@EB': ['EBEN!!', 'EBEST!!', 'EB-4063-X', 'EB-A71GJ', 'EB-W51GJ', 'EB-WX1GJ', 'EB-L76G-B'], + '@EB': ['EBEN!!', 'EBEST!!', 'EB2101', 'EB2103', 'EB-4063-X', 'EB-A71GJ', 'EB-W51GJ', 'EB-WX1GJ', 'EB-L76G-B'], '@EC': ['(Hisense )?(LED[0-9]{2,2}(G|K|L|EC|XT)[0-9]{2,3})!', 'Eco9 v1', 'Eco9 v2', 'Eco11 v2'], '@ED': [ '(bq|Aquaris|Edison|Maxwell)!!', 'edgejr', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', - 'edenTAB ET-701' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + 'edenTAB ET-701', ], '@EE': ['eeepc', 'eee 701', '(Eee Pad )?Transformer Prime TF201!'], '@EF': ['EFM710A'], @@ -1366,6 +1549,7 @@ exports.ANDROID_INDEX = { 'ELIFE-E3', 'Elife E5', 'ElifeE6', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'Elektra L', 'Elektra XL', 'Electrify', @@ -1389,15 +1573,15 @@ exports.ANDROID_INDEX = { 'Elite 11', '(SENCOR )?ELEMENT!!', 'Elite 5.5L+', - 'Elite 6.0L' + 'Elite 6.0L', ], '@EM': [ 'EMBT3C', 'EM63', 'EM01F', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'eMAX mini', - 'EMR1879' + 'EMR1879', ], '@EN': ['Endeavour!!', 'ENR U', 'EndeavorU', 'Enjoy 71', 'Enjoy 7 Plus'], '@EP': ['EPAD', 'epade!!'], @@ -1412,12 +1596,12 @@ exports.ANDROID_INDEX = { 'Era 2X', 'era HD', 'era 4G', - 'era 4K' + 'era 4K', ], '@ES': [ '(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!', '(E-Boda|Eruption|Essential|Supreme|Storm|Revo)!!', - 'eSTAR!!' + 'eSTAR!!', ], '@ET': ['ETBW11AA', 'Etel!!', 'ETOOSPAD5', 'ETOOSPAD6', 'ET1', 'Etisalat Smartphone', 'etab5'], '@EV': [ @@ -1427,22 +1611,25 @@ exports.ANDROID_INDEX = { '(EVAS )?EVERCOSS[- ]A!!', 'EVERPAD SC-710', 'Ever!!', + 'EVOLVEO StrongPhone G7', + 'EVOLVEO StrongPhone G9', 'EVO', 'Evo HD2', 'EVO ?3D!', 'EVO 4G', 'Evo V 4G', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', '(EV|KM)-[ES][0-9]{3,3}!!', 'Event', - 'EVERY35' + 'EVERY35', ], '@EX': [ 'Exynos5410', '(Cloudfone|CloudPad|Excite|Thrill)!!', '(Explay|X-tremer|ActiveD|Informer|Surfer)!!', '(Highscreen|Alpha|Bay|Boost|Cosmo|Explosion|Power|Prime|Zera)!!', - 'Explorer A310e' + 'Explorer A310e', ], '@EZ': ['Ezcast', 'eZee!!'], '@F&': ['F&U ETB!!'], @@ -1459,9 +1646,10 @@ exports.ANDROID_INDEX = { '@FI': [ 'FIH-FB0', 'FIH-!!', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'Find 5', - 'FIND7' + 'FIND7', + 'FINNEY U1', ], '@FJ': ['FJ[LT][0-9]{2,2}!!', 'FJJB091'], '@FL': [ @@ -1493,7 +1681,7 @@ exports.ANDROID_INDEX = { 'Flylife!!', 'Fly Flylife Web 7.85 Slim', 'Flyer', - '(HW-|HUAWEI )?(DRA|FLA|TIT|TAG|NCE|TRT|SLA)!!', + '(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!', 'Flair E1', 'Flair E2', 'FlairE3', @@ -1501,7 +1689,7 @@ exports.ANDROID_INDEX = { 'Flair P1i', 'Flair P8', 'Flair S1', - 'Flair Z1' + 'Flair Z1', ], '@FN': ['(tablet )?fnac!!'], '@FO': [ @@ -1524,15 +1712,15 @@ exports.ANDROID_INDEX = { 'Forward 5 5', 'Forward 5.5', 'Folio 100', - 'folio100' + 'folio100', ], - '@FP': ['FP1', 'FP1U', 'FP2'], + '@FP': ['FP1', 'FP1U', 'FP2', 'FP3', 'FP4'], '@FR': [ 'Freelander I20', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', - '(MODECOM )?FreeTAB!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + '(MODECOM )?FreeTAB!!', ], - '@FS': ['FS403', 'FS407', 'FS451', 'FS514'], + '@FS': ['FS403', 'FS407', 'FS451', 'FS514', 'FS8032'], '@FT': ['FTJ152A', 'FTJ161B', 'FTJ162E'], '@FU': ['full Android on Microsoft Windows, pad, pc, n*books', 'Fusion Bolt', 'FUSIONideos', 'Fuel F2'], '@FW': ['FWS[0-9]{3,3}!!'], @@ -1557,15 +1745,15 @@ exports.ANDROID_INDEX = { 'G18 3G四核(C6B9)', 'G18mini(C5B9)', 'G18d 3G四核(D3A2)', - 'G18d mini(FV2C)' + 'G18d mini(FV2C)', ], '@G2': ['G2S', 'G2SMNT'], '@G3': ['(Moto)?G3$!', '(Moto)?G3-TE$!', 'G3SMNTS22', 'G3SMNTS23'], '@G6': [ - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!' + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', ], '@G7': [ - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!' + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', ], '@G9': ['G9'], '@GA': ['(Google )?Galaxy Nexus!', 'Galaxy S4 Google Editon', 'Garmin!!', 'Galaxy!!'], @@ -1582,7 +1770,7 @@ exports.ANDROID_INDEX = { 'GETAWAY', 'gemini', 'General Mobile 4G', - 'General Mobile 4G Dual' + 'General Mobile 4G Dual', ], '@GF': ['GFIVE!!'], '@GH': ['Ghost', 'GHIA!!'], @@ -1690,7 +1878,7 @@ exports.ANDROID_INDEX = { '(GIO-)?(GiONEE[- ])?Gpad G1!', '(GIO-)?(GiONEE[- ])?Gpad G2!', '(GIO-)?(GiONEE[- ])?Gpad G3!', - 'GinDream/GinMagic' + 'GinDream/GinMagic', ], '@GK': ['GK802'], '@GL': [ @@ -1706,9 +1894,11 @@ exports.ANDROID_INDEX = { 'GloryG1000', 'GL-900', 'GLX!!', - 'GL07S' + 'GL07S', ], '@GM': [ + 'GM190[0135]!', + 'GM191[01357]!', 'Gm Discovery', 'GM Discovery II', 'GM Discovery II+', @@ -1720,7 +1910,9 @@ exports.ANDROID_INDEX = { 'GM 5 Plus d', 'GM 6', 'GM 6 d', - 'GM Discovery tab 8' + 'GM 8 d', + 'GM8 go', + 'GM Discovery tab 8', ], '@GN': [ '(GIO-)?(GiONEE[- ])?GN5001!', @@ -1778,7 +1970,7 @@ exports.ANDROID_INDEX = { '(GIO-)?(GiONEE[- ])?GN858!', '(GIO-)?(GiONEE[- ])?GN868!', '(GIO-)?(GiONEE[- ])?GN878!', - 'Gnappo Ideos' + 'Gnappo Ideos', ], '@GO': [ 'google sdk', @@ -1809,7 +2001,7 @@ exports.ANDROID_INDEX = { 'GO963', 'GO980', 'GO984', - 'Gomobile GO1001' + 'Gomobile GO1001', ], '@GP': [ '(GP-|Geeksphone)!!', @@ -1820,17 +2012,31 @@ exports.ANDROID_INDEX = { '(GIO-)?(GiONEE[- ])?Gpad G1!', '(GIO-)?(GiONEE[- ])?Gpad G2!', '(GIO-)?(GiONEE[- ])?Gpad G3!', - 'Gpad G5' + 'Gpad G5', ], '@GR': [ 'Grouper', 'GR-TB!!', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'greenridge', 'Graphos A10', - '(ZTE )?(Grand|Mimosa)!!' + '(ZTE )?(Grand|Mimosa)!!', + ], + '@GS': [ + 'GS01', + '(Gsmart|Gigabyte|Rio)!!', + 'GS110', + 'GS185', + 'GS190', + 'GS195', + 'GS270', + 'GS270 plus', + 'GS280', + 'GS290', + 'GS370 Plus', + 'GS02', + 'GS03', ], - '@GS': ['GS01', '(Gsmart|Gigabyte|Rio)!!', 'GS02', 'GS03'], '@GT': [ 'GT-I9505G', 'GT-810', @@ -1852,19 +2058,19 @@ exports.ANDROID_INDEX = { 'GT-T959!', 'GT9100', 'GTablet', - 'GtabComb' + 'GtabComb', ], '@GU': ['gucci'], '@GV': ['GVON 898'], '@GW': ['GW620'], - '@GX': ['GX1210V TV'], + '@GX': ['GX290', 'GX1210V TV'], '@H1': ['H120'], '@H2': ['H2000+'], '@H3': [ - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', ], '@H6': [ - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', ], '@H7': ['H701', 'H7100', 'H7500+', 'H710VL', 'H715BL'], '@H8': ['H8 Life', 'H866C', 'H882L'], @@ -1874,20 +2080,30 @@ exports.ANDROID_INDEX = { '(Haier[- ])?H[ETW]- ?[A-Z][0-9]!!', 'Haier-W700', 'Haier-SY0880', + 'Hammer Blade2 PRO', + 'Hammer Blade 3', + 'Hammer Energy', + 'Hammer Energy 2', + 'Hammer Energy 18x9', + 'Hammer Explorer', + 'Hammer Explorer Pro', 'Hasee E50 S1', 'Hasee H45 T2', 'Hasee W50 T2', 'Hasee-X50TS', 'HannsComb', 'Hannspadd', - 'Hayabusa' + 'Hayabusa', + 'HARRY', ], '@HB': ['HB-100 DASAN', 'HB-100 DASAN Networks, Inc.', 'HB-1000'], '@HD': [ 'HD2', 'HD2 LEO', 'HD7 Pro', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + 'HD190[0135]!', + 'HD191[0137]!', ], '@HE': ['HEDY!!', 'HERO H7500+', 'Hero', 'HERO CDMA', 'HERO200'], '@HI': [ @@ -1906,35 +2122,43 @@ exports.ANDROID_INDEX = { 'Hikari-iFrame!', 'HIGHWAY', 'HIGHWAY PURE', - 'HIGHWAY SIGNS' + 'HIGHWAY SIGNS', ], '@HK': ['HKPHONE H8-3G'], - '@HL': ['HLV-T!!'], + '@HL': [ + 'HLV-T!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + ], '@HM': [ + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', 'HMP8100 ATV 93', 'HMP8100 ATV INT', '(Xiaomi )?(Redmi|RedRice|HM)!!', '(Xiaomi )?(Redmi|HM)[ \\-]?Note!!', - '(Xiaomi |HM)?20!!' + '(Xiaomi |HM)?20!!', + '(Xiaomi |HM)?21!!', ], '@HN': [ - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', ], '@HO': [ 'HOSIN!!', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', 'Honor3c2G-T', 'Honor Bee', - 'HOMESYNCT2WIFI' + 'HOMESYNCT2WIFI', ], '@HP': ['HP Chromebook x360 11 G1 EE', '(HP|Slate)!!', 'HP!!', 'HP-TouchPad', '(HP )?Touchpad!'], + '@HR': [ + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + ], '@HS': [ 'HS-[0-9]{1,2}DTB!!', 'HS-[EFHITUX][0-9]!!', 'HS-E[GT][0-9]{3,3}!!', '(HS-)?Hisense!!', 'HS-EG98', - 'HS U978' + 'HS U978', ], '@HT': [ '(HTC )?Nexus ?One!', @@ -1957,7 +2181,7 @@ exports.ANDROID_INDEX = { 'HTC My ?Touch ?4G$!', 'HTC S910m', 'HTC myTouch 4G Slide', - 'HTC Doubleshot' + 'HTC Doubleshot', ], '@HU': [ 'HUAWEI WATCH', @@ -1969,19 +2193,23 @@ exports.ANDROID_INDEX = { 'Huawei MediaPad T1 10 4G', '(Huawei )?[MSTX](1|2|7|8|10)\\-[A-Z0-9][0-9]{2,2}!!', 'HUAWEI GEM-703L', - '(HUAWEI )?(ALP|BLA|CRR|LON|MATE|MHA|MT1|MT2|MT7|M200|NXT|Z100)!!', - '(HW-|HUAWEI )?(DRA|FLA|TIT|TAG|NCE|TRT|SLA)!!', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', + '(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', '(HW-|HUAWEI )?(BLL|CHC|TAG|KII)!!', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'HUAWEI A168-(AL10|DL09|L09|L29)!', - '(HW-|HUAWEI )?(CRO|LUA|CUN|SCC|SCU|CAM|LDN|LYO|MYA)!!', + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', '(HW-|HUAWEI )?CAZ-(AL10|TL10|TL20)!', '(HW-|HUAWEI )?CAN-(L01|L11|L12)!', '(HW-|HUAWEI )?MLA-(L01|L03|L11|L12|L13)!', '(HW-|HUAWEI )?DIG-(AL00|L01|L03|L21|TL10)!', + '(HW-|HUAWEI )?PIC-(LX9)!', '(HW-|HUAWEI )?BAC-(AL00|L03|L21|L22|TL00)!', '(HW-|HUAWEI )?HWI-(AL00|TL00)!', + '(HW-|HUAWEI )?PAR-(AL00|LX1|LX1M|LX9|TL00)!', + '(HW-|HUAWEI )?INE-(AL00|LX1|LX1r|LX2||LX2r|TL00)!', + '(HW-|HUAWEI )?MAR-(AL00|LX1A|LX1M|LX2|LX3A|TL00)!', '(HW-|HUAWEI )?MLA-(AL00|AL10)!', '(HW-|HUAWEI )?MLA-(TL00|TL10|UL00)!', 'Huawei P7 mini', @@ -1992,20 +2220,24 @@ exports.ANDROID_INDEX = { 'Hudl HT7S3', 'Hudl 2', 'HUAWEI U8686', - 'Huawei 858' + 'Huawei 858', ], '@HW': [ - '(HW-|HUAWEI )?(DRA|FLA|TIT|TAG|NCE|TRT|SLA)!!', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', + '(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', '(HW-|HUAWEI )?(BLL|CHC|TAG|KII)!!', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', - '(HW-|HUAWEI )?(CRO|LUA|CUN|SCC|SCU|CAM|LDN|LYO|MYA)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', '(HW-|HUAWEI )?CAZ-(AL10|TL10|TL20)!', '(HW-|HUAWEI )?CAN-(L01|L11|L12)!', '(HW-|HUAWEI )?MLA-(L01|L03|L11|L12|L13)!', '(HW-|HUAWEI )?DIG-(AL00|L01|L03|L21|TL10)!', + '(HW-|HUAWEI )?PIC-(LX9)!', '(HW-|HUAWEI )?BAC-(AL00|L03|L21|L22|TL00)!', '(HW-|HUAWEI )?HWI-(AL00|TL00)!', + '(HW-|HUAWEI )?PAR-(AL00|LX1|LX1M|LX9|TL00)!', + '(HW-|HUAWEI )?INE-(AL00|LX1|LX1r|LX2||LX2r|TL00)!', + '(HW-|HUAWEI )?MAR-(AL00|LX1A|LX1M|LX2|LX3A|TL00)!', '(HW-|HUAWEI )?MLA-(AL00|AL10)!', '(HW-|HUAWEI )?MLA-(TL00|TL10|UL00)!', '(Huawei|Ascend|HW-)!!', @@ -2014,11 +2246,12 @@ exports.ANDROID_INDEX = { 'HW-01K', 'HW-03E', 'HWT31', - 'HWV32' + 'HWV32', ], '@HY': ['HY5001', 'HYUNDAI!!', 'Hydro', 'Hydro PLUS', 'HYPER X BLADE'], '@I ': ['I 7520'], '@I-': ['i-Joy i-Call', 'i-Call 300', 'i-Call 300v2', 'i-Call 504', '(i-mobile|i-style|IQ)!!'], + '@I0': ['I01WDX', 'I001DC', 'I001DE', 'I002D', 'I003D', 'I003DD', 'I004D', 'I005D', 'I005DA', 'I006D', 'I01WD'], '@I1': ['I110', 'i1'], '@I3': ['i3000'], '@I5': ['i5300', 'i5350'], @@ -2037,7 +2270,7 @@ exports.ANDROID_INDEX = { 'Ideapad S10-3T', '(Lenovo ?)?(IdeaTab ?)?[AB][0-9]{4,4}!!', '(Lenovo ?)?(IdeaTab ?)?[KSV][0-9]{4,4}!!', - 'idea ?tv!!' + 'idea ?tv!!', ], '@IF': ['ifive!!'], '@IG': ['IGGY'], @@ -2051,7 +2284,7 @@ exports.ANDROID_INDEX = { 'Im(Smart|PAD)!!', '(SKY )?IM[- ][A-Z][0-9]{3,3}!!', 'IM-100K', - 'IM-100S' + 'IM-100S', ], '@IN': [ '(Explay|X-tremer|ActiveD|Informer|Surfer)!!', @@ -2064,6 +2297,7 @@ exports.ANDROID_INDEX = { 'Incredible ?2!', 'Incredible 4G LTE', 'Inspire 4G', + '(HW-|HUAWEI )?INE-(AL00|LX1|LX1r|LX2||LX2r|TL00)!', 'INFOBAR!!', 'Infinix!!', 'IN[0-9]{3,3}!!', @@ -2078,8 +2312,10 @@ exports.ANDROID_INDEX = { 'INQ Mayfair (EU)', '(iNote|itel)!!', 'Infinity', + 'IN201[01357]!', + 'IN202[0135]!', 'Internet TV', - 'Internet TV Box' + 'Internet TV Box', ], '@IO': ['iOCEAN!!'], '@IP': ['iP977', 'IPRO i5S'], @@ -2089,6 +2325,7 @@ exports.ANDROID_INDEX = { 'IS11CA', 'ISW?[0-9]{2,2}F!!', 'ISW[0-9]{2,2}HT!!', + 'IS530', 'ISW11K', 'IS11LG', 'ISW11M', @@ -2103,22 +2340,34 @@ exports.ANDROID_INDEX = { 'ISW?1[0-9]SH!!', 'IS[0-9]{2,2}S!!', 'IS04', - 'IS11T' + 'IS11T', ], '@IT': ['(iNote|itel)!!', 'ITP-XD10W', 'ITP-XD80L', 'ITP-XD97W'], '@IU': ['IUNI U810'], - '@IV': ['IVIO!!'], + '@IV': ['IVIO!!', 'IV2201'], '@IW': ['iwoo i900'], '@IX': ['iX101T1', 'iX101T1-2G', 'iX101T1-XS'], - '@JA': ['Jaguar3', 'Jaguar7'], + '@JA': [ + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + 'Jaguar3', + 'Jaguar7', + ], '@JC': ['JC-S9220', 'JC-A[0-9]{3,3}!!', 'JC-KSP8000'], - '@JD': ['JDN-W09'], + '@JD': ['JDN-W09', 'JDN2-AL00HN', 'JDN2-W09HN'], + '@JE': ['Jelly2'], '@JI': ['(JIAYU|JY)!!', 'JIMMY'], '@JJ': ['JJ5S+'], + '@JK': ['(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!'], '@JM': [ - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + ], + '@JN': [ + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', ], '@JO': ['Jolla', 'Joy', 'JOIN'], + '@JS': [ + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + ], '@JT': ['JT SmartPC02', 'JT-Smart PC01', 'JT-H580VT', 'JT-H581VT', 'JT-B1'], '@JX': ['JXD!!'], '@JY': ['(JIAYU|JY)!!'], @@ -2156,10 +2405,11 @@ exports.ANDROID_INDEX = { 'K01H', 'K00L', 'K00F', - 'K080' + 'K080', ], '@K1': ['K11', 'K1', 'K10000 Pro'], '@K3': ['K3', 'K30-T', 'K30-W', 'K3 Note'], + '@K6': ['K6000 Pro'], '@K8': ['(CUBE ?)?(K8|U1|U2|U3|U5|U6|U8|U9)[0-9]?GT!!'], '@K9': ['K9 Smart 4G'], '@KA': [ @@ -2168,9 +2418,9 @@ exports.ANDROID_INDEX = { 'Karbonn Aura 9', '(KAZAM|Thunder|Tornado|Trooper)!!', '(KATBL|Kogan|Agora)!!', - 'Kavak Y625-U03' + 'Kavak Y625-U03', ], - '@KB': ['KB901'], + '@KB': ['KB901', 'KB200[01357]!'], '@KC': ['KC-01', 'KC-S301AE', 'KC-S701', 'KCP01K'], '@KE': ['KENEKSI!!', 'kenzo'], '@KF': [ @@ -2190,33 +2440,43 @@ exports.ANDROID_INDEX = { 'KFAUWI', 'KFGIWI', 'KFDOWI', - 'KFSUWI' + 'KFSUWI', + 'KFMAWI', + 'KFKAWI', + 'KFMUWI', ], '@KI': [ 'Kindle Fire', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', + 'KINGKONG 5 Pro', + 'KINGKONG MINI2', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', '(HW-|HUAWEI )?(BLL|CHC|TAG|KII)!!', 'KIOTO 793', 'KITE', - '(ZTE )?Kis!!' + '(ZTE )?Kis!!', ], '@KM': ['(EV|KM)-[ES][0-9]{3,3}!!'], '@KN': [ - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', ], '@KO': [ 'Konka Amber3', 'KOB-(L09|W09)!', + 'KOB2-(W09)!', '(KATBL|Kogan|Agora)!!', 'KOMU!!', 'KONKA!!', 'koobee-T550', 'Koobe!!', 'KORIDY H15', - 'KORIDY H16' + 'KORIDY H16', ], '@KP': ['KPT!!', 'KPN!!'], - '@KS': ['KSP8000'], + '@KS': [ + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + 'KSP8000', + ], + '@KT': ['KT-101-A'], '@KU': ['Kurio!!', 'KU9500', 'KUNO4', 'KUNO 4+'], '@KY': [ 'KYV33', @@ -2225,7 +2485,7 @@ exports.ANDROID_INDEX = { '(USCC-|KYOCERA-)?E[0-9]{4,4}!!', '(USCC-|KYOCERA-)?C[0-9]{4,4}!!', 'KY[FLTYV][0-9]{2,2}!!', - 'Kyivstar!!' + 'Kyivstar!!', ], '@L': ['(Hisense )?(LED[0-9]{2,2}(G|K|L|EC|XT)[0-9]{2,3})!'], '@L-': ['L-0[0-9][A-Z]!!'], @@ -2233,6 +2493,8 @@ exports.ANDROID_INDEX = { '@L9': ['l97D'], '@LA': [ 'LA-!!', + 'Land Rover Explore', + 'Land Rover Explore R', '(Lanix )?(Ilium|llium)!!', 'Lark!!', 'LAVA iris 351', @@ -2261,16 +2523,16 @@ exports.ANDROID_INDEX = { 'LA2-W1', 'LA3-W', 'LA3S', - 'LA5-W' + 'LA5-W', ], '@LC': [ '(AC|BC|LC|MT|RC|QS|VM|TS|OC)[0-9]{4,4}[A-Z]!!', 'LC-Ux30US', 'LC-[0-9]{2,2}((LE|UE)[0-9]{1,3}[A-Z])!', 'LC-((A|S|LX)[0-9]{1,3}[A-Z])!', - 'LCD-((S|V|LX|UF)[0-9]{1,3}[A-Z])!' + 'LCD-((S|V|LX|UF)[0-9]{1,3}[A-Z])!', ], - '@LD': ['(HW-|HUAWEI )?(CRO|LUA|CUN|SCC|SCU|CAM|LDN|LYO|MYA)!!', 'LDK-ICK v1.4'], + '@LD': ['(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', 'LDK-ICK v1.4'], '@LE': [ '(LE[0-9]{2,2}[BMU][0-9]{4,4}[A-Z]+)!', '(Hisense )?(LED[0-9]{2,2}(G|K|L|EC|XT)[0-9]{2,3})!', @@ -2343,11 +2605,35 @@ exports.ANDROID_INDEX = { 'Lenovo YT3-X50F', 'Lenovo YT3-X50L', 'Lenovo YT3-850F', + 'Lenovo YT-J706F', 'Lenovo YT-X703F', + 'Lenovo YT-X705F', 'Lenovo YT3-X90F', 'Lenovo YT3-X90L', '(Lenovo )?(Tab ?)?(2 ?)?[AS](7|8|10)!!', 'Lenovo TB-7304F', + 'Lenovo TB-7305F', + 'Lenovo TB-7305X', + 'Lenovo TB-8304F1', + 'Lenovo TB-8505FS', + 'Lenovo TB-8704X', + 'Lenovo TB-8705F', + 'Lenovo TB-J606F', + 'Lenovo TB-J606L', + 'Lenovo TB-J607Z', + 'Lenovo TB-J616F', + 'Lenovo TB-J706F', + 'Lenovo TB-J716F', + 'Lenovo TB-X104F', + 'Lenovo TB-X304L', + 'Lenovo TB-X306F', + 'Lenovo TB-X306X', + 'Lenovo TB-X505F', + 'Lenovo TB-X605F', + 'Lenovo TB-X605L', + 'Lenovo TB-X606F', + 'Lenovo TB-X606X', + 'Lenovo TB-X6C6F', 'Lenovo TB-X103F', 'Lenovo TB2-X30F', 'Lenovo TB2-X30L', @@ -2360,11 +2646,15 @@ exports.ANDROID_INDEX = { 'Lenovo TB3-X70F', 'Lenovo TB3-X70L', 'Lenovo TB-8504F', + 'Lenovo TB-8504X', + 'Lenovo TB-8505F', 'Lenovo TB-8703F', 'Lenovo TB-8704F', 'Lenovo TB-X304F', 'Lenovo TB-X704F', 'Lenovo TB-X704L', + 'Lenovo TB-X705F', + 'Lenovo TB-X705L', '(Lenovo ?)?(IdeaTab ?)?[KSV][0-9]{4,4}!!', 'Lenovo Pad A4', 'Lenovo', @@ -2386,9 +2676,13 @@ exports.ANDROID_INDEX = { 'Le Pan TC1020', 'LePanII', 'Le Pan S', + 'LE2101', + 'LE211[0135]!', + 'LE212[01357]!', 'LENNY', 'LENNY2', - 'LENNY3' + 'LENNY3', + 'Lenny4', ], '@LG': [ 'LGE-lap crespo', @@ -2458,12 +2752,13 @@ exports.ANDROID_INDEX = { 'LG-ANDROID MINI BOX', 'LG-P999', 'LG-E739', - 'LG-C800' + 'LG-C800', ], '@LI': [ 'Liquid!!', '(BLU|DASH|LIFE|NEO|STUDIO|VIVO)!!', 'Liberty', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', '(MEDION|(MD )?LIFETAB)!!', 'Life', 'Liberty Tab G100', @@ -2472,25 +2767,66 @@ exports.ANDROID_INDEX = { 'lithium', 'Light Tab', 'Light Tab 2', - 'Light Tab 2W' + 'Light Tab 2W', ], '@LL': [ - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', - '(Lanix )?(Ilium|llium)!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + '(Lanix )?(Ilium|llium)!!', ], '@LM': [ + 'LM-F100!', 'LM-G710!', 'LM-G715!', + 'LM-G810!', + 'LM-G820!', + 'LM-G850!', + 'LM-G900!', + 'LM-G910!', + 'LM-K200!', + 'LM-K410!', + 'LM-K420!', + 'LM-K510!', + 'LM-K520!', 'LM-Q610!', + 'LM-Q617!', + 'LM-Q630!', 'LM-Q710!', + 'LM-Q720!', + 'LM-Q725!', + 'LM-Q815!', + 'LM-Q850!', + 'LM-Q910!', + 'LM-Q925!', 'LM-V350!', + 'LM-V40[59]!', + 'LM-V450!', + 'LM-V500!', + 'LM-V510!', + 'LM-V600!', + 'LM-X120!', 'LM-X210!', + 'LM-X212!', + 'LM-X220!', + 'LM-X320!', 'LM-X410!', 'LM-X415!', + 'LM-X420!', + 'LM-X430!', 'LM-X510!', - 'LM-Y110!' + 'LM-X520!', + 'LM-X525!', + 'LM-X540!', + 'LM-X625!', + 'LM-Y110!', + ], + '@LO': [ + 'LogicPD Zoom2', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', + 'Loox', + ], + '@LR': [ + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', ], - '@LO': ['LogicPD Zoom2', '(HUAWEI )?(ALP|BLA|CRR|LON|MATE|MHA|MT1|MT2|MT7|M200|NXT|Z100)!!', 'Loox'], '@LS': [ 'LS670', 'LS740', @@ -2527,7 +2863,7 @@ exports.ANDROID_INDEX = { 'LS-5505', 'LS-5506', 'LS-5507', - 'LS-6001' + 'LS-6001', ], '@LT': ['LT[0-9]{4,4}!!', 'LTB-HS', 'LT-TLA', 'LT-NA7', 'LT-NA7F', '(SNM\\-)?LT[0-9]{2,2}[a-z]?!!'], '@LU': [ @@ -2535,7 +2871,7 @@ exports.ANDROID_INDEX = { 'LUXURY 3', 'LUXURY 4', 'LUXURY 5', - '(HW-|HUAWEI )?(CRO|LUA|CUN|SCC|SCU|CAM|LDN|LYO|MYA)!!', + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', 'Lucky Ultra Sonic U8650', 'LU2300', 'Lumia800', @@ -2547,24 +2883,75 @@ exports.ANDROID_INDEX = { 'Luna TAB374', 'Luna TAB474', 'Luna TAB10-150', - 'Luno' + 'Luno', + ], + '@LY': [ + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', + 'LYF LS-4006', + 'LYF LS-5009', ], - '@LY': ['(HW-|HUAWEI )?(CRO|LUA|CUN|SCC|SCU|CAM|LDN|LYO|MYA)!!', 'LYF LS-4006', 'LYF LS-5009'], '@M': ['(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!'], '@M ': ['M POP 5020A', 'M POP'], '@M-': ['M-270', 'M-PAD N8'], '@M0': ['M01', 'M02', 'M01T', 'M009F', 'M030', 'M031', 'M032', 'M040', 'M045'], '@M1': [ 'M19', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'M1050S', 'M1', 'm1 metal', 'm1 note', 'M1001', - 'M12' + 'M12', + 'M1908C3JGG', + ], + '@M2': [ + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', + 'M210', + 'm2 note', + 'm2', + 'M2mini', + 'M2002J9G', + 'M2003J15SC', + 'M2004J19C', + 'M2004J7BC', + 'M2006C3LG', + 'M2006C3LVG', + 'M2006C3MG', + 'M2006C3MII', + 'M2006C3MNG', + 'M2007J17G', + 'M2007J1SC', + 'M2007J20CG', + 'M2007J22G', + 'M2007J3SG', + 'M2007J3SY', + 'M2010J19CG', + 'M2010J19SG', + 'M2010J19SY', + 'M2011K2C', + 'M2011K2G', + 'M2012K11AG', + 'M2012K11AC', + 'M2012K10C', + 'M2012K11G', + 'M2101K6G', + 'M2101K6P', + 'M2101K7AG', + 'M2101K7BG', + 'M2101K7BNY', + 'M2101K9AG', + 'M2101K9C', + 'M2101K9G', + 'M2102J20SG', + 'M2102J20SI', + 'M2102K1AC', + 'M2102K1C', + 'M2102K1G', + 'M2103K19G', + 'M2103K19PG', ], - '@M2': ['(HUAWEI )?(ALP|BLA|CRR|LON|MATE|MHA|MT1|MT2|MT7|M200|NXT|Z100)!!', 'M210', 'm2 note', 'm2', 'M2mini'], '@M3': [ 'M3 Enjoy TV Box', 'M3-2200', @@ -2579,9 +2966,9 @@ exports.ANDROID_INDEX = { 'M351', 'M353', 'M355', - 'M356' + 'M356', ], - '@M4': ['M4301', 'M470BSA', 'M470BSE', 'M4', 'M4(TEL)? SS[0-9]{3,4}!!'], + '@M4': ['M4301', 'M470BSA', 'M470BSE', 'M4', 'M4(TEL)? SS[0-9]{3,4}!!', 'M40 EEA', 'M40(N9H3)'], '@M5': ['M555', 'M532', 'M5 lite', 'M571C', 'M5 Note', 'M578C', 'M5'], '@M6': ['M623C', 'M650', 'M660', 'M6 Note', 'M6'], '@M7': ['M701C', 'M702', 'M758A', 'M7CDTU', 'M70', 'M785', 'M726HC', 'M70014'], @@ -2593,7 +2980,9 @@ exports.ANDROID_INDEX = { 'manta', '(bq|Aquaris|Edison|Maxwell)!!', '(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!', - '(HUAWEI )?(ALP|BLA|CRR|LON|MATE|MHA|MT1|MT2|MT7|M200|NXT|Z100)!!', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', + '(HW-|HUAWEI )?MAR-(AL00|LX1A|LX1M|LX2|LX3A|TL00)!', 'MAX FIND 5.0', 'Malata!!', 'Masstel!!', @@ -2603,8 +2992,9 @@ exports.ANDROID_INDEX = { 'MagicBox', '(Xiaomi )?(MI )?MAX$!', '(Xiaomi )?(MI )?MAX 2$!', + '(Xiaomi )?(MI )?MAX 3$!', 'markf', - 'markw' + 'markw', ], '@MB': [ 'MBX DVBT reference board (c03ref)', @@ -2612,9 +3002,16 @@ exports.ANDROID_INDEX = { 'MBX reference board!', '(NMP|MBR|XDK|XDS|XMP)\\-!!', 'MBS BEAN 454', - 'MB[0-9]{3,3}!!' + 'MB[0-9]{3,3}!!', + ], + '@MC': [ + 'MC002', + '(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!', + 'MC401 GWL', + 'MC32N0', + 'MC40N0', + 'MC67NA', ], - '@MC': ['MC002', '(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!', 'MC32N0', 'MC40N0', 'MC67NA'], '@MD': ['(MEDION|(MD )?LIFETAB)!!', 'MD-[0-9]{4,4}!!'], '@ME': [ 'ME102A', @@ -2633,6 +3030,7 @@ exports.ANDROID_INDEX = { 'ME581CL', 'MeMO Pad 7', 'MediaPad!!', + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', 'Mediacom 810C', '(MEDION|(MD )?LIFETAB)!!', 'MEEG!!', @@ -2653,15 +3051,15 @@ exports.ANDROID_INDEX = { 'MegaFon V9', 'MegaFon V9+', 'MegaFon SIM+', - 'MegaFon Login 3' + 'MegaFon Login 3', ], '@MF': [ 'mfld (dv10|dv20|gi|lw00|pr2|pr3)!', '(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!', 'MFC[0-9]!!', - 'MF97B' + 'MF97B', ], - '@MH': ['MH350', '(HUAWEI )?(ALP|BLA|CRR|LON|MATE|MHA|MT1|MT2|MT7|M200|NXT|Z100)!!'], + '@MH': ['MH350', '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!'], '@MI': [ 'MID1040C', 'MID[0-9]{4,4}!!', @@ -2699,24 +3097,49 @@ exports.ANDROID_INDEX = { '(CSL[- ])?(Spice[- ]?)?Mi(-| )?[0-9]{3,3}!!', 'miTab!!', '(Xiaomi )?(Xiaomi|Xiaomi M|MI)!!', + 'MI 8', + 'MI 8 SE', + 'MI 8 UD', + 'MI 8 Lite', + 'MI 8 Pro', + 'MI 9', + 'Mi 9 Lite', + 'Mi9 Pro 5G', + 'Mi 9 SE', + 'Mi 9T', + 'Mi 9T Pro', + 'Mi 10', + 'Mi 10 Pro', + 'Mi 10 Lite 5G', + 'Mi 10T Lite', + 'Mi 11', + 'Mi 11 Lite 5G', + 'Mi Note 10', + 'Mi Note 10 Lite', + 'Mi Note 10 Pro', '(Xiaomi|Xiaomi Mi|MI) Note!!', '(Xiaomi )?(MI )?MAX$!', '(Xiaomi )?(MI )?MAX 2$!', + '(Xiaomi )?(MI )?MAX 3$!', '(Xiaomi )?(MI )?MIX$!', '(Xiaomi )?(MI )?MIX 2$!', '(Xiaomi )?(MI )?MIX 2S$!', + 'MIX 3', + 'Mi MIX 3', + 'Mi MIX 3 5G', + 'MI PLAY', 'mido', '(Xiaomi|Xiaomi Mi|MI) Pad!!', '(Xiaomi|Xiaomi Mi|MI)Box!!', '(Xiaomi|Xiaomi Mi|MI)TV!!', - '(ZTE )?(Grand|Mimosa)!!' + '(ZTE )?(Grand|Mimosa)!!', ], '@MK': ['MK808', 'MK808B', 'MK809', 'MK809B', 'MK809IV', 'MK818B', 'MK908', 'MK908II', 'MK16(a|i|$)!'], '@ML': [ '(HW-|HUAWEI )?MLA-(L01|L03|L11|L12|L13)!', '(HW-|HUAWEI )?MLA-(AL00|AL10)!', '(HW-|HUAWEI )?MLA-(TL00|TL10|UL00)!', - 'MLLED!!' + 'MLLED!!', ], '@MM': ['MM-3201'], '@MO': [ @@ -2736,6 +3159,21 @@ exports.ANDROID_INDEX = { 'MOGU!!', 'moii!!', 'MORAL N01', + 'motorola one', + 'motorola one 5G ace', + 'motorola one action', + 'motorola one fusion+', + 'motorola one hyper', + 'motorola one macro', + 'motorola one power', + 'motorola one vision', + 'motorola one zoom', + 'motorola edge', + 'motorola edge plus', + 'motorola edge 20', + 'motorola edge 20 lite', + 'motorola edge 20 pro', + 'motorola edge 30 pro', 'Moto Droid', 'Motorola Pro XT610', 'Motorola Milestone MAXX', @@ -2746,26 +3184,87 @@ exports.ANDROID_INDEX = { '(Moto)?E2$!', '(Moto)?E2\\(4G-LTE\\)$!', 'Motorola MotoE2!', + 'Moto E4', 'Moto E (4)', 'Moto E (4) Plus', + 'moto e5', 'moto e5 cruise', + 'moto e5 play', + 'moto e5 plus', + 'moto e(6i)', + 'moto e6s', + 'moto e6 play', + 'moto e(6) plus', + 'moto e(7)', + 'moto e(7) plus', + 'moto e(7) power', + 'moto e(7i) power', + 'moto e20', + 'moto e30', + 'moto e40', '(Moto)?G3$!', '(Moto)?G3-TE$!', + 'Moto G 2015', + 'Moto G (2015)', + 'Moto G (2014', 'MOTOROLA MOTOG', 'Moto G Play', + 'moto g power', + 'Moto G Turbo', + 'moto g 5G', + 'moto g 5G plus', + 'moto g pro', 'Moto G4', + 'Moto G (4', 'Moto G (4)', 'Moto G4 Plus', + 'Moto G 5', + 'Moto G (5', 'Moto G (5)', 'Moto G (5) Plus', + 'Moto G (5S', + 'Moto G (5S)', 'Moto G (5S) Plus', + 'Moto G (5S) Plus (XT1805)', + 'moto g(6', 'moto g(6)', + 'moto g(6) (XT1925DL)', + 'moto g(6) forge', + 'moto g(6) play', 'moto g(6) plus', + 'moto g(7', + 'moto g(7)', + 'moto g(7) optimo (XT1952DL)', + 'moto g(7) play', + 'moto g(7) plus', + 'moto g(7) power', + 'moto g(7) supra', + 'moto g(8', + 'moto g(8)', + 'moto g(8) plus', + 'moto g(8) power', + 'moto g(8) power lite', + 'moto g(9) play', + 'moto g(9) plus', + 'moto g(9) power', + 'moto g(10)', + 'moto g(20)', + 'moto g(30)', + 'moto g31(w)', + 'moto g(50)', + 'moto g51 5G', + 'moto g(60)', + 'moto g(60)s', + 'moto g(100)', + 'moto g200 5G', 'Moto Z (2)', 'Moto Z2 Play', + 'Moto Z3 Play', 'Moto X Pro', 'moto x4', + 'moto z4', 'Moto Backflip', + 'motorola razr 5G', 'MOTOROLA XOOM MZ606', 'MOTOROLA RAZR', 'MOTWX435KT', @@ -2780,7 +3279,7 @@ exports.ANDROID_INDEX = { 'Movistar Link', 'Movistar Motion', 'Movistar Prime', - 'MOVE' + 'MOVE', ], '@MP': [ 'MP[0-9]{3,3}C!!', @@ -2801,8 +3300,9 @@ exports.ANDROID_INDEX = { 'MPQC704 HD', 'MPQC784 IPS', 'MPQC804HD', - 'MPQC1010' + 'MPQC1010', ], + '@MR': ['(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!'], '@MS': [ 'MStar Amber3', 'MSM', @@ -2823,7 +3323,7 @@ exports.ANDROID_INDEX = { 'MS840 4G', 'MS3B', 'MS4A', - 'MS3A' + 'MS3A', ], '@MT': [ 'mt5396!', @@ -2857,7 +3357,7 @@ exports.ANDROID_INDEX = { 'mt8580!', 'mt8658!', '(AC|BC|LC|MT|RC|QS|VM|TS|OC)[0-9]{4,4}[A-Z]!!', - '(HUAWEI )?(ALP|BLA|CRR|LON|MATE|MHA|MT1|MT2|MT7|M200|NXT|Z100)!!', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', 'MTC Android', 'MT791', 'MT70[0-9]{2,2}!!', @@ -2867,7 +3367,7 @@ exports.ANDROID_INDEX = { 'MTS-SP101', 'MT[0-9]{2,2}[a-z]!!', 'MT7A', - 'MTC!!' + 'MTC!!', ], '@MU': ['muPAD 7M', 'Multilaser Diamond', 'Multilaser Orion', 'Multilaser Oxy', 'Multilaser Titanium'], '@MW': [ @@ -2890,11 +3390,11 @@ exports.ANDROID_INDEX = { 'MW0922', 'MW0931', '(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!', - 'MW1031' + 'MW1031', ], '@MX': ['MX Enjoy TV BOX', 'MX2', 'MX4', 'MX4 Pro', 'MX5', 'MX6'], '@MY': [ - '(HW-|HUAWEI )?(CRO|LUA|CUN|SCC|SCU|CAM|LDN|LYO|MYA)!!', + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', 'MyPhone A818g Duo', 'MyPhone A818 Slim Duo', 'MyPhone A848 Duo', @@ -2952,7 +3452,7 @@ exports.ANDROID_INDEX = { 'MY ?SAGA!!', 'My ?Touch ?4G$!', 'myTouch 4G Slide', - 'myTouch Slide 4G' + 'myTouch Slide 4G', ], '@MZ': [ 'MZ-m2 note', @@ -2963,7 +3463,7 @@ exports.ANDROID_INDEX = { 'MZ-MX4', 'MZ-MX4 Pro', 'MZ-MX5', - 'MZ[0-9]{3,3}!!' + 'MZ[0-9]{3,3}!!', ], '@N-': ['N-0[0-9][A-Z]!!'], '@N1': ['N1', 'N12', 'N12R', 'N101 DUAL CORE!'], @@ -2982,7 +3482,7 @@ exports.ANDROID_INDEX = { 'N70HD', 'N70 DUAL CORE', 'N70DC-S', - 'N70DC-T' + 'N70DC-T', ], '@N8': ['N8730-411', 'N8730-41101', 'N8730-41102', 'N80($| from moage.com)!', 'N80DC', 'N80IPS', 'N861'], '@N9': ['N930', 'N9600', 'N90', 'N90 DUAL CORE!', 'N90FHDRK', 'N918St'], @@ -2992,10 +3492,10 @@ exports.ANDROID_INDEX = { 'NaviPad TM-7855 3G', 'NaviPad TM-7858 3G (revision 1)', 'natrium', - 'NATCOM N8302' + 'NATCOM N8302', ], '@NB': ['NB036', 'NBX-T7013N', 'NBX-T7023N'], - '@NC': ['(HW-|HUAWEI )?(DRA|FLA|TIT|TAG|NCE|TRT|SLA)!!'], + '@NC': ['(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!'], '@NE': [ '(HTC )?Nexus ?One!', '(Google )?Nexus S!', @@ -3030,7 +3530,7 @@ exports.ANDROID_INDEX = { '(BLU|DASH|LIFE|NEO|STUDIO|VIVO)!!', 'NexusHD2', 'Nexus HD2', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', 'Neon7', 'Neon9', '(NetTab|NT-)!!', @@ -3080,9 +3580,10 @@ exports.ANDROID_INDEX = { 'Next9P', 'Next10P12', 'NEXT', + 'NE2213', 'New Andromax-i', 'Neo V', - 'NEBULA6.9' + 'NEBULA6.9', ], '@NG': [ 'NGM Black Hole', @@ -3106,12 +3607,12 @@ exports.ANDROID_INDEX = { 'NGM Miracle', 'NGM P0laris', 'NGM Wilco', - 'NGM WINN' + 'NGM WINN', ], '@NI': ['NITROGEN6X', 'NID 7010', 'Nibiru H1', 'Nibiru H1c', 'nine i7400', 'nikeh', 'nikel'], '@NM': [ - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', - '(NMP|MBR|XDK|XDS|XMP)\\-!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + '(NMP|MBR|XDK|XDS|XMP)\\-!!', ], '@NO': [ 'Novo7', @@ -3165,6 +3666,7 @@ exports.ANDROID_INDEX = { 'Nook HD', 'Nook HD+', 'Novapad!!', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', 'Nova!!', 'Now', 'NO1 S6', @@ -3203,16 +3705,23 @@ exports.ANDROID_INDEX = { 'Notion Ink ADAM', 'Note III', 'Nozomi', + 'Note 7P', + 'Note 8P', + 'Note 9P', + 'Note 11P', 'Noble TAB07-485', - '(QMobile|QTab|Q-Smart|Noir)!!' + '(QMobile|QTab|Q-Smart|Noir)!!', ], '@NP': ['npm702-NOVO7PALADIN'], '@NS': ['NS115', 'NS2816', 'NS-14T002', 'NS-13T001', 'NSZ-G[A-Z][0-9]!!'], - '@NT': ['(NetTab|NT-)!!'], + '@NT': [ + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + '(NetTab|NT-)!!', + ], '@NU': ['Numy!!', 'nuvi!!', 'NUU A3', 'NuclearSX-SP5', 'nubia Z5', 'Nubia Z9 Max', 'Nura 2'], '@NW': ['NWZ?-Z1000Series!'], '@NX': [ - '(HUAWEI )?(ALP|BLA|CRR|LON|MATE|MHA|MT1|MT2|MT7|M200|NXT|Z100)!!', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', '(Nexian )?NX-A[0-9]{3,3}!!', 'NXA8QC116', 'NX16A8116K', @@ -3233,11 +3742,19 @@ exports.ANDROID_INDEX = { 'NX700QC', 'NX785QC8G', 'NXM900MC', - '(ZXY-)?NX[0-9]{2,3}!!' + '(ZXY-)?NX[0-9]{2,3}!!', ], '@NY': ['NYX!!'], '@O2': ['O2 Joggler'], - '@OB': ['OB-OPPO A31c', 'OB-OPPO 3005', 'Obreey SURFpad'], + '@OB': [ + 'OB-OPPO A31c', + 'OB-OPPO R8205', + 'OB-OPPO R7005', + 'OB-OPPO R7c', + 'OB-OPPO 1105', + 'OB-OPPO 3005', + 'Obreey SURFpad', + ], '@OC': ['(AC|BC|LC|MT|RC|QS|VM|TS|OC)[0-9]{4,4}[A-Z]!!'], '@OD': [ 'odroida', @@ -3262,7 +3779,7 @@ exports.ANDROID_INDEX = { 'ODYS Space TKI BRR233v9', 'ODYS-Xpress', 'ODYS Xtreme', - 'OD103' + 'OD103', ], '@OL': ['Olivetti Olipad 100'], '@OM': [ @@ -3276,7 +3793,7 @@ exports.ANDROID_INDEX = { 'OMS1 6', 'omega', 'Omega 5.0', - 'Omega 5.5' + 'Omega 5.5', ], '@ON': [ 'One 7 M77GHG', @@ -3403,6 +3920,7 @@ exports.ANDROID_INDEX = { 'One V', 'One', 'One M7', + 'One Max', 'one m8', 'One A0001', 'OnePlus One', @@ -3420,17 +3938,22 @@ exports.ANDROID_INDEX = { 'ONEPLUS A5000', 'ONEPLUS A5010', 'ONEPLUS A6000', + 'ONEPLUS A6003', + 'ONEPLUS A6010', + 'ONEPLUS A6013', + 'OnePlus 7T Pro', 'ONE E1000', 'ONE E1001', 'ONE E1003', 'ONE E1005', + 'oneplus Nord 2 5G', 'ONDA MID', 'ONDA A9 Core4', 'ONDA VI10', 'Onda V812', 'ONDA v975m', 'ONDA V989', - 'ONDA V989 Core8' + 'ONDA V989 Core8', ], '@OP': [ 'OPPOLenovo A60', @@ -3438,6 +3961,8 @@ exports.ANDROID_INDEX = { 'Opus One', 'OPS-DRD Digital Signage Player', 'OP110', + 'OPPO PBAM00', + 'OPPO PBFT00', 'OPPO A30', 'OPPO A31', 'OPPO A31t', @@ -3446,19 +3971,28 @@ exports.ANDROID_INDEX = { 'OPPO A37m', 'OPPO A53', 'OPPO A53m', + 'OPPO A53t', 'OPPO A57', 'OPPO A57t', 'OPPO A59m', 'OPPO A59s', 'OPPO A59st', + 'OPPO A73', + 'OPPO A73t', 'OPPO A77', 'OPPO A77t', + 'OPPO A79', + 'OPPO A79kt', + 'OPPO A79t', + 'OPPO A83', + 'OPPO A83t', 'OPPO A800', 'OPPOX905', 'OPPOX907', 'OPPO Find5', 'OPPOX909', 'OPPO X909', + 'OPPO X9007', 'OPPOX9015', 'OPPOX9017', 'OPPO find7', @@ -3483,18 +4017,23 @@ exports.ANDROID_INDEX = { 'OPPOU701', 'OPPOU7011', 'OPPOU7015', + 'OPPO PBCM30', + 'OPPO PBCT10', 'OPPO N1', 'OPPO R7', + 'OPPO R7Plus', 'OPPO R7s', 'OPPO R7sm', 'OPPO R7st', 'OPPO R7t', + 'OPPO R9k', 'OPPO R9m', 'OPPO R9tm', 'OPPO R9km', 'OPPO R9s', 'OPPO R9sk', 'OPPO R9st', + 'OPPO R9skt', 'OPPO R9t', 'OPPO R11', 'OPPO R11t', @@ -3503,10 +4042,19 @@ exports.ANDROID_INDEX = { 'OPPO R9 Plusm A', 'OPPO R9 Plustm A', 'OPPO R9s Plus', + 'OPPO R9s Plust', 'OPPO R11 Plus', 'OPPO R11 Plusk', 'OPPO R11 Pluskt', + 'OPPO R11s', 'OPPO R11s Plus', + 'OPPO R11st', + 'OPPO R11s Plust', + 'OPPO PAAM00', + 'OPPO PACM00', + 'OPPO PACT00', + 'OPPO PBDM00', + 'OPPO PAFM00', 'OPSSON!!', 'OP0118-12', 'Optimus Barcelona', @@ -3515,7 +4063,7 @@ exports.ANDROID_INDEX = { 'Optimus Monte Carlo', 'Optimus San Francisco', 'Optimus San Remo', - 'Optimus Zali' + 'Optimus Zali', ], '@OR': [ 'Orange HUAWEI GRA-L09', @@ -3547,11 +4095,14 @@ exports.ANDROID_INDEX = { 'Orange Tado', 'Orange Yomi', 'Orange Yumo', - 'Orange Zali' + 'Orange Zali', ], '@OT': ['OT 918', 'OT 919', 'OT 919 HelloKitty', 'OT-990C', 'OT 990M', 'OT-995'], '@OU': ['OUYA( Console)?!'], - '@OV': ['(OV-|Overmax|Vertis)!!'], + '@OV': ['(OV-|Overmax|Vertis)!!', 'OV10274G'], + '@OX': [ + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + ], '@OY': [ 'Oysters Pacific 800', 'Oysters T3 3G', @@ -3561,7 +4112,7 @@ exports.ANDROID_INDEX = { 'Oysters T37', 'Oysters T72H 3G', 'Oysters T72HRi 3G', - 'OYSTERS T80 3G' + 'OYSTERS T80 3G', ], '@OZ': ['OZZY'], '@P': ['(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!'], @@ -3570,6 +4121,7 @@ exports.ANDROID_INDEX = { 'P001', 'P001 2', 'P002', + 'P00A', 'P00C', 'P00I', 'P01M', @@ -3583,26 +4135,32 @@ exports.ANDROID_INDEX = { 'P021', 'P022', 'P023', - 'P024' + 'P024', + 'P027', + 'P028', ], '@P1': [ 'P10AN', 'P105', 'P1m', 'P1ma40', + 'P1035X', 'P1050X', + 'P1060X', + 'P1061X', 'P10HD??(E6NA)', 'P11HD', 'P11HD四核(G9X6)', 'P11HD??(G9X6)', 'P11HD四核(G9X7)', 'P19HD(E1K3)', - 'P19HD(E1K5)' + 'P19HD(E1K5)', ], '@P2': [ 'P2A700', 'P2Lite', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!' + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', + 'P20HD EEA', ], '@P3': ['P330X', 'P350X', 'P360X', 'P300(Funbook)'], '@P4': ['P4i', 'P4', 'P4D Sirius'], @@ -3613,10 +4171,10 @@ exports.ANDROID_INDEX = { 'P6 Pro', 'P6 Qmax', 'P6 Quad', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!' + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', ], '@P7': [ - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'P700i', 'P701', 'P7', @@ -3642,7 +4200,7 @@ exports.ANDROID_INDEX = { 'P78HD??(C4A5)', 'P79HD(A3V9)', 'P79HD 3G(C4K5)', - 'p7901a' + 'p7901a', ], '@P8': [ 'P8 Energy', @@ -3677,9 +4235,10 @@ exports.ANDROID_INDEX = { 'P89mini(E2W6)', 'P89 mini(E2W6)', 'P89s(F8A5)', - 'P89s mini(F8A2)' + 'P89s mini(F8A2)', ], '@P9': [ + 'P9 Energy', 'P940', 'P990', 'P90(H3U6)', @@ -3696,7 +4255,7 @@ exports.ANDROID_INDEX = { 'P98Air(C6V8)', 'P98HD(A2Q6)', 'P98HD+M6', - 'P98T(K3C4)' + 'P98T(K3C4)', ], '@PA': [ 'Panda(Board)?!', @@ -3717,6 +4276,15 @@ exports.ANDROID_INDEX = { 'Patio100', 'Patio100 3G', 'PAD[0-9]{3,3}!!', + '(HW-|HUAWEI )?PAR-(AL00|LX1|LX1M|LX9|TL00)!', + 'PADM00', + 'PADT00', + 'PAAM00', + 'PACM00', + 'PACT00', + 'PAAT00', + 'PAFM00', + 'PAHM00', 'Panasonic!!', 'pandigital9hr', 'pandigital9hr2', @@ -3727,27 +4295,32 @@ exports.ANDROID_INDEX = { 'PAT712W', 'PATG7506HD', 'PAP[0-9]{4,4}!!', - 'PAD1001' + 'PAD1001', ], - '@PB': ['PB99400'], + '@PB': ['PB99400', 'PBAM00', 'PBAT00', 'PBFT00', 'PBBM00', 'PBCM30', 'PBEM00', 'PBET00', 'PBDM00'], '@PC': [ 'PC1038', '(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!', '(HTC|PCD|USCC)?ADR[0-9]{4,4}!!', 'PC36100!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', 'PC-TE307N1W', 'PC-TE508BAW', 'PC-TS508FAM', 'PC-TS508T1W', - 'PC-TS708T1W' + 'PC-TS708T1W', + 'PCGM00', + 'PCAM00', + 'PCAM10', + 'PCCM00', ], '@PD': ['PD10-DYD', 'PD6D1J'], '@PE': [ - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', 'PEDI', 'Penta!!', 'Pentagram!!', - 'pepper' + 'pepper', ], '@PF': ['(DNS )?(Airtab )?(E|ES|M|MA|MC|MF|MW|P|PC|PF)[0-9]{2,4}!!'], '@PG': ['PG06100', 'PG41200', 'PG86100!', 'PGM 398', 'PGPS7795'], @@ -3815,7 +4388,7 @@ exports.ANDROID_INDEX = { 'Philips PI5000', 'PHABLET 4S', 'Phablet 4.5Q', - 'Phablet 5,3 Q' + 'Phablet 5,3 Q', ], '@PI': [ 'Pixel C', @@ -3828,12 +4401,21 @@ exports.ANDROID_INDEX = { 'Pixel 3 XL', 'Pixel 3a', 'Pixel 3a XL', + 'Pixel 4', + 'Pixel 4a', + 'Pixel 4a (5G)', + 'Pixel 4 XL', + 'Pixel 5', + 'Pixel 5a', + 'Pixel 6', + 'Pixel 6 Pro', '(Axioo[\\- ])?PICO!!', 'picoBit-L', '(GIO-)?(GiONEE[- ])?Pioneer P1!', '(GIO-)?(GiONEE[- ])?Pioneer P2!', '(GIO-)?(GiONEE[- ])?Pioneer P3!', '(GIO-)?(GiONEE[- ])?Pioneer P4!', + '(HW-|HUAWEI )?PIC-(LX9)!', 'PixelV1', 'Pixel V2', 'Pixel V2+', @@ -3855,13 +4437,13 @@ exports.ANDROID_INDEX = { 'PI7000', 'PI7100 93', '(PNR-)?Pioneer!!', - 'PIRANHA!!' + 'PIRANHA!!', ], '@PJ': ['PJ83100', 'PJ35100'], '@PL': [ 'PLE-701L', 'PLE-703L', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', 'Planet II v2', 'PLANET', 'Playboy PB-S3', @@ -3871,7 +4453,7 @@ exports.ANDROID_INDEX = { 'PlayBook', 'Plus E', 'Play 6X-1000', - 'Play8X-1100' + 'Play8X-1100', ], '@PM': ['PM36100', 'PM63100', 'PMID!!', 'PMP[0-9]{4,4}!!', 'PMT[0-9]{4,4}!!'], '@PN': [ @@ -3881,10 +4463,11 @@ exports.ANDROID_INDEX = { 'PNDPP48GP', 'PNDPP4MT9G3', 'PNDPP410GP', - '(PNR-)?Pioneer!!' + '(PNR-)?Pioneer!!', ], '@PO': [ '(Highscreen|Alpha|Bay|Boost|Cosmo|Explosion|Power|Prime|Zera)!!', + '(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!', 'PocketBook A7', 'PocketBook A10', 'PocketBook A10 3G', @@ -3966,13 +4549,24 @@ exports.ANDROID_INDEX = { 'Positivo S480', 'Positivo S550', 'Positivo X400', - 'Positivo X800' + 'Positivo X800', + 'Power Armor 13', + 'POCOPHONE F1', + 'POCO F1', + 'POCO F2 Pro', + 'POCO X2', + 'POCO X3 NFC', + 'POCO X3 Pro', + ], + '@PP': [ + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', + 'PP4MT-7', + 'PP4MT-9', ], - '@PP': ['PP4MT-7', 'PP4MT-9'], '@PR': [ 'Project Tango Tablet Development Kit', '(Highscreen|Alpha|Bay|Boost|Cosmo|Explosion|Power|Prime|Zera)!!', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'Pro 10 dual core', 'Prada 3.0', 'PRO 5', @@ -4125,7 +4719,7 @@ exports.ANDROID_INDEX = { 'Proton Lite', 'prada', 'Prism', - 'Prism II' + 'Prism II', ], '@PS': ['PSPT350', 'PSP[0-9]{4,4}!!', 'PS47'], '@PT': ['PTL21'], @@ -4139,7 +4733,7 @@ exports.ANDROID_INDEX = { 'PULP', 'PULP 4G', 'Pulse', - 'Pulse Mini' + 'Pulse Mini', ], '@PY': ['Pyramid'], '@Q-': ['Q-Wave!!', '(QMobile|QTab|Q-Smart|Noir)!!'], @@ -4166,7 +4760,7 @@ exports.ANDROID_INDEX = { 'QUMO Vega ([0-9]+i?)!', 'QuickFone Mini', 'QuickFone-Mini', - 'QuickFone ([NXZ][0-9]\\+?)!' + 'QuickFone ([NXZ][0-9]\\+?)!', ], '@QV': ['QV151E'], '@QW': ['QW ?TB-[0-9]{4,4}!!'], @@ -4174,7 +4768,7 @@ exports.ANDROID_INDEX = { '@R2': ['R2001', 'R2010', 'R2017'], '@R3': ['R30GT'], '@R6': ['R6006', 'R6007'], - '@R7': ['R7005', 'R7007', 'R7f', 'R7i', 'R7kf', 'R7sf', 'R7Plus', 'R7plusf', 'R7Plusm'], + '@R7': ['R7005', 'R7007', 'R7f', 'R7i', 'R7kf', 'R7sf', 'R7t', 'R7Plus', 'R7plusf', 'R7Plusm'], '@R8': [ 'R801', 'R801T', @@ -4223,7 +4817,7 @@ exports.ANDROID_INDEX = { 'R8205', 'R8206', 'R8207', - 'R800(a|at|i|iv|x)!' + 'R800(a|at|i|iv|x)!', ], '@RA': [ 'Rage', @@ -4265,7 +4859,7 @@ exports.ANDROID_INDEX = { 'RAINBOW', 'RAINBOW 4G', 'RAINBOW JAM', - '(ZTE )?Racer!!' + '(ZTE )?Racer!!', ], '@RB': ['RBK-490'], '@RC': [ @@ -4288,7 +4882,7 @@ exports.ANDROID_INDEX = { 'RCT6213W87DK', 'RCT6673W23M', 'RCT6673W43M', - 'RCT6S03W12' + 'RCT6S03W12', ], '@RE': [ 'redhookbay', @@ -4300,8 +4894,9 @@ exports.ANDROID_INDEX = { 'reeder A8i Quad 2', '(Xiaomi )?(Redmi|RedRice|HM)!!', '(Xiaomi )?(Redmi|HM)[ \\-]?Note!!', - 'REVVLPLUS C3701A' + 'REVVLPLUS C3701A', ], + '@RG': ['RG650', 'RG655', 'RG725', 'RG850'], '@RH': ['(?:RIVO )?RHYTHM RX ?([0-9]+)!'], '@RI': [ 'Rikomagic MK802', @@ -4309,12 +4904,12 @@ exports.ANDROID_INDEX = { 'Rikomagic MK802III', 'Rikomagic MK802IIIS', '(Gsmart|Gigabyte|Rio)!!', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'Rise', '(Ritmix )?RM[DP]-?[0-9]{3,3}!!', 'RIDGE', 'RIDGE 4G', - 'RIDGE FAB 4G' + 'RIDGE FAB 4G', ], '@RK': [ 'rksdk', @@ -4346,11 +4941,44 @@ exports.ANDROID_INDEX = { 'RKM MK802IIIS', 'RKM MK802IV', 'RKM MK902', - 'RKM MK902II' + 'RKM MK902II', + ], + '@RM': [ + 'RM02', + 'RM-980', + 'RM-1061', + '(Ritmix )?RM[DP]-?[0-9]{3,3}!!', + 'RMD-[0-9]{2,3}G!!', + 'RMX1911', + 'RMX1931', + 'RMX1971', + 'RMX1993', + 'RMX2001', + 'RMX2002', + 'RMX2020', + 'RMX2030', + 'RMX2063', + 'RMX2075', + 'RMX2086', + 'RMX2111', + 'RMX2144', + 'RMX2155', + 'RMX2170', + 'RMX2185', + 'RMX2202', + 'RMX3081', + 'RMX3085', + 'RMX3201', + 'RMX3241', + 'RMX3242', + 'RMX3263', + 'RMX3301', + 'RMX3311', + 'RMX3363', + 'RMX3370', ], - '@RM': ['RM02', 'RM-980', 'RM-1061', '(Ritmix )?RM[DP]-?[0-9]{3,3}!!', 'RMD-[0-9]{2,3}G!!'], '@RN': [ - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!' + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', ], '@RO': ['Rock-(AL00|CL00|L01|L03)!', 'roiX', 'RoverPad 3W T71D', 'ROAR', 'Roar A50', 'Roar V25', 'rolex'], '@RP': ['RP-UDM01A'], @@ -4361,12 +4989,13 @@ exports.ANDROID_INDEX = { '@S0': ['S01'], '@S1': ['(GIO-)?(GiONEE[- ])?S101!', '(Lenovo )?S1[- ]37AH0!', 'S1005KTAB'], '@S2': ['S222', '(Lenovo )?S2[- ]38A(H0|T0)!', 'S2'], - '@S3': ['s3c6410', 'S30', 'S308', 'S3'], - '@S4': ['S40', 'S4503Q', 'S4505M', 'S4'], - '@S5': ['S5PV210', 'S5-F', 'S50', 'S50c', 'S5', 'S5 Mini!', 'S51SE'], - '@S6': ['S658t', 'S6 Edge+!'], - '@S7': ['S710d', 'S710D', 'S720i', 'S7', 's732'], - '@S8': ['S8600', 'S88 DISCOVERY', 'S850', 'S880'], + '@S3': ['s3c6410', 'S30', 'S31', 'S308', 'S3'], + '@S4': ['S40', 'S41', 'S42', 'S4503Q', 'S4505M', 'S4'], + '@S5': ['S5PV210', 'S5-F', 'S50', 'S50c', 'S52', 'S58Pro', 'S5 Pro', 'S5', 'S5 Mini!', 'S51SE'], + '@S6': ['S61', 'S62 Pro', 'S68Pro', 'S658t', 'S6 Edge+!'], + '@S7': ['S70Lite', 'S710d', 'S710D', 'S720i', 'S7', 's732'], + '@S8': ['S88Pro', 'S8600', 'S88 DISCOVERY', 'S850', 'S880'], + '@S9': ['S96Pro'], '@SA': [ 'sama5d3', 'SABRESD-MX6DQ', @@ -4389,13 +5018,14 @@ exports.ANDROID_INDEX = { 'San Remo Mini', 'San Francisco', 'San Francisco for', - 'San Francisco II' + 'San Francisco II', ], '@SB': ['SBM[0-9]0[0-9]SH!!'], '@SC': [ - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', - '(HW-|HUAWEI )?(CRO|LUA|CUN|SCC|SCU|CAM|LDN|LYO|MYA)!!', + 'SCM-(AL09|W09)!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!', 'SCH-[iI][0-9]{3,3}!!', 'SCH-L710!', 'SCH-M828!', @@ -4409,7 +5039,7 @@ exports.ANDROID_INDEX = { 'SC[LTV][23][0-9]!!', 'Scroll!!', 'SC-!!', - 'scorpio' + 'scorpio', ], '@SD': ['sdk', 'SD4930UR'], '@SE': [ @@ -4422,7 +5052,7 @@ exports.ANDROID_INDEX = { 'Sensation!', '(SENCOR )?ELEMENT!!', 'SENSEIT R390', - 'SENWA S970' + 'SENWA S970', ], '@SF': ['SFR-G8800', 'SFR-G8800 TV', 'SFR StarTab'], '@SG': ['SGH-[EILNMS][0-9]{3,4}!!', 'SGH-T[0-9]{3,3}!!', 'SGH-U468!', 'SGH-W2013!', 'SGP[ST0-9][0-9]{2,2}!!'], @@ -4439,6 +5069,7 @@ exports.ANDROID_INDEX = { 'SHIELD Tablet X1', 'SHIELD Tablet II', 'Shine', + 'SHT-W09', 'SH940C-LN', 'SH940C-LN TV', 'SH960C-LN', @@ -4446,16 +5077,23 @@ exports.ANDROID_INDEX = { 'SHV-E[0-9]{3,3}!!', 'SHW-M[0-9]{3,3}!!', 'SH01D', + 'SH-A01', + 'SH-C02', + 'SH-D01', 'SH-M01', 'SH-M02', 'SH-M02-EVA20', 'SH-M03', + 'SH-M05', 'SH-M07', 'SH-RM02', + 'SH-Z01', 'SH-[01][0-9][A-Z]!!', '(SHP-)?(SHARP )?SH[0-9]{2,3}!!', 'SH[FLTV][0-9]{2,2}!!', - 'SHARP-ADS1' + 'SHARP-ADS1', + 'SHIFT6m', + 'SHARK PRS-H0', ], '@SI': ['SiRF Dream', 'simvalley SP-142', 'Signature Touch', 'Signature Touch L'], '@SK': [ @@ -4465,15 +5103,16 @@ exports.ANDROID_INDEX = { 'Skyworth!!', 'SK17(a|i|iv|i-o)!', 'SK-Mtek GT7305', - '(ZTE )?Skate!!' + 'SKR-H0', + '(ZTE )?Skate!!', ], '@SL': [ 'Slider SL101', 'SL930', '(HP|Slate)!!', - '(HW-|HUAWEI )?(DRA|FLA|TIT|TAG|NCE|TRT|SLA)!!', + '(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!', 'Slidepad!!', - 'SLIDE' + 'SLIDE', ], '@SM': [ 'smdk6410', @@ -4509,6 +5148,12 @@ exports.ANDROID_INDEX = { 'SM-P[0-9]{3,3}!!', 'SM-S[0-9]{3,3}!!', 'SM-T[0-9]{3,3}!!', + 'SM-X200', + 'SM-X205', + 'SM-X700', + 'SM-X800', + 'SM-X900', + 'SM-X906!', 'SM-V700', 'SM-W[0-9]{4,4}!!', 'Smartphone Android by SFR STARADDICT II', @@ -4521,9 +5166,15 @@ exports.ANDROID_INDEX = { 'SMART Sprint', 'SMART Start', 'SMART Surf2 4G', - 'SmartTab!!' + 'SmartTab!!', + ], + '@SN': [ + 'SN[0-9]!!', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', + 'Snexian!!', + '(SNM\\-)?LT[0-9]{2,2}[a-z]?!!', + '(SNM\\-)?M[0-9]{2,2}[a-z]!!', ], - '@SN': ['SN[0-9]!!', 'Snexian!!', '(SNM\\-)?LT[0-9]{2,2}[a-z]?!!', '(SNM\\-)?M[0-9]{2,2}[a-z]!!'], '@SO': [ 'SoftwinerEvb', 'SoftwinerEvb0308', @@ -4535,7 +5186,7 @@ exports.ANDROID_INDEX = { 'Softwinerf900', 'SoftwinerEvbV13', 'soho', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'SONIC', 'Sonim!!', 'SO-0[0-9][A-Z]!!', @@ -4544,7 +5195,7 @@ exports.ANDROID_INDEX = { 'SonyEricssonMT15', 'SonyEricssonST15', 'Soshphone 4G', - 'soft stone' + 'soft stone', ], '@SP': [ 'Sprint!!', @@ -4577,7 +5228,7 @@ exports.ANDROID_INDEX = { 'SPICE IV', 'Spro2', 'SP-A20i', - 'SpringBoard' + 'SpringBoard', ], '@SR': ['SRT!!'], '@ST': [ @@ -4596,7 +5247,8 @@ exports.ANDROID_INDEX = { 'ST7001', 'ST8000', 'ST9001', - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!', + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'ST10', 'ST940I-UP', 'STM[0-9]{3,3}H!!', @@ -4652,22 +5304,24 @@ exports.ANDROID_INDEX = { 'ST-PAD', 'ST-PAD2', 'STAIRWAY', - 'StarTrail TT' + 'StarTrail TT', ], '@SU': [ 'Surfing TAB B 9.7 3G', 'Surfing Tab C 3G', '(E-Boda|Eruption|Essential|Supreme|Storm|Revo)!!', '(Explay|X-tremer|ActiveD|Informer|Surfer)!!', + 'Surface Duo', + 'Surface Duo 2', 'surnia', 'SUGAR ([A-Z][0-9]?(?: Pro)?)!', 'SUPRA (M[0-9]{2,3}[A-Z]{0,2})!', 'SUBLIM', 'SUNSET', - 'SUNSET2' + 'SUNSET2', ], '@SV': ['sv8860', 'SVP-DTV15'], - '@SW': ['Swift', 'Swift Plus', 'Swift 2 Plus', 'Swift 2 X'], + '@SW': ['Swift', 'Swift Plus', 'Swift 2', 'Swift 2 Plus', 'Swift 2 X'], '@SX': ['SXZ-PD!!', 'SX9701W'], '@SY': ['Sygnus', 'SYTABEX7-2', '(Symphony|Xplorer)!!', 'Synrgic Uno M1'], '@SZ': ['SZJ-JS101', 'SZENIO!!'], @@ -4692,7 +5346,7 @@ exports.ANDROID_INDEX = { 'T-Mobile myTouch Q', 'T-Mobile Opal', 'T-Mobile Vivacity', - 'T-Hub2' + 'T-Hub2', ], '@T0': [ 'T01', @@ -4716,13 +5370,13 @@ exports.ANDROID_INDEX = { 'T00K', 'T00P', 'T00G', - 'T00Q' + 'T00Q', ], '@T1': ['T1-B', 'T1-D', 'T1-E', 'T1K Plus', 'T1 7.0', 'T11AD!'], - '@T2': ['T20'], + '@T2': ['T20-Plus', 'T20'], '@T3': ['T320a', 'T30', 'T3696', 'T301'], - '@T6': ['T6'], - '@T7': ['(OPPO-?)?T703!', 'T720 SE', 'T760 from moage.com'], + '@T6': ['T6', 'T671H'], + '@T7': ['(OPPO-?)?T703!', 'T774H', 'T775H', 'T790Y', 'T720 SE', 'T760 from moage.com'], '@T8': ['T8[0-9]{3,3}!!'], '@T9': ['T9108', 'T92', 'T9199h', 'T9[0-9]{3,3}!!', 'T959', 'T98 4G??(C6R2)'], '@TA': [ @@ -4734,7 +5388,8 @@ exports.ANDROID_INDEX = { 'Tablet-P27', 'TA10CA3', '(tablet )?fnac!!', - '(HW-|HUAWEI )?(DRA|FLA|TIT|TAG|NCE|TRT|SLA)!!', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', + '(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!', '(HW-|HUAWEI )?(BLL|CHC|TAG|KII)!!', 'TA-FONE!!', 'TAB1011', @@ -4807,7 +5462,7 @@ exports.ANDROID_INDEX = { 'TAB469', 'TAB466EUK', 'TAB467', - 'TAB462' + 'TAB462', ], '@TB': [ 'TB-X103F', @@ -4821,7 +5476,7 @@ exports.ANDROID_INDEX = { 'TBDG734', 'TBDG874', 'TBDG1073', - 'TBQC1063' + 'TBQC1063', ], '@TC': [ 'TCC8920 STB!', @@ -4841,7 +5496,8 @@ exports.ANDROID_INDEX = { 'TC55CH', 'TC70', 'TC75', - 'TCL!!' + 'TCL!!', + 'TC26', ], '@TD': ['TD070VA1', 'TD600', 'TD-1010', 'TD506'], '@TE': [ @@ -4866,6 +5522,7 @@ exports.ANDROID_INDEX = { 'Telpad Quad S', 'Telpad QS', 'Tensent S9000', + 'Teracube 2e', 'teXet X-alpha', 'Texet TM-4083', 'teXet X-start', @@ -4875,7 +5532,9 @@ exports.ANDROID_INDEX = { 'teXet X-medium plus', 'teXet X-maxi qHD', 'TeamDRH ICS for GTablet', - 'Telenor!!' + 'TERRA PAD 1004', + 'TERRA PAD 1005', + 'Telenor!!', ], '@TF': [ 'TF101', @@ -4884,7 +5543,7 @@ exports.ANDROID_INDEX = { 'tf201t', '(Transformer )?(Pad )?TF300(T|TG|TL)!', '(Transformer )?(Pad )?TF502(T)!', - '(Transformer )?(Pad )?TF700(T|K)!' + '(Transformer )?(Pad )?TF700(T|K)!', ], '@TG': ['TG-L800S', 'TG-L900S'], '@TH': [ @@ -4894,17 +5553,19 @@ exports.ANDROID_INDEX = { '(KAZAM|Thunder|Tornado|Trooper)!!', 'ThinkPad( Tablet)?!', '(CJ-)?ThL!!', - 'THRiVE' + 'THRiVE', ], '@TI': [ 'Tilapia', 'Titan TV S320', - '(HW-|HUAWEI )?(DRA|FLA|TIT|TAG|NCE|TRT|SLA)!!', + 'TIQ-1049', + '(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!', '(Karbonn|Titanium)!!', 'TI320-DU', 'TI320-DU TV', 'TizzBird!!', - 'tiffany' + 'Titan pocket', + 'tiffany', ], '@TL': ['TLINK[0-9]{3,3}!!'], '@TM': [ @@ -4958,7 +5619,10 @@ exports.ANDROID_INDEX = { 'TM-9757 3G rev1', 'TM-9767', 'TM-1058', - 'tmn!!' + 'tmn!!', + ], + '@TN': [ + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', ], '@TO': [ 'Toro', @@ -4982,7 +5646,7 @@ exports.ANDROID_INDEX = { 'TOSHIBA FOLIO AND A', 'Tostab03', 'TOSHIBA WT7-C', - 'TOSHIBA WT8-A' + 'TOSHIBA WT8-A', ], '@TP': ['TPA60W', 'TPC-7151'], '@TQ': ['TQ150'], @@ -5002,9 +5666,11 @@ exports.ANDROID_INDEX = { '(Transformer )?(Pad )?TF700(T|K)!', 'Transformer (Pad )?Infinity!', 'TR720F', + 'TREKKER-X3', + 'Trekker-X4', 'TR10CS1', 'TripNiCE Pyramid', - '(HW-|HUAWEI )?(DRA|FLA|TIT|TAG|NCE|TRT|SLA)!!', + '(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!', 'TR10RS1', '(KAZAM|Thunder|Tornado|Trooper)!!', 'Triumph', @@ -5014,7 +5680,7 @@ exports.ANDROID_INDEX = { 'TREQ!!', 'Trevi REVERSE 5.5Q', 'Trevi PHABLET 6 S', - 'TRUE BEYOND 3G' + 'TRUE BEYOND 3G', ], '@TS': ['(AC|BC|LC|MT|RC|QS|VM|TS|OC)[0-9]{4,4}[A-Z]!!', 'TSP21', 'TSB CLOUD COMPANION;TOSHIBA AC AND AZ'], '@TT': ['TT101'], @@ -5025,10 +5691,11 @@ exports.ANDROID_INDEX = { 'Turbo-X Ice', 'Turbo-X Tablet Spice III', 'Turkcell!!', - 'Turk Telekom TT175' + 'Turk Telekom TT175', ], '@TV': ['TVE9603I', 'TVPAD Slim K3409'], '@TX': ['TX201LA', 'TX201LAF', 'TX85', 'TX18'], + '@U ': ['U FEEL LITE', 'U FEEL PRIME', 'U PULSE LITE'], '@U1': ['(CUBE ?)?(K8|U1|U2|U3|U5|U6|U8|U9)[0-9]?GT!!', 'U1', 'U1203'], '@U2': ['(CUBE ?)?(K8|U1|U2|U3|U5|U6|U8|U9)[0-9]?GT!!', 'U20(a|i|iv)!'], '@U3': ['(CUBE ?)?(K8|U1|U2|U3|U5|U6|U8|U9)[0-9]?GT!!'], @@ -5053,11 +5720,12 @@ exports.ANDROID_INDEX = { 'Ultimate10', 'Ultimate10-Android4.0', 'Ultimate 10', + 'Ulefone Armor 5', 'Ulefone Be Touch2', 'ultrafone!!', 'Ultym 5', 'Ultym 5L', - 'Ultym 5.2' + 'Ultym 5.2', ], '@UM': ['UM840', 'UMI!!'], '@UN': ['unknown M200-L09', 'UNO X8', 'UNO X10', 'Unusual!!'], @@ -5071,7 +5739,7 @@ exports.ANDROID_INDEX = { '(USCC-|KYOCERA-)?E[0-9]{4,4}!!', '(USCC-|KYOCERA-)?C[0-9]{4,4}!!', 'USCC-(LG)?US!!', - 'Usmart!!' + 'Usmart!!', ], '@UT': ['UTime!!'], '@V ': ['(ZTE ?)?V ?[0-9]{3,3}!!'], @@ -5095,9 +5763,24 @@ exports.ANDROID_INDEX = { '(GIO-)?(GiONEE[- ])?V185!', '(GIO-)?(GiONEE[- ])?V188!', 'V1', - 'V1277' + 'V1277', + 'V1916A', + ], + '@V2': [ + 'V2 Viper', + 'V2 Viper I', + 'V2 Viper I TM', + 'V2 Viper I4G', + 'V2 Viper S', + 'V2 Viper X', + 'V2 Viper X plus', + 'V2023', + 'V2028', + 'V2041', + 'V2056A', + 'V2109', + 'V2141A', ], - '@V2': ['V2 Viper', 'V2 Viper I', 'V2 Viper I TM', 'V2 Viper I4G', 'V2 Viper S', 'V2 Viper X', 'V2 Viper X plus'], '@V3': ['v360 E1'], '@V5': ['V5U-simvalley SP-142', 'V55'], '@V7': ['V701s Core4', 'V711s Core4', 'V712 Core4', 'V719 3G'], @@ -5130,7 +5813,7 @@ exports.ANDROID_INDEX = { 'V8510', 'V8511', 'V8602', - 'V8603' + 'V8603', ], '@V9': [ 'V99', @@ -5151,7 +5834,7 @@ exports.ANDROID_INDEX = { 'V9e', 'V9e+', 'V9A', - 'V9C' + 'V9C', ], '@VA': ['Vandroid S5E', 'Vandroid T1J', 'Vandroid T3-A', 'Vandroid T3i', 'Vandroid T', 'VAP430'], '@VE': [ @@ -5173,7 +5856,8 @@ exports.ANDROID_INDEX = { 'VERTU Ti', 'Venus_V3 5040', 'Venus V3 5570', - 'Venus V3 5580' + 'Venus V3 5580', + 'Venus Z20', ], '@VF': [ 'VF685', @@ -5203,7 +5887,7 @@ exports.ANDROID_INDEX = { 'VFD 1100', 'VFD 1300', 'VFD 1400', - 'VFD1400' + 'VFD1400', ], '@VI': [ 'VirtualBox!', @@ -5229,7 +5913,7 @@ exports.ANDROID_INDEX = { 'Vibo-A688', 'VitMod ExtraLite 1.6.5.fullodex for HTC HD7 Pro', 'Vivid 4G', - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'Vibe K5 Plus', 'VIBE X2 (X2)', 'VIBE X3', @@ -5270,6 +5954,10 @@ exports.ANDROID_INDEX = { 'ViewSonic VB733', 'VINUS!!', '(BBG-|VIV-)?vivo!!', + 'View', + 'View XL', + 'View2 Go', + 'View2 Plus', 'Viettel i5', 'Viettel I8', 'VIETTEL V8404!', @@ -5277,19 +5965,19 @@ exports.ANDROID_INDEX = { 'VIETTEL V8411', 'Viettel V8502', 'VIETTEL V8506', - 'VIETTEL V8509' + 'VIETTEL V8509', ], '@VK': [ - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'VK410', 'VK700', 'VK810 4G', - 'VK815' + 'VK815', ], '@VL': ['VL-[0-9]{3,3}!!'], '@VM': ['VMware Virtual Platform', '(AC|BC|LC|MT|RC|QS|VM|TS|OC)[0-9]{4,4}[A-Z]!!', 'VM670'], '@VN': [ - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!' + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', ], '@VO': [ 'Vogue', @@ -5297,6 +5985,7 @@ exports.ANDROID_INDEX = { 'Volantisg', 'VOYAGER DG300', 'VOYAGER2 DG310', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'Vox', 'Vortex', 'vollo Vi86', @@ -5314,7 +6003,7 @@ exports.ANDROID_INDEX = { 'VOTO X2', 'VOYO A15', 'voyo X6', - 'Vodafone!!' + 'Vodafone!!', ], '@VS': [ 'VS[0-9]{3,3}!!', @@ -5337,20 +6026,22 @@ exports.ANDROID_INDEX = { 'Vsun i1', 'Vsun i5', 'Vsun i9', - 'Vsun V9' + 'Vsun V9', ], '@VT': [ - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'VT6078', 'VT75C', 'VT77C', 'VT79C', 'VT87C+', 'VTAB1008', - 'VTAB3010' + 'VTAB3010', ], '@VW': ['VW RCBKK1'], '@VX': ['VX-100', 'VX580A', 'VX580W', 'VX610A'], + '@W ': ['W K300', 'W K400', 'W P200', 'W C800', 'W C860'], + '@W-': ['W-V600', 'W-P311-EEA', 'W-V800-EEA', 'W-V830-EEA', 'W-V730-EEA', 'W-V851-EEA'], '@W1': ['W10', 'W10 V2.0', 'w13pro', 'W13PRO V2.0', 'W17PRO(Dualcore)', 'W17PRO JB Dualcore', 'W100'], '@W2': ['W200', 'W22PRO', 'W22PRO 3G', 'W27(Dualcore)', 'W28(Dualcore)', 'W20'], '@W3': ['W337', 'W3620', 'W30(QuadCore)', 'w30hd(QuadCore)', 'W30HDPRO'], @@ -5361,7 +6052,7 @@ exports.ANDROID_INDEX = { '@W8': ['W820', '(GIO-)?(GiONEE[- ])?W800!', 'W800', 'W806', 'W808', 'W810', 'W880', 'W8', 'W8 beyond'], '@W9': ['W900', 'W990'], '@WA': [ - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!', + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!', 'WA-U420D', 'WALSUN S1 Pro', 'WALSUN S2', @@ -5393,7 +6084,7 @@ exports.ANDROID_INDEX = { 'Walpad G2', 'Walpad G2i', 'Walpad M', - 'WAX' + 'WAX', ], '@WE': [ 'WellcoM-A86', @@ -5406,7 +6097,7 @@ exports.ANDROID_INDEX = { 'WEXLER TAB7ID', 'WEXLER-TAB-7iS', 'WEXLER-TAB-7T', - 'WEXLER.BOOK T7008' + 'WEXLER.BOOK T7008', ], '@WF': ['WF7C'], '@WH': [ @@ -5421,7 +6112,7 @@ exports.ANDROID_INDEX = { 'WHAM WS36', 'WHAM WS43', 'WHAMWHAM WS43 Maui', - 'WHAM WT72' + 'WHAM WT72', ], '@WI': [ 'Wingray', @@ -5434,12 +6125,13 @@ exports.ANDROID_INDEX = { 'WIKO-CINK SLIM', 'Wiko Rainbow', 'Wiko Stairway', + 'WIM Lite', 'Wileyfox Spark', 'Wileyfox Spark +', 'Wileyfox Spark X', 'Wileyfox Storm', 'Wileyfox Swift', - 'Wink City S' + 'Wink City S', ], '@WL': ['WL-101GQC'], '@WM': ['WM8650', 'WM8650-mid', 'wm8710-tvbox', 'WM8850-mid'], @@ -5456,7 +6148,7 @@ exports.ANDROID_INDEX = { 'X-basic', 'X-basic2', 'X-maxi', - 'X-medium' + 'X-medium', ], '@X0': [ 'X007D', @@ -5477,16 +6169,27 @@ exports.ANDROID_INDEX = { 'X00DDB', 'X00HD', 'X00GD', + 'X00LD', + 'X00T', + 'X00TD', + 'X00TDB', + 'X00DE', + 'X00QD', + 'X00QSA', + 'X01AD', + 'X01BDA', 'X013D', 'X013DA', 'X013DB', 'X013DC', 'X015D', + 'X00ID', 'X014D', + 'X018D', 'X002', 'X003', 'X005', - 'X008' + 'X008', ], '@X1': [ 'X1 Soul', @@ -5504,6 +6207,9 @@ exports.ANDROID_INDEX = { 'X1 mini', 'X1 Selfie', 'X1010', + 'X1030X', + 'X1031X', + 'X1060X', 'X10(a|i|iv|i-o|s)?$!', 'X10 ?(Mini ?Pro)$!', 'X10 ?(Mini)$!', @@ -5516,7 +6222,7 @@ exports.ANDROID_INDEX = { 'X16HD 3G(M5J4)', 'X16HD 3G(M5J5)', 'X16HD 3G(M5J5', - 'X16HD 3G(M5J6)' + 'X16HD 3G(M5J6)', ], '@X2': [ 'X2 Soul', @@ -5529,7 +6235,7 @@ exports.ANDROID_INDEX = { 'X2 Soul Style TM', 'X2 Soul Style Plus', 'X2 Soul Xtreme', - 'X2 Twin' + 'X2 Twin', ], '@X3': [ 'X3 Soul', @@ -5540,10 +6246,11 @@ exports.ANDROID_INDEX = { 'X3 Soul PRO', 'X3 Soul Style', 'X325a', - 'X3-Ice MIUI XT720 Memorila Classics' + 'X3-Ice MIUI XT720 Memorila Classics', ], '@X4': ['X403'], - '@X5': ['X550', 'X515d', 'X515e', 'X525a', 'X527', 'X505', 'X506', 'X506S', 'X507Q'], + '@X5': ['X5 Soul Pro', 'X550', 'X515d', 'X515e', 'X525a', 'X527', 'X505', 'X506', 'X506S', 'X507Q'], + '@X6': ['X67 5G'], '@X7': [ 'X710d', 'X720D', @@ -5554,7 +6261,7 @@ exports.ANDROID_INDEX = { 'X70 3G (C5D9)', 'X70 R(C7F9)', 'X70 R(C8F9)', - 'X708S' + 'X708S', ], '@X8': [ '(GIO-)?(GiONEE[- ])?X817!', @@ -5587,7 +6294,7 @@ exports.ANDROID_INDEX = { 'X81-8G3D', 'X89 (E7ED)', 'X89 (KR89)', - 'X89HD (H21C)' + 'X89HD (H21C)', ], '@X9': [ 'X920e', @@ -5655,7 +6362,7 @@ exports.ANDROID_INDEX = { 'X98 Pro', 'X98 Pro (K9C6)', 'X98 Pro (K9C6', - 'X9180' + 'X9180', ], '@XA': ['Xamarin Android Player!'], '@XC': ['XCD 28', 'XCD35'], @@ -5683,7 +6390,7 @@ exports.ANDROID_INDEX = { 'Xenta TAB09-211', 'Xenta TAB10-211', 'Xenta TAB10-201', - 'Xenta TAB13-201' + 'Xenta TAB13-201', ], '@XI': [ 'Xiaomi', @@ -5691,6 +6398,7 @@ exports.ANDROID_INDEX = { '(Xiaomi|Xiaomi Mi|MI) Note!!', '(Xiaomi )?(MI )?MAX$!', '(Xiaomi )?(MI )?MAX 2$!', + '(Xiaomi )?(MI )?MAX 3$!', '(Xiaomi )?(MI )?MIX$!', '(Xiaomi )?(MI )?MIX 2$!', '(Xiaomi )?(MI )?MIX 2S$!', @@ -5698,13 +6406,16 @@ exports.ANDROID_INDEX = { '(Xiaomi )?(Redmi|RedRice|HM)!!', '(Xiaomi )?(Redmi|HM)[ \\-]?Note!!', '(Xiaomi |HM)?20!!', + '(Xiaomi |HM)?21!!', 'Xiaomi MDT2!', 'Xiaomi MCT1!', 'Xiaomi MAT136!', 'Xiaomi MBT6A5!', + 'Xiaomi 11 Lite 5G NE', + 'Xiaomi 11T Pro', '(Xiaomi|Xiaomi Mi|MI) Pad!!', '(Xiaomi|Xiaomi Mi|MI)Box!!', - '(Xiaomi|Xiaomi Mi|MI)TV!!' + '(Xiaomi|Xiaomi Mi|MI)TV!!', ], '@XL': [ 'XL39h', @@ -5725,7 +6436,7 @@ exports.ANDROID_INDEX = { 'Xlife-M44Q', 'Xlife-Electro55HD', 'Xlife-Ezy', - 'Xlife-Victor4' + 'Xlife-Victor4', ], '@XM': ['(NMP|MBR|XDK|XDS|XMP)\\-!!', 'XM50h', 'XM50t'], '@XO': [ @@ -5744,9 +6455,22 @@ exports.ANDROID_INDEX = { 'XOLO Play', 'XOLO PLAY T1000', 'XOLO T1000', - 'Xolo QC800' + 'Xolo QC800', + ], + '@XP': ['Xperia Z Ultra', 'XPRESS PRO', 'XP8800', 'Xperia!!', '(Symphony|Xplorer)!!', 'xPAD-70'], + '@XQ': [ + 'XQ-AT51', + 'XQ-AT52', + 'XQ-BC52', + 'XQ-BC72', + 'XQ-AS52', + 'XQ-BQ52', + 'XQ-AU52', + 'XQ-BT52', + 'XQ-AD51', + 'XQ-AD52', + 'XQ-BE52', ], - '@XP': ['Xperia Z Ultra', 'XPRESS PRO', 'Xperia!!', '(Symphony|Xplorer)!!', 'xPAD-70'], '@XT': [ 'Xtreme X2', 'XT751', @@ -5777,12 +6501,15 @@ exports.ANDROID_INDEX = { 'Xtreamer Mobile AiKi a7*', 'Xtreamer Mobile Aiki5s', 'Xtreamer Joyz', - 'Xtreamer Wonder' + 'Xtreamer Wonder', ], '@XW': ['XW-I8'], '@Y2': ['Y2'], '@Y5': ['Y538'], '@Y6': ['Y6 Max', 'Y6 Piano'], + '@YA': [ + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!', + ], '@YD': ['YD201', 'YD202', 'YD203', 'YD206'], '@YE': ['Yellowstone', '(Andy|Yezz)!!'], '@YO': ['youwave custom', 'YOGA Tablet!!'], @@ -5819,7 +6546,7 @@ exports.ANDROID_INDEX = { 'YPY S500', 'YPY TQ7', 'YP-G!!', - 'YP712' + 'YP712', ], '@YQ': ['YQ601'], '@YU': [ @@ -5871,7 +6598,7 @@ exports.ANDROID_INDEX = { 'YUSUN - W 800', 'YUSUN--W 800', 'YUSUN W808', - 'YUSUN -- W 900' + 'YUSUN -- W 900', ], '@YX': ['YX-YUSUN E80', 'YX-YUSUN E89', 'YX-YUSUN E96'], '@Z0': [ @@ -5934,10 +6661,18 @@ exports.ANDROID_INDEX = { 'Z01HDA', 'Z01KD', 'Z01KDA', + 'Z01MD', 'Z01MDA', - 'Z00YD' + 'Z01RD', + 'Z01QD', + 'Z00YD', + ], + '@Z1': [ + '(BB )?Z10$!', + 'Z1-H39LW', + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!', + 'Z1i', ], - '@Z1': ['(BB )?Z10$!', 'Z1-H39LW', '(HUAWEI )?(ALP|BLA|CRR|LON|MATE|MHA|MT1|MT2|MT7|M200|NXT|Z100)!!', 'Z1i'], '@Z2': ['Z2 Plus', 'Z2 Rio', 'Z282 C91'], '@Z3': ['(BB )?Z30$!', 'Z30Aire', 'Z30Dart', 'Z30Lite', 'Z30PACE'], '@Z4': [ @@ -5959,7 +6694,7 @@ exports.ANDROID_INDEX = { 'Z45 Quad', 'Z45Q Star', 'Z45Q Star+', - 'Z4 mini' + 'Z4 mini', ], '@Z5': [ 'Z520e', @@ -5977,7 +6712,7 @@ exports.ANDROID_INDEX = { 'Z51Q Star', 'Z52 Inspire', 'Z52 Thunder', - 'Z52 Thunder+' + 'Z52 Thunder+', ], '@Z7': ['Z71', 'Z710', 'Z710e', 'Z715e'], '@ZA': [ @@ -6001,7 +6736,7 @@ exports.ANDROID_INDEX = { 'ZA966', 'ZA977', 'ZA985', - 'ZA987' + 'ZA987', ], '@ZB': ['ZB551KL', 'ZB500KG', 'ZB500KL', 'ZB501KL', 'ZBOX-ID18', 'ZBOX-ID81'], '@ZC': ['ZC551KL', 'ZC553KL', 'ZC554KL'], @@ -6027,7 +6762,7 @@ exports.ANDROID_INDEX = { 'ZEN U1', 'ZEN U4', 'ZEN U5', - 'ZEN 303 3G' + 'ZEN 303 3G', ], '@ZI': [ 'Zii!!', @@ -6043,10 +6778,11 @@ exports.ANDROID_INDEX = { 'Zigo Nebula Tab 7.1', 'Zigo N81', 'Ziss Ranger HD', - 'Zilo' + 'Zilo', ], '@ZO': ['Zoom', '(Zopo )?ZP ?[0-9]{3,3}!!'], '@ZP': ['(Zopo )?ZP ?[0-9]{3,3}!!'], + '@ZS': ['ZS671KS'], '@ZT': [ 'zt180', 'ZTE A[0-9]{3,3}!!', @@ -6145,6 +6881,8 @@ exports.ANDROID_INDEX = { 'ZTE A2017', 'ZTE A2017G', 'ZTE A2017U', + 'ZTE A2020G Pro', + 'ZTE A2022PG', 'ZTE B2015', 'ZTE B2016', 'ZTE B2017', @@ -6165,7 +6903,7 @@ exports.ANDROID_INDEX = { 'ZTE V8110', 'ZTE B860A', 'ZTE B860AV1', - 'ZTE W1010' + 'ZTE W1010', ], '@ZU': [ 'ZUK Z1', @@ -6177,10 +6915,10 @@ exports.ANDROID_INDEX = { 'ZUK Z2 Pro', 'ZUK Z2121', 'ZUK Z2122', - 'ZUK Edge' + 'ZUK Edge', ], '@ZV': ['ZVII'], - '@ZX': ['(ZXY-)?(ZTE )?N[0-9]{4,4}!!', '(ZXY-)?NX[0-9]{2,3}!!', 'ZXY-ZTE-C X920', 'ZXY-ZTE V6700'] + '@ZX': ['(ZXY-)?(ZTE )?N[0-9]{4,4}!!', '(ZXY-)?NX[0-9]{2,3}!!', 'ZXY-ZTE-C X920', 'ZXY-ZTE V6700'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-asha.js b/data/indices/models-asha.js index 0d0b7f5..5c5107e 100644 --- a/data/indices/models-asha.js +++ b/data/indices/models-asha.js @@ -1,27 +1,8 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.ASHA_INDEX = { - - '@50': - [ - 500, - 501, - '501s', - '501.1', - '501.2', - 502, - 503, - '503s', - ], - '@AS': - [ - 'Asha230SingleSIM', - 'Asha230DualSIM', - 'Asha500SingleSIM', - 'Asha500DualSIM', - ], + '@50': [500, 501, '501s', '501.1', '501.2', 502, 503, '503s'], + '@AS': ['Asha230SingleSIM', 'Asha230DualSIM', 'Asha500SingleSIM', 'Asha500DualSIM'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-bada.js b/data/indices/models-bada.js index dcd88ee..6934173 100644 --- a/data/indices/models-bada.js +++ b/data/indices/models-bada.js @@ -1,30 +1,20 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.BADA_INDEX = { - - '@GT': - [ - 'GT- ?S52(50|53)!', - 'GT-S53(30|33)!', - 'GT-S5380!', - 'GT-S57(50|53)!', - 'GT-S57(80)!', - 'GT-S72(30|33)!', - 'GT-S7250!', - 'GT-S8500!', - 'GT- ?S8530!', - 'GT- ?S8600!', - ], - '@SC': - [ - 'SCH-F859!', - ], - '@SH': - [ - 'SHW-M410', + '@GT': [ + 'GT- ?S52(50|53)!', + 'GT-S53(30|33)!', + 'GT-S5380!', + 'GT-S57(50|53)!', + 'GT-S57(80)!', + 'GT-S72(30|33)!', + 'GT-S7250!', + 'GT-S8500!', + 'GT- ?S8530!', + 'GT- ?S8600!', ], + '@SC': ['SCH-F859!'], + '@SH': ['SHW-M410'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-brew.js b/data/indices/models-brew.js index d8c7e88..e841a11 100644 --- a/data/indices/models-brew.js +++ b/data/indices/models-brew.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.BREW_INDEX = { '@AX': ['AX8575'], '@CD': ['CDM8992', 'CDM8999'], @@ -16,7 +14,7 @@ exports.BREW_INDEX = { 'HUAWEI U5200!', 'HUAWEI U5300!', 'HUAWEI U5310!', - 'HUAWEI U6150!' + 'HUAWEI U6150!', ], '@LG': [ 'LG272', @@ -28,7 +26,7 @@ exports.BREW_INDEX = { 'LGE UX840', 'LGE VX11K', 'LGE VX8575', - 'LGE VX9700' + 'LGE VX9700', ], '@LN': ['LN240', 'LN510'], '@LX': ['LX610'], @@ -63,7 +61,7 @@ exports.BREW_INDEX = { 'SCP-6750', 'SCP6760', 'SCP-6760', - 'SCP6780' + 'SCP6780', ], '@SG': ['SGH-A937!', 'SGH-A947!'], '@SM': ['SM-B690V'], @@ -71,7 +69,7 @@ exports.BREW_INDEX = { '@TX': ['TXT8045'], '@VN': ['VN170!', 'VN250!', 'VN271!', 'VN280!', 'VN360!', 'VN370!', 'VN530'], '@VX': ['VX5600!', 'VX9200!', 'VX9600!', 'VX11000!'], - '@ZT': ['ZTE F-450!', 'ZTE R516!', 'ZTE R518!'] + '@ZT': ['ZTE F-450!', 'ZTE R516!', 'ZTE R518!'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-feature.js b/data/indices/models-feature.js index 936898c..0c97f0f 100644 --- a/data/indices/models-feature.js +++ b/data/indices/models-feature.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.FEATURE_INDEX = { '@AM': ['Amstrad Gamma'], '@BE': ['Benefon Q'], @@ -42,7 +40,7 @@ exports.FEATURE_INDEX = { 'GT-S5610!', 'GT-I6410!', 'GT-I8320!', - 'GT-I8330!' + 'GT-I8330!', ], '@J1': ['J105[ai]?$!', 'J108[ai]?$!', 'J10(i2?)?$!'], '@J2': ['J20[ai]?$!'], @@ -81,7 +79,7 @@ exports.FEATURE_INDEX = { 'SGHX660V', 'SGH-Z107!', 'SGH-Z130!', - 'SGH-Z500!' + 'SGH-Z500!', ], '@SM': ['SM-B313E', 'SM-B350E', 'SM-B360E', 'SM-B780(A|W)!'], '@TE': ['tecnot36'], @@ -91,7 +89,7 @@ exports.FEATURE_INDEX = { '@W2': ['W20i?$!'], '@WI': ['WIDETEL WCX150'], '@WT': ['WT13i$!'], - '@X5': ['X5i$!'] + '@X5': ['X5i$!'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-firefoxos.js b/data/indices/models-firefoxos.js index 8b0dc9b..de487ae 100644 --- a/data/indices/models-firefoxos.js +++ b/data/indices/models-firefoxos.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.FIREFOXOS_INDEX = { '@': ['.LYF\\/.F30C!', '.LYF\\/.F101K!'], '@AL': [ @@ -17,7 +15,7 @@ exports.FIREFOXOS_INDEX = { 'ALCATELOneTouch4023!', 'ALCATELOneTouch6015X!', 'ALCATEL4044[MNOTVW]!', - 'ALCATEL4044C!' + 'ALCATEL4044C!', ], '@HU': ['HUAWEI Ascend Y300-F1', 'HUAWEIY300-F1'], '@LG': ['LG-D3(00|01)!', 'LGL25'], @@ -26,7 +24,7 @@ exports.FIREFOXOS_INDEX = { '@ON': ['OneTouch4019A'], '@OP': ['OPEN', 'OpenC', 'Open C', 'OPENC2', 'OPEN2'], '@OR': ['Orange KLIF', 'Orange KLIFD'], - '@ZT': ['ZTEOPEN'] + '@ZT': ['ZTEOPEN'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-kddi.js b/data/indices/models-kddi.js index 5d681c7..e33aee2 100644 --- a/data/indices/models-kddi.js +++ b/data/indices/models-kddi.js @@ -1,395 +1,347 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.KDDI_INDEX = { - - '@CA': - [ - 'CA11', - 'CA12', - 'CA13', - 'CA14', - 'CA21', - 'CA22', - 'CA23', - 'CA24', - 'CA25', - 'CA26', - 'CA27', - 'CA28', - 'CA31', - 'CA32', - 'CA33', - 'CA34', - 'CA35', - 'CA36', - 'CA37', - 'CA38', - 'CA39', - 'CA3A', - 'CA3B', - 'CA3C', - 'CA3D', - 'CA3E', - 'CA3F', - 'CA3G', - 'CA3H', - 'CA3I', - 'CA3J', - 'CA3K', - ], - '@DN': - [ - 'DN01', - 'DN11', - ], - '@ER': - [ - 'ERK0', - ], - '@FJ': - [ - 'FJ31', - ], - '@HI': - [ - 'HI01', - 'HI02', - 'HI11', - 'HI12', - 'HI13', - 'HI14', - 'HI21', - 'HI23', - 'HI24', - 'HI31', - 'HI32', - 'HI33', - 'HI34', - 'HI35', - 'HI36', - 'HI37', - 'HI38', - 'HI39', - 'HI3A', - 'HI3B', - 'HI3C', - 'HI3D', - 'HI3E', - 'HI3F', - 'HI3G', - 'HI3H', - ], - '@KC': - [ - 'KC3Q', - 'KC3S', - 'KC3V', - 'KC11', - 'KC12', - 'KC13', - 'KC14', - 'KC15', - 'KC21', - 'KC22', - 'KC23', - 'KC24', - 'KC25', - 'KC26', - 'KC27', - 'KC28', - 'KC29', - 'KC2A', - 'KC31', - 'KC32', - 'KC33', - 'KC34', - 'KC35', - 'KC36', - 'KC37', - 'KC38', - 'KC39', - 'KC3A', - 'KC3B', - 'KC3D', - 'KC3E', - 'KC3G', - 'KC3H', - 'KC3I', - 'KC3K', - 'KC3M', - 'KC3N', - 'KC3O', - 'KC3P', - 'KC3R', - 'KC3T', - 'KC3U', - 'KC3W', - 'KC3X', - 'KC3Y', - 'KC3Z', - 'KC41', - 'KC42', - 'KC43', - 'KC44', - 'KC45', - 'KC46', - 'KC47', - 'KC48', - 'KC4A', - 'KCC1', - 'KCC2', - 'KCI1', - 'KCI2', - 'KCT1', - 'KCT2', - 'KCT3', - 'KCT4', - 'KCT5', - 'KCT6', - 'KCT7', - 'KCT8', - 'KCT9', - 'KCTA', - 'KCTB', - 'KCTC', - ], - '@MA': - [ - 'MA11', - 'MA12', - 'MA13', - 'MA21', - 'MA31', - 'MA32', - 'MA33', - 'MA34', - 'MA35', - 'MAC1', - 'MAC2', - 'MAI1', - 'MAI2', - 'MAT1', - 'MAT2', - 'MAT3', + '@CA': [ + 'CA11', + 'CA12', + 'CA13', + 'CA14', + 'CA21', + 'CA22', + 'CA23', + 'CA24', + 'CA25', + 'CA26', + 'CA27', + 'CA28', + 'CA31', + 'CA32', + 'CA33', + 'CA34', + 'CA35', + 'CA36', + 'CA37', + 'CA38', + 'CA39', + 'CA3A', + 'CA3B', + 'CA3C', + 'CA3D', + 'CA3E', + 'CA3F', + 'CA3G', + 'CA3H', + 'CA3I', + 'CA3J', + 'CA3K', ], - '@MI': - [ - 'MIT1', + '@DN': ['DN01', 'DN11'], + '@ER': ['ERK0'], + '@FJ': ['FJ31'], + '@HI': [ + 'HI01', + 'HI02', + 'HI11', + 'HI12', + 'HI13', + 'HI14', + 'HI21', + 'HI23', + 'HI24', + 'HI31', + 'HI32', + 'HI33', + 'HI34', + 'HI35', + 'HI36', + 'HI37', + 'HI38', + 'HI39', + 'HI3A', + 'HI3B', + 'HI3C', + 'HI3D', + 'HI3E', + 'HI3F', + 'HI3G', + 'HI3H', ], - '@PT': - [ - 'PT21', - 'PT23', - 'PT33', - 'PT34', - 'PT35', - 'PT36', + '@KC': [ + 'KC3Q', + 'KC3S', + 'KC3V', + 'KC11', + 'KC12', + 'KC13', + 'KC14', + 'KC15', + 'KC21', + 'KC22', + 'KC23', + 'KC24', + 'KC25', + 'KC26', + 'KC27', + 'KC28', + 'KC29', + 'KC2A', + 'KC31', + 'KC32', + 'KC33', + 'KC34', + 'KC35', + 'KC36', + 'KC37', + 'KC38', + 'KC39', + 'KC3A', + 'KC3B', + 'KC3D', + 'KC3E', + 'KC3G', + 'KC3H', + 'KC3I', + 'KC3K', + 'KC3M', + 'KC3N', + 'KC3O', + 'KC3P', + 'KC3R', + 'KC3T', + 'KC3U', + 'KC3W', + 'KC3X', + 'KC3Y', + 'KC3Z', + 'KC41', + 'KC42', + 'KC43', + 'KC44', + 'KC45', + 'KC46', + 'KC47', + 'KC48', + 'KC4A', + 'KCC1', + 'KCC2', + 'KCI1', + 'KCI2', + 'KCT1', + 'KCT2', + 'KCT3', + 'KCT4', + 'KCT5', + 'KCT6', + 'KCT7', + 'KCT8', + 'KCT9', + 'KCTA', + 'KCTB', + 'KCTC', ], - '@SA': - [ - 'SA21', - 'SA22', - 'SA24', - 'SA25', - 'SA26', - 'SA27', - 'SA28', - 'SA29', - 'SA2A', - 'SA31', - 'SA32', - 'SA33', - 'SA34', - 'SA35', - 'SA36', - 'SA37', - 'SA38', - 'SA39', - 'SA3A', - 'SA3B', - 'SA3C', - 'SA3D', - 'SA3E', + '@MA': [ + 'MA11', + 'MA12', + 'MA13', + 'MA21', + 'MA31', + 'MA32', + 'MA33', + 'MA34', + 'MA35', + 'MAC1', + 'MAC2', + 'MAI1', + 'MAI2', + 'MAT1', + 'MAT2', + 'MAT3', ], - '@SH': - [ - 'SH31', - 'SH32', - 'SH33', - 'SH34', - 'SH35', - 'SH36', - 'SH37', - 'SH38', - 'SH39', - 'SH3A', - 'SH3B', - 'SH3C', - 'SH3D', - 'SH3E', - 'SH3F', - 'SH3G', - 'SH3H', - 'SH3I', - 'SH3J', - 'SH3K', - 'SH3L', + '@MI': ['MIT1'], + '@PT': ['PT21', 'PT23', 'PT33', 'PT34', 'PT35', 'PT36'], + '@SA': [ + 'SA21', + 'SA22', + 'SA24', + 'SA25', + 'SA26', + 'SA27', + 'SA28', + 'SA29', + 'SA2A', + 'SA31', + 'SA32', + 'SA33', + 'SA34', + 'SA35', + 'SA36', + 'SA37', + 'SA38', + 'SA39', + 'SA3A', + 'SA3B', + 'SA3C', + 'SA3D', + 'SA3E', ], - '@SN': - [ - 'SN3K', - 'SN3T', - 'SN11', - 'SN13', - 'SN14', - 'SN15', - 'SN16', - 'SN17', - 'SN21', - 'SN22', - 'SN23', - 'SN24', - 'SN25', - 'SN26', - 'SN27', - 'SN28', - 'SN29', - 'SN31', - 'SN32', - 'SN33', - 'SN34', - 'SN35', - 'SN36', - 'SN37', - 'SN38', - 'SN39', - 'SN3A', - 'SN3B', - 'SN3C', - 'SN3D', - 'SN3E', - 'SN3F', - 'SN3G', - 'SN3H', - 'SN3I', - 'SN3J', - 'SN3L', - 'SN3M', - 'SN3N', - 'SN3O', - 'SN3P', - 'SN3Q', - 'SN3R', - 'SN3S', - 'SN3U', - 'SN3V', + '@SH': [ + 'SH31', + 'SH32', + 'SH33', + 'SH34', + 'SH35', + 'SH36', + 'SH37', + 'SH38', + 'SH39', + 'SH3A', + 'SH3B', + 'SH3C', + 'SH3D', + 'SH3E', + 'SH3F', + 'SH3G', + 'SH3H', + 'SH3I', + 'SH3J', + 'SH3K', + 'SH3L', ], - '@ST': - [ - 'ST22', - 'ST33', - 'ST11', - 'ST12', - 'ST13', - 'ST14', - 'ST21', - 'ST23', - 'ST24', - 'ST25', - 'ST26', - 'ST27', - 'ST28', - 'ST29', - 'ST2A', - 'ST2C', - 'ST2D', - 'ST31', - 'ST32', - 'ST34', + '@SN': [ + 'SN3K', + 'SN3T', + 'SN11', + 'SN13', + 'SN14', + 'SN15', + 'SN16', + 'SN17', + 'SN21', + 'SN22', + 'SN23', + 'SN24', + 'SN25', + 'SN26', + 'SN27', + 'SN28', + 'SN29', + 'SN31', + 'SN32', + 'SN33', + 'SN34', + 'SN35', + 'SN36', + 'SN37', + 'SN38', + 'SN39', + 'SN3A', + 'SN3B', + 'SN3C', + 'SN3D', + 'SN3E', + 'SN3F', + 'SN3G', + 'SN3H', + 'SN3I', + 'SN3J', + 'SN3L', + 'SN3M', + 'SN3N', + 'SN3O', + 'SN3P', + 'SN3Q', + 'SN3R', + 'SN3S', + 'SN3U', + 'SN3V', ], - '@SY': - [ - 'SY12', - 'SY13', - 'SY14', - 'SY15', - 'SYC1', - 'SYT1', - 'SYT2', - 'SYT3', - 'SYT4', - 'SY01', - 'SY02', - 'SY03', - 'SY11', + '@ST': [ + 'ST22', + 'ST33', + 'ST11', + 'ST12', + 'ST13', + 'ST14', + 'ST21', + 'ST23', + 'ST24', + 'ST25', + 'ST26', + 'ST27', + 'ST28', + 'ST29', + 'ST2A', + 'ST2C', + 'ST2D', + 'ST31', + 'ST32', + 'ST34', ], - '@TS': - [ - 'TS3Q', - 'TS3U', - 'TS3W', - 'TS01', - 'TS11', - 'TS12', - 'TS13', - 'TS14', - 'TS21', - 'TS22', - 'TS23', - 'TS24', - 'TS25', - 'TS26', - 'TS27', - 'TS28', - 'TS29', - 'TS2A', - 'TS2B', - 'TS2C', - 'TS2D', - 'TS2E', - 'TS31', - 'TS32', - 'TS33', - 'TS34', - 'TS35', - 'TS36', - 'TS37', - 'TS38', - 'TS39', - 'TS3A', - 'TS3B', - 'TS3C', - 'TS3D', - 'TS3E', - 'TS3G', - 'TS3H', - 'TS3I', - 'TS3J', - 'TS3K', - 'TS3L', - 'TS3M', - 'TS3N', - 'TS3O', - 'TS3P', - 'TS3R', - 'TS3S', - 'TS3T', - 'TS3V', - 'TS3X', - 'TS3Y', - 'TS3Z', - 'TS41', - 'TSC1', - 'TSI1', - 'TST1', - 'TST2', - 'TST3', - 'TST4', - 'TST5', - 'TST6', - 'TST7', + '@SY': ['SY12', 'SY13', 'SY14', 'SY15', 'SYC1', 'SYT1', 'SYT2', 'SYT3', 'SYT4', 'SY01', 'SY02', 'SY03', 'SY11'], + '@TS': [ + 'TS3Q', + 'TS3U', + 'TS3W', + 'TS01', + 'TS11', + 'TS12', + 'TS13', + 'TS14', + 'TS21', + 'TS22', + 'TS23', + 'TS24', + 'TS25', + 'TS26', + 'TS27', + 'TS28', + 'TS29', + 'TS2A', + 'TS2B', + 'TS2C', + 'TS2D', + 'TS2E', + 'TS31', + 'TS32', + 'TS33', + 'TS34', + 'TS35', + 'TS36', + 'TS37', + 'TS38', + 'TS39', + 'TS3A', + 'TS3B', + 'TS3C', + 'TS3D', + 'TS3E', + 'TS3G', + 'TS3H', + 'TS3I', + 'TS3J', + 'TS3K', + 'TS3L', + 'TS3M', + 'TS3N', + 'TS3O', + 'TS3P', + 'TS3R', + 'TS3S', + 'TS3T', + 'TS3V', + 'TS3X', + 'TS3Y', + 'TS3Z', + 'TS41', + 'TSC1', + 'TSI1', + 'TST1', + 'TST2', + 'TST3', + 'TST4', + 'TST5', + 'TST6', + 'TST7', ], }; diff --git a/data/indices/models-palmos.js b/data/indices/models-palmos.js index 394d0ef..b04de29 100644 --- a/data/indices/models-palmos.js +++ b/data/indices/models-palmos.js @@ -1,118 +1,73 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.PALMOS_INDEX = { - - '@AC': - [ - 'acer-momo', - 'acer-coco', - 'Acea-MZ01', - 'Acea-PD01', - ], - '@GR': - [ - 'grmn-3200', - 'grmn-3600', - 'grmn-3700', - ], - '@GS': - [ - 'gsRl-zicn', - 'gsRl-zcn2', - 'gsRl-zcn5', - ], - '@HS': - [ - 'hspr-H101', - 'hspr-H102', - ], - '@KW': - [ - 'kwc.-7135', - ], - '@PA': - [ - 'Palm-D061', - 'Palm-D062', - 'Palm-TunX', - 'Palm-stuj', - 'Palm-hbbs', - 'Palm-trnd', - 'Palm-ecty', - 'Palm-lith', - 'Palm-sky1', - 'Palm-D053', - 'Palm-D052', - 'Palm-D060', - 'Palm-MT64', - 'Palm-Cct1', - 'Palm-Zir4', - 'Palm-Frg1', - 'Palm-Frg2', - 'Palm-Arz1', - 'Palm-TnT5', - 'Palm-atc1', - 'Palm-D050', - 'Palm-Cubs', - 'Palm-Zi21', - 'Palm-D051', - 'Palm-Zi22', - 'Palm-Zpth', - 'Palm-Zi72', - ], - '@QC': - [ - 'qcom-qc20', - ], - '@SM': - [ - 'smsn-phix', - 'smsn-Phx2', - 'smsn-blch', - 'smsn-BLFM', - 'smsn-glxy', - ], - '@SO': - [ - 'sony-ystn', - 'sony-ysmt', - 'sony-ysm2', - 'sony-nsca', - 'sony-nsc2', - 'sony-vnce', - 'sony-mdna', - 'sony-npls', - 'sony-rdwd', - 'sony-crdb', - 'sony-tldo', - 'sony-mdrd', - 'sony-grnd', - 'sony-frta', - 'sony-cocs', - 'sony-glps', - 'sony-mcnd', - 'sony-vrna', - 'sony-atom', - 'sony-goha', - 'sony-leia', - 'sony-hwai', - 'sony-goku', - 'sony-luke', - 'sony-amno', - 'sony-prmr', - 'sony-ancy', - ], - '@TP': - [ - 'Tpwv-Rdog', + '@AC': ['acer-momo', 'acer-coco', 'Acea-MZ01', 'Acea-PD01'], + '@GR': ['grmn-3200', 'grmn-3600', 'grmn-3700'], + '@GS': ['gsRl-zicn', 'gsRl-zcn2', 'gsRl-zcn5'], + '@HS': ['hspr-H101', 'hspr-H102'], + '@KW': ['kwc.-7135'], + '@PA': [ + 'Palm-D061', + 'Palm-D062', + 'Palm-TunX', + 'Palm-stuj', + 'Palm-hbbs', + 'Palm-trnd', + 'Palm-ecty', + 'Palm-lith', + 'Palm-sky1', + 'Palm-D053', + 'Palm-D052', + 'Palm-D060', + 'Palm-MT64', + 'Palm-Cct1', + 'Palm-Zir4', + 'Palm-Frg1', + 'Palm-Frg2', + 'Palm-Arz1', + 'Palm-TnT5', + 'Palm-atc1', + 'Palm-D050', + 'Palm-Cubs', + 'Palm-Zi21', + 'Palm-D051', + 'Palm-Zi22', + 'Palm-Zpth', + 'Palm-Zi72', ], - '@TR': - [ - 'trgp-trg1', - 'trgp-trg2', + '@QC': ['qcom-qc20'], + '@SM': ['smsn-phix', 'smsn-Phx2', 'smsn-blch', 'smsn-BLFM', 'smsn-glxy'], + '@SO': [ + 'sony-ystn', + 'sony-ysmt', + 'sony-ysm2', + 'sony-nsca', + 'sony-nsc2', + 'sony-vnce', + 'sony-mdna', + 'sony-npls', + 'sony-rdwd', + 'sony-crdb', + 'sony-tldo', + 'sony-mdrd', + 'sony-grnd', + 'sony-frta', + 'sony-cocs', + 'sony-glps', + 'sony-mcnd', + 'sony-vrna', + 'sony-atom', + 'sony-goha', + 'sony-leia', + 'sony-hwai', + 'sony-goku', + 'sony-luke', + 'sony-amno', + 'sony-prmr', + 'sony-ancy', ], + '@TP': ['Tpwv-Rdog'], + '@TR': ['trgp-trg1', 'trgp-trg2'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-s30plus.js b/data/indices/models-s30plus.js index 487a026..9d6c3e0 100644 --- a/data/indices/models-s30plus.js +++ b/data/indices/models-s30plus.js @@ -1,23 +1,9 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.S30PLUS_INDEX = { - - '@21': - [ - 215, - ], - '@22': - [ - 220, - 222, - 225, - ], - '@23': - [ - 230, - ], + '@21': [215], + '@22': [220, 222, 225], + '@23': [230], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-s40.js b/data/indices/models-s40.js index 2e04d5e..cd75b29 100644 --- a/data/indices/models-s40.js +++ b/data/indices/models-s40.js @@ -1,252 +1,61 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.S40_INDEX = { - - '@10': - [ - 109, - ], - '@11': - [ - 110, - 111, - '111.1', - 112, - 114, - ], - '@16': - [ - '1682c', - ], - '@20': - [ - 200, - 201, - 202, - 203, - 205, - '205.1', - '205.3', - 206, - '206.1', - 208, - '208.1', - '208.2', - '208.3', - '208.4', - 2055, - 2060, - ], - '@21': - [ - 210, - '210.2', - '210.3', - '210.4', - '210.5', - ], - '@22': - [ - '2220s!', - ], - '@23': - [ - '2320c!', - '2322c!', - '2323c!', - '2330c!', - ], - '@26': - [ - '2600c!', - '2680s!', - 2690, - 2692, - ], - '@27': - [ - '2700c!', - '2710c', - '2710c-2', - '2720a!', - '2730c!', - ], - '@30': - [ - 300, - 301, - '301.1', - 302, - 303, - 305, - 306, - 308, - 309, - 3020, - ], - '@31': - [ - 310, - 311, - '3109c', - '3110c', - '3120c', - '3120classic', - ], - '@32': - [ - '3208c', - ], - '@35': - [ - '3500c', - '3555b', - ], - '@36': - [ - '3600s', - '3610a', - ], - '@37': - [ - '3710fold', - '3720c', - ], - '@50': - [ - '5000!', - ], - '@51': - [ - 515, - '515.2', - '5130!', - '5130c!', - 5132, - ], - '@52': - [ - '5200!', - '5220!', - ], - '@53': - [ - '5300!', - '5310!', - 5330, - '5330-1d', - ], - '@56': - [ - '5610d!', - ], - '@60': - [ - '6070!', - ], - '@62': - [ - '6208c', - '6212c', - '6260s!', - '6230i!', - 6233, - 6234, - '6263!', - 6280, - ], - '@63': - [ - 6300, - '6300i', - 6301, - '6303c', - '6303classic', - '6303iclassic', - '6303ci', - 6350, - ], - '@65': - [ - '6500s!', - ], - '@66': - [ - '6600f!', - '6600s!', - '6600i!', - ], - '@67': - [ - '6700c!', - '6750c', - ], - '@70': - [ - '7070!', - ], - '@71': - [ - '7100s!', - ], - '@72': - [ - '7210s!', - '7210Supernova!', - '7230!', - ], - '@73': - [ - '7310c!', - ], - '@75': - [ - 7500, - '7510Supernova!', - ], - '@76': - [ - '7610Supernova!', - ], - '@88': - [ - '8800!', - ], - '@C1': - [ - 'C1-01!', - 'C1-02!', - 'C1-03!', - ], - '@C2': - [ - 'C2-00!', - 'C2-01!', - 'C2-02!', - 'C2-03!', - 'C2-05!', - 'C2-06!', - ], - '@C3': - [ - 'C3-00!', - 'C3-01!', - ], - '@X2': - [ - 'X2-00!', - 'X2-01!', - 'X2-02!', - 'X2-03!', - 'X2-05!', - ], - '@X3': - [ - 'X3-00!', - 'X3-02!', - ], + '@10': [109], + '@11': [110, 111, '111.1', 112, 114], + '@16': ['1682c'], + '@20': [ + 200, + 201, + 202, + 203, + 205, + '205.1', + '205.3', + 206, + '206.1', + 208, + '208.1', + '208.2', + '208.3', + '208.4', + 2055, + 2060, + ], + '@21': [210, '210.2', '210.3', '210.4', '210.5'], + '@22': ['2220s!'], + '@23': ['2320c!', '2322c!', '2323c!', '2330c!'], + '@26': ['2600c!', '2680s!', 2690, 2692], + '@27': ['2700c!', '2710c', '2710c-2', '2720a!', '2730c!'], + '@30': [300, 301, '301.1', 302, 303, 305, 306, 308, 309, 3020], + '@31': [310, 311, '3109c', '3110c', '3120c', '3120classic'], + '@32': ['3208c'], + '@35': ['3500c', '3555b'], + '@36': ['3600s', '3610a'], + '@37': ['3710fold', '3720c'], + '@50': ['5000!'], + '@51': [515, '515.2', '5130!', '5130c!', 5132], + '@52': ['5200!', '5220!'], + '@53': ['5300!', '5310!', 5330, '5330-1d'], + '@56': ['5610d!'], + '@60': ['6070!'], + '@62': ['6208c', '6212c', '6260s!', '6230i!', 6233, 6234, '6263!', 6280], + '@63': [6300, '6300i', 6301, '6303c', '6303classic', '6303iclassic', '6303ci', 6350], + '@65': ['6500s!'], + '@66': ['6600f!', '6600s!', '6600i!'], + '@67': ['6700c!', '6750c'], + '@70': ['7070!'], + '@71': ['7100s!'], + '@72': ['7210s!', '7210Supernova!', '7230!'], + '@73': ['7310c!'], + '@75': [7500, '7510Supernova!'], + '@76': ['7610Supernova!'], + '@88': ['8800!'], + '@C1': ['C1-01!', 'C1-02!', 'C1-03!'], + '@C2': ['C2-00!', 'C2-01!', 'C2-02!', 'C2-03!', 'C2-05!', 'C2-06!'], + '@C3': ['C3-00!', 'C3-01!'], + '@X2': ['X2-00!', 'X2-01!', 'X2-02!', 'X2-03!', 'X2-05!'], + '@X3': ['X3-00!', 'X3-02!'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-symbian.js b/data/indices/models-symbian.js index a464e24..19dd603 100644 --- a/data/indices/models-symbian.js +++ b/data/indices/models-symbian.js @@ -1,347 +1,117 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.SYMBIAN_INDEX = { - - '@': - [ - '(?i)U1(a|i|iv)?$!', - '(?i)U5(a|i|iv)?$!', - '(?i)U8(a|i)?$!', - ], - '@32': - [ - 3230, - 3250, - ], - '@36': - [ - 3650, - 3660, - ], - '@50': - [ - 500, - ], - '@52': - [ - 5228, - '5233!', - '5230!', - 5232, - '5235!', - 5236, - 5238, - 5250, - ], - '@53': - [ - '5320!', - ], - '@55': - [ - '5500d!', - '5530!', - ], - '@56': - [ - '5630!', - ], - '@57': - [ - '5700!', - '5730!', - ], - '@58': - [ - '5800!', - ], - '@60': - [ - 600, - 603, - ], - '@61': - [ - '6110Navigator', - '6120c!', - '6121c!', - '6122c!', - '6124c', - ], - '@62': - [ - '6210 ?Navigator!', - '6220c!', - 6260, - '6290!', - ], - '@66': - [ - 6600, - 6630, - '6650d!', - 6670, - 6680, - 6681, - ], - '@67': - [ - '6700s', - '6700s-1c', - 6708, - '6710s', - '6720c!', - '6730c!', - '6760s!', - 6788, - '6788i', - '6790s-1b!', - '6790s-1c!', - ], - '@70': - [ - 700, - 701, - '702T', - ], - '@76': - [ - 7610, - 7650, - 7660, - ], - '@80': - [ - '801T', - 808, - '808PureView', - '808 PureView', - ], - '@A1': - [ - 'A1000', - ], - '@A9': - [ - 'A920', - 'A925', - ], - '@BE': - [ - 'BenQ P30', - 'BenQ P31', - ], - '@C5': - [ - 'C5-00!', - 'C5-01', - 'C5-03!', - 'C5-04', - 'C5-05', - 'C5-06', - ], - '@C6': - [ - 'C6-00!', - 'C6-01!', - ], - '@C7': - [ - 'C7-00!', - ], - '@CO': - [ - 'ConstellationT', - 'ConstellationQuest', - ], - '@E-': - [ - 'E-90-1', - ], - '@E5': - [ - 'E5-00!', - 'E50(-[1-9])?$!', - 'E51(-[1-9])?$!', - 'E52(-[1-9])?$!', - 'E55(-[1-9])?$!', - ], - '@E6': - [ - 'E6', - 'E6-00', - 'E60(-[1-9])?$!', - 'E61i!', - 'E61(-[1-9])?$!', - 'E62(-[1-9])?$!', - 'E63(-[1-9])?$!', - 'E65(-[1-9])?$!', - 'E66(-[1-9])?$!', - ], - '@E7': - [ - 'E7-00', - 'E70(-[1-9])?$!', - 'E71x', - 'E71(-[1-9])?$!', - 'E72(-[1-9])?$!', - 'E73(-[1-9])?$!', - 'E75(-[1-9])?$!', - ], - '@E9': - [ - 'E90(-[1-9])?$!', - ], - '@G7': - [ - 'G700', - ], - '@G9': - [ - 'G900', - ], - '@I7': - [ - 'I7710', - ], - '@I8': - [ - 'I8510', - 'I8910', - ], - '@LG': - [ - 'LG KS10', - 'LGKT610', - 'LGKT615', - ], - '@M1': - [ - 'M1000', - ], - '@M6': - [ - 'M600i', - ], - '@N-': - [ - 'N-Gage', - 'N-GageQD', - ], - '@N5': - [ - 'N5233!', - ], - '@N7': - [ - 'N70(-[1-9])?$!', - 'N71(-[1-9])?$!', - 'N72(-[1-9])?$!', - 'N73(-[1-9])?$!', - 'N75(-[1-9])?$!', - 'N76(-[1-9])?$!', - 'N77(-[1-9])?$!', - 'N78(-[1-9])?$!', - 'N79(-[1-9])?$!', - ], - '@N8': - [ - 'N8-00', - 'N80(-[1-9])?$!', - 'N81(-[1-9])?$!', - 'N82(-[1-9])?$!', - 'N85(-[1-9])?$!', - 'N86(-[1-9])?$!', - 'N86 ?8MP$!', - ], - '@N9': - [ - 'N90(-[1-9])?$!', - 'N91(-[1-9])?$!', - 'N92(-[1-9])?$!', - 'N93(-[1-9])?$!', - 'N93i', - 'N95(-[1-9])?$!', - 'N95[ -]8GB(-[1-9])?!', - 'N96(-[1-9])?$!', - 'N97(-[1-3])?$!', - 'N97i', - 'N97(-[4-5])?$!', - 'N97 ?mini!', - ], - '@NO': - [ - 'Nokia N81', - 'Nokia N81 8GB', - ], - '@OR': - [ - 'Oro', - ], - '@P1': - [ - 'P1i', - ], - '@P9': - [ - 'P910i', - 'P990i', - ], - '@PA': - [ - 'Panasonic-X700', - 'Panasonic-X800', - ], - '@RI': - [ - 'RIZR-Z8', - 'RIZR-Z10', - ], - '@SG': - [ - 'SGH-D720', - 'SGH-D728', - 'SGH-D730', - 'SGH-i400!', - 'SGH-i408!', - 'SGH-i450!', - 'SGH-i455!', - 'SGH-i458!', - 'SGH-i520!', - 'SGH-i550!', - 'SGH-i560!', - 'SGH-i568!', - 'SGH-i570!', - 'SGH-G810', - ], - '@T7': - [ - 'T7-00', - ], - '@U': - [ - 'U', - ], - '@W9': - [ - 'W950i', - 'W960i', - ], - '@X5': - [ - 'X5-00', - 'X5-01', - ], - '@X6': - [ - 'X6-00!', - ], - '@X7': - [ - 'X7-00!', - ], + '@': ['(?i)U1(a|i|iv)?$!', '(?i)U5(a|i|iv)?$!', '(?i)U8(a|i)?$!'], + '@32': [3230, 3250], + '@36': [3650, 3660], + '@50': [500], + '@52': [5228, '5233!', '5230!', 5232, '5235!', 5236, 5238, 5250], + '@53': ['5320!'], + '@55': ['5500d!', '5530!'], + '@56': ['5630!'], + '@57': ['5700!', '5730!'], + '@58': ['5800!'], + '@60': [600, 603], + '@61': ['6110Navigator', '6120c!', '6121c!', '6122c!', '6124c'], + '@62': ['6210 ?Navigator!', '6220c!', 6260, '6290!'], + '@66': [6600, 6630, '6650d!', 6670, 6680, 6681], + '@67': ['6700s', '6700s-1c', 6708, '6710s', '6720c!', '6730c!', '6760s!', 6788, '6788i', '6790s-1b!', '6790s-1c!'], + '@70': [700, 701, '702T'], + '@76': [7610, 7650, 7660], + '@80': ['801T', 808, '808PureView', '808 PureView'], + '@A1': ['A1000'], + '@A9': ['A920', 'A925'], + '@BE': ['BenQ P30', 'BenQ P31'], + '@C5': ['C5-00!', 'C5-01', 'C5-03!', 'C5-04', 'C5-05', 'C5-06'], + '@C6': ['C6-00!', 'C6-01!'], + '@C7': ['C7-00!'], + '@CO': ['ConstellationT', 'ConstellationQuest'], + '@E-': ['E-90-1'], + '@E5': ['E5-00!', 'E50(-[1-9])?$!', 'E51(-[1-9])?$!', 'E52(-[1-9])?$!', 'E55(-[1-9])?$!'], + '@E6': [ + 'E6', + 'E6-00', + 'E60(-[1-9])?$!', + 'E61i!', + 'E61(-[1-9])?$!', + 'E62(-[1-9])?$!', + 'E63(-[1-9])?$!', + 'E65(-[1-9])?$!', + 'E66(-[1-9])?$!', + ], + '@E7': ['E7-00', 'E70(-[1-9])?$!', 'E71x', 'E71(-[1-9])?$!', 'E72(-[1-9])?$!', 'E73(-[1-9])?$!', 'E75(-[1-9])?$!'], + '@E9': ['E90(-[1-9])?$!'], + '@G7': ['G700'], + '@G9': ['G900'], + '@I7': ['I7710'], + '@I8': ['I8510', 'I8910'], + '@LG': ['LG KS10', 'LGKT610', 'LGKT615'], + '@M1': ['M1000'], + '@M6': ['M600i'], + '@N-': ['N-Gage', 'N-GageQD'], + '@N5': ['N5233!'], + '@N7': [ + 'N70(-[1-9])?$!', + 'N71(-[1-9])?$!', + 'N72(-[1-9])?$!', + 'N73(-[1-9])?$!', + 'N75(-[1-9])?$!', + 'N76(-[1-9])?$!', + 'N77(-[1-9])?$!', + 'N78(-[1-9])?$!', + 'N79(-[1-9])?$!', + ], + '@N8': [ + 'N8-00', + 'N80(-[1-9])?$!', + 'N81(-[1-9])?$!', + 'N82(-[1-9])?$!', + 'N85(-[1-9])?$!', + 'N86(-[1-9])?$!', + 'N86 ?8MP$!', + ], + '@N9': [ + 'N90(-[1-9])?$!', + 'N91(-[1-9])?$!', + 'N92(-[1-9])?$!', + 'N93(-[1-9])?$!', + 'N93i', + 'N95(-[1-9])?$!', + 'N95[ -]8GB(-[1-9])?!', + 'N96(-[1-9])?$!', + 'N97(-[1-3])?$!', + 'N97i', + 'N97(-[4-5])?$!', + 'N97 ?mini!', + ], + '@NO': ['Nokia N81', 'Nokia N81 8GB'], + '@OR': ['Oro'], + '@P1': ['P1i'], + '@P9': ['P910i', 'P990i'], + '@PA': ['Panasonic-X700', 'Panasonic-X800'], + '@RI': ['RIZR-Z8', 'RIZR-Z10'], + '@SG': [ + 'SGH-D720', + 'SGH-D728', + 'SGH-D730', + 'SGH-i400!', + 'SGH-i408!', + 'SGH-i450!', + 'SGH-i455!', + 'SGH-i458!', + 'SGH-i520!', + 'SGH-i550!', + 'SGH-i560!', + 'SGH-i568!', + 'SGH-i570!', + 'SGH-G810', + ], + '@T7': ['T7-00'], + '@U': ['U'], + '@W9': ['W950i', 'W960i'], + '@X5': ['X5-00', 'X5-01'], + '@X6': ['X6-00!'], + '@X7': ['X7-00!'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-tizen.js b/data/indices/models-tizen.js index 1c3d6cc..19bca84 100644 --- a/data/indices/models-tizen.js +++ b/data/indices/models-tizen.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.TIZEN_INDEX = { '@AR': ['(ARMV7 )?SM-Z9005!'], '@BA': ['Baltic'], @@ -41,12 +39,12 @@ exports.TIZEN_INDEX = { 'SM-R760!', 'SM-R765!', 'SM-R770!', - 'SM-R805!' + 'SM-R805!', ], '@TI': ['TIZEN SM-Z130!', 'TIZEN SM-Z300!', 'TIZEN Emulator'], '@TM': ['TM1'], '@XU': ['xu3'], - '@Z3': ['Z3 Z910F'] + '@Z3': ['Z3 Z910F'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-touchwiz.js b/data/indices/models-touchwiz.js index 6f36070..b985922 100644 --- a/data/indices/models-touchwiz.js +++ b/data/indices/models-touchwiz.js @@ -1,58 +1,45 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.TOUCHWIZ_INDEX = { - - '@GT': - [ - 'GT-B5310!', - 'GT-B3410', - 'GT-B7722', - 'GT-C3262', - 'GT-C33(00|03)!', - 'GT-C3312R', - 'GT-C3312!', - 'GT-C3330', - 'GT-C6712', - 'GT-E2652!', - 'GT-I6230!', - 'GT-I6712!', - 'GT-M3710', - 'GT-M5650', - 'GT-S3370!', - 'GT-S36(50|53)!', - 'GT-S3770!', - 'GT-S38(00|02)!', - 'GT-S3850', - 'GT-S5220', - 'GT-S5222R', - 'GT-S5222', - 'GT-S52(30|33)!', - 'GT-S5260P', - 'GT-S52(60|63)!', - 'GT-S5292R', - 'GT-S5292', - 'GT-S5560!', - 'GT-S5600', - 'GT-S5603', - 'GT-S5620!', - 'GT-S5680', - 'GT-S7550', - 'GT-S8000c', - 'GT-S8003', - ], - '@S8': - [ - 'S80(00|03)!', - ], - '@SG': - [ - 'SGH-A597', - 'SGH-F480', - 'SGH-F480I', - 'SGH-T528g', + '@GT': [ + 'GT-B5310!', + 'GT-B3410', + 'GT-B7722', + 'GT-C3262', + 'GT-C33(00|03)!', + 'GT-C3312R', + 'GT-C3312!', + 'GT-C3330', + 'GT-C6712', + 'GT-E2652!', + 'GT-I6230!', + 'GT-I6712!', + 'GT-M3710', + 'GT-M5650', + 'GT-S3370!', + 'GT-S36(50|53)!', + 'GT-S3770!', + 'GT-S38(00|02)!', + 'GT-S3850', + 'GT-S5220', + 'GT-S5222R', + 'GT-S5222', + 'GT-S52(30|33)!', + 'GT-S5260P', + 'GT-S52(60|63)!', + 'GT-S5292R', + 'GT-S5292', + 'GT-S5560!', + 'GT-S5600', + 'GT-S5603', + 'GT-S5620!', + 'GT-S5680', + 'GT-S7550', + 'GT-S8000c', + 'GT-S8003', ], + '@S8': ['S80(00|03)!'], + '@SG': ['SGH-A597', 'SGH-F480', 'SGH-F480I', 'SGH-T528g'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-wm.js b/data/indices/models-wm.js index 7863506..ded4c5b 100644 --- a/data/indices/models-wm.js +++ b/data/indices/models-wm.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.WM_INDEX = { '@': [ '.*T5555!', @@ -13,7 +11,7 @@ exports.WM_INDEX = { '.*T82(82|83)!', '.*T73(73|80)!', '.*T7272!', - '.*T2223!' + '.*T2223!', ], '@-G': ['-GalaxyII', '-GalaxyMini'], '@-P': ['-P525!', '-P526!', '-P527!', '-P552w!', '-P552!', '-P565!', '-P735!'], @@ -44,7 +42,7 @@ exports.WM_INDEX = { 'GT-B7350', 'GT-B7610', 'GT-C6625', - 'GT-I8000!' + 'GT-I8000!', ], '@GW': ['GW550', 'GW825'], '@H-': ['H-21'], @@ -62,7 +60,7 @@ exports.WM_INDEX = { 'HPiPAQDataMessenger!', 'HPiPAQVoiceMessenger!', 'HPiPAQGlisten', - 'HP KB1' + 'HP KB1', ], '@HT': [ 'HTC8500', @@ -130,7 +128,7 @@ exports.WM_INDEX = { 'HTC VDA V', 'HTC v1510', 'HTC VPACompactIV', - 'HT01A' + 'HT01A', ], '@I-': [ 'i-mate JAMA', @@ -144,7 +142,7 @@ exports.WM_INDEX = { 'i-mate 6150', 'i-mate 8150!', 'i-mate 8502', - 'i-mate 9502!' + 'i-mate 9502!', ], '@K-': ['K-Touch W366!'], '@KD': ['KDDI-HT01'], @@ -180,7 +178,7 @@ exports.WM_INDEX = { 'SCH-i770!', 'SCHI910!', 'SCH-i920', - 'SC-01B' + 'SC-01B', ], '@SF': ['SFR v3650!'], '@SG': [ @@ -196,7 +194,7 @@ exports.WM_INDEX = { 'SGH-i728', 'SGH-i780!', 'SGH-i900!', - 'SGH-i908E' + 'SGH-i908E', ], '@SI': ['SIE-SX66', 'sigmarion3'], '@SP': [ @@ -220,7 +218,7 @@ exports.WM_INDEX = { 'Sprint PPC6850SP', 'Sprint MP6850SP', 'Sprint MP6900SP', - 'Sprint MP6950SP' + 'Sprint MP6950SP', ], '@T-': ['T-Mobile Atlas', 'T-Mobile Dash', 'T-Mobile LEO', 'T-Mobile Cleopatra', 'T-01A!', 'T-01B!'], '@T5': ['T5388'], @@ -239,7 +237,7 @@ exports.WM_INDEX = { '@X2': ['X2', 'X2[ia]!'], '@XD': ['Xda diamond', 'Xda neo', 'Xda nova', 'Xda orbit', 'Xda terra', 'Xda trion'], '@XV': ['XV6175!', 'XV6850!', 'XV6875!', 'XV6900', 'XV6975'], - '@ZT': ['ZTE E N72', 'ZTE E X70'] + '@ZT': ['ZTE E N72', 'ZTE E X70'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/indices/models-wp.js b/data/indices/models-wp.js index 5919d53..75a4233 100644 --- a/data/indices/models-wp.js +++ b/data/indices/models-wp.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.WP_INDEX = { '@': [ '(HD7|.*T92(92|95|96))!', @@ -11,7 +9,7 @@ exports.WP_INDEX = { '((7 )?Trophy|.*T8686)!', '(Radar|.*C110e)!', '.*X310e!', - '(Lumia ?|Nokia ?)?[0-9]{3,4}!!' + '(Lumia ?|Nokia ?)?[0-9]{3,4}!!', ], '@- ': ['- BUSH Windows Phone', '- Lazer SMART WIND'], '@0P': ['0P6B140', '0P6B180'], @@ -24,7 +22,7 @@ exports.WP_INDEX = { '7 HTC MOZART', '(7 Pro|.*T75(75|76))!', '7 Surround', - '((7 )?Trophy|.*T8686)!' + '((7 )?Trophy|.*T8686)!', ], '@75': ['75eL0N'], '@8S': ['8S', '8S by HTC'], @@ -70,7 +68,7 @@ exports.WP_INDEX = { 'HTC6990LVW 4G', 'htc 8x', 'HTCPO881', - 'HTC6995LVW' + 'HTC6995LVW', ], '@HU': ['HUAWEI Ascend W1!', 'HUAWEI ?W1-(C00|U00|U34)!', 'HUAWEI ?W2-(T00|T01|U00|U051)!'], '@I9': ['I917'], @@ -98,7 +96,7 @@ exports.WP_INDEX = { 'MOBILE Alpha View', 'Mondrian', '((7 )?Mozart|.*T86(97|98))!', - 'MouseComputer MADOSMA Q501' + 'MouseComputer MADOSMA Q501', ], '@MW': ['MWP6885', 'mwp6985', 'MWP-47!'], '@N8': ['N880e!'], @@ -165,10 +163,10 @@ exports.WP_INDEX = { 'Win-Q900S', 'Win Q1000', 'WinQ1000', - 'Windows!' + 'Windows!', ], '@WP': ['WP 4.7'], - '@XX': ['XXX!'] + '@XX': ['XXX!'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/manufacturer-names.js b/data/manufacturer-names.js index b7f284f..50a775f 100644 --- a/data/manufacturer-names.js +++ b/data/manufacturer-names.js @@ -2,38 +2,38 @@ module.exports = { MANUFACTURERS: { GENERIC: { 'LG Electronics': 'LG', - 'LGE': 'LG', - 'TOSHIBA': 'Toshiba', - 'SAMSUNG': 'Samsung', - 'SHARP': 'Sharp', - 'SONY': 'Sony', + LGE: 'LG', + TOSHIBA: 'Toshiba', + SAMSUNG: 'Samsung', + SHARP: 'Sharp', + SONY: 'Sony', }, TELEVISION: { - 'ALDISUED': 'Aldi', - 'BANGOLUFSEN': 'Bang & Olufsen', - 'CHANGHONG': 'Changhong', - 'changhong': 'Changhong', - 'FINLUX': 'Finlux', + ALDISUED: 'Aldi', + BANGOLUFSEN: 'Bang & Olufsen', + CHANGHONG: 'Changhong', + changhong: 'Changhong', + FINLUX: 'Finlux', 'HHW HAIER': 'Haier', - 'HITACHI': 'Hitachi', - 'HYUNDAI': 'Hyundai', - 'inverto': 'Inverto', - 'LOEWE': 'Loewe', - 'MEDION': 'Medion', + HITACHI: 'Hitachi', + HYUNDAI: 'Hyundai', + inverto: 'Inverto', + LOEWE: 'Loewe', + MEDION: 'Medion', 'Nagra OpenTV': 'NAGRA', - 'PANASONIC': 'Panasonic', - 'Sagemcom_Broadband_SAS': 'Sagemcom', - 'SERAPHIC': 'Seraphic', - 'selevision': 'Selevision', - 'smart': 'Smart', - 'Sky_worth': 'Skyworth', + PANASONIC: 'Panasonic', + Sagemcom_Broadband_SAS: 'Sagemcom', + SERAPHIC: 'Seraphic', + selevision: 'Selevision', + smart: 'Smart', + Sky_worth: 'Skyworth', 'TechnoTrend Goerler': 'TechnoTrend', 'TechnoTrend Goerler/Kathrein': 'TechnoTrend', - 'TELEFUNKEN': 'Telefunken', - 'THOM': 'Thomson', - 'THOMSON': 'Thomson', - 'tv2n': 'TV2N', - 'VESTEL': 'Vestel', + TELEFUNKEN: 'Telefunken', + THOM: 'Thomson', + THOMSON: 'Thomson', + tv2n: 'TV2N', + VESTEL: 'Vestel', }, }, }; diff --git a/data/models-android.js b/data/models-android.js index 9bf3234..e5da242 100644 --- a/data/models-android.js +++ b/data/models-android.js @@ -271,6 +271,14 @@ exports.ANDROID_MODELS = { 'Pixel 3 XL': ['Google', 'Pixel 3 XL'], 'Pixel 3a': ['Google', 'Pixel 3a'], 'Pixel 3a XL': ['Google', 'Pixel 3a XL'], + 'Pixel 4': ['Google', 'Pixel 4'], + 'Pixel 4a': ['Google', 'Pixel 4a'], + 'Pixel 4a (5G)': ['Google', 'Pixel 4a 5G'], + 'Pixel 4 XL': ['Google', 'Pixel 4 XL'], + 'Pixel 5': ['Google', 'Pixel 5'], + 'Pixel 5a': ['Google', 'Pixel 5a'], + 'Pixel 6': ['Google', 'Pixel 6'], + 'Pixel 6 Pro': ['Google', 'Pixel 6 Pro'], /* Google Edition */ 'HTC One': ['HTC', 'One (Google Edition)'], @@ -317,11 +325,10 @@ exports.ANDROID_MODELS = { /* Chromebook */ - 'Acer Chromebook R11': ['Acer', 'Chromebook R11', DeviceType.DESKTOP], - 'Acer Chromebook R11 (CB5-132T / C738T)': ['Acer', 'Chromebook R11', DeviceType.DESKTOP], - 'Acer Chromebook 15 (CB3-532)': ['Acer', 'Chromebook 15', DeviceType.DESKTOP], - 'ASUS Chromebook Flip C100PA': ['Asus', 'Chromebook Flip', DeviceType.DESKTOP], - 'ASUS Chromebook Flip C302': ['Asus', 'Chromebook Flip', DeviceType.DESKTOP], + 'Acer Chromebook R11!': ['Acer', 'Chromebook R11', DeviceType.DESKTOP], + 'Acer Chromebook R13!': ['Acer', 'Chromebook R13', DeviceType.DESKTOP], + 'Acer Chromebook 15!': ['Acer', 'Chromebook 15', DeviceType.DESKTOP], + 'ASUS Chromebook Flip!': ['Asus', 'Chromebook Flip', DeviceType.DESKTOP], 'Google Chromebook Pixel (2015)': ['Google', 'Chromebook Pixel (2015)', DeviceType.DESKTOP], 'HP Chromebook x360 11 G1 EE': ['Google', 'Chromebook x360 11 G1 EE', DeviceType.DESKTOP], 'Samsung Chromebook 3': ['Samsung', 'Chromebook 3', DeviceType.DESKTOP], @@ -482,7 +489,7 @@ exports.ANDROID_MODELS = { QS9715F: ['3Q', 'Qoo! Surf Tablet QS9715F', DeviceType.TABLET], QS9719D: ['3Q', 'Qoo! Surf Tablet QS9719D', DeviceType.TABLET], QS1023H: ['3Q', 'Qoo! Surf Tablet QS1023H', DeviceType.TABLET], - VM0711A: ['3Q', 'Qoo! Surf Tablet VM0711A', DeviceType.TABLET] + VM0711A: ['3Q', 'Qoo! Surf Tablet VM0711A', DeviceType.TABLET], }, 'BioniQ!!': { @@ -490,7 +497,7 @@ exports.ANDROID_MODELS = { BioniQ700HX: ['a-rival', 'BioniQ 700 HX', DeviceType.TABLET], 'BioniQ 800': ['a-rival', 'BioniQ 800', DeviceType.TABLET], 'BioniQ 1001': ['a-rival', 'BioniQ 1001', DeviceType.TABLET], - 'BioniQ 8008': ['a-rival', 'BioniQ 8008', DeviceType.TABLET] + 'BioniQ 8008': ['a-rival', 'BioniQ 8008', DeviceType.TABLET], }, 'RTC-700A': ['Aaeon', 'RTC-700A', DeviceType.TABLET], @@ -510,7 +517,7 @@ exports.ANDROID_MODELS = { A511: ['Acer', 'Iconia Tab A511', DeviceType.TABLET], A700: ['Acer', 'Iconia Tab A700', DeviceType.TABLET], A701: ['Acer', 'Iconia Tab A701', DeviceType.TABLET], - A800: ['Acer', 'Iconia Tab A800', DeviceType.TABLET] + A800: ['Acer', 'Iconia Tab A800', DeviceType.TABLET], }, P2A700: ['Acer', 'Iconia Tab A700', DeviceType.TABLET], @@ -529,7 +536,7 @@ exports.ANDROID_MODELS = { 'A1-840FHD': ['Acer', 'Iconia Tab 8 A1-840 FHD', DeviceType.TABLET], 'A1-841': ['Acer', 'Iconia Tab 8 A1-841', DeviceType.TABLET], 'A1-850': ['Acer', 'Iconia One 8 A1-850', DeviceType.TABLET], - 'A1-860': ['Acer', 'Iconia Tab 8 A1-860', DeviceType.TABLET] + 'A1-860': ['Acer', 'Iconia Tab 8 A1-860', DeviceType.TABLET], }, 'A3-A[0-9]{2,2}!!': { @@ -538,7 +545,7 @@ exports.ANDROID_MODELS = { 'A3-A20': ['Acer', 'Iconia Tab 10 A3-A20', DeviceType.TABLET], 'A3-A20FHD': ['Acer', 'Iconia Tab 10 A3-A20 FHD', DeviceType.TABLET], 'A3-A30': ['Acer', 'Iconia Tab 10 A3-A30', DeviceType.TABLET], - 'A3-A40': ['Acer', 'Iconia Tab 10 A3-A40', DeviceType.TABLET] + 'A3-A40': ['Acer', 'Iconia Tab 10 A3-A40', DeviceType.TABLET], }, 'B1-[A0-9][A0-9]{2,2}!!': { @@ -562,7 +569,7 @@ exports.ANDROID_MODELS = { 'B1-820': ['Acer', 'Iconia One 8 B1-820', DeviceType.TABLET], 'B1-830': ['Acer', 'Iconia One 8 B1-830', DeviceType.TABLET], 'B1-850': ['Acer', 'Iconia One 8 B1-850', DeviceType.TABLET], - 'B1-860A': ['Acer', 'Iconia One 8 B1-860A', DeviceType.TABLET] + 'B1-860A': ['Acer', 'Iconia One 8 B1-860A', DeviceType.TABLET], }, 'B3-A10': ['Acer', 'Iconia One 10 B3-A10', DeviceType.TABLET], @@ -572,6 +579,7 @@ exports.ANDROID_MODELS = { 'B3-A32': ['Acer', 'Iconia One 10 B3-A32', DeviceType.TABLET], 'B3-A40': ['Acer', 'Iconia One 10 B3-A40', DeviceType.TABLET], 'B3-A40FHD': ['Acer', 'Iconia One 10 B3-A40FHD', DeviceType.TABLET], + 'B3-A50FHD': ['Acer', 'Iconia One 10 B3-A50FHD', DeviceType.TABLET], 'One 7 M77GHG': ['Acer', 'Iconia One 7 M77GHG', DeviceType.TABLET], TD070VA1: ['Acer', 'Iconia One 7 TD070VA1', DeviceType.TABLET], @@ -580,7 +588,7 @@ exports.ANDROID_MODELS = { 'ICONIA Tab W500': ['Acer', 'Iconia W500', DeviceType.TABLET], 'ICONIA Tab W500P': ['Acer', 'Iconia W500P', DeviceType.TABLET], 'ICONIA Tab W501': ['Acer', 'Iconia W501', DeviceType.TABLET], - 'ICONIA W700': ['Acer', 'Iconia W700', DeviceType.TABLET] + 'ICONIA W700': ['Acer', 'Iconia W700', DeviceType.TABLET], }, 'GT-810': ['Acer', 'Predator 8', DeviceType.TABLET], @@ -598,7 +606,7 @@ exports.ANDROID_MODELS = { E380: ['Acer', 'Liquid E3'], E400: ['Acer', 'beTouch E400'], E600: ['Acer', 'Liquid E600'], - E39: ['Acer', 'Liquid E700'] + E39: ['Acer', 'Liquid E700'], }, I110: ['Acer', 'Liquid C1'], @@ -615,13 +623,13 @@ exports.ANDROID_MODELS = { S55: ['Acer', 'Liquid Jade'], S56: ['Acer', 'Liquid Jade S'], S57: ['Acer', 'Liquid Jade Z'], - S59: ['Acer', 'Liquid X2'] + S59: ['Acer', 'Liquid X2'], }, 'V[0-9]{2,2}0!!': { V360: ['Acer', 'Liquid E1'], V370: ['Acer', 'Liquid E2'], - V380: ['Acer', 'Liquid E3'] + V380: ['Acer', 'Liquid E3'], }, 'Z[0-9]{3,3}!!': { @@ -638,7 +646,7 @@ exports.ANDROID_MODELS = { Z410: ['Acer', 'Liquid Z410'], Z500: ['Acer', 'Liquid Z500'], Z520: ['Acer', 'Liquid Z520'], - Z530: ['Acer', 'Liquid Z530'] + Z530: ['Acer', 'Liquid Z530'], }, Z4: ['Acer', 'Liquid Z4'], @@ -663,7 +671,7 @@ exports.ANDROID_MODELS = { 'LIQUID E3': ['Acer', 'Liquid E3 '], 'Liquid MT': ['Acer', 'Liquid mt'], 'Liquid Metal': ['Acer', 'Liquid mt'], - 'Liquid Z205': ['Acer', 'Liquid Z205'] + 'Liquid Z205': ['Acer', 'Liquid Z205'], }, Stream: ['Acer', 'Stream'], @@ -678,7 +686,7 @@ exports.ANDROID_MODELS = { DA223HQL: ['Acer', 'All-in-One DA223HQL', DeviceType.MONITOR], DA226HQ: ['Acer', 'All-in-One DA226HQ', DeviceType.MONITOR], DA241HL: ['Acer', 'All-in-One DA241HL', DeviceType.MONITOR], - DA245HQL: ['Acer', 'Touch and 3D Monitor DA245HQL', DeviceType.MONITOR] + DA245HQL: ['Acer', 'Touch and 3D Monitor DA245HQL', DeviceType.MONITOR], }, TA272HUL: ['Acer', 'All-in-One TA272HUL', DeviceType.MONITOR], @@ -692,7 +700,7 @@ exports.ANDROID_MODELS = { 'Aspire ([A-Z][0-9]{4,4}[A-Z]?)!': ['Acer', 'Aspire $1', DeviceType.DESKTOP], 'Aspire ([A-Z]{2,2}[0-9]-[0-9]{3,3})!': ['Acer', 'Aspire $1', DeviceType.DESKTOP], 'Aspire one': ['Acer', 'Aspire One', DeviceType.DESKTOP], - 'Aspire one Pro': ['Acer', 'Aspire One Pro', DeviceType.DESKTOP] + 'Aspire one Pro': ['Acer', 'Aspire One Pro', DeviceType.DESKTOP], }, C908: ['Acho', 'C908', DeviceType.TABLET], @@ -778,7 +786,7 @@ exports.ANDROID_MODELS = { 'Numy 3G AX3': ['Ainol', 'Numy 3G AX3', DeviceType.TABLET], 'Numy 3G BW1': ['Ainol', 'Numy 3G BW1', DeviceType.TABLET], 'Numy 3G Vegas': ['Ainol', 'Numy 3G Vegas', DeviceType.TABLET], - 'Numy Note 9': ['Ainol', 'Numy Note 9', DeviceType.TABLET] + 'Numy Note 9': ['Ainol', 'Numy Note 9', DeviceType.TABLET], }, Novo7: ['Ainovo', 'Novo7', DeviceType.TABLET], @@ -979,6 +987,10 @@ exports.ANDROID_MODELS = { '4055[JU]!': ['Alcatel', 'One Touch Pixi 5 (4)'], '4060[A]!': ['Alcatel', 'IDEAL'], '4060[SW]!': ['Alcatel', 'One Touch Pixi 4 (5)'], + '5001[D]!': ['Alcatel', '1V (2019)'], + '5002[DH]!': ['Alcatel', '1B (2020)'], + '5003[D]!': ['Alcatel', '1C (2019)'], + '5009[D]!': ['Alcatel', '1C'], '5010[DEGSUX]!': ['Alcatel', 'One Touch Pixi 4 (5)'], '5011[A]!': ['Alcatel', 'A3 Plus'], '5012[G]!': ['Alcatel', 'One Touch Pixi 4 (5.5)'], @@ -995,9 +1007,10 @@ exports.ANDROID_MODELS = { 'one ?touch 5021!': ['Alcatel', 'One Touch Soleil'], '5022[DEX]!': ['Alcatel', 'One Touch Pop Star'], '5023[F]!': ['Alcatel', 'One Touch Pixi 4 Plus Power'], - '5024[D]!': ['Alcatel', '1S'], + '5024[DF]!': ['Alcatel', '1S'], '5025[DEGX]!': ['Alcatel', 'One Touch Pop 3'], '5027[B]!': ['Alcatel', 'One Touch Dawn'], + '5030[DF]!': ['Alcatel', '1SE'], '5033[ADJOX]!': ['Alcatel', '1'], '5034[D]!': ['Alcatel', '3L'], 'one ?touch 5035!': ['Alcatel', "One Touch X'Pop"], @@ -1014,12 +1027,13 @@ exports.ANDROID_MODELS = { '5045[ADFGJTXY]!': ['Alcatel', 'One Touch Pixi 4 (5.0)'], '5046[DGIJUY]!': ['Alcatel', 'A3'], '5047[DIUY]!': ['Alcatel', 'U5 HD'], + '5048[UY]!': ['Alcatel', '3X (2019)'], '5049[EGSWZ]!': ['Alcatel', 'A30 Fierce'], 'one ?touch 5050!': ['Alcatel', 'One Touch Pop S3'], '5050[ASYX]!': ['Alcatel', 'One Touch Pop S3'], '5051[ADJMX]!': ['Alcatel', 'One Touch Pop 4 (5.0)'], '5052[DY]!': ['Alcatel', '3'], - '5053[D]!': ['Alcatel', '3 (2019)'], + '5053[DK]!': ['Alcatel', '3 (2019)'], '5054[ADOSTX]!': ['Alcatel', 'One Touch Pixi 3 (5.5)'], '5054[NW]!': ['Alcatel', 'One Touch Fierce XL'], '5056[ADEINUWX]!': ['Alcatel', 'One Touch Pop 4+'], @@ -1028,6 +1042,7 @@ exports.ANDROID_MODELS = { '5058[I]!': ['Alcatel', '3X'], '5059[ADJTXY]!': ['Alcatel', '1X'], '5060[D]!': ['Alcatel', '5V'], + '5061[KU]!': ['Alcatel', '3X'], '5065[ADJNWX]!': ['Alcatel', 'One Touch Pixi 3 (5)'], '5070[DJX]!': ['Alcatel', 'One Touch Pop Star'], '5080[A]!': ['Alcatel', 'Shine Lite'], @@ -1047,6 +1062,7 @@ exports.ANDROID_MODELS = { '6014[DX]!': ['Alcatel', 'One Touch Idol Mini'], 'one ?touch 6016!': ['Alcatel', 'One Touch Idol 2 Mini'], '6016[ADEX]!': ['Alcatel', 'One Touch Idol 2 Mini'], + '6025[D]!': ['Alcatel', '1S (2021)'], 'one ?touch 6030!': ['Alcatel', 'One Touch Idol'], '6031[X]!': ['Alcatel', 'One Touch Idol Ultra'], 'one ?touch 6032!': ['Alcatel', 'One Touch Idol α'], @@ -1068,6 +1084,7 @@ exports.ANDROID_MODELS = { 'one ?touch 6050!': ['Alcatel', 'One Touch Idol 2S'], '6050[AFWY]!': ['Alcatel', 'One Touch Idol 2S'], '6055[ABDHIKPUY]!': ['Alcatel', 'One Touch Idol 4'], + '6056[D]!': ['Alcatel', '3L'], '6058[D]!': ['Alcatel', 'One Touch Idol 5'], '6060[S]!': ['Alcatel', 'One Touch Idol 5s'], '6062[W]!': ['Alcatel', '7'], @@ -1103,6 +1120,10 @@ exports.ANDROID_MODELS = { '8020[D]!': ['Alcatel', 'One Touch Hero'], 'one ?touch 8030!': ['Alcatel', 'One Touch Hero 2'], '8030[BY]!': ['Alcatel', 'One Touch Hero 2'], + 8063: ['Alcatel', 'Pixi 4'], + 8082: ['Alcatel', '1T', DeviceType.TABLET], + '8082 EEA': ['Alcatel', '1T', DeviceType.TABLET], + '8094[X]!': ['Alcatel', '3T 10', DeviceType.TABLET], '9001[DIX]!': ['Alcatel', 'One Touch Pixi 4 (6)'], '9002[AWX]!': ['Alcatel', 'One Touch Pixi 3 (7)', DeviceType.TABLET], '9003[AX]!': ['Alcatel', 'One Touch Pixi 4 (7)', DeviceType.TABLET], @@ -1115,6 +1136,7 @@ exports.ANDROID_MODELS = { '9022[SX]!': ['Alcatel', 'One Touch Pixi 3 (8)', DeviceType.TABLET], '9024[OW]!': ['Alcatel', 'A30', DeviceType.TABLET], '9025[MQ]!': ['Alcatel', 'One Touch Pop 4 (7)', DeviceType.TABLET], + '9026[X]!': ['Alcatel', 'A3 10', DeviceType.TABLET], 'one ?touch T10!': ['Alcatel', 'One Touch T10', DeviceType.TABLET], 'one ?touch T20!': ['Alcatel', 'One Touch T20', DeviceType.TABLET], 'one ?touch T60!': ['Alcatel', 'One Touch T60', DeviceType.TABLET], @@ -1186,6 +1208,7 @@ exports.ANDROID_MODELS = { 'P8 Energy': ['Allview', 'P8 Energy'], 'P8 Energy mini': ['Allview', 'P8 Energy Mini'], 'P8 Energy mini TM': ['Allview', 'P8 Energy Mini'], + 'P9 Energy': ['Allview', 'P9 Energy'], 'ALLVIEW TX1 Quasar': ['Allview', 'TX1 Quasar'], 'V1 Viper': ['Allview', 'V1 Viper'], 'V1 Viper E': ['Allview', 'V1 Viper E'], @@ -1241,6 +1264,7 @@ exports.ANDROID_MODELS = { 'X3 Soul PLUS': ['Allview', 'X3 Soul Plus'], 'X3 Soul PRO': ['Allview', 'X3 Soul Pro'], 'X3 Soul Style': ['Allview', 'X3 Soul Style'], + 'X5 Soul Pro': ['Allview', 'X5 Soul Pro'], '(Allview|Alldro)!!': { 'Allview AX1 Shine': ['Allview', 'AX1 Shine', DeviceType.TABLET], @@ -1271,7 +1295,7 @@ exports.ANDROID_MODELS = { AllviewCityLife: ['Allview', 'Alldro City Life', DeviceType.TABLET], 'ALLVIEW VIPER I': ['Allview', 'Viper I', DeviceType.TABLET], 'Allview Viva H8': ['Allview', 'Viva H8', DeviceType.TABLET], - ALLVIEW3CONECT: ['Allview', '3 Conect', DeviceType.TABLET] + ALLVIEW3CONECT: ['Allview', '3 Conect', DeviceType.TABLET], }, A10: ['AllWinner', 'A10', DeviceType.TABLET], @@ -1320,9 +1344,9 @@ exports.ANDROID_MODELS = { KFGIWI: ['Amazon', 'Fire HD 8 (2016)', DeviceType.TABLET, Flag.FIREOS], // xth generation 8" HD (1280 x 800) KFDOWI: ['Amazon', 'Fire HD 8 (2017)', DeviceType.TABLET, Flag.FIREOS], // xth generation 8" HD (1280 x 800) KFSUWI: ['Amazon', 'Fire HD 10 (2017)', DeviceType.TABLET, Flag.FIREOS], // 5th generation 10" HD (1280 x 800) - // 'KFSLWI' - // 'KFBJWI' - // 'KFHDX' + KFMAWI: ['Amazon', 'Fire HD 8 (2018)', DeviceType.TABLET, Flag.FIREOS], + KFKAWI: ['Amazon', 'Fire HD 8 (2018)', DeviceType.TABLET, Flag.FIREOS], + KFMUWI: ['Amazon', 'Fire 7 (2019)', DeviceType.TABLET, Flag.FIREOS], SD4930UR: ['Amazon', 'Fire Phone', DeviceType.MOBILE, Flag.FIREOS], AFTB: ['Amazon', 'Fire TV', DeviceType.TELEVISION, Flag.FIREOS], AFTS: ['Amazon', 'Fire TV (2015)', DeviceType.TELEVISION, Flag.FIREOS], @@ -1370,7 +1394,7 @@ exports.ANDROID_MODELS = { 'AMOI M8448': ['Amoi', 'M8448'], 'AMOI M8458': ['Amoi', 'M8458'], 'AMOI-X4': ['Amoi', 'X4'], - 'Amoi Q50H': ['Amoi', 'Q50H', DeviceType.TABLET] + 'Amoi Q50H': ['Amoi', 'Q50H', DeviceType.TABLET], }, A726T: ['Amoi', 'A726T'], @@ -1498,6 +1522,7 @@ exports.ANDROID_MODELS = { 'Archos!!': { 'ARCHOS 80G9': ['Archos', '80 G9', DeviceType.TABLET], 'ARCHOS 101G9': ['Archos', '101 G9', DeviceType.TABLET], + 'Archos G9': ['Archos', '101 G9', DeviceType.TABLET], 'ARCHOS 97XSLG10': ['Archos', '97 XS', DeviceType.TABLET], 'ARCHOS 80XSK': ['Archos', '80 XS', DeviceType.TABLET], 'ARCHOS 101G10': ['Archos', '101 XS', DeviceType.TABLET], @@ -1587,6 +1612,7 @@ exports.ANDROID_MODELS = { 'Archos 70 Oxygen': ['Archos', '70 Oxygen', DeviceType.TABLET], 'Archos 80 Oxygen': ['Archos', '80 Oxygen', DeviceType.TABLET], 'Archos 101 Oxygen': ['Archos', '101 Oxygen', DeviceType.TABLET], + 'Archos 101 Oxygen 4G': ['Archos', '101 Oxygen', DeviceType.TABLET], 'Archos 101b Oxygen': ['Archos', '101b Oxygen', DeviceType.TABLET], 'Archos 133 Oxygen': ['Archos', '133 Oxygen', DeviceType.TABLET], 'Archos 156 Oxygen': ['Archos', '156 Oxygen', DeviceType.TABLET], @@ -1660,6 +1686,7 @@ exports.ANDROID_MODELS = { 'ARCHOS 97 XENON': ['Archos', '97 Xenon', DeviceType.TABLET], 'Archos 101 Xenon': ['Archos', '101 Xenon', DeviceType.TABLET], 'Archos 101 Xenon v2': ['Archos', '101 Xenon', DeviceType.TABLET], + 'Archos 101b Xenon': ['Archos', '101b Xenon', DeviceType.TABLET], 'Archos 101b Xenon v2': ['Archos', '101b Xenon', DeviceType.TABLET], 'Archos 101c Xenon': ['Archos', '101c Xenon', DeviceType.TABLET], 'ARCHOS 101 Xenon Lite': ['Archos', '101 Xenon Lite', DeviceType.TABLET], @@ -1678,12 +1705,20 @@ exports.ANDROID_MODELS = { 'Archos Access 70 3G': ['Archos', 'Access 70', DeviceType.TABLET], 'Archos Access 101 3G': ['Archos', 'Access 101', DeviceType.TABLET], 'Archos Access 101 3G V2': ['Archos', 'Access 101', DeviceType.TABLET], + 'Archos Core 50 4G': ['Archos', 'Core 50'], 'Archos Core 55 4G': ['Archos', 'Core 55'], + 'Archos Core 57S': ['Archos', 'Core 57S'], 'Archos Core 70 3G': ['Archos', 'Core 70', DeviceType.TABLET], + 'ARCHOS Core 101 Wifi': ['Archos', 'Core 101', DeviceType.TABLET], 'Archos Core 101 3G': ['Archos', 'Core 101', DeviceType.TABLET], - 'Archos Sense 55 DC': ['Archos', 'Sense 55'] + 'Archos Oxygen 63': ['Archos', 'Oxygen 63'], + 'Archos Saphir 50X': ['Archos', 'Saphir 50X'], + 'Archos Sense 55 DC': ['Archos', 'Sense 55'], + 'Archos Sense 55 S': ['Archos', 'Sense 55'], }, + 'X67 5G': ['Archos', 'X67 5G'], + 'Artes D708': ['Artes', 'D708', DeviceType.TABLET], 'Artes D821': ['Artes', 'D821', DeviceType.TABLET], D9702: ['Artes', 'D9702', DeviceType.TABLET], @@ -1710,7 +1745,7 @@ exports.ANDROID_MODELS = { 'ASK SP583 HD': ['ASK', 'SP583 HD'], 'ASK SP584 FHD': ['ASK', 'SP584 FHD'], 'ASK SP591': ['ASK', 'SP591'], - 'ASK SP628 HD': ['ASK', 'SP628 HD'] + 'ASK SP628 HD': ['ASK', 'SP628 HD'], }, ASTRI: ['ASTRI', 'e-reader', DeviceType.EREADER], @@ -1768,6 +1803,17 @@ exports.ANDROID_MODELS = { 'PadFone X': ['Asus', 'PadFone X', DeviceType.TABLET], 'PadFone X mini': ['Asus', 'PadFone X mini (PF450CL)', DeviceType.TABLET], ETBW11AA: ['Asus', 'Tough'], + I01WDX: ['Asus', 'ZenFone 8'], + I001DC: ['Asus', 'ROG Phone 2'], + I001DE: ['Asus', 'ROG Phone 2'], + I002D: ['Asus', 'ZenFone 7'], + I003D: ['Asus', 'ROG Phone 3'], + I003DD: ['Asus', 'ROG Phone 3'], + I004D: ['Asus', 'ZenFone 8 Flip'], + I005D: ['Asus', 'ROG Phone 5 Pro'], + I005DA: ['Asus', 'ROG Phone 5 Pro'], + I006D: ['Asus', 'ZenFone 8 Mini'], + I01WD: ['Asus', 'ZenFone 6 (ZS630KL)'], K00C: ['Asus', 'Transformer Pad Infinity', DeviceType.TABLET], K010: ['Asus', 'Transformer Pad TF103', DeviceType.TABLET], K010E: ['Asus', 'Transformer Pad TF103', DeviceType.TABLET], @@ -1825,6 +1871,7 @@ exports.ANDROID_MODELS = { P001: ['Asus', 'ZenPad C 7.0 (Z170MG)', DeviceType.TABLET], 'P001 2': ['Asus', 'ZenPad C 7.0 (Z170MG)', DeviceType.TABLET], P002: ['Asus', 'ZenPad 7.0 (Z370KL)', DeviceType.TABLET], + P00A: ['Asus', 'ZenPad 8.0 (Z380M)', DeviceType.TABLET], P00C: ['Asus', 'ZenPad 10 (Z300M)', DeviceType.TABLET], P00I: ['Asus', 'ZenPad Z10 (Z500KL)', DeviceType.TABLET], P01M: ['Asus', 'ZenPad S 8.0 (Z580C)', DeviceType.TABLET], @@ -1839,8 +1886,11 @@ exports.ANDROID_MODELS = { P022: ['Asus', 'ZenPad 8.0 (Z380C)', DeviceType.TABLET], P023: ['Asus', 'ZenPad 10 (Z300C)', DeviceType.TABLET], P024: ['Asus', 'ZenPad 8.0 (Z380KL)', DeviceType.TABLET], + P027: ['Asus', 'ZenPad 3S 10 (Z500M)', DeviceType.TABLET], + P028: ['Asus', 'ZenPad 10 (Z301M)', DeviceType.TABLET], // '' : [ 'Asus', 'ZenPad 10 (Z300CNL)', DeviceType.TABLET ], A001: ['Asus', 'ZenFone 3 Ultra (ZU680KL)'], + A007: ['Asus', 'ZenFone Live (ZB501KL)'], X007D: ['Asus', 'ZenFone Go (ZB552KL)'], X008D: ['Asus', 'ZenFone 3 Max (ZC520TL)'], X008DA: ['Asus', 'ZenFone 3 Max (ZC520TL)'], @@ -1859,6 +1909,15 @@ exports.ANDROID_MODELS = { X00DDB: ['Asus', 'ZenFone 3 Max (ZC553KL)'], X00HD: ['Asus', 'ZenFone 4 Max (ZC520KL)'], X00GD: ['Asus', 'ZenFone 3S Max (ZC521TL)'], + X00LD: ['Asus', 'ZenFone 4 Selfie (ZD553KL)'], + X00T: ['Asus', 'ZenFone Max Pro M1 (ZB601KL)'], + X00TD: ['Asus', 'ZenFone Max Pro M1 (ZB601KL)'], + X00TDB: ['Asus', 'ZenFone Max Pro M1 (ZB601KL)'], + X00DE: ['Asus', 'ZenFone Max Pro M1 (ZB601KL)'], + X00QD: ['Asus', 'ZenFone 5 (ZE620KL)'], + X00QSA: ['Asus', 'ZenFone 5 (ZE620KL)'], + X01AD: ['Asus', 'ZenFone Max M2 (ZB633KL)'], + X01BDA: ['Asus', 'ZenFone Max Pro M2 (ZB631KL)'], X013D: ['Asus', 'ZenFone Go (ZB551KL)'], X013DA: ['Asus', 'ZenFone Go (ZB551KL)'], X013DB: ['Asus', 'ZenFone Go (ZB551KL)'], @@ -1867,7 +1926,9 @@ exports.ANDROID_MODELS = { X013DB: ['Asus', 'ZenFone Go TV (ZB551KL)'], X013DC: ['Asus', 'ZenFone Go (ZB551KL)'], ZB551KL: ['Asus', 'ZenFone Go (ZB551KL)'], + X00ID: ['Asus', 'ZenFone 4 Max (ZC554KL)'], X014D: ['Asus', 'ZenFone Go (ZB452KG)'], + X018D: ['Asus', 'ZenFone Max Plus M1 (ZB570TL)'], Z002: ['Asus', 'ZenFone 6 (A601CG)'], Z007: ['Asus', 'ZenFone C (ZC451CG)'], 'ZenFone 2': ['Asus', 'ZenFone 2 (ZE550ML)'], @@ -1929,7 +1990,10 @@ exports.ANDROID_MODELS = { Z01HDA: ['Asus', 'ZenFone 3 Zoom (ZE553KL)'], Z01KD: ['Asus', 'ZenFone 4 (ZE554KL)'], Z01KDA: ['Asus', 'ZenFone 4 (ZE554KL)'], + Z01MD: ['Asus', 'ZenFone 4 Selfie Pro (ZD552KL)'], Z01MDA: ['Asus', 'ZenFone 4 Selfie Pro (ZD552KL)'], + Z01RD: ['Asus', 'ZenFone 5z (ZS620KL)'], + Z01QD: ['Asus', 'ROG Phone'], ZB500KG: ['Asus', 'ZenFone Go (ZB500KG)'], ZB500KL: ['Asus', 'ZenFone Go (ZB500KL)'], @@ -1942,6 +2006,7 @@ exports.ANDROID_MODELS = { ZE552KL: ['Asus', 'ZenFone 3 (ZE552KL)'], ZE553KL: ['Asus', 'ZenFone 3 Zoom (ZE553KL)'], ZE554KL: ['Asus', 'ZenFone 4 (ZE554KL)'], + ZS671KS: ['Asus', 'ZenFone 7 Pro (ZS671KS)'], Z00YD: ['Asus', 'Live'], X002: ['Asus', 'Pegasus'], @@ -1970,7 +2035,7 @@ exports.ANDROID_MODELS = { 'QiLive 8QC': ['Auchan', 'QiLive 8” Quad core tablet', DeviceType.TABLET], 'QiLive 97': ['Auchan', 'QiLive 9.7” Dual core tablet', DeviceType.TABLET], 'QiLive 97R': ['Auchan', 'QiLive 9.7R Quad core tablet', DeviceType.TABLET], - 'QILIVE 101': ['Auchan', 'QiLive 10.1” Dual core tablet', DeviceType.TABLET] + 'QILIVE 101': ['Auchan', 'QiLive 10.1” Dual core tablet', DeviceType.TABLET], }, 'T-07B': ['AudioSonic', 'T07B', DeviceType.TABLET], @@ -1990,14 +2055,14 @@ exports.ANDROID_MODELS = { 'AUX V950': ['AUX', 'V950'], 'AUX V950P': ['AUX', 'V950P'], 'AUX V965T': ['AUX', 'V965T'], - 'AUX W6': ['AUX', 'W6'] + 'AUX W6': ['AUX', 'W6'], }, 'Avea!!': { 'Avea inTouch 2': ['Avea', 'inTouch 2', DeviceType.TABLET], 'Avea inTouch 3': ['Avea', 'inTouch 3', DeviceType.TABLET], 'Avea inTouch 3 Large': ['Avea', 'inTouch 3', DeviceType.TABLET], - 'Avea inTouch 4': ['Avea', 'inTouch 4', DeviceType.TABLET] + 'Avea inTouch 4': ['Avea', 'inTouch 4', DeviceType.TABLET], }, '(Ilium )?Avvio!!': { @@ -2026,10 +2091,10 @@ exports.ANDROID_MODELS = { 'Avvio L500 Claro': ['Avvio', 'L500'], 'Avvio Q797': ['Avvio', 'Q797'], 'Avvio PAD': ['Avvio', 'Pad', DeviceType.TABLET], - 'Avvio PAD10.1': ['Avvio', 'Pad', DeviceType.TABLET] + 'Avvio PAD10.1': ['Avvio', 'Pad', DeviceType.TABLET], }, - '(Axioo[- ])?PICO!!': { + '(Axioo[\- ])?PICO!!': { 'PICOphone 2': ['Axioo', 'PICOphone 2'], 'PICOphone 4': ['Axioo', 'PICOphone 4'], Picophone4: ['Axioo', 'PICOphone 4'], @@ -2060,7 +2125,7 @@ exports.ANDROID_MODELS = { 'PICOpad GJT': ['Axioo', 'PICOpad GJT', DeviceType.TABLET], 'PICOpad-QGN': ['Axioo', 'PICOpad QGN', DeviceType.TABLET], 'Axioo-VIGO350': ['Axioo', 'Vigo 350'], - 'Axioo-VIGO410': ['Axioo', 'Vigo 410'] + 'Axioo-VIGO410': ['Axioo', 'Vigo 410'], }, '(AXPAD|Axxion)!!': { @@ -2069,7 +2134,7 @@ exports.ANDROID_MODELS = { 'AXPAD 7I04': ['Axtrom', 'Axpad 7" Series-7I04', DeviceType.TABLET], 'AXPAD 9P01': ['Axtrom', 'Axpad 9" Series-9P01', DeviceType.TABLET], 'Axxion ATAB-701': ['Axxion', 'ATAB-701', DeviceType.TABLET], - 'Axxion ATAB-902': ['Axxion', 'ATAB-902', DeviceType.TABLET] + 'Axxion ATAB-902': ['Axxion', 'ATAB-902', DeviceType.TABLET], }, 'A10 MID': ['Azhuo', 'A10 MID', DeviceType.TABLET], @@ -2091,10 +2156,10 @@ exports.ANDROID_MODELS = { 'Azumi KL32': ['Azumi', 'KL32'], 'Azumi IRO A5 Q': ['Azumi', 'Iro A5Q'], 'Azumi IRO A5 QL': ['Azumi', 'Iro A5QL'], - 'Azumi AT7': ['Azumi', 'AT7', DeviceType.TABLET] + 'Azumi AT7': ['Azumi', 'AT7', DeviceType.TABLET], }, - '(BDS|BHX|BKO)-!!': { + '(BDS|BHX|BKO)\-!!': { 'BDS-S100': ['B box', 'B tv BDS-S100', DeviceType.TELEVISION], 'BDS-S200': ['B box', 'B tv BDS-S200', DeviceType.TELEVISION], 'BHX-S100': ['B box', 'B tv BHX-S100', DeviceType.TELEVISION], @@ -2106,7 +2171,7 @@ exports.ANDROID_MODELS = { 'BKO-UH400': ['B box', 'B tv UHD BHO-UH400', DeviceType.TELEVISION], 'BKO-UH600': ['B box', 'B tv UHD BHO-UH600', DeviceType.TELEVISION], 'BKO-S200': ['B box', 'B tv BKO-S200', DeviceType.TELEVISION], - 'BKO-S200 TV': ['B box', 'B tv BKO-S200', DeviceType.TELEVISION] + 'BKO-S200 TV': ['B box', 'B tv BKO-S200', DeviceType.TELEVISION], }, 'Aero A2-110': ['Banghó', 'Aero A2 110', DeviceType.TABLET], @@ -2138,7 +2203,7 @@ exports.ANDROID_MODELS = { 'WL-101GQC': ['Bauhn', 'WL-101GQC', DeviceType.TABLET], 'BEE 9500': ['Bee Mobile', 'Bee 9500'], - 'BF[ -]!!': { + 'BF[ \-]!!': { 'BF A8': ['Bellefonte', 'A8'], 'BF-A10': ['Bellefonte', 'A10'], 'BF A11': ['Bellefonte', 'A11'], @@ -2146,21 +2211,21 @@ exports.ANDROID_MODELS = { 'BF A16': ['Bellefonte', 'A16'], 'BF C7': ['Bellefonte', 'C7'], 'BF G11': ['Bellefonte', 'G11'], - 'BF V5T!': ['Bellefonte', 'V5T'] + 'BF V5T!': ['Bellefonte', 'V5T'], }, 'BenQ!!': { 'BenQ A3s': ['BenQ', 'A3s'], 'BenQ F5': ['BenQ', 'F5'], 'BenQ T3': ['BenQ', 'T3'], - 'BenQ R71': ['BenQ', 'R71', DeviceType.TABLET] + 'BenQ R71': ['BenQ', 'R71', DeviceType.TABLET], }, 'BenWee!!': { 'BenWee 550S': ['BenWee', '550S'], 'BenWee 5100S': ['BenWee', '5100S'], 'BenWee N7': ['BenWee', 'N7'], - 'BenWee N9': ['BenWee', 'N9'] + 'BenWee N9': ['BenWee', 'N9'], }, 'BePhone UN030': ['BePhone', 'UN030'], @@ -2171,7 +2236,7 @@ exports.ANDROID_MODELS = { 'Bestsonny LT988': ['Best Sonny', 'LT988'], 'Best sonny T898': ['Best Sonny', 'T898'], BestsonnyT961: ['Best Sonny', 'T961'], - BestsonnyT962: ['Best Sonny', 'T962'] + BestsonnyT962: ['Best Sonny', 'T962'], }, CA907AAC0G: ['Besta', 'CA907AAC0G'], @@ -2179,13 +2244,13 @@ exports.ANDROID_MODELS = { 'BFB!!': { 'BFB S7': ['BFB', 'S7'], 'BFB W9000': ['BFB', 'W9000'], - 'BFB W9900': ['BFB', 'W9900'] + 'BFB W9900': ['BFB', 'W9900'], }, 'BF[0-9]{2,2}00!!': { BF5200: ['Bifer', 'BF5200'], BF9100: ['Bifer', 'BF9100'], - BF9200: ['Bifer', 'BF9200'] + BF9200: ['Bifer', 'BF9200'], }, 'Bird!!': { @@ -2215,7 +2280,7 @@ exports.ANDROID_MODELS = { 'BIRD-W3': ['Bird', 'W3'], 'BIRD W5': ['Bird', 'W5'], 'Bird W188': ['Bird', 'W188'], - 'Bird XL100': ['Bird', 'XL100'] + 'Bird XL100': ['Bird', 'XL100'], }, T9108: ['Bird', 'T9108'], @@ -2235,7 +2300,24 @@ exports.ANDROID_MODELS = { 'BBE100-[0-9]!': ['BlackBerry', '"BBE100"'], 'BBF100-[0-9]!': ['BlackBerry', 'KEY2'], + A80Plus: ['Blackview', 'A80 Plus'], + A80Pro: ['Blackview', 'A80 Pro'], + BL6000Pro: ['Blackview', 'BL6000 Pro'], + BV4900Pro: ['Blackview', 'BV4900 Pro'], + BV5500Plus: ['Blackview', 'BV5500 Plus'], + BV5900: ['Blackview', 'BV5900'], + BV6300Pro: ['Blackview', 'BV6300 Pro'], + BV6600: ['Blackview', 'BV6600'], + BV6900: ['Blackview', 'BV6900'], BV8000Pro: ['Blackview', 'BV8000 Pro'], + BV9100: ['Blackview', 'BV9100'], + BV9500: ['Blackview', 'BV9500'], + BV9500Plus: ['Blackview', 'BV9500 Plus'], + BV9600E: ['Blackview', 'BV9600E'], + BV9600Pro: ['Blackview', 'BV9600 Pro'], + BV9800Pro: ['Blackview', 'BV9800 Pro'], + BV9900E: ['Blackview', 'BV9900E'], + BV9900Pro: ['Blackview', 'BV9900 Pro'], P2Lite: ['Blackview', 'P2 Lite'], 'Endeavour!!': { @@ -2251,7 +2333,7 @@ exports.ANDROID_MODELS = { 'Endeavour 1001 DVB-T': ['Blaupunkt', 'Endeavour 1001 DVB-T', DeviceType.TABLET], 'Endeavour 1010': ['Blaupunkt', 'Endeavour 1010', DeviceType.TABLET], 'Endeavour 1013': ['Blaupunkt', 'Endeavour 1013', DeviceType.TABLET], - 'Endeavour 1100': ['Blaupunkt', 'Endeavour 1100', DeviceType.TABLET] + 'Endeavour 1100': ['Blaupunkt', 'Endeavour 1100', DeviceType.TABLET], }, '(BLU|DASH|LIFE|NEO|STUDIO|VIVO)!!': { @@ -2408,7 +2490,8 @@ exports.ANDROID_MODELS = { 'BLU VIVO AIR LTE': ['BLU', 'Vivo Air'], 'BLU VIVO SELFIE': ['BLU', 'Vivo Selfie'], 'VIVO XL': ['BLU', 'Vivo XL'], - 'Vivo XL2': ['BLU', 'Vivo XL2'] + 'Vivo XL2': ['BLU', 'Vivo XL2'], + 'Vivo XI PLUS': ['BLU', 'Vivo XI+'], }, 'R1 HD': ['BLU', 'R1 HD'], @@ -2464,7 +2547,7 @@ exports.ANDROID_MODELS = { AX1055: ['Bmobile', 'AX1055'], 'BMOBILE AX1060': ['Bmobile', 'AX1060'], AX1060: ['Bmobile', 'AX1060'], - 'Bmobile AX1065': ['Bmobile', 'AX1065'] + 'Bmobile AX1065': ['Bmobile', 'AX1065'], }, AX7OO: ['Bmobile', 'AX700'], @@ -2503,7 +2586,7 @@ exports.ANDROID_MODELS = { 'BOWAY V70': ['Boway', 'V70'], 'BOWAY V80': ['Boway', 'V80'], 'BOWAY V95Pro': ['Boway', 'V95 Pro'], - 'BOWAY X6': ['Boway', 'X6'] + 'BOWAY X6': ['Boway', 'X6'], }, 'BroadSign Xpress!': ['BroadSign', 'Xpress', DeviceType.SIGNAGE], @@ -2548,7 +2631,7 @@ exports.ANDROID_MODELS = { 'BROR W68': ['BROR', 'W68'], 'BRS-BROR W70': ['BROR', 'W70'], 'BROR W80': ['BROR', 'W80'], - 'BRS-BROR W80': ['BROR', 'W80'] + 'BRS-BROR W80': ['BROR', 'W80'], }, '(bq|Aquaris|Edison|Maxwell)!!': { @@ -2579,6 +2662,7 @@ exports.ANDROID_MODELS = { 'Aquaris U Lite': ['bq', 'Aquaris U Lite'], 'Aquaris U Plus': ['bq', 'Aquaris U Plus'], 'Aquaris X': ['bq', 'Aquaris X'], + 'Aquaris X2': ['bq', 'Aquaris X2'], 'Aquaris X5': ['bq', 'Aquaris X5'], 'Aquaris X5 Plus': ['bq', 'Aquaris X5 Plus'], 'bq Curie': ['bq', 'Curie', DeviceType.TABLET], @@ -2611,7 +2695,7 @@ exports.ANDROID_MODELS = { 'bq Pascal 2!': ['bq', 'Pascal 2', DeviceType.TABLET], 'bq Verne Plus': ['bq', 'Verne Plus', DeviceType.TABLET], 'bq Verne Plus 3G': ['bq', 'Verne Plus', DeviceType.TABLET], - 'bq Voltaire': ['bq', 'Voltaire', DeviceType.TABLET] + 'bq Voltaire': ['bq', 'Voltaire', DeviceType.TABLET], }, 'BUSH!!': { @@ -2628,9 +2712,11 @@ exports.ANDROID_MODELS = { 'BUSH 10.1 TABLET': ['Bush', '10.1 Tablet', DeviceType.TABLET], 'Bush 7.0 MyTablet': ['Bush', '7.0 MyTablet', DeviceType.TABLET], 'Bush 10.0 MyTablet': ['Bush', '10.0 MyTablet', DeviceType.TABLET], - 'Bush Mytablet 2': ['Bush', 'MyTablet 2', DeviceType.TABLET] + 'Bush Mytablet 2': ['Bush', 'MyTablet 2', DeviceType.TABLET], }, + 'Carbon 1 Mark II': ['Carbon', '1 MK II'], + 'CT[0-9]{3,4}!!': { CT700: ['Carrefour', 'Touch Tablet CT700', DeviceType.TABLET], CT701: ['Carrefour', 'Touch Tablet CT701', DeviceType.TABLET], @@ -2647,7 +2733,7 @@ exports.ANDROID_MODELS = { CT1002: ['Carrefour', 'Touch Tablet CT1002', DeviceType.TABLET], CT1002PLUS: ['Carrefour', 'Touch Tablet CT1002 plus', DeviceType.TABLET], CT1010: ['Carrefour', 'Touch Tablet CT1010', DeviceType.TABLET], - CT1020W: ['Carrefour', 'Touch Tablet CT1020W', DeviceType.TABLET] + CT1020W: ['Carrefour', 'Touch Tablet CT1020W', DeviceType.TABLET], }, EM63: ['Carrefour', 'Touch Tablet CT720', DeviceType.TABLET], @@ -2666,7 +2752,7 @@ exports.ANDROID_MODELS = { 'CAPTIVA PAD 10.1': ['Captiva', 'Pad 10.1', DeviceType.TABLET], 'CAPTIVA 10.1 HD': ['Captiva', 'Pad 10.1 HD', DeviceType.TABLET], 'CAPTIVA PAD 10.1 Quad FHD': ['Captiva', 'Pad 10.1 Quad FHD', DeviceType.TABLET], - 'CAPTIVA PAD 10.1 Quad FHD 3G': ['Captiva', 'Pad 10.1 Quad FHD', DeviceType.TABLET] + 'CAPTIVA PAD 10.1 Quad FHD 3G': ['Captiva', 'Pad 10.1 Quad FHD', DeviceType.TABLET], }, 'Carpad T5': ['Carpad', 'T5'], @@ -2684,7 +2770,7 @@ exports.ANDROID_MODELS = { 'Casper VIA A6108': ['Casper', 'VIA A6108'], 'Casper VIA V4': ['Casper', 'VIA V4'], 'Casper VIA V5': ['Casper', 'VIA V5'], - 'Casper VIA V8': ['Casper', 'VIA V8'] + 'Casper VIA V8': ['Casper', 'VIA V8'], }, 'VIA F1': ['Casper', 'VIA F1'], @@ -2692,9 +2778,15 @@ exports.ANDROID_MODELS = { B15: ['CAT', 'B15'], B15Q: ['CAT', 'B15Q'], S30: ['CAT', 'S30'], + S31: ['CAT', 'S31'], S40: ['CAT', 'S40'], + S41: ['CAT', 'S41'], + S42: ['CAT', 'S42'], S50: ['CAT', 'S50'], S50c: ['CAT', 'S50c'], + S52: ['CAT', 'S52'], + S61: ['CAT', 'S61'], + 'S62 Pro': ['CAT', 'S62 Pro'], 'CAT!!': { 'Cat Comet': ['CAT', 'COMET', DeviceType.TABLET], @@ -2710,7 +2802,7 @@ exports.ANDROID_MODELS = { 'Cat StarGate': ['CAT', 'STARGATE', DeviceType.TABLET], 'Cat Tablet CSG 7J0': ['CAT', 'STARGATE', DeviceType.TABLET], 'Cat Tablet StarGate 2': ['CAT', 'STARGATE 2', DeviceType.TABLET], - 'Cat Tablet CSG2 7.1J0': ['CAT', 'STARGATE 2', DeviceType.TABLET] + 'Cat Tablet CSG2 7.1J0': ['CAT', 'STARGATE 2', DeviceType.TABLET], }, SK351: ['CCE', 'Motion.Plus SK351'], @@ -2794,7 +2886,7 @@ exports.ANDROID_MODELS = { 'Celkon Q550': ['Celkon', 'Millennia Epic Q550'], 'Celkon Q567': ['Celkon', 'Millennia Q567'], 'Celkon Q3000': ['Celkon', 'Millennia Power Q3000'], - 'Celkon 4G TAB-8': ['Celkon', '4G Tab-8', DeviceType.TABLET] + 'Celkon 4G TAB-8': ['Celkon', '4G Tab-8', DeviceType.TABLET], }, A89: ['Celkon', 'A89'], @@ -2827,14 +2919,14 @@ exports.ANDROID_MODELS = { 'ChangHong ?Z1!': ['ChangHong', 'Z1'], ChanghongZ3t: ['ChangHong', 'Z3t'], ChangHongZ9: ['ChangHong', 'Z9'], - 'changhong TV': ['ChangHong', null] + 'changhong TV': ['ChangHong', null], }, 'CHER!!': { 'CHER A50': ['Cher', 'A50'], 'CHER A55w': ['Cher', 'A55w'], 'CHER A90': ['Cher', 'A90'], - 'CHER A91': ['Cher', 'A91'] + 'CHER A91': ['Cher', 'A91'], }, PC1038: ['Cherry', 'Pro-Line 2', DeviceType.TABLET], @@ -2885,7 +2977,7 @@ exports.ANDROID_MODELS = { 'LA-M1': ['Chili', 'M1'], 'LA-M1Y': ['Chili', 'M1Y'], 'LA-M2': ['Chili', 'M2'], - 'LA-Q1': ['Chili', 'Q1'] + 'LA-Q1': ['Chili', 'Q1'], }, M623C: ['China Mobile', 'M623C', DeviceType.TABLET], @@ -2901,7 +2993,7 @@ exports.ANDROID_MODELS = { 'CHUWI!!': { 'CHUWI V3': ['Chuwi', 'V3', DeviceType.TABLET], 'CHUWI-V8-HD': ['Chuwi', 'V8 HD', DeviceType.TABLET], - 'CHUWI V9': ['Chuwi', 'V9', DeviceType.TABLET] + 'CHUWI V9': ['Chuwi', 'V9', DeviceType.TABLET], }, cius: ['Cisco', 'Cius', DeviceType.TABLET], @@ -2910,13 +3002,13 @@ exports.ANDROID_MODELS = { 'CP-DX!!': { 'CP-DX70': ['Cisco', 'DX70', DeviceType.TABLET], 'CP-DX80': ['Cisco', 'DX80', DeviceType.TABLET], - 'CP-DX650': ['Cisco', 'DX650', DeviceType.TABLET] + 'CP-DX650': ['Cisco', 'DX650', DeviceType.TABLET], }, 'Citycall!!': { 'Citycall A1': ['Citycall', 'A1'], 'Citycall i310+': ['Citycall', 'i310+'], - 'Citycall i930+': ['Citycall', 'i930+'] + 'Citycall i930+': ['Citycall', 'i930+'], }, 'Clarion Mirage 2': ['Clarion', 'Mirage 2', DeviceType.CAR], @@ -2959,7 +3051,7 @@ exports.ANDROID_MODELS = { 'CloudPad 701tv': ['Cloudfone', 'CloudPad 701tv'], 'Cloudpad 705w': ['Cloudfone', 'CloudPad 705w'], 'CloudPad 707qw': ['Cloudfone', 'CloudPad 707qw'], - 'Cloudpad 800d': ['Cloudfone', 'CloudPad 800d'] + 'Cloudpad 800d': ['Cloudfone', 'CloudPad 800d'], }, 'CW[- ]!!': { @@ -2976,7 +3068,7 @@ exports.ANDROID_MODELS = { 'CW-V99': ['Chuwi', 'V99'], 'CW-V99-QUAD': ['Chuwi', 'V99'], 'CW-VX8-3G': ['Chuwi', 'VX8 3G'], - 'CW-Hi8Pro': ['Chuwi', 'Hi8 Pro', DeviceType.TABLET] + 'CW-Hi8Pro': ['Chuwi', 'Hi8 Pro', DeviceType.TABLET], }, V17HD: ['Chuwi', 'V17HD'], @@ -3009,7 +3101,7 @@ exports.ANDROID_MODELS = { 'CnM-TOUCHPAD9': ['CnM', 'TouchPad 9', DeviceType.TABLET], 'Cnm TOUCHPAD 9.7': ['CnM', 'TouchPad 9.7', DeviceType.TABLET], 'CnM-TP-10DC-16-B': ['CnM', 'TouchPad 10 DC', DeviceType.TABLET], - 'CnM TouchPad 10.1DC': ['CnM', 'TouchPad 10.1 DC', DeviceType.TABLET] + 'CnM TouchPad 10.1DC': ['CnM', 'TouchPad 10.1 DC', DeviceType.TABLET], }, 'MID[0-9]{4,4}!!': { @@ -3063,7 +3155,7 @@ exports.ANDROID_MODELS = { MID9724: ['Coby', 'Kyros MID9724', DeviceType.TABLET], MID9740: ['Coby', 'Kyros MID9740', DeviceType.TABLET], MID9742: ['Coby', 'Kyros MID9742', DeviceType.TABLET], - MID9760: ['Coby', 'Kyros MID9760', DeviceType.TABLET] + MID9760: ['Coby', 'Kyros MID9760', DeviceType.TABLET], }, 'Ultimix!!': { @@ -3071,14 +3163,14 @@ exports.ANDROID_MODELS = { 'Ultimix 88': ['Codegen', 'Ultimix 88', DeviceType.TABLET], Ultimix94: ['Codegen', 'Ultimix 94', DeviceType.TABLET], Ultimix95: ['Codegen', 'Ultimix 95', DeviceType.TABLET], - Ultimix99: ['Codegen', 'Ultimix 99', DeviceType.TABLET] + Ultimix99: ['Codegen', 'Ultimix 99', DeviceType.TABLET], }, 'BLADE LE 70': ['COMMAX', 'BLADE LE 70', DeviceType.TABLET], 'Commodore!!': { 'Commodore IS-7107C': ['Commodore', 'IS-7107C', DeviceType.TABLET], - 'Commodore IS-7107C': ['Commodore', 'IS-7107C', DeviceType.TABLET] + 'Commodore IS-7107C': ['Commodore', 'IS-7107C', DeviceType.TABLET], }, Z71: ['Commtiva', 'Z71'], @@ -3104,7 +3196,7 @@ exports.ANDROID_MODELS = { 'Colorfly E708 Q2': ['Colorfly', 'E708 Q2', DeviceType.TABLET], 'Colorfly G708': ['Colorfly', 'G708', DeviceType.TABLET], 'Colorfly S782 Q1': ['Colorfly', 'S782 Q1', DeviceType.TABLET], - 'Colorfly U781 Q1': ['Colorfly', 'U781 Q1', DeviceType.TABLET] + 'Colorfly U781 Q1': ['Colorfly', 'U781 Q1', DeviceType.TABLET], }, K11: ['Colors', 'K11'], @@ -3114,7 +3206,7 @@ exports.ANDROID_MODELS = { 'Colors K22': ['Colors', 'K22'], 'Colors X27': ['Colors', 'Xfactor Wave X27'], 'Colors X45': ['Colors', 'X45'], - 'Colors X115': ['Colors', 'Xfactor Quad II X115'] + 'Colors X115': ['Colors', 'Xfactor Quad II X115'], }, 'ConCorde!!': { @@ -3128,7 +3220,7 @@ exports.ANDROID_MODELS = { 'Concorde Tab Omega 3G': ['ConCorde', 'tab OMEGA', DeviceType.TABLET], 'ConCorde tab PLAY': ['ConCorde', 'tab PLAY', DeviceType.TABLET], 'ConCorde tab Speed': ['ConCorde', 'tab SPEED', DeviceType.TABLET], - 'ConCorde Tab T10': ['ConCorde', 'tab T10', DeviceType.TABLET] + 'ConCorde Tab T10': ['ConCorde', 'tab T10', DeviceType.TABLET], }, 'Coolgen!!': { @@ -3138,7 +3230,7 @@ exports.ANDROID_MODELS = { 'Coolgen E70 G': ['Coolgen', 'E70 G'], 'Coolgen E71': ['Coolgen', 'E71'], 'Coolgen E72 Note 3G': ['Coolgen', 'E72'], - 'Coolgen E72 Note8': ['Coolgen', 'E72'] + 'Coolgen E72 Note8': ['Coolgen', 'E72'], }, 'Coolpad!!': { @@ -3331,7 +3423,7 @@ exports.ANDROID_MODELS = { 'Coolpad 9960': ['Coolpad', 'Grand HD 9960'], 'Coolpad 9970': ['Coolpad', 'Grand 4 9970'], 'Coolpad 9976!': ['Coolpad', '9976'], - 'Coolpad Flo': ['Coolpad', 'Flo'] + 'Coolpad Flo': ['Coolpad', 'Flo'], }, D530: ['Coolpad', 'D530'], @@ -3341,20 +3433,20 @@ exports.ANDROID_MODELS = { W711: ['Coolpad', 'W711'], CP3700A: ['Coolpad', '3700A'], '5560S': ['Coolpad', '5560S'], - '5832': ['Coolpad', '5832'], - '5855': ['Coolpad', '5855'], - '5860': ['Coolpad', '5860'], + 5832: ['Coolpad', '5832'], + 5855: ['Coolpad', '5855'], + 5860: ['Coolpad', '5860'], '5860A': ['Coolpad', '5860A'], '5860E': ['Coolpad', 'Quattro 4G 5860E'], '5860S': ['Coolpad', '5860S'], - '5870': ['Coolpad', '5870'], - '7260': ['Coolpad', '7260'], - '7266': ['Coolpad', '7266'], - '8022': ['Coolpad', '8022'], + 5870: ['Coolpad', '5870'], + 7260: ['Coolpad', '7260'], + 7266: ['Coolpad', '7266'], + 8022: ['Coolpad', '8022'], '8190Q': ['Coolpad', '8190'], - '8720': ['Coolpad', '8720'], + 8720: ['Coolpad', '8720'], '8720L': ['Coolpad', '8720'], - '8810': ['Coolpad', '8810'], + 8810: ['Coolpad', '8810'], '801ES': ['Coolpad', 'Quattro II 4G'], C8297W: ['Coolpad', 'Dashen F1'], 'CP8676!': ['Coolpad', 'Note 3 8676'], @@ -3366,7 +3458,7 @@ exports.ANDROID_MODELS = { 'COWON!!': { 'COWON D3': ['Cowon', 'D3 Plenue', DeviceType.MEDIA], - 'COWON Z2': ['Cowon', 'Z2 Plenue', DeviceType.MEDIA] + 'COWON Z2': ['Cowon', 'Z2 Plenue', DeviceType.MEDIA], }, 'COZCO C1 Plus': ['Cozco', 'C1 Plus'], @@ -3379,7 +3471,7 @@ exports.ANDROID_MODELS = { CMP748: ['Craig', 'CMP748', DeviceType.TABLET], CMP749: ['Craig', 'CMP749', DeviceType.TABLET], CMP756: ['Craig', 'CMP756', DeviceType.TABLET], - 'CMP 765': ['Craig', 'CMP765', DeviceType.TABLET] + 'CMP 765': ['Craig', 'CMP765', DeviceType.TABLET], }, 'ZEN Touch 2': ['Creative', 'ZEN Touch 2', DeviceType.MEDIA], @@ -3391,7 +3483,7 @@ exports.ANDROID_MODELS = { 'ZiiLABS ZiiO10 ': ['Creative', 'ZiiO 10', DeviceType.TABLET], 'ZiiLABS ZiiO10+': ['Creative', 'ZiiO 10', DeviceType.TABLET], 'ZiiLABS ZiiO Shenbi': ['Creative', 'ZiiO ShenBi', DeviceType.TABLET], - 'Zii EGG': ['Creative', 'Zii Egg', DeviceType.MEDIA] + 'Zii EGG': ['Creative', 'Zii Egg', DeviceType.MEDIA], }, CTP828BT: ['Cresta', 'CTP828BT', DeviceType.TABLET], @@ -3420,14 +3512,19 @@ exports.ANDROID_MODELS = { 'CROSS A88': ['Cross', 'A88'], 'CROSS AT1': ['Cross', 'AT1', DeviceType.TABLET], 'CROSS AT1G': ['Cross', 'AT1G', DeviceType.TABLET], - 'CROSS AT1G*': ['Cross', 'AT1G', DeviceType.TABLET] + 'CROSS AT1G*': ['Cross', 'AT1G', DeviceType.TABLET], }, 'Crosscall!!': { 'Crosscall ELEMENT': ['Crosscall', 'ELEMENT'], - 'CROSSCALL WILD': ['Crosscall', 'WILD'] + 'CROSSCALL WILD': ['Crosscall', 'WILD'], }, + 'Core-M5': ['Crosscall', 'Core-M5'], + 'Action-X3': ['Crosscall', 'Action-X3'], + 'TREKKER-X3': ['Crosscall', 'Trekker-X3'], + 'Trekker-X4': ['Crosscall', 'Trekker-X4'], + 'Novapad!!': { 'Novapad 70 D124 FC': ['Crypto', 'NovaPad 70 D124', DeviceType.TABLET], 'Novapad 70 S124 FC': ['Crypto', 'NovaPad 70 S124', DeviceType.TABLET], @@ -3435,7 +3532,7 @@ exports.ANDROID_MODELS = { 'NovaPad 80 C124': ['Crypto', 'NovaPad 80 C124', DeviceType.TABLET], 'Novapad D7000': ['Crypto', 'NovaPad D7000', DeviceType.TABLET], 'Novapad D7001': ['Crypto', 'NovaPad D7001', DeviceType.TABLET], - 'Novapad D7002': ['Crypto', 'NovaPad D7002', DeviceType.TABLET] + 'Novapad D7002': ['Crypto', 'NovaPad D7002', DeviceType.TABLET], }, 'CUBOT!!': { @@ -3450,13 +3547,18 @@ exports.ANDROID_MODELS = { 'CUBOT ONE-S': ['Cubot', 'One S'], 'CUBOT P7': ['Cubot', 'P7'], 'CUBOT P9': ['Cubot', 'P9'], + 'CUBOT P20': ['Cubot', 'P20'], 'CUBOT S108': ['Cubot', 'S108'], 'CUBOT S222': ['Cubot', 'S222'], - 'CUBOT X6': ['Cubot', 'X6'] + 'CUBOT X6': ['Cubot', 'X6'], + 'CUBOT X18 Plus': ['Cubot', 'X18 Plus'], + 'CUBOT POWER': ['Cubot', 'Power'], }, S222: ['Cubot', 'S222'], S308: ['Cubot', 'S308'], + 'KINGKONG 5 Pro': ['Cubot', 'King Kong 5 Pro'], + 'KINGKONG MINI2': ['Cubot', 'King Kong Mini 2'], '(CUBE ?)?(K8|U1|U2|U3|U5|U6|U8|U9)[0-9]?GT!!': { 'CUBE K8GT': ['Cube', 'K8GT', DeviceType.TABLET], @@ -3561,14 +3663,14 @@ exports.ANDROID_MODELS = { 'U55GT C8': ['Cube', 'U55GT C8', DeviceType.TABLET], 'U55GT S': ['Cube', 'U55GT S', DeviceType.TABLET], 'U59GT-C4': ['Cube', 'U59GT C4', DeviceType.TABLET], - U65GT: ['Cube', 'U65GT', DeviceType.TABLET] + U65GT: ['Cube', 'U65GT', DeviceType.TABLET], }, 'CUBE!!': { 'CUBE Q7PRO': ['Cube', 'Q7 Pro', DeviceType.TABLET], 'CUBE Q7PRO J': ['Cube', 'Q7 Pro', DeviceType.TABLET], 'CUBE TALK7X': ['Cube', 'Talk 7X', DeviceType.TABLET], - 'CUBE TALK7X C4': ['Cube', 'Talk 7X C4', DeviceType.TABLET] + 'CUBE TALK7X C4': ['Cube', 'Talk 7X C4', DeviceType.TABLET], }, 'LT[0-9]{4,4}!!': { @@ -3577,10 +3679,11 @@ exports.ANDROID_MODELS = { 'LT7035-J': ['Curtis', 'Klu LT7035-J', DeviceType.TABLET], 'LT7035-L': ['Curtis', 'Klu LT7035-L', DeviceType.TABLET], LT7052: ['Curtis', 'Klu LT7052', DeviceType.TABLET], - LT8088: ['Curtis', 'Klu LT8088', DeviceType.TABLET] + LT8088: ['Curtis', 'Klu LT8088', DeviceType.TABLET], }, 'Cydle M7!': ['Cydle', 'M7 MultiPAD', DeviceType.TABLET], + CS45XA: ['Cyrus', 'CS45XA'], EVDO1000: ['Cyrus', 'EVDO 1000'], GloryG1000: ['Cyrus', 'Glory G1000'], 'TVPAD Slim K3409': ['Cyrus', 'TVPad Slim K3409', DeviceType.TABLET], @@ -3595,7 +3698,7 @@ exports.ANDROID_MODELS = { 'D2-911': ['D2pad', 'D2-911', DeviceType.TABLET], 'D2-912': ['D2pad', 'D2-912', DeviceType.TABLET], 'D2-927G': ['D2pad', 'D2-927G', DeviceType.TABLET], - 'D2-961G': ['D2pad', 'D2-961G', DeviceType.TABLET] + 'D2-961G': ['D2pad', 'D2-961G', DeviceType.TABLET], }, 'Dakele A380': ['Dakele', 'A380'], @@ -3618,14 +3721,14 @@ exports.ANDROID_MODELS = { DSlide972: ['Danew', 'DSlide 972', DeviceType.TABLET], DSlide973: ['Danew', 'DSlide 973', DeviceType.TABLET], Dslide973QC: ['Danew', 'DSlide 973', DeviceType.TABLET], - 'DSlide 1013': ['Danew', 'DSlide 1013', DeviceType.TABLET] + 'DSlide 1013': ['Danew', 'DSlide 1013', DeviceType.TABLET], }, 'Genius!!': { 'Genius TAB GIII': ['Dany', 'Genius Tab G3', DeviceType.TABLET], 'GENIUS-G4': ['Dany', 'Genius Tab G4', DeviceType.TABLET], 'Genius TAB G4': ['Dany', 'Genius Tab G4', DeviceType.TABLET], - 'Genius Tab Q4': ['Dany', 'Genius Tab Q4', DeviceType.TABLET] + 'Genius Tab Q4': ['Dany', 'Genius Tab Q4', DeviceType.TABLET], }, 'EvoPAD!!': { @@ -3636,7 +3739,7 @@ exports.ANDROID_MODELS = { 'EVOPad R9720': ['Dark', 'EvoPad R9720', DeviceType.TABLET], 'EvoPAD R9740': ['Dark', 'EvoPad R9740', DeviceType.TABLET], 'EvoPAD-R9722': ['Dark', 'EvoPad R9722', DeviceType.TABLET], - 'Evopad R9730': ['Dark', 'EvoPad R9730', DeviceType.TABLET] + 'Evopad R9730': ['Dark', 'EvoPad R9730', DeviceType.TABLET], }, 'HB-100 DASAN': ['Dasan', 'HB-100', DeviceType.TELEVISION], @@ -3671,7 +3774,7 @@ exports.ANDROID_MODELS = { 'Dell Streak 7': ['Dell', 'Streak 7', DeviceType.TABLET], 'Dell Streak 10 Pro': ['Dell', 'Streak 10 Pro', DeviceType.TABLET], 'Dell streak 10 Pro 940': ['Dell', 'Streak 10 Pro', DeviceType.TABLET], - 'Dell Venue': ['Dell', 'Venue'] + 'Dell Venue': ['Dell', 'Venue'], }, 'Venue!!': { @@ -3697,13 +3800,14 @@ exports.ANDROID_MODELS = { 'Venue 8 7840 LTE': ['Dell', 'Venue 8', DeviceType.TABLET], 'Venue 10 5050': ['Dell', 'Venue 10', DeviceType.TABLET], 'Venue 10 7040': ['Dell', 'Venue 10', DeviceType.TABLET], - 'Venue 11 Pro 7130 MS': ['Dell', 'Venue 11', DeviceType.TABLET] + 'Venue 11 Pro 7130 MS': ['Dell', 'Venue 11', DeviceType.TABLET], }, 'XCD 28': ['Dell', 'XCD28'], 'Dell XCD35': ['Dell', 'XCD35'], XCD35: ['Dell', 'XCD35'], DEM752HCF: ['Denver', 'TAC-7018', DeviceType.TABLET], + 'TIQ-1049': ['Denver', 'TIQ-1049', DeviceType.TABLET], '(DENVER-)?TA[CD]-[0-9]{4,5}!!': { 'TAC-7028': ['Denver', 'TAC-7028', DeviceType.TABLET], @@ -3750,7 +3854,7 @@ exports.ANDROID_MODELS = { 'TAD-97052': ['Denver', 'TAD-97052', DeviceType.TABLET], 'TAD-97052mk2': ['Denver', 'TAD-97052', DeviceType.TABLET], 'TAD-97072G': ['Denver', 'TAD-97072', DeviceType.TABLET], - 'TAD-97082!': ['Denver', 'TAD-97082', DeviceType.TABLET] + 'TAD-97082!': ['Denver', 'TAD-97082', DeviceType.TABLET], }, 'deovo V5': ['deovo', 'V5'], @@ -3761,7 +3865,7 @@ exports.ANDROID_MODELS = { 'DESAY TS928': ['Desay', 'TS928'], 'DESAY TS1008': ['Desay', 'TS1008'], 'DESAY TS1018': ['Desay', 'TS1018'], - 'DESAY TS1218': ['Desay', 'TS1218'] + 'DESAY TS1218': ['Desay', 'TS1218'], }, iP977: ['Dex', 'iP977', DeviceType.TABLET], @@ -3778,7 +3882,7 @@ exports.ANDROID_MODELS = { 'Dialog K235': ['Dialog', 'K235'], 'Dialog Q143L': ['Dialog', 'Q143L'], 'Dialog Q178': ['Dialog', 'Q178'], - 'Dialog Q243': ['Dialog', 'Q243'] + 'Dialog Q243': ['Dialog', 'Q243'], }, 'DIT[0-9]{4,6}!!': { @@ -3794,7 +3898,7 @@ exports.ANDROID_MODELS = { DIT702101: ['Difrnce', 'DIT702101', DeviceType.TABLET], DIT902101: ['Difrnce', 'DIT902101', DeviceType.TABLET], DIT902102: ['Difrnce', 'DIT902102', DeviceType.TABLET], - DIT902103: ['Difrnce', 'DIT902103', DeviceType.TABLET] + DIT902103: ['Difrnce', 'DIT902103', DeviceType.TABLET], }, 'NID 7010': ['Difrnce', 'DIT702201', DeviceType.TABLET], @@ -3827,7 +3931,7 @@ exports.ANDROID_MODELS = { 'iDxD7 3G': ['Digma', 'iDxD7', DeviceType.TABLET], IDXD10: ['Digma', 'iDxD10', DeviceType.TABLET], 'iDxD10 3G': ['Digma', 'iDxD10', DeviceType.TABLET], - iDxQ5: ['Digma', 'iDxQ5'] + iDxQ5: ['Digma', 'iDxQ5'], }, DISTAB9000R: ['Disgo', 'Distab 9000R', DeviceType.TABLET], @@ -3841,9 +3945,13 @@ exports.ANDROID_MODELS = { DM013SH: ['Sharp', 'DM013SH', { carrier: 'Disney Mobile' }], DM014SH: ['Sharp', 'DM014SH', { carrier: 'Disney Mobile' }], DM015K: ['Kyocera', 'DM015K', { carrier: 'Disney Mobile' }], - DM016SH: ['Sharp', 'DM016SH', { carrier: 'Disney Mobile' }] + DM016SH: ['Sharp', 'DM016SH', { carrier: 'Disney Mobile' }], }, + 'DM001c Frozen': ['Disney Mobile', 'DM001C Frozen', { carrier: 'Disney Mobile' }], + 'DM001c Mickey': ['Disney Mobile', 'DM001C Mickey', { carrier: 'Disney Mobile' }], + 'DM001c Princess': ['Disney Mobile', 'DM001C Princess', { carrier: 'Disney Mobile' }], + 'DJC Touchtab3': ['DJC', 'Touchtab3', DeviceType.TABLET], 'DJC Touchtab4': ['DJC', 'Touchtab4', DeviceType.TABLET], 'AirBook TTJ702': ['DNS', 'Airbook TTJ702', DeviceType.TABLET], @@ -3879,7 +3987,7 @@ exports.ANDROID_MODELS = { 'AirTab P970g': ['DNS', 'AirTab P970g', DeviceType.TABLET], 'AirTab P970w': ['DNS', 'AirTab P970w', DeviceType.TABLET], 'AirTab PC9701': ['DNS', 'AirTab PC9701', DeviceType.TABLET], - 'DNS AirTab PF7001': ['DNS', 'AirTab PF7001', DeviceType.TABLET] + 'DNS AirTab PF7001': ['DNS', 'AirTab PF7001', DeviceType.TABLET], }, 'DNS S!!': { @@ -3896,7 +4004,7 @@ exports.ANDROID_MODELS = { 'DNS S5005': ['DNS', 'S5005'], 'DNS S5008': ['DNS', 'S5008'], 'DNS s5301': ['DNS', 'S5301'], - 'DNS S5701': ['DNS', 'S5701'] + 'DNS S5701': ['DNS', 'S5701'], }, DNSS4003: ['DNS', 'S4003'], @@ -3921,6 +4029,11 @@ exports.ANDROID_MODELS = { 'Discovery2-DG500C': ['Doogee', 'Discovery 2 DG500C'], 'DG750 Iron Bone': ['Doogee', 'Iron Bone DG750'], 'TURBO DG2014': ['Doogee', 'Turbo DG2014'], + S58Pro: ['Doogee', 'S58 Pro'], + S68Pro: ['Doogee', 'S68 Pro'], + S70Lite: ['Doogee', 'S70 Lite'], + S88Pro: ['Doogee', 'S88 Pro'], + S96Pro: ['Doogee', 'S96 Pro'], 'DOOV!!': { 'DOOV C1': ['DOOV', 'C1'], @@ -3959,7 +4072,7 @@ exports.ANDROID_MODELS = { 'DOOV T20L': ['DOOV', 'T20L'], 'DOOV T35': ['DOOV', 'T35'], 'DOOV T60': ['DOOV', 'T60'], - 'DOOV T90': ['DOOV', 'T90'] + 'DOOV T90': ['DOOV', 'T90'], }, 'Doro Liberto!!': { @@ -3967,13 +4080,16 @@ exports.ANDROID_MODELS = { 'Doro Liberto 820': ['Doro', 'Liberto 820'], 'Doro Liberto 820 Mini': ['Doro', 'Liberto 820 Mini'], 'Doro Liberto 822': ['Doro', 'Liberto 822'], - 'Doro Liberto 825': ['Doro', 'Liberto 825'] + 'Doro Liberto 825': ['Doro', 'Liberto 825'], }, 'Doro 8030': ['Doro', 'Liberto 822'], + 'Doro 8040': ['Doro', '8040'], 'Doro 824': ['Doro', 'Liberto 824'], '825 T-Mobile': ['Doro', 'Liberto 825'], 'Doro PhoneEasy 745': ['Doro', 'PhoneEasy 745'], + 'DSB-0220': ['Doro', '8080'], + 'DSB-0230': ['Doro', '8050'], M975: ['Double Power', 'M975', DeviceType.TABLET], 'TD-1010': ['Double Power', 'TD-1010', DeviceType.TABLET], 'Tablet-P27': ['DracoTek', 'P27 Tablet', DeviceType.TABLET], @@ -3999,14 +4115,14 @@ exports.ANDROID_MODELS = { 'Revo R80': ['E-Boda', 'Revo R80'], 'E-Boda Storm V50': ['E-Boda', 'Storm V50'], 'Storm V100': ['E-Boda', 'Storm V100'], - 'Storm X450': ['E-Boda', 'Storm X450'] + 'Storm X450': ['E-Boda', 'Storm X450'], }, 'Etel!!': { 'Etel i3': ['E-tel', 'Curiosity i3'], 'Etel i4': ['E-tel', 'Curiosity i4'], 'Etel i6': ['E-tel', 'Curiosity i6'], - 'Etel i8': ['E-tel', 'Curiosity i8'] + 'Etel i8': ['E-tel', 'Curiosity i8'], }, 'EasyPhone EP5': ['Easypix', 'EasyPhone EP5'], @@ -4017,7 +4133,7 @@ exports.ANDROID_MODELS = { 'EBEN S1': ['EBEN', 'S1', DeviceType.TABLET], 'EBEN T6': ['EBEN', 'T6', DeviceType.TABLET], 'EBEN T7': ['EBEN', 'T7', DeviceType.TABLET], - 'EBEN T8': ['EBEN', 'T8', DeviceType.TABLET] + 'EBEN T8': ['EBEN', 'T8', DeviceType.TABLET], }, 'EBEST!!': { @@ -4037,7 +4153,7 @@ exports.ANDROID_MODELS = { 'EBEST W66A': ['EBEST', 'W66A'], 'EBEST W70': ['EBEST', 'W70'], 'EBEST Z5': ['EBEST', 'Z5'], - 'EBEST Z7': ['EBEST', 'Z7'] + 'EBEST Z7': ['EBEST', 'Z7'], }, TA10CA3: ['ECS', 'TA10CA3', DeviceType.TABLET], @@ -4069,7 +4185,7 @@ exports.ANDROID_MODELS = { 'Elephone P7000': ['Elephone', 'P7000'], 'Elephone P8000!': ['Elephone', 'P8000'], 'Elephone S2': ['Elephone', 'S2'], - 'Elephone S2 Plus': ['Elephone', 'S2 Plus'] + 'Elephone S2 Plus': ['Elephone', 'S2 Plus'], }, D709: ['Empire Electronix', 'Tablet D709', DeviceType.TABLET], @@ -4093,7 +4209,7 @@ exports.ANDROID_MODELS = { 'EPADE S3': ['epade', 'S3'], 'epade S5': ['epade', 'S5'], 'epade S7': ['epade', 'S7'], - 'epade V05': ['epade', 'V05'] + 'epade V05': ['epade', 'V05'], }, 'equiso.smart.tv.pro': ['Equiso', 'SmartTV', DeviceType.TELEVISION], @@ -4118,7 +4234,7 @@ exports.ANDROID_MODELS = { 'eSTAR MINI 3G': ['eSTAR', 'Mini 3G', DeviceType.TABLET], 'eSTAR Zoom Quad': ['eSTAR', 'Zoom', DeviceType.TABLET], 'eSTAR ZOOM HD Duo': ['eSTAR', 'Zoom HD', DeviceType.TABLET], - 'eSTAR Zoom HD Quad': ['eSTAR', 'Zoom HD', DeviceType.TABLET] + 'eSTAR Zoom HD Quad': ['eSTAR', 'Zoom HD', DeviceType.TABLET], }, MID1018: ['eSTAR', 'MID1018', DeviceType.TABLET], @@ -4170,7 +4286,7 @@ exports.ANDROID_MODELS = { 'EVERCOSS AT1A': ['EVERCOSS', 'AT1A', DeviceType.TABLET], 'EVERCOSS AT1A*': ['EVERCOSS', 'AT1A', DeviceType.TABLET], 'EVERCOSS AT1G': ['EVERCOSS', 'AT1G', DeviceType.TABLET], - 'EVERCOSS AT8D': ['EVERCOSS', 'AT8D', DeviceType.TABLET] + 'EVERCOSS AT8D': ['EVERCOSS', 'AT8D', DeviceType.TABLET], }, 'AT1A*': ['EVERCOSS', 'AT1A', DeviceType.TABLET], @@ -4193,19 +4309,22 @@ exports.ANDROID_MODELS = { 'EverMiracle mini': ['Evertek', 'EverMiracle Mini'], 'EverMiracle Nano': ['Evertek', 'EverMiracle Nano'], EverShine: ['Evertek', 'EverShine'], - EverTrendy: ['Evertek', 'EverTrendy'] + EverTrendy: ['Evertek', 'EverTrendy'], }, 'E70[0-9]{2,2}H[DG]!!': { E7020HD: ['Evertek', 'Everpad E7020HD', DeviceType.TABLET], - E7050HD: ['Evertek', 'Everpad E7050HD', DeviceType.TABLET] + E7050HD: ['Evertek', 'Everpad E7050HD', DeviceType.TABLET], }, 'E80[0-9]{2,2}H[DG]!!': { E8050HG: ['Evertek', 'Everpad E8050HG', DeviceType.TABLET], - E8051HD: ['Evertek', 'Everpad E8051HD', DeviceType.TABLET] + E8051HD: ['Evertek', 'Everpad E8051HD', DeviceType.TABLET], }, + 'EVOLVEO StrongPhone G7': ['EVOLVEO', 'StrongPhone G7'], + 'EVOLVEO StrongPhone G9': ['EVOLVEO', 'StrongPhone G9'], + P10AN: ['Exper', 'Easypad P10AN', DeviceType.TABLET], '(Explay|X-tremer|ActiveD|Informer|Surfer)!!': { @@ -4246,7 +4365,7 @@ exports.ANDROID_MODELS = { 'Surfer 8 02': ['Explay', 'Surfer 8.02', DeviceType.TABLET], 'Surfer 8.02': ['Explay', 'Surfer 8.02', DeviceType.TABLET], 'Surfer 8.31 3G': ['Explay', 'Surfer 8.31 3G', DeviceType.TABLET], - 'Surfer 10.11': ['Explay', 'Surfer 10.11', DeviceType.TABLET] + 'Surfer 10.11': ['Explay', 'Surfer 10.11', DeviceType.TABLET], }, 'Smart!!': { @@ -4256,12 +4375,14 @@ exports.ANDROID_MODELS = { 'Smart 502': ['Fareastone', 'Smart 502'], Smart503: ['Fareastone', 'Smart 503'], 'Smart 505': ['Fareastone', 'Smart 505'], - 'Smart 701': ['Fareastone', 'Smart 701', DeviceType.TABLET] + 'Smart 701': ['Fareastone', 'Smart 701', DeviceType.TABLET], }, FP1: ['Fairphone', '1'], FP1U: ['Fairphone', '1'], FP2: ['Fairphone', '2'], + FP3: ['Fairphone', '3'], + FP4: ['Fairphone', '4'], 'FDT!!': { 'FDT C838': ['FDT', 'C838'], @@ -4270,31 +4391,31 @@ exports.ANDROID_MODELS = { 'FDT E829': ['FDT', 'E829'], 'FDT E969': ['FDT', 'E969'], 'FDT G18': ['FDT', 'G18'], - 'FDT G505': ['FDT', 'G505'] + 'FDT G505': ['FDT', 'G505'], }, 'GT-[HN][0-9]{4,4}!!': { 'GT-H9001': ['Feiteng', 'GT-H9001'], 'GT-H9500': ['Feiteng', 'GT-H9500'], - 'GT-N9300': ['Feiteng', 'GT-N9300'] + 'GT-N9300': ['Feiteng', 'GT-N9300'], }, 'GT-9000': ['Feiteng', 'H5W'], - '9300': ['Feiteng', 'GT-N9300'], + 9300: ['Feiteng', 'GT-N9300'], 'iOCEAN!!': { 'iOCEAN X7': ['FHD', 'iOCEAN X7'], 'iOCEAN X7 HD': ['FHD', 'iOCEAN X7 HD'], 'iOCEAN X7S': ['FHD', 'iOCEAN X7S'], 'iOCEAN X7T': ['FHD', 'iOCEAN X7T'], - 'iOCEAN X8': ['FHD', 'iOCEAN X8'] + 'iOCEAN X8': ['FHD', 'iOCEAN X8'], }, 'FIH-!!': { 'FIH-F0X': ['FIH', 'F0X'], 'FIH-FBO': ['FIH', 'FBO'], 'FIH-FD1': ['FIH', 'FD1'], - 'FIH-VKY': ['FIH', 'VKY'] + 'FIH-VKY': ['FIH', 'VKY'], }, 'Vibo-A688': ['FIH', 'Vibo A688'], @@ -4302,14 +4423,14 @@ exports.ANDROID_MODELS = { 'XT[0-9]{3,3}!!': { XT712: ['Flipkart', 'Digiflip Pro XT712', DeviceType.TABLET], XT801: ['Flipkart', 'Digiflip Pro XT801', DeviceType.TABLET], - XT811: ['Flipkart', 'Digiflip Pro XT811', DeviceType.TABLET] + XT811: ['Flipkart', 'Digiflip Pro XT811', DeviceType.TABLET], }, 'Fly F[0-9]{2,3}!!': { 'Fly F40': ['Fly', 'F40'], 'FLY F45s': ['Fly', 'F45s'], 'FLY F50s': ['Fly', 'F50s'], - 'Fly F350': ['Fly', 'F350'] + 'Fly F350': ['Fly', 'F350'], }, F50Q: ['Fly', 'F50Q'], @@ -4373,7 +4494,7 @@ exports.ANDROID_MODELS = { '(Fly )?IQ459!': ['Fly', 'IQ459 Evo Chic 2'], IQ588: ['Fly', 'IQ588 Nimbuzz'], IQ4601: ['Fly', 'IQ4601 Era Style 2'], - 'IQ4602 Quad': ['Fly', 'IQ4602 Thunder'] + 'IQ4602 Quad': ['Fly', 'IQ4602 Thunder'], }, 'Flylife!!': { @@ -4383,7 +4504,7 @@ exports.ANDROID_MODELS = { 'Flylife Connect 7.85 3G Slim': ['Fly', 'Flylife Connect 7.85 3G Slim', DeviceType.TABLET], 'Flylife Connect 10.1 3G': ['Fly', 'Flylife Connect 10.1 3G', DeviceType.TABLET], 'Flylife Web 7': ['Fly', 'Flylife Web 7', DeviceType.TABLET], - 'Flylife Web 7.85 Slim': ['Fly', 'Flylife Web 7.85 Slim', DeviceType.TABLET] + 'Flylife Web 7.85 Slim': ['Fly', 'Flylife Web 7.85 Slim', DeviceType.TABLET], }, 'Fly Flylife Web 7.85 Slim': ['Fly', 'Flylife Web 7.85 Slim', DeviceType.TABLET], @@ -4404,7 +4525,7 @@ exports.ANDROID_MODELS = { 'tablet Fnac 10 3G': ['Fnac', 'Tablet 10 3G', DeviceType.TABLET], 'fnac 10 v2': ['Fnac', 'Tablet 10 v2', DeviceType.TABLET], 'fnac 3.0 8': ['Fnac', 'Tablet 3.0 8', DeviceType.TABLET], - 'fnac 3.0 10 Plus': ['Fnac', 'Tablet 3.0 10', DeviceType.TABLET] + 'fnac 3.0 10 Plus': ['Fnac', 'Tablet 3.0 10', DeviceType.TABLET], }, 'ifive!!': { @@ -4420,7 +4541,7 @@ exports.ANDROID_MODELS = { 'ifive MINI 2': ['FNF', 'iFive Mini 2', DeviceType.TABLET], IfiveMini3: ['FNF', 'iFive Mini 3', DeviceType.TABLET], 'ifive mini 3GS': ['FNF', 'iFive Mini 3GS', DeviceType.TABLET], - IfiveMini4: ['FNF', 'iFive Mini 4', DeviceType.TABLET] + IfiveMini4: ['FNF', 'iFive Mini 4', DeviceType.TABLET], }, 'Freelander I20': ['Freelander', 'i20'], @@ -4430,7 +4551,7 @@ exports.ANDROID_MODELS = { 'SXZ-PD10': ['Freelander', 'PD10', DeviceType.TABLET], 'SXZ-PDX0-01': ['Freelander', 'PD20', DeviceType.TABLET], 'SXZ-PDX0-03': ['Freelander', 'PD90', DeviceType.TABLET], - 'SXZ-PDX-03': ['Freelander', 'PD90', DeviceType.TABLET] + 'SXZ-PDX-03': ['Freelander', 'PD90', DeviceType.TABLET], }, FTJ152A: ['Freetel', 'Priori 3'], @@ -4449,20 +4570,20 @@ exports.ANDROID_MODELS = { 'NABI2-NV7A-3D': ['Fuhu', 'nabi 2', DeviceType.TABLET], 'NABIXD-NV10A': ['Fuhu', 'nabi XD', DeviceType.TABLET], 'NABIXD-NV10B': ['Fuhu', 'nabi XD', DeviceType.TABLET], - 'NABIXD-NV10C': ['Fuhu', 'nabi XD', DeviceType.TABLET] + 'NABIXD-NV10C': ['Fuhu', 'nabi XD', DeviceType.TABLET], }, '[0-9]0[0-9]F!!': { '101F': ['Fujitsu', 'ARROWS A 101F', { carrier: 'Softbank' }], '201F': ['Fujitsu', 'ARROWS A 201F', { carrier: 'Softbank' }], '202F': ['Fujitsu', 'ARROWS A 202F', { carrier: 'Softbank' }], - '301F': ['Fujitsu', 'ARROWS A 301F', { carrier: 'Softbank' }] + '301F': ['Fujitsu', 'ARROWS A 301F', { carrier: 'Softbank' }], }, 'ISW?[0-9]{2,2}F!!': { ISW11F: ['Fujitsu', 'ARROWS Z ISW11F', { carrier: 'au' }], ISW13F: ['Fujitsu', 'ARROWS Z ISW13F', { carrier: 'au' }], - IS12F: ['Fujitsu', 'ARROWS ES IS12F', { carrier: 'au' }] + IS12F: ['Fujitsu', 'ARROWS ES IS12F', { carrier: 'au' }], }, 'F-[0-9]{2,2}[A-Z]!!': { @@ -4506,18 +4627,18 @@ exports.ANDROID_MODELS = { 'F-10D': ['Fujitsu', 'ARROWS X F-10D', { carrier: 'DoCoMo' }], 'F-11D': ['Fujitsu', 'ARROWS Me F-11D', { carrier: 'DoCoMo' }], 'F-12C': ['Fujitsu', 'GLOBE-TROTTER F-12C', { carrier: 'DoCoMo' }], - 'F-12D': ['Fujitsu', 'Easy Smartphone F-12D', { carrier: 'DoCoMo' }] + 'F-12D': ['Fujitsu', 'Easy Smartphone F-12D', { carrier: 'DoCoMo' }], }, 'f12[a-z]{3,3}!!': { f12arc: ['Fujitsu', 'F12arc'], - f12bob: ['Fujitsu', 'F12bob'] + f12bob: ['Fujitsu', 'F12bob'], }, 'FJ[LT][0-9]{2,2}!!': { FJL21: ['Fujitsu', 'ARROWS ef FJL21', { carrier: 'au' }], FJL22: ['Fujitsu', 'ARROWS Z FJL22', { carrier: 'au' }], - FJT21: ['Fujitsu', 'ARROWS Tab FJT21', DeviceType.TABLET, { carrier: 'au' }] + FJT21: ['Fujitsu', 'ARROWS Tab FJT21', DeviceType.TABLET, { carrier: 'au' }], }, 'SZJ-JS101': ['Fujitsu', 'SZJ-JS101'], @@ -4554,7 +4675,7 @@ exports.ANDROID_MODELS = { 'F&U ETB9543': ['F&U', 'ETB9543', DeviceType.TABLET], 'F&U ETB9544': ['F&U', 'ETB9544', DeviceType.TABLET], 'F&U ETB1063': ['F&U', 'ETB1063', DeviceType.TABLET], - 'F&U ETB1065': ['F&U', 'ETB1065', DeviceType.TABLET] + 'F&U ETB1065': ['F&U', 'ETB1065', DeviceType.TABLET], }, 'Asus A10': ['Garmin-Asus', 'Nuvifone A10'], @@ -4563,14 +4684,14 @@ exports.ANDROID_MODELS = { 'Garmin!!': { Garminfone: ['Garmin-Asus', 'Garminfone'], 'Garmin-Asus A10': ['Garmin-Asus', 'Nuvifone A10'], - 'Garmin-Asus A50': ['Garmin-Asus', 'Nuvifone A50'] + 'Garmin-Asus A50': ['Garmin-Asus', 'Nuvifone A50'], }, 'nuvi!!': { 'nuvi 3590': ['Garmin', 'Nuvi 3590', DeviceType.GPS], 'nuvi 3592': ['Garmin', 'Nuvi 3592', DeviceType.GPS], 'nuvi 3595': ['Garmin', 'Nuvi 3595', DeviceType.GPS], - 'nuvifone A50': ['Garmin-Asus', 'Nuvifone A50'] + 'nuvifone A50': ['Garmin-Asus', 'Nuvifone A50'], }, 'G1-715': ['Gateway', 'G1-715', DeviceType.TABLET], @@ -4582,7 +4703,7 @@ exports.ANDROID_MODELS = { 'GP-KEON': ['Geeksphone', 'Keon'], 'GP-PEAK': ['Geeksphone', 'Peak'], 'Geeksphone ZERO': ['Geeksphone', 'ZERO'], - 'Geeksphone ONE': ['Geeksphone', 'ONE'] + 'Geeksphone ONE': ['Geeksphone', 'ONE'], }, 'Gemei!!': { @@ -4590,7 +4711,7 @@ exports.ANDROID_MODELS = { 'Gemei G3': ['Gemei', 'G3', DeviceType.TABLET], 'gemei G6': ['Gemei', 'G6', DeviceType.TABLET], 'Gemei G9': ['Gemei', 'G9', DeviceType.TABLET], - 'gemei G9T': ['Gemei', 'G9T', DeviceType.TABLET] + 'gemei G9T': ['Gemei', 'G9T', DeviceType.TABLET], }, 'GEM[0-9]{4,4}!!': { @@ -4598,7 +4719,7 @@ exports.ANDROID_MODELS = { GEM7020: ['Gemini', 'JoyTab GEM7020', DeviceType.TABLET], 'GEM7032G-rev2': ['Gemini', 'JoyTab GEM7032', DeviceType.TABLET], GEM10313BK: ['Gemini', 'JoyTab GEM10313', DeviceType.TABLET], - GEM10313S: ['Gemini', 'JoyTab GEM10313', DeviceType.TABLET] + GEM10313S: ['Gemini', 'JoyTab GEM10313', DeviceType.TABLET], }, 'GP-431': ['Genesis', 'GP-431'], @@ -4610,7 +4731,7 @@ exports.ANDROID_MODELS = { 'GT-7240': ['Genesis', 'Tab GT-7240', DeviceType.TABLET], 'GT-7240R': ['Genesis', 'Tab GT-7240R', DeviceType.TABLET], 'GT-7245': ['Genesis', 'Tab GT-7245', DeviceType.TABLET], - 'GT-7326': ['Genesis', 'Tab GT-7326', DeviceType.TABLET] + 'GT-7326': ['Genesis', 'Tab GT-7326', DeviceType.TABLET], }, 'GP-720': ['Genius', 'GP-720', DeviceType.TABLET], @@ -4650,7 +4771,7 @@ exports.ANDROID_MODELS = { 'GFIVE President Smart 6': ['GFive', 'President Smart 6'], 'GFIVE President Shark 3': ['GFive', 'President Shark 3'], 'GFIVE Spark(A1)': ['GFive', 'Spark'], - 'GFIVE GPad701': ['GFive', 'GPad 701', DeviceType.TABLET] + 'GFIVE GPad701': ['GFive', 'GPad 701', DeviceType.TABLET], }, 'GHIA!!': { @@ -4661,7 +4782,7 @@ exports.ANDROID_MODELS = { 'GHIA 27258B': ['Ghia', 'Any 27258B', DeviceType.TABLET], 'GHIA 27258N': ['Ghia', 'Any 27258N', DeviceType.TABLET], 'GHIA V2.0 27258N': ['Ghia', 'Any 27258N', DeviceType.TABLET], - 'GHIA 29214P': ['Ghia', 'Any 29214P', DeviceType.TABLET] + 'GHIA 29214P': ['Ghia', 'Any 29214P', DeviceType.TABLET], }, '(Gsmart|Gigabyte|Rio)!!': { @@ -4695,7 +4816,7 @@ exports.ANDROID_MODELS = { 'GSmart Sierra S1': ['Gigabyte', 'GSmart Sierra S1'], 'GSmart Tuku T2': ['Gigabyte', 'GSmart Tuku T2'], 'GSmart T4': ['Gigabyte', 'GSmart T4'], - 'Gigabyte TB100': ['Gigabyte', 'TB100', DeviceType.TABLET] + 'Gigabyte TB100': ['Gigabyte', 'TB100', DeviceType.TABLET], }, 'Gigaset!!': { @@ -4703,8 +4824,21 @@ exports.ANDROID_MODELS = { 'Gigaset GS170': ['Gigaset', 'GS170'], 'Gigaset QV830': ['Gigaset', 'QV830', DeviceType.TABLET], 'Gigaset QV831': ['Gigaset', 'QV831', DeviceType.TABLET], - 'Gigaset QV1030': ['Gigaset', 'QV1030', DeviceType.TABLET] - }, + 'Gigaset QV1030': ['Gigaset', 'QV1030', DeviceType.TABLET], + }, + + GS110: ['Gigaset', 'GS110'], + GS185: ['Gigaset', 'GS185'], + GS190: ['Gigaset', 'GS190'], + GS195: ['Gigaset', 'GS195'], + GS270: ['Gigaset', 'GS270'], + 'GS270 plus': ['Gigaset', 'GS270 Plus'], + GS280: ['Gigaset', 'GS280'], + GS290: ['Gigaset', 'GS290'], + 'GS370 Plus': ['Gigaset', 'GS370 Plus'], + 'E940-2795-00': ['Gigaset', 'GS4'], + 'E940-2796-00': ['Gigaset', 'GS4'], + GX290: ['Gigaset', 'GX290'], '80-1': ['Gigaset', 'Maxwell 10', DeviceType.DECT], SL930: ['Gigaset', 'SL930', DeviceType.DECT], @@ -4824,7 +4958,7 @@ exports.ANDROID_MODELS = { 'GLX!!': { 'GLX Jet': ['GLX', 'Jet', DeviceType.TABLET], 'GLX Luster a': ['GLX', 'Luster', DeviceType.TABLET], - 'GLX SpiderI': ['GLX', 'Spider', DeviceType.TABLET] + 'GLX SpiderI': ['GLX', 'Spider', DeviceType.TABLET], }, 'GOCL!!': { @@ -4854,7 +4988,7 @@ exports.ANDROID_MODELS = { GOCLM7000KD: ['Goclever', 'Terra 70', DeviceType.TABLET], 'GOCLEVER HYBRID': ['Goclever', 'Hybrid', DeviceType.TABLET], 'GOCLEVER NETBOOK I102': ['Goclever', 'Netbook I102'], - 'GOCLEVER NETBOOK R103': ['Goclever', 'Netbook R103'] + 'GOCLEVER NETBOOK R103': ['Goclever', 'Netbook R103'], }, 'ARIES 101': ['Goclever', 'ARIES 101', DeviceType.TABLET], @@ -4867,7 +5001,7 @@ exports.ANDROID_MODELS = { 'GO Live!!': { 'GO Live S1': ['GoLive', 'S1'], - 'GO Live Dual Core': ['GoLive', 'Dual Core'] + 'GO Live Dual Core': ['GoLive', 'Dual Core'], }, 'GOOPHONE!!': { @@ -4877,14 +5011,14 @@ exports.ANDROID_MODELS = { 'GOOPHONE M3+': ['Goophone', 'M3+'], 'GooPhone S5 Pro': ['Goophone', 'S5 Pro'], 'GOOPHONE X1': ['Goophone', 'X1'], - 'GOOPHONE X7': ['Goophone', 'X7'] + 'GOOPHONE X7': ['Goophone', 'X7'], }, 'CHONG!!': { 'GHONG T618': ['Guohong', 'T618'], GHONGV10: ['Guohong', 'V10'], GHONGV12: ['Guohong', 'V12'], - 'GHONG W100': ['Guohong', 'W100'] + 'GHONG W100': ['Guohong', 'W100'], }, M758A: ['Gpad', 'M758A', DeviceType.TABLET], @@ -4903,12 +5037,12 @@ exports.ANDROID_MODELS = { 'GO N2': ['GreenOrange', 'N2'], 'GO N3S': ['GreenOrange', 'N3S'], 'GO NX': ['GreenOrange', 'NX'], - 'GO S2': ['GreenOrange', 'S2'] + 'GO S2': ['GreenOrange', 'S2'], }, 'GR-TB!!': { 'GR-TB7': ['Grundig', 'Style Tab GR-TB7', DeviceType.TABLET], - 'GR-TB10S': ['Grundig', 'Style Tab GR-TB10S', DeviceType.TABLET] + 'GR-TB10S': ['Grundig', 'Style Tab GR-TB10S', DeviceType.TABLET], }, 'GVON 898': ['Gvon', 'Aero 898'], @@ -4938,7 +5072,7 @@ exports.ANDROID_MODELS = { '(Haier[- ])?HW-W820!': ['Haier', 'W820'], '(Haier[- ])?HW-W850!': ['Haier', 'W850'], '(Haier[- ])?HW-W860!': ['Haier', 'W860'], - '(Haier[- ])?HW-W910!': ['Haier', 'W910'] + '(Haier[- ])?HW-W910!': ['Haier', 'W910'], }, 'Haier-W700': ['Haier', 'W700'], @@ -4953,7 +5087,7 @@ exports.ANDROID_MODELS = { PAD711: ['Haier', 'Pad 711', DeviceType.TABLET], PAD722: ['Haier', 'Pad 722', DeviceType.TABLET], PAD821: ['Haier', 'Pad 821', DeviceType.TABLET], - PAD822: ['Haier', 'Pad 822', DeviceType.TABLET] + PAD822: ['Haier', 'Pad 822', DeviceType.TABLET], }, I9220: ['Haipai', 'I9220'], @@ -4961,12 +5095,20 @@ exports.ANDROID_MODELS = { X710d: ['Haipai', 'X710D'], X720D: ['Haipai', 'X720D'], + 'Hammer Blade2 PRO': ['Hammer', 'Blade 2 Pro'], + 'Hammer Blade 3': ['Hammer', 'Blade 3'], + 'Hammer Energy': ['Hammer', 'Energy'], + 'Hammer Energy 2': ['Hammer', 'Energy 2'], + 'Hammer Energy 18x9': ['Hammer', 'Energy 18x9'], + 'Hammer Explorer': ['Hammer', 'Explorer'], + 'Hammer Explorer Pro': ['Hammer', 'Explorer Pro'], + 'SN[0-9]!!': { SN10T1: ['HANNspree', 'HANNSpad SN10T1', DeviceType.TABLET], SN10T2: ['HANNspree', 'HANNSpad SN10T2', DeviceType.TABLET], SN14T71: ['HANNspree', 'HANNSpad SN14T71', DeviceType.TABLET], SN97T41W: ['HANNspree', 'HANNSpad SN97T41W', DeviceType.TABLET], - 'SN1AT71W(B)': ['HANNspree', 'HANNSpad SN1AT71WB', DeviceType.TABLET] + 'SN1AT71W(B)': ['HANNspree', 'HANNSpad SN1AT71WB', DeviceType.TABLET], }, 'Hasee E50 S1': ['Hasee', 'E50 S1'], @@ -4988,7 +5130,7 @@ exports.ANDROID_MODELS = { 'HEDY H770': ['Hedy', 'H770'], 'HEDY S801': ['Hedy', 'S801'], 'HEDY S803': ['Hedy', 'S803'], - 'HEDY T700': ['Hedy', 'T700'] + 'HEDY T700': ['Hedy', 'T700'], }, '9300+': ['Hero', '9300+'], @@ -5031,7 +5173,7 @@ exports.ANDROID_MODELS = { 'Zera S': ['Highscreen', 'Zera S'], 'Zera S Rev.S': ['Highscreen', 'Zera S'], 'Zera-S-Power': ['Highscreen', 'Zera S Power'], - 'Zera U': ['Highscreen', 'Zera U'] + 'Zera U': ['Highscreen', 'Zera U'], }, 'HLV-T!!': { @@ -5042,7 +5184,7 @@ exports.ANDROID_MODELS = { 'HLV-T1001W': ['Hi-Level', 'HLV-T1001W', DeviceType.TABLET], 'HLV-T1002W': ['Hi-Level', 'HLV-T1002W', DeviceType.TABLET], 'HLV-T9701': ['Hi-Level', 'HLV-T9701', DeviceType.TABLET], - 'HLV-TN75': ['Hi-Level', 'HLV-TN75', DeviceType.TABLET] + 'HLV-TN75': ['Hi-Level', 'HLV-TN75', DeviceType.TABLET], }, 'Himax Pure': ['Himax', 'Pure'], @@ -5054,7 +5196,7 @@ exports.ANDROID_MODELS = { 'HIKe 828': ['HIKe', 'X1'], 'HIKe 828A': ['HIKe', 'X1'], 'HIKe 848': ['HIKe', 'X2'], - 'HIKe 868': ['HIKe', 'Z1'] + 'HIKe 868': ['HIKe', 'Z1'], }, 'HILIVE H7': ['Hilive', 'H7'], @@ -5078,7 +5220,7 @@ exports.ANDROID_MODELS = { 'HS-10DTB4!': ['Hipstreet', 'Equinox 4 10"', DeviceType.TABLET], 'HS-10DTB5!': ['Hipstreet', 'Spectrum 10"', DeviceType.TABLET], 'HS-10DTB8!': ['Hipstreet', 'Equinox 3 10"', DeviceType.TABLET], - 'HS-10DTB12!': ['Hipstreet', 'Phoenix 10"', DeviceType.TABLET] + 'HS-10DTB12!': ['Hipstreet', 'Phoenix 10"', DeviceType.TABLET], }, 'HS-[EFHITUX][0-9]!!': { @@ -5153,7 +5295,7 @@ exports.ANDROID_MODELS = { 'HS-E936': ['Hisense', 'E936'], 'HS-E956': ['Hisense', 'E956'], 'HS-E956Q': ['Hisense', 'E956'], - 'HS-E968': ['Hisense', 'E968'] + 'HS-E968': ['Hisense', 'E968'], }, 'HS-E[GT][0-9]{3,3}!!': { @@ -5175,7 +5317,7 @@ exports.ANDROID_MODELS = { 'HS-EG978': ['Hisense', 'EG978'], 'HS-EG980': ['Hisense', 'EG980'], 'HS-EG981': ['Hisense', 'EG981'], - 'HS-ET919': ['Hisense', 'ET919'] + 'HS-ET919': ['Hisense', 'ET919'], }, '(HS-)?Hisense!!': { @@ -5190,7 +5332,9 @@ exports.ANDROID_MODELS = { 'Hisense HS-E910': ['Hisense', 'E910'], 'Hisense EG909': ['Hisense', 'EG909'], 'HS-Hisense F20T': ['Hisense', 'F20T'], + 'Hisense F24': ['Hisense', 'F24'], 'Hisense F31': ['Hisense', 'F31'], + 'Hisense Infinity H12': ['Hisense', 'Infinity H12'], 'HS-Hisense I632T': ['Hisense', 'I632T'], 'HS-Hisense I635T': ['Hisense', 'I635T'], 'HS-Hisense I639T': ['Hisense', 'I639T'], @@ -5198,7 +5342,7 @@ exports.ANDROID_MODELS = { 'HS-Hisense E621T': ['Hisense', 'E621T'], 'HS-Hisense E625T': ['Hisense', 'E625T'], 'HS-Hisense F21T': ['Hisense', 'F21T'], - 'Hisense M30T': ['Hisense', 'M30T'] + 'Hisense M30T': ['Hisense', 'M30T'], }, T92: ['Hisense', 'T92'], @@ -5250,7 +5394,7 @@ exports.ANDROID_MODELS = { 'Amaze S500': ['Hi-Tech', 'Amaze S500'], 'AMAZE TAB': ['Hi-Tech', 'Amaze Tab', DeviceType.TABLET], 'AMAZE TAB 2': ['Hi-Tech', 'Amaze Tab 2', DeviceType.TABLET], - 'AMAZE TAB 3': ['Hi-Tech', 'Amaze Tab 3', DeviceType.TABLET] + 'AMAZE TAB 3': ['Hi-Tech', 'Amaze Tab 3', DeviceType.TABLET], }, 'HITO HT-3': ['Hito', 'HT-3'], @@ -5274,7 +5418,7 @@ exports.ANDROID_MODELS = { 'Hosin U7': ['Hosin', 'U7'], 'HOSIN V60': ['Hosin', 'V60'], 'HOSIN V70': ['Hosin', 'V70'], - 'HOSIN V708T': ['Hosin', 'V708T'] + 'HOSIN V708T': ['Hosin', 'V708T'], }, '(HP|Slate)!!': { @@ -5315,7 +5459,7 @@ exports.ANDROID_MODELS = { 'HP SlateBook 14 PC': ['HP', 'SlateBook 14 HD', DeviceType.TABLET], 'HP Pro Slate 8': ['HP', 'Pro Slate 8', DeviceType.TABLET], 'HP Pro Slate 10 EE G1': ['HP', 'Pro Slate 10', DeviceType.TABLET], - 'HP Pro Slate 12': ['HP', 'Pro Slate 12', DeviceType.TABLET] + 'HP Pro Slate 12': ['HP', 'Pro Slate 12', DeviceType.TABLET], }, 'HP!!': { @@ -5336,7 +5480,7 @@ exports.ANDROID_MODELS = { 'HP ProBook ([0-9]{4,4}[a-z])!': ['HP', 'ProBook $1', DeviceType.DESKTOP], 'HP ProBook ([0-9]{3,3} G[0-9])!': ['HP', 'ProBook $1', DeviceType.DESKTOP], 'HP Spectre ((?:[0-9]+ )?x2)!': ['HP', 'Spectre $1', DeviceType.DESKTOP], - 'HP Split ((?:[0-9]+ )?x2)!': ['HP', 'Split $1', DeviceType.DESKTOP] + 'HP Split ((?:[0-9]+ )?x2)!': ['HP', 'Split $1', DeviceType.DESKTOP], }, 'HP-TouchPad': ['HP', 'TouchPad', DeviceType.TABLET], @@ -5603,7 +5747,7 @@ exports.ANDROID_MODELS = { 'HTC Shooter': ['HTC', 'EVO 3D'], 'htc shooteru': ['HTC', 'EVO 3D'], 'HTC ?EVO ?V ?4G!': ['HTC', 'EVO 3D'], - 'HTC EVO 4G+!': ['HTC', 'EVO 4G+'], + 'HTC EVO 4G\+!': ['HTC', 'EVO 4G+'], 'HTC X515e!': ['HTC', 'EVO 4G+'], 'HTC ?EVO ?4G!': ['HTC', 'EVO 4G'], 'HTC jewel': ['HTC', 'EVO 4G'], @@ -5777,6 +5921,7 @@ exports.ANDROID_MODELS = { 'HTC M9(e|pt|px|u|w)!': ['HTC', 'One (M9)'], 'HTC One M9PLUS': ['HTC', 'One (M9 Plus)'], 'HTC One M9PLUS Prime Camera Edition': ['HTC', 'One (M9 Plus)'], + 'HTC One M9 Prime Camera Edition': ['HTC', 'One (M9 Prime)'], 'HTC M9pw': ['HTC', 'One (M9 Plus)'], 'HTC 0PK71': ['HTC', 'One (M9 Plus)'], 'HTC 0PK72': ['HTC', 'One (M9 Plus)'], @@ -5873,9 +6018,13 @@ exports.ANDROID_MODELS = { 'HTC U-3w': ['HTC', 'U11'], 'HTC U-3u': ['HTC', 'U11'], 'HTC 2PZC100': ['HTC', 'U11'], + 'HTC U11 life': ['HTC', 'U11 Life'], + 'HTC U11 plus': ['HTC', 'U11 Plus'], 'HTC 2Q4D200': ['HTC', 'U11 Plus'], 'HTC 2Q3F2': ['HTC', 'U11 Plus'], 'HTC 2Q3F3': ['HTC', 'U11 Plus'], + 'HTC U12+': ['HTC', 'U12+'], + 'HTC U12 life': ['HTC', 'U12 Life'], 'HTC Velocity!': ['HTC', 'Velocity 4G'], 'HTCVelocity 4G': ['HTC', 'Velocity 4G'], 'HTC Vivid': ['HTC', 'Vivid'], @@ -5913,7 +6062,7 @@ exports.ANDROID_MODELS = { 'HTC EVARE UL': ['HTC', 'One X+'], 'HTC ENRC2B': ['HTC', 'One X+'], 'HTC 9089': ['HTC', '9089'], // COS - 'HTC ?909d!': ['HTC', '909d'] // COS + 'HTC ?909d!': ['HTC', '909d'], // COS }, DLX: ['HTC', 'Droid DNA'], @@ -5976,6 +6125,7 @@ exports.ANDROID_MODELS = { 'One V': ['HTC', 'One V'], One: ['HTC', 'One'], 'One M7': ['HTC', 'One'], + 'One Max': ['HTC', 'One Max'], EndeavorU: ['HTC', 'One X'], '2PQ93': ['HTC', 'One (A9)'], m8wl: ['HTC', 'One (M8)'], @@ -6000,7 +6150,7 @@ exports.ANDROID_MODELS = { 'Sprint APA9292KT': ['HTC', 'EVO 4G'], 'Sprint APA7373KT': ['HTC', 'EVO Shift 4G'], 'Sprint APC715CKT': ['HTC', 'EVO Design 4G'], - 'Sprint ATP515CKIT': ['HTC', 'EVO View 4G', DeviceType.TABLET] + 'Sprint ATP515CKIT': ['HTC', 'EVO View 4G', DeviceType.TABLET], }, '710C': ['HTC', 'Desire 816'], @@ -6009,7 +6159,7 @@ exports.ANDROID_MODELS = { '802w': ['HTC', 'One'], '831C': ['HTC', 'One (M8)'], '909d': ['HTC', '909d'], // COS - '9088': ['HTC', '9088'], // COS + 9088: ['HTC', '9088'], // COS A320a: ['HTC', 'Desire C'], A3380: ['HTC', 'Wildfire'], @@ -6053,7 +6203,7 @@ exports.ANDROID_MODELS = { 'USCCADR6275US!': ['HTC', 'Desire'], 'USCCADR6285US!': ['HTC', 'Hero S'], 'USCCADR6325US!': ['HTC', 'Merge'], - 'USCCADR6230US!': ['HTC', 'Wildfire S'] + 'USCCADR6230US!': ['HTC', 'Wildfire S'], }, 'ERIS ADR6200': ['HTC', 'Droid Eris'], @@ -6082,13 +6232,13 @@ exports.ANDROID_MODELS = { S31HT: ['HTC', 'Aria S31HT', { carrier: 'EMOBILE' }], X06HT: ['HTC', 'Desire X06HT', { carrier: 'Softbank' }], '001HT': ['HTC', 'Desire HD 001HT', { carrier: 'Softbank' }], - '601HT': ['HTC', 'U11 601HT', { carrier: 'Softbank' }] + '601HT': ['HTC', 'U11 601HT', { carrier: 'Softbank' }], }, 'ISW[0-9]{2,2}HT!!': { 'ISW11HT!': ['HTC', 'EVO WiMAX ISW11HT', { carrier: 'au' }], 'ISW12HT!': ['HTC', 'EVO 3D ISW12HT', { carrier: 'au' }], - 'ISW13HT!': ['HTC', 'J ISW13HT', { carrier: 'au' }] + 'ISW13HT!': ['HTC', 'J ISW13HT', { carrier: 'au' }], }, '(HTC )?HT[LV][0-9]{2,2}!!': { @@ -6097,7 +6247,7 @@ exports.ANDROID_MODELS = { 'HTC HTL22': ['HTC', 'J One HTL22', { carrier: 'au' }], 'HTL23!': ['HTC', 'J Butterfly HTL23', { carrier: 'au' }], 'HTV31!': ['HTC', 'J Butterfly HTV31', { carrier: 'au' }], - 'HTV32!': ['HTC', '10 HTV32', { carrier: 'au' }] + 'HTV32!': ['HTC', '10 HTV32', { carrier: 'au' }], }, 'GT-T9500': ['HTM', 'GT-T9500'], @@ -6137,10 +6287,10 @@ exports.ANDROID_MODELS = { 'MediaPad X1 7.0': ['Huawei', 'MediaPad X1', DeviceType.TABLET], 'MediaPad X1': ['Huawei', 'MediaPad X1', DeviceType.TABLET], 'MediaPad 7D': ['Huawei', 'MediaPad X1', DeviceType.TABLET], - 'MediaPad X1 S 7.0': ['Huawei', 'MediaPad X1 S', DeviceType.TABLET] + 'MediaPad X1 S 7.0': ['Huawei', 'MediaPad X1 S', DeviceType.TABLET], }, - '(Huawei )?[MSTX](1|2|7|8|10)-[A-Z0-9][0-9]{2,2}!!': { + '(Huawei )?[MSTX](1|2|7|8|10)\-[A-Z0-9][0-9]{2,2}!!': { 'Huawei S7-312u': ['Huawei', 'MediaPad', DeviceType.TABLET], 'S7-721u': ['Huawei', 'MediaPad 7 Youth 2', DeviceType.TABLET], 'S10-232L': ['Huawei', 'MediaPad 10 Link', DeviceType.TABLET], @@ -6165,7 +6315,7 @@ exports.ANDROID_MODELS = { 'T1-821L': ['Huawei', 'MediaPad T1', DeviceType.TABLET], 'T1-823L': ['Huawei', 'MediaPad T1', DeviceType.TABLET], 'S8-701w': ['Huawei', 'MediaPad T1', DeviceType.TABLET], - 'S8-821w': ['Huawei', 'MediaPad T1', DeviceType.TABLET] + 'S8-821w': ['Huawei', 'MediaPad T1', DeviceType.TABLET], }, 'T1 7.0': ['Huawei', 'MediaPad T1', DeviceType.TABLET], @@ -6180,14 +6330,24 @@ exports.ANDROID_MODELS = { 'BGO-(DL09|L03)!': ['Huawei', 'MediaPad T2', DeviceType.TABLET], 'KOB-(L09|W09)!': ['Huawei', 'MediaPad T3', DeviceType.TABLET], 'AGS-(L09|W09)!': ['Huawei', 'MediaPad T3', DeviceType.TABLET], - 'BG2-(U01)!': ['Huawei', 'MediaPad T3', DeviceType.TABLET], + 'BG2-(U01|W09)!': ['Huawei', 'MediaPad T3', DeviceType.TABLET], + 'AGS2-(L09|W09)!': ['Huawei', 'MediaPad T5', DeviceType.TABLET], + 'KOB2-(W09)!': ['Huawei', 'MediaPad T8', DeviceType.TABLET], 'BTV-(DL09|W09)!': ['Huawei', 'MediaPad M3', DeviceType.TABLET], 'CPN-(W09|AL00|L09)!': ['Huawei', 'MediaPad M3 Lite', DeviceType.TABLET], 'BAH-(W09|AL00|L09)!': ['Huawei', 'MediaPad M3 Lite', DeviceType.TABLET], + 'SHT-W09': ['Huawei', 'MediaPad M5', DeviceType.TABLET], + 'CMR-(AL09|AL19|W09|W19)!': ['Huawei', 'MediaPad M5', DeviceType.TABLET], + 'BAH2-(AL10|L09|W09|W19)!': ['Huawei', 'MediaPad M5 Lite', DeviceType.TABLET], + 'SCM-(AL09|W09)!': ['Huawei', 'MediaPad M6', DeviceType.TABLET], + + 'BAH3-(W09)!': ['Huawei', 'MatePad 10.4', DeviceType.TABLET], 'JDN-W09': ['Huawei', 'Honor Pad 2', DeviceType.TABLET], + 'JDN2-AL00HN': ['Huawei', 'Honor Tab 5', DeviceType.TABLET], + 'JDN2-W09HN': ['Huawei', 'Honor Tab 5', DeviceType.TABLET], - '(HUAWEI )?(ALP|BLA|CRR|LON|MATE|MHA|MT1|MT2|MT7|M200|NXT|Z100)!!': { + '(HUAWEI )?(ALP|BLA|CRR|EVR|HMA|LIO|LON|LYA|MATE|MHA|MT1|MT2|MT7|M200|NOH|NXT|SNE|TAS|Z100)!!': { '(HW-|HUAWEI )?MT1-(T00|U06)!': ['Huawei', 'Ascend Mate'], '(HW-|HUAWEI )?MATE-U06!': ['Huawei', 'Ascend Mate'], '(HW-|HUAWEI )?MT2-?(C00|L01|L02|L03|L05)!': ['Huawei', 'Ascend Mate 2'], @@ -6199,114 +6359,163 @@ exports.ANDROID_MODELS = { '(HW-|HUAWEI )?LON-(AL00|L29)!': ['Huawei', 'Mate 9 Pro'], '(HW-|HUAWEI )?ALP-(AL00|L09|L29|TL00)!': ['Huawei', 'Mate 10'], '(HW-|HUAWEI )?BLA-(A09|AL00|L09|L29|L30|TL00)!': ['Huawei', 'Mate 10 Pro'], - '(HW-|HUAWEI )?CRR-(L09|CL00|CL20|TL00|UL00|UL20)!': ['Huawei', 'Mate S'] + '(HW-|HUAWEI )?HMA-(AL00|L09|L29|TL00)!': ['Huawei', 'Mate 20'], + '(HW-|HUAWEI )?EVR-(AL00|AN00|L29|N29|TL00)!': ['Huawei', 'Mate 20 X'], + '(HW-|HUAWEI )?SNE-(AL00|LX1|LX2|LX3)!': ['Huawei', 'Mate 20 Lite'], + '(HW-|HUAWEI )?LYA-(AL00|AL00P|AL10|L09|L0C|L29|TL00)!': ['Huawei', 'Mate 20 Pro'], + '(HW-|HUAWEI )?TAS-(AL00)!': ['Huawei', 'Mate 30'], + '(HW-|HUAWEI )?LIO-(AL00|AN00|L29)!': ['Huawei', 'Mate 30 Pro'], + '(HW-|HUAWEI )?NOH-(NX9)!': ['Huawei', 'Mate 40'], + '(HW-|HUAWEI )?CRR-(L09|CL00|CL20|TL00|UL00|UL20)!': ['Huawei', 'Mate S'], }, - '(HW-|HUAWEI )?(DRA|FLA|TIT|TAG|NCE|TRT|SLA)!!': { + '(HW-|HUAWEI )?(ATU|DRA|DVC|FLA|JKM|TIT|TAG||MRD|NCE|POT|TRT|SLA)!!': { '(HW-|HUAWEI )?TIT-(AL00|CL00|CL10|L01|TL00|U02)!': ['Huawei', 'Enjoy 5'], '(HW-|HUAWEI )?TAG-(AL00|CL00|L13|TL00)!': ['Huawei', 'Enjoy 5S'], '(HW-|HUAWEI )?NCE-(AL00|AL10|TL10)!': ['Huawei', 'Enjoy 6'], '(HW-|HUAWEI )?SLA-(AL00|L02|L03|L22|TL10)!': ['Huawei', 'Enjoy 7'], '(HW-|HUAWEI )?TRT-(AL00|L21|L53|LX1|LX2|LX3|TL10)!': ['Huawei', 'Enjoy 7 Plus'], '(HW-|HUAWEI )?FLA-(AL10|AL20|LX1|LX2|LX3|TL10)!': ['Huawei', 'Enjoy 8 Plus'], - '(HW-|HUAWEI )?DRA-(AL00|L01|L21|LX2)!': ['Huawei', 'Enjoy 8e'] - }, - - '(HW-|HUAWEI |HONOR )?(ATH|BLN|BKL|BND|CHE|CHM|COL|DUA|DUK|DLI|EDI|FRD|HN3|H30|H60|HOL|JMM|KIW|LLD|NEM|NMO|PE|PLK|RNE|SCL|KNT|CAM|STF|HDN)!!': { - 'H30 U10': ['Huawei', 'Honor 3C'], - '(HW-|HUAWEI )?HN3-(U00|U01)!': ['Huawei', 'Honor 3'], - '(HW-|HUAWEI |HONOR )?H30[- ](C00|L01|L02|T00|T10|U10)!': ['Huawei', 'Honor 3C'], - '(HW-|HUAWEI )?HOL-(T00|U10|U19|U40)!': ['Huawei', 'Honor 3C'], - '(HW-|HUAWEI )?CHM-(CL00|TL00H|TL00|U01|UL00)!': ['Huawei', 'Honor Play 4C'], - '(HW-|HUAWEI )?SCL-(L01|L02|L03|L04|L21|L32|L001|L004|AL00|CL00|TL00|TL00H|TL10|U23|U31)!': [ - 'Huawei', - 'Honor 4A' - ], - '(HW-|HUAWEI )?CHE-(TL00|TL00H)!': ['Huawei', 'Honor 4X'], - '(HW-|HUAWEI )?Che1-(L04|CL10|CL20)!': ['Huawei', 'Honor 4X'], - '(HW-|HUAWEI )?Che2-(L11|L12|L23|TL00|UL00)!': ['Huawei', 'Honor 4X'], - '(HW-|HUAWEI )?NEM-(AL10|CL00|L21|L22|L51|TL00|TL00H|UL10)!': ['Huawei', 'Honor 5C'], - '(HW-|HUAWEI )?NMO-(L22|L23|L31)!': ['Huawei', 'Honor 5C'], - '(HW-|HUAWEI )?KIW-(AL10|CL00|L21|L22|L24|UL00|TL00|TL00H)!': ['Huawei', 'Honor 5X'], - '(HW-|HUAWEI )?H60-(J1|L01|L02|L03|L04|L11|L12|L21)!': ['Huawei', 'Honor 6'], - '(HW-|HUAWEI )?DLI-(AL10|L22|L42|TL20)!': ['Huawei', 'Honor 6A'], - '(HW-|HUAWEI )?BLN-(AL10|AL20|AL30|AL40|L21|L22|L24|TL00|TL10)!': ['Huawei', 'Honor 6X'], - '(HW-|HUAWEI )?PE-(CL00|TL00|TL00M|TL10|TL20|UL00)!': ['Huawei', 'Honor 6 Plus'], - '(HW-|HUAWEI |HONOR )?PLK-(L01|AL10|CL00|UL00|TL00|TL01H)!': ['Huawei', 'Honor 7'], - '(HW-|HUAWEI )?ATH-(AL00|CL00|TL00|TL00H|UL00)!': ['Huawei', 'Honor 7i'], - '(HW-|HUAWEI )?BND-(AL00|AL10|L21|L24|L31|L34|TL10)!': ['Huawei', 'Honor 7X'], - '(HW-|HUAWEI )?DUA-(AL00)!': ['Huawei', 'Honor 7 Play'], - '(HW-|HUAWEI )?FRD-(AL00|AL10|DL00|L02|L04|L09|L14|L19)!': ['Huawei', 'Honor 8'], - '(HW-|HUAWEI )?ATH-(UL01|UL06)!': ['Huawei', 'Honor ShotX'], - '(HW-|HUAWEI )?KNT-(AL10|AL20|TL10|UL10)!': ['Huawei', 'Honor V8'], - '(HW-|HUAWEI )?EDI-(AL10)!': ['Huawei', 'Honor Note 8'], - '(HW-|HUAWEI )?STF-(AL00|AL10|L09|TL10)!': ['Huawei', 'Honor 9'], - '(HW-|HUAWEI )?LLD-(AL00|AL10|AL20|L21|L31)!': ['Huawei', 'Honor 9 Lite'], - '(HW-|HUAWEI )?RNE-(AL00|L01|L02|L03|L21|L22|L23|L31)!': ['Huawei', 'Honor 9i'], - '(HW-|HUAWEI )?COL-(AL00|AL10|L29|TL00|TL10)!': ['Huawei', 'Honor 10'], - '(HW-|HUAWEI )?DUK-(AL20|L09|TL30)!': ['Huawei', 'Honor V9'], - '(HW-|HUAWEI )?JMM-(AL00|AL10|L22|L22HN|TL00)!': ['Huawei', 'Honor V9 Play'], - '(HW-|HUAWEI )?BKL-(AL00|AL20|L04|L09)!': ['Huawei', 'Honor V10'], - '(HW-|HUAWEI )?HDN-(L09|W09)!': ['Huawei', 'Honor WaterPlay', DeviceType.TABLET] - }, + '(HW-|HUAWEI )?DRA-(AL00|L01|L21|LX2|LX9)!': ['Huawei', 'Enjoy 8e'], + '(HW-|HUAWEI )?ATU-(AL10|L11|L21|L22|L31|LX3|TL10)!': ['Huawei', 'Enjoy 8e'], + '(HW-|HUAWEI )?POT-(AL00a|LX1|LX1AF|LX1T|LX2J|LX3)!': ['Huawei', 'Enjoy 9S'], + '(HW-|HUAWEI )?MRD-(AL00|LX1|LX1F|LX1N|LX2|LX3)!': ['Huawei', 'Enjoy 9e'], + '(HW-|HUAWEI )?JKM-(AL00|AL00a|AL00b|LX1|LX2|LX3|TL00)!': ['Huawei', 'Enjoy 9 Plus'], + '(HW-|HUAWEI )?DVC-(AN20)!': ['Huawei', 'Enjoy 20 Pro'], + }, + + '(HW-|HUAWEI |HONOR )?(ATH|AUM|BLN|BKL|BKK|BND|CHE|CHM|COL|COR|DUA|DUK|DLI|EDI|FRD|HLK|HN3|H30|H60|HOL|HRY|JAT|JMM|JSN|LRA|KIW|KSA|LLD|NEM|NMO|NTH|NTN|OXF|PE|PCT|PLK|RNE|SCL|TNY|KNT|CAM|STF|HDN|YAL)!!': + { + 'H30 U10': ['Huawei', 'Honor 3C'], + '(HW-|HUAWEI )?HN3-(U00|U01)!': ['Huawei', 'Honor 3'], + '(HW-|HUAWEI |HONOR )?H30[- ](C00|L01|L02|T00|T10|U10)!': ['Huawei', 'Honor 3C'], + '(HW-|HUAWEI )?HOL-(T00|U10|U19|U40)!': ['Huawei', 'Honor 3C'], + '(HW-|HUAWEI )?CHM-(CL00|TL00H|TL00|U01|UL00)!': ['Huawei', 'Honor Play 4C'], + '(HW-|HUAWEI )?SCL-(L01|L02|L03|L04|L21|L32|L001|L004|AL00|CL00|TL00|TL00H|TL10|U23|U31)!': [ + 'Huawei', + 'Honor 4A', + ], + '(HW-|HUAWEI )?CHE-(TL00|TL00H)!': ['Huawei', 'Honor 4X'], + '(HW-|HUAWEI )?Che1-(L04|CL10|CL20)!': ['Huawei', 'Honor 4X'], + '(HW-|HUAWEI )?Che2-(L11|L12|L23|TL00|UL00)!': ['Huawei', 'Honor 4X'], + '(HW-|HUAWEI )?NEM-(AL10|CL00|L21|L22|L51|TL00|TL00H|UL10)!': ['Huawei', 'Honor 5C'], + '(HW-|HUAWEI )?NMO-(L22|L23|L31)!': ['Huawei', 'Honor 5C'], + '(HW-|HUAWEI )?KIW-(AL10|CL00|L21|L22|L24|UL00|TL00|TL00H)!': ['Huawei', 'Honor 5X'], + '(HW-|HUAWEI )?H60-(J1|L01|L02|L03|L04|L11|L12|L21)!': ['Huawei', 'Honor 6'], + '(HW-|HUAWEI )?DLI-(AL10|L22|L42|TL20)!': ['Huawei', 'Honor 6A'], + '(HW-|HUAWEI )?BLN-(AL10|AL20|AL30|AL40|L21|L22|L24|TL00|TL10)!': ['Huawei', 'Honor 6X'], + '(HW-|HUAWEI )?PE-(CL00|TL00|TL00M|TL10|TL20|UL00)!': ['Huawei', 'Honor 6 Plus'], + '(HW-|HUAWEI |HONOR )?PLK-(L01|AL10|CL00|UL00|TL00|TL01H)!': ['Huawei', 'Honor 7'], + '(HW-|HUAWEI )?ATH-(AL00|CL00|TL00|TL00H|UL00)!': ['Huawei', 'Honor 7i'], + '(HW-|HUAWEI )?AUM-(L29)!': ['Huawei', 'Honor 7A'], + '(HW-|HUAWEI )?DUA-(L22)!': ['Huawei', 'Honor 7S'], + '(HW-|HUAWEI )?BND-(AL00|AL10|L21|L24|L31|L34|TL10)!': ['Huawei', 'Honor 7X'], + '(HW-|HUAWEI )?DUA-(AL00|TL00)!': ['Huawei', 'Honor 7 Play'], + '(HW-|HUAWEI )?FRD-(AL00|AL10|DL00|L02|L04|L09|L14|L19)!': ['Huawei', 'Honor 8'], + '(HW-|HUAWEI )?JAT-(L29|L41|LX1|LX3)!': ['Huawei', 'Honor 8A Pro'], + '(HW-|HUAWEI )?BKK-(AL00|AL10|L21|LX2)!': ['Huawei', 'Honor 8C'], + '(HW-|HUAWEI )?KSA-(LX9)!': ['Huawei', 'Honor 8S'], + '(HW-|HUAWEI )?JSN-(AL00|AL00a|L21|L22|L23|L42|TL00)!': ['Huawei', 'Honor 8X'], + '(HW-|HUAWEI )?ATH-(UL01|UL06)!': ['Huawei', 'Honor ShotX'], + '(HW-|HUAWEI )?KNT-(AL10|AL20|TL10|UL10)!': ['Huawei', 'Honor V8'], + '(HW-|HUAWEI )?EDI-(AL10)!': ['Huawei', 'Honor Note 8'], + '(HW-|HUAWEI )?STF-(AL00|AL10|L09|TL10)!': ['Huawei', 'Honor 9'], + '(HW-|HUAWEI )?LLD-(AL00|AL10|AL20|L21|L31)!': ['Huawei', 'Honor 9 Lite'], + '(HW-|HUAWEI )?RNE-(AL00|L01|L02|L03|L21|L22|L23|L31)!': ['Huawei', 'Honor 9i'], + '(HW-|HUAWEI )?HLK-(AL00|AL10)!': ['Huawei', 'Honor 9X'], + '(HW-|HUAWEI )?COL-(AL00|AL10|L29|TL00|TL10)!': ['Huawei', 'Honor 10'], + '(HW-|HUAWEI )?HRY-(LX1)!': ['Huawei', 'Honor 10 Lite'], + '(HW-|HUAWEI )?YAL-(AL00|AL10|L21|L41)!': ['Huawei', 'Honor 20'], + '(HW-|HUAWEI )?LRA-(AL00)!': ['Huawei', 'Honor 20 Lite'], + '(HW-|HUAWEI )?NTH-(NX9)!': ['Huawei', 'Honor 50'], + '(HW-|HUAWEI )?NTN-(LX1)!': ['Huawei', 'Honor 50 Lite'], + '(HW-|HUAWEI )?DUK-(AL20|L09|TL30)!': ['Huawei', 'Honor V9'], + '(HW-|HUAWEI )?JMM-(AL00|AL10|L22|L22HN|TL00)!': ['Huawei', 'Honor V9 Play'], + '(HW-|HUAWEI )?BKL-(AL00|AL20|L04|L09)!': ['Huawei', 'Honor V10'], + '(HW-|HUAWEI )?PCT-(AL10|L29|TL10)!': ['Huawei', 'Honor V20'], + '(HW-|HUAWEI )?OXF-(AN10)!': ['Huawei', 'Honor V30 Pro'], + '(HW-|HUAWEI )?TNY-(AL00)!': ['Huawei', 'Honor Magic 2'], + '(HW-|HUAWEI )?COR-(AL10|L29)!': ['Huawei', 'Honor Play'], + '(HW-|HUAWEI )?HDN-(L09|W09)!': ['Huawei', 'Honor WaterPlay', DeviceType.TABLET], + }, '(HW-|HUAWEI )?(BLL|CHC|TAG|KII)!!': { '(HW-|HUAWEI )?CHC-(U01|U03|U23)!': ['Huawei', 'G Play Mini'], '(HW-|HUAWEI )?TAG-(L01|L03|L21|L22|L23|L32)!': ['Huawei', 'GR3'], '(HW-|HUAWEI )?KII-(L03|L05|L21|L22|L23|L33)!': ['Huawei', 'GR5'], - '(HW-|HUAWEI )?BLL-(L21|L22|L23)!': ['Huawei', 'GR5 (2017)'] - }, - - '(HW-|HUAWEI )?(ALE|ANE|D2|DAV|EML|EVA|FIG|G6|G7|GRA|M100|P2|P6|P7|PRA|RIO|SC|Sophia|VIE|VKY|VNS|VTR|WAS)!!': { - 'HUAWEI D2': ['Huawei', 'Ascend D2'], - '(HW-|HUAWEI )?D2-(0082|2010|5000|6070|6114)!': ['Huawei', 'Ascend D2'], - '(HW-|HUAWEI )?G6-(C00|L11|L22|L33|T00|U00|U10|U34|U251)!': ['Huawei', 'Ascend G6'], - '(HW-|HUAWEI )?G7-(L01|L02|L03|L11|TL00|UL20)!': ['Huawei', 'Ascend G7'], - 'HUAWEI G7': ['Huawei', 'Ascend G7'], - '(HW-|HUAWEI )?RIO-(L01|L02|L03|AL00|UL00|CL00|TL00)!': ['Huawei', 'Ascend G8'], - '(HW-|HUAWEI )?SC-(CL00|UL10)!': ['Huawei', 'Ascend GX1'], - '(HW-|HUAWEI )?P2-(0000|6011|6070)!': ['Huawei', 'Ascend P2'], - '(HW-|HUAWEI )?P6-(C00|U00|U06|T00|T00V|VIP)!': ['Huawei', 'Ascend P6'], - '(HW-|HUAWEI )?P6 ?S-U06!': ['Huawei', 'Ascend P6'], - '(HW-|HUAWEI )?Sophia-(L07|L10)!': ['Huawei', 'Ascend P7'], - '(HW-|HUAWEI )?P7-(L00|L01|L05|L07|L09|L10|L11|L12)!': ['Huawei', 'Ascend P7'], - '(HW-|HUAWEI )?M100-(CL00|L09|TL00|UL00)!': ['Huawei', 'P8'], - '(HW-|HUAWEI )?GRA-(CL00|CL10|L09|TL00|UL00|UL10)!': ['Huawei', 'P8'], - '(HW-|HUAWEI )?ALE-?(L02|L04|L21|L23|CL00|TL00|UL00)!': ['Huawei', 'P8 Lite'], - '(HW-|HUAWEI )?PRA-?(AL00|LA1|LX1|LX2|LX3|TL10)!': ['Huawei', 'P8 Lite (2017)'], - '(HW-|HUAWEI )?DAV-?(703L)!': ['Huawei', 'P8 Max'], - '(HW-|HUAWEI )?EVA-?(AL00|AL10|CL00|DL00|L09|L19|L29|TL00)!': ['Huawei', 'P9'], - '(HW-|HUAWEI )?VNS-?(AL00|DL00|L21|L22|L23|L31|L52|L53|L62|TL00)!': ['Huawei', 'P9 Lite'], - '(HW-|HUAWEI )?VIE-?(AL00|AL10|L09|L29)!': ['Huawei', 'P9 Plus'], - '(HW-|HUAWEI )?VTR-?(AL00|L09|L29|TL00)!': ['Huawei', 'P10'], - '(HW-|HUAWEI )?WAS-?(AL00|L03T|LX1|LX1A|LX2|LX2J|LX3|TL10)!': ['Huawei', 'P10 Lite'], - '(HW-|HUAWEI )?VKY-?(AL00|L09|L29|TL00)!': ['Huawei', 'P10 Plus'], - '(HW-|HUAWEI )?FIG-?(AL00|AL10|LA1|LX1|LX3|TL00)!': ['Huawei', 'P Smart'], - '(HW-|HUAWEI )?EML-?(AL00|L09|L29|TL00)!': ['Huawei', 'P20'], - '(HW-|HUAWEI )?ANE-?(AL00|L21|LX1|LX2|LX2J|LX3)!': ['Huawei', 'P20 lite'] - }, + '(HW-|HUAWEI )?BLL-(L21|L22|L23)!': ['Huawei', 'GR5 (2017)'], + }, + + '(HW-|HUAWEI )?(ALE|ANA|ANE|CDY|CLT|D2|DAV|ELE|ELS|EML|EVA|FIG|G6|G7|GRA|JNY|MAR|M100|P2|P6|P7|PPA|PRA|RIO|SC|Sophia|STK|VIE|VKY|VNS|VOG|VTR|WAS)!!': + { + 'HUAWEI D2': ['Huawei', 'Ascend D2'], + '(HW-|HUAWEI )?D2-(0082|2010|5000|6070|6114)!': ['Huawei', 'Ascend D2'], + '(HW-|HUAWEI )?G6-(C00|L11|L22|L33|T00|U00|U10|U34|U251)!': ['Huawei', 'Ascend G6'], + '(HW-|HUAWEI )?G7-(L01|L02|L03|L11|TL00|UL20)!': ['Huawei', 'Ascend G7'], + 'HUAWEI G7': ['Huawei', 'Ascend G7'], + '(HW-|HUAWEI )?RIO-(L01|L02|L03|AL00|UL00|CL00|TL00)!': ['Huawei', 'Ascend G8'], + '(HW-|HUAWEI )?SC-(CL00|UL10)!': ['Huawei', 'Ascend GX1'], + '(HW-|HUAWEI )?P2-(0000|6011|6070)!': ['Huawei', 'Ascend P2'], + '(HW-|HUAWEI )?P6-(C00|U00|U06|T00|T00V|VIP)!': ['Huawei', 'Ascend P6'], + '(HW-|HUAWEI )?P6 ?S-U06!': ['Huawei', 'Ascend P6'], + '(HW-|HUAWEI )?Sophia-(L07|L10)!': ['Huawei', 'Ascend P7'], + '(HW-|HUAWEI )?P7-(L00|L01|L05|L07|L09|L10|L11|L12)!': ['Huawei', 'Ascend P7'], + '(HW-|HUAWEI )?M100-(CL00|L09|TL00|UL00)!': ['Huawei', 'P8'], + '(HW-|HUAWEI )?GRA-(CL00|CL10|L09|TL00|UL00|UL10)!': ['Huawei', 'P8'], + '(HW-|HUAWEI )?ALE-?(L02|L04|L21|L23|CL00|TL00|UL00)!': ['Huawei', 'P8 Lite'], + '(HW-|HUAWEI )?PRA-?(AL00|LA1|LX1|LX2|LX3|TL10)!': ['Huawei', 'P8 Lite (2017)'], + '(HW-|HUAWEI )?DAV-?(703L)!': ['Huawei', 'P8 Max'], + '(HW-|HUAWEI )?EVA-?(AL00|AL10|CL00|DL00|L09|L19|L29|TL00)!': ['Huawei', 'P9'], + '(HW-|HUAWEI )?VNS-?(AL00|DL00|L21|L22|L23|L31|L52|L53|L62|TL00)!': ['Huawei', 'P9 Lite'], + '(HW-|HUAWEI )?VIE-?(AL00|AL10|L09|L29)!': ['Huawei', 'P9 Plus'], + '(HW-|HUAWEI )?VTR-?(AL00|L09|L29|TL00)!': ['Huawei', 'P10'], + '(HW-|HUAWEI )?WAS-?(AL00|L03T|LX1|LX1A|LX2|LX2J|LX3|TL10)!': ['Huawei', 'P10 Lite'], + '(HW-|HUAWEI )?VKY-?(AL00|L09|L29|TL00)!': ['Huawei', 'P10 Plus'], + '(HW-|HUAWEI )?FIG-?(AL00|AL10|LA1|LX1|LX3|TL00)!': ['Huawei', 'P Smart'], + '(HW-|HUAWEI )?STK-?(L21|L22|LX1|LX3)!': ['Huawei', 'P Smart Z'], + '(HW-|HUAWEI )?PPA-?(LX1|LX2)!': ['Huawei', 'P Smart (2021)'], + '(HW-|HUAWEI )?EML-?(AL00|L09|L29|TL00)!': ['Huawei', 'P20'], + '(HW-|HUAWEI )?ANE-?(AL00|L21|LX1|LX2|LX2J|LX3)!': ['Huawei', 'P20 Lite'], + '(HW-|HUAWEI )?CLT-?(AL00|AL01|L04|L09|L29|L39|TL00|TL01)!': ['Huawei', 'P20 Pro'], + '(HW-|HUAWEI )?ELE-?(AL00|L04|L09|L29|TL00)!': ['Huawei', 'P30'], + '(HW-|HUAWEI )?VOG-?(AL00|AL10|L04|L09|L29|TL00)!': ['Huawei', 'P30 Pro'], + '(HW-|HUAWEI )?MAR-?(LX1B)!': ['Huawei', 'P30 Lite'], + '(HW-|HUAWEI )?ANA-?(NX9)!': ['Huawei', 'P40'], + '(HW-|HUAWEI )?JNY-?(LX1)!': ['Huawei', 'P40 Lite'], + '(HW-|HUAWEI )?CDY-?(NX9A)!': ['Huawei', 'P40 Lite'], + '(HW-|HUAWEI )?ELS-?(N39|NX9)!': ['Huawei', 'P40 Pro'], + }, 'Rock-(AL00|CL00|L01|L03)!': ['Huawei', 'Ascend G7'], 'HUAWEI A168-(AL10|DL09|L09|L29)!': ['Huawei', 'P9'], - '(HW-|HUAWEI )?(CRO|LUA|CUN|SCC|SCU|CAM|LDN|LYO|MYA)!!': { + '(HW-|HUAWEI )?(AMN|ART|AQM|CRO|LUA|CUN|DUB|SCC|SCU|CAM|LDN|LYO|MED|MYA)!!': { '(HW-|HUAWEI )?CRO-(L02|L03|L22|U00)!': ['Huawei', 'Y3 (2017)'], '(HW-|HUAWEI )?LUA-(L01|L02|L03|L13|L21|L22|L23|U02|U03|U22|U23)!': ['Huawei', 'Y3 II'], '(HW-|HUAWEI )?CUN-(AL00|L01|L02|L03|L21|L22|L23|L33|TL00|U29)!': ['Huawei', 'Y5 II'], '(HW-|HUAWEI )?MYA-(AL10|L02|L03|L11|L13|L22|L23|L41|TL10)!': ['Huawei', 'Y5 (2017)'], + '(HW-|HUAWEI )?AMN-(LX2|LX9)!': ['Huawei', 'Y5 (2019)'], '(HW-|HUAWEI )?SCC-(U21)!': ['Huawei', 'Y6'], '(HW-|HUAWEI )?SCU-(U31)!': ['Huawei', 'Y6C'], '(HW-|HUAWEI )?CAM-(L01|L03|L11|L21|L23|L32|AL00|CL00|TL00|UL00)!': ['Huawei', 'Y6 II'], '(HW-|HUAWEI )?LYO-(L01|L02|L21)!': ['Huawei', 'Y6 II Compact'], - '(HW-|HUAWEI )?LDN-(AL00|L01|L21|LX2|LX3|TL00)!': ['Huawei', 'Y7 Prime (2018)'] + '(HW-|HUAWEI )?MED-(LX9N)!': ['Huawei', 'Y6p'], + '(HW-|HUAWEI )?LDN-(AL00|L01|L21|LX2|LX3|TL00)!': ['Huawei', 'Y7 Prime (2018)'], + '(HW-|HUAWEI )?DUB-(AL20|LX1|LX3)!': ['Huawei', 'Y7 Prime (2019)'], + '(HW-|HUAWEI )?ART-(L29)!': ['Huawei', 'Y7p'], + '(HW-|HUAWEI )?AQM-(LX1)!': ['Huawei', 'Y8p'], }, '(HW-|HUAWEI )?CAZ-(AL10|TL10|TL20)!': ['Huawei', 'Nova'], '(HW-|HUAWEI )?CAN-(L01|L11|L12)!': ['Huawei', 'Nova'], '(HW-|HUAWEI )?MLA-(L01|L03|L11|L12|L13)!': ['Huawei', 'Nova Plus'], '(HW-|HUAWEI )?DIG-(AL00|L01|L03|L21|TL10)!': ['Huawei', 'Nova Smart'], + '(HW-|HUAWEI )?PIC-(LX9)!': ['Huawei', 'Nova 2'], '(HW-|HUAWEI )?BAC-(AL00|L03|L21|L22|TL00)!': ['Huawei', 'Nova 2 Plus'], '(HW-|HUAWEI )?HWI-(AL00|TL00)!': ['Huawei', 'Nova 2S'], + '(HW-|HUAWEI )?PAR-(AL00|LX1|LX1M|LX9|TL00)!': ['Huawei', 'Nova 3'], + '(HW-|HUAWEI )?INE-(AL00|LX1|LX1r|LX2||LX2r|TL00)!': ['Huawei', 'Nova 3i'], + '(HW-|HUAWEI )?MAR-(AL00|LX1A|LX1M|LX2|LX3A|TL00)!': ['Huawei', 'Nova 4e'], '(HW-|HUAWEI )?MLA-(AL00|AL10)!': ['Huawei', 'Maimang 5'], '(HW-|HUAWEI )?MLA-(TL00|TL10|UL00)!': ['Huawei', 'G9 Plus'], @@ -6333,7 +6542,7 @@ exports.ANDROID_MODELS = { 'G735-(L03|L12|L23)!': ['Huawei', 'Ascend G735'], 'G740-L00': ['Huawei', 'Ascend G740'], 'G750-(T00|T01|T20)!': ['Huawei', 'Ascend G750'], - 'G760-(L01|TL00)!': ['Huawei', 'Ascend G760'] + 'G760-(L01|TL00)!': ['Huawei', 'Ascend G760'], }, 'Y[0-9]{3,3}!!': { @@ -6354,7 +6563,7 @@ exports.ANDROID_MODELS = { 'Y560-L01': ['Huawei', 'Ascend Y560'], 'Y600-U00': ['Huawei', 'Ascend Y600'], 'Y618-T00': ['Huawei', 'Ascend Y618'], - 'Y635-(L01|L02|L03|L21|L22)!': ['Huawei', 'Ascend Y635'] + 'Y635-(L01|L02|L03|L21|L22)!': ['Huawei', 'Ascend Y635'], }, '(Huawei|Ascend|HW-)!!': { @@ -6547,7 +6756,7 @@ exports.ANDROID_MODELS = { 'HUAWEI Y625-(U13|U21|U32|U43|U51)!': ['Huawei', 'Ascend Y625'], 'HUAWEI Y635!': ['Huawei', 'Ascend Y635'], 'Huawei Ascend': ['Huawei', 'Ascend'], - 'Huawei Ascend X': ['Huawei', 'Ascend X'] + 'Huawei Ascend X': ['Huawei', 'Ascend X'], }, C8817D: ['Huawei', 'Honor 4X'], @@ -6569,7 +6778,7 @@ exports.ANDROID_MODELS = { 'IDEOS X1': ['Huawei', 'IDEOS X1'], 'IDEOS X5': ['Huawei', 'IDEOS X5'], 'IDEOS X5 PRO': ['Huawei', 'IDEOS X5 Pro'], - 'IDEOS S7!': ['Huawei', 'IDEOS S7', DeviceType.TABLET] + 'IDEOS S7!': ['Huawei', 'IDEOS S7', DeviceType.TABLET], }, 'Huawei S7': ['Huawei', 'IDEOS S7', DeviceType.TABLET], @@ -6593,7 +6802,7 @@ exports.ANDROID_MODELS = { '605HW': ['Huawei', 'MediaPad T2 Pro 605HW', DeviceType.TABLET, { carrier: 'Softbank' }], '606HW': ['Huawei', 'MediaPad T2 Pro 606HW', DeviceType.TABLET, { carrier: 'Y! Mobile' }], '608HW': ['Huawei', 'nova lite 608HW', { carrier: 'Y! Mobile' }], - '704HW': ['Huawei', 'nova lite 2 704HW', { carrier: 'Softbank' }] + '704HW': ['Huawei', 'nova lite 2 704HW', { carrier: 'Softbank' }], }, CM980: ['Huawei', 'Evolution II'], @@ -6614,18 +6823,18 @@ exports.ANDROID_MODELS = { C8810: ['Huawei', 'Ascend G300C'], 'C8812!': ['Huawei', 'Ascend C8812'], 'C8815!': ['Huawei', 'Ascend C8815'], - 'C8860!': ['Huawei', 'Honor'] + 'C8860!': ['Huawei', 'Honor'], }, 'T8[0-9]{3,3}!!': { T8620: ['Huawei', 'Ascend Y200T'], 'T8808!': ['Huawei', 'Ascend G306T'], - 'T8830!': ['Huawei', 'Ascend G309T'] + 'T8830!': ['Huawei', 'Ascend G309T'], }, 'T9[0-9]{3,3}!!': { T9200: ['Huawei', 'Ascend P1'], - T9510E: ['Huawei', 'Ascend D1 Quad XL'] + T9510E: ['Huawei', 'Ascend D1 Quad XL'], }, 'U8[0-9]{3,3}!!': { @@ -6667,7 +6876,7 @@ exports.ANDROID_MODELS = { U8832D: ['Huawei', 'Ascend G500'], U8836D: ['Huawei', 'Ascend G500'], U8850: ['Huawei', 'Vision'], - 'U8860!': ['Huawei', 'Honor'] + 'U8860!': ['Huawei', 'Honor'], }, 'U9[0-9]{3,3}!!': { @@ -6678,7 +6887,7 @@ exports.ANDROID_MODELS = { U9500E: ['Huawei', 'Ascend D1 XL'], U9501L: ['Huawei', 'Ascend D LTE'], U9508: ['Huawei', 'Honor 2'], - 'U9510!': ['Huawei', 'Ascend D quad'] + 'U9510!': ['Huawei', 'Ascend D quad'], }, Comet: ['Huawei', 'Comet'], @@ -6701,7 +6910,7 @@ exports.ANDROID_MODELS = { 'USCCADR[0-9]{4,4}!!': { USCCADR3305: ['Huawei', 'Ascend II'], - USCCADR3310: ['Huawei', 'Ascend II'] + USCCADR3310: ['Huawei', 'Ascend II'], }, 'HYUNDAI!!': { @@ -6720,7 +6929,7 @@ exports.ANDROID_MODELS = { 'HYUNDAI T10': ['Hyundai', 'T10', DeviceType.TABLET], 'HYUNDAI T31': ['Hyundai', 'T31', DeviceType.TABLET], 'HYUNDAI X7': ['Hyundai', 'X7'], - 'HYUNDAI X900': ['Hyundai', 'X900', DeviceType.TABLET] + 'HYUNDAI X900': ['Hyundai', 'X900', DeviceType.TABLET], }, 'Ultra Air': ['Hyundai', 'Ultra Air'], @@ -6733,6 +6942,7 @@ exports.ANDROID_MODELS = { 'Ultra Wave': ['Hyundai', 'Ultra Wave'], 'A7 HD': ['Hyundai', 'A7 HD', DeviceType.TABLET], MW1031: ['Hyundai', 'MW1031', DeviceType.TABLET], + IS530: ['I.safe', 'IS530.0'], 'Elektra L': ['i-Joy', 'Elektra L'], 'Elektra XL': ['i-Joy', 'Elektra XL'], 'i-Joy i-Call': ['i-Joy', 'i-Call'], @@ -6745,7 +6955,7 @@ exports.ANDROID_MODELS = { 'Planet II v2': ['i-Joy', 'Planet II', DeviceType.TABLET], Sygnus: ['i-Joy', 'Sygnus', DeviceType.TABLET], - '(NMP|MBR|XDK|XDS|XMP)-!!': { + '(NMP|MBR|XDK|XDS|XMP)\-!!': { 'NMP-302w': ['IAdea', 'MBR-1100', DeviceType.SIGNAGE], 'MBR-1100': ['IAdea', 'MBR-1100', DeviceType.SIGNAGE], 'XDK-1160': ['IAdea', 'XDK-1160', DeviceType.SIGNAGE], @@ -6757,7 +6967,7 @@ exports.ANDROID_MODELS = { 'XMP-6200': ['IAdea', 'XMP-6200', DeviceType.SIGNAGE], 'XMP-6250': ['IAdea', 'XMP-6250', DeviceType.SIGNAGE], 'XMP-6400': ['IAdea', 'XMP-6400', DeviceType.SIGNAGE], - 'XMP-7300': ['IAdea', 'XMP-7300', DeviceType.SIGNAGE] + 'XMP-7300': ['IAdea', 'XMP-7300', DeviceType.SIGNAGE], }, '(iBall )?Andi!!': { @@ -6856,7 +7066,7 @@ exports.ANDROID_MODELS = { 'Andi Uddaan': ['iBall', 'Andi Uddaan'], 'Andi Uddaan (1GB )': ['iBall', 'Andi Uddaan'], 'Andi Uddaan Quad core': ['iBall', 'Andi Uddaan'], - 'Andi Mini Uddaan': ['iBall', 'Andi Uddaan Mini'] + 'Andi Mini Uddaan': ['iBall', 'Andi Uddaan Mini'], }, 'iBall!!': { @@ -6876,7 +7086,7 @@ exports.ANDROID_MODELS = { 'iBall Slide 3G 7316': ['iBall', 'Slide 3G 7316', DeviceType.TABLET], 'iBall Slide 3G 7334': ['iBall', 'Slide 3G 7334', DeviceType.TABLET], 'iBall Slide 3G Q45i': ['iBall', 'Slide 3G Q45i', DeviceType.TABLET], - 'iBall Slide 3G Q1035': ['iBall', 'Slide 3G Q1035', DeviceType.TABLET] + 'iBall Slide 3G Q1035': ['iBall', 'Slide 3G Q1035', DeviceType.TABLET], }, '3G7334i': ['iBall', 'Slide 3G 7334', DeviceType.TABLET], @@ -6888,7 +7098,7 @@ exports.ANDROID_MODELS = { 'AUXUS CoreX2 3G': ['iBerry', 'Auxus CoreX2', DeviceType.TABLET], 'AUXUS CoreX4 3G': ['iBerry', 'Auxus CoreX4', DeviceType.TABLET], 'AUXUS Nuclea N1': ['iBerry', 'Auxus Nuclea N1'], - 'AUXUS Nuclea N2': ['iBerry', 'Auxus Nuclea N2'] + 'AUXUS Nuclea N2': ['iBerry', 'Auxus Nuclea N2'], }, '(NetTab|NT-)!!': { @@ -6946,7 +7156,7 @@ exports.ANDROID_MODELS = { 'NT-3801P': ['IconBit', 'NetTab Parus 3G Duo', DeviceType.TABLET], 'NT-3803C': ['IconBit', 'NetTab Skat 3G', DeviceType.TABLET], 'NT-3805C': ['IconBit', 'NetTab Skat 3G Quad', DeviceType.TABLET], - 'NT-3902S': ['IconBit', 'NetTab Space 3G Duo', DeviceType.TABLET] + 'NT-3902S': ['IconBit', 'NetTab Space 3G Duo', DeviceType.TABLET], }, 'IconBit NetTab Thor Mini': ['IconBit', 'NetTab Thor Mini', DeviceType.TABLET], @@ -6962,7 +7172,7 @@ exports.ANDROID_MODELS = { 'INFOBAR!!': { 'INFOBAR A01': ['iida', 'INFOBAR A01', { carrier: 'au' }], // by Sharp 'INFOBAR A01-2': ['iida', 'INFOBAR A01', { carrier: 'au' }], // by Sharp - 'INFOBAR C01': ['iida', 'INFOBAR C01', { carrier: 'au' }] // by Sharp + 'INFOBAR C01': ['iida', 'INFOBAR C01', { carrier: 'au' }], // by Sharp }, HTX21: ['iida', 'INFOBAR A02', { carrier: 'au' }], // by HTC @@ -7002,7 +7212,7 @@ exports.ANDROID_MODELS = { 'IMO Z7': ['IMO', 'Tab Z7 Orion', DeviceType.TABLET], 'IMO Z8': ['IMO', 'Tab Z8 Spin', DeviceType.TABLET], 'IMO Z9': ['IMO', 'Tab Z9 Ice', DeviceType.TABLET], - 'IMO Z10': ['IMO', 'Tab Z10 Fortune', DeviceType.TABLET] + 'IMO Z10': ['IMO', 'Tab Z10 Fortune', DeviceType.TABLET], }, 'S88 DISCOVERY': ['IMO', 'Discovery S88'], @@ -7028,7 +7238,7 @@ exports.ANDROID_MODELS = { 'ImPAD 8901': ['Impression', 'ImPAD 8901', DeviceType.TABLET], 'ImPAD 9702': ['Impression', 'ImPAD 9702', DeviceType.TABLET], ImPAD9704: ['Impression', 'ImPAD 9704', DeviceType.TABLET], - 'ImPAD 9707': ['Impression', 'ImPAD 9707', DeviceType.TABLET] + 'ImPAD 9707': ['Impression', 'ImPAD 9707', DeviceType.TABLET], }, TX85: ['iMuz', 'TX85', DeviceType.TABLET], @@ -7092,16 +7302,18 @@ exports.ANDROID_MODELS = { 'Infinix X603': ['Infinix', 'Zero 5 X603'], 'Infinix X800': ['Infinix', 'Joypad 8 X800', DeviceType.TABLET], 'Infinix X801': ['Infinix', 'Joypad 8S X801', DeviceType.TABLET], - 'Infinix X1000': ['Infinix', 'Joypad 10 X1000', DeviceType.TABLET] + 'Infinix X1000': ['Infinix', 'Joypad 10 X1000', DeviceType.TABLET], }, + 'S5 Pro': ['Infinix', 'S5 Pro'], + 'IN[0-9]{3,3}!!': { IN260: ['InFocus', 'IN260'], IN330: ['InFocus', 'IN330'], IN335: ['InFocus', 'IN335'], IN610: ['InFocus', 'IN610'], IN810: ['InFocus', 'IN810'], - IN815: ['InFocus', 'IN815'] + IN815: ['InFocus', 'IN815'], }, M210: ['InFocus', 'M210'], @@ -7129,7 +7341,7 @@ exports.ANDROID_MODELS = { 'InFocus M680': ['InFocus', 'M680'], 'InFocus M808!': ['InFocus', 'M808'], 'InFocus M810!': ['InFocus', 'M810'], - 'InFocus M812!': ['InFocus', 'M812'] + 'InFocus M812!': ['InFocus', 'M812'], }, M009F: ['Infotmic', 'M009F'], @@ -7145,7 +7357,7 @@ exports.ANDROID_MODELS = { 'innos i6': ['Innos', 'i6'], 'INNOS I6 (DNS S4503)': ['Innos', 'i6'], 'innos i6C': ['Innos', 'i6C'], - 'Innos i6cp': ['Innos', 'i6CP'] + 'Innos i6cp': ['Innos', 'i6CP'], }, 'NS-14T002': ['Insignia', 'Flex 8', DeviceType.TABLET], @@ -7156,7 +7368,7 @@ exports.ANDROID_MODELS = { AZ510: ['Intel', 'AZ510'], BT210: ['Intel', 'BT210'], BT230: ['Intel', 'BT230'], - BT510: ['Intel', 'BT510'] + BT510: ['Intel', 'BT510'], }, greenridge: ['Intel', 'Green Ridge', DeviceType.TABLET], @@ -7362,7 +7574,7 @@ exports.ANDROID_MODELS = { 'Aqua Y2 Remote': ['Intex', 'Aqua Y2 Remote'], 'Aqua Y2 Ultra': ['Intex', 'Aqua Y2 Ultra'], 'Aqua Y3': ['Intex', 'Aqua Y3'], - 'Aqua Y4': ['Intex', 'Aqua Y3'] + 'Aqua Y4': ['Intex', 'Aqua Y3'], }, '(Intex )?Cloud!!': { @@ -7405,7 +7617,7 @@ exports.ANDROID_MODELS = { 'Intex Cloud Style 4G': ['Intex', 'Cloud Style 4G'], 'Cloud Swift': ['Intex', 'Cloud Swift'], 'Intex Cloud Swing': ['Intex', 'Cloud Swing'], - 'Cloud Zest': ['Intex', 'Cloud Zest'] + 'Cloud Zest': ['Intex', 'Cloud Zest'], }, 'INTEX IRIS-II': ['Intex', 'Iris 2', DeviceType.TABLET], @@ -7450,16 +7662,17 @@ exports.ANDROID_MODELS = { 'itel P51': ['iTel', 'P51'], 'itel S11': ['iTel', 'S11'], 'itel S11Plus': ['iTel', 'S11 Plus'], - 'itel S31': ['iTel', 'S31'] + 'itel S31': ['iTel', 'S31'], }, 'IUNI U810': ['IUni', 'U810 U2'], 'IVIO!!': { 'IVIO-DG20': ['Ivio', 'DG20'], - 'IVIO DE38': ['Ivio', 'DE38'] + 'IVIO DE38': ['Ivio', 'DE38'], }, + 'MC401 GWL': ['iWaylink', 'MC401'], 'iwoo i900': ['iwoo', 'i900'], '(JIAYU|JY)!!': { @@ -7490,7 +7703,7 @@ exports.ANDROID_MODELS = { 'JIAYU G3S': ['Jiayu', 'G3S'], 'JIAYU.G3S': ['Jiayu', 'G3S'], 'JY-G4': ['Jiayu', 'G4'], - 'JY-G4G5': ['Jiayu', 'G4'], + 'JY-G4\G5': ['Jiayu', 'G4'], 'JY-G4 G5': ['Jiayu', 'G4'], 'JY-G4C': ['Jiayu', 'G4C'], 'JY G4C': ['Jiayu', 'G4C'], @@ -7507,7 +7720,7 @@ exports.ANDROID_MODELS = { 'JY-S2': ['Jiayu', 'S2'], 'JY-S3': ['Jiayu', 'S3'], 'JIAYU S3': ['Jiayu', 'S3'], - 'JY-S3S': ['Jiayu', 'S3S'] + 'JY-S3S': ['Jiayu', 'S3S'], }, G2S: ['Jiayu', 'G2 Plus'], @@ -7516,7 +7729,7 @@ exports.ANDROID_MODELS = { 'JC-A[0-9]{3,3}!!': { 'JC-A107': ['JuiCell', 'JC-A107'], - 'JC-A109': ['JuiCell', 'JC-A109'] + 'JC-A109': ['JuiCell', 'JC-A109'], }, 'JXD!!': { @@ -7530,7 +7743,7 @@ exports.ANDROID_MODELS = { 'JXD S7600': ['JXD', 'S7600', DeviceType.TABLET], 'JXD-S8000': ['JXD', 'S8000', DeviceType.TABLET], 'JXD-S9000': ['JXD', 'S9000', DeviceType.TABLET], - 'JXD-S9100': ['JXD', 'S9100', DeviceType.TABLET] + 'JXD-S9100': ['JXD', 'S9100', DeviceType.TABLET], }, A2: ['KakaTech', 'A2'], @@ -7597,7 +7810,7 @@ exports.ANDROID_MODELS = { 'Karbonn A240': ['Karbonn', 'A240'], 'Karbonn E8222': ['Karbonn', 'E8222'], 'Karbonn ST52': ['Karbonn', 'ST52', DeviceType.TABLET], - 'Karbonn ST72': ['Karbonn', 'ST72', DeviceType.TABLET] + 'Karbonn ST72': ['Karbonn', 'ST72', DeviceType.TABLET], }, 'TA-FONE!!': { @@ -7605,7 +7818,7 @@ exports.ANDROID_MODELS = { 'TA-FONE A34 HD': ['Karbonn', 'Ta-Fone A34 HD'], 'TA-FONE A37': ['Karbonn', 'Ta-Fone A37'], 'TA-FONE A37 HD': ['Karbonn', 'Ta-Fone A37 HD'], - 'TA-FONE A39 HD': ['Karbonn', 'Ta-Fone A39 HD'] + 'TA-FONE A39 HD': ['Karbonn', 'Ta-Fone A39 HD'], }, '(Karbonn|Titanium)!!': { @@ -7664,7 +7877,7 @@ exports.ANDROID_MODELS = { 'Karbonn Titanium S320+': ['Karbonn', 'Titanium S320 Plus'], 'Titanium S360': ['Karbonn', 'Titanium Mach Two S360'], 'Karbonn Titanium S360': ['Karbonn', 'Titanium Mach Two S360'], - 'Karbonn Titanium X': ['Karbonn', 'Titanium X'] + 'Karbonn Titanium X': ['Karbonn', 'Titanium X'], }, 'A7*': ['Karbonn', 'A7'], @@ -7717,7 +7930,7 @@ exports.ANDROID_MODELS = { 'KAZAM Trooper2 40': ['KAZAM', 'Trooper 2 4.0'], 'Trooper2 45': ['KAZAM', 'Trooper 2 4.5'], 'KAZAM Trooper2 50': ['KAZAM', 'Trooper 2 5.0'], - 'Kazam Trooper2 60': ['KAZAM', 'Trooper 2 6.0'] + 'Kazam Trooper2 60': ['KAZAM', 'Trooper 2 6.0'], }, MT791: ['Keen High', 'MT791'], @@ -7727,7 +7940,7 @@ exports.ANDROID_MODELS = { 'KENEKSI-Fire': ['KENEKSI', 'Fire'], 'KENEKSI-Norma': ['KENEKSI', 'Norma'], 'KENEKSI-SIGMA': ['KENEKSI', 'Sigma'], - 'KENEKSI-ZETA': ['KENEKSI', 'Zeta'] + 'KENEKSI-ZETA': ['KENEKSI', 'Zeta'], }, 'Pro 10 dual core': ['Kiano', 'Pro 10 Dual', DeviceType.TABLET], @@ -7746,13 +7959,13 @@ exports.ANDROID_MODELS = { 'Agora 4G': ['Kogan', 'Agora 4G'], 'Agora HD+': ['Kogan', 'Agora HD+'], 'Agora Quad Core': ['Kogan', 'Agora Quad Core'], - 'Kogan Agora 6Plus': ['Kogan', 'Agora 6 Plus'] + 'Kogan Agora 6Plus': ['Kogan', 'Agora 6 Plus'], }, 'KOMU!!': { 'Komu Color': ['Komu', 'Color'], 'KOMU ENERGY': ['Komu', 'Energy'], - 'KOMU-MINI': ['Komu', 'Mini'] + 'KOMU-MINI': ['Komu', 'Mini'], }, V1: ['Konka', 'KOMI V1'], @@ -7767,7 +7980,7 @@ exports.ANDROID_MODELS = { 'KONKA V980': ['Konka', 'V980'], 'KONKA V983': ['Konka', 'V983'], 'konka W970': ['Konka', 'W970'], - 'konka W976': ['Konka', 'W976'] + 'konka W976': ['Konka', 'W976'], }, K3: ['Konka', 'K3'], @@ -7778,7 +7991,7 @@ exports.ANDROID_MODELS = { 'Koobe!!': { 'Koobe S7 Easy tablet': ['Koobe', 'S7 Easy tablet', DeviceType.TABLET], - 'Koobe X8 Slim Quadrum tablet': ['Koobe', 'X8 Slim Quadrum tablet', DeviceType.TABLET] + 'Koobe X8 Slim Quadrum tablet': ['Koobe', 'X8 Slim Quadrum tablet', DeviceType.TABLET], }, 'KORIDY H15': ['Koridy', 'H15'], @@ -7792,7 +8005,7 @@ exports.ANDROID_MODELS = { 'KPT A11PLUS': ['KPT', 'A11+'], 'KPT A58T': ['KPT', 'A58T'], 'KPT A81PLUS': ['KPT', 'A81+'], - 'KPT A88': ['KPT', 'A88'] + 'KPT A88': ['KPT', 'A88'], }, '(EV|KM)-[ES][0-9]{3,3}!!': { @@ -7803,7 +8016,7 @@ exports.ANDROID_MODELS = { 'KM-S220': ['Kttech', 'Take Tachy KM-S220'], 'KM-S220H': ['Kttech', 'Take Tachy KM-S220'], 'KM-S300': ['Kttech', 'Take HD KM-S300'], - 'KM-S330': ['Kttech', 'Take Fit KM-S330'] + 'KM-S330': ['Kttech', 'Take Fit KM-S330'], }, 'Kurio!!': { @@ -7813,7 +8026,7 @@ exports.ANDROID_MODELS = { Kurio7S: ['Kurio', '7S', DeviceType.TABLET], 'Kurio-LTE': ['Kurio', '7X', DeviceType.TABLET], Kurio10S: ['Kurio', '10S', DeviceType.TABLET], - 'Kurio-Lite': ['Kurio', 'Lite', DeviceType.TABLET] + 'Kurio-Lite': ['Kurio', 'Lite', DeviceType.TABLET], }, 'Kyobo mirasol eReader': ['Kyobo', 'eReader', DeviceType.EREADER], @@ -7821,7 +8034,7 @@ exports.ANDROID_MODELS = { 'KYL[0-9]{2,2}!!': { KYL21: ['Kyocera', 'DIGNO S KYL21', { carrier: 'au' }], - KYL22: ['Kyocera', 'DIGNO M KYL22', { carrier: 'au' }] + KYL22: ['Kyocera', 'DIGNO M KYL22', { carrier: 'au' }], }, 'KC-01': ['Kyocera', 'KC-01'], @@ -7853,7 +8066,7 @@ exports.ANDROID_MODELS = { 'USCC-E6762': ['Kyocera', 'DuraForce'], 'KYOCERA-E6762': ['Kyocera', 'DuraForce'], E6782L: ['Kyocera', 'DuraScout'], - 'KYOCERA-E6790': ['Kyocera', 'DuraForce XD'] + 'KYOCERA-E6790': ['Kyocera', 'DuraForce XD'], }, '(USCC-|KYOCERA-)?C[0-9]{4,4}!!': { @@ -7876,13 +8089,14 @@ exports.ANDROID_MODELS = { C6743: ['Kyocera', 'Hydro REACH'], C6745: ['Kyocera', 'Hydro AIR'], 'KYOCERA-C6745': ['Kyocera', 'Hydro AIR'], - C6750: ['Kyocera', 'Hydro Elite'] + C6750: ['Kyocera', 'Hydro Elite'], }, M9300: ['Kyocera', 'Echo'], 'KY[FLTYV][0-9]{2,2}!!': { KYF31: ['Kyocera', 'GRATINA KYF31', { carrier: 'au' }], + KYF33: ['Kyocera', 'TORQUE X01 KYF31', { carrier: 'au' }], KYF37: ['Kyocera', 'GRATINA KYF37', { carrier: 'au' }], KYL23: ['Kyocera', 'miraie KYL23', { carrier: 'au' }], KYY21: ['Kyocera', 'URBANO L01', { carrier: 'au' }], @@ -7896,12 +8110,17 @@ exports.ANDROID_MODELS = { KYV36: ['Kyocera', 'DIGNO rafre KYV36', { carrier: 'au' }], KYV37: ['Kyocera', 'Qua phone', { carrier: 'au' }], KYV38: ['Kyocera', 'URBANO V03 KYV38', { carrier: 'au' }], + KYV39: ['Kyocera', 'miraie f KYL39', { carrier: 'au' }], KYV40: ['Kyocera', 'rafre KYV40', { carrier: 'au' }], KYV40U: ['Kyocera', 'DIGNO W KYV40U', { carrier: 'UQ mobile' }], KYV41: ['Kyocera', 'TORQUE G03 KYV41', { carrier: 'au' }], KYV42: ['Kyocera', 'Qua phone QX', { carrier: 'au' }], + 'KYV42 u': ['Kyocera', 'DIGNO V KYV42', { carrier: 'UQ mobile' }], + KYV44: ['Kyocera', 'Qua phone QZ', { carrier: 'au' }], + 'KYV44 u': ['Kyocera', 'DIGNO A KYV44', { carrier: 'UQ mobile' }], KYT31: ['Kyocera', 'Qua tab', DeviceType.TABLET, { carrier: 'au' }], - KYT33: ['Kyocera', 'Qua tab QZ10', DeviceType.TABLET, { carrier: 'au' }] + KYT32: ['Kyocera', 'Qua tab QZ8', DeviceType.TABLET, { carrier: 'au' }], + KYT33: ['Kyocera', 'Qua tab QZ10', DeviceType.TABLET, { carrier: 'au' }], }, 'URBANO PROGRESSO': ['Kyocera', 'URBANO PROGRESSO', { carrier: 'au' }], @@ -7914,10 +8133,10 @@ exports.ANDROID_MODELS = { '404KC': ['Kyocera', 'DIGNO C 404KC', { carrier: 'Y! Mobile' }], '503KC': ['Kyocera', 'DIGNO E 503KC', { carrier: 'Y! Mobile' }], '602KC': ['Kyocera', 'DIGNO G 602KC', { carrier: 'Softbank' }], - '704KC': ['Kyocera', 'DIGNO J 704KC', { carrier: 'Softbank' }] + '704KC': ['Kyocera', 'DIGNO J 704KC', { carrier: 'Softbank' }], }, - 'K-?Touch!!': { + 'K\-?Touch!!': { 'K-touch A9': ['K-Touch', 'A9'], 'K-touch A10 Pro': ['K-Touch', 'A10 Pro'], 'Ktouch A11': ['K-Touch', 'A11'], @@ -8020,7 +8239,7 @@ exports.ANDROID_MODELS = { 'K-Touch Tou ch3': ['K-Touch', 'Tou ch 3'], 'K-Touch Tou ch3c': ['K-Touch', 'Tou ch 3 c'], 'K-Touch Tou ch3es': ['K-Touch', 'Tou ch 3 es'], - 'K-Touch Tou ch 5': ['K-Touch', 'Tou ch 5'] + 'K-Touch Tou ch 5': ['K-Touch', 'Tou ch 5'], }, 'Nibiru H1': ['K-Touch', 'Niburu H1'], @@ -8040,6 +8259,9 @@ exports.ANDROID_MODELS = { W810: ['K-Touch', 'W810'], W880: ['K-Touch', 'W880'], + 'Land Rover Explore': ['Land Rover', 'Explore'], + 'Land Rover Explore R': ['Land Rover', 'Explore R'], + '(Lanix )?(Ilium|llium)!!': { 'ILIUM L400': ['Lanix', 'Ilium L400'], 'Ilium L820': ['Lanix', 'Ilium L820'], @@ -8082,14 +8304,14 @@ exports.ANDROID_MODELS = { 'ilium Pad E8': ['Lanix', 'Ilium Pad E8', DeviceType.TABLET], 'ilium Pad E10': ['Lanix', 'Ilium Pad E10', DeviceType.TABLET], 'ILIUM PAD E10Si': ['Lanix', 'Ilium Pad E10 Si', DeviceType.TABLET], - 'llium Pad L8': ['Lanix', 'Ilium Pad L8', DeviceType.TABLET] + 'llium Pad L8': ['Lanix', 'Ilium Pad L8', DeviceType.TABLET], }, 'Lark!!': { 'Lark Evolution X2 7': ['Lark', 'Evolution X2 7', DeviceType.TABLET], 'Lark Evolution X2 7 3G-GPS': ['Lark', 'Evolution X2 7', DeviceType.TABLET], 'Lark FreeMe X2 7': ['Lark', 'FreeMe X2 7', DeviceType.TABLET], - 'Lark FreeMe X2 7 ver.2': ['Lark', 'FreeMe X2 7', DeviceType.TABLET] + 'Lark FreeMe X2 7 ver.2': ['Lark', 'FreeMe X2 7', DeviceType.TABLET], }, 'Flair E1': ['Lava', 'Flair E1'], @@ -8193,7 +8415,7 @@ exports.ANDROID_MODELS = { 'iris X9': ['Lava', 'Iris X9'], irisalfa: ['Lava', 'Iris Alpha'], 'iris Atom2': ['Lava', 'Iris Atom 2'], - 'iris ATOM X': ['Lava', 'Iris Atom X'] + 'iris ATOM X': ['Lava', 'Iris Atom X'], }, '504Q': ['Lava', 'Iris 504Q'], @@ -8291,7 +8513,7 @@ exports.ANDROID_MODELS = { 'leepoo i500': ['Leepoo', 'i500'], 'leepoo i580': ['Leepoo', 'i580'], 'leepoo i600': ['Leepoo', 'i600'], - 'leepoo i800': ['Leepoo', 'i800'] + 'leepoo i800': ['Leepoo', 'i800'], }, P5: ['Lemon', 'P5'], @@ -8318,7 +8540,7 @@ exports.ANDROID_MODELS = { 'Lenco TAB-1020': ['Lenco', 'TAB 1020', DeviceType.TABLET], 'Lenco TAB-1022': ['Lenco', 'TAB 1022', DeviceType.TABLET], 'Lenco TAB-1030': ['Lenco', 'TAB 1030', DeviceType.TABLET], - 'Lenco TAB-9720': ['Lenco', 'TAB 9720', DeviceType.TABLET] + 'Lenco TAB-9720': ['Lenco', 'TAB 9720', DeviceType.TABLET], }, LENCM900HZ: ['Lenco', 'TAB 811', DeviceType.TABLET], @@ -8362,7 +8584,7 @@ exports.ANDROID_MODELS = { 'Lenovo A7600(-F|-HV|-H|H)!': ['Lenovo', 'IdeaTab A7600', DeviceType.TABLET], 'Lenovo B6000(-F|-H)!': ['Lenovo', 'B6000 Yoga Tablet 8', DeviceType.TABLET], 'Lenovo B8000(-F|-H)!': ['Lenovo', 'B8000 Yoga Tablet 10', DeviceType.TABLET], - 'Lenovo B8080(-F|-H|-HV)!': ['Lenovo', 'B8080 Yoga Tablet 10', DeviceType.TABLET] + 'Lenovo B8080(-F|-H|-HV)!': ['Lenovo', 'B8080 Yoga Tablet 10', DeviceType.TABLET], }, 'YOGA Tablet!!': { @@ -8375,7 +8597,7 @@ exports.ANDROID_MODELS = { 'YOGA Tablet 2 Pro-1380F': ['Lenovo', 'Yoga Tablet 2 Pro 1380F', DeviceType.TABLET], 'YOGA Tablet 2 Pro-1380L': ['Lenovo', 'Yoga Tablet 2 Pro 1380L', DeviceType.TABLET], 'YOGA Tablet 3 Pro-1381L': ['Lenovo', 'Yoga Tablet 3 Pro 1381L', DeviceType.TABLET], - 'YOGA Tablet 8 Pro-1386L': ['Lenovo', 'Yoga Tablet 8 Pro 1386L', DeviceType.TABLET] + 'YOGA Tablet 8 Pro-1386L': ['Lenovo', 'Yoga Tablet 8 Pro 1386L', DeviceType.TABLET], }, 'Lenovo YB1-X90L': ['Lenovo', 'Yoga Book', DeviceType.TABLET], @@ -8384,7 +8606,9 @@ exports.ANDROID_MODELS = { 'Lenovo YT3-X50F': ['Lenovo', 'Yoga Tablet 3', DeviceType.TABLET], 'Lenovo YT3-X50L': ['Lenovo', 'Yoga Tablet 3', DeviceType.TABLET], 'Lenovo YT3-850F': ['Lenovo', 'Yoga Tablet 3', DeviceType.TABLET], + 'Lenovo YT-J706F': ['Lenovo', 'Yoga Tab 11', DeviceType.TABLET], 'Lenovo YT-X703F': ['Lenovo', 'Yoga Tablet 3 Plus', DeviceType.TABLET], + 'Lenovo YT-X705F': ['Lenovo', 'Yoga Smart Tab', DeviceType.TABLET], 'Lenovo YT3-X90F': ['Lenovo', 'Yoga Tablet 3 Pro', DeviceType.TABLET], 'Lenovo YT3-X90L': ['Lenovo', 'Yoga Tablet 3 Pro', DeviceType.TABLET], @@ -8399,10 +8623,32 @@ exports.ANDROID_MODELS = { 'Lenovo TAB 2 A8-50(F|L|LC)!': ['Lenovo', 'Tab 2 A8', DeviceType.TABLET], 'Lenovo TAB 2 A10-70(F|L)!': ['Lenovo', 'Tab 2 A10', DeviceType.TABLET], 'Lenovo TAB S8-50(F|L|LC)!': ['Lenovo', 'Tab S8', DeviceType.TABLET], - 'Lenovo S8-50LC': ['Lenovo', 'Tab S8', DeviceType.TABLET] + 'Lenovo S8-50LC': ['Lenovo', 'Tab S8', DeviceType.TABLET], }, 'Lenovo TB-7304F': ['Lenovo', 'Tab 7 Essential', DeviceType.TABLET], + 'Lenovo TB-7305F': ['Lenovo', 'Tab M7', DeviceType.TABLET], + 'Lenovo TB-7305X': ['Lenovo', 'Tab M7', DeviceType.TABLET], + 'Lenovo TB-8304F1': ['Lenovo', 'Tab 8', DeviceType.TABLET], + 'Lenovo TB-8505FS': ['Lenovo', 'Smart Tab M8', DeviceType.TABLET], + 'Lenovo TB-8704X': ['Lenovo', 'Tab 4 8 Plus', DeviceType.TABLET], + 'Lenovo TB-8705F': ['Lenovo', 'Tab M8', DeviceType.TABLET], + 'Lenovo TB-J606F': ['Lenovo', 'Tab P11', DeviceType.TABLET], + 'Lenovo TB-J606L': ['Lenovo', 'Tab P11', DeviceType.TABLET], + 'Lenovo TB-J607Z': ['Lenovo', 'Tab P11', DeviceType.TABLET], + 'Lenovo TB-J616F': ['Lenovo', 'Tab P11', DeviceType.TABLET], + 'Lenovo TB-J706F': ['Lenovo', 'Tab P11 Pro', DeviceType.TABLET], + 'Lenovo TB-J716F': ['Lenovo', 'XiaoXin Pad Pro 2021', DeviceType.TABLET], + 'Lenovo TB-X104F': ['Lenovo', 'Tab E10', DeviceType.TABLET], + 'Lenovo TB-X304L': ['Lenovo', 'Tab 4 10', DeviceType.TABLET], + 'Lenovo TB-X306F': ['Lenovo', 'Tab M10 HD', DeviceType.TABLET], + 'Lenovo TB-X306X': ['Lenovo', 'Tab M10 HD', DeviceType.TABLET], + 'Lenovo TB-X505F': ['Lenovo', 'Tab M10', DeviceType.TABLET], + 'Lenovo TB-X605F': ['Lenovo', 'Tab M10', DeviceType.TABLET], + 'Lenovo TB-X605L': ['Lenovo', 'Tab M10', DeviceType.TABLET], + 'Lenovo TB-X606F': ['Lenovo', 'Tab M11 FHD Plus', DeviceType.TABLET], + 'Lenovo TB-X606X': ['Lenovo', 'Tab M10 FHD Plus', DeviceType.TABLET], + 'Lenovo TB-X6C6F': ['Lenovo', 'Tab K10', DeviceType.TABLET], 'Lenovo TB-X103F': ['Lenovo', 'Tab 10', DeviceType.TABLET], 'TB-X103F': ['Lenovo', 'Tab 10', DeviceType.TABLET], 'Lenovo TB2-X30F': ['Lenovo', 'Tab 2 A10', DeviceType.TABLET], @@ -8416,11 +8662,15 @@ exports.ANDROID_MODELS = { 'Lenovo TB3-X70F': ['Lenovo', 'Tab 3 10 Business', DeviceType.TABLET], 'Lenovo TB3-X70L': ['Lenovo', 'Tab 3 10 Business', DeviceType.TABLET], 'Lenovo TB-8504F': ['Lenovo', 'Tab 4 8', DeviceType.TABLET], + 'Lenovo TB-8504X': ['Lenovo', 'Tab 4 8', DeviceType.TABLET], + 'Lenovo TB-8505F': ['Lenovo', 'Tab M8 HD', DeviceType.TABLET], 'Lenovo TB-8703F': ['Lenovo', 'Tab 4 8 Plus', DeviceType.TABLET], 'Lenovo TB-8704F': ['Lenovo', 'Tab 4 8 Plus', DeviceType.TABLET], 'Lenovo TB-X304F': ['Lenovo', 'Tab 4 10', DeviceType.TABLET], 'Lenovo TB-X704F': ['Lenovo', 'Tab 4 10 Plus', DeviceType.TABLET], 'Lenovo TB-X704L': ['Lenovo', 'Tab 4 10 Plus', DeviceType.TABLET], + 'Lenovo TB-X705F': ['Lenovo', 'Tab P10', DeviceType.TABLET], + 'Lenovo TB-X705L': ['Lenovo', 'Tab P10', DeviceType.TABLET], '(Lenovo ?)?(IdeaTab ?)?[KSV][0-9]{4,4}!!': { 'IdeaTab ?K2110A-(F)!': ['Lenovo', 'IdeaTab K2110', DeviceType.TABLET], @@ -8438,7 +8688,7 @@ exports.ANDROID_MODELS = { 'Lenovo S6000L-(F|H)!': ['Lenovo', 'IdeaTab S6000', DeviceType.TABLET], 'LENOVO IdeaTab S6000-H': ['Lenovo', 'IdeaTab S6000', DeviceType.TABLET], 'IdeaTab ?V2007(A|A-D-I)!': ['Lenovo', 'IdeaTab V2007', DeviceType.TABLET], - 'IdeaTab ?V2010(A)!': ['Lenovo', 'IdeaTab V2010', DeviceType.TABLET] + 'IdeaTab ?V2010(A)!': ['Lenovo', 'IdeaTab V2010', DeviceType.TABLET], }, 'Lenovo Pad A4': ['Lenovo', 'Pad A4', DeviceType.TABLET], @@ -8593,7 +8843,11 @@ exports.ANDROID_MODELS = { 'Lenovo K50-t3s': ['Lenovo', 'K3 Note'], 'Lenovo K50-T5': ['Lenovo', 'K3 Note'], 'Lenovo K50t5': ['Lenovo', 'K3 Note'], + 'Lenovo K520': ['Lenovo', 'S5'], 'Lenovo K6': ['Lenovo', 'K6'], + 'Lenovo L38111': ['Lenovo', 'Z6 Youth Edition'], + 'Lenovo L78071': ['Lenovo', 'Z5S'], + 'Lenovo L79031': ['Lenovo', 'Legion Pro'], 'Lenovo N300': ['Lenovo', 'N300', DeviceType.DESKTOP], 'Lenovo N308': ['Lenovo', 'N308', DeviceType.DESKTOP], 'Lenovo N908': ['Lenovo', 'N908'], @@ -8679,7 +8933,7 @@ exports.ANDROID_MODELS = { 'Lenovo PB1-750M': ['Lenovo', 'Phab'], 'Lenovo PB1-770(M|N|P)!': ['Lenovo', 'Phab Plus'], 'Lenovo PB2-670M': ['Lenovo', 'Phab 2 Plus'], - 'Lenovo X910': ['Lenovo', 'X910'] + 'Lenovo X910': ['Lenovo', 'X910'], }, A30t: ['Lenovo', 'A30'], @@ -8718,7 +8972,7 @@ exports.ANDROID_MODELS = { 'ideatv S31': ['Lenovo', 'IDEA TV', DeviceType.TELEVISION], 'ideatv S51': ['Lenovo', 'IDEA TV', DeviceType.TELEVISION], 'ideatv S52': ['Lenovo', 'IDEA TV', DeviceType.TELEVISION], - 'ideatv S61': ['Lenovo', 'IDEA TV', DeviceType.TELEVISION] + 'ideatv S61': ['Lenovo', 'IDEA TV', DeviceType.TELEVISION], }, 'LenovoTV 40S9': ['Lenovo', 'TV 40S9', DeviceType.TELEVISION], @@ -8747,7 +9001,7 @@ exports.ANDROID_MODELS = { 'lephone 2900': ['Lephone', '2900'], 'lephone T708': ['Lephone', 'T708'], 'Lephone TD506': ['Lephone', 'TD506'], - 'Lephone TD8208': ['Lephone', 'TD8208'] + 'Lephone TD8208': ['Lephone', 'TD8208'], }, TD506: ['Lephone', 'TD506'], @@ -8783,7 +9037,7 @@ exports.ANDROID_MODELS = { MFC175FR: ['Lexibook', 'Tablet Ultra', DeviceType.TABLET], MFC375FR: ['Lexibook', 'Tablet Ultra 2', DeviceType.TABLET], mfc500fr: ['Lexibook', 'Tablet XL', DeviceType.TABLET], - MFC045FR: ['Lexibook', 'TabTab', DeviceType.TABLET] + MFC045FR: ['Lexibook', 'TabTab', DeviceType.TABLET], }, 'Le Pan Mini': ['Le Pan', 'Mini', DeviceType.TABLET], @@ -8819,7 +9073,7 @@ exports.ANDROID_MODELS = { LGAS992: ['LG', 'G5'], 'LG-AS993': ['LG', 'G6'], LGAS995: ['LG', 'G Flex 2'], - 'LG-AS998': ['LG', 'V30'] + 'LG-AS998': ['LG', 'V30'], }, 'LG-?C[0-9]{3,3}!!': { @@ -8829,7 +9083,7 @@ exports.ANDROID_MODELS = { 'LG-C660!': ['LG', 'Optimus Pro'], 'LG-C710!': ['LG', 'Aloha'], 'LG-C729': ['LG', 'DoublePlay'], - 'LG-C800G': ['LG', 'Eclypse'] + 'LG-C800G': ['LG', 'Eclypse'], }, 'LG-CX670': ['LG', 'Optimus One'], @@ -8876,7 +9130,7 @@ exports.ANDROID_MODELS = { LGD850: ['LG', 'G3'], LGD855: ['LG', 'G3'], 'LG-D8(57)!': ['LG', 'Titan'], - 'LG-D9(50|51|55|56|58|59)!': ['LG', 'G Flex'] + 'LG-D9(50|51|55|56|58|59)!': ['LG', 'G Flex'], }, 'LG-DS1203': ['LG', 'G2'], @@ -8907,7 +9161,7 @@ exports.ANDROID_MODELS = { 'LG-E940!': ['LG', 'Optimus G Pro'], 'LG-E960!': ['LG', 'Nexus 4'], 'LG-E9(70|71|73|75|76|77|78|87)!': ['LG', 'Optimus G'], - 'LG-E9(80|81|85|86|88|89)!': ['LG', 'Optimus G Pro'] + 'LG-E9(80|81|85|86|88|89)!': ['LG', 'Optimus G Pro'], }, 'LG-F[0-9]{3,3}!!': { @@ -8955,7 +9209,7 @@ exports.ANDROID_MODELS = { 'LG-F750!': ['LG', 'X Power'], 'LG-F770!': ['LG', 'X5'], 'LG-F800!': ['LG', 'V20'], - 'LG-F820!': ['LG', 'U'] + 'LG-F820!': ['LG', 'U'], }, 'LG-FL40L!': ['LG', '070 Touch'], @@ -8991,7 +9245,7 @@ exports.ANDROID_MODELS = { 'LG-H9(50|55|59)!': ['LG', 'G Flex 2'], 'LG-H9(00|01|60|61|62|68)!': ['LG', 'V10'], 'LG-H9(30|31|32)!': ['LG', 'V30'], - 'LG-H9(90)!': ['LG', 'V20'] + 'LG-H9(90)!': ['LG', 'V20'], }, 'LG-K[0-9]{3,3}!!': { @@ -9009,7 +9263,7 @@ exports.ANDROID_MODELS = { 'LG-K5(40)!': ['LG', 'Stylo 2'], 'LG-K5(50|57)!': ['LG', 'Stylo 2 Plus'], 'LG-K5(80)!': ['LG', 'X Cam'], - 'LG-K6(00)!': ['LG', 'X Mach'] + 'LG-K6(00)!': ['LG', 'X Mach'], }, 'LG-KH5200': ['LG', 'Andro-1'], @@ -9020,7 +9274,7 @@ exports.ANDROID_MODELS = { 'LG-KU5400!': ['LG', 'PRADA 3.0'], 'LG-KU5900': ['LG', 'Optimus Black'], 'LG-KU6900': ['LG', 'Optimus Pad', DeviceType.TABLET], - 'LG-KU8800': ['LG', 'Optimus EX'] + 'LG-KU8800': ['LG', 'Optimus EX'], }, 'LG-?L[0-9]{2,3}[A-Z]!!': { @@ -9073,16 +9327,18 @@ exports.ANDROID_MODELS = { 'LGL86C!': ['LG', 'Optimus Showtime'], 'LG-L95G!': ['LG', 'L95G'], LGL96G: ['LG', 'Ultimate'], + LGL157BL: ['LG', 'Rebel 3'], + LGL158VL: ['LG', 'Rebel 3'], 'LG-L160L': ['LG', 'Optimus LTE2'], LGL163BL: ['LG', 'Fiesta 2'], LGL164VL: ['LG', 'Fiesta'], - 'LGL996L!': ['LG', 'G2'] + 'LGL996L!': ['LG', 'G2'], }, 'LG-LG[0-9]{3,3}!!': { 'LG-LG730': ['LG', 'Venice'], 'LG-LG855': ['LG', 'Marquee'], - 'LG-LG870': ['LG', 'Optimus F7'] + 'LG-LG870': ['LG', 'Optimus F7'], }, LGLK430: ['LG', 'G Pad F 7.0', DeviceType.TABLET], @@ -9126,7 +9382,7 @@ exports.ANDROID_MODELS = { LGLS996: ['LG', 'G Flex 2'], 'LG-LS996': ['LG', 'G Flex 2'], 'LG-LS997': ['LG', 'V20'], - 'LG-LS998': ['LG', 'V30+'] + 'LG-LS998': ['LG', 'V30+'], }, 'LG-LU[0-9]{4,4}!!': { @@ -9138,7 +9394,7 @@ exports.ANDROID_MODELS = { 'LG-LU6500': ['LG', 'Optimus Q2'], 'LG-LU6800': ['LG', 'Optimus Big'], 'LG-LU6900': ['LG', 'Optimus Pad', DeviceType.TABLET], - 'LG-LU8300': ['LG', 'Optimus Pad LTE', DeviceType.TABLET] + 'LG-LU8300': ['LG', 'Optimus Pad LTE', DeviceType.TABLET], }, 'LG-LW690': ['LG', 'Optimus C'], @@ -9160,7 +9416,7 @@ exports.ANDROID_MODELS = { 'LG-M4(30)!': ['LG', 'Stylo 3'], 'LG-M4(70)!': ['LG', 'Stylo 3 Plus'], 'LG-M7(00|03)!': ['LG', 'Q6'], - 'LG-M7(10)!': ['LG', 'X Venture'] + 'LG-M7(10)!': ['LG', 'X Venture'], }, 'LG-?MS[0-9]{3,3}!!': { @@ -9186,7 +9442,7 @@ exports.ANDROID_MODELS = { 'LG-MS840': ['LG', 'Connect 4G'], 'LG-MS870': ['LG', 'Spirit 4G'], 'LG-MS910': ['LG', 'Esteem'], - 'LG-MS695': ['LG', 'Optimus M+'] + 'LG-MS695': ['LG', 'Optimus M+'], }, LGMP260: ['LG', 'K20 Plus'], @@ -9226,7 +9482,7 @@ exports.ANDROID_MODELS = { 'LG-P451!': ['LG', 'G Pad IV 8.0', DeviceType.TABLET], 'LG-P530!': ['LG', 'G Pad IV 8.0', DeviceType.TABLET], 'LG-P755!': ['LG', 'G Pad III 10.1', DeviceType.TABLET], - 'LG-P815!': ['LG', 'G Pad II 8.3', DeviceType.TABLET] + 'LG-P815!': ['LG', 'G Pad II 8.3', DeviceType.TABLET], }, 'LG-Q710!': ['LG', 'Stylo 4'], @@ -9236,7 +9492,7 @@ exports.ANDROID_MODELS = { 'LG-SP[0-9]{3,3}!!': { 'LG-SP200': ['LG', 'Tribute Dynasty'], - 'LG-SP320': ['LG', 'X Charge'] + 'LG-SP320': ['LG', 'X Charge'], }, 'LG-SU[0-9]{3,3}!!': { @@ -9246,7 +9502,7 @@ exports.ANDROID_MODELS = { 'LG-SU660': ['LG', 'Optimus 2X'], 'LG-SU760': ['LG', 'Optimus 3D'], 'LG-SU870': ['LG', 'Optimus 3D Cube'], - 'LG-SU880': ['LG', 'Optimus EX'] + 'LG-SU880': ['LG', 'Optimus EX'], }, 'LG-T480!': ['LG', 'Wine Smart'], @@ -9281,7 +9537,7 @@ exports.ANDROID_MODELS = { 'LGUS995!': ['LG', 'G Flex 2'], 'LG-US996!': ['LG', 'V20'], 'LG-US997': ['LG', 'G6'], - 'LG-US998': ['LG', 'V30'] + 'LG-US998': ['LG', 'V30'], }, 'LG-V[0-9]{3,3}!!': { @@ -9301,27 +9557,27 @@ exports.ANDROID_MODELS = { 'LG-V9(00|01)!': ['LG', 'Optimus Pad', DeviceType.TABLET], 'LG-V9(05|09)!': ['LG', 'Optimus G-Slate', DeviceType.TABLET], 'LG-V930': ['LG', 'G Pad X 10.1', DeviceType.TABLET], - 'LG-V9(35|40)!': ['LG', 'G Pad II 10.1', DeviceType.TABLET] + 'LG-V9(35|40)!': ['LG', 'G Pad II 10.1', DeviceType.TABLET], }, 'LG-VK[0-9]{3,3}!!': { 'LG-VK410': ['LG', 'G Pad 7.0', DeviceType.TABLET], 'LG-VK700': ['LG', 'G Pad 10.1', DeviceType.TABLET], 'LG-VK810': ['LG', 'G Pad 8.3', DeviceType.TABLET], - 'LG-VK815': ['LG', 'G Pad X 8.3', DeviceType.TABLET] + 'LG-VK815': ['LG', 'G Pad X 8.3', DeviceType.TABLET], }, 'LG-VN[0-9]{3,3}!!': { 'LG-VN170': ['LG', 'VN-170'], // Unknown 'LG-VN280': ['LG', 'Extravert 2'], - 'LG-VN360': ['LG', 'Exalt'] + 'LG-VN360': ['LG', 'Exalt'], }, 'LG-VM[0-9]{3,3}!!': { 'LG-VM670': ['LG', 'Optimus V'], 'LG-VM696': ['LG', 'Optimus Elite'], 'LG-VM701': ['LG', 'Optimus Slider'], - 'LG-VM720': ['LG', 'Optimus F5'] + 'LG-VM720': ['LG', 'Optimus F5'], }, 'LG-VS[0-9]{3,3}!!': { @@ -9343,7 +9599,7 @@ exports.ANDROID_MODELS = { 'LG-VS980!': ['LG', 'G2'], 'LG-VS985': ['LG', 'G3'], 'LG-VS995': ['LG', 'V20'], - 'LG-VS999': ['LG', 'G4'] + 'LG-VS999': ['LG', 'G4'], }, 'LG-X[0-9]{3,3}!!': { @@ -9360,7 +9616,7 @@ exports.ANDROID_MODELS = { 'LG-X220!': ['LG', 'K5'], 'LG-X230!': ['LG', 'K7 2017'], 'LG-X240!': ['LG', 'K8 2017'], - 'LG-X760!': ['LG', 'G Pad III 10.1', DeviceType.TABLET] + 'LG-X760!': ['LG', 'G Pad III 10.1', DeviceType.TABLET], }, 'LGM-[GKVX][0-9]{3,3}!!': { @@ -9368,21 +9624,56 @@ exports.ANDROID_MODELS = { 'LGM-K120[KLS]!': ['LG', 'X300'], 'LGM-K121[KLS]!': ['LG', 'X400'], 'LGM-V300[KLS]!': ['LG', 'V30'], + 'LGM-X100[S]!': ['LG', 'Smart Folder'], 'LGM-X320[KLS]!': ['LG', 'X500'], 'LGM-X401[S]!': ['LG', 'X401'], 'LGM-X600[KLS]!': ['LG', 'Q6'], - 'LGM-X800[KLS]!': ['LG', 'Q8'] + 'LGM-X800[KLS]!': ['LG', 'Q8'], }, + 'LM-F100!': ['LG', 'Wing'], 'LM-G710!': ['LG', 'G7 ThinQ'], 'LM-G715!': ['LG', 'G7 ThinQ'], + 'LM-G810!': ['LG', 'G8s ThinQ'], + 'LM-G820!': ['LG', 'G8 ThinQ'], + 'LM-G850!': ['LG', 'G8 ThinQ'], + 'LM-G900!': ['LG', 'Velvet'], + 'LM-G910!': ['LG', 'Velvet 4G'], + 'LM-K200!': ['LG', 'K22'], + 'LM-K410!': ['LG', 'K41S'], + 'LM-K420!': ['LG', 'K42'], + 'LM-K510!': ['LG', 'K51s'], + 'LM-K520!': ['LG', 'K52'], 'LM-Q610!': ['LG', 'Q7'], + 'LM-Q617!': ['LG', 'Q7 BTS Edition'], + 'LM-Q630!': ['LG', 'K61'], 'LM-Q710!': ['LG', 'Q Stylus+'], + 'LM-Q720!': ['LG', 'Stylo 5'], + 'LM-Q725!': ['LG', 'Q7 Plus'], + 'LM-Q815!': ['LG', 'Q8 (2018)'], + 'LM-Q850!': ['LG', 'G7 Fit'], + 'LM-Q910!': ['LG', 'G7 One'], + 'LM-Q925!': ['LG', 'Q9'], 'LM-V350!': ['LG', 'V35 ThinQ'], + 'LM-V40[59]!': ['LG', 'V40 ThinQ'], + 'LM-V450!': ['LG', 'V50 ThinQ'], + 'LM-V500!': ['LG', 'V50 ThinQ'], + 'LM-V510!': ['LG', 'V50S ThinQ'], + 'LM-V600!': ['LG', 'V60 ThinQ'], + 'LM-X120!': ['LG', 'K20'], 'LM-X210!': ['LG', 'Aristo 2'], + 'LM-X212!': ['LG', 'K8'], + 'LM-X220!': ['LG', 'Aristo 3'], + 'LM-X320!': ['LG', 'K30'], 'LM-X410!': ['LG', 'X4'], 'LM-X415!': ['LG', 'X4+'], + 'LM-X420!': ['LG', 'X4 (2019)'], + 'LM-X430!': ['LG', 'K40S'], 'LM-X510!': ['LG', 'X5'], + 'LM-X520!': ['LG', 'K50'], + 'LM-X525!': ['LG', 'K12 Prime'], + 'LM-X540!': ['LG', 'K50S'], + 'LM-X625!': ['LG', 'X6 (2019)'], 'LM-Y110!': ['LG', 'Folder'], LGMP450: ['LG', 'Stylo 3 Plus'], @@ -9406,6 +9697,7 @@ exports.ANDROID_MODELS = { LGL24: ['LG', 'isai FL LGL24', { carrier: 'au' }], LGL25: ['LG', 'Fx0 LGL25', { carrier: 'au' }], LGS01: ['LG', 'Wine Smart LGS01', { carrier: 'J:COM' }], + LGS02: ['LG', 'X screen LGS02', { carrier: 'J:COM' }], LGV31: ['LG', 'isai VL LGV31', { carrier: 'au' }], LGV32: ['LG', 'isai vivid LGV32', { carrier: 'au' }], LGV33: ['LG', 'Qua phone PX LGV33', { carrier: 'au' }], @@ -9414,7 +9706,7 @@ exports.ANDROID_MODELS = { LGT01: ['LG', 'G Pad 8.0 L LGT01', { carrier: 'J:COM' }, DeviceType.TABLET], LGT02: ['LG', 'G Pad 8.0 III LGT02', { carrier: 'J:COM' }, DeviceType.TABLET], LGT31: ['LG', 'Qua tab PX LGT31', { carrier: 'au' }, DeviceType.TABLET], - LGT32: ['LG', 'Qua tab PZ LGT32', { carrier: 'au' }, DeviceType.TABLET] + LGT32: ['LG', 'Qua tab PZ LGT32', { carrier: 'au' }, DeviceType.TABLET], }, LU2300: ['LG', 'Optimus Q'], @@ -9429,7 +9721,7 @@ exports.ANDROID_MODELS = { 'USCC-US760': ['LG', 'Genesis'], 'USCC-US780': ['LG', 'Optimus F7'], 'USCC-US855': ['LG', 'Optimus Black'], - 'USCC-LGUS990': ['LG', 'G3'] + 'USCC-LGUS990': ['LG', 'G3'], }, VK410: ['LG', 'G Pad 7.0', DeviceType.TABLET], @@ -9462,7 +9754,7 @@ exports.ANDROID_MODELS = { VS986: ['LG', 'G4'], VS987: ['LG', 'G5'], VS990: ['LG', 'V10'], - VS995: ['LG', 'V20'] + VS995: ['LG', 'V20'], }, 'L-0[0-9][A-Z]!!': { @@ -9483,12 +9775,12 @@ exports.ANDROID_MODELS = { 'L-06C': ['LG', 'Optimus Pad L-06C', DeviceType.TABLET, { carrier: 'DoCoMo' }], 'L-06D': ['LG', 'Optimus Vu L-06D', { carrier: 'DoCoMo' }], 'L-06DJOJO': ['LG', 'JOJO L-06D', { carrier: 'DoCoMo' }], - 'L-07C': ['LG', 'Optimus bright L-07C', { carrier: 'DoCoMo' }] + 'L-07C': ['LG', 'Optimus bright L-07C', { carrier: 'DoCoMo' }], }, '[0-9]0[0-9]LG!!': { '401LG': ['LG', '401LG', { carrier: 'Softbank' }], // Unknown - '402LG': ['LG', 'Spray 402LG', { carrier: 'Y! Mobile' }] + '402LG': ['LG', 'Spray 402LG', { carrier: 'Y! Mobile' }], }, 'DM-01G': ['LG', 'DM-01G', { carrier: 'Disney Mobile' }], @@ -9522,7 +9814,7 @@ exports.ANDROID_MODELS = { 'LG-OPTIMUS HD LTE': ['LG', 'Optimus HD'], 'LG-OPTIMUS LTE HD': ['LG', 'Optimus HD'], 'LG-Optimus Pad L-06C': ['LG', 'Optimus Pad', DeviceType.TABLET], - 'LG-vortex': ['LG', 'Vortex'] + 'LG-vortex': ['LG', 'Vortex'], }, Ally: ['LG', 'Ally'], @@ -9542,7 +9834,7 @@ exports.ANDROID_MODELS = { 'Optimus 4X HD': ['LG', 'Optimus 4X HD'], OptimusX4HD: ['LG', 'Optimus 4X HD'], Optimus4XHD: ['LG', 'Optimus 4X HD'], - Optimusx4: ['LG', 'Optimus X4'] + Optimusx4: ['LG', 'Optimus X4'], }, IS11LG: ['LG', 'Optimus X IS11LG', { carrier: 'au' }], @@ -9556,7 +9848,7 @@ exports.ANDROID_MODELS = { 'LG-Google TV G3': ['LG', 'Android TV', DeviceType.TELEVISION, Flag.GOOGLETV], 'LG-Google TV G3 KR': ['LG', 'Android TV', DeviceType.TELEVISION, Flag.GOOGLETV], 'LG-Google TV G3 TV': ['LG', 'Android TV', DeviceType.TELEVISION, Flag.GOOGLETV], - 'LG-Google TV G3 KR TV': ['LG', 'Android TV', DeviceType.TELEVISION, Flag.GOOGLETV] + 'LG-Google TV G3 KR TV': ['LG', 'Android TV', DeviceType.TELEVISION, Flag.GOOGLETV], }, 'LG-ANDROID MINI BOX': ['LG', 'Android Mini-Box', DeviceType.TELEVISION], @@ -9627,7 +9919,7 @@ exports.ANDROID_MODELS = { 'MALATA TD95': ['Malata', 'TD95'], 'MALATA S501': ['Malata', 'S501'], 'Malata SMBA1002': ['Malata', 'Tablet SMB-A1002', DeviceType.TABLET], - 'Malata SMBA9701': ['Malata', 'Tablet SMB-A9701', DeviceType.TABLET] + 'Malata SMBA9701': ['Malata', 'Tablet SMB-A9701', DeviceType.TABLET], }, T6: ['Malata', 'Zpad T6', DeviceType.TABLET], @@ -9643,7 +9935,7 @@ exports.ANDROID_MODELS = { MID802: ['Manta', 'Duo Power 8 HD', DeviceType.TABLET], MID9701: ['Manta', 'Duo Power 9.7', DeviceType.TABLET], MID9702: ['Manta', 'Duo Power 9.7 HD', DeviceType.TABLET], - MID1001: ['Manta', 'Power Tab 10.1 HD', DeviceType.TABLET] + MID1001: ['Manta', 'Power Tab 10.1 HD', DeviceType.TABLET], }, 'Masstel!!': { @@ -9661,7 +9953,7 @@ exports.ANDROID_MODELS = { 'Masstel Tab 740': ['Masstel', 'Tab 740', DeviceType.TABLET], 'Masstel Tab 750': ['Masstel', 'Tab 750', DeviceType.TABLET], 'Masstel Tab 840': ['Masstel', 'Tab 840', DeviceType.TABLET], - 'Masstel Tab 850': ['Masstel', 'Tab 850', DeviceType.TABLET] + 'Masstel Tab 850': ['Masstel', 'Tab 850', DeviceType.TABLET], }, 'MASTONE!!': { @@ -9670,7 +9962,7 @@ exports.ANDROID_MODELS = { 'MASTONE G9': ['Mastone', 'G9'], 'MASTONE G13': ['Mastone', 'G13'], 'MASTONE G15': ['Mastone', 'G15'], - 'MASTONE W16': ['Mastone', 'W16'] + 'MASTONE W16': ['Mastone', 'W16'], }, 'M-270': ['Maylong', 'M-270', DeviceType.TABLET], @@ -9681,14 +9973,14 @@ exports.ANDROID_MODELS = { 'Maxtron AMOR Ⅱ': ['Maxtron', 'Amor 2'], 'Maxtron Diamond': ['Maxtron', 'Diamond'], 'Maxtron Venus': ['Maxtron', 'Venus'], - 'Maxtron T1': ['Maxtron', 'T1', DeviceType.TABLET] + 'Maxtron T1': ['Maxtron', 'T1', DeviceType.TABLET], }, M785: ['Mecer', 'Xpress Smartlife M785', DeviceType.TABLET], '800P31C': ['Mecer', 'Xpress Smartlife 800P31C', DeviceType.TABLET], X1010: ['Mecer', 'X1010', DeviceType.TABLET], - 'M-PP!!': { + 'M\-PP!!': { 'M-PPxG400': ['Mediacom', 'PhonePad Duo G400'], 'M-PPAG500': ['Mediacom', 'PhonePad Duo G500'], 'M-PPBG500': ['Mediacom', 'PhonePad Duo G500'], @@ -9710,10 +10002,10 @@ exports.ANDROID_MODELS = { 'M-PP2S650C': ['Mediacom', 'PhonePad Duo S650'], 'M-PPAX470U': ['Mediacom', 'PhonePad Duo X470'], 'M PPAX510U': ['Mediacom', 'PhonePad Duo X510'], - 'M-PPxX520U': ['Mediacom', 'PhonePad Duo X520'] + 'M-PPxX520U': ['Mediacom', 'PhonePad Duo X520'], }, - 'M-MP!!': { + 'M\-MP!!': { 'M-MP5303G': ['Mediacom', 'SmartPad Mini Mobile', DeviceType.TABLET], 'M-MP705I': ['Mediacom', 'SmartPad 705i', DeviceType.TABLET], 'M-MP706I': ['Mediacom', 'SmartPad 706i', DeviceType.TABLET], @@ -9773,27 +10065,27 @@ exports.ANDROID_MODELS = { 'M-MP1S4B3G': ['Mediacom', 'SmartPad 10.1 S4', DeviceType.TABLET], 'M-MP10PA': ['Mediacom', 'SmartPad 10.1 HD Pro', DeviceType.TABLET], 'M-MP10PA3G': ['Mediacom', 'SmartPad 10.1 HD Pro', DeviceType.TABLET], - 'M-MPI7A3G': ['Mediacom', 'SmartPad i7', DeviceType.TABLET] + 'M-MPI7A3G': ['Mediacom', 'SmartPad i7', DeviceType.TABLET], }, - 'M-IPRO!!': { + 'M\-IPRO!!': { 'M-IPRO110B': ['Mediacom', 'SmartPad 8.0 HD iPro110', DeviceType.TABLET], 'M-IPRO800B': ['Mediacom', 'SmartPad 8.0 HD iPro800', DeviceType.TABLET], 'M-IPRO810B': ['Mediacom', 'SmartPad 8.0 HD iPro810', DeviceType.TABLET], - 'M-IPRO810W': ['Mediacom', 'SmartPad 8.0 HD iPro810', DeviceType.TABLET] + 'M-IPRO810W': ['Mediacom', 'SmartPad 8.0 HD iPro810', DeviceType.TABLET], }, 'MP[0-9]{3,3}C!!': { MP705C: ['Mediacom', 'SmartPad 705c', DeviceType.TABLET], MP810C: ['Mediacom', 'SmartPad 810c', DeviceType.TABLET], - MP907C: ['Mediacom', 'SmartPad 907c', DeviceType.TABLET] + MP907C: ['Mediacom', 'SmartPad 907c', DeviceType.TABLET], }, 'STM[0-9]{3,3}H!!': { STM712HCZ: ['Mediacom', 'SmartPad 712c', DeviceType.TABLET], STM722HC: ['Mediacom', 'SmartPad 722c', DeviceType.TABLET], STM722HCZ: ['Mediacom', 'SmartPad 722c', DeviceType.TABLET], - STM803HC: ['Mediacom', 'SmartPad 810c', DeviceType.TABLET] + STM803HC: ['Mediacom', 'SmartPad 810c', DeviceType.TABLET], }, 'SmartPad!!': { @@ -9806,7 +10098,7 @@ exports.ANDROID_MODELS = { SmartPad970s2: ['Mediacom', 'SmartPad 970 S2', DeviceType.TABLET], SmartPad970s23G: ['Mediacom', 'SmartPad 970 S2', DeviceType.TABLET], SmartPad1010i: ['Mediacom', 'SmartPad 1010i', DeviceType.TABLET], - 'SmartPad 85S23G': ['Mediacom', 'SmartPad 8.0 S2', DeviceType.TABLET] + 'SmartPad 85S23G': ['Mediacom', 'SmartPad 8.0 S2', DeviceType.TABLET], }, 'Mediacom 810C': ['Mediacom', 'SmartPad 810c', DeviceType.TABLET], @@ -9831,7 +10123,7 @@ exports.ANDROID_MODELS = { MT7013: ['Mediadroid', 'IMPERIUS EN3RGY'], MT7014: ['Mediadroid', 'IMPERIUS AERO SLIM'], MT7015: ['Mediadroid', 'IMPERIUS MINI'], - MT7017: ['Mediadroid', 'IMPERIUS ALPHA'] + MT7017: ['Mediadroid', 'IMPERIUS ALPHA'], }, MTK6516: ['Mediatek', 'MTK6516'], @@ -9856,12 +10148,19 @@ exports.ANDROID_MODELS = { 'LIFETAB E10312': ['Medion', 'Lifetab E10312', DeviceType.TABLET], 'LIFETAB E10316': ['Medion', 'Lifetab E10316', DeviceType.TABLET], 'LIFETAB E10320': ['Medion', 'Lifetab E10320', DeviceType.TABLET], + 'LIFETAB E1041X': ['Medion', 'Lifetab E1041X', DeviceType.TABLET], + 'LIFETAB E1042X': ['Medion', 'Lifetab E1042X', DeviceType.TABLET], + 'LIFETAB E1070X': ['Medion', 'Lifetab E1070X', DeviceType.TABLET], + 'LIFETAB E1071X': ['Medion', 'Lifetab E1071X', DeviceType.TABLET], + 'LIFETAB E1080X': ['Medion', 'Lifetab E1080X', DeviceType.TABLET], + 'LIFETAB E1091X': ['Medion', 'Lifetab E1091X', DeviceType.TABLET], 'LIFETAB P733X': ['Medion', 'Lifetab P733X', DeviceType.TABLET], 'LIFETAB P831X': ['Medion', 'Lifetab P831X', DeviceType.TABLET], 'LIFETAB P831X.2': ['Medion', 'Lifetab P831X', DeviceType.TABLET], 'LIFETAB P891X': ['Medion', 'Lifetab P891X', DeviceType.TABLET], + 'LIFETAB P970X': ['Medion', 'Lifetab P970X', DeviceType.TABLET], 'LIFETAB P1034X': ['Medion', 'Lifetab P1034X', DeviceType.TABLET], - P1035X: ['Medion', 'Lifetab P1035X', DeviceType.TABLET], + 'LIFETAB P1071X': ['Medion', 'Lifetab P1071X', DeviceType.TABLET], 'LIFETAB S7316': ['Medion', 'Lifetab S7316', DeviceType.TABLET], 'LIFETAB S732X': ['Medion', 'Lifetab S732X', DeviceType.TABLET], 'LIFETAB S785X': ['Medion', 'Lifetab S785X', DeviceType.TABLET], @@ -9881,10 +10180,20 @@ exports.ANDROID_MODELS = { 'MEDION X5004': ['Medion', 'X5004'], 'MEDION X5020': ['Medion', 'X5020'], 'LIFETAB P9514': ['Medion', 'Lifetab P9514', DeviceType.TABLET], - 'MD LIFETAB P9516': ['Medion', 'Lifetab P9516', DeviceType.TABLET] + 'MD LIFETAB P9516': ['Medion', 'Lifetab P9516', DeviceType.TABLET], }, + B5532: ['Medion', 'B5532'], + E1050X: ['Medion', 'Lifetab E1050X', DeviceType.TABLET], + E1051X: ['Medion', 'Lifetab E1051X', DeviceType.TABLET], + E1060X: ['Medion', 'Lifetab E1060X', DeviceType.TABLET], + P1035X: ['Medion', 'Lifetab P1035X', DeviceType.TABLET], P1050X: ['Medion', 'Lifetab P1050X', DeviceType.TABLET], + P1060X: ['Medion', 'Lifetab P1060X', DeviceType.TABLET], + P1061X: ['Medion', 'Lifetab P1061X', DeviceType.TABLET], + X1030X: ['Medion', 'Lifetab X1030X', DeviceType.TABLET], + X1031X: ['Medion', 'Lifetab X1031X', DeviceType.TABLET], + X1060X: ['Medion', 'Lifetab X1060X', DeviceType.TABLET], 'MEEG!!': { 'MEEG 101': ['MEEG', '101'], @@ -9893,7 +10202,7 @@ exports.ANDROID_MODELS = { 'MEEG 105S': ['MEEG', '105S'], 'MEEG 106': ['MEEG', '106'], 'MEEG 201': ['MEEG', '201'], - 'MEEG 210R': ['MEEG', '210R'] + 'MEEG 210R': ['MEEG', '210R'], }, 'MEIZU E3': ['Meizu', 'E3'], @@ -9957,12 +10266,12 @@ exports.ANDROID_MODELS = { 'meo smart a70': ['MEO', 'Smart A70'], 'MEO Smart A75': ['MEO', 'Smart A75'], 'MEO A75': ['MEO', 'Smart A75'], - 'MEO Smart A80': ['MEO', 'Smart A80'] + 'MEO Smart A80': ['MEO', 'Smart A80'], }, 'MEU AN!!': { 'MEU AN400': ['MEU', 'AN400'], - 'MEU AN500': ['MEU', 'AN500'] + 'MEU AN500': ['MEU', 'AN500'], }, 'Slidepad!!': { @@ -9974,7 +10283,7 @@ exports.ANDROID_MODELS = { 'SlidePad Elite 9708': ['Memup', 'Slidepad Elite 9708', DeviceType.TABLET], 'SlidePad Kids': ['Memup', 'Slidepad Kids', DeviceType.TABLET], 'SlidePad NG 116DC': ['Memup', 'Slidepad NG 116DC', DeviceType.TABLET], - 'SlidePad NG 704DC': ['Memup', 'Slidepad NG 704DC', DeviceType.TABLET] + 'SlidePad NG 704DC': ['Memup', 'Slidepad NG 704DC', DeviceType.TABLET], }, '704DC': ['Memup', 'Slidepad 704DC', DeviceType.TABLET], @@ -10204,7 +10513,7 @@ exports.ANDROID_MODELS = { 'Micromax Q4260': ['Micromax', 'Q4260 Canvas Evok Power'], 'Micromax S300': ['Micromax', 'S300 Bolt'], 'Micromax S301': ['Micromax', 'S301 Bolt'], - 'Micromax S302': ['Micromax', 'S302 Bolt'] + 'Micromax S302': ['Micromax', 'S302 Bolt'], }, A13: ['Micromax', 'A13'], @@ -10219,6 +10528,9 @@ exports.ANDROID_MODELS = { 'P300(Funbook)': ['Micromax', 'Funbook P300', DeviceType.TABLET], P701: ['Micromax', 'Canvas Tab P701', DeviceType.TABLET], + 'Surface Duo': ['Microsoft', 'Surface Duo'], + 'Surface Duo 2': ['Microsoft', 'Surface Duo 2'], + 'MLLED!!': { 'MLLED M1B': ['MLLED', 'M1B'], 'MLLED M2+': ['MLLED', 'M2+'], @@ -10226,13 +10538,13 @@ exports.ANDROID_MODELS = { 'MLLED M7S': ['MLLED', 'M7S'], 'MLLED M8': ['MLLED', 'M8'], 'MLLED M8S': ['MLLED', 'M8S'], - 'MLLED X3S': ['MLLED', 'X3S'] + 'MLLED X3S': ['MLLED', 'X3S'], }, 'Mio!!': { 'MioCARE A105': ['Mitac', 'MioCARE A105'], 'MioCare 6119': ['Mitac', 'MioCARE 6119'], - 'MioPad 6': ['Mitac', 'MioPad 6', DeviceType.TABLET] + 'MioPad 6': ['Mitac', 'MioPad 6', DeviceType.TABLET], }, 'MITO!!': { @@ -10300,7 +10612,7 @@ exports.ANDROID_MODELS = { 'MITO T660': ['MITO', 'T660', DeviceType.TABLET], 'MITO T777': ['MITO', 'T777', DeviceType.TABLET], 'MITO T888': ['MITO', 'T888', DeviceType.TABLET], - 'MITO T979': ['MITO', 'T979', DeviceType.TABLET] + 'MITO T979': ['MITO', 'T979', DeviceType.TABLET], }, 'MIZ Z2': ['Miz', 'Z2'], @@ -10311,13 +10623,13 @@ exports.ANDROID_MODELS = { 'iQTalk King': ['MLS', 'iQTalk King'], iQTab: ['MLS', 'iQTab', DeviceType.TABLET], 'iQTab 3G': ['MLS', 'iQTab 3G', DeviceType.TABLET], - 'iQTab Astro 3G': ['MLS', 'iQTab Astro 3G', DeviceType.TABLET] + 'iQTab Astro 3G': ['MLS', 'iQTab Astro 3G', DeviceType.TABLET], }, 'Nova!!': { 'Nova A': ['Mobell', 'Nova A'], 'Nova E': ['Mobell', 'Nova E'], - 'Nova F': ['Mobell', 'Nova F'] + 'Nova F': ['Mobell', 'Nova F'], }, 'Mobiistar!!': { @@ -10353,7 +10665,7 @@ exports.ANDROID_MODELS = { 'mobiistar touch LAI 504': ['Mobiistar', 'Touch Lai 504'], 'mobiistar LAI 504m': ['Mobiistar', 'Touch Lai 504M'], 'mobiistar touch LAI 504Q': ['Mobiistar', 'Touch Lai 504Q'], - 'mobiistar touch LAI 512': ['Mobiistar', 'Touch Lai 512'] + 'mobiistar touch LAI 512': ['Mobiistar', 'Touch Lai 512'], }, 'BEAN 454': ['Mobiistar', 'Touch Bean 454'], @@ -10372,7 +10684,7 @@ exports.ANDROID_MODELS = { 'Cynus T5': ['Mobistel', 'Cynus T5'], 'Cynus T6': ['Mobistel', 'Cynus T6'], 'Cynus T7': ['Mobistel', 'Cynus T7'], - 'Cynus T8': ['Mobistel', 'Cynus T8'] + 'Cynus T8': ['Mobistel', 'Cynus T8'], }, 'MOCHE SMART A16': ['Moche', 'Smart A16'], @@ -10402,14 +10714,14 @@ exports.ANDROID_MODELS = { 'FreeTAB 9702 HD X2': ['Modecom', 'FreeTAB 9702 HD X2', DeviceType.TABLET], 'FreeTAB 9702 HD X4': ['Modecom', 'FreeTAB 9702 HD X4', DeviceType.TABLET], 'MODECOM FreeTAB 9702 IPS X2': ['Modecom', 'FreeTAB 9702 IPS X2', DeviceType.TABLET], - 'FreeTAB 9704 IPS2 X4': ['Modecom', 'FreeTAB 9704 IPS2 X4', DeviceType.TABLET] + 'FreeTAB 9704 IPS2 X4': ['Modecom', 'FreeTAB 9704 IPS2 X4', DeviceType.TABLET], }, 'MOGU!!': { 'MOGU-M0': ['Mogu', 'M0'], 'MOGU M2': ['Mogu', 'M2'], 'MOGU M2 ROM': ['Mogu', 'M2'], - 'MOGU-M2': ['Mogu', 'M2'] + 'MOGU-M2': ['Mogu', 'M2'], }, 'moii!!': { @@ -10419,7 +10731,7 @@ exports.ANDROID_MODELS = { 'Moii E801': ['moii', 'E801'], 'moii E893': ['moii', 'E893'], 'Moii E990': ['moii', 'E990'], - 'moii E996': ['moii', 'E996'] + 'moii E996': ['moii', 'E996'], }, AT735: ['Moinstone', 'AT735', DeviceType.TABLET], @@ -10452,7 +10764,7 @@ exports.ANDROID_MODELS = { 'MB8(60|61)!': ['Motorola', 'ATRIX'], MB865: ['Motorola', 'ATRIX 2'], MB870: ['Motorola', 'Droid X2'], - MB886: ['Motorola', 'DINARA'] + MB886: ['Motorola', 'DINARA'], }, 'ME[0-9]{3,3}!!': { @@ -10468,7 +10780,7 @@ exports.ANDROID_MODELS = { ME811: ['Motorola', 'Droid X'], ME860: ['Motorola', 'ATRIX'], ME863: ['Motorola', 'Milestone 3'], - ME865: ['Motorola', 'ATRIX 2'] + ME865: ['Motorola', 'ATRIX 2'], }, 'MT[0-9]{3,3}!!': { @@ -10479,7 +10791,7 @@ exports.ANDROID_MODELS = { MT810: ['Motorola', 'MOTO MT810'], MT870: ['Motorola', 'MOTO MT870'], MT887: ['Motorola', 'RAZR V'], - MT917: ['Motorola', 'MT917'] + MT917: ['Motorola', 'MT917'], }, 'MZ[0-9]{3,3}!!': { @@ -10496,13 +10808,13 @@ exports.ANDROID_MODELS = { 'MZ609!': ['Motorola', 'Droid XYBOARD 8.2', DeviceType.TABLET], MZ615: ['Motorola', 'XOOM 2 WiFi', DeviceType.TABLET], MZ616: ['Motorola', 'XOOM 2 3G', DeviceType.TABLET], - 'MZ617!': ['Motorola', 'Droid XYBOARD 10.1', DeviceType.TABLET] + 'MZ617!': ['Motorola', 'Droid XYBOARD 10.1', DeviceType.TABLET], }, 'WX[0-9]{3,3}!!': { WX435: ['Motorola', 'TRIUMPH WX435'], WX442: ['Motorola', 'CITRUS WX442'], - WX445: ['Motorola', 'CITRUS WX445'] + WX445: ['Motorola', 'CITRUS WX445'], }, 'XT[0-9]{3,4}!!': { @@ -10610,9 +10922,26 @@ exports.ANDROID_MODELS = { 'XT17(89)!': ['Motorola', 'Moto Z2 Force'], 'XT17(90)!': ['Motorola', 'Moto G5S'], 'XT18(02)!': ['Motorola', 'Moto G5S Plus TV'], - 'XT18(06)!': ['Motorola', 'Moto G5S Plus'], - 'XT19(02)!': ['Lenovo', 'K8 Note'] - }, + 'XT18(05|06)!': ['Motorola', 'Moto G5S Plus'], + 'XT19(02)!': ['Lenovo', 'K8 Note'], + }, + + 'motorola one': ['Motorola', 'One'], + 'motorola one 5G ace': ['Motorola', 'One Ace'], + 'motorola one action': ['Motorola', 'One Action'], + 'motorola one fusion+': ['Motorola', 'One Fusion+'], + 'motorola one hyper': ['Motorola', 'One Hyper'], + 'motorola one macro': ['Motorola', 'One Macro'], + 'motorola one power': ['Motorola', 'One Power'], + 'motorola one vision': ['Motorola', 'One Vision'], + 'motorola one zoom': ['Motorola', 'One Zoom'], + + 'motorola edge': ['Motorola', 'Edge'], + 'motorola edge plus': ['Motorola', 'Edge Plus'], + 'motorola edge 20': ['Motorola', 'Edge 20'], + 'motorola edge 20 lite': ['Motorola', 'Edge 20 Lite'], + 'motorola edge 20 pro': ['Motorola', 'Edge 20 Pro'], + 'motorola edge 30 pro': ['Motorola', 'Edge 30 Pro'], 'Atrix 2': ['Motorola', 'ATRIX 2'], 'Atrix 2 WeifanZ': ['Motorola', 'ATRIX 2'], @@ -10665,34 +10994,95 @@ exports.ANDROID_MODELS = { 'Moto C': ['Motorola', 'Moto C'], 'Moto C Plus': ['Motorola', 'Moto C Plus'], '(Moto)?E2$!': ['Motorola', 'Moto E (2015)'], - '(Moto)?E2(4G-LTE)$!': ['Motorola', 'Moto E (2015)'], + '(Moto)?E2\(4G-LTE\)$!': ['Motorola', 'Moto E (2015)'], surnia: ['Motorola', 'Moto E (2015)'], 'Motorola MotoE2!': ['Motorola', 'Moto E2'], + 'Moto E4': ['Motorola', 'Moto E4'], 'Moto E (4)': ['Motorola', 'Moto E4'], 'Moto E (4) Plus': ['Motorola', 'Moto E4 Plus'], + 'moto e5': ['Motorola', 'Moto E5'], 'moto e5 cruise': ['Motorola', 'Moto E5 Cruise'], + 'moto e5 play': ['Motorola', 'Moto E5 Play'], + 'moto e5 plus': ['Motorola', 'Moto E5 Plus'], + 'moto e(6i)': ['Motorola', 'Moto E6i'], + 'moto e6s': ['Motorola', 'Moto E6s'], + 'moto e6 play': ['Motorola', 'Moto E6 Play'], + 'moto e(6) plus': ['Motorola', 'Moto E6 Plus'], + 'moto e(7)': ['Motorola', 'Moto E7'], + 'moto e(7) plus': ['Motorola', 'Moto E7 Plus'], + 'moto e(7) power': ['Motorola', 'Moto E7 Power'], + 'moto e(7i) power': ['Motorola', 'Moto E7i Power'], + 'moto e20': ['Motorola', 'Moto E20'], + 'moto e30': ['Motorola', 'Moto E30'], + 'moto e40': ['Motorola', 'Moto E40'], '(Moto)?G3$!': ['Motorola', 'Moto G (2015)'], '(Moto)?G3-TE$!': ['Motorola', 'Moto G (2015)'], + 'Moto G 2015': ['Motorola', 'Moto G (2015)'], + 'Moto G (2015)': ['Motorola', 'Moto G (2015)'], + 'Moto G (2014': ['Motorola', 'Moto G'], 'MOTOROLA MOTOG': ['Motorola', 'Moto G'], 'Moto G Play': ['Motorola', 'Moto G Play'], + 'moto g power': ['Motorola', 'Moto G Power'], + 'Moto G Turbo': ['Motorola', 'Moto G Turbo'], + 'moto g 5G': ['Motorola', 'Moto G 5G'], + 'moto g 5G plus': ['Motorola', 'Moto G 5G Plus'], + 'moto g pro': ['Motorola', 'Moto G Pro'], 'Moto G4': ['Motorola', 'Moto G4'], + 'Moto G (4': ['Motorola', 'Moto G4'], 'Moto G (4)': ['Motorola', 'Moto G4'], 'Moto G4 Plus': ['Motorola', 'Moto G4 Plus'], + 'Moto G 5': ['Motorola', 'Moto G5'], + 'Moto G (5': ['Motorola', 'Moto G5'], 'Moto G (5)': ['Motorola', 'Moto G5'], 'Moto G (5) Plus': ['Motorola', 'Moto G5 Plus'], + 'Moto G (5S': ['Motorola', 'Moto G5S'], + 'Moto G (5S)': ['Motorola', 'Moto G5S'], 'Moto G (5S) Plus': ['Motorola', 'Moto G5S Plus'], + 'Moto G (5S) Plus (XT1805)': ['Motorola', 'Moto G5S Plus'], + 'moto g(6': ['Motorola', 'Moto G6'], 'moto g(6)': ['Motorola', 'Moto G6'], + 'moto g(6) (XT1925DL)': ['Motorola', 'Moto G6'], + 'moto g(6) forge': ['Motorola', 'Moto G6 Forge'], + 'moto g(6) play': ['Motorola', 'Moto G6 Play'], 'moto g(6) plus': ['Motorola', 'Moto G6 Plus'], + 'moto g(7': ['Motorola', 'Moto G7'], + 'moto g(7)': ['Motorola', 'Moto G7'], + 'moto g(7) optimo (XT1952DL)': ['Motorola', 'Moto G7 Optimo'], + 'moto g(7) play': ['Motorola', 'Moto G7 Play'], + 'moto g(7) plus': ['Motorola', 'Moto G7 Plus'], + 'moto g(7) power': ['Motorola', 'Moto G7 Power'], + 'moto g(7) supra': ['Motorola', 'Moto G7 Supra'], + 'moto g(8': ['Motorola', 'Moto G8'], + 'moto g(8)': ['Motorola', 'Moto G8'], + 'moto g(8) plus': ['Motorola', 'Moto G8 Plus'], + 'moto g(8) power': ['Motorola', 'Moto G8 Power'], + 'moto g(8) power lite': ['Motorola', 'Moto G8 Power Lite'], + 'moto g(9) play': ['Motorola', 'Moto G9 Play'], + 'moto g(9) plus': ['Motorola', 'Moto G9 Plus'], + 'moto g(9) power': ['Motorola', 'Moto G9 Power'], + 'moto g(10)': ['Motorola', 'Moto G10'], + 'moto g(20)': ['Motorola', 'Moto G20'], + 'moto g(30)': ['Motorola', 'Moto G30'], + 'moto g31(w)': ['Motorola', 'Moto G31w'], + 'moto g(50)': ['Motorola', 'Moto G50'], + 'moto g51 5G': ['Motorola', 'Moto G51'], + 'moto g(60)': ['Motorola', 'Moto G60'], + 'moto g(60)s': ['Motorola', 'Moto G60s'], + 'moto g(100)': ['Motorola', 'Moto G100'], + 'moto g200 5G': ['Motorola', 'Moto G200'], 'Moto Z (2)': ['Motorola', 'Moto Z2'], 'Moto Z2 Play': ['Motorola', 'Moto Z2 Play'], + 'Moto Z3 Play': ['Motorola', 'Moto Z3 Play'], 'Moto X Pro': ['Motorola', 'Moto X Pro'], 'moto x4': ['Motorola', 'Moto X4'], + 'moto z4': ['Motorola', 'Moto Z4'], roiX: ['Motorola', 'Droid X'], 'Moto Backflip': ['Motorola', 'BACKFLIP'], RAZR: ['Motorola', 'RAZR'], 'RAZR HD': ['Motorola', 'RAZR HD'], 'RAZR M': ['Motorola', 'RAZR M'], 'RAZR MAXX': ['Motorola', 'RAZR MAXX'], + 'motorola razr 5G': ['Motorola', 'RAZR 5G'], Triumph: ['Motorola', 'TRIUMPH'], 'Opus One': ['Motorola', 'i1'], Photon: ['Motorola', 'PHOTON'], @@ -10778,7 +11168,7 @@ exports.ANDROID_MODELS = { 'M4 SS4450': ['M4Tel', 'SS4450'], 'M4 SS4451': ['M4Tel', 'SS4451'], 'M4 SS4452': ['M4Tel', 'SS4452'], - 'M4 SS4456': ['M4Tel', 'SS4456'] + 'M4 SS4456': ['M4Tel', 'SS4456'], }, 'MyPhone A818g Duo': ['MyPhone', 'A818g Duo'], @@ -10842,14 +11232,14 @@ exports.ANDROID_MODELS = { 'MySAGA C1': ['Mysaga', 'C1'], 'MY SAGA C2': ['Mysaga', 'C2'], 'MY SAGA C3': ['Mysaga', 'C3'], - 'MYSAGA M1': ['Mysaga', 'M1'] + 'MYSAGA M1': ['Mysaga', 'M1'], }, - 'M.T.T.!!': { + 'M\.T\.T\.!!': { 'M.T.T. SmartFun': ['M.T.T.', 'Smart Fun'], 'M.T.T.SmartMax': ['M.T.T.', 'Smart Max'], 'M.T.T. Smart Multimedia': ['M.T.T.', 'Smart Multimedia'], - 'M.T.T. Tablet': ['M.T.T.', 'Tablet', DeviceType.TABLET] + 'M.T.T. Tablet': ['M.T.T.', 'Tablet', DeviceType.TABLET], }, 'iQ7 8GB': ['Navon', 'IQ7', DeviceType.TABLET], @@ -10898,7 +11288,7 @@ exports.ANDROID_MODELS = { 'N-06D': ['NEC', 'MEDIAS Tab N-06D', DeviceType.TABLET, { carrier: 'DoCoMo' }], 'N-06E': ['NEC', 'MEDIAS X N-06E', { carrier: 'DoCoMo' }], 'N-07D': ['NEC', 'MEDIAS X N-07D', { carrier: 'DoCoMo' }], - 'N-08D': ['NEC', 'MEDIAS Tab UL N-08D', DeviceType.TABLET, { carrier: 'DoCoMo' }] + 'N-08D': ['NEC', 'MEDIAS Tab UL N-08D', DeviceType.TABLET, { carrier: 'DoCoMo' }], }, 'NEC-0912': ['NEC', 'MEDIAS U N-02E', { carrier: 'DoCoMo' }], @@ -10922,7 +11312,7 @@ exports.ANDROID_MODELS = { 'LaVieTab PC-TE510N1B': ['NEC', 'LaVie Tab E TE510', DeviceType.TABLET], 'LaVieTab PC-TE510S1': ['NEC', 'LaVie Tab E TE510', DeviceType.TABLET], 'LaVieTab TE510S1': ['NEC', 'LaVie Tab E TE510', DeviceType.TABLET], - 'LaVieTab PC-TS507N1S': ['NEC', 'LaVie Tab S TS507', DeviceType.TABLET] + 'LaVieTab PC-TS507N1S': ['NEC', 'LaVie Tab S TS507', DeviceType.TABLET], }, 'PC-TE307N1W': ['NEC', 'LaVie Tab E TE307', DeviceType.TABLET], @@ -10941,7 +11331,7 @@ exports.ANDROID_MODELS = { 'neken!!': { 'neken N5': ['Neken', 'N5'], 'neken N6': ['Neken', 'N6'], - 'neken NX': ['Neken', 'NX'] + 'neken NX': ['Neken', 'NX'], }, GTV100: ['NETGEAR', 'NeoTV Prime', DeviceType.TELEVISION, Flag.GOOGLETV], @@ -10949,7 +11339,7 @@ exports.ANDROID_MODELS = { 'NEO!!': { 'NEO N01': ['NEO', 'N01'], 'NEO N002': ['NEO', 'N002'], - 'NEO N002i': ['NEO', 'N002i'] + 'NEO N002i': ['NEO', 'N002i'], }, 'ARA YS608': ['NESO', 'ARA YS608'], @@ -10960,7 +11350,7 @@ exports.ANDROID_MODELS = { 'NX-A890': ['Nexian', 'Journey'], 'NX-A891': ['Nexian', 'Ultra Journey'], 'NX-A895': ['Nexian', 'Cosmo Journey'], - 'NX-A899': ['Nexian', 'Xtreme'] + 'NX-A899': ['Nexian', 'Xtreme'], }, NXA8QC116: ['Nextbook', 'Ares 8', DeviceType.TABLET], @@ -11075,7 +11465,7 @@ exports.ANDROID_MODELS = { 'NOAIN A900': ['Noain', 'A900'], 'NOAIN A900S': ['Noain', 'A900S'], 'NOAIN A903': ['Noain', 'A903'], - 'NOAIN A918': ['Noain', 'A918'] + 'NOAIN A918': ['Noain', 'A918'], }, 'NBX-T7013N': ['Noblex', 'T7013N', DeviceType.TABLET], @@ -11115,6 +11505,7 @@ exports.ANDROID_MODELS = { 'Nokia 10.1': ['Nokia', '10.1'], 'Nokia N9': ['Nokia', 'N9'], 'Nokia N900': ['Nokia', 'N900'], + 'T20-Plus': ['Nokia', 'T20 Plus'], 'Nokia X': ['Nokia', 'X', DeviceType.MOBILE, Flag.NOKIAX], 'Nokia X Dual SIM': ['Nokia', 'X', DeviceType.MOBILE, Flag.NOKIAX], 'RM-980': ['Nokia', 'X', DeviceType.MOBILE, Flag.NOKIAX], @@ -11140,20 +11531,20 @@ exports.ANDROID_MODELS = { 'Tegra Note 7': ['Nvidia', 'Tegra Note 7', DeviceType.TABLET], 'Tegra Note 8': ['Nvidia', 'Tegra Note 8', DeviceType.TABLET], 'TegraNote-Premium': ['Nvidia', 'Tegra Note Premium', DeviceType.TABLET], - 'TegraNote-P1640': ['Nvidia', 'Tegra Note P1640', DeviceType.TABLET] + 'TegraNote-P1640': ['Nvidia', 'Tegra Note P1640', DeviceType.TABLET], }, 'NYX!!': { 'NYX FLY': ['NYX Mobile', 'Fly'], 'NYX FLY II': ['NYX Mobile', 'Fly II'], 'NYX NOBA II': ['NYX Mobile', 'Noba II'], - 'NYX ZEUZ HD': ['NYX Mobile', 'Zeuz HD'] + 'NYX ZEUZ HD': ['NYX Mobile', 'Zeuz HD'], }, JOIN: ['NYX Mobile', 'Join'], Orbis: ['NYX Mobile', 'Orbis'], - 'O+!!': { + 'O\+!!': { 'O+8.1Android': ['O+', '8.1'], 'O+ 8.12 Android': ['O+', '8.12'], 'O+ 8.15 Android': ['O+', '8.15'], @@ -11185,7 +11576,7 @@ exports.ANDROID_MODELS = { 'O+ FAB ELITE': ['O+', 'Fab Elite'], 'O+ Grande': ['O+', 'Grande'], 'O+ Ultra': ['O+', 'Ultra'], - 'O+ TABLET': ['O+', 'Tablet', DeviceType.TABLET] + 'O+ TABLET': ['O+', 'Tablet', DeviceType.TABLET], }, EFM710A: ['Oblio', 'Mint 7x', DeviceType.TABLET], @@ -11244,10 +11635,35 @@ exports.ANDROID_MODELS = { 'ONEPLUS A5000': ['OnePlus', '5'], 'ONEPLUS A5010': ['OnePlus', '5T'], 'ONEPLUS A6000': ['OnePlus', '6'], + 'ONEPLUS A6003': ['OnePlus', '6'], + 'ONEPLUS A6010': ['OnePlus', '6T'], + 'ONEPLUS A6013': ['OnePlus', '6T'], + 'HD190[0135]!': ['OnePlus', '7T'], + 'HD191[0137]!': ['OnePlus', '7T Pro'], + 'OnePlus 7T Pro': ['OnePlus', '7T Pro'], + 'GM190[0135]!': ['OnePlus', '7'], + 'GM191[01357]!': ['OnePlus', '7 Pro'], + 'IN201[01357]!': ['OnePlus', '8'], + 'IN202[0135]!': ['OnePlus', '8 Pro'], + 'KB200[01357]!': ['OnePlus', '8T'], + LE2101: ['OnePlus', '9T'], + 'LE211[0135]!': ['OnePlus', '9'], + 'LE212[01357]!': ['OnePlus', '9 Pro'], + NE2213: ['OnePlus', '10 Pro'], 'ONE E1000': ['OnePlus', 'X'], 'ONE E1001': ['OnePlus', 'X'], 'ONE E1003': ['OnePlus', 'X'], 'ONE E1005': ['OnePlus', 'X'], + AC2001: ['OnePlus', 'Nord'], + AC2003: ['OnePlus', 'Nord'], + DN2101: ['OnePlus', 'Nord 2'], + DN2103: ['OnePlus', 'Nord 2'], + 'oneplus Nord 2 5G': ['OnePlus', 'Nord 2'], + EB2101: ['OnePlus', 'Nord CE'], + EB2103: ['OnePlus', 'Nord CE'], + IV2201: ['OnePlus', 'Nord CE 2'], + 'BE202[69]!': ['OnePlus', 'Nord N10'], + BE2013: ['OnePlus', 'Nord N100'], 'ONDA MID': ['Onda', 'MID', DeviceType.TABLET], 'ONDA A9 Core4': ['Onda', 'A9 Quad Core', DeviceType.TABLET], 'ONDA VI10': ['Onda', 'VI10', DeviceType.TABLET], @@ -11288,6 +11704,19 @@ exports.ANDROID_MODELS = { N2T: ['ONN', 'N2T', DeviceType.TABLET], 'Renesas!': ['Opad', 'Renesas', DeviceType.TABLET], A11w: ['Oppo', 'Joy 3'], + PADM00: ['Oppo', 'A3'], + PADT00: ['Oppo', 'A3'], + CPH1803: ['Oppo', 'A3s'], + CPH1809: ['Oppo', 'A5'], + PBAM00: ['Oppo', 'A5'], + 'OPPO PBAM00': ['Oppo', 'A5'], + PBAT00: ['Oppo', 'A5'], + CPH1901: ['Oppo', 'A7'], + PBFT00: ['Oppo', 'A7'], + 'OPPO PBFT00': ['Oppo', 'A7'], + PBBM00: ['Oppo', 'A7x'], + CPH1937: ['Oppo', 'A9 2020'], + CPH1941: ['Oppo', 'A9 2020'], 'OPPO A30': ['Oppo', 'A30'], A31: ['Oppo', 'A31'], 'OPPO A31': ['Oppo', 'A31'], @@ -11295,6 +11724,7 @@ exports.ANDROID_MODELS = { A31c: ['Oppo', 'A31c'], A31t: ['Oppo', 'A31t'], 'OPPO A31t': ['Oppo', 'A31t'], + A31u: ['Oppo', 'A31u'], 'OPPO A33': ['Oppo', 'A33'], A33f: ['Oppo', 'A33f'], 'OPPO A33m': ['Oppo', 'A33m'], @@ -11303,9 +11733,11 @@ exports.ANDROID_MODELS = { A37fw: ['Oppo', 'A37fw'], 'OPPO A37m': ['Oppo', 'A37m'], CPH1605: ['Oppo', 'A39'], + A51: ['Oppo', 'A51'], A51f: ['Oppo', 'A51f'], 'OPPO A53': ['Oppo', 'A53'], 'OPPO A53m': ['Oppo', 'A53m'], + 'OPPO A53t': ['Oppo', 'A53t'], CPH1701: ['Oppo', 'A57'], 'OPPO A57': ['Oppo', 'A57'], 'OPPO A57t': ['Oppo', 'A57t'], @@ -11313,8 +11745,19 @@ exports.ANDROID_MODELS = { 'OPPO A59s': ['Oppo', 'A59s'], 'OPPO A59st': ['Oppo', 'A59st'], CPH1717: ['Oppo', 'A71'], + CPH1801: ['Oppo', 'A71 (2018)'], + A73: ['Oppo', 'A73'], + 'OPPO A73': ['Oppo', 'A73'], + 'OPPO A73t': ['Oppo', 'A73t'], 'OPPO A77': ['Oppo', 'A77'], 'OPPO A77t': ['Oppo', 'A77t'], + 'OPPO A79': ['Oppo', 'A79'], + 'OPPO A79kt': ['Oppo', 'A79kt'], + 'OPPO A79t': ['Oppo', 'A79t'], + 'OPPO A83': ['Oppo', 'A83'], + CPH1729: ['Oppo', 'A83'], + CPH1827: ['Oppo', 'A83'], + 'OPPO A83t': ['Oppo', 'A83t'], 'OPPO A800': ['Oppo', 'A800'], A1603: ['Oppo', 'C1'], F1f: ['Oppo', 'F1f'], @@ -11323,6 +11766,65 @@ exports.ANDROID_MODELS = { CPH1609: ['Oppo', 'F3'], CPH1613: ['Oppo', 'F3 Plus'], CPH1723: ['Oppo', 'F5'], + CPH1727: ['Oppo', 'F5'], + CPH1819: ['Oppo', 'F7'], + CPH1821: ['Oppo', 'F7'], + CPH1859: ['Oppo', 'F7 Youth'], + CPH1881: ['Oppo', 'F9'], + CPH1823: ['Oppo', 'F9 Pro'], + CPH1831: ['Oppo', 'R15 Pro'], + CPH1837: ['Oppo', 'A3'], + CPH1871: ['Oppo', 'Find X'], + CPH1875: ['Oppo', 'Find X'], + CPH1877: ['Oppo', 'RX17 Pro'], + CPH1893: ['Oppo', 'RX17 Neo'], + CPH1903: ['Oppo', 'A7'], + CPH1907: ['Oppo', 'Reno 2'], + CPH1909: ['Oppo', 'A5s'], + CPH1911: ['Oppo', 'F11'], + CPH1917: ['Oppo', 'Reno'], + CPH1919: ['Oppo', 'Reno 10x Zoom'], + CPH1920: ['Oppo', 'A5s'], + CPH1923: ['Oppo', 'A1k'], + CPH1931: ['Oppo', 'A5 (2020)'], + CPH1933: ['Oppo', 'A5 (2020)'], + CPH1951: ['Oppo', 'Reno 2Z'], + CPH1969: ['Oppo', 'F11 Pro'], + CPH1989: ['Oppo', 'Reno 2 F'], + CPH2005: ['Oppo', 'Find X2 Lite'], + CPH2009: ['Oppo', 'Find X2 Neo'], + CPH2021: ['Oppo', 'A91'], + CPH2023: ['Oppo', 'Find X2'], + CPH2025: ['Oppo', 'Find X2 Pro'], + CPH2043: ['Oppo', 'Reno 3'], + CPH2065: ['Oppo', 'Reno 4Z'], + CPH2067: ['Oppo', 'A72'], + CPH2069: ['Oppo', 'A52'], + CPH2083: ['Oppo', 'A12'], + CPH2089: ['Oppo', 'Reno 4 Pro'], + CPH2091: ['Oppo', 'Reno 4'], + CPH2121: ['Oppo', 'A93'], + CPH2125: ['Oppo', 'Reno 4 Lite'], + CPH2127: ['Oppo', 'A53'], + CPH2135: ['Oppo', 'A53s'], + CPH2145: ['Oppo', 'Find X3 Lite'], + CPH2161: ['Oppo', 'A73'], + CPH2173: ['Oppo', 'Find X3 Pro'], + CPH2185: ['Oppo', 'A15'], + CPH2195: ['Oppo', 'A54'], + CPH2197: ['Oppo', 'A74'], + CPH2205: ['Oppo', 'Reno 5 Lite'], + CPH2207: ['Oppo', 'Find X3 Neo'], + CPH2211: ['Oppo', 'A94'], + CPH2219: ['Oppo', 'A74'], + CPH2247: ['Oppo', 'Reno 6 Pro'], + CPH2251: ['Oppo', 'Reno 6'], + CPH2269: ['Oppo', 'A16'], + CPH2271: ['Oppo', 'A16s'], + CPH2273: ['Oppo', 'A54s'], + CPH2305: ['Oppo', 'Find X5 Pro'], + CPH2307: ['Oppo', 'Find X5'], + CPH2371: ['Oppo', 'Reno 7'], 'Find 5': ['Oppo', 'Find 5'], X903: ['Oppo', 'Find Me X903'], X903S: ['Oppo', 'Find X903S'], @@ -11339,6 +11841,7 @@ exports.ANDROID_MODELS = { X9000: ['Oppo', 'Find 7a X9000'], X9006: ['Oppo', 'Find 7a X9006'], X9007: ['Oppo', 'Find 7a X9007'], + 'OPPO X9007': ['Oppo', 'Find 7a X9007'], X9009: ['Oppo', 'F1 Plus X9009'], X9015: ['Oppo', 'Find X9015'], OPPOX9015: ['Oppo', 'Find X9015'], @@ -11389,7 +11892,7 @@ exports.ANDROID_MODELS = { 'Oppo R831 Limited Edition': ['Oppo', 'Neo R831'], R831K: ['Oppo', 'Real 20 R831K'], R831L: ['Oppo', 'Neo 5 R831L'], - '1201': ['Oppo', 'Neo 5 R831L'], + 1201: ['Oppo', 'Neo 5 R831L'], R831T: ['Oppo', 'Neo R831T'], R831S: ['Oppo', 'R831S'], R831: ['Oppo', 'Neo R831'], @@ -11440,10 +11943,18 @@ exports.ANDROID_MODELS = { OPPOU7015: ['Oppo', 'Find Way U7015'], U7015: ['Oppo', 'Find Way U7015'], A51w: ['Oppo', 'Mirror 5'], + PBCM30: ['Oppo', 'K1'], + 'OPPO PBCM30': ['Oppo', 'K1'], + 'OPPO PBCT10': ['Oppo', 'K1'], + PCGM00: ['Oppo', 'K3'], 'OPPO N1': ['Oppo', 'N1'], 'N51(10|11|16|17)!': ['Oppo', 'N1 mini'], 'N52(06|07|09)!': ['Oppo', 'N3'], + 'OB-OPPO R8205': ['Oppo', 'R1c'], + 'OB-OPPO R7005': ['Oppo', 'R3'], 'OPPO R7': ['Oppo', 'R7'], + 'OPPO R7Plus': ['Oppo', 'R7 Plus'], + 'OB-OPPO R7c': ['Oppo', 'R7c'], R7f: ['Oppo', 'R7f'], R7i: ['Oppo', 'R7i'], R7kf: ['Oppo', 'R7kf'], @@ -11452,15 +11963,19 @@ exports.ANDROID_MODELS = { 'OPPO R7sm': ['Oppo', 'R7sm'], 'OPPO R7st': ['Oppo', 'R7st'], 'OPPO R7t': ['Oppo', 'R7t'], + R7t: ['Oppo', 'R7t'], + 'OPPO R9k': ['Oppo', 'R9k'], 'OPPO R9m': ['Oppo', 'R9m'], 'OPPO R9tm': ['Oppo', 'R9tm'], 'OPPO R9km': ['Oppo', 'R9km'], 'OPPO R9s': ['Oppo', 'R9s'], 'OPPO R9sk': ['Oppo', 'R9sk'], 'OPPO R9st': ['Oppo', 'R9st'], + 'OPPO R9skt': ['Oppo', 'R9skt'], 'OPPO R9t': ['Oppo', 'R9t'], 'OPPO R9tm': ['Oppo', 'R9tm'], 'OPPO R11': ['Oppo', 'R11'], + CPH1721: ['Oppo', 'R11s'], 'OPPO R11t': ['Oppo', 'R11t'], 'OPPO R7 Plus': ['Oppo', 'R7 Plus'], R7Plus: ['Oppo', 'R7 Plus'], @@ -11471,14 +11986,41 @@ exports.ANDROID_MODELS = { 'OPPO R9 Plustm A': ['Oppo', 'R9 Plus'], CPH1611: ['Oppo', 'R9s Plus'], 'OPPO R9s Plus': ['Oppo', 'R9s Plus'], + 'OPPO R9s Plust': ['Oppo', 'R9st Plus'], 'OPPO R11 Plus': ['Oppo', 'R11 Plus'], - 'OPPO R11 Plusk': ['Oppo', 'R11 Plus'], - 'OPPO R11 Pluskt': ['Oppo', 'R11 Plus'], + 'OPPO R11 Plusk': ['Oppo', 'R11k Plus'], + 'OPPO R11 Pluskt': ['Oppo', 'R11kt Plus'], + 'OPPO R11s': ['Oppo', 'R11s'], 'OPPO R11s Plus': ['Oppo', 'R11s Plus'], + 'OPPO R11st': ['Oppo', 'R11st'], + 'OPPO R11s Plust': ['Oppo', 'R11st Plus'], + PAAM00: ['Oppo', 'R15'], + 'OPPO PAAM00': ['Oppo', 'R15'], + PACM00: ['Oppo', 'R15'], + 'OPPO PACM00': ['Oppo', 'R15'], + PACT00: ['Oppo', 'R15'], + 'OPPO PACT00': ['Oppo', 'R15'], + PAAT00: ['Oppo', 'R15 Dream Mirror'], + CPH1879: ['Oppo', 'R17'], + PBEM00: ['Oppo', 'R17'], + PBET00: ['Oppo', 'R17'], + PBDM00: ['Oppo', 'R17 Pro'], + 'OPPO PBDM00': ['Oppo', 'R17 Pro'], + CPH1861: ['Oppo', 'Realme 1'], W8: ['Oppo', 'W8'], - '1105': ['Oppo', '1105'], - '1107': ['Oppo', '1107'], + 'OB-OPPO 1105': ['Oppo', '1105'], + 1105: ['Oppo', '1105'], + 1107: ['Oppo', '1107'], 'OB-OPPO 3005': ['Oppo', '3005'], + 3007: ['Oppo', '3007'], + 6607: ['Oppo', 'U3'], + PAFM00: ['Oppo', 'Find X'], + 'OPPO PAFM00': ['Oppo', 'Find X'], + PAHM00: ['Oppo', 'Find X'], + PCAM00: ['Oppo', 'Reno'], + PCAM10: ['Oppo', 'Reno Lite'], + PCCM00: ['Oppo', 'Reno 10x Zoom'], + CPH1979: ['Oppo', 'Reno Z'], 'OPSSON!!': { 'OPSSON D1': ['Opsson', 'D1'], @@ -11499,13 +12041,17 @@ exports.ANDROID_MODELS = { 'OPSSON IVO6655': ['Opsson', 'IVO 6655'], 'OPSSON IVO6666': ['Opsson', 'IVO 6666'], 'OPSSON IVO 6677': ['Opsson', 'IVO 6677'], - 'OPSSON IVO 8800': ['Opsson', 'IVO 8800'] + 'OPSSON IVO 8800': ['Opsson', 'IVO 8800'], }, 'OP0118-12': ['Oregon Scientific', 'Meep!', DeviceType.TABLET], 'Bucare Y330-U05': ['Orinoquia', 'Bucare Y330'], 'Kavak Y625-U03': ['Orinoquia', 'Kavak Y625'], + 'C15 Pro': ['Oukitel', 'C15 Pro'], + 'C21 Pro': ['Oukitel', 'C21 Pro'], + B2021: ['Oukitel', 'B2021'], + 'K6000 Pro': ['Oukitel', 'K6000 Pro'], 'K10000 Pro': ['Oukitel', 'K10000 Pro'], '(OV-|Overmax|Vertis)!!': { @@ -11531,9 +12077,10 @@ exports.ANDROID_MODELS = { 'OV-Vertis-01': ['Overmax', 'Vertis 01'], 'OV-Vertis-02': ['Overmax', 'Vertis 02'], 'Vertis Expi': ['Overmax', 'Vertis Expi'], - 'Vertis Famy': ['Overmax', 'Vertis Famy'] + 'Vertis Famy': ['Overmax', 'Vertis Famy'], }, + OV10274G: ['Overmax', '1027'], Arctic450: ['Oysters', 'Arctic 450'], 'Oysters Pacific 800': ['Oysters', 'Pacific 800'], 'Oysters T3 3G': ['Oysters', 'T3'], @@ -11557,7 +12104,7 @@ exports.ANDROID_MODELS = { 'P-06D': ['Panasonic', 'ELUGA V P-06D', { carrier: 'DoCoMo' }], 'P-07C': ['Panasonic', 'P-07C', { carrier: 'DoCoMo' }], 'P-07D': ['Panasonic', 'ELUGA power P-07D', { carrier: 'DoCoMo' }], - 'P-08D': ['Panasonic', 'ELUGA Live P-08D', DeviceType.TABLET, { carrier: 'DoCoMo' }] + 'P-08D': ['Panasonic', 'ELUGA Live P-08D', DeviceType.TABLET, { carrier: 'DoCoMo' }], }, '003P': ['Panasonic', 'Sweety 003P', { carrier: 'Softbank' }], @@ -11622,7 +12169,7 @@ exports.ANDROID_MODELS = { 'Panasonic SV-MV100': ['Panasonic', 'SV-MV100', DeviceType.MEDIA], 'Panasonic UN-MT300': ['Panasonic', 'UN-MT300', DeviceType.MEDIA], 'Panasonic UN-W700': ['Panasonic', 'Multimedia System UN-W700', DeviceType.MEDIA], - 'Panasonic UT-PB1': ['Panasonic', 'Raboo UT-PB1', DeviceType.EREADER] + 'Panasonic UT-PB1': ['Panasonic', 'Raboo UT-PB1', DeviceType.EREADER], }, 'Eluga A2': ['Panasonic', 'Eluga A2'], @@ -11701,7 +12248,7 @@ exports.ANDROID_MODELS = { 'IM-A910!': ['Pantech', 'Vega Iron 2'], 'IM-A920!': ['Pantech', 'IM-A920'], 'IM-A930!': ['Pantech', 'IM-A930'], - 'IM-T100K': ['Pantech', 'Vega N˚ 5', DeviceType.TABLET] + 'IM-T100K': ['Pantech', 'Vega N˚ 5', DeviceType.TABLET], }, 'IM-100K': ['Pantech', 'I`m back'], @@ -11721,7 +12268,7 @@ exports.ANDROID_MODELS = { 'PantechP8010!': ['Pantech', 'Flex'], 'PantechP9060!': ['Pantech', 'Pocket'], 'PantechP9070!': ['Pantech', 'Burst'], - 'PantechP9090!': ['Pantech', 'Magnus'] + 'PantechP9090!': ['Pantech', 'Magnus'], }, IS06: ['Pantech', 'SIRIUS α IS06', { carrier: 'au' }], @@ -11755,7 +12302,7 @@ exports.ANDROID_MODELS = { 'Penta WS707C': ['Penta', 'T-Pad WS707C', DeviceType.TABLET], 'Penta WS802C': ['Penta', 'T-Pad WS802C', DeviceType.TABLET], 'Penta WS907Q': ['Penta', 'T-Pad WS907Q', DeviceType.TABLET], - 'Penta PS650': ['Penta', 'PS650', DeviceType.TABLET] + 'Penta PS650': ['Penta', 'PS650', DeviceType.TABLET], }, IS703C: ['Penta', 'T-Pad IS703C', DeviceType.TABLET], @@ -11768,7 +12315,7 @@ exports.ANDROID_MODELS = { 'PENTAGRAM TAB 7.3': ['Pentagram', 'Tab 7.3', DeviceType.TABLET], 'PENTAGRAM TAB 7.5': ['Pentagram', 'Tab 7.5', DeviceType.TABLET], 'PentagramTAB7.6': ['Pentagram', 'Tab 7.6', DeviceType.TABLET], - 'PENTAGRAM TAB Quadra 9.7': ['Pentagram', 'Quadra 9.7', DeviceType.TABLET] + 'PENTAGRAM TAB Quadra 9.7': ['Pentagram', 'Quadra 9.7', DeviceType.TABLET], }, 'PHICOMM!!': { @@ -11795,7 +12342,7 @@ exports.ANDROID_MODELS = { 'PHICOMM X100wEU': ['Phicomm', 'X100w'], 'PHICOMM X130v': ['Phicomm', 'X130v'], 'PHICOMM X130va': ['Phicomm', 'X130va'], - 'PHICOMM X130wEU': ['Phicomm', 'X130W'] + 'PHICOMM X130wEU': ['Phicomm', 'X130W'], }, 'FWS[0-9]{3,3}!!': { @@ -11804,7 +12351,7 @@ exports.ANDROID_MODELS = { FWS710: ['Phicomm', 'FWS710'], FWS710EU: ['Phicomm', 'FWS710'], FWS710a: ['Phicomm', 'FWS710'], - FWS810: ['Phicomm', 'FWS810'] + FWS810: ['Phicomm', 'FWS810'], }, i803w: ['Phicomm', 'i803w'], @@ -11906,7 +12453,7 @@ exports.ANDROID_MODELS = { 'PNR-Pioneer E81c': ['Pioneer', 'E81c'], 'Pioneer E90w': ['Pioneer', 'E90w'], 'Pioneer P81': ['Pioneer', 'P81'], - 'Pioneer S90w': ['Pioneer', 'S90w'] + 'Pioneer S90w': ['Pioneer', 'S90w'], }, E60w: ['Pioneer', 'E60w'], @@ -11928,7 +12475,7 @@ exports.ANDROID_MODELS = { 'PIRANHA Ultra Tab Zeus White 10.1': ['Piranha', 'Ultra Tab 10.1', DeviceType.TABLET], 'PIRANHA ULTRA TAB 10.1"': ['Piranha', 'Ultra Tab 10.1', DeviceType.TABLET], 'PIRANHA ULTRA II TAB 7': ['Piranha', 'Ultra II Tab 7.0', DeviceType.TABLET], - 'PIRANHA Ultra II TAB 9.0': ['Piranha', 'Ultra II Tab 9.0', DeviceType.TABLET] + 'PIRANHA Ultra II TAB 9.0': ['Piranha', 'Ultra II Tab 9.0', DeviceType.TABLET], }, 'PGM 398': ['Pixcom', 'PGM 398'], @@ -11972,7 +12519,7 @@ exports.ANDROID_MODELS = { MOMO19HD: ['Ployer', 'MOMO19 HD', DeviceType.TABLET], MOMO20: ['Ployer', 'MOMO20', DeviceType.TABLET], 'MOMO20-AU': ['Ployer', 'MOMO20', DeviceType.TABLET], - MOMO20S: ['Ployer', 'MOMO20', DeviceType.TABLET] + MOMO20S: ['Ployer', 'MOMO20', DeviceType.TABLET], }, 'PocketBook A7': ['PocketBook', 'A7', DeviceType.TABLET], @@ -12058,7 +12605,7 @@ exports.ANDROID_MODELS = { MIDC901: ['Polaroid', 'MIDC901', DeviceType.TABLET], MIDC970: ['Polaroid', 'MIDC970', DeviceType.TABLET], MIDCD10: ['Polaroid', 'MIDCD10', DeviceType.TABLET], - MIDCD97: ['Polaroid', 'MIDCD97', DeviceType.TABLET] + MIDCD97: ['Polaroid', 'MIDCD97', DeviceType.TABLET], }, 'PMID!!': { @@ -12089,7 +12636,7 @@ exports.ANDROID_MODELS = { 'PMID-1000DC': ['Polaroid', 'PMID 1000dc', DeviceType.TABLET], 'PMID1000!': ['Polaroid', 'PMID 1000', DeviceType.TABLET], PMID4311: ['Polaroid', 'PMID 4311', DeviceType.TABLET], - PMID4312: ['Polaroid', 'PMID 4312', DeviceType.TABLET] + PMID4312: ['Polaroid', 'PMID 4312', DeviceType.TABLET], }, PSPT350: ['Polaroid', 'PSPT350'], @@ -12105,7 +12652,7 @@ exports.ANDROID_MODELS = { 'PROV!!': { PROV350: ['Polaroid', 'PROV350'], - PROV400: ['Polaroid', 'PROV400'] + PROV400: ['Polaroid', 'PROV400'], }, 'PRO!!': { @@ -12114,7 +12661,7 @@ exports.ANDROID_MODELS = { PRO4006: ['Polaroid', 'PRO4006'], PRO4611PR201: ['Polaroid', 'PRO4611'], PRO5701: ['Polaroid', 'PRO5701'], - PRO7111: ['Polaroid', 'PRO7111'] + PRO7111: ['Polaroid', 'PRO7111'], }, 'POLY ?PAD!!': { @@ -12122,7 +12669,7 @@ exports.ANDROID_MODELS = { 'POLY PAD 8216HD': ['Polypad', '8216 HD', DeviceType.TABLET], 'POLY PAD 9708HD': ['Polypad', '9708 HD', DeviceType.TABLET], 'POLY PAD 9716HD': ['Polypad', '9716 HD', DeviceType.TABLET], - 'Polypad C508': ['Polypad', 'C508', DeviceType.TABLET] + 'Polypad C508': ['Polypad', 'C508', DeviceType.TABLET], }, 'POLYTRON!!': { @@ -12158,7 +12705,7 @@ exports.ANDROID_MODELS = { 'POLYTRON W8470': ['Polytron', 'W8470 Wizard Quadra HD'], 'POLYTRON 4G450': ['Polytron', '4G450 Zap 5'], 'POLYTRON 4G501': ['Polytron', '4G501 Zap 6 Posh'], - 'POLYTRON 4G551': ['Polytron', '4G551 Zap 6 Posh Note'] + 'POLYTRON 4G551': ['Polytron', '4G551 Zap 6 Posh Note'], }, 'POMP!!': { @@ -12170,7 +12717,7 @@ exports.ANDROID_MODELS = { 'POMP W89': ['POMP', 'W89'], 'POMP-W89': ['POMP', 'W89'], 'POMP W99': ['POMP', 'W99'], - 'POMP W99A': ['POMP', 'W99A'] + 'POMP W99A': ['POMP', 'W99A'], }, ACT2000: ['Poptronix', 'ACT2000', DeviceType.TABLET], @@ -12178,7 +12725,7 @@ exports.ANDROID_MODELS = { 'Air!!': { 'Air 7.85 3G': ['Roverpad', 'Air 7.85 3G', DeviceType.TABLET], 'Air 10.1 3G': ['Roverpad', 'Air 10.1 3G', DeviceType.TABLET], - 'Air S70': ['Roverpad', 'Air S70', DeviceType.TABLET] + 'Air S70': ['Roverpad', 'Air S70', DeviceType.TABLET], }, 'PMP[0-9]{4,4}!!': { @@ -12245,7 +12792,7 @@ exports.ANDROID_MODELS = { 'PMP7280C3G DUO': ['Prestigio', 'Multipad 2 Ultra Duo 8.0 3G', DeviceType.TABLET], 'PMP7280C3G QUAD': ['Prestigio', 'Multipad 4 Ultra Quad 8.0 3G', DeviceType.TABLET], PMP7380D3G: ['Prestigio', 'Multipad 2 Pro Duo 8.0 3G', DeviceType.TABLET], - 'PMP7380D3G QUAD': ['Prestigio', 'Multipad 2 Pro Quad 8.0 3G', DeviceType.TABLET] + 'PMP7380D3G QUAD': ['Prestigio', 'Multipad 2 Pro Quad 8.0 3G', DeviceType.TABLET], }, 'PMT[0-9]{4,4}!!': { @@ -12287,7 +12834,7 @@ exports.ANDROID_MODELS = { 'PMT7077 3G': ['Prestigio', 'Multipad 4 Diamond 7.85 3G', DeviceType.TABLET], 'PMT7177 3G': ['Prestigio', 'Multipad 4 Diamond 10.1 3G', DeviceType.TABLET], 'PMT7287 3G': ['Prestigio', 'Multipad 4 Ultra Quad 8.0 3G', DeviceType.TABLET], - 'PMT7787 3G': ['Prestigio', 'Multipad Thunder 8.0i', DeviceType.TABLET] + 'PMT7787 3G': ['Prestigio', 'Multipad Thunder 8.0i', DeviceType.TABLET], }, 'PAP[0-9]{4,4}!!': { @@ -12320,7 +12867,7 @@ exports.ANDROID_MODELS = { PAP5503: ['Prestigio', 'Multiphone 5503'], PAP5503DUO: ['Prestigio', 'Multiphone 5503 Duo'], PAP7500: ['Prestigio', 'Multiphone 7500'], - PAP7600DUO: ['Prestigio', 'Multiphone 7600 Duo'] + PAP7600DUO: ['Prestigio', 'Multiphone 7600 Duo'], }, 'PSP[0-9]{4,4}!!': { @@ -12353,7 +12900,7 @@ exports.ANDROID_MODELS = { PSP5517DUO: ['Prestigio', 'Multiphone 5517 Duo'], PSP5550DUO: ['Prestigio', 'Multiphone 5550 Duo'], PSP7505DUO: ['Prestigio', 'Multiphone Grace X7'], - PSP7557: ['Prestigio', 'Multiphone 7557 Grace'] + PSP7557: ['Prestigio', 'Multiphone 7557 Grace'], }, 'Prestigio PAP5000TDUO': ['Prestigio', 'Multiphone 5000 Duo'], @@ -12364,7 +12911,7 @@ exports.ANDROID_MODELS = { 'MD-[0-9]{4,4}!!': { 'MD-0651': ['Prolink', 'MD-0651', DeviceType.TABLET], 'MD-0696B': ['Prolink', 'MD-0696B', DeviceType.TABLET], - 'MD-0697': ['Prolink', 'MD-0697', DeviceType.TABLET] + 'MD-0697': ['Prolink', 'MD-0697', DeviceType.TABLET], }, 'PLT!!': { @@ -12395,7 +12942,7 @@ exports.ANDROID_MODELS = { PLT9045K: ['Proscan', 'PLT9045K', DeviceType.TABLET], 'PLT9045K-BLACK': ['Proscan', 'PLT9045K', DeviceType.TABLET], PLT9602G: ['Proscan', 'PLT9602G', DeviceType.TABLET], - PLT9606G: ['Proscan', 'PLT9606G', DeviceType.TABLET] + PLT9606G: ['Proscan', 'PLT9606G', DeviceType.TABLET], }, 'Positivo Mini': ['Positivo', 'Mini', DeviceType.TABLET], @@ -12491,12 +13038,12 @@ exports.ANDROID_MODELS = { 'Q-Wave71N': ['Quantum', 'Q-Wave 71N', DeviceType.TABLET], 'Q-Wave781N': ['Quantum', 'Q-Wave 781N', DeviceType.TABLET], 'Q-WaveA101': ['Quantum', 'Q-Wave A101', DeviceType.TABLET], - 'Q-Wave L70N': ['Quantum', 'Q-Wave L70N', DeviceType.TABLET] + 'Q-Wave L70N': ['Quantum', 'Q-Wave L70N', DeviceType.TABLET], }, 'Quechua Phone 5': ['Quechua', 'Phone 5'], - 'QUBE[ -](B[0-9]S?+?)!': ['Qube', '$1'], + 'QUBE[ -](B[0-9]S?\+?)!': ['Qube', '$1'], 'QUBE[ -](T[0-9])!': ['Qube', '$1', DeviceType.TABLET], 'QUMO[ -]QUEST[ -]?([0-9]+i?)!': ['QUMO', 'Quest $1'], 'QUMO Altair ([0-9]+i?)!': ['QUMO', 'Altair $1', DeviceType.TABLET], @@ -12513,7 +13060,7 @@ exports.ANDROID_MODELS = { 'QW TB-1380QHD': ['Qware', 'Pro5 QHD 8.0', DeviceType.TABLET], 'QW TB-9718QHD': ['Qware', 'Pro5 QHD 9.7', DeviceType.TABLET], 'QW TB-1517': ['Qware', 'Tabby', DeviceType.TABLET], - 'QW TB-1517D': ['Qware', 'Tabby2', DeviceType.TABLET] + 'QW TB-1517D': ['Qware', 'Tabby2', DeviceType.TABLET], }, 'ramos i7s ': ['Ramos', 'I7s', DeviceType.TABLET], @@ -12567,14 +13114,14 @@ exports.ANDROID_MODELS = { 'Rayhov!!': { 'Rayhov X3': ['Rayhov', 'X3'], 'Rayhov X6': ['Rayhov', 'X6'], - 'Rayhov X9': ['Rayhov', 'X9'] + 'Rayhov X9': ['Rayhov', 'X9'], }, 'Readboy!!': { 'Readboy G12': ['Readboy', 'G12', DeviceType.TABLET], 'Readboy G18': ['Readboy', 'G18', DeviceType.TABLET], 'Readboy G50': ['Readboy', 'G50', DeviceType.TABLET], - 'Readboy G100': ['Readboy', 'G100', DeviceType.TABLET] + 'Readboy G100': ['Readboy', 'G100', DeviceType.TABLET], }, ReederA8R: ['Reeder', 'A8R', DeviceType.TABLET], @@ -12630,7 +13177,7 @@ exports.ANDROID_MODELS = { RMP400: ['Ritmix', 'RMP-400', DeviceType.TABLET], 'RMP-450': ['Ritmix', 'RMP-450', DeviceType.TABLET], 'RMP-530': ['Ritmix', 'RMP-530', DeviceType.TABLET], - 'RMP-600': ['Ritmix', 'RMP-600', DeviceType.TABLET] + 'RMP-600': ['Ritmix', 'RMP-600', DeviceType.TABLET], }, '(?:RIVO )?RHYTHM RX ?([0-9]+)!': ['Rivo', 'Rhythm RX$1'], @@ -12638,14 +13185,18 @@ exports.ANDROID_MODELS = { 'RMD-[0-9]{2,3}G!!': { 'RMD-73G': ['Ross&Moor', 'RMD-73G', DeviceType.TABLET], 'RMD-917G': ['Ross&Moor', 'RMD-917G', DeviceType.TABLET], - 'RMD-973G': ['Ross&Moor', 'RMD-973G', DeviceType.TABLET] + 'RMD-973G': ['Ross&Moor', 'RMD-973G', DeviceType.TABLET], }, 'RoverPad 3W T71D': ['RoverPad', '3W T71D', DeviceType.TABLET], + RG650: ['RugGear', 'RG650'], + RG655: ['RugGear', 'RG655'], + RG725: ['RugGear', 'RG725'], + RG850: ['RugGear', 'RG850'], 'Snexian!!': { 'Snexian Mi320': ['S Nexian', 'Chronos Mi320'], - 'Snexian Mi430': ['S Nexian', 'Xtreme2 Mi430'] + 'Snexian Mi430': ['S Nexian', 'Xtreme2 Mi430'], }, Mi438S: ['S Nexian', 'Journey One Mi438'], @@ -12658,7 +13209,7 @@ exports.ANDROID_MODELS = { 'SALORA-E7': ['Salora', 'Njoy Slim X E7'], 'SALORA E8': ['Salora', 'Njoy Power X E8'], - 'Sansui[ -]([A-Z]{1,2}[0-9]+[A-Z]?+?)!': ['Sansui', '$1'], + 'Sansui[ -]([A-Z]{1,2}[0-9]+[A-Z]?\+?)!': ['Sansui', '$1'], 'Sansui Cosmic SP ([0-9]+)!': ['Sansui', 'Cosmic SP$1'], 'SANSUI ETAB ([0-9]+) ?VP!': ['Sansui', 'Etab $1VP', DeviceType.TABLET], @@ -12672,7 +13223,7 @@ exports.ANDROID_MODELS = { 'EK-GN100!': ['Samsung', 'Galaxy NX', DeviceType.CAMERA], 'EK-GN120!': ['Samsung', 'Galaxy NX', DeviceType.CAMERA], 'EK-KC100!': ['Samsung', 'Galaxy Camera', DeviceType.CAMERA], - 'EK-KC120!': ['Samsung', 'Galaxy Camera LTE', DeviceType.CAMERA] + 'EK-KC120!': ['Samsung', 'Galaxy Camera LTE', DeviceType.CAMERA], }, 'GT-B[0-9]{4,4}!!': { @@ -12684,7 +13235,7 @@ exports.ANDROID_MODELS = { 'GT-B9062!': ['Samsung', 'GT-B9062'], 'GT-B9120!': ['Samsung', 'GT-B9120'], 'GT-B9150!': ['Samsung', 'Galaxy HomeSync', DeviceType.TELEVISION], - 'GT-B9388!': ['Samsung', 'GT-B9388'] + 'GT-B9388!': ['Samsung', 'GT-B9388'], }, 'GT-I[0-9]{3,4}!!': { @@ -12747,7 +13298,7 @@ exports.ANDROID_MODELS = { 'GT-I95(06)!': ['Samsung', 'Galaxy S4 Advance'], 'GT-I9515!': ['Samsung', 'Galaxy S4 Neo'], // Maybe 'GT-I9600!': ['Samsung', 'GT-I9600'], // Unknown - 'GT-I9800!': ['Samsung', 'GT-I9800'] // Unknown + 'GT-I9800!': ['Samsung', 'GT-I9800'], // Unknown }, 'GT-N[0-9]{4,4}!!': { @@ -12756,7 +13307,7 @@ exports.ANDROID_MODELS = { 'GT-N71(00|02|05|08)!': ['Samsung', 'Galaxy Note II'], 'GT-N7200!': ['Samsung', 'Galaxy Note 3'], // Fake? 'GT-N80(00|05|10|13|20)!': ['Samsung', 'Galaxy Note 10.1', DeviceType.TABLET], - 'GT-N90(00|02||05|06|08)!': ['Samsung', 'Galaxy Note 3'] + 'GT-N90(00|02||05|06|08)!': ['Samsung', 'Galaxy Note 3'], }, 'GT-P[0-9]{4,4}!!': { @@ -12774,7 +13325,7 @@ exports.ANDROID_MODELS = { 'GT-P75(01|11)!': ['Samsung', 'Galaxy Tab 10.1N', DeviceType.TABLET], 'GT-P7580!': ['Samsung', 'Galaxy Tab 10.1', DeviceType.TABLET], 'GT-P8110!': ['Samsung', 'Nexus 10', DeviceType.TABLET], - 'GT-P8200!': ['Samsung', 'Galaxy Tab 3 Plus (10.1)', DeviceType.TABLET] + 'GT-P8200!': ['Samsung', 'Galaxy Tab 3 Plus (10.1)', DeviceType.TABLET], }, 'GT-S[0-9]{4,4}!!': { @@ -12827,7 +13378,7 @@ exports.ANDROID_MODELS = { 'GT-S7898!': ['Samsung', 'Galaxy Trend 2'], 'GT-S8500': ['Samsung', 'Wave'], 'GT-S8530': ['Samsung', 'Wave II'], - 'GT-S9081': ['Samsung', 'GT-S9081'] // Unknown + 'GT-S9081': ['Samsung', 'GT-S9081'], // Unknown }, 'GT-T959!': ['Samsung', 'Galaxy S Vibrant'], @@ -12886,7 +13437,7 @@ exports.ANDROID_MODELS = { 'SCH-I919!': ['Samsung', 'Galaxy S Duos'], 'SCH-I925!': ['Samsung', 'Galaxy Note 10.1', DeviceType.TABLET], 'SCH-I939!': ['Samsung', 'Galaxy S III'], - 'SCH-I959': ['Samsung', 'Galaxy S4'] + 'SCH-I959': ['Samsung', 'Galaxy S4'], }, 'SCH-L710!': ['Samsung', 'Galaxy S III'], @@ -12896,7 +13447,7 @@ exports.ANDROID_MODELS = { 'SCH-P[0-9]{3,3}!!': { 'SCH-P709!': ['Samsung', 'Galaxy Mega 5.8'], 'SCH-P729': ['Samsung', 'Galaxy Mega 6.3'], - 'SCH-P739': ['Samsung', 'Galaxy Tab 8.9', DeviceType.TABLET] + 'SCH-P739': ['Samsung', 'Galaxy Tab 8.9', DeviceType.TABLET], }, 'SCH-R[0-9]{3,3}!!': { @@ -12918,7 +13469,7 @@ exports.ANDROID_MODELS = { 'SCH-R940!': ['Samsung', 'Galaxy S Lightray'], 'SCH-R950!': ['Samsung', 'Galaxy Note II'], 'SCH-R960!': ['Samsung', 'Galaxy Mega 6.3'], - 'SCH-R970!': ['Samsung', 'Galaxy S4'] + 'SCH-R970!': ['Samsung', 'Galaxy S4'], }, 'SCH-S[0-9]{3,3}!!': { @@ -12926,7 +13477,7 @@ exports.ANDROID_MODELS = { 'SCH-S735!': ['Samsung', 'Galaxy Discover'], 'SCH-S738!': ['Samsung', 'Galaxy Centura'], 'SCH-S950!': ['Samsung', 'Galaxy S Showcase'], - 'SCH-S9(60|68)!': ['Samsung', 'Galaxy S III'] + 'SCH-S9(60|68)!': ['Samsung', 'Galaxy S III'], }, 'SCH-V727': ['Samsung', 'Galaxy S4'], @@ -12937,7 +13488,7 @@ exports.ANDROID_MODELS = { 'SCH-W899': ['Samsung', 'SCH-W899'], 'SCH-W999': ['Samsung', 'SCH-W999'], 'SCH-W2013': ['Samsung', 'SCH-W2013'], - 'SCH-W9913': ['Samsung', 'SCH-W9913'] + 'SCH-W9913': ['Samsung', 'SCH-W9913'], }, 'SGH-[EILNMS][0-9]{3,4}!!': { @@ -12982,7 +13533,7 @@ exports.ANDROID_MODELS = { 'SGH-M919!': ['Samsung', 'Galaxy S4'], 'SGH-S730!': ['Samsung', 'Galaxy Discover'], 'SGH-S959!': ['Samsung', 'Galaxy S II'], - 'SGH-S970G': ['Samsung', 'Galaxy S4'] + 'SGH-S970G': ['Samsung', 'Galaxy S4'], }, 'SGH-T[0-9]{3,3}!!': { @@ -13011,7 +13562,7 @@ exports.ANDROID_MODELS = { 'SGH-T959W': ['Samsung', 'Galaxy S 4G'], 'SGH-T989': ['Samsung', 'Galaxy S II'], 'SGH-T989D': ['Samsung', 'Galaxy S II X'], - 'SGH-T999!': ['Samsung', 'Galaxy S III'] + 'SGH-T999!': ['Samsung', 'Galaxy S III'], }, 'SGH-U468!': ['Samsung', 'Galaxy S4'], @@ -13036,7 +13587,7 @@ exports.ANDROID_MODELS = { 'SHV-E400!': ['Samsung', 'Galaxy Folder'], 'SHV-E470!': ['Samsung', 'Galaxy S4 Active'], 'SHV-E500!': ['Samsung', 'Galaxy Win'], - 'SHV-E510!': ['Samsung', 'SHV-E510'] + 'SHV-E510!': ['Samsung', 'SHV-E510'], }, 'SHW-M[0-9]{3,3}!!': { @@ -13065,29 +13616,61 @@ exports.ANDROID_MODELS = { 'SHW-M500!': ['Samsung', 'Galaxy Note 8.0', DeviceType.TABLET], 'SHW-M550!': ['Samsung', 'SHW-M550'], // Unknown 'SHW-M570!': ['Samsung', 'Galaxy Core Advance'], - 'SHW-M5(80|85)!': ['Samsung', 'Galaxy Core Safe'] + 'SHW-M5(80|85)!': ['Samsung', 'Galaxy Core Safe'], }, 'SMT-E5015': ['Samsung', 'Olleh SkyLife Smart Settopbox', DeviceType.TELEVISION], 'SMT-i9100': ['Samsung', 'Galaxy Tab 7.0', DeviceType.TABLET], 'SM-A[0-9]{3,3}!!': { + 'SM-A013!': ['Samsung', 'Galaxy A01 Core'], + 'SM-A015!': ['Samsung', 'Galaxy A01'], + 'SM-A022!': ['Samsung', 'Galaxy A02'], + 'SM-A025!': ['Samsung', 'Galaxy A02s'], + 'SM-A032!': ['Samsung', 'Galaxy A03 Core'], + 'SM-A035!': ['Samsung', 'Galaxy A03'], + 'SM-A037!': ['Samsung', 'Galaxy A03s'], + 'SM-A102!': ['Samsung', 'Galaxy A10e'], 'SM-A105!': ['Samsung', 'Galaxy A10'], + 'SM-A107!': ['Samsung', 'Galaxy A10s'], + 'SM-A115!': ['Samsung', 'Galaxy A11'], + 'SM-A125!': ['Samsung', 'Galaxy A12'], + 'SM-A127!': ['Samsung', 'Galaxy A12'], + 'SM-A135!': ['Samsung', 'Galaxy A13'], 'SM-A202!': ['Samsung', 'Galaxy A20e'], 'SM-A205!': ['Samsung', 'Galaxy A20'], + 'SM-A207!': ['Samsung', 'Galaxy A20s'], + 'SM-A215!': ['Samsung', 'Galaxy A21'], + 'SM-A217!': ['Samsung', 'Galaxy A21s'], + 'SM-A225!': ['Samsung', 'Galaxy A22'], + 'SM-A226!': ['Samsung', 'Galaxy A22 5G'], + 'SM-A260!': ['Samsung', 'Galaxy A2 Core'], 'SM-A300!': ['Samsung', 'Galaxy A3'], 'SM-A305!': ['Samsung', 'Galaxy A30'], + 'SM-A307!': ['Samsung', 'Galaxy A30s'], 'SM-A310!': ['Samsung', 'Galaxy A3 (2016)'], + 'SM-A315!': ['Samsung', 'Galaxy A31'], 'SM-A320!': ['Samsung', 'Galaxy A3 (2017)'], + 'SM-A325!': ['Samsung', 'Galaxy A32'], + 'SM-A326!': ['Samsung', 'Galaxy A32 5G'], 'SM-A405!': ['Samsung', 'Galaxy A40'], + 'SM-A415!': ['Samsung', 'Galaxy A41'], + 'SM-A426!': ['Samsung', 'Galaxy A42 5G'], 'SM-A430!': ['Samsung', 'Galaxy A4'], 'SM-A450!': ['Samsung', 'Galaxy A4 (2017)'], 'SM-A460!': ['Samsung', 'SM-A460'], 'SM-A500!': ['Samsung', 'Galaxy A5'], 'SM-A505!': ['Samsung', 'Galaxy A50'], + 'SM-A507!': ['Samsung', 'Galaxy A50s'], 'SM-A510!': ['Samsung', 'Galaxy A5 (2016)'], + 'SM-A515!': ['Samsung', 'Galaxy A51'], + 'SM-A516!': ['Samsung', 'Galaxy A51 5G'], 'SM-A520!': ['Samsung', 'Galaxy A5 (2017)'], + 'SM-A525!': ['Samsung', 'Galaxy A52'], + 'SM-A526!': ['Samsung', 'Galaxy A52 5G'], + 'SM-A528!': ['Samsung', 'Galaxy A52s 5G'], 'SM-A530!': ['Samsung', 'Galaxy A8 (2018)'], + 'SM-A536!': ['Samsung', 'Galaxy A53'], 'SM-A600!': ['Samsung', 'Galaxy A6 (2018)'], 'SM-A6050!': ['Samsung', 'Galaxy A9 Star Lite'], 'SM-A605!': ['Samsung', 'Galaxy A6+ (2018)'], @@ -13095,7 +13678,10 @@ exports.ANDROID_MODELS = { 'SM-A700!': ['Samsung', 'Galaxy A7'], 'SM-A705!': ['Samsung', 'Galaxy A70'], 'SM-A710!': ['Samsung', 'Galaxy A7 (2016)'], + 'SM-A715!': ['Samsung', 'Galaxy A71'], + 'SM-A716!': ['Samsung', 'Galaxy A71 5G'], 'SM-A720!': ['Samsung', 'Galaxy A7 (2017)'], + 'SM-A725!': ['Samsung', 'Galaxy A72'], 'SM-A730!': ['Samsung', 'Galaxy A8+ (2018)'], 'SM-A750!': ['Samsung', 'Galaxy A7 (2018)'], 'SM-A800!': ['Samsung', 'Galaxy A8'], @@ -13103,8 +13689,9 @@ exports.ANDROID_MODELS = { 'SM-A810!': ['Samsung', 'Galaxy A8 (2016)'], 'SM-A850!': ['Samsung', 'Galaxy Alpha'], 'SM-A900!': ['Samsung', 'Galaxy A9 (2016)'], + 'SM-A908!': ['Samsung', 'Galaxy A90 5G'], 'SM-A910!': ['Samsung', 'Galaxy A9 Pro'], - 'SM-A920!': ['Samsung', 'Galaxy A9 (2018)'] + 'SM-A920!': ['Samsung', 'Galaxy A9 (2018)'], }, 'SM-C[0-9]{3,3}!!': { @@ -13115,16 +13702,24 @@ exports.ANDROID_MODELS = { 'SM-C700!': ['Samsung', 'Galaxy C7'], 'SM-C701!': ['Samsung', 'Galaxy C7 Pro'], 'SM-C710!': ['Samsung', 'Galaxy C7 (2017)'], - 'SM-C900!': ['Samsung', 'Galaxy C9'] + 'SM-C900!': ['Samsung', 'Galaxy C9'], }, 'SM-E[0-9]{3,3}!!': { 'SM-E500!': ['Samsung', 'Galaxy E5'], - 'SM-E700!': ['Samsung', 'Galaxy E7'] + 'SM-E700!': ['Samsung', 'Galaxy E7'], }, 'SM-F[0-9]{3,3}!!': { - 'SM-F900!': ['Samsung', 'Galaxy Fold'] + 'SM-F127!': ['Samsung', 'Galaxy F12'], + 'SM-F700!': ['Samsung', 'Galaxy Z Flip'], + 'SM-F707!': ['Samsung', 'Galaxy Z Flip 5G'], + 'SM-F711!': ['Samsung', 'Galaxy Z Flip3 5G'], + 'SM-F900!': ['Samsung', 'Galaxy Fold'], + 'SM-F907!': ['Samsung', 'Galaxy Fold 5G'], + 'SM-F910!': ['Samsung', 'Galaxy Z Fold2'], + 'SM-F916!': ['Samsung', 'Galaxy Z Fold2 5G'], + 'SM-F926!': ['Samsung', 'Galaxy Z Fold3 5G'], }, 'SM-G[0-9]{3,3}!!': { @@ -13167,11 +13762,13 @@ exports.ANDROID_MODELS = { 'SM-G388!': ['Samsung', 'Galaxy Xcover 3'], 'SM-G389!': ['Samsung', 'Galaxy Xcover 3 VE'], 'SM-G390!': ['Samsung', 'Galaxy Xcover 4'], + 'SM-G398!': ['Samsung', 'Galaxy Xcover 4s'], 'SM-G420!': ['Samsung', 'SM-G420'], // Unknown 'SM-G430!': ['Samsung', 'SM-G430'], // Unknown 'SM-G480!': ['Samsung', 'Galaxy S8'], 'SM-G485!': ['Samsung', 'Galaxy S8+'], 'SM-G510!': ['Samsung', 'Galaxy Core Max'], + 'SM-G525!': ['Samsung', 'Galaxy Xcover 5'], 'SM-G530!': ['Samsung', 'Galaxy Grand Prime'], 'SM-G531!': ['Samsung', 'Galaxy Grand Prime VE'], 'SM-G532!': ['Samsung', 'Galaxy Grand Prime+'], @@ -13184,10 +13781,13 @@ exports.ANDROID_MODELS = { 'SM-G615!': ['Samsung', 'Galaxy J7 Max'], 'SM-G620!': ['Samsung', 'Galaxy J7 Prime (2018)'], 'SM-G710!': ['Samsung', 'Galaxy Grand 2'], + 'SM-G715!': ['Samsung', 'Galaxy XCover Pro'], 'SM-G720!': ['Samsung', 'Galaxy Grand 3'], 'SM-G730!': ['Samsung', 'Galaxy S III Mini'], 'SM-G750!': ['Samsung', 'Galaxy Mega 2 '], - 'SM-G770!': ['Samsung', 'Galaxy On7'], + 'SM-G770!': ['Samsung', 'Galaxy S10 Lite'], + 'SM-G780!': ['Samsung', 'Galaxy S20 FE'], + 'SM-G781!': ['Samsung', 'Galaxy S20 FE'], 'SM-G800!': ['Samsung', 'Galaxy S5 Mini'], 'SM-G850!': ['Samsung', 'Galaxy Alpha'], 'SM-G860!': ['Samsung', 'Galaxy S5 Sport'], @@ -13197,6 +13797,7 @@ exports.ANDROID_MODELS = { 'SM-G885[FSY]!': ['Samsung', 'Galaxy A8 Star'], 'SM-G8850!': ['Samsung', 'Galaxy A9 Star'], 'SM-G887!': ['Samsung', 'Galaxy A9 Pro (2019)'], + 'SM-G889!': ['Samsung', 'Galaxy Xcover FieldPro'], 'SM-G890!': ['Samsung', 'Galaxy S6 Active'], 'SM-G891!': ['Samsung', 'Galaxy S7 Active'], 'SM-G892!': ['Samsung', 'Galaxy S8 Active'], @@ -13219,8 +13820,17 @@ exports.ANDROID_MODELS = { 'SM-G965!': ['Samsung', 'Galaxy S9+'], 'SM-G970!': ['Samsung', 'Galaxy S10e'], 'SM-G973!': ['Samsung', 'Galaxy S10'], - 'SM-G975!': ['Samsung', 'Galaxy S10 Plus'], - 'SM-G977!': ['Samsung', 'Galaxy S10 5G'] + 'SM-G975!': ['Samsung', 'Galaxy S10+'], + 'SM-G977!': ['Samsung', 'Galaxy S10 5G'], + 'SM-G980!': ['Samsung', 'Galaxy S20'], + 'SM-G981!': ['Samsung', 'Galaxy S20'], + 'SM-G985!': ['Samsung', 'Galaxy S20+'], + 'SM-G986!': ['Samsung', 'Galaxy S20+'], + 'SM-G988!': ['Samsung', 'Galaxy S20 Ultra'], + 'SM-G990!': ['Samsung', 'Galaxy S21 FE'], + 'SM-G991!': ['Samsung', 'Galaxy S21'], + 'SM-G996!': ['Samsung', 'Galaxy S21+'], + 'SM-G998!': ['Samsung', 'Galaxy S21 Ultra'], }, 'SM-I9500': ['Samsung', 'Galaxy S4'], @@ -13243,6 +13853,7 @@ exports.ANDROID_MODELS = { 'SM-J330!': ['Samsung', 'Galaxy J3 (2017)'], 'SM-J337!': ['Samsung', 'Galaxy J3 (2018)'], 'SM-J400!': ['Samsung', 'Galaxy J4'], + 'SM-J410!': ['Samsung', 'Galaxy J4 Core'], 'SM-J415!': ['Samsung', 'Galaxy J4+'], 'SM-J500!': ['Samsung', 'Galaxy J5'], 'SM-J510!': ['Samsung', 'Galaxy J5 (2016)'], @@ -13258,18 +13869,29 @@ exports.ANDROID_MODELS = { 'SM-J737!': ['Samsung', 'Galaxy Wide 3'], 'SM-J800!': ['Samsung', 'Galaxy J8'], 'SM-J810!': ['Samsung', 'Galaxy J8 (2018)'], - 'SM-J900!': ['Samsung', 'Galaxy J9'] + 'SM-J900!': ['Samsung', 'Galaxy J9'], }, 'SM-M[0-9]{3,4}!!': { + 'SM-M015!': ['Samsung', 'Galaxy M01'], 'SM-M105!': ['Samsung', 'Galaxy M10'], + 'SM-M115!': ['Samsung', 'Galaxy M11'], + 'SM-M127!': ['Samsung', 'Galaxy M12'], 'SM-M205!': ['Samsung', 'Galaxy M20'], - 'SM-M305!': ['Samsung', 'Galaxy M30'] + 'SM-M215!': ['Samsung', 'Galaxy M21'], + 'SM-M225!': ['Samsung', 'Galaxy M22'], + 'SM-M305!': ['Samsung', 'Galaxy M30'], + 'SM-M307!': ['Samsung', 'Galaxy M30s'], + 'SM-M315!': ['Samsung', 'Galaxy M31'], + 'SM-M317!': ['Samsung', 'Galaxy M31s'], + 'SM-M515!': ['Samsung', 'Galaxy M51'], + 'SM-M526!': ['Samsung', 'Galaxy M52'], }, 'SM-N[0-9]{3,4}!!': { 'SM-N750[025789][QV]?!': ['Samsung', 'Galaxy Note 3 Neo'], 'SM-N750[LS]?!': ['Samsung', 'Galaxy Note 3 Neo'], + 'SM-N770!': ['Samsung', 'Galaxy Note 10 Lite'], 'SM-N8000': ['Samsung', 'Galaxy Note 800', DeviceType.TABLET], 'SM-N900[0256789]?!': ['Samsung', 'Galaxy Note 3'], 'SM-N900!': ['Samsung', 'Galaxy Note 3'], @@ -13280,7 +13902,13 @@ exports.ANDROID_MODELS = { 'SM-N930!': ['Samsung', 'Galaxy Note 7'], 'SM-N935!': ['Samsung', 'Galaxy Note FE'], 'SM-N95[05]!': ['Samsung', 'Galaxy Note 8'], - 'SM-N960!': ['Samsung', 'Galaxy Note 9'] + 'SM-N960!': ['Samsung', 'Galaxy Note 9'], + 'SM-N970!': ['Samsung', 'Galaxy Note 10'], + 'SM-N975!': ['Samsung', 'Galaxy Note 10+'], + 'SM-N976!': ['Samsung', 'Galaxy Note 10+ 5G'], + 'SM-N980!': ['Samsung', 'Galaxy Note 20'], + 'SM-N981!': ['Samsung', 'Galaxy Note 20 5G'], + 'SM-N986!': ['Samsung', 'Galaxy Note 20 Ultra 5G'], }, 'SM-P[0-9]{3,3}!!': { @@ -13288,7 +13916,8 @@ exports.ANDROID_MODELS = { 'SM-P55[015]!': ['Samsung', 'Galaxy Tab A Plus 9.7', DeviceType.TABLET], 'SM-P58[058]!': ['Samsung', 'Galaxy Tab A 10.1 with S Pen (2016)', DeviceType.TABLET], 'SM-P60[01257]!': ['Samsung', 'Galaxy Note 10.1 (2014)', DeviceType.TABLET], - 'SM-P90[01257]!': ['Samsung', 'Galaxy Note Pro', DeviceType.TABLET] + 'SM-P61[05]!': ['Samsung', 'Galaxy Tab S6 Lite', DeviceType.TABLET], + 'SM-P90[01257]!': ['Samsung', 'Galaxy Note Pro', DeviceType.TABLET], }, 'SM-S[0-9]{3,3}!!': { @@ -13308,13 +13937,16 @@ exports.ANDROID_MODELS = { 'SM-S780L': ['Samsung', 'Galaxy Mega 6.3'], 'SM-S820L': ['Samsung', 'Galaxy Core Prime'], 'SM-S890L': ['Samsung', 'Galaxy S4 Mini'], + 'SM-S901B': ['Samsung', 'Galaxy S22'], 'SM-S902L': ['Samsung', 'Galaxy S5'], 'SM-S903VL': ['Samsung', 'Galaxy S5'], 'SM-S906L': ['Samsung', 'Galaxy S6'], + 'SM-S906B': ['Samsung', 'Galaxy S22+'], 'SM-S907VL': ['Samsung', 'Galaxy S6'], + 'SM-S908B': ['Samsung', 'Galaxy S22 Ultra'], 'SM-S920L': ['Samsung', 'Galaxy Grand Prime'], 'SM-S975L': ['Samsung', 'Galaxy S4'], - 'SM-S978L': ['Samsung', 'Galaxy E5'] + 'SM-S978L': ['Samsung', 'Galaxy E5'], }, 'SM-T[0-9]{3,3}!!': { @@ -13322,10 +13954,13 @@ exports.ANDROID_MODELS = { 'SM-T11[36]!': ['Samsung', 'Galaxy Tab 3V 7.0', DeviceType.TABLET], 'SM-T2105': ['Samsung', 'Galaxy Tab 3 Kids', DeviceType.TABLET], 'SM-T21[01257]!': ['Samsung', 'Galaxy Tab 3 7.0', DeviceType.TABLET], + 'SM-T22[05]!': ['Samsung', 'Galaxy Tab A7 Lite', DeviceType.TABLET], 'SM-T2519': ['Samsung', 'Galaxy Tab Q'], 'SM-T255[68S]!': ['Samsung', 'Galaxy Tab Q'], 'SM-T23[012579]!': ['Samsung', 'Galaxy Tab 4 7.0', DeviceType.TABLET], 'SM-T28[057]!': ['Samsung', 'Galaxy Tab A 7.0', DeviceType.TABLET], + 'SM-T29[05]!': ['Samsung', 'Galaxy Tab A 8.0 (2019)', DeviceType.TABLET], + 'SM-T30[7]!': ['Samsung', 'Galaxy Tab A 8.4 (2020)', DeviceType.TABLET], 'SM-T31[0125]!': ['Samsung', 'Galaxy Tab 3 8.0', DeviceType.TABLET], 'SM-T32[0125]!': ['Samsung', 'Galaxy Tab Pro 8.4', DeviceType.TABLET], 'SM-T33[01257]!': ['Samsung', 'Galaxy Tab 4 8.0', DeviceType.TABLET], @@ -13336,6 +13971,7 @@ exports.ANDROID_MODELS = { 'SM-T38[05]!': ['Samsung', 'Galaxy Tab A 8.0 (2017)', DeviceType.TABLET], 'SM-T387!': ['Samsung', 'Galaxy Tab A 8.0 (2018)', DeviceType.TABLET], 'SM-T39[05]!': ['Samsung', 'Galaxy Tab Active2 8.0', DeviceType.TABLET], + 'SM-T50[05]!': ['Samsung', 'Galaxy Tab A7 10.4 (2020)', DeviceType.TABLET], 'SM-T51[05]!': ['Samsung', 'Galaxy Tab A 10.1 (2019)', DeviceType.TABLET], 'SM-T520CC': ['Samsung', 'Galaxy Tab Pro 10.1 Chef Collection', DeviceType.TABLET], 'SM-T52[057]!': ['Samsung', 'Galaxy Tab Pro 10.1', DeviceType.TABLET], @@ -13343,7 +13979,9 @@ exports.ANDROID_MODELS = { 'SM-T53[023]!': ['Samsung', 'Galaxy Tab 4 10.1', DeviceType.TABLET], 'SM-T53[6]!': ['Samsung', 'Galaxy Tab 4 10.1 Advanced', DeviceType.TABLET], 'SM-T53[157]!': ['Samsung', 'Galaxy Tab 4 10.0', DeviceType.TABLET], + 'SM-T54[05]!': ['Samsung', 'Galaxy Tab Active Pro', DeviceType.TABLET], 'SM-T55[015]!': ['Samsung', 'Galaxy Tab A 9.7', DeviceType.TABLET], + 'SM-T57[5]!': ['Samsung', 'Galaxy Tab Active3', DeviceType.TABLET], 'SM-T58[057]!': ['Samsung', 'Galaxy Tab A 10.1 (2016)', DeviceType.TABLET], 'SM-T583!': ['Samsung', 'Galaxy Tab Advanced2', DeviceType.TABLET], 'SM-T56[0127]!': ['Samsung', 'Galaxy Tab E 9.6', DeviceType.TABLET], @@ -13352,23 +13990,35 @@ exports.ANDROID_MODELS = { 'SM-T70[057]!': ['Samsung', 'Galaxy Tab S 8.4', DeviceType.TABLET], 'SM-T71[05]!': ['Samsung', 'Galaxy Tab S2 8.0', DeviceType.TABLET], 'SM-T71[39]!': ['Samsung', 'Galaxy Tab S2 8.0 (2016)', DeviceType.TABLET], - 'SM-T72[05]!': ['Samsung', 'Galaxy Tab S5e', DeviceType.TABLET], + 'SM-T72[057]!': ['Samsung', 'Galaxy Tab S5e', DeviceType.TABLET], + 'SM-T73[36]!': ['Samsung', 'Galaxy Tab S7 12.4 FE (2021)', DeviceType.TABLET], 'SM-T80[0157]!': ['Samsung', 'Galaxy Tab S 10.5', DeviceType.TABLET], 'SM-T81[057]!': ['Samsung', 'Galaxy Tab S2 9.7', DeviceType.TABLET], 'SM-T81[39]!': ['Samsung', 'Galaxy Tab S2 9.7 (2016)', DeviceType.TABLET], 'SM-T81[8]!': ['Samsung', 'Galaxy Tab S2 Plus 9.7', DeviceType.TABLET], 'SM-T82[057]!': ['Samsung', 'Galaxy Tab S3 9.7', DeviceType.TABLET], 'SM-T83[057]!': ['Samsung', 'Galaxy Tab S4 10.5', DeviceType.TABLET], - 'SM-T90[05]!': ['Samsung', 'Galaxy Tab Pro 12.2', DeviceType.TABLET] + 'SM-T86[057]!': ['Samsung', 'Galaxy Tab S6 10.5', DeviceType.TABLET], + 'SM-T87[05]!': ['Samsung', 'Galaxy Tab S7 11.0', DeviceType.TABLET], + 'SM-T90[05]!': ['Samsung', 'Galaxy Tab Pro 12.2', DeviceType.TABLET], + 'SM-T92[7]!': ['Samsung', 'Galaxy View2 (2019)', DeviceType.TABLET], + 'SM-T97[06]!': ['Samsung', 'Galaxy Tab S7+ 12.4 (2020)', DeviceType.TABLET], }, + 'SM-X200': ['Samsung', 'Galaxy Tab A8 10.5', DeviceType.TABLET], + 'SM-X205': ['Samsung', 'Galaxy Tab A8 10.5', DeviceType.TABLET], + 'SM-X700': ['Samsung', 'Galaxy Tab S8', DeviceType.TABLET], + 'SM-X800': ['Samsung', 'Galaxy Tab S8+', DeviceType.TABLET], + 'SM-X900': ['Samsung', 'Galaxy Tab S8 Ultra', DeviceType.TABLET], + 'SM-X906!': ['Samsung', 'Galaxy Tab S8 Ultra', DeviceType.TABLET], + 'SM-V700': ['Samsung', 'Galaxy Gear', DeviceType.WATCH], 'SM-W[0-9]{4,4}!!': { 'SM-W2014': ['Samsung', 'Galaxy W2014'], 'SM-W2015': ['Samsung', 'Galaxy Golden 2'], 'SM-W2016': ['Samsung', 'Galaxy Golden 3'], - 'SM-W2017': ['Samsung', 'Veyron'] + 'SM-W2017': ['Samsung', 'Veyron'], }, 'SPH-D[0-9]{3,3}!!': { @@ -13376,7 +14026,7 @@ exports.ANDROID_MODELS = { 'SPH-D700': ['Samsung', 'Epic 4G'], 'SPH-D705': ['Samsung', 'Epic 4G 2'], 'SPH-D710!': ['Samsung', 'Galaxy S II'], - 'SPH-D720!': ['Samsung', 'Nexus S'] + 'SPH-D720!': ['Samsung', 'Nexus S'], }, 'SPH-L[0-9]{3,3}!!': { @@ -13388,7 +14038,7 @@ exports.ANDROID_MODELS = { 'SPH-L710!': ['Samsung', 'Galaxy S III'], 'SPH-L72A!': ['Samsung', 'Galaxy S4'], 'SPH-L720!': ['Samsung', 'Galaxy S4'], - 'SPH-L900!': ['Samsung', 'Galaxy Note II'] + 'SPH-L900!': ['Samsung', 'Galaxy Note II'], }, 'SPH-M[0-9]{3,3}!!': { @@ -13401,13 +14051,13 @@ exports.ANDROID_MODELS = { 'SPH-M910': ['Samsung', 'Intercept'], 'SPH-M920': ['Samsung', 'Transform'], 'SPH-M930!': ['Samsung', 'Transform Ultra'], - 'SPH-M950': ['Samsung', 'Galaxy Reverb'] + 'SPH-M950': ['Samsung', 'Galaxy Reverb'], }, 'SPH-P[0-9]{3,3}!!': { 'SPH-P100!': ['Samsung', 'Galaxy Tab 7.0', DeviceType.TABLET], 'SPH-P500': ['Samsung', 'Galaxy Tab 2 10.1', DeviceType.TABLET], - 'SPH-P600': ['Samsung', 'Galaxy Note 10.1', DeviceType.TABLET] + 'SPH-P600': ['Samsung', 'Galaxy Note 10.1', DeviceType.TABLET], }, 'YP-G!!': { @@ -13421,7 +14071,7 @@ exports.ANDROID_MODELS = { 'YP-GI1': ['Samsung', 'Galaxy S WiFi 4.2', 'media'], 'YP-GI2': ['Samsung', 'Galaxy 070', 'media'], 'YP-G50': ['Samsung', 'Galaxy Player', 'media'], - 'YP-G70': ['Samsung', 'Galaxy S WiFi 5.0', 'media'] + 'YP-G70': ['Samsung', 'Galaxy S WiFi 5.0', 'media'], }, GT9100: ['Samsung', 'Galaxy S II'], @@ -13476,7 +14126,7 @@ exports.ANDROID_MODELS = { 'Galaxy pop plus 4G': ['Samsung', 'Galaxy Pop Plus'], 'Galaxy Precedent': ['Samsung', 'Galaxy Precedent'], 'GALAXY Tab': ['Samsung', 'Galaxy Tab', DeviceType.TABLET], - 'Galaxy Tab3': ['Samsung', 'Galaxy Tab 3', DeviceType.TABLET] + 'Galaxy Tab3': ['Samsung', 'Galaxy Tab 3', DeviceType.TABLET], }, S2: ['Samsung', 'Galaxy S II'], @@ -13502,6 +14152,7 @@ exports.ANDROID_MODELS = { 'SC-01H': ['Samsung', 'GALAXY Active neo SC-01H', { carrier: 'DoCoMo' }], 'SC-01K': ['Samsung', 'GALAXY Note 8 SC-01K', { carrier: 'DoCoMo' }], 'SC-01L': ['Samsung', 'GALAXY Note9 SC-01L', { carrier: 'DoCoMo' }], + 'SC-01M': ['Samsung', 'GALAXY Note10+ SC-01M', { carrier: 'DoCoMo' }], 'SC-02B': ['Samsung', 'GALAXY S SC-02B', { carrier: 'DoCoMo' }], 'SC-02C': ['Samsung', 'GALAXY S II SC-02C', { carrier: 'DoCoMo' }], 'SC-02D': ['Samsung', 'GALAXY Tab 7.0 Plus SC-02D', DeviceType.TABLET, { carrier: 'DoCoMo' }], @@ -13518,6 +14169,7 @@ exports.ANDROID_MODELS = { 'SC-03G': ['Samsung', 'GALAXY Tab S 8.4 SC-03G', DeviceType.TABLET, { carrier: 'DoCoMo' }], 'SC-03J': ['Samsung', 'GALAXY S8+ SC-03J', { carrier: 'DoCoMo' }], 'SC-03K': ['Samsung', 'GALAXY S9+ SC-03K', { carrier: 'DoCoMo' }], + 'SC-03L': ['Samsung', 'Galaxy S10 SC-03L', { carrier: 'DoCoMo' }], 'SC-04D': ['Samsung', 'GALAXY NEXUS SC-04D', { carrier: 'DoCoMo' }], 'SC-04E': ['Samsung', 'GALAXY S4 SC-04E', { carrier: 'DoCoMo' }], 'SC-04F': ['Samsung', 'GALAXY S5 SC-04F', { carrier: 'DoCoMo' }], @@ -13526,7 +14178,7 @@ exports.ANDROID_MODELS = { 'SC-04L': ['Samsung', 'Galaxy S10+ SC-04L', { carrier: 'DoCoMo' }], 'SC-05D': ['Samsung', 'GALAXY Note SC-05D', { carrier: 'DoCoMo' }], 'SC-05G': ['Samsung', 'GALAXY S6 SC-05G', { carrier: 'DoCoMo' }], - 'SC-06D': ['Samsung', 'GALAXY S III SC-06D', { carrier: 'DoCoMo' }] + 'SC-06D': ['Samsung', 'GALAXY S III SC-06D', { carrier: 'DoCoMo' }], }, 'SC[LTV][23][0-9]!!': { @@ -13538,16 +14190,21 @@ exports.ANDROID_MODELS = { SCV31: ['Samsung', 'GALAXY S6 Edge SCV31', { carrier: 'au' }], SCV32: ['Samsung', 'GALAXY A8 SCV32', { carrier: 'au' }], SCV33: ['Samsung', 'GALAXY S7 edge Injustice Edition SCV33', { carrier: 'au' }], + SCV34: ['Samsung', 'GALAXY Note7 SCV34', { carrier: 'au' }], SCV35: ['Samsung', 'GALAXY S8+ SCV35', { carrier: 'au' }], SCV36: ['Samsung', 'GALAXY S8 SCV36', { carrier: 'au' }], - SCV37: ['Samsung', 'GALAXY Note8 SCV37', { carrier: 'au' }] + SCV37: ['Samsung', 'GALAXY Note8 SCV37', { carrier: 'au' }], + SCV38: ['Samsung', 'Galaxy S9 SCV38', { carrier: 'au' }], + SCV39: ['Samsung', 'Galaxy S9+ SCV39', { carrier: 'au' }], + SCV40: ['Samsung', 'Galaxy Note9 SCV40', { carrier: 'au' }], + SCV41: ['Samsung', 'Galaxy S10 SCV41', { carrier: 'au' }], }, ISW11SC: ['Samsung', 'GALAXY S II WiMAX ISW11SC', { carrier: 'au' }], '40[0-9]SC!!': { '403SC': ['Samsung', 'GALAXY Tab 4 7.0 403SC', DeviceType.TABLET, { carrier: 'Softbank' }], - '404SC': ['Samsung', 'GALAXY S6 Edge 404SC', { carrier: 'Softbank' }] + '404SC': ['Samsung', 'GALAXY S6 Edge 404SC', { carrier: 'Softbank' }], }, 'printer-tablet': ['Samsung', 'ProXpress', DeviceType.PRINTER], @@ -13561,13 +14218,13 @@ exports.ANDROID_MODELS = { 'ELEMENT 8V3': ['Sencor', 'Element 8 V3', DeviceType.TABLET], 'SENCOR ELEMENT 9.7V3': ['Sencor', 'Element 9.7 V3', DeviceType.TABLET], 'ELEMENT10 1': ['Sencor', 'Element 10.1', DeviceType.TABLET], - 'ELEMENT P501': ['Sencor', 'Element P501'] + 'ELEMENT P501': ['Sencor', 'Element P501'], }, 'SENSEIT R390': ['Senseit', 'R390'], 'QuickFone Mini': ['Sensonic', 'QuickFone Mini'], 'QuickFone-Mini': ['Sensonic', 'QuickFone Mini'], - 'QuickFone ([NXZ][0-9]+?)!': ['Sensonic', 'QuickFone $1'], + 'QuickFone ([NXZ][0-9]\+?)!': ['Sensonic', 'QuickFone $1'], 'SENWA S970': ['Senwa', 'S970'], S1005KTAB: ['Serioux', 'GoTab S1005KTAB', DeviceType.TABLET], STARACTIVE: ['SFR', 'STARACTIVE'], @@ -13623,13 +14280,13 @@ exports.ANDROID_MODELS = { '503SH': ['Sharp', 'AQUOS Xx2 mini 503SH', { carrier: 'Softbank' }], '603SH': ['Sharp', 'AQUOS Xx3 mini 603SH', { carrier: 'Softbank' }], '701SH': ['Sharp', 'AQUOS R compact 701SH', { carrier: 'Softbank' }], - A01SH: ['Sharp', 'GALAPAGOS A01SH', { carrier: 'Y! Mobile' }] + A01SH: ['Sharp', 'GALAPAGOS A01SH', { carrier: 'Y! Mobile' }], }, 'IS0[0-9]!!': { IS01: ['Sharp', 'IS01', { carrier: 'au' }], IS03: ['Sharp', 'IS03', { carrier: 'au' }], - IS05: ['Sharp', 'IS05', { carrier: 'au' }] + IS05: ['Sharp', 'IS05', { carrier: 'au' }], }, 'ISW?1[0-9]SH!!': { @@ -13639,7 +14296,7 @@ exports.ANDROID_MODELS = { IS14SH: ['Sharp', 'AQUOS PHONE IS14SH', { carrier: 'au' }], IS15SH: ['Sharp', 'AQUOS PHONE SL IS15SH', { carrier: 'au' }], ISW16SH: ['Sharp', 'AQUOS PHONE SERIE ISW16SH', { carrier: 'au' }], - IS17SH: ['Sharp', 'AQUOS PHONE CL IS17SH', { carrier: 'au' }] + IS17SH: ['Sharp', 'AQUOS PHONE CL IS17SH', { carrier: 'au' }], }, 'EB-A71GJ': ['Sharp', 'EB-A71GJ', DeviceType.TABLET], @@ -13648,6 +14305,8 @@ exports.ANDROID_MODELS = { 'EB-L76G-B': ['Sharp', 'EB-L76G-B', DeviceType.TABLET], RW107: ['Sharp', 'RW-T107', DeviceType.TABLET], + FS8032: ['Sharp', 'AQUOS S3 FS8032'], + 'SBM[0-9]0[0-9]SH!!': { SBM003SH: ['Sharp', 'GALAPAGOS 003SH', { carrier: 'Softbank' }], SBM005SH: ['Sharp', 'GALAPAGOS 005SH', { carrier: 'Softbank' }], @@ -13673,7 +14332,7 @@ exports.ANDROID_MODELS = { SBM302SH: ['Sharp', 'AQUOS PHONE Xx 302SH', { carrier: 'Softbank' }], SBM303SH: ['Sharp', 'AQUOS PHONE Xx mini 303SH', { carrier: 'Softbank' }], SBM305SH: ['Sharp', 'AQUOS CRYSTAL 305SH', { carrier: 'Softbank' }], - SBM306SH: ['Sharp', 'AQUOS CRYSTAL 306SH'] // The U.S. Sprint version (now part of Softbank) + SBM306SH: ['Sharp', 'AQUOS CRYSTAL 306SH'], // The U.S. Sprint version (now part of Softbank) }, '(3|5|6|7)0[0-9]SH!!': { @@ -13685,19 +14344,24 @@ exports.ANDROID_MODELS = { '509SH': ['Sharp', 'シンプルスマホ3 509SH', { carrier: 'Softbank' }], '605SH': ['Sharp', 'AQUOS R 605SH', { carrier: 'Softbank' }], '606SH': ['Sharp', 'AQUOS ea 606SH', { carrier: 'Softbank' }], - '706SH': ['Sharp', 'AQUOS R2 706SH', { carrier: 'Softbank' }] + '706SH': ['Sharp', 'AQUOS R2 706SH', { carrier: 'Softbank' }], }, SH01D: ['Sharp', 'AQUOS PHONE SH-01D', { carrier: 'DoCoMo' }], 'DM-01H': ['Sharp', 'DM-01H', { carrier: 'Disney Mobile' }], 'DM-01J': ['Sharp', 'DM-01J', { carrier: 'Disney Mobile' }], + 'SH-A01': ['Sharp', 'B10 SH-A01'], + 'SH-C02': ['Sharp', 'AQUOS V SH-C02'], + 'SH-D01': ['Sharp', 'AQUOS D10 SH-D01'], 'SH-M01': ['Sharp', 'AQUOS SH-M01'], 'SH-M02': ['Sharp', 'AQUOS SH-M02'], 'SH-M02-EVA20': ['Sharp', 'AQUOS SH-M02'], 'SH-M03': ['Sharp', 'AQUOS mini SH-M03'], + 'SH-M05': ['Sharp', 'AQUOS sense lite SH-M05'], 'SH-M07': ['Sharp', 'AQUOS sense plus SH-M07'], 'SH-RM02': ['Sharp', 'AQUOS SH-RM02'], + 'SH-Z01': ['Sharp', 'AQUOS C10 SH-Z01'], 'SH-[01][0-9][A-Z]!!': { 'SH-01D': ['Sharp', 'AQUOS PHONE SH-01D', { carrier: 'DoCoMo' }], @@ -13743,7 +14407,7 @@ exports.ANDROID_MODELS = { 'SH-10B': ['Sharp', 'LYNX SH-10B', { carrier: 'DoCoMo' }], 'SH-10D': ['Sharp', 'AQUOS PHONE sv SH-10D', { carrier: 'DoCoMo' }], 'SH-12C': ['Sharp', 'AQUOS PHONE SH-12C', { carrier: 'DoCoMo' }], - 'SH-13C': ['Sharp', 'AQUOS PHONE f SH-13C', { carrier: 'DoCoMo' }] + 'SH-13C': ['Sharp', 'AQUOS PHONE f SH-13C', { carrier: 'DoCoMo' }], }, '(SHP-)?(SHARP )?SH[0-9]{2,3}!!': { @@ -13777,7 +14441,7 @@ exports.ANDROID_MODELS = { 'SHARP SH8188U': ['Sharp', 'SH8188U'], SH8288U: ['Sharp', 'SH8288U'], SH8268U: ['Sharp', 'SH8268U'], - SH8298U: ['Sharp', 'SH8298U'] + SH8298U: ['Sharp', 'SH8298U'], }, 'SH[FLTV][0-9]{2,2}!!': { @@ -13798,11 +14462,13 @@ exports.ANDROID_MODELS = { SHV35: ['Sharp', 'AQUOS U SHV35', { carrier: 'au' }], SHV36: ['Sharp', 'BASIO2 SHV36', { carrier: 'au' }], SHV37: ['Sharp', 'AQUOS U SHV37', { carrier: 'au' }], + 'SHV37 u': ['Sharp', 'AQUOS L SHV37', { carrier: 'UQ mobile' }], SHV38: ['Sharp', 'AQUOS SERIE mini SHV38', { carrier: 'au' }], SHV39: ['Sharp', 'AQUOS R SHV39', { carrier: 'au' }], SHV40: ['Sharp', 'AQUOS sense SHV40', { carrier: 'au' }], + 'SHV40 u': ['Sharp', 'AQUOS sense SHV40', { carrier: 'UQ mobile' }], SHV41: ['Sharp', 'AQUOS R compact SHV41', { carrier: 'au' }], - SHV42: ['Sharp', 'AQUOS R2 SHV42', { carrier: 'au' }] + SHV42: ['Sharp', 'AQUOS R2 SHV42', { carrier: 'au' }], }, WX04SH: ['Sharp', 'AQUOS PHONE es WX04SH', { carrier: 'Willcom' }], WX05SH: ['Sharp', 'AQUOS PHONE ef WX05SH', { carrier: 'Willcom' }], @@ -13819,7 +14485,7 @@ exports.ANDROID_MODELS = { 'AQUOS 58U3A': ['Sharp', 'Aquos U3A', DeviceType.TELEVISION], 'AQUOS 52UE20A': ['Sharp', 'Aquos UE20A', DeviceType.TELEVISION], 'AQUOS 60UE20A': ['Sharp', 'Aquos UE20A', DeviceType.TELEVISION], - 'AQUOS 70LX765A': ['Sharp', 'Aquos LX765A', DeviceType.TELEVISION] + 'AQUOS 70LX765A': ['Sharp', 'Aquos LX765A', DeviceType.TELEVISION], }, 'LC-Ux30US': ['Sharp', 'Aquos UH30U', DeviceType.TELEVISION], @@ -13827,6 +14493,8 @@ exports.ANDROID_MODELS = { 'LC-((A|S|LX)[0-9]{1,3}[A-Z])!': ['Sharp', 'Aquos $1', DeviceType.TELEVISION], 'LCD-((S|V|LX|UF)[0-9]{1,3}[A-Z])!': ['Sharp', 'Aquos $1', DeviceType.TELEVISION], + SHIFT6m: ['Shift', 'SHIFT6m'], + 'X-treme PQ11': ['Sigma Mobile', 'X-treme PQ11'], 'X-treme PQ15': ['Sigma Mobile', 'X-treme PQ15'], 'X-tremePQ22': ['Sigma Mobile', 'X-treme PQ22'], @@ -13840,6 +14508,7 @@ exports.ANDROID_MODELS = { 'SPX-6': ['Simvalley', 'SPX-6'], 'SPX-12': ['Simvalley', 'SPX-12'], X720: ['Simmtronics', 'XPAD X-720', DeviceType.TABLET], + 'FINNEY U1': ['Sirin Labs', 'Finney U1'], 'HYPER X BLADE': ['SKK Mobile', 'Hyper X Blade'], 'Elite 5.5L+': ['Sky Devices', 'Elite 5.5L+'], @@ -13855,7 +14524,7 @@ exports.ANDROID_MODELS = { 'Skyworth 9R15 E710U': ['Skyworth', 'E710', DeviceType.TELEVISION], 'Skyworth 8K93 E780U': ['Skyworth', 'E780', DeviceType.TELEVISION], 'Skyworth 8R98 E790U': ['Skyworth', 'E790', DeviceType.TELEVISION], - 'Skyworth A55 Coocaa': ['Skyworth', 'Coocaa Honor A55', DeviceType.TELEVISION] + 'Skyworth A55 Coocaa': ['Skyworth', 'Coocaa Honor A55', DeviceType.TELEVISION], }, WF7C: ['Smartbitt', 'WF7C', DeviceType.TABLET], @@ -13907,7 +14576,7 @@ exports.ANDROID_MODELS = { 'Andromax T AD628J': ['Smartfren', 'Andromax T'], 'Andromax U!': ['Smartfren', 'Andromax U'], 'Andromax-U': ['Smartfren', 'Andromax U'], - 'Smartfren Andromax U3': ['Smartfren', 'Andromax U3'] + 'Smartfren Andromax U3': ['Smartfren', 'Andromax U3'], }, AD686G: ['Smartfren', 'Andromax C'], @@ -13939,7 +14608,7 @@ exports.ANDROID_MODELS = { SmartQT30: ['SmartQ', 'T30', DeviceType.TABLET], 'SmartQ V5': ['SmartQ', 'V5', DeviceType.TABLET], SmartQV5II: ['SmartQ', 'V5 II', DeviceType.TABLET], - 'SmartQ V7': ['SmartQ', 'V7', DeviceType.TABLET] + 'SmartQ V7': ['SmartQ', 'V7', DeviceType.TABLET], }, T20: ['SmartQ', 'T20', DeviceType.TABLET], @@ -13947,7 +14616,7 @@ exports.ANDROID_MODELS = { 'SZENIO!!': { 'SZENIO 2000': ['Szenio', '2000', DeviceType.TABLET], - 'SZENIO 2500': ['Szenio', '2500', DeviceType.TABLET] + 'SZENIO 2500': ['Szenio', '2500', DeviceType.TABLET], }, 'Sonim!!': { @@ -13962,9 +14631,11 @@ exports.ANDROID_MODELS = { 'Sonim XP6711Z1': ['Sonim', 'XP6711'], 'Sonim XP7700': ['Sonim', 'XP7700'], 'Sonim-XP7700': ['Sonim', 'XP7700'], - 'sonim/XP7700': ['Sonim', 'XP7700'] + 'sonim/XP7700': ['Sonim', 'XP7700'], }, + XP8800: ['Sonim', 'XP8800'], + 'OMS1 6': ['Sony Ericsson', 'A8i'], 'C[0-9]{4,4}!!': { @@ -13982,7 +14653,7 @@ exports.ANDROID_MODELS = { 'C670[0-9]!': ['Sony', 'C670x'], // Itsuki 'C68(02|06|33|43)!': ['Sony', 'Xperia Z Ultra'], // Togari 'C69(02|03|06|43)!': ['Sony', 'Xperia Z1'], // Honami - C6916: ['Sony', 'Xperia Z1s'] // Honami + C6916: ['Sony', 'Xperia Z1s'], // Honami }, 'D[0-9]{4,4}!!': { @@ -14004,7 +14675,7 @@ exports.ANDROID_MODELS = { 'D65(63)!': ['Sony', 'Xperia Z2a'], // Canopus 'D66(03|16|33|43|46|53)!': ['Sony', 'Xperia Z3'], // ... 'D66(83)!': ['Sony', 'Xperia Z3 dual'], // ... - D6708: ['Sony', 'Xperia Z3v'] // ... + D6708: ['Sony', 'Xperia Z3v'], // ... }, 'E[0-9]{4,4}!!': { @@ -14027,7 +14698,7 @@ exports.ANDROID_MODELS = { 'E66(03|46|53)!': ['Sony', 'Xperia Z5'], 'E66(33|83)!': ['Sony', 'Xperia Z5 dual'], 'E68(53)!': ['Sony', 'Xperia Z5 Premium'], - 'E68(33|83)!': ['Sony', 'Xperia Z5 Premium dual'] + 'E68(33|83)!': ['Sony', 'Xperia Z5 Premium dual'], }, 'F[0-9]{4,4}!!': { @@ -14038,7 +14709,7 @@ exports.ANDROID_MODELS = { 'F51(21|22)!': ['Sony', 'Xperia X'], 'F53(21)!': ['Sony', 'Xperia X Compact'], 'F81(31|32)!': ['Sony', 'Xperia X Performance'], - 'F83(31|32|33)!': ['Sony', 'Xperia XZ'] + 'F83(31|32|33)!': ['Sony', 'Xperia XZ'], }, 'G[0-9]{4,4}!!': { @@ -14049,7 +14720,7 @@ exports.ANDROID_MODELS = { 'G81(41|42|88)!': ['Sony', 'Xperia XZ Premium'], 'G82(31|32)!': ['Sony', 'Xperia XZs'], 'G83(41|42|43)!': ['Sony', 'Xperia XZ1'], - 'G84(41|42)!': ['Sony', 'Xperia XZ1 Compact'] + 'G84(41|42)!': ['Sony', 'Xperia XZ1 Compact'], }, 'H[0-9]{4,4}!!': { @@ -14064,13 +14735,42 @@ exports.ANDROID_MODELS = { 'H82(16|66|76|96)!': ['Sony', 'Xperia XZ2'], 'H83(14|24)!': ['Sony', 'Xperia XZ2 Compact'], 'H84(16)!': ['Sony', 'Xperia XZ3'], - 'H84(41)!': ['Sony', 'Xperia XZ1 Compact'] - }, + 'H84(41)!': ['Sony', 'Xperia XZ1 Compact'], + 'H94(36|93)!': ['Sony', 'Xperia XZ3'], + }, + + 'I[0-9]{4,4}!!': { + 'I31(13|23)!': ['Sony', 'Xperia 10'], + 'I32(13|23)!': ['Sony', 'Xperia 10 Plus'], + 'I33(12)!': ['Sony', 'Xperia L3'], + 'I41(13|93)!': ['Sony', 'Xperia 10'], + 'I42(13|93)!': ['Sony', 'Xperia 10 Plus'], + 'I43(12|32)!': ['Sony', 'Xperia L3'], + }, + + 'J[0-9]{4,4}!!': { + 'J81(10|70)!': ['Sony', 'Xperia 1'], + 'J82(10|70)!': ['Sony', 'Xperia 5'], + 'J91(10)!': ['Sony', 'Xperia 1'], + 'J92(10|60)!': ['Sony', 'Xperia 5'], + }, + + 'XQ-AT51': ['Sony', 'Xperia 1 II'], + 'XQ-AT52': ['Sony', 'Xperia 1 II'], + 'XQ-BC52': ['Sony', 'Xperia 1 III'], + 'XQ-BC72': ['Sony', 'Xperia 1 III'], + 'XQ-AS52': ['Sony', 'Xperia 5 II'], + 'XQ-BQ52': ['Sony', 'Xperia 5 III'], + 'XQ-AU52': ['Sony', 'Xperia 10 II'], + 'XQ-BT52': ['Sony', 'Xperia 10 III'], + 'XQ-AD51': ['Sony', 'Xperia L4'], + 'XQ-AD52': ['Sony', 'Xperia L4'], + 'XQ-BE52': ['Sony', 'Xperia Pro-I'], 'E[0-9]{2,2}[a-z]!!': { 'E10(a|i|iv)!': ['Sony Ericsson', 'Xperia X10 Mini'], // Robyn 'E15(a|av|i|iv|i-o)?$!': ['Sony Ericsson', 'Xperia X8'], // Shakira - 'E16i!': ['Sony Ericsson', 'W8 Walkman'] // Shakira Walkman + 'E16i!': ['Sony Ericsson', 'W8 Walkman'], // Shakira Walkman }, 'L[0-9]{2,2}[a-z]!!': { @@ -14078,32 +14778,32 @@ exports.ANDROID_MODELS = { L36h: ['Sony', 'Xperia Z'], // Yuga 'L39(h|t|u)!': ['Sony', 'Xperia Z1'], // Honami 'L50(w|t|u)!': ['Sony', 'Xperia Z2'], // Sirius - 'L55(t|u)!': ['Sony', 'Xperia Z3'] // ... + 'L55(t|u)!': ['Sony', 'Xperia Z3'], // ... }, - '(SNM-)?LT[0-9]{2,2}[a-z]?!!': { + '(SNM\-)?LT[0-9]{2,2}[a-z]?!!': { 'LT11i!': ['Sony Ericsson', 'Xperia Neo V'], // Haida 'LT15(a|at|av|i|iv|i-o)?$!': ['Sony Ericsson', 'Xperia Arc'], // Anzu 'LT15i Speed Edition': ['Sony Ericsson', 'Xperia Arc'], // Anzu 'LT18(a|i|iv|i-o)?$!': ['Sony Ericsson', 'Xperia Arc S'], // Ayame 'LT22i!': ['Sony', 'Xperia P'], // Nypon 'LT25i!': ['Sony', 'Xperia V'], // Tsubasa - '(SNM-)?LT25c!': ['Sony', 'Xperia VC'], // Tsubasa + '(SNM\-)?LT25c!': ['Sony', 'Xperia VC'], // Tsubasa 'LT26ii!': ['Sony', 'Xperia SL'], // Nozomi2 'LT26(i|i-o)!': ['Sony', 'Xperia S'], // Nozomi 'LT26w!': ['Sony', 'Xperia Acro S'], // Hikari 'LT28(at|h|i)!': ['Sony', 'Xperia Ion'], // Aoba 'LT29i!': ['Sony', 'Xperia TX'], // Hayabusa 'LT30(at)!': ['Sony', 'Xperia TL'], // Mint - 'LT30(a|p)!': ['Sony', 'Xperia T'] // Mint + 'LT30(a|p)!': ['Sony', 'Xperia T'], // Mint }, - '(SNM-)?M[0-9]{2,2}[a-z]!!': { - '(SNM-)?M35(c|h|t|ts)!': ['Sony', 'Xperia SP'], // HuaShan + '(SNM\-)?M[0-9]{2,2}[a-z]!!': { + '(SNM\-)?M35(c|h|t|ts)!': ['Sony', 'Xperia SP'], // HuaShan 'M36h!': ['Sony', 'Xperia ZR'], // Dogo 'M50w!': ['Sony', 'Xperia T3'], // Seagull 'M51w!': ['Sony', 'Xperia Z1 Compact'], // Amami - 'M55w!': ['Sony', 'Xperia Z3 Compact'] // ... + 'M55w!': ['Sony', 'Xperia Z3 Compact'], // ... }, 'MK16(a|i|$)!': ['Sony Ericsson', 'Xperia Pro'], // Iyokan @@ -14112,7 +14812,7 @@ exports.ANDROID_MODELS = { 'MT11(a|i|iv|i-o)!': ['Sony Ericsson', 'Xperia Neo V'], // Haida 'MT15(a|i|iv|i-o|$)!': ['Sony Ericsson', 'Xperia Neo'], // Hallon 'MT25i!': ['Sony', 'Xperia Neo L'], // Phoenix - 'MT27i!': ['Sony', 'Xperia Sola'] // Pepper + 'MT27i!': ['Sony', 'Xperia Sola'], // Pepper }, 'R800(a|at|i|iv|x)!': ['Sony Ericsson', 'Xperia Play'], // Zeus @@ -14121,7 +14821,7 @@ exports.ANDROID_MODELS = { S36h: ['Sony', 'Xperia L'], // TaoShan S39h: ['Sony', 'Xperia C'], // CN3 S50h: ['Sony', 'Xperia M2 dual'], // Eagle - 'S55(t|u)!': ['Sony', 'Xperia C3 dual'] // ... + 'S55(t|u)!': ['Sony', 'Xperia C3 dual'], // ... }, 'SK17(a|i|iv|i-o)!': ['Sony Ericsson', 'Xperia Mini Pro'], // Mango @@ -14135,14 +14835,14 @@ exports.ANDROID_MODELS = { 'ST23(a|i)?!': ['Sony', 'Xperia Miro'], // Mesona 'ST25(a|i)!': ['Sony', 'Xperia U'], // Kumquat 'ST26(a|i)?!': ['Sony', 'Xperia J'], // JLo - 'ST27(a|i)!': ['Sony', 'Xperia Go'] // Lotus + 'ST27(a|i)!': ['Sony', 'Xperia Go'], // Lotus }, 'U20(a|i|iv)!': ['Sony Ericsson', 'Xperia X10 Mini Pro'], // Mimmi 'WT[0-9]{2,2}[a-z]!!': { 'WT18i!': ['Sony Ericsson', 'Walkman'], // Mulberry - 'WT19(a|i|iv)!': ['Sony Ericsson', 'Live with Walkman'] // Coconut + 'WT19(a|i|iv)!': ['Sony Ericsson', 'Live with Walkman'], // Coconut }, X8: ['Sony Ericsson', 'Xperia X8'], // Shakira @@ -14158,7 +14858,7 @@ exports.ANDROID_MODELS = { 'IS[0-9]{2,2}S!!': { IS11S: ['Sony Ericsson', 'Xperia acro IS11S', { carrier: 'au' }], // Akane - IS12S: ['Sony Ericsson', 'Xperia acro HD IS12S', { carrier: 'au' }] // Hayate + IS12S: ['Sony Ericsson', 'Xperia acro HD IS12S', { carrier: 'au' }], // Hayate }, 'SO-0[0-9][A-Z]!!': { @@ -14171,6 +14871,7 @@ exports.ANDROID_MODELS = { 'SO-01H': ['Sony', 'Xperia Z5 SO-01H', { carrier: 'DoCoMo' }], // ... 'SO-01J': ['Sony', 'Xperia XZ SO-01J', { carrier: 'DoCoMo' }], // ... 'SO-01K': ['Sony', 'Xperia XZ1 SO-01K', { carrier: 'DoCoMo' }], // ... + 'SO-01L': ['Sony', 'Xperia XZ3 SO-01L', { carrier: 'DoCoMo' }], // ... 'SO-02C': ['Sony Ericsson', 'Xperia acro SO-02C', { carrier: 'DoCoMo' }], // Azusa 'SO-02D': ['Sony Ericsson', 'Xperia NX SO-02D', { carrier: 'DoCoMo' }], // Nozomi 'SO-02E': ['Sony', 'Xperia Z SO-02E', { carrier: 'DoCoMo' }], // Yuga @@ -14187,6 +14888,7 @@ exports.ANDROID_MODELS = { 'SO-03H': ['Sony', 'Xperia Z5 Premium SO-03H', { carrier: 'DoCoMo' }], 'SO-03J': ['Sony', 'Xperia XZs SO-03J', { carrier: 'DoCoMo' }], 'SO-03K': ['Sony', 'Xperia XZ2 SO-03K', { carrier: 'DoCoMo' }], + 'SO-03L': ['Sony', 'Xperia 1 SO-03L', { carrier: 'DoCoMo' }], 'SO-04D': ['Sony', 'Xperia GX SO-04D', { carrier: 'DoCoMo' }], // Hayabusa 'SO-04E': ['Sony', 'Xperia A SO-04E', { carrier: 'DoCoMo' }], // Dogo 'SO-04EM': ['Sony', 'Xperia feat. HATSUNE MIKU SO-04E', { carrier: 'DoCoMo' }], @@ -14194,11 +14896,12 @@ exports.ANDROID_MODELS = { 'SO-04G': ['Sony', 'Xperia A4 SO-04G', { carrier: 'DoCoMo' }], 'SO-04H': ['Sony', 'Xperia X Performance SO-04H', { carrier: 'DoCoMo' }], 'SO-04J': ['Sony', 'Xperia XZ Premium SO-04J', { carrier: 'DoCoMo' }], + 'SO-04K': ['Sony', 'Xperia XZ2 Premium SO-04K', { carrier: 'DoCoMo' }], 'SO-05D': ['Sony', 'Xperia SX SO-05D', { carrier: 'DoCoMo' }], // Komachi 'SO-05F': ['Sony', 'Xperia Tablet Z2 SO-05F', DeviceType.TABLET, { carrier: 'DoCoMo' }], // Castor 'SO-05G': ['Sony', 'Xperia Tablet Z4 SO-05G', DeviceType.TABLET, { carrier: 'DoCoMo' }], // ... 'SO-05K': ['Sony', 'Xperia XZ2 Compact SO-05K', { carrier: 'DoCoMo' }], - 'SO-07D': ['Sony', 'SO-07D', DeviceType.TABLET, { carrier: 'DoCoMo' }] // ... + 'SO-07D': ['Sony', 'SO-07D', DeviceType.TABLET, { carrier: 'DoCoMo' }], // ... }, 'SO[LTV][0-9]{2,2}!!': { @@ -14216,27 +14919,30 @@ exports.ANDROID_MODELS = { SOV34: ['Sony', 'Xperia XZ SOV34', { carrier: 'au' }], // ... SOV35: ['Sony', 'Xperia XZs SOV35', { carrier: 'au' }], // ... SOV36: ['Sony', 'Xperia XZ1 SOV36', { carrier: 'au' }], // ... - SOV37: ['Sony', 'Xperia XZ2 SOV37', { carrier: 'au' }] // ... + SOV37: ['Sony', 'Xperia XZ2 SOV37', { carrier: 'au' }], // ... + SOV38: ['Sony', 'Xperia XZ2 Premium SOV38', { carrier: 'au' }], // ... + SOV39: ['Sony', 'Xperia XZ3 SOV39', { carrier: 'au' }], // ... + SOV40: ['Sony', 'Xperia 1 SOV40', { carrier: 'au' }], // ... }, '40[0-9]SO!!': { '401SO': ['Sony', 'Xperia Z3 401SO', { carrier: 'Softbank' }], // ... - '402SO': ['Sony', 'Xperia Z4 402SO', { carrier: 'Softbank' }] // ... + '402SO': ['Sony', 'Xperia Z4 402SO', { carrier: 'Softbank' }], // ... }, '50[0-9]SO!!': { '501SO': ['Sony', 'Xperia Z5 501SO', { carrier: 'Softbank' }], // ... - '502SO': ['Sony', 'Xperia X Performance 502SO', { carrier: 'Softbank' }] // ... + '502SO': ['Sony', 'Xperia X Performance 502SO', { carrier: 'Softbank' }], // ... }, '60[0-9]SO!!': { '601SO': ['Sony', 'Xperia XZ 601SO', { carrier: 'Softbank' }], // ... - '602SO': ['Sony', 'Xperia XZs 602SO', { carrier: 'Softbank' }] // ... + '602SO': ['Sony', 'Xperia XZs 602SO', { carrier: 'Softbank' }], // ... }, '70[0-9]SO!!': { '701SO': ['Sony', 'Xperia XZ1 701SO', { carrier: 'Softbank' }], // ... - '702SO': ['Sony', 'Xperia XZ2 702SO', { carrier: 'Softbank' }] // ... + '702SO': ['Sony', 'Xperia XZ2 702SO', { carrier: 'Softbank' }], // ... }, 'Xperia!!': { @@ -14314,7 +15020,7 @@ exports.ANDROID_MODELS = { 'Xperia Tablet Z LTE': ['Sony', 'Xperia Tablet Z', DeviceType.TABLET], 'Xperia Tablet Z Wi-Fi': ['Sony', 'Xperia Tablet Z', DeviceType.TABLET], 'Xperia Tablet Z WiFi': ['Sony', 'Xperia Tablet Z', DeviceType.TABLET], - 'Xperia Z2 Tablet Wifi': ['Sony', 'Xperia Tablet Z2', DeviceType.TABLET] + 'Xperia Z2 Tablet Wifi': ['Sony', 'Xperia Tablet Z2', DeviceType.TABLET], }, 'Sony Xperia Ray': ['Sony Ericsson', 'Xperia Ray'], // Urushi @@ -14337,7 +15043,7 @@ exports.ANDROID_MODELS = { 'SGP4(12)!': ['Sony', 'Xperia Tablet Z Ultra', DeviceType.TABLET], 'SGP5(11|12|21|41|51|61)!': ['Sony', 'Xperia Tablet Z2', DeviceType.TABLET], // Castor 'SGP6(11|12|21|41)!': ['Sony', 'Xperia Tablet Z3 Compact', DeviceType.TABLET], - 'SGP7(12|71)!': ['Sony', 'Xperia Tablet Z4', DeviceType.TABLET] + 'SGP7(12|71)!': ['Sony', 'Xperia Tablet Z4', DeviceType.TABLET], }, 'NWZ?-Z1000Series!': ['Sony', 'Walkman Z', DeviceType.MEDIA], @@ -14347,7 +15053,7 @@ exports.ANDROID_MODELS = { 'NSZ-GS7': ['Sony', 'NSZ-GS7', DeviceType.TELEVISION, Flag.GOOGLETV], 'NSZ-GS8': ['Sony', 'NSZ-GS8', DeviceType.TELEVISION, Flag.GOOGLETV], 'NSZ-GT1': ['Sony', 'NSZ-GT1', DeviceType.TELEVISION, Flag.GOOGLETV], - 'NSZ-GU1': ['Sony', 'BRAVIA Smart Stick NSZ-GU1', DeviceType.TELEVISION, Flag.GOOGLETV] + 'NSZ-GU1': ['Sony', 'BRAVIA Smart Stick NSZ-GU1', DeviceType.TELEVISION, Flag.GOOGLETV], }, beetle: ['Sony', 'NSZ-GS7', DeviceType.TELEVISION, Flag.GOOGLETV], @@ -14474,7 +15180,7 @@ exports.ANDROID_MODELS = { Mi730: ['Spice', 'Mi-730 Tab', DeviceType.TABLET], 'Spice Mi-730': ['Spice', 'Mi-730 Tab', DeviceType.TABLET], 'Spice Mi-740': ['Spice', 'Mi-740', DeviceType.TABLET], - SpiceMi1010: ['Spice', 'Mi-1010 Stellar Pad', DeviceType.TABLET] + SpiceMi1010: ['Spice', 'Mi-1010 Stellar Pad', DeviceType.TABLET], }, 'Spice N-300': ['Spice', 'Buddy N300'], @@ -14558,7 +15264,7 @@ exports.ANDROID_MODELS = { 'Starmobile QUEST': ['Starmobile', 'Quest'], 'Starmobile UP': ['Starmobile', 'Up'], 'Starmobile UP Max': ['Starmobile', 'Up Max'], - 'Starmobile VIDA': ['Starmobile', 'Vida'] + 'Starmobile VIDA': ['Starmobile', 'Vida'], }, 'DIAMOND D1': ['Starmobile', 'Diamond D1'], @@ -14574,7 +15280,7 @@ exports.ANDROID_MODELS = { 'STARWAY Andromeda S900': ['Starway', 'Andromeda S900', DeviceType.TABLET], 'Starway Andromeda S910': ['Starway', 'Andromeda S910', DeviceType.TABLET], 'Andromeda S910': ['Starway', 'Andromeda S910', DeviceType.TABLET], - 'Andromeda S940': ['Starway', 'Andromeda S940', DeviceType.TABLET] + 'Andromeda S940': ['Starway', 'Andromeda S940', DeviceType.TABLET], }, 'STX!!': { @@ -14582,7 +15288,7 @@ exports.ANDROID_MODELS = { 'STX Mini': ['Stonex', 'STX Mini'], 'STX MINI 2': ['Stonex', 'STX Mini 2'], 'STX ULTRA': ['Stonex', 'STX Ultra'], - 'STX ULTRA 2': ['Stonex', 'STX Ultra 2'] + 'STX ULTRA 2': ['Stonex', 'STX Ultra 2'], }, 'Scroll!!': { @@ -14594,7 +15300,7 @@ exports.ANDROID_MODELS = { 'Scroll Excel 2': ['Storage Options', 'Scroll Excel 2', DeviceType.TABLET], 'Scroll Extreme': ['Storage Options', 'Scroll Extreme', DeviceType.TABLET], 'Scroll Tablet': ['Storage Options', 'Scroll Tablet', DeviceType.TABLET], - 'Scroll Tablet PC': ['Storage Options', 'Scroll Tablet PC', DeviceType.TABLET] + 'Scroll Tablet PC': ['Storage Options', 'Scroll Tablet PC', DeviceType.TABLET], }, 'eZee!!': { @@ -14636,14 +15342,14 @@ exports.ANDROID_MODELS = { "eZee'Tab97D11-S": ['Storex', "eZee'Tab 97d11s", DeviceType.TABLET], "eZee'Tab10D11-M": ['Storex', "eZee'Tab 10d11m", DeviceType.TABLET], "eZee'tab10D12-S": ['Storex', "eZee'Tab 10d12s", DeviceType.TABLET], - "eZee'Tab13Q10-M": ['Storex', "eZee'Tab 13q10m", DeviceType.TABLET] + "eZee'Tab13Q10-M": ['Storex', "eZee'Tab 13q10m", DeviceType.TABLET], }, 'STOREX LinkBox': ['Storex', 'LinkBox', DeviceType.TELEVISION], 'SRT!!': { 'SRT AN4': ['Strong', 'SRT AN4', DeviceType.TELEVISION], - 'SRT AN4M': ['Strong', 'SRT AN4M', DeviceType.TELEVISION] + 'SRT AN4M': ['Strong', 'SRT AN4M', DeviceType.TELEVISION], }, 'Cyclone!!': { @@ -14651,7 +15357,7 @@ exports.ANDROID_MODELS = { 'CYCLONE EXPLORER II': ['Sumvision', 'Cyclone Explorer 2', DeviceType.TABLET], 'cyclone Titan': ['Sumvision', 'Cyclone Titan', DeviceType.TABLET], 'Cyclone Voyager': ['Sumvision', 'Cyclone Voyager', DeviceType.TABLET], - 'Cyclone Voyager 2': ['Sumvision', 'Cyclone Voyager 2', DeviceType.TABLET] + 'Cyclone Voyager 2': ['Sumvision', 'Cyclone Voyager 2', DeviceType.TABLET], }, M1001: ['Superpad', 'M1001', DeviceType.TABLET], @@ -14667,7 +15373,7 @@ exports.ANDROID_MODELS = { 'SC-90JB': ['Supersonic', 'Matrix SC-90JB', DeviceType.TABLET], 'SC-90MID': ['Supersonic', 'Matrix SC-90MID', DeviceType.TABLET], 'SC-91JB': ['Supersonic', 'Matrix SC-91JB', DeviceType.TABLET], - 'SC-91MID': ['Supersonic', 'Matrix SC-91MID', DeviceType.TABLET] + 'SC-91MID': ['Supersonic', 'Matrix SC-91MID', DeviceType.TABLET], }, 'SUGAR ([A-Z][0-9]?(?: Pro)?)!': ['SUGAR', '$1', DeviceType.TABLET], @@ -14733,7 +15439,7 @@ exports.ANDROID_MODELS = { 'Xplorer Z III': ['Symphony', 'Xplorer ZIII'], 'Xplorer ZV': ['Symphony', 'Xplorer ZV'], 'Symphony ZIV': ['Symphony', 'Xplorer ZIV'], - 'Symphony Z9': ['Symphony', 'Xplorer Z9'] + 'Symphony Z9': ['Symphony', 'Xplorer Z9'], }, W20: ['Symphony', 'Xplorer W20'], @@ -14755,11 +15461,16 @@ exports.ANDROID_MODELS = { 'T-smart G58': ['T-smart', 'G58'], 'T-smart I08': ['T-smart', 'I08'], 'T-smart I58 TD': ['T-smart', 'I58'], - 'T-smart L818': ['T-smart', 'L818'] + 'T-smart L818': ['T-smart', 'L818'], }, 'Tabra QAV801': ['Tabra', 'QAV801', DeviceType.TABLET], + T671H: ['TCL', '20 SE'], + T774H: ['TCL', '20L'], + T775H: ['TCL', '20L+'], + T790Y: ['TCL', '10'], + 'TCL!!': { 'TCL-309T': ['TCL', '309T'], 'TCL-550': ['TCL', '550'], @@ -14923,7 +15634,7 @@ exports.ANDROID_MODELS = { 'TCL Y910': ['TCL', 'Hero N3'], 'TCL Y910T': ['TCL', 'Hero N3'], 'TCL TAB 7': ['TCL', 'Tab 7', DeviceType.TABLET], - 'TCL Google TV TV': ['TCL', 'MoVo UD TV', DeviceType.TELEVISION, Flag.GOOGLETV] + 'TCL Google TV TV': ['TCL', 'MoVo UD TV', DeviceType.TELEVISION, Flag.GOOGLETV], }, 'TECNO!!': { @@ -14958,6 +15669,7 @@ exports.ANDROID_MODELS = { 'TECNO-J7': ['Tecno', 'J7'], 'TECNO J7': ['Tecno', 'J7'], 'TECNO-J8': ['Tecno', 'J8'], + 'TECNO KC6S': ['Tecno', 'Spark 4 Air'], 'TECNO L3': ['Tecno', 'L3'], 'TECNO-L5': ['Tecno', 'L5'], 'TECNO L6': ['Tecno', 'L6'], @@ -15026,7 +15738,7 @@ exports.ANDROID_MODELS = { 'TECNO P701': ['Tecno', 'DroiPad 7D', DeviceType.TABLET], 'TECNO 8H': ['Tecno', 'DroiPad 8', DeviceType.TABLET], 'TECNO P904': ['Tecno', 'DroiPad 10D', DeviceType.TABLET], - 'TECNO DP10A': ['Tecno', 'DroiPad 10 Pro II', DeviceType.TABLET] + 'TECNO DP10A': ['Tecno', 'DroiPad 10 Pro II', DeviceType.TABLET], }, L3: ['Tecno', 'L3'], @@ -15061,6 +15773,8 @@ exports.ANDROID_MODELS = { 'G18mini(C5B9)': ['Teclast', 'G18 mini', DeviceType.TABLET], 'G18d 3G四核(D3A2)': ['Teclast', 'G18d', DeviceType.TABLET], 'G18d mini(FV2C)': ['Teclast', 'G18d mini', DeviceType.TABLET], + 'M40 EEA': ['Teclast', 'M40', DeviceType.TABLET], + 'M40(N9H3)': ['Teclast', 'M40', DeviceType.TABLET], 'P10HD??(E6NA)': ['Teclast', 'P10HD', DeviceType.TABLET], P11HD: ['Teclast', 'P11HD', DeviceType.TABLET], 'P11HD四核(G9X6)': ['Teclast', 'P11HD', DeviceType.TABLET], @@ -15068,6 +15782,7 @@ exports.ANDROID_MODELS = { 'P11HD四核(G9X7)': ['Teclast', 'P11HD', DeviceType.TABLET], 'P19HD(E1K3)': ['Teclast', 'P19HD', DeviceType.TABLET], 'P19HD(E1K5)': ['Teclast', 'P19HD', DeviceType.TABLET], + 'P20HD EEA': ['Teclast', 'P20HD', DeviceType.TABLET], 'P70 3G八核(C2B7)': ['Teclast', 'P70 3G', DeviceType.TABLET], 'P70h(A5C2)': ['Teclast', 'P70h', DeviceType.TABLET], P72: ['Teclast', 'P72', DeviceType.TABLET], @@ -15239,6 +15954,7 @@ exports.ANDROID_MODELS = { 'Telpad QS': ['Telpad', 'Quad S', DeviceType.TABLET], T3696: ['Telsda', 'T3696'], 'Tensent S9000': ['Tensent', 'S9000'], + 'Teracube 2e': ['Teracube', '2e'], 'Hudl HT7S3': ['Tesco', 'Hudl', DeviceType.TABLET], 'Hudl 2': ['Tesco', 'Hudl 2', DeviceType.TABLET], 'TM-3200R': ['teXet', 'TM-3200R'], @@ -15316,11 +16032,11 @@ exports.ANDROID_MODELS = { TLINK410: ['Thomson', 'Tlink410'], TLINK455: ['Thomson', 'Tlink455'], TLINK475: ['Thomson', 'Tlink475'], - TLINK535: ['Thomson', 'Tlink535'] + TLINK535: ['Thomson', 'Tlink535'], }, MoFing: ['Thomson', 'MoFing', DeviceType.TABLET], - '8950': ['Thomson', '3G 8950', DeviceType.TABLET], + 8950: ['Thomson', '3G 8950', DeviceType.TABLET], PRIMO7: ['Thomson', 'Primo 7', DeviceType.TABLET], PRIMO8: ['Thomson', 'Primo 8', DeviceType.TABLET], 'QM734-8G': ['Thomson', 'QM734-8G', DeviceType.TABLET], @@ -15383,7 +16099,7 @@ exports.ANDROID_MODELS = { 'thl 4400': ['THL', '4400'], thl5000: ['THL', '5000'], 'thl 5000': ['THL', '5000'], - 'thl 5000T': ['THL', '5000T'] + 'thl 5000T': ['THL', '5000T'], }, 'W8 beyond': ['THL', 'W8 beyond'], @@ -15392,7 +16108,7 @@ exports.ANDROID_MODELS = { 'TizzBird!!': { 'TizzBird N1G': ['TizzBird', 'N1', DeviceType.TELEVISION], 'TizzBird S20A': ['TizzBird', 'S20A', DeviceType.TELEVISION], - 'TizzBird S20T': ['TizzBird', 'S20T', DeviceType.TELEVISION] + 'TizzBird S20T': ['TizzBird', 'S20T', DeviceType.TELEVISION], }, MagicBox: ['Tmall', 'MagicBox', DeviceType.TELEVISION], @@ -15400,7 +16116,7 @@ exports.ANDROID_MODELS = { 'tolino tab!!': { 'tolino tab 7': ['Tolino', 'Tab 7', DeviceType.TABLET], 'tolino tab 8': ['Tolino', 'Tab 8', DeviceType.TABLET], - 'tolino tab 8.9': ['Tolino', 'Tab 8.9', DeviceType.TABLET] + 'tolino tab 8.9': ['Tolino', 'Tab 8.9', DeviceType.TABLET], }, ATP7526: ['Tomtec', 'Ultimate10', DeviceType.TABLET], @@ -15428,7 +16144,7 @@ exports.ANDROID_MODELS = { 'TOOKY T1981PLUS': ['Tooky', 'T1981 Plus'], 'TOOKY T1982': ['Tooky', 'T1982'], 'TOOKY T1992': ['Tooky', 'T1992'], - 'TOOKY W1': ['Tooky', 'W1'] + 'TOOKY W1': ['Tooky', 'W1'], }, 'DROIDZ Duo': ['Torque', 'DROIDZ Duo', DeviceType.TABLET], @@ -15492,7 +16208,7 @@ exports.ANDROID_MODELS = { 'Satellite ([A-Z][0-9]{3,3}[A-Z]?)!': ['Toshiba', 'Satellite $1', DeviceType.DESKTOP], 'Satellite ([A-Z][0-9]{2,2}[A-Z]+-[A-Z])!': ['Toshiba', 'Satellite $1', DeviceType.DESKTOP], 'Satellite ([A-Z][0-9]{2,2}-[A-Z]?)!': ['Toshiba', 'Satellite $1', DeviceType.DESKTOP], - 'Satellite Pro ([A-Z][0-9]{3,3})!': ['Toshiba', 'Satellite Pro $1', DeviceType.DESKTOP] + 'Satellite Pro ([A-Z][0-9]{3,3})!': ['Toshiba', 'Satellite Pro $1', DeviceType.DESKTOP], }, 'StarTab 715x': ['Touch+', 'Startab 715', DeviceType.TABLET], @@ -15516,7 +16232,7 @@ exports.ANDROID_MODELS = { 'ST10216-3!': ['Trekstor', 'Surftab Ventos 10.1', DeviceType.TABLET], 'ST70404-1!': ['Trekstor', 'Surftab Xirion 7.0', DeviceType.TABLET], 'ST70408-1!': ['Trekstor', 'Surftab Xirion 7.0', DeviceType.TABLET], - 'ST10416-1!': ['Trekstor', 'Surftab Xirion 10.1', DeviceType.TABLET] + 'ST10416-1!': ['Trekstor', 'Surftab Xirion 10.1', DeviceType.TABLET], }, 'Trevi PHABLET 4C': ['Trevi', 'Phablet 4C'], @@ -15545,7 +16261,7 @@ exports.ANDROID_MODELS = { 'TREQ Tune Z': ['Treq', 'Tune Z', DeviceType.TABLET], 'TREQ Turbo': ['Treq', 'Turbo', DeviceType.TABLET], 'TREQ-TURBO': ['Treq', 'Turbo', DeviceType.TABLET], - 'TREQ 3G Turbo': ['Treq', 'Turbo', DeviceType.TABLET] + 'TREQ 3G Turbo': ['Treq', 'Turbo', DeviceType.TABLET], }, 'Phablet 5,3 Q': ['Trevi', 'Phablet 5.3 Q'], @@ -15582,12 +16298,35 @@ exports.ANDROID_MODELS = { 'Amazing X5s': ['TWM', 'Amazing X5s'], 'Amazing X6': ['TWM', 'Amazing X6'], 'Amazing X7': ['TWM', 'Amazing X7'], - 'Fantastic T3': ['TWM', 'Fantastic T3'] + 'Fantastic T3': ['TWM', 'Fantastic T3'], }, A6S: ['TWM', 'Amazing A6S'], + 'Armor 2': ['Ulefone', 'Armor 2'], + 'Armor 3W': ['Ulefone', 'Armor 3W'], + 'Armor 3WT': ['Ulefone', 'Armor 3WT'], + 'Ulefone Armor 5': ['Ulefone', 'Armor 5'], + 'Armor 5S': ['Ulefone', 'Armor 5S'], + 'Armor 6E': ['Ulefone', 'Armor 6E'], + 'Armor 7': ['Ulefone', 'Armor 7'], + 'Armor 7E': ['Ulefone', 'Armor 7E'], + 'Armor 8': ['Ulefone', 'Armor 8'], + 'Armor 9': ['Ulefone', 'Armor 9'], + 'Armor 9E': ['Ulefone', 'Armor 9E'], + 'Armor 10 5G': ['Ulefone', 'Armor 10'], + 'Armor 11 5G': ['Ulefone', 'Armor 11'], + 'Armor 11T 5G': ['Ulefone', 'Armor 11T'], + 'Armor X5': ['Ulefone', 'Armor X5'], + 'Armor X7': ['Ulefone', 'Armor X7'], + 'Armor X7 Pro': ['Ulefone', 'Armor X7 Pro'], + 'Armor X8': ['Ulefone', 'Armor X8'], + 'Power Armor 13': ['Ulefone', 'Power Armor 13'], 'Be Touch 2': ['Ulefone', 'Be Touch 2'], 'Ulefone Be Touch2': ['Ulefone', 'Be Touch 2'], + 'Note 7P': ['Ulefone', 'Note 7P'], + 'Note 8P': ['Ulefone', 'Note 8P'], + 'Note 9P': ['Ulefone', 'Note 9P'], + 'Note 11P': ['Ulefone', 'Note 11P'], TB100: ['Unitech', 'TB100', DeviceType.TABLET], M70014: ['United Star Technology', 'M70014', DeviceType.TABLET], QOOQ: ['Unowhy', 'QOOQ', DeviceType.TABLET], @@ -15597,6 +16336,7 @@ exports.ANDROID_MODELS = { 'UMI-R1': ['UMI', 'R1'], 'UMI-R1(TD)': ['UMI', 'R1'], 'UMI S1': ['UMI', 'S1'], + 'UMIDIGI X': ['UMI', 'X'], 'UMI X1': ['UMI', 'X1'], 'UMI X1S': ['UMI', 'X1s'], 'UMI X1-PRO': ['UMI', 'X1'], @@ -15616,12 +16356,20 @@ exports.ANDROID_MODELS = { 'UMI Super': ['UMI', 'Super'], 'UMI TOUCH': ['UMI', 'Touch'], 'UMI TOUCH X': ['UMI', 'Touch X'], - 'UMI ZERO': ['UMI', 'Zero'] + 'UMI ZERO': ['UMI', 'Zero'], }, + 'A9 Pro': ['UMI', 'A9 Pro'], + 'A11 Pro Max': ['UMI', 'A11 Pro Max'], + BISON: ['UMI', 'Bison'], + 'BISON Pro': ['UMI', 'Bison Pro'], + 'BISON GT': ['UMI', 'Bison GT'], 'eMAX mini': ['UMI', 'eMax mini'], 'Plus E': ['UMI', 'Plus E'], + Jelly2: ['Unihertz', 'Jelly 2'], + 'Titan pocket': ['Unihertz', 'Titan Pocket'], U1203: ['Uniscope', 'U1203'], + 'KT-101-A': ['Uniscom', 'KT-101-A', DeviceType.TABLET], 'Unusual!!': { 'UNUSUAL U7X': ['Unusual', 'U7X', DeviceType.TABLET], @@ -15633,7 +16381,7 @@ exports.ANDROID_MODELS = { 'UNUSUAL 10X': ['Unusual', '10X', DeviceType.TABLET], 'UNUSUAL 10XQUAD': ['Unusual', '10X', DeviceType.TABLET], 'Unusual 10Z': ['Unusual', '10Z', DeviceType.TABLET], - 'UNUSUAL 40Y': ['Unusual', '40Y', DeviceType.TABLET] + 'UNUSUAL 40Y': ['Unusual', '40Y', DeviceType.TABLET], }, 'UOOGOU!!': { @@ -15647,19 +16395,19 @@ exports.ANDROID_MODELS = { 'UOOGOU-T8': ['Uoogou', 'T8'], 'UOOGOU X3': ['Uoogou', 'X3'], 'UOOGOU X5': ['Uoogou', 'X5'], - 'UOOGOU X6': ['Uoogou', 'X6'] + 'UOOGOU X6': ['Uoogou', 'X6'], }, 'UTime!!': { 'UTime i8': ['UTime', 'i8'], 'UTime U100': ['UTime', 'U100'], - 'UTime X1': ['UTime', 'X1'] + 'UTime X1': ['UTime', 'X1'], }, 'Usmart!!': { 'USmart CL600': ['USmart', 'CL600'], 'Usmart F450': ['USmart', 'F450'], - 'Usmart-F450': ['USmart', 'F450'] + 'Usmart-F450': ['USmart', 'F450'], }, KUNO4: ['uWriteTouch', 'KUNO 4', DeviceType.TABLET], @@ -15677,7 +16425,7 @@ exports.ANDROID_MODELS = { 'VS TOUCHTAB 7DC V': ['Versus', 'Touchtab 7 Dual Core', DeviceType.TABLET], 'VS TOUCHTAB 8DC': ['Versus', 'Touchtab 8 Dual Core', DeviceType.TABLET], 'VS TOUCHTAB 9': ['Versus', 'Touchtab 9', DeviceType.TABLET], - 'VS TOUCHTAB 10.1DC': ['Versus', 'Touchtab 10.1 Dual Core', DeviceType.TABLET] + 'VS TOUCHTAB 10.1DC': ['Versus', 'Touchtab 10.1 Dual Core', DeviceType.TABLET], }, 'verykool!!': { @@ -15763,7 +16511,7 @@ exports.ANDROID_MODELS = { 'verykool T742': ['verykool', 'Kolorpad T742', DeviceType.TABLET], 'verykool T7440': ['verykool', 'Kolorpad II T7440', DeviceType.TABLET], verykoolT7442: ['verykool', 'Kolorpad III T7442', DeviceType.TABLET], - VerykoolTL8010: ['verykool', 'Kolorpad TL8010', DeviceType.TABLET] + VerykoolTL8010: ['verykool', 'Kolorpad TL8010', DeviceType.TABLET], }, s732: ['verykool', 's732'], @@ -15781,6 +16529,7 @@ exports.ANDROID_MODELS = { 'Venus V3 5580': ['Vestel', 'Venus V3 5580'], VSP250g: ['Vestel', 'Venus V5'], VSP250s: ['Vestel', 'Venus V5'], + 'Venus Z20': ['Vestel', 'Venus Z20'], VT6078: ['VIA', 'ALTA DS', DeviceType.SIGNAGE], 'victorys s8': ["Victory's", 'S8'], @@ -15818,7 +16567,7 @@ exports.ANDROID_MODELS = { 'Videocon Z55Krypton': ['Videocon', 'Infinium Z55 Krypton'], 'VIDEOCON ZEST FLAME': ['Videocon', 'Zest Flame'], 'VIDEOCON ZEST FLASH': ['Videocon', 'Zest Flash'], - 'Videocon V35DC': ['Videocon', 'Zest V35DC'] + 'Videocon V35DC': ['Videocon', 'Zest V35DC'], }, Z30Aire: ['Videocon', 'Infinium Z30 Aire'], @@ -15907,14 +16656,14 @@ exports.ANDROID_MODELS = { 'VINUS V8': ['Vinus', 'V8'], 'VINUS V9': ['Vinus', 'V9'], 'VINUS V10': ['Vinus', 'V10'], - 'VINUS X2': ['Vinus', 'X2'] + 'VINUS X2': ['Vinus', 'X2'], }, 'VL-[0-9]{3,3}!!': { 'VL-107!': ['Visual Land', 'Prestige 7', DeviceType.TABLET], 'VL-109': ['Visual Land', 'Connect 9', DeviceType.TABLET], 'VL-110': ['Visual Land', 'Prestige 10', DeviceType.TABLET], - 'VL-879': ['Visual Land', 'Connect 7', DeviceType.TABLET] + 'VL-879': ['Visual Land', 'Connect 7', DeviceType.TABLET], }, PRO7D: ['Visual Land', 'Prestige 7D', DeviceType.TABLET], @@ -15929,6 +16678,7 @@ exports.ANDROID_MODELS = { 'vivo E1t': ['Vivo', 'E1t'], 'vivo E3': ['Vivo', 'E3'], 'vivo E5': ['Vivo', 'E5'], + 'vivo NEX S': ['Vivo', 'NEX S'], 'vivo S1': ['Vivo', 'S1'], 'vivo S3': ['Vivo', 'S3'], 'vivo S3+': ['Vivo', 'S3+'], @@ -15961,6 +16711,12 @@ exports.ANDROID_MODELS = { 'vivo 1611': ['Vivo', 'V5 Plus'], 'vivo 1718': ['Vivo', 'V7'], 'vivo 1716': ['Vivo', 'V7 Plus'], + 'vivo 1724': ['Vivo', 'Y71'], + 'vivo 1804': ['Vivo', 'V11 Pro'], + 'vivo 1805': ['Vivo', 'NEX'], + 'vivo 1816': ['Vivo', 'Y91'], + 'vivo 1818': ['Vivo', 'V15 Pro'], + 'vivo 1902': ['Vivo', 'Y17'], 'vivo X1': ['Vivo', 'X1'], 'vivo X1S': ['Vivo', 'X1S'], 'vivo X1St': ['Vivo', 'X1S'], @@ -16127,9 +16883,17 @@ exports.ANDROID_MODELS = { 'vivo Y928': ['Vivo', 'Y928'], 'VIV-vivo Y928': ['Vivo', 'Y928'], 'VIV-vivo Y937': ['Vivo', 'Y937'], - 'vivo Y937': ['Vivo', 'Y937'] + 'vivo Y937': ['Vivo', 'Y937'], }, + V1916A: ['Vivo', 'iQOO Pro'], + V2023: ['Vivo', 'V20 SE'], + V2028: ['Vivo', 'Y11s'], + V2041: ['Vivo', 'Y72'], + V2056A: ['Vivo', 'X60 Pro+'], + V2109: ['Vivo', 'Y33s'], + V2141A: ['Vivo', 'iQOO 8 Pro'], + VTAB1008: ['Vizio', 'VTAB1008', DeviceType.TABLET], VTAB3010: ['Vizio', 'VTAB3010', DeviceType.TABLET], VAP430: ['Vizio', 'Co-Star', DeviceType.TELEVISION, Flag.GOOGLETV], @@ -16391,15 +17155,20 @@ exports.ANDROID_MODELS = { FEVER: ['Wiko', 'Fever'], GETAWAY: ['Wiko', 'Getaway'], GOA: ['Wiko', 'Goa'], + HARRY: ['Wiko', 'Harry'], + 'W-V600': ['Wiko', 'Harry 2'], HIGHWAY: ['Wiko', 'Highway'], 'HIGHWAY PURE': ['Wiko', 'Highway Pure'], 'HIGHWAY SIGNS': ['Wiko', 'Highway Signs'], IGGY: ['Wiko', 'Iggy'], JIMMY: ['Wiko', 'Jimmy'], + 'W K300': ['Wiko', 'Jerry 3'], KITE: ['Wiko', 'Kite'], LENNY: ['Wiko', 'Lenny'], LENNY2: ['Wiko', 'Lenny 2'], LENNY3: ['Wiko', 'Lenny 3'], + Lenny4: ['Wiko', 'Lenny 4'], + 'W K400': ['Wiko', 'Lenny 5'], OZZY: ['Wiko', 'Ozzy'], PULP: ['Wiko', 'Pulp'], 'PULP 4G': ['Wiko', 'Pulp'], @@ -16416,12 +17185,29 @@ exports.ANDROID_MODELS = { SUBLIM: ['Wiko', 'Sublim'], SUNSET: ['Wiko', 'Sunset'], SUNSET2: ['Wiko', 'Sunset 2'], + 'U FEEL LITE': ['Wiko', 'U Feel Lite'], + 'U FEEL PRIME': ['Wiko', 'U Feel Prime'], + 'U PULSE LITE': ['Wiko', 'U Pulse Lite'], + View: ['Wiko', 'View'], + 'View XL': ['Wiko', 'View XL'], + 'W P200': ['Wiko', 'View Max'], + 'W C800': ['Wiko', 'View2'], + 'View2 Go': ['Wiko', 'View2 Go'], + 'W C860': ['Wiko', 'View2 Pro'], + 'View2 Plus': ['Wiko', 'View2 Plus'], + 'W-P311-EEA': ['Wiko', 'View3'], + 'W-V800-EEA': ['Wiko', 'View3 Lite'], + 'W-V830-EEA': ['Wiko', 'View4'], + 'W-V730-EEA': ['Wiko', 'View4 Lite'], + 'W-V851-EEA': ['Wiko', 'View5'], WAX: ['Wiko', 'Wax'], + 'WIM Lite': ['Wiko', 'Wim Lite'], 'Wileyfox Spark': ['Wileyfox', 'Spark'], 'Wileyfox Spark +': ['Wileyfox', 'Spark +'], 'Wileyfox Spark X': ['Wileyfox', 'Spark X'], 'Wileyfox Storm': ['Wileyfox', 'Storm'], 'Wileyfox Swift': ['Wileyfox', 'Swift'], + 'Swift 2': ['Wileyfox', 'Swift 2'], 'Swift 2 Plus': ['Wileyfox', 'Swift 2 Plus'], 'Swift 2 X': ['Wileyfox', 'Swift 2 X'], N5PRO2jingying: ['Window', 'N5 Pro 2', DeviceType.MEDIA], @@ -16475,7 +17261,7 @@ exports.ANDROID_MODELS = { 'miTab NEO': ['Wolder', 'miTab NEO', DeviceType.TABLET], 'miTab THINK': ['Wolder', 'miTab THINK', DeviceType.TABLET], 'miTab Seattle': ['Wolder', 'miTab SEATTLE', DeviceType.TABLET], - 'miTab URBAN': ['Wolder', 'miTab URBAN', DeviceType.TABLET] + 'miTab URBAN': ['Wolder', 'miTab URBAN', DeviceType.TABLET], }, 'AT-A[QS][0-9]{2,2}!!': { @@ -16505,7 +17291,7 @@ exports.ANDROID_MODELS = { 'AT-AS50Q': ['Wolfgang', 'AT-AS50Q'], 'AT-AS53N': ['Wolfgang', 'AT-AS53N'], 'AT-AS55HD': ['Wolfgang', 'AT-AS55HD'], - 'AT-AS55HD1': ['Wolfgang', 'AT-AS55HD1'] + 'AT-AS55HD1': ['Wolfgang', 'AT-AS55HD1'], }, M12: ['Wopad', 'M12', DeviceType.TABLET], @@ -16515,6 +17301,8 @@ exports.ANDROID_MODELS = { 'wm8710-tvbox': ['WonderMedia', 'WM8710', DeviceType.TELEVISION], 'WM8850-mid': ['WonderMedia', 'WM8850', DeviceType.TABLET], PAD1001: ['Wortmann', 'TERRA MOBILE PAD 1001', DeviceType.TABLET], + 'TERRA PAD 1004': ['Wortmann', 'TERRA PAD 1004', DeviceType.TABLET], + 'TERRA PAD 1005': ['Wortmann', 'TERRA PAD 1005', DeviceType.TABLET], 'Woxter!!': { 'Woxter android box 500': ['Woxter', 'Android TV 500', DeviceType.TELEVISION], @@ -16581,7 +17369,7 @@ exports.ANDROID_MODELS = { 'Woxter Nimbus 102Q': ['Woxter', 'Nimbus 102Q', DeviceType.TABLET], 'Woxter Nimbus1000': ['Woxter', 'Nimbus 1000', DeviceType.TABLET], 'Woxter Nimbus1100RX': ['Woxter', 'Nimbus 1100 RX', DeviceType.TABLET], - 'Woxter Smart Tab 80': ['Woxter', 'Smart Tab 80', DeviceType.TABLET] + 'Woxter Smart Tab 80': ['Woxter', 'Smart Tab 80', DeviceType.TABLET], }, 'Wxt Tab PC 65CXi': ['Woxter', 'Tablet PC 65 CXi', DeviceType.TABLET], @@ -16591,38 +17379,70 @@ exports.ANDROID_MODELS = { Xiaomi: ['Xiaomi', 'Mi 1'], '(Xiaomi )?(Xiaomi|Xiaomi M|MI)!!': { - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?(1|ONE)($| ?Plus| ?C)!': ['Xiaomi', 'Mi 1'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?(1|ONE)S!': ['Xiaomi', 'Mi 1S'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?(2|TWO)($|/|C|Plus)!': ['Xiaomi', 'Mi 2'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?(2|TWO)A!': ['Xiaomi', 'Mi 2A'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?(2|TWO)S!': ['Xiaomi', 'Mi 2S'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?(3|THREE)($|/|C|W|Plus)!': ['Xiaomi', 'Mi 3'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?4($|W| ?LTE)!': ['Xiaomi', 'Mi 4'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?4c!': ['Xiaomi', 'Mi 4c'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?4i!': ['Xiaomi', 'Mi 4i'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?4s!': ['Xiaomi', 'Mi 4s'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?5$!': ['Xiaomi', 'Mi 5'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?5c$!': ['Xiaomi', 'Mi 5c'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?5s$!': ['Xiaomi', 'Mi 5s'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?5s Plus$!': ['Xiaomi', 'Mi 5s Plus'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?5x$!': ['Xiaomi', 'Mi 5x'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?6$!': ['Xiaomi', 'Mi 6'], - '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ -]?A1$!': ['Xiaomi', 'Mi A1'] - }, + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?(1|ONE)($| ?Plus| ?C)!': ['Xiaomi', 'Mi 1'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?(1|ONE)S!': ['Xiaomi', 'Mi 1S'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?(2|TWO)($|\/|C|Plus)!': ['Xiaomi', 'Mi 2'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?(2|TWO)A!': ['Xiaomi', 'Mi 2A'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?(2|TWO)S!': ['Xiaomi', 'Mi 2S'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?(3|THREE)($|\/|C|W|Plus)!': ['Xiaomi', 'Mi 3'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?4($|W| ?LTE)!': ['Xiaomi', 'Mi 4'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?4c!': ['Xiaomi', 'Mi 4c'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?4i!': ['Xiaomi', 'Mi 4i'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?4s!': ['Xiaomi', 'Mi 4s'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?5$!': ['Xiaomi', 'Mi 5'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?5c$!': ['Xiaomi', 'Mi 5c'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?5s$!': ['Xiaomi', 'Mi 5s'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?5s Plus$!': ['Xiaomi', 'Mi 5s Plus'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?5x$!': ['Xiaomi', 'Mi 5x'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?6$!': ['Xiaomi', 'Mi 6'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?6X$!': ['Xiaomi', 'Mi 6X'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?7S$!': ['Xiaomi', 'Mi 7S'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?A1$!': ['Xiaomi', 'Mi A1'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?A2$!': ['Xiaomi', 'Mi A2'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?A2 Lite!': ['Xiaomi', 'Mi A2 Lite'], + '(Xiaomi )?(Xiaomi|Xiaomi M|MI)[ \-]?A3$!': ['Xiaomi', 'Mi A3'], + }, + + 'MI 8': ['Xiaomi', 'Mi 8'], + 'MI 8 SE': ['Xiaomi', 'Mi 8 SE'], + 'MI 8 UD': ['Xiaomi', 'Mi 8 UD'], + 'MI 8 Lite': ['Xiaomi', 'Mi 8 Lite'], + 'MI 8 Pro': ['Xiaomi', 'Mi 8 Pro'], + 'MI 9': ['Xiaomi', 'Mi 9'], + 'Mi 9 Lite': ['Xiaomi', 'Mi 9 Lite'], + 'Mi9 Pro 5G': ['Xiaomi', 'Mi 9 Pro'], + 'Mi 9 SE': ['Xiaomi', 'Mi 9 SE'], + 'Mi 9T': ['Xiaomi', 'Mi 9T'], + 'Mi 9T Pro': ['Xiaomi', 'Mi 9T Pro'], + 'Mi 10': ['Xiaomi', 'Mi 10'], + 'Mi 10 Pro': ['Xiaomi', 'Mi 10 Pro'], + 'Mi 10 Lite 5G': ['Xiaomi', 'Mi 10 Lite'], + 'Mi 10T Lite': ['Xiaomi', 'Mi 10T Lite'], + 'Mi 11': ['Xiaomi', 'Mi 11'], + 'Mi 11 Lite 5G': ['Xiaomi', 'Mi 11 Lite'], + 'Mi Note 10': ['Xiaomi', 'Mi Note 10'], + 'Mi Note 10 Lite': ['Xiaomi', 'Mi Note 10 Lite'], + 'Mi Note 10 Pro': ['Xiaomi', 'Mi Note 10 Pro'], '(Xiaomi|Xiaomi Mi|MI) Note!!': { '(Xiaomi|Xiaomi Mi|MI) Note (LTE|4G)$!': ['Xiaomi', 'Mi Note'], '(Xiaomi|Xiaomi Mi|MI) Note ?2!': ['Xiaomi', 'Mi Note 2'], '(Xiaomi|Xiaomi Mi|MI) Note ?3!': ['Xiaomi', 'Mi Note 3'], '(Xiaomi|Xiaomi Mi|MI) Note ?Plus!': ['Xiaomi', 'Mi Note Plus'], - '(Xiaomi|Xiaomi Mi|MI) Note ?Pro!': ['Xiaomi', 'Mi Note Pro'] + '(Xiaomi|Xiaomi Mi|MI) Note ?Pro!': ['Xiaomi', 'Mi Note Pro'], }, '(Xiaomi )?(MI )?MAX$!': ['Xiaomi', 'Mi Max'], '(Xiaomi )?(MI )?MAX 2$!': ['Xiaomi', 'Mi Max 2'], + '(Xiaomi )?(MI )?MAX 3$!': ['Xiaomi', 'Mi Max 3'], '(Xiaomi )?(MI )?MIX$!': ['Xiaomi', 'Mi MIX'], '(Xiaomi )?(MI )?MIX 2$!': ['Xiaomi', 'Mi MIX 2'], '(Xiaomi )?(MI )?MIX 2S$!': ['Xiaomi', 'Mi MIX 2S'], + 'MIX 3': ['Xiaomi', 'Mi MIX 3'], + 'Mi MIX 3': ['Xiaomi', 'Mi MIX 3'], + 'Mi MIX 3 5G': ['Xiaomi', 'Mi MIX 3'], + + 'MI PLAY': ['Xiaomi', 'Mi Play'], '(Xiaomi )?20!!': { '(Xiaomi )?20130(61)!': ['Xiaomi', 'Mi 3'], @@ -16631,7 +17451,7 @@ exports.ANDROID_MODELS = { '(Xiaomi )?20131(22)!': ['Xiaomi', 'Mi Note'], '(Xiaomi )?20146(18)!': ['Xiaomi', 'Mi Note'], '(Xiaomi )?20155(01)!': ['Xiaomi', 'Mi Note Pro'], - '(Xiaomi )?20156(11)!': ['Xiaomi', 'Mi Note 3'] + '(Xiaomi )?20156(11)!': ['Xiaomi', 'Mi Note 3'], }, '(Xiaomi )?(Redmi|RedRice|HM)!!': { @@ -16651,21 +17471,45 @@ exports.ANDROID_MODELS = { '(Xiaomi )?(Redmi|HM) ?5$!': ['Xiaomi', 'Redmi 5'], '(Xiaomi )?(Redmi|HM) ?5 Plus!': ['Xiaomi', 'Redmi 5 Plus'], '(Xiaomi )?(Redmi|HM) ?5A!': ['Xiaomi', 'Redmi 5A'], - '(Xiaomi )?Redmi[ -]S2$!': ['Xiaomi', 'Redmi S2'], - '(Xiaomi )?Redmi[ -]Y1$!': ['Xiaomi', 'Redmi Y1'], - '(Xiaomi )?Redmi[ -]Y1 Lite!': ['Xiaomi', 'Redmi Y1 Lite'] - }, - - '(Xiaomi )?(Redmi|HM)[ -]?Note!!': { - '(Xiaomi )?(Redmi|HM) ?Note([ -]?1| LTE| 4G|$)!': ['Xiaomi', 'Redmi Note'], - '(Xiaomi )?(Redmi|HM)[ -]Note 2$!': ['Xiaomi', 'Redmi Note 2'], - '(Xiaomi )?Redmi[ -]Note 3$!': ['Xiaomi', 'Redmi Note 3'], - '(Xiaomi )?Redmi[ -]Note 3 Pro!': ['Xiaomi', 'Redmi Note 3 Pro'], - '(Xiaomi )?Redmi[ -]Note ?4$!': ['Xiaomi', 'Redmi Note 4'], - '(Xiaomi )?Redmi[ -]Note ?4X!': ['Xiaomi', 'Redmi Note 4X'], - '(Xiaomi )?Redmi[ -]Note ?5$!': ['Xiaomi', 'Redmi Note 5'], - '(Xiaomi )?Redmi[ -]Note ?5A!': ['Xiaomi', 'Redmi Note 5A'], - '(Xiaomi )?Redmi[ -]Note 5 Pro!': ['Xiaomi', 'Redmi Note 5 Pro'] + '(Xiaomi )?(Redmi|HM) ?6$!': ['Xiaomi', 'Redmi 6'], + '(Xiaomi )?(Redmi|HM) ?6A!': ['Xiaomi', 'Redmi 6A'], + '(Xiaomi )?(Redmi|HM) ?6 Pro!': ['Xiaomi', 'Redmi 6 Pro'], + '(Xiaomi )?(Redmi|HM) ?7$!': ['Xiaomi', 'Redmi 7'], + '(Xiaomi )?(Redmi|HM) ?7A!': ['Xiaomi', 'Redmi 7A'], + '(Xiaomi )?(Redmi|HM) ?8$!': ['Xiaomi', 'Redmi 8'], + '(Xiaomi )?(Redmi|HM) ?8A!': ['Xiaomi', 'Redmi 8A'], + '(Xiaomi )?(Redmi|HM) ?9C!': ['Xiaomi', 'Redmi 9C'], + '(Xiaomi )?(Redmi|HM) ?9T!': ['Xiaomi', 'Redmi 9T'], + '(Xiaomi )?Redmi[ \-]K20$!': ['Xiaomi', 'Redmi K20'], + '(Xiaomi )?Redmi[ \-]K20 Pro!': ['Xiaomi', 'Redmi K20 Pro'], + '(Xiaomi )?Redmi[ \-]K30 5G!': ['Xiaomi', 'Redmi K30'], + '(Xiaomi )?Redmi[ \-]K30 Pro!': ['Xiaomi', 'Redmi K30 Pro'], + '(Xiaomi )?Redmi[ \-]S2$!': ['Xiaomi', 'Redmi S2'], + '(Xiaomi )?Redmi[ \-]Y1$!': ['Xiaomi', 'Redmi Y1'], + '(Xiaomi )?Redmi[ \-]Y1 Lite!': ['Xiaomi', 'Redmi Y1 Lite'], + '(Xiaomi )?Redmi[ \-]Y2$!': ['Xiaomi', 'Redmi Y2'], + '(Xiaomi )?Redmi[ \-]Go$!': ['Xiaomi', 'Redmi Go'], + }, + + '(Xiaomi )?(Redmi|HM)[ \-]?Note!!': { + '(Xiaomi )?(Redmi|HM) ?Note([ \-]?1| LTE| 4G|$)!': ['Xiaomi', 'Redmi Note'], + '(Xiaomi )?(Redmi|HM)[ \-]Note 2$!': ['Xiaomi', 'Redmi Note 2'], + '(Xiaomi )?Redmi[ \-]Note 3$!': ['Xiaomi', 'Redmi Note 3'], + '(Xiaomi )?Redmi[ \-]Note 3 Pro!': ['Xiaomi', 'Redmi Note 3 Pro'], + '(Xiaomi )?Redmi[ \-]Note ?4$!': ['Xiaomi', 'Redmi Note 4'], + '(Xiaomi )?Redmi[ \-]Note ?4X!': ['Xiaomi', 'Redmi Note 4X'], + '(Xiaomi )?Redmi[ \-]Note ?5$!': ['Xiaomi', 'Redmi Note 5'], + '(Xiaomi )?Redmi[ \-]Note ?5A!': ['Xiaomi', 'Redmi Note 5A'], + '(Xiaomi )?Redmi[ \-]Note 5 Pro!': ['Xiaomi', 'Redmi Note 5 Pro'], + '(Xiaomi )?Redmi[ \-]Note 6 Pro!': ['Xiaomi', 'Redmi Note 6 Pro'], + '(Xiaomi )?Redmi[ \-]Note 7$!': ['Xiaomi', 'Redmi Note 7'], + '(Xiaomi )?Redmi[ \-]Note 7 Pro!': ['Xiaomi', 'Redmi Note 7 Pro'], + '(Xiaomi )?Redmi[ \-]Note 8$!': ['Xiaomi', 'Redmi Note 8'], + '(Xiaomi )?Redmi[ \-]Note 8 Pro!': ['Xiaomi', 'Redmi Note 8 Pro'], + '(Xiaomi )?Redmi[ \-]Note 8T!': ['Xiaomi', 'Redmi Note 8T'], + '(Xiaomi )?Redmi[ \-]Note 9$!': ['Xiaomi', 'Redmi Note 9'], + '(Xiaomi )?Redmi[ \-]Note 9S!': ['Xiaomi', 'Redmi Note 9S'], + '(Xiaomi )?Redmi[ \-]Note 9 Pro!': ['Xiaomi', 'Redmi Note 9 Pro'], }, '(Xiaomi |HM)?20!!': { @@ -16685,13 +17529,82 @@ exports.ANDROID_MODELS = { '(Xiaomi |HM)?20147(15)!': ['Xiaomi', 'Redmi Note'], '(Xiaomi |HM)?20149(11)!': ['Xiaomi', 'Redmi Note'], '(Xiaomi |HM)?20150(52)!': ['Xiaomi', 'Redmi Note 2'], - '(Xiaomi |HM)?20160(51)!': ['Xiaomi', 'Redmi Note 4'] - }, + '(Xiaomi |HM)?20160(51)!': ['Xiaomi', 'Redmi Note 4'], + }, + + '21061119DG': ['Xiaomi', 'Redmi 10'], + '2201117TY': ['Xiaomi', 'Redmi Note 11'], + + '2107113SG': ['Xiaomi', 'Mi 11T Pro'], + '21081111RG': ['Xiaomi', 'Mi 11T'], + '2201122G': ['Xiaomi', 'Mi 12 Pro'], + '2201123G': ['Xiaomi', 'Mi 12'], + + '21091116AG': ['Xiaomi', 'Poco M4 Pro'], + '2201116PG': ['Xiaomi', 'Poco X4 Pro'], + + M1908C3JGG: ['Xiaomi', 'Redmi Note 8 (2021)'], + M2002J9G: ['Xiaomi', 'Mi 10 Lite'], + M2003J15SC: ['Xiaomi', 'Redmi Note 9'], + M2004J19C: ['Xiaomi', 'Redmi 9'], + M2004J7BC: ['Xiaomi', 'Redmi 10X Pro'], + M2006C3LG: ['Xiaomi', 'Redmi 9A'], + M2006C3LVG: ['Xiaomi', 'Redmi 9AT'], + M2006C3MG: ['Xiaomi', 'Redmi 9C'], + M2006C3MII: ['Xiaomi', 'Redmi 9'], + M2006C3MNG: ['Xiaomi', 'Redmi 9C'], + M2007J17G: ['Xiaomi', 'Mi 10T Lite'], + M2007J1SC: ['Xiaomi', 'Mi 10 Ultra'], + M2007J20CG: ['Xiaomi', 'Poco X3'], + M2007J22G: ['Xiaomi', 'Redmi Note 9T'], + M2007J3SG: ['Xiaomi', 'Mi 10T Pro'], + M2007J3SY: ['Xiaomi', 'Mi 10T'], + M2010J19CG: ['Xiaomi', 'Poco M3'], + M2010J19SG: ['Xiaomi', 'Redmi 9T'], + M2010J19SY: ['Xiaomi', 'Redmi 9T'], + M2011K2C: ['Xiaomi', 'Mi 11'], + M2011K2G: ['Xiaomi', 'Mi 11'], + M2012K11AG: ['Xiaomi', 'Poco F3'], + M2012K11AC: ['Xiaomi', 'Redmi K40'], + M2012K10C: ['Xiaomi', 'Redmi K40 Gaming'], + M2012K11G: ['Xiaomi', 'Mi 11i'], + M2101K6G: ['Xiaomi', 'Redmi Note 10 Pro'], + M2101K6P: ['Xiaomi', 'Redmi Note 10 Pro'], + M2101K7AG: ['Xiaomi', 'Redmi Note 10'], + M2101K7BG: ['Xiaomi', 'Redmi Note 10s'], + M2101K7BNY: ['Xiaomi', 'Redmi Note 10s'], + M2101K9AG: ['Xiaomi', 'Mi 11 Lite'], + M2101K9C: ['Xiaomi', 'Mi 11 Lite'], + M2101K9G: ['Xiaomi', 'Mi 11 Lite'], + M2102J20SG: ['Xiaomi', 'Poco X3 Pro'], + M2102J20SI: ['Xiaomi', 'Poco X3 Pro'], + M2102K1AC: ['Xiaomi', 'Mi 11 Pro'], + M2102K1C: ['Xiaomi', 'Mi 11 Ultra'], + M2102K1G: ['Xiaomi', 'Mi 11 Ultra'], + M2103K19G: ['Xiaomi', 'Redmi Note 10'], + M2103K19PG: ['Xiaomi', 'Poco M3 Pro'], + + '(Xiaomi |HM)?21!!': { + '(Xiaomi |HM)?21091(19)!': ['Xiaomi', 'Mi 11 Lite'], + }, + + 'POCOPHONE F1': ['Xiaomi', 'Pocophone F1'], + 'POCO F1': ['Xiaomi', 'Pocophone F1'], + 'POCO F2 Pro': ['Xiaomi', 'Poco F2 Pro'], + 'POCO X2': ['Xiaomi', 'Poco X2'], + 'POCO X3 NFC': ['Xiaomi', 'Poco X3'], + 'POCO X3 Pro': ['Xiaomi', 'Poco X3 Pro'], + + 'SKR-H0': ['Xiaomi', 'Black Shark'], + 'DLT-H0': ['Xiaomi', 'Black Shark 2 Pro'], + 'SHARK PRS-H0': ['Xiaomi', 'Black Shark 4'], 'Xiaomi MDT2!': ['Xiaomi', 'Mi 5x'], 'Xiaomi MCT1!': ['Xiaomi', 'Mi 6'], 'Xiaomi MAT136!': ['Xiaomi', 'Redmi 4X'], 'Xiaomi MBT6A5!': ['Xiaomi', 'Redmi Note 4X'], + 'Xiaomi 11 Lite 5G NE': ['Xiaomi', '11 Lite'], + 'Xiaomi 11T Pro': ['Xiaomi', '11T Pro'], aqua: ['Xiaomi', 'Mi 4s'], capricorn: ['Xiaomi', 'Mi 5s'], @@ -16722,16 +17635,20 @@ exports.ANDROID_MODELS = { '(Xiaomi|Xiaomi Mi|MI) Pad!!': { '(Xiaomi|Xiaomi Mi|MI) Pad$!': ['Xiaomi', 'Mi Pad', DeviceType.TABLET], '(Xiaomi|Xiaomi Mi|MI) Pad 2!': ['Xiaomi', 'Mi Pad 2', DeviceType.TABLET], - '(Xiaomi|Xiaomi Mi|MI) Pad 3!': ['Xiaomi', 'Mi Pad 3', DeviceType.TABLET] + '(Xiaomi|Xiaomi Mi|MI) Pad 3!': ['Xiaomi', 'Mi Pad 3', DeviceType.TABLET], + '(Xiaomi|Xiaomi Mi|MI) Pad 4$!': ['Xiaomi', 'Mi Pad 4', DeviceType.TABLET], + '(Xiaomi|Xiaomi Mi|MI) Pad 4 Plus!': ['Xiaomi', 'Mi Pad 4 Plus', DeviceType.TABLET], }, + '21051182G': ['Xiaomi', 'Mi Pad 5', DeviceType.TABLET], + '(Xiaomi|Xiaomi Mi|MI)Box!!': { 'MiBOX iCNTV': ['Xiaomi', 'Mi Box 1', DeviceType.TELEVISION], '(Xiaomi|Xiaomi Mi|MI)Box1S!': ['Xiaomi', 'Mi Box 1S', DeviceType.TELEVISION], '(Xiaomi|Xiaomi Mi|MI)Box2$!': ['Xiaomi', 'Mi Box 2', DeviceType.TELEVISION], '(Xiaomi|Xiaomi Mi|MI)Box3$!': ['Xiaomi', 'Mi Box 3', DeviceType.TELEVISION], '(Xiaomi|Xiaomi Mi|MI)Box3S!': ['Xiaomi', 'Mi Box 3S', DeviceType.TELEVISION], - '(Xiaomi|Xiaomi Mi|MI)Box3 Pro!': ['Xiaomi', 'Mi Box 3 Pro', DeviceType.TELEVISION] + '(Xiaomi|Xiaomi Mi|MI)Box3 Pro!': ['Xiaomi', 'Mi Box 3 Pro', DeviceType.TELEVISION], }, '(Xiaomi|Xiaomi Mi|MI)TV!!': { @@ -16740,7 +17657,7 @@ exports.ANDROID_MODELS = { '(Xiaomi|Xiaomi Mi|MI)TV2S!': ['Xiaomi', 'Mi TV 2S', DeviceType.TELEVISION], '(Xiaomi|Xiaomi Mi|MI)TV3($|-)!': ['Xiaomi', 'Mi TV 3', DeviceType.TELEVISION], '(Xiaomi|Xiaomi Mi|MI)TV4($|-)!': ['Xiaomi', 'Mi TV 4', DeviceType.TELEVISION], - '(Xiaomi|Xiaomi Mi|MI)TV4A!': ['Xiaomi', 'Mi TV 4A', DeviceType.TELEVISION] + '(Xiaomi|Xiaomi Mi|MI)TV4A!': ['Xiaomi', 'Mi TV 4A', DeviceType.TELEVISION], }, 'XO Learning tablet': ['XO', 'Tablet', DeviceType.TABLET], @@ -16804,7 +17721,7 @@ exports.ANDROID_MODELS = { X900: ['XOLO', 'X900'], 'Xolo X900': ['XOLO', 'X900'], 'XOLO X910': ['XOLO', 'X910'], - 'XOLO X1000': ['XOLO', 'X1000'] + 'XOLO X1000': ['XOLO', 'X1000'], }, BLACK: ['XOLO', 'Black'], @@ -16970,7 +17887,7 @@ exports.ANDROID_MODELS = { 'ANDY 6EL LTE': ['Yezz', 'Andy 6EL'], 'YEZZ-6Q': ['Yezz', 'Andy 6Q'], 'Andy 6Q': ['Yezz', 'Andy 6Q'], - 'Yezz-T7FD': ['Yezz', 'Epic T7FD', DeviceType.TABLET] + 'Yezz-T7FD': ['Yezz', 'Epic T7FD', DeviceType.TABLET], }, C868: ['Yicheer', 'C868'], @@ -17096,7 +18013,7 @@ exports.ANDROID_MODELS = { 'ultrafone 504': ['Zen', 'Ultrafone 504'], 'ultrafone 506': ['Zen', 'Ultrafone 506'], 'ultrafone 701HD': ['Zen', 'Ultrafone 701HD'], - 'ultrafone 701FHD': ['Zen', 'Ultrafone 701FHD'] + 'ultrafone 701FHD': ['Zen', 'Ultrafone 701FHD'], }, 'ZIGO EON5I': ['Zigo', 'Eon 5i'], @@ -17116,7 +18033,7 @@ exports.ANDROID_MODELS = { 'ZTE A[0-9]{3,3}!!': { 'ZTE A880': ['ZTE', 'Xiao Xian'], - 'ZTE A905L': ['ZTE', 'A905L'] + 'ZTE A905L': ['ZTE', 'A905L'], }, 'ZTE B[0-9]{3,3}!!': { @@ -17124,7 +18041,7 @@ exports.ANDROID_MODELS = { 'ZTE B792': ['ZTE', 'Boost Kuta'], 'ZTE B795': ['ZTE', 'Boost Icon Nero'], 'ZTE B816': ['ZTE', 'Boost INDY'], - 'ZTE B880': ['ZTE', 'Xiao Xian 2'] + 'ZTE B880': ['ZTE', 'Xiao Xian 2'], }, 'ZTE BA[0-9]{3,3}!!': { @@ -17139,7 +18056,7 @@ exports.ANDROID_MODELS = { 'ZTE BA611T': ['ZTE', 'BA611T'], 'ZTE BA620': ['ZTE', 'Blade X3'], 'ZTE BA910': ['ZTE', 'Blade A910'], - 'ZTE BA910T': ['ZTE', 'Blade A910'] + 'ZTE BA910T': ['ZTE', 'Blade A910'], }, 'ZTE BV0[0-9]{3,3}!!': { @@ -17150,7 +18067,7 @@ exports.ANDROID_MODELS = { 'ZTE BV0720T': ['ZTE', 'Blade A2'], 'ZTE BV0730': ['ZTE', 'Blade A2 Plus'], 'ZTE BV0800': ['ZTE', 'Blade V8'], - 'ZTE BV0870': ['ZTE', 'BV0870'] + 'ZTE BV0870': ['ZTE', 'BV0870'], }, 'ZTE C[0-9]{3,3}!!': { @@ -17159,7 +18076,7 @@ exports.ANDROID_MODELS = { 'ZTE C880A': ['ZTE', 'Blade A1'], 'ZTE C880D': ['ZTE', 'C880D'], 'ZTE C880S': ['ZTE', 'Xiao Xian 3'], - 'ZTE C880U': ['ZTE', 'Blade A1'] + 'ZTE C880U': ['ZTE', 'Blade A1'], }, 'ZTE C N[0-9]{3,3}!!': { @@ -17168,17 +18085,17 @@ exports.ANDROID_MODELS = { 'ZTE C N700': ['ZTE', 'C N700'], 'ZTE C N760': ['ZTE', 'C N760'], 'ZTE C N780': ['ZTE', 'C N780'], - 'ZTE C N880!': ['ZTE', 'Blade'] + 'ZTE C N880!': ['ZTE', 'Blade'], }, 'ZTE C R[0-9]{3,3}!!': { 'ZTE C R750': ['ZTE', 'C R750'], - 'ZTE C R750+': ['ZTE', 'C R750'] + 'ZTE C R750+': ['ZTE', 'C R750'], }, 'ZTE C X[0-9]{3,3}!!': { 'ZTE C X500': ['ZTE', 'Score'], - 'ZTE C X920': ['ZTE', 'C X920'] + 'ZTE C X920': ['ZTE', 'C X920'], }, 'ZTE ?G[0-9]{3,3}!!': { @@ -17188,7 +18105,7 @@ exports.ANDROID_MODELS = { 'ZTE G719C': ['ZTE', 'G719C'], 'ZTE G720C': ['ZTE', 'G720C'], 'ZTE ?G720T!': ['ZTE', 'G720T'], - 'ZTE G721C': ['ZTE', 'G721C'] + 'ZTE G721C': ['ZTE', 'G721C'], }, '(ZTE ?)?N[0-9]{3,3}!!': { @@ -17236,7 +18153,7 @@ exports.ANDROID_MODELS = { 'ZTE N980': ['ZTE', 'N980'], 'ZTE N983': ['ZTE', 'N983'], N986: ['ZTE', 'N986'], - 'ZTE N986': ['ZTE', 'N986'] + 'ZTE N986': ['ZTE', 'N986'], }, '(ZXY-)?(ZTE )?N[0-9]{4,4}!!': { @@ -17260,7 +18177,7 @@ exports.ANDROID_MODELS = { N9520: ['ZTE', 'Stormer'], N9521: ['ZTE', 'Boost Max+'], N9810: ['ZTE', 'Vital'], - N9835: ['ZTE', 'Grand S Pro'] + N9835: ['ZTE', 'Grand S Pro'], }, '(ZXY-)?NX[0-9]{2,3}!!': { @@ -17293,17 +18210,20 @@ exports.ANDROID_MODELS = { NX563J: ['ZTE', 'Nubia Z17'], NX569H: ['ZTE', 'Nubia Z17 Mini'], NX513J: ['ZTE', 'Nubia My Prague'], - NX601J: ['ZTE', 'Nubia X6'] + NX601J: ['ZTE', 'Nubia X6'], + NX659J: ['ZTE', 'Nubia Red Magic'], + NX629J: ['ZTE', 'Nubia Red Magic 3'], + NX669J: ['ZTE', 'Nubia Red Magic 6'], }, 'ZTE K813': ['ZTE', 'K813'], 'ZTE M[0-9]{3,3}!!': { - 'ZTE M901C': ['ZTE', 'Grand Memo 2'] + 'ZTE M901C': ['ZTE', 'Grand Memo 2'], }, 'ZTE P[0-9]{3,3}!!': { - 'ZTE P727A': ['ZTE', 'P722A'] + 'ZTE P727A': ['ZTE', 'P722A'], }, 'ZTE ?Q[0-9]{3,3}!!': { @@ -17330,7 +18250,7 @@ exports.ANDROID_MODELS = { 'ZTE Q802D': ['ZTE', 'Q802D'], 'ZTE ?Q802T!': ['ZTE', 'Q802T'], 'ZTE Q805T': ['ZTE', 'Q805T'], - 'ZTE Q806T': ['ZTE', 'Q806T'] + 'ZTE Q806T': ['ZTE', 'Q806T'], }, 'ZTE Q[0-9]!!': { @@ -17338,18 +18258,18 @@ exports.ANDROID_MODELS = { 'ZTE Q2S-T': ['ZTE', 'Q2S-T'], 'ZTE Q5-T': ['ZTE', 'Q5-T'], 'ZTE Q7': ['ZTE', 'Q7'], - 'ZTE Q7-C': ['ZTE', 'Q7-C'] + 'ZTE Q7-C': ['ZTE', 'Q7-C'], }, 'ZTE R[0-9]{3,3}!!': { - 'ZTE R880H': ['ZTE', 'Spark'] + 'ZTE R880H': ['ZTE', 'Spark'], }, 'ZTE S[0-9]{3,3}!!': { 'ZTE S118': ['ZTE', 'Grand S Lite'], 'ZTE S158': ['ZTE', 'S158'], 'ZTE S251': ['ZTE', 'Grand S II'], - 'ZTE S291': ['ZTE', 'Grand S II'] + 'ZTE S291': ['ZTE', 'Grand S II'], }, 'ZTE T[0-9]!!': { @@ -17383,7 +18303,7 @@ exports.ANDROID_MODELS = { 'ZTE T815': ['ZTE', 'Tempo'], // Telstra 'ZTE T816': ['ZTE', 'Smart Plus'], // Telstra 'ZTE T912': ['ZTE', 'Blade S6 Lite'], - 'ZTE T920': ['ZTE', 'Blade S7'] + 'ZTE T920': ['ZTE', 'Blade S7'], }, 'ZTE T ?U[0-9]{3,3}!!': { @@ -17397,7 +18317,7 @@ exports.ANDROID_MODELS = { 'ZTE T U830': ['ZTE', 'T U830'], 'ZTE T ?U880!': ['ZTE', 'Blade'], 'ZTE T ?U900!': ['ZTE', 'T U900'], - 'ZTE T ?U960!': ['ZTE', 'T U960'] + 'ZTE T ?U960!': ['ZTE', 'T U960'], }, '(ZTE ?)?U[0-9]{3,3}!!': { @@ -17436,15 +18356,15 @@ exports.ANDROID_MODELS = { 'ZTE U969': ['ZTE', 'U969'], 'ZTE U970!': ['ZTE', 'Grand X'], 'ZTE U985': ['ZTE', 'Grand Era'], - 'ZTE U988S': ['ZTE', 'Geek'] + 'ZTE U988S': ['ZTE', 'Geek'], }, 'ZTE U N[0-9]{3,3}!!': { 'ZTE U N720': ['ZTE', 'U N720'], - 'ZTE U N721': ['ZTE', 'U N721'] + 'ZTE U N721': ['ZTE', 'U N721'], }, - 'ZTE U[ (-]V[)-]?[0-9]{3,3}!!': { + 'ZTE U[ \(\-]V[\)\-]?[0-9]{3,3}!!': { 'ZTE U V760': ['ZTE', 'U V760'], 'ZTE U V852': ['ZTE', 'Dreamer'], 'ZTE U V856': ['ZTE', 'Mimosa Mini'], @@ -17456,12 +18376,12 @@ exports.ANDROID_MODELS = { 'ZTE U(V)880+': ['ZTE', 'Blade'], 'ZTE U V881': ['ZTE', 'Blade II'], 'ZTE U V889D': ['ZTE', 'U V889D'], - 'ZTE U V960': ['ZTE', 'Skate'] + 'ZTE U V960': ['ZTE', 'Skate'], }, 'ZTE U X[0-9]{3,3}!!': { 'ZTE U X850': ['ZTE', 'Racer'], - 'ZTE U X876': ['ZTE', 'U X876'] + 'ZTE U X876': ['ZTE', 'U X876'], }, '(ZTE ?)?V[0-9]{3,3}[A-Z]!!': { @@ -17491,7 +18411,7 @@ exports.ANDROID_MODELS = { ZTEv967s: ['ZTE', 'V967S'], 'ZTE V970M!': ['ZTE', 'Grand X'], 'ZTE V970T': ['ZTE', 'Grand X'], - 'ZTE V993W': ['ZTE', 'Nubia V5'] + 'ZTE V993W': ['ZTE', 'Nubia V5'], }, '(ZTE ?)?V ?[0-9]{3,3}!!': { @@ -17530,7 +18450,7 @@ exports.ANDROID_MODELS = { 'ZTE V985 Grand Era': ['ZTE', 'Grand Era'], 'ZTE V ?987!': ['ZTE', 'Grand X Quad'], 'ZTE V988': ['ZTE', 'Grand S'], - 'ZTE V998': ['ZTE', 'Grand S'] + 'ZTE V998': ['ZTE', 'Grand S'], }, '(ZTE ?)?X[0-9]{3,3}!!': { @@ -17540,7 +18460,7 @@ exports.ANDROID_MODELS = { 'X501 USA Cricket': ['ZTE', 'Groove'], 'X501 USA RS': ['ZTE', 'Groove'], 'ZTE X850': ['ZTE', 'Racer'], - 'ZTE X876': ['ZTE', 'Raise'] + 'ZTE X876': ['ZTE', 'Raise'], }, '(ZTE )?Z[0-9]!!': { @@ -17644,7 +18564,7 @@ exports.ANDROID_MODELS = { Z992: ['ZTE', 'Avail 2'], 'ZTE Z993': ['ZTE', 'Prelude'], 'ZTE Z995': ['ZTE', 'Overture'], - 'ZTE Z998': ['ZTE', 'Unico'] + 'ZTE Z998': ['ZTE', 'Unico'], }, '(ZTE )?Blade!!': { @@ -17794,7 +18714,7 @@ exports.ANDROID_MODELS = { 'ZTE Blade Vec Pro': ['ZTE', 'Blade Vec Pro'], 'ZTE Blade X3': ['ZTE', 'Blade X3'], 'ZTE Blade X7': ['ZTE', 'Blade X7'], - 'ZTE Blade X9': ['ZTE', 'Blade X9'] + 'ZTE Blade X9': ['ZTE', 'Blade X9'], }, 'ZTE Geek!!': { @@ -17804,7 +18724,7 @@ exports.ANDROID_MODELS = { 'ZTE GEEK II 4G': ['ZTE', 'Geek II'], 'ZTE Geek 2 pro': ['ZTE', 'Geek II Pro'], 'ZTE GEEK II Pro': ['ZTE', 'Geek II Pro'], - 'ZTE GEEK II Pro 4G': ['ZTE', 'Geek II Pro'] + 'ZTE GEEK II Pro 4G': ['ZTE', 'Geek II Pro'], }, '(ZTE )?(Grand|Mimosa)!!': { @@ -17832,7 +18752,7 @@ exports.ANDROID_MODELS = { 'Grand X2': ['ZTE', 'Grand X2'], 'ZTE Grand X2': ['ZTE', 'Grand X2'], 'ZTE Grand X 2': ['ZTE', 'Grand X2'], - 'ZTE Grand X2 In': ['ZTE', 'Grand X2'] + 'ZTE Grand X2 In': ['ZTE', 'Grand X2'], }, '(ZTE )?Kis!!': { @@ -17851,20 +18771,20 @@ exports.ANDROID_MODELS = { 'ZTE Kis 3': ['ZTE', 'Kis 3'], 'ZTE Kis3 max': ['ZTE', 'Kis 3 Max'], 'KIS C341': ['ZTE', 'Kis C341'], - 'Kis T3': ['ZTE', 'Kis T3'] + 'Kis T3': ['ZTE', 'Kis T3'], }, '(ZTE )?Racer!!': { 'ZTE Racer': ['ZTE', 'Racer'], Racer: ['ZTE', 'Racer'], - RacerII: ['ZTE', 'Racer II'] + RacerII: ['ZTE', 'Racer II'], }, '(ZTE )?Skate!!': { Skate: ['ZTE', 'Skate'], 'ZTE Skate': ['ZTE', 'Skate'], 'Skate Pro': ['ZTE', 'Skate Pro'], - 'ZTE Skate 2': ['ZTE', 'Skate 2'] + 'ZTE Skate 2': ['ZTE', 'Skate 2'], }, 'ZTE Libra': ['ZTE', 'Libra'], @@ -17956,6 +18876,8 @@ exports.ANDROID_MODELS = { 'ZTE A2017': ['ZTE', 'Axon 7'], 'ZTE A2017G': ['ZTE', 'Axon 7'], 'ZTE A2017U': ['ZTE', 'Axon 7'], + 'ZTE A2020G Pro': ['ZTE', 'Axon 10 Pro'], + 'ZTE A2022PG': ['ZTE', 'Axon 30 Ultra'], 'ZTE B2015': ['ZTE', 'Axon Mini'], 'ZTE B2016': ['ZTE', 'Axon Mini'], 'ZTE B2017': ['ZTE', 'Axon Mini'], @@ -18068,7 +18990,7 @@ exports.ANDROID_MODELS = { 'ZP990+': ['Zopo', 'ZP990+'], ZP998: ['Zopo', 'ZP998 C2 II'], 'ZOPO ZP998': ['Zopo', 'ZP998 C2 II'], - ZP999: ['Zopo', 'ZP999 Lion Heart'] + ZP999: ['Zopo', 'ZP999 Lion Heart'], }, C2: ['Zopo', 'ZP960 C2'], @@ -18087,7 +19009,7 @@ exports.ANDROID_MODELS = { 'BASE Lutea 3': ['BASE', 'Lutea 3'], 'BASE Varia': ['BASE', 'Varia'], 'BASE Tab': ['BASE', 'TAB', DeviceType.TABLET], - 'BASE Tab 7.1': ['BASE', 'TAB 7-1', DeviceType.TABLET] + 'BASE Tab 7.1': ['BASE', 'TAB 7-1', DeviceType.TABLET], }, 'Beeline!!': { @@ -18113,7 +19035,7 @@ exports.ANDROID_MODELS = { 'Beeline Tab IS': ['Beeline', 'Tab IS', DeviceType.TABLET], 'Beeline Tab Fast': ['Beeline', 'Tab Fast', DeviceType.TABLET], 'Beeline Tab Fast 2': ['Beeline', 'Tab Fast 2', DeviceType.TABLET], - 'Beeline Tab Pro': ['Beeline', 'Tab Pro', DeviceType.TABLET] + 'Beeline Tab Pro': ['Beeline', 'Tab Pro', DeviceType.TABLET], }, 'Bouygues Telecom Bs 351': ['Bouygues', 'Bs 351'], @@ -18198,6 +19120,8 @@ exports.ANDROID_MODELS = { 'GM 5 Plus d': ['General Mobile', 'GM5 Plus'], 'GM 6': ['General Mobile', 'GM6'], 'GM 6 d': ['General Mobile', 'GM6'], + 'GM 8 d': ['General Mobile', 'GM8'], + 'GM8 go': ['General Mobile', 'GM8 Go'], 'GM Discovery tab 8': ['General Mobile', 'tab 8', DeviceType.TABLET], etab5: ['General Mobile', 'Etab 5', DeviceType.TABLET], @@ -18332,13 +19256,13 @@ exports.ANDROID_MODELS = { 'i-mobile i-note 3': ['i-Mobile', 'i-Note 3', DeviceType.TABLET], 'i-mobile i-note WIFI3': ['i-Mobile', 'i-Note 3', DeviceType.TABLET], 'i-mobile i-note WiFi 7': ['i-Mobile', 'i-Note 7', DeviceType.TABLET], - 'i-mobile i-note WiFi 9': ['i-Mobile', 'i-Note 9', DeviceType.TABLET] + 'i-mobile i-note WiFi 9': ['i-Mobile', 'i-Note 9', DeviceType.TABLET], }, 'KPN!!': { 'KPN Smart 200': ['KPN', 'Smart 200'], 'KPN Smart 300': ['KPN', 'Smart 300'], - 'KPN Smart 400': ['KPN', 'Smart 400'] + 'KPN Smart 400': ['KPN', 'Smart 400'], }, 'Kyivstar!!': { @@ -18346,7 +19270,7 @@ exports.ANDROID_MODELS = { 'Kyivstar Shine': ['Kyivstar', 'Shine'], 'Kyivstar Spark': ['Kyivstar', 'Spark'], 'Kyivstar Aqua': ['Kyivstar', 'Aqua'], - 'Kyivstar Terra': ['Kyivstar', 'Terra'] + 'Kyivstar Terra': ['Kyivstar', 'Terra'], }, 'MegaFon SP-AI': ['Мегафон', 'SP-A1'], @@ -18405,7 +19329,7 @@ exports.ANDROID_MODELS = { 'MTC SMART Run': ['MTC', 'Smart Run'], 'MTC SMART Run 4G': ['MTC', 'Smart Run'], 'MTC SMART Sprint 4G': ['MTC', 'Smart Sprint'], - 'MTC Viva': ['MTC', 'Viva'] + 'MTC Viva': ['MTC', 'Viva'], }, 'SMART Sprint': ['MTC', 'Smart Sprint'], @@ -18597,10 +19521,39 @@ exports.ANDROID_MODELS = { 'QMobile Z8': ['Q-Mobile', 'Noir Z8'], 'QMobile Z8 Plus': ['Q-Mobile', 'Noir Z8 Plus'], 'QMobile Z9': ['Q-Mobile', 'Noir Z9'], - 'QMobile Z10': ['Q-Mobile', 'Noir Z10'] + 'QMobile Z10': ['Q-Mobile', 'Noir Z10'], }, 'Z4 mini': ['Q-Mobile', 'Noir Quatro Z4 mini'], + + RMX1911: ['Realme', '5'], + RMX1931: ['Realme', 'X2 Pro'], + RMX1971: ['Realme', '5 Pro'], + RMX1993: ['Realme', 'X2'], + RMX2001: ['Realme', '6'], + RMX2002: ['Realme', '6i'], + RMX2020: ['Realme', 'C3'], + RMX2030: ['Realme', '5i'], + RMX2063: ['Realme', '6 Pro'], + RMX2075: ['Realme', 'X50 Pro'], + RMX2086: ['Realme', 'X3 SuperZoom'], + RMX2111: ['Realme', '7'], + RMX2144: ['Realme', 'X50'], + RMX2155: ['Realme', '7'], + RMX2170: ['Realme', '7 Pro'], + RMX2185: ['Realme', 'C11'], + RMX2202: ['Realme', 'GT'], + RMX3081: ['Realme', '8 Pro'], + RMX3085: ['Realme', '8'], + RMX3201: ['Realme', 'C21'], + RMX3241: ['Realme', '8 5G'], + RMX3242: ['Realme', 'Narzo 30'], + RMX3263: ['Realme', 'C21Y'], + RMX3301: ['Realme', 'GT 2 Pro'], + RMX3311: ['Realme', 'GT 2'], + RMX3363: ['Realme', 'GT Master'], + RMX3370: ['Realme', 'GT Neo2'], + 'Soshphone 4G': ['SoshPhone', '4G'], AQT80: ['Sprint', 'Slate 8', DeviceType.TABLET], @@ -18663,7 +19616,7 @@ exports.ANDROID_MODELS = { 'Telenor Smart Pro 2': ['Telenor', 'Smart Pro 2'], 'TELENOR SMART TOUCH MINI': ['Telenor', 'Smart Touch Mini'], 'Telenor Touch Mini': ['Telenor', 'Smart Touch Mini'], - 'Telenor Touch Pad': ['Telenor', 'Touch Pad', DeviceType.TABLET] + 'Telenor Touch Pad': ['Telenor', 'Touch Pad', DeviceType.TABLET], }, 'T-Hub2': ['Telstra', 'T-Hub 2', DeviceType.TABLET], @@ -18675,7 +19628,7 @@ exports.ANDROID_MODELS = { 'tmn smart a15': ['TMN', 'Smart A15'], 'tmn smart a18': ['TMN', 'Smart A18'], 'tmn smart a20': ['TMN', 'Smart A20'], - 'tmn smart a60': ['TMN', 'Smart A60'] + 'tmn smart a60': ['TMN', 'Smart A60'], }, 'soft stone': ['TMN', 'Soft Stone'], @@ -18695,7 +19648,7 @@ exports.ANDROID_MODELS = { 'TURKCELL TURBO T50': ['Turkcell', 'Turbo T50'], 'TURKCELL T60': ['Turkcell', 'T60'], 'TURKCELL T70': ['Turkcell', 'T70'], - 'TURKCELL T80': ['Turkcell', 'T80'] + 'TURKCELL T80': ['Turkcell', 'T80'], }, 'Turk Telekom TT175': ['Türk Telekom', 'TT175'], @@ -18762,7 +19715,7 @@ exports.ANDROID_MODELS = { 'Vodafone Smart Tab 4': ['Vodafone', 'Smart Tab 4', DeviceType.TABLET], 'Vodafone Smart Tab 3G!': ['Vodafone', 'Smart Tab 3G', DeviceType.TABLET], 'Vodafone Smart Tab 4G!': ['Vodafone', 'Smart Tab 4G', DeviceType.TABLET], - 'Vodafone Tab grand 6': ['Vodafone', 'Tab Grand 6', DeviceType.TABLET] + 'Vodafone Tab grand 6': ['Vodafone', 'Tab Grand 6', DeviceType.TABLET], }, 'SmartTab!!': { @@ -18770,7 +19723,7 @@ exports.ANDROID_MODELS = { SmartTab7: ['Vodafone', 'Smart Tab 7', DeviceType.TABLET], SmartTabII7: ['Vodafone', 'Smart Tab II 7', DeviceType.TABLET] /* Lenovo */, SmartTabII10: ['Vodafone', 'Smart Tab II 10', DeviceType.TABLET], - SmartTab10: ['Vodafone', 'Smart Tab 10', DeviceType.TABLET] /* ZTE Web Tab 10 */ + SmartTab10: ['Vodafone', 'Smart Tab 10', DeviceType.TABLET] /* ZTE Web Tab 10 */, }, VF685: ['Vodafone', 'Smart 4 Fun'], @@ -18802,7 +19755,9 @@ exports.ANDROID_MODELS = { 'VFD 1100': ['Vodafone', 'Tab Mini 7', DeviceType.TABLET], 'VFD 1300': ['Vodafone', 'Tab N8', DeviceType.TABLET], 'VFD 1400': ['Vodafone', 'Tab Prime 7', DeviceType.TABLET], - VFD1400: ['Vodafone', 'Tab Prime 7', DeviceType.TABLET] + VFD1400: ['Vodafone', 'Tab Prime 7', DeviceType.TABLET], + + TC26: ['Zebra', 'TC26', DeviceType.POS], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-asha.js b/data/models-asha.js index ea0dfbf..757fba5 100644 --- a/data/models-asha.js +++ b/data/models-asha.js @@ -1,20 +1,18 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.ASHA_MODELS = { - 'Asha230SingleSIM' : [ 'Nokia', 'Asha 230' ], - 'Asha230DualSIM' : [ 'Nokia', 'Asha 230' ], - '500' : [ 'Nokia', 'Asha 500' ], - 'Asha500SingleSIM' : [ 'Nokia', 'Asha 500' ], - 'Asha500DualSIM' : [ 'Nokia', 'Asha 500' ], - '501' : [ 'Nokia', 'Asha 501' ], - '501s' : [ 'Nokia', 'Asha 501' ], - '501.1' : [ 'Nokia', 'Asha 501' ], - '501.2' : [ 'Nokia', 'Asha 501' ], - '502' : [ 'Nokia', 'Asha 502' ], - '503' : [ 'Nokia', 'Asha 503' ], - '503s' : [ 'Nokia', 'Asha 503' ], + Asha230SingleSIM: ['Nokia', 'Asha 230'], + Asha230DualSIM: ['Nokia', 'Asha 230'], + 500: ['Nokia', 'Asha 500'], + Asha500SingleSIM: ['Nokia', 'Asha 500'], + Asha500DualSIM: ['Nokia', 'Asha 500'], + 501: ['Nokia', 'Asha 501'], + '501s': ['Nokia', 'Asha 501'], + 501.1: ['Nokia', 'Asha 501'], + 501.2: ['Nokia', 'Asha 501'], + 502: ['Nokia', 'Asha 502'], + 503: ['Nokia', 'Asha 503'], + '503s': ['Nokia', 'Asha 503'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-bada.js b/data/models-bada.js index b1664ed..6a8e5a4 100644 --- a/data/models-bada.js +++ b/data/models-bada.js @@ -1,20 +1,18 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.BADA_MODELS = { - 'GT- ?S52(50|53)!' : [ 'Samsung', 'Wave 525' ], - 'GT-S53(30|33)!' : [ 'Samsung', 'Wave 533' ], - 'GT-S5380!' : [ 'Samsung', 'Wave Y' ], - 'GT-S57(50|53)!' : [ 'Samsung', 'Wave 575' ], - 'GT-S57(80)!' : [ 'Samsung', 'Wave 578' ], - 'GT-S72(30|33)!' : [ 'Samsung', 'Wave 723' ], - 'GT-S7250!' : [ 'Samsung', 'Wave M' ], - 'GT-S8500!' : [ 'Samsung', 'Wave' ], - 'SCH-F859!' : [ 'Samsung', 'Wave' ], - 'GT- ?S8530!' : [ 'Samsung', 'Wave II' ], - 'GT- ?S8600!' : [ 'Samsung', 'Wave 3' ], - 'SHW-M410' : [ 'Samsung', 'Wave 3' ] + 'GT- ?S52(50|53)!': ['Samsung', 'Wave 525'], + 'GT-S53(30|33)!': ['Samsung', 'Wave 533'], + 'GT-S5380!': ['Samsung', 'Wave Y'], + 'GT-S57(50|53)!': ['Samsung', 'Wave 575'], + 'GT-S57(80)!': ['Samsung', 'Wave 578'], + 'GT-S72(30|33)!': ['Samsung', 'Wave 723'], + 'GT-S7250!': ['Samsung', 'Wave M'], + 'GT-S8500!': ['Samsung', 'Wave'], + 'SCH-F859!': ['Samsung', 'Wave'], + 'GT- ?S8530!': ['Samsung', 'Wave II'], + 'GT- ?S8600!': ['Samsung', 'Wave 3'], + 'SHW-M410': ['Samsung', 'Wave 3'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-blackberry.js b/data/models-blackberry.js index a1f9e57..0acd0f9 100644 --- a/data/models-blackberry.js +++ b/data/models-blackberry.js @@ -1,54 +1,52 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.BLACKBERRY_MODELS = { - '9000' : 'Bold', - '9600' : 'Bold', - '9650' : 'Bold', - '9700' : 'Bold', - '9780' : 'Bold', - '9788' : 'Bold', - '9790' : 'Bold', - '9900' : 'Bold', - '9930' : 'Bold', - '8300' : 'Curve', - '8310' : 'Curve', - '8320' : 'Curve', - '8330' : 'Curve', - '8350i' : 'Curve', - '8520' : 'Curve', - '8530' : 'Curve', - '8900' : 'Curve', - '9220' : 'Curve', - '9300' : 'Curve', - '9310' : 'Curve', - '9315' : 'Curve', - '9320' : 'Curve', - '9330' : 'Curve', - '9350' : 'Curve', - '9360' : 'Curve', - '9370' : 'Curve', - '9380' : 'Curve', - '8100' : 'Pearl', - '8110' : 'Pearl', - '8120' : 'Pearl', - '8130' : 'Pearl', - '8220' : 'Pearl', - '8230' : 'Pearl', - '9100' : 'Pearl', - '9105' : 'Pearl', - '9500' : 'Storm', - '9520' : 'Storm2', - '9530' : 'Storm', - '9550' : 'Storm', - '9670' : 'Style', - '9800' : 'Torch', - '9810' : 'Torch', - '9850' : 'Torch', - '9860' : 'Torch', - '9630' : 'Tour', - '9981' : 'Porsche P' + 9000: 'Bold', + 9600: 'Bold', + 9650: 'Bold', + 9700: 'Bold', + 9780: 'Bold', + 9788: 'Bold', + 9790: 'Bold', + 9900: 'Bold', + 9930: 'Bold', + 8300: 'Curve', + 8310: 'Curve', + 8320: 'Curve', + 8330: 'Curve', + '8350i': 'Curve', + 8520: 'Curve', + 8530: 'Curve', + 8900: 'Curve', + 9220: 'Curve', + 9300: 'Curve', + 9310: 'Curve', + 9315: 'Curve', + 9320: 'Curve', + 9330: 'Curve', + 9350: 'Curve', + 9360: 'Curve', + 9370: 'Curve', + 9380: 'Curve', + 8100: 'Pearl', + 8110: 'Pearl', + 8120: 'Pearl', + 8130: 'Pearl', + 8220: 'Pearl', + 8230: 'Pearl', + 9100: 'Pearl', + 9105: 'Pearl', + 9500: 'Storm', + 9520: 'Storm2', + 9530: 'Storm', + 9550: 'Storm', + 9670: 'Style', + 9800: 'Torch', + 9810: 'Torch', + 9850: 'Torch', + 9860: 'Torch', + 9630: 'Tour', + 9981: 'Porsche P', }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-brew.js b/data/models-brew.js index 496cb43..fc206a7 100644 --- a/data/models-brew.js +++ b/data/models-brew.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.BREW_MODELS = { 'Coolpad D508': ['Coolpad', 'D508'], 'Coolpad D510': ['Coolpad', 'D510'], @@ -92,7 +90,7 @@ exports.BREW_MODELS = { 'Pantech TXT8045!': ['Pantech', 'Jest 2'], 'ZTE F-450!': ['ZTE', 'Adamant'], 'ZTE R516!': ['ZTE', 'R516'], - 'ZTE R518!': ['ZTE', 'R518'] + 'ZTE R518!': ['ZTE', 'R518'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-feature.js b/data/models-feature.js index bdde637..aa3c1ee 100644 --- a/data/models-feature.js +++ b/data/models-feature.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - const DeviceType = require('../src/constants').deviceType; exports.FEATURE_MODELS = { @@ -112,7 +110,7 @@ exports.FEATURE_MODELS = { 'GT-I6410!': ['Vodafone', '360 M1'], 'GT-I8320!': ['Vodafone', '360 H1'], 'GT-I8330!': ['Vodafone', '360 H2'], - 'WIDETEL WCX150': ['Widetel', 'WCX150'] + 'WIDETEL WCX150': ['Widetel', 'WCX150'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-firefoxos.js b/data/models-firefoxos.js index 7949710..750d759 100644 --- a/data/models-firefoxos.js +++ b/data/models-firefoxos.js @@ -31,15 +31,15 @@ exports.FIREFOXOS_MODELS = { 'ALCATEL4044[MNOTVW]!': ['Alcatel', 'Go Flip'], 'ALCATEL4044C!': ['Alcatel', 'QUICKFLIP'], - '.LYF/.F30C!': ['Jio', 'JioPhone F30C'], - '.LYF/.F101K!': ['Jio', 'JioPhone F101K'], - 'LYF/F30C!': ['Jio', 'JioPhone F30C'], - 'LYF/F41T!': ['Jio', 'JioPhone F41T'], - 'LYF/F50Y!': ['Jio', 'JioPhone F50Y'], - 'LYF/F61F!': ['Jio', 'JioPhone F61F'], - 'LYF/F81E!': ['Jio', 'JioPhone F81E'], - 'LYF/F90M!': ['Jio', 'JioPhone F90M'], - 'LYF/F101K!': ['Jio', 'JioPhone F101K'] + '.LYF\/.F30C!': ['Jio', 'JioPhone F30C'], + '.LYF\/.F101K!': ['Jio', 'JioPhone F101K'], + 'LYF\/F30C!': ['Jio', 'JioPhone F30C'], + 'LYF\/F41T!': ['Jio', 'JioPhone F41T'], + 'LYF\/F50Y!': ['Jio', 'JioPhone F50Y'], + 'LYF\/F61F!': ['Jio', 'JioPhone F61F'], + 'LYF\/F81E!': ['Jio', 'JioPhone F81E'], + 'LYF\/F90M!': ['Jio', 'JioPhone F90M'], + 'LYF\/F101K!': ['Jio', 'JioPhone F101K'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-ios.js b/data/models-ios.js index 1345dac..7cd2838 100644 --- a/data/models-ios.js +++ b/data/models-ios.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - const DeviceType = require('../src/constants').deviceType; exports.IOS_MODELS = { @@ -53,6 +51,19 @@ exports.IOS_MODELS = { 'iPhone11,4': ['Apple', 'iPhone XS Max', DeviceType.MOBILE], 'iPhone11,6': ['Apple', 'iPhone XS Max', DeviceType.MOBILE], 'iPhone11,8': ['Apple', 'iPhone XR', DeviceType.MOBILE], + 'iPhone12,1': ['Apple', 'iPhone 11', DeviceType.MOBILE], + 'iPhone12,3': ['Apple', 'iPhone 11 Pro', DeviceType.MOBILE], + 'iPhone12,5': ['Apple', 'iPhone 11 Pro Max', DeviceType.MOBILE], + 'iPhone12,8': ['Apple', 'iPhone SE (2nd gen)', DeviceType.MOBILE], + 'iPhone13,1': ['Apple', 'iPhone 12 Mini', DeviceType.MOBILE], + 'iPhone13,2': ['Apple', 'iPhone 12', DeviceType.MOBILE], + 'iPhone13,3': ['Apple', 'iPhone 12 Pro', DeviceType.MOBILE], + 'iPhone13,4': ['Apple', 'iPhone 12 Pro Max', DeviceType.MOBILE], + 'iPhone14,2': ['Apple', 'iPhone 13 Pro', DeviceType.MOBILE], + 'iPhone14,3': ['Apple', 'iPhone 13 Pro Max', DeviceType.MOBILE], + 'iPhone14,4': ['Apple', 'iPhone 13 Mini', DeviceType.MOBILE], + 'iPhone14,5': ['Apple', 'iPhone 13', DeviceType.MOBILE], + 'iPod1,1': ['Apple', 'iPod touch', DeviceType.MEDIA], 'iPod2,1': ['Apple', 'iPod touch (2nd gen)', DeviceType.MEDIA], 'iPod3,1': ['Apple', 'iPod touch (3rd gen)', DeviceType.MEDIA], @@ -100,6 +111,8 @@ exports.IOS_MODELS = { 'iPad7,4': ['Apple', 'iPad Pro (10.5″)', DeviceType.TABLET], 'iPad7,5': ['Apple', 'iPad (9.7″, 6th gen)', DeviceType.TABLET], 'iPad7,6': ['Apple', 'iPad (9.7″, 6th gen)', DeviceType.TABLET], + 'iPad7,11': ['Apple', 'iPad (10.2″, 7th gen)', DeviceType.TABLET], + 'iPad7,12': ['Apple', 'iPad (10.2″, 7th gen)', DeviceType.TABLET], 'iPad8,1': ['Apple', 'iPad Pro (11.0″)', DeviceType.TABLET], 'iPad8,2': ['Apple', 'iPad Pro (11.0″)', DeviceType.TABLET], 'iPad8,3': ['Apple', 'iPad Pro (11.0″)', DeviceType.TABLET], @@ -108,10 +121,30 @@ exports.IOS_MODELS = { 'iPad8,6': ['Apple', 'iPad Pro (12.9″, 3rd gen)', DeviceType.TABLET], 'iPad8,7': ['Apple', 'iPad Pro (12.9″, 3rd gen)', DeviceType.TABLET], 'iPad8,8': ['Apple', 'iPad Pro (12.9″, 3rd gen)', DeviceType.TABLET], + 'iPad8,9': ['Apple', 'iPad Pro (11.0″, 4th gen)', DeviceType.TABLET], + 'iPad8,10': ['Apple', 'iPad Pro (11.0″, 4th gen)', DeviceType.TABLET], + 'iPad8,11': ['Apple', 'iPad Pro (12.9″, 4th gen)', DeviceType.TABLET], + 'iPad8,12': ['Apple', 'iPad Pro (12.9″, 4th gen)', DeviceType.TABLET], 'iPad11,1': ['Apple', 'iPad mini (5th gen)', DeviceType.TABLET], 'iPad11,2': ['Apple', 'iPad mini (5th gen)', DeviceType.TABLET], 'iPad11,3': ['Apple', 'iPad Air (3rd gen)', DeviceType.TABLET], - 'iPad11,4': ['Apple', 'iPad Air (3rd gen)', DeviceType.TABLET] + 'iPad11,4': ['Apple', 'iPad Air (3rd gen)', DeviceType.TABLET], + 'iPad11,6': ['Apple', 'iPad (8th gen)', DeviceType.TABLET], + 'iPad11,7': ['Apple', 'iPad (8th gen)', DeviceType.TABLET], + 'iPad12,1': ['Apple', 'iPad (9th gen)', DeviceType.TABLET], + 'iPad12,2': ['Apple', 'iPad (9th gen)', DeviceType.TABLET], + 'iPad14,1': ['Apple', 'iPad mini (6th gen)', DeviceType.TABLET], + 'iPad14,2': ['Apple', 'iPad mini (6th gen)', DeviceType.TABLET], + 'iPad13,1': ['Apple', 'iPad Air (4th gen)', DeviceType.TABLET], + 'iPad13,2': ['Apple', 'iPad Air (4th gen)', DeviceType.TABLET], + 'iPad13,4': ['Apple', 'iPad Pro (11.0″, 5th gen)', DeviceType.TABLET], + 'iPad13,5': ['Apple', 'iPad Pro (11.0″, 5th gen)', DeviceType.TABLET], + 'iPad13,6': ['Apple', 'iPad Pro (11.0″, 5th gen)', DeviceType.TABLET], + 'iPad13,7': ['Apple', 'iPad Pro (11.0″, 5th gen)', DeviceType.TABLET], + 'iPad13,8': ['Apple', 'iPad Pro (12.9″, 5th gen)', DeviceType.TABLET], + 'iPad13,9': ['Apple', 'iPad Pro (12.9″, 5th gen)', DeviceType.TABLET], + 'iPad13,10': ['Apple', 'iPad Pro (12.9″, 5th gen)', DeviceType.TABLET], + 'iPad13,11': ['Apple', 'iPad Pro (12.9″, 5th gen)', DeviceType.TABLET], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-kddi.js b/data/models-kddi.js index d3bdca9..6f237f5 100644 --- a/data/models-kddi.js +++ b/data/models-kddi.js @@ -349,7 +349,7 @@ exports.KDDI_MODELS = { TST4: ['Toshiba', 'TT11'], TST5: ['Toshiba', 'TT21'], TST6: ['Toshiba', 'TT22'], - TST7: ['Toshiba', 'TT31'] + TST7: ['Toshiba', 'TT31'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-palmos.js b/data/models-palmos.js index 646451a..c9e75bc 100644 --- a/data/models-palmos.js +++ b/data/models-palmos.js @@ -1,97 +1,95 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - const DeviceType = require('../src/constants').deviceType; const DeviceSubType = require('../src/constants').deviceSubType; exports.PALMOS_MODELS = { - 'Palm-D061' : [ 'Palm', 'Centro 685', DeviceType.MOBILE ], - 'Palm-D062' : [ 'Palm', 'Centro 690', DeviceType.MOBILE ], - 'Palm-TunX' : [ 'Palm', 'LifeDrive', DeviceType.PDA ], - 'Palm-stuj' : [ 'Palm', 'm125', DeviceType.PDA ], - 'Palm-hbbs' : [ 'Palm', 'm130', DeviceType.PDA ], - 'Palm-trnd' : [ 'Palm', 'm500', DeviceType.PDA ], - 'Palm-ecty' : [ 'Palm', 'm505', DeviceType.PDA ], - 'Palm-lith' : [ 'Palm', 'm515', DeviceType.PDA ], - 'Palm-sky1' : [ 'Palm', 'i705', DeviceType.PDA ], - 'hspr-H101' : [ 'Palm', 'Treo 600', DeviceType.MOBILE ], - 'hspr-H102' : [ 'Palm', 'Treo 650', DeviceType.MOBILE ], - 'Palm-D053' : [ 'Palm', 'Treo 680', DeviceType.MOBILE ], - 'Palm-D052' : [ 'Palm', 'Treo 700', DeviceType.MOBILE ], - 'Palm-D060' : [ 'Palm', 'Treo 755', DeviceType.MOBILE ], - 'Palm-MT64' : [ 'Palm', 'Tungsten C', DeviceType.PDA ], - 'Palm-Cct1' : [ 'Palm', 'Tungsten E', DeviceType.PDA ], - 'Palm-Zir4' : [ 'Palm', 'Tungsten E2', DeviceType.PDA ], - 'Palm-Frg1' : [ 'Palm', 'Tungsten T', DeviceType.PDA ], - 'Palm-Frg2' : [ 'Palm', 'Tungsten T2', DeviceType.PDA ], - 'Palm-Arz1' : [ 'Palm', 'Tungsten T3', DeviceType.PDA ], - 'Palm-TnT5' : [ 'Palm', 'Tungsten T5', DeviceType.PDA ], - 'Palm-atc1' : [ 'Palm', 'Tungsten W', DeviceType.PDA ], - 'Palm-D050' : [ 'Palm', 'TX', DeviceType.PDA ], - 'Palm-Cubs' : [ 'Palm', 'Zire', DeviceType.PDA ], - 'Palm-Zi21' : [ 'Palm', 'Zire 21', DeviceType.PDA ], - 'Palm-D051' : [ 'Palm', 'Zire 22', DeviceType.PDA ], - 'Palm-Zi22' : [ 'Palm', 'Zire 31', DeviceType.PDA ], - 'Palm-Zpth' : [ 'Palm', 'Zire 71', DeviceType.PDA ], - 'Palm-Zi72' : [ 'Palm', 'Zire 72', DeviceType.PDA ], + 'Palm-D061': ['Palm', 'Centro 685', DeviceType.MOBILE], + 'Palm-D062': ['Palm', 'Centro 690', DeviceType.MOBILE], + 'Palm-TunX': ['Palm', 'LifeDrive', DeviceType.PDA], + 'Palm-stuj': ['Palm', 'm125', DeviceType.PDA], + 'Palm-hbbs': ['Palm', 'm130', DeviceType.PDA], + 'Palm-trnd': ['Palm', 'm500', DeviceType.PDA], + 'Palm-ecty': ['Palm', 'm505', DeviceType.PDA], + 'Palm-lith': ['Palm', 'm515', DeviceType.PDA], + 'Palm-sky1': ['Palm', 'i705', DeviceType.PDA], + 'hspr-H101': ['Palm', 'Treo 600', DeviceType.MOBILE], + 'hspr-H102': ['Palm', 'Treo 650', DeviceType.MOBILE], + 'Palm-D053': ['Palm', 'Treo 680', DeviceType.MOBILE], + 'Palm-D052': ['Palm', 'Treo 700', DeviceType.MOBILE], + 'Palm-D060': ['Palm', 'Treo 755', DeviceType.MOBILE], + 'Palm-MT64': ['Palm', 'Tungsten C', DeviceType.PDA], + 'Palm-Cct1': ['Palm', 'Tungsten E', DeviceType.PDA], + 'Palm-Zir4': ['Palm', 'Tungsten E2', DeviceType.PDA], + 'Palm-Frg1': ['Palm', 'Tungsten T', DeviceType.PDA], + 'Palm-Frg2': ['Palm', 'Tungsten T2', DeviceType.PDA], + 'Palm-Arz1': ['Palm', 'Tungsten T3', DeviceType.PDA], + 'Palm-TnT5': ['Palm', 'Tungsten T5', DeviceType.PDA], + 'Palm-atc1': ['Palm', 'Tungsten W', DeviceType.PDA], + 'Palm-D050': ['Palm', 'TX', DeviceType.PDA], + 'Palm-Cubs': ['Palm', 'Zire', DeviceType.PDA], + 'Palm-Zi21': ['Palm', 'Zire 21', DeviceType.PDA], + 'Palm-D051': ['Palm', 'Zire 22', DeviceType.PDA], + 'Palm-Zi22': ['Palm', 'Zire 31', DeviceType.PDA], + 'Palm-Zpth': ['Palm', 'Zire 71', DeviceType.PDA], + 'Palm-Zi72': ['Palm', 'Zire 72', DeviceType.PDA], - 'sony-ystn' : [ 'Sony', 'CLIÉ PEG-N600C', DeviceType.PDA ], - 'sony-ysmt' : [ 'Sony', 'CLIÉ PEG-N700C', DeviceType.PDA ], - 'sony-ysm2' : [ 'Sony', 'CLIÉ PEG-N750C', DeviceType.PDA ], - 'sony-nsca' : [ 'Sony', 'CLIÉ PEG-S320', DeviceType.PDA ], - 'sony-nsc2' : [ 'Sony', 'CLIÉ PEG-S360', DeviceType.PDA ], - 'sony-vnce' : [ 'Sony', 'CLIÉ PEG-T400', DeviceType.PDA ], - 'sony-mdna' : [ 'Sony', 'CLIÉ PEG-T600C', DeviceType.PDA ], - 'sony-npls' : [ 'Sony', 'CLIÉ PEG-T650C', DeviceType.PDA ], - 'sony-rdwd' : [ 'Sony', 'CLIÉ PEG-NR70', DeviceType.PDA ], - 'sony-crdb' : [ 'Sony', 'CLIÉ PEG-NX60', DeviceType.PDA ], - 'sony-tldo' : [ 'Sony', 'CLIÉ PEG-NX73V', DeviceType.PDA ], - 'sony-mdrd' : [ 'Sony', 'CLIÉ PEG-NX80V', DeviceType.PDA ], - 'sony-grnd' : [ 'Sony', 'CLIÉ PEG-NZ90', DeviceType.PDA ], - 'sony-frta' : [ 'Sony', 'CLIÉ PEG-SL10', DeviceType.PDA ], - 'sony-cocs' : [ 'Sony', 'CLIÉ PEG-SL20', DeviceType.PDA ], - 'sony-glps' : [ 'Sony', 'CLIÉ PEG-SJ22', DeviceType.PDA ], - 'sony-mcnd' : [ 'Sony', 'CLIÉ PEG-SJ33', DeviceType.PDA ], - 'sony-vrna' : [ 'Sony', 'CLIÉ PEG-TG50', DeviceType.PDA ], - 'sony-atom' : [ 'Sony', 'CLIÉ PEG-TH55', DeviceType.PDA ], - 'sony-goha' : [ 'Sony', 'CLIÉ PEG-TJ25', DeviceType.PDA ], - 'sony-leia' : [ 'Sony', 'CLIÉ PEG-TJ27', DeviceType.PDA ], - 'sony-hwai' : [ 'Sony', 'CLIÉ PEG-TJ30', DeviceType.PDA ], - 'sony-goku' : [ 'Sony', 'CLIÉ PEG-TJ35', DeviceType.PDA ], - 'sony-luke' : [ 'Sony', 'CLIÉ PEG-TJ37', DeviceType.PDA ], - 'sony-amno' : [ 'Sony', 'CLIÉ PEG-UX40', DeviceType.PDA ], - 'sony-prmr' : [ 'Sony', 'CLIÉ PEG-UX50', DeviceType.PDA ], - 'sony-ancy' : [ 'Sony', 'CLIÉ PEG-VZ90', DeviceType.PDA ], + 'sony-ystn': ['Sony', 'CLIÉ PEG-N600C', DeviceType.PDA], + 'sony-ysmt': ['Sony', 'CLIÉ PEG-N700C', DeviceType.PDA], + 'sony-ysm2': ['Sony', 'CLIÉ PEG-N750C', DeviceType.PDA], + 'sony-nsca': ['Sony', 'CLIÉ PEG-S320', DeviceType.PDA], + 'sony-nsc2': ['Sony', 'CLIÉ PEG-S360', DeviceType.PDA], + 'sony-vnce': ['Sony', 'CLIÉ PEG-T400', DeviceType.PDA], + 'sony-mdna': ['Sony', 'CLIÉ PEG-T600C', DeviceType.PDA], + 'sony-npls': ['Sony', 'CLIÉ PEG-T650C', DeviceType.PDA], + 'sony-rdwd': ['Sony', 'CLIÉ PEG-NR70', DeviceType.PDA], + 'sony-crdb': ['Sony', 'CLIÉ PEG-NX60', DeviceType.PDA], + 'sony-tldo': ['Sony', 'CLIÉ PEG-NX73V', DeviceType.PDA], + 'sony-mdrd': ['Sony', 'CLIÉ PEG-NX80V', DeviceType.PDA], + 'sony-grnd': ['Sony', 'CLIÉ PEG-NZ90', DeviceType.PDA], + 'sony-frta': ['Sony', 'CLIÉ PEG-SL10', DeviceType.PDA], + 'sony-cocs': ['Sony', 'CLIÉ PEG-SL20', DeviceType.PDA], + 'sony-glps': ['Sony', 'CLIÉ PEG-SJ22', DeviceType.PDA], + 'sony-mcnd': ['Sony', 'CLIÉ PEG-SJ33', DeviceType.PDA], + 'sony-vrna': ['Sony', 'CLIÉ PEG-TG50', DeviceType.PDA], + 'sony-atom': ['Sony', 'CLIÉ PEG-TH55', DeviceType.PDA], + 'sony-goha': ['Sony', 'CLIÉ PEG-TJ25', DeviceType.PDA], + 'sony-leia': ['Sony', 'CLIÉ PEG-TJ27', DeviceType.PDA], + 'sony-hwai': ['Sony', 'CLIÉ PEG-TJ30', DeviceType.PDA], + 'sony-goku': ['Sony', 'CLIÉ PEG-TJ35', DeviceType.PDA], + 'sony-luke': ['Sony', 'CLIÉ PEG-TJ37', DeviceType.PDA], + 'sony-amno': ['Sony', 'CLIÉ PEG-UX40', DeviceType.PDA], + 'sony-prmr': ['Sony', 'CLIÉ PEG-UX50', DeviceType.PDA], + 'sony-ancy': ['Sony', 'CLIÉ PEG-VZ90', DeviceType.PDA], - 'smsn-phix' : [ 'Samsung', 'SPH-i300', DeviceType.MOBILE ], - 'smsn-Phx2' : [ 'Samsung', 'SPH-i330', DeviceType.MOBILE ], - 'smsn-blch' : [ 'Samsung', 'SPH-i500', DeviceType.MOBILE ], - 'smsn-BLFM' : [ 'Samsung', 'SPH-i530', DeviceType.MOBILE ], - 'smsn-glxy' : [ 'Samsung', 'SPH-i550', DeviceType.MOBILE ], + 'smsn-phix': ['Samsung', 'SPH-i300', DeviceType.MOBILE], + 'smsn-Phx2': ['Samsung', 'SPH-i330', DeviceType.MOBILE], + 'smsn-blch': ['Samsung', 'SPH-i500', DeviceType.MOBILE], + 'smsn-BLFM': ['Samsung', 'SPH-i530', DeviceType.MOBILE], + 'smsn-glxy': ['Samsung', 'SPH-i550', DeviceType.MOBILE], - 'grmn-3200' : [ 'Garmin', 'iQue 3200', DeviceType.GPS ], - 'grmn-3600' : [ 'Garmin', 'iQue 3600', DeviceType.GPS ], - 'grmn-3700' : [ 'Garmin', 'iQue 3600a', DeviceType.GPS ], + 'grmn-3200': ['Garmin', 'iQue 3200', DeviceType.GPS], + 'grmn-3600': ['Garmin', 'iQue 3600', DeviceType.GPS], + 'grmn-3700': ['Garmin', 'iQue 3600a', DeviceType.GPS], - 'trgp-trg1' : [ 'HandEra', 'TRG Pro', DeviceType.PDA ], - 'trgp-trg2' : [ 'HandEra', '330', DeviceType.PDA ], + 'trgp-trg1': ['HandEra', 'TRG Pro', DeviceType.PDA], + 'trgp-trg2': ['HandEra', '330', DeviceType.PDA], - 'qcom-qc20' : [ 'Kyocera', 'QCP-6035', DeviceType.MOBILE ], - 'kwc.-7135' : [ 'Kyocera', 'QCP-7135', DeviceType.MOBILE ], + 'qcom-qc20': ['Kyocera', 'QCP-6035', DeviceType.MOBILE], + 'kwc.-7135': ['Kyocera', 'QCP-7135', DeviceType.MOBILE], - 'Tpwv-Rdog' : [ 'Tapwave', 'Zodiac', [ DeviceType.GAMING, DeviceSubType.PORTABLE ] ], + 'Tpwv-Rdog': ['Tapwave', 'Zodiac', [DeviceType.GAMING, DeviceSubType.PORTABLE]], - 'gsRl-zicn' : [ 'Group Sense', 'Xplore G18', DeviceType.MOBILE ], - 'gsRl-zcn2' : [ 'Group Sense', 'Xplore M28', DeviceType.MOBILE ], - 'gsRl-zcn5' : [ 'Group Sense', 'Xplore M68', DeviceType.MOBILE ], + 'gsRl-zicn': ['Group Sense', 'Xplore G18', DeviceType.MOBILE], + 'gsRl-zcn2': ['Group Sense', 'Xplore M28', DeviceType.MOBILE], + 'gsRl-zcn5': ['Group Sense', 'Xplore M68', DeviceType.MOBILE], - 'acer-momo' : [ 'Acer', 's10', DeviceType.PDA ], - 'acer-coco' : [ 'Acer', 's50', DeviceType.PDA ], + 'acer-momo': ['Acer', 's10', DeviceType.PDA], + 'acer-coco': ['Acer', 's50', DeviceType.PDA], - 'Acea-MZ01' : [ 'Aceeca', 'Meazura MEZ1000', DeviceType.PDA ], - 'Acea-PD01' : [ 'Aceeca', 'PDA32', DeviceType.PDA ], + 'Acea-MZ01': ['Aceeca', 'Meazura MEZ1000', DeviceType.PDA], + 'Acea-PD01': ['Aceeca', 'PDA32', DeviceType.PDA], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-s30plus.js b/data/models-s30plus.js index 6c139e5..5e0f9ce 100644 --- a/data/models-s30plus.js +++ b/data/models-s30plus.js @@ -1,13 +1,11 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.S30PLUS_MODELS = { - '215' : [ 'Nokia', '215' ], - '220' : [ 'Nokia', '220' ], - '222' : [ 'Nokia', '222' ], - '225' : [ 'Nokia', '225' ], - '230' : [ 'Nokia', '230' ] + 215: ['Nokia', '215'], + 220: ['Nokia', '220'], + 222: ['Nokia', '222'], + 225: ['Nokia', '225'], + 230: ['Nokia', '230'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-s40.js b/data/models-s40.js index 8f47094..dd1c112 100644 --- a/data/models-s40.js +++ b/data/models-s40.js @@ -1,137 +1,135 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.S40_MODELS = { - 'C1-01!' : [ 'Nokia', 'C1-01' ], - 'C1-02!' : [ 'Nokia', 'C1-02' ], - 'C1-03!' : [ 'Nokia', 'C1-03' ], - 'C2-00!' : [ 'Nokia', 'C2-00' ], - 'C2-01!' : [ 'Nokia', 'C2-01' ], - 'C2-02!' : [ 'Nokia', 'C2-02' ], - 'C2-03!' : [ 'Nokia', 'C2-03' ], - 'C2-05!' : [ 'Nokia', 'C2-05' ], - 'C2-06!' : [ 'Nokia', 'C2-06' ], - 'C3-00!' : [ 'Nokia', 'C3-00' ], - 'C3-01!' : [ 'Nokia', 'C3-01' ], - 'X2-00!' : [ 'Nokia', 'X2-00' ], - 'X2-01!' : [ 'Nokia', 'X2-01' ], - 'X2-02!' : [ 'Nokia', 'X2-02' ], - 'X2-03!' : [ 'Nokia', 'X2-03' ], - 'X2-05!' : [ 'Nokia', 'X2-05' ], - 'X3-00!' : [ 'Nokia', 'X3-00' ], - 'X3-02!' : [ 'Nokia', 'X3-02' ], - '109' : [ 'Nokia', '109' ], - '110' : [ 'Nokia', '110' ], - '111' : [ 'Nokia', '111' ], - '111.1' : [ 'Nokia', '111' ], - '112' : [ 'Nokia', '112' ], - '114' : [ 'Nokia', '114' ], - '200' : [ 'Nokia', 'Asha 200' ], - '201' : [ 'Nokia', 'Asha 201' ], - '202' : [ 'Nokia', 'Asha 202' ], - '203' : [ 'Nokia', 'Asha 203' ], - '205' : [ 'Nokia', 'Asha 205' ], - '205.1' : [ 'Nokia', 'Asha 205' ], - '205.3' : [ 'Nokia', 'Asha 205' ], - '206' : [ 'Nokia', 'Asha 206' ], - '206.1' : [ 'Nokia', 'Asha 206' ], - '208' : [ 'Nokia', '208' ], - '208.1' : [ 'Nokia', '208' ], - '208.2' : [ 'Nokia', '208' ], - '208.3' : [ 'Nokia', '208' ], - '208.4' : [ 'Nokia', '208' ], - '210' : [ 'Nokia', 'Asha 210' ], - '210.2' : [ 'Nokia', 'Asha 210' ], - '210.3' : [ 'Nokia', 'Asha 210' ], - '210.4' : [ 'Nokia', 'Asha 210' ], - '210.5' : [ 'Nokia', 'Asha 210' ], - '300' : [ 'Nokia', 'Asha 300' ], - '301' : [ 'Nokia', '301' ], - '301.1' : [ 'Nokia', '301' ], - '302' : [ 'Nokia', 'Asha 302' ], - '303' : [ 'Nokia', 'Asha 303' ], - '305' : [ 'Nokia', 'Asha 305' ], - '306' : [ 'Nokia', 'Asha 306' ], - '308' : [ 'Nokia', 'Asha 308' ], - '309' : [ 'Nokia', 'Asha 309' ], - '310' : [ 'Nokia', 'Asha 310' ], - '311' : [ 'Nokia', 'Asha 311' ], - '515' : [ 'Nokia', '515' ], - '515.2' : [ 'Nokia', '515' ], - '1682c' : [ 'Nokia', '1682 classic' ], - '2055' : [ 'Nokia', 'Asha 2055' ], - '2060' : [ 'Nokia', '2060' ], // Same as Asha 206 - '2220s!' : [ 'Nokia', '2220 slide' ], - '2320c!' : [ 'Nokia', '2320 classic' ], - '2322c!' : [ 'Nokia', '2322 classic' ], - '2323c!' : [ 'Nokia', '2323 classic' ], - '2330c!' : [ 'Nokia', '2330 classic' ], - '2600c!' : [ 'Nokia', '2600 classic' ], - '2680s!' : [ 'Nokia', '2680 slide' ], - '2690' : [ 'Nokia', '2690' ], - '2692' : [ 'Nokia', '2692' ], - '2700c!' : [ 'Nokia', '2700 classic' ], - '2710c' : [ 'Nokia', '2710' ], - '2710c-2' : [ 'Nokia', '2710' ], - '2720a!' : [ 'Nokia', '2720 fold' ], - '2730c!' : [ 'Nokia', '2730 classic' ], - '3020' : [ 'Nokia', '3020' ], - '3109c' : [ 'Nokia', '3109 classic' ], - '3110c' : [ 'Nokia', '3110 Evolve' ], - '3120c' : [ 'Nokia', '3120 classic' ], - '3120classic' : [ 'Nokia', '3120 classic' ], - '3208c' : [ 'Nokia', '3208 classic' ], - '3500c' : [ 'Nokia', '3500 classic' ], - '3555b' : [ 'Nokia', '3555' ], - '3600s' : [ 'Nokia', '3600 slide' ], - '3610a' : [ 'Nokia', '3610 fold' ], - '3710fold' : [ 'Nokia', '3710 fold' ], - '3720c' : [ 'Nokia', '3720 classic' ], - '5000!' : [ 'Nokia', '5000' ], - '5130!' : [ 'Nokia', '5130 XpressMusic' ], - '5130c!' : [ 'Nokia', '5130 classic' ], - '5132' : [ 'Nokia', '5132 XpressMusic' ], - '5200!' : [ 'Nokia', '5200' ], - '5220!' : [ 'Nokia', '5220 XpressMusic' ], - '5300!' : [ 'Nokia', '5300 XpressMusic' ], - '5310!' : [ 'Nokia', '5310 XpressMusic' ], - '5330' : [ 'Nokia', '5330 Mobile TV Edition' ], - '5330-1d' : [ 'Nokia', '5330 Mobile TV Edition' ], - '5610d!' : [ 'Nokia', '5610 XpressMusic' ], - '6070!' : [ 'Nokia', '6070' ], - '6208c' : [ 'Nokia', '6208 classic' ], - '6212c' : [ 'Nokia', '6212 classic' ], - '6260s!' : [ 'Nokia', '6260 slide' ], - '6230i!' : [ 'Nokia', '6230i' ], - '6233' : [ 'Nokia', '6233' ], - '6234' : [ 'Nokia', '6234' ], - '6263!' : [ 'Nokia', '6263' ], - '6280' : [ 'Nokia', '6280' ], - '6300' : [ 'Nokia', '6300' ], - '6300i' : [ 'Nokia', '6300i' ], - '6301' : [ 'Nokia', '6301' ], - '6303c' : [ 'Nokia', '6303 classic' ], - '6303classic' : [ 'Nokia', '6303 classic' ], - '6303iclassic' : [ 'Nokia', '6303i classic' ], - '6303ci' : [ 'Nokia', '6303i classic' ], - '6350' : [ 'Nokia', '6350' ], - '6500s!' : [ 'Nokia', '6500 slide' ], - '6600f!' : [ 'Nokia', '6600 fold' ], - '6600s!' : [ 'Nokia', '6600 slide' ], - '6600i!' : [ 'Nokia', '6600i slide' ], - '6700c!' : [ 'Nokia', '6700 classic' ], - '6750c' : [ 'Nokia', '6750 Mural' ], - '7070!' : [ 'Nokia', '7070 Prism' ], - '7100s!' : [ 'Nokia', '7100 Supernova' ], - '7210s!' : [ 'Nokia', '7210 Supernova' ], - '7210Supernova!' : [ 'Nokia', '7210 Supernova' ], - '7230!' : [ 'Nokia', '7230' ], - '7310c!' : [ 'Nokia', '7310 Supernova' ], - '7500' : [ 'Nokia', '7500 Prism' ], - '7510Supernova!' : [ 'Nokia', '7510 Supernova' ], - '7610Supernova!' : [ 'Nokia', '7610 Supernova' ], - '8800!' : [ 'Nokia', '8800 Arte' ] + 'C1-01!': ['Nokia', 'C1-01'], + 'C1-02!': ['Nokia', 'C1-02'], + 'C1-03!': ['Nokia', 'C1-03'], + 'C2-00!': ['Nokia', 'C2-00'], + 'C2-01!': ['Nokia', 'C2-01'], + 'C2-02!': ['Nokia', 'C2-02'], + 'C2-03!': ['Nokia', 'C2-03'], + 'C2-05!': ['Nokia', 'C2-05'], + 'C2-06!': ['Nokia', 'C2-06'], + 'C3-00!': ['Nokia', 'C3-00'], + 'C3-01!': ['Nokia', 'C3-01'], + 'X2-00!': ['Nokia', 'X2-00'], + 'X2-01!': ['Nokia', 'X2-01'], + 'X2-02!': ['Nokia', 'X2-02'], + 'X2-03!': ['Nokia', 'X2-03'], + 'X2-05!': ['Nokia', 'X2-05'], + 'X3-00!': ['Nokia', 'X3-00'], + 'X3-02!': ['Nokia', 'X3-02'], + 109: ['Nokia', '109'], + 110: ['Nokia', '110'], + 111: ['Nokia', '111'], + 111.1: ['Nokia', '111'], + 112: ['Nokia', '112'], + 114: ['Nokia', '114'], + 200: ['Nokia', 'Asha 200'], + 201: ['Nokia', 'Asha 201'], + 202: ['Nokia', 'Asha 202'], + 203: ['Nokia', 'Asha 203'], + 205: ['Nokia', 'Asha 205'], + 205.1: ['Nokia', 'Asha 205'], + 205.3: ['Nokia', 'Asha 205'], + 206: ['Nokia', 'Asha 206'], + 206.1: ['Nokia', 'Asha 206'], + 208: ['Nokia', '208'], + 208.1: ['Nokia', '208'], + 208.2: ['Nokia', '208'], + 208.3: ['Nokia', '208'], + 208.4: ['Nokia', '208'], + 210: ['Nokia', 'Asha 210'], + 210.2: ['Nokia', 'Asha 210'], + 210.3: ['Nokia', 'Asha 210'], + 210.4: ['Nokia', 'Asha 210'], + 210.5: ['Nokia', 'Asha 210'], + 300: ['Nokia', 'Asha 300'], + 301: ['Nokia', '301'], + 301.1: ['Nokia', '301'], + 302: ['Nokia', 'Asha 302'], + 303: ['Nokia', 'Asha 303'], + 305: ['Nokia', 'Asha 305'], + 306: ['Nokia', 'Asha 306'], + 308: ['Nokia', 'Asha 308'], + 309: ['Nokia', 'Asha 309'], + 310: ['Nokia', 'Asha 310'], + 311: ['Nokia', 'Asha 311'], + 515: ['Nokia', '515'], + 515.2: ['Nokia', '515'], + '1682c': ['Nokia', '1682 classic'], + 2055: ['Nokia', 'Asha 2055'], + 2060: ['Nokia', '2060'], // Same as Asha 206 + '2220s!': ['Nokia', '2220 slide'], + '2320c!': ['Nokia', '2320 classic'], + '2322c!': ['Nokia', '2322 classic'], + '2323c!': ['Nokia', '2323 classic'], + '2330c!': ['Nokia', '2330 classic'], + '2600c!': ['Nokia', '2600 classic'], + '2680s!': ['Nokia', '2680 slide'], + 2690: ['Nokia', '2690'], + 2692: ['Nokia', '2692'], + '2700c!': ['Nokia', '2700 classic'], + '2710c': ['Nokia', '2710'], + '2710c-2': ['Nokia', '2710'], + '2720a!': ['Nokia', '2720 fold'], + '2730c!': ['Nokia', '2730 classic'], + 3020: ['Nokia', '3020'], + '3109c': ['Nokia', '3109 classic'], + '3110c': ['Nokia', '3110 Evolve'], + '3120c': ['Nokia', '3120 classic'], + '3120classic': ['Nokia', '3120 classic'], + '3208c': ['Nokia', '3208 classic'], + '3500c': ['Nokia', '3500 classic'], + '3555b': ['Nokia', '3555'], + '3600s': ['Nokia', '3600 slide'], + '3610a': ['Nokia', '3610 fold'], + '3710fold': ['Nokia', '3710 fold'], + '3720c': ['Nokia', '3720 classic'], + '5000!': ['Nokia', '5000'], + '5130!': ['Nokia', '5130 XpressMusic'], + '5130c!': ['Nokia', '5130 classic'], + 5132: ['Nokia', '5132 XpressMusic'], + '5200!': ['Nokia', '5200'], + '5220!': ['Nokia', '5220 XpressMusic'], + '5300!': ['Nokia', '5300 XpressMusic'], + '5310!': ['Nokia', '5310 XpressMusic'], + 5330: ['Nokia', '5330 Mobile TV Edition'], + '5330-1d': ['Nokia', '5330 Mobile TV Edition'], + '5610d!': ['Nokia', '5610 XpressMusic'], + '6070!': ['Nokia', '6070'], + '6208c': ['Nokia', '6208 classic'], + '6212c': ['Nokia', '6212 classic'], + '6260s!': ['Nokia', '6260 slide'], + '6230i!': ['Nokia', '6230i'], + 6233: ['Nokia', '6233'], + 6234: ['Nokia', '6234'], + '6263!': ['Nokia', '6263'], + 6280: ['Nokia', '6280'], + 6300: ['Nokia', '6300'], + '6300i': ['Nokia', '6300i'], + 6301: ['Nokia', '6301'], + '6303c': ['Nokia', '6303 classic'], + '6303classic': ['Nokia', '6303 classic'], + '6303iclassic': ['Nokia', '6303i classic'], + '6303ci': ['Nokia', '6303i classic'], + 6350: ['Nokia', '6350'], + '6500s!': ['Nokia', '6500 slide'], + '6600f!': ['Nokia', '6600 fold'], + '6600s!': ['Nokia', '6600 slide'], + '6600i!': ['Nokia', '6600i slide'], + '6700c!': ['Nokia', '6700 classic'], + '6750c': ['Nokia', '6750 Mural'], + '7070!': ['Nokia', '7070 Prism'], + '7100s!': ['Nokia', '7100 Supernova'], + '7210s!': ['Nokia', '7210 Supernova'], + '7210Supernova!': ['Nokia', '7210 Supernova'], + '7230!': ['Nokia', '7230'], + '7310c!': ['Nokia', '7310 Supernova'], + 7500: ['Nokia', '7500 Prism'], + '7510Supernova!': ['Nokia', '7510 Supernova'], + '7610Supernova!': ['Nokia', '7610 Supernova'], + '8800!': ['Nokia', '8800 Arte'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-symbian.js b/data/models-symbian.js index 7bbcc45..f7d084c 100644 --- a/data/models-symbian.js +++ b/data/models-symbian.js @@ -1,184 +1,182 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - const Flag = require('../src/constants').flag; exports.SYMBIAN_MODELS = { - 'BenQ P30' : [ 'BenQ', 'P30', {'flag' : Flag.UIQ} ], - 'BenQ P31' : [ 'BenQ', 'P31', {'flag' : Flag.UIQ} ], - 'RIZR-Z8' : [ 'Motorola', 'RIZR Z8', {'flag' : Flag.UIQ} ], - 'RIZR-Z10' : [ 'Motorola', 'RIZR Z10', {'flag' : Flag.UIQ} ], - 'A920' : [ 'Motorola', 'A920', {'flag' : Flag.UIQ} ], - 'A925' : [ 'Motorola', 'A925', {'flag' : Flag.UIQ} ], - 'A1000' : [ 'Motorola', 'A1000', {'flag' : Flag.UIQ} ], - 'M1000' : [ 'Motorola', 'M1000', {'flag' : Flag.UIQ}, {'carrier' : 'DoCoMo'} ], - 'G700' : [ 'Sony Ericsson', 'G700', {'flag' : Flag.UIQ} ], - 'G900' : [ 'Sony Ericsson', 'G900', {'flag' : Flag.UIQ} ], - 'M600i' : [ 'Sony Ericsson', 'M600', {'flag' : Flag.UIQ} ], - 'P910i' : [ 'Sony Ericsson', 'P910', {'flag' : Flag.UIQ} ], - 'P990i' : [ 'Sony Ericsson', 'P990', {'flag' : Flag.UIQ} ], - 'P1i' : [ 'Sony Ericsson', 'P1', {'flag' : Flag.UIQ} ], - 'W950i' : [ 'Sony Ericsson', 'W950', {'flag' : Flag.UIQ} ], - 'W960i' : [ 'Sony Ericsson', 'W960', {'flag' : Flag.UIQ} ], + 'BenQ P30': ['BenQ', 'P30', { flag: Flag.UIQ }], + 'BenQ P31': ['BenQ', 'P31', { flag: Flag.UIQ }], + 'RIZR-Z8': ['Motorola', 'RIZR Z8', { flag: Flag.UIQ }], + 'RIZR-Z10': ['Motorola', 'RIZR Z10', { flag: Flag.UIQ }], + A920: ['Motorola', 'A920', { flag: Flag.UIQ }], + A925: ['Motorola', 'A925', { flag: Flag.UIQ }], + A1000: ['Motorola', 'A1000', { flag: Flag.UIQ }], + M1000: ['Motorola', 'M1000', { flag: Flag.UIQ }, { carrier: 'DoCoMo' }], + G700: ['Sony Ericsson', 'G700', { flag: Flag.UIQ }], + G900: ['Sony Ericsson', 'G900', { flag: Flag.UIQ }], + M600i: ['Sony Ericsson', 'M600', { flag: Flag.UIQ }], + P910i: ['Sony Ericsson', 'P910', { flag: Flag.UIQ }], + P990i: ['Sony Ericsson', 'P990', { flag: Flag.UIQ }], + P1i: ['Sony Ericsson', 'P1', { flag: Flag.UIQ }], + W950i: ['Sony Ericsson', 'W950', { flag: Flag.UIQ }], + W960i: ['Sony Ericsson', 'W960', { flag: Flag.UIQ }], - 'LG KS10' : [ 'LG', 'KS10 Joy', {'flag' : Flag.S60} ], - 'LGKT610' : [ 'LG', 'KT610', {'flag' : Flag.S60} ], - 'LGKT615' : [ 'LG', 'KT615', {'flag' : Flag.S60} ], - 'C5-00!' : [ 'Nokia', 'C5-00', {'flag' : Flag.S60} ], - 'C5-01' : [ 'Nokia', 'C5-01', {'flag' : Flag.S60} ], - 'C5-03!' : [ 'Nokia', 'C5-03', {'flag' : Flag.S60} ], - 'C5-04' : [ 'Nokia', 'C5-04', {'flag' : Flag.S60} ], - 'C5-05' : [ 'Nokia', 'C5-05', {'flag' : Flag.S60} ], - 'C5-06' : [ 'Nokia', 'C5-06', {'flag' : Flag.S60} ], - 'C6-00!' : [ 'Nokia', 'C6-00', {'flag' : Flag.S60} ], - 'C6-01!' : [ 'Nokia', 'C6-01', {'flag' : Flag.S60} ], - 'C7-00!' : [ 'Nokia', 'C7-00', {'flag' : Flag.S60} ], - 'E5-00!' : [ 'Nokia', 'E5-00', {'flag' : Flag.S60} ], - 'E6' : [ 'Nokia', 'E6-00', {'flag' : Flag.S60} ], - 'E6-00' : [ 'Nokia', 'E6-00', {'flag' : Flag.S60} ], - 'E7-00' : [ 'Nokia', 'E7-00', {'flag' : Flag.S60} ], - 'N8-00' : [ 'Nokia', 'N8-00', {'flag' : Flag.S60} ], - 'T7-00' : [ 'Nokia', 'T7-00', {'flag' : Flag.S60} ], - 'X5-00' : [ 'Nokia', 'X5-00', {'flag' : Flag.S60} ], - 'X5-01' : [ 'Nokia', 'X5-01', {'flag' : Flag.S60} ], - 'X6-00!' : [ 'Nokia', 'X6-00', {'flag' : Flag.S60} ], - 'X7-00!' : [ 'Nokia', 'X7-00', {'flag' : Flag.S60} ], - 'N-Gage' : [ 'Nokia', 'N-Gage', {'flag' : Flag.S60} ], - 'N-GageQD' : [ 'Nokia', 'N-Gage QD', {'flag' : Flag.S60} ], - 'E50(-[1-9])?$!' : [ 'Nokia', 'E50', {'flag' : Flag.S60} ], - 'E51(-[1-9])?$!' : [ 'Nokia', 'E51', {'flag' : Flag.S60} ], - 'E52(-[1-9])?$!' : [ 'Nokia', 'E52', {'flag' : Flag.S60} ], - 'E55(-[1-9])?$!' : [ 'Nokia', 'E55', {'flag' : Flag.S60} ], - 'E60(-[1-9])?$!' : [ 'Nokia', 'E60', {'flag' : Flag.S60} ], - 'E61i!' : [ 'Nokia', 'E61i', {'flag' : Flag.S60} ], - 'E61(-[1-9])?$!' : [ 'Nokia', 'E61', {'flag' : Flag.S60} ], - 'E62(-[1-9])?$!' : [ 'Nokia', 'E62', {'flag' : Flag.S60} ], - 'E63(-[1-9])?$!' : [ 'Nokia', 'E63', {'flag' : Flag.S60} ], - 'E65(-[1-9])?$!' : [ 'Nokia', 'E65', {'flag' : Flag.S60} ], - 'E66(-[1-9])?$!' : [ 'Nokia', 'E66', {'flag' : Flag.S60} ], - 'E70(-[1-9])?$!' : [ 'Nokia', 'E70', {'flag' : Flag.S60} ], - 'E71x' : [ 'Nokia', 'E71x', {'flag' : Flag.S60} ], - 'E71(-[1-9])?$!' : [ 'Nokia', 'E71', {'flag' : Flag.S60} ], - 'E72(-[1-9])?$!' : [ 'Nokia', 'E72', {'flag' : Flag.S60} ], - 'E73(-[1-9])?$!' : [ 'Nokia', 'E73 Mode', {'flag' : Flag.S60} ], - 'E75(-[1-9])?$!' : [ 'Nokia', 'E75', {'flag' : Flag.S60} ], - 'E90(-[1-9])?$!' : [ 'Nokia', 'E90 Communicator', {'flag' : Flag.S60} ], - 'E-90-1' : [ 'Nokia', 'E90 Communicator', {'flag' : Flag.S60} ], - 'N70(-[1-9])?$!' : [ 'Nokia', 'N70', {'flag' : Flag.S60} ], - 'N71(-[1-9])?$!' : [ 'Nokia', 'N71', {'flag' : Flag.S60} ], - 'N72(-[1-9])?$!' : [ 'Nokia', 'N72', {'flag' : Flag.S60} ], - 'N73(-[1-9])?$!' : [ 'Nokia', 'N73', {'flag' : Flag.S60} ], - 'N75(-[1-9])?$!' : [ 'Nokia', 'N75', {'flag' : Flag.S60} ], - 'N76(-[1-9])?$!' : [ 'Nokia', 'N76', {'flag' : Flag.S60} ], - 'N77(-[1-9])?$!' : [ 'Nokia', 'N77', {'flag' : Flag.S60} ], - 'N78(-[1-9])?$!' : [ 'Nokia', 'N78', {'flag' : Flag.S60} ], - 'N79(-[1-9])?$!' : [ 'Nokia', 'N79', {'flag' : Flag.S60} ], - 'N80(-[1-9])?$!' : [ 'Nokia', 'N80', {'flag' : Flag.S60} ], - 'N81(-[1-9])?$!' : [ 'Nokia', 'N81', {'flag' : Flag.S60} ], - 'Nokia N81' : [ 'Nokia', 'N81', {'flag' : Flag.S60} ], - 'Nokia N81 8GB' : [ 'Nokia', 'N81 8GB', {'flag' : Flag.S60} ], - 'N82(-[1-9])?$!' : [ 'Nokia', 'N82', {'flag' : Flag.S60} ], - 'N85(-[1-9])?$!' : [ 'Nokia', 'N85', {'flag' : Flag.S60} ], - 'N86(-[1-9])?$!' : [ 'Nokia', 'N86 8MP', {'flag' : Flag.S60} ], - 'N86 ?8MP$!' : [ 'Nokia', 'N86 8MP', {'flag' : Flag.S60} ], - 'N90(-[1-9])?$!' : [ 'Nokia', 'N90', {'flag' : Flag.S60} ], - 'N91(-[1-9])?$!' : [ 'Nokia', 'N91', {'flag' : Flag.S60} ], - 'N92(-[1-9])?$!' : [ 'Nokia', 'N92', {'flag' : Flag.S60} ], - 'N93(-[1-9])?$!' : [ 'Nokia', 'N93', {'flag' : Flag.S60} ], - 'N93i' : [ 'Nokia', 'N93i', {'flag' : Flag.S60} ], - 'N95(-[1-9])?$!' : [ 'Nokia', 'N95', {'flag' : Flag.S60} ], - 'N95[ -]8GB(-[1-9])?!' : [ 'Nokia', 'N95 8GB', {'flag' : Flag.S60} ], - 'N96(-[1-9])?$!' : [ 'Nokia', 'N96', {'flag' : Flag.S60} ], - 'N97(-[1-3])?$!' : [ 'Nokia', 'N97', {'flag' : Flag.S60} ], - 'N97i' : [ 'Nokia', 'N97', {'flag' : Flag.S60} ], - 'N97(-[4-5])?$!' : [ 'Nokia', 'N97 Mini', {'flag' : Flag.S60} ], - 'N97 ?mini!' : [ 'Nokia', 'N97 Mini', {'flag' : Flag.S60} ], - '500' : [ 'Nokia', '500', {'flag' : Flag.S60} ], - '600' : [ 'Nokia', '600', {'flag' : Flag.S60} ], - '603' : [ 'Nokia', '603', {'flag' : Flag.S60} ], - '700' : [ 'Nokia', '700', {'flag' : Flag.S60} ], - '701' : [ 'Nokia', '701', {'flag' : Flag.S60} ], - '702T' : [ 'Nokia', '702T', {'flag' : Flag.S60} ], - '801T' : [ 'Nokia', '801T', {'flag' : Flag.S60} ], - '808' : [ 'Nokia', '808 PureView', {'flag' : Flag.S60} ], - '808PureView' : [ 'Nokia', '808 PureView', {'flag' : Flag.S60} ], - '808 PureView' : [ 'Nokia', '808 PureView', {'flag' : Flag.S60} ], - '3230' : [ 'Nokia', '3230', {'flag' : Flag.S60} ], - '3250' : [ 'Nokia', '3250', {'flag' : Flag.S60} ], - '3650' : [ 'Nokia', '3650', {'flag' : Flag.S60} ], - '3660' : [ 'Nokia', '3660', {'flag' : Flag.S60} ], - '5228' : [ 'Nokia', '5228', {'flag' : Flag.S60} ], - '5233!' : [ 'Nokia', '5228', {'flag' : Flag.S60} ], // The 5233 is known as 5228 - 'N5233!' : [ 'Nokia', '5228', {'flag' : Flag.S60} ], // The 5233 is known as 5228 - '5230!' : [ 'Nokia', '5230', {'flag' : Flag.S60} ], - '5232' : [ 'Nokia', '5232', {'flag' : Flag.S60} ], - '5235!' : [ 'Nokia', '5235 Ovi Music Unlimited', {'flag' : Flag.S60} ], - '5236' : [ 'Nokia', '5236', {'flag' : Flag.S60} ], - '5238' : [ 'Nokia', '5238', {'flag' : Flag.S60} ], - '5250' : [ 'Nokia', '5250', {'flag' : Flag.S60} ], - '5320!' : [ 'Nokia', '5320 XpressMusic', {'flag' : Flag.S60} ], - '5500d!' : [ 'Nokia', '5500 Sport', {'flag' : Flag.S60} ], - '5530!' : [ 'Nokia', '5530 XpressMusic', {'flag' : Flag.S60} ], - '5630!' : [ 'Nokia', '5630 XpressMusic', {'flag' : Flag.S60} ], - '5700!' : [ 'Nokia', '5700 XpressMusic', {'flag' : Flag.S60} ], - '5730!' : [ 'Nokia', '5730 XpressMusic', {'flag' : Flag.S60} ], - '5800!' : [ 'Nokia', '5800 XpressMusic', {'flag' : Flag.S60} ], - '6110Navigator' : [ 'Nokia', '6110 Navigator', {'flag' : Flag.S60} ], - '6120c!' : [ 'Nokia', '6120 classic', {'flag' : Flag.S60} ], - '6121c!' : [ 'Nokia', '6121 classic', {'flag' : Flag.S60} ], - '6122c!' : [ 'Nokia', '6124 classic', {'flag' : Flag.S60} ], // The 6122 is known as 6124 - '6124c' : [ 'Nokia', '6124 classic', {'flag' : Flag.S60} ], - '6210 ?Navigator!' : [ 'Nokia', '6210 Navigator', {'flag' : Flag.S60} ], - '6220c!' : [ 'Nokia', '6220 classic', {'flag' : Flag.S60} ], - '6260' : [ 'Nokia', '6260', {'flag' : Flag.S60} ], - '6290!' : [ 'Nokia', '6290', {'flag' : Flag.S60} ], - '6600' : [ 'Nokia', '6600', {'flag' : Flag.S60} ], - '6630' : [ 'Nokia', '6630', {'flag' : Flag.S60} ], - '6650d!' : [ 'Nokia', '6650 fold', {'flag' : Flag.S60} ], - '6670' : [ 'Nokia', '6670', {'flag' : Flag.S60} ], - '6680' : [ 'Nokia', '6680', {'flag' : Flag.S60} ], - '6681' : [ 'Nokia', '6681', {'flag' : Flag.S60} ], - '6700s' : [ 'Nokia', '6700 slide', {'flag' : Flag.S60} ], - '6700s-1c' : [ 'Nokia', '6700 slide', {'flag' : Flag.S60} ], - '6708' : [ 'Nokia', '6708', {'flag' : Flag.UIQ} ], - '6710s' : [ 'Nokia', '6710 Navigator', {'flag' : Flag.S60} ], - '6720c!' : [ 'Nokia', '6720 classic', {'flag' : Flag.S60} ], - '6730c!' : [ 'Nokia', '6730 classic', {'flag' : Flag.S60} ], - '6760s!' : [ 'Nokia', '6760 slide', {'flag' : Flag.S60} ], - '6788' : [ 'Nokia', '6788', {'flag' : Flag.S60} ], - '6788i' : [ 'Nokia', '6788i', {'flag' : Flag.S60} ], - '6790s-1b!' : [ 'Nokia', '6790 Surge', {'flag' : Flag.S60} ], - '6790s-1c!' : [ 'Nokia', '6790 slide', {'flag' : Flag.S60} ], - '7610' : [ 'Nokia', '7610', {'flag' : Flag.S60} ], - '7650' : [ 'Nokia', '7650', {'flag' : Flag.S60} ], - '7660' : [ 'Nokia', '7660', {'flag' : Flag.S60} ], - 'Oro' : [ 'Nokia', 'Oro', {'flag' : Flag.S60} ], - 'Panasonic-X700' : [ 'Panasonic', 'X700', {'flag' : Flag.S60} ], - 'Panasonic-X800' : [ 'Panasonic', 'X800', {'flag' : Flag.S60} ], - 'I7710' : [ 'Samsung', 'GT-I7710', {'flag' : Flag.S60} ], - 'I8510' : [ 'Samsung', 'INNOV8', {'flag' : Flag.S60} ], - 'I8910' : [ 'Samsung', 'Omnia HD', {'flag' : Flag.S60} ], - 'SGH-D720' : [ 'Samsung', 'D720', {'flag' : Flag.S60} ], - 'SGH-D728' : [ 'Samsung', 'D728', {'flag' : Flag.S60} ], - 'SGH-D730' : [ 'Samsung', 'D730', {'flag' : Flag.S60} ], - 'SGH-i400!' : [ 'Samsung', 'i400', {'flag' : Flag.S60} ], - 'SGH-i408!' : [ 'Samsung', 'i408', {'flag' : Flag.S60} ], - 'SGH-i450!' : [ 'Samsung', 'i450', {'flag' : Flag.S60} ], - 'SGH-i455!' : [ 'Samsung', 'i455', {'flag' : Flag.S60} ], - 'SGH-i458!' : [ 'Samsung', 'i458', {'flag' : Flag.S60} ], - 'SGH-i520!' : [ 'Samsung', 'i520', {'flag' : Flag.S60} ], - 'SGH-i550!' : [ 'Samsung', 'i550', {'flag' : Flag.S60} ], - 'SGH-i560!' : [ 'Samsung', 'i560', {'flag' : Flag.S60} ], - 'SGH-i568!' : [ 'Samsung', 'i568', {'flag' : Flag.S60} ], - 'SGH-i570!' : [ 'Samsung', 'i570', {'flag' : Flag.S60} ], - 'SGH-G810' : [ 'Samsung', 'G810', {'flag' : Flag.S60} ], - 'U' : [ 'Sony Ericsson', 'Satio', {'flag' : Flag.S60} ], - '(?i)U1(a|i|iv)?$!' : [ 'Sony Ericsson', 'Satio', {'flag' : Flag.S60} ], - '(?i)U5(a|i|iv)?$!' : [ 'Sony Ericsson', 'Vivaz', {'flag' : Flag.S60} ], - '(?i)U8(a|i)?$!' : [ 'Sony Ericsson', 'Vivaz Pro', {'flag' : Flag.S60} ], - 'ConstellationT' : [ 'Vertu', 'Constellation T', {'flag' : Flag.S60} ], - 'ConstellationQuest' : [ 'Vertu', 'Constellation Quest', {'flag' : Flag.S60} ], + 'LG KS10': ['LG', 'KS10 Joy', { flag: Flag.S60 }], + LGKT610: ['LG', 'KT610', { flag: Flag.S60 }], + LGKT615: ['LG', 'KT615', { flag: Flag.S60 }], + 'C5-00!': ['Nokia', 'C5-00', { flag: Flag.S60 }], + 'C5-01': ['Nokia', 'C5-01', { flag: Flag.S60 }], + 'C5-03!': ['Nokia', 'C5-03', { flag: Flag.S60 }], + 'C5-04': ['Nokia', 'C5-04', { flag: Flag.S60 }], + 'C5-05': ['Nokia', 'C5-05', { flag: Flag.S60 }], + 'C5-06': ['Nokia', 'C5-06', { flag: Flag.S60 }], + 'C6-00!': ['Nokia', 'C6-00', { flag: Flag.S60 }], + 'C6-01!': ['Nokia', 'C6-01', { flag: Flag.S60 }], + 'C7-00!': ['Nokia', 'C7-00', { flag: Flag.S60 }], + 'E5-00!': ['Nokia', 'E5-00', { flag: Flag.S60 }], + E6: ['Nokia', 'E6-00', { flag: Flag.S60 }], + 'E6-00': ['Nokia', 'E6-00', { flag: Flag.S60 }], + 'E7-00': ['Nokia', 'E7-00', { flag: Flag.S60 }], + 'N8-00': ['Nokia', 'N8-00', { flag: Flag.S60 }], + 'T7-00': ['Nokia', 'T7-00', { flag: Flag.S60 }], + 'X5-00': ['Nokia', 'X5-00', { flag: Flag.S60 }], + 'X5-01': ['Nokia', 'X5-01', { flag: Flag.S60 }], + 'X6-00!': ['Nokia', 'X6-00', { flag: Flag.S60 }], + 'X7-00!': ['Nokia', 'X7-00', { flag: Flag.S60 }], + 'N-Gage': ['Nokia', 'N-Gage', { flag: Flag.S60 }], + 'N-GageQD': ['Nokia', 'N-Gage QD', { flag: Flag.S60 }], + 'E50(-[1-9])?$!': ['Nokia', 'E50', { flag: Flag.S60 }], + 'E51(-[1-9])?$!': ['Nokia', 'E51', { flag: Flag.S60 }], + 'E52(-[1-9])?$!': ['Nokia', 'E52', { flag: Flag.S60 }], + 'E55(-[1-9])?$!': ['Nokia', 'E55', { flag: Flag.S60 }], + 'E60(-[1-9])?$!': ['Nokia', 'E60', { flag: Flag.S60 }], + 'E61i!': ['Nokia', 'E61i', { flag: Flag.S60 }], + 'E61(-[1-9])?$!': ['Nokia', 'E61', { flag: Flag.S60 }], + 'E62(-[1-9])?$!': ['Nokia', 'E62', { flag: Flag.S60 }], + 'E63(-[1-9])?$!': ['Nokia', 'E63', { flag: Flag.S60 }], + 'E65(-[1-9])?$!': ['Nokia', 'E65', { flag: Flag.S60 }], + 'E66(-[1-9])?$!': ['Nokia', 'E66', { flag: Flag.S60 }], + 'E70(-[1-9])?$!': ['Nokia', 'E70', { flag: Flag.S60 }], + E71x: ['Nokia', 'E71x', { flag: Flag.S60 }], + 'E71(-[1-9])?$!': ['Nokia', 'E71', { flag: Flag.S60 }], + 'E72(-[1-9])?$!': ['Nokia', 'E72', { flag: Flag.S60 }], + 'E73(-[1-9])?$!': ['Nokia', 'E73 Mode', { flag: Flag.S60 }], + 'E75(-[1-9])?$!': ['Nokia', 'E75', { flag: Flag.S60 }], + 'E90(-[1-9])?$!': ['Nokia', 'E90 Communicator', { flag: Flag.S60 }], + 'E-90-1': ['Nokia', 'E90 Communicator', { flag: Flag.S60 }], + 'N70(-[1-9])?$!': ['Nokia', 'N70', { flag: Flag.S60 }], + 'N71(-[1-9])?$!': ['Nokia', 'N71', { flag: Flag.S60 }], + 'N72(-[1-9])?$!': ['Nokia', 'N72', { flag: Flag.S60 }], + 'N73(-[1-9])?$!': ['Nokia', 'N73', { flag: Flag.S60 }], + 'N75(-[1-9])?$!': ['Nokia', 'N75', { flag: Flag.S60 }], + 'N76(-[1-9])?$!': ['Nokia', 'N76', { flag: Flag.S60 }], + 'N77(-[1-9])?$!': ['Nokia', 'N77', { flag: Flag.S60 }], + 'N78(-[1-9])?$!': ['Nokia', 'N78', { flag: Flag.S60 }], + 'N79(-[1-9])?$!': ['Nokia', 'N79', { flag: Flag.S60 }], + 'N80(-[1-9])?$!': ['Nokia', 'N80', { flag: Flag.S60 }], + 'N81(-[1-9])?$!': ['Nokia', 'N81', { flag: Flag.S60 }], + 'Nokia N81': ['Nokia', 'N81', { flag: Flag.S60 }], + 'Nokia N81 8GB': ['Nokia', 'N81 8GB', { flag: Flag.S60 }], + 'N82(-[1-9])?$!': ['Nokia', 'N82', { flag: Flag.S60 }], + 'N85(-[1-9])?$!': ['Nokia', 'N85', { flag: Flag.S60 }], + 'N86(-[1-9])?$!': ['Nokia', 'N86 8MP', { flag: Flag.S60 }], + 'N86 ?8MP$!': ['Nokia', 'N86 8MP', { flag: Flag.S60 }], + 'N90(-[1-9])?$!': ['Nokia', 'N90', { flag: Flag.S60 }], + 'N91(-[1-9])?$!': ['Nokia', 'N91', { flag: Flag.S60 }], + 'N92(-[1-9])?$!': ['Nokia', 'N92', { flag: Flag.S60 }], + 'N93(-[1-9])?$!': ['Nokia', 'N93', { flag: Flag.S60 }], + N93i: ['Nokia', 'N93i', { flag: Flag.S60 }], + 'N95(-[1-9])?$!': ['Nokia', 'N95', { flag: Flag.S60 }], + 'N95[ -]8GB(-[1-9])?!': ['Nokia', 'N95 8GB', { flag: Flag.S60 }], + 'N96(-[1-9])?$!': ['Nokia', 'N96', { flag: Flag.S60 }], + 'N97(-[1-3])?$!': ['Nokia', 'N97', { flag: Flag.S60 }], + N97i: ['Nokia', 'N97', { flag: Flag.S60 }], + 'N97(-[4-5])?$!': ['Nokia', 'N97 Mini', { flag: Flag.S60 }], + 'N97 ?mini!': ['Nokia', 'N97 Mini', { flag: Flag.S60 }], + 500: ['Nokia', '500', { flag: Flag.S60 }], + 600: ['Nokia', '600', { flag: Flag.S60 }], + 603: ['Nokia', '603', { flag: Flag.S60 }], + 700: ['Nokia', '700', { flag: Flag.S60 }], + 701: ['Nokia', '701', { flag: Flag.S60 }], + '702T': ['Nokia', '702T', { flag: Flag.S60 }], + '801T': ['Nokia', '801T', { flag: Flag.S60 }], + 808: ['Nokia', '808 PureView', { flag: Flag.S60 }], + '808PureView': ['Nokia', '808 PureView', { flag: Flag.S60 }], + '808 PureView': ['Nokia', '808 PureView', { flag: Flag.S60 }], + 3230: ['Nokia', '3230', { flag: Flag.S60 }], + 3250: ['Nokia', '3250', { flag: Flag.S60 }], + 3650: ['Nokia', '3650', { flag: Flag.S60 }], + 3660: ['Nokia', '3660', { flag: Flag.S60 }], + 5228: ['Nokia', '5228', { flag: Flag.S60 }], + '5233!': ['Nokia', '5228', { flag: Flag.S60 }], // The 5233 is known as 5228 + 'N5233!': ['Nokia', '5228', { flag: Flag.S60 }], // The 5233 is known as 5228 + '5230!': ['Nokia', '5230', { flag: Flag.S60 }], + 5232: ['Nokia', '5232', { flag: Flag.S60 }], + '5235!': ['Nokia', '5235 Ovi Music Unlimited', { flag: Flag.S60 }], + 5236: ['Nokia', '5236', { flag: Flag.S60 }], + 5238: ['Nokia', '5238', { flag: Flag.S60 }], + 5250: ['Nokia', '5250', { flag: Flag.S60 }], + '5320!': ['Nokia', '5320 XpressMusic', { flag: Flag.S60 }], + '5500d!': ['Nokia', '5500 Sport', { flag: Flag.S60 }], + '5530!': ['Nokia', '5530 XpressMusic', { flag: Flag.S60 }], + '5630!': ['Nokia', '5630 XpressMusic', { flag: Flag.S60 }], + '5700!': ['Nokia', '5700 XpressMusic', { flag: Flag.S60 }], + '5730!': ['Nokia', '5730 XpressMusic', { flag: Flag.S60 }], + '5800!': ['Nokia', '5800 XpressMusic', { flag: Flag.S60 }], + '6110Navigator': ['Nokia', '6110 Navigator', { flag: Flag.S60 }], + '6120c!': ['Nokia', '6120 classic', { flag: Flag.S60 }], + '6121c!': ['Nokia', '6121 classic', { flag: Flag.S60 }], + '6122c!': ['Nokia', '6124 classic', { flag: Flag.S60 }], // The 6122 is known as 6124 + '6124c': ['Nokia', '6124 classic', { flag: Flag.S60 }], + '6210 ?Navigator!': ['Nokia', '6210 Navigator', { flag: Flag.S60 }], + '6220c!': ['Nokia', '6220 classic', { flag: Flag.S60 }], + 6260: ['Nokia', '6260', { flag: Flag.S60 }], + '6290!': ['Nokia', '6290', { flag: Flag.S60 }], + 6600: ['Nokia', '6600', { flag: Flag.S60 }], + 6630: ['Nokia', '6630', { flag: Flag.S60 }], + '6650d!': ['Nokia', '6650 fold', { flag: Flag.S60 }], + 6670: ['Nokia', '6670', { flag: Flag.S60 }], + 6680: ['Nokia', '6680', { flag: Flag.S60 }], + 6681: ['Nokia', '6681', { flag: Flag.S60 }], + '6700s': ['Nokia', '6700 slide', { flag: Flag.S60 }], + '6700s-1c': ['Nokia', '6700 slide', { flag: Flag.S60 }], + 6708: ['Nokia', '6708', { flag: Flag.UIQ }], + '6710s': ['Nokia', '6710 Navigator', { flag: Flag.S60 }], + '6720c!': ['Nokia', '6720 classic', { flag: Flag.S60 }], + '6730c!': ['Nokia', '6730 classic', { flag: Flag.S60 }], + '6760s!': ['Nokia', '6760 slide', { flag: Flag.S60 }], + 6788: ['Nokia', '6788', { flag: Flag.S60 }], + '6788i': ['Nokia', '6788i', { flag: Flag.S60 }], + '6790s-1b!': ['Nokia', '6790 Surge', { flag: Flag.S60 }], + '6790s-1c!': ['Nokia', '6790 slide', { flag: Flag.S60 }], + 7610: ['Nokia', '7610', { flag: Flag.S60 }], + 7650: ['Nokia', '7650', { flag: Flag.S60 }], + 7660: ['Nokia', '7660', { flag: Flag.S60 }], + Oro: ['Nokia', 'Oro', { flag: Flag.S60 }], + 'Panasonic-X700': ['Panasonic', 'X700', { flag: Flag.S60 }], + 'Panasonic-X800': ['Panasonic', 'X800', { flag: Flag.S60 }], + I7710: ['Samsung', 'GT-I7710', { flag: Flag.S60 }], + I8510: ['Samsung', 'INNOV8', { flag: Flag.S60 }], + I8910: ['Samsung', 'Omnia HD', { flag: Flag.S60 }], + 'SGH-D720': ['Samsung', 'D720', { flag: Flag.S60 }], + 'SGH-D728': ['Samsung', 'D728', { flag: Flag.S60 }], + 'SGH-D730': ['Samsung', 'D730', { flag: Flag.S60 }], + 'SGH-i400!': ['Samsung', 'i400', { flag: Flag.S60 }], + 'SGH-i408!': ['Samsung', 'i408', { flag: Flag.S60 }], + 'SGH-i450!': ['Samsung', 'i450', { flag: Flag.S60 }], + 'SGH-i455!': ['Samsung', 'i455', { flag: Flag.S60 }], + 'SGH-i458!': ['Samsung', 'i458', { flag: Flag.S60 }], + 'SGH-i520!': ['Samsung', 'i520', { flag: Flag.S60 }], + 'SGH-i550!': ['Samsung', 'i550', { flag: Flag.S60 }], + 'SGH-i560!': ['Samsung', 'i560', { flag: Flag.S60 }], + 'SGH-i568!': ['Samsung', 'i568', { flag: Flag.S60 }], + 'SGH-i570!': ['Samsung', 'i570', { flag: Flag.S60 }], + 'SGH-G810': ['Samsung', 'G810', { flag: Flag.S60 }], + U: ['Sony Ericsson', 'Satio', { flag: Flag.S60 }], + '(?i)U1(a|i|iv)?$!': ['Sony Ericsson', 'Satio', { flag: Flag.S60 }], + '(?i)U5(a|i|iv)?$!': ['Sony Ericsson', 'Vivaz', { flag: Flag.S60 }], + '(?i)U8(a|i)?$!': ['Sony Ericsson', 'Vivaz Pro', { flag: Flag.S60 }], + ConstellationT: ['Vertu', 'Constellation T', { flag: Flag.S60 }], + ConstellationQuest: ['Vertu', 'Constellation Quest', { flag: Flag.S60 }], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-tizen.js b/data/models-tizen.js index cd9a8de..e339a62 100644 --- a/data/models-tizen.js +++ b/data/models-tizen.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - const DeviceType = require('../src/constants').deviceType; exports.TIZEN_MODELS = { @@ -64,7 +62,7 @@ exports.TIZEN_MODELS = { sdk: [null, null, DeviceType.EMULATOR], Emulator: [null, null, DeviceType.EMULATOR], 'Mobile-Emulator': [null, null, DeviceType.EMULATOR], - 'TIZEN Emulator': [null, null, DeviceType.EMULATOR] + 'TIZEN Emulator': [null, null, DeviceType.EMULATOR], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-touchwiz.js b/data/models-touchwiz.js index 4f73e0d..e23b303 100644 --- a/data/models-touchwiz.js +++ b/data/models-touchwiz.js @@ -1,48 +1,46 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - exports.TOUCHWIZ_MODELS = { - 'GT-B5310!' : [ 'Samsung', 'Corby Pro' ], - 'GT-B3410' : [ 'Samsung', 'Star Qwerty' ], - 'GT-B7722' : [ 'Samsung', 'Star Duos' ], - 'GT-C3262' : [ 'Samsung', 'Champ Neo Duos' ], - 'GT-C33(00|03)!' : [ 'Samsung', 'Champ' ], - 'GT-C3312R' : [ 'Samsung', 'Rex 60' ], - 'GT-C3312!' : [ 'Samsung', 'Champ Deluxe Duos' ], - 'GT-C3330' : [ 'Samsung', 'Champ 2' ], - 'GT-C6712' : [ 'Samsung', 'Star II Duos' ], - 'GT-E2652!' : [ 'Samsung', 'Champ Duos' ], - 'GT-I6230!' : [ 'Samsung', 'Star TV' ], - 'GT-I6712!' : [ 'Samsung', 'Duos TV' ], - 'GT-M3710' : [ 'Samsung', 'Corby Beat' ], - 'GT-M5650' : [ 'Samsung', 'Lindy' ], - 'GT-S3370!' : [ 'Samsung', 'Corby 3G' ], - 'GT-S36(50|53)!' : [ 'Samsung', 'Corby' ], - 'GT-S3770!' : [ 'Samsung', 'Champ 3G' ], - 'GT-S38(00|02)!' : [ 'Samsung', 'Rex 70' ], - 'GT-S3850' : [ 'Samsung', 'Corby II' ], - 'GT-S5220' : [ 'Samsung', 'Star 3' ], - 'GT-S5222R' : [ 'Samsung', 'Rex 80' ], - 'GT-S5222' : [ 'Samsung', 'Star 3 Duos' ], - 'GT-S52(30|33)!' : [ 'Samsung', 'Star' ], - 'GT-S5260P' : [ 'Samsung', 'Player City' ], - 'GT-S52(60|63)!' : [ 'Samsung', 'Star II' ], - 'GT-S5292R' : [ 'Samsung', 'Rex 90' ], - 'GT-S5292' : [ 'Samsung', 'Star Deluxe Duos' ], - 'GT-S5560!' : [ 'Samsung', 'Marvel' ], - 'GT-S5600' : [ 'Samsung', 'Preston' ], - 'GT-S5603' : [ 'Samsung', 'Star 3G' ], - 'GT-S5620!' : [ 'Samsung', 'Monte' ], - 'GT-S5680' : [ 'Samsung', 'GT-S5680' ], - 'GT-S7550' : [ 'Samsung', 'Blue Earth' ], - 'S80(00|03)!' : [ 'Samsung', 'Jet' ], - 'GT-S8000c' : [ 'Samsung', 'Jet' ], - 'GT-S8003' : [ 'Samsung', 'Jet' ], - 'SGH-A597' : [ 'Samsung', 'Eternity II' ], - 'SGH-F480' : [ 'Samsung', 'Tocco' ], - 'SGH-F480I' : [ 'Samsung', 'Tocco' ], - 'SGH-T528g' : [ 'Samsung', 'Straight Talk' ] + 'GT-B5310!': ['Samsung', 'Corby Pro'], + 'GT-B3410': ['Samsung', 'Star Qwerty'], + 'GT-B7722': ['Samsung', 'Star Duos'], + 'GT-C3262': ['Samsung', 'Champ Neo Duos'], + 'GT-C33(00|03)!': ['Samsung', 'Champ'], + 'GT-C3312R': ['Samsung', 'Rex 60'], + 'GT-C3312!': ['Samsung', 'Champ Deluxe Duos'], + 'GT-C3330': ['Samsung', 'Champ 2'], + 'GT-C6712': ['Samsung', 'Star II Duos'], + 'GT-E2652!': ['Samsung', 'Champ Duos'], + 'GT-I6230!': ['Samsung', 'Star TV'], + 'GT-I6712!': ['Samsung', 'Duos TV'], + 'GT-M3710': ['Samsung', 'Corby Beat'], + 'GT-M5650': ['Samsung', 'Lindy'], + 'GT-S3370!': ['Samsung', 'Corby 3G'], + 'GT-S36(50|53)!': ['Samsung', 'Corby'], + 'GT-S3770!': ['Samsung', 'Champ 3G'], + 'GT-S38(00|02)!': ['Samsung', 'Rex 70'], + 'GT-S3850': ['Samsung', 'Corby II'], + 'GT-S5220': ['Samsung', 'Star 3'], + 'GT-S5222R': ['Samsung', 'Rex 80'], + 'GT-S5222': ['Samsung', 'Star 3 Duos'], + 'GT-S52(30|33)!': ['Samsung', 'Star'], + 'GT-S5260P': ['Samsung', 'Player City'], + 'GT-S52(60|63)!': ['Samsung', 'Star II'], + 'GT-S5292R': ['Samsung', 'Rex 90'], + 'GT-S5292': ['Samsung', 'Star Deluxe Duos'], + 'GT-S5560!': ['Samsung', 'Marvel'], + 'GT-S5600': ['Samsung', 'Preston'], + 'GT-S5603': ['Samsung', 'Star 3G'], + 'GT-S5620!': ['Samsung', 'Monte'], + 'GT-S5680': ['Samsung', 'GT-S5680'], + 'GT-S7550': ['Samsung', 'Blue Earth'], + 'S80(00|03)!': ['Samsung', 'Jet'], + 'GT-S8000c': ['Samsung', 'Jet'], + 'GT-S8003': ['Samsung', 'Jet'], + 'SGH-A597': ['Samsung', 'Eternity II'], + 'SGH-F480': ['Samsung', 'Tocco'], + 'SGH-F480I': ['Samsung', 'Tocco'], + 'SGH-T528g': ['Samsung', 'Straight Talk'], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-wm.js b/data/models-wm.js index d1234e3..67902cb 100644 --- a/data/models-wm.js +++ b/data/models-wm.js @@ -283,7 +283,7 @@ exports.WM_MODELS = { 'SFR v3650!': ['Vodafone', 'Polaris'], v1415: ['Vodafone', 'Vox'], v1240: ['Vodafone', 'VDA II'], - '1210': ['Vodafone', 'VDA IV'], + 1210: ['Vodafone', 'VDA IV'], v1210: ['Vodafone', 'VDA IV'], 'HTC VDA V': ['Vodafone', 'VDA V'], v1640: ['Vodafone', 'VPA IV'], @@ -315,7 +315,7 @@ exports.WM_MODELS = { X04HT: ['HTC', 'TOUCH DIAMOND X04HT', { carrier: 'Softbank' }], X05HT: ['HTC', 'TOUCH PRO X05HT', { carrier: 'Softbank' }], 'SC-01B': ['Samsung', 'SC-01B', { carrier: 'DoCoMo' }], - X01SC: ['Samsung', 'OMNIA Pro X01SC', { carrier: 'Softbank' }] + X01SC: ['Samsung', 'OMNIA Pro X01SC', { carrier: 'Softbank' }], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/models-wp.js b/data/models-wp.js index 80eaf31..f84fe65 100644 --- a/data/models-wp.js +++ b/data/models-wp.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - const DeviceType = require('../src/constants').deviceType; exports.WP_MODELS = { @@ -203,7 +201,7 @@ exports.WP_MODELS = { '(Lumia ?|Nokia ?)?1020!': ['Nokia', 'Lumia 1020'], '(Lumia ?|Nokia ?)?1320!': ['Nokia', 'Lumia 1320'], '(Lumia ?|Nokia ?)?1520!': ['Nokia', 'Lumia 1520'], - 'Lumia 1530': ['Microsoft', 'Lumia 1530'] + 'Lumia 1530': ['Microsoft', 'Lumia 1530'], }, 'RM-[0-9]{3,4}!!': { @@ -251,14 +249,14 @@ exports.WP_MODELS = { 'RM-1116!': ['Microsoft', 'Lumia 950 XL'], 'RM-8(75|76|77)!': ['Nokia', 'Lumia 1020'], 'RM-9(94|95|96)!': ['Nokia', 'Lumia 1320'], - 'RM-9(37|38|39|40)!': ['Nokia', 'Lumia 1520'] + 'RM-9(37|38|39|40)!': ['Nokia', 'Lumia 1520'], }, 'id[0-9]{3,3}!!': { 'id102!': ['Nokia', 'Lumia 822'], 'id308!': ['Nokia', 'Lumia 1520'], 'id313!': ['Nokia', 'Lumia 635'], - 'id316!': ['Nokia', 'Lumia 530'] + 'id316!': ['Nokia', 'Lumia 530'], }, SeaRay: ['Nokia', 'Lumia 800'], @@ -278,7 +276,7 @@ exports.WP_MODELS = { 'GT-i8700': ['Samsung', 'Omnia 7'], 'GT-I8710': ['Samsung', 'Ativ S'], 'GT-I8750': ['Samsung', 'Ativ S'], - 'GT-S7530!': ['Samsung', 'Omnia M'] + 'GT-S7530!': ['Samsung', 'Omnia M'], }, 'SGH-[IT][0-9]{3,3}!!': { @@ -288,7 +286,7 @@ exports.WP_MODELS = { 'SGH-i707': ['Samsung', 'Taylor'], // Developer phone - never released 'SGH-i917!': ['Samsung', 'Focus'], 'SGH-i937!': ['Samsung', 'Focus S'], - 'SGH-T899M': ['Samsung', 'Ativ S'] + 'SGH-T899M': ['Samsung', 'Ativ S'], }, 'SM-W750V': ['Samsung', 'Ativ SE'], @@ -315,7 +313,7 @@ exports.WP_MODELS = { WinQ1000: ['XOLO', 'Win Q1000'], 'Billy 4': ['Yezz', 'Billy 4'], 'Billy 4.7': ['Yezz', 'Billy 4.7'], - '47': ['Yezz', 'Monaco 47'], + 47: ['Yezz', 'Monaco 47'], USCCN859: ['ZTE', 'N859 Render'], 'N880e!': ['ZTE', 'N880e'], V965W: ['ZTE', 'V965W Tania'], @@ -328,7 +326,7 @@ exports.WP_MODELS = { 'Linux!': [null, null], '!': [null, null], 'XXX!': [null, null], - 'InfoPath!': [null, null] + 'InfoPath!': [null, null], }; /* This file is automatically generated, do not edit manually! */ diff --git a/data/os-cfnetwork.js b/data/os-cfnetwork.js index 10cd683..1dbc98d 100644 --- a/data/os-cfnetwork.js +++ b/data/os-cfnetwork.js @@ -1,96 +1,96 @@ module.exports = { CFNetwork: { OSX: { - '1.1': {'value': '10.2'}, - '1.2.1': {'value': '10.3.2'}, - '1.2.2': {'value': '10.3.9'}, - '1.2.6': {'value': '10.3.9'}, - '128': {'value': '10.4'}, - '128.2': {'value': '10.4.2'}, - '129.5': {'value': '10.4.3'}, - '129.9': {'value': '10.4.4'}, - '129.10': {'value': '10.4.4'}, - '129.13': {'value': '10.4.6'}, - '129.16': {'value': '10.4.7'}, - '129.18': {'value': '10.4.8'}, - '129.20': {'value': '10.4.9'}, - '129.21': {'value': '10.4.10'}, - '129.22': {'value': '10.4.11'}, - '217': {'value': '10.5'}, - '220': {'value': '10.5.1'}, - '221.5': {'value': '10.5.2'}, - '330': {'value': '10.5.3'}, - '330.4': {'value': '10.5.4'}, - '339.5': {'value': '10.5.5'}, - '422.11': {'value': '10.5.6'}, - '438.12': {'value': '10.5.7'}, - '438.14': {'value': '10.5.8'}, - '454.4': {'value': '10.6.0'}, - '454.5': {'value': '10.6.2'}, - '454.9.4': {'value': '10.6.3'}, - '454.9.7': {'value': '10.6.4'}, - '454.11.5': {'value': '10.6.5'}, - '454.11.12': {'value': '10.6.7'}, - '454.12.4': {'value': '10.6.8'}, - '520.0.13': {'value': '10.7.1'}, - '520.2.5': {'value': '10.7.2'}, - '520.3.2': {'value': '10.7.3'}, - '520.4.3': {'value': '10.7.4'}, - '520.5.1': {'value': '10.7.5'}, - '596.1': {'value': '10.8.1'}, - '596.2.3': {'value': '10.8.2'}, - '596.3.3': {'value': '10.8.3'}, - '596.4.3': {'value': '10.8.4'}, - '596.5': {'value': '10.8.5'}, - '673.0.3': {'value': '10.9'}, - '673.2.1': {'value': '10.9.2'}, - '673.4': {'value': '10.9.3'}, - '720.0.9': {'value': '10.10'}, - '720.1.1': {'value': '10.10.1'}, - '720.2.4': {'value': '10.10.2'}, - '720.3.13': {'value': '10.10.3'}, - '720.4.4': {'value': '10.10.4'}, - '720.5.7': {'value': '10.10.5'}, - '760.0.5': {'value': '10.11'}, - '760.1.2': {'value': '10.11.1'}, - '760.2.6': {'value': '10.11.2'}, - '760.4.2': {'value': '10.11.4'}, - '760.5': {'value': '10.11.4'}, - '760.5.1': {'value': '10.11.5'}, + 1.1: { value: '10.2' }, + '1.2.1': { value: '10.3.2' }, + '1.2.2': { value: '10.3.9' }, + '1.2.6': { value: '10.3.9' }, + 128: { value: '10.4' }, + 128.2: { value: '10.4.2' }, + 129.5: { value: '10.4.3' }, + 129.9: { value: '10.4.4' }, + '129.10': { value: '10.4.4' }, + 129.13: { value: '10.4.6' }, + 129.16: { value: '10.4.7' }, + 129.18: { value: '10.4.8' }, + '129.20': { value: '10.4.9' }, + 129.21: { value: '10.4.10' }, + 129.22: { value: '10.4.11' }, + 217: { value: '10.5' }, + 220: { value: '10.5.1' }, + 221.5: { value: '10.5.2' }, + 330: { value: '10.5.3' }, + 330.4: { value: '10.5.4' }, + 339.5: { value: '10.5.5' }, + 422.11: { value: '10.5.6' }, + 438.12: { value: '10.5.7' }, + 438.14: { value: '10.5.8' }, + 454.4: { value: '10.6.0' }, + 454.5: { value: '10.6.2' }, + '454.9.4': { value: '10.6.3' }, + '454.9.7': { value: '10.6.4' }, + '454.11.5': { value: '10.6.5' }, + '454.11.12': { value: '10.6.7' }, + '454.12.4': { value: '10.6.8' }, + '520.0.13': { value: '10.7.1' }, + '520.2.5': { value: '10.7.2' }, + '520.3.2': { value: '10.7.3' }, + '520.4.3': { value: '10.7.4' }, + '520.5.1': { value: '10.7.5' }, + 596.1: { value: '10.8.1' }, + '596.2.3': { value: '10.8.2' }, + '596.3.3': { value: '10.8.3' }, + '596.4.3': { value: '10.8.4' }, + 596.5: { value: '10.8.5' }, + '673.0.3': { value: '10.9' }, + '673.2.1': { value: '10.9.2' }, + 673.4: { value: '10.9.3' }, + '720.0.9': { value: '10.10' }, + '720.1.1': { value: '10.10.1' }, + '720.2.4': { value: '10.10.2' }, + '720.3.13': { value: '10.10.3' }, + '720.4.4': { value: '10.10.4' }, + '720.5.7': { value: '10.10.5' }, + '760.0.5': { value: '10.11' }, + '760.1.2': { value: '10.11.1' }, + '760.2.6': { value: '10.11.2' }, + '760.4.2': { value: '10.11.4' }, + 760.5: { value: '10.11.4' }, + '760.5.1': { value: '10.11.5' }, }, IOS: { - '459': {'value': '3.1.3'}, - '467.12': {'value': '3.2'}, - '485.2': {'value': '4.0'}, - '485.10.2': {'value': '4.1'}, - '485.12.7': {'value': '4.2.1'}, - '485.12.30': {'value': '4.2.8'}, - '485.13.9': {'value': '4.3'}, - '548.0.3': {'value': '5.0'}, - '548.0.4': {'value': '5.0.1'}, - '548.1.4': {'value': '5.1'}, - '602': {'value': '6.0'}, - '609': {'value': '6.0'}, - '609.1.4': {'value': '6.1.2'}, - '671': {'value': '7.0'}, - '672.0.2': {'value': '7.0'}, - '672.0.8': {'value': '7.0.3'}, - '672.1.13': {'value': '7.1'}, - '672.1.14': {'value': '7.1.1'}, - '672.1.15': {'value': '7.1.2'}, - '711.0.6': {'value': '8.0'}, - '711.1.12': {'value': '8.1'}, - '711.1.16': {'value': '8.1.1'}, - '711.2.23': {'value': '8.2'}, - '711.3.18': {'value': '8.3'}, - '711.4.6': {'value': '8.4'}, - '711.5.6': {'value': '8.4.1'}, - '758.0.2': {'value': '9.0'}, - '758.1.6': {'value': '9.1'}, - '758.2.7': {'value': '9.2'}, - '758.2.8': {'value': '9.2'}, - '758.3.15': {'value': '9.3'}, - '758.4.3': {'value': '9.3.2'}, + 459: { value: '3.1.3' }, + 467.12: { value: '3.2' }, + 485.2: { value: '4.0' }, + '485.10.2': { value: '4.1' }, + '485.12.7': { value: '4.2.1' }, + '485.12.30': { value: '4.2.8' }, + '485.13.9': { value: '4.3' }, + '548.0.3': { value: '5.0' }, + '548.0.4': { value: '5.0.1' }, + '548.1.4': { value: '5.1' }, + 602: { value: '6.0' }, + 609: { value: '6.0' }, + '609.1.4': { value: '6.1.2' }, + 671: { value: '7.0' }, + '672.0.2': { value: '7.0' }, + '672.0.8': { value: '7.0.3' }, + '672.1.13': { value: '7.1' }, + '672.1.14': { value: '7.1.1' }, + '672.1.15': { value: '7.1.2' }, + '711.0.6': { value: '8.0' }, + '711.1.12': { value: '8.1' }, + '711.1.16': { value: '8.1.1' }, + '711.2.23': { value: '8.2' }, + '711.3.18': { value: '8.3' }, + '711.4.6': { value: '8.4' }, + '711.5.6': { value: '8.4.1' }, + '758.0.2': { value: '9.0' }, + '758.1.6': { value: '9.1' }, + '758.2.7': { value: '9.2' }, + '758.2.8': { value: '9.2' }, + '758.3.15': { value: '9.3' }, + '758.4.3': { value: '9.3.2' }, }, }, }; diff --git a/data/os-darwin.js b/data/os-darwin.js index 074a193..4f6df8c 100644 --- a/data/os-darwin.js +++ b/data/os-darwin.js @@ -1,26 +1,46 @@ module.exports = { DARWIN: { OSX: { - '1': {'value': '10.0'}, - '5': {'value': '10.1'}, - '6': {'value': '10.2'}, - '7': {'value': '10.3'}, - '8': {'value': '10.4'}, - '9': {'value': '10.5'}, - '10': {'value': '10.6'}, - '11': {'value': '10.7'}, - '12': {'value': '10.8'}, - '13': {'value': '10.9'}, - '14': {'value': '10.10'}, - '15': {'value': '10.11'}, + 1: { value: '10.0' }, + 5: { value: '10.1' }, + 6: { value: '10.2' }, + 7: { value: '10.3' }, + 8: { value: '10.4' }, + 9: { value: '10.5' }, + 10: { value: '10.6' }, + 11: { value: '10.7' }, + 12: { value: '10.8' }, + 13: { value: '10.9' }, + 14: { value: '10.10' }, + 15: { value: '10.11' }, + 16: { value: '10.12' }, + 17: { value: '10.13' }, + 18: { value: '10.14' }, + 19: { value: '10.15' }, + 20: { value: '11' }, + 21: { value: '12' }, + 22: { value: '13' }, + 23: { value: '14' }, + 24: { value: '15' }, + 25: { value: '26' }, }, IOS: { - '9': {'value': '1'}, - '10': {'value': '4'}, - '11': {'value': '5'}, - '13': {'value': '6'}, - '14': {'value': '7'}, - '15': {'value': '9'}, + 9: { value: '1' }, + 10: { value: '4' }, + 11: { value: '5' }, + 13: { value: '6' }, + 14: { value: '7' }, + 15: { value: '9' }, + 16: { value: '10' }, + 17: { value: '11' }, + 18: { value: '12' }, + 19: { value: '13' }, + 20: { value: '14' }, + 21: { value: '15' }, + 22: { value: '16' }, + 23: { value: '17' }, + 24: { value: '18' }, + 25: { value: '26' }, }, }, }; diff --git a/data/profiles.js b/data/profiles.js index c8beaf0..2f5ffef 100644 --- a/data/profiles.js +++ b/data/profiles.js @@ -1,7 +1,5 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable max-len */ - const DeviceType = require('../src/constants').deviceType; exports.PROFILES = { @@ -1124,43 +1122,43 @@ exports.PROFILES = { ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_5020A.xml': [ 'Alcatel', - 'One Touch M\'Pop', + "One Touch M'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_5020D.xml': [ 'Alcatel', - 'One Touch M\'Pop', + "One Touch M'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_5020E.xml': [ 'Alcatel', - 'One Touch M\'Pop', + "One Touch M'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_5020N.xml': [ 'Alcatel', - 'One Touch M\'Pop', + "One Touch M'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_5020T.xml': [ 'Alcatel', - 'One Touch M\'Pop', + "One Touch M'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_5020W.xml': [ 'Alcatel', - 'One Touch M\'Pop', + "One Touch M'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_5020X.xml': [ 'Alcatel', - 'One Touch M\'Pop', + "One Touch M'Pop", 'Android', DeviceType.MOBILE, ], @@ -1521,31 +1519,31 @@ exports.PROFILES = { ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_4030A.xml': [ 'Alcatel', - 'One Touch S\'Pop', + "One Touch S'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_4030D.xml': [ 'Alcatel', - 'One Touch S\'Pop', + "One Touch S'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_4030E.xml': [ 'Alcatel', - 'One Touch S\'Pop', + "One Touch S'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_4030X.xml': [ 'Alcatel', - 'One Touch S\'Pop', + "One Touch S'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_4030Y.xml': [ 'Alcatel', - 'One Touch S\'Pop', + "One Touch S'Pop", 'Android', DeviceType.MOBILE, ], @@ -1658,31 +1656,31 @@ exports.PROFILES = { ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_4010A.xml': [ 'Alcatel', - 'One Touch T\'Pop', + "One Touch T'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_4010D.xml': [ 'Alcatel', - 'One Touch T\'Pop', + "One Touch T'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_4010E.xml': [ 'Alcatel', - 'One Touch T\'Pop', + "One Touch T'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_4010X.xml': [ 'Alcatel', - 'One Touch T\'Pop', + "One Touch T'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_4011X.xml': [ 'Alcatel', - 'One Touch T\'Pop', + "One Touch T'Pop", 'Android', DeviceType.MOBILE, ], @@ -1696,19 +1694,19 @@ exports.PROFILES = { 'http://www-ccpp.tcl-ta.com/files/ALCATEL-OT-V670.rdf': ['Alcatel', 'One Touch V670', null, DeviceType.MOBILE], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_5035D.xml': [ 'Alcatel', - 'One Touch X\'Pop', + "One Touch X'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_5035E.xml': [ 'Alcatel', - 'One Touch X\'Pop', + "One Touch X'Pop", 'Android', DeviceType.MOBILE, ], 'http://www-ccpp.tcl-ta.com/files/ALCATEL_ONE_TOUCH_5035X.xml': [ 'Alcatel', - 'One Touch X\'Pop', + "One Touch X'Pop", 'Android', DeviceType.MOBILE, ], @@ -2217,8 +2215,8 @@ exports.PROFILES = { 'http://files.bq.com/uaprof/fnac_aquaris_E5_HD_KK.xml': ['bq', 'Aquaris E5 HD', 'Android', DeviceType.MOBILE], 'http://files.bq.com/uaprof/bq_aquaris_E6_KK.xml': ['bq', 'Aquaris E6', 'Android', DeviceType.MOBILE], 'http://files.bq.com/uaprof/bq_edison_3_KK.xml': ['bq', 'Edison 3', 'Android', DeviceType.TABLET], - 'http://uaprof.vtext.com/pcd/c771/c771.xml': ['Casio', 'Gz\'One Commando', 'Android', DeviceType.MOBILE], - 'http://uaprof.vtext.com/pcd/vzw/vzw.xml': ['Casio', 'Gz\'One Commando 811', 'Android', DeviceType.MOBILE], + 'http://uaprof.vtext.com/pcd/c771/c771.xml': ['Casio', "Gz'One Commando", 'Android', DeviceType.MOBILE], + 'http://uaprof.vtext.com/pcd/vzw/vzw.xml': ['Casio', "Gz'One Commando 811", 'Android', DeviceType.MOBILE], 'http://uaprof.vtext.com/pcd/vietnam/vietnam.xml': ['Casio', 'GzOne CA201', 'Android', DeviceType.MOBILE], 'http://uaprof.vtext.com/pcd/c811/c811.xml': ['Casio', 'GzOne Commando 811', 'Android', DeviceType.MOBILE], 'http://www.catphones.com/uaprof/Cat_B10-2_UAprofile.xml': ['Cat', 'B15', 'Android', DeviceType.MOBILE], @@ -3747,7 +3745,7 @@ exports.PROFILES = { 'Android', DeviceType.MOBILE, ], - 'http://device.sprintpcs.com/HTC/HTCPN702-SPRINT/benny\'s 43.rdf': ['HTC', 'One', 'Android', DeviceType.MOBILE], + "http://device.sprintpcs.com/HTC/HTCPN702-SPRINT/benny's 43.rdf": ['HTC', 'One', 'Android', DeviceType.MOBILE], 'http://device.sprintpcs.com/HTC/HTCPN702-SPRINT/BSC Tranquil One RLS42.rdf': [ 'HTC', 'One', @@ -7725,12 +7723,8 @@ exports.PROFILES = { 'http://wap1.huawei.com/uaprof/LUA-U03_UAProfile.xml': ['Huawei', 'Y3 II', 'Android', DeviceType.MOBILE], 'http://wap1.huawei.com/uaprof/LUA-U22_UAProfile.xml': ['Huawei', 'Y3 II', 'Android', DeviceType.MOBILE], 'http://wap1.huawei.com/uaprof/LUA-U23_UAProfile.xml': ['Huawei', 'Y3 II', 'Android', DeviceType.MOBILE], - 'http://wap1.huawei.com/uaprof/HUAWEI_CANCUN_UAProfile.xml,http://wap1.huawei.com/uaprof/HUAWEI_CUN_L_UAProfile.xml': [ - 'Huawei', - 'Y5 II', - 'Android', - DeviceType.MOBILE, - ], + 'http://wap1.huawei.com/uaprof/HUAWEI_CANCUN_UAProfile.xml,http://wap1.huawei.com/uaprof/HUAWEI_CUN_L_UAProfile.xml': + ['Huawei', 'Y5 II', 'Android', DeviceType.MOBILE], 'http://wap1.huawei.com/uaprof/HUAWEI_CUN_L_UAProfile.xml': ['Huawei', 'Y5 II', 'Android', DeviceType.MOBILE], 'http://wap1.huawei.com/uaprof/HUAWEI_CUN_U_UAProfile.xml': ['Huawei', 'Y5 II', 'Android', DeviceType.MOBILE], 'http://wap1.huawei.com/uaprof/HW_SCC-U21_UAProfile.xml': ['Huawei', 'Y6', 'Android', DeviceType.MOBILE], @@ -19903,12 +19897,8 @@ exports.PROFILES = { ], 'http://wap.samsungmobile.com/uaprof/SM-G928F.xml': ['Samsung', 'Galaxy S6 Edge+', 'Android', DeviceType.MOBILE], 'http://wap.samsungmobile.com/uaprof/SM-G928G.xml': ['Samsung', 'Galaxy S6 Edge+', 'Android', DeviceType.MOBILE], - 'Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-G928P Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/5.0 Chrome/51.0.2704.106 Mobile Safari/537.36': [ - 'Samsung', - 'Galaxy S6 Edge+', - 'Android', - DeviceType.MOBILE, - ], + 'Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-G928P Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/5.0 Chrome/51.0.2704.106 Mobile Safari/537.36': + ['Samsung', 'Galaxy S6 Edge+', 'Android', DeviceType.MOBILE], 'http://wap.samsungmobile.com/uaprof/SC-05G.xml': ['Samsung', 'GALAXY S6 SC-05G', 'Android', DeviceType.MOBILE], 'http://device.sprintpcs.com/Samsung/SM-G930P-BOOST/PH7.rdf': [ 'Samsung', @@ -23198,12 +23188,8 @@ exports.PROFILES = { 'http://www-ccpp.tcl-ta.com/files/TCL_Y710.xml': ['TCL', 'Y710', 'Android', DeviceType.MOBILE], 'http://www-ccpp.tcl-ta.com/files/TCL_Y900.xml': ['TCL', 'Y900', 'Android', DeviceType.MOBILE], 'http://www-ccpp.tcl-ta.com/files/TCL_Y910.xml': ['TCL', 'Y910', 'Android', DeviceType.MOBILE], - 'Mozilla/5.0 (Linux; U; Android 4.4; zh-cn;TECNO L7 Build/ AppleWebKit/534.30 (KHTML, like Gecko) Version/4.4 Mobile Safari/534.30': [ - 'Tecno', - 'L6', - 'Android', - DeviceType.MOBILE, - ], + 'Mozilla/5.0 (Linux; U; Android 4.4; zh-cn;TECNO L7 Build/ AppleWebKit/534.30 (KHTML, like Gecko) Version/4.4 Mobile Safari/534.30': + ['Tecno', 'L6', 'Android', DeviceType.MOBILE], 'http://www.1066.cn/uaprof/prof/Tecno/Tecno_N7.xml': ['TECNO', 'N7', 'Android', DeviceType.MOBILE], 'http://www-ccpp.tcl-ta.com/file/ALCATEL_one_touch_7018.xml': ['Tecno', 'P3', 'Android', DeviceType.MOBILE], 'http://www.zte.com.cn/mobile/uaprof/Preo_Teknosa_P1.xml': ['Teknosa', 'Preo P1', 'Android', DeviceType.MOBILE], @@ -23331,7 +23317,7 @@ exports.PROFILES = { null, DeviceType.MOBILE, ], - 'http://uaprof.vtext.com/utstar/gz1s/gz1sv1.xml': ['UTStarcom', 'G\'zOne Type-S', null, DeviceType.MOBILE], + 'http://uaprof.vtext.com/utstar/gz1s/gz1sv1.xml': ['UTStarcom', "G'zOne Type-S", null, DeviceType.MOBILE], 'http://www.bellwave.co.uk/uaprof/UAProfile_GPRS778.xml': ['UTStarcom', 'GPRS778', null, DeviceType.MOBILE], 'http://pcdgsmlab.com/gpt380/GPT380.xml': ['UTstarcom', 'GPT380', null, DeviceType.MOBILE], 'http://uaprof.utstar.co.kr/uaprof/gsm/UTSTARCOM-GTX75.xml': ['UTStarcom', 'GTX75', null, DeviceType.MOBILE], @@ -24396,6 +24382,4 @@ exports.PROFILES = { 'http://www.zte.com.cn/mobile/uaprof/MegaFon_SP-A5.xml': ['Мегафон', 'SP-A5', 'Android', DeviceType.MOBILE], }; -/* eslint-enable max-len */ - /* This file is automatically generated, do not edit manually! */ diff --git a/data/regexes/applications-bots.js b/data/regexes/applications-bots.js index dd4812e..d6b3d5d 100644 --- a/data/regexes/applications-bots.js +++ b/data/regexes/applications-bots.js @@ -1,5 +1,4 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - -exports.BOTS_REGEX = /(008|360|a6|abound|muncher|adaxas|addthis|admantx|ahrefsbot|archiver|altavista|curious|cloudfront|amorank|archive|jeeves|astra|backlink|baidu|bazqux|bingbot|msnbot|msmobot|bing|blogbridge|bloglines|bloglovin|blogpulse|blogram|blogtrot|blogshares|boardreader|browsershots|bubing|butterfly|heritrix|cliqz|cloudflare|comodo|commafeed|cbot|watchdog|datasearch|daumoa|digg|domain|exabot|exactseek|ezooms|facebook|fast|flamingo|fastladder|feed|wrangler|validator|fever|friendica|robot|genieo|fetchor|google|gomez|ichiro|gooblog|goorss|grammarly|grub|hatena|capture|heureka|htdig|httpmon|hubpages|spider|crawler|kouio|larbin|linkedin|linkdex|livedoor|ltx71|magpie|mapion|socialstreams|mixi|mnogo|monitor|yeti|netcraft|netvibes|newsblur|newsgator|orange|pages|psbot|pingdom|pinterest|postrank|comment|rssbar|hunter|quora|safesearch|scrapy|seznam|shopwiki|reader|simplepie|site24|sogou|sophora|soso|spdycheck|spinn|detector|summify|telegram|twisted|twitter|tiny|tlsprober|typhoeus|vagabondo|voila|vocus|mcrawler|w3bot|jigsaw|w3c|wayback|webindexer|wordpress|mechanize|xerka|sitemap|yacy|yandex|yahoo|y!j|slurp|httpclient|nutch|synapse|indy|wget|curl|package|java|simple|libwww|lwp|urllib|php|pear|zend|ruby)/i; +exports.BOTS_REGEX = + /(008|360|a6|abound|muncher|adaxas|addthis|admantx|adsbot|ahrefs|archiver|altavista|curious|cloudfront|amorank|apple|archive|jeeves|astra|backlink|baidu|barkrowler|bazqux|bingbot|msnbot|msmobot|bing|blex|blogbridge|blogger|bloglines|bloglovin|blogpulse|blogram|blogtrot|blogshares|boardreader|lddc|browsershots|bubing|buck|builtwith|butterfly|buzzsumo|bytespider|heritrix|clarabot|cliqz|cloudflare|coccoc|comodo|commafeed|cbot|cresearch|watchdog|datanyze|datasearch|dataprovider|daum|daumoa|digg|domaincrawl|domainstats|discord|domain|dmca|duckduck|embed|evc|exabot|exactseek|ezooms|facebook|fast|flamingo|fastladder|feed|wrangler|validator|fever|florienzh|friendica|robot|genieo|fetchor|google|gofeed|gomez|ichiro|gooblog|goorss|gowiki|grammarly|grub|hatena|capture|heureka|hootsuite|htdig|httpmon|hubpages|hubspot|spider|indeed|iodc|istellabot|crawler|kakao|kouio|larbin|letsearch|line|linkedin|linkpad|linkdex|livedoor|seeker|ltx71|magpie|mj12bot|mapion|mail.ru|medium|megaindex|socialstreams|mixi|minds|mnogo|mojeek|monitor|dotbot|rogerbot|yeti|mxtoolbox|netcraft|netestate|netvibes|newsblur|newsgator|nimbostratus|odklbot|orange|pages|petal|aspiegel|psbot|pingdom|pinterest|plurk|pocket|postrank|comment|reddit|rssbar|hunter|quora|safesearch|scrapy|searchatlas|seekport|semrush|serpstat|seokicks|seznam|shopwiki|reader|simplepie|site24|skype|slack|sogou|sophora|soso|spaziodati|spdycheck|spinn|sputnik|detector|summify|telegram|twisted|twitter|tiny|tineye|tlsprober|trustedsite|typhoeus|vagabondo|velen|vkshare|voat|voila|vocus|mcrawler|vuhuv|w3bot|jigsaw|w3c|wappalyzer|wayback|webindexer|wordpress|mechanize|xenu|xerka|sitemap|yacy|yandex|yahoo|y!j|slurp|yelp|yioop|yisou|zgrab|zmeu|httpclient|nutch|synapse|indy|go|httpunit|okhttp|node|wget|curl|package|java|simple|libwww|lwp|urllib|requests|php|pear|zend|ruby)/i; diff --git a/data/regexes/applications-browsers.js b/data/regexes/applications-browsers.js index 42af8c2..e386acc 100644 --- a/data/regexes/applications-browsers.js +++ b/data/regexes/applications-browsers.js @@ -1,5 +1,4 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - -exports.BROWSERS_REGEX = /(115|126|2345|qihu|7star|abrowse|acorn|acoo|aol|america|arachne|arora|aweb|avant|asw|aviator|flyflow|bdbrowser|bdspark|beamrise|blackwren|brave|byffox|camino|canure|charon|chromeplus|cometbird|comodo|dragon|conkeror|coolnovo|cunaguaro|cyberfox|daedalus|dillo|rhodonit|eudoraweb|flock|galeon|epiphany|ibrowse|icab|iceape|icecat|iceweasel|iridium|iron|kazehakase|kchrome|meleon|lbbrowser|lobo|lunascape|naenara|mxbrowser|mixshark|mlbrowser|netpositive|origyn|owb|orca|oregano|otter|palemoon|qtweb|qupzilla|rekonq|ryouko|saayaa|sleipnir|metasr|stainless|sunchrome|superbird|swing|tencent|tenfourfox|theworld|tungsten|vivaldi|voyager|waterfox|yabrowser|1password|3g explorer|4g explorer|atomiclite|au|awakening|baidu|bdmobile|bidu|baiduboxapp|browser|blazer|acheetahi|cornowser|coolmarket|cute|digia|doris|doroty|www browser|eui|go.web|helium|huohoubrowser|surfboard|isurf|jig browser|jumanji|kiosk|lebrowser|liebao|macross|mammoth|mcent|mib|cmcs|motorola|netfrontlife|onebrowser|plink|polaris|openwave|up|km|quark|semc|stnc|sogou|symphony|ucpro|weblite|alti|aplix|awox|browserserver|isis|spyglass|oregan|viera|zetakey|bunjalloo|nwf|nuanti|wib|prince|demobrowser|dooble|dwb|evm|fireweb|hive|intermec|phantom|qt|roccat|raven|rockmelt|scope|slim|smbrowser|snowshoe|sputnik|surf|tao|taz|uzbl|villanova|vimb|wada|wavelink|webrender|webster|wyzo|yelang|yrcweb|linemode|lynx|links|w3m|nimbus|Webwasher|sankore|adapi|brightsign|coship)/i; +exports.BROWSERS_REGEX = + /(115|126|2345|37abc|qihu|1stbrowser|7star|abrowse|acorn|acoo|amigo|aol|america|apus|arachne|arora|aweb|avant|asw|avg|aviator|avira|flyflow|bdbrowser|bdspark|basilisk|beamrise|beonex|blackwren|blackhawk|bolt|blackbird|brave|brisk|browsex|browzar|byffox|camino|canure|ccleaner|cent|charon|chedot|cheshire|chimlac|chimera|chromeplus|colibri|columbus|cometbird|comodo|dragon|conkeror|coc|coolnovo|corom|crazy|crusta|cunaguaro|cyberdog|cyberfox|daedalus|degan|demeter|deskbrowse|diigo|dillo|doczilla|rhodonit|dplus|elements|eudoraweb|falkon|flamesky|flock|framafox|freeu|galeon|globalmojo|epiphany|greenbrowser|hola|hydra|ibrowse|icab|iceape|icecat|icedove|iceweasel|irider|iridium|iron|kapiko|kazehakase|kchrome|kinza|kkman|klondike|kylo|meleon|lbrowser|lbbrowser|light|lobo|lolifox|lovense|lunascape|naenara|netcaptor|madfox|mxbrowser|min|mini|mixshark|mlbrowser|mypal|multixp|netpositive|nichrome|origyn|owb|live|juzi|orca|oregano|otter|palemoon|patriott|perk|polarity|privacy|qiyu|qtweb|quicklook|qupzilla|qute|rekonq|ryouko|sylera|saayaa|salam|shiira|sielo|sitekiosk|sleipnir|slimjet|metasr|sparrow|sputnik|stainless|station|sunchrome|sundance|sundial|superbird|swiftweasel|swiftfox|swing|to-browser|tencent|tenfourfox|theworld|tulip|tungsten|ultrab|usejump|vimprobable|vivaldi|airwatch|vonkeror|voyager|waterfox|whale|winwap|xvast|yabrowser|zvu|zipzap|zombie|1password|3g explorer|4g explorer|aloha|atomiclite|au|awakening|baidu|bdmobile|bidu|baiduboxapp|browser|blazer|acheetahi|cornowser|coolmarket|cute|digia|doris|doroty|ecosia|www browser|epic|eui|go.web|helium|heytap|huohoubrowser|surfboard|isurf|jig browser|jumanji|tnsbrowser|kiosk|kiwi|lebrowser|liebao|macross|mammoth|mcent|mint|mobicip|mib|cmcs|motorola|multizilla|netfrontlife|onebrowser|oneplus|plink|polaris|pure|openwave|up|km|oppo|quark|realme|semc|stnc|sogou|symphony|tenta|ucpro|vivo|weblite|wk|yaani|alti|aplix|awox|browserserver|isis|netbox|spyglass|oregan|viera|zetakey|bunjalloo|nwf|nuanti|wib|prince|demobrowser|dooble|dwb|evm|fireweb|hive|intermec|phantom|qt|roccat|raven|rockmelt|scope|slim|smbrowser|snowshoe|surf|tao|taz|uzbl|villanova|vimb|wada|wavelink|webrender|webster|wyzo|yelang|yrcweb|linemode|lynx|links|w3m|nimbus|Webwasher|sankore|adapi|brightsign|coship)/i; diff --git a/data/regexes/applications-others.js b/data/regexes/applications-others.js index 16dbd65..57d9d59 100644 --- a/data/regexes/applications-others.js +++ b/data/regexes/applications-others.js @@ -1,5 +1,4 @@ /* This file is automatically generated, do not edit manually! */ -/* eslint-disable */ - -exports.OTHERS_REGEX = /(itunes|qt|bluefish|nightingale|songbird|stagefright|substream|vlc|windows-media|coreplayer|flycast|boxee|kodi|xbmc|lightning|thunderbird|outlook|lotus|postbox|bat|yahoo|daum|flipboard|akregator|blogos|cococ|feed|liferea|news|jetbrains|rss|reeder|reedkit|rome|ziepod|messenger|kik|wire|yammer|fbios|fb4a|googleplus|instagram|pinterest|weibo|tumblr|twitter|wp-android|office|bingweb|hao123|gsa|naver|sogousearch|yandex|atom|golive|brackets|iweb|frontpage|amaya|websphere|download|tansodl|origin|secondlife|valve|raptr|alipay|cooliris|google|leechcraft|expeditor)/i; +exports.OTHERS_REGEX = + /(itunes|qt|bluefish|nightingale|songbird|stagefright|substream|vlc|windows-media|coreplayer|flycast|boxee|kodi|xbmc|lightning|thunderbird|outlook|lotus|postbox|bat|yahoo|daum|flipboard|akregator|blogos|cococ|feed|liferea|news|jetbrains|rss|reeder|reedkit|rome|ziepod|messenger|kakao|kik|line|slack|viber|whatsapp|wire|yammer|zalo|fbios|fb4a|googleplus|instagram|pinterest|weibo|tumblr|twitter|wp-android|yelp|office|bingweb|hao123|gsa|naver|sogousearch|yandex|atom|golive|brackets|iweb|frontpage|amaya|websphere|download|tansodl|origin|secondlife|valve|raptr|alipay|cooliris|google|leechcraft|expeditor)/i; diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..6890c60 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,54 @@ +const js = require('@eslint/js'); +const prettierRecommended = require('eslint-plugin-prettier/recommended'); +const globals = require('globals'); + +/* eslint-config-google (github.com/google/eslint-config-google) is archived and its last + * release predates flat config; these are the rules it added on top of eslint:recommended + * that still apply once eslint-plugin-prettier/recommended has turned off every formatting + * rule, kept here directly so the project doesn't depend on an unmaintained package. */ +const codeQualityRules = { + 'guard-for-in': 2, + 'no-caller': 2, + 'no-extend-native': 2, + 'no-extra-bind': 2, + 'no-invalid-this': 2, + 'no-multi-str': 2, + 'no-new-wrappers': 2, + 'no-throw-literal': 2, + 'no-with': 2, + 'prefer-promise-reject-errors': 2, + 'no-unused-vars': [2, { args: 'none' }], + camelcase: [2, { properties: 'never' }], + 'new-cap': 2, + 'no-array-constructor': 2, + 'no-new-object': 2, + 'one-var': [2, { var: 'never', let: 'never', const: 'never' }], + 'spaced-comment': [2, 'always'], + 'no-new-symbol': 2, + 'no-var': 2, + 'prefer-const': [2, { destructuring: 'all' }], + 'prefer-rest-params': 2, + 'prefer-spread': 2, +}; + +module.exports = [ + js.configs.recommended, + { + rules: codeQualityRules, + }, + prettierRecommended, + { + languageOptions: { + ecmaVersion: 6, + sourceType: 'commonjs', + globals: Object.assign({}, globals.node, globals.es2015), + }, + rules: { + 'no-control-regex': 0, + 'no-console': 'warn', + // The codebase's idiom is `let match; if ((match = re.exec(ua))) {...}` repeated many + // times in the same function to probe a UA string against a sequence of patterns. + 'no-useless-assignment': 0, + }, + }, +]; diff --git a/package-lock.json b/package-lock.json index 70a53ce..fc19b5d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,4972 +1,4362 @@ { "name": "which-browser", - "version": "0.5.0", - "lockfileVersion": 1, + "version": "0.8.0", + "lockfileVersion": 3, "requires": true, - "dependencies": { - "@babel/code-frame": { + "packages": { + "": { + "name": "which-browser", + "version": "0.8.0", + "license": "MIT", + "devDependencies": { + "@eslint/js": "^10.0.1", + "@hapi/code": "^9.0.3", + "@hapi/lab": "^26.0.1", + "eslint": "^10.9.1", + "eslint-config-prettier": "^10.1.8", + "eslint-plugin-prettier": "^5.5.6", + "globals": "^17.11.0", + "husky": "^9.1.7", + "lint-staged": "^17.3.0", + "nyc": "^18.0.0", + "prettier": "^3.9.6", + "sinon": "^22.1.0", + "yamljs": "^0.3.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz", + "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz", + "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.7", + "@babel/helper-compilation-targets": "^7.29.7", + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helpers": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7", + "@jridgewell/remapping": "^2.3.5", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.8.tgz", + "integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.8", + "@babel/types": "^7.29.8", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz", + "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.29.7", + "@babel/helper-validator-option": "^7.29.7", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", + "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", + "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz", + "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", + "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz", + "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz", + "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.8.tgz", + "integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.8" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/template": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", + "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.8.tgz", + "integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.8", + "@babel/helper-globals": "^7.29.7", + "@babel/parser": "^7.29.8", + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.8", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz", + "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz", + "integrity": "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.21.2", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz", + "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.7", + "debug": "^4.3.1", + "minimatch": "^3.1.5" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz", + "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.17.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/core": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz", + "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/js": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", + "integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "eslint": "^10.0.0" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz", + "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz", + "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.17.0", + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@hapi/boom": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-10.0.1.tgz", + "integrity": "sha512-ERcCZaEjdH3OgSJlyjVk8pHIFeus91CjKP3v+MpgBNp5IvGzP2l/bRiD78nqYcKPaZdbKkK5vDBVPd2ohHBlsA==", + "dev": true, + "dependencies": { + "@hapi/hoek": "^11.0.2" + } + }, + "node_modules/@hapi/bossy": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@hapi/bossy/-/bossy-6.0.1.tgz", + "integrity": "sha512-FDccJWwjorRgnbYfRGAweq1QU3kQqTeGJNY0SwWssMo+L2CXRylifQ9VcYOz2yO2rtB/wtMe/Cyow2t7pcBs5g==", + "dev": true, + "dependencies": { + "@hapi/boom": "^10.0.1", + "@hapi/bounce": "^3.0.1", + "@hapi/bourne": "^3.0.0", + "@hapi/hoek": "^11.0.2", + "@hapi/validate": "^2.0.1" + } + }, + "node_modules/@hapi/bounce": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@hapi/bounce/-/bounce-3.0.1.tgz", + "integrity": "sha512-G+/Pp9c1Ha4FDP+3Sy/Xwg2O4Ahaw3lIZFSX+BL4uWi64CmiETuZPxhKDUD4xBMOUZbBlzvO8HjiK8ePnhBadA==", + "dev": true, + "dependencies": { + "@hapi/boom": "^10.0.1", + "@hapi/hoek": "^11.0.2" + } + }, + "node_modules/@hapi/bourne": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@hapi/bourne/-/bourne-3.0.0.tgz", + "integrity": "sha512-Waj1cwPXJDucOib4a3bAISsKJVb15MKi9IvmTI/7ssVEm6sywXGjVJDhl6/umt1pK1ZS7PacXU3A1PmFKHEZ2w==", + "dev": true + }, + "node_modules/@hapi/code": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/@hapi/code/-/code-9.0.3.tgz", + "integrity": "sha512-g50b7qz861Xfnt1NWtcba1zVxlHLPDJh/4ys6pva6jMmQgbTDLgAkbORDHYbVSA7mYxZ2cHZ2n7ZeFb5j/ZhQw==", + "dev": true, + "dependencies": { + "@hapi/hoek": "^11.0.2" + } + }, + "node_modules/@hapi/hoek": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-11.0.2.tgz", + "integrity": "sha512-aKmlCO57XFZ26wso4rJsW4oTUnrgTFw2jh3io7CAtO9w4UltBNwRXvXIVzzyfkaaLRo3nluP/19msA8vDUUuKw==", + "dev": true + }, + "node_modules/@hapi/lab": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/@hapi/lab/-/lab-26.0.1.tgz", + "integrity": "sha512-l1K4cktA1b+0WpUUPHEWIKwllu9IGAht3HYcNtzSIlxbuxLGWF4m37fVtRa0GWYewkx/4UGVgLcfCXmNSAqdDQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.16.0", + "@babel/eslint-parser": "^7.25.1", + "@hapi/bossy": "^6.0.0", + "@hapi/eslint-plugin": "^7.0.0", + "@hapi/hoek": "^11.0.2", + "diff": "^5.0.0", + "eslint": "9.x.x", + "find-rc": "4.x.x", + "globby": "^11.1.0", + "handlebars": "4.x.x", + "mo-walk": "^1.2.0", + "seedrandom": "3.x.x", + "source-map": "0.7.x", + "source-map-support": "0.5.x", + "supports-color": "^8.1.1", + "will-call": "1.x.x" + }, + "bin": { + "lab": "bin/lab" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@hapi/eslint-plugin": "^7.0.0", + "typescript": ">=4.4.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@hapi/lab/node_modules/@babel/eslint-parser": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.29.7.tgz", + "integrity": "sha512-zxt+UJTOMKvUt3yOg+D58MLuz334pHp93qifMFcjIIO+9hN6t+ufw2gi7vDPMpxvfnHRR+3VVXvIjineCcgyXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", + "eslint-visitor-keys": "^2.1.0", + "semver": "^6.3.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || >=14.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.11.0", + "eslint": "^7.5.0 || ^8.0.0 || ^9.0.0" + } + }, + "node_modules/@hapi/lab/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10" + } + }, + "node_modules/@hapi/lab/node_modules/@eslint/eslintrc": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.6.tgz", + "integrity": "sha512-l2Ul9PrHsPCKcEY/ac7VgFj9D80C7S68sOKc618SyHDPK36s1XcFebXY0iTzUVn4Yq+YbwvSnDmCz9yxjX+QrA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.14.0", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.3.0", + "minimatch": "^3.1.5", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@hapi/lab/node_modules/@eslint/js": { + "version": "9.39.5", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.5.tgz", + "integrity": "sha512-QywQuszQh77pIXCsq998c8hbhSTI/azTty1Z6N53dmAudKHhy573j3yvRLsX2BSp8YpLtoCEG8E9DJe+8zUh4A==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + } + }, + "node_modules/@hapi/lab/node_modules/@hapi/eslint-plugin": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", - "integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==", + "resolved": "https://registry.npmjs.org/@hapi/eslint-plugin/-/eslint-plugin-7.0.0.tgz", + "integrity": "sha512-u11LSTnBbSwZ6veyXRR4ULW0TfGDRYlg5mpNN0y2A2SoINN9f8za4jIxxzAfZKlFDKkqqowG5wxKBrquNfxmCg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "globals": "^15.11.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@babel/core": "^7.24.9", + "@babel/eslint-parser": "^7.25.0" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "@babel/eslint-parser": { + "optional": true + } + } + }, + "node_modules/@hapi/lab/node_modules/@hapi/eslint-plugin/node_modules/globals": { + "version": "15.15.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", + "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@hapi/lab/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@hapi/lab/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/@hapi/lab/node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@hapi/lab/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@hapi/lab/node_modules/chalk/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@hapi/lab/node_modules/eslint": { + "version": "9.39.5", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.5.tgz", + "integrity": "sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw==", + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.8.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.21.2", + "@eslint/config-helpers": "^0.4.2", + "@eslint/core": "^0.17.0", + "@eslint/eslintrc": "^3.3.6", + "@eslint/js": "9.39.5", + "@eslint/plugin-kit": "^0.4.1", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "ajv": "^6.14.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.4.0", + "eslint-visitor-keys": "^4.2.1", + "espree": "^10.4.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.5", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/@hapi/lab/node_modules/eslint-scope": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz", + "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@hapi/lab/node_modules/eslint-visitor-keys": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", + "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@hapi/lab/node_modules/espree": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz", + "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.15.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@hapi/lab/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@hapi/lab/node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@hapi/lab/node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@hapi/lab/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@hapi/lab/node_modules/js-yaml": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@hapi/lab/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@hapi/lab/node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@hapi/lab/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@hapi/lab/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@hapi/lab/node_modules/seedrandom": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.5.tgz", + "integrity": "sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==", + "dev": true + }, + "node_modules/@hapi/lab/node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@hapi/lab/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/@hapi/topo": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-6.0.2.tgz", + "integrity": "sha512-KR3rD5inZbGMrHmgPxsJ9dbi6zEK+C3ZwUwTa+eMwWLz7oijWUTWD2pMSNNYJAU6Qq+65NkxXjqHr/7LM2Xkqg==", "dev": true, - "requires": { - "@babel/highlight": "^7.0.0" + "dependencies": { + "@hapi/hoek": "^11.0.2" } }, - "@babel/highlight": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz", - "integrity": "sha512-UFMC4ZeFC48Tpvj7C8UgLvtkaUuovQX+5xNWrsIoMG8o2z+XFKjKaN9iVmS84dPwVN00W4wPmqvYoZF3EGAsfw==", + "node_modules/@hapi/validate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@hapi/validate/-/validate-2.0.1.tgz", + "integrity": "sha512-NZmXRnrSLK8MQ9y/CMqE9WSspgB9xA41/LlYR0k967aSZebWr4yNrpxIbov12ICwKy4APSlWXZga9jN5p6puPA==", "dev": true, - "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^4.0.0" + "dependencies": { + "@hapi/hoek": "^11.0.2", + "@hapi/topo": "^6.0.1" + } + }, + "node_modules/@humanfs/core": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", + "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/types": "^0.15.0" }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", + "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", + "dev": true, + "license": "Apache-2.0", "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "@humanfs/core": "^0.19.2", + "@humanfs/types": "^0.15.0", + "@humanwhocodes/retry": "^0.4.0" + }, + "engines": { + "node": ">=18.18.0" } }, - "@babel/runtime": { - "version": "7.4.5", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.4.5.tgz", - "integrity": "sha512-TuI4qpWZP6lGOGIuGWtp9sPluqYICmbk8T/1vpSysqJxRPkudh/ofFWyqdcMsDf2s7KvDL4/YHgKyvcS3g9CJQ==", + "node_modules/@humanfs/types": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", + "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", "dev": true, - "requires": { - "regenerator-runtime": "^0.13.2" + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" } }, - "@samverschueren/stream-to-observable": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz", - "integrity": "sha512-MI4Xx6LHs4Webyvi6EbspgyAb4D2Q2VtnCQ1blOJcoLS6mVa8lNN2rkIy1CVxfTUpoyIbCTkXES1rLXztFD1lg==", + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true, - "requires": { - "any-observable": "^0.3.0" + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" } }, - "@types/normalize-package-data": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", - "dev": true + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } }, - "abbrev": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", - "integrity": "sha1-kbR5JYinc4wl813W9jdSovh3YTU=", - "dev": true + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "dev": true, + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } }, - "acorn": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.1.tgz", - "integrity": "sha512-d+nbxBUGKg7Arpsvbnlq61mc12ek3EY8EQldM3GPAhWJ1UVxC6TDGbIvUMNU6obBX3i1+ptCIzV4vq0gFPEGVQ==", - "dev": true + "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } }, - "acorn-jsx": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", - "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=", + "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, - "requires": { - "acorn": "^3.0.4" + "dependencies": { + "p-locate": "^4.1.0" }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, "dependencies": { - "acorn": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", - "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", - "dev": true - } + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" } }, - "agent-base": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz", - "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==", + "node_modules/@istanbuljs/load-nyc-config/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, - "requires": { - "es6-promisify": "^5.0.0" + "engines": { + "node": ">=8" } }, - "ajv": { - "version": "5.5.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", - "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, - "requires": { - "co": "^4.6.0", - "fast-deep-equal": "^1.0.0", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.3.0" + "engines": { + "node": ">=8" } }, - "ajv-keywords": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.1.tgz", - "integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=", - "dev": true + "node_modules/@istanbuljs/schema": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.6.tgz", + "integrity": "sha512-+Sg6GCR/wy1oSmQDFq4LQDAhm3ETKnorxN+y5nbLULOR3P0c14f2Wurzj3/xqPXtasLFfHd5iRFQ7AJt4KH2cw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } }, - "amdefine": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", "dev": true, - "optional": true + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } }, - "ansi-escapes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", - "integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==", - "dev": true + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } }, - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "dev": true + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "dev": true, + "license": "MIT" }, - "any-observable": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/any-observable/-/any-observable-0.3.0.tgz", - "integrity": "sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog==", - "dev": true + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "node_modules/@nicolo-ribaudo/eslint-scope-5-internals": { + "version": "5.1.1-v1", + "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz", + "integrity": "sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==", "dev": true, - "requires": { - "sprintf-js": "~1.0.2" + "license": "MIT", + "dependencies": { + "eslint-scope": "5.1.1" } }, - "argv": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/argv/-/argv-0.0.2.tgz", - "integrity": "sha1-7L0W+JSbFXGDcRsb2jNPN4QBhas=", - "dev": true + "node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } }, - "arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", - "dev": true + "node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } }, - "arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "dev": true + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } }, - "arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", - "dev": true + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "engines": { + "node": ">= 8" + } }, - "array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", "dev": true, - "requires": { - "array-uniq": "^1.0.1" + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" } }, - "array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", - "dev": true + "node_modules/@pkgr/core": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.3.6.tgz", + "integrity": "sha512-SEeaJLb3qBNF/OaXnaR1NmmBbFYk1zC0ZH/52fATcRPLFg/p791YrcyFFy44Bo9sLaGuSuLp5Q6axbb/O+v/RA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/pkgr" + } }, - "array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", - "dev": true + "node_modules/@sinonjs/commons": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", + "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } }, - "arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", - "dev": true + "node_modules/@sinonjs/fake-timers": { + "version": "15.4.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-15.4.0.tgz", + "integrity": "sha512-DsG+8/LscQIQg68J6Ef3dv10u6nVyetYn923s3/sus5eaGfTo1of5WMZSLf0UJc9KDuKPilPH0UDJCjvNbDNCA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^3.0.1" + } }, - "asn1": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", - "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=", - "dev": true + "node_modules/@sinonjs/samsam": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-10.0.2.tgz", + "integrity": "sha512-8lVwD1Df1BmzoaOLhMcGGcz/Jyr5QY2KSB75/YK1QgKzoabTeLdIVyhXNZK9ojfSKSdirbXqdbsXXqP9/Ve8+A==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^3.0.1", + "type-detect": "^4.1.0" + } }, - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "dev": true + "node_modules/@sinonjs/samsam/node_modules/type-detect": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz", + "integrity": "sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } }, - "assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", - "dev": true + "node_modules/@types/esrecurse": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", + "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", + "dev": true, + "license": "MIT" }, - "astral-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", - "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", - "dev": true + "node_modules/@types/estree": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", + "dev": true, + "license": "MIT" }, - "async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", - "dev": true + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true + "node_modules/acorn": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz", + "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } }, - "atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } }, - "aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "dev": true + "node_modules/aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dev": true, + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/aggregate-error/node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "babel-code-frame": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", - "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "node_modules/ajv": { + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", + "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", "dev": true, - "requires": { - "chalk": "^1.1.3", - "esutils": "^2.0.2", - "js-tokens": "^3.0.2" + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/append-transform": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-2.0.0.tgz", + "integrity": "sha512-7yeyCEurROLQJFv5Xj4lEGTy0borxepjFv1g22oAdqFu//SrAlDl1O1Nxx15SH1RoliUml6p8dwJW9jvZughhg==", + "dev": true, "dependencies": { - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true - } + "default-require-extensions": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/archy": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", + "integrity": "sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==", + "dev": true, + "license": "MIT" + }, + "node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "dependencies": { + "sprintf-js": "~1.0.2" } }, - "balanced-match": { + "node_modules/balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "dev": true }, - "base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "dev": true, - "requires": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } + "node_modules/baseline-browser-mapping": { + "version": "2.11.19", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.19.tgz", + "integrity": "sha512-Grytf1xOxOEMTGRwx6rLGKkTabd4vMg3VrKdj/7joCmV0qgh4QwMMO6xh34YEXQqirAuUdgQGa5orJQQ+69RBw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.18", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz", + "integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.28.8", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.8.tgz", + "integrity": "sha512-V2NpofLblG64mfOtSgDhOJESZEGogzDMBv/q+W6oc4LXWP/q75eOXoOaaOu1EOadB9U4Bwx/e0yzbvwKH8zalA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true + { + "type": "github", + "url": "https://github.com/sponsors/ai" } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.11.12", + "caniuse-lite": "^1.0.30001809", + "electron-to-chromium": "^1.5.402", + "node-releases": "^2.0.53", + "update-browserslist-db": "^1.3.0" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "node_modules/caching-transform": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz", + "integrity": "sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA==", "dev": true, - "optional": true, - "requires": { - "tweetnacl": "^0.14.3" + "dependencies": { + "hasha": "^5.0.0", + "make-dir": "^3.0.0", + "package-hash": "^4.0.0", + "write-file-atomic": "^3.0.0" + }, + "engines": { + "node": ">=8" } }, - "bluebird": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.3.tgz", - "integrity": "sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw==", - "dev": true + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } }, - "bossy": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/bossy/-/bossy-3.0.4.tgz", - "integrity": "sha1-+a6fJugbQaMY9O4Ng2huSlwlB7k=", + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true, - "requires": { - "hoek": "4.x.x", - "joi": "10.x.x" - }, - "dependencies": { - "isemail": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/isemail/-/isemail-2.2.1.tgz", - "integrity": "sha1-A1PT2aYpUQgMJiwqoKQrjqjp4qY=", - "dev": true + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001810", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz", + "integrity": "sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" }, - "joi": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/joi/-/joi-10.6.0.tgz", - "integrity": "sha512-hBF3LcqyAid+9X/pwg+eXjD2QBZI5eXnBFJYaAkH4SK3mp9QSRiiQnDYlmlz5pccMvnLcJRS4whhDOTCkmsAdQ==", - "dev": true, - "requires": { - "hoek": "4.x.x", - "isemail": "2.x.x", - "items": "2.x.x", - "topo": "2.x.x" - } + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } + ], + "license": "CC-BY-4.0" + }, + "node_modules/clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dev": true, + "engines": { + "node": ">=6" } }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" } }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } + "node_modules/cliui/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" } }, - "browser-stdout": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", - "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", - "dev": true + "node_modules/cliui/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } }, - "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", - "dev": true + "node_modules/cliui/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "dev": true, - "requires": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" - } - }, - "caller-callsite": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", - "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", + "node_modules/cliui/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dev": true, - "requires": { - "callsites": "^2.0.0" - }, "dependencies": { - "callsites": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", - "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", - "dev": true - } + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" } }, - "caller-path": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", - "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=", + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, - "requires": { - "callsites": "^0.2.0" - }, + "license": "MIT", "dependencies": { - "callsites": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz", - "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=", - "dev": true - } + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" } }, - "callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true - }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", - "dev": true - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true, - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } + "license": "MIT" }, - "chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", "dev": true }, - "ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, - "circular-json": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", - "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true }, - "class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "dev": true, - "requires": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - } + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" } }, - "cli-cursor": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", - "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "node_modules/cross-spawn/node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, - "requires": { - "restore-cursor": "^2.0.0" + "engines": { + "node": ">=8" } }, - "cli-truncate": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz", - "integrity": "sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ=", - "dev": true, - "requires": { - "slice-ansi": "0.0.4", - "string-width": "^1.0.1" - }, - "dependencies": { - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "slice-ansi": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", - "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", - "dev": true - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dev": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - } + "node_modules/cross-spawn/node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" } }, - "cli-width": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", - "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", - "dev": true - }, - "co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", - "dev": true + "node_modules/cross-spawn/node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "codacy-coverage": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/codacy-coverage/-/codacy-coverage-3.4.0.tgz", - "integrity": "sha512-A0ats3/gZtOw76muu++HZ6QrInztWjjLefkLJmmBpjPfyn6nNwNLoApmGmj3F3dfgl2+o6u5GwPnUBkKdfKXTQ==", + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "dev": true, - "requires": { - "bluebird": "^3.5.x", - "commander": "^2.x", - "jacoco-parse": "^2.x", - "joi": "^13.x", - "lcov-parse": "^1.x", - "lodash": "^4.17.4", - "log-driver": "^1.x", - "request": "^2.88.0", - "request-promise": "^4.x" + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "code": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/code/-/code-4.1.0.tgz", - "integrity": "sha1-IJrRHQWvigwceq9pTZ+k0sfZW4U=", + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", "dev": true, - "requires": { - "hoek": "4.x.x" + "engines": { + "node": ">=0.10.0" } }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "node_modules/deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", "dev": true }, - "codecov": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/codecov/-/codecov-3.5.0.tgz", - "integrity": "sha512-/OsWOfIHaQIr7aeZ4pY0UC1PZT6kimoKFOFYFNb6wxo3iw12nRrh+mNGH72rnXxNsq6SGfesVPizm/6Q3XqcFQ==", + "node_modules/default-require-extensions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-3.0.1.tgz", + "integrity": "sha512-eXTJmRbm2TIt9MgWTsOH1wEuhew6XGZcMeGKCtLedIg/NCsg1iBePXkceTdK4Fii7pzmN9tGsZhKzZ4h7O/fxw==", "dev": true, - "requires": { - "argv": "^0.0.2", - "ignore-walk": "^3.0.1", - "js-yaml": "^3.13.1", - "teeny-request": "^3.11.3", - "urlgrey": "^0.4.4" + "dependencies": { + "strip-bom": "^4.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "node_modules/diff": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.2.tgz", + "integrity": "sha512-vtcDfH3TOjP8UekytvnHH1o1P4FcUdt4eQ1Y+Abap1tk/OB2MWQvcwS2ClCd1zuIhc3JKOx6p3kod8Vfys3E+A==", "dev": true, - "requires": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" } }, - "color-convert": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.2.tgz", - "integrity": "sha512-3NUJZdhMhcdPn8vJ9v2UQJoH0qqoGUkYTgFEPZaPjEtwmmKUfNV46zZmgB2M5M4DCEQHMaCfWHCxiBflLm04Tg==", + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", "dev": true, - "requires": { - "color-name": "1.1.1" + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "color-name": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.1.tgz", - "integrity": "sha1-SxQVMEz1ACjqgWQ2Q72C6gWANok=", - "dev": true - }, - "combined-stream": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz", - "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=", + "node_modules/electron-to-chromium": { + "version": "1.5.415", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.415.tgz", + "integrity": "sha512-958V+Kbhtgz+SxXeEVKBjrlKRBIDAYvUJfwhjxMZ5S6ut9jAl7l9ZKBkBrvjyjZE36PabLUo2L8kEeV5O4vgJg==", "dev": true, - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "commander": { - "version": "2.16.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.16.0.tgz", - "integrity": "sha512-sVXqklSaotK9at437sFlFpyOcJonxe0yST/AG9DkQKUdIE6IqGIMv4SfAQSKaJbSdVEJYItASCrBiVQHq1HQew==", - "dev": true + "license": "ISC" }, - "component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "node_modules/es6-error": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", + "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", "dev": true }, - "concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" + "license": "MIT", + "engines": { + "node": ">=6" } }, - "copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", - "dev": true + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true + "node_modules/eslint": { + "version": "10.9.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.9.1.tgz", + "integrity": "sha512-9VaAkDURekixUQJy0oJYl2DcN6oKMfxay7XzaGYAWQwsb6qfKf+x76R2k1L8kb1boc+FyCAaTA9GmiKaaiaF+A==", + "dev": true, + "license": "MIT", + "workspaces": [ + "packages/*" + ], + "dependencies": { + "@eslint-community/eslint-utils": "^4.8.0", + "@eslint-community/regexpp": "^4.12.2", + "@eslint/config-array": "^0.23.5", + "@eslint/config-helpers": "^0.7.0", + "@eslint/core": "^1.2.1", + "@eslint/plugin-kit": "^0.7.2", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "ajv": "^6.14.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^9.1.2", + "eslint-visitor-keys": "^5.0.1", + "espree": "^11.2.0", + "esquery": "^1.7.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "minimatch": "^10.2.5", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } }, - "cosmiconfig": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", - "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", + "node_modules/eslint-config-prettier": { + "version": "10.1.8", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz", + "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", "dev": true, - "requires": { - "import-fresh": "^2.0.0", - "is-directory": "^0.3.1", - "js-yaml": "^3.13.1", - "parse-json": "^4.0.0" + "license": "MIT", + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "funding": { + "url": "https://opencollective.com/eslint-config-prettier" }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-prettier": { + "version": "5.5.6", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.6.tgz", + "integrity": "sha512-ifetmTcxWfz+4qRW3pH/ujdTq2jQIj59AxJMIN26K5avYgU8dxycUETQonWiW+wPrYXA0j3Try0l1CnwVQtDqQ==", + "dev": true, + "license": "MIT", "dependencies": { - "caller-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", - "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", - "dev": true, - "requires": { - "caller-callsite": "^2.0.0" - } - }, - "import-fresh": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", - "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", - "dev": true, - "requires": { - "caller-path": "^2.0.0", - "resolve-from": "^3.0.0" - } + "prettier-linter-helpers": "^1.0.1", + "synckit": "^0.11.13" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint-plugin-prettier" + }, + "peerDependencies": { + "@types/eslint": ">=8.0.0", + "eslint": ">=8.0.0", + "eslint-config-prettier": ">= 7.0.0 <10.0.0 || >=10.1.0", + "prettier": ">=3.0.0" + }, + "peerDependenciesMeta": { + "@types/eslint": { + "optional": true }, - "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", - "dev": true + "eslint-config-prettier": { + "optional": true } } }, - "cross-spawn": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", - "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "node_modules/eslint-scope": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", + "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==", "dev": true, - "requires": { - "lru-cache": "^4.0.1", - "shebang-command": "^1.2.0", - "which": "^1.2.9" + "license": "BSD-2-Clause", + "dependencies": { + "@types/esrecurse": "^4.3.1", + "@types/estree": "^1.0.8", + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, - "requires": { - "assert-plus": "^1.0.0" + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "date-fns": { - "version": "1.30.1", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.30.1.tgz", - "integrity": "sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==", - "dev": true - }, - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "node_modules/eslint/node_modules/@eslint/config-array": { + "version": "0.23.5", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz", + "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==", "dev": true, - "requires": { - "ms": "^2.1.1" + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^3.0.5", + "debug": "^4.3.1", + "minimatch": "^10.2.4" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", - "dev": true - }, - "dedent": { + "node_modules/eslint/node_modules/@eslint/config-helpers": { "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", - "dev": true - }, - "deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", - "dev": true - }, - "define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dev": true, - "requires": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - }, - "dependencies": { - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true - } + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz", + "integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "del": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/del/-/del-3.0.0.tgz", - "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=", + "node_modules/eslint/node_modules/@eslint/core": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz", + "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==", "dev": true, - "requires": { - "globby": "^6.1.0", - "is-path-cwd": "^1.0.0", - "is-path-in-cwd": "^1.0.0", - "p-map": "^1.1.1", - "pify": "^3.0.0", - "rimraf": "^2.2.8" + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "dev": true - }, - "diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", - "dev": true - }, - "doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "node_modules/eslint/node_modules/@eslint/object-schema": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz", + "integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==", "dev": true, - "requires": { - "esutils": "^2.0.2" + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "ecc-jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", - "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", + "node_modules/eslint/node_modules/@eslint/plugin-kit": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz", + "integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==", "dev": true, - "optional": true, - "requires": { - "jsbn": "~0.1.0" + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1", + "levn": "^0.4.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "elegant-spinner": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz", - "integrity": "sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4=", - "dev": true - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", - "dev": true - }, - "end-of-stream": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", - "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", + "node_modules/eslint/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", "dev": true, - "requires": { - "once": "^1.4.0" + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" } }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "node_modules/eslint/node_modules/brace-expansion": { + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz", + "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==", "dev": true, - "requires": { - "is-arrayish": "^0.2.1" + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" } }, - "es6-promise": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", - "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", - "dev": true + "node_modules/eslint/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } }, - "es6-promisify": { + "node_modules/eslint/node_modules/find-up": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", - "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, - "requires": { - "es6-promise": "^4.0.3" + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "escodegen": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz", - "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=", + "node_modules/eslint/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, - "requires": { - "esprima": "^2.7.1", - "estraverse": "^1.9.1", - "esutils": "^2.0.2", - "optionator": "^0.8.1", - "source-map": "~0.2.0" - }, "dependencies": { - "esprima": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", - "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=", - "dev": true - }, - "estraverse": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz", - "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=", - "dev": true - } + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "eslint": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz", - "integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "ajv": "^6.9.1", - "chalk": "^2.1.0", - "cross-spawn": "^6.0.5", - "debug": "^4.0.1", - "doctrine": "^3.0.0", - "eslint-scope": "^4.0.3", - "eslint-utils": "^1.3.1", - "eslint-visitor-keys": "^1.0.0", - "espree": "^5.0.1", - "esquery": "^1.0.1", - "esutils": "^2.0.2", - "file-entry-cache": "^5.0.1", - "functional-red-black-tree": "^1.0.1", - "glob": "^7.1.2", - "globals": "^11.7.0", - "ignore": "^4.0.6", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "inquirer": "^6.2.2", - "js-yaml": "^3.13.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.3.0", - "lodash": "^4.17.11", - "minimatch": "^3.0.4", - "mkdirp": "^0.5.1", - "natural-compare": "^1.4.0", - "optionator": "^0.8.2", - "path-is-inside": "^1.0.2", - "pluralize": "^7.0.0", - "progress": "^2.0.0", - "regexpp": "^2.0.1", - "semver": "^5.5.1", - "strip-ansi": "^4.0.0", - "strip-json-comments": "^2.0.1", - "table": "^5.2.3", - "text-table": "^0.2.0" - }, - "dependencies": { - "acorn": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz", - "integrity": "sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA==", - "dev": true - }, - "acorn-jsx": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz", - "integrity": "sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==", - "dev": true - }, - "ajv": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz", - "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==", - "dev": true, - "requires": { - "fast-deep-equal": "^2.0.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dev": true, - "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - } - }, - "doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "espree": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz", - "integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==", - "dev": true, - "requires": { - "acorn": "^6.0.7", - "acorn-jsx": "^5.0.0", - "eslint-visitor-keys": "^1.0.0" - } - }, - "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", - "dev": true - }, - "file-entry-cache": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", - "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", - "dev": true, - "requires": { - "flat-cache": "^2.0.1" - } - }, - "flat-cache": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", - "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", - "dev": true, - "requires": { - "flatted": "^2.0.0", - "rimraf": "2.6.3", - "write": "1.0.3" - } - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - }, - "write": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", - "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", - "dev": true, - "requires": { - "mkdirp": "^0.5.1" - } - } + "node_modules/eslint/node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "eslint-config-google": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/eslint-config-google/-/eslint-config-google-0.8.1.tgz", - "integrity": "sha512-pVRvIPElH6JivuOsvnMKIWhX3JCJNOZnY7f0G5dX43ha4ZL4KI7P2dOiPqfD+Pkft1TJSbm7SuTmEx0SpvFCxQ==", - "dev": true - }, - "eslint-config-hapi": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-hapi/-/eslint-config-hapi-10.1.0.tgz", - "integrity": "sha512-tAUedyvZla1qKt6jhOx7mj5tYDVCwdSyImpEK7wk/A/atKUjg18aHUK6Q6qWWM6rq21I1F/A8JAhIpkk0SvFMQ==", - "dev": true - }, - "eslint-plugin-hapi": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-hapi/-/eslint-plugin-hapi-4.1.0.tgz", - "integrity": "sha512-z1yUoSWArx6pXaC0FoWRFpqjbHn8QWonJiTVhJmiC14jOAT7FZKdKWCkhM4jQrgrkEK9YEv3p2HuzSf5dtWmuQ==", + "node_modules/eslint/node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, - "requires": { - "hapi-capitalize-modules": "1.x.x", - "hapi-for-you": "1.x.x", - "hapi-no-var": "1.x.x", - "hapi-scope-start": "2.x.x", - "no-arrowception": "1.x.x" + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "eslint-scope": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", - "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", + "node_modules/eslint/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, - "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "eslint-utils": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz", - "integrity": "sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==", + "node_modules/eslint/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, - "requires": { - "eslint-visitor-keys": "^1.0.0" + "engines": { + "node": ">=8" } }, - "eslint-visitor-keys": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", - "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==", - "dev": true + "node_modules/espree": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", + "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.16.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^5.0.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } }, - "espree": { - "version": "3.5.4", - "resolved": "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz", - "integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==", + "node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", "dev": true, - "requires": { - "acorn": "^5.5.0", - "acorn-jsx": "^3.0.0" + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "esprima": { + "node_modules/esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true - }, - "esquery": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", - "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", "dev": true, - "requires": { - "estraverse": "^4.0.0" + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" } }, - "esrecurse": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", - "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "node_modules/esquery": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", "dev": true, - "requires": { - "estraverse": "^4.1.0" + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" } }, - "estraverse": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", - "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", - "dev": true - }, - "esutils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", - "dev": true + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } }, - "execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", - "dev": true, - "requires": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - }, - "dependencies": { - "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dev": true, - "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - } - } + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" } }, - "expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", - "dev": true, - "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } + "node_modules/esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "dev": true, + "engines": { + "node": ">=0.10.0" } }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true }, - "extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "node_modules/fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/fast-glob": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", "dev": true, - "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, "dependencies": { - "is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4" - } - } + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" } }, - "external-editor": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz", - "integrity": "sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA==", - "dev": true, - "requires": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - } - }, - "extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "dev": true, - "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true - } + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" } }, - "extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", - "dev": true - }, - "fast-deep-equal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", - "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", - "dev": true - }, - "fast-json-stable-stringify": { + "node_modules/fast-json-stable-stringify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", "dev": true }, - "fast-levenshtein": { + "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, - "figures": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", - "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", + "node_modules/fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", "dev": true, - "requires": { - "escape-string-regexp": "^1.0.5" + "dependencies": { + "reusify": "^1.0.4" } }, - "file-entry-cache": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", - "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, - "requires": { - "flat-cache": "^1.2.1", - "object-assign": "^4.0.1" + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" } }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } + "node_modules/find-cache-dir": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", + "dev": true, + "dependencies": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, - "find-rc": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/find-rc/-/find-rc-3.0.1.tgz", - "integrity": "sha1-VKQXg3DxC8k3H6jRssKAmir6DM4=", + "node_modules/find-rc": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/find-rc/-/find-rc-4.0.1.tgz", + "integrity": "sha512-YEox27Ie95/zoqkxm6BYSPguJsvYz9d9G1YuaNKhxjSgZbjMC9q5blmvbL4+Ail8yacQIE0OObhDb+ZwvfJafw==", "dev": true }, - "find-up": { + "node_modules/find-up": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "dev": true, - "requires": { + "dependencies": { "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" } }, - "flat-cache": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz", - "integrity": "sha512-VwyB3Lkgacfik2vhqR4uv2rvebqmDvFu4jlN/C1RzWoJEo8I7z4Q404oiqYCkq41mni8EzQnm95emU9seckwtg==", + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, - "requires": { - "circular-json": "^0.3.1", - "graceful-fs": "^4.1.2", - "rimraf": "~2.6.2", - "write": "^0.2.1" + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" } }, - "flatted": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.0.tgz", - "integrity": "sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg==", - "dev": true - }, - "fn-name": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fn-name/-/fn-name-2.0.1.tgz", - "integrity": "sha1-UhTXU3pNBqSjAcDMJi/rhBiAAuc=", - "dev": true - }, - "for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "dev": true - }, - "forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", - "dev": true + "node_modules/flatted": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", + "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", + "dev": true, + "license": "ISC" }, - "form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "node_modules/foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", "dev": true, - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "formatio": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/formatio/-/formatio-1.2.0.tgz", - "integrity": "sha1-87IWfZBoxGmKjVH092CjmlTYGOs=", + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, - "requires": { - "samsam": "1.x" + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "node_modules/fromentries": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz", + "integrity": "sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==", "dev": true, - "requires": { - "map-cache": "^0.2.2" - } + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, - "fs.realpath": { + "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, - "functional-red-black-tree": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", - "dev": true - }, - "g-status": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/g-status/-/g-status-2.0.2.tgz", - "integrity": "sha512-kQoE9qH+T1AHKgSSD0Hkv98bobE90ILQcXAF4wvGgsr7uFqNvwmh8j+Lq3l0RVt3E3HjSbv2B9biEGcEtpHLCA==", + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true, - "requires": { - "arrify": "^1.0.1", - "matcher": "^1.0.0", - "simple-git": "^1.85.0" + "engines": { + "node": ">=6.9.0" } }, - "get-own-enumerable-property-symbols": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.0.tgz", - "integrity": "sha512-CIJYJC4GGF06TakLg8z4GQKvDsx9EMspVxOYih7LerEL/WosUnFIww45CGfxfeKHqlg3twgUrYRT1O3WQqjGCg==", - "dev": true - }, - "get-stdin": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz", - "integrity": "sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ==", - "dev": true - }, - "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true, - "requires": { - "pump": "^3.0.0" + "engines": { + "node": "6.* || 8.* || >= 10.*" } }, - "get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", - "dev": true - }, - "getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", "dev": true, - "requires": { - "assert-plus": "^1.0.0" + "engines": { + "node": ">=8.0.0" } }, - "glob": { + "node_modules/glob": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "dev": true, - "requires": { + "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.0.4", "once": "^1.3.0", "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" } }, - "globals": { - "version": "11.10.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.10.0.tgz", - "integrity": "sha512-0GZF1RiPKU97IHUO5TORo9w1PwrH/NBPl+fS7oMLdaTRiYmYbwK4NWoZWrAdd0/abG9R2BU+OiwyQpTpE6pdfQ==", - "dev": true - }, - "globby": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, - "requires": { - "array-union": "^1.0.1", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, "dependencies": { - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true - } + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" } }, - "graceful-fs": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", - "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", - "dev": true + "node_modules/globals": { + "version": "17.11.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.11.0.tgz", + "integrity": "sha512-Z2I8hM+PbJDXQDq3Icgpzv+mPdwr68iZUU9d5WW4FuXfDUQfkZaZuvjMv42/5crNyw154+9+VWXbYrUgDXbxNw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "growl": { - "version": "1.10.5", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", - "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true }, - "handlebars": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.1.2.tgz", - "integrity": "sha512-nvfrjqvt9xQ8Z/w0ijewdD/vvWDTOweBUm96NTr66Wfvo1mJenBLwcYmPs3TIBP5ruzYGD7Hx/DaM9RmhroGPw==", + "node_modules/handlebars": { + "version": "4.7.9", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz", + "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==", "dev": true, - "requires": { - "neo-async": "^2.6.0", - "optimist": "^0.6.1", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.2", "source-map": "^0.6.1", - "uglify-js": "^3.1.4" + "wordwrap": "^1.0.0" }, - "dependencies": { - "commander": { - "version": "2.20.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz", - "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==", - "dev": true, - "optional": true - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, - "uglify-js": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.0.tgz", - "integrity": "sha512-W+jrUHJr3DXKhrsS7NUVxn3zqMOFn0hL/Ei6v0anCIMoKC93TjcflTagwIHLW7SfMFfiQuktQyFVCFHGUE0+yg==", - "dev": true, - "optional": true, - "requires": { - "commander": "~2.20.0", - "source-map": "~0.6.1" - } - } + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" } }, - "hapi-capitalize-modules": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/hapi-capitalize-modules/-/hapi-capitalize-modules-1.1.6.tgz", - "integrity": "sha1-eZEXFBXhXmqjIx5k3ac8gUZmUxg=", - "dev": true - }, - "hapi-for-you": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/hapi-for-you/-/hapi-for-you-1.0.0.tgz", - "integrity": "sha1-02L77o172pwseAHiB+WlzRoLans=", - "dev": true - }, - "hapi-no-var": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hapi-no-var/-/hapi-no-var-1.0.1.tgz", - "integrity": "sha512-kk2xyyTzI+eQ/oA1rO4eVdCpYsrPHVERHa6+mTHD08XXFLaAkkaEs6reMg1VyqGh2o5xPt//DO4EhCacLx/cRA==", - "dev": true - }, - "hapi-scope-start": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/hapi-scope-start/-/hapi-scope-start-2.1.1.tgz", - "integrity": "sha1-dJWnJv5yt7yo3izcwdh82M5qtPI=", - "dev": true - }, - "har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", - "dev": true - }, - "har-validator": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", - "dev": true, - "requires": { - "ajv": "^6.5.5", - "har-schema": "^2.0.0" - }, - "dependencies": { - "ajv": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.7.0.tgz", - "integrity": "sha512-RZXPviBTtfmtka9n9sy1N5M5b82CbxWIR6HIis4s3WQTXDJamc/0gpCWNGz6EWdWp4DOfjzJfhz/AS9zVPjjWg==", - "dev": true, - "requires": { - "fast-deep-equal": "^2.0.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", - "dev": true - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - } + "node_modules/handlebars/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" } }, - "has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "node_modules/hasha": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.2.tgz", + "integrity": "sha512-Hrp5vIK/xr5SkeN2onO32H0MgNZ0f17HRNH39WfL0SYUNOTZ5Lz1TJ8Pajo/87dYGEFlLMm7mIc/k/s6Bvz9HQ==", "dev": true, - "requires": { - "ansi-regex": "^2.0.0" + "dependencies": { + "is-stream": "^2.0.0", + "type-fest": "^0.8.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "has-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "node_modules/hasha/node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true, - "requires": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", - "dev": true, - "requires": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" - }, - "dependencies": { - "kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } + "node_modules/hasha/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "engines": { + "node": ">=8" } }, - "he": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", - "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", - "dev": true - }, - "hoek": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz", - "integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==", - "dev": true - }, - "hosted-git-info": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", - "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", "dev": true }, - "http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "dev": true, - "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - } - }, - "https-proxy-agent": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz", - "integrity": "sha512-HPCTS1LW51bcyMYbxUIOO4HEOlQ1/1qRaFWcyxvwaqUS9TY88aoEuHUY33kuAh1YhVVaDQhLZsnPd+XNARWZlQ==", + "node_modules/husky": { + "version": "9.1.7", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", + "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==", "dev": true, - "requires": { - "agent-base": "^4.1.0", - "debug": "^3.1.0" + "license": "MIT", + "bin": { + "husky": "bin.js" }, - "dependencies": { - "debug": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - } - } - }, - "husky": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/husky/-/husky-2.4.1.tgz", - "integrity": "sha512-ZRwMWHr7QruR22dQ5l3rEGXQ7rAQYsJYqaeCd+NyOsIFczAtqaApZQP3P4HwLZjCtFbm3SUNYoKuoBXX3AYYfw==", - "dev": true, - "requires": { - "cosmiconfig": "^5.2.0", - "execa": "^1.0.0", - "find-up": "^3.0.0", - "get-stdin": "^7.0.0", - "is-ci": "^2.0.0", - "pkg-dir": "^4.1.0", - "please-upgrade-node": "^3.1.1", - "read-pkg": "^5.1.1", - "run-node": "^1.0.0", - "slash": "^3.0.0" + "engines": { + "node": ">=18" }, - "dependencies": { - "caller-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", - "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", - "dev": true, - "requires": { - "caller-callsite": "^2.0.0" - } - }, - "cosmiconfig": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", - "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", - "dev": true, - "requires": { - "import-fresh": "^2.0.0", - "is-directory": "^0.3.1", - "js-yaml": "^3.13.1", - "parse-json": "^4.0.0" - } - }, - "import-fresh": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", - "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", - "dev": true, - "requires": { - "caller-path": "^2.0.0", - "resolve-from": "^3.0.0" - } - }, - "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", - "dev": true - } - } - }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dev": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3" + "funding": { + "url": "https://github.com/sponsors/typicode" } }, - "ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true - }, - "ignore-walk": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz", - "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==", + "node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", "dev": true, - "requires": { - "minimatch": "^3.0.4" + "engines": { + "node": ">= 4" } }, - "import-fresh": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.0.0.tgz", - "integrity": "sha512-pOnA9tfM3Uwics+SaBLCNyZZZbK+4PTu0OPZtLlMIrv17EdBoC15S9Kn8ckJ9TZTyKb3ywNE5y1yeDxxGA7nTQ==", + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", "dev": true, - "requires": { + "license": "MIT", + "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "imurmurhash": { + "node_modules/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true - }, - "indent-string": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", - "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.8.19" + } }, - "inflight": { + "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, - "requires": { + "dependencies": { "once": "^1.3.0", "wrappy": "1" } }, - "inherits": { + "node_modules/inherits": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", "dev": true }, - "inquirer": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.3.1.tgz", - "integrity": "sha512-MmL624rfkFt4TG9y/Jvmt8vdmOo836U7Y0Hxr2aFk3RelZEGX4Igk0KabWrcaaZaTv9uzglOqWh1Vly+FAWAXA==", - "dev": true, - "requires": { - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.0", - "cli-cursor": "^2.1.0", - "cli-width": "^2.0.0", - "external-editor": "^3.0.0", - "figures": "^2.0.0", - "lodash": "^4.17.10", - "mute-stream": "0.0.7", - "run-async": "^2.2.0", - "rxjs": "^6.1.0", - "string-width": "^2.1.0", - "strip-ansi": "^5.1.0", - "through": "^2.3.6" - }, - "dependencies": { - "ansi-escapes": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", - "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", - "dev": true - }, - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true, + "engines": { + "node": ">=0.10.0" } }, - "ip-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-3.0.0.tgz", - "integrity": "sha512-T8wDtjy+Qf2TAPDQmBp0eGKJ8GavlWlUnamr3wRn6vvdZlKVuJXXMlSncYFRYgVHOM3If5NR1H4+OvVQU9Idvg==", - "dev": true + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, - "requires": { - "kind-of": "^3.0.2" + "license": "MIT", + "engines": { + "node": ">=0.12.0" } }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", "dev": true }, - "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", - "dev": true + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } }, - "is-ci": { + "node_modules/isexe": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", + "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", "dev": true, - "requires": { - "ci-info": "^2.0.0" + "engines": { + "node": ">=8" } }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "node_modules/istanbul-lib-hook": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-3.0.0.tgz", + "integrity": "sha512-Pt/uge1Q9s+5VAZ+pCo16TYMWPBIl+oaNIjgLQxcX0itS6ueeaA+pEfThZpH8WxhFgCiEb8sAJY6MdUKgiIWaQ==", "dev": true, - "requires": { - "kind-of": "^3.0.2" + "dependencies": { + "append-transform": "^2.0.0" + }, + "engines": { + "node": ">=8" } }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "node_modules/istanbul-lib-instrument": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", + "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, + "license": "BSD-3-Clause", "dependencies": { - "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "dev": true - } + "@babel/core": "^7.23.9", + "@babel/parser": "^7.23.9", + "@istanbuljs/schema": "^0.1.3", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=10" } }, - "is-directory": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", - "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", - "dev": true - }, - "is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "dev": true - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "is-glob": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", - "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "node_modules/istanbul-lib-instrument/node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "dev": true, - "requires": { - "is-extglob": "^2.1.1" + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "node_modules/istanbul-lib-processinfo": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-processinfo/-/istanbul-lib-processinfo-3.0.1.tgz", + "integrity": "sha512-s3mX05h5wGZeScG6XnOanygPh4SJu5ujMc9YbvpnLGXWy1cRiGbp0NdVcjHxgoZt3WfQppfBsa0y+gWdYJ2pGQ==", "dev": true, - "requires": { - "kind-of": "^3.0.2" + "license": "ISC", + "dependencies": { + "archy": "^1.0.0", + "cross-spawn": "^7.0.3", + "istanbul-lib-coverage": "^3.2.0", + "p-map": "^3.0.0", + "rimraf": "^6.1.3" + }, + "engines": { + "node": "20 || >=22" } }, - "is-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", - "dev": true + "node_modules/istanbul-lib-report": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", + "dev": true, + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^4.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } }, - "is-observable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-1.1.0.tgz", - "integrity": "sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA==", + "node_modules/istanbul-lib-report/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, - "requires": { - "symbol-observable": "^1.1.0" + "engines": { + "node": ">=8" } }, - "is-path-cwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", - "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", - "dev": true - }, - "is-path-in-cwd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", - "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", + "node_modules/istanbul-lib-report/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, - "requires": { - "is-path-inside": "^1.0.0" + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" } }, - "is-path-inside": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", - "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", + "node_modules/istanbul-lib-report/node_modules/make-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", "dev": true, - "requires": { - "path-is-inside": "^1.0.1" + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "node_modules/istanbul-lib-report/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, - "requires": { - "isobject": "^3.0.1" + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, - "is-promise": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", - "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", - "dev": true - }, - "is-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", - "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=", - "dev": true - }, - "is-resolvable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", - "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==", - "dev": true - }, - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "dev": true - }, - "is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true - }, - "is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "dev": true - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true - }, - "isemail": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/isemail/-/isemail-3.2.0.tgz", - "integrity": "sha512-zKqkK+O+dGqevc93KNsbZ/TqTUFd46MwWjYOoMrjIMZ51eU7DtQG3Wmd9SQQT7i7RVnuTPEiYEWHU3MSbxC1Tg==", + "node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, - "requires": { - "punycode": "2.x.x" + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true - }, - "isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "node_modules/istanbul-lib-report/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, - "istanbul": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/istanbul/-/istanbul-0.4.5.tgz", - "integrity": "sha1-ZcfXPUxNqE1POsMQuRj7C4Azczs=", - "dev": true, - "requires": { - "abbrev": "1.0.x", - "async": "1.x", - "escodegen": "1.8.x", - "esprima": "2.7.x", - "glob": "^5.0.15", - "handlebars": "^4.0.1", - "js-yaml": "3.x", - "mkdirp": "0.5.x", - "nopt": "3.x", - "once": "1.x", - "resolve": "1.1.x", - "supports-color": "^3.1.0", - "which": "^1.1.1", - "wordwrap": "^1.0.0" - }, + "node_modules/istanbul-lib-source-maps": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "dev": true, "dependencies": { - "esprima": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", - "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=", - "dev": true - }, - "glob": { - "version": "5.0.15", - "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", - "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", - "dev": true, - "requires": { - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "2 || 3", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", - "dev": true - }, - "supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "dev": true, - "requires": { - "has-flag": "^1.0.0" - } - } + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=10" } }, - "items": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/items/-/items-2.1.1.tgz", - "integrity": "sha1-i9FtnIOxlSneWuoyGsqtp4NkoZg=", - "dev": true - }, - "jacoco-parse": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/jacoco-parse/-/jacoco-parse-2.0.0.tgz", - "integrity": "sha512-bKneBFwHF+afsH1ByniUyjDCwiYhb2RYk7aovcNgOKqbayVgDQ1U9h5Fy/PMGI9/iJwIuc3yqpZvEtqY6s81lQ==", + "node_modules/istanbul-lib-source-maps/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, - "requires": { - "mocha": "^5.2.0", - "xml2js": "^0.4.9" + "engines": { + "node": ">=0.10.0" } }, - "joi": { - "version": "13.7.0", - "resolved": "https://registry.npmjs.org/joi/-/joi-13.7.0.tgz", - "integrity": "sha512-xuY5VkHfeOYK3Hdi91ulocfuFopwgbSORmIwzcwHKESQhC7w1kD5jaVSPnqDxS2I8t3RZ9omCKAxNwXN5zG1/Q==", + "node_modules/istanbul-reports": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", + "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==", "dev": true, - "requires": { - "hoek": "5.x.x", - "isemail": "3.x.x", - "topo": "3.x.x" - }, "dependencies": { - "hoek": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-5.0.4.tgz", - "integrity": "sha512-Alr4ZQgoMlnere5FZJsIyfIjORBqZll5POhDsF4q64dPuJR6rNxXdDxtHSQq8OXRurhmx+PWYEE8bXRROY8h0w==", - "dev": true - }, - "topo": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/topo/-/topo-3.0.3.tgz", - "integrity": "sha512-IgpPtvD4kjrJ7CRA3ov2FhWQADwv+Tdqbsf1ZnPUSAtCJ9e1Z44MmoSGDXGk4IppoZA7jd/QRkNddlLJWlUZsQ==", - "dev": true, - "requires": { - "hoek": "6.x.x" - }, - "dependencies": { - "hoek": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-6.1.2.tgz", - "integrity": "sha512-6qhh/wahGYZHFSFw12tBbJw5fsAhhwrrG/y3Cs0YMTv2WzMnL0oLPnQJjv1QJvEfylRSOFuP+xCu+tdx0tD16Q==", - "dev": true - } - } - } + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" } }, - "js-tokens": { + "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true + "dev": true, + "license": "MIT" }, - "js-yaml": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", - "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "node_modules/js-yaml": { + "version": "3.15.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.2.tgz", + "integrity": "sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==", "dev": true, - "requires": { + "license": "MIT", + "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", "dev": true, - "optional": true - }, - "json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } }, - "json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", - "dev": true + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" }, - "json-schema-traverse": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", - "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, - "json-stable-stringify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", - "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", - "dev": true, - "requires": { - "jsonify": "~0.0.0" - } - }, - "json-stable-stringify-without-jsonify": { + "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", - "dev": true - }, - "jsonify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", - "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=", - "dev": true - }, - "jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "dev": true, - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" - } - }, - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - }, - "lab": { - "version": "14.3.4", - "resolved": "https://registry.npmjs.org/lab/-/lab-14.3.4.tgz", - "integrity": "sha512-IFnuYVRd6CtnFTFgUbjPCFrrCIked5BvGH/dX+/h+6pi3IrQrK21JsKy/J1CshEm6sMe980+oswtK8lZCusHSA==", - "dev": true, - "requires": { - "bossy": "3.x.x", - "code": "4.1.x", - "diff": "3.5.x", - "eslint": "4.19.x", - "eslint-config-hapi": "10.x.x", - "eslint-plugin-hapi": "4.x.x", - "espree": "3.5.x", - "find-rc": "3.0.x", - "handlebars": "4.x.x", - "hoek": "4.x.x", - "items": "2.x.x", - "json-stable-stringify": "1.x.x", - "json-stringify-safe": "5.x.x", - "mkdirp": "0.5.x", - "seedrandom": "2.4.x", - "source-map": "0.6.x", - "source-map-support": "0.4.x", - "supports-color": "4.4.x" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "chardet": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", - "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=", - "dev": true - }, - "debug": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "eslint": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-4.19.1.tgz", - "integrity": "sha512-bT3/1x1EbZB7phzYu7vCr1v3ONuzDtX8WjuM9c0iYxe+cq+pwcKEoQjl7zd3RpC6YOLgnSy3cTN58M2jcoPDIQ==", - "dev": true, - "requires": { - "ajv": "^5.3.0", - "babel-code-frame": "^6.22.0", - "chalk": "^2.1.0", - "concat-stream": "^1.6.0", - "cross-spawn": "^5.1.0", - "debug": "^3.1.0", - "doctrine": "^2.1.0", - "eslint-scope": "^3.7.1", - "eslint-visitor-keys": "^1.0.0", - "espree": "^3.5.4", - "esquery": "^1.0.0", - "esutils": "^2.0.2", - "file-entry-cache": "^2.0.0", - "functional-red-black-tree": "^1.0.1", - "glob": "^7.1.2", - "globals": "^11.0.1", - "ignore": "^3.3.3", - "imurmurhash": "^0.1.4", - "inquirer": "^3.0.6", - "is-resolvable": "^1.0.0", - "js-yaml": "^3.9.1", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.3.0", - "lodash": "^4.17.4", - "minimatch": "^3.0.2", - "mkdirp": "^0.5.1", - "natural-compare": "^1.4.0", - "optionator": "^0.8.2", - "path-is-inside": "^1.0.2", - "pluralize": "^7.0.0", - "progress": "^2.0.0", - "regexpp": "^1.0.1", - "require-uncached": "^1.0.3", - "semver": "^5.3.0", - "strip-ansi": "^4.0.0", - "strip-json-comments": "~2.0.1", - "table": "4.0.2", - "text-table": "~0.2.0" - } - }, - "eslint-scope": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.3.tgz", - "integrity": "sha512-W+B0SvF4gamyCTmUc+uITPY0989iXVfKvhwtmJocTaYoc/3khEHmEmvfY/Gn9HA9VV75jrQECsHizkNw1b68FA==", - "dev": true, - "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - } - }, - "external-editor": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", - "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", - "dev": true, - "requires": { - "chardet": "^0.4.0", - "iconv-lite": "^0.4.17", - "tmp": "^0.0.33" - } - }, - "has-flag": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", - "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", - "dev": true - }, - "ignore": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", - "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", - "dev": true - }, - "inquirer": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", - "integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", - "dev": true, - "requires": { - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.0", - "cli-cursor": "^2.1.0", - "cli-width": "^2.0.0", - "external-editor": "^2.0.4", - "figures": "^2.0.0", - "lodash": "^4.3.0", - "mute-stream": "0.0.7", - "run-async": "^2.2.0", - "rx-lite": "^4.0.8", - "rx-lite-aggregates": "^4.0.8", - "string-width": "^2.1.0", - "strip-ansi": "^4.0.0", - "through": "^2.3.6" - } - }, - "regexpp": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-1.1.0.tgz", - "integrity": "sha512-LOPw8FpgdQF9etWMaAfG/WRthIdXJGYp4mJ2Jgn/2lpkbod9jPn0t9UqN7AxBOKNfzRbYyVfgc7Vk4t/MpnXgw==", - "dev": true - }, - "slice-ansi": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz", - "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==", - "dev": true, - "requires": { - "is-fullwidth-code-point": "^2.0.0" - } - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - }, - "supports-color": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz", - "integrity": "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==", - "dev": true, - "requires": { - "has-flag": "^2.0.0" - } - }, - "table": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/table/-/table-4.0.2.tgz", - "integrity": "sha512-UUkEAPdSGxtRpiV9ozJ5cMTtYiqz7Ni1OGqLXRCynrvzdtR1p+cfOWe2RJLwvUG8hNanaSRjecIqwOjqeatDsA==", - "dev": true, - "requires": { - "ajv": "^5.2.3", - "ajv-keywords": "^2.1.0", - "chalk": "^2.1.0", - "lodash": "^4.17.4", - "slice-ansi": "1.0.0", - "string-width": "^2.1.1" - } - } + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" } }, - "lcov-parse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-1.0.0.tgz", - "integrity": "sha1-6w1GtUER68VhrLTECO+TY73I9+A=", - "dev": true - }, - "levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", - "dev": true, - "requires": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" - } - }, - "lint-staged": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-8.2.1.tgz", - "integrity": "sha512-n0tDGR/rTCgQNwXnUf/eWIpPNddGWxC32ANTNYsj2k02iZb7Cz5ox2tytwBu+2r0zDXMEMKw7Y9OD/qsav561A==", - "dev": true, - "requires": { - "chalk": "^2.3.1", - "commander": "^2.14.1", - "cosmiconfig": "^5.2.0", - "debug": "^3.1.0", - "dedent": "^0.7.0", - "del": "^3.0.0", - "execa": "^1.0.0", - "g-status": "^2.0.2", - "is-glob": "^4.0.0", - "is-windows": "^1.0.2", - "listr": "^0.14.2", - "listr-update-renderer": "^0.5.0", - "lodash": "^4.17.11", - "log-symbols": "^2.2.0", - "micromatch": "^3.1.8", - "npm-which": "^3.0.1", - "p-map": "^1.1.1", - "path-is-inside": "^1.0.2", - "pify": "^3.0.0", - "please-upgrade-node": "^3.0.2", - "staged-git-files": "1.1.2", - "string-argv": "^0.0.2", - "stringify-object": "^3.2.2", - "yup": "^0.27.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "debug": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" } }, - "listr": { - "version": "0.14.3", - "resolved": "https://registry.npmjs.org/listr/-/listr-0.14.3.tgz", - "integrity": "sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA==", - "dev": true, - "requires": { - "@samverschueren/stream-to-observable": "^0.3.0", - "is-observable": "^1.1.0", - "is-promise": "^2.1.0", - "is-stream": "^1.1.0", - "listr-silent-renderer": "^1.1.1", - "listr-update-renderer": "^0.5.0", - "listr-verbose-renderer": "^0.5.0", - "p-map": "^2.0.0", - "rxjs": "^6.3.3" - }, - "dependencies": { - "p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "dev": true - } + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" } }, - "listr-silent-renderer": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz", - "integrity": "sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4=", - "dev": true - }, - "listr-update-renderer": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/listr-update-renderer/-/listr-update-renderer-0.5.0.tgz", - "integrity": "sha512-tKRsZpKz8GSGqoI/+caPmfrypiaq+OQCbd+CovEC24uk1h952lVj5sC7SqyFUm+OaJ5HN/a1YLt5cit2FMNsFA==", - "dev": true, - "requires": { - "chalk": "^1.1.3", - "cli-truncate": "^0.2.1", - "elegant-spinner": "^1.0.1", - "figures": "^1.7.0", - "indent-string": "^3.0.0", - "log-symbols": "^1.0.2", - "log-update": "^2.3.0", - "strip-ansi": "^3.0.1" - }, - "dependencies": { - "figures": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", - "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", - "dev": true, - "requires": { - "escape-string-regexp": "^1.0.5", - "object-assign": "^4.1.0" - } - }, - "log-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", - "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", - "dev": true, - "requires": { - "chalk": "^1.0.0" - } - } + "node_modules/lint-staged": { + "version": "17.3.0", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-17.3.0.tgz", + "integrity": "sha512-woZS3vNe3UKqBaLPvbLOtKRY4tLANpWQhom12MGWqC8Mh1lCOO+WgSwmX2amjJAqTY9BkXYW87fCUH5H9Ph6xw==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^4.0.5", + "string-argv": "^0.3.2", + "tinyexec": "^1.2.4" + }, + "bin": { + "lint-staged": "bin/lint-staged.js" + }, + "engines": { + "node": ">=22.22.1" + }, + "funding": { + "url": "https://opencollective.com/lint-staged" + }, + "optionalDependencies": { + "yaml": "^2.9.0" } }, - "listr-verbose-renderer": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/listr-verbose-renderer/-/listr-verbose-renderer-0.5.0.tgz", - "integrity": "sha512-04PDPqSlsqIOaaaGZ+41vq5FejI9auqTInicFRndCBgE3bXG8D6W1I+mWhk+1nqbHmyhla/6BUrd5OSiHwKRXw==", + "node_modules/lint-staged/node_modules/picomatch": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", "dev": true, - "requires": { - "chalk": "^2.4.1", - "cli-cursor": "^2.1.0", - "date-fns": "^1.27.2", - "figures": "^2.0.0" + "license": "MIT", + "engines": { + "node": ">=12" }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, - "locate-path": { + "node_modules/locate-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", "dev": true, - "requires": { + "dependencies": { "p-locate": "^3.0.0", "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" } }, - "lodash": { - "version": "4.17.14", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.14.tgz", - "integrity": "sha512-mmKYbW3GLuJeX+iGP+Y7Gp1AiGHGbXHCOh/jZmrawMmsE7MS4znI3RL2FsjbqOyMayHInjOeykW7PEajUk1/xw==", + "node_modules/lodash.flattendeep": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", + "integrity": "sha512-uHaJFihxmJcEX3kT4I23ABqKKalJ/zDrDg0lsFtc1h+3uw49SIJ5beyhx5ExVRti3AvKoOJngIj7xz3oylPdWQ==", "dev": true }, - "log-driver": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz", - "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==", + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "dev": true }, - "log-symbols": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", - "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, - "requires": { - "chalk": "^2.0.1" - }, + "license": "ISC", "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "log-update": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/log-update/-/log-update-2.3.0.tgz", - "integrity": "sha1-iDKP19HOeTiykoN0bwsbwSayRwg=", - "dev": true, - "requires": { - "ansi-escapes": "^3.0.0", - "cli-cursor": "^2.0.0", - "wrap-ansi": "^3.0.1" + "yallist": "^3.0.2" } }, - "lolex": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/lolex/-/lolex-1.6.0.tgz", - "integrity": "sha1-OpoCg0UqR9dDnnJzG54H1zhuSfY=", - "dev": true - }, - "lru-cache": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", - "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", + "node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "dev": true, - "requires": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", - "dev": true - }, - "map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", "dev": true, - "requires": { - "object-visit": "^1.0.0" - } - }, - "matcher": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/matcher/-/matcher-1.1.1.tgz", - "integrity": "sha512-+BmqxWIubKTRKNWx/ahnCkk3mG8m7OturVlqq6HiojGJTd5hVYbgZm6WzcYPCoB+KBT4Vd6R7WSRG2OADNaCjg==", - "dev": true, - "requires": { - "escape-string-regexp": "^1.0.4" - } - }, - "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true - } + "engines": { + "node": ">= 8" } }, - "mime-db": { - "version": "1.35.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.35.0.tgz", - "integrity": "sha512-JWT/IcCTsB0Io3AhWUMjRqucrHSPsSf2xKLaRldJVULioggvkJvggZ3VXNNSRkCddE6D+BUI4HEIZIA2OjwIvg==", - "dev": true - }, - "mime-types": { - "version": "2.1.19", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.19.tgz", - "integrity": "sha512-P1tKYHVSZ6uFo26mtnve4HQFE3koh1UWVkp8YUC+ESBHe945xWSoXuHHiGarDqcEZ+whpCDnlNw5LON0kLo+sw==", + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, - "requires": { - "mime-db": "~1.35.0" + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" } }, - "mimic-fn": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", - "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", - "dev": true - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", "dev": true, - "requires": { + "license": "ISC", + "dependencies": { "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" } }, - "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", - "dev": true - }, - "mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", - "dev": true, - "requires": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" - }, - "dependencies": { - "is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4" - } - } + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", "dev": true, - "requires": { - "minimist": "0.0.8" + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" } }, - "mocha": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz", - "integrity": "sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==", + "node_modules/mo-walk": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mo-walk/-/mo-walk-1.2.0.tgz", + "integrity": "sha512-rat9d/EMjr08N56/u2MwMaykb/bGuByYmTgG8eJIJbUxPtSuoW76el6Tm1+cUqY0lmhuss4IIO3x2lWLojmRTA==", "dev": true, - "requires": { - "browser-stdout": "1.3.1", - "commander": "2.15.1", - "debug": "3.1.0", - "diff": "3.5.0", - "escape-string-regexp": "1.0.5", - "glob": "7.1.2", - "growl": "1.10.5", - "he": "1.1.1", - "minimatch": "3.0.4", - "mkdirp": "0.5.1", - "supports-color": "5.4.0" - }, "dependencies": { - "commander": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", - "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==", - "dev": true - }, - "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", - "dev": true - }, - "mute-stream": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", - "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", - "dev": true - }, - "nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true - } + "pkg-up": "3.x.x" + }, + "engines": { + "node": ">=12" } }, - "native-promise-only": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/native-promise-only/-/native-promise-only-0.8.1.tgz", - "integrity": "sha1-IKMYwwy0X3H+et+/eyHJnBRy7xE=", - "dev": true + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" }, - "natural-compare": { + "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, - "neo-async": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz", - "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==", - "dev": true + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "license": "MIT" }, - "nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", - "dev": true + "node_modules/node-preload": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz", + "integrity": "sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==", + "dev": true, + "dependencies": { + "process-on-spawn": "^1.0.0" + }, + "engines": { + "node": ">=8" + } }, - "no-arrowception": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/no-arrowception/-/no-arrowception-1.0.0.tgz", - "integrity": "sha1-W/PpXrnEG1c4SoBTM9qjtzTuMno=", - "dev": true + "node_modules/node-releases": { + "version": "2.0.53", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.53.tgz", + "integrity": "sha512-D9UOmYG3UH1V+ENW56t5QXBwJw1YEY18ruVeus89Rw+SyIgjPkCO84bRzO3uNIYosJbNwiabWVn48o3uJLjxFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } }, - "node-fetch": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", - "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==", - "dev": true + "node_modules/nyc": { + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-18.0.0.tgz", + "integrity": "sha512-G5UyHinFkB1BxqGTrmZdB6uIYH0+v7ZnVssuflUDi+J+RhKWyAhRT1RCehBSI6jLFLuUUgFDyLt49mUtdO1XeQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "caching-transform": "^4.0.0", + "convert-source-map": "^1.7.0", + "decamelize": "^1.2.0", + "find-cache-dir": "^3.2.0", + "find-up": "^4.1.0", + "foreground-child": "^3.3.0", + "get-package-type": "^0.1.0", + "glob": "^13.0.6", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-hook": "^3.0.0", + "istanbul-lib-instrument": "^6.0.2", + "istanbul-lib-processinfo": "^3.0.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.0.2", + "make-dir": "^3.0.0", + "node-preload": "^0.2.1", + "p-map": "^3.0.0", + "process-on-spawn": "^1.0.0", + "resolve-from": "^5.0.0", + "rimraf": "^6.1.3", + "signal-exit": "^3.0.2", + "spawn-wrap": "^3.0.0", + "test-exclude": "^8.0.0", + "yargs": "^15.0.2" + }, + "bin": { + "nyc": "bin/nyc.js" + }, + "engines": { + "node": "20 || >=22" + } }, - "nopt": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", - "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "node_modules/nyc/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", "dev": true, - "requires": { - "abbrev": "1" + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" } }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "node_modules/nyc/node_modules/brace-expansion": { + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz", + "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==", "dev": true, - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - }, + "license": "MIT", "dependencies": { - "resolve": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.0.tgz", - "integrity": "sha512-WL2pBDjqT6pGUNSUzMw00o4T7If+z4H2x3Gz893WoUQ5KW8Vr9txp00ykiP16VBaZF5+j/OcXJHZ9+PCvdiDKw==", - "dev": true, - "requires": { - "path-parse": "^1.0.6" - } - } + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" } }, - "npm-path": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz", - "integrity": "sha512-IFsj0R9C7ZdR5cP+ET342q77uSRdtWOlWpih5eC+lu29tIDbNEgDbzgVJ5UFvYHWhxDZ5TFkJafFioO0pPQjCw==", + "node_modules/nyc/node_modules/convert-source-map": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "dev": true + }, + "node_modules/nyc/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, - "requires": { - "which": "^1.2.10" + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "node_modules/nyc/node_modules/glob": { + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", "dev": true, - "requires": { - "path-key": "^2.0.0" + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "npm-which": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/npm-which/-/npm-which-3.0.1.tgz", - "integrity": "sha1-kiXybsOihcIJyuZ8OxGmtKtxQKo=", + "node_modules/nyc/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, - "requires": { - "commander": "^2.9.0", - "npm-path": "^2.0.2", - "which": "^1.2.10" + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" } }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", - "dev": true - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true + "node_modules/nyc/node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, - "object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", - "dev": true, - "requires": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - } + "node_modules/nyc/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" } }, - "object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "node_modules/nyc/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, - "requires": { - "isobject": "^3.0.0" + "engines": { + "node": ">=8" } }, - "object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "node_modules/nyc/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, - "requires": { - "isobject": "^3.0.1" + "engines": { + "node": ">=8" } }, - "once": { + "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, - "requires": { + "dependencies": { "wrappy": "1" } }, - "onetime": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", - "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", - "dev": true, - "requires": { - "mimic-fn": "^1.0.0" - } - }, - "optimist": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", - "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, - "requires": { - "minimist": "~0.0.1", - "wordwrap": "~0.0.2" - }, + "license": "MIT", "dependencies": { - "wordwrap": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", - "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", - "dev": true - } - } - }, - "optionator": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", - "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", - "dev": true, - "requires": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.4", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "wordwrap": "~1.0.0" + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" } }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true - }, - "p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "dev": true - }, - "p-limit": { + "node_modules/p-limit": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz", "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==", "dev": true, - "requires": { + "dependencies": { "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" } }, - "p-locate": { + "node_modules/p-locate": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", "dev": true, - "requires": { + "dependencies": { "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" } }, - "p-map": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", - "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==", - "dev": true + "node_modules/p-map": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", + "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=8" + } }, - "p-try": { + "node_modules/p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, - "parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, - "requires": { - "callsites": "^3.0.0" + "engines": { + "node": ">=6" } }, - "parse-json": { + "node_modules/package-hash": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "resolved": "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz", + "integrity": "sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ==", "dev": true, - "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" + "dependencies": { + "graceful-fs": "^4.1.15", + "hasha": "^5.0.0", + "lodash.flattendeep": "^4.4.0", + "release-zalgo": "^1.0.0" + }, + "engines": { + "node": ">=8" } }, - "pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", - "dev": true - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "path-is-absolute": { + "node_modules/package-json-from-dist": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true - }, - "path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", - "dev": true - }, - "path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "dev": true - }, - "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", - "dev": true + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true, + "license": "BlueOak-1.0.0" }, - "path-to-regexp": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.7.0.tgz", - "integrity": "sha1-Wf3g9DW62suhA6hOnTvGTpa5k30=", + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, - "requires": { - "isarray": "0.0.1" - }, "dependencies": { - "isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", - "dev": true - } + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" } }, - "performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", - "dev": true - }, - "pify": { + "node_modules/path-exists": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - }, - "pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", - "dev": true - }, - "pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", "dev": true, - "requires": { - "pinkie": "^2.0.0" + "engines": { + "node": ">=4" } }, - "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true, - "requires": { - "find-up": "^4.0.0" - }, - "dependencies": { - "find-up": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.0.0.tgz", - "integrity": "sha512-zoH7ZWPkRdgwYCDVoQTzqjG8JSPANhtvLhh4KVUHyKnaUJJrNeFmWIkTcNuJmR3GLMEmGYEf2S2bjgx26JTF+Q==", - "dev": true, - "requires": { - "locate-path": "^5.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - } + "engines": { + "node": ">=0.10.0" } }, - "please-upgrade-node": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz", - "integrity": "sha512-KY1uHnQ2NlQHqIJQpnh/i54rKkuxCEBx+voJIS/Mvb+L2iYd2NMotwduhKTMjfC1uKoX3VXOxLjIYG66dfJTVQ==", + "node_modules/path-scurry": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", + "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", "dev": true, - "requires": { - "semver-compare": "^1.0.0" + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "pluralize": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz", - "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==", - "dev": true - }, - "posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", - "dev": true - }, - "prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", - "dev": true - }, - "prettier": { - "version": "1.18.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz", - "integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==", - "dev": true - }, - "process-nextick-args": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", - "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", - "dev": true - }, - "progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "dev": true - }, - "property-expr": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-1.5.1.tgz", - "integrity": "sha512-CGuc0VUTGthpJXL36ydB6jnbyOf/rAHFvmVrJlH+Rg0DqqLFQGAP6hIaxD/G0OAmBJPhXDHuEJigrp0e0wFV6g==", - "dev": true - }, - "pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", - "dev": true - }, - "psl": { - "version": "1.1.31", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.31.tgz", - "integrity": "sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw==", - "dev": true - }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "11.5.2", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.2.tgz", + "integrity": "sha512-4pfM1Ff0x50o0tQwb5ucw/RzNyD0/YJME6IVcStalZuMWxdt3sR3huStTtxz4PUmvZfRguvDejasvQ2kifR11g==", "dev": true, - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" } }, - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true - }, - "qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", - "dev": true - }, - "read-pkg": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.1.1.tgz", - "integrity": "sha512-dFcTLQi6BZ+aFUaICg7er+/usEoqFdQxiEBsEMNGoipenihtxxtdrQuBXvyANCEI8VuUIVYFgeHGx9sLLvim4w==", - "dev": true, - "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^4.0.0", - "type-fest": "^0.4.1" - } - }, - "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", - "dev": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "regenerator-runtime": { - "version": "0.13.2", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.2.tgz", - "integrity": "sha512-S/TQAZJO+D3m9xeN1WTI8dLKBBiRgXBlTJvbWjCThHWZj9EvHK70Ff50/tYj2J/fvBY6JtFVwRuazHN2E7M9BA==", - "dev": true - }, - "regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true, - "requires": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - } - }, - "regexpp": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", - "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", - "dev": true - }, - "repeat-element": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", - "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", - "dev": true - }, - "repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "dev": true - }, - "request": { - "version": "2.88.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", - "dev": true, - "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.0", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "dependencies": { - "aws4": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", - "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", - "dev": true - }, - "oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", - "dev": true - }, - "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", - "dev": true - }, - "tough-cookie": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", - "dev": true, - "requires": { - "psl": "^1.1.24", - "punycode": "^1.4.1" - } - } + "engines": { + "node": ">=8" } }, - "request-promise": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/request-promise/-/request-promise-4.2.2.tgz", - "integrity": "sha1-0epG1lSm7k+O5qT+oQGMIpEZBLQ=", + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, - "requires": { - "bluebird": "^3.5.0", - "request-promise-core": "1.1.1", - "stealthy-require": "^1.1.0", - "tough-cookie": ">=2.3.3" - } + "license": "ISC" }, - "request-promise-core": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.1.tgz", - "integrity": "sha1-Pu4AssWqgyOc+wTFcA2jb4HNCLY=", + "node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", "dev": true, - "requires": { - "lodash": "^4.13.1" + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, - "require-uncached": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", - "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=", + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, - "requires": { - "caller-path": "^0.1.0", - "resolve-from": "^1.0.0" - }, "dependencies": { - "resolve-from": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz", - "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=", - "dev": true - } + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "resolve": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", - "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=", - "dev": true - }, - "resolve-from": { + "node_modules/pkg-dir/node_modules/find-up": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true - }, - "resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", - "dev": true - }, - "restore-cursor": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.0.0.tgz", + "integrity": "sha512-zoH7ZWPkRdgwYCDVoQTzqjG8JSPANhtvLhh4KVUHyKnaUJJrNeFmWIkTcNuJmR3GLMEmGYEf2S2bjgx26JTF+Q==", "dev": true, - "requires": { - "onetime": "^2.0.0", - "signal-exit": "^3.0.2" - } - }, - "ret": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "dev": true - }, - "rimraf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - }, - "dependencies": { - "glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - } + "dependencies": { + "locate-path": "^5.0.0" + }, + "engines": { + "node": ">=8" } }, - "run-async": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", - "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", + "node_modules/pkg-dir/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, - "requires": { - "is-promise": "^2.1.0" + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" } }, - "run-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/run-node/-/run-node-1.0.0.tgz", - "integrity": "sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A==", - "dev": true - }, - "rx-lite": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", - "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", - "dev": true - }, - "rx-lite-aggregates": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", - "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=", + "node_modules/pkg-dir/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, - "requires": { - "rx-lite": "*" + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" } }, - "rxjs": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz", - "integrity": "sha512-Z9Yfa11F6B9Sg/BK9MnqnQ+aQYicPLtilXBp2yUtDt2JRCE0h26d33EnfO3ZxoNxG0T92OUucP3Ct7cpfkdFfw==", + "node_modules/pkg-up": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz", + "integrity": "sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==", "dev": true, - "requires": { - "tslib": "^1.9.0" + "dependencies": { + "find-up": "^3.0.0" + }, + "engines": { + "node": ">=8" } }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, - "requires": { - "ret": "~0.1.10" + "license": "MIT", + "engines": { + "node": ">= 0.8.0" } }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true - }, - "samsam": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/samsam/-/samsam-1.3.0.tgz", - "integrity": "sha512-1HwIYD/8UlOtFS3QO3w7ey+SdSDFE4HRNLZoZRYVQefrOY3l17epswImeB1ijgJFQJodIaHcwkp3r/myBjFVbg==", - "dev": true - }, - "sax": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", - "dev": true - }, - "seedrandom": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-2.4.3.tgz", - "integrity": "sha1-JDhQTa0zkXMUv/GKxNeU8W1qrsw=", - "dev": true - }, - "semver": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", - "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", - "dev": true - }, - "semver-compare": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", - "dev": true - }, - "set-value": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", - "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } + "node_modules/prettier": { + "version": "3.9.6", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.6.tgz", + "integrity": "sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" } }, - "shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "node_modules/prettier-linter-helpers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.1.tgz", + "integrity": "sha512-SxToR7P8Y2lWmv/kTzVLC1t/GDI2WGjMwNhLLE9qtH8Q13C+aEmuRlzDst4Up4s0Wc8sF2M+J57iB3cMLqftfg==", "dev": true, - "requires": { - "shebang-regex": "^1.0.0" + "license": "MIT", + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" } }, - "shebang-regex": { + "node_modules/process-on-spawn": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", - "dev": true - }, - "signal-exit": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", - "dev": true - }, - "simple-git": { - "version": "1.113.0", - "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-1.113.0.tgz", - "integrity": "sha512-i9WVsrK2u0G/cASI9nh7voxOk9mhanWY9eGtWBDSYql6m49Yk5/Fan6uZsDr/xmzv8n+eQ8ahKCoEr8cvU3h+g==", + "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz", + "integrity": "sha512-1WsPDsUSMmZH5LeMLegqkPDrsGgsWwk1Exipy2hvB0o/F0ASzbpIctSCcZIK1ykJvtTJULEH+20WOFjMvGnCTg==", "dev": true, - "requires": { - "debug": "^4.0.1" + "dependencies": { + "fromentries": "^1.2.0" + }, + "engines": { + "node": ">=8" } }, - "sinon": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-2.4.1.tgz", - "integrity": "sha512-vFTrO9Wt0ECffDYIPSP/E5bBugt0UjcBQOfQUMh66xzkyPEnhl/vM2LRZi2ajuTdkH07sA6DzrM6KvdvGIH8xw==", + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true, - "requires": { - "diff": "^3.1.0", - "formatio": "1.2.0", - "lolex": "^1.6.0", - "native-promise-only": "^0.8.1", - "path-to-regexp": "^1.7.0", - "samsam": "^1.1.3", - "text-encoding": "0.6.4", - "type-detect": "^4.0.0" + "engines": { + "node": ">=6" } }, - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true - }, - "snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dev": true, - "requires": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true + { + "type": "patreon", + "url": "https://www.patreon.com/feross" }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true + { + "type": "consulting", + "url": "https://feross.org/support" } - } + ] }, - "snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dev": true, - "requires": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true - } + "node_modules/release-zalgo": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz", + "integrity": "sha512-gUAyHVHPPC5wdqX/LG4LWtRYtgjxyX78oanFNTMMyFEfOqdC54s3eE82imuWKbOeqYht2CrNf64Qb8vgmmtZGA==", + "dev": true, + "dependencies": { + "es6-error": "^4.0.1" + }, + "engines": { + "node": ">=4" } }, - "snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true, - "requires": { - "kind-of": "^3.2.0" + "engines": { + "node": ">=0.10.0" } }, - "source-map": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz", - "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=", + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "dev": true + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, - "optional": true, - "requires": { - "amdefine": ">=0.0.4" + "engines": { + "node": ">=4" } }, - "source-map-resolve": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", - "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true, - "requires": { - "atob": "^2.1.1", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" } }, - "source-map-support": { - "version": "0.4.18", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "node_modules/rimraf": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.1.3.tgz", + "integrity": "sha512-LKg+Cr2ZF61fkcaK1UdkH2yEBBKnYjTyWzTJT6KNPcSPaiT7HSdhtMXQuN5wkTX0Xu72KQ1l8S42rlmexS2hSA==", "dev": true, - "requires": { - "source-map": "^0.5.6" - }, + "license": "BlueOak-1.0.0", "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - } + "glob": "^13.0.3", + "package-json-from-dist": "^1.0.1" + }, + "bin": { + "rimraf": "dist/esm/bin.mjs" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "source-map-url": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", - "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", - "dev": true - }, - "spdx-correct": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", - "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", + "node_modules/rimraf/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", "dev": true, - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" } }, - "spdx-exceptions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", - "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", - "dev": true - }, - "spdx-expression-parse": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", - "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "node_modules/rimraf/node_modules/brace-expansion": { + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz", + "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==", "dev": true, - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" } }, - "spdx-license-ids": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.4.tgz", - "integrity": "sha512-7j8LYJLeY/Yb6ACbQ7F76qy5jHkp0U6jgBfJsk97bwWlVUnUWsAgpyaCvo17h0/RQGnQ036tVDomiwoI4pDkQA==", - "dev": true - }, - "split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "node_modules/rimraf/node_modules/glob": { + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", "dev": true, - "requires": { - "extend-shallow": "^3.0.0" + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", - "dev": true - }, - "sshpk": { - "version": "1.14.2", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz", - "integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=", + "node_modules/rimraf/node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", "dev": true, - "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "staged-git-files": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/staged-git-files/-/staged-git-files-1.1.2.tgz", - "integrity": "sha512-0Eyrk6uXW6tg9PYkhi/V/J4zHp33aNyi2hOCmhFLqLTIhbgqWn5jlSzI+IU0VqrZq6+DbHcabQl/WP6P3BG0QA==", - "dev": true - }, - "static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", "dev": true, - "requires": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" } + ], + "dependencies": { + "queue-microtask": "^1.2.2" } }, - "stealthy-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", - "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "dev": true }, - "string-argv": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.0.2.tgz", - "integrity": "sha1-2sMECGkMIfPDYwo/86BYd73L1zY=", + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "node_modules/sinon": { + "version": "22.1.0", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-22.1.0.tgz", + "integrity": "sha512-n1ajF2rBWMTtEwbKcw4UdFg4nCnDdq/U6RDoxtOd7oapOlRoJ5ynwFx60owROyhDpA9QhMZi0pCO/xtmwFjG7w==", "dev": true, - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - }, + "license": "BSD-3-Clause", "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } + "@sinonjs/commons": "^3.0.1", + "@sinonjs/fake-timers": "^15.4.0", + "@sinonjs/samsam": "^10.0.2", + "diff": "^9.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/sinon" } }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "node_modules/sinon/node_modules/diff": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-9.0.0.tgz", + "integrity": "sha512-svtcdpS8CgJyqAjEQIXdb3OjhFVVYjzGAPO8WGCmRbrml64SPw/jJD4GoE98aR7r25A0XcgrK3F02yw9R/vhQw==", "dev": true, - "requires": { - "safe-buffer": "~5.1.0" + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" } }, - "stringify-object": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", - "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, - "requires": { - "get-own-enumerable-property-symbols": "^3.0.0", - "is-obj": "^1.0.1", - "is-regexp": "^1.0.0" + "engines": { + "node": ">=8" } }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", "dev": true, - "requires": { - "ansi-regex": "^2.0.0" + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" } }, - "strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", - "dev": true + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, - "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", - "dev": true + "node_modules/spawn-wrap": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-3.0.0.tgz", + "integrity": "sha512-z+s5vv4KzFPJVddGab0xX2n7kQPGMdNUX5l9T8EJqsXdKTWpcxmAqWHpsgHEXoC1taGBCc7b79bi62M5kdbrxQ==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "cross-spawn": "^7.0.6", + "foreground-child": "^2.0.0", + "is-windows": "^1.0.2", + "make-dir": "^3.0.0", + "rimraf": "^6.1.3", + "signal-exit": "^3.0.2", + "which": "^2.0.1" + }, + "engines": { + "node": ">=8" + } }, - "supports-color": { + "node_modules/spawn-wrap/node_modules/foreground-child": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", - "dev": true - }, - "symbol-observable": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz", - "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==", - "dev": true + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", + "integrity": "sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8.0.0" + } }, - "synchronous-promise": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/synchronous-promise/-/synchronous-promise-2.0.9.tgz", - "integrity": "sha512-LO95GIW16x69LuND1nuuwM4pjgFGupg7pZ/4lU86AmchPKrhk0o2tpMU2unXRrqo81iAFe1YJ0nAGEVwsrZAgg==", + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, - "table": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/table/-/table-5.4.1.tgz", - "integrity": "sha512-E6CK1/pZe2N75rGZQotFOdmzWQ1AILtgYbMAbAjvms0S1l5IDB47zG3nCnFGB/w+7nB3vKofbLXCH7HPBo864w==", - "dev": true, - "requires": { - "ajv": "^6.9.1", - "lodash": "^4.17.11", - "slice-ansi": "^2.1.0", - "string-width": "^3.0.0" - }, - "dependencies": { - "ajv": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz", - "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==", - "dev": true, - "requires": { - "fast-deep-equal": "^2.0.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", - "dev": true - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "slice-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", - "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.0", - "astral-regex": "^1.0.0", - "is-fullwidth-code-point": "^2.0.0" - } - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } + "node_modules/string-argv": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", + "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==", + "dev": true, + "engines": { + "node": ">=0.6.19" } }, - "teeny-request": { - "version": "3.11.3", - "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-3.11.3.tgz", - "integrity": "sha512-CKncqSF7sH6p4rzCgkb/z/Pcos5efl0DmolzvlqRQUNcpRIruOhY9+T1FsIlyEbfWd7MsFpodROOwHYh2BaXzw==", + "node_modules/strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true, - "requires": { - "https-proxy-agent": "^2.2.1", - "node-fetch": "^2.2.0", - "uuid": "^3.3.2" + "engines": { + "node": ">=8" } }, - "text-encoding": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/text-encoding/-/text-encoding-0.6.4.tgz", - "integrity": "sha1-45mpgiV6J22uQou5KEXLcb3CbRk=", - "dev": true - }, - "text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", - "dev": true - }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", - "dev": true - }, - "tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, - "requires": { - "os-tmpdir": "~1.0.2" + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "node_modules/synckit": { + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.13.tgz", + "integrity": "sha512-eNRKgb3z66Yp3D2CixVujOUvXLFUTij/zVnV8KRyvFdQwpz7I5DS8UfRkTeLzb64u+dkzDSdelE24izu+zSSUg==", "dev": true, - "requires": { - "kind-of": "^3.0.2" + "license": "MIT", + "dependencies": { + "@pkgr/core": "^0.3.6" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/synckit" } }, - "to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "node_modules/test-exclude": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-8.0.0.tgz", + "integrity": "sha512-ZOffsNrXYggvU1mDGHk54I96r26P8SyMjO5slMKSc7+IWmtB/MQKnEC2fP51imB3/pT6YK5cT5E8f+Dd9KdyOQ==", "dev": true, - "requires": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" + "license": "ISC", + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^13.0.6", + "minimatch": "^10.2.2" + }, + "engines": { + "node": "20 || >=22" } }, - "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "node_modules/test-exclude/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", "dev": true, - "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" } }, - "topo": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/topo/-/topo-2.0.2.tgz", - "integrity": "sha1-zVYVdSU5BXwNwEkaYhw7xvvh0YI=", + "node_modules/test-exclude/node_modules/brace-expansion": { + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz", + "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==", "dev": true, - "requires": { - "hoek": "4.x.x" + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" } }, - "toposort": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz", - "integrity": "sha1-riF2gXXRVZ1IvvNUILL0li8JwzA=", - "dev": true - }, - "tough-cookie": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.0.tgz", - "integrity": "sha512-LHMvg+RBP/mAVNqVbOX8t+iJ+tqhBA/t49DuI7+IDAWHrASnesqSu1vWbKB7UrE2yk+HMFUBMadRGMkB4VCfog==", + "node_modules/test-exclude/node_modules/glob": { + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", "dev": true, - "requires": { - "ip-regex": "^3.0.0", - "psl": "^1.1.28", - "punycode": "^2.1.1" + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "tslib": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz", - "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==", - "dev": true + "node_modules/test-exclude/node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, - "tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "node_modules/tinyexec": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.0.tgz", + "integrity": "sha512-QKAl9m8gWWGHV8jZcPeym6j+XULi6tOf1mT83WYJ4Lk2ytW/uwAWkrP0uFsdoYMdueVJ0qs26wZ+23xeB4ibNQ==", "dev": true, - "requires": { - "safe-buffer": "^5.0.1" + "license": "MIT", + "engines": { + "node": ">=18" } }, - "tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, - "optional": true + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } }, - "type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, - "requires": { - "prelude-ls": "~1.1.2" + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" } }, - "type-detect": { + "node_modules/type-detect": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true - }, - "type-fest": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz", - "integrity": "sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==", - "dev": true + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } }, - "typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", - "dev": true + "node_modules/typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dev": true, + "dependencies": { + "is-typedarray": "^1.0.0" + } }, - "union-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", - "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", - "dev": true, - "requires": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^0.4.3" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "set-value": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", - "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.1", - "to-object-path": "^0.3.0" - } - } + "node_modules/uglify-js": { + "version": "3.10.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.10.3.tgz", + "integrity": "sha512-Lh00i69Uf6G74mvYpHCI9KVVXLcHW/xu79YTvH7Mkc9zyKUeSPz0owW0dguj0Scavns3ZOh3wY63J0Zb97Za2g==", + "dev": true, + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" } }, - "unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", - "dev": true, - "requires": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "dependencies": { - "has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", - "dev": true, - "requires": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "dependencies": { - "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dev": true, - "requires": { - "isarray": "1.0.0" - } - } - } + "node_modules/update-browserslist-db": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.1.tgz", + "integrity": "sha512-ZZ61DsRsOnakl74HAmp3oSN4aXUmEWXf+i/yv0h7tIBfICc3VdrFErQKUUKPgu3AMsTUMbcongALEN4l6GSUrQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" }, - "has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", - "dev": true + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" } }, - "uri-js": { + "node_modules/uri-js": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", "dev": true, - "requires": { + "dependencies": { "punycode": "^2.1.0" } }, - "urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-module": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", + "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==", "dev": true }, - "urlgrey": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/urlgrey/-/urlgrey-0.4.4.tgz", - "integrity": "sha1-iS/pWWCAXoVRnxzUOJ8stMu3ZS8=", + "node_modules/will-call": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/will-call/-/will-call-1.0.1.tgz", + "integrity": "sha512-1hEeV8SfBYhNRc/bNXeQfyUBX8Dl9SCYME3qXh99iZP9wJcnhnlBsoBw8Y0lXVZ3YuPsoxImTzBiol1ouNR/hg==", "dev": true }, - "use": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", "dev": true }, - "util-deprecate": { + "node_modules/wrappy": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "dev": true }, - "uuid": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "node_modules/write-file-atomic": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, + "node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", "dev": true }, - "validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "dev": true, - "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } + "license": "ISC" }, - "verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "node_modules/yaml": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz", + "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==", "dev": true, - "requires": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" + "license": "ISC", + "optional": true, + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" } }, - "which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "node_modules/yamljs": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/yamljs/-/yamljs-0.3.0.tgz", + "integrity": "sha512-C/FsVVhht4iPQYXOInoxUM/1ELSf9EsgKH34FofQOp6hwCPrW4vG4w5++TED3xRUo8gD7l0P1J1dLlDYzODsTQ==", "dev": true, - "requires": { - "isexe": "^2.0.0" + "dependencies": { + "argparse": "^1.0.7", + "glob": "^7.0.5" + }, + "bin": { + "json2yaml": "bin/json2yaml", + "yaml2json": "bin/yaml2json" } }, - "wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", - "dev": true + "node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "dev": true, + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } }, - "wrap-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-3.0.1.tgz", - "integrity": "sha1-KIoE2H7aXChuBg3+jxNc6NAH+Lo=", + "node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", "dev": true, - "requires": { - "string-width": "^2.1.1", - "strip-ansi": "^4.0.0" + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" }, + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true + "node_modules/yargs/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "write": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", - "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", + "node_modules/yargs/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, - "requires": { - "mkdirp": "^0.5.1" + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" } }, - "xml2js": { - "version": "0.4.19", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz", - "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", + "node_modules/yargs/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, - "requires": { - "sax": ">=0.6.0", - "xmlbuilder": "~9.0.1" + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" } }, - "xmlbuilder": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", - "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=", - "dev": true + "node_modules/yargs/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", - "dev": true + "node_modules/yargs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } }, - "yamljs": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/yamljs/-/yamljs-0.3.0.tgz", - "integrity": "sha512-C/FsVVhht4iPQYXOInoxUM/1ELSf9EsgKH34FofQOp6hwCPrW4vG4w5++TED3xRUo8gD7l0P1J1dLlDYzODsTQ==", + "node_modules/yargs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, - "requires": { - "argparse": "^1.0.7", - "glob": "^7.0.5" + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" } }, - "yup": { - "version": "0.27.0", - "resolved": "https://registry.npmjs.org/yup/-/yup-0.27.0.tgz", - "integrity": "sha512-v1yFnE4+u9za42gG/b/081E7uNW9mUj3qtkmelLbW5YPROZzSH/KUUyJu9Wt8vxFJcT9otL/eZopS0YK1L5yPQ==", + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true, - "requires": { - "@babel/runtime": "^7.0.0", - "fn-name": "~2.0.1", - "lodash": "^4.17.11", - "property-expr": "^1.5.0", - "synchronous-promise": "^2.0.6", - "toposort": "^2.0.2" + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } } } diff --git a/package.json b/package.json index a2ce17e..72d41c8 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,12 @@ { "name": "which-browser", - "version": "0.5.1", + "version": "0.8.0", "description": "Browser sniffing tool and UA parser. Browser sniffing gone too far — A useragent parser library for JavaScript", "main": "src/Parser.js", "types": "which-browser.d.ts", "scripts": { - "pre-commit": "lint-staged", - "test": "lab -a code -v", - "test-and-coverage": "istanbul cover lab --report lcovonly -- -a code -v --timeout 10000 -l", + "test": "lab -a @hapi/code -v", + "test-and-coverage": "nyc lab -a @hapi/code -v --timeout 10000 -l", "lint": "eslint --quiet .", "update-applications": "node ./bin/update-applications", "update-browser-ids": "node ./bin/update-browser-ids", @@ -16,7 +15,9 @@ "update-models": "node ./bin/update-models", "update-profiles": "node ./bin/update-profiles", "update-regexes": "node ./bin/update-regexes", - "update-all": "npm run update-applications && npm run update-browser-ids && npm run update-chrome && npm run update-indices && npm run update-models && npm run update-profiles && npm run update-regexes" + "update-all": "npm run update-applications && npm run update-browser-ids && npm run update-chrome && npm run update-indices && npm run update-models && npm run update-profiles && npm run update-regexes && npm run format-data", + "format-data": "prettier --write \"data/**/*.js\" && eslint --fix data", + "prepare": "husky" }, "engines": { "node": ">=6.0.0" @@ -38,30 +39,29 @@ "author": "Simone Mariotti", "license": "MIT", "devDependencies": { - "codacy-coverage": "^3.4.0", - "code": "^4.1.0", - "codecov": "^3.1.0", - "eslint": "^5.12.1", - "eslint-config-google": "^0.8.0", - "husky": "^2.4.1", - "istanbul": "^0.4.5", - "lab": "^14.3.2", - "lint-staged": "^8.1.0", - "prettier": "^1.11.1", - "request": "^2.83.0", - "sinon": "^2.4.1", + "@eslint/js": "^10.0.1", + "@hapi/code": "^9.0.3", + "@hapi/lab": "^26.0.1", + "eslint": "^10.9.1", + "eslint-config-prettier": "^10.1.8", + "eslint-plugin-prettier": "^5.5.6", + "globals": "^17.11.0", + "husky": "^9.1.7", + "lint-staged": "^17.3.0", + "nyc": "^18.0.0", + "prettier": "^3.9.6", + "sinon": "^22.1.0", "yamljs": "^0.3.0" }, "lint-staged": { "*.js": [ - "prettier --print-width 117 --single-quote --write", - "eslint --fix", - "git add" + "prettier --write", + "eslint --fix" ] }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } + "prettier": { + "singleQuote": true, + "printWidth": 117, + "trailingComma": "es5" } } diff --git a/src/Analyser.js b/src/Analyser.js index c84503d..2592afe 100644 --- a/src/Analyser.js +++ b/src/Analyser.js @@ -1,5 +1,5 @@ const Main = require('./model/Main'); -const {Camouflage, Corrections, Derive, Header} = require('./Analyser/'); +const { Camouflage, Corrections, Derive, Header } = require('./Analyser/'); /** * Class that parse the user-agent diff --git a/src/Analyser/Camouflage.js b/src/Analyser/Camouflage.js index 778980d..e9179c2 100644 --- a/src/Analyser/Camouflage.js +++ b/src/Analyser/Camouflage.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../constants'); const DeviceModels = require('../data/DeviceModels'); const Version = require('../model/Version'); @@ -99,7 +97,7 @@ class Camouflage { if (this.data.isBrowser('Chrome')) { if ( /(?:Chrome|CrMo|CriOS)\//u.test(ua) && - !/(?:Chrome|CrMo|CriOS)\/([0-9]{1,2}\.[0-9]\.[0-9]{3,4}\.[0-9]+)/u.test(ua) + !/(?:Chrome|CrMo|CriOS)\/([0-9]{1,3}\.[0-9]\.(0\.0|[0-9]{3,4}\.[0-9]+))/u.test(ua) ) { this.data.features.push('wrongVersion'); this.data.camouflage = true; @@ -118,7 +116,7 @@ class Camouflage { if (this.data.isOs('Windows')) { this.data.os.reset(); } - this.data.engine.reset({name: 'Gecko'}); + this.data.engine.reset({ name: 'Gecko' }); this.data.device.type = 'mobile'; } let match; @@ -126,7 +124,7 @@ class Camouflage { if ((match = /UBrowser\/?([0-9.]*)/u.exec(ua))) { this.data.browser.stock = false; this.data.browser.name = 'UC Browser'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.channel = null; } @@ -168,7 +166,7 @@ class Camouflage { /* If it claims not to be Webkit, but it is probably Webkit running camouflage mode */ if (this.options.engine & Constants.engineType.WEBKIT) { this.data.features.push('webkit'); - if (this.data.engine.name && (this.data.engine.name !== 'Blink' && this.data.engine.name !== 'Webkit')) { + if (this.data.engine.name && this.data.engine.name !== 'Blink' && this.data.engine.name !== 'Webkit') { this.data.camouflage = true; } if (this.data.browser.name && this.data.browser.name === 'Internet Explorer') { @@ -209,9 +207,9 @@ class Camouflage { this.data.features.push('chrome'); if ( this.data.engine.name && - (this.data.engine.name !== 'EdgeHTML' && - this.data.engine.name !== 'Blink' && - this.data.engine.name !== 'Webkit') + this.data.engine.name !== 'EdgeHTML' && + this.data.engine.name !== 'Blink' && + this.data.engine.name !== 'Webkit' ) { this.data.camouflage = true; } diff --git a/src/Analyser/Corrections.js b/src/Analyser/Corrections.js index a17df6f..51df441 100644 --- a/src/Analyser/Corrections.js +++ b/src/Analyser/Corrections.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../constants'); class Corrections { @@ -28,6 +26,9 @@ class Corrections { if (this.data.browser.name && this.data.browser.family) { Corrections.hideFamilyIfEqualToBrowser.call(this); } + if (this.data.browser.name && this.data.os.name && this.data.os.version) { + Corrections.hideOsVersionIfFixed.call(this); + } return this; } @@ -37,6 +38,22 @@ class Corrections { } } + static hideOsVersionIfFixed() { + if (this.data.os.name === 'OS X') { + const name = this.data.browser.family ? this.data.browser.family.name : this.data.browser.name; + + if (name === 'Chrome' && this.data.os.version.value === '10.15.7') { + this.data.os.version = null; + } + if (name === 'Safari' && this.data.os.version.value === '10.15.7') { + this.data.os.version = null; + } + if (name === 'Firefox' && this.data.os.version.value === '10.15') { + this.data.os.version = null; + } + } + } + static fixMidoriEngineName() { if (this.data.browser.name === 'Midori' && this.data.engine.name !== 'Webkit') { this.data.engine.name = 'Webkit'; @@ -93,7 +110,7 @@ class Corrections { static hideBrowserOnDeviceTypeGaming() { if ( this.data.device.model && - this.data.device.model === 'Playstation 2' && + this.data.device.model === 'PlayStation 2' && this.data.browser.name === 'Internet Explorer' ) { this.data.browser.reset(); diff --git a/src/Analyser/Derive.js b/src/Analyser/Derive.js index 722e956..8c20fb2 100644 --- a/src/Analyser/Derive.js +++ b/src/Analyser/Derive.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../constants'); const Using = require('../model/Using'); const Version = require('../model/Version'); @@ -73,10 +71,10 @@ class Derive { this.data.engine.reset(); } if (version >= 5 && version < 5.5 && !this.data.isEngine('WebCore')) { - this.data.engine.reset({name: 'WebCore'}); + this.data.engine.reset({ name: 'WebCore' }); } if (version >= 5.5 && !this.data.isEngine('WebKit')) { - this.data.engine.reset({name: 'WebKit'}); + this.data.engine.reset({ name: 'WebKit' }); } } } @@ -85,35 +83,35 @@ class Derive { if (this.data.isBrowser('Opera') || this.data.isBrowser('Opera Mobile')) { const version = this.data.browser.getVersion(); if (version >= 3.5 && version < 7 && !this.data.isEngine('Electra')) { - this.data.engine.reset({name: 'Electra'}); + this.data.engine.reset({ name: 'Electra' }); } if (version >= 7 && version < 13 && !this.data.isEngine('Presto')) { - this.data.engine.reset({name: 'Presto'}); + this.data.engine.reset({ name: 'Presto' }); } } if (this.data.isBrowser('Opera Mini') && !this.data.isOs('iOS') && !this.data.isEngine('Presto')) { - this.data.engine.reset({name: 'Presto'}); + this.data.engine.reset({ name: 'Presto' }); } } static deriveNetFrontRenderingEngine() { if (this.data.isBrowser('NetFront') && !this.data.isEngine('NetFront')) { - this.data.engine.reset({name: 'NetFront'}); + this.data.engine.reset({ name: 'NetFront' }); } } static deriveTrident() { if (this.data.isType('desktop') && this.data.isBrowser('Internet Explorer') && !this.data.engine.getName()) { if (this.data.isBrowser('Internet Explorer', '>=', 4)) { - this.data.engine.set({name: 'Trident'}); + this.data.engine.set({ name: 'Trident' }); } } if (this.data.isMobile() && this.data.isBrowser('Mobile Internet Explorer') && !this.data.engine.getName()) { if (this.data.isBrowser('Mobile Internet Explorer', '=', 6)) { - this.data.engine.set({name: 'Trident'}); + this.data.engine.set({ name: 'Trident' }); } if (this.data.isBrowser('Mobile Internet Explorer', '=', 7)) { - this.data.engine.set({name: 'Trident', version: new Version({value: '3.1'})}); + this.data.engine.set({ name: 'Trident', version: new Version({ value: '3.1' }) }); } } } @@ -125,31 +123,31 @@ class Derive { if (this.data.os.name && this.data.os.name === 'Firefox OS' && this.data.engine.name === 'Gecko') { switch (this.data.engine.getVersion()) { case '18.0': - this.data.os.version = new Version({value: '1.0.1'}); + this.data.os.version = new Version({ value: '1.0.1' }); break; case '18.1': - this.data.os.version = new Version({value: '1.1'}); + this.data.os.version = new Version({ value: '1.1' }); break; case '26.0': - this.data.os.version = new Version({value: '1.2'}); + this.data.os.version = new Version({ value: '1.2' }); break; case '28.0': - this.data.os.version = new Version({value: '1.3'}); + this.data.os.version = new Version({ value: '1.3' }); break; case '30.0': - this.data.os.version = new Version({value: '1.4'}); + this.data.os.version = new Version({ value: '1.4' }); break; case '32.0': - this.data.os.version = new Version({value: '2.0'}); + this.data.os.version = new Version({ value: '2.0' }); break; case '34.0': - this.data.os.version = new Version({value: '2.1'}); + this.data.os.version = new Version({ value: '2.1' }); break; case '37.0': - this.data.os.version = new Version({value: '2.2'}); + this.data.os.version = new Version({ value: '2.2' }); break; case '44.0': - this.data.os.version = new Version({value: '2.5'}); + this.data.os.version = new Version({ value: '2.5' }); break; } } @@ -161,25 +159,21 @@ class Derive { this.data.browser.version = null; if (this.data.engine.getName() === 'Presto') { const data = { - '2.12': '3.4', - '2.11': '3.3', + 2.12: '3.4', + 2.11: '3.3', '2.10': '3.2', - '2.9': '3.1', - '2.8': '3.0', - '2.7': '2.9', - '2.6': '2.8', - '2.4': '10.3', - '2.3': '10', - '2.2': '9.7', - '2.1': '9.6', + 2.9: '3.1', + 2.8: '3.0', + 2.7: '2.9', + 2.6: '2.8', + 2.4: '10.3', + 2.3: '10', + 2.2: '9.7', + 2.1: '9.6', }; - const key = this.data.engine - .getVersion() - .split('.') - .slice(0, 2) - .join('.'); + const key = this.data.engine.getVersion().split('.').slice(0, 2).join('.'); if (data[key]) { - this.data.browser.version = new Version({value: data[key]}); + this.data.browser.version = new Version({ value: data[key] }); } else { this.data.browser.version = null; } @@ -192,33 +186,33 @@ class Derive { const flag = this.data.device.flag; if (flag === Constants.flag.NOKIAX) { this.data.os.name = 'Nokia X Platform'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); this.data.os.version = null; this.data.device.flag = null; } if (flag === Constants.flag.FIREOS) { this.data.os.name = 'FireOS'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); if (this.data.os.version && this.data.os.version.value) { switch (this.data.os.version.value) { case '2.3.3': case '2.3.4': - this.data.os.version = new Version({value: '1'}); + this.data.os.version = new Version({ value: '1' }); break; case '4.0.3': - this.data.os.version = new Version({value: '2'}); + this.data.os.version = new Version({ value: '2' }); break; case '4.2.2': - this.data.os.version = new Version({value: '3'}); + this.data.os.version = new Version({ value: '3' }); break; case '4.4.2': - this.data.os.version = new Version({value: '4'}); + this.data.os.version = new Version({ value: '4' }); break; case '4.4.3': - this.data.os.version = new Version({value: '4.5'}); + this.data.os.version = new Version({ value: '4.5' }); break; case '5.1.1': - this.data.os.version = new Version({value: '5'}); + this.data.os.version = new Version({ value: '5' }); break; default: this.data.os.version = null; @@ -227,28 +221,28 @@ class Derive { } if (this.data.isBrowser('Chrome')) { this.data.browser.reset(); - this.data.browser.using = new Using({name: 'Amazon WebView'}); + this.data.browser.using = new Using({ name: 'Amazon WebView' }); } if (this.data.browser.isUsing('Chromium WebView')) { - this.data.browser.using = new Using({name: 'Amazon WebView'}); + this.data.browser.using = new Using({ name: 'Amazon WebView' }); } this.data.device.flag = null; } if (flag === Constants.flag.GOOGLETV) { this.data.os.name = 'Google TV'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); this.data.os.version = null; this.data.device.flag = null; } if (flag === Constants.flag.ANDROIDTV) { this.data.os.name = 'Android TV'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); this.data.device.flag = null; this.data.device.series = null; } if (flag === Constants.flag.ANDROIDWEAR) { this.data.os.name = 'Android Wear'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); this.data.os.version = null; this.data.device.flag = null; if (this.data.browser.isUsing('Chrome Content Shell')) { @@ -257,7 +251,7 @@ class Derive { } } if (flag === Constants.flag.GOOGLEGLASS) { - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); this.data.os.name = null; this.data.os.version = null; this.data.device.flag = null; @@ -424,6 +418,24 @@ class Derive { if (this.data.os.version.is('10.15')) { this.data.os.version.nickname = 'Catalina'; } + if (this.data.os.version.is('11')) { + this.data.os.version.nickname = 'Big Sur'; + } + if (this.data.os.version.is('12')) { + this.data.os.version.nickname = 'Monterey'; + } + if (this.data.os.version.is('13')) { + this.data.os.version.nickname = 'Ventura'; + } + if (this.data.os.version.is('14')) { + this.data.os.version.nickname = 'Sonoma'; + } + if (this.data.os.version.is('15')) { + this.data.os.version.nickname = 'Sequoia'; + } + if (this.data.os.version.is('26')) { + this.data.os.version.nickname = 'Tahoe'; + } } } } diff --git a/src/Analyser/Header.js b/src/Analyser/Header.js index 23e0ffc..11fbdba 100644 --- a/src/Analyser/Header.js +++ b/src/Analyser/Header.js @@ -1,7 +1,5 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../constants'); -const {Baidu, BrowserId, OperaMini, Puffin, UCBrowserNew, UCBrowserOld, Useragent, Wap} = require('./Header/'); +const { Baidu, BrowserId, OperaMini, Puffin, UCBrowserNew, UCBrowserOld, Useragent, Wap } = require('./Header/'); class Header { static analyseHeaders() { @@ -118,9 +116,11 @@ class Header { } static getHeader(h) { - for (let header of Object.keys(this.headers)) { + /* Find the header that matches */ + for (const header of Object.keys(this.headers)) { if (h.toLowerCase() === header.toLowerCase()) { - return this.headers[header]; + /* And return the first 1024 bytes */ + return (this.headers[header] || '').substring(0, 1024); } } } diff --git a/src/Analyser/Header/Baidu.js b/src/Analyser/Header/Baidu.js index 58ee086..5c99ffd 100644 --- a/src/Analyser/Header/Baidu.js +++ b/src/Analyser/Header/Baidu.js @@ -1,9 +1,8 @@ -/* eslint-disable require-jsdoc */ /** * Class for baidu detection */ class Baidu { - constructor(header, data = {browser: {}}) { + constructor(header, data = { browser: {} }) { this.data = data; if (!this.data.browser.name || this.data.browser.name !== 'Baidu Browser') { this.data.browser.name = 'Baidu Browser'; diff --git a/src/Analyser/Header/BrowserId.js b/src/Analyser/Header/BrowserId.js index 1891ac0..110a003 100644 --- a/src/Analyser/Header/BrowserId.js +++ b/src/Analyser/Header/BrowserId.js @@ -1,12 +1,10 @@ -/* eslint-disable require-jsdoc */ - const Using = require('../../model/Using'); const Version = require('../../model/Version'); const Constants = require('../../constants'); const BrowserIds = require('../../data/BrowserIds'); class BrowserId { - constructor(header, data = {browser: {}}) { + constructor(header, data = { browser: {} }) { if (header === 'XMLHttpRequest') { return; } @@ -21,7 +19,7 @@ class BrowserId { this.data.browser.reset(); this.data.browser.using = new Using({ name: 'Chromium WebView', - version: new Version({value: version.split('.')[0]}), + version: new Version({ value: version.split('.')[0] }), }); } diff --git a/src/Analyser/Header/OperaMini.js b/src/Analyser/Header/OperaMini.js index b9ec936..2f4eadb 100644 --- a/src/Analyser/Header/OperaMini.js +++ b/src/Analyser/Header/OperaMini.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../constants'); const DeviceModels = require('../../data/DeviceModels'); diff --git a/src/Analyser/Header/Puffin.js b/src/Analyser/Header/Puffin.js index 4310dc9..98adb47 100644 --- a/src/Analyser/Header/Puffin.js +++ b/src/Analyser/Header/Puffin.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const DeviceModels = require('../../data/DeviceModels'); class Puffin { diff --git a/src/Analyser/Header/UCBrowserNew.js b/src/Analyser/Header/UCBrowserNew.js index 0d26947..1fdc022 100644 --- a/src/Analyser/Header/UCBrowserNew.js +++ b/src/Analyser/Header/UCBrowserNew.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const DeviceModels = require('../../data/DeviceModels'); const Family = require('../../model/Family'); const Version = require('../../model/Version'); @@ -15,7 +13,7 @@ class UCBrowserNew { this.data.browser.stock = false; this.data.browser.version = null; if ((match = /pr\(UCBrowser(?:\/([0-9.]+))/u.exec(header))) { - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); } } } diff --git a/src/Analyser/Header/UCBrowserOld.js b/src/Analyser/Header/UCBrowserOld.js index eee4eab..34fe9f6 100644 --- a/src/Analyser/Header/UCBrowserOld.js +++ b/src/Analyser/Header/UCBrowserOld.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../constants'); class UCBrowserOld { @@ -19,9 +17,9 @@ class UCBrowserOld { } this.data.browser.mode = 'proxy'; - this.data.engine.reset({name: 'Gecko'}); + this.data.engine.reset({ name: 'Gecko' }); - const extra = new Parser({headers: {'User-Agent': header}}); + const extra = new Parser({ headers: { 'User-Agent': header } }); if (extra.device.type !== Constants.deviceType.DESKTOP) { if (extra.os.getName() !== '' && (this.data.os.getName() === '' || extra.os.getVersion() !== '')) { diff --git a/src/Analyser/Header/Useragent.js b/src/Analyser/Header/Useragent.js index bbcb4ad..6779230 100644 --- a/src/Analyser/Header/Useragent.js +++ b/src/Analyser/Header/Useragent.js @@ -1,6 +1,4 @@ -/* eslint-disable require-jsdoc */ - -const {Application, Bot, Browser, Device, Engine, Os, Using} = require('./Useragent/'); +const { Application, Bot, Browser, Device, Engine, Os, Using } = require('./Useragent/'); class Useragent { constructor(header, data, options) { diff --git a/src/Analyser/Header/Useragent/Application.js b/src/Analyser/Header/Useragent/Application.js index cb63e00..5599605 100644 --- a/src/Analyser/Header/Useragent/Application.js +++ b/src/Analyser/Header/Useragent/Application.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Using = require('../../../model/Using'); const Version = require('../../../model/Version'); const Family = require('../../../model/Family'); @@ -63,7 +61,7 @@ class Application { this.data.browser.type = Constants.browserType.APP_MEDIAPLAYER; this.data.os.reset({ name: 'Android', - version: new Version({value: match[2]}), + version: new Version({ value: match[2] }), }); this.data.device.model = match[1]; this.data.device.identified |= Constants.id.PATTERN; @@ -77,9 +75,10 @@ class Application { /* "Android Application" */ if (/Android Application/iu.test(ua)) { if ( - (match = /^(.+) Android Application \([0-9]+, .+ v[0-9.]+\) - [a-z-]+ (.*) [a-z_-]+ - [0-9A-F]{8,8}-[0-9A-F]{4,4}-[0-9A-F]{4,4}-[0-9A-F]{4,4}-[0-9A-F]{12,12}$/iu.exec( - ua - )) + (match = + /^(.+) Android Application \([0-9]+, .+ v[0-9.]+\) - [a-z-]+ (.*) [a-z_-]+ - [0-9A-F]{8,8}-[0-9A-F]{4,4}-[0-9A-F]{4,4}-[0-9A-F]{4,4}-[0-9A-F]{12,12}$/iu.exec( + ua + )) ) { this.data.browser.name = match[1]; this.data.browser.version = null; @@ -97,9 +96,10 @@ class Application { } } if ( - (match = /^(.+) Android Application - (.*) Build\/(.+) {2}- [0-9A-F]{8,8}-[0-9A-F]{4,4}-[0-9A-F]{4,4}-[0-9A-F]{4,4}-[0-9A-F]{12,12}$/iu.exec( - ua - )) + (match = + /^(.+) Android Application - (.*) Build\/(.+) {2}- [0-9A-F]{8,8}-[0-9A-F]{4,4}-[0-9A-F]{4,4}-[0-9A-F]{4,4}-[0-9A-F]{12,12}$/iu.exec( + ua + )) ) { this.data.browser.name = match[1]; this.data.browser.version = null; @@ -144,7 +144,7 @@ class Application { this.data.browser.type = Constants.browserType.APP; this.data.os.reset({ name: 'Android', - version: new Version({value: match[1]}), + version: new Version({ value: match[1] }), }); this.data.device.model = match[2]; this.data.device.identified |= Constants.id.PATTERN; @@ -157,16 +157,17 @@ class Application { } /* Instagram */ if ( - (match = /^Instagram ([0-9.]+) Android (?:IC )?\([0-9]+\/([0-9.]+); [0-9]+dpi; [0-9]+x[0-9]+; [^;]+; ([^;]*);/iu.exec( - ua - )) + (match = + /^Instagram ([0-9.]+) Android (?:IC )?\([0-9]+\/([0-9.]+); [0-9]+dpi; [0-9]+x[0-9]+; [^;]+; ([^;]*);/iu.exec( + ua + )) ) { this.data.browser.name = 'Instagram'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.APP_SOCIAL; this.data.os.reset({ name: 'Android', - version: new Version({value: match[2]}), + version: new Version({ value: match[2] }), }); this.data.device.model = match[3]; this.data.device.identified |= Constants.id.PATTERN; @@ -180,11 +181,11 @@ class Application { /* Pinterest */ if ((match = /^Pinterest for Android( Tablet)?\/([0-9.]+) \(([^;]+); ([0-9.]+)\)/iu.exec(ua))) { this.data.browser.name = 'Pinterest'; - this.data.browser.version = new Version({value: match[2]}); + this.data.browser.version = new Version({ value: match[2] }); this.data.browser.type = Constants.browserType.APP_SOCIAL; this.data.os.reset({ name: 'Android', - version: new Version({value: match[4]}), + version: new Version({ value: match[4] }), }); this.data.device.model = match[3]; this.data.device.identified |= Constants.id.PATTERN; @@ -209,7 +210,7 @@ class Application { this.data.browser.type = Constants.browserType.APP_ANTIVIRUS; this.data.os.reset({ name: 'Android', - version: new Version({value: match[3]}), + version: new Version({ value: match[3] }), }); this.data.device.type = Constants.deviceType.MOBILE; device = DeviceModels.identify('android', match[2]); @@ -228,7 +229,7 @@ class Application { this.data.browser.type = Constants.browserType.APP; this.data.os.reset({ name: 'Android', - version: new Version({value: match[3]}), + version: new Version({ value: match[3] }), }); this.data.device.type = Constants.deviceType.MOBILE; device = DeviceModels.identify('android', match[2]); @@ -247,7 +248,7 @@ class Application { this.data.browser.type = Constants.browserType.APP_SHOPPING; this.data.os.reset({ name: 'Android', - version: new Version({value: match[2]}), + version: new Version({ value: match[2] }), }); this.data.device.type = Constants.deviceType.MOBILE; this.data.device.model = match[3]; @@ -259,9 +260,10 @@ class Application { } /* Whatsapp */ if ( - (match = /WhatsApp\+?\/([0-9.]+?) (Android|S60Version|WP7)\/([0-9._]+?) Device\/([^-]+?)-(.*?)(?:-\([0-9]+?\.[0-9]+?\))?(?:-H[0-9]+?\.[0-9]+?\.[0-9]+?\.[0-9]+?)?$/u.exec( - ua - )) + (match = + /WhatsApp\+?\/([0-9.]+?) (Android|S60Version|WP7)\/([0-9._]+?) Device\/([^-]+?)-(.*?)(?:-\([0-9]+?\.[0-9]+?\))?(?:-H[0-9]+?\.[0-9]+?\.[0-9]+?\.[0-9]+?)?$/u.exec( + ua + )) ) { this.data.browser.name = 'WhatsApp'; this.data.browser.version = new Version({ @@ -303,7 +305,7 @@ class Application { if (match[2] === 'S60Version') { this.data.os.reset({ name: 'Series60', - version: new Version({value: match[3]}), + version: new Version({ value: match[3] }), family: new Family({ name: 'Symbian', }), @@ -331,9 +333,10 @@ class Application { } /* Yahoo */ if ( - (match = /YahooMobile(?:Messenger|Mail|Weather)\/1.0 \(Android (Messenger|Mail|Weather); ([0-9.]+)\) \([^;]+; ?[^;]+; ?([^;]+); ?([0-9.]+)\/[^;)/]+\)/u.exec( - ua - )) + (match = + /YahooMobile(?:Messenger|Mail|Weather)\/1.0 \(Android (Messenger|Mail|Weather); ([0-9.]+)\) \([^;]+; ?[^;]+; ?([^;]+); ?([0-9.]+)\/[^;)/]+\)/u.exec( + ua + )) ) { this.data.browser.name = `Yahoo ${match[1]}`; this.data.browser.version = new Version({ @@ -353,7 +356,7 @@ class Application { } this.data.os.reset({ name: 'Android', - version: new Version({value: match[4]}), + version: new Version({ value: match[4] }), }); this.data.device.type = Constants.deviceType.MOBILE; device = DeviceModels.identify('android', match[3]); @@ -364,9 +367,10 @@ class Application { } /* Yahoo Mobile App */ if ( - (match = /YahooJMobileApp\/[0-9.]+ \(Android [a-z]+; ([0-9.]+)\) \([^;]+; ?[^;]+; ?[^;]+; ?([^;]+); ?([0-9.]+)\/[^;)/]+\)/u.exec( - ua - )) + (match = + /YahooJMobileApp\/[0-9.]+ \(Android [a-z]+; ([0-9.]+)\) \([^;]+; ?[^;]+; ?[^;]+; ?([^;]+); ?([0-9.]+)\/[^;)/]+\)/u.exec( + ua + )) ) { this.data.browser.name = 'Yahoo Mobile'; this.data.browser.version = new Version({ @@ -376,7 +380,7 @@ class Application { this.data.browser.type = Constants.browserType.APP_SEARCH; this.data.os.reset({ name: 'Android', - version: new Version({value: match[3]}), + version: new Version({ value: match[3] }), }); this.data.device.type = Constants.deviceType.MOBILE; device = DeviceModels.identify('android', match[2]); @@ -395,7 +399,7 @@ class Application { this.data.browser.type = Constants.browserType.APP_CHAT; this.data.os.reset({ name: 'Android', - version: new Version({value: match[2]}), + version: new Version({ value: match[2] }), }); this.data.device.type = Constants.deviceType.MOBILE; device = DeviceModels.identify('android', match[3]); @@ -418,7 +422,7 @@ class Application { } this.data.os.reset({ name: 'Android', - version: new Version({value: match[3]}), + version: new Version({ value: match[3] }), }); this.data.device.type = Constants.deviceType.MOBILE; device = DeviceModels.identify('android', match[2]); @@ -439,7 +443,7 @@ class Application { this.data.browser.type = Constants.browserType.APP_SOCIAL; this.data.os.reset({ name: 'Android', - version: new Version({value: match[2]}), + version: new Version({ value: match[2] }), }); this.data.device.model = match[3]; this.data.device.identified |= Constants.id.PATTERN; diff --git a/src/Analyser/Header/Useragent/Bot.js b/src/Analyser/Header/Useragent/Bot.js index f98ee2a..3775a9f 100644 --- a/src/Analyser/Header/Useragent/Bot.js +++ b/src/Analyser/Header/Useragent/Bot.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../constants'); const Applications = require('../../../data/Applications'); diff --git a/src/Analyser/Header/Useragent/Browser.js b/src/Analyser/Header/Useragent/Browser.js index eeac6de..28e037a 100644 --- a/src/Analyser/Header/Useragent/Browser.js +++ b/src/Analyser/Header/Useragent/Browser.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Using = require('../../../model/Using'); const Version = require('../../../model/Version'); const Family = require('../../../model/Family'); @@ -13,8 +11,8 @@ class Browser { /* Detect major browsers */ Browser.detectSafari.call(this, ua); Browser.detectExplorer.call(this, ua); - Browser.detectFirefox.call(this, ua); Browser.detectChrome.call(this, ua); + Browser.detectFirefox.call(this, ua); Browser.detectEdge.call(this, ua); Browser.detectOpera.call(this, ua); @@ -95,7 +93,7 @@ class Browser { this.data.browser.stock = this.data.os.name === 'OS X'; if ((match = /Version\/([0-9.]+)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } if (/AppleWebKit\/[0-9.]+\+/u.test(ua)) { @@ -128,6 +126,7 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.stock = false; + let reduced = false; let version = ''; if ((match = /(?:Chrome|CrMo|CriOS)\/([0-9.]*)/u.exec(ua))) { version = match[1]; @@ -135,31 +134,33 @@ class Browser { if ((match = /Browser\/Chrome([0-9.]*)/u.exec(ua))) { version = match[1]; } - this.data.browser.version = new Version({value: version}); - if (this.data.os.name && this.data.os.name === 'Android') { - const channel = Chrome.getChannel('mobile', this.data.browser.version.value); + if ((match = /Chrome\/([789][0-9]|[1-9][0-9][0-9])\.0\.0\.0 /u.exec(ua))) { + reduced = true; + } + this.data.browser.version = new Version({ value: version }); - if (channel === 'stable') { + if (this.data.os.name && this.data.os.name === 'Android') { + if (reduced) { this.data.browser.version.details = 1; - } else if (channel === 'beta') { - this.data.browser.channel = 'Beta'; } else { - this.data.browser.channel = 'Dev'; + const channel = Chrome.getChannel('mobile', this.data.browser.version.value); + + if (channel === 'stable') { + this.data.browser.version.details = 1; + } else if (channel === 'beta') { + this.data.browser.channel = 'Beta'; + } else { + this.data.browser.channel = 'Dev'; + } } /* Webview for Android 4.4 and higher */ - if ( - version - .split('.') - .slice(1, 3) - .join('.') === '0.0' && - (/Version\//u.test(ua) || /Release\//u.test(ua)) - ) { + if (version.split('.').slice(1, 3).join('.') === '0.0' && (/Version\//u.test(ua) || /Release\//u.test(ua))) { this.data.browser.using = new Using({ name: 'Chromium WebView', - version: new Version({value: version.split('.')[0]}), + version: new Version({ value: version.split('.')[0] }), }); this.data.browser.type = Constants.browserType.UNKNOWN; this.data.browser.stock = true; @@ -172,7 +173,7 @@ class Browser { if (/; wv\)/u.test(ua)) { this.data.browser.using = new Using({ name: 'Chromium WebView', - version: new Version({value: version.split('.')[0]}), + version: new Version({ value: version.split('.')[0] }), }); this.data.browser.type = Constants.browserType.UNKNOWN; this.data.browser.stock = true; @@ -202,7 +203,7 @@ class Browser { this.data.browser.name = 'Samsung Internet'; this.data.browser.channel = null; this.data.browser.stock = true; - this.data.browser.version = new Version({value: '1.0'}); + this.data.browser.version = new Version({ value: '1.0' }); } /* Version 1.5 */ @@ -210,7 +211,7 @@ class Browser { this.data.browser.name = 'Samsung Internet'; this.data.browser.channel = null; this.data.browser.stock = true; - this.data.browser.version = new Version({value: '1.5'}); + this.data.browser.version = new Version({ value: '1.5' }); } /* Version 1.6 */ @@ -218,7 +219,7 @@ class Browser { this.data.browser.name = 'Samsung Internet'; this.data.browser.channel = null; this.data.browser.stock = true; - this.data.browser.version = new Version({value: '1.6'}); + this.data.browser.version = new Version({ value: '1.6' }); } /* Version 2.0 */ @@ -226,7 +227,7 @@ class Browser { this.data.browser.name = 'Samsung Internet'; this.data.browser.channel = null; this.data.browser.stock = true; - this.data.browser.version = new Version({value: '2.0'}); + this.data.browser.version = new Version({ value: '2.0' }); } /* Version 2.1 */ @@ -234,7 +235,7 @@ class Browser { this.data.browser.name = 'Samsung Internet'; this.data.browser.channel = null; this.data.browser.stock = true; - this.data.browser.version = new Version({value: '2.1'}); + this.data.browser.version = new Version({ value: '2.1' }); } } @@ -243,7 +244,7 @@ class Browser { this.data.browser.name = 'Samsung Internet'; this.data.browser.channel = null; this.data.browser.stock = true; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); if (/Mobile VR/.test(ua)) { this.data.device.manufacturer = 'Samsung'; @@ -282,7 +283,7 @@ class Browser { this.data.browser.name = 'Samsung Internet'; this.data.browser.channel = null; this.data.browser.stock = true; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.os.name = 'Android'; this.data.os.version = null; @@ -293,18 +294,22 @@ class Browser { this.data.device.identified |= Constants.id.PATTERN; this.data.device.type = Constants.deviceType.DESKTOP; } else { - const channel = Chrome.getChannel('desktop', version); + if (reduced) { + this.data.browser.version.details = 1; + } else { + const channel = Chrome.getChannel('desktop', version); - if (channel === 'stable') { - if (version.split('.')[1] === '0') { - this.data.browser.version.details = 1; + if (channel === 'stable') { + if (version.split('.')[1] === '0') { + this.data.browser.version.details = 1; + } else { + this.data.browser.version.details = 2; + } + } else if (channel === 'beta') { + this.data.browser.channel = 'Beta'; } else { - this.data.browser.version.details = 2; + this.data.browser.channel = 'Dev'; } - } else if (channel === 'beta') { - this.data.browser.channel = 'Beta'; - } else { - this.data.browser.channel = 'Dev'; } } @@ -322,7 +327,7 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; if ((match = /Chromium\/([0-9.]*)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } if (this.data.device.type === '') { @@ -333,7 +338,7 @@ class Browser { /* Chrome Content Shell */ if (/Chrome\/[0-9]+\.77\.34\.5/u.test(ua)) { - this.data.browser.using = new Using({name: 'Chrome Content Shell'}); + this.data.browser.using = new Using({ name: 'Chrome Content Shell' }); this.data.browser.type = Constants.browserType.UNKNOWN; this.data.browser.stock = false; @@ -345,7 +350,7 @@ class Browser { /* Chromium WebView by Amazon */ if (/AmazonWebAppPlatform\//u.test(ua)) { - this.data.browser.using = new Using({name: 'Amazon WebView'}); + this.data.browser.using = new Using({ name: 'Amazon WebView' }); this.data.browser.type = Constants.browserType.UNKNOWN; this.data.browser.stock = false; @@ -359,7 +364,7 @@ class Browser { if ((match = /Crosswalk\/([0-9.]*)/u.exec(ua))) { this.data.browser.using = new Using({ name: 'Crosswalk WebView', - version: new Version({value: match[1], details: 1}), + version: new Version({ value: match[1], details: 1 }), }); this.data.browser.type = Constants.browserType.UNKNOWN; @@ -374,7 +379,7 @@ class Browser { if (this.data.isBrowser('Chrome') || this.data.isBrowser('Chromium')) { this.data.browser.family = new Family({ name: 'Chrome', - version: this.data.browser.version ? new Version({value: this.data.browser.version.getMajor()}) : null, + version: this.data.browser.version ? new Version({ value: this.data.browser.version.getMajor() }) : null, }); } } @@ -385,13 +390,13 @@ class Browser { let match; if ((match = /\(IE ([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Internet Explorer'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; } if ((match = /Browser\/IE([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Internet Explorer'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; } @@ -410,7 +415,9 @@ class Browser { if ( this.data.device.model && - (this.data.device.model === 'Xbox 360' || this.data.device.model === 'Xbox One') + (this.data.device.model === 'Xbox 360' || + this.data.device.model === 'Xbox One' || + this.data.device.model === 'Xbox Series X') ) { this.data.browser.name = 'Internet Explorer'; } @@ -441,20 +448,20 @@ class Browser { if ((match = /Trident\/[789][^)]+; rv:([0-9.]*)\)/u.exec(ua))) { this.data.browser.name = 'Internet Explorer'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; } if ((match = /Trident\/[789][^)]+; Touch; rv:([0-9.]*);\s+IEMobile\//u.exec(ua))) { this.data.browser.name = 'Mobile Internet Explorer'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; } if ((match = /Trident\/[789][^)]+; Touch; rv:([0-9.]*); WPDesktop/u.exec(ua))) { this.data.browser.mode = 'desktop'; this.data.browser.name = 'Mobile Internet Explorer'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; } @@ -466,14 +473,14 @@ class Browser { if (/Microsoft Pocket Internet Explorer\//u.test(ua)) { this.data.browser.name = 'Pocket Internet Explorer'; - this.data.browser.version = new Version({value: '1.0'}); + this.data.browser.version = new Version({ value: '1.0' }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.type = Constants.deviceType.MOBILE; } if ((match = /MSPIE ([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Pocket Internet Explorer2'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.type = Constants.deviceType.MOBILE; } @@ -500,6 +507,25 @@ class Browser { } } + /* Microsoft Open Live Writer */ + + if ((match = /Open Live Writer ([0-9.]*)/u.exec(ua))) { + this.data.browser.type = Constants.browserType.BROWSER; + this.data.browser.stock = false; + this.data.browser.name = 'Open Live Writer'; + this.data.browser.version = new Version({ + value: match[1], + }); + this.data.browser.channel = null; + + if ((match = /MSIE ([0-9.]*)/u.exec(ua))) { + this.data.browser.using = new Using({ + name: 'Internet Explorer', + version: new Version({ value: match[1] }), + }); + } + } + /* Set the browser family */ if ( @@ -519,7 +545,7 @@ class Browser { this.data.browser.name = 'Edge'; this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.channel = ''; - this.data.browser.version = new Version({value: match[1], details: 1}); + this.data.browser.version = new Version({ value: match[1], details: 1 }); this.data.browser.family = null; } @@ -548,7 +574,7 @@ class Browser { /* Opera */ static detectOpera(ua) { - if (!/(OPR|OMI|Opera|OPiOS|Coast|Oupeng)/iu.test(ua)) { + if (!/(OPR|OMI|Opera|OPiOS|OPT|Coast|Oupeng|OPRGX|MMS)/iu.test(ua)) { return; } let match; @@ -556,7 +582,7 @@ class Browser { this.data.browser.stock = false; this.data.browser.channel = ''; this.data.browser.name = 'Opera'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; if (/Edition Developer/iu.test(ua)) { @@ -578,7 +604,7 @@ class Browser { if ((match = /OMI\/([0-9]+\.[0-9]+)/u.exec(ua))) { this.data.browser.name = 'Opera Devices'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.type = Constants.deviceType.TELEVISION; @@ -595,12 +621,12 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; if ((match = /Opera[/| ]?([0-9.]+)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } if ((match = /Version\/([0-9.]+)/u.exec(ua))) { if (parseFloat(match[1]) >= 10) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } } @@ -685,21 +711,44 @@ class Browser { if ((match = /OPiOS\/([0-9.]*)/u.exec(ua))) { this.data.browser.stock = false; this.data.browser.name = 'Opera Mini'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); + this.data.browser.type = Constants.browserType.BROWSER; + } + + if ((match = /OPT\/([0-9]\.[0-9.]+)?/u.exec(ua))) { + this.data.browser.stock = false; + this.data.browser.name = 'Opera Touch'; this.data.browser.type = Constants.browserType.BROWSER; + if (match[1]) { + this.data.browser.version = new Version({ value: match[1], details: 2 }); + } } if ((match = /Coast\/([0-9.]*)/u.exec(ua))) { this.data.browser.stock = false; this.data.browser.name = 'Coast by Opera'; - this.data.browser.version = new Version({value: match[1], details: 3}); + this.data.browser.version = new Version({ value: match[1], details: 3 }); this.data.browser.type = Constants.browserType.BROWSER; } if ((match = /Oupeng(?:HD)?[/-]([0-9.]*)/u.exec(ua))) { this.data.browser.stock = false; this.data.browser.name = 'Opera Oupeng'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); + this.data.browser.type = Constants.browserType.BROWSER; + } + + if ((match = /\sMMS\/([0-9.]*)$/u.exec(ua))) { + this.data.browser.stock = false; + this.data.browser.name = 'Opera Neon'; + this.data.browser.version = new Version({ value: match[1], details: 2 }); + this.data.browser.type = Constants.browserType.BROWSER; + } + + if ((match = /OPRGX\/([0-9.]*)$/u.exec(ua))) { + this.data.browser.stock = false; + this.data.browser.name = 'Opera GX'; + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; } } @@ -709,7 +758,9 @@ class Browser { static detectFirefox(ua) { let match; if ( - !/(Firefox|GranParadiso|Namoroka|Shiretoko|Minefield|BonEcho|Fennec|Phoenix|Firebird|Minimo|FxiOS)/iu.test(ua) + !/(Firefox|Lorentz|GranParadiso|Namoroka|Shiretoko|Minefield|BonEcho|Fennec|Phoenix|Firebird|Minimo|FxiOS|Focus)/iu.test( + ua + ) ) { return; } @@ -720,7 +771,7 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; if ((match = /Firefox\/([0-9ab.]*)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); if (/a/u.test(match[1])) { this.data.browser.channel = 'Aurora'; @@ -733,7 +784,7 @@ class Browser { if ((match = /Aurora\/([0-9ab.]*)/u.exec(ua))) { this.data.browser.channel = 'Aurora'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } if (/Fennec/u.test(ua)) { @@ -749,7 +800,7 @@ class Browser { device.identified |= this.data.device.identified; this.data.device = device; if (!this.data.isOs('KaiOS')) { - this.data.os.reset({name: 'Firefox OS'}); + this.data.os.reset({ name: 'Firefox OS' }); } } } @@ -761,7 +812,7 @@ class Browser { if (/Viera;(?: ([^;]+);)? rv/u.test(ua)) { this.data.device.type = Constants.deviceType.TELEVISION; - this.data.os.reset({name: 'Firefox OS'}); + this.data.os.reset({ name: 'Firefox OS' }); } if ( @@ -776,14 +827,14 @@ class Browser { } } - if ((match = /(GranParadiso|Namoroka|Shiretoko|Minefield|BonEcho)/u.exec(ua))) { + if ((match = /(Lorentz|GranParadiso|Namoroka|Shiretoko|Minefield|BonEcho)/u.exec(ua))) { this.data.browser.stock = false; this.data.browser.name = 'Firefox'; this.data.browser.channel = match[1].replace('GranParadiso', 'Gran Paradiso'); this.data.browser.type = Constants.browserType.BROWSER; if ((match = new RegExp(`${match[1]}/([0-9ab.]*)`, 'u').exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } } @@ -793,7 +844,7 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; if ((match = /Fennec\/([0-9ab.]*)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } this.data.browser.channel = 'Fennec'; @@ -804,13 +855,19 @@ class Browser { this.data.browser.name = match[1]; this.data.browser.type = Constants.browserType.BROWSER; if ((match = new RegExp(`${match[1]}/([0-9ab.]*)`, 'u').exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } } if ((match = /FxiOS\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Firefox'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); + this.data.browser.type = Constants.browserType.BROWSER; + } + + if ((match = /Focus\/([0-9.]*)/u.exec(ua))) { + this.data.browser.name = 'Firefox Focus'; + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; } @@ -829,7 +886,7 @@ class Browser { } if (this.data.isBrowser('Minimo')) { - this.data.browser.family = new Family({name: 'Firefox'}); + this.data.browser.family = new Family({ name: 'Firefox' }); } } @@ -843,14 +900,14 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; if ((match = /SeaMonkey\/([0-9ab.]*)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } } if ((match = /PmWFx\/([0-9ab.]*)/u.exec(ua))) { this.data.browser.stock = false; this.data.browser.name = 'SeaMonkey'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; } } @@ -892,7 +949,7 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; if ((match = /Netscape[0-9]?\/([0-9.]*)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } } @@ -900,7 +957,7 @@ class Browser { this.data.browser.stock = false; this.data.browser.name = 'Netscape Navigator'; this.data.browser.type = Constants.browserType.BROWSER; - this.data.browser.version = new Version({value: match[1], details: 3}); + this.data.browser.version = new Version({ value: match[1], details: 3 }); } } @@ -913,85 +970,84 @@ class Browser { } if ( - (match = /(?:NCSA[ _])?Mosaic(?:\(tm\))?(?: for the X Window System| for Windows)?\/(?:Version )?([0-9.]*)/u.exec( - ua - )) + (match = + /(?:NCSA[ _])?Mosaic(?:\(tm\))?(?: for the X Window System| for Windows)?\/(?:Version )?([0-9.]*)/u.exec(ua)) ) { this.data.browser.name = 'NCSA Mosaic'; - this.data.browser.version = new Version({value: match[1]}); - this.data.browser.family = new Family({name: 'Mosaic'}); + this.data.browser.version = new Version({ value: match[1] }); + this.data.browser.family = new Family({ name: 'Mosaic' }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.stock = false; } if ((match = /AIR_Mosaic(?:\(16bit\))?\/v([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'AIR Mosaic'; - this.data.browser.version = new Version({value: match[1], details: 2}); - this.data.browser.family = new Family({name: 'Mosaic'}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); + this.data.browser.family = new Family({ name: 'Mosaic' }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.stock = false; } if ((match = /(?:MosaicView|Spyglass[ _]Mosaic)\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Spyglass Mosaic'; - this.data.browser.version = new Version({value: match[1]}); - this.data.browser.family = new Family({name: 'Mosaic'}); + this.data.browser.version = new Version({ value: match[1] }); + this.data.browser.family = new Family({ name: 'Mosaic' }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.stock = false; } if ((match = /SPRY_Mosaic(?:\(16bit\))?\/v([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'SPRY Mosaic'; - this.data.browser.version = new Version({value: match[1], details: 2}); - this.data.browser.family = new Family({name: 'Mosaic'}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); + this.data.browser.family = new Family({ name: 'Mosaic' }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.stock = false; } if ((match = /DCL SuperMosaic\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'SuperMosaic'; - this.data.browser.version = new Version({value: match[1], details: 2}); - this.data.browser.family = new Family({name: 'Mosaic'}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); + this.data.browser.family = new Family({ name: 'Mosaic' }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.stock = false; } if ((match = /VMS_Mosaic\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'VMS Mosaic'; - this.data.browser.version = new Version({value: match[1]}); - this.data.browser.family = new Family({name: 'Mosaic'}); + this.data.browser.version = new Version({ value: match[1] }); + this.data.browser.family = new Family({ name: 'Mosaic' }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.stock = false; } if ((match = /mMosaic\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'mMosaic'; - this.data.browser.version = new Version({value: match[1]}); - this.data.browser.family = new Family({name: 'Mosaic'}); + this.data.browser.version = new Version({ value: match[1] }); + this.data.browser.family = new Family({ name: 'Mosaic' }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.stock = false; } if ((match = /Quarterdeck Mosaic Version ([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Quarterdeck Mosaic'; - this.data.browser.version = new Version({value: match[1]}); - this.data.browser.family = new Family({name: 'Mosaic'}); + this.data.browser.version = new Version({ value: match[1] }); + this.data.browser.family = new Family({ name: 'Mosaic' }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.stock = false; } if ((match = /WinMosaic\/Version ([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'WinMosaic'; - this.data.browser.version = new Version({value: match[1]}); - this.data.browser.family = new Family({name: 'Mosaic'}); + this.data.browser.version = new Version({ value: match[1] }); + this.data.browser.family = new Family({ name: 'Mosaic' }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.stock = false; } if ((match = /Device Mosaic ([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Device Mosaic'; - this.data.browser.version = new Version({value: match[1]}); - this.data.browser.family = new Family({name: 'Mosaic'}); + this.data.browser.version = new Version({ value: match[1] }); + this.data.browser.family = new Family({ name: 'Mosaic' }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.stock = false; @@ -1036,12 +1092,13 @@ class Browser { } if ( - (match = /^JUC ?\(Linux; ?U; ?(?:Android)? ?([0-9.]+)[^;]*; ?[^;]+; ?([^;]*[^\s])\s*; ?[0-9]+\*[0-9]+;?\)/u.exec( - ua - )) + (match = + /^JUC ?\(Linux; ?U; ?(?:Android)? ?([0-9.]+)[^;]*; ?[^;]+; ?([^;]*[^\s])\s*; ?[0-9]+\*[0-9]+;?\)/u.exec( + ua + )) ) { this.data.os.name = 'Android'; - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); this.data.device = DeviceModels.identify('android', match[2]); } @@ -1062,7 +1119,7 @@ class Browser { if ((match = /\((?:Linux|MIDP-2.0); U; Adr ([0-9.]+)(?:-update[0-9])?; [^;]+; ([^;]*[^\s])\)/u.exec(ua))) { this.data.os.name = 'Android'; - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); this.data.device.model = match[2]; this.data.device.identified |= Constants.id.PATTERN; @@ -1077,7 +1134,7 @@ class Browser { if (/\((?:iOS|iPhone);/u.test(ua)) { this.data.os.name = 'iOS'; - this.data.os.version = new Version({value: '1.0'}); + this.data.os.version = new Version({ value: '1.0' }); if ((match = /OS[_ ]([0-9_]*);/u.exec(ua))) { this.data.os.version = new Version({ @@ -1098,10 +1155,10 @@ class Browser { if (/\(Symbian;/u.test(ua)) { this.data.os.name = 'Series60'; this.data.os.version = null; - this.data.os.family = new Family({name: 'Symbian'}); + this.data.os.family = new Family({ name: 'Symbian' }); if ((match = /S60 V([0-9])/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /; Nokia([^;]+)\)/iu.exec(ua))) { @@ -1124,16 +1181,16 @@ class Browser { if ((match = /wds ([0-9]+\.[0-9])/u.exec(ua))) { switch (match[1]) { case '7.1': - this.data.os.version = new Version({value: '7.5'}); + this.data.os.version = new Version({ value: '7.5' }); break; case '8.0': - this.data.os.version = new Version({value: '8.0'}); + this.data.os.version = new Version({ value: '8.0' }); break; case '8.1': - this.data.os.version = new Version({value: '8.1'}); + this.data.os.version = new Version({ value: '8.1' }); break; case '10.0': - this.data.os.version = new Version({value: '10.0'}); + this.data.os.version = new Version({ value: '10.0' }); break; } } @@ -1156,7 +1213,7 @@ class Browser { if ((match = /Ucweb\/([0-9]*[.][0-9]*)/u.exec(ua))) { this.data.browser.stock = false; this.data.browser.name = 'UC Browser'; - this.data.browser.version = new Version({value: match[1], details: 3}); + this.data.browser.version = new Version({ value: match[1], details: 3 }); this.data.browser.type = Constants.browserType.BROWSER; } @@ -1186,7 +1243,7 @@ class Browser { if ((match = /UC ?Browser\/?([0-9.]*)/u.exec(ua))) { this.data.browser.stock = false; this.data.browser.name = 'UC Browser'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.channel = null; @@ -1199,7 +1256,7 @@ class Browser { if ((match = /UBrowser\/?([0-9.]*)/u.exec(ua))) { this.data.browser.stock = false; this.data.browser.name = 'UC Browser'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.channel = null; @@ -1208,7 +1265,7 @@ class Browser { if ((match = /UCLite\/([0-9.]*)/u.exec(ua))) { this.data.browser.stock = false; this.data.browser.name = 'UC Browser'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.channel = null; @@ -1298,7 +1355,7 @@ class Browser { if ((match = /CNF\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Compact NetFront'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.type = Constants.deviceType.MOBILE; } @@ -1311,7 +1368,7 @@ class Browser { this.data.browser.channel = null; if ((match = /NetFront[ /]?([0-9.]*)/iu.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } /* Detect device type based on NetFront identifier */ @@ -1363,7 +1420,7 @@ class Browser { (match = /(?:Browser\/(?:NF|NetFr?ont-)|NF-Browser\/|ACS-NF\/|NetFront FullBrowser\/)([0-9.]*)/iu.exec(ua)) ) { this.data.browser.name = 'NetFront'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.channel = null; @@ -1374,7 +1431,7 @@ class Browser { if ((match = /(?:AVE-Front|AveFront)\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'NetFront'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; if ((match = /Category=([^);]+)[);]/u.exec(ua))) { @@ -1402,7 +1459,7 @@ class Browser { if (['ACCESS/NFPS', 'SUNSOFT/EnjoyMagic'].includes(match[1])) { this.data.device.setIdentification({ manufacturer: 'Sony', - model: 'Playstation 2', + model: 'PlayStation 2', type: Constants.deviceType.GAMING, subtype: Constants.deviceSubType.CONSOLE, }); @@ -1414,7 +1471,7 @@ class Browser { if ((match = /NX[/ ]([0-9.]+)/u.exec(ua))) { this.data.browser.name = 'NetFront NX'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.channel = null; @@ -1441,7 +1498,7 @@ class Browser { /* Obigo */ static detectObigo(ua) { - const processObigoVersion = function(version) { + const processObigoVersion = function (version) { const result = { value: version, }; @@ -1509,13 +1566,13 @@ class Browser { let match; if ((match = /ANTFresco\/([0-9.]+)/iu.exec(ua))) { this.data.browser.name = 'ANT Fresco'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; } if ((match = /ANTGalio\/([0-9.]+)/iu.exec(ua))) { this.data.browser.name = 'ANT Galio'; - this.data.browser.version = new Version({value: match[1], details: 3}); + this.data.browser.version = new Version({ value: match[1], details: 3 }); this.data.browser.type = Constants.browserType.BROWSER; } } @@ -1532,7 +1589,7 @@ class Browser { let match; if ((match = /SRAF\/([0-9.]+)/iu.exec(ua))) { this.data.browser.name = 'Seraphic Sraf'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.type = Constants.deviceType.TELEVISION; } @@ -1545,7 +1602,7 @@ class Browser { if ((match = /mbxtWebKit\/([0-9.]*)/u.exec(ua))) { this.data.os.name = ''; this.data.browser.name = 'MachBlue XT'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.type = Constants.deviceType.TELEVISION; } @@ -1576,7 +1633,7 @@ class Browser { } let match; if ((match = /Espial(?: Browser|TVBrowser)?\/(?:sig)?([0-9.]*)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } if ((match = /;(L6200|L7200)/u.exec(ua))) { @@ -1599,7 +1656,7 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; let match; if ((match = /Iris\/([0-9.]*)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } if ((match = / WM([0-9]) /u.exec(ua))) { @@ -1608,7 +1665,7 @@ class Browser { this.data.os.reset(); this.data.os.name = 'Windows Mobile'; - this.data.os.version = new Version({value: `${match[1]}.0`}); + this.data.os.version = new Version({ value: `${match[1]}.0` }); } if (/Windows NT/u.test(ua)) { @@ -1631,11 +1688,11 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; let match; if ((match = /(?:Dolfin|Jasmine)\/([0-9.]*)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } if ((match = /Browser\/Dolfin([0-9.]*)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } } } @@ -1704,7 +1761,7 @@ class Browser { if (this.data.os.name && (this.data.os.name !== 'Android' || this.data.os.name !== 'FireOS')) { this.data.os.name = 'FireOS'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); this.data.os.alias = null; this.data.os.version = null; } @@ -1804,7 +1861,7 @@ class Browser { if (device.identified) { device.identified |= this.data.device.identified; this.data.os.name = 'Nokia Asha Platform'; - this.data.os.version = new Version({value: '1.0'}); + this.data.os.version = new Version({ value: '1.0' }); this.data.device = device; if ((match = /java_runtime_version=Nokia_Asha_([0-9_]+);/u.exec(ua))) { @@ -1853,7 +1910,7 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; let match; if ((match = /[k|K]onqueror\/([0-9.]*)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } if (this.data.device.type === '') { @@ -1908,7 +1965,7 @@ class Browser { /* Other browsers */ static detectDesktopBrowsers(ua) { - if (!/(WebPositive|WebExplorer|WorldWideweb|Midori|Maxthon|Browse)/iu.test(ua)) { + if (!/(WebPositive|WebExplorer|WorldWideweb|Midori|Maxthon|Browse|Flow)/iu.test(ua)) { return; } @@ -1936,7 +1993,7 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; if ((match = /IBM[- ]WebExplorer[ -]?(?:DLL ?|Window API ?)?\/v([0-9]\.[0-9.]+)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } this.data.os.name = 'OS/2'; @@ -1959,7 +2016,7 @@ class Browser { if ((match = /Midori\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Midori'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.manufacturer = null; @@ -1979,7 +2036,7 @@ class Browser { this.data.device.type = Constants.deviceType.DESKTOP; if ((match = /midori\/([0-9.]*)$/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } } @@ -2013,14 +2070,29 @@ class Browser { if ((match = /^Browse\/([0-9.]+)/u.exec(ua))) { this.data.browser.name = 'Browse'; this.data.browser.channel = ''; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); + this.data.browser.type = Constants.browserType.BROWSER; + } + + /* Browse for Flow */ + + if ((match = / Flow\/([0-9.]+)/iu.exec(ua))) { + this.data.browser.name = 'Flow'; + this.data.browser.channel = ''; + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; + this.data.browser.family = null; + + if ((match = /EkiohFlow\/[0-9.]+M/u.exec(ua))) { + this.data.browser.name = 'Flow Nightly Build'; + this.data.browser.version = null; + } } } static detectMobileBrowsers(ua) { if ( - !/(Ninesky|Skyfire|Dolphin|QQ|360|QHBrowser|Mercury|iBrowser|Puffin|MiniB|MxNitro|Sogou|Xiino|Palmscape|WebPro|Vision|MiuiBrowser)/iu.test( + !/(Huawei|Ninesky|Skyfire|Dolphin|QQ|360|QHBrowser|Mercury|iBrowser|Puffin|MiniB|MxNitro|Sogou|Xiino|Palmscape|WebPro|Vision|MiuiBrowser)/iu.test( ua ) ) { @@ -2028,10 +2100,18 @@ class Browser { } let match; + + /* Huawei Browser */ + if ((match = /HuaweiBrowser\/([0-9.]*)/u.exec(ua))) { + this.data.browser.name = 'Huawei Browser'; + this.data.browser.version = new Version({ value: match[1], details: 2 }); + this.data.browser.type = Constants.browserType.BROWSER; + } + /* Xiaomi MIUI Browser */ if ((match = /MiuiBrowser\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'MIUI Browser'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; if (!this.data.os.isFamily('Android')) { this.data.os.reset(); @@ -2047,7 +2127,7 @@ class Browser { if ((match = /Ninesky(?:-android-mobile(?:-cn)?)?\/([0-9.]*)/u.exec(ua))) { this.data.browser.reset(); this.data.browser.name = 'NineSky'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; if (this.data.device.manufacturer && this.data.device.manufacturer === 'Apple') { @@ -2066,7 +2146,7 @@ class Browser { if ((match = /Skyfire\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Skyfire'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.type = Constants.deviceType.MOBILE; @@ -2079,7 +2159,7 @@ class Browser { if ((match = /Dolphin(?:HD|Browser)?(?:INT|CN)?\/(?:INT|CN)?-?([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Dolphin'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.type = Constants.deviceType.MOBILE; @@ -2095,7 +2175,7 @@ class Browser { version = `${version[0]}.${version[1]}`; } - this.data.browser.version = new Version({value: version, details: 2}); + this.data.browser.version = new Version({ value: version, details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.channel = ''; @@ -2106,7 +2186,7 @@ class Browser { if ((match = /MQQBrowser\/[0-9.]+\/Adr \(Linux; U; ([0-9.]+); [^;]+; (.+) Build/u.exec(ua))) { this.data.os.reset({ name: 'Android', - version: new Version({value: match[1]}), + version: new Version({ value: match[1] }), }); this.data.device.type = Constants.deviceType.MOBILE; @@ -2123,7 +2203,7 @@ class Browser { if ((match = /MQQBrowser\/[0-9.]+\/WP7 \([^;]+;WPOS:([0-9]\.[0-9])[0-9.]*;([^;]+); ([^)]+)\)/u.exec(ua))) { this.data.os.reset({ name: 'Windows Phone', - version: new Version({value: match[1]}), + version: new Version({ value: match[1] }), }); this.data.device.type = Constants.deviceType.MOBILE; @@ -2141,14 +2221,14 @@ class Browser { if ((match = /MQQBrowser\/Mini([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'QQ Browser Mini'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.channel = ''; } if ((match = /QQ\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'QQ Browser'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; this.data.browser.channel = ''; } @@ -2165,7 +2245,7 @@ class Browser { this.data.browser.name = 'Qihoo 360 Browser'; this.data.browser.family = null; this.data.browser.channel = ''; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; if (!this.data.os.isFamily('Android')) { @@ -2180,7 +2260,7 @@ class Browser { this.data.browser.name = 'Qihoo 360 Browser'; this.data.browser.family = null; this.data.browser.channel = ''; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; } @@ -2192,7 +2272,7 @@ class Browser { this.data.browser.name = 'Qihoo 360 Browser'; this.data.browser.channel = ''; - this.data.browser.version = new Version({value: version}); + this.data.browser.version = new Version({ value: version }); this.data.browser.type = Constants.browserType.BROWSER; if (!this.data.isOs('iOS')) { @@ -2213,7 +2293,7 @@ class Browser { this.data.browser.name = 'Mercury Browser'; this.data.browser.channel = ''; - this.data.browser.version = new Version({value: version}); + this.data.browser.version = new Version({ value: version }); this.data.browser.type = Constants.browserType.BROWSER; } @@ -2227,14 +2307,14 @@ class Browser { version = `${version[0]}.${version[1]}`; } - this.data.browser.version = new Version({value: version, details: 2}); + this.data.browser.version = new Version({ value: version, details: 2 }); this.data.browser.channel = ''; this.data.browser.type = Constants.browserType.BROWSER; } if ((match = /iBrowser\/Mini([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'iBrowser Mini'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.channel = ''; this.data.browser.type = Constants.browserType.BROWSER; } @@ -2255,13 +2335,13 @@ class Browser { switch (match[2]) { case 'A': if (!this.data.isOs('Android')) { - this.data.os.reset({name: 'Android'}); + this.data.os.reset({ name: 'Android' }); } break; case 'I': if (!this.data.isOs('iOS')) { - this.data.os.reset({name: 'iOS'}); + this.data.os.reset({ name: 'iOS' }); } break; } @@ -2294,7 +2374,7 @@ class Browser { if ((match = /MiniBr?owserM(?:obile)?\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'MiniBrowser'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.type = Constants.deviceType.MOBILE; @@ -2325,7 +2405,7 @@ class Browser { if ((match = /SogouAndroidBrowser\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Sogou Mobile'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; if (this.data.device.manufacturer && this.data.device.manufacturer === 'Apple') { @@ -2339,7 +2419,7 @@ class Browser { if ((match = /Xiino\/([0-9.]+)/u.exec(ua))) { this.data.browser.name = 'Xiino'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.type = Constants.deviceType.PDA; @@ -2347,7 +2427,7 @@ class Browser { this.data.os.name = 'Palm OS'; if ((match = /\(v. ([0-9.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } } @@ -2355,7 +2435,7 @@ class Browser { if ((match = /Palmscape\/(?:PR)?([0-9.]+)/u.exec(ua))) { this.data.browser.name = 'Palmscape'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.type = Constants.deviceType.PDA; @@ -2363,7 +2443,7 @@ class Browser { this.data.os.name = 'Palm OS'; if ((match = /\(v. ([0-9.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } } @@ -2375,7 +2455,7 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; if ((match = /WebPro\/?([0-9.]*)/u.exec(ua))) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } } @@ -2383,7 +2463,7 @@ class Browser { if ((match = /(?:Vision-Browser|Novarra-Vision)\/?([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Novarra Vision'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.family = null; this.data.browser.mode = 'proxy'; this.data.browser.type = Constants.browserType.BROWSER; @@ -2404,7 +2484,7 @@ class Browser { let match; if (/Roku/u.test(ua) && (match = /Web\/([0-9.]+)/u.exec(ua))) { this.data.browser.name = 'Web'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; } @@ -2412,7 +2492,7 @@ class Browser { if ((match = /LG Browser\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'LG Browser'; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.type = Constants.deviceType.TELEVISION; } @@ -2434,7 +2514,7 @@ class Browser { if ((match = /DreamKey\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Dreamkey'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.setIdentification({ @@ -2449,7 +2529,7 @@ class Browser { if ((match = /DreamPassport\/([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Dream Passport'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; this.data.device.setIdentification({ @@ -2464,7 +2544,7 @@ class Browser { if ((match = /Planetweb\/v?([0-9.]*)/u.exec(ua))) { this.data.browser.name = 'Planetweb'; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.type = Constants.browserType.BROWSER; if (/Dreamcast/u.test(ua)) { @@ -2479,7 +2559,7 @@ class Browser { if (/SPS/u.test(ua)) { this.data.device.setIdentification({ manufacturer: 'Sony', - model: 'Playstation 2', + model: 'PlayStation 2', type: Constants.deviceType.GAMING, subtype: Constants.deviceSubType.CONSOLE, }); @@ -2506,13 +2586,13 @@ class Browser { if ((match = /Browser\/Dorado([0-9.]*)/iu.exec(ua))) { this.data.browser.name = 'Dorado WAP'; this.data.browser.type = Constants.browserType.BROWSER; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); } if ((match = /Dorado WAP-Browser\/([0-9.]*)/iu.exec(ua))) { this.data.browser.name = 'Dorado WAP'; this.data.browser.type = Constants.browserType.BROWSER; - this.data.browser.version = new Version({value: match[1], details: 2}); + this.data.browser.version = new Version({ value: match[1], details: 2 }); } if ((match = /MAUI[ _]WAP[ _]Browser(?:\/([0-9.]*))?/iu.exec(ua))) { @@ -2520,7 +2600,7 @@ class Browser { this.data.browser.type = Constants.browserType.BROWSER; if (match[1]) { - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); } } @@ -2532,5 +2612,3 @@ class Browser { } module.exports = Browser; - -/* eslint-enable require-jsdoc */ diff --git a/src/Analyser/Header/Useragent/Device.js b/src/Analyser/Header/Useragent/Device.js index a209478..73ec0db 100644 --- a/src/Analyser/Header/Useragent/Device.js +++ b/src/Analyser/Header/Useragent/Device.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const { Appliance, Cars, diff --git a/src/Analyser/Header/Useragent/Device/Appliance.js b/src/Analyser/Header/Useragent/Device/Appliance.js index f52d021..2ece636 100644 --- a/src/Analyser/Header/Useragent/Device/Appliance.js +++ b/src/Analyser/Header/Useragent/Device/Appliance.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../../constants'); class Appliance { diff --git a/src/Analyser/Header/Useragent/Device/Cars.js b/src/Analyser/Header/Useragent/Device/Cars.js index 3c9ddf8..7bfbf0c 100644 --- a/src/Analyser/Header/Useragent/Device/Cars.js +++ b/src/Analyser/Header/Useragent/Device/Cars.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../../constants'); class Cars { diff --git a/src/Analyser/Header/Useragent/Device/Ereader.js b/src/Analyser/Header/Useragent/Device/Ereader.js index 2972ea9..64c5f91 100644 --- a/src/Analyser/Header/Useragent/Device/Ereader.js +++ b/src/Analyser/Header/Useragent/Device/Ereader.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../../constants'); class Ereader { @@ -53,7 +51,7 @@ class Ereader { static detectNook(ua) { if (/nook browser/u.test(ua)) { - this.data.os.reset({name: 'Android'}); + this.data.os.reset({ name: 'Android' }); this.data.device.setIdentification({ manufacturer: 'Barnes & Noble', series: 'NOOK', diff --git a/src/Analyser/Header/Useragent/Device/Gaming.js b/src/Analyser/Header/Useragent/Device/Gaming.js index 586bc7d..783dc53 100644 --- a/src/Analyser/Header/Useragent/Device/Gaming.js +++ b/src/Analyser/Header/Useragent/Device/Gaming.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../../constants'); class Gaming { @@ -124,7 +122,7 @@ class Gaming { this.data.device.setIdentification({ manufacturer: 'Sony', - model: 'Playstation Portable', + model: 'PlayStation Portable', type: Constants.deviceType.GAMING, subtype: Constants.deviceSubType.PORTABLE, }); @@ -138,25 +136,25 @@ class Gaming { this.data.device.setIdentification({ manufacturer: 'Sony', - model: 'Playstation Vita', + model: 'PlayStation Vita', type: Constants.deviceType.GAMING, subtype: Constants.deviceSubType.PORTABLE, }); if (/VTE\//u.test(ua)) { - this.data.device.model = 'Playstation TV'; + this.data.device.model = 'PlayStation TV'; this.data.device.subtype = Constants.deviceSubType.CONSOLE; } } /* PlayStation 2 */ - if (/Playstation2/u.test(ua) || /\(PS2/u.test(ua)) { + if (/PlayStation2/iu.test(ua) || /\(PS2/u.test(ua)) { this.data.os.reset(); this.data.device.setIdentification({ manufacturer: 'Sony', - model: 'Playstation 2', + model: 'PlayStation 2', type: Constants.deviceType.GAMING, subtype: Constants.deviceSubType.CONSOLE, }); @@ -176,7 +174,7 @@ class Gaming { this.data.device.setIdentification({ manufacturer: 'Sony', - model: 'Playstation 3', + model: 'PlayStation 3', type: Constants.deviceType.GAMING, subtype: Constants.deviceSubType.CONSOLE, }); @@ -190,28 +188,30 @@ class Gaming { this.data.device.setIdentification({ manufacturer: 'Sony', - model: 'Playstation 4', + model: 'PlayStation 4', type: Constants.deviceType.GAMING, subtype: Constants.deviceSubType.CONSOLE, }); } - } - /* Microsoft Xbox */ + /* PlayStation 5 */ - static detectXbox(ua) { - /* Xbox 360 */ - - if (/Xbox\)$/u.test(ua)) { + if (/PlayStation 5/iu.test(ua) || /\(PS5/u.test(ua)) { this.data.os.reset(); + this.data.os.identifyVersion(/PlayStation 5 ([0-9.]*)/u, ua); + this.data.device.setIdentification({ - manufacturer: 'Microsoft', - model: 'Xbox 360', + manufacturer: 'Sony', + model: 'PlayStation 5', type: Constants.deviceType.GAMING, subtype: Constants.deviceSubType.CONSOLE, }); } + } + /* Microsoft Xbox */ + + static detectXbox(ua) { /* Xbox One */ if (/Xbox One\)/u.test(ua)) { @@ -230,6 +230,26 @@ class Gaming { type: Constants.deviceType.GAMING, subtype: Constants.deviceSubType.CONSOLE, }); + + /* Xbox Series X */ + } else if (/Xbox Series X\)/u.test(ua)) { + this.data.os.reset(); + this.data.device.setIdentification({ + manufacturer: 'Microsoft', + model: 'Xbox Series X', + type: Constants.deviceType.GAMING, + subtype: Constants.deviceSubType.CONSOLE, + }); + + /* Xbox 360 */ + } else if (/Xbox\)$/u.test(ua)) { + this.data.os.reset(); + this.data.device.setIdentification({ + manufacturer: 'Microsoft', + model: 'Xbox 360', + type: Constants.deviceType.GAMING, + subtype: Constants.deviceSubType.CONSOLE, + }); } } diff --git a/src/Analyser/Header/Useragent/Device/Gps.js b/src/Analyser/Header/Useragent/Device/Gps.js index ad5aaa8..df3f639 100644 --- a/src/Analyser/Header/Useragent/Device/Gps.js +++ b/src/Analyser/Header/Useragent/Device/Gps.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../../constants'); class Gps { diff --git a/src/Analyser/Header/Useragent/Device/Media.js b/src/Analyser/Header/Useragent/Device/Media.js index c4e2bf7..6a67793 100644 --- a/src/Analyser/Header/Useragent/Device/Media.js +++ b/src/Analyser/Header/Useragent/Device/Media.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../../constants'); const Version = require('../../../../model/Version'); @@ -56,10 +54,10 @@ class Media { } /* Generation 6 with Android */ if ((match = /ARCHOS; GOGI; A5[SH]; Version ([0-9]\.[0-9])/u.exec(ua))) { - const version = new Version({value: match[1]}); + const version = new Version({ value: match[1] }); this.data.os.reset({ name: 'Android', - version: new Version({value: version.is('<', '1.7') ? '1.5' : '1.6'}), + version: new Version({ value: version.is('<', '1.7') ? '1.5' : '1.6' }), }); this.data.device.setIdentification({ manufacturer: 'Archos', diff --git a/src/Analyser/Header/Useragent/Device/Mobile.js b/src/Analyser/Header/Useragent/Device/Mobile.js index b281ff2..3fb2dc7 100644 --- a/src/Analyser/Header/Useragent/Device/Mobile.js +++ b/src/Analyser/Header/Useragent/Device/Mobile.js @@ -1,4 +1,3 @@ -/* eslint-disable require-jsdoc */ /* eslint-disable no-useless-escape */ const Constants = require('../../../../constants'); @@ -33,7 +32,7 @@ class Mobile { let match; if ((match = /KIN\.(One|Two) ([0-9.]*)/iu.exec(ua))) { this.data.os.name = 'Kin OS'; - this.data.os.version = new Version({value: match[2], details: 2}); + this.data.os.version = new Version({ value: match[2], details: 2 }); switch (match[1]) { case 'One': this.data.device.manufacturer = 'Microsoft'; @@ -76,9 +75,9 @@ class Mobile { this.data.device = device; if (!this.data.os.name || this.data.os.name !== 'Nokia Asha Platform') { this.data.os.name = 'Nokia Asha Platform'; - this.data.os.version = new Version({value: '1.0'}); + this.data.os.version = new Version({ value: '1.0' }); if ((match = /java_runtime_version=Nokia_Asha_([0-9_]+)[;)]/u.exec(ua))) { - this.data.os.version = new Version({value: match[1].replace(/_/g, '.')}); + this.data.os.version = new Version({ value: match[1].replace(/_/g, '.') }); } } } @@ -102,7 +101,7 @@ class Mobile { if (!this.data.os.name || this.data.os.name !== 'Series60') { this.data.os.name = 'Series60'; this.data.os.version = null; - this.data.os.family = new Family({name: 'Symbian'}); + this.data.os.family = new Family({ name: 'Symbian' }); } } } @@ -153,10 +152,10 @@ class Mobile { this.data.os.name = 'Touchwiz'; switch (version) { case '0.8': - this.data.os.version = new Version({value: '1.0'}); + this.data.os.version = new Version({ value: '1.0' }); break; case '1.0': - this.data.os.version = new Version({value: '2.0', alias: '2.0 or earlier'}); + this.data.os.version = new Version({ value: '2.0', alias: '2.0 or earlier' }); break; } } @@ -170,10 +169,10 @@ class Mobile { this.data.os.name = 'Bada'; switch (version) { case '2.0': - this.data.os.version = new Version({value: '1.0'}); + this.data.os.version = new Version({ value: '1.0' }); break; case '2.2': - this.data.os.version = new Version({value: '1.2'}); + this.data.os.version = new Version({ value: '1.2' }); break; } } else { @@ -184,13 +183,13 @@ class Mobile { this.data.os.name = 'Touchwiz'; switch (version) { case '1.0': - this.data.os.version = new Version({value: '2.0', alias: '2.0 or earlier'}); + this.data.os.version = new Version({ value: '2.0', alias: '2.0 or earlier' }); break; case '1.5': - this.data.os.version = new Version({value: '2.0'}); + this.data.os.version = new Version({ value: '2.0' }); break; case '2.0': - this.data.os.version = new Version({value: '3.0'}); + this.data.os.version = new Version({ value: '3.0' }); break; } } @@ -253,14 +252,14 @@ class Mobile { this.data.device.identifyModel(/ maui ([a-z0-9]+)/u, ua, { type: Constants.deviceType.MOBILE, manufacturer: 'BenQ', - model: function(model) { + model: function (model) { return `Maui ${model.toUpperCase()}`; }, }); this.data.device.identifyModel(/ALCATEL[_-]([^\/]*)/iu, ua, { type: Constants.deviceType.MOBILE, manufacturer: 'Alcatel', - model: function(model) { + model: function (model) { if ((match = /^TRIBE ([^\s]+)/iu.exec(model))) { model = `One Touch Tribe ${match[1]}`; } else if ((match = /^ONE TOUCH ([^\s]*)/iu.exec(model))) { @@ -447,7 +446,7 @@ class Mobile { this.data.device.identifyModel(/PHILIPS-([a-zA-Z0-9@]+(?: [0-9]+)?)/u, ua, { type: Constants.deviceType.MOBILE, manufacturer: 'Philips', - model: function(model) { + model: function (model) { if ((match = /Az@lis([0-9]{3,3})/iu.exec(model))) { return `Az@lis ${match[1]}`; } @@ -505,7 +504,7 @@ class Mobile { this.data.device.identifyModel(/SonyE?ricsson ?([^\/\);]+)/iu, ua, { type: Constants.deviceType.MOBILE, manufacturer: 'Sony Ericsson', - model: function(model) { + model: function (model) { if ((match = /^([A-Z]) ([0-9]+)$/u.exec(model))) { model = `${match[1]}${match[2]}`; } @@ -590,7 +589,7 @@ class Mobile { this.data.device.identifyModel(/ZTE[-_\s]?([^\s\/();,]+)/iu, ua, { type: Constants.deviceType.MOBILE, manufacturer: 'ZTE', - model: function(model) { + model: function (model) { return /[A-Z]+[0-9]+/iu.test(model) ? model.toUpperCase() : model; }, }); @@ -612,7 +611,7 @@ class Mobile { if (/^DoCoMo/u.test(ua)) { ua = ua.replace( /\\x([0-9A-Fa-f]{2})/g, - function(m) { + function (m) { return String.fromCharCode(parseInt(m.substring(2), 16)); }, ua @@ -751,7 +750,7 @@ class Mobile { case 'F07B': case 'F08B': case 'SH07B': - this.data.os.reset({family: new Family({name: 'Symbian'})}); + this.data.os.reset({ family: new Family({ name: 'Symbian' }) }); this.data.device.flag = Constants.flag.MOAPS; break; } @@ -954,7 +953,7 @@ class Mobile { candidates.splice(i, 1); } } - for (let id of candidates) { + for (const id of candidates) { Mobile.identifyBasedOnIdUsingOs.call(this, id); if (this.data.device.identified & Constants.id.MATCH_UA) { return; @@ -973,13 +972,13 @@ class Mobile { if (this.data.device.model) { ids.push(this.data.device.model); } - for (let id of ids) { + for (const id of ids) { Mobile.identifyBasedOnIdUsingOs.call(this, id); if (this.data.device.identified & Constants.id.MATCH_UA) { return; } } - for (let id of ids) { + for (const id of ids) { Mobile.identifyBasedOnId.call(this, id); if (this.data.device.identified & Constants.id.MATCH_UA) { return; @@ -1072,7 +1071,7 @@ class Mobile { device.identified |= this.data.device.identified; this.data.device = device; this.data.os.reset({ - family: new Family({name: 'Symbian'}), + family: new Family({ name: 'Symbian' }), }); } } diff --git a/src/Analyser/Header/Useragent/Device/Pda.js b/src/Analyser/Header/Useragent/Device/Pda.js index 2cb9603..aecaae6 100644 --- a/src/Analyser/Header/Useragent/Device/Pda.js +++ b/src/Analyser/Header/Useragent/Device/Pda.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../../constants'); const Version = require('../../../../model/Version'); const Family = require('../../../../model/Family'); @@ -47,7 +45,7 @@ class Pda { this.data.os.name = 'Palm OS'; this.data.device.type = Constants.deviceType.PDA; if ((match = /PalmOS ([0-9.]*)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /; ([^;)]+)\)/u.exec(ua))) { device = DeviceModels.identify('palmos', match[1]); @@ -66,7 +64,7 @@ class Pda { } if ((match = /Palm OS ([0-9.]*)/iu.exec(ua))) { this.data.os.name = 'Palm OS'; - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); this.data.device.type = Constants.deviceType.PDA; } if ((match = /PalmSource/u.exec(ua))) { @@ -106,7 +104,7 @@ class Pda { this.data.browser.version = null; this.data.browser.type = Constants.browserType.BROWSER; this.data.os.name = 'EPOC'; - this.data.os.family = new Family({name: 'Symbian'}); + this.data.os.family = new Family({ name: 'Symbian' }); this.data.device.manufacturer = 'Psion'; this.data.device.identified |= Constants.id.MATCH_UA; this.data.device.type = Constants.deviceType.PDA; diff --git a/src/Analyser/Header/Useragent/Device/Phone.js b/src/Analyser/Header/Useragent/Device/Phone.js index dee5191..d697616 100644 --- a/src/Analyser/Header/Useragent/Device/Phone.js +++ b/src/Analyser/Header/Useragent/Device/Phone.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../../constants'); class Phone { diff --git a/src/Analyser/Header/Useragent/Device/Printer.js b/src/Analyser/Header/Useragent/Device/Printer.js index e97e499..c211421 100644 --- a/src/Analyser/Header/Useragent/Device/Printer.js +++ b/src/Analyser/Header/Useragent/Device/Printer.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../../constants'); class Printer { diff --git a/src/Analyser/Header/Useragent/Device/Signage.js b/src/Analyser/Header/Useragent/Device/Signage.js index 2e2a22b..d14231a 100644 --- a/src/Analyser/Header/Useragent/Device/Signage.js +++ b/src/Analyser/Header/Useragent/Device/Signage.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../../constants'); class Signage { diff --git a/src/Analyser/Header/Useragent/Device/Tablet.js b/src/Analyser/Header/Useragent/Device/Tablet.js index 83ffa63..b25630f 100644 --- a/src/Analyser/Header/Useragent/Device/Tablet.js +++ b/src/Analyser/Header/Useragent/Device/Tablet.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../../constants'); class Tablet { diff --git a/src/Analyser/Header/Useragent/Device/Television.js b/src/Analyser/Header/Useragent/Device/Television.js index 9b9577d..8c2e93e 100644 --- a/src/Analyser/Header/Useragent/Device/Television.js +++ b/src/Analyser/Header/Useragent/Device/Television.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../../../constants'); const Manufacturers = require('../../../../data/Manufacturers'); @@ -596,29 +594,92 @@ class Television { /* Roku */ - if ((match = /^Roku\/DVP-(?:[0-9A-Z]+-)?[0-9.]+ \(([0-9]{2,2})/u.exec(ua))) { + if ((match = /Roku(?:([0-9]+)[A-Z]+)?\/DVP-(?:([0-9]+)[A-Z]+-)?[0-9.]+/u.exec(ua))) { this.data.os.reset(); this.data.device.manufacturer = 'Roku'; this.data.device.type = Constants.deviceType.TELEVISION; - switch (match[1]) { - case '02': - this.data.device.model = '2 XS'; - this.data.device.generic = false; - break; - case '04': - this.data.device.model = '3'; - this.data.device.generic = false; - break; - case '07': - this.data.device.model = 'LT'; + const models = { + 2000: 'HD', + 2050: 'XD', + 2100: 'XDS', + 2400: 'LT', + 2450: 'LT', + 2500: 'HD', + 2700: 'LT', + 2710: '1 SE', + 2720: '2', + 3000: '2 HD', + 3050: '2 XD', + 3100: '2 XS', + 3400: 'Streaming Stick, MHL', + 3420: 'Streaming Stick, MHL', + 3500: 'Streaming Stick, HDMI', + 3600: 'Streaming Stick', + 3700: 'Express', + 3710: 'Express+', + 3800: 'Streaming Stick', + 3810: 'Streaming Stick+', + 3900: 'Express', + 3910: 'Express+', + 3920: 'Premiere', + 3921: 'Premiere+', + 3930: 'Express', + 3931: 'Express+', + 4200: '3', + 4210: '2', + 4230: '3', + 4400: '4', + 4620: 'Premiere', + 4630: 'Premiere+', + 4640: 'Ultra', + 4660: 'Ultra', + 4661: 'Ultra', + 4662: 'Ultra LT', + 4670: 'Ultra', + 4800: 'Ultra', + }; + + if (match[1] || match[2]) { + const model = match[1] || match[2]; + if (models[model]) { + this.data.device.model = models[model]; this.data.device.generic = false; - break; - case '09': - this.data.device.model = 'Streaming Stick'; - this.data.device.generic = false; - break; + } + } + + this.data.device.identified |= Constants.id.MATCH_UA; + } + + if ((match = /Roku\/DVP-[0-9.]+ \(([0-9A-Z]{2,2})[0-9]+\./u.exec(ua))) { + this.data.os.reset(); + + this.data.device.manufacturer = 'Roku'; + this.data.device.type = Constants.deviceType.TELEVISION; + + const models = { + '02': '2 XS', + '03': 'LT', + '04': '3', + '07': 'LT', + '09': 'Streaming Stick', + 29: 'Ultra', + 30: ['TCL', '4K Roku TV'], + 51: 'Express', + AE: 'Express', + }; + + if (match[1]) { + const model = match[1]; + if (models[model]) { + if (Array.isArray(models[model])) { + this.data.device.manufacturer = models[model][0]; + this.data.device.model = models[model][1]; + } else { + this.data.device.model = models[model]; + } + } } this.data.device.identified |= Constants.id.MATCH_UA; diff --git a/src/Analyser/Header/Useragent/Engine.js b/src/Analyser/Header/Useragent/Engine.js index e7921fa..1693a0c 100644 --- a/src/Analyser/Header/Useragent/Engine.js +++ b/src/Analyser/Header/Useragent/Engine.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Version = require('../../../model/Version'); class Engine { @@ -12,6 +10,7 @@ class Engine { Engine.detectPresto.call(this, ua); Engine.detectTrident.call(this, ua); Engine.detectEdgeHTMLUseragent.call(this, ua); + Engine.detectFlow.call(this, ua); return this; } @@ -20,16 +19,16 @@ class Engine { let match; if ((match = /WebKit\/([0-9.]*)/iu.exec(ua))) { this.data.engine.name = 'Webkit'; - this.data.engine.version = new Version({value: match[1]}); + this.data.engine.version = new Version({ value: match[1] }); if ((match = /(?:Chrome|Chromium)\/([0-9]*)/u.exec(ua))) { if (parseInt(match[1], 10) >= 27) { - this.data.engine.reset({name: 'Blink'}); + this.data.engine.reset({ name: 'Blink' }); } } } if ((match = /Browser\/AppleWebKit\/?([0-9.]*)/iu.exec(ua))) { this.data.engine.name = 'Webkit'; - this.data.engine.version = new Version({value: match[1]}); + this.data.engine.version = new Version({ value: match[1] }); } if (/AppleWebkit\(like Gecko\)/iu.test(ua)) { this.data.engine.name = 'Webkit'; @@ -44,7 +43,7 @@ class Engine { let match; if ((match = /KHTML\/([0-9.]*)/u.exec(ua))) { this.data.engine.name = 'KHTML'; - this.data.engine.version = new Version({value: match[1]}); + this.data.engine.version = new Version({ value: match[1] }); } } @@ -54,7 +53,7 @@ class Engine { if (/Gecko/u.test(ua) && !/like Gecko/iu.test(ua)) { this.data.engine.name = 'Gecko'; if ((match = /; rv:([^);]+)[);]/u.exec(ua))) { - this.data.engine.version = new Version({value: match[1], details: 3}); + this.data.engine.version = new Version({ value: match[1], details: 3 }); } } } @@ -64,7 +63,7 @@ class Engine { let match; if ((match = /Servo\/([0-9.]*)/u.exec(ua))) { this.data.engine.name = 'Servo'; - this.data.engine.version = new Version({value: match[1]}); + this.data.engine.version = new Version({ value: match[1] }); } } @@ -74,10 +73,10 @@ class Engine { if (/Goanna/u.test(ua)) { this.data.engine.name = 'Goanna'; if ((match = /Goanna\/([0-9]\.[0-9.]+)/u.exec(ua))) { - this.data.engine.version = new Version({value: match[1]}); + this.data.engine.version = new Version({ value: match[1] }); } if (/Goanna\/20[0-9]{6,6}/u.test(ua) && (match = /; rv:([^);]+)[);]/u.exec(ua))) { - this.data.engine.version = new Version({value: match[1]}); + this.data.engine.version = new Version({ value: match[1] }); } } } @@ -87,7 +86,7 @@ class Engine { let match; if ((match = /Presto\/([0-9.]*)/u.exec(ua))) { this.data.engine.name = 'Presto'; - this.data.engine.version = new Version({value: match[1]}); + this.data.engine.version = new Version({ value: match[1] }); } } @@ -96,22 +95,22 @@ class Engine { let match; if ((match = /Trident\/([0-9.]*)/u.exec(ua))) { this.data.engine.name = 'Trident'; - this.data.engine.version = new Version({value: match[1]}); + this.data.engine.version = new Version({ value: match[1] }); if (this.data.browser.version && this.data.browser.name && this.data.browser.name === 'Internet Explorer') { if (this.data.engine.version.toNumber() >= 7 && this.data.browser.version.toFloat() < 11) { - this.data.browser.version = new Version({value: '11.0'}); + this.data.browser.version = new Version({ value: '11.0' }); this.data.browser.mode = 'compat'; } if (this.data.engine.version.toNumber() === 6 && this.data.browser.version.toFloat() < 10) { - this.data.browser.version = new Version({value: '10.0'}); + this.data.browser.version = new Version({ value: '10.0' }); this.data.browser.mode = 'compat'; } if (this.data.engine.version.toNumber() === 5 && this.data.browser.version.toFloat() < 9) { - this.data.browser.version = new Version({value: '9.0'}); + this.data.browser.version = new Version({ value: '9.0' }); this.data.browser.mode = 'compat'; } if (this.data.engine.version.toNumber() === 4 && this.data.browser.version.toFloat() < 8) { - this.data.browser.version = new Version({value: '8.0'}); + this.data.browser.version = new Version({ value: '8.0' }); this.data.browser.mode = 'compat'; } } @@ -123,10 +122,10 @@ class Engine { this.data.browser.name === 'Mobile Internet Explorer' ) { if (this.data.engine.version.toNumber() === 7 && this.data.os.version.toFloat() < 8.1) { - this.data.os.version = new Version({value: '8.1', details: 2}); + this.data.os.version = new Version({ value: '8.1', details: 2 }); } if (this.data.engine.version.toNumber() === 5 && this.data.os.version.toFloat() < 7.5) { - this.data.os.version = new Version({value: '7.5', details: 2}); + this.data.os.version = new Version({ value: '7.5', details: 2 }); } } } @@ -137,7 +136,16 @@ class Engine { let match; if ((match = /Edge\/([0-9.]*)/u.exec(ua))) { this.data.engine.name = 'EdgeHTML'; - this.data.engine.version = new Version({value: match[1], hidden: true}); + this.data.engine.version = new Version({ value: match[1], hidden: true }); + } + } + + /* Flow */ + static detectFlow(ua) { + let match; + if ((match = /EkiohFlow\/([0-9.]*)/u.exec(ua))) { + this.data.engine.name = 'EkiohFlow'; + this.data.engine.version = new Version({ value: match[1] }); } } } diff --git a/src/Analyser/Header/Useragent/Os.js b/src/Analyser/Header/Useragent/Os.js index e93f9c7..f59c169 100644 --- a/src/Analyser/Header/Useragent/Os.js +++ b/src/Analyser/Header/Useragent/Os.js @@ -1,4 +1,3 @@ -/* eslint-disable require-jsdoc */ /* eslint-disable no-useless-escape */ const Family = require('../../../model/Family'); @@ -58,7 +57,7 @@ class Os { this.data.os.name = 'iOS'; if (/CPU like Mac OS X/u.test(ua)) { - this.data.os.version = new Version({value: '1.0'}); + this.data.os.version = new Version({ value: '1.0' }); } if ((match = /OS (.*) like Mac OS X/u.exec(ua))) { @@ -73,6 +72,20 @@ class Os { }); } + if ((match = /iOS ([0-9.]*);/u.exec(ua))) { + this.data.os.version = new Version({ + value: match[1].replace(/_/g, '.'), + }); + } + + /* Since iOS 26, Safari freezes the reported OS version at 18 or 19, the real version can be + * recovered from the Safari version number, which stayed tied to the iOS major version */ + if (this.data.os.version && /^1[89]\./u.test(this.data.os.version.value)) { + if ((match = /Version\/([0-9]+(?:\.[0-9]+)*)/u.exec(ua)) && parseInt(match[1], 10) >= 26) { + this.data.os.version = new Version({ value: match[1] }); + } + } + if (/iPhone Simulator;/u.test(ua)) { this.data.device.type = Constants.deviceType.EMULATOR; } else { @@ -97,20 +110,27 @@ class Os { this.data.os.name = 'OS X'; - if ((match = /Mac OS X (10[0-9._]*)/u.exec(ua))) { + if ((match = /Mac OS X ([12][0-9][0-9\._]*)/u.exec(ua))) { this.data.os.version = new Version({ value: match[1].replace(/_/g, '.'), details: 2, }); } - if ((match = /;os=Mac (10[0-9[.,]*)/u.exec(ua))) { + if ((match = /;os=Mac ([12][0-9][0-9[\.,]*)/u.exec(ua))) { this.data.os.version = new Version({ value: match[1].replace(/,/g, '.'), details: 2, }); } + if (!!this.data.os.version && this.data.os.version.is('10.16')) { + this.data.os.version = new Version({ + value: '11.0', + details: 2, + }); + } + this.data.device.type = Constants.deviceType.DESKTOP; } @@ -208,19 +228,19 @@ class Os { ua.replace('-update', ',') )) ) { - this.data.os.version = new Version({value: match[1], details: 3}); + this.data.os.version = new Version({ value: match[1], details: 3 }); } if ((match = /Android [0-9][0-9].[0-9][0-9].[0-9][0-9]\(([^)]+)\);/u.exec(ua.replace('-update', ',')))) { - this.data.os.version = new Version({value: match[1], details: 3}); + this.data.os.version = new Version({ value: match[1], details: 3 }); } if (/Android Eclair/u.test(ua)) { - this.data.os.version = new Version({value: '2.0', details: 3}); + this.data.os.version = new Version({ value: '2.0', details: 3 }); } if (/Android KeyLimePie/u.test(ua)) { - this.data.os.version = new Version({value: '4.4', details: 3}); + this.data.os.version = new Version({ value: '4.4', details: 3 }); } if (/Android (?:L|4.4.99);/u.test(ua)) { @@ -259,7 +279,7 @@ class Os { let candidates = []; - if (/Build/iu.test(ua)) { + if (/Build/iu.test(ua) && (!/AppleWebKit.*Build/iu.test(ua) || /Build.*AppleWebKit/iu.test(ua))) { /* Normal Android useragent strings */ if ((match = /; [a-z][a-zA-Z][-_][a-zA-Z][a-zA-Z] ([^;]*[^;\s])\s+(?:BUILD|Build|build)/u.exec(ua))) { @@ -275,14 +295,19 @@ class Os { if ((match = /;\+? ?(?:\*\*)?([^;]*[^;\s]);?\s+(?:BUILD|Build|build)/u.exec(ua))) { candidates.push(match[1]); } + } else if ((match = /\(Linux; Android [0-9\.]+; ([^\/]+)(; wv)?\) AppleWebKit/u.exec(ua))) { + /* New style minimal Android useragent string */ + + candidates.push(match[1]); } else if (/Release\//iu.test(ua)) { /* WAP style useragent strings */ const Useragent = require('../../Header/Useragent.js'); // removed this regex /^(?U)([^\/]+)(?U)(?:(?:_CMCC_TD|_CMCC|_TD|_TDLTE|_LTE)?\/[^\/]*)? Linux\/[0-9.+]+ Android\/[0-9.]+/u if ( - (match = /^([^\/]+?)(?:(?:_CMCC_TD|_CMCC|_TD|_TDLTE|_LTE)?\/[^\/]*?)? Linux\/[0-9.+]+? Android\/[0-9.]+?/u.exec( - Useragent.removeKnownPrefixes(ua) - )) + (match = + /^([^\/]+?)(?:(?:_CMCC_TD|_CMCC|_TD|_TDLTE|_LTE)?\/[^\/]*?)? Linux\/[0-9.+]+? Android\/[0-9.]+?/u.exec( + Useragent.removeKnownPrefixes(ua) + )) ) { candidates.push(match[1]); } else if ( @@ -302,9 +327,10 @@ class Os { /* Old Android useragent strings */ if ( - (match = /Linux; (?:U; )?Android [^;]+; (?:[a-zA-Z][a-zA-Z](?:[-_][a-zA-Z][a-zA-Z])?; )?(?:[^;]+; ?)?([^)\/;]+)\)/u.exec( - ua - )) + (match = + /Linux; (?:arm; |arm_64; )?(?:U; )?Android [^;]+; (?:[a-zA-Z][a-zA-Z](?:[-_][a-zA-Z][a-zA-Z])?; )?(?:[^;]+; ?)?([^\/;]+)\) /u.exec( + ua + )) ) { candidates.push(match[1]); } else if ((match = /\(([^;]+);U;Android\/[^;]+;[0-9]+\*[0-9]+;CTC\/2.0\)/u.exec(ua))) { @@ -335,12 +361,22 @@ class Os { continue; } + /* Ignore "K" or "Unspecified Device" as a device, as it is a dummy value used by Chrome UA reduction */ + + if (candidates[c] == 'K' || candidates[c] == 'Unspecified Device') { + candidates.splice(c, 1); + continue; + } + candidates[c] = candidates[c].replace(/^[a-zA-Z][a-zA-Z][-_][a-zA-Z][a-zA-Z]\s+/u, ''); candidates[c] = candidates[c].replace( /(.*) - [0-9\.]+ - (?:with Google Apps - )?API [0-9]+ - [0-9]+x[0-9]+/, '$1' ); candidates[c] = candidates[c].replace(/^sprd-/u, ''); + candidates[c] = candidates[c].replace(/^HarmonyOS; /u, ''); + candidates[c] = candidates[c].replace(/; GMSCore.*/u, ''); + candidates[c] = candidates[c].replace(/; HMSCore.*/u, ''); } candidates = [...new Set(candidates)]; @@ -370,9 +406,8 @@ class Os { } if ( - (match = /\(Linux; (?:U; )?(?:([0-9.]+); )?(?:[a-zA-Z][a-zA-Z](?:[-_][a-zA-Z][a-zA-Z])?; )?([^;]+) Build/u.exec( - ua - )) + (match = + /\(Linux; (?:U; )?(?:([0-9.]+); )?(?:[a-zA-Z][a-zA-Z](?:[-_][a-zA-Z][a-zA-Z])?; )?([^;]+) Build/u.exec(ua)) ) { falsepositive = false; @@ -387,7 +422,7 @@ class Os { this.data.os.name = 'Android'; if (match[1]) { - this.data.os.version = new Version({value: match[1], details: 3}); + this.data.os.version = new Version({ value: match[1], details: 3 }); } device = DeviceModels.identify('android', match[2]); @@ -401,9 +436,10 @@ class Os { } if ( - (match = /Linux x86_64; ([^;\)]+)(?:; [a-zA-Z][a-zA-Z](?:[-_][a-zA-Z][a-zA-Z])?)?\) AppleWebKit\/534.24 \(KHTML, like Gecko\) Chrome\/11.0.696.34 Safari\/534.24/u.exec( - ua - )) + (match = + /Linux x86_64; ([^;\)]+)(?:; [a-zA-Z][a-zA-Z](?:[-_][a-zA-Z][a-zA-Z])?)?\) AppleWebKit\/534.24 \(KHTML, like Gecko\) Chrome\/11.0.696.34 Safari\/534.24/u.exec( + ua + )) ) { device = DeviceModels.identify('android', match[1]); if (device.identified) { @@ -429,19 +465,30 @@ class Os { } } + /* Harmony OS */ + + if ((match = /HarmonyOS/u.exec(ua))) { + this.data.os.name = 'Harmony OS'; + this.data.os.version = new Version(); + + if ((match = /; Android ([0-9\.]+);/u.exec(ua))) { + this.data.os.family = new Family({ name: 'Android', version: new Version({ value: match[1], details: 3 }) }); + } + } + /* Aliyun OS */ if (/Aliyun/u.test(ua) || /YunOs/iu.test(ua)) { this.data.os.name = 'Aliyun OS'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); this.data.os.version = new Version(); if ((match = /YunOs[ \/]([0-9.]+)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1], details: 3}); + this.data.os.version = new Version({ value: match[1], details: 3 }); } if ((match = /AliyunOS ([0-9.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1], details: 3}); + this.data.os.version = new Version({ value: match[1], details: 3 }); } this.data.device.type = Constants.deviceType.MOBILE; @@ -464,25 +511,25 @@ class Os { if (/Android/u.test(ua)) { if ((match = /Android v(1.[0-9][0-9])_[0-9][0-9].[0-9][0-9]-/u.exec(ua))) { this.data.os.name = 'Aliyun OS'; - this.data.os.family = new Family({name: 'Android'}); - this.data.os.version = new Version({value: match[1], details: 3}); + this.data.os.family = new Family({ name: 'Android' }); + this.data.os.version = new Version({ value: match[1], details: 3 }); } if ((match = /Android[ \/](1.[0-9].[0-9].[0-9]+)-R?T/u.exec(ua))) { this.data.os.name = 'Aliyun OS'; - this.data.os.family = new Family({name: 'Android'}); - this.data.os.version = new Version({value: match[1], details: 3}); + this.data.os.family = new Family({ name: 'Android' }); + this.data.os.version = new Version({ value: match[1], details: 3 }); } if ((match = /Android ([12].[0-9].[0-9]+)-R-20[0-9]+/u.exec(ua))) { this.data.os.name = 'Aliyun OS'; - this.data.os.family = new Family({name: 'Android'}); - this.data.os.version = new Version({value: match[1], details: 3}); + this.data.os.family = new Family({ name: 'Android' }); + this.data.os.version = new Version({ value: match[1], details: 3 }); } if ((match = /Android 20[0-9]+\./u.exec(ua))) { this.data.os.name = 'Aliyun OS'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); this.data.os.version = null; } } @@ -491,7 +538,7 @@ class Os { if (/Baidu Yi/u.test(ua)) { this.data.os.name = 'Baidu Yi'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); this.data.os.version = null; } @@ -499,7 +546,7 @@ class Os { if (/GoogleTV/u.test(ua)) { this.data.os.name = 'Google TV'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); this.data.device.type = Constants.deviceType.TELEVISION; @@ -522,10 +569,10 @@ class Os { if (/LeOS/u.test(ua)) { this.data.os.name = 'LeOS'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); if ((match = /LeOS([0-9\.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.TABLET; @@ -549,10 +596,10 @@ class Os { if (/WoPhone/u.test(ua)) { this.data.os.name = 'WoPhone'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); if ((match = /WoPhone\/([0-9\.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.MOBILE; @@ -563,20 +610,20 @@ class Os { if (/(COS|(China|Chinese) Operating System)/iu.test(ua)) { if ((match = /COS[\/ ]?([0-9]\.[0-9.]+)/iu.exec(ua))) { this.data.os.name = 'COS'; - this.data.os.family = new Family({name: 'Android'}); - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.family = new Family({ name: 'Android' }); + this.data.os.version = new Version({ value: match[1], details: 2 }); } else if ((match = /(?:\(|; )(?:China|Chinese) Operating System ([0-9]\.[0-9.]*);/iu.exec(ua))) { this.data.os.name = 'COS'; - this.data.os.family = new Family({name: 'Android'}); - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.family = new Family({ name: 'Android' }); + this.data.os.version = new Version({ value: match[1], details: 2 }); } else if ((match = /COS like Android/iu.exec(ua))) { this.data.os.name = 'COS'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); this.data.os.version = null; this.data.device.type = Constants.deviceType.MOBILE; } else if ((match = /(COS like Android|COSBrowser\/|\(COS;|\(COS 998;)/iu.exec(ua))) { this.data.os.name = 'COS'; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); } } @@ -585,15 +632,15 @@ class Os { if (/RemixOS/u.test(ua)) { this.data.os.name = 'Remix OS'; this.data.os.version = null; - this.data.os.family = new Family({name: 'Android'}); + this.data.os.family = new Family({ name: 'Android' }); if ((match = /RemixOS ([0-9]\.[0-9])/u.exec(ua))) { switch (match[1]) { case '5.1': - this.data.os.version = new Version({value: '1.0'}); + this.data.os.version = new Version({ value: '1.0' }); break; case '6.0': - this.data.os.version = new Version({value: '2.0'}); + this.data.os.version = new Version({ value: '2.0' }); break; } } @@ -641,19 +688,19 @@ class Os { /* Windows NT */ if (/Windows 2000/u.test(ua)) { - this.data.os.version = new Version({value: '5.0', alias: '2000'}); + this.data.os.version = new Version({ value: '5.0', alias: '2000' }); } if (/(Windows XP|WinXP)/u.test(ua)) { - this.data.os.version = new Version({value: '5.1', alias: 'XP'}); + this.data.os.version = new Version({ value: '5.1', alias: 'XP' }); } if (/Windows Vista/u.test(ua)) { - this.data.os.version = new Version({value: '6.0', alias: 'Vista'}); + this.data.os.version = new Version({ value: '6.0', alias: 'Vista' }); } if ((match = /(?:Windows NT |WinNT)([0-9][0-9]?\.[0-9])/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); switch (match[1]) { case '10.1': @@ -694,7 +741,7 @@ class Os { break; case '6.1': - this.data.os.version = new Version({value: match[1], alias: '7'}); + this.data.os.version = new Version({ value: match[1], alias: '7' }); break; case '6.0': this.data.os.version = new Version({ @@ -742,29 +789,29 @@ class Os { /* Windows */ if (/(Windows 95|Win95)/u.test(ua)) { - this.data.os.version = new Version({value: '4.0', alias: '95'}); + this.data.os.version = new Version({ value: '4.0', alias: '95' }); } if (/(Windows 98|Win98)/u.test(ua)) { - this.data.os.version = new Version({value: '4.1', alias: '98'}); + this.data.os.version = new Version({ value: '4.1', alias: '98' }); } if (/(Windows M[eE]|WinME)/u.test(ua)) { - this.data.os.version = new Version({value: '4.9', alias: 'ME'}); + this.data.os.version = new Version({ value: '4.9', alias: 'ME' }); } if ((match = /(?:Windows|Win 9x) (([1234]\.[0-9])[0-9\.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); switch (match[2]) { case '4.0': - this.data.os.version = new Version({value: '4.0', alias: '95'}); + this.data.os.version = new Version({ value: '4.0', alias: '95' }); break; case '4.1': - this.data.os.version = new Version({value: '4.1', alias: '98'}); + this.data.os.version = new Version({ value: '4.1', alias: '98' }); break; case '4.9': - this.data.os.version = new Version({value: '4.9', alias: 'ME'}); + this.data.os.version = new Version({ value: '4.9', alias: 'ME' }); break; } } @@ -773,14 +820,14 @@ class Os { if (/WPDesktop/u.test(ua)) { this.data.os.name = 'Windows Phone'; - this.data.os.version = new Version({value: '8.0', details: 2}); + this.data.os.version = new Version({ value: '8.0', details: 2 }); this.data.device.type = Constants.deviceType.MOBILE; this.data.browser.mode = 'desktop'; } if (/WP7/u.test(ua)) { this.data.os.name = 'Windows Phone'; - this.data.os.version = new Version({value: '7', details: 1}); + this.data.os.version = new Version({ value: '7', details: 1 }); this.data.device.type = Constants.deviceType.MOBILE; this.data.browser.mode = 'desktop'; } @@ -790,7 +837,7 @@ class Os { this.data.device.type = Constants.deviceType.MOBILE; if ((match = /WinMobile\/([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); } } @@ -802,29 +849,29 @@ class Os { if (/ IEMobile\/9/u.test(ua)) { this.data.os.name = 'Windows Phone'; - this.data.os.version = new Version({value: '7.5', details: 2}); + this.data.os.version = new Version({ value: '7.5', details: 2 }); } if (/ IEMobile 8/u.test(ua)) { - this.data.os.version = new Version({value: '6.5', details: 2}); + this.data.os.version = new Version({ value: '6.5', details: 2 }); } if (/ IEMobile 7/u.test(ua)) { - this.data.os.version = new Version({value: '6.1', details: 2}); + this.data.os.version = new Version({ value: '6.1', details: 2 }); } if (/ IEMobile 6/u.test(ua)) { - this.data.os.version = new Version({value: '6.0', details: 2}); + this.data.os.version = new Version({ value: '6.0', details: 2 }); } } else { this.data.os.name = 'Windows CE'; if ((match = /WindowsCEOS\/([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); } if ((match = /Windows CE ([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); } } @@ -832,9 +879,10 @@ class Os { if ( !model && - (match = /IEMobile [0-9.]+\)\s{1,2}(?:PPC; |SP; |Smartphone; )?(?:[0-9]+[Xx][0-9]+;? )?(?:VZW; )?([^;\(]+)/u.exec( - ua - )) + (match = + /IEMobile [0-9.]+\)\s{1,2}(?:PPC; |SP; |Smartphone; )?(?:[0-9]+[Xx][0-9]+;? )?(?:VZW; )?([^;\(]+)/u.exec( + ua + )) ) { if (!/(Profile\/MIDP|UNTRUSTED)/u.test(match[1])) { model = match[1]; @@ -894,9 +942,10 @@ class Os { if ( !model && - (match = /MSIE [0-9.]+; Windows CE; ([^;\)]+)(?:; (?:PPC|SP|Smartphone); [0-9]+x[0-9]+)?\)( \[[a-zA-Z\-]+\])?$/u.exec( - ua - )) + (match = + /MSIE [0-9.]+; Windows CE; ([^;\)]+)(?:; (?:PPC|SP|Smartphone); [0-9]+x[0-9]+)?\)( \[[a-zA-Z\-]+\])?$/u.exec( + ua + )) ) { if (!/^(IEMobile|MIDP-2.0|Smartphone|PPC$)/u.test(match[1])) { model = match[1]; @@ -954,7 +1003,7 @@ class Os { this.data.device.type = Constants.deviceType.MOBILE; if ((match = /Windows ?Mobile[\/ ]([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); } if ((match = /Windows Mobile; (?:SHARP\/)?([^;]+); (?:PPC|Smartphone);/u.exec(ua))) { @@ -985,7 +1034,7 @@ class Os { this.data.device.type = Constants.deviceType.MOBILE; if ((match = /Windows Phone(?: OS)?[ \/]([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); if (parseInt(match[1], 10) < 7) { this.data.os.name = 'Windows Mobile'; @@ -1023,9 +1072,10 @@ class Os { /* Windows Phone 7 and 8 */ if ( - (match = /IEMobile\/[^;]+;(?: ARM; Touch; )?(?:rv:[0-9]+; )?(?: WpsLondonTest; )?\s*([^;\s][^;\)]*);\s*([^;\)\s][^;\)]*)[;|\)]/u.exec( - ua - )) + (match = + /IEMobile\/[^;]+;(?: ARM; Touch; )?(?:rv:[0-9]+; )?(?: WpsLondonTest; )?\s*([^;\s][^;\)]*);\s*([^;\)\s][^;\)]*)[;|\)]/u.exec( + ua + )) ) { this.data.device.manufacturer = match[1]; this.data.device.model = match[2]; @@ -1040,9 +1090,10 @@ class Os { /* Windows Phone 10 */ if ( - (match = /Windows Phone 1[0-9]\.[0-9]; Android [0-9\.]+; (?:WebView\/[0-9\.]+; )?([^;\s][^;]*);\s*([^;\)\s][^;\)]*)[;|\)]/u.exec( - ua - )) + (match = + /Windows Phone 1[0-9]\.[0-9]; Android [0-9\.]+; (?:WebView\/[0-9\.]+; )?([^;\s][^;]*);\s*([^;\)\s][^;\)]*)[;|\)]/u.exec( + ua + )) ) { this.data.device.manufacturer = match[1]; this.data.device.model = match[2]; @@ -1071,9 +1122,10 @@ class Os { /* Third party browsers */ if ( - (match = /IEMobile\/[^;]+;(?: ARM; Touch; )?\s*(?:[^\/]+\/[^\/]+);\s*([^;\s][^;]*);\s*([^;\)\s][^;\)]*)[;|\)]/u.exec( - ua - )) + (match = + /IEMobile\/[^;]+;(?: ARM; Touch; )?\s*(?:[^\/]+\/[^\/]+);\s*([^;\s][^;]*);\s*([^;\)\s][^;\)]*)[;|\)]/u.exec( + ua + )) ) { this.data.device.manufacturer = match[1]; this.data.device.model = match[2]; @@ -1253,7 +1305,7 @@ class Os { this.data.os.name = 'Bada'; if ((match = /[b|B]ada[\/ ]([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); } this.data.device.type = Constants.deviceType.MOBILE; @@ -1284,7 +1336,7 @@ class Os { this.data.os.name = 'Tizen'; if ((match = /Tizen[\/ ]?([0-9.]*[0-9])/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /\(([^;]+); ([^\/]+)\//u.exec(ua))) { @@ -1359,7 +1411,7 @@ class Os { this.data.browser.name = 'Samsung Browser'; this.data.browser.channel = null; this.data.browser.stock = true; - this.data.browser.version = new Version({value: match[1]}); + this.data.browser.version = new Version({ value: match[1] }); this.data.browser.channel = null; } } @@ -1387,13 +1439,13 @@ class Os { if ((match = /EPOC(?:32)?[;\-\)]/u.exec(ua))) { this.data.os.name = 'EPOC'; - this.data.os.family = new Family({name: 'Symbian'}); + this.data.os.family = new Family({ name: 'Symbian' }); this.data.device.type = Constants.deviceType.PDA; if ((match = /Crystal\/([0-9.]*)/u.exec(ua))) { this.data.os.name = 'Series80'; - this.data.os.version = new Version({value: '1.0'}); - this.data.os.family.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: '1.0' }); + this.data.os.family.version = new Version({ value: match[1] }); this.data.device.type = Constants.deviceType.MOBILE; this.data.device.manufacturer = 'Nokia'; @@ -1403,7 +1455,7 @@ class Os { if (/Nokia\/Series-9200/u.test(ua)) { this.data.os.name = 'Series80'; - this.data.os.version = new Version({value: '1.0'}); + this.data.os.version = new Version({ value: '1.0' }); this.data.device.type = Constants.deviceType.MOBILE; this.data.device.manufacturer = 'Nokia'; @@ -1416,8 +1468,8 @@ class Os { if ((match = /Series80\/([0-9.]*)/u.exec(ua))) { this.data.os.name = 'Series80'; - this.data.os.version = new Version({value: match[1]}); - this.data.os.family = new Family({name: 'Symbian'}); + this.data.os.version = new Version({ value: match[1] }); + this.data.os.family = new Family({ name: 'Symbian' }); this.data.device.type = Constants.deviceType.MOBILE; } @@ -1425,26 +1477,26 @@ class Os { if (/Symbian\/3/u.test(ua)) { this.data.os.name = 'Series60'; - this.data.os.version = new Version({value: '5.2'}); - this.data.os.family = new Family({name: 'Symbian'}); + this.data.os.version = new Version({ value: '5.2' }); + this.data.os.family = new Family({ name: 'Symbian' }); this.data.device.type = Constants.deviceType.MOBILE; } if (/Series[ ]?60/u.test(ua) || /S60[V\/;]/u.test(ua) || /S60 Symb/u.test(ua)) { this.data.os.name = 'Series60'; - this.data.os.family = new Family({name: 'Symbian'}); + this.data.os.family = new Family({ name: 'Symbian' }); this.data.device.type = Constants.deviceType.MOBILE; if ((match = /Series60\/([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /S60\/([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /S60V([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } } @@ -1452,19 +1504,19 @@ class Os { if ((match = /UIQ\/([0-9.]*)/u.exec(ua))) { this.data.os.name = 'UIQ'; - this.data.os.version = new Version({value: match[1]}); - this.data.os.family = new Family({name: 'Symbian'}); + this.data.os.version = new Version({ value: match[1] }); + this.data.os.family = new Family({ name: 'Symbian' }); this.data.device.type = Constants.deviceType.MOBILE; } /* Symbian */ if (/Symbian/u.test(ua)) { - this.data.os.family = new Family({name: 'Symbian'}); + this.data.os.family = new Family({ name: 'Symbian' }); this.data.device.type = Constants.deviceType.MOBILE; if ((match = /SymbianOS\/([0-9.]*)/u.exec(ua))) { - this.data.os.family.version = new Version({value: match[1]}); + this.data.os.family.version = new Version({ value: match[1] }); } } @@ -1536,7 +1588,7 @@ class Os { if (device.identified) { device.identified |= this.data.device.identified; this.data.os.name = 'Nokia Asha Platform'; - this.data.os.version = new Version({value: '1.0'}); + this.data.os.version = new Version({ value: '1.0' }); this.data.device = device; } @@ -1604,7 +1656,7 @@ class Os { if ((match = /Geos ([0-9.]+)/u.exec(ua))) { this.data.os.name = 'GEOS'; - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); this.data.device.type = Constants.deviceType.MOBILE; if ((match = /Nokia-([0-9]{4,4}[a-z]?)/u.exec(ua))) { @@ -1622,7 +1674,7 @@ class Os { let match; if ((match = /(?:web|hpw)OS\/(?:HP webOS )?([0-9.]*)/u.exec(ua))) { this.data.os.name = 'webOS'; - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1] }); this.data.device.type = /Tablet/iu.test(ua) ? Constants.deviceType.TABLET : Constants.deviceType.MOBILE; this.data.device.generic = false; } @@ -1690,9 +1742,9 @@ class Os { if ((match = /Kai(OS)?\/([0-9.]+)/i.exec(ua))) { this.data.os.reset({ name: 'KaiOS', - version: new Version({value: match[2]}), + version: new Version({ value: match[2] }), }); - this.data.os.family = new Family({name: 'Firefox OS'}); + this.data.os.family = new Family({ name: 'Firefox OS' }); } } @@ -1722,7 +1774,7 @@ class Os { if (!/Opera/u.test(ua)) { if ((match = /BlackBerry([0-9]+[ei]?)\/([0-9.]*)/u.exec(ua))) { this.data.device.model = match[1]; - this.data.os.version = new Version({value: match[2], details: 2}); + this.data.os.version = new Version({ value: match[2], details: 2 }); } if ((match = /; BlackBerry ([0-9]*);/u.exec(ua))) { @@ -1734,7 +1786,7 @@ class Os { } if ((match = /Version\/([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); } if (this.data.os.version && this.data.os.version.toFloat() >= 10) { @@ -1756,7 +1808,7 @@ class Os { if ((match = /\(BB(1[^;]+); ([^\)]+)\)/u.exec(ua))) { this.data.os.name = 'BlackBerry'; - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); this.data.device.manufacturer = 'BlackBerry'; this.data.device.model = match[2]; @@ -1777,7 +1829,7 @@ class Os { this.data.device.identified |= Constants.id.MATCH_UA; if ((match = /Version\/([0-9.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); } } @@ -1785,7 +1837,7 @@ class Os { if ((match = /RIM Tablet OS ([0-9.]*)/u.exec(ua))) { this.data.os.name = 'BlackBerry Tablet OS'; - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); this.data.device.manufacturer = 'RIM'; this.data.device.model = 'BlackBerry PlayBook'; @@ -1793,7 +1845,7 @@ class Os { this.data.device.identified |= Constants.id.MATCH_UA; } else if (/\(PlayBook;/u.test(ua) && (match = /PlayBook Build\/([0-9.]*)/u.exec(ua))) { this.data.os.name = 'BlackBerry Tablet OS'; - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); this.data.device.manufacturer = 'RIM'; this.data.device.model = 'BlackBerry PlayBook'; @@ -1802,7 +1854,7 @@ class Os { } else if (/PlayBook/u.test(ua) && !/Android/u.test(ua)) { if ((match = /Version\/([0-9.]*)/u.exec(ua))) { this.data.os.name = 'BlackBerry Tablet OS'; - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); this.data.device.manufacturer = 'RIM'; this.data.device.model = 'BlackBerry PlayBook'; @@ -1850,19 +1902,19 @@ class Os { this.data.os.version = null; if ((match = /OpenTV Build\/([0-9\.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /OpenTV ([0-9\.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /Opentv([0-9]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /OTV([0-9\.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } } } @@ -1875,7 +1927,7 @@ class Os { let match; if ((match = /Qtopia\/([0-9.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } } } @@ -1897,8 +1949,8 @@ class Os { if ((match = /(?:UNIX_System_V|UNIX_SV) ([0-9.]*)/u.exec(ua))) { this.data.os.name = 'UNIX System V'; - this.data.os.family = new Family({name: 'UNIX'}); - this.data.os.version = new Version({value: match[1]}); + this.data.os.family = new Family({ name: 'UNIX' }); + this.data.os.version = new Version({ value: match[1] }); this.data.device.type = Constants.deviceType.DESKTOP; } @@ -1906,10 +1958,10 @@ class Os { if (/OSF1?[ _]/u.test(ua)) { this.data.os.name = 'Digital Unix'; - this.data.os.family = new Family({name: 'UNIX'}); + this.data.os.family = new Family({ name: 'UNIX' }); if ((match = /OSF1?[ _]V?([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -1919,10 +1971,10 @@ class Os { if (/ULTRIX/u.test(ua)) { this.data.os.name = 'ULTRIX'; - this.data.os.family = new Family({name: 'BSD'}); + this.data.os.family = new Family({ name: 'BSD' }); if ((match = /ULTRIX ([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -1932,10 +1984,10 @@ class Os { if (/HP-UX/u.test(ua)) { this.data.os.name = 'HP-UX'; - this.data.os.family = new Family({name: 'UNIX'}); + this.data.os.family = new Family({ name: 'UNIX' }); if ((match = /HP-UX [A-Z].0?([1-9][0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -1945,37 +1997,37 @@ class Os { if (/SunOS/u.test(ua)) { this.data.os.name = 'Solaris'; - this.data.os.family = new Family({name: 'UNIX'}); + this.data.os.family = new Family({ name: 'UNIX' }); if ((match = /SunOS ([1234]\.[0-9\.]+)/u.exec(ua))) { this.data.os.name = 'SunOS'; - this.data.os.version = new Version({value: match[1]}); - this.data.os.family = new Family({name: 'BSD'}); + this.data.os.version = new Version({ value: match[1] }); + this.data.os.family = new Family({ name: 'BSD' }); if ((match = /SunOS 4\.1\.([1234])/u.exec(ua))) { this.data.os.name = 'Solaris'; switch (match[1]) { case '1': - this.data.os.version = new Version({value: '1.0'}); + this.data.os.version = new Version({ value: '1.0' }); break; case '2': - this.data.os.version = new Version({value: '1.0.1'}); + this.data.os.version = new Version({ value: '1.0.1' }); break; case '3': - this.data.os.version = new Version({value: '1.1'}); + this.data.os.version = new Version({ value: '1.1' }); break; case '4': - this.data.os.version = new Version({value: '1.1.2'}); + this.data.os.version = new Version({ value: '1.1.2' }); break; } } } if ((match = /SunOS 5\.([123456](?:\.[0-9.]*)?) /u.exec(ua))) { - this.data.os.version = new Version({value: `2.${match[1]}`}); + this.data.os.version = new Version({ value: `2.${match[1]}` }); } else if ((match = /SunOS 5\.([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -1983,10 +2035,10 @@ class Os { if ((match = /Solaris(?: ([0-9.]+))?;/u.exec(ua))) { this.data.os.name = 'Solaris'; - this.data.os.family = new Family({name: 'UNIX'}); + this.data.os.family = new Family({ name: 'UNIX' }); if ((match = /Solaris ([0-9.]+);/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -1996,10 +2048,10 @@ class Os { if (/AIX/u.test(ua)) { this.data.os.name = 'AIX'; - this.data.os.family = new Family({name: 'UNIX'}); + this.data.os.family = new Family({ name: 'UNIX' }); if ((match = /AIX ([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2009,14 +2061,14 @@ class Os { if (/IRIX/u.test(ua)) { this.data.os.name = 'IRIX'; - this.data.os.family = new Family({name: 'UNIX'}); + this.data.os.family = new Family({ name: 'UNIX' }); if ((match = /IRIX ([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /IRIX;?(?:64|32) ([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2026,11 +2078,11 @@ class Os { if ((match = /NEWS-OS ([0-9\.]+)/u.exec(ua))) { this.data.os.name = 'NEWS OS'; - this.data.os.version = new Version({value: match[1]}); - this.data.os.family = new Family({name: 'BSD'}); + this.data.os.version = new Version({ value: match[1] }); + this.data.os.family = new Family({ name: 'BSD' }); if (/NEWS-OS [56]/u.test(ua)) { - this.data.os.family = new Family({name: 'UNIX'}); + this.data.os.family = new Family({ name: 'UNIX' }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2040,8 +2092,8 @@ class Os { if ((match = /EWS-UNIX rev ([0-9.]+)/u.exec(ua))) { this.data.os.name = 'EWS-UX'; - this.data.os.version = new Version({value: match[1]}); - this.data.os.family = new Family({name: 'UNIX'}); + this.data.os.version = new Version({ value: match[1] }); + this.data.os.family = new Family({ name: 'UNIX' }); this.data.device.type = Constants.deviceType.DESKTOP; } @@ -2050,8 +2102,8 @@ class Os { if ((match = /GENIX ([0-9.]+)/u.exec(ua))) { this.data.os.name = 'GENIX'; - this.data.os.version = new Version({value: match[1]}); - this.data.os.family = new Family({name: 'BSD'}); + this.data.os.version = new Version({ value: match[1] }); + this.data.os.family = new Family({ name: 'BSD' }); this.data.device.type = Constants.deviceType.DESKTOP; } @@ -2074,15 +2126,15 @@ class Os { if (/BSD\/386/u.test(ua)) { this.data.os.name = 'BSD/OS'; - this.data.os.family = new Family({name: 'BSD'}); + this.data.os.family = new Family({ name: 'BSD' }); } if (/BSD\/OS/u.test(ua)) { this.data.os.name = 'BSD/OS'; - this.data.os.family = new Family({name: 'BSD'}); + this.data.os.family = new Family({ name: 'BSD' }); if ((match = /BSD\/OS ([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } } @@ -2090,10 +2142,10 @@ class Os { if (/FreeBSD/iu.test(ua)) { this.data.os.name = 'FreeBSD'; - this.data.os.family = new Family({name: 'BSD'}); + this.data.os.family = new Family({ name: 'BSD' }); if ((match = /FreeBSD[ -\/]?([0-9.]*)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } } @@ -2101,10 +2153,10 @@ class Os { if (/OpenBSD/iu.test(ua)) { this.data.os.name = 'OpenBSD'; - this.data.os.family = new Family({name: 'BSD'}); + this.data.os.family = new Family({ name: 'BSD' }); if ((match = /OpenBSD ?([0-9.]*)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } } @@ -2112,10 +2164,10 @@ class Os { if (/NetBSD/iu.test(ua)) { this.data.os.name = 'NetBSD'; - this.data.os.family = new Family({name: 'BSD'}); + this.data.os.family = new Family({ name: 'BSD' }); if ((match = /NetBSD ?([0-9.]*)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } } @@ -2123,7 +2175,7 @@ class Os { if (/DragonFly/iu.test(ua)) { this.data.os.name = 'DragonFly BSD'; - this.data.os.family = new Family({name: 'BSD'}); + this.data.os.family = new Family({ name: 'BSD' }); } } @@ -2151,7 +2203,7 @@ class Os { if (/Black Lab Linux/u.test(ua)) { this.data.os.name = 'Black Lab Linux'; if ((match = /Black Lab Linux ([0-9\.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2166,7 +2218,7 @@ class Os { } if ((match = /CentOS Linux release ([0-9\.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2175,11 +2227,11 @@ class Os { if (/Debian/u.test(ua)) { this.data.os.name = 'Debian'; if ((match = /Debian\/([0-9.]*)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /Debian GNU\/Linux ([0-9\.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2194,7 +2246,7 @@ class Os { } if ((match = /Fedora release ([0-9.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2203,7 +2255,7 @@ class Os { if (/Gentoo/u.test(ua)) { this.data.os.name = 'Gentoo'; if ((match = /Gentoo Base System release ([0-9.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2212,7 +2264,7 @@ class Os { if (/gNewSense/u.test(ua)) { this.data.os.name = 'gNewSense'; if ((match = /gNewSense\/[^(]+\(([0-9.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2221,7 +2273,7 @@ class Os { if (/Kubuntu/u.test(ua)) { this.data.os.name = 'Kubuntu'; if ((match = /Kubuntu[ \/]([0-9.]*)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2230,7 +2282,7 @@ class Os { if (/Linux Mint/u.test(ua)) { this.data.os.name = 'Linux Mint'; if ((match = /Linux Mint ([0-9.]+)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2239,7 +2291,7 @@ class Os { if (/Mandriva Linux/u.test(ua)) { this.data.os.name = 'Mandriva'; if ((match = /Mandriva Linux\/[0-9.\-]+mdv([0-9]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2248,11 +2300,11 @@ class Os { if (/Mageia/u.test(ua)) { this.data.os.name = 'Mageia'; if ((match = /Mageia\/[0-9\.\-]+mga([0-9]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /Mageia ([0-9\.]+)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2261,7 +2313,7 @@ class Os { if (/Mandriva/u.test(ua)) { this.data.os.name = 'Mandriva'; if ((match = /Mandriva\/[0-9\.\-]+mdv([0-9]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2270,7 +2322,7 @@ class Os { if (/moonOS/u.test(ua)) { this.data.os.name = 'moonOS'; if ((match = /moonOS\/([0-9.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2290,7 +2342,7 @@ class Os { if (/Slackware/u.test(ua)) { this.data.os.name = 'Slackware'; if ((match = /Slackware[ \/](1[0-9.]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2299,11 +2351,11 @@ class Os { if (/SUSE/u.test(ua)) { this.data.os.name = 'SUSE'; if ((match = /SUSE\/([0-9]\.[0-9]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /openSUSE ([0-9\.]+)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2312,7 +2364,7 @@ class Os { if (/Turbolinux/u.test(ua)) { this.data.os.name = 'Turbolinux'; if ((match = /Turbolinux\/([0-9]\.[0-9]+)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2321,11 +2373,11 @@ class Os { if (/Ubuntu/u.test(ua)) { this.data.os.name = 'Ubuntu'; if ((match = /Ubuntu\/([0-9.]*)/u.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } if ((match = /Ubuntu ([0-9\.]+)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1], details: 2}); + this.data.os.version = new Version({ value: match[1], details: 2 }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2333,7 +2385,7 @@ class Os { if ((match = /《붉은별》\/([0-9.]*)/iu.exec(ua))) { this.data.os.name = 'Red Star'; - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); this.data.device.type = Constants.deviceType.DESKTOP; } @@ -2353,7 +2405,7 @@ class Os { if ((match = /Linux\/SLP\/([0-9.]+)/u.exec(ua))) { this.data.os.name = 'Linux SLP'; - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); this.data.device.type = Constants.deviceType.MOBILE; } @@ -2366,7 +2418,7 @@ class Os { if (/elementary OS/u.test(ua)) { this.data.os.name = 'elementary OS'; if ((match = /elementary OS ([A-Za-z]+)/u.exec(ua))) { - this.data.os.version = new Version({alias: match[1]}); + this.data.os.version = new Version({ alias: match[1] }); } this.data.device.type = Constants.deviceType.DESKTOP; @@ -2385,13 +2437,13 @@ class Os { if ((match = /(?:\(|; )Ubuntu ([0-9.]+) like Android/u.exec(ua))) { this.data.os.name = 'Ubuntu Touch'; - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); this.data.device.type = Constants.deviceType.MOBILE; } if ((match = /Lindows ([0-9.]+)/u.exec(ua))) { this.data.os.name = 'Lindows'; - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); this.data.device.type = Constants.deviceType.DESKTOP; } } @@ -2428,17 +2480,17 @@ class Os { } if ((match = /; Brew ([0-9.]+);/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } else if ((match = /BREW; U; ([0-9.]+)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } else if ((match = /[\(;]BREW[\/ ]([0-9.]+)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } else if ((match = /BREW MP ([0-9.]*)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } else if ((match = /BMP ([0-9.]*); U/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } else if ((match = /B(?:rew)?MP\/([0-9.]*)/iu.exec(ua))) { - this.data.os.version = new Version({value: match[1]}); + this.data.os.version = new Version({ value: match[1] }); } this.data.device.type = Constants.deviceType.MOBILE; @@ -2483,9 +2535,10 @@ class Os { } if ( - (match = /\(BREW [^;]+; U; [^;]+; [^;]+; Opera Mobi; Presto\/[0-9\.]+\/(?:WAP|AMB|INT)\) ([^\/]+) [^\/]+\//iu.exec( - ua - )) + (match = + /\(BREW [^;]+; U; [^;]+; [^;]+; Opera Mobi; Presto\/[0-9\.]+\/(?:WAP|AMB|INT)\) ([^\/]+) [^\/]+\//iu.exec( + ua + )) ) { this.data.device.model = match[1]; this.data.device.identified = Constants.id.PATTERN; @@ -2512,7 +2565,7 @@ class Os { } const patterns = [ - {name: 'BeOS', regexp: [/BeOS/iu], type: Constants.deviceType.DESKTOP}, + { name: 'BeOS', regexp: [/BeOS/iu], type: Constants.deviceType.DESKTOP }, { name: 'Haiku', regexp: [/Haiku/iu], @@ -2528,7 +2581,7 @@ class Os { regexp: [/MorphOS(?: ([0-9.]*))?/iu], type: Constants.deviceType.DESKTOP, }, - {name: 'AROS', regexp: [/AROS/iu], type: Constants.deviceType.DESKTOP}, + { name: 'AROS', regexp: [/AROS/iu], type: Constants.deviceType.DESKTOP }, { name: 'OpenVMS', regexp: [/OpenVMS V([0-9.]+)/iu, /OpenVMS/iu], @@ -2569,7 +2622,7 @@ class Os { regexp: [/\(MTK;/iu, /\/MTK /iu], type: Constants.deviceType.MOBILE, }, - {name: 'MRE', regexp: [/MRE\\\\/iu], type: Constants.deviceType.MOBILE}, + { name: 'MRE', regexp: [/MRE\\\\/iu], type: Constants.deviceType.MOBILE }, { name: 'MRE', regexp: [/MAUI[-_ ](?:Browser|Runtime)/iu], @@ -2595,14 +2648,14 @@ class Os { regexp: [/Nucleus\//iu], type: Constants.deviceType.MOBILE, }, - {name: 'QNX', regexp: [/QNX/iu], type: Constants.deviceType.MOBILE}, - {name: 'VRE', regexp: [/\(VRE;/iu], type: Constants.deviceType.MOBILE}, + { name: 'QNX', regexp: [/QNX/iu], type: Constants.deviceType.MOBILE }, + { name: 'VRE', regexp: [/\(VRE;/iu], type: Constants.deviceType.MOBILE }, { name: 'SpreadTrum', regexp: [/\(SpreadTrum;/iu], type: Constants.deviceType.MOBILE, }, - {name: 'ThreadX', regexp: [/ThreadX(?:_OS)?\/([0-9.]*)/iu]}, + { name: 'ThreadX', regexp: [/ThreadX(?:_OS)?\/([0-9.]*)/iu] }, ]; const count = patterns.length; diff --git a/src/Analyser/Header/Useragent/Using.js b/src/Analyser/Header/Useragent/Using.js index 466b10d..649e6df 100644 --- a/src/Analyser/Header/Useragent/Using.js +++ b/src/Analyser/Header/Useragent/Using.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Version = require('../../../model/Version'); const UsingClass = require('../../../model/Using'); @@ -13,30 +11,30 @@ class Using { return this; } const items = [ - {name: 'AdobeAIR', regexp: /AdobeAIR\/([0-9.]*)/u}, - {name: 'Awesomium', regexp: /Awesomium\/([0-9.]*)/u}, - {name: 'Delphi Embedded Web Browser', regexp: /EmbeddedWB ([0-9.]*)/u}, - {name: 'Delphi Embedded Web Browser', regexp: /bsalsa\.com/u}, - {name: 'Delphi Embedded Web Browser', regexp: /Embedded Web Browser/u}, - {name: 'Canvace', regexp: /Canvace Standalone\/([0-9.]*)/u}, - {name: 'Ekioh', regexp: /Ekioh\/([0-9.]*)/u}, - {name: 'Electron', regexp: /AtomShell\/([0-9.]*)/u}, - {name: 'Electron', regexp: /Electron\/([0-9.]*)/u}, - {name: 'JavaFX', regexp: /JavaFX\/([0-9.]*)/u}, - {name: 'GFXe', regexp: /GFXe\/([0-9.]*)/u}, - {name: 'LuaKit', regexp: /luakit/u}, - {name: 'Titanium', regexp: /Titanium\/([0-9.]*)/u}, - {name: 'OpenWebKitSharp', regexp: /OpenWebKitSharp/u}, - {name: 'Prism', regexp: /Prism\/([0-9.]*)/u}, - {name: 'Qt', regexp: /Qt\/([0-9.]*)/u}, - {name: 'Qt', regexp: /QtWebEngine\/([4-9][0-9.]*)?/u}, - {name: 'Qt', regexp: /QtEmbedded/u}, - {name: 'Qt', regexp: /QtEmbedded.*Qt\/([0-9.]*)/u}, - {name: 'ReqwirelessWeb', regexp: /ReqwirelessWeb\/([0-9.]*)/u}, - {name: 'RhoSimulator', regexp: /RhoSimulator/u}, - {name: 'UWebKit', regexp: /UWebKit\/([0-9.]*)/u}, - {name: 'Node-WebKit', regexp: /nw-tests\/([0-9.]*)/u}, - {name: 'WebKit2.NET', regexp: /WebKit2.NET/u}, + { name: 'AdobeAIR', regexp: /AdobeAIR\/([0-9.]*)/u }, + { name: 'Awesomium', regexp: /Awesomium\/([0-9.]*)/u }, + { name: 'Delphi Embedded Web Browser', regexp: /EmbeddedWB ([0-9.]*)/u }, + { name: 'Delphi Embedded Web Browser', regexp: /bsalsa\.com/u }, + { name: 'Delphi Embedded Web Browser', regexp: /Embedded Web Browser/u }, + { name: 'Canvace', regexp: /Canvace Standalone\/([0-9.]*)/u }, + { name: 'Ekioh', regexp: /Ekioh\/([0-9.]*)/u }, + { name: 'Electron', regexp: /AtomShell\/([0-9.]*)/u }, + { name: 'Electron', regexp: /Electron\/([0-9.]*)/u }, + { name: 'JavaFX', regexp: /JavaFX\/([0-9.]*)/u }, + { name: 'GFXe', regexp: /GFXe\/([0-9.]*)/u }, + { name: 'LuaKit', regexp: /luakit/u }, + { name: 'Titanium', regexp: /Titanium\/([0-9.]*)/u }, + { name: 'OpenWebKitSharp', regexp: /OpenWebKitSharp/u }, + { name: 'Prism', regexp: /Prism\/([0-9.]*)/u }, + { name: 'Qt', regexp: /Qt\/([0-9.]*)/u }, + { name: 'Qt', regexp: /QtWebEngine\/([4-9][0-9.]*)?/u }, + { name: 'Qt', regexp: /QtEmbedded/u }, + { name: 'Qt', regexp: /QtEmbedded.*Qt\/([0-9.]*)/u }, + { name: 'ReqwirelessWeb', regexp: /ReqwirelessWeb\/([0-9.]*)/u }, + { name: 'RhoSimulator', regexp: /RhoSimulator/u }, + { name: 'UWebKit', regexp: /UWebKit\/([0-9.]*)/u }, + { name: 'Node-WebKit', regexp: /nw-tests\/([0-9.]*)/u }, + { name: 'WebKit2.NET', regexp: /WebKit2.NET/u }, ]; const count = items.length; for (let i = 0; i < count; i++) { diff --git a/src/Analyser/Header/Wap.js b/src/Analyser/Header/Wap.js index 1a4a9ad..a6f61d9 100644 --- a/src/Analyser/Header/Wap.js +++ b/src/Analyser/Header/Wap.js @@ -1,5 +1,3 @@ -/* eslint-disable require-jsdoc */ - const Constants = require('../../constants'); const DeviceProfiles = require('../../data/DeviceProfiles'); diff --git a/src/Parser.js b/src/Parser.js index 76458cc..c26e27f 100644 --- a/src/Parser.js +++ b/src/Parser.js @@ -32,7 +32,7 @@ class Parser extends Main { let o = options; let h; if (typeof headers === 'string') { - h = {'User-Agent': headers}; + h = { 'User-Agent': headers }; } else if (headers['headers']) { h = headers['headers']; diff --git a/src/data/Applications.js b/src/data/Applications.js index 8513d92..5da174a 100644 --- a/src/data/Applications.js +++ b/src/data/Applications.js @@ -24,8 +24,8 @@ class Applications { */ static identifyBrowser(ua = '') { if (ua.match(Applications.BROWSERS_REGEX)) { - for (let type of Object.keys(Applications.BROWSERS)) { - for (let item of Applications.BROWSERS[type]) { + for (const type of Object.keys(Applications.BROWSERS)) { + for (const item of Applications.BROWSERS[type]) { let match; if ((match = ua.match(item.regexp))) { return { @@ -42,7 +42,7 @@ class Applications { }) : null, }, - device: typeof item.type !== 'undefined' ? {type: item.type} : null, + device: typeof item.type !== 'undefined' ? { type: item.type } : null, }; } } @@ -58,8 +58,8 @@ class Applications { */ static identifyOther(ua = '') { if (ua.match(Applications.OTHERS_REGEX)) { - for (let type of Object.keys(Applications.OTHERS)) { - for (let item of Applications.OTHERS[type]) { + for (const type of Object.keys(Applications.OTHERS)) { + for (const item of Applications.OTHERS[type]) { let match; if ((match = ua.match(item.regexp))) { return { @@ -76,7 +76,7 @@ class Applications { }) : null, }, - device: typeof item.type !== 'undefined' ? {type: item.type} : null, + device: typeof item.type !== 'undefined' ? { type: item.type } : null, }; } } @@ -91,8 +91,12 @@ class Applications { * @return {Browser} */ static identifyBot(ua = '') { + if (!ua) { + return; + } + if (ua.match(Applications.BOTS_REGEX)) { - for (let item of Applications.BOTS) { + for (const item of Applications.BOTS) { let match; if ((match = ua.match(item.regexp))) { return new Browser({ diff --git a/src/data/BuildIds.js b/src/data/BuildIds.js index 11aa7f9..228503d 100644 --- a/src/data/BuildIds.js +++ b/src/data/BuildIds.js @@ -17,7 +17,7 @@ class BuildIds { if (typeof build === 'object') { return new Version(build); } else { - return new Version({value: build}); + return new Version({ value: build }); } } } diff --git a/src/data/DeviceModels.js b/src/data/DeviceModels.js index e4695bc..5b61635 100644 --- a/src/data/DeviceModels.js +++ b/src/data/DeviceModels.js @@ -189,7 +189,7 @@ class DeviceModels { const keys = [`@${model.substring(0, 2).toUpperCase()}`, '@']; let pattern = null; let match = null; - for (let key of keys) { + for (const key of keys) { if (index[key]) { for (let v of index[key]) { const originalV = v; @@ -207,7 +207,7 @@ class DeviceModels { } } - for (let m2 of Object.keys(list[v] || list[originalV])) { + for (const m2 of Object.keys(list[v] || list[originalV])) { const v2 = (list[v] || list[originalV])[m2]; if (DeviceModels.hasMatch(m2, model)) { match = v2; diff --git a/src/data/Manufacturers.js b/src/data/Manufacturers.js index e1c0a4e..56bc0e2 100644 --- a/src/data/Manufacturers.js +++ b/src/data/Manufacturers.js @@ -1,5 +1,7 @@ const Constants = require('../constants'); -const {MANUFACTURERS: {TELEVISION, GENERIC}} = require('../../data/manufacturer-names'); +const { + MANUFACTURERS: { TELEVISION, GENERIC }, +} = require('../../data/manufacturer-names'); /** * Manufacturers utility * diff --git a/src/model/Browser.js b/src/model/Browser.js index a4d410d..c67e751 100644 --- a/src/model/Browser.js +++ b/src/model/Browser.js @@ -23,7 +23,7 @@ class Browser extends NameVersion { * @internal */ constructor(properties = {}) { - super(Object.assign({}, {stock: true, hidden: false, mode: '', type: ''}, properties)); + super(Object.assign({}, { stock: true, hidden: false, mode: '', type: '' }, properties)); } /** diff --git a/src/model/Main.js b/src/model/Main.js index e45624b..8f76f54 100644 --- a/src/model/Main.js +++ b/src/model/Main.js @@ -1,4 +1,3 @@ -/* eslint-disable valid-jsdoc */ const Browser = require('./Browser'); const Engine = require('./Engine'); const Os = require('./Os'); @@ -280,6 +279,4 @@ class Main { } } -/* eslint-enable valid-jsdoc */ - module.exports = Main; diff --git a/src/model/Os.js b/src/model/Os.js index afacd90..410e9d5 100644 --- a/src/model/Os.js +++ b/src/model/Os.js @@ -16,7 +16,7 @@ class Os extends NameVersion { * @internal */ constructor(properties = {}) { - super(Object.assign({}, {hidden: false}, properties)); + super(Object.assign({}, { hidden: false }, properties)); } /** @@ -77,9 +77,9 @@ class Os extends NameVersion { return ''; } - return `${this.getName()}${this.version && !this.version.hidden ? - ` ${this.getVersion()}` : - ''}${this.edition ? ` ${this.edition}` : ''}`.trim(); + return `${this.getName()}${this.version && !this.version.hidden ? ` ${this.getVersion()}` : ''}${ + this.edition ? ` ${this.edition}` : '' + }`.trim(); } /** @@ -104,7 +104,7 @@ class Os extends NameVersion { result.edition = this.edition; } let versionObj; - if (this.version && Object.keys(( versionObj = this.version.toObject())).length) { + if (this.version && Object.keys((versionObj = this.version.toObject())).length) { result.version = versionObj; } return result; diff --git a/src/model/Version.js b/src/model/Version.js index 08d4b28..343ae29 100644 --- a/src/model/Version.js +++ b/src/model/Version.js @@ -21,7 +21,7 @@ class Version extends Base { if (properties.value) { properties.value = '' + properties.value; } - super(Object.assign({}, {hidden: false}, properties)); + super(Object.assign({}, { hidden: false }, properties)); } /** @@ -71,7 +71,7 @@ class Version extends Base { * @return {object} */ getParts() { - const parts = this.value.split('.'); + const parts = this.value ? this.value.split('.') : []; return { major: Number(parts[0] || 0), minor: Number(parts[1] || 0), @@ -129,7 +129,7 @@ class Version extends Base { result += '.'; count = parts.length; for (let p = 1; p < count; p++) { - let tempString = `0000${parts[p]}`; + const tempString = `0000${parts[p]}`; result += tempString.substr(tempString.length - 4); } } @@ -170,7 +170,7 @@ class Version extends Base { if (this.value) { const matches = this.value.match(/([0-9]+)(?:\.([0-9]+))?(?:\.([0-9]+))?(?:\.([0-9]+))?(?:([ab])([0-9]+))?/); if (matches) { - let v = [matches[1]]; + const v = [matches[1]]; if (matches[2]) { v.push(matches[2]); } diff --git a/src/model/primitive/NameVersion.js b/src/model/primitive/NameVersion.js index d947934..644f7d4 100644 --- a/src/model/primitive/NameVersion.js +++ b/src/model/primitive/NameVersion.js @@ -19,7 +19,6 @@ class NameVersion extends Base { properties && this.set(properties); } - /** * Identify the version based on a pattern * @@ -31,7 +30,7 @@ class NameVersion extends Base { identifyVersion(pattern, subject, defaults = {}) { let match; let version; - if ((match = pattern.exec(subject) ) !== null) { + if ((match = pattern.exec(subject)) !== null) { version = match[1]; if (defaults.type) { @@ -45,11 +44,10 @@ class NameVersion extends Base { } } - this.version = new Version(Object.assign({}, defaults, {value: version})); + this.version = new Version(Object.assign({}, defaults, { value: version })); } } - /** * Get the name in a human readable format * @@ -59,7 +57,6 @@ class NameVersion extends Base { return this.alias || this.name || ''; } - /** * Get the version in a human readable format * @@ -69,7 +66,6 @@ class NameVersion extends Base { return this.version ? this.version.toString() : ''; } - /** * Is a name detected? * @@ -79,7 +75,6 @@ class NameVersion extends Base { return !!this.name; } - /** * Get the name and version in a human readable format * diff --git a/test/data/bots/generic.yaml b/test/data/bots/generic.yaml index c3774ec..666c2b0 100644 --- a/test/data/bots/generic.yaml +++ b/test/data/bots/generic.yaml @@ -46,10 +46,6 @@ headers: 'User-Agent: AdsBot-Google-Mobile (+http://www.google.com/mobile/adsbot.html) Mozilla (iPhone; U; CPU iPhone OS 3 0 like Mac OS X) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36' result: { browser: { name: 'Google Ads Bot' }, device: { type: bot } } readable: 'Google Ads Bot' -- - headers: 'User-Agent: AhrefsBot.Feeds v0.1; http://ahrefs.com/' - result: { browser: { name: AhrefsBot, version: '0.1' }, device: { type: bot } } - readable: 'AhrefsBot 0.1' - headers: 'User-Agent: AmorankSpider/0.1; +http://amorank.com/webcrawler.html' result: { browser: { name: 'Amorank Spider', version: '0.1' }, device: { type: bot } } @@ -90,10 +86,6 @@ headers: 'User-Agent: Browsershots' result: { browser: { name: Browsershots }, device: { type: bot } } readable: Browsershots -- - headers: 'User-Agent: CCBot/2.0 (http://commoncrawl.org/faq/)' - result: { browser: { name: CommonCrawl, version: '2.0' }, device: { type: bot } } - readable: 'CommonCrawl 2.0' - headers: 'User-Agent: Cliqzbot/0.1 (+http://cliqz.com/company/cliqzbot)' result: { browser: { name: Cliqzbot, version: '0.1' }, device: { type: bot } } @@ -382,6 +374,14 @@ headers: 'User-Agent: Opera/30.0.1835.59 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 Version/29.16 AppleWebKit/599.0+ (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36 FAST-WebCrawler/3.8' result: { browser: { name: 'FAST Web Crawler', version: '3.8' }, device: { type: bot } } readable: 'FAST Web Crawler 3.8' +- + headers: 'User-Agent: Python-urllib/3.8' + result: { browser: { name: Python, version: '3.8' }, device: { type: bot } } + readable: 'Python 3.8' +- + headers: 'User-Agent: python-requests/2.22.0' + result: { browser: { name: Python, version: 2.22.0 }, device: { type: bot } } + readable: 'Python 2.22.0' - headers: 'User-Agent: Scrapy/0.24.6 (+http://scrapy.org)' result: { browser: { name: Scrapy, version: 0.24.6 }, device: { type: bot } } @@ -506,3 +506,495 @@ headers: 'User-Agent: Pinterest/0.2 (+http://www.pinterest.com/)' readable: 'Pinterest 0.2' result: { browser: { name: Pinterest, version: '0.2' }, device: { type: bot } } +- + headers: 'User-Agent: Facebookexternalhit/1.1; kakaotalk-scrap/1.0; +https: //devtalk.kakao.com/t/scrap/33984' + readable: 'KakaoTalk Bot 1.0' + result: { browser: { name: 'KakaoTalk Bot', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; CloudFlare-AlwaysOnline/1.0; +http://www.cloudflare.com/always-online) AppleWebKit/534.34' + readable: 'Cloudflare Always Online 1.0' + result: { browser: { name: 'Cloudflare Always Online', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/79.0.3945.130 Safari/537.36 (compatible; Cloudflare SpeedTest/1.0; +https://blog.cloudflare.com/new-speed-page/)' + readable: 'Cloudflare SpeedTest 1.0' + result: { browser: { name: 'Cloudflare SpeedTest', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Cloudflare Diagnostics' + readable: 'Cloudflare Diagnostics' + result: { browser: { name: 'Cloudflare Diagnostics' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Cloudflare-AMP/1.0; +https://amp.cloudflare.com/doc/fetcher.html) AppleWebKit/534.34' + readable: 'Cloudflare AMP 1.0' + result: { browser: { name: 'Cloudflare AMP', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; DotBot/1.1; http://www.opensiteexplorer.org/dotbot, help@moz.com)' + readable: 'Moz 1.1' + result: { browser: { name: Moz, version: '1.1' }, device: { type: bot } } +- + headers: 'User-Agent: rogerbot/1.0 (http://www.moz.com/dp/rogerbot, rogerbot-crawler@moz.com)' + readable: 'Moz 1.0' + result: { browser: { name: Moz, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Nimbostratus-Bot/v1.3.2; http://cloudsystemnetworks.com)' + readable: 'Nimbostratus 1.3.2' + result: { browser: { name: Nimbostratus, version: 1.3.2 }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; SemrushBot/6~bl; +http://www.semrush.com/bot.html)' + readable: 'Semrush 6' + result: { browser: { name: Semrush, version: '6' }, device: { type: bot } } +- + headers: 'User-Agent: Buck/2.2; (+https://app.hypefactors.com/media-monitoring/about.html)' + readable: 'Buck 2.2' + result: { browser: { name: Buck, version: '2.2' }, device: { type: bot } } +- + headers: 'User-Agent: DomainCrawler/3.0 (info@domaincrawler.com; http://www.domaincrawler.com/example.com)' + readable: 'DomainCrawler 3.0' + result: { browser: { name: DomainCrawler, version: '3.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Linux x86_64; Mail.RU_Bot/Img/2.0; +http://go.mail.ru/help/robots)' + readable: 'Mail.ru Bot 2.0' + result: { browser: { name: 'Mail.ru Bot', version: '2.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; https://zhanzhang.toutiao.com/)' + readable: Bytespider + result: { browser: { name: Bytespider }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 compatible; yelpspider/yelpspider-1.0 (Crawlerbot run by Yelp Inc; yelpbot at yelp dot com)' + readable: 'Yelp Spider 1.0' + result: { browser: { name: 'Yelp Spider', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Slackbot-LinkExpanding 1.0 (+https://api.slack.com/robots)' + readable: 'Slackbot Link Checker 1.0' + result: { browser: { name: 'Slackbot Link Checker', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Florienzh/1.0' + readable: 'Florienzh 1.0' + result: { browser: { name: Florienzh, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)' + readable: 'Discord 2.0' + result: { browser: { name: Discord, version: '2.0' }, device: { type: bot } } +- + headers: 'User-Agent: Voat.co OpenGraph Parser' + readable: Voat + result: { browser: { name: Voat }, device: { type: bot } } +- + headers: 'User-Agent: PocketImageCache/1.0' + readable: 'Pocket 1.0' + result: { browser: { name: Pocket, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: PocketParser/2.0 (+https://getpocket.com/pocketparser_ua)' + readable: 'Pocket 2.0' + result: { browser: { name: Pocket, version: '2.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Wappalyzer; https://www.wappalyzer.com)' + readable: Wappalyzer + result: { browser: { name: Wappalyzer }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Wappalyzer)' + readable: Wappalyzer + result: { browser: { name: Wappalyzer }, device: { type: bot } } +- + headers: 'User-Agent: Wappalyzer' + readable: Wappalyzer + result: { browser: { name: Wappalyzer }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko; compatible; BuiltWith/1.0; +http://builtwith.com/biup) Chrome/74.0.3729.131 Safari/537.36' + readable: 'BuiltWith 1.0' + result: { browser: { name: BuiltWith, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: TrustedSite Crawler' + readable: TrustedSite + result: { browser: { name: TrustedSite }, device: { type: bot } } +- + headers: 'User-Agent: IDG/UK (http://spaziodati.eu/)' + readable: SpazioDati + result: { browser: { name: SpazioDati }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0+(compatible; MxToolbox/Beta7; http://www.mxtoolbox.com/)' + readable: 'MxToolbox 7' + result: { browser: { name: MxToolbox, version: Beta7 }, device: { type: bot } } +- + headers: 'User-Agent: CCBot/2.0 (http://commoncrawl.org/faq/)' + readable: 'Common Crawl Bot 2.0' + result: { browser: { name: 'Common Crawl Bot', version: '2.0' }, device: { type: bot } } +- + headers: 'User-Agent: CCResearchBot/1.0 commoncrawl.org/research//Nutch-1.7-SNAPSHOT' + readable: 'Common Crawl Research Bot 1.0' + result: { browser: { name: 'Common Crawl Research Bot', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; redditbot/1.0; +http://www.reddit.com/feedback)' + readable: 'Reddit Bot 1.0' + result: { browser: { name: 'Reddit Bot', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/4.0 (compatible; Netcraft Web Server Survey)' + readable: 'Netcraft Web Server Survey Bot' + result: { browser: { name: 'Netcraft Web Server Survey Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; NetcraftSurveyAgent/1.0; +info@netcraft.com)' + readable: 'Netcraft Survey Agent Bot 1.0' + result: { browser: { name: 'Netcraft Survey Agent Bot', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: NETCRAFT' + readable: 'Netcraft Bot' + result: { browser: { name: 'Netcraft Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Netcraft SSL Server Survey - contact info@netcraft.com)' + readable: 'Netcraft SSL Server Survey Bot' + result: { browser: { name: 'Netcraft SSL Server Survey Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Netcraft SSL Server Survey - contact info@netcraft.com' + readable: 'Netcraft SSL Server Survey Bot' + result: { browser: { name: 'Netcraft SSL Server Survey Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Netcraft SSL Server Survey' + readable: 'Netcraft SSL Server Survey Bot' + result: { browser: { name: 'Netcraft SSL Server Survey Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Embed PHP library' + readable: 'Embed PHP Library' + result: { browser: { name: 'Embed PHP Library' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; BLEXBot/1.0; +http://webmeup-crawler.com/)' + readable: 'Blex Bot 1.0' + result: { browser: { name: 'Blex Bot', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; BLEXBotTest/1.0; +http://webmeup.com/crawler.html)' + readable: 'Blex Test Bot 1.0' + result: { browser: { name: 'Blex Test Bot', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: DomainStatsBot/1.0 (https://domainstats.com/pages/our-bot)' + readable: 'Domain Stats Bot 1.0' + result: { browser: { name: 'Domain Stats Bot', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; SEOkicks-Robot; +http://www.seokicks.de/robot.html)' + readable: 'SEOkicks Bot' + result: { browser: { name: 'SEOkicks Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; MegaIndex.ru/2.0; +http://megaindex.com/crawler)' + readable: 'Mega Index Bot 2.0' + result: { browser: { name: 'Mega Index Bot', version: '2.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; LinkpadBot/2.3; +http://linkpad.org/robot/)' + readable: 'Linkpad Bot 2.3' + result: { browser: { name: 'Linkpad Bot', version: '2.3' }, device: { type: bot } } +- + headers: 'User-Agent: SearchAtlas.com SEO Crawler' + readable: 'Search Atlas Bot' + result: { browser: { name: 'Search Atlas Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Dataprovider.com)' + readable: 'Dataprovider Bot' + result: { browser: { name: 'Dataprovider Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)' + readable: 'Ahrefs Bot 7.0' + result: { browser: { name: 'Ahrefs Bot', version: '7.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; AhrefsBot/6.1; +http://ahrefs.com/robot/)' + readable: 'Ahrefs Bot 6.1' + result: { browser: { name: 'Ahrefs Bot', version: '6.1' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; AhrefsBot/2.0; +http://ahrefs.com/robot/)' + readable: 'Ahrefs Bot 2.0' + result: { browser: { name: 'Ahrefs Bot', version: '2.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; AhrefsBot/7.0; News; +http://ahrefs.com/robot/)' + readable: 'Ahrefs News Bot 7.0' + result: { browser: { name: 'Ahrefs News Bot', version: '7.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; AhrefsBot/5.2; News; +http://ahrefs.com/robot/)' + readable: 'Ahrefs News Bot 5.2' + result: { browser: { name: 'Ahrefs News Bot', version: '5.2' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; AhrefsBot/7.0; SA; +http://ahrefs.com/robot/)' + readable: 'Ahrefs SA Bot 7.0' + result: { browser: { name: 'Ahrefs SA Bot', version: '7.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; AhrefsSiteAudit/6.1; +http://ahrefs.com/robot/)' + readable: 'Ahrefs Site Audit Bot 6.1' + result: { browser: { name: 'Ahrefs Site Audit Bot', version: '6.1' }, device: { type: bot } } +- + headers: 'User-Agent: AhrefsBot.Feeds v0.1; http://ahrefs.com/' + readable: 'Ahrefs Feeds Bot 0.1' + result: { browser: { name: 'Ahrefs Feeds Bot', version: '0.1' }, device: { type: bot } } +- + headers: 'User-Agent: serpstatbot/1.0 (advanced backlink tracking bot; curl/7.58.0; http://serpstatbot.com/; abuse@serpstatbot.com)' + readable: 'Serp Stat 1.0' + result: { browser: { name: 'Serp Stat', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)' + readable: 'Majestic MJ12 Bot 1.4.8' + result: { browser: { name: 'Majestic MJ12 Bot', version: 1.4.8 }, device: { type: bot } } +- + headers: 'User-Agent: mj12bot' + readable: 'Majestic MJ12 Bot' + result: { browser: { name: 'Majestic MJ12 Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)' + readable: 'Apple Bot 0.1' + result: { browser: { name: 'Apple Bot', version: '0.1' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Applebot/0.3; +http://www.apple.com/go/applebot)' + readable: 'Apple Bot 0.3' + result: { browser: { name: 'Apple Bot', version: '0.3' }, device: { type: bot } } +- + headers: 'User-Agent: AppleNewsBot' + readable: 'Apple News Bot' + result: { browser: { name: 'Apple News Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Gowikibot/1.0; +http://www.gowikibot.com)' + readable: 'Gowikibot 1.0' + result: { browser: { name: Gowikibot, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36 TinEye/1.0 (via http://www.tineye.com/)' + readable: 'TinEye Bot 1.0' + result: { browser: { name: 'TinEye Bot', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; TinEye-bot/1.31; +http://www.tineye.com/crawler.html)' + readable: 'TinEye Bot 1.31' + result: { browser: { name: 'TinEye Bot', version: '1.31' }, device: { type: bot } } +- + headers: 'User-Agent: psbot/0.1 (+http://www.picsearch.com/bot.html)' + readable: 'Picsearch Bot 0.1' + result: { browser: { name: 'Picsearch Bot', version: '0.1' }, device: { type: bot } } +- + headers: 'User-Agent: psbot-page (+http://www.picsearch.com/bot.html)' + readable: 'Picsearch Bot' + result: { browser: { name: 'Picsearch Bot' }, device: { type: bot } } +- + headers: 'User-Agent: psbot-image (+http://www.picsearch.com/bot.html)' + readable: 'Picsearch Bot' + result: { browser: { name: 'Picsearch Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Firefox/38.0 (IndeedBot 1.1)' + readable: 'IndeedBot 1.1' + result: { browser: { name: IndeedBot, version: '1.1' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; YioopBot; +https://www.yioop.com/bot.php)' + readable: 'Yioop Bot' + result: { browser: { name: 'Yioop Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; DuckDuckBot-Https/1.1; https://duckduckgo.com/duckduckbot)' + readable: 'DuckDuckGo Https Bot 1.1' + result: { browser: { name: 'DuckDuckGo Https Bot', version: '1.1' }, device: { type: bot } } +- + headers: 'User-Agent: DuckDuckBot/1.1; (+http://duckduckgo.com/duckduckbot.html)' + readable: 'DuckDuckGo Bot 1.1' + result: { browser: { name: 'DuckDuckGo Bot', version: '1.1' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; DuckDuckGo-Favicons-Bot/1.0; +http://duckduckgo.com)' + readable: 'DuckDuckGo Favicons Bot 1.0' + result: { browser: { name: 'DuckDuckGo Favicons Bot', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)' + readable: 'Node Fetch 1.0' + result: { browser: { name: 'Node Fetch', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Go-http-client/1.1' + readable: 'Go Http Client 1.1' + result: { browser: { name: 'Go Http Client', version: '1.1' }, device: { type: bot } } +- + headers: 'User-Agent: go-httpclient v0.5.1' + readable: 'Go Http Client 0.5.1' + result: { browser: { name: 'Go Http Client', version: 0.5.1 }, device: { type: bot } } +- + headers: 'User-Agent: bl.uk_lddc_bot/3.4.0-20200518 (+http://www.bl.uk/aboutus/legaldeposit/websites/websites/faqswebmaster/index.html)' + readable: 'British Library 3.4.0' + result: { browser: { name: 'British Library', version: 3.4.0 }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; SputnikFaviconBot/1.2; +http://corp.sputnik.ru/webmaster)' + readable: 'Sputnik Favicon Bot 1.2' + result: { browser: { name: 'Sputnik Favicon Bot', version: '1.2' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; SputnikBot/2.3; +http://corp.sputnik.ru/webmaster)' + readable: 'Sputnik Bot 2.3' + result: { browser: { name: 'Sputnik Bot', version: '2.3' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; SputnikImageBot/2.3; +http://corp.sputnik.ru/webmaster)' + readable: 'Sputnik Image Bot 2.3' + result: { browser: { name: 'Sputnik Image Bot', version: '2.3' }, device: { type: bot } } +- + headers: 'User-Agent: DMCA.com Page Protection Crawling Service' + readable: DMCA + result: { browser: { name: DMCA }, device: { type: bot } } +- + headers: 'User-Agent: Made by ZmEu @ WhiteHat Team – http://www.whitehat.ro' + readable: ZmEu + result: { browser: { name: ZmEu }, device: { type: bot } } +- + headers: 'User-Agent: netEstate NE Crawler (+http://www.website-datenbank.de/)' + readable: 'netEstate NE Crawler' + result: { browser: { name: 'netEstate NE Crawler' }, device: { type: bot } } +- + headers: 'User-Agent: Gofeed/1.0' + readable: 'Gofeed 1.0' + result: { browser: { name: Gofeed, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: istellabot/t.1.13' + readable: 'Istellabot 1.13' + result: { browser: { name: Istellabot, version: '1.13' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 YisouSpider/5.0 Safari/537.36' + readable: 'Yisou Spider 5.0' + result: { browser: { name: 'Yisou Spider', version: '5.0' }, device: { type: bot } } +- + headers: 'User-Agent: YisouSpider' + readable: 'Yisou Spider' + result: { browser: { name: 'Yisou Spider' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; LetsearchBot/1.0; +https://letsearch.ru/bots)' + readable: 'LetsearchBot 1.0' + result: { browser: { name: LetsearchBot, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Seeker v.1 http://LookSeek.com/seeker/' + readable: 'LookSeek 1' + result: { browser: { name: LookSeek, version: '1' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; vuhuvBot/1.0; +http://vuhuv.com/bot.html)' + readable: 'VuhuvBot 1.0' + result: { browser: { name: VuhuvBot, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Seekport Crawler; http://seekport.com/)' + readable: 'Seekport Crawler' + result: { browser: { name: 'Seekport Crawler' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; coccocbot-web/1.0; +http://help.coccoc.com/searchengine)' + readable: 'Coccocbot Web 1.0' + result: { browser: { name: 'Coccocbot Web', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; coccocbot-image/1.0; +http://help.coccoc.com/searchengine)' + readable: 'Coccocbot Image 1.0' + result: { browser: { name: 'Coccocbot Image', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Clarabot/1.4; +http://www.clarabot.info/bots)' + readable: 'Clarabot 1.4' + result: { browser: { name: Clarabot, version: '1.4' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; MojeekBot/0.9; +https://www.mojeek.com/bot.html)' + readable: 'MojeekBot 0.9' + result: { browser: { name: MojeekBot, version: '0.9' }, device: { type: bot } } +- + headers: 'User-Agent: Xenu Link Sleuth/1.3.9 beta' + readable: 'Xenu Link Sleuth 1.3.9' + result: { browser: { name: 'Xenu Link Sleuth', version: 1.3.9 }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Adsbot/3.1)' + readable: 'Adsbot 3.1' + result: { browser: { name: Adsbot, version: '3.1' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Barkrowler/0.9; +https://babbar.tech/crawler)' + readable: 'Barkrowler 0.9' + result: { browser: { name: Barkrowler, version: '0.9' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; VelenPublicWebCrawler/1.0; +https://velen.io)' + readable: 'VelenPublicWebCrawler 1.0' + result: { browser: { name: VelenPublicWebCrawler, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; evc-batch/2.0)' + readable: 'Evc-batch 2.0' + result: { browser: { name: Evc-batch, version: '2.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; AspiegelBot)' + readable: 'Petal Bot' + result: { browser: { name: 'Petal Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://aspiegel.com/petalbot)' + readable: 'Petal Bot' + result: { browser: { name: 'Petal Bot' }, device: { type: bot } } +- + headers: 'User-Agent: (compatible;PetalBot;+https://aspiegel.com/petalbot)' + readable: 'Petal Bot' + result: { browser: { name: 'Petal Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (iodc; odysseus 24842-138-041020155614-449; +https://iodc.co.uk)' + readable: Iodc + result: { browser: { name: Iodc }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; IODC-Odysseus Survey 46182-100-271115114504-101; +https://iodc.co.uk)' + readable: Iodc + result: { browser: { name: Iodc }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (X11; Datanyze; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36' + readable: Datanyze + result: { browser: { name: Datanyze }, device: { type: bot } } +- + headers: 'User-Agent: okhttp/3.4.1' + readable: 'OkHttp 3.4.1' + result: { browser: { name: OkHttp, version: 3.4.1 }, device: { type: bot } } +- + headers: 'User-Agent: AbtestCenter-okhttp/1.0' + readable: 'OkHttp 1.0' + result: { browser: { name: OkHttp, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) SkypeUriPreview Preview/0.5' + readable: 'Skype Url Preview 0.5' + result: { browser: { name: 'Skype Url Preview', version: '0.5' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; BuzzSumo; +http://www.buzzsumo.com/bot.html)' + readable: BuzzSumo + result: { browser: { name: BuzzSumo }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; U; Hootsuite-WebFeed/1.0; mailto:abuse@hootsuite.com)' + readable: 'HootSuite 1.0' + result: { browser: { name: HootSuite, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: HootSuite Image proxy (hosting@hootsuite.com)' + readable: HootSuite + result: { browser: { name: HootSuite }, device: { type: bot } } +- + headers: 'User-Agent: MindsMediaProxy/3.0 (+http://www.minds.com/)' + readable: 'Minds 3.0' + result: { browser: { name: Minds, version: '3.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; PlurkBot/1.0; +https://www.plurk.com/) Firefox/61.0' + readable: 'Plurk Bot 1.0' + result: { browser: { name: 'Plurk Bot', version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; blogger.com)' + readable: 'Blogger Bot' + result: { browser: { name: 'Blogger Bot' }, device: { type: bot } } +- + headers: 'User-Agent: Mediumbot-MetaTagFetcher/0.3 (+https://medium.com/)' + readable: 'Medium Bot 0.3' + result: { browser: { name: 'Medium Bot', version: '0.3' }, device: { type: bot } } +- + headers: 'User-Agent: Mediumbot-ProxyFetcher/0.1 (+https://medium.com/)' + readable: 'Medium Bot 0.1' + result: { browser: { name: 'Medium Bot', version: '0.1' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; HubSpot Crawler; web-crawlers@hubspot.com)' + readable: 'HubSpot Crawler' + result: { browser: { name: 'HubSpot Crawler' }, device: { type: bot } } +- + headers: 'User-Agent: OdklBot/1.0 (share@odnoklassniki.ru)' + readable: 'OdklBot 1.0' + result: { browser: { name: OdklBot, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; OdklBot/1.0 like Linux; klass@odnoklassniki.ru)' + readable: 'OdklBot 1.0' + result: { browser: { name: OdklBot, version: '1.0' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Daum/4.1; +http://cs.daum.net/faq/15/4118.html?faqId=28966)' + readable: 'Daum 4.1' + result: { browser: { name: Daum, version: '4.1' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; vkShare; +http://vk.com/dev/Share)' + readable: vkShare + result: { browser: { name: vkShare }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.0 Safari/537.36 (compatible; Linespider/1.1; +https://lin.ee/4dwXkTH)' + readable: 'Line Bot 1.1' + result: { browser: { name: 'Line Bot', version: '1.1' }, device: { type: bot } } +- + headers: 'User-Agent: httpunit/1.5' + readable: 'HttpUnit 1.5' + result: { browser: { name: HttpUnit, version: '1.5' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon' + readable: 'Google Favicon' + result: { browser: { name: 'Google Favicon' }, device: { type: bot } } +- + headers: 'User-Agent: Mozilla/5.0 zgrab/0.x' + readable: Zgrab + result: { browser: { name: Zgrab }, device: { type: bot } } \ No newline at end of file diff --git a/test/data/desktop/browser-chrome.yaml b/test/data/desktop/browser-chrome.yaml index 22a587a..2d8744b 100644 --- a/test/data/desktop/browser-chrome.yaml +++ b/test/data/desktop/browser-chrome.yaml @@ -63,10 +63,14 @@ result: { browser: { name: Chrome, version: '10', type: browser }, engine: { name: Webkit, version: '534.16' }, os: { name: Linux }, device: { type: desktop } } readable: 'Chrome 10 on Linux' - - headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36' - result: { browser: { name: Chrome, version: '61', type: browser }, engine: { name: Blink }, os: { alias: macOS, name: 'OS X', version: { nickname: Sierra, value: '10.12' } }, device: { manufacturer: Apple, model: Macintosh, type: desktop } } - readable: 'Chrome 61 on macOS Sierra 10.12' + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36' + result: { browser: { name: Chrome, version: '87', type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '11.0', nickname: 'Big Sur' } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } + readable: 'Chrome 87 on macOS Big Sur 11.0' - - headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36' - result: { browser: { name: Chrome, version: '65', type: browser }, engine: { name: Blink }, os: { alias: macOS, name: 'OS X', version: { nickname: 'High Sierra', value: '10.13' } }, device: { manufacturer: Apple, model: Macintosh, type: desktop } } - readable: 'Chrome 65 on macOS High Sierra 10.13' + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36' + readable: 'Chrome 100 on macOS' + result: { browser: { name: Chrome, version: '100', type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' + readable: 'Chrome 123 on macOS' + result: { browser: { name: Chrome, version: '123', type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } \ No newline at end of file diff --git a/test/data/desktop/browser-edge.yaml b/test/data/desktop/browser-edge.yaml index 2143d0e..7f9e100 100644 --- a/test/data/desktop/browser-edge.yaml +++ b/test/data/desktop/browser-edge.yaml @@ -37,4 +37,8 @@ - headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3782.0 Safari/537.36 Edg/76.0.152.0' readable: 'Edge 76 on macOS Mojave 10.14' - result: { browser: { name: Edge, family: { name: Chrome, version: 76 }, version: '76', type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '10.14', nickname: Mojave } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } \ No newline at end of file + result: { browser: { name: Edge, family: { name: Chrome, version: 76 }, version: '76', type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '10.14', nickname: Mojave } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0' + readable: 'Edge 123 on macOS' + result: { browser: { name: Edge, family: { name: Chrome, version: 123 }, version: '123', type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } \ No newline at end of file diff --git a/test/data/desktop/browser-firefox.yaml b/test/data/desktop/browser-firefox.yaml index 1fc8aa8..116ce48 100644 --- a/test/data/desktop/browser-firefox.yaml +++ b/test/data/desktop/browser-firefox.yaml @@ -254,3 +254,11 @@ headers: 'User-Agent: Mozilla/5.0 (X11; U; Darwin i386; en-US; rv:1.9.1.4) Gecko/20100311 Shiretoko/3.5.5' readable: 'Firefox Shiretoko 3.5.5 on Darwin' result: { browser: { name: Firefox, version: 3.5.5, type: browser }, engine: { name: Gecko, version: 1.9.1 }, os: { name: Darwin }, device: { type: desktop } } +- + headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0" + readable: "Firefox 100.0 on Windows 10" + result: { browser: { name: Firefox, version: "100.0", type: browser }, engine: { name: Gecko, version: "100.0" }, os: { name: Windows, version: { alias: "10", value: "10.0" } }, device: { type: desktop } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0' + readable: 'Firefox 123.0 on macOS' + result: { browser: { name: Firefox, version: '123.0', type: browser }, engine: { name: Gecko, version: '123.0' }, os: { name: 'OS X', alias: macOS }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } \ No newline at end of file diff --git a/test/data/desktop/browser-flow.yaml b/test/data/desktop/browser-flow.yaml new file mode 100644 index 0000000..9a75722 --- /dev/null +++ b/test/data/desktop/browser-flow.yaml @@ -0,0 +1,12 @@ +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) EkiohFlow/5.10.0.32202 Flow/5.10.0 (like Gecko Firefox/62.0 rv:62.0)' + result: { browser: { name: Flow, version: 5.10.0, type: browser }, engine: { name: EkiohFlow, version: 5.10.0.32202 }, os: { name: 'OS X', alias: macOS, version: { value: '10.15', nickname: Catalina } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } + readable: 'Flow 5.10.0 on macOS Catalina 10.15' +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) EkiohFlow/5.9.4.32015 Flow/5.9.4 (like Gecko Firefox/53.0 rv:53.0)' + result: { browser: { name: Flow, version: 5.9.4, type: browser }, engine: { name: EkiohFlow, version: 5.9.4.32015 }, os: { name: 'OS X', alias: macOS, version: { value: '10.15', nickname: Catalina } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } + readable: 'Flow 5.9.4 on macOS Catalina 10.15' +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) EkiohFlow/5.9.4.32015M Flow/5.9.4 (like Gecko Firefox/53.0 rv:53.0)' + result: { browser: { name: 'Flow Nightly Build', type: browser }, engine: { name: EkiohFlow, version: 5.9.4.32015 }, os: { name: 'OS X', alias: macOS, version: { value: '10.15', nickname: Catalina } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } + readable: 'Flow Nightly Build on macOS Catalina 10.15' \ No newline at end of file diff --git a/test/data/desktop/browser-other.yaml b/test/data/desktop/browser-other.yaml index c905737..bf5b8f0 100644 --- a/test/data/desktop/browser-other.yaml +++ b/test/data/desktop/browser-other.yaml @@ -1,140 +1,1737 @@ -- - headers: 'User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; Avant Browser; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; CPDTDF; Avant Browser)' - result: { browser: { name: 'Avant Browser', type: browser }, engine: { name: Trident, version: '4.0' }, os: { name: Windows, version: { value: '6.1', alias: '7' } }, device: { type: desktop, manufacturer: Compaq } } - readable: 'Avant Browser on Windows 7' -- - headers: 'User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; Avant Browser)' - result: { browser: { name: 'Avant Browser', type: browser }, engine: { name: Trident, version: '6.0' }, os: { name: Windows, version: { value: '6.2', alias: '8' } }, device: { type: desktop } } - readable: 'Avant Browser on Windows 8' -- - headers: 'User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.2; Trident/5.0; SlimBrowser)' - result: { browser: { name: SlimBrowser, type: browser }, engine: { name: Trident, version: '5.0' }, os: { name: Windows, version: { value: '6.2', alias: '8' } }, device: { type: desktop } } - readable: 'SlimBrowser on Windows 8' -- - headers: 'User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; SlimBrowser/7.00.061)' - result: { browser: { name: SlimBrowser, version: 7.00.061, type: browser }, engine: { name: Trident, version: '4.0' }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: 'SlimBrowser 7.00.061 on Windows XP' -- - headers: 'User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; BTRS122335; 126BROWSER; .NET CLR 2.0.50727)' - result: { browser: { name: '126 Browser', type: browser }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: '126 Browser on Windows XP' -- - headers: 'User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; TheWorld)' - result: { browser: { name: 'The World', type: browser }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: 'The World on Windows XP' -- - headers: 'User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Shuame; TheWorld 6)' - result: { browser: { name: 'The World', version: '6', type: browser }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: 'The World 6 on Windows XP' -- - headers: 'User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; TheWorld)' - result: { browser: { name: 'The World', type: browser }, engine: { name: Trident, version: '4.0' }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: 'The World on Windows XP' -- - headers: 'User-Agent: Mozilla/5.0 (N; Windows NT 5.1) AppleWebKit/534.34 (KHTML, like Gecko) Raptr Safari/534.34' - result: { browser: { name: Raptr, type: 'app:game' }, engine: { name: Webkit, version: '534.34' }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: 'Raptr on Windows XP' -- - headers: 'User-Agent: Mozilla/5.0 (N; Windows NT 6.2; WOW64) AppleWebKit/534.34 (KHTML, like Gecko) Raptr Safari/534.34' - result: { browser: { name: Raptr, type: 'app:game' }, engine: { name: Webkit, version: '534.34' }, os: { name: Windows, version: { value: '6.2', alias: '8' } }, device: { type: desktop } } - readable: 'Raptr on Windows 8' -- - headers: 'User-Agent: Mozilla/5.0 (Macintosh; PPC Mac OS X 10.4; rv:10.0.10) Gecko/20121024 Firefox/10.0.10 TenFourFox/7450' - result: { browser: { name: TenFourFox, family: { name: Firefox, version: 10.0.10 }, type: browser }, engine: { name: Gecko, version: 10.0.10 }, os: { name: 'OS X', alias: 'Mac OS X', version: '10.4' }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } - readable: 'TenFourFox on Mac OS X 10.4' -- - headers: 'User-Agent: Mozilla/5.0 (Macintosh; PPC Mac OS X 10.5; rv:5.0) Gecko/20110616 Firefox/5.0 TenFourFox/G5' - result: { browser: { name: TenFourFox, family: { name: Firefox, version: '5.0' }, type: browser }, engine: { name: Gecko, version: '5.0' }, os: { name: 'OS X', alias: 'Mac OS X', version: '10.5' }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } - readable: 'TenFourFox on Mac OS X 10.5' -- - headers: 'User-Agent: Mozilla/5.0 (Macintosh; PPC Mac OS X 10.5; rv:38.0) Gecko/20100101 Firefox/38.0 TenFourFox/7400' - result: { browser: { name: TenFourFox, family: { name: Firefox, version: '38.0' }, type: browser }, engine: { name: Gecko, version: '38.0' }, os: { name: 'OS X', alias: 'Mac OS X', version: '10.5' }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } - readable: 'TenFourFox on Mac OS X 10.5' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 7Star/1.45.0.407 Safari/537.36' - result: { browser: { name: 7Star, family: { name: Chrome, version: 45 }, version: 1.45.0.407, type: browser }, engine: { name: Blink }, os: { name: Windows, version: { value: '6.1', alias: '7' } }, device: { type: desktop } } - readable: '7Star 1.45.0.407 on Windows 7' -- - headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Iridium/43.8 Safari/537.36 Chrome/43.0.2357.132' - result: { browser: { name: Iridium, family: { name: Chrome, version: 43 }, version: '43.8', type: browser }, engine: { name: Blink }, os: { name: 'OS X', version: { value: '10.11', nickname: 'El Capitan' } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } - readable: 'Iridium 43.8 on OS X El Capitan 10.11' -- - headers: 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Iridium/41.2 Safari/537.36 Chrome/41.0.2272.118' - result: { browser: { name: Iridium, family: { name: Chrome, version: 41 }, version: '41.2', type: browser }, engine: { name: Blink }, os: { name: Linux }, device: { type: desktop } } - readable: 'Iridium 41.2 on Linux' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36 2345Explorer/6.1.0.8495' - result: { browser: { name: '2345 Explorer', family: { name: Chrome, version: 39 }, version: 6.1.0, type: browser }, engine: { name: Blink }, os: { name: Windows, version: { value: '10.0', alias: '10' } }, device: { type: desktop } } - readable: '2345 Explorer 6.1.0 on Windows 10' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.69 Safari/537.36 2345chrome v2.5.0.4435' - result: { browser: { name: '2345 Chrome', family: { name: Chrome, version: 31 }, version: 2.5.0, type: browser }, engine: { name: Blink }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: '2345 Chrome 2.5.0 on Windows XP' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36 2345Explorer v6.0.0.7505' - result: { browser: { name: '2345 Explorer', family: { name: Chrome, version: 39 }, version: 6.0.0, type: browser }, engine: { name: Blink }, os: { name: Windows, version: { value: '6.1', alias: '7' } }, device: { type: desktop } } - readable: '2345 Explorer 6.0.0 on Windows 7' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36 2345chrome v3.0.0.6668' - result: { browser: { name: '2345 Chrome', family: { name: Chrome, version: 39 }, version: 3.0.0, type: browser }, engine: { name: Blink }, os: { name: Windows, version: { value: '6.1', alias: '7' } }, device: { type: desktop } } - readable: '2345 Chrome 3.0.0 on Windows 7' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 Swing/2.4.2.0' - result: { browser: { name: 'Swing Browser', family: { name: Chrome, version: 35 }, version: 2.4.2, type: browser }, engine: { name: Blink }, os: { name: Windows, version: { value: '10.0', alias: '10' } }, device: { type: desktop } } - readable: 'Swing Browser 2.4.2 on Windows 10' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 Swing/2.5.0.3' - result: { browser: { name: 'Swing Browser', family: { name: Chrome, version: 35 }, version: 2.5.0, type: browser }, engine: { name: Blink }, os: { name: Windows, version: { value: '10.0', alias: '10' } }, device: { type: desktop } } - readable: 'Swing Browser 2.5.0 on Windows 10' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22 Swing/1.0.0.40' - result: { browser: { name: 'Swing Browser', family: { name: Chrome, version: 25 }, version: 1.0.0, type: browser }, engine: { name: Webkit, version: '537.22' }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: 'Swing Browser 1.0.0 on Windows XP' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22 Swing/1.1.2.0' - result: { browser: { name: 'Swing Browser', family: { name: Chrome, version: 25 }, version: 1.1.2, type: browser }, engine: { name: Webkit, version: '537.22' }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: 'Swing Browser 1.1.2 on Windows XP' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22 Swing/1.3.2.0' - result: { browser: { name: 'Swing Browser', family: { name: Chrome, version: 25 }, version: 1.3.2, type: browser }, engine: { name: Webkit, version: '537.22' }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: 'Swing Browser 1.3.2 on Windows XP' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 Swing/2.4.2.0' - result: { browser: { name: 'Swing Browser', family: { name: Chrome, version: 35 }, version: 2.4.2, type: browser }, engine: { name: Blink }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: 'Swing Browser 2.4.2 on Windows XP' -- - headers: 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.34 Safari/534.24 Swing(And)/1.10.5.0' - result: { browser: { name: 'Swing Browser', family: { name: Chrome, version: 11 }, version: 1.10.5, type: browser }, engine: { name: Webkit, version: '534.24' }, os: { name: Linux }, device: { type: desktop } } - readable: 'Swing Browser 1.10.5 on Linux' -- - headers: 'User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Otter/0.9.08' - result: { browser: { name: Otter, family: { name: Chrome, version: 40 }, version: 0.9.08, type: browser }, engine: { name: Blink }, os: { name: Linux }, device: { type: desktop } } - readable: 'Otter 0.9.08 on Linux' -- - headers: 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Otter/0.9.07' - result: { browser: { name: Otter, family: { name: Chrome, version: 40 }, version: 0.9.07, type: browser }, engine: { name: Blink }, os: { name: Linux }, device: { type: desktop } } - readable: 'Otter 0.9.07 on Linux' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 TungstenBrowser/2.0' - result: { browser: { name: 'Tungsten Browser', family: { name: Chrome, version: 44 }, version: '2.0', type: browser }, engine: { name: Blink }, os: { name: Windows, version: { value: '10.0', alias: '10' } }, device: { type: desktop } } - readable: 'Tungsten Browser 2.0 on Windows 10' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Beamrise/29.3.0.6900 Safari/537.36' - result: { browser: { name: Beamrise, family: { name: Chrome, version: 29 }, version: 29.3.0.6900, type: browser }, engine: { name: Blink }, os: { name: Windows, version: { value: '6.1', alias: '7' } }, device: { type: desktop } } - readable: 'Beamrise 29.3.0.6900 on Windows 7' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 115Browser/5.1.6' - result: { browser: { name: '115 Browser', family: { name: Chrome, version: 31 }, version: 5.1.6, type: browser }, engine: { name: Blink }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: '115 Browser 5.1.6 on Windows XP' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 115Browser/5.2.2' - result: { browser: { name: '115 Browser', family: { name: Chrome, version: 31 }, version: 5.2.2, type: browser }, engine: { name: Blink }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } - readable: '115 Browser 5.2.2 on Windows XP' -- - headers: 'User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1 115Chrome/1.0.3' - result: { browser: { name: '115 Chrome', family: { name: Chrome, version: 21 }, version: 1.0.3, type: browser }, engine: { name: Webkit, version: '537.1' }, os: { name: Windows, version: { value: '6.1', alias: '7' } }, device: { type: desktop } } - readable: '115 Chrome 1.0.3 on Windows 7' -- - headers: 'User-Agent: Mozilla/4.0 (compatible; Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; Acoo Browser; .NET CLR 1.1.4322; .NET CLR 2.0.50727); Windows NT 5.1; Trident/4.0; Maxthon; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.2)' - readable: 'Acoo Browser on Windows XP' - result: { browser: { name: 'Acoo Browser', type: browser }, engine: { name: Trident, version: '4.0' }, os: { name: Windows, version: { value: '5.1', alias: XP } }, device: { type: desktop } } +- headers: "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; Avant Browser; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; CPDTDF; Avant Browser)" + result: + { + browser: { name: "Avant Browser", type: browser }, + engine: { name: Trident, version: "4.0" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop, manufacturer: Compaq }, + } + readable: "Avant Browser on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; Avant Browser)" + result: + { + browser: { name: "Avant Browser", type: browser }, + engine: { name: Trident, version: "6.0" }, + os: { name: Windows, version: { value: "6.2", alias: "8" } }, + device: { type: desktop }, + } + readable: "Avant Browser on Windows 8" +- headers: "User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.2; Trident/5.0; SlimBrowser)" + result: + { + browser: { name: SlimBrowser, type: browser }, + engine: { name: Trident, version: "5.0" }, + os: { name: Windows, version: { value: "6.2", alias: "8" } }, + device: { type: desktop }, + } + readable: "SlimBrowser on Windows 8" +- headers: "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; SlimBrowser/7.00.061)" + result: + { + browser: { name: SlimBrowser, version: 7.00.061, type: browser }, + engine: { name: Trident, version: "4.0" }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "SlimBrowser 7.00.061 on Windows XP" +- headers: "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; BTRS122335; 126BROWSER; .NET CLR 2.0.50727)" + result: + { + browser: { name: "126 Browser", type: browser }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "126 Browser on Windows XP" +- headers: "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; TheWorld)" + result: + { + browser: { name: "The World", type: browser }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "The World on Windows XP" +- headers: "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Shuame; TheWorld 6)" + result: + { + browser: { name: "The World", version: "6", type: browser }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "The World 6 on Windows XP" +- headers: "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; TheWorld)" + result: + { + browser: { name: "The World", type: browser }, + engine: { name: Trident, version: "4.0" }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "The World on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (N; Windows NT 5.1) AppleWebKit/534.34 (KHTML, like Gecko) Raptr Safari/534.34" + result: + { + browser: { name: Raptr, type: "app:game" }, + engine: { name: Webkit, version: "534.34" }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Raptr on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (N; Windows NT 6.2; WOW64) AppleWebKit/534.34 (KHTML, like Gecko) Raptr Safari/534.34" + result: + { + browser: { name: Raptr, type: "app:game" }, + engine: { name: Webkit, version: "534.34" }, + os: { name: Windows, version: { value: "6.2", alias: "8" } }, + device: { type: desktop }, + } + readable: "Raptr on Windows 8" +- headers: "User-Agent: Mozilla/5.0 (Macintosh; PPC Mac OS X 10.4; rv:10.0.10) Gecko/20121024 Firefox/10.0.10 TenFourFox/7450" + result: + { + browser: + { + name: TenFourFox, + family: { name: Firefox, version: 10.0.10 }, + type: browser, + }, + engine: { name: Gecko, version: 10.0.10 }, + os: { name: "OS X", alias: "Mac OS X", version: "10.4" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } + readable: "TenFourFox on Mac OS X 10.4" +- headers: "User-Agent: Mozilla/5.0 (Macintosh; PPC Mac OS X 10.5; rv:5.0) Gecko/20110616 Firefox/5.0 TenFourFox/G5" + result: + { + browser: + { + name: TenFourFox, + family: { name: Firefox, version: "5.0" }, + type: browser, + }, + engine: { name: Gecko, version: "5.0" }, + os: { name: "OS X", alias: "Mac OS X", version: "10.5" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } + readable: "TenFourFox on Mac OS X 10.5" +- headers: "User-Agent: Mozilla/5.0 (Macintosh; PPC Mac OS X 10.5; rv:38.0) Gecko/20100101 Firefox/38.0 TenFourFox/7400" + result: + { + browser: + { + name: TenFourFox, + family: { name: Firefox, version: "38.0" }, + type: browser, + }, + engine: { name: Gecko, version: "38.0" }, + os: { name: "OS X", alias: "Mac OS X", version: "10.5" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } + readable: "TenFourFox on Mac OS X 10.5" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 7Star/1.45.0.407 Safari/537.36" + result: + { + browser: + { + name: 7Star, + family: { name: Chrome, version: 45 }, + version: 1.45.0.407, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "7Star 1.45.0.407 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Iridium/43.8 Safari/537.36 Chrome/43.0.2357.132" + result: + { + browser: + { + name: Iridium, + family: { name: Chrome, version: 43 }, + version: "43.8", + type: browser, + }, + engine: { name: Blink }, + os: { name: "OS X", version: { value: "10.11", nickname: "El Capitan" } }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } + readable: "Iridium 43.8 on OS X El Capitan 10.11" +- headers: "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Iridium/41.2 Safari/537.36 Chrome/41.0.2272.118" + result: + { + browser: + { + name: Iridium, + family: { name: Chrome, version: 41 }, + version: "41.2", + type: browser, + }, + engine: { name: Blink }, + os: { name: Linux }, + device: { type: desktop }, + } + readable: "Iridium 41.2 on Linux" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36 2345Explorer/6.1.0.8495" + result: + { + browser: + { + name: "2345 Explorer", + family: { name: Chrome, version: 39 }, + version: 6.1.0, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } + readable: "2345 Explorer 6.1.0 on Windows 10" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.69 Safari/537.36 2345chrome v2.5.0.4435" + result: + { + browser: + { + name: "2345 Chrome", + family: { name: Chrome, version: 31 }, + version: 2.5.0, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "2345 Chrome 2.5.0 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36 2345Explorer v6.0.0.7505" + result: + { + browser: + { + name: "2345 Explorer", + family: { name: Chrome, version: 39 }, + version: 6.0.0, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "2345 Explorer 6.0.0 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36 2345chrome v3.0.0.6668" + result: + { + browser: + { + name: "2345 Chrome", + family: { name: Chrome, version: 39 }, + version: 3.0.0, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "2345 Chrome 3.0.0 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 Swing/2.4.2.0" + result: + { + browser: + { + name: "Swing Browser", + family: { name: Chrome, version: 35 }, + version: 2.4.2, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } + readable: "Swing Browser 2.4.2 on Windows 10" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 Swing/2.5.0.3" + result: + { + browser: + { + name: "Swing Browser", + family: { name: Chrome, version: 35 }, + version: 2.5.0, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } + readable: "Swing Browser 2.5.0 on Windows 10" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22 Swing/1.0.0.40" + result: + { + browser: + { + name: "Swing Browser", + family: { name: Chrome, version: 25 }, + version: 1.0.0, + type: browser, + }, + engine: { name: Webkit, version: "537.22" }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Swing Browser 1.0.0 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22 Swing/1.1.2.0" + result: + { + browser: + { + name: "Swing Browser", + family: { name: Chrome, version: 25 }, + version: 1.1.2, + type: browser, + }, + engine: { name: Webkit, version: "537.22" }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Swing Browser 1.1.2 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22 Swing/1.3.2.0" + result: + { + browser: + { + name: "Swing Browser", + family: { name: Chrome, version: 25 }, + version: 1.3.2, + type: browser, + }, + engine: { name: Webkit, version: "537.22" }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Swing Browser 1.3.2 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 Swing/2.4.2.0" + result: + { + browser: + { + name: "Swing Browser", + family: { name: Chrome, version: 35 }, + version: 2.4.2, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Swing Browser 2.4.2 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.34 Safari/534.24 Swing(And)/1.10.5.0" + result: + { + browser: + { + name: "Swing Browser", + family: { name: Chrome, version: 11 }, + version: 1.10.5, + type: browser, + }, + engine: { name: Webkit, version: "534.24" }, + os: { name: Linux }, + device: { type: desktop }, + } + readable: "Swing Browser 1.10.5 on Linux" +- headers: "User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Otter/0.9.08" + result: + { + browser: + { + name: Otter, + family: { name: Chrome, version: 40 }, + version: 0.9.08, + type: browser, + }, + engine: { name: Blink }, + os: { name: Linux }, + device: { type: desktop }, + } + readable: "Otter 0.9.08 on Linux" +- headers: "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Otter/0.9.07" + result: + { + browser: + { + name: Otter, + family: { name: Chrome, version: 40 }, + version: 0.9.07, + type: browser, + }, + engine: { name: Blink }, + os: { name: Linux }, + device: { type: desktop }, + } + readable: "Otter 0.9.07 on Linux" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 TungstenBrowser/2.0" + result: + { + browser: + { + name: "Tungsten Browser", + family: { name: Chrome, version: 44 }, + version: "2.0", + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } + readable: "Tungsten Browser 2.0 on Windows 10" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Beamrise/29.3.0.6900 Safari/537.36" + result: + { + browser: + { + name: Beamrise, + family: { name: Chrome, version: 29 }, + version: 29.3.0.6900, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Beamrise 29.3.0.6900 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 115Browser/5.1.6" + result: + { + browser: + { + name: "115 Browser", + family: { name: Chrome, version: 31 }, + version: 5.1.6, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "115 Browser 5.1.6 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 115Browser/5.2.2" + result: + { + browser: + { + name: "115 Browser", + family: { name: Chrome, version: 31 }, + version: 5.2.2, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "115 Browser 5.2.2 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1 115Chrome/1.0.3" + result: + { + browser: + { + name: "115 Chrome", + family: { name: Chrome, version: 21 }, + version: 1.0.3, + type: browser, + }, + engine: { name: Webkit, version: "537.1" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "115 Chrome 1.0.3 on Windows 7" +- headers: "User-Agent: Mozilla/4.0 (compatible; Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; Acoo Browser; .NET CLR 1.1.4322; .NET CLR 2.0.50727); Windows NT 5.1; Trident/4.0; Maxthon; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.2)" + readable: "Acoo Browser on Windows XP" + result: + { + browser: { name: "Acoo Browser", type: browser }, + engine: { name: Trident, version: "4.0" }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36 AVG/70.1.682.112" + result: + { + browser: + { + name: "AVG Secure Browser", + family: { name: Chrome, version: 70 }, + version: 70.1.682.112, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "AVG Secure Browser 70.1.682.112 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows; U; WinNT; en; rv:1.0.2) Gecko/20030311 Beonex/0.8.2-stable" + result: + { + browser: { name: Beonex, version: 0.8.2, type: browser }, + engine: { name: Gecko, version: 1.0.2 }, + os: { name: Windows }, + device: { type: desktop }, + } + readable: "Beonex 0.8.2 on Windows" +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008120120 Blackbird/0.9991" + result: + { + browser: { name: Blackbird, version: "0.9991", type: browser }, + engine: { name: Gecko, version: "1.9" }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Blackbird 0.9991 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; cs-CZ) AppleWebKit/533.3 (KHTML, like Gecko) Columbus/1.2.1.0 Safari/533.3" + result: + { + browser: { name: Columbus, version: 1.2.1.0, type: browser }, + engine: { name: Webkit, version: "533.3" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Columbus 1.2.1.0 on Windows 7" +- headers: "User-Agent: Cyberdog/2.0 (Macintosh; PPC)" + readable: "Cyberdog 2.0 on Mac OS" + result: + { + browser: { name: Cyberdog, version: "2.0", type: browser }, + os: { name: "Mac OS" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } +- headers: "User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Demeter/1.0.9 Safari/125" + readable: "Demeter 1.0.9 on Mac OS X 10.5" + result: + { + browser: { name: Demeter, version: 1.0.9, type: browser }, + engine: { name: Webkit, version: 525.27.1 }, + os: { name: "OS X", alias: "Mac OS X", version: "10.5" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } +- headers: "User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; pl-pl) AppleWebKit/312.8 (KHTML, like Gecko, Safari) DeskBrowse/1.0" + readable: "DeskBrowse 1.0 on OS X" + result: + { + browser: { name: DeskBrowse, version: "1.0", type: browser }, + engine: { name: Webkit, version: "312.8" }, + os: { name: "OS X" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } +- headers: "User-Agent: Mozilla/4.0 (compatible; DPlus 0.5)" + readable: "DPlus Browser 0.5" + result: + { + browser: { name: "DPlus Browser", version: "0.5", type: browser }, + device: { type: desktop }, + } +- headers: "User-Agent: DocZilla/2.7 (Windows; U; Windows NT 5.1; en-US; rv:2.7.0) Gecko/20050706 CiTEC Information" + result: + { + browser: { name: DocZilla, version: "2.7", type: browser }, + engine: { name: Gecko, version: 2.7.0 }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "DocZilla 2.7 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091105 Firefox/3.5.5 compat GlobalMojo/1.5.5 GlobalMojoExt/1.5" + result: + { + browser: + { + name: GlobalMojo, + family: { name: Firefox, version: 3.5.5 }, + version: 1.5.5, + type: browser, + }, + engine: { name: Gecko, version: 1.9.1 }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "GlobalMojo 1.5.5 on Windows 7" +- headers: "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; GreenBrowser)" + result: + { + browser: { name: GreenBrowser, type: browser }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "GreenBrowser on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 5.1; SV1; Hydra Browser; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)" + result: + { + browser: { name: "Hydra Browser", type: browser }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Hydra Browser on Windows XP" +- headers: "User-Agent: Mozilla/4.5 (compatible; iCab 2.7.1; Macintosh; I; PPC)" + readable: "iCab 2.7.1 on Mac OS" + result: + { + browser: { name: iCab, version: 2.7.1, type: browser }, + os: { name: "Mac OS" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } +- headers: "User-Agent: Mozilla/4.5 (compatible; iCab 2.9.8; Macintosh; U; PPC)" + readable: "iCab 2.9.8 on Mac OS" + result: + { + browser: { name: iCab, version: 2.9.8, type: browser }, + os: { name: "Mac OS" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } +- headers: "User-Agent: Mozilla/4.5 (compatible; iCab Pre2.3; Macintosh; I; PPC)" + readable: "iCab 2.3 on Mac OS" + result: + { + browser: { name: iCab, version: "2.3", type: browser }, + os: { name: "Mac OS" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } +- headers: "User-Agent: Mozilla/4/5 (compatible; iCab 2.9.8; Macintosh; U; 68K)" + readable: "iCab 2.9.8 on Mac OS" + result: + { + browser: { name: iCab, version: 2.9.8, type: browser }, + os: { name: "Mac OS" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } +- headers: "User-Agent: Mozilla/5.0 (compatible; iCab 3.0.3; Macintosh; U; PPC Mac OS)" + readable: "iCab 3.0.3 on Mac OS" + result: + { + browser: { name: iCab, version: 3.0.3, type: browser }, + os: { name: "Mac OS" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } +- headers: "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.10.1 Chrome/61.0.3163.140 Crusta/1.4.3 Safari/537.36" + readable: "Crusta 1.4.3 on Linux" + result: + { + browser: + { + name: Crusta, + using: { name: Qt, version: 5.10.1 }, + family: { name: Chrome, version: 61 }, + version: 1.4.3, + type: browser, + }, + engine: { name: Blink }, + os: { name: Linux }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36 Kinza/6.1.6" + readable: "Kinza 6.1.6 on Windows 10" + result: + { + browser: + { + name: Kinza, + family: { name: Chrome, version: 80 }, + version: 6.1.6, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML like Gecko) 37abc/1.6.5.14 Chrome/44.0.2403.130 Safari/537.36" + result: + { + browser: + { + name: "37abc Browser", + family: { name: Chrome, version: 44 }, + version: 1.6.5.14, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "37abc Browser 1.6.5.14 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.5.2526.111 Amigo/47.5.2526.111 MRCHROME SOC Safari/537.36" + result: + { + browser: + { + name: "Amigo Browser", + family: { name: Chrome, version: 47 }, + version: 47.5.2526.111, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Amigo Browser 47.5.2526.111 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt) Chrome/37.0.2049.0 (KHTML, like Gecko) Version/4.0 APUSBrowser/1.1.111 Safari/" + result: + { + browser: + { + name: "APUS Browser", + family: { name: Chrome, version: 37 }, + version: 1.1.111, + type: browser, + }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "APUS Browser 1.1.111 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 AviraScout/17.6.3071.2851" + readable: "Avira Scout 17.6.3071.2851 on Windows 10" + result: + { + browser: + { + name: "Avira Scout", + family: { name: Chrome, version: 59 }, + version: 17.6.3071.2851, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.9) Gecko/20100101 Goanna/4.5 Firefox/68.9 Basilisk/20200311" + readable: "Basilisk 20200311 on Windows 10" + result: + { + browser: + { + name: Basilisk, + family: { name: Firefox, version: "68.9" }, + version: "20200311", + type: browser, + }, + engine: { name: Goanna, version: "4.5" }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Browzar)" + result: + { + browser: { name: Browzar, type: browser }, + engine: { name: Trident, version: "4.0" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Browzar on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML like Gecko) Chrome/47.0.2526.106 Safari/537.36 Cent/1.6.10.21" + readable: "Cent Browser 1.6.10.21 on Windows 10" + result: + { + browser: + { + name: "Cent Browser", + family: { name: Chrome, version: 47 }, + version: 1.6.10.21, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 1stBrowser/45.0.2454.171 Safari/537.36" + result: + { + browser: + { + name: "1st Browser", + family: { name: Chrome, version: 49 }, + version: 45.0.2454.171, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "1st Browser 45.0.2454.171 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 Chedot/9.1.1 Safari/537.36" + readable: "Chedot 9.1.1 on Windows 10" + result: + { + browser: + { + name: Chedot, + family: { name: Chrome, version: 76 }, + version: 9.1.1, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en) AppleWebKit/418.9 (KHTML, like Gecko, Safari) Safari/419.3 Cheshire/1.0.ALPHA" + result: + { + browser: { name: Cheshire, version: 1.0.ALPHA, type: browser }, + engine: { name: Webkit, version: "418.9" }, + os: { name: "OS X", alias: "Mac OS X", version: "10.4" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } + readable: "Cheshire 1.0 on Mac OS X 10.4" +- headers: "User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X PPC Mac OS X 10.4; en-US; rv:1.0.1) Gecko/20030111 Chimera/0.6" + result: + { + browser: { name: Chimera, version: "0.6", type: browser }, + engine: { name: Gecko, version: 1.0.1 }, + os: { name: "OS X", alias: "Mac OS X", version: "10.4" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } + readable: "Chimera 0.6 on Mac OS X 10.4" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) coc_coc_browser/46.0 Chrome/40.0.2214.96 Safari/537.36" + readable: "Coc Coc 46.0 on Windows 10" + result: + { + browser: + { + name: "Coc Coc", + family: { name: Chrome, version: 40 }, + version: "46.0", + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; Crazy Browser 2.0.1)" + result: + { + browser: { name: "Crazy Browser", version: 2.0.1, type: browser }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Crazy Browser 2.0.1 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.14.3282.140 Elements Browser/1.1.14 Safari/537.36" + readable: "Elements Browser 1.1.14 on Windows 10" + result: + { + browser: + { + name: "Elements Browser", + family: { name: Chrome, version: 64 }, + version: 1.1.14, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.6.0" + result: + { + browser: { name: Icedove, version: 45.6.0, type: browser }, + engine: { name: Gecko, version: "45.0" }, + os: { name: Linux }, + device: { type: desktop }, + } + readable: "Icedove 45.6.0 on Linux" +- headers: "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; KKman3.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)" + readable: "KKMAN 3.0 on Windows Vista" + result: + { + browser: { name: KKMAN, version: "3.0", type: browser }, + os: { name: Windows, version: { value: "6.0", alias: Vista } }, + device: { type: desktop }, + } +- headers: "User-Agent: Klondike/1.50 (WSP Win32) (Google WAP Proxy/1.0)" + readable: "Klondike 1.50 on Windows" + result: + { + browser: { name: Klondike, version: "1.50", type: browser }, + os: { name: Windows }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0 Light/44.0" + readable: "Light 44.0 on Windows 10" + result: + { + browser: + { + name: Light, + family: { name: Firefox, version: "44.0" }, + version: "44.0", + type: browser, + }, + engine: { name: Gecko, version: "44.0" }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070224 lolifox/0.3.2" + readable: "Lolifox 0.3.2 on Windows XP" + result: + { + browser: { name: Lolifox, version: 0.3.2, type: browser }, + engine: { name: Gecko, version: 1.8.1 }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows XP) Gecko MultiZilla/1.6.1.0a" + readable: "MultiZilla 1.6.1.0 on Windows XP" + result: + { + browser: { name: MultiZilla, version: 1.6.1.0, type: browser }, + engine: { name: Gecko }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36 Lovense/30.0.9" + result: + { + browser: + { + name: Lovense, + family: { name: Chrome, version: 75 }, + version: 30.0.9, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } + readable: "Lovense 30.0.9 on Windows 10" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36 Nichrome/self/40" + result: + { + browser: + { + name: Nichrome, + family: { name: Chrome, version: 40 }, + version: "40", + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } + readable: "Nichrome 40 on Windows 10" +- headers: "User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/522.11.1 (KHTML, like Gecko) Shiira Safari/125" + readable: "Shiira on OS X" + result: + { + browser: { name: Shiira, type: browser }, + engine: { name: Webkit, version: 522.11.1 }, + os: { name: "OS X" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } +- headers: "User-Agent: Mozilla/5.0 (Linux; U; Android 10; en-us; GM1910 Build/QKQ1.190716.003) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.134 Mobile Safari/537.36 OnePlusBrowser/30.5.0.9" + readable: "OnePlus Browser 30.5.0.9 on an OnePlus 7 Pro running Android 10" + result: + { + browser: + { + name: "OnePlus Browser", + family: { name: Chrome, version: 53 }, + version: 30.5.0.9, + type: browser, + }, + engine: { name: Blink }, + os: { name: Android, version: "10" }, + device: + { type: mobile, subtype: smart, manufacturer: OnePlus, model: "7 Pro" }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) PrivacyBrowser/1.0" + readable: "Privacy Browser 1.0 on Windows 10" + result: + { + browser: { name: "Privacy Browser", version: "1.0", type: browser }, + engine: { name: Webkit, version: "537.36" }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML like Gecko) Chrome/51.0.2704.63 Safari/537.36 Qiyu/1.6.0.0" + result: + { + browser: + { + name: "Qiyu Browser", + family: { name: Chrome, version: 51 }, + version: 1.6.0.0, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } + readable: "Qiyu Browser 1.6.0.0 on Windows 10" +- headers: "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/601.6.17 (KHTML, like Gecko) QuickLook/5.0" + readable: "Quick Look 5.0 on OS X El Capitan 10.11" + result: + { + browser: { name: "Quick Look", version: "5.0", type: browser }, + engine: { name: Webkit, version: 601.6.17 }, + os: { name: "OS X", version: { value: "10.11", nickname: "El Capitan" } }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36 Slimjet/19.0.2.0" + result: + { + browser: + { + name: Slimjet, + family: { name: Chrome, version: 66 }, + version: 19.0.2.0, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } + readable: "Slimjet 19.0.2.0 on Windows 10" +- headers: "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.4.1 Safari/605.1.15 (Airwatch Browser v7.9)" + result: + { + browser: { name: "VMware Workspace ONE", version: "7.9", type: browser }, + engine: { name: Webkit, version: 605.1.15 }, + os: { name: "OS X", version: { value: "10.11", nickname: "El Capitan" } }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } + readable: "VMware Workspace ONE 7.9 on OS X El Capitan 10.11" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Whale/2.7.97.12 Safari/537.36" + readable: "Whale Browser 2.7.97.12 on Windows 10" + result: + { + browser: + { + name: "Whale Browser", + family: { name: Chrome, version: 80 }, + version: 2.7.97.12, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: WinWAP/4.1 (Win32) WinWAP-X/4.1.0.192" + readable: "WinWAP Browser 4 on Windows" + result: + { + browser: { name: "WinWAP Browser", version: "4", type: browser }, + os: { name: Windows }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Linux; Android 7.0; SM-G928F Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36 wkbrowser 4.0.8 421" + readable: "WK Browser 4.0.8 on a Samsung Galaxy S6 Edge+ running Android 7.0" + result: + { + browser: + { + name: "WK Browser", + using: { name: "Chromium WebView", version: "61" }, + version: 4.0.8, + type: browser, + }, + engine: { name: Blink }, + os: { name: Android, version: "7.0" }, + device: + { + type: mobile, + subtype: smart, + manufacturer: Samsung, + model: "Galaxy S6 Edge+", + }, + } +- headers: "User-Agent: Mozilla/5.0 (Android 8.0.0; SM-G950F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.9 YaaniBrowser/4.2.0.186 (Turkcell-TR) Mobile Safari/537.36" + readable: "Yaani Browser 4.2.0.186 on a Samsung Galaxy S8 running Android 8.0.0" + result: + { + browser: + { + name: "Yaani Browser", + family: { name: Chrome, version: 54 }, + version: 4.2.0.186, + type: browser, + }, + engine: { name: Blink }, + os: { name: Android, version: 8.0.0 }, + device: + { + type: mobile, + subtype: smart, + manufacturer: Samsung, + model: "Galaxy S8", + }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20130204 Zvu/18.0.1" + result: + { + browser: { name: "Zvu Browser", version: 18.0.1, type: browser }, + engine: { name: Gecko, version: "18.0" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Zvu Browser 18.0.1 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Falkon/3.0.0 Chrome/56.0.2924.122 Safari/537.36" + result: + { + browser: + { + name: Falkon, + family: { name: Chrome, version: 56 }, + version: 3.0.0, + type: browser, + }, + engine: { name: Blink }, + os: { name: Linux }, + device: { type: desktop }, + } + readable: "Falkon 3.0.0 on Linux" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:25.3) Gecko/20150425 BlackHawk/25.3.1" + result: + { + browser: { name: "Black Hawk", version: 25.3.1, type: browser }, + engine: { name: Gecko, version: "25.3" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Black Hawk 25.3.1 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; BOLT/2.514) AppleWebKit/534.6 (KHTML, like Gecko) Version/5.0 Safari/534.6.3" + result: + { + browser: { name: "Bolt Browser", version: "2.514", type: browser }, + engine: { name: Webkit, version: "534.6" }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Bolt Browser 2.514 on Windows XP" +- headers: "User-Agent: BriskBard/1.0 (Windows 10) BriskBard/1.0" + readable: "Brisk Bard 1.0 on Windows" + result: + { + browser: { name: "Brisk Bard", version: "1.0", type: browser }, + os: { name: Windows }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5 [en] (X11; U; ) - BrowseX (2.0.0 Windows)" + readable: "BrowseX 2.0.0 on Windows" + result: + { + browser: { name: BrowseX, version: 2.0.0, type: browser }, + os: { name: Windows }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36 CCleaner/75.1.103.145" + result: + { + browser: + { + name: "CCleaner Browser", + family: { name: Chrome, version: 75 }, + version: 75.1.103.145, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "CCleaner Browser 75.1.103.145 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) chimlac_browser/1.0 Chrome/57.0.2987.110 Safari/537.36" + result: + { + browser: + { + name: "Chim Lac", + family: { name: Chrome, version: 57 }, + version: "1.0", + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Chim Lac 1.0 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Colibri/1.5.1 Chrome/61.0.3163.100 Electron/2.0.2 Safari/537.36" + result: + { + browser: + { + name: Colibri, + using: { name: Electron, version: 2.0.2 }, + family: { name: Chrome, version: 61 }, + version: 1.5.1, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Colibri 1.5.1 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Degdegan/72.4.206 Chrome/66.4.3359.206 Safari/537.36" + result: + { + browser: + { + name: Deg-degan, + family: { name: Chrome, version: 66 }, + version: 72.4.206, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Deg-degan 72.4.206 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100411 Lorentz/3.6.3 GTB7.0" + readable: "Firefox Lorentz 3.6.3 on Mac OS X 10.6" + result: + { + browser: { name: Firefox, version: 3.6.3, type: browser }, + engine: { name: Gecko, version: 1.9.2 }, + os: { name: "OS X", alias: "Mac OS X", version: "10.6" }, + device: { type: desktop, manufacturer: Apple, model: Macintosh }, + } +- headers: "User-Agent: FlameSky/5.0.0.0 Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.2987.110 Safari/537.36" + result: + { + browser: + { + name: FlameSky, + family: { name: Chrome, version: 64 }, + version: 5.0.0.0, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "FlameSky 5.0.0.0 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:43.0) Gecko/20100101 Firefox/43.0 Framafox/43.0.1" + result: + { + browser: + { + name: Framafox, + family: { name: Firefox, version: "43.0" }, + version: 43.0.1, + type: browser, + }, + engine: { name: Gecko, version: "43.0" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Framafox 43.0.1 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.69 Freeu/61.0.3163.69 MRCHROME SOC Safari/537.36" + result: + { + browser: + { + name: "Freeu Browser", + family: { name: Chrome, version: 61 }, + version: 61.0.3163.69, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Freeu Browser 61.0.3163.69 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36 Hola/1.142.604" + result: + { + browser: + { + name: "Hola Browser", + family: { name: Chrome, version: 74 }, + version: 1.142.604, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Hola Browser 1.142.604 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9) Gecko/20080705 Firefox/3.0 Kapiko/3.0" + result: + { + browser: + { + name: Kapiko, + family: { name: Firefox, version: "3.0" }, + version: "3.0", + type: browser, + }, + engine: { name: Gecko, version: "1.9" }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Kapiko 3.0 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100222 Firefox/3.6 Kylo/0.8.4.74873" + result: + { + browser: + { + name: Kylo, + family: { name: Firefox, version: "3.6" }, + version: 0.8.4.74873, + type: browser, + }, + engine: { name: Gecko, version: 1.9.2 }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Kylo 0.8.4.74873 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) min/1.2.2 Chrome/49.0.2623.75 Electron/0.37.1 Safari/537.36" + result: + { + browser: + { + name: "Min Browser", + using: { name: Electron, version: 0.37.1 }, + family: { name: Chrome, version: 49 }, + version: 1.2.2, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Min Browser 1.2.2 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; cs-CZ) AppleWebKit/532.4 (KHTML, like Gecko) MiniBrowser/3.0 Safari/532.4" + result: + { + browser: { name: "Mini Browser", version: "3.0", type: browser }, + engine: { name: Webkit, version: "532.4" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Mini Browser 3.0 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:68.9) Gecko/20100101 Goanna/4.4 Firefox/68.9 Mypal/28.8.4" + result: + { + browser: + { + name: "Mypal Browser", + family: { name: Firefox, version: "68.9" }, + version: 28.8.4, + type: browser, + }, + engine: { name: Goanna, version: "4.4" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Mypal Browser 28.8.4 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/538.1 (KHTML, like Gecko) qutebrowser/0.9.1 Safari/538.1" + result: + { + browser: { name: "Qute Browser", version: 0.9.1, type: browser }, + engine: { name: Webkit, version: "538.1" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Qute Browser 0.9.1 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Sielo/1.16.07 Chrome/65.0.3325.151 Safari/537.36" + readable: "Sielo Browser 1.16.07 on Windows 8" + result: + { + browser: + { + name: "Sielo Browser", + family: { name: Chrome, version: 65 }, + version: 1.16.07, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.2", alias: "8" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (compatible; MSIE 11.0; Windows NT 6.1; SiteKiosk 7.0 Build 248)" + result: + { + browser: { name: SiteKiosk, version: "7.0", type: browser }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "SiteKiosk 7.0 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 5.1; iRider 2.21.1108; FDM)" + result: + { + browser: { name: "iRider Browser", version: 2.21.1108, type: browser }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "iRider Browser 2.21.1108 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20071115 Firefox/2.0.0.6 LBrowser/2.0.0.6" + result: + { + browser: + { + name: LBrowser, + family: { name: Firefox, version: 2.0.0.6 }, + version: 2.0.0.6, + type: browser, + }, + engine: { name: Gecko, version: 1.8.1 }, + os: { name: Linux }, + device: { type: desktop }, + } + readable: "LBrowser 2.0.0.6 on Linux" +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20051001 Firefox/1.0.7 Madfox/0.3.2u3" + result: + { + browser: + { + name: Madfox, + family: { name: Firefox, version: 1.0.7 }, + version: 0.3.2, + type: browser, + }, + engine: { name: Gecko, version: 1.7.12 }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Madfox 0.3.2 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 5.1; SV1; Multi-Browser 10.1 (www.multibrowser.de); .NET CLR 1.1.4322)" + result: + { + browser: { name: "Multi-Browser XP", version: "10.1", type: browser }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } + readable: "Multi-Browser XP 10.1 on Windows XP" +- headers: "User-Agent: Mozilla/5.0 (compatible; MSIE 5.01; Windows NT 5.0; NetCaptor 6.5.0RC1)" + result: + { + browser: { name: NetCaptor, version: 6.5.0, type: browser }, + os: { name: Windows, version: { value: "5.0", alias: "2000" } }, + device: { type: desktop }, + } + readable: "NetCaptor 6.5.0 on Windows 2000" +- headers: "User-Agent: Mozilla/5.0 (compatible; MSIE 11.0; Windows NT 6.1; Open Live Writer 1.0)" + readable: "Open Live Writer 1.0 on Windows 7" + result: + { + browser: + { + name: "Open Live Writer", + using: { name: "Internet Explorer", version: "11.0" }, + version: "1.0", + type: browser, + }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0; JuziBrowser) like Gecko" + result: + { + browser: { name: "Orange Browser", type: browser }, + engine: { name: Trident, version: "7.0" }, + os: { name: Windows, version: { value: "6.3", alias: "8.1" } }, + device: { type: desktop }, + } + readable: "Orange Browser on Windows 8.1" +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; cs-CZ) AppleWebKit/533.3 (KHTML, like Gecko) Patriott::Browser/1.0.0 Safari/533.3" + result: + { + browser: { name: "Patriott Browser", version: 1.0.0, type: browser }, + engine: { name: Webkit, version: "533.3" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Patriott Browser 1.0.0 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22 Perk/3.6.0.0" + result: + { + browser: + { + name: Perk, + family: { name: Chrome, version: 25 }, + version: 3.6.0.0, + type: browser, + }, + engine: { name: Webkit, version: "537.22" }, + os: { name: Windows, version: { value: "6.2", alias: "8" } }, + device: { type: desktop }, + } + readable: "Perk 3.6.0.0 on Windows 8" +- headers: "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 PureBrowser/60.9.0" + result: + { + browser: + { + name: "Pure Browser", + family: { name: Firefox, version: "60.0" }, + version: "60.9", + type: browser, + }, + engine: { name: Gecko, version: "60.0" }, + os: { name: Linux }, + device: { type: desktop }, + } + readable: "Pure Browser 60.9 on Linux" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.16817 Safari/537.36 Sparrow/0.1" + readable: "Sparrow 0.1 on Windows 7" + result: + { + browser: + { + name: Sparrow, + family: { name: Chrome, version: 64 }, + version: "0.1", + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Station/1.57.1 Chrome/76.0.3809.131 Safari/537.36" + readable: "Station Browser 1.57.1 on Windows 10" + result: + { + browser: + { + name: "Station Browser", + family: { name: Chrome, version: 76 }, + version: 1.57.1, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: TulipChain/6.03 (http://ostermiller.org/tulipchain/) Java/1.4.2_05 (http://java.sun.com/) Windows_XP/5.1 RPT-HTTPClient/0.3-3" + readable: "Tulip Chain 6.03 on Windows" + result: + { + browser: { name: "Tulip Chain", version: "6.03", type: browser }, + os: { name: Windows }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 TO-Browser/TOB7.68.0.201_01" + readable: "t-online.de 7.68.0.201 on Windows 10" + result: + { + browser: + { + name: t-online.de, + family: { name: Firefox, version: "68.0" }, + version: 7.68.0.201, + type: browser, + }, + engine: { name: Gecko, version: "68.0" }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Villanova/1.9.2.12 Polarity/3.0.0 Firefox/4.0" + readable: "Polarity 3.0.0 on Windows 7" + result: + { + browser: + { + name: Polarity, + family: { name: Firefox, version: "4.0" }, + version: 3.0.0, + type: browser, + }, + engine: { name: Gecko, version: 1.9.2 }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.9) Gecko/20071110 Sylera/3.0.20 SeaMonkey/1.1.6" + readable: "Sylera 3.0.20 on Windows 7" + result: + { + browser: { name: Sylera, version: 3.0.20, type: browser }, + engine: { name: Gecko, version: 1.8.1 }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0(Compatible; Windows; U; en-US;) Sundance/0.9.0.33" + readable: "Sundance 0.9.0.33 on Windows" + result: + { + browser: { name: Sundance, version: 0.9.0.33, type: browser }, + os: { name: Windows }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.7) Gecko/20070919 Swiftweasel/2.0.0.7" + readable: "Swiftweasel 2.0.0.7 on Linux" + result: + { + browser: { name: Swiftweasel, version: 2.0.0.7, type: browser }, + engine: { name: Gecko, version: 1.8.1 }, + os: { name: Linux }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20110610 Firefox/4.0.1 Sundial/4.0.1_1.0" + readable: "Sundial 4.0.1 on Windows 7" + result: + { + browser: + { + name: Sundial, + family: { name: Firefox, version: 4.0.1 }, + version: 4.0.1, + type: browser, + }, + engine: { name: Gecko, version: 2.0.1 }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061025 Firefox/2.0 (Swiftfox)" + readable: "Swiftfox on Linux" + result: + { + browser: + { + name: Swiftfox, + family: { name: Firefox, version: "2.0" }, + type: browser, + }, + engine: { name: Gecko, version: 1.8.1 }, + os: { name: Linux }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.21 Safari/537.36 MMS/1.0.2531.0" + result: + { + browser: + { + name: "Opera Neon", + family: { name: Chrome, version: 53 }, + version: "1.0", + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } + readable: "Opera Neon 1.0 on Windows 10" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 OPR/60.0.3255.50747 OPRGX/60.0.3255.50747" + result: + { + browser: + { + name: "Opera GX", + family: { name: Chrome, version: 73 }, + version: "60.0", + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "Opera GX 60.0 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1pre) Gecko/20090629 Vonkeror/1.0" + readable: "Vonkeror 1.0 on Windows XP" + result: + { + browser: { name: Vonkeror, version: "1.0", type: browser }, + engine: { name: Gecko, version: 1.9.1pre }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.1; JyxoToolbar1.0; SV1; UltraBrowser 11.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322)" + readable: "UltraBrowser 11.0 on Windows XP" + result: + { + browser: { name: UltraBrowser, version: "11.0", type: browser }, + os: { name: Windows, version: { value: "5.1", alias: XP } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; cs-CZ) AppleWebKit/532.4 (KHTML, like Gecko) Usejump/0.10.5 Safari/532.4" + readable: "Usejump 0.10 on Windows 7" + result: + { + browser: { name: Usejump, version: "0.10", type: browser }, + engine: { name: Webkit, version: "532.4" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Vimprobable/0.9.20.5" + readable: "Vimprobable 0.9.20.5" + result: + { + browser: { name: Vimprobable, version: 0.9.20.5, type: browser }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3390.0 Xvast/1.1.0.3 Safari/537.36" + readable: "Xvast 1.1.0.3 on Windows 8" + result: + { + browser: + { + name: Xvast, + family: { name: Chrome, version: 67 }, + version: 1.1.0.3, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.2", alias: "8" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.571.0 Safari/534.12 ZipZap 3.1" + readable: "ZipZap 3.1 on Windows 7" + result: + { + browser: + { + name: ZipZap, + family: { name: Chrome, version: 9 }, + version: "3.1", + type: browser, + }, + engine: { name: Webkit, version: "534.12" }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 SputnikBrowser/4.1.2810.0 (GOST) Safari/537.36" + readable: "Sputnik 4.1.2810.0 on Windows 10" + result: + { + browser: + { + name: Sputnik, + family: { name: Chrome, version: 64 }, + version: 4.1.2810.0, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "10.0", alias: "10" } }, + device: { type: desktop }, + } +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) SalamWeb/3.0.1.592 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Safari/537.36" + result: + { + browser: + { + name: SalamWeb, + family: { name: Chrome, version: 75 }, + version: 3.0.1.592, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "SalamWeb 3.0.1.592 on Windows 7" +- headers: "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2551.0 (SBRO; Salam Browser) Safari/537.36" + result: + { + browser: + { + name: SalamWeb, + family: { name: Chrome, version: 51 }, + type: browser, + }, + engine: { name: Blink }, + os: { name: Windows, version: { value: "6.1", alias: "7" } }, + device: { type: desktop }, + } + readable: "SalamWeb on Windows 7" +- headers: "User-Agent: Mozilla/5.0 Chrome/10.0.613.0 Safari/534.15 Zombie.js/5.0.7" + result: + { + browser: + { + name: Zombie.js, + family: { name: Chrome, version: 10 }, + version: 5.0.7, + type: browser, + }, + device: { type: desktop }, + } + readable: "Zombie.js 5.0.7" diff --git a/test/data/desktop/browser-safari.yaml b/test/data/desktop/browser-safari.yaml index f9109ec..b8bd0fa 100644 --- a/test/data/desktop/browser-safari.yaml +++ b/test/data/desktop/browser-safari.yaml @@ -225,4 +225,16 @@ - headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15' readable: 'Safari 13.0 on macOS Catalina 10.15' - result: { browser: { name: Safari, version: '13.0', type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: 'OS X', alias: macOS, version: { value: '10.15', nickname: Catalina } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } \ No newline at end of file + result: { browser: { name: Safari, version: '13.0', type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: 'OS X', alias: macOS, version: { value: '10.15', nickname: Catalina } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15' + readable: 'Safari 14.0 on macOS Big Sur 11.0' + result: { browser: { name: Safari, version: '14.0', type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: 'OS X', alias: macOS, version: { value: '11.0', nickname: 'Big Sur' } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15' + readable: 'Safari 14.0.1 on macOS Catalina 10.15' + result: { browser: { name: Safari, version: 14.0.1, type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: 'OS X', alias: macOS, version: { value: '10.15', nickname: Catalina } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15' + readable: 'Safari 17.5 on macOS' + result: { browser: { name: Safari, version: '17.5', type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: 'OS X', alias: macOS }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } \ No newline at end of file diff --git a/test/data/desktop/platform-electron.yaml b/test/data/desktop/platform-electron.yaml index 661519d..41d0ac7 100644 --- a/test/data/desktop/platform-electron.yaml +++ b/test/data/desktop/platform-electron.yaml @@ -14,3 +14,39 @@ headers: 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) AtomShellDefaultApp/0.1.0 Chrome/37.0.2062.102 AtomShell/0.17.2 Safari/537.36' result: { browser: { using: { name: Electron, version: 0.17.2 }, family: { name: Chrome, version: 37 }, type: browser }, engine: { name: Blink }, os: { name: Linux }, device: { type: desktop } } readable: 'Electron 0.17.2 on Linux' +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.40 Electron/11.0.0-beta.20 Safari/537.36' + readable: 'Electron 11.0.0 on macOS Big Sur 11.0' + result: { browser: { using: { name: Electron, version: 11.0.0 }, family: { name: Chrome, version: 87 }, type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '11.0', nickname: 'Big Sur' } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Electron/11.0.3 Safari/537.36' + readable: 'Electron 11.0.3 on macOS Big Sur 11.1' + result: { browser: { using: { name: Electron, version: 11.0.3 }, family: { name: Chrome, version: 87 }, type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '11.1', nickname: 'Big Sur' } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Electron/11.0.3 Safari/537.36' + readable: 'Electron 11.0.3 on macOS Big Sur 11.2' + result: { browser: { using: { name: Electron, version: 11.0.3 }, family: { name: Chrome, version: 87 }, type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '11.2', nickname: 'Big Sur' } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Electron/11.3.0 Safari/537.36' + readable: 'Electron 11.3.0 on macOS Big Sur 11.2' + result: { browser: { using: { name: Electron, version: 11.3.0 }, family: { name: Chrome, version: 87 }, type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '11.2', nickname: 'Big Sur' } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Electron/12.0.5 Safari/537.36' + readable: 'Electron 12.0.5 on macOS Big Sur 11.2' + result: { browser: { using: { name: Electron, version: 12.0.5 }, family: { name: Chrome, version: 89 }, type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '11.2', nickname: 'Big Sur' } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_3_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Electron/12.0.6 Safari/537.36' + readable: 'Electron 12.0.6 on macOS Big Sur 11.3' + result: { browser: { using: { name: Electron, version: 12.0.6 }, family: { name: Chrome, version: 89 }, type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '11.3', nickname: 'Big Sur' } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 12_3_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Electron/12.0.9 Safari/537.36' + readable: 'Electron 12.0.9 on macOS Monterey 12.3' + result: { browser: { using: { name: Electron, version: 12.0.9 }, family: { name: Chrome, version: 89 }, type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '12.3', nickname: Monterey } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 15_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.70 Electron/33.0.2 Safari/537.36' + readable: 'Electron 33.0.2 on macOS Sequoia 15.1' + result: { browser: { using: { name: Electron, version: 33.0.2 }, family: { name: Chrome, version: 130 }, type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '15.1', nickname: Sequoia } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 26_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.7259.0 Electron/38.0.0 Safari/537.36' + readable: 'Electron 38.0.0 on macOS Tahoe 26.0' + result: { browser: { using: { name: Electron, version: 38.0.0 }, family: { name: Chrome, version: 140 }, type: browser }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '26.0', nickname: Tahoe } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } \ No newline at end of file diff --git a/test/data/gaming/microsoft.yaml b/test/data/gaming/microsoft.yaml index c24212d..f1d0945 100644 --- a/test/data/gaming/microsoft.yaml +++ b/test/data/gaming/microsoft.yaml @@ -18,3 +18,7 @@ headers: 'User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; Xbox)' result: { browser: { name: 'Internet Explorer', version: '9.0', type: browser }, engine: { name: Trident, version: '5.0' }, device: { type: gaming, subtype: console, manufacturer: Microsoft, model: 'Xbox 360' } } readable: 'Internet Explorer 9.0 on a Microsoft Xbox 360' +- + headers: 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; Xbox; Xbox Series X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.82 Safari/537.36 Edge/20.02' + result: { browser: { name: Edge, version: '20', type: browser }, engine: { name: EdgeHTML, version: '20.02' }, device: { type: gaming, subtype: console, manufacturer: Microsoft, model: 'Xbox Series X' } } + readable: 'Edge 20 on a Microsoft Xbox Series X' diff --git a/test/data/gaming/sony.yaml b/test/data/gaming/sony.yaml index 3455288..eb30c55 100644 --- a/test/data/gaming/sony.yaml +++ b/test/data/gaming/sony.yaml @@ -1,204 +1,212 @@ - headers: 'User-Agent: Mozilla/4.0 (PSP (PlayStation Portable); 2.00)' - result: { engine: { name: NetFront }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Portable' } } - readable: 'a Sony Playstation Portable' + result: { engine: { name: NetFront }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Portable' } } + readable: 'a Sony PlayStation Portable' - headers: 'User-Agent: Mozilla/5.0 (PLAYSTATION 3 4.10) AppleWebKit/531.22.8 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.10' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'a Sony Playstation 3 running 4.10' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.10' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'a Sony PlayStation 3 running 4.10' - headers: 'User-Agent: Mozilla/5.0 (PLAYSTATION 3 4.11) AppleWebKit/531.22.8 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.11' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'a Sony Playstation 3 running 4.11' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.11' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'a Sony PlayStation 3 running 4.11' - headers: 'User-Agent: Mozilla/5.0 (PLAYSTATION 3 4.31) AppleWebKit/531.22.8 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.31' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'a Sony Playstation 3 running 4.31' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.31' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'a Sony PlayStation 3 running 4.31' - headers: 'User-Agent: Mozilla/5.0 (PLAYSTATION 3 4.41) AppleWebKit/531.22.8 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.41' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'a Sony Playstation 3 running 4.41' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.41' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'a Sony PlayStation 3 running 4.41' - headers: 'User-Agent: Mozilla/5.0 (PLAYSTATION 3 4.50) AppleWebKit/531.22.8 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.50' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'a Sony Playstation 3 running 4.50' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.50' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'a Sony PlayStation 3 running 4.50' - headers: 'User-Agent: Mozilla/5.0 (PLAYSTATION 3 4.53) AppleWebKit/531.22.8 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.53' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'a Sony Playstation 3 running 4.53' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.53' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'a Sony PlayStation 3 running 4.53' - headers: 'User-Agent: Mozilla/5.0 (PLAYSTATION 3 4.55) AppleWebKit/531.22.8 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.55' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'a Sony Playstation 3 running 4.55' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '4.55' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'a Sony PlayStation 3 running 4.55' - headers: 'User-Agent: Mozilla/5.0 (PLAYSTATION 3; 1.00)' - result: { engine: { name: NetFront }, os: { version: '1.00' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'a Sony Playstation 3 running 1.00' + result: { engine: { name: NetFront }, os: { version: '1.00' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'a Sony PlayStation 3 running 1.00' - headers: 'User-Agent: Mozilla/5.0 (PLAYSTATION 3; 2.00)' - result: { engine: { name: NetFront }, os: { version: '2.00' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'a Sony Playstation 3 running 2.00' + result: { engine: { name: NetFront }, os: { version: '2.00' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'a Sony PlayStation 3 running 2.00' - headers: 'User-Agent: Mozilla/5.0 (PLAYSTATION 3; 3.55)' - result: { engine: { name: NetFront }, os: { version: '3.55' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'a Sony Playstation 3 running 3.55' + result: { engine: { name: NetFront }, os: { version: '3.55' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'a Sony PlayStation 3 running 3.55' - headers: 'User-Agent: Mozilla/5.0 (PlayStation 3) SonyComputerEntertainmentEurope/531.3 (NCell) NuantiMeta/2.0' - result: { browser: { name: 'Nuanti Meta', version: '2.0', type: browser }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'Nuanti Meta 2.0 on a Sony Playstation 3' + result: { browser: { name: 'Nuanti Meta', version: '2.0', type: browser }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'Nuanti Meta 2.0 on a Sony PlayStation 3' - headers: 'User-Agent: Mozilla/5.0 (PlayStation 4 1.000) AppleWebKit/536.26 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.000' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 4' } } - readable: 'a Sony Playstation 4 running 1.000' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.000' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 4' } } + readable: 'a Sony PlayStation 4 running 1.000' - headers: 'User-Agent: Mozilla/5.0 (PlayStation 4 1.51) AppleWebKit/536.26 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.51' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 4' } } - readable: 'a Sony Playstation 4 running 1.51' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.51' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 4' } } + readable: 'a Sony PlayStation 4 running 1.51' - headers: 'User-Agent: Mozilla/5.0 (PlayStation 4 1.52) AppleWebKit/536.26 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.52' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 4' } } - readable: 'a Sony Playstation 4 running 1.52' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.52' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 4' } } + readable: 'a Sony PlayStation 4 running 1.52' - headers: 'User-Agent: Mozilla/5.0 (PlayStation 4 1.60) AppleWebKit/536.26 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.60' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 4' } } - readable: 'a Sony Playstation 4 running 1.60' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.60' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 4' } } + readable: 'a Sony PlayStation 4 running 1.60' - headers: 'User-Agent: Mozilla/5.0 (PlayStation 4 1.61) AppleWebKit/536.26 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.61' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 4' } } - readable: 'a Sony Playstation 4 running 1.61' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.61' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 4' } } + readable: 'a Sony PlayStation 4 running 1.61' - headers: 'User-Agent: Mozilla/5.0 (PlayStation 4 1.62) AppleWebKit/536.26 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.62' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 4' } } - readable: 'a Sony Playstation 4 running 1.62' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.62' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 4' } } + readable: 'a Sony PlayStation 4 running 1.62' - headers: 'User-Agent: Mozilla/5.0 (PlayStation 4 1.70) AppleWebKit/536.26 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.70' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 4' } } - readable: 'a Sony Playstation 4 running 1.70' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '1.70' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 4' } } + readable: 'a Sony PlayStation 4 running 1.70' - headers: 'User-Agent: Mozilla/5.0 (PlayStation 4 2.00) AppleWebKit/537.73 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: '537.73' }, os: { version: '2.00' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 4' } } - readable: 'a Sony Playstation 4 running 2.00' + result: { engine: { name: Webkit, version: '537.73' }, os: { version: '2.00' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 4' } } + readable: 'a Sony PlayStation 4 running 2.00' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 1.00) AppleWebKit/531.22.8 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.00' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 1.00' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.00' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 1.00' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 1.50) AppleWebKit/531.22.8 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.50' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 1.50' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.50' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 1.50' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 1.51) AppleWebKit/531.22.8 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.51' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 1.51' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.51' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 1.51' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 1.52) AppleWebKit/531.22.8 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.52' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 1.52' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.52' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 1.52' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 1.60) AppleWebKit/531.22.8 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.60' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 1.60' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.60' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 1.60' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 1.61) AppleWebKit/531.22.8 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.61' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 1.61' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.61' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 1.61' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 1.80) AppleWebKit/531.22.8 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.80' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 1.80' + result: { engine: { name: Webkit, version: 531.22.8 }, os: { version: '1.80' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 1.80' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 2.60) AppleWebKit/536.26 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '2.60' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 2.60' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '2.60' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 2.60' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 2.61) AppleWebKit/536.26 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '2.61' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 2.61' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '2.61' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 2.61' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 3.00) AppleWebKit/536.26 (KHTML, like Gecko)' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.00' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 3.00' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.00' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 3.00' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 3.00) AppleWebKit/536.26 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.00' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 3.00' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.00' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 3.00' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 3.01) AppleWebKit/536.26 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.01' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 3.01' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.01' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 3.01' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 3.01) AppleWebKit/536.26 (KHTML, like Gecko) Silk/3.2 VTE/2.50' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.01' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation TV' } } - readable: 'a Sony Playstation TV running 3.01' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.01' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation TV' } } + readable: 'a Sony PlayStation TV running 3.01' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 3.10) AppleWebKit/536.26 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.10' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 3.10' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.10' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 3.10' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 3.10) AppleWebKit/536.26 (KHTML, like Gecko) Silk/3.2 VTE/2.50' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.10' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation TV' } } - readable: 'a Sony Playstation TV running 3.10' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.10' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation TV' } } + readable: 'a Sony PlayStation TV running 3.10' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 3.12) AppleWebKit/536.26 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.12' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 3.12' + result: { engine: { name: Webkit, version: '536.26' }, os: { version: '3.12' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 3.12' - headers: 'User-Agent: Mozilla/5.0 (PlayStation Vita 3.20) AppleWebKit/537.73 (KHTML, like Gecko) Silk/3.2' - result: { engine: { name: Webkit, version: '537.73' }, os: { version: '3.20' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'a Sony Playstation Vita running 3.20' + result: { engine: { name: Webkit, version: '537.73' }, os: { version: '3.20' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'a Sony PlayStation Vita running 3.20' - headers: 'User-Agent: Sony Playstation2 (Utility Disc Ver.2.03c/for PS-modem)[jp]' - result: { device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 2' } } - readable: 'a Sony Playstation 2' + result: { device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 2' } } + readable: 'a Sony PlayStation 2' - headers: 'User-Agent: Mozilla/5.0 [ja] (Playstation2; Linux 2.4.20 MIPS; ja-JP; rv:1.8a2) Gecko/20040630' - result: { engine: { name: Gecko, version: 1.8a2 }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 2' } } - readable: 'a Sony Playstation 2' + result: { engine: { name: Gecko, version: 1.8a2 }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 2' } } + readable: 'a Sony PlayStation 2' - - headers: 'User-Agent: Mozilla/5.0 [ja] (compatible; MSIE 6.0; Linux 2.6.11-1.1369_FC4; Playstation2)' - result: { device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 2' } } - readable: 'a Sony Playstation 2' + headers: 'User-Agent: Mozilla/5.0 [ja] (compatible; MSIE 6.0; Linux 2.6.11-1.1369_FC4; PlayStation2)' + result: { device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 2' } } + readable: 'a Sony PlayStation 2' - headers: 'User-Agent: Mozilla/4.0 (PS2; PlayStation BB Navigator 1.0) NetFront/3.0' - result: { browser: { name: NetFront, version: '3.0', type: browser }, engine: { name: NetFront }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 2' } } - readable: 'NetFront 3.0 on a Sony Playstation 2' + result: { browser: { name: NetFront, version: '3.0', type: browser }, engine: { name: NetFront }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 2' } } + readable: 'NetFront 3.0 on a Sony PlayStation 2' - headers: 'User-Agent: Mozilla/5.0 (PS3) AppleWebKit/535.11 (KHTML, like Gecko) NuantiMeta/2.0' - result: { browser: { name: 'Nuanti Meta', version: '2.0', type: browser }, engine: { name: Webkit, version: '535.11' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'Nuanti Meta 2.0 on a Sony Playstation 3' + result: { browser: { name: 'Nuanti Meta', version: '2.0', type: browser }, engine: { name: Webkit, version: '535.11' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'Nuanti Meta 2.0 on a Sony PlayStation 3' - headers: 'User-Agent: Mozilla/5.0 (PS3) AppleWebKit/535.1 (KHTML, like Gecko) NuantiMeta/2.0 Chrome/13.0.782.220 Safari/535.1' - result: { browser: { name: 'Nuanti Meta', family: { name: Chrome, version: 13 }, version: '2.0', type: browser }, engine: { name: Webkit, version: '535.1' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } - readable: 'Nuanti Meta 2.0 on a Sony Playstation 3' + result: { browser: { name: 'Nuanti Meta', family: { name: Chrome, version: 13 }, version: '2.0', type: browser }, engine: { name: Webkit, version: '535.1' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } + readable: 'Nuanti Meta 2.0 on a Sony PlayStation 3' - headers: 'User-Agent: Mozilla/5.0 (PlayStation 4) AppleWebKit/531.3 (KHTML, like Gecko) SCEE/1.0 Nuanti/2.0' - result: { browser: { name: 'Nuanti Meta', version: '2.0', type: browser }, engine: { name: Webkit, version: '531.3' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 4' } } - readable: 'Nuanti Meta 2.0 on a Sony Playstation 4' + result: { browser: { name: 'Nuanti Meta', version: '2.0', type: browser }, engine: { name: Webkit, version: '531.3' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 4' } } + readable: 'Nuanti Meta 2.0 on a Sony PlayStation 4' - headers: 'User-Agent: Mozilla/5.0 (PlayStation VITA) AppleWebKit/531.3 (KHTML, like Gecko) SCEE/1.0 Nuanti/2.0' - result: { browser: { name: 'Nuanti Meta', version: '2.0', type: browser }, engine: { name: Webkit, version: '531.3' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'Playstation Vita' } } - readable: 'Nuanti Meta 2.0 on a Sony Playstation Vita' + result: { browser: { name: 'Nuanti Meta', version: '2.0', type: browser }, engine: { name: Webkit, version: '531.3' }, device: { type: gaming, subtype: portable, manufacturer: Sony, model: 'PlayStation Vita' } } + readable: 'Nuanti Meta 2.0 on a Sony PlayStation Vita' - headers: 'User-Agent: Mozilla/3.0 (Planetweb/v1.16; SPS JP)' - result: { browser: { name: Planetweb, version: '1.16', type: browser }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 2' } } - readable: 'Planetweb 1.16 on a Sony Playstation 2' + result: { browser: { name: Planetweb, version: '1.16', type: browser }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 2' } } + readable: 'Planetweb 1.16 on a Sony PlayStation 2' - headers: 'User-Agent: Mozilla/3.0 AVE-Front/2.6 (BrowserInfo Screen=624x400x16M; InputMethod=CONTROLER, MOUSE, REMOCON; Page=10M; Category=GAME; Product=ACCESS/NFPS; HTML-Level=3.2; Strage=NO;)' - result: { browser: { name: NetFront, version: '2.6', type: browser }, engine: { name: NetFront }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 2' } } - readable: 'NetFront 2.6 on a Sony Playstation 2' + result: { browser: { name: NetFront, version: '2.6', type: browser }, engine: { name: NetFront }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 2' } } + readable: 'NetFront 2.6 on a Sony PlayStation 2' - headers: 'User-Agent: Mozilla/3.0 AVE-Front/2.6 (BrowserInfo Screen=640x448x16M; InputMethod=CONTROLER, MOUSE, REMOCON; Page=12M; Category=GAME; Product=SUNSOFT/EnjoyMagic; HTML-Level=3.2; Language=ja.SJIS; Storage=NO;)' - result: { browser: { name: NetFront, version: '2.6', type: browser }, engine: { name: NetFront }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 2' } } - readable: 'NetFront 2.6 on a Sony Playstation 2' + result: { browser: { name: NetFront, version: '2.6', type: browser }, engine: { name: NetFront }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 2' } } + readable: 'NetFront 2.6 on a Sony PlayStation 2' - headers: 'User-Agent: Mozilla/5.0 (PS3; Leanback Shell) AppleWebKit/535.22 (KHTML, like Gecko) Chrome/19.0.1048.0 LeanbackShell/01.00.01.73 QA Safari/535.22 Sony PS3/ (PS3, , no, CH)' - readable: 'Chrome Dev 19.0.1048.0 on a Sony Playstation 3' - result: { browser: { name: Chrome, version: 19.0.1048.0, type: browser }, engine: { name: Webkit, version: '535.22' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } + readable: 'Chrome Dev 19.0.1048.0 on a Sony PlayStation 3' + result: { browser: { name: Chrome, version: 19.0.1048.0, type: browser }, engine: { name: Webkit, version: '535.22' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } - - headers: 'User-Agent: Mozilla/5.0 (PS4; Leanback Shell) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.70 LeanbackShell/2.3D Gold build cf8a43c-2016329 Safari/537.22 Sony Playstation4/ (PS4,, en, US)' - readable: 'Chrome 25 on a Sony Playstation 4' - result: { browser: { name: Chrome, version: '25', type: browser }, engine: { name: Webkit, version: '537.22' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 4' } } + headers: 'User-Agent: Mozilla/5.0 (PS4; Leanback Shell) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.70 LeanbackShell/2.3D Gold build cf8a43c-2016329 Safari/537.22 Sony PlayStation4/ (PS4,, en, US)' + readable: 'Chrome 25 on a Sony PlayStation 4' + result: { browser: { name: Chrome, version: '25', type: browser }, engine: { name: Webkit, version: '537.22' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 4' } } - headers: 'User-Agent: Mozilla/5.0 (PS3; PPU 4.2.0) AppleWebKit/537.21+ (KHTML, like Gecko) AmazonSpark/0.1.0' - readable: 'a Sony Playstation 3' - result: { engine: { name: Webkit, version: '537.21' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'Playstation 3' } } + readable: 'a Sony PlayStation 3' + result: { engine: { name: Webkit, version: '537.21' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 3' } } +- + headers: 'User-Agent: Mozilla/5.0 (PlayStation 5/SmartTV) AppleWebKit/605.1.15 (KHTML, like Gecko)' + readable: 'a Sony PlayStation 5' + result: { engine: { name: Webkit, version: 605.1.15 }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 5' } } +- + headers: 'User-Agent: Mozilla/5.0 (PlayStation 5 3.03/SmartTV) AppleWebKit/605.1.15 (KHTML, like Gecko)' + readable: 'a Sony PlayStation 5 running 3.03' + result: { engine: { name: Webkit, version: 605.1.15 }, os: { version: '3.03' }, device: { type: gaming, subtype: console, manufacturer: Sony, model: 'PlayStation 5' } } \ No newline at end of file diff --git a/test/data/mobile/app-chat.yaml b/test/data/mobile/app-chat.yaml index b2977e4..69f83a3 100644 --- a/test/data/mobile/app-chat.yaml +++ b/test/data/mobile/app-chat.yaml @@ -20,12 +20,12 @@ readable: 'Yahoo Messenger 1.8.4 on an Archos 79XE running Android 4.2.2' - headers: 'User-Agent: WhatsApp/2.11.164 Android/4_2_2 Device/samsung-GT-I9152' - result: { browser: { name: WhatsApp, version: '2.11', type: 'app:chat' }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Mega 5.8 Plus' } } - readable: 'WhatsApp 2.11 on a Samsung Galaxy Mega 5.8 Plus running Android 4.2.2' + result: { browser: { name: WhatsApp, version: 2.11.164, type: 'app:chat' }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Mega 5.8 Plus' } } + readable: 'WhatsApp 2.11.164 on a Samsung Galaxy Mega 5.8 Plus running Android 4.2.2' - headers: 'User-Agent: WhatsApp/2.11.139 Android/4.0.4 Device/HTC-HTC_Incredible_S' - result: { browser: { name: WhatsApp, version: '2.11', type: 'app:chat' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: HTC, model: 'Incredible S' } } - readable: 'WhatsApp 2.11 on a HTC Incredible S running Android 4.0.4' + result: { browser: { name: WhatsApp, version: 2.11.139, type: 'app:chat' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: HTC, model: 'Incredible S' } } + readable: 'WhatsApp 2.11.139 on a HTC Incredible S running Android 4.0.4' - headers: 'User-Agent: WhatsApp+/2.11.83 Android/4.1.2 Device/samsung-GT-S5310' result: { browser: { name: WhatsApp, version: '2.11', type: 'app:chat' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Pocket Neo' } } @@ -36,20 +36,20 @@ readable: 'WhatsApp 2.11 on a Motorola DEFY+ running Android 4.0.4' - headers: 'User-Agent: WhatsApp/2.11.107 S60Version/3.1 Device/Nokia-E51-(02.1)' - result: { browser: { name: WhatsApp, version: '2.11', type: 'app:chat' }, os: { name: Series60, family: Symbian, version: '3.1' }, device: { type: mobile, subtype: smart, manufacturer: Nokia, model: E51 } } - readable: 'WhatsApp 2.11 on a Nokia E51 running Series60 3.1' + result: { browser: { name: WhatsApp, version: 2.11.107, type: 'app:chat' }, os: { name: Series60, family: Symbian, version: '3.1' }, device: { type: mobile, subtype: smart, manufacturer: Nokia, model: E51 } } + readable: 'WhatsApp 2.11.107 on a Nokia E51 running Series60 3.1' - headers: 'User-Agent: WhatsApp/2.11.236 S60Version/3.2 Device/Nokia-6650-(02.01)' - result: { browser: { name: WhatsApp, version: '2.11', type: 'app:chat' }, os: { name: Series60, family: Symbian, version: '3.2' }, device: { type: mobile, subtype: smart, manufacturer: Nokia, model: '6650' } } - readable: 'WhatsApp 2.11 on a Nokia 6650 running Series60 3.2' + result: { browser: { name: WhatsApp, version: 2.11.236, type: 'app:chat' }, os: { name: Series60, family: Symbian, version: '3.2' }, device: { type: mobile, subtype: smart, manufacturer: Nokia, model: '6650' } } + readable: 'WhatsApp 2.11.236 on a Nokia 6650 running Series60 3.2' - headers: 'User-Agent: WhatsApp/2.11.356 WP7/7.10.8107 Device/SAMSUNG-GT-I8350-H23.15.0.8' - result: { browser: { name: WhatsApp, version: '2.11', type: 'app:chat' }, os: { name: 'Windows Phone', version: '7.10' }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Omnia W' } } - readable: 'WhatsApp 2.11 on a Samsung Omnia W running Windows Phone 7.10' + result: { browser: { name: WhatsApp, version: 2.11.356, type: 'app:chat' }, os: { name: 'Windows Phone', version: '7.10' }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Omnia W' } } + readable: 'WhatsApp 2.11.356 on a Samsung Omnia W running Windows Phone 7.10' - headers: 'User-Agent: WhatsApp/2.11.282 WP7/8.0.10328.0 Device/NOKIA-RM-914_eu_euro2_341-H1.0.0.0' - result: { browser: { name: WhatsApp, version: '2.11', type: 'app:chat' }, os: { name: 'Windows Phone', version: '8.0' }, device: { type: mobile, subtype: smart, manufacturer: Nokia, model: 'Lumia 520' } } - readable: 'WhatsApp 2.11 on a Nokia Lumia 520 running Windows Phone 8.0' + result: { browser: { name: WhatsApp, version: 2.11.282, type: 'app:chat' }, os: { name: 'Windows Phone', version: '8.0' }, device: { type: mobile, subtype: smart, manufacturer: Nokia, model: 'Lumia 520' } } + readable: 'WhatsApp 2.11.282 on a Nokia Lumia 520 running Windows Phone 8.0' - headers: 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_2 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12B440 [FBAN/MessengerForiOS;FBAV/17.0.0.20.11;FBBV/5740516;FBDV/iPhone7,1;FBMD/iPhone;FBSN/iPhone OS;FBSV/8.1.2;FBSS/3; FBCR/TelenorDK;FBID/phone;FBLC/da_DK;FBOP/5]' result: { browser: { name: 'Facebook Messenger', type: 'app:chat' }, engine: { name: Webkit, version: 600.1.4 }, os: { name: iOS, version: 8.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: 'iPhone 6 Plus' } } @@ -81,4 +81,40 @@ - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 6.0.1; Le X526 Build/IIXOSOP5801910121S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Mobile Safari/537.36 Wire/0.564.2.20' readable: 'Wire 0.564.2.20 on a LeEco Le 2 X526 running Android 6.0.1' - result: { browser: { name: Wire, family: { name: Chrome, version: 56 }, version: 0.564.2.20, type: 'app:chat' }, engine: { name: Blink }, os: { name: Android, version: 6.0.1 }, device: { type: mobile, subtype: smart, manufacturer: LeEco, model: 'Le 2 X526' } } \ No newline at end of file + result: { browser: { name: Wire, family: { name: Chrome, version: 56 }, version: 0.564.2.20, type: 'app:chat' }, engine: { name: Blink }, os: { name: Android, version: 6.0.1 }, device: { type: mobile, subtype: smart, manufacturer: LeEco, model: 'Le 2 X526' } } +- + headers: 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_2 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12B440 Line/9.8.0' + result: { browser: { name: Line, version: 9.8.0, type: 'app:chat' }, engine: { name: Webkit, version: 600.1.4 }, os: { name: iOS, version: 8.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: iPhone } } + readable: 'Line 9.8.0 on an Apple iPhone running iOS 8.1.2' +- + headers: 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 10_1_1 like Mac OS X) AppleWebKit/602.2.14 (KHTML, like Gecko) Mobile/14B100 KAKAOTALK 5.9.2' + readable: 'KakaoTalk 5.9.2 on an Apple iPhone running iOS 10.1.1' + result: { browser: { name: KakaoTalk, version: 5.9.2, type: 'app:chat' }, engine: { name: Webkit, version: 602.2.14 }, os: { name: iOS, version: 10.1.1 }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: iPhone } } +- + headers: 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) AtomShell/2.3.1 Chrome/52.0.2743.82 Electron/1.3.8 Safari/537.36 Slack_SSB/2.3.1' + readable: 'Slack 2.3.1 on macOS Sierra 10.12' + result: { browser: { name: Slack, using: { name: Electron, version: 2.3.1 }, family: { name: Chrome, version: 52 }, version: 2.3.1, type: 'app:chat' }, engine: { name: Blink }, os: { name: 'OS X', alias: macOS, version: { value: '10.12', nickname: Sierra } }, device: { type: desktop, manufacturer: Apple, model: Macintosh } } +- + headers: 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) WhatsApp/2.2017.6 Chrome/76.0.3809.146 Electron/6.1.9 Safari/537.36' + result: { browser: { name: WhatsApp, using: { name: Electron, version: 6.1.9 }, family: { name: Chrome, version: 76 }, version: 2.2017.6, type: 'app:chat' }, engine: { name: Blink }, os: { name: Windows, version: { value: '10.0', alias: '10' } }, device: { type: desktop } } + readable: 'WhatsApp 2.2017.6 on Windows 10' +- + headers: 'User-Agent: WhatsApp/2.19.360 A' + result: { browser: { name: WhatsApp, version: 2.19.360, type: 'app:chat' } } + readable: 'WhatsApp 2.19.360' +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.4.2;LG-F320S) AppleWebKit/537.36 (KHTML, like Gecko) Zalo/1.0 Safari/537.36' + readable: 'Zalo 1.0 on a LG G2 running Android 4.4.2' + result: { browser: { name: Zalo, version: '1.0', type: 'app:chat' }, engine: { name: Webkit, version: '537.36' }, os: { name: Android, version: 4.4.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: G2 } } +- + headers: 'User-Agent: Zalo-win32-24v294' + readable: 'Zalo 24' + result: { browser: { name: Zalo, version: '24', type: 'app:chat' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 6.0.1; Le X526 Build/IIXOSOP5801910121S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Mobile Safari/537.36 Viber' + readable: 'Viber on a LeEco Le 2 X526 running Android 6.0.1' + result: { browser: { name: Viber, family: { name: Chrome, version: 56 }, type: 'app:chat' }, engine: { name: Blink }, os: { name: Android, version: 6.0.1 }, device: { type: mobile, subtype: smart, manufacturer: LeEco, model: 'Le 2 X526' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 9; SM-G950F Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/79.0.3945.79 Mobile Safari/537.36 Viber/12.0.0.4' + readable: 'Viber on a Samsung Galaxy S8 running Android 9' + result: { browser: { name: Viber, using: { name: 'Chromium WebView', version: '79' }, type: 'app:chat' }, engine: { name: Blink }, os: { name: Android, version: '9' }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy S8' } } \ No newline at end of file diff --git a/test/data/mobile/app-social.yaml b/test/data/mobile/app-social.yaml index 19f8136..e5d5ebc 100644 --- a/test/data/mobile/app-social.yaml +++ b/test/data/mobile/app-social.yaml @@ -85,4 +85,8 @@ - headers: 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Mobile/15A372 [FBAN/FBIOS;FBAV/147.0.0.46.81;FBBV/76961488;FBDV/iPhone10,4;FBMD/iPhone;FBSN/iOS;FBSV/11.0;FBSS/2;FBCR/KPNNL;FBID/phone;FBLC/nl_NL;FBOP/5;FBRV/' readable: 'Facebook on an Apple iPhone 8 running iOS 11.0' - result: { browser: { name: Facebook, type: 'app:social' }, engine: { name: Webkit, version: 604.1.38 }, os: { name: iOS, version: '11.0' }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: 'iPhone 8' } } \ No newline at end of file + result: { browser: { name: Facebook, type: 'app:social' }, engine: { name: Webkit, version: 604.1.38 }, os: { name: iOS, version: '11.0' }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: 'iPhone 8' } } +- + headers: 'User-Agent: YelpWebView/1.5 Android/6.0.1 YelpApp/9.9.0 (x-screen-scale 1.0;)' + readable: 'Yelp 9.9.0 on Android 6.0.1' + result: { browser: { name: Yelp, version: 9.9.0, type: 'app:social' }, os: { name: Android, version: 6.0.1 }, device: { type: tablet } } \ No newline at end of file diff --git a/test/data/mobile/browser-chrome.yaml b/test/data/mobile/browser-chrome.yaml index 91ba02c..8300ffb 100644 --- a/test/data/mobile/browser-chrome.yaml +++ b/test/data/mobile/browser-chrome.yaml @@ -290,3 +290,19 @@ headers: 'User-Agent: m2 note/4.5 Linux/3.10.65 Android/5.1 Release/08.17.2015 Browser/Chrome40.0.2214.114 Profile/MIDP-2.0 Configuration/CLDC-1.1' result: { browser: { name: Chrome, version: '40', type: browser }, os: { name: Android, version: '5.1' }, device: { type: mobile, subtype: smart, manufacturer: Meizu, model: 'M2 Note' } } readable: 'Chrome 40 on a Meizu M2 Note running Android 5.1' +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.0.0 Mobile Safari/537.36' + readable: 'Chrome 100 on Android 10' + result: { browser: { name: Chrome, version: '100', type: browser }, engine: { name: Blink }, os: { name: Android, version: '10' }, device: { type: mobile, subtype: smart } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.0.0 Mobile Safari/537.36' + readable: 'Chrome 96 on Android 10' + result: { browser: { name: Chrome, version: '96', type: browser }, engine: { name: Blink }, os: { name: Android, version: '10' }, device: { type: mobile, subtype: smart } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.0.0 Mobile Safari/537.36' + readable: 'Chrome 97 on Android 10' + result: { browser: { name: Chrome, version: '97', type: browser }, engine: { name: Blink }, os: { name: Android, version: '10' }, device: { type: mobile, subtype: smart } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 9; Unspecified Device) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.0.0 Mobile Safari/537.36' + readable: 'Chrome 90 on Android 9' + result: { browser: { name: Chrome, version: '90', type: browser }, engine: { name: Blink }, os: { name: Android, version: '9' }, device: { type: mobile, subtype: smart } } \ No newline at end of file diff --git a/test/data/mobile/browser-firefox-ios.yaml b/test/data/mobile/browser-firefox-ios.yaml index d6efe45..d568a0b 100644 --- a/test/data/mobile/browser-firefox-ios.yaml +++ b/test/data/mobile/browser-firefox-ios.yaml @@ -18,3 +18,7 @@ headers: 'User-Agent: Mozilla/5.0 (iPod touch; CPU iPhone OS 9_0_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) FxiOS/1.1 Mobile/13A452 Safari/601.1.46' result: { browser: { name: Firefox, version: '1.1', type: browser }, engine: { name: Webkit, version: 601.1.46 }, os: { name: iOS, version: 9.0.2 }, device: { type: media, manufacturer: Apple, model: 'iPod touch' } } readable: 'Firefox 1.1 on an Apple iPod touch running iOS 9.0.2' +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 8.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Focus/4.0.2 Chrome/66.0.3359.126 Mobile Safari/537.36' + readable: 'Firefox Focus 4.0.2 on Android 8.0.0' + result: { browser: { name: 'Firefox Focus', family: { name: Chrome, version: 66 }, version: 4.0.2, type: browser }, engine: { name: Blink }, os: { name: Android, version: 8.0.0 }, device: { type: mobile, subtype: smart } } \ No newline at end of file diff --git a/test/data/mobile/browser-opera.yaml b/test/data/mobile/browser-opera.yaml index 0353782..a42a8aa 100644 --- a/test/data/mobile/browser-opera.yaml +++ b/test/data/mobile/browser-opera.yaml @@ -122,3 +122,27 @@ headers: 'User-Agent: GT-E3309 Opera/9.80 (J2ME/MIDP; Opera Mini/4.4.29644/37.8773; U; es) Presto/2.12.423 Version/12.16' readable: 'Opera Mini 4.4 on a Samsung GT-E3309' result: { browser: { name: 'Opera Mini', version: '4.4', type: browser }, engine: { name: Presto, version: 2.12.423 }, device: { type: mobile, subtype: feature, manufacturer: Samsung, model: GT-E3309 } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 9; SM-N950F Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.157 Mobile Safari/537.36 OPT/1.17.66' + readable: 'Opera Touch 1.17 on a Samsung Galaxy Note 8 running Android 9' + result: { browser: { name: 'Opera Touch', family: { name: Chrome, version: 74 }, version: '1.17', type: browser }, engine: { name: Blink }, os: { name: Android, version: '9' }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Note 8' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 8.1.0; Nokia 8 Sirocco Build/OPR1.170623.026) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.80 Mobile Safari/537.36 OPT/1.11.42' + readable: 'Opera Touch 1.11 on a Nokia 8 Sirocco running Android 8.1.0' + result: { browser: { name: 'Opera Touch', family: { name: Chrome, version: 70 }, version: '1.11', type: browser }, engine: { name: Blink }, os: { name: Android, version: 8.1.0 }, device: { type: mobile, subtype: smart, manufacturer: Nokia, model: '8 Sirocco' } } +- + headers: 'User-Agent: Mozilla/5.0 (iPad; CPU OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) OPT/4' + readable: 'Opera Touch on an Apple iPad running iOS 12.2' + result: { browser: { name: 'Opera Touch', type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: iOS, version: '12.2' }, device: { type: tablet, manufacturer: Apple, model: iPad } } +- + headers: 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 12_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) OPT/4 Mobile/15E148' + readable: 'Opera Touch on an Apple iPhone running iOS 12.3' + result: { browser: { name: 'Opera Touch', type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: iOS, version: '12.3' }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: iPhone } } +- + headers: 'User-Agent: Mozilla/5.0 (iPad; CPU OS 12_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) OPT/2 Mobile/16C50' + readable: 'Opera Touch on an Apple iPad running iOS 12.1.1' + result: { browser: { name: 'Opera Touch', type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: iOS, version: 12.1.1 }, device: { type: tablet, manufacturer: Apple, model: iPad } } +- + headers: 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) OPT/74 Mobile/15G77' + readable: 'Opera Touch on an Apple iPhone running iOS 11.4.1' + result: { browser: { name: 'Opera Touch', type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: iOS, version: 11.4.1 }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: iPhone } } \ No newline at end of file diff --git a/test/data/mobile/browser-other.yaml b/test/data/mobile/browser-other.yaml index 0166b3e..535a0c9 100644 --- a/test/data/mobile/browser-other.yaml +++ b/test/data/mobile/browser-other.yaml @@ -10,10 +10,6 @@ headers: 'User-Agent: Prince/7.1 (http://www.princexml.com)' readable: 'Prince 7.1' result: { browser: { name: Prince, version: '7.1', type: browser } } -- - headers: 'User-Agent: Mozilla/5.0 (Linux; U; Android 4.1.1; en-us; O+ 8.36 Android Build/Oplus8.36_Oplus) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30' - readable: 'Android Browser on an O+ 8.36 Android running Android 4.1.1' - result: { browser: { name: Android Browser }, device: { model: "O+ 8.36 Android", type: "mobile", subtype: "smart"}, engine: { name: Webkit, version: '534.30'}, os: { name: Android, version: 4.1.1 } } - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 5.0.2; Le X507 Build/DHXOSOP5501405251S) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/37.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100502046' readable: 'CM Browser on a LeEco Le 1s X507 running Android 5.0.2' @@ -49,4 +45,76 @@ - headers: 'User-Agent: Mozilla/5.0 (Linux; U; Android 6.0.1; xx; ONEPLUS A3000 Build/MXB48T) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/40.0.2214.89 UCPro/1.0.0.860 Mobile Safari/537.36' readable: 'TinY 1.0.0.860 on an OnePlus 3 running Android 6.0.1' - result: { browser: { name: TinY, family: { name: Chrome, version: 40 }, version: 1.0.0.860, type: browser }, engine: { name: Blink }, os: { name: Android, version: 6.0.1 }, device: { type: mobile, subtype: smart, manufacturer: OnePlus, model: '3' } } \ No newline at end of file + result: { browser: { name: TinY, family: { name: Chrome, version: 40 }, version: 1.0.0.860, type: browser }, engine: { name: Blink }, os: { name: Android, version: 6.0.1 }, device: { type: mobile, subtype: smart, manufacturer: OnePlus, model: '3' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 8.1.0; vivo X9 Build/OPM1.171019.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36 VivoBrowser/6.2.0.5' + readable: 'Vivo Browser 6.2.0.5 on a Vivo X9 running Android 8.1.0' + result: { browser: { name: 'Vivo Browser', using: { name: 'Chromium WebView', version: '62' }, version: 6.2.0.5, type: browser }, engine: { name: Blink }, os: { name: Android, version: 8.1.0 }, device: { type: mobile, subtype: smart, manufacturer: Vivo, model: X9 } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 5.0.2; vivo X6Plus A Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36 VivoBrowser/6.1.1.1' + readable: 'Vivo Browser 6.1.1.1 on a Vivo X6 Plus A running Android 5.0.2' + result: { browser: { name: 'Vivo Browser', using: { name: 'Chromium WebView', version: '62' }, version: 6.1.1.1, type: browser }, engine: { name: Blink }, os: { name: Android, version: 5.0.2 }, device: { type: mobile, subtype: smart, manufacturer: Vivo, model: 'X6 Plus A' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 6.0.1; vivo Y66 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36 VivoBrowser/6.0.5.1' + readable: 'Vivo Browser 6.0.5.1 on a Vivo Y66 running Android 6.0.1' + result: { browser: { name: 'Vivo Browser', using: { name: 'Chromium WebView', version: '62' }, version: 6.0.5.1, type: browser }, engine: { name: Blink }, os: { name: Android, version: 6.0.1 }, device: { type: mobile, subtype: smart, manufacturer: Vivo, model: Y66 } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 5.0.2; vivo Y31 Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/38.0.2125.102 Mobile Safari/537.36 VivoBrowser/5.2.21' + readable: 'Vivo Browser 5.2.21 on a Vivo Y31 running Android 5.0.2' + result: { browser: { name: 'Vivo Browser', family: { name: Chrome, version: 38 }, version: 5.2.21, type: browser }, engine: { name: Blink }, os: { name: Android, version: 5.0.2 }, device: { type: mobile, subtype: smart, manufacturer: Vivo, model: Y31 } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; U; Android 7.1.1; en-us; CPH1723 Build/N6F26Q) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.134 Mobile Safari/537.36 OppoBrowser/15.5.0.2' + readable: 'Oppo Browser 15.5.0.2 on an Oppo F5 running Android 7.1.1' + result: { browser: { name: 'Oppo Browser', family: { name: Chrome, version: 53 }, version: 15.5.0.2, type: browser }, engine: { name: Blink }, os: { name: Android, version: 7.1.1 }, device: { type: mobile, subtype: smart, manufacturer: Oppo, model: F5 } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; U; Android 4.4.4; zh-cn; OPPO R7 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.134 Mobile Safari/537.36 OppoBrowser/4.6.5.3' + readable: 'Oppo Browser 4.6.5.3 on an Oppo R7 running Android 4.4.4' + result: { browser: { name: 'Oppo Browser', family: { name: Chrome, version: 53 }, version: 4.6.5.3, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.4.4 }, device: { type: mobile, subtype: smart, manufacturer: Oppo, model: R7 } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 7.0; HUAWEI-M570/001.00 WAP/OBIGO/Q05A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Mobile Safari/537.36 AlohaBrowser/1.2.1.3' + readable: 'Aloha Browser 1.2.1.3 on a Huawei M570 running Android 7.0' + result: { browser: { name: 'Aloha Browser', family: { name: Chrome, version: 63 }, version: 1.2.1.3, type: browser }, engine: { name: Blink }, os: { name: Android, version: '7.0' }, device: { type: mobile, subtype: smart, manufacturer: Huawei, model: M570 } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; U; Android 7.1.1; en-us; CPH1723 Build/N6F26Q) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.134 Mobile Safari/537.36 CoRom/30.0.1599.101' + readable: 'Corom Browser 30.0.1599.101 on an Oppo F5 running Android 7.1.1' + result: { browser: { name: 'Corom Browser', family: { name: Chrome, version: 53 }, version: 30.0.1599.101, type: browser }, engine: { name: Blink }, os: { name: Android, version: 7.1.1 }, device: { type: mobile, subtype: smart, manufacturer: Oppo, model: F5 } } +- + headers: 'User-Agent: Mozilla/5.0 (iPad; CPU OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E302 Safari/9537.53 DiigoBrowser' + result: { browser: { name: 'Diigo Browser', type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: iOS, version: '11.3' }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: iPad } } + readable: 'Diigo Browser on an Apple iPad running iOS 11.3' +- + headers: 'User-Agent: Mozilla/5.0 (Linux; U; Android 8.1.0; zh-cn; PBAM00 Build/OPM1.171019.026) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.80 Mobile Safari/537.36 HeyTapBrowser/10.7.2.1' + readable: 'HeyTap Browser 10.7.2.1 on an Oppo A5 running Android 8.1.0' + result: { browser: { name: 'HeyTap Browser', family: { name: Chrome, version: 70 }, version: 10.7.2.1, type: browser }, engine: { name: Blink }, os: { name: Android, version: 8.1.0 }, device: { type: mobile, subtype: smart, manufacturer: Oppo, model: A5 } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 5.0.2; Le X507 Build/DHXOSOP5501405251S) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/37.0.0.0 Mobile Safari/537.36 Epic/1.0' + readable: 'Epic Browser 1.0 on a LeEco Le 1s X507 running Android 5.0.2' + result: { browser: { name: 'Epic Browser', using: { name: 'Chromium WebView', version: '37' }, version: '1.0', type: browser }, engine: { name: Blink }, os: { name: Android, version: 5.0.2 }, device: { type: mobile, subtype: smart, manufacturer: LeEco, model: 'Le 1s X507' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; U; Android 9; pl-pl; Redmi 6A Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.128 Mobile Safari/537.36 XiaoMi/Mint Browser/3.3.1' + readable: 'Mint Browser 3.3.1 on a Xiaomi Redmi 6A running Android 9' + result: { browser: { name: 'Mint Browser', family: { name: Chrome, version: 61 }, version: 3.3.1, type: browser }, engine: { name: Blink }, os: { name: Android, version: '9' }, device: { type: mobile, subtype: smart, manufacturer: Xiaomi, model: 'Redmi 6A' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; U; Android 9; en; SM-A205GN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.137 Mobile Tenta/3.1.6 Build/2162 Safari/537.36' + readable: 'Tenta Browser 3.1.6 on a Samsung Galaxy A20 running Android 9' + result: { browser: { name: 'Tenta Browser', family: { name: Chrome, version: 64 }, version: 3.1.6, type: browser }, engine: { name: Blink }, os: { name: Android, version: '9' }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy A20' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 7.1.1; SM-J510H Build/NMF26X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.204 Mobile Safari/537.36 TNSBrowser/25.01' + readable: 'K.Browser 25.01 on a Samsung Galaxy J5 (2016) running Android 7.1.1' + result: { browser: { name: K.Browser, family: { name: Chrome, version: 64 }, version: '25.01', type: browser }, engine: { name: Blink }, os: { name: Android, version: 7.1.1 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy J5 (2016)' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; U; Android 9; RMX1941 Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.134 Mobile Safari/537.36 RealmeBrowser/35.5.0.8' + readable: 'Realme Browser 35.5.0.8 on a RMX1941 running Android 9' + result: { browser: { name: 'Realme Browser', family: { name: Chrome, version: 53 }, version: 35.5.0.8, type: browser }, engine: { name: Blink }, os: { name: Android, version: '9' }, device: { type: mobile, subtype: smart, model: RMX1941 } } +- + headers: 'User-Agent: Mozilla/5.0 (iPad; CPU OS 9_3_5 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13G36 (Ecosia ios@4.0.10.813) Safari/604' + result: { browser: { name: 'Ecosia Browser', version: 4.0.10.813, type: browser }, engine: { name: Webkit, version: 601.1.46 }, os: { name: iOS, version: 9.3.5 }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: iPad } } + readable: 'Ecosia Browser 4.0.10.813 on an Apple iPad running iOS 9.3.5' +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 9; FIG-LX3 Build/HUAWEIFIG-L23) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.128 Mobile Safari/537.36 (Ecosia android@69.0.3497.128)' + result: { browser: { name: 'Ecosia Browser', family: { name: Chrome, version: 69 }, version: 69.0.3497.128, type: browser }, engine: { name: Blink }, os: { name: Android, version: '9' }, device: { type: mobile, subtype: smart, manufacturer: Huawei, model: 'P Smart' } } + readable: 'Ecosia Browser 69.0.3497.128 on a Huawei P Smart running Android 9' +- + headers: 'User-Agent: Mozilla/5.0 (iPad; CPU OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) Mobile/14G60 Version/10.3 Safari/8536.25 Mobicip/1882608256' + result: { browser: { name: Mobicip, type: browser }, engine: { name: Webkit, version: 603.3.8 }, os: { name: iOS, version: 10.3.3 }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: iPad } } + readable: 'Mobicip on an Apple iPad running iOS 10.3.3' \ No newline at end of file diff --git a/test/data/mobile/manufacturer-lg.yaml b/test/data/mobile/manufacturer-lg.yaml index 4785e55..5728a5b 100644 --- a/test/data/mobile/manufacturer-lg.yaml +++ b/test/data/mobile/manufacturer-lg.yaml @@ -188,8 +188,8 @@ readable: 'Chrome 18 on a LG Escape running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; LG-P925 Build/ICS) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.64 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.64, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: Thrill } } - readable: 'Chrome Dev 28.0.1500.64 on a LG Thrill running Android 4.0.4' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: Thrill } } + readable: 'Chrome 28 on a LG Thrill running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; LG-SU660 Build/IMM76L) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19' result: { browser: { name: Chrome, version: '18', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Optimus 2X' } } @@ -236,8 +236,8 @@ readable: 'Chrome 18 on a LG Lucid 2 running Android 4.1.1' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; AS870 4G Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Optimus F5' } } - readable: 'Chrome Dev 26.0.1410.58 on a LG Optimus F5 running Android 4.1.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Optimus F5' } } + readable: 'Chrome 26 on a LG Optimus F5 running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; LG-AS780 Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36' result: { browser: { name: Chrome, version: '41', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Optimus F7' } } @@ -248,12 +248,12 @@ readable: 'Chrome 35 on a LG Optimus F3Q running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; LG-E410 Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Optimus L1 II' } } - readable: 'Chrome Dev 28.0.1500.94 on a LG Optimus L1 II running Android 4.1.2' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Optimus L1 II' } } + readable: 'Chrome 28 on a LG Optimus L1 II running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; LG-E415f Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Optimus L1 II Dual' } } - readable: 'Chrome Dev 28.0.1500.94 on a LG Optimus L1 II Dual running Android 4.1.2' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Optimus L1 II Dual' } } + readable: 'Chrome 28 on a LG Optimus L1 II Dual running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; LG-E425 Build/JZO54K) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19' result: { browser: { name: Chrome, version: '18', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Optimus L3 II' } } @@ -304,16 +304,16 @@ readable: 'Chrome 29 on a LG Connect 4G running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; VS890 4G Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: Enact } } - readable: 'Chrome Dev 26.0.1410.58 on a LG Enact running Android 4.1.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: Enact } } + readable: 'Chrome 26 on a LG Enact running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.2.2; L-05E Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36' result: { browser: { name: Chrome, version: '34', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Optimus it L-05E', carrier: DoCoMo } } readable: 'Chrome 34 on a LG Optimus it L-05E running Android 4.2.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.2.2; Optimusx4 Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Optimus X4' } } - readable: 'Chrome Dev 28.0.1500.94 on a LG Optimus X4 running Android 4.2.2' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Optimus X4' } } + readable: 'Chrome 28 on a LG Optimus X4 running Android 4.2.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.3; AOSP on Mako Build/JLS36C) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/38.0.2125.102 Mobile Safari/537.36' result: { browser: { name: 'LG Browser', type: browser }, engine: { name: Blink }, os: { name: Android, version: '4.3' }, device: { type: mobile, subtype: smart, manufacturer: LG, model: 'Nexus 4' } } diff --git a/test/data/mobile/manufacturer-motorola.yaml b/test/data/mobile/manufacturer-motorola.yaml index 3d84527..337dba0 100644 --- a/test/data/mobile/manufacturer-motorola.yaml +++ b/test/data/mobile/manufacturer-motorola.yaml @@ -72,8 +72,8 @@ readable: 'Chrome 18 on a Motorola XT928 running Android 4.0.3' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.3; Droid2Global Build/MR1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.0.3 }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'Droid 2' } } - readable: 'Chrome Dev 26.0.1410.58 on a Motorola Droid 2 running Android 4.0.3' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.0.3 }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'Droid 2' } } + readable: 'Chrome 26 on a Motorola Droid 2 running Android 4.0.3' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.3; MB525 Build/IML74K) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19' result: { browser: { name: Chrome, version: '18', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.0.3 }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: DEFY } } @@ -92,8 +92,8 @@ readable: 'Chrome 18 on a Motorola Milestone running Android 4.0.3' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.3; XT862 Build/5.5.1_84_D3G-55) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.3 }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'Droid 3' } } - readable: 'Chrome Dev 28.0.1500.94 on a Motorola Droid 3 running Android 4.0.3' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.3 }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'Droid 3' } } + readable: 'Chrome 28 on a Motorola Droid 3 running Android 4.0.3' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; MB526 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19' result: { browser: { name: Chrome, version: '18', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: DEFY+ } } @@ -172,8 +172,8 @@ readable: 'Chrome 18 on a Motorola ATRIX TV running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; XT883 Build/IML74K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.64 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.64, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'Milestone 3' } } - readable: 'Chrome Dev 28.0.1500.64 on a Motorola Milestone 3 running Android 4.0.4' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'Milestone 3' } } + readable: 'Chrome 28 on a Motorola Milestone 3 running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; XT897 Build/7.7.1Q-6_SPR-125_ASA-10) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19' result: { browser: { name: Chrome, version: '18', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'PHOTON Q' } } @@ -208,8 +208,8 @@ readable: 'Chrome 18 on a Motorola RAZR HD running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; TC55 Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'TC55 Touch Computer' } } - readable: 'Chrome Dev 28.0.1500.94 on a Motorola TC55 Touch Computer running Android 4.1.2' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'TC55 Touch Computer' } } + readable: 'Chrome 28 on a Motorola TC55 Touch Computer running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; XT881 Build/9.8.3O-118_USC-14) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19' result: { browser: { name: Chrome, version: '18', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'Electrify 2' } } diff --git a/test/data/mobile/manufacturer-samsung-android.yaml b/test/data/mobile/manufacturer-samsung-android.yaml index 9200a38..fcc42b5 100644 --- a/test/data/mobile/manufacturer-samsung-android.yaml +++ b/test/data/mobile/manufacturer-samsung-android.yaml @@ -36,8 +36,8 @@ readable: 'Chrome 44 on a Samsung Galaxy Axiom running Android 1.6' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 10.0; GT-S6310 Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Young' } } - readable: 'Chrome Dev 26.0.1410.58 on a Samsung Galaxy Young running Android 4.1.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Young' } } + readable: 'Chrome 26 on a Samsung Galaxy Young running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 17.0; GT-S7580 Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.93 Mobile Safari/537.36' result: { browser: { name: Chrome, version: '43', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Trend Plus' } } @@ -84,8 +84,8 @@ readable: 'Chrome 18 on a Samsung Galaxy S II LTE running Android 4.0.3' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.3; SHV-E120L Build/IML74K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.0.3 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy S II HD LTE' } } - readable: 'Chrome Dev 26.0.1410.58 on a Samsung Galaxy S II HD LTE running Android 4.0.3' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.0.3 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy S II HD LTE' } } + readable: 'Chrome 26 on a Samsung Galaxy S II HD LTE running Android 4.0.3' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; GT-I8150 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19' result: { browser: { name: Chrome, version: '18', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy W' } } @@ -148,8 +148,8 @@ readable: 'Chrome 27 on a Samsung Galaxy Ace Plus running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; GT-S7560 Build/IMM76I) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Ace II x' } } - readable: 'Chrome Dev 26.0.1410.58 on a Samsung Galaxy Ace II x running Android 4.0.4' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Ace II x' } } + readable: 'Chrome 26 on a Samsung Galaxy Ace II x running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; GT-S7562 Build/452) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.59 Mobile Safari/537.36' result: { browser: { name: Chrome, version: '31', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy S Duos' } } @@ -184,8 +184,8 @@ readable: 'Chrome 18 on a Samsung Galaxy Stellar running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; SCH-R740C Build/IMM76D) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Discover' } } - readable: 'Chrome Dev 26.0.1410.58 on a Samsung Galaxy Discover running Android 4.0.4' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Discover' } } + readable: 'Chrome 26 on a Samsung Galaxy Discover running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; SCH-S738C Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19' result: { browser: { name: Chrome, version: '18', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Centura' } } @@ -196,8 +196,8 @@ readable: 'Chrome 25 on a Samsung SCH-W2013 running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; SCH-i929 Build/IMM76D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.64 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.64, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy S II Duos' } } - readable: 'Chrome Dev 28.0.1500.64 on a Samsung Galaxy S II Duos running Android 4.0.4' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy S II Duos' } } + readable: 'Chrome 28 on a Samsung Galaxy S II Duos running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; SCL21 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19' result: { browser: { name: Chrome, version: '18', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'GALAXY S III Progre SCL21', carrier: au } } @@ -276,12 +276,12 @@ readable: 'Chrome 34 on a Samsung Galaxy Star Trios running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; GT-S5310 Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Pocket Neo' } } - readable: 'Chrome Dev 26.0.1410.58 on a Samsung Galaxy Pocket Neo running Android 4.1.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Pocket Neo' } } + readable: 'Chrome 26 on a Samsung Galaxy Pocket Neo running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; GT-S5312 Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Pocket Neo Duos' } } - readable: 'Chrome Dev 26.0.1410.58 on a Samsung Galaxy Pocket Neo Duos running Android 4.1.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Pocket Neo Duos' } } + readable: 'Chrome 26 on a Samsung Galaxy Pocket Neo Duos running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; GT-S5830 Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Mobile Safari/537.36' result: { browser: { name: Chrome, version: '27', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Ace' } } @@ -300,28 +300,28 @@ readable: 'Chrome 27 on a Samsung Galaxy Y Duos TV running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; GT-S6790 Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Fame Lite' } } - readable: 'Chrome Dev 28.0.1500.94 on a Samsung Galaxy Fame Lite running Android 4.1.2' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Fame Lite' } } + readable: 'Chrome 28 on a Samsung Galaxy Fame Lite running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; GT-S6792L Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Fame Lite Duos' } } - readable: 'Chrome Dev 26.0.1410.58 on a Samsung Galaxy Fame Lite Duos running Android 4.1.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Fame Lite Duos' } } + readable: 'Chrome 26 on a Samsung Galaxy Fame Lite Duos running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; GT-S6810 Build/JZO54K) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19' result: { browser: { name: Chrome, version: '18', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Fame' } } readable: 'Chrome 18 on a Samsung Galaxy Fame running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; GT-S7262 Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Star Pro' } } - readable: 'Chrome Dev 28.0.1500.94 on a Samsung Galaxy Star Pro running Android 4.1.2' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Star Pro' } } + readable: 'Chrome 28 on a Samsung Galaxy Star Pro running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; GT-S7390 Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Trend Lite' } } - readable: 'Chrome Dev 26.0.1410.58 on a Samsung Galaxy Trend Lite running Android 4.1.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Trend Lite' } } + readable: 'Chrome 26 on a Samsung Galaxy Trend Lite running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; GT-S7392 Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Trend' } } - readable: 'Chrome Dev 26.0.1410.58 on a Samsung Galaxy Trend running Android 4.1.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Trend' } } + readable: 'Chrome 26 on a Samsung Galaxy Trend running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; GT-S7572 Build/JRO03L) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.141 Mobile Safari/537.36' result: { browser: { name: Chrome, version: '35', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Trend II Duos' } } @@ -352,8 +352,8 @@ readable: 'Chrome 40 on a Samsung Galaxy Trend 2 running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; SCH-I759 Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Infinite' } } - readable: 'Chrome Dev 26.0.1410.58 on a Samsung Galaxy Infinite running Android 4.1.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Infinite' } } + readable: 'Chrome 26 on a Samsung Galaxy Infinite running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; SCH-I829 Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Mobile Safari/537.36' result: { browser: { name: Chrome, version: '27', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Style Duos' } } @@ -372,8 +372,8 @@ readable: 'Chrome 34 on a Samsung Galaxy Win Pro running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; SPH-M840 Build/JZO54K) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Ring' } } - readable: 'Chrome Dev 26.0.1410.58 on a Samsung Galaxy Ring running Android 4.1.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Ring' } } + readable: 'Chrome 26 on a Samsung Galaxy Ring running Android 4.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.2; xx; GT-N7100 Build/JZO54K) AppleWebKit/535.19 (KHTML, like Gecko) Version/1.0.130207 Chrome/18.0.1025.308 Mobile Safari/535.19' result: { browser: { name: 'Samsung Internet', version: '1.0', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Samsung, model: 'Galaxy Note II' } } diff --git a/test/data/mobile/manufacturer-sony.yaml b/test/data/mobile/manufacturer-sony.yaml index 3a5eded..9547faa 100644 --- a/test/data/mobile/manufacturer-sony.yaml +++ b/test/data/mobile/manufacturer-sony.yaml @@ -20,8 +20,8 @@ readable: 'Chrome 18 on a Sony Xperia Z running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; LT25c Build/9.0.E.0.287) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia VC' } } - readable: 'Chrome Dev 28.0.1500.94 on a Sony Xperia VC running Android 4.0.4' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia VC' } } + readable: 'Chrome 28 on a Sony Xperia VC running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; LT25i Build/9.0.1.D.0.10) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19' result: { browser: { name: Chrome, version: '18', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia V' } } @@ -92,8 +92,8 @@ readable: 'Chrome 18 on a Sony Xperia J running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.4; ST27a Build/6.1.1.B.0.145) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia Go' } } - readable: 'Chrome Dev 28.0.1500.94 on a Sony Xperia Go running Android 4.0.4' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.0.4 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia Go' } } + readable: 'Chrome 28 on a Sony Xperia Go running Android 4.0.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.1.1; C1504 Build/11.3.A.0.47) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19' result: { browser: { name: Chrome, version: '18', type: browser }, engine: { name: Webkit, version: '535.19' }, os: { name: Android, version: 4.1.1 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia E' } } @@ -136,24 +136,24 @@ readable: 'Chrome 31 on a Sony Xperia E4g running Android 4.2.1' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.2.2; C2004 Build/15.2.A.1.12) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia M dual' } } - readable: 'Chrome Dev 26.0.1410.58 on a Sony Xperia M dual running Android 4.2.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia M dual' } } + readable: 'Chrome 26 on a Sony Xperia M dual running Android 4.2.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.2.2; C6802 Build/14.1.B.0.406) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.90 Mobile Safari/537.36' result: { browser: { name: Chrome, version: '27', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia Z Ultra' } } readable: 'Chrome 27 on a Sony Xperia Z Ultra running Android 4.2.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.2.2; C6902 Build/14.1.G.1.493) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia Z1' } } - readable: 'Chrome Dev 26.0.1410.58 on a Sony Xperia Z1 running Android 4.2.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia Z1' } } + readable: 'Chrome 26 on a Sony Xperia Z1 running Android 4.2.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.2.2; SO-02F Build/14.1.H.1.230) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia Z1 f SO-02F', carrier: DoCoMo } } - readable: 'Chrome Dev 28.0.1500.94 on a Sony Xperia Z1 f SO-02F running Android 4.2.2' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.2.2 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia Z1 f SO-02F', carrier: DoCoMo } } + readable: 'Chrome 28 on a Sony Xperia Z1 f SO-02F running Android 4.2.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.3.1; D2303 Build/21.0.D.8.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.3.1 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia M2' } } - readable: 'Chrome Dev 28.0.1500.94 on a Sony Xperia M2 running Android 4.3.1' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.3.1 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia M2' } } + readable: 'Chrome 28 on a Sony Xperia M2 running Android 4.3.1' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.3.1; Xperia Z Ultra Build/JLS36I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.59 Mobile Safari/537.36' result: { browser: { name: Chrome, version: '31', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.3.1 }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia Z Ultra (Google Edition)' } } @@ -168,8 +168,8 @@ readable: 'Chrome 31 on a Sony Xperia Z1s running Android 4.3' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.3; D2004 Build/20.0.A.1.12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: '4.3' }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia E1' } } - readable: 'Chrome Dev 28.0.1500.94 on a Sony Xperia E1 running Android 4.3' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: '4.3' }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia E1' } } + readable: 'Chrome 28 on a Sony Xperia E1 running Android 4.3' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.3; D2104 Build/20.0.B.0.84) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.89 Mobile Safari/537.36' result: { browser: { name: Chrome, version: '40', type: browser }, engine: { name: Blink }, os: { name: Android, version: '4.3' }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia E1 dual' } } @@ -184,8 +184,8 @@ readable: 'Chrome 31 on a Sony Xperia T2 Ultra dual running Android 4.3' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.3; D5503 Build/14.2.A.1.114) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36' - result: { browser: { name: Chrome, version: 28.0.1500.94, type: browser }, engine: { name: Blink }, os: { name: Android, version: '4.3' }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia Z1 Compact' } } - readable: 'Chrome Dev 28.0.1500.94 on a Sony Xperia Z1 Compact running Android 4.3' + result: { browser: { name: Chrome, version: '28', type: browser }, engine: { name: Blink }, os: { name: Android, version: '4.3' }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia Z1 Compact' } } + readable: 'Chrome 28 on a Sony Xperia Z1 Compact running Android 4.3' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.3; Xperia Z2 Build/JLS36C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.59 Mobile Safari/537.36' result: { browser: { name: Chrome, version: '39', type: browser }, engine: { name: Blink }, os: { name: Android, version: '4.3' }, device: { type: mobile, subtype: smart, manufacturer: Sony, model: 'Xperia Z2' } } diff --git a/test/data/mobile/os-android.yaml b/test/data/mobile/os-android.yaml index ca16455..f907e12 100644 --- a/test/data/mobile/os-android.yaml +++ b/test/data/mobile/os-android.yaml @@ -333,4 +333,40 @@ - headers: 'User-Agent: Mozilla/5.0 (Linux; U; Android 2.2; de; TSB_CLOUD_COMPANION;TOSHIBA_AC_AND_AZ) AppleWebkit/533.1(KHTML, like Gecko) Version/4.0 Safari/533.1' readable: 'Android Browser on a Toshiba Dynabook AZ running Android 2.2' - result: { browser: { name: 'Android Browser' }, engine: { name: Webkit, version: '533.1' }, os: { name: Android, version: '2.2' }, device: { type: desktop, manufacturer: Toshiba, model: 'Dynabook AZ' } } \ No newline at end of file + result: { browser: { name: 'Android Browser' }, engine: { name: Webkit, version: '533.1' }, os: { name: Android, version: '2.2' }, device: { type: desktop, manufacturer: Toshiba, model: 'Dynabook AZ' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; arm_64; Android 6.0.1; NX549J) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 YaBrowser/20.9.3.85.00 SA/3 Mobile Safari/537.36' + readable: 'Yandex Browser 20.9 on a ZTE Nubia Z11 Mini S running Android 6.0.1' + result: { browser: { name: 'Yandex Browser', family: { name: Chrome, version: 85 }, version: '20.9', type: browser }, engine: { name: Blink }, os: { name: Android, version: 6.0.1 }, device: { type: mobile, subtype: smart, manufacturer: ZTE, model: 'Nubia Z11 Mini S' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; arm; Android 6.0.1; NX549J) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 YaBrowser/20.9.3.85.00 SA/3 Mobile Safari/537.36' + readable: 'Yandex Browser 20.9 on a ZTE Nubia Z11 Mini S running Android 6.0.1' + result: { browser: { name: 'Yandex Browser', family: { name: Chrome, version: 85 }, version: '20.9', type: browser }, engine: { name: Blink }, os: { name: Android, version: 6.0.1 }, device: { type: mobile, subtype: smart, manufacturer: ZTE, model: 'Nubia Z11 Mini S' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; U; Android 9; th; vivo 1915) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.137 Mobile Tenta/3.1.6 Build/2162 Safari/537.36' + readable: 'Tenta Browser 3.1.6 on a vivo 1915 running Android 9' + result: { browser: { name: 'Tenta Browser', family: { name: Chrome, version: 64 }, version: 3.1.6, type: browser }, engine: { name: Blink }, os: { name: Android, version: '9' }, device: { type: mobile, subtype: smart, model: 'vivo 1915' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 11; moto g(60)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.79 Mobile Safari/537.36' + readable: 'Chrome 100 on a Motorola Moto G60 running Android 11' + result: { browser: { name: Chrome, version: '100', type: browser }, engine: { name: Blink }, os: { name: Android, version: '11' }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'Moto G60' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 11; moto g(60)s) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.79 Mobile Safari/537.36' + readable: 'Chrome 100 on a Motorola Moto G60s running Android 11' + result: { browser: { name: Chrome, version: '100', type: browser }, engine: { name: Blink }, os: { name: Android, version: '11' }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'Moto G60s' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.79 Mobile Safari/537.36' + readable: 'Chrome 100 on a Google Pixel 4a 5G running Android 11' + result: { browser: { name: Chrome, version: '100', type: browser }, engine: { name: Blink }, os: { name: Android, version: '11' }, device: { type: mobile, subtype: smart, manufacturer: Google, model: 'Pixel 4a 5G' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 10; moto e(6i) Build/QOHS30.280-7-9) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 Mobile Safari/537.36' + readable: 'Chrome 99 on a Motorola Moto E6i running Android 10' + result: { browser: { name: Chrome, version: '99', type: browser }, engine: { name: Blink }, os: { name: Android, version: '10' }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'Moto E6i' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 11; moto g(9) play) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.79 Mobile Safari/537.36' + readable: 'Chrome 100 on a Motorola Moto G9 Play running Android 11' + result: { browser: { name: Chrome, version: '100', type: browser }, engine: { name: Blink }, os: { name: Android, version: '11' }, device: { type: mobile, subtype: smart, manufacturer: Motorola, model: 'Moto G9 Play' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 10; ELS-NX9; HMSCore 6.4.0.312) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.105 HuaweiBrowser/12.0.1.302 Mobile Safari/537.36' + readable: 'Huawei Browser 12.0 on a Huawei P40 Pro running Android 10' + result: { browser: { name: 'Huawei Browser', family: { name: Chrome, version: 92 }, version: '12.0', type: browser }, engine: { name: Blink }, os: { name: Android, version: '10' }, device: { type: mobile, subtype: smart, manufacturer: Huawei, model: 'P40 Pro' } } \ No newline at end of file diff --git a/test/data/mobile/os-harmony.yaml b/test/data/mobile/os-harmony.yaml new file mode 100644 index 0000000..8c26e2b --- /dev/null +++ b/test/data/mobile/os-harmony.yaml @@ -0,0 +1,8 @@ +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 10; HarmonyOS; DVC-AN20; HMSCore 6.4.0.312) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.105 HuaweiBrowser/12.0.1.302 Mobile Safari/537.36' + readable: 'Huawei Browser 12.0 on a Huawei Enjoy 20 Pro running Harmony OS' + result: { browser: { name: 'Huawei Browser', family: { name: Chrome, version: 92 }, version: '12.0', type: browser }, engine: { name: Blink }, os: { name: 'Harmony OS', family: { name: Android, version: 10 } }, device: { type: mobile, subtype: smart, manufacturer: Huawei, model: 'Enjoy 20 Pro' } } +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 10; HarmonyOS; HLK-AL00; HMSCore 6.3.0.327; GMSCore 21.33.14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.105 HuaweiBrowser/12.0.0.303 Mobile Safari/537.36' + readable: 'Huawei Browser 12.0 on a Huawei Honor 9X running Harmony OS' + result: { browser: { name: 'Huawei Browser', family: { name: Chrome, version: 92 }, version: '12.0', type: browser }, engine: { name: Blink }, os: { name: 'Harmony OS', family: { name: Android, version: 10 } }, device: { type: mobile, subtype: smart, manufacturer: Huawei, model: 'Honor 9X' } } \ No newline at end of file diff --git a/test/data/mobile/os-ios.yaml b/test/data/mobile/os-ios.yaml index de72bec..764a9a6 100644 --- a/test/data/mobile/os-ios.yaml +++ b/test/data/mobile/os-ios.yaml @@ -466,3 +466,19 @@ headers: 'User-Agent: AtomicLite/7.0.1 CFNetwork/672.1.13 Darwin/14.0.0' result: { browser: { name: Atomic, version: 7.0.1, type: browser }, os: { name: iOS, version: '7.1' }, device: { type: mobile, subtype: smart, manufacturer: Apple } } readable: 'Atomic 7.0.1 on iOS 7.1' +- + headers: 'User-Agent: (iPhone; iOS 13.1.2; Scale/2.00; iPhone9,3)' + readable: 'an Apple iPhone 7 running iOS 13.1.2' + result: { os: { name: iOS, version: 13.1.2 }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: 'iPhone 7' } } +- + headers: 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 18_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.2 Mobile/15E148 Safari/604.1' + readable: 'Safari on an Apple iPhone running iOS 26.2' + result: { browser: { name: Safari, version: '26.2', type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: iOS, version: '26.2' }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: iPhone } } +- + headers: 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 18_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0 Mobile/15E148 Safari/604.1' + readable: 'Safari on an Apple iPhone running iOS 26.0' + result: { browser: { name: Safari, version: '26.0', type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: iOS, version: '26.0' }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: iPhone } } +- + headers: 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.87 Mobile/15E148 Safari/604.1' + readable: 'Chrome 123 on an Apple iPhone running iOS 17.4' + result: { browser: { name: Chrome, version: '123', type: browser }, engine: { name: Webkit, version: 605.1.15 }, os: { name: iOS, version: '17.4' }, device: { type: mobile, subtype: smart, manufacturer: Apple, model: iPhone } } \ No newline at end of file diff --git a/test/data/mobile/os-webos.yaml b/test/data/mobile/os-webos.yaml index 441298a..12c62d4 100644 --- a/test/data/mobile/os-webos.yaml +++ b/test/data/mobile/os-webos.yaml @@ -44,97 +44,97 @@ readable: 'a Palm Pre 2 running webOS 2.2.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; webOS/2.2.0; U; xx) AppleWebKit/534.6 (KHTML, like Gecko) webOSBrowser/221.54 Safari/534.6 Pre/3.0' - result: { engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '2.2' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre 3' } } - readable: 'a Palm Pre 3 running webOS 2.2' + result: { engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '2.2.0' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre 3' } } + readable: 'a Palm Pre 3 running webOS 2.2.0' - headers: 'User-Agent: Mozilla/5.0 (Linux; webOS/2.2.4; U; xx) AppleWebKit/534.6 (KHTML, like Gecko) webOSBrowser/221.56 Safari/534.6 P160UNA/1.0' - result: { engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '2.2' }, device: { type: mobile, subtype: smart, manufacturer: HP, model: Veer } } - readable: 'a HP Veer running webOS 2.2' + result: { engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '2.2.4' }, device: { type: mobile, subtype: smart, manufacturer: HP, model: Veer } } + readable: 'a HP Veer running webOS 2.2.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; webOS/2.2.4; U; xx) AppleWebKit/534.6 (KHTML, like Gecko) webOSBrowser/221.56 Safari/534.6 Pre/1.2' - result: { engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '2.2' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre 2' } } - readable: 'a Palm Pre 2 running webOS 2.2' + result: { engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '2.2.4' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre 2' } } + readable: 'a Palm Pre 2 running webOS 2.2.4' - headers: 'User-Agent: Mozilla/5.0 (Linux; webOS/2.2.4; U; xx) AppleWebKit/534.6 (KHTML, like Gecko) webOSBrowser/221.56 Safari/534.6 Pre/3.0' - result: { engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '2.2' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre 3' } } - readable: 'a Palm Pre 3 running webOS 2.2' + result: { engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '2.2.4' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre 3' } } + readable: 'a Palm Pre 3 running webOS 2.2.4' - headers: 'User-Agent: Mozilla/5.0 (hp-desktop; Linux; hpwOS/2.0; U; xx) AppleWebKit/534.6 (KHTML, like Gecko) wOSBrowser/234.83 Safari/534.6 Desktop/1.0' result: { browser: { name: 'webOS Browser', type: browser }, engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '2.0' }, device: { type: emulator } } readable: 'webOS Browser on an emulator running webOS 2.0' - headers: 'User-Agent: Mozilla/5.0 (iPhone; U; xx)(webOS/2.1.0; U; xx) AppleWebKit/532.2 Version/1.0 Safari/532.2 Pre/1.0 -CET' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: Pre } } - readable: 'a Palm Pre running webOS 2.1' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1.0' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: Pre } } + readable: 'a Palm Pre running webOS 2.1.0' - headers: 'User-Agent: Mozilla/5.0 (webOS/1.0; U; xx) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/1.0 Safari/525.27.1 Pre/1.0' result: { engine: { name: Webkit, version: 525.27.1 }, os: { name: webOS, version: '1.0' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: Pre } } readable: 'a Palm Pre running webOS 1.0' - headers: 'User-Agent: Mozilla/5.0 (webOS/1.4.0; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.0' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: Pre } } - readable: 'a Palm Pre running webOS 1.4' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4.0' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: Pre } } + readable: 'a Palm Pre running webOS 1.4.0' - headers: 'User-Agent: Mozilla/5.0 (webOS/1.4.5.1; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pixi/1.1' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pixi Plus' } } - readable: 'a Palm Pixi Plus running webOS 1.4' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4.5.1' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pixi Plus' } } + readable: 'a Palm Pixi Plus running webOS 1.4.5.1' - headers: 'User-Agent: Mozilla/5.0 (webOS/1.4.5.1; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.1' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre Plus' } } - readable: 'a Palm Pre Plus running webOS 1.4' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4.5.1' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre Plus' } } + readable: 'a Palm Pre Plus running webOS 1.4.5.1' - headers: 'User-Agent: Mozilla/5.0 (webOS/1.4.5; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pixi/1.0' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: Pixi } } - readable: 'a Palm Pixi running webOS 1.4' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4.5' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: Pixi } } + readable: 'a Palm Pixi running webOS 1.4.5' - headers: 'User-Agent: Mozilla/5.0 (webOS/1.4.5; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pixi/1.1' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pixi Plus' } } - readable: 'a Palm Pixi Plus running webOS 1.4' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4.5' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pixi Plus' } } + readable: 'a Palm Pixi Plus running webOS 1.4.5' - headers: 'User-Agent: Mozilla/5.0 (webOS/1.4.5; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.0' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: Pre } } - readable: 'a Palm Pre running webOS 1.4' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4.5' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: Pre } } + readable: 'a Palm Pre running webOS 1.4.5' - headers: 'User-Agent: Mozilla/5.0 (webOS/1.4.5; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.1' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre Plus' } } - readable: 'a Palm Pre Plus running webOS 1.4' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '1.4.5' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre Plus' } } + readable: 'a Palm Pre Plus running webOS 1.4.5' - headers: 'User-Agent: Mozilla/5.0 (webOS/2.0.0; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.2' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.0' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre 2' } } - readable: 'a Palm Pre 2 running webOS 2.0' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.0.0' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre 2' } } + readable: 'a Palm Pre 2 running webOS 2.0.0' - headers: 'User-Agent: Mozilla/5.0 (webOS/2.1.0; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.0' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: Pre } } - readable: 'a Palm Pre running webOS 2.1' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1.0' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: Pre } } + readable: 'a Palm Pre running webOS 2.1.0' - headers: 'User-Agent: Mozilla/5.0 (webOS/2.1.0; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.1' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre Plus' } } - readable: 'a Palm Pre Plus running webOS 2.1' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1.0' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre Plus' } } + readable: 'a Palm Pre Plus running webOS 2.1.0' - headers: 'User-Agent: Mozilla/5.0 (webOS/2.1.0; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.2' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre 2' } } - readable: 'a Palm Pre 2 running webOS 2.1' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1.0' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pre 2' } } + readable: 'a Palm Pre 2 running webOS 2.1.0' - headers: 'User-Agent: Mozilla/5.0 (webOS/2.1.1; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 P160U/1.0' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1' }, device: { type: mobile, subtype: smart, manufacturer: HP, model: Veer } } - readable: 'a HP Veer running webOS 2.1' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1.1' }, device: { type: mobile, subtype: smart, manufacturer: HP, model: Veer } } + readable: 'a HP Veer running webOS 2.1.1' - headers: 'User-Agent: Mozilla/5.0 (webOS/2.1.2; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 P160U/1.0' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1' }, device: { type: mobile, subtype: smart, manufacturer: HP, model: Veer } } - readable: 'a HP Veer running webOS 2.1' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1.2' }, device: { type: mobile, subtype: smart, manufacturer: HP, model: Veer } } + readable: 'a HP Veer running webOS 2.1.2' - headers: 'User-Agent: Mozilla/5.0 (webOS/2.1.2; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 P160UNA/1.0' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1' }, device: { type: mobile, subtype: smart, manufacturer: HP, model: Veer } } - readable: 'a HP Veer running webOS 2.1' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1.2' }, device: { type: mobile, subtype: smart, manufacturer: HP, model: Veer } } + readable: 'a HP Veer running webOS 2.1.2' - headers: 'User-Agent: Mozilla/5.0 (webOS/HP webOS 2.1.0; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pixi/1.1' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pixi Plus' } } - readable: 'a Palm Pixi Plus running webOS 2.1' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1.0' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pixi Plus' } } + readable: 'a Palm Pixi Plus running webOS 2.1.0' - headers: 'User-Agent: Mozilla/5.0 (webOS/HP webOS 2.1.2; U; xx) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pixi/1.1' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pixi Plus' } } - readable: 'a Palm Pixi Plus running webOS 2.1' + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS, version: '2.1.2' }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pixi Plus' } } + readable: 'a Palm Pixi Plus running webOS 2.1.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; U; en-US) AppleWebKit/532.2 Version/1.0 Safari/532.2 Pixi/1.1' readable: 'a Palm Pixi Plus running webOS' - result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pixi Plus' } } + result: { engine: { name: Webkit, version: '532.2' }, os: { name: webOS }, device: { type: mobile, subtype: smart, manufacturer: Palm, model: 'Pixi Plus' } } \ No newline at end of file diff --git a/test/data/tablet/manufacturer-samsung.yaml b/test/data/tablet/manufacturer-samsung.yaml index 140e5b6..2a06001 100644 --- a/test/data/tablet/manufacturer-samsung.yaml +++ b/test/data/tablet/manufacturer-samsung.yaml @@ -80,8 +80,8 @@ readable: 'Chrome 30 on a Samsung Galaxy Tab 3 Lite running Android 4.2.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.2.2; SM-T310 Build/JDQ39) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.58 Safari/537.31' - result: { browser: { name: Chrome, version: 26.0.1410.58, type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.2.2 }, device: { type: tablet, manufacturer: Samsung, model: 'Galaxy Tab 3 8.0' } } - readable: 'Chrome Dev 26.0.1410.58 on a Samsung Galaxy Tab 3 8.0 running Android 4.2.2' + result: { browser: { name: Chrome, version: '26', type: browser }, engine: { name: Webkit, version: '537.31' }, os: { name: Android, version: 4.2.2 }, device: { type: tablet, manufacturer: Samsung, model: 'Galaxy Tab 3 8.0' } } + readable: 'Chrome 26 on a Samsung Galaxy Tab 3 8.0 running Android 4.2.2' - headers: 'User-Agent: Mozilla/5.0 (Linux; Android 4.2.2; xx; SAMSUNG SM-P905 Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Version/1.5 Chrome/28.0.1500.94 Safari/537.36' result: { browser: { name: 'Samsung Internet', version: '1.5', type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.2.2 }, device: { type: tablet, manufacturer: Samsung, model: 'Galaxy Note Pro' } } diff --git a/test/data/tablet/os-android.yaml b/test/data/tablet/os-android.yaml index cc0d501..084c777 100644 --- a/test/data/tablet/os-android.yaml +++ b/test/data/tablet/os-android.yaml @@ -6,3 +6,7 @@ headers: 'User-Agent: Mozilla/5.0 (Linux; U; Android 2.2; xx; HP eStation/1.0) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1' result: { browser: { name: 'Android Browser' }, engine: { name: Webkit, version: '533.1' }, os: { name: Android, version: '2.2' }, device: { type: printer, manufacturer: HP, model: eStation } } readable: 'Android Browser on a HP eStation running Android 2.2' +- + headers: 'User-Agent: Mozilla/5.0 (Linux; Android 8.1; T8_T106 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Kiwi Chrome/69.0.3440.40 Safari/537.36' + readable: 'Kiwi Browser 69.0.3440.40 on a T8_T106 running Android 4.4.2' + result: { browser: { name: 'Kiwi Browser', family: { name: Chrome, version: 69 }, version: 69.0.3440.40, type: browser }, engine: { name: Blink }, os: { name: Android, version: 4.4.2 }, device: { type: tablet, model: T8_T106 } } \ No newline at end of file diff --git a/test/data/tablet/os-webos.yaml b/test/data/tablet/os-webos.yaml index f5b8c6a..8ace4d1 100644 --- a/test/data/tablet/os-webos.yaml +++ b/test/data/tablet/os-webos.yaml @@ -1,12 +1,12 @@ - headers: 'User-Agent: Mozilla/5.0 (hp-tablet; Linux; hpwOS/3.0.4; U; xx) AppleWebKit/534.6 (KHTML, like Gecko) wOSBrowser/234.68 Safari/534.6 TouchPad/1.0' - result: { browser: { name: 'webOS Browser', type: browser }, engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '3.0' }, device: { type: tablet, manufacturer: HP, model: TouchPad } } - readable: 'webOS Browser on a HP TouchPad running webOS 3.0' + result: { browser: { name: 'webOS Browser', type: browser }, engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '3.0.4' }, device: { type: tablet, manufacturer: HP, model: TouchPad } } + readable: 'webOS Browser on a HP TouchPad running webOS 3.0.4' - headers: 'User-Agent: Mozilla/5.0 (hp-tablet; Linux; hpwOS/3.0.5; U; xx) AppleWebKit/534.6 (KHTML, like Gecko) wOSBrowser/234.83 Safari/534.6 TouchPad/1.0' - result: { browser: { name: 'webOS Browser', type: browser }, engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '3.0' }, device: { type: tablet, manufacturer: HP, model: TouchPad } } - readable: 'webOS Browser on a HP TouchPad running webOS 3.0' + result: { browser: { name: 'webOS Browser', type: browser }, engine: { name: Webkit, version: '534.6' }, os: { name: webOS, version: '3.0.5' }, device: { type: tablet, manufacturer: HP, model: TouchPad } } + readable: 'webOS Browser on a HP TouchPad running webOS 3.0.5' - headers: 'User-Agent: Mozilla/5.0 (iPad; U; xx) AppleWebKit/534.6 (KHTML, like Gecko) wOSBrowser/234.83 Safari/534.6 011/07' result: { browser: { name: 'webOS Browser', type: browser }, engine: { name: Webkit, version: '534.6' }, os: { name: webOS }, device: { type: tablet, manufacturer: HP, model: TouchPad } } - readable: 'webOS Browser on a HP TouchPad running webOS' + readable: 'webOS Browser on a HP TouchPad running webOS' \ No newline at end of file diff --git a/test/data/television/lg.yaml b/test/data/television/lg.yaml index 38219a9..90c6862 100644 --- a/test/data/television/lg.yaml +++ b/test/data/television/lg.yaml @@ -321,4 +321,28 @@ - headers: 'User-Agent: Mozilla/5.0 (Unknown; Linux armv7l) AppleWebKit/537.1+ Hybridcast/1.0(;00E091;webOSTV3_0;2;2;)0' readable: 'a LG webOS TV' - result: { engine: { name: Webkit, version: '537.1' }, device: { type: television, manufacturer: LG, series: 'webOS TV' } } \ No newline at end of file + result: { engine: { name: Webkit, version: '537.1' }, device: { type: television, manufacturer: LG, series: 'webOS TV' } } +- + headers: 'User-Agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36 WebAppManager' + readable: 'a LG webOS TV' + result: { browser: { family: { name: Chrome, version: 79 }, type: browser }, engine: { name: Blink }, os: { name: webOS }, device: { type: television, manufacturer: LG, series: 'webOS TV' } } +- + headers: 'User-Agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 WebAppManager' + readable: 'a LG webOS TV' + result: { browser: { family: { name: Chrome, version: 68 }, type: browser }, engine: { name: Blink }, os: { name: webOS }, device: { type: television, manufacturer: LG, series: 'webOS TV' } } +- + headers: 'User-Agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.34 Safari/537.36 WebAppManager' + readable: 'a LG webOS TV' + result: { browser: { family: { name: Chrome, version: 53 }, type: browser }, engine: { name: Blink }, os: { name: webOS }, device: { type: television, manufacturer: LG, series: 'webOS TV' } } +- + headers: 'User-Agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.2.1 Chrome/38.0.2125.122 Safari/537.36 WebAppManager' + readable: 'Qt 5.2.1 on a LG webOS TV' + result: { browser: { using: { name: Qt, version: 5.2.1 }, family: { name: Chrome, version: 38 }, type: browser }, engine: { name: Blink }, os: { name: webOS }, device: { type: television, manufacturer: LG, series: 'webOS TV' } } +- + headers: 'User-Agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/538.2 (KHTML, like Gecko) Large Screen WebAppManager Safari/538.2' + readable: 'a LG webOS TV' + result: { engine: { name: Webkit, version: '538.2' }, os: { name: webOS }, device: { type: television, manufacturer: LG, series: 'webOS TV' } } +- + headers: 'User-Agent: Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.41 (KHTML, like Gecko) Large Screen WebAppManager Safari/537.41' + readable: 'a LG webOS TV' + result: { engine: { name: Webkit, version: '537.41' }, os: { name: webOS }, device: { type: television, manufacturer: LG, series: 'webOS TV' } } \ No newline at end of file diff --git a/test/data/television/other.yaml b/test/data/television/other.yaml index ecaaad5..6fa77ee 100644 --- a/test/data/television/other.yaml +++ b/test/data/television/other.yaml @@ -613,4 +613,8 @@ - headers: 'User-Agent: HbbTV/1.1.1 (; ST; FLTk3D; 1.0; 1.0;) NetFront/3.5' readable: 'NetFront 3.5 on a television' - result: { browser: { name: NetFront, version: '3.5', type: browser }, engine: { name: NetFront }, device: { type: television } } \ No newline at end of file + result: { browser: { name: NetFront, version: '3.5', type: browser }, engine: { name: NetFront }, device: { type: television } } +- + headers: 'User-Agent: Mozilla/5.0 (compatible; Netbox/3.5 R92; Linux 2.2)' + readable: 'Netbox 3.5 on a television' + result: { browser: { name: Netbox, version: '3.5', type: browser }, device: { type: television } } \ No newline at end of file diff --git a/test/data/television/roku.yaml b/test/data/television/roku.yaml index f71f4d8..51c4bcd 100644 --- a/test/data/television/roku.yaml +++ b/test/data/television/roku.yaml @@ -18,3 +18,19 @@ headers: 'User-Agent: Roku/DVP-5.5 (095.05E02025A)' result: { device: { type: television, manufacturer: Roku, model: 'Streaming Stick' } } readable: 'a Roku Streaming Stick' +- + headers: 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Roku/DVP-8.10 (468.10E04145A)' + readable: 'a Roku' + result: { browser: { family: { name: Chrome, version: 70 }, type: browser }, engine: { name: Blink }, device: { type: television, manufacturer: Roku } } +- + headers: 'User-Agent: Roku/DVP-9.10 (519.10E04111A)' + readable: 'a Roku Express' + result: { device: { type: television, manufacturer: Roku, model: Express } } +- + headers: 'User-Agent: Roku4640X/DVP-7.70 (297.70E04154A)' + readable: 'a Roku Ultra' + result: { device: { type: television, manufacturer: Roku, model: Ultra } } +- + headers: 'User-Agent: Roku/DVP-9.30 (309.30E04182A)' + readable: 'a TCL 4K Roku TV' + result: { device: { type: television, manufacturer: TCL, model: '4K Roku TV' } } \ No newline at end of file diff --git a/test/model/BrowserTest.js b/test/model/BrowserTest.js index b69f359..443bc45 100644 --- a/test/model/BrowserTest.js +++ b/test/model/BrowserTest.js @@ -1,5 +1,5 @@ -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Browser = require('../../src/model/Browser'); const Version = require('../../src/model/Version'); const Family = require('../../src/model/Family'); @@ -7,18 +7,17 @@ const Using = require('../../src/model/Using'); describe('Browser Class', () => { describe('test defaults', () => { - it('should be as expected', (done) => { + it('should be as expected', () => { const browser = new Browser(); expect(browser.stock).to.be.true(); expect(browser.hidden).to.be.false(); expect(browser.mode).to.be.equal(''); expect(browser.type).to.be.equal(''); - done(); }); }); describe('test reset', () => { - it('should reset to defaults', (done) => { + it('should reset to defaults', () => { const browser = new Browser({ stock: false, hidden: true, @@ -37,265 +36,233 @@ describe('Browser Class', () => { expect(browser.hidden).to.be.false(); expect(browser.mode).to.be.equal(''); expect(browser.type).to.be.equal(''); - done(); }); }); describe('test getName method', () => { - it('should return the name', (done) => { + it('should return the name', () => { const browser = new Browser({ name: 'Chrome', - version: new Version({value: '47.0.2526.73', details: 1}), + version: new Version({ value: '47.0.2526.73', details: 1 }), }); expect(browser.getName()).to.be.equal('Chrome'); - done(); }); }); describe('test getVersion method', () => { describe('without details property', () => { - it('should return the entire version', (done) => { + it('should return the entire version', () => { const browser = new Browser({ name: 'Chrome', - version: new Version({value: '47.0.2526.73'}), + version: new Version({ value: '47.0.2526.73' }), }); expect(browser.getVersion()).to.equal('47.0.2526.73'); - done(); }); }); describe('without details property', () => { - it('should return the entire version', (done) => { + it('should return the entire version', () => { const browser = new Browser({ name: 'Chrome', - version: new Version({value: '47.0.2526.73', details: 1}), + version: new Version({ value: '47.0.2526.73', details: 1 }), }); expect(browser.getVersion()).to.equal('47'); - done(); }); }); }); describe('test isDetected method', () => { - it('should return true', (done) => { + it('should return true', () => { const browser = new Browser(); expect(browser.isDetected()).to.be.false(); browser.reset({ name: 'Chrome', - version: new Version({value: '47.0.2526.73', details: 1}), + version: new Version({ value: '47.0.2526.73', details: 1 }), }); expect(browser.isDetected()).to.be.true(); - done(); }); }); describe('test isFamily method', () => { describe('with no initialization', () => { - it('should return false', (done) => { + it('should return false', () => { const browser = new Browser(); expect(browser.isFamily('Chrome')).to.be.false(); - done(); }); }); describe('with correct family', () => { - it('should return true', (done) => { + it('should return true', () => { const browser = new Browser({ name: 'Opera', - family: new Family({name: 'Chrome'}), + family: new Family({ name: 'Chrome' }), }); expect(browser.isFamily('Chrome')).to.be.true(); - done(); }); }); describe('with wrong family', () => { - it('should return true', (done) => { + it('should return true', () => { const browser = new Browser({ name: 'Opera', - family: new Family({name: 'Chrome'}), + family: new Family({ name: 'Chrome' }), }); expect(browser.isFamily('Firefox')).to.be.false(); - done(); }); }); }); describe('test toString method', () => { describe('with version details property', () => { - it('should return the name and version', (done) => { + it('should return the name and version', () => { const browser = new Browser({ name: 'Chrome', - version: new Version({value: '47.0.2526.73', details: 1}), + version: new Version({ value: '47.0.2526.73', details: 1 }), }); expect(browser.toString()).to.be.equal('Chrome 47'); - - done(); }); }); describe('with hidden set to true ', () => { - it('should return an empty string', (done) => { + it('should return an empty string', () => { const browser = new Browser({ name: 'Safari', hidden: true, - version: new Version({value: '8.0'}), + version: new Version({ value: '8.0' }), }); expect(browser.toString()).to.be.equal(''); - - done(); }); }); describe('with name and using property', () => { - it('should return the name', (done) => { + it('should return the name', () => { const browser = new Browser({ name: 'TestBrowser', - using: new Using({name: 'Crosswalk Webview'}), + using: new Using({ name: 'Crosswalk Webview' }), }); expect(browser.toString()).to.be.equal('TestBrowser'); - - done(); }); }); describe('without name and with using property', () => { - it('should return the name', (done) => { + it('should return the name', () => { const browser = new Browser({ - using: new Using({name: 'Crosswalk Webview'}), + using: new Using({ name: 'Crosswalk Webview' }), }); expect(browser.toString()).to.be.equal('Crosswalk Webview'); - - done(); }); }); describe('with name and hidden set to true ', () => { - it('should return an empty string', (done) => { + it('should return an empty string', () => { const browser = new Browser({ name: 'BlackBerry Browser', hidden: true, }); expect(browser.toString()).to.be.equal(''); - - done(); }); }); }); describe('test identifyVersion method', () => { describe('with matching RegExp and details set to 1 ', () => { - it('should return the major version', (done) => { + it('should return the major version', () => { const browser = new Browser(); - browser.identifyVersion(/Chrome\/([0-9.]+)/u, 'Chrome/47.0.2526.73', {details: 1}); + browser.identifyVersion(/Chrome\/([0-9.]+)/u, 'Chrome/47.0.2526.73', { details: 1 }); expect(browser.getVersion()).to.be.equal('47'); - - done(); }); }); describe('with matching RegExp and legacy type', () => { - it('should return the version in the current format', (done) => { + it('should return the version in the current format', () => { const browser = new Browser(); - browser.identifyVersion(/Mozilla\/([0-9.]+)/u, 'Mozilla/2.03', {type: 'legacy'}); + browser.identifyVersion(/Mozilla\/([0-9.]+)/u, 'Mozilla/2.03', { type: 'legacy' }); expect(browser.getVersion()).to.be.equal('2.0.3'); - - done(); }); }); describe('with not matching RegExp', () => { - it('should return empty version', (done) => { + it('should return empty version', () => { const browser = new Browser(); browser.identifyVersion(/Safari\/([0-9.]+)/u, 'Chrome/47.0.2526.73'); expect(browser.getVersion()).to.be.empty(); - - done(); }); }); }); describe('test toObject method', () => { describe('with name empty', () => { - it('should return an empty object', (done) => { + it('should return an empty object', () => { const browser = new Browser({ name: '', }); expect(browser.toObject()).equal({}); - done(); }); }); describe('with name and details filled', () => { - it('should return the name value according to details level', (done) => { + it('should return the name value according to details level', () => { const browser = new Browser({ name: 'Chrome', - version: new Version({value: '47.0.2526.73', details: 1}), + version: new Version({ value: '47.0.2526.73', details: 1 }), }); - expect(browser.toObject()).to.equal({name: 'Chrome', version: '47'}); - done(); + expect(browser.toObject()).to.equal({ name: 'Chrome', version: '47' }); }); }); describe('with name and alias filled', () => { - it('should return an object with name and alias properties', (done) => { - const properties = {name: 'TestBrowser', alias: 'Alias'}; + it('should return an object with name and alias properties', () => { + const properties = { name: 'TestBrowser', alias: 'Alias' }; const browser = new Browser(properties); expect(browser.toObject()).to.equal(properties); - done(); }); }); describe('with name and family filled', () => { - it('should return an object with name and family properties', (done) => { + it('should return an object with name and family properties', () => { const browser = new Browser({ name: 'Opera', - family: new Family({name: 'Chrome'}), + family: new Family({ name: 'Chrome' }), }); expect(browser.toObject()).to.equal({ name: 'Opera', family: 'Chrome', }); - - done(); }); }); describe('with name and using filled', () => { - it('should return an object with name and using properties', (done) => { + it('should return an object with name and using properties', () => { const browser = new Browser({ name: 'TestBrowser', - using: new Using({name: 'Crosswalk WebView'}), + using: new Using({ name: 'Crosswalk WebView' }), }); expect(browser.toObject()).to.equal({ name: 'TestBrowser', using: 'Crosswalk WebView', }); - - done(); }); }); }); }); - diff --git a/test/model/DeviceTest.js b/test/model/DeviceTest.js index af4ef9f..1708143 100644 --- a/test/model/DeviceTest.js +++ b/test/model/DeviceTest.js @@ -1,58 +1,50 @@ -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Device = require('../../src/model/Device'); const Constants = require('../../src/constants'); describe('Device Class', () => { describe('test defaults', () => { - it('should be as expected', (done) => { + it('should be as expected', () => { const device = new Device(); expect(device.generic).to.be.true(); expect(device.identified).to.be.equal(Constants.id.NONE); expect(device.type).to.be.equal(''); expect(device.subtype).to.be.equal(''); - - done(); }); }); describe('test empty', () => { - it('should all be empty', (done) => { + it('should all be empty', () => { const device = new Device(); expect(device.getManufacturer()).to.be.equal(''); expect(device.getModel()).to.be.equal(''); expect(device.getCarrier()).to.be.equal(''); - - done(); }); }); describe('test with properties', () => { - it('should all be empty', (done) => { - const device = new Device({model: 'Wii'}); + it('should all be empty', () => { + const device = new Device({ model: 'Wii' }); expect(device.getModel()).to.be.equal('Wii'); - - done(); }); }); describe('test set method', () => { - it('should correctly set properties', (done) => { + it('should correctly set properties', () => { const device = new Device(); - device.set({model: 'Wii'}); + device.set({ model: 'Wii' }); expect(device.getModel()).to.be.equal('Wii'); - - done(); }); }); describe('test setIdentification method', () => { - it('should correctly set identification data', (done) => { + it('should correctly set identification data', () => { const device = new Device(); device.setIdentification({ @@ -63,14 +55,12 @@ describe('Device Class', () => { expect(device.getManufacturer()).to.be.equal('Microsoft'); expect(device.getModel()).to.be.equal('Xbox One'); expect(device.generic).to.be.false(); - - done(); }); }); describe('test reset', () => { describe('without Defaults', () => { - it('should reset to defaults', (done) => { + it('should reset to defaults', () => { const device = new Device(); device.setIdentification({ @@ -90,33 +80,29 @@ describe('Device Class', () => { expect(device.identified).to.be.equal(Constants.id.NONE); expect(device.type).to.be.equal(''); expect(device.subtype).to.be.equal(''); - - done(); }); }); describe('with Defaults', () => { - it('should reset to defaults and apply defaults', (done) => { + it('should reset to defaults and apply defaults', () => { const device = new Device(); - device.setIdentification({model: 'Wii'}); + device.setIdentification({ model: 'Wii' }); expect(device.getModel()).to.be.equal('Wii'); expect(device.generic).to.be.false(); - device.reset({model: 'Xbox One'}); + device.reset({ model: 'Xbox One' }); expect(device.getModel()).to.be.equal('Xbox One'); expect(device.generic).to.be.true(); - - done(); }); }); }); describe('test setIdentification method', () => { describe('with model and no series', () => { - it('should work', (done) => { + it('should work', () => { const device = new Device(); device.setIdentification({ @@ -130,13 +116,11 @@ describe('Device Class', () => { expect(device.manufacturer).to.be.equal('Nintendo'); expect(device.model).to.be.equal('Wii'); expect(device.generic).to.be.false(); - - done(); }); }); describe('with series no model', () => { - it('should return the series as model', (done) => { + it('should return the series as model', () => { const device = new Device(); device.setIdentification({ @@ -150,13 +134,11 @@ describe('Device Class', () => { expect(device.manufacturer).to.be.equal('Kobo'); expect(device.series).to.be.equal('eReader'); expect(device.generic).to.be.true(); - - done(); }); }); describe('with series and model', () => { - it('should work', (done) => { + it('should work', () => { const device = new Device(); device.setIdentification({ @@ -172,13 +154,11 @@ describe('Device Class', () => { expect(device.model).to.be.equal('PRS-T2'); expect(device.series).to.be.equal('Reader'); expect(device.generic).to.be.false(); - - done(); }); }); describe('with carrier', () => { - it('should work', (done) => { + it('should work', () => { const device = new Device(); device.setIdentification({ @@ -190,13 +170,11 @@ describe('Device Class', () => { expect(device.getCarrier()).to.be.equal('DoCoMo'); expect(device.carrier).to.be.equal('DoCoMo'); expect(device.generic).to.be.false(); - - done(); }); }); describe('with model but without calling setIdentification', () => { - it('should not set the generic to false', (done) => { + it('should not set the generic to false', () => { const device = new Device(); device.set({ @@ -207,15 +185,13 @@ describe('Device Class', () => { expect(device.getManufacturer()).to.be.equal(''); expect(device.getModel()).to.be.equal('Xbox One'); expect(device.generic).to.be.true(); - - done(); }); }); }); describe('test toString method', () => { describe('with manufacturer and series property', () => { - it('should return the manufacturer and series', (done) => { + it('should return the manufacturer and series', () => { const device = new Device(); device.setIdentification({ @@ -224,13 +200,11 @@ describe('Device Class', () => { }); expect(device.toString()).to.be.equal('Kobo eReader'); - - done(); }); }); describe('with manufacturer and model property', () => { - it('should return the manufacturer and model', (done) => { + it('should return the manufacturer and model', () => { const device = new Device(); device.setIdentification({ @@ -239,13 +213,11 @@ describe('Device Class', () => { }); expect(device.toString()).to.be.equal('Nintendo Wii'); - - done(); }); }); describe('with manufacturer, model and series property', () => { - it('should return the manufacturer, model and series', (done) => { + it('should return the manufacturer, model and series', () => { const device = new Device(); device.setIdentification({ @@ -255,13 +227,11 @@ describe('Device Class', () => { }); expect(device.toString()).to.be.equal('Sony PRS-T2 Reader'); - - done(); }); }); describe('with manufacturer and model that starts with the manufacturer', () => { - it('should return only the model', (done) => { + it('should return only the model', () => { const device = new Device(); device.setIdentification({ @@ -270,13 +240,11 @@ describe('Device Class', () => { }); expect(device.toString()).to.be.equal('AppleTV'); - - done(); }); }); describe('with manufacturer and model that are equal', () => { - it('should return only the manufacturer', (done) => { + it('should return only the manufacturer', () => { const device = new Device(); device.setIdentification({ @@ -285,13 +253,11 @@ describe('Device Class', () => { }); expect(device.toString()).to.be.equal('OUYA'); - - done(); }); }); describe('with manufacturer and model but with hidden', () => { - it('should return empty string', (done) => { + it('should return empty string', () => { const device = new Device(); device.setIdentification({ @@ -301,15 +267,13 @@ describe('Device Class', () => { }); expect(device.toString()).to.be.equal(''); - - done(); }); }); }); describe('test isDetected method', () => { describe('with manufacturer and model', () => { - it('should return that is detected', (done) => { + it('should return that is detected', () => { const device = new Device(); expect(device.isDetected()).to.be.false(); @@ -322,13 +286,11 @@ describe('Device Class', () => { device.reset(); expect(device.isDetected()).to.be.false(); - - done(); }); }); describe('with model', () => { - it('should return that is detected', (done) => { + it('should return that is detected', () => { const device = new Device(); expect(device.isDetected()).to.be.false(); @@ -336,12 +298,10 @@ describe('Device Class', () => { model: 'Xbox One', }); expect(device.isDetected()).to.be.true(); - - done(); }); }); describe('with manufacturer', () => { - it('should return that is detected', (done) => { + it('should return that is detected', () => { const device = new Device(); expect(device.isDetected()).to.be.false(); @@ -349,35 +309,32 @@ describe('Device Class', () => { manufacturer: 'Microsoft', }); expect(device.isDetected()).to.be.true(); - - done(); }); }); }); describe('test toObject method', () => { describe('with name manufacturer type and subtype', () => { - it('should return an object with the four properties', (done) => { + it('should return an object with the four properties', () => { const device = new Device(); device.setIdentification({ manufacturer: 'Sony', - model: 'Playstation 4', + model: 'PlayStation 4', type: Constants.deviceType.GAMING, subtype: Constants.deviceSubType.CONSOLE, }); expect(device.toObject()).equal({ manufacturer: 'Sony', - model: 'Playstation 4', + model: 'PlayStation 4', type: Constants.deviceType.GAMING, subtype: Constants.deviceSubType.CONSOLE, }); - done(); }); }); describe('with name manufacturer carrier type and subtype', () => { - it('should return an object with the five properties', (done) => { + it('should return an object with the five properties', () => { const device = new Device(); device.setIdentification({ @@ -395,7 +352,6 @@ describe('Device Class', () => { type: Constants.deviceType.MOBILE, subtype: Constants.deviceSubType.FEATURE, }); - done(); }); }); }); diff --git a/test/model/EngineTest.js b/test/model/EngineTest.js index 1619faf..92e8de6 100644 --- a/test/model/EngineTest.js +++ b/test/model/EngineTest.js @@ -1,170 +1,150 @@ -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Engine = require('../../src/model/Engine'); const Version = require('../../src/model/Version'); describe('Engine Class', () => { describe('getName method', () => { describe('without alias', () => { - it('should return the right name', (done) => { + it('should return the right name', () => { const engine = new Engine(); expect(engine.getName()).to.be.empty(); engine.reset({ name: 'WebKit', - version: new Version({value: '601.3.9'}), + version: new Version({ value: '601.3.9' }), }); expect(engine.getName()).to.be.equal('WebKit'); - - done(); }); }); describe('with alias', () => { - it('should return the alias', (done) => { + it('should return the alias', () => { const engine = new Engine(); expect(engine.getName()).to.be.empty(); engine.reset({ name: 'WebKit', alias: 'Blink', - version: new Version({value: '601.3.9'}), + version: new Version({ value: '601.3.9' }), }); expect(engine.getName()).to.be.equal('Blink'); - - done(); }); }); }); describe('getVersion method', () => { describe('without details property', () => { - it('should return the entire version', (done) => { + it('should return the entire version', () => { const engine = new Engine(); expect(engine.getVersion()).to.be.empty(); engine.reset({ name: 'WebKit', - version: new Version({value: '601.3.9'}), + version: new Version({ value: '601.3.9' }), }); expect(engine.getVersion()).to.be.equal('601.3.9'); - - done(); }); }); describe('with details property', () => { - it('should return the truncated version number', (done) => { + it('should return the truncated version number', () => { const engine = new Engine(); expect(engine.getVersion()).to.be.empty(); engine.reset({ name: 'WebKit', - version: new Version({value: '601.3.9', details: 1}), + version: new Version({ value: '601.3.9', details: 1 }), }); expect(engine.getVersion()).to.be.equal('601'); - - done(); }); }); }); describe('isDetected method', () => { - it('should return the right version', (done) => { + it('should return the right version', () => { const engine = new Engine(); expect(engine.isDetected()).to.be.false(); engine.reset({ name: 'WebKit', - version: new Version({value: '601.3.9'}), + version: new Version({ value: '601.3.9' }), }); expect(engine.isDetected()).to.be.true(); - - done(); }); }); describe('toString method', () => { describe('without alias property', () => { - it('should return the name and version', (done) => { + it('should return the name and version', () => { const engine = new Engine(); expect(engine.toString()).to.be.empty(); engine.reset({ name: 'WebKit', - version: new Version({value: '601.3.9'}), + version: new Version({ value: '601.3.9' }), }); expect(engine.toString()).to.be.equal('WebKit 601.3.9'); - - done(); }); }); describe('with alias property', () => { - it('should return the alias and version', (done) => { + it('should return the alias and version', () => { const engine = new Engine(); expect(engine.toString()).to.be.empty(); engine.reset({ name: 'WebKit', alias: 'Blink', - version: new Version({value: '601.3.9'}), + version: new Version({ value: '601.3.9' }), }); expect(engine.toString()).to.be.equal('Blink 601.3.9'); - - done(); }); }); }); describe('identifyVersion method', () => { describe('with matching RegExp', () => { - it('should return the correct version', (done) => { + it('should return the correct version', () => { const engine = new Engine(); engine.identifyVersion(/AppleWebKit\/([0-9.]+)/u, 'AppleWebKit/601.3.9'); expect(engine.getVersion()).to.be.equal('601.3.9'); - - done(); }); }); describe('with not matching RegExp', () => { - it('should return empty version', (done) => { + it('should return empty version', () => { const engine = new Engine(); engine.identifyVersion(/AppleWebKit\/([0-9.]+)/u, 'Gecko/19.0'); expect(engine.getVersion()).to.be.empty(); - - done(); }); }); describe('with matching RegExp and details property', () => { - it('should return the truncated version', (done) => { + it('should return the truncated version', () => { const engine = new Engine(); - engine.identifyVersion(/AppleWebKit\/([0-9.]+)/u, 'AppleWebKit/601.3.9', {details: 1}); + engine.identifyVersion(/AppleWebKit\/([0-9.]+)/u, 'AppleWebKit/601.3.9', { details: 1 }); expect(engine.getVersion()).to.be.equal('601'); - - done(); }); }); }); describe('toObject method', () => { describe('with name but not version defined', () => { - it('should return the name as string', (done) => { + it('should return the name as string', () => { const engine = new Engine(); expect(engine.toObject()).to.be.empty(); @@ -172,14 +152,12 @@ describe('Engine Class', () => { name: 'Test', }); - expect(engine.toObject()).to.equal({name: 'Test'}); - - done(); + expect(engine.toObject()).to.equal({ name: 'Test' }); }); }); describe('with name but not version defined', () => { - it('should return the name as string', (done) => { + it('should return the name as string', () => { const engine = new Engine(); expect(engine.toObject()).to.be.empty(); @@ -188,46 +166,40 @@ describe('Engine Class', () => { }); expect(engine.toObject()).to.be.empty(); - - done(); }); }); describe('with name and version defined', () => { - it('should return an object with both properties', (done) => { + it('should return an object with both properties', () => { const engine = new Engine(); expect(engine.toObject()).to.be.empty(); engine.reset({ name: 'WebKit', - version: new Version({value: '601.3.9'}), + version: new Version({ value: '601.3.9' }), }); expect(engine.toObject()).to.equal({ name: 'WebKit', version: '601.3.9', }); - - done(); }); }); describe('with name and complex version defined', () => { - it('should return an object with both properties exploded', (done) => { + it('should return an object with both properties exploded', () => { const engine = new Engine(); expect(engine.toObject()).to.be.empty(); engine.reset({ name: 'WebKit', - version: new Version({value: '601.3.9', details: 1, alias: 'TestVersion'}), + version: new Version({ value: '601.3.9', details: 1, alias: 'TestVersion' }), }); expect(engine.toObject()).to.equal({ name: 'WebKit', - version: {value: '601', alias: 'TestVersion'}, + version: { value: '601', alias: 'TestVersion' }, }); - - done(); }); }); }); diff --git a/test/model/FamilyTest.js b/test/model/FamilyTest.js index 1bc6007..b7b408b 100644 --- a/test/model/FamilyTest.js +++ b/test/model/FamilyTest.js @@ -1,60 +1,54 @@ -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Family = require('../../src/model/Family'); const Version = require('../../src/model/Version'); describe('Family Class', () => { describe('getName method', () => { - it('should return the right name', (done) => { + it('should return the right name', () => { const using = new Family(); expect(using.getName()).to.be.empty(); using.reset({ name: 'Android', - version: new Version({value: '4.1.1'}), + version: new Version({ value: '4.1.1' }), }); expect(using.getName()).to.be.equal('Android'); - - done(); }); }); describe('getVersion method', () => { - it('should return the right version', (done) => { + it('should return the right version', () => { const using = new Family(); expect(using.getVersion()).to.be.empty(); using.reset({ name: 'Android', - version: new Version({value: '4.1.1'}), + version: new Version({ value: '4.1.1' }), }); expect(using.getVersion()).to.be.equal('4.1.1'); - - done(); }); }); describe('toString method', () => { - it('should return the right version', (done) => { + it('should return the right version', () => { const using = new Family(); expect(using.toString()).to.be.empty(); using.reset({ name: 'Android', - version: new Version({value: '4.1.1'}), + version: new Version({ value: '4.1.1' }), }); expect(using.toString()).to.be.equal('Android 4.1.1'); - - done(); }); }); describe('toObject method', () => { describe('with name but not version defined', () => { - it('should return the name as string', (done) => { + it('should return the name as string', () => { const using = new Family(); expect(using.toObject()).to.be.empty(); @@ -63,46 +57,40 @@ describe('Family Class', () => { }); expect(using.toObject()).to.be.equal('Android'); - - done(); }); }); describe('with name and version defined', () => { - it('should return an object with both properties', (done) => { + it('should return an object with both properties', () => { const using = new Family(); expect(using.toObject()).to.be.empty(); using.reset({ name: 'Android', - version: new Version({value: '4.1.1'}), + version: new Version({ value: '4.1.1' }), }); expect(using.toObject()).to.equal({ name: 'Android', version: '4.1.1', }); - - done(); }); }); describe('with name and complex version defined', () => { - it('should return an object with both properties exploded', (done) => { + it('should return an object with both properties exploded', () => { const using = new Family(); expect(using.toObject()).to.be.empty(); using.reset({ name: 'Android', - version: new Version({value: '4.1.1', details: 1, alias: 'Jelly Bean'}), + version: new Version({ value: '4.1.1', details: 1, alias: 'Jelly Bean' }), }); expect(using.toObject()).to.equal({ name: 'Android', - version: {value: '4', alias: 'Jelly Bean'}, + version: { value: '4', alias: 'Jelly Bean' }, }); - - done(); }); }); }); diff --git a/test/model/MainTest.js b/test/model/MainTest.js index 3a3e361..6c0adad 100644 --- a/test/model/MainTest.js +++ b/test/model/MainTest.js @@ -1,5 +1,5 @@ -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Constants = require('../../src/constants'); const Main = require('../../src/model/Main'); const Browser = require('../../src/model/Browser'); @@ -10,37 +10,34 @@ const Version = require('../../src/model/Version'); describe('Browser Class', () => { describe('test defaults', () => { - it('should be as expected', (done) => { + it('should be as expected', () => { const main = new Main(); expect(main.browser).to.be.instanceOf(Browser); expect(main.engine).to.be.instanceOf(Engine); expect(main.os).to.be.instanceOf(Os); expect(main.device).to.be.instanceOf(Device); - done(); }); }); describe('test is Method', () => { describe('with empty object', () => { - it('should return all false', (done) => { + it('should return all false', () => { const main = new Main(); expect(main.isBrowser('Chrome')).to.be.false(); expect(main.isBrowser('Chrome', '=', '40')).to.be.false(); expect(main.isOs('OS X')).to.be.false(); expect(main.isEngine('WebKit')).to.be.false(); - - done(); }); }); describe('with browser object', () => { - it('should work as expected', (done) => { + it('should work as expected', () => { const main = new Main(); main.browser.set({ name: 'Chrome', - version: new Version({value: '40.0.2214', details: 1}), + version: new Version({ value: '40.0.2214', details: 1 }), }); expect(main.isBrowser('Chrome')).to.be.true(); @@ -59,18 +56,16 @@ describe('Browser Class', () => { expect(main.isBrowser('Chrome', '<=', '29')).to.be.false(); expect(main.isBrowser('Chrome', '>', '40')).to.be.false(); expect(main.isBrowser('Chrome', '<', '40')).to.be.false(); - - done(); }); }); describe('with os object', () => { - it('should work as expected', (done) => { + it('should work as expected', () => { const main = new Main(); main.os.set({ name: 'OS X', - version: new Version({value: '10.11.1', details: 2}), + version: new Version({ value: '10.11.1', details: 2 }), }); expect(main.isOs('OS X')).to.be.true(); @@ -92,13 +87,11 @@ describe('Browser Class', () => { expect(main.isOs('OS X', '>', '10')).to.be.false(); expect(main.isOs('OS X', '>', '10.11')).to.be.false(); - - done(); }); }); describe('with engine object', () => { - it('should work as expected', (done) => { + it('should work as expected', () => { const main = new Main(); main.engine.set({ @@ -107,15 +100,12 @@ describe('Browser Class', () => { expect(main.isEngine('WebKit')).to.be.true(); expect(main.isEngine('WebKit', '=', '523')).to.be.false(); - - done(); }); }); }); - describe('test isDevice method', () => { - it('should return true for both model and manufacturer', (done) => { + it('should return true for both model and manufacturer', () => { const main = new Main(); main.device.setIdentification({ @@ -125,30 +115,27 @@ describe('Browser Class', () => { }); expect(main.isDevice('Reader')).to.be.true(); expect(main.isDevice('PRS-T2')).to.be.true(); - done(); }); }); describe('test isDetected method', () => { - it('should return true for both model and manufacturer', (done) => { + it('should return true for both model and manufacturer', () => { const main = new Main(); expect(main.isDetected()).to.be.false(); main.browser.set({ name: 'Chrome', - version: new Version({value: '47.0.2526.73', details: 1}), + version: new Version({ value: '47.0.2526.73', details: 1 }), }); expect(main.isDetected()).to.be.true(); - - done(); }); }); describe('test isMobile method', () => { describe('with GAMING CONSOLE type', () => { - it('should return false', (done) => { + it('should return false', () => { const main = new Main(); main.device.setIdentification({ @@ -157,12 +144,11 @@ describe('Browser Class', () => { }); expect(main.isMobile()).to.be.false(); - done(); }); }); describe('with GAMING PORTABLE type', () => { - it('should return true', (done) => { + it('should return true', () => { const main = new Main(); main.device.setIdentification({ @@ -171,12 +157,11 @@ describe('Browser Class', () => { }); expect(main.isMobile()).to.be.true(); - done(); }); }); describe('with MOBILE SMART type', () => { - it('should return true', (done) => { + it('should return true', () => { const main = new Main(); main.device.setIdentification({ @@ -185,12 +170,11 @@ describe('Browser Class', () => { }); expect(main.isMobile()).to.be.true(); - done(); }); }); describe('with MOBILE FEATURE type', () => { - it('should return true', (done) => { + it('should return true', () => { const main = new Main(); main.device.setIdentification({ @@ -199,12 +183,11 @@ describe('Browser Class', () => { }); expect(main.isMobile()).to.be.true(); - done(); }); }); describe('with DESKTOP type', () => { - it('should return true', (done) => { + it('should return true', () => { const main = new Main(); main.device.setIdentification({ @@ -212,13 +195,12 @@ describe('Browser Class', () => { }); expect(main.isMobile()).to.be.false(); - done(); }); }); }); describe('test isType method', () => { - it('should work as expected', (done) => { + it('should work as expected', () => { const main = new Main(); main.device.setIdentification({ @@ -238,26 +220,22 @@ describe('Browser Class', () => { expect(main.isType('television', 'gaming')).to.be.true(); expect(main.isType('gaming', 'television', 'gaming')).to.be.true(); expect(main.isType('gaming:portable', 'gaming:console')).to.be.true(); - - done(); }); }); describe('test getType method', () => { describe('with only type GAMING', () => { - it('should return the type', (done) => { + it('should return the type', () => { const main = new Main(); - main.device.reset({type: Constants.deviceType.GAMING}); + main.device.reset({ type: Constants.deviceType.GAMING }); expect(main.getType()).to.be.equal('gaming'); - - done(); }); }); describe('with type GAMING and subtypes', () => { - it('should return the type:subtype', (done) => { + it('should return the type:subtype', () => { const main = new Main(); main.device.reset({ @@ -273,25 +251,21 @@ describe('Browser Class', () => { }); expect(main.getType()).to.be.equal('gaming:portable'); - - done(); }); }); describe('with only type MOBILE', () => { - it('should return the type', (done) => { + it('should return the type', () => { const main = new Main(); - main.device.reset({type: Constants.deviceType.MOBILE}); + main.device.reset({ type: Constants.deviceType.MOBILE }); expect(main.getType()).to.be.equal('mobile'); - - done(); }); }); describe('with type MOBILE and subtypes', () => { - it('should return the type:subtype', (done) => { + it('should return the type:subtype', () => { const main = new Main(); main.device.reset({ @@ -307,25 +281,21 @@ describe('Browser Class', () => { }); expect(main.getType()).to.be.equal('mobile:feature'); - - done(); }); }); }); describe('test toString method', () => { describe('with empty object', () => { - it('should return the name and version', (done) => { + it('should return the name and version', () => { const main = new Main(); expect(main.toString()).to.be.equal('an unknown browser'); - - done(); }); }); describe('with type set to BOT ', () => { - it('should return an unknown BOT', (done) => { + it('should return an unknown BOT', () => { const main = new Main(); main.device.set({ @@ -333,35 +303,31 @@ describe('Browser Class', () => { }); expect(main.toString()).to.be.equal('an unknown bot'); - - done(); }); }); describe('with browser, engine and os set', () => { - it('should return the complete string', (done) => { + it('should return the complete string', () => { const main = new Main(); main.browser.set({ name: 'Chrome', - version: new Version({value: '47.0.2526.73', details: 1}), + version: new Version({ value: '47.0.2526.73', details: 1 }), }); main.engine.set({ name: 'Blink', }); main.os.set({ name: 'OS X', - version: new Version({value: '10.11', nickname: 'El Captain'}), + version: new Version({ value: '10.11', nickname: 'El Captain' }), }); expect(main.toString()).to.be.equal('Chrome 47 on OS X El Captain 10.11'); - - done(); }); }); describe('with engine and os set', () => { - it('should return the complete string', (done) => { + it('should return the complete string', () => { const main = new Main(); main.engine.set({ @@ -369,44 +335,40 @@ describe('Browser Class', () => { }); main.os.set({ name: 'Tizen', - version: new Version({value: '2.0'}), + version: new Version({ value: '2.0' }), }); expect(main.toString()).to.be.equal('Tizen 2.0'); - - done(); }); }); describe('with browser', () => { - it('should return the complete string', (done) => { + it('should return the complete string', () => { const main = new Main(); main.browser.set({ name: 'Chrome', - version: new Version({value: '47.0.2526.73', details: 1}), + version: new Version({ value: '47.0.2526.73', details: 1 }), }); expect(main.toString()).to.be.equal('Chrome 47'); - - done(); }); }); describe('with browser, engine, os and device set', () => { - it('should return the complete string', (done) => { + it('should return the complete string', () => { const main = new Main(); main.browser.set({ name: 'Safari', - version: new Version({value: '8.0'}), + version: new Version({ value: '8.0' }), }); main.engine.set({ name: 'WebKit', }); main.os.set({ name: 'iOS', - version: new Version({value: '8.0'}), + version: new Version({ value: '8.0' }), }); main.device.setIdentification({ manufacturer: 'Apple', @@ -415,22 +377,20 @@ describe('Browser Class', () => { }); expect(main.toString()).to.be.equal('Safari 8.0 on an Apple iPhone 6 running iOS 8.0'); - - done(); }); }); describe('with browser, os and unrecognized device set', () => { - it('should return the complete string', (done) => { + it('should return the complete string', () => { const main = new Main(); main.browser.set({ name: 'Chrome', - version: new Version({value: '47.0.2526.73', details: 1}), + version: new Version({ value: '47.0.2526.73', details: 1 }), }); main.os.set({ name: 'Android', - version: new Version({value: '4.4'}), + version: new Version({ value: '4.4' }), }); main.device.set({ model: 'SM-A300', @@ -438,13 +398,11 @@ describe('Browser Class', () => { }); expect(main.toString()).to.be.equal('Chrome 47 on an unrecognized device (SM-A300) running Android 4.4'); - - done(); }); }); describe('with unrecognized browser, and engine set', () => { - it('should return the complete string', (done) => { + it('should return the complete string', () => { const main = new Main(); main.browser.set({ @@ -455,40 +413,35 @@ describe('Browser Class', () => { }); expect(main.toString()).to.be.equal('an unknown browser based on Blink'); - - done(); }); }); describe('without browser but with engine and os and device set', () => { - it('should return the complete string', (done) => { + it('should return the complete string', () => { const main = new Main(); - main.engine.set({ name: 'Blink', }); main.os.set({ name: 'OS X', - version: new Version({value: '10.11', nickname: 'El Captain'}), + version: new Version({ value: '10.11', nickname: 'El Captain' }), }); main.device.set({ type: Constants.deviceType.DESKTOP, }); expect(main.toString()).to.be.equal('an unknown browser based on Blink running on OS X El Captain 10.11'); - - done(); }); }); describe('with browser and device set', () => { - it('should return the complete string', (done) => { + it('should return the complete string', () => { const main = new Main(); main.browser.set({ name: 'Safari', - version: new Version({value: '8.0'}), + version: new Version({ value: '8.0' }), }); main.device.setIdentification({ @@ -498,18 +451,16 @@ describe('Browser Class', () => { }); expect(main.toString()).to.be.equal('Safari 8.0 on an Apple iPhone 6'); - - done(); }); }); describe('with os and device set', () => { - it('should return the complete string', (done) => { + it('should return the complete string', () => { const main = new Main(); main.os.set({ name: 'iOS', - version: new Version({value: '8.0'}), + version: new Version({ value: '8.0' }), }); main.device.setIdentification({ @@ -519,13 +470,11 @@ describe('Browser Class', () => { }); expect(main.toString()).to.be.equal('an Apple iPhone 6 running iOS 8.0'); - - done(); }); }); describe('with only device set', () => { - it('should return the complete string', (done) => { + it('should return the complete string', () => { const main = new Main(); main.device.setIdentification({ @@ -535,13 +484,11 @@ describe('Browser Class', () => { }); expect(main.toString()).to.be.equal('an Apple iPhone 6'); - - done(); }); }); describe('with device set to television', () => { - it('should return the complete string', (done) => { + it('should return the complete string', () => { const main = new Main(); main.device.setIdentification({ @@ -549,13 +496,11 @@ describe('Browser Class', () => { }); expect(main.toString()).to.be.equal('a television'); - - done(); }); }); describe('with device set to emulator', () => { - it('should return the complete string', (done) => { + it('should return the complete string', () => { const main = new Main(); main.device.setIdentification({ @@ -563,55 +508,49 @@ describe('Browser Class', () => { }); expect(main.toString()).to.be.equal('an emulator'); - - done(); }); }); }); describe('test toObject method', () => { - it('should match the returned object', (done) => { - const main = new Main(); + it('should match the returned object', () => { + const main = new Main(); - main.browser.set({ + main.browser.set({ + name: 'Safari', + version: new Version({ value: '8.0' }), + }); + main.engine.set({ + name: 'WebKit', + }); + main.os.set({ + name: 'iOS', + version: new Version({ value: '8.0' }), + }); + main.device.setIdentification({ + manufacturer: 'Apple', + model: 'iPhone 6', + type: Constants.deviceType.MOBILE, + }); + + expect(main.toObject()).to.equal({ + browser: { name: 'Safari', - version: new Version({value: '8.0'}), - }); - main.engine.set({ + version: '8.0', + }, + engine: { name: 'WebKit', - }); - main.os.set({ + }, + os: { name: 'iOS', - version: new Version({value: '8.0'}), - }); - main.device.setIdentification({ + version: '8.0', + }, + device: { + type: 'mobile', manufacturer: 'Apple', model: 'iPhone 6', - type: Constants.deviceType.MOBILE, - }); - - expect(main.toObject()).to.equal({ - browser: { - name: 'Safari', - version: '8.0', - }, - engine: { - name: 'WebKit', - }, - os: { - name: 'iOS', - version: '8.0', - }, - device: { - type: 'mobile', - manufacturer: 'Apple', - model: 'iPhone 6', - }, - }); - - done(); + }, }); + }); }); }); - - diff --git a/test/model/OsTest.js b/test/model/OsTest.js index 743ac72..fa43161 100644 --- a/test/model/OsTest.js +++ b/test/model/OsTest.js @@ -1,5 +1,5 @@ -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Os = require('../../src/model/Os'); const Version = require('../../src/model/Version'); const Family = require('../../src/model/Family'); @@ -7,12 +7,12 @@ const Family = require('../../src/model/Family'); describe('Os Class', () => { describe('reset method', () => { describe('reset to clean state', () => { - it('should return the right name', (done) => { + it('should return the right name', () => { const os = new Os({ name: 'iOS', alias: 'iPhone OS', hidden: true, - version: new Version({value: '3.0'}), + version: new Version({ value: '3.0' }), }); expect(os.name).to.be.equal('iOS'); expect(os.alias).to.be.equal('iPhone OS'); @@ -25,18 +25,16 @@ describe('Os Class', () => { expect(os.alias).to.not.exists(); expect(os.hidden).to.be.false(); expect(os.version).to.not.exists(); - - done(); }); }); describe('reset to a new state', () => { - it('should return the alias', (done) => { + it('should return the alias', () => { const os = new Os({ name: 'iOS', alias: 'iPhone OS', hidden: true, - version: new Version({value: '3.0'}), + version: new Version({ value: '3.0' }), }); expect(os.name).to.be.equal('iOS'); expect(os.alias).to.be.equal('iPhone OS'); @@ -46,277 +44,237 @@ describe('Os Class', () => { os.reset({ name: 'Android', alias: 'Android OS', - version: new Version({value: '4.1.1'}), + version: new Version({ value: '4.1.1' }), }); expect(os.name).to.be.equal('Android'); expect(os.alias).to.be.equal('Android OS'); expect(os.hidden).to.be.false(); expect(os.getVersion()).to.be.equal('4.1.1'); - - done(); }); }); }); describe('getName method', () => { describe('without alias', () => { - it('should return the right name', (done) => { + it('should return the right name', () => { const os = new Os(); expect(os.getName()).to.be.empty(); os.reset({ name: 'iOS', - version: new Version({value: '8.0'}), + version: new Version({ value: '8.0' }), }); expect(os.getName()).to.be.equal('iOS'); - - done(); }); }); describe('with alias', () => { - it('should return the alias', (done) => { + it('should return the alias', () => { const os = new Os(); expect(os.getName()).to.be.empty(); os.reset({ name: 'iOS', alias: 'iPhone OS', - version: new Version({value: '3.0'}), + version: new Version({ value: '3.0' }), }); expect(os.getName()).to.be.equal('iPhone OS'); - - done(); }); }); }); describe('getVersion method', () => { describe('with only value', () => { - it('should return the version', (done) => { + it('should return the version', () => { const os = new Os({ name: 'iOS', - version: new Version({value: '8.0'}), + version: new Version({ value: '8.0' }), }); - expect(os.getVersion()).to.be.equal('8.0'); - - done(); }); }); describe('with value and nickname', () => { - it('should return nickname + value', (done) => { + it('should return nickname + value', () => { const os = new Os({ name: 'OS X', - version: new Version({value: '10.11', nickname: 'El Captain'}), + version: new Version({ value: '10.11', nickname: 'El Captain' }), }); - expect(os.getVersion()).to.be.equal('El Captain 10.11'); - - done(); }); }); describe('with value and alias', () => { - it('should return the alias', (done) => { + it('should return the alias', () => { const os = new Os({ name: 'Windows', - version: new Version({value: '5.1', alias: 'XP'}), + version: new Version({ value: '5.1', alias: 'XP' }), }); expect(os.getVersion()).to.be.equal('XP'); - - done(); }); }); }); describe('isDetected method', () => { - it('should return the right version', (done) => { + it('should return the right version', () => { const os = new Os(); expect(os.isDetected()).to.be.false(); os.reset({ name: 'iOS', - version: new Version({value: '8.0'}), + version: new Version({ value: '8.0' }), }); expect(os.isDetected()).to.be.true(); - - done(); }); }); describe('isFamily method', () => { describe('without family property', () => { - it('the family should match the name', (done) => { + it('the family should match the name', () => { const os = new Os({ name: 'Android', }); expect(os.isFamily('Android')).to.be.true(); - - done(); }); }); describe('with family property that match the isFamily parameter', () => { - it('should return true', (done) => { + it('should return true', () => { const os = new Os({ name: 'FireOS', - family: new Family({name: 'Android'}), + family: new Family({ name: 'Android' }), }); expect(os.isFamily('Android')).to.be.true(); - - done(); }); }); - describe('with family property that doesn\'t match the isFamily parameter', () => { - it('should return false', (done) => { + describe("with family property that doesn't match the isFamily parameter", () => { + it('should return false', () => { const os = new Os({ name: 'FireOS', - family: new Family({name: 'Android'}), + family: new Family({ name: 'Android' }), }); expect(os.isFamily('iOS')).to.be.false(); - - done(); }); }); }); describe('toString method', () => { describe('without alias property', () => { - it('should return the name and version', (done) => { + it('should return the name and version', () => { const os = new Os({ name: 'iOS', - version: new Version({value: '8.0'}), + version: new Version({ value: '8.0' }), }); expect(os.toString()).to.be.equal('iOS 8.0'); - - done(); }); }); describe('with alias property', () => { - it('should return the alias and version', (done) => { + it('should return the alias and version', () => { const os = new Os({ name: 'iOS', alias: 'iPhone OS', - version: new Version({value: '3.0'}), + version: new Version({ value: '3.0' }), }); expect(os.toString()).to.be.equal('iPhone OS 3.0'); - - done(); }); }); describe('with version nickname', () => { - it('should return the name, alias and version', (done) => { + it('should return the name, alias and version', () => { const os = new Os({ name: 'OS X', - version: new Version({value: '10.11', nickname: 'El Captain'}), + version: new Version({ value: '10.11', nickname: 'El Captain' }), }); expect(os.toString()).to.be.equal('OS X El Captain 10.11'); - - done(); }); }); describe('with version alias', () => { - it('should return the name and alias', (done) => { + it('should return the name and alias', () => { const os = new Os({ name: 'Windows', - version: new Version({value: '10.11', alias: 'XP'}), + version: new Version({ value: '10.11', alias: 'XP' }), }); expect(os.toString()).to.be.equal('Windows XP'); - - done(); }); }); describe('with family alias and edition and version alias', () => { - it('should return the family alias, version alias and family edition', (done) => { + it('should return the family alias, version alias and family edition', () => { const os = new Os({ name: 'Windows Phone', alias: 'Windows', edition: 'Mobile', - version: new Version({value: '10.0', alias: '10'}), + version: new Version({ value: '10.0', alias: '10' }), }); expect(os.toString()).to.be.equal('Windows 10 Mobile'); - - done(); }); }); describe('with hidden set to true', () => { - it('should return empty string', (done) => { + it('should return empty string', () => { const os = new Os({ name: 'webOS', hidden: true, }); expect(os.toString()).to.be.empty(); - - done(); }); }); }); describe('identifyVersion method', () => { describe('with matching RegExp and underscore type', () => { - it('should return the version with underscore replaced', (done) => { + it('should return the version with underscore replaced', () => { const os = new Os(); - os.identifyVersion(/OS ([0-9_]+)/u, 'iPhone OS 9_0_2', {type: 'underscore'}); + os.identifyVersion(/OS ([0-9_]+)/u, 'iPhone OS 9_0_2', { type: 'underscore' }); expect(os.getVersion()).to.be.equal('9.0.2'); - - done(); }); }); describe('with matching RegExp', () => { - it('should return the correct version', (done) => { + it('should return the correct version', () => { const os = new Os(); os.identifyVersion(/Android\/([0-9.]+)/u, 'Android/6.0'); expect(os.getVersion()).to.be.equal('6.0'); - - done(); }); }); describe('with not matching RegExp', () => { - it('should return empty version', (done) => { + it('should return empty version', () => { const os = new Os(); os.identifyVersion(/Tizen\/([0-9.]+)/u, 'Android/6.0'); expect(os.getVersion()).to.be.empty(); - - done(); }); }); }); describe('toObject method', () => { describe('with name as empty string', () => { - it('should return an empty object', (done) => { + it('should return an empty object', () => { const os = new Os(); expect(os.toObject()).to.be.empty(); @@ -325,39 +283,35 @@ describe('Os Class', () => { }); expect(os.toObject()).to.be.empty(); - - done(); }); }); describe('with name and version defined', () => { - it('should return an object with both properties', (done) => { + it('should return an object with both properties', () => { const os = new Os(); expect(os.toObject()).to.be.empty(); os.reset({ name: 'iOS', - version: new Version({value: '8.0'}), + version: new Version({ value: '8.0' }), }); expect(os.toObject()).to.equal({ name: 'iOS', version: '8.0', }); - - done(); }); }); describe('with name, alias and version defined', () => { - it('should return an object with both properties', (done) => { + it('should return an object with both properties', () => { const os = new Os(); expect(os.toObject()).to.be.empty(); os.reset({ name: 'iOS', alias: 'iPhone OS', - version: new Version({value: '3.0'}), + version: new Version({ value: '3.0' }), }); expect(os.toObject()).to.equal({ @@ -365,51 +319,45 @@ describe('Os Class', () => { alias: 'iPhone OS', version: '3.0', }); - - done(); }); }); describe('with name and version nickname', () => { - it('should return an object with both properties exploded', (done) => { + it('should return an object with both properties exploded', () => { const os = new Os(); expect(os.toObject()).to.be.empty(); os.reset({ name: 'OS X', - version: new Version({value: '10.11', nickname: 'El Captain'}), + version: new Version({ value: '10.11', nickname: 'El Captain' }), }); expect(os.toObject()).to.equal({ name: 'OS X', - version: {value: '10.11', nickname: 'El Captain'}, + version: { value: '10.11', nickname: 'El Captain' }, }); - - done(); }); }); describe('with name and version alias', () => { - it('should return an object with both properties exploded', (done) => { + it('should return an object with both properties exploded', () => { const os = new Os(); expect(os.toObject()).to.be.empty(); os.reset({ name: 'Windows', - version: new Version({value: '5.1', alias: 'XP'}), + version: new Version({ value: '5.1', alias: 'XP' }), }); expect(os.toObject()).to.equal({ name: 'Windows', - version: {value: '5.1', alias: 'XP'}, + version: { value: '5.1', alias: 'XP' }, }); - - done(); }); }); describe('with name, alias, edition and version alias', () => { - it('should return an object with all properties exploded', (done) => { + it('should return an object with all properties exploded', () => { const os = new Os(); expect(os.toObject()).to.be.empty(); @@ -417,36 +365,32 @@ describe('Os Class', () => { name: 'Windows Phone', alias: 'Windows', edition: 'Mobile', - version: new Version({value: '10.0', alias: '10'}), + version: new Version({ value: '10.0', alias: '10' }), }); expect(os.toObject()).to.equal({ name: 'Windows Phone', alias: 'Windows', edition: 'Mobile', - version: {value: '10.0', alias: '10'}, + version: { value: '10.0', alias: '10' }, }); - - done(); }); }); describe('with name and family', () => { - it('should return an object with all properties exploded', (done) => { + it('should return an object with all properties exploded', () => { const os = new Os(); expect(os.toObject()).to.be.empty(); os.reset({ name: 'FireOS', - family: new Family({name: 'Android'}), + family: new Family({ name: 'Android' }), }); expect(os.toObject()).to.equal({ name: 'FireOS', family: 'Android', }); - - done(); }); }); }); diff --git a/test/model/UsingTest.js b/test/model/UsingTest.js index e2dfb5d..3396234 100644 --- a/test/model/UsingTest.js +++ b/test/model/UsingTest.js @@ -1,60 +1,54 @@ -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Using = require('../../src/model/Using'); const Version = require('../../src/model/Version'); describe('Using Class', () => { describe('getName method', () => { - it('should return the right name', (done) => { + it('should return the right name', () => { const using = new Using(); expect(using.getName()).to.be.empty(); using.reset({ name: 'Crosswalk WebView', - version: new Version({value: '11'}), + version: new Version({ value: '11' }), }); expect(using.getName()).to.be.equal('Crosswalk WebView'); - - done(); }); }); describe('getVersion method', () => { - it('should return the right version', (done) => { + it('should return the right version', () => { const using = new Using(); expect(using.getVersion()).to.be.empty(); using.reset({ name: 'Crosswalk WebView', - version: new Version({value: '11'}), + version: new Version({ value: '11' }), }); expect(using.getVersion()).to.be.equal('11'); - - done(); }); }); describe('toString method', () => { - it('should return the right version', (done) => { + it('should return the right version', () => { const using = new Using(); expect(using.toString()).to.be.empty(); using.reset({ name: 'Crosswalk WebView', - version: new Version({value: '11'}), + version: new Version({ value: '11' }), }); expect(using.toString()).to.be.equal('Crosswalk WebView 11'); - - done(); }); }); describe('toObject method', () => { describe('with name but not version defined', () => { - it('should return the name as string', (done) => { + it('should return the name as string', () => { const using = new Using(); expect(using.toObject()).to.be.empty(); @@ -63,46 +57,40 @@ describe('Using Class', () => { }); expect(using.toObject()).to.be.equal('Crosswalk WebView'); - - done(); }); }); describe('with name and version defined', () => { - it('should return an object with both properties', (done) => { + it('should return an object with both properties', () => { const using = new Using(); expect(using.toObject()).to.be.empty(); using.reset({ name: 'Crosswalk WebView', - version: new Version({value: '17.12'}), + version: new Version({ value: '17.12' }), }); expect(using.toObject()).to.equal({ name: 'Crosswalk WebView', version: '17.12', }); - - done(); }); }); describe('with name and complex version defined', () => { - it('should return an object with both properties exploded', (done) => { + it('should return an object with both properties exploded', () => { const using = new Using(); expect(using.toObject()).to.be.empty(); using.reset({ name: 'Crosswalk WebView', - version: new Version({value: '17.12', details: 1, alias: 'Codename'}), + version: new Version({ value: '17.12', details: 1, alias: 'Codename' }), }); expect(using.toObject()).to.equal({ name: 'Crosswalk WebView', - version: {value: '17', alias: 'Codename'}, + version: { value: '17', alias: 'Codename' }, }); - - done(); }); }); }); diff --git a/test/model/VersionTest.js b/test/model/VersionTest.js index 501f2e1..6ee05db 100644 --- a/test/model/VersionTest.js +++ b/test/model/VersionTest.js @@ -1,22 +1,21 @@ -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Version = require('../../src/model/Version'); describe('Version Class', () => { - describe('\'is\' method', () => { + describe("'is' method", () => { describe('with zero or one parameter', () => { - it('should work as expected', (done) => { - const version = new Version({value: '40.0.2214'}); + it('should work as expected', () => { + const version = new Version({ value: '40.0.2214' }); expect(version.is()).to.be.false(); expect(version.is('39')).to.be.false(); expect(version.is('40')).to.be.true(); - done(); }); }); describe('with operator and major version compare', () => { - it('should work as expected', (done) => { - const version = new Version({value: '40.0.2214'}); + it('should work as expected', () => { + const version = new Version({ value: '40.0.2214' }); expect(version.is('=', '40')).to.be.true(); expect(version.is('>=', '40')).to.be.true(); expect(version.is('<=', '40')).to.be.true(); @@ -28,14 +27,12 @@ describe('Version Class', () => { expect(version.is('<=', '39')).to.be.false(); expect(version.is('>', '40')).to.be.false(); expect(version.is('<', '40')).to.be.false(); - - done(); }); }); describe('with operator and major, minor and patch version compare', () => { - it('should work as expected', (done) => { - const version = new Version({value: '10.11.1'}); + it('should work as expected', () => { + const version = new Version({ value: '10.11.1' }); expect(version.is('=', '10')).to.be.true(); expect(version.is('=', '10.11')).to.be.true(); expect(version.is('=', '10.11.1')).to.be.true(); @@ -50,15 +47,12 @@ describe('Version Class', () => { expect(version.is('>', '10')).to.be.false(); expect(version.is('>', '10.11')).to.be.false(); - - - done(); }); }); describe('with operator and major, minor as float', () => { - it('should work as expected', (done) => { - const version = new Version({value: 10.11}); + it('should work as expected', () => { + const version = new Version({ value: 10.11 }); expect(version.is('=', '10')).to.be.true(); expect(version.is('=', '10.11')).to.be.true(); expect(version.is('=', '10.11.1')).to.be.true(); @@ -73,281 +67,251 @@ describe('Version Class', () => { expect(version.is('>', '10')).to.be.false(); expect(version.is('>', '10.11')).to.be.false(); - - done(); }); }); }); describe('getParts method', () => { describe('with no version', () => { - it('should return 0, 0, 0 object', (done) => { + it('should return 0, 0, 0 object', () => { const version = new Version(); version.value = ''; - expect(version.getParts()).to.equal({major: 0, minor: 0, patch: 0}); - done(); + expect(version.getParts()).to.equal({ major: 0, minor: 0, patch: 0 }); }); }); describe('with major version', () => { - it('should return major, 0, 0 object', (done) => { + it('should return major, 0, 0 object', () => { const version = new Version(); version.value = '4'; - expect(version.getParts()).to.equal({major: 4, minor: 0, patch: 0}); - done(); + expect(version.getParts()).to.equal({ major: 4, minor: 0, patch: 0 }); }); }); describe('with major and minor version', () => { - it('should return major, minor, 0 object', (done) => { + it('should return major, minor, 0 object', () => { const version = new Version(); version.value = '4.1'; - expect(version.getParts()).to.equal({major: 4, minor: 1, patch: 0}); - done(); + expect(version.getParts()).to.equal({ major: 4, minor: 1, patch: 0 }); }); }); describe('with major minor and patch version', () => { - it('should return major, minor, patch object', (done) => { + it('should return major, minor, patch object', () => { const version = new Version(); version.value = '4.1.2'; - expect(version.getParts()).to.equal({major: 4, minor: 1, patch: 2}); - done(); + expect(version.getParts()).to.equal({ major: 4, minor: 1, patch: 2 }); }); }); }); describe('getMajor method', () => { describe('with no version', () => { - it('should return 0', (done) => { + it('should return 0', () => { const version = new Version(); version.value = ''; expect(version.getMajor()).to.equal(0); - done(); }); }); describe('with major version', () => { - it('should return the major version', (done) => { + it('should return the major version', () => { const version = new Version(); version.value = '4'; expect(version.getMajor()).to.equal(4); - done(); }); }); describe('with major and minor version', () => { - it('should return the major version', (done) => { + it('should return the major version', () => { const version = new Version(); version.value = '4.1'; expect(version.getMajor()).to.equal(4); - done(); }); }); describe('with major minor and patch version', () => { - it('should return the major version', (done) => { + it('should return the major version', () => { const version = new Version(); version.value = '4.1.2'; expect(version.getMajor()).to.be.equal(4); - done(); }); }); }); describe('getMinor method', () => { describe('with no version', () => { - it('should return 0', (done) => { + it('should return 0', () => { const version = new Version(); version.value = ''; expect(version.getMinor()).to.equal(0); - done(); }); }); describe('with major version', () => { - it('should return 0', (done) => { + it('should return 0', () => { const version = new Version(); version.value = '4'; expect(version.getMinor()).to.equal(0); - done(); }); }); describe('with major and minor version', () => { - it('should return the minor version', (done) => { + it('should return the minor version', () => { const version = new Version(); version.value = '4.1'; expect(version.getMinor()).to.equal(1); - done(); }); }); describe('with major minor and patch version', () => { - it('should return the minor version', (done) => { + it('should return the minor version', () => { const version = new Version(); version.value = '4.1.2'; expect(version.getMinor()).to.be.equal(1); - done(); }); }); }); describe('getPatch method', () => { describe('with no version', () => { - it('should return 0', (done) => { + it('should return 0', () => { const version = new Version(); version.value = ''; expect(version.getPatch()).to.equal(0); - done(); }); }); describe('with major version', () => { - it('should return 0', (done) => { + it('should return 0', () => { const version = new Version(); version.value = '4'; expect(version.getPatch()).to.equal(0); - done(); }); }); describe('with major and minor version', () => { - it('should return 0', (done) => { + it('should return 0', () => { const version = new Version(); version.value = '4.1'; expect(version.getPatch()).to.equal(0); - done(); }); }); describe('with major minor and patch version', () => { - it('should return the patch version', (done) => { + it('should return the patch version', () => { const version = new Version(); version.value = '4.1.2'; expect(version.getPatch()).to.be.equal(2); - done(); }); }); }); describe('toValue method', () => { describe('with only major', () => { - it('should work', (done) => { + it('should work', () => { const version = new Version(); version.value = '4'; expect(version.toValue()).to.equal(4); - done(); }); }); describe('with major and minor version', () => { - it('should work', (done) => { + it('should work', () => { const version = new Version(); version.value = '4.1'; expect(version.toValue()).to.equal(4.0001); - done(); }); }); describe('with major, minor and patch version', () => { - it('should work', (done) => { + it('should work', () => { const version = new Version(); version.value = '4.1.1'; expect(version.toValue()).to.equal(4.00010001); - done(); }); }); describe('with major minor version with two digit and patch version with one digit', () => { - it('should work', (done) => { + it('should work', () => { const version = new Version(); version.value = '10.10.3'; expect(version.toValue()).to.be.equal(10.00100003); - done(); }); }); }); describe('toFloat method', () => { describe('with only major', () => { - it('should work', (done) => { + it('should work', () => { const version = new Version(); version.value = '4'; expect(version.toFloat()).to.equal(4); - done(); }); }); describe('with major and minor version', () => { - it('should work', (done) => { + it('should work', () => { const version = new Version(); version.value = '4.1'; expect(version.toFloat()).to.equal(4.1); - done(); }); }); describe('with major, minor and patch version', () => { - it('should work', (done) => { + it('should work', () => { const version = new Version(); version.value = '4.1.1'; expect(version.toFloat()).to.equal(4.1); - done(); }); }); describe('with major minor version with two digit and patch version with one digit', () => { - it('should work', (done) => { + it('should work', () => { const version = new Version(); version.value = '10.10.3'; expect(version.toFloat()).to.be.equal(10.1); - done(); }); }); }); describe('toNumber method', () => { describe('with only major', () => { - it('should work', (done) => { + it('should work', () => { const version = new Version(); version.value = '4'; expect(version.toNumber()).to.equal(4); - done(); }); }); describe('with major and minor version', () => { - it('should work', (done) => { + it('should work', () => { const version = new Version(); version.value = '4.1'; expect(version.toNumber()).to.equal(4); - done(); }); }); describe('with major, minor and patch version', () => { - it('should work', (done) => { + it('should work', () => { const version = new Version(); version.value = '4.1.1'; expect(version.toNumber()).to.equal(4); - done(); }); }); describe('with major minor version with two digit and patch version with one digit', () => { - it('should work', (done) => { + it('should work', () => { const version = new Version(); version.value = '10.10.3'; expect(version.toNumber()).to.be.equal(10); - done(); }); }); }); describe('toString method', () => { describe('with no details or builds', () => { - it('should work as expected', (done) => { + it('should work as expected', () => { const version = new Version(); version.value = '4.1.1'; @@ -361,154 +325,141 @@ describe('Version Class', () => { version.value = '4.0b2'; expect(version.toString()).to.equal('4.0b2'); - done(); }); }); describe('with details but not builds', () => { - it('should work as expected', (done) => { + it('should work as expected', () => { const version = new Version(); - version.set({value: '4.1.1', details: 0}); + version.set({ value: '4.1.1', details: 0 }); expect(version.toString()).to.equal('4.1.1'); - version.set({value: '4.1.1', details: 1}); + version.set({ value: '4.1.1', details: 1 }); expect(version.toString()).to.equal('4'); - version.set({value: '4.1.1', details: 2}); + version.set({ value: '4.1.1', details: 2 }); expect(version.toString()).to.equal('4.1'); - version.set({value: '4.1.1', details: 3}); + version.set({ value: '4.1.1', details: 3 }); expect(version.toString()).to.equal('4.1.1'); - version.set({value: '4.1.1', details: 4}); + version.set({ value: '4.1.1', details: 4 }); expect(version.toString()).to.equal('4.1.1'); - version.set({value: '4.1', details: 3}); + version.set({ value: '4.1', details: 3 }); expect(version.toString()).to.equal('4.1'); - version.set({value: '4.1.1', details: -1}); + version.set({ value: '4.1.1', details: -1 }); expect(version.toString()).to.equal('4.1'); - version.set({value: '4.1.1', details: -2}); + version.set({ value: '4.1.1', details: -2 }); expect(version.toString()).to.equal('4'); - version.set({value: '4.1.1', details: -3}); + version.set({ value: '4.1.1', details: -3 }); expect(version.toString()).to.equal(''); - version.set({value: '4.1.1', details: -4}); + version.set({ value: '4.1.1', details: -4 }); expect(version.toString()).to.equal(''); - - done(); }); }); describe('with builds but not details', () => { - it('should work as expected', (done) => { + it('should work as expected', () => { const version = new Version(); - version.set({value: '5.0.2.999', builds: false}); + version.set({ value: '5.0.2.999', builds: false }); expect(version.toString()).to.equal('5.0.2.999'); - version.set({value: '5.0.2.1000', builds: false}); + version.set({ value: '5.0.2.1000', builds: false }); expect(version.toString()).to.equal('5.0.2'); - version.set({value: '5.0.2.4428', builds: false}); + version.set({ value: '5.0.2.4428', builds: false }); expect(version.toString()).to.equal('5.0.2'); - version.set({value: '5.0.4428', builds: false}); + version.set({ value: '5.0.4428', builds: false }); expect(version.toString()).to.equal('5.0'); - version.set({value: '5.4428', builds: false}); + version.set({ value: '5.4428', builds: false }); expect(version.toString()).to.equal('5'); - version.set({value: '4428', builds: false}); + version.set({ value: '4428', builds: false }); expect(version.toString()).to.equal(''); - - done(); }); }); describe('with alias', () => { - it('should return alias', (done) => { + it('should return alias', () => { const version = new Version(); - version.set({value: '5.1', alias: 'XP'}); + version.set({ value: '5.1', alias: 'XP' }); expect(version.toString()).to.be.equal('XP'); - done(); }); }); describe('with nickname', () => { - it('should return nickaname and version', (done) => { + it('should return nickaname and version', () => { const version = new Version(); - version.set({value: '10.11', nickname: 'El Captain'}); + version.set({ value: '10.11', nickname: 'El Captain' }); expect(version.toString()).to.be.equal('El Captain 10.11'); - done(); }); }); describe('with nickname and details', () => { - it('should return nickname and a subset of verson', (done) => { + it('should return nickname and a subset of verson', () => { const version = new Version(); - version.set({value: '10.11.2', nickname: 'El Captain', details: 2}); + version.set({ value: '10.11.2', nickname: 'El Captain', details: 2 }); expect(version.toString()).to.be.equal('El Captain 10.11'); - done(); }); }); }); describe('toObject method', () => { describe('with all properties empty', () => { - it('should return an empty object', (done) => { + it('should return an empty object', () => { const version = new Version(); expect(version.toObject()).equal({}); - done(); }); }); describe('with value filled', () => { - it('should return the only value', (done) => { + it('should return the only value', () => { const version = new Version(); - version.set({value: '4.1.1'}); + version.set({ value: '4.1.1' }); expect(version.toObject()).to.equal('4.1.1'); - done(); }); }); describe('with value and details filled', () => { - it('should return the with value according to details level', (done) => { + it('should return the with value according to details level', () => { const version = new Version(); - version.set({value: '4.1.1', details: 2}); + version.set({ value: '4.1.1', details: 2 }); expect(version.toObject()).to.equal('4.1'); - done(); }); }); describe('with value and alias filled', () => { - it('should return an object with value and alias properties', (done) => { + it('should return an object with value and alias properties', () => { const version = new Version(); - const properties = {value: '5.1', alias: 'XP'}; + const properties = { value: '5.1', alias: 'XP' }; version.set(properties); expect(version.toObject()).to.equal(properties); - done(); }); }); describe('with value and nickname filled', () => { - it('should return an object with value and nickname properties', (done) => { + it('should return an object with value and nickname properties', () => { const version = new Version(); - const properties = {value: '10.11', nickname: 'El Captain'}; + const properties = { value: '10.11', nickname: 'El Captain' }; version.set(properties); expect(version.toObject()).to.equal(properties); - done(); }); }); }); diff --git a/test/model/primitive/BaseTest.js b/test/model/primitive/BaseTest.js index e8789dd..9365089 100644 --- a/test/model/primitive/BaseTest.js +++ b/test/model/primitive/BaseTest.js @@ -1,21 +1,19 @@ -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Base = require('../../../src/model/primitive/Base'); describe('Base Class', () => { describe('constructor', () => { - it('should create the class correctly', (done) => { - expect(new Base({name: 'Generic'}).name).to.be.equal('Generic'); - done(); + it('should create the class correctly', () => { + expect(new Base({ name: 'Generic' }).name).to.be.equal('Generic'); }); }); describe('set method', () => { - it('should set properties correctly', (done) => { + it('should set properties correctly', () => { const base = new Base(); - base.set({name: 'Generic'}); + base.set({ name: 'Generic' }); expect(base.name).to.be.equal('Generic'); - done(); }); }); }); diff --git a/test/model/primitive/NameVersionTest.js b/test/model/primitive/NameVersionTest.js index ee97092..275ab26 100644 --- a/test/model/primitive/NameVersionTest.js +++ b/test/model/primitive/NameVersionTest.js @@ -1,106 +1,99 @@ -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const NameVersion = require('../../../src/model/primitive/NameVersion'); const Version = require('../../../src/model/Version'); describe('NameVersion Class', () => { describe('getName method', () => { - it('should correctly handle name', (done) => { + it('should correctly handle name', () => { const nameVersion = new NameVersion(); expect(nameVersion.getName()).to.be.equal(''); - done(); }); - it('should correctly reset name', (done) => { + it('should correctly reset name', () => { const nameVersion = new NameVersion(); nameVersion.name = 'Test'; nameVersion.reset({ name: 'Generic', - version: new Version({value: '1.0'}), + version: new Version({ value: '1.0' }), }); expect(nameVersion.getName()).to.be.equal('Generic'); - done(); }); - it('should correctly reset name and use alias', (done) => { + it('should correctly reset name and use alias', () => { const nameVersion = new NameVersion(); nameVersion.name = 'Test'; nameVersion.reset({ name: 'Generic', alias: 'Alias', - version: new Version({value: '1.0'}), + version: new Version({ value: '1.0' }), }); expect(nameVersion.getName()).to.be.equal('Alias'); - done(); }); }); describe('getVersion method', () => { - it('should correctly handle version', (done) => { + it('should correctly handle version', () => { const nameVersion = new NameVersion(); expect(nameVersion.getVersion()).to.be.equal(''); nameVersion.reset({ name: 'Generic', - version: new Version({value: '1.0'}), + version: new Version({ value: '1.0' }), }); expect(nameVersion.getVersion()).to.be.equal('1.0'); - done(); }); - it('should correctly handle version and details', (done) => { + it('should correctly handle version and details', () => { const nameVersion = new NameVersion(); expect(nameVersion.getVersion()).to.be.equal(''); nameVersion.reset({ name: 'Generic', - version: new Version({value: '1.0', details: 1}), + version: new Version({ value: '1.0', details: 1 }), }); expect(nameVersion.getVersion()).to.be.equal('1'); - done(); }); }); describe('isDetected method', () => { - it('should work as expected', (done) => { + it('should work as expected', () => { const nameVersion = new NameVersion(); expect(nameVersion.isDetected()).to.be.false(); nameVersion.reset({ name: 'Generic', - version: new Version({value: '1.0'}), + version: new Version({ value: '1.0' }), }); expect(nameVersion.isDetected()).to.be.true(); - done(); }); }); describe('toString method with only name', () => { - it('should correctly handle name', (done) => { + it('should correctly handle name', () => { const nameVersion = new NameVersion(); expect(nameVersion.toString()).to.be.equal(''); nameVersion.reset({ name: 'Generic', - version: new Version({value: '1.0'}), + version: new Version({ value: '1.0' }), }); expect(nameVersion.toString()).to.be.equal('Generic 1.0'); - done(); }); - it('should correctly handle name and alias', (done) => { + it('should correctly handle name and alias', () => { const nameVersion = new NameVersion(); expect(nameVersion.toString()).to.be.equal(''); @@ -108,17 +101,16 @@ describe('NameVersion Class', () => { nameVersion.reset({ name: 'Generic', alias: 'Alias', - version: new Version({value: '1.0'}), + version: new Version({ value: '1.0' }), }); expect(nameVersion.toString()).to.be.equal('Alias 1.0'); - done(); }); }); describe('identifyVersion method', () => { describe('with matching RegExp', () => { - it('should find the version', (done) => { + it('should find the version', () => { const nameVersion = new NameVersion(); nameVersion.identifyVersion(/Version\/([0-9.]+)/u, 'Version/1.0'); @@ -126,53 +118,42 @@ describe('NameVersion Class', () => { nameVersion.reset(); expect(nameVersion.getVersion()).to.be.equal(''); - - done(); }); }); describe('with not matching RegExp', () => { - it('should not find the version', (done) => { + it('should not find the version', () => { const nameVersion = new NameVersion(); nameVersion.identifyVersion(/Version\/([0-9.]+)/u, 'Other/1.0'); expect(nameVersion.getVersion()).to.be.equal(''); - - done(); }); }); - describe('with matching RegExp and details', () => { - it('should find the version and truncate it according to details', (done) => { + it('should find the version and truncate it according to details', () => { const nameVersion = new NameVersion(); - nameVersion.identifyVersion(/Version\/([0-9.]+)/u, 'Version/1.0', {details: 1}); + nameVersion.identifyVersion(/Version\/([0-9.]+)/u, 'Version/1.0', { details: 1 }); expect(nameVersion.getVersion()).to.be.equal('1'); - - done(); }); }); describe('with matching RegExp and with underscore', () => { - it('should find the version and replace underscores', (done) => { + it('should find the version and replace underscores', () => { const nameVersion = new NameVersion(); - nameVersion.identifyVersion(/Version\/([0-9.]+)/u, 'Version/1_0_2', {type: 'underscore'}); + nameVersion.identifyVersion(/Version\/([0-9.]+)/u, 'Version/1_0_2', { type: 'underscore' }); expect(nameVersion.getVersion()).to.be.equal('1'); - - done(); }); }); describe('with matching RegExp and with legacy type', () => { - it('should find the version and transform it from legacy', (done) => { + it('should find the version and transform it from legacy', () => { const nameVersion = new NameVersion(); - nameVersion.identifyVersion(/Version\/([0-9.]+)/u, 'Version/1.02', {type: 'legacy'}); + nameVersion.identifyVersion(/Version\/([0-9.]+)/u, 'Version/1.02', { type: 'legacy' }); expect(nameVersion.getVersion()).to.be.equal('1.0.2'); - - done(); }); }); }); diff --git a/test/unit/AnalyserTest.js b/test/unit/AnalyserTest.js index dabfe26..98a4ecd 100644 --- a/test/unit/AnalyserTest.js +++ b/test/unit/AnalyserTest.js @@ -1,11 +1,11 @@ -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Main = require('../../src/model/Main'); const Analyser = require('../../src/Analyser'); describe('Analyser Class', () => { describe('Create and getData back', () => { - it('should return an instance of Main Class', (done) => { + it('should return an instance of Main Class', () => { const analyser = new Analyser({ 'User-Agent': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; InfoPath.1)', }); @@ -14,12 +14,11 @@ describe('Analyser Class', () => { analyser.analyse(); expect(analyser.getData()).to.be.instanceOf(Main); - done(); }); }); describe('create and setData ', () => { - it('getData should return an instance of Main Class', (done) => { + it('getData should return an instance of Main Class', () => { const analyser = new Analyser({ 'User-Agent': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; InfoPath.1)', }); @@ -33,7 +32,6 @@ describe('Analyser Class', () => { analyser.analyse(); expect(analyser.getData()).to.be.instanceOf(Main); - done(); }); }); }); diff --git a/test/unit/CacheTest.js b/test/unit/CacheTest.js index fd45ed8..712c6a2 100644 --- a/test/unit/CacheTest.js +++ b/test/unit/CacheTest.js @@ -1,5 +1,5 @@ -const {describe, it, beforeEach, afterEach} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it, beforeEach, afterEach } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Sinon = require('sinon'); const Parser = require('../../src/Parser'); const Cache = require('../../src/Cache'); @@ -7,84 +7,80 @@ const header1 = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; InfoPath.1)' const header2 = 'User-Agent: Mozilla/5.0 (Linux; Android 4.0.3; GT-P3113 Build/IML74K) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Safari/535.19'; const comparision1 = { - browser: {name: 'Internet Explorer', version: '6.0', type: 'browser'}, - engine: {name: 'Trident'}, - os: {name: 'Windows', version: {value: '5.0', alias: '2000'}}, - device: {type: 'desktop'}, + browser: { name: 'Internet Explorer', version: '6.0', type: 'browser' }, + engine: { name: 'Trident' }, + os: { name: 'Windows', version: { value: '5.0', alias: '2000' } }, + device: { type: 'desktop' }, }; const comparision2 = { - browser: {name: 'Chrome', version: '18', type: 'browser'}, - engine: {name: 'Webkit', version: '535.19'}, - os: {name: 'Android', version: '4.0.3'}, - device: {type: 'tablet', manufacturer: 'Samsung', model: 'Galaxy Tab 2 7.0'}, + browser: { name: 'Chrome', version: '18', type: 'browser' }, + engine: { name: 'Webkit', version: '535.19' }, + os: { name: 'Android', version: '4.0.3' }, + device: { type: 'tablet', manufacturer: 'Samsung', model: 'Galaxy Tab 2 7.0' }, }; let clock; describe('Cache Class', () => { - beforeEach((done) => { + beforeEach(() => { Cache.resetClassState(); - clock = Sinon.useFakeTimers('setInterval', 'clearInterval', 'Date'); - done(); + clock = Sinon.useFakeTimers({ + toFake: ['setInterval', 'clearInterval', 'Date'], + }); }); - afterEach((done) => { + afterEach(() => { clock.restore(); - done(); }); + describe('Two subsequent parse with same UA', () => { - it('should be cached', (done) => { - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + it('should be cached', () => { + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); - - done(); }); }); describe('Two subsequent parse with different UA', () => { - it('should not be cached', (done) => { - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + it('should not be cached', () => { + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - result = new Parser(header2, {cache: Parser.SIMPLE_CACHE}); + result = new Parser(header2, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision2); expect(result.cached).to.not.exist(); - done(); }); }); describe('Create cache with negative expiry time', () => { - it('should let the Cache never expire', (done) => { - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: -1}); + it('should let the Cache never expire', () => { + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: -1 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); // let pass 2 years - clock.tick(60 * 60 * 24 * 265 * 2 * 1000); + clock.jump(60 * 60 * 24 * 265 * 2 * 1000); // it's still in cache - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); - - done(); }); }); describe('Create cache with an expiry time that would make the cache check interval be 0s (cacheExpires/5), ', () => { - it('should instead be 1s', (done) => { - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 4}); + it('should instead be 1s', () => { + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 4 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); // let pass 3 seconds clock.tick(3 * 1000); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 4}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 4 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); @@ -92,103 +88,93 @@ describe('Cache Class', () => { clock.tick((4 + 1 + 1) * 1000); // No more in cache - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 4}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 4 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - - done(); }); }); describe('Default cache with default expiry time and expiry check timer', () => { - it('should be empty after expiry time 900s + 1/5 * 900s + 1s', (done) => { - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + it('should be empty after expiry time 900s + 1/5 * 900s + 1s', () => { + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); clock.tick((900 + 900 / 5 + 1) * 1000); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - - done(); }); }); describe('Default cache with default expiry time but with 1s expiry check timer', () => { - it('should be empty after expiry time 900s + 1s + 1s', (done) => { - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1}); + it('should be empty after expiry time 900s + 1s + 1s', () => { + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); clock.tick((900 + 1 + 1) * 1000); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - - done(); }); }); describe('Default cache with 100s expiry time and default expiry check timer', () => { - it('should be empty after expiry time 100s + 1/5 * 100s + 1s', (done) => { - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100}); + it('should be empty after expiry time 100s + 1/5 * 100s + 1s', () => { + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); clock.tick((100 + 100 / 5 + 1) * 1000); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - - done(); }); }); describe('Default cache with 100s expiry time but with 2s expiry check timer', () => { - it('should be empty after expiry time 100s + 2s + 1s', (done) => { - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100, cacheCheckInterval: 2}); + it('should be empty after expiry time 100s + 2s + 1s', () => { + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100, cacheCheckInterval: 2 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100, cacheCheckInterval: 2}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100, cacheCheckInterval: 2 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); clock.tick((100 + 2 + 1) * 1000); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100, cacheCheckInterval: 2}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100, cacheCheckInterval: 2 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - - done(); }); }); describe('Default cache with default expiry time but with 1s expiry check timer, one item with cache refreshed and one not', () => { - it('the one refreshed should be in cache after the first expiry time (900 + 1 + 1), the other not', (done) => { + it('the one refreshed should be in cache after the first expiry time (900 + 1 + 1), the other not', () => { // First call to Parser, cache both - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1}); - let result2 = new Parser(header2, {cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1}); + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1 }); + let result2 = new Parser(header2, { cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); @@ -197,8 +183,8 @@ describe('Cache Class', () => { expect(result2.cached).to.not.exist(); // Second call, check that are cached - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1}); - result2 = new Parser(header2, {cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1 }); + result2 = new Parser(header2, { cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); @@ -210,7 +196,7 @@ describe('Cache Class', () => { clock.tick(899 * 1000); // Refresh only the record related to header 1 - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); @@ -218,22 +204,21 @@ describe('Cache Class', () => { clock.tick(3 * 1000); // Call the parser with header1, it should be still in cache - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); // Call the parser with header2, it should NOT be in cache - result2 = new Parser(header2, {cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1}); + result2 = new Parser(header2, { cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1 }); expect(result2.toObject()).to.be.equal(comparision2); expect(result2.cached).to.not.exist(); - done(); }); }); describe('Change the expiry time while cache is populated', () => { - it('should affect only new items, and updated the expiry time after a new cache hit', (done) => { + it('should affect only new items, and updated the expiry time after a new cache hit', () => { // First call to Parser, still not cached, expiry time default to 900s - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); @@ -242,7 +227,7 @@ describe('Cache Class', () => { clock.tick(200 * 1000); // Put in cache a new item with 100s expiry time - let result2 = new Parser(header2, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100}); + let result2 = new Parser(header2, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100 }); expect(result2.toObject()).to.be.equal(comparision2); expect(result2.cached).to.not.exist(); @@ -250,13 +235,13 @@ describe('Cache Class', () => { // let expire the second item clock.tick((100 + 100 / 5 + 1) * 1000); - result2 = new Parser(header2, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100}); + result2 = new Parser(header2, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100 }); expect(result2.toObject()).to.be.equal(comparision2); expect(result2.cached).to.not.exist(); // First item is still in cache, parse it and update the expiry time - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); @@ -264,150 +249,110 @@ describe('Cache Class', () => { clock.tick((100 + 100 / 5 + 1) * 1000); // Item has expired also if the first 900s are not passed - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - - done(); }); }); describe('Parse UA with no expiry time', () => { - it('should never expire', (done) => { + it('should never expire', () => { // First call to Parser, still not cached, expiry time default to 900s - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 0}); + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 0 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); // let pass 2 years - clock.tick(60 * 60 * 24 * 265 * 2 * 1000); + clock.jump(60 * 60 * 24 * 265 * 2 * 1000); // it's still in cache - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); - - done(); - }); - }); - - describe('Disable cache expiry when cache has already some item inside,', () => { - it('also old item with expiry time should never expire', (done) => { - // First call to Parser, still not cached, expiry time default to 900s - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); - expect(result.toObject()).to.be.equal(comparision1); - expect(result.cached).to.not.exist(); - - // let pass half expiration time - clock.tick(450 * 1000); - - let result2 = new Parser(header2, {cache: Parser.SIMPLE_CACHE, cacheExpires: 0}); - expect(result2.toObject()).to.be.equal(comparision2); - expect(result2.cached).to.not.exist(); - - // let pass 2 years - clock.tick(60 * 60 * 24 * 265 * 2 * 1000); - - // it's still in cache - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); - expect(result.toObject()).to.be.equal(comparision1); - expect(result.cached).to.be.true(); - - result2 = new Parser(header2, {cache: Parser.SIMPLE_CACHE}); - expect(result2.toObject()).to.be.equal(comparision2); - expect(result2.cached).to.be.true(); - - done(); }); }); describe('Enable cache expiry when cache has already some item inside with no expiry time,', () => { - it('Old items are still there when the new expiry time come', (done) => { + it('Old items are still there when the new expiry time come', () => { // First call to Parser, still not cached, expiry time default to 900s - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 0}); + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 0 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); // let pass 2 years - clock.tick(60 * 60 * 24 * 265 * 2 * 1000); + clock.jump(60 * 60 * 24 * 265 * 2 * 1000); // it's still in cache - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 0}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 0 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); - let result2 = new Parser(header2, {cache: Parser.SIMPLE_CACHE}); + let result2 = new Parser(header2, { cache: Parser.SIMPLE_CACHE }); expect(result2.toObject()).to.be.equal(comparision2); expect(result2.cached).to.not.exist(); // expiry the second record clock.tick((900 + 900 / 5 + 1) * 1000); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); - result2 = new Parser(header2, {cache: Parser.SIMPLE_CACHE}); + result2 = new Parser(header2, { cache: Parser.SIMPLE_CACHE }); expect(result2.toObject()).to.be.equal(comparision2); expect(result2.cached).to.not.exists(); - - done(); }); }); describe('Default cache with 100s expiry time but with 2s expiry check timer', () => { - it('should be empty after expiry time 100s + 2s + 1s', (done) => { - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100, cacheCheckInterval: 2}); + it('should be empty after expiry time 100s + 2s + 1s', () => { + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100, cacheCheckInterval: 2 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100, cacheCheckInterval: 2}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100, cacheCheckInterval: 2 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); clock.tick((100 + 2 + 1) * 1000); - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE, cacheExpires: 100, cacheCheckInterval: 2}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE, cacheExpires: 100, cacheCheckInterval: 2 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - - done(); }); }); describe('Default cache with default expiry time and default check interval, after a second parse that change the check internval', () => { - it('should correctly update the cache check loop', (done) => { + it('should correctly update the cache check loop', () => { // First call to Parser, cache both - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); // Make the timer be 1 second before the cache expiry time clock.tick(899 * 1000); - let result2 = new Parser(header2, {cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1}); + let result2 = new Parser(header2, { cache: Parser.SIMPLE_CACHE, cacheCheckInterval: 1 }); // Let the cache expire for header 1 and let the cache check interval pass clock.tick((1 + 1 + 1) * 1000); // header 1 record should be gone, header 2 one shoul be there in cache - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); - result2 = new Parser(header2, {cache: Parser.SIMPLE_CACHE}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); + result2 = new Parser(header2, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); expect(result2.toObject()).to.be.equal(comparision2); expect(result2.cached).to.be.true(); - - done(); }); }); describe('Default cache with default expiry time and default check interval: second parse is done without cache', () => { - it('the result returned should not come from cache', (done) => { + it('the result returned should not come from cache', () => { // First call to Parser, cache both - let result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + let result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); @@ -415,16 +360,14 @@ describe('Cache Class', () => { clock.tick(100 * 1000); // cache is populated with header1 record - result = new Parser(header1, {cache: Parser.SIMPLE_CACHE}); + result = new Parser(header1, { cache: Parser.SIMPLE_CACHE }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.be.true(); // parse the same header without cache property in options - result = new Parser(header1, {cacheCheckInterval: 1}); + result = new Parser(header1, { cacheCheckInterval: 1 }); expect(result.toObject()).to.be.equal(comparision1); expect(result.cached).to.not.exist(); - - done(); }); }); }); diff --git a/test/unit/MassiveTest.js b/test/unit/MassiveTest.js index 7556eaa..5383571 100644 --- a/test/unit/MassiveTest.js +++ b/test/unit/MassiveTest.js @@ -1,7 +1,5 @@ -/* eslint-disable require-jsdoc */ - -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Parser = require('../../src/Parser'); const path = require('path'); const fs = require('fs'); @@ -14,14 +12,23 @@ function getDirContent(category = '') { describe('Testing Parser with YAML files', () => { getDirContent().forEach((category) => { getDirContent(category).forEach((file) => { - const yamlContent = yaml.load(path.join(__dirname, '../data', category, file)); - yamlContent.forEach(makeTest); + try { + const yamlContent = yaml.load(path.join(__dirname, '../data', category, file)); + yamlContent.forEach(makeTest); + } catch (e) { + // eslint-disable-next-line no-console + console.error(e); + // eslint-disable-next-line no-console + console.error('The above error is caused in the test file ' + category + '/' + file); + + throw new Error('Aborting the tests', { cause: e }); + } }); }); }); function makeTest(options) { - it(`With header: ${options.headers}`, (done) => { + it(`With header: ${options.headers}`, () => { if (options.headers && typeof options.headers === 'string') { options.headers = parseHeaders(options.headers); } @@ -30,7 +37,6 @@ function makeTest(options) { expect(parserObj.toString()).to.be.equal(options.readable); expect(parserObj.toObject()).to.be.equal(options.result); expect(parserObj.cached).to.not.exists(); - done(); }); } @@ -38,7 +44,7 @@ function parseHeaders(rawHeaders) { const headers = {}; let key = ''; - for (let header of rawHeaders.split('\n')) { + for (const header of rawHeaders.split('\n')) { let [headerName, ...headerValue] = header.split(':'); headerValue = headerValue.join(':'); if (headerValue) { diff --git a/test/unit/ParserTest.js b/test/unit/ParserTest.js index 84fe4c8..adcc9ad 100644 --- a/test/unit/ParserTest.js +++ b/test/unit/ParserTest.js @@ -1,52 +1,48 @@ -const {describe, it} = (exports.lab = require('lab').script()); -const expect = require('code').expect; +const { describe, it } = (exports.lab = require('@hapi/lab').script()); +const expect = require('@hapi/code').expect; const Parser = require('../../src/Parser'); describe('Parser Class', () => { describe('Creating Parse with string', () => { - it('should work', (done) => { + it('should work', () => { const parser = new Parser('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; InfoPath.1)'); expect(parser).to.be.instanceOf(Parser); expect(parser.isBrowser('Internet Explorer', '=', '6.0')).to.be.true(); - done(); }); }); describe('Creating Parse with headers object', () => { - it('should work', (done) => { - const parser = new Parser({'User-Agent': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; InfoPath.1)'}); + it('should work', () => { + const parser = new Parser({ 'User-Agent': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; InfoPath.1)' }); expect(parser).to.be.instanceOf(Parser); expect(parser.isBrowser('Internet Explorer', '=', '6.0')).to.be.true(); - done(); }); }); describe('Creating Parse with options', () => { - it('should work', (done) => { + it('should work', () => { const parser = new Parser({ - headers: {'User-Agent': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; InfoPath.1)'}, + headers: { 'User-Agent': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; InfoPath.1)' }, }); expect(parser).to.be.instanceOf(Parser); expect(parser.isBrowser('Internet Explorer', '=', '6.0')).to.be.true(); - done(); }); }); describe('Creating Parse without arguments', () => { - it('an calling analyse should work', (done) => { + it('an calling analyse should work', () => { const parser = new Parser(); parser.analyse('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; InfoPath.1)'); expect(parser).to.be.instanceOf(Parser); expect(parser.isBrowser('Internet Explorer', '=', '6.0')).to.be.true(); - done(); }); }); });