├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── agent ├── package-lock.json ├── package.json ├── src │ ├── agent.ts │ ├── index.ts │ └── lib │ │ └── types.ts └── tsconfig.json ├── assets └── screenshot1.png ├── objtree-dev-runner.py ├── objtree ├── __init__.py ├── cli.py └── utils │ ├── __init__.py │ └── hooker.py └── setup.py /.gitignore: -------------------------------------------------------------------------------- 1 | _agent.js 2 | *.pyc 3 | */__pycache__/ 4 | node_modules/ 5 | .DS_Store 6 | dist/ 7 | *.egg-info/ 8 | venv/ 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | DIST_DIR := dist 2 | 3 | default: clean compile-agent sdist 4 | 5 | clean: 6 | rm -rf $(DIST_DIR)/* 7 | 8 | compile-agent: 9 | cd agent && npm run build 10 | 11 | sdist: 12 | python3 setup.py sdist 13 | 14 | testupload: 15 | twine upload dist/* -r testpypi 16 | 17 | upload: 18 | twine upload dist/* 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # objtree - `tree` but for Objective-C messages 2 | 3 | ## Features 4 | * Trace all ObjC methods within the scope of a method or function (symbolicated or by relative address), `tree`-style 5 | * Stack-depth filters 6 | * All the `frida-trace` goodies: spawn file, attach to pid, remote frida-server, etc. 7 | 8 | ## Showcase 9 | ``` 10 | Usage: objtree [options] target 11 | 12 | Options: 13 | --version show program's version number and exit 14 | -h, --help show this help message and exit 15 | -D ID, --device=ID connect to device with the given ID 16 | -U, --usb connect to USB device 17 | -R, --remote connect to remote frida-server 18 | -H HOST, --host=HOST connect to remote frida-server on HOST 19 | -f FILE, --file=FILE spawn FILE 20 | -F, --attach-frontmost 21 | attach to frontmost application 22 | -n NAME, --attach-name=NAME 23 | attach to NAME 24 | -p PID, --attach-pid=PID 25 | attach to PID 26 | --stdio=inherit|pipe stdio behavior when spawning (defaults to “inherit”) 27 | --aux=option set aux option when spawning, such as “uid=(int)42” 28 | (supported types are: string, bool, int) 29 | --runtime=qjs|v8 script runtime to use 30 | --debug enable the Node.js compatible script debugger 31 | --squelch-crash if enabled, will not dump crash report to console 32 | -O FILE, --options-file=FILE 33 | text file containing additional command line options 34 | -m OBJC_METHOD include OBJC_METHOD 35 | -i FUNCTION include FUNCTION 36 | -a FUNCTION_OFFSET add FUNCTION_OFFSET, relative to binary base 37 | -L STACK_DEPTH trace functions up to STACK_DEPTH, default is 8 38 | -o OUTPUT, --output=OUTPUT 39 | dump output to file OUTPUT 40 | ``` 41 | ![screenshot1.png](assets/screenshot1.png) 42 | 43 | ### Examples 44 | * `objtree -m "-[InterestingClass interestingMethod:withArg:]"` 45 | * `objtree -i LibFoo!bar` 46 | * `objtree -i generate_interesting_value -L 6` 47 | * Here, matches for the function name in all modules would be hooked 48 | * `objtree -a ` 49 | * `offset` here would be the target method's relative offset to `some_process` base 50 | 51 | ## Note 52 | A crash could happen under a very high volume of functions being intercepted, due to memory overload, which is very possible when working on a big binary. I tried to make the tool as lightweight as possible to avoid this. But if you face a crash, try to intercept one function at a time and adjust the stack depth filter, or intercept a function lower down the call stack. Issues are welcome as well if you think it's something non-memory related. 53 | 54 | ## Installation 55 | `pip3 install objtree` 56 | 57 | ## License 58 | [Apache License 2.0](LICENSE) 59 | -------------------------------------------------------------------------------- /agent/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "objtree", 3 | "version": "0.5.1", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@frida/uglifyify": { 8 | "version": "7.0.1", 9 | "resolved": "https://registry.npmjs.org/@frida/uglifyify/-/uglifyify-7.0.1.tgz", 10 | "integrity": "sha512-i+80AKujltgBzl6Y8s6R4VwJrAG6KL5g0yX+aTsD4i74UbSE8JJg5YwIKh8Je80F+F9LlVg6GjLXMwupZ588Bw==", 11 | "dev": true, 12 | "requires": { 13 | "convert-source-map": "^1.6.0", 14 | "minimatch": "^3.0.4", 15 | "terser": "^5.3.1", 16 | "through": "^2.3.8" 17 | } 18 | }, 19 | "@types/frida-gum": { 20 | "version": "16.2.0", 21 | "resolved": "https://registry.npmjs.org/@types/frida-gum/-/frida-gum-16.2.0.tgz", 22 | "integrity": "sha512-ToMv9NxjwOrMXFk3SHTuo/XKa5aoUwsREPPsl7alVAryY2DgQ30kd5vpdEJ0/KyqsKiqAwlvAQn9ReppguWysA==", 23 | "dev": true 24 | }, 25 | "@types/node": { 26 | "version": "14.14.10", 27 | "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.10.tgz", 28 | "integrity": "sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ==", 29 | "dev": true 30 | }, 31 | "JSONStream": { 32 | "version": "1.3.5", 33 | "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", 34 | "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", 35 | "dev": true, 36 | "requires": { 37 | "jsonparse": "^1.2.0", 38 | "through": ">=2.2.7 <3" 39 | } 40 | }, 41 | "acorn": { 42 | "version": "7.4.1", 43 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", 44 | "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", 45 | "dev": true 46 | }, 47 | "acorn-node": { 48 | "version": "1.8.2", 49 | "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz", 50 | "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==", 51 | "dev": true, 52 | "requires": { 53 | "acorn": "^7.0.0", 54 | "acorn-walk": "^7.0.0", 55 | "xtend": "^4.0.2" 56 | } 57 | }, 58 | "acorn-walk": { 59 | "version": "7.2.0", 60 | "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", 61 | "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", 62 | "dev": true 63 | }, 64 | "ansi-styles": { 65 | "version": "4.3.0", 66 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 67 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 68 | "dev": true, 69 | "requires": { 70 | "color-convert": "^2.0.1" 71 | } 72 | }, 73 | "any-promise": { 74 | "version": "1.3.0", 75 | "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", 76 | "integrity": "sha1-q8av7tzqUugJzcA3au0845Y10X8=", 77 | "dev": true 78 | }, 79 | "anymatch": { 80 | "version": "3.1.1", 81 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", 82 | "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", 83 | "dev": true, 84 | "requires": { 85 | "normalize-path": "^3.0.0", 86 | "picomatch": "^2.0.4" 87 | } 88 | }, 89 | "array-filter": { 90 | "version": "1.0.0", 91 | "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-1.0.0.tgz", 92 | "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM=", 93 | "dev": true 94 | }, 95 | "asn1.js": { 96 | "version": "5.4.1", 97 | "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", 98 | "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", 99 | "dev": true, 100 | "requires": { 101 | "bn.js": "^4.0.0", 102 | "inherits": "^2.0.1", 103 | "minimalistic-assert": "^1.0.0", 104 | "safer-buffer": "^2.1.0" 105 | }, 106 | "dependencies": { 107 | "bn.js": { 108 | "version": "4.11.9", 109 | "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", 110 | "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==", 111 | "dev": true 112 | } 113 | } 114 | }, 115 | "assert": { 116 | "version": "1.5.0", 117 | "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", 118 | "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", 119 | "dev": true, 120 | "requires": { 121 | "object-assign": "^4.1.1", 122 | "util": "0.10.3" 123 | }, 124 | "dependencies": { 125 | "inherits": { 126 | "version": "2.0.1", 127 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", 128 | "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", 129 | "dev": true 130 | }, 131 | "util": { 132 | "version": "0.10.3", 133 | "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", 134 | "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", 135 | "dev": true, 136 | "requires": { 137 | "inherits": "2.0.1" 138 | } 139 | } 140 | } 141 | }, 142 | "available-typed-arrays": { 143 | "version": "1.0.2", 144 | "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz", 145 | "integrity": "sha512-XWX3OX8Onv97LMk/ftVyBibpGwY5a8SmuxZPzeOxqmuEqUCOM9ZE+uIaD1VNJ5QnvU2UQusvmKbuM1FR8QWGfQ==", 146 | "dev": true, 147 | "requires": { 148 | "array-filter": "^1.0.0" 149 | } 150 | }, 151 | "balanced-match": { 152 | "version": "1.0.0", 153 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 154 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", 155 | "dev": true 156 | }, 157 | "base64-js": { 158 | "version": "1.5.1", 159 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", 160 | "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", 161 | "dev": true 162 | }, 163 | "bignumber.js": { 164 | "version": "9.0.1", 165 | "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", 166 | "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==", 167 | "dev": true 168 | }, 169 | "binary-extensions": { 170 | "version": "2.1.0", 171 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz", 172 | "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==", 173 | "dev": true 174 | }, 175 | "bn.js": { 176 | "version": "5.1.3", 177 | "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.1.3.tgz", 178 | "integrity": "sha512-GkTiFpjFtUzU9CbMeJ5iazkCzGL3jrhzerzZIuqLABjbwRaFt33I9tUdSNryIptM+RxDet6OKm2WnLXzW51KsQ==", 179 | "dev": true 180 | }, 181 | "brace-expansion": { 182 | "version": "1.1.11", 183 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 184 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 185 | "dev": true, 186 | "requires": { 187 | "balanced-match": "^1.0.0", 188 | "concat-map": "0.0.1" 189 | } 190 | }, 191 | "braces": { 192 | "version": "3.0.2", 193 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 194 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 195 | "dev": true, 196 | "requires": { 197 | "fill-range": "^7.0.1" 198 | } 199 | }, 200 | "brorand": { 201 | "version": "1.1.0", 202 | "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", 203 | "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", 204 | "dev": true 205 | }, 206 | "browser-pack": { 207 | "version": "6.1.0", 208 | "resolved": "https://registry.npmjs.org/browser-pack/-/browser-pack-6.1.0.tgz", 209 | "integrity": "sha512-erYug8XoqzU3IfcU8fUgyHqyOXqIE4tUTTQ+7mqUjQlvnXkOO6OlT9c/ZoJVHYoAaqGxr09CN53G7XIsO4KtWA==", 210 | "dev": true, 211 | "requires": { 212 | "JSONStream": "^1.0.3", 213 | "combine-source-map": "~0.8.0", 214 | "defined": "^1.0.0", 215 | "safe-buffer": "^5.1.1", 216 | "through2": "^2.0.0", 217 | "umd": "^3.0.0" 218 | }, 219 | "dependencies": { 220 | "through2": { 221 | "version": "2.0.5", 222 | "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", 223 | "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", 224 | "dev": true, 225 | "requires": { 226 | "readable-stream": "~2.3.6", 227 | "xtend": "~4.0.1" 228 | } 229 | } 230 | } 231 | }, 232 | "browser-resolve": { 233 | "version": "2.0.0", 234 | "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-2.0.0.tgz", 235 | "integrity": "sha512-7sWsQlYL2rGLy2IWm8WL8DCTJvYLc/qlOnsakDac87SOoCd16WLsaAMdCiAqsTNHIe+SXfaqyxyo6THoWqs8WQ==", 236 | "dev": true, 237 | "requires": { 238 | "resolve": "^1.17.0" 239 | } 240 | }, 241 | "browserify": { 242 | "version": "17.0.0", 243 | "resolved": "https://registry.npmjs.org/browserify/-/browserify-17.0.0.tgz", 244 | "integrity": "sha512-SaHqzhku9v/j6XsQMRxPyBrSP3gnwmE27gLJYZgMT2GeK3J0+0toN+MnuNYDfHwVGQfLiMZ7KSNSIXHemy905w==", 245 | "dev": true, 246 | "requires": { 247 | "JSONStream": "^1.0.3", 248 | "assert": "^1.4.0", 249 | "browser-pack": "^6.0.1", 250 | "browser-resolve": "^2.0.0", 251 | "browserify-zlib": "~0.2.0", 252 | "buffer": "~5.2.1", 253 | "cached-path-relative": "^1.0.0", 254 | "concat-stream": "^1.6.0", 255 | "console-browserify": "^1.1.0", 256 | "constants-browserify": "~1.0.0", 257 | "crypto-browserify": "^3.0.0", 258 | "defined": "^1.0.0", 259 | "deps-sort": "^2.0.1", 260 | "domain-browser": "^1.2.0", 261 | "duplexer2": "~0.1.2", 262 | "events": "^3.0.0", 263 | "glob": "^7.1.0", 264 | "has": "^1.0.0", 265 | "htmlescape": "^1.1.0", 266 | "https-browserify": "^1.0.0", 267 | "inherits": "~2.0.1", 268 | "insert-module-globals": "^7.2.1", 269 | "labeled-stream-splicer": "^2.0.0", 270 | "mkdirp-classic": "^0.5.2", 271 | "module-deps": "^6.2.3", 272 | "os-browserify": "~0.3.0", 273 | "parents": "^1.0.1", 274 | "path-browserify": "^1.0.0", 275 | "process": "~0.11.0", 276 | "punycode": "^1.3.2", 277 | "querystring-es3": "~0.2.0", 278 | "read-only-stream": "^2.0.0", 279 | "readable-stream": "^2.0.2", 280 | "resolve": "^1.1.4", 281 | "shasum-object": "^1.0.0", 282 | "shell-quote": "^1.6.1", 283 | "stream-browserify": "^3.0.0", 284 | "stream-http": "^3.0.0", 285 | "string_decoder": "^1.1.1", 286 | "subarg": "^1.0.0", 287 | "syntax-error": "^1.1.1", 288 | "through2": "^2.0.0", 289 | "timers-browserify": "^1.0.1", 290 | "tty-browserify": "0.0.1", 291 | "url": "~0.11.0", 292 | "util": "~0.12.0", 293 | "vm-browserify": "^1.0.0", 294 | "xtend": "^4.0.0" 295 | }, 296 | "dependencies": { 297 | "concat-stream": { 298 | "version": "1.6.2", 299 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", 300 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", 301 | "dev": true, 302 | "requires": { 303 | "buffer-from": "^1.0.0", 304 | "inherits": "^2.0.3", 305 | "readable-stream": "^2.2.2", 306 | "typedarray": "^0.0.6" 307 | } 308 | }, 309 | "through2": { 310 | "version": "2.0.5", 311 | "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", 312 | "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", 313 | "dev": true, 314 | "requires": { 315 | "readable-stream": "~2.3.6", 316 | "xtend": "~4.0.1" 317 | } 318 | } 319 | } 320 | }, 321 | "browserify-aes": { 322 | "version": "1.2.0", 323 | "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", 324 | "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", 325 | "dev": true, 326 | "requires": { 327 | "buffer-xor": "^1.0.3", 328 | "cipher-base": "^1.0.0", 329 | "create-hash": "^1.1.0", 330 | "evp_bytestokey": "^1.0.3", 331 | "inherits": "^2.0.1", 332 | "safe-buffer": "^5.0.1" 333 | } 334 | }, 335 | "browserify-cipher": { 336 | "version": "1.0.1", 337 | "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", 338 | "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", 339 | "dev": true, 340 | "requires": { 341 | "browserify-aes": "^1.0.4", 342 | "browserify-des": "^1.0.0", 343 | "evp_bytestokey": "^1.0.0" 344 | } 345 | }, 346 | "browserify-des": { 347 | "version": "1.0.2", 348 | "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", 349 | "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", 350 | "dev": true, 351 | "requires": { 352 | "cipher-base": "^1.0.1", 353 | "des.js": "^1.0.0", 354 | "inherits": "^2.0.1", 355 | "safe-buffer": "^5.1.2" 356 | } 357 | }, 358 | "browserify-rsa": { 359 | "version": "4.1.0", 360 | "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", 361 | "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", 362 | "dev": true, 363 | "requires": { 364 | "bn.js": "^5.0.0", 365 | "randombytes": "^2.0.1" 366 | } 367 | }, 368 | "browserify-sign": { 369 | "version": "4.2.1", 370 | "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", 371 | "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", 372 | "dev": true, 373 | "requires": { 374 | "bn.js": "^5.1.1", 375 | "browserify-rsa": "^4.0.1", 376 | "create-hash": "^1.2.0", 377 | "create-hmac": "^1.1.7", 378 | "elliptic": "^6.5.3", 379 | "inherits": "^2.0.4", 380 | "parse-asn1": "^5.1.5", 381 | "readable-stream": "^3.6.0", 382 | "safe-buffer": "^5.2.0" 383 | }, 384 | "dependencies": { 385 | "readable-stream": { 386 | "version": "3.6.0", 387 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 388 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 389 | "dev": true, 390 | "requires": { 391 | "inherits": "^2.0.3", 392 | "string_decoder": "^1.1.1", 393 | "util-deprecate": "^1.0.1" 394 | } 395 | }, 396 | "safe-buffer": { 397 | "version": "5.2.1", 398 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 399 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 400 | "dev": true 401 | } 402 | } 403 | }, 404 | "browserify-zlib": { 405 | "version": "0.2.0", 406 | "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", 407 | "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", 408 | "dev": true, 409 | "requires": { 410 | "pako": "~1.0.5" 411 | } 412 | }, 413 | "buffer": { 414 | "version": "5.2.1", 415 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz", 416 | "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==", 417 | "dev": true, 418 | "requires": { 419 | "base64-js": "^1.0.2", 420 | "ieee754": "^1.1.4" 421 | } 422 | }, 423 | "buffer-from": { 424 | "version": "1.1.1", 425 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", 426 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", 427 | "dev": true 428 | }, 429 | "buffer-xor": { 430 | "version": "1.0.3", 431 | "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", 432 | "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", 433 | "dev": true 434 | }, 435 | "builtin-status-codes": { 436 | "version": "3.0.0", 437 | "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", 438 | "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", 439 | "dev": true 440 | }, 441 | "cached-path-relative": { 442 | "version": "1.0.2", 443 | "resolved": "https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.0.2.tgz", 444 | "integrity": "sha512-5r2GqsoEb4qMTTN9J+WzXfjov+hjxT+j3u5K+kIVNIwAd99DLCJE9pBIMP1qVeybV6JiijL385Oz0DcYxfbOIg==", 445 | "dev": true 446 | }, 447 | "call-bind": { 448 | "version": "1.0.0", 449 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", 450 | "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", 451 | "dev": true, 452 | "requires": { 453 | "function-bind": "^1.1.1", 454 | "get-intrinsic": "^1.0.0" 455 | } 456 | }, 457 | "chalk": { 458 | "version": "4.1.0", 459 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", 460 | "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", 461 | "dev": true, 462 | "requires": { 463 | "ansi-styles": "^4.1.0", 464 | "supports-color": "^7.1.0" 465 | } 466 | }, 467 | "chokidar": { 468 | "version": "3.4.3", 469 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz", 470 | "integrity": "sha512-DtM3g7juCXQxFVSNPNByEC2+NImtBuxQQvWlHunpJIS5Ocr0lG306cC7FCi7cEA0fzmybPUIl4txBIobk1gGOQ==", 471 | "dev": true, 472 | "requires": { 473 | "anymatch": "~3.1.1", 474 | "braces": "~3.0.2", 475 | "fsevents": "~2.1.2", 476 | "glob-parent": "~5.1.0", 477 | "is-binary-path": "~2.1.0", 478 | "is-glob": "~4.0.1", 479 | "normalize-path": "~3.0.0", 480 | "readdirp": "~3.5.0" 481 | } 482 | }, 483 | "cipher-base": { 484 | "version": "1.0.4", 485 | "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", 486 | "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", 487 | "dev": true, 488 | "requires": { 489 | "inherits": "^2.0.1", 490 | "safe-buffer": "^5.0.1" 491 | } 492 | }, 493 | "color-convert": { 494 | "version": "2.0.1", 495 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 496 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 497 | "dev": true, 498 | "requires": { 499 | "color-name": "~1.1.4" 500 | } 501 | }, 502 | "color-name": { 503 | "version": "1.1.4", 504 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 505 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 506 | "dev": true 507 | }, 508 | "combine-source-map": { 509 | "version": "0.8.0", 510 | "resolved": "https://registry.npmjs.org/combine-source-map/-/combine-source-map-0.8.0.tgz", 511 | "integrity": "sha1-pY0N8ELBhvz4IqjoAV9UUNLXmos=", 512 | "dev": true, 513 | "requires": { 514 | "convert-source-map": "~1.1.0", 515 | "inline-source-map": "~0.6.0", 516 | "lodash.memoize": "~3.0.3", 517 | "source-map": "~0.5.3" 518 | }, 519 | "dependencies": { 520 | "convert-source-map": { 521 | "version": "1.1.3", 522 | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", 523 | "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=", 524 | "dev": true 525 | }, 526 | "source-map": { 527 | "version": "0.5.7", 528 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", 529 | "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", 530 | "dev": true 531 | } 532 | } 533 | }, 534 | "commander": { 535 | "version": "6.2.0", 536 | "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.0.tgz", 537 | "integrity": "sha512-zP4jEKbe8SHzKJYQmq8Y9gYjtO/POJLgIdKgV7B9qNmABVFVc+ctqSX6iXh4mCpJfRBOabiZ2YKPg8ciDw6C+Q==", 538 | "dev": true 539 | }, 540 | "concat-map": { 541 | "version": "0.0.1", 542 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 543 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 544 | "dev": true 545 | }, 546 | "concat-stream": { 547 | "version": "2.0.0", 548 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", 549 | "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", 550 | "dev": true, 551 | "requires": { 552 | "buffer-from": "^1.0.0", 553 | "inherits": "^2.0.3", 554 | "readable-stream": "^3.0.2", 555 | "typedarray": "^0.0.6" 556 | }, 557 | "dependencies": { 558 | "readable-stream": { 559 | "version": "3.6.0", 560 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 561 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 562 | "dev": true, 563 | "requires": { 564 | "inherits": "^2.0.3", 565 | "string_decoder": "^1.1.1", 566 | "util-deprecate": "^1.0.1" 567 | } 568 | } 569 | } 570 | }, 571 | "console-browserify": { 572 | "version": "1.2.0", 573 | "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", 574 | "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==", 575 | "dev": true 576 | }, 577 | "constants-browserify": { 578 | "version": "1.0.0", 579 | "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", 580 | "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", 581 | "dev": true 582 | }, 583 | "convert-source-map": { 584 | "version": "1.7.0", 585 | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", 586 | "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", 587 | "dev": true, 588 | "requires": { 589 | "safe-buffer": "~5.1.1" 590 | } 591 | }, 592 | "core-util-is": { 593 | "version": "1.0.2", 594 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 595 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", 596 | "dev": true 597 | }, 598 | "create-ecdh": { 599 | "version": "4.0.4", 600 | "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", 601 | "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", 602 | "dev": true, 603 | "requires": { 604 | "bn.js": "^4.1.0", 605 | "elliptic": "^6.5.3" 606 | }, 607 | "dependencies": { 608 | "bn.js": { 609 | "version": "4.11.9", 610 | "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", 611 | "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==", 612 | "dev": true 613 | } 614 | } 615 | }, 616 | "create-hash": { 617 | "version": "1.2.0", 618 | "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", 619 | "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", 620 | "dev": true, 621 | "requires": { 622 | "cipher-base": "^1.0.1", 623 | "inherits": "^2.0.1", 624 | "md5.js": "^1.3.4", 625 | "ripemd160": "^2.0.1", 626 | "sha.js": "^2.4.0" 627 | } 628 | }, 629 | "create-hmac": { 630 | "version": "1.1.7", 631 | "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", 632 | "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", 633 | "dev": true, 634 | "requires": { 635 | "cipher-base": "^1.0.3", 636 | "create-hash": "^1.1.0", 637 | "inherits": "^2.0.1", 638 | "ripemd160": "^2.0.0", 639 | "safe-buffer": "^5.0.1", 640 | "sha.js": "^2.4.8" 641 | } 642 | }, 643 | "crypto-browserify": { 644 | "version": "3.12.0", 645 | "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", 646 | "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", 647 | "dev": true, 648 | "requires": { 649 | "browserify-cipher": "^1.0.0", 650 | "browserify-sign": "^4.0.0", 651 | "create-ecdh": "^4.0.0", 652 | "create-hash": "^1.1.0", 653 | "create-hmac": "^1.1.0", 654 | "diffie-hellman": "^5.0.0", 655 | "inherits": "^2.0.1", 656 | "pbkdf2": "^3.0.3", 657 | "public-encrypt": "^4.0.0", 658 | "randombytes": "^2.0.0", 659 | "randomfill": "^1.0.3" 660 | } 661 | }, 662 | "dash-ast": { 663 | "version": "1.0.0", 664 | "resolved": "https://registry.npmjs.org/dash-ast/-/dash-ast-1.0.0.tgz", 665 | "integrity": "sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==", 666 | "dev": true 667 | }, 668 | "define-properties": { 669 | "version": "1.1.3", 670 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", 671 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", 672 | "dev": true, 673 | "requires": { 674 | "object-keys": "^1.0.12" 675 | } 676 | }, 677 | "defined": { 678 | "version": "1.0.0", 679 | "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", 680 | "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", 681 | "dev": true 682 | }, 683 | "deps-sort": { 684 | "version": "2.0.1", 685 | "resolved": "https://registry.npmjs.org/deps-sort/-/deps-sort-2.0.1.tgz", 686 | "integrity": "sha512-1orqXQr5po+3KI6kQb9A4jnXT1PBwggGl2d7Sq2xsnOeI9GPcE/tGcF9UiSZtZBM7MukY4cAh7MemS6tZYipfw==", 687 | "dev": true, 688 | "requires": { 689 | "JSONStream": "^1.0.3", 690 | "shasum-object": "^1.0.0", 691 | "subarg": "^1.0.0", 692 | "through2": "^2.0.0" 693 | }, 694 | "dependencies": { 695 | "through2": { 696 | "version": "2.0.5", 697 | "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", 698 | "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", 699 | "dev": true, 700 | "requires": { 701 | "readable-stream": "~2.3.6", 702 | "xtend": "~4.0.1" 703 | } 704 | } 705 | } 706 | }, 707 | "des.js": { 708 | "version": "1.0.1", 709 | "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", 710 | "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", 711 | "dev": true, 712 | "requires": { 713 | "inherits": "^2.0.1", 714 | "minimalistic-assert": "^1.0.0" 715 | } 716 | }, 717 | "detective": { 718 | "version": "5.2.0", 719 | "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.0.tgz", 720 | "integrity": "sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg==", 721 | "dev": true, 722 | "requires": { 723 | "acorn-node": "^1.6.1", 724 | "defined": "^1.0.0", 725 | "minimist": "^1.1.1" 726 | } 727 | }, 728 | "diffie-hellman": { 729 | "version": "5.0.3", 730 | "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", 731 | "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", 732 | "dev": true, 733 | "requires": { 734 | "bn.js": "^4.1.0", 735 | "miller-rabin": "^4.0.0", 736 | "randombytes": "^2.0.0" 737 | }, 738 | "dependencies": { 739 | "bn.js": { 740 | "version": "4.11.9", 741 | "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", 742 | "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==", 743 | "dev": true 744 | } 745 | } 746 | }, 747 | "domain-browser": { 748 | "version": "1.2.0", 749 | "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", 750 | "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", 751 | "dev": true 752 | }, 753 | "duplexer2": { 754 | "version": "0.1.4", 755 | "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", 756 | "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", 757 | "dev": true, 758 | "requires": { 759 | "readable-stream": "^2.0.2" 760 | } 761 | }, 762 | "elliptic": { 763 | "version": "6.5.3", 764 | "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", 765 | "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", 766 | "dev": true, 767 | "requires": { 768 | "bn.js": "^4.4.0", 769 | "brorand": "^1.0.1", 770 | "hash.js": "^1.0.0", 771 | "hmac-drbg": "^1.0.0", 772 | "inherits": "^2.0.1", 773 | "minimalistic-assert": "^1.0.0", 774 | "minimalistic-crypto-utils": "^1.0.0" 775 | }, 776 | "dependencies": { 777 | "bn.js": { 778 | "version": "4.11.9", 779 | "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", 780 | "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==", 781 | "dev": true 782 | } 783 | } 784 | }, 785 | "error-ex": { 786 | "version": "1.3.2", 787 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", 788 | "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", 789 | "dev": true, 790 | "requires": { 791 | "is-arrayish": "^0.2.1" 792 | } 793 | }, 794 | "es-abstract": { 795 | "version": "1.17.7", 796 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz", 797 | "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==", 798 | "dev": true, 799 | "requires": { 800 | "es-to-primitive": "^1.2.1", 801 | "function-bind": "^1.1.1", 802 | "has": "^1.0.3", 803 | "has-symbols": "^1.0.1", 804 | "is-callable": "^1.2.2", 805 | "is-regex": "^1.1.1", 806 | "object-inspect": "^1.8.0", 807 | "object-keys": "^1.1.1", 808 | "object.assign": "^4.1.1", 809 | "string.prototype.trimend": "^1.0.1", 810 | "string.prototype.trimstart": "^1.0.1" 811 | } 812 | }, 813 | "es-to-primitive": { 814 | "version": "1.2.1", 815 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", 816 | "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", 817 | "dev": true, 818 | "requires": { 819 | "is-callable": "^1.1.4", 820 | "is-date-object": "^1.0.1", 821 | "is-symbol": "^1.0.2" 822 | } 823 | }, 824 | "events": { 825 | "version": "3.2.0", 826 | "resolved": "https://registry.npmjs.org/events/-/events-3.2.0.tgz", 827 | "integrity": "sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg==", 828 | "dev": true 829 | }, 830 | "evp_bytestokey": { 831 | "version": "1.0.3", 832 | "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", 833 | "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", 834 | "dev": true, 835 | "requires": { 836 | "md5.js": "^1.3.4", 837 | "safe-buffer": "^5.1.1" 838 | } 839 | }, 840 | "fast-safe-stringify": { 841 | "version": "2.0.7", 842 | "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz", 843 | "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==", 844 | "dev": true 845 | }, 846 | "fill-range": { 847 | "version": "7.0.1", 848 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 849 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 850 | "dev": true, 851 | "requires": { 852 | "to-regex-range": "^5.0.1" 853 | } 854 | }, 855 | "foreach": { 856 | "version": "2.0.5", 857 | "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", 858 | "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", 859 | "dev": true 860 | }, 861 | "frida-any-promise": { 862 | "version": "2.0.0", 863 | "resolved": "https://registry.npmjs.org/frida-any-promise/-/frida-any-promise-2.0.0.tgz", 864 | "integrity": "sha512-UbQZMmq7JybTSLBBhsoBfR6R0ydi4t7l0D9ttD4MGUKOxrNlUzCJEw0vw+ubSLok9MNXTZ63MBrPUNJRKhAnrg==", 865 | "dev": true 866 | }, 867 | "frida-buffer": { 868 | "version": "1.0.7", 869 | "resolved": "https://registry.npmjs.org/frida-buffer/-/frida-buffer-1.0.7.tgz", 870 | "integrity": "sha512-7/7SuGI411k7JuQPIjETS07oa9h95E39kA8ky3/8D2ybL7XhVR1s6LPo/q8ew6zeWYQ1x52ZHhJGyoOAfWUJBA==", 871 | "dev": true, 872 | "requires": { 873 | "buffer": "^5.3.0" 874 | }, 875 | "dependencies": { 876 | "buffer": { 877 | "version": "5.7.1", 878 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", 879 | "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", 880 | "dev": true, 881 | "requires": { 882 | "base64-js": "^1.3.1", 883 | "ieee754": "^1.1.13" 884 | } 885 | } 886 | } 887 | }, 888 | "frida-compile": { 889 | "version": "10.0.0", 890 | "resolved": "https://registry.npmjs.org/frida-compile/-/frida-compile-10.0.0.tgz", 891 | "integrity": "sha512-Ok26ST0tLLfOvfJewCHhdlQK1vUklmUf69pIQ6B2Mdwsw8a7VOvQqbB6OSX9oFJC+CcnXa3yYLm/84rQ7X0yTQ==", 892 | "dev": true, 893 | "requires": { 894 | "@frida/uglifyify": "^7.0.1", 895 | "bignumber.js": "^9.0.0", 896 | "browserify": "^17.0.0", 897 | "chalk": "^4.1.0", 898 | "chokidar": "^3.0.0", 899 | "commander": "^6.1.0", 900 | "concat-stream": "^2.0.0", 901 | "frida-any-promise": "^2.0.0", 902 | "frida-buffer": "^1.0.7", 903 | "frida-fs": "^3.0.0", 904 | "frida-http": "^3.0.0", 905 | "frida-net": "^3.0.1", 906 | "frida-process": "^3.0.1", 907 | "mold-source-map": "^0.4.0", 908 | "node-notifier": "^8.0.0", 909 | "through2": "^4.0.2", 910 | "tsify": "^5.0.2", 911 | "typescript": "^4.0.2" 912 | } 913 | }, 914 | "frida-fs": { 915 | "version": "3.0.1", 916 | "resolved": "https://registry.npmjs.org/frida-fs/-/frida-fs-3.0.1.tgz", 917 | "integrity": "sha512-lbf3CYySo6jNw82EUAWYe31f1wbgIARdnzHDIdDrrxowBS19xvrZSYMYHqw2iJWkTOzJ4ueoF6WGF85QtCsM4g==", 918 | "dev": true 919 | }, 920 | "frida-http": { 921 | "version": "3.0.0", 922 | "resolved": "https://registry.npmjs.org/frida-http/-/frida-http-3.0.0.tgz", 923 | "integrity": "sha512-3jyuQx6vEMcmbnmSR4QzzdcLERhrjR90Gjg/wtYD7wUxZMwMxasfFeqmcLQ+exLNTwD+dI9HquGByuSn3h+9rw==", 924 | "dev": true, 925 | "requires": { 926 | "http-parser-js": "^0.5.1" 927 | } 928 | }, 929 | "frida-net": { 930 | "version": "3.0.1", 931 | "resolved": "https://registry.npmjs.org/frida-net/-/frida-net-3.0.1.tgz", 932 | "integrity": "sha512-N4wu2120FZQC9YZsKWoGnfGlSwVPI9VcQW48kYccuYKhXfMWTnKnDZRA3MJ7sxMMX4zrOkihe9vtHw1aoBCqAg==", 933 | "dev": true, 934 | "requires": { 935 | "ipaddr.js": "^1.9.1" 936 | } 937 | }, 938 | "frida-process": { 939 | "version": "3.0.1", 940 | "resolved": "https://registry.npmjs.org/frida-process/-/frida-process-3.0.1.tgz", 941 | "integrity": "sha512-TigqmU3Y4XNkJi1bYIC6lT3dUSVRMzyjguIvlHs8XH9+39ykRztgoARJd6vH2+n58OeQFs03MlQiW/KI5q6jVQ==", 942 | "dev": true 943 | }, 944 | "fs.realpath": { 945 | "version": "1.0.0", 946 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 947 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 948 | "dev": true 949 | }, 950 | "fsevents": { 951 | "version": "2.1.3", 952 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", 953 | "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", 954 | "dev": true, 955 | "optional": true 956 | }, 957 | "function-bind": { 958 | "version": "1.1.1", 959 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 960 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 961 | "dev": true 962 | }, 963 | "get-assigned-identifiers": { 964 | "version": "1.2.0", 965 | "resolved": "https://registry.npmjs.org/get-assigned-identifiers/-/get-assigned-identifiers-1.2.0.tgz", 966 | "integrity": "sha512-mBBwmeGTrxEMO4pMaaf/uUEFHnYtwr8FTe8Y/mer4rcV/bye0qGm6pw1bGZFGStxC5O76c5ZAVBGnqHmOaJpdQ==", 967 | "dev": true 968 | }, 969 | "get-intrinsic": { 970 | "version": "1.0.1", 971 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.1.tgz", 972 | "integrity": "sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==", 973 | "dev": true, 974 | "requires": { 975 | "function-bind": "^1.1.1", 976 | "has": "^1.0.3", 977 | "has-symbols": "^1.0.1" 978 | } 979 | }, 980 | "glob": { 981 | "version": "7.1.6", 982 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", 983 | "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", 984 | "dev": true, 985 | "requires": { 986 | "fs.realpath": "^1.0.0", 987 | "inflight": "^1.0.4", 988 | "inherits": "2", 989 | "minimatch": "^3.0.4", 990 | "once": "^1.3.0", 991 | "path-is-absolute": "^1.0.0" 992 | } 993 | }, 994 | "glob-parent": { 995 | "version": "5.1.1", 996 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", 997 | "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", 998 | "dev": true, 999 | "requires": { 1000 | "is-glob": "^4.0.1" 1001 | } 1002 | }, 1003 | "growly": { 1004 | "version": "1.3.0", 1005 | "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", 1006 | "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=", 1007 | "dev": true 1008 | }, 1009 | "has": { 1010 | "version": "1.0.3", 1011 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1012 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1013 | "dev": true, 1014 | "requires": { 1015 | "function-bind": "^1.1.1" 1016 | } 1017 | }, 1018 | "has-flag": { 1019 | "version": "4.0.0", 1020 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1021 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 1022 | "dev": true 1023 | }, 1024 | "has-symbols": { 1025 | "version": "1.0.1", 1026 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", 1027 | "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", 1028 | "dev": true 1029 | }, 1030 | "hash-base": { 1031 | "version": "3.1.0", 1032 | "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", 1033 | "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", 1034 | "dev": true, 1035 | "requires": { 1036 | "inherits": "^2.0.4", 1037 | "readable-stream": "^3.6.0", 1038 | "safe-buffer": "^5.2.0" 1039 | }, 1040 | "dependencies": { 1041 | "readable-stream": { 1042 | "version": "3.6.0", 1043 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 1044 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 1045 | "dev": true, 1046 | "requires": { 1047 | "inherits": "^2.0.3", 1048 | "string_decoder": "^1.1.1", 1049 | "util-deprecate": "^1.0.1" 1050 | } 1051 | }, 1052 | "safe-buffer": { 1053 | "version": "5.2.1", 1054 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1055 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 1056 | "dev": true 1057 | } 1058 | } 1059 | }, 1060 | "hash.js": { 1061 | "version": "1.1.7", 1062 | "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", 1063 | "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", 1064 | "dev": true, 1065 | "requires": { 1066 | "inherits": "^2.0.3", 1067 | "minimalistic-assert": "^1.0.1" 1068 | } 1069 | }, 1070 | "hmac-drbg": { 1071 | "version": "1.0.1", 1072 | "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", 1073 | "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", 1074 | "dev": true, 1075 | "requires": { 1076 | "hash.js": "^1.0.3", 1077 | "minimalistic-assert": "^1.0.0", 1078 | "minimalistic-crypto-utils": "^1.0.1" 1079 | } 1080 | }, 1081 | "htmlescape": { 1082 | "version": "1.1.1", 1083 | "resolved": "https://registry.npmjs.org/htmlescape/-/htmlescape-1.1.1.tgz", 1084 | "integrity": "sha1-OgPtwiFLyjtmQko+eVk0lQnLA1E=", 1085 | "dev": true 1086 | }, 1087 | "http-parser-js": { 1088 | "version": "0.5.2", 1089 | "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.2.tgz", 1090 | "integrity": "sha512-opCO9ASqg5Wy2FNo7A0sxy71yGbbkJJXLdgMK04Tcypw9jr2MgWbyubb0+WdmDmGnFflO7fRbqbaihh/ENDlRQ==", 1091 | "dev": true 1092 | }, 1093 | "https-browserify": { 1094 | "version": "1.0.0", 1095 | "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", 1096 | "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", 1097 | "dev": true 1098 | }, 1099 | "ieee754": { 1100 | "version": "1.2.1", 1101 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", 1102 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", 1103 | "dev": true 1104 | }, 1105 | "inflight": { 1106 | "version": "1.0.6", 1107 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1108 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 1109 | "dev": true, 1110 | "requires": { 1111 | "once": "^1.3.0", 1112 | "wrappy": "1" 1113 | } 1114 | }, 1115 | "inherits": { 1116 | "version": "2.0.4", 1117 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1118 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1119 | "dev": true 1120 | }, 1121 | "inline-source-map": { 1122 | "version": "0.6.2", 1123 | "resolved": "https://registry.npmjs.org/inline-source-map/-/inline-source-map-0.6.2.tgz", 1124 | "integrity": "sha1-+Tk0ccGKedFyT4Y/o4tYY3Ct4qU=", 1125 | "dev": true, 1126 | "requires": { 1127 | "source-map": "~0.5.3" 1128 | }, 1129 | "dependencies": { 1130 | "source-map": { 1131 | "version": "0.5.7", 1132 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", 1133 | "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", 1134 | "dev": true 1135 | } 1136 | } 1137 | }, 1138 | "insert-module-globals": { 1139 | "version": "7.2.1", 1140 | "resolved": "https://registry.npmjs.org/insert-module-globals/-/insert-module-globals-7.2.1.tgz", 1141 | "integrity": "sha512-ufS5Qq9RZN+Bu899eA9QCAYThY+gGW7oRkmb0vC93Vlyu/CFGcH0OYPEjVkDXA5FEbTt1+VWzdoOD3Ny9N+8tg==", 1142 | "dev": true, 1143 | "requires": { 1144 | "JSONStream": "^1.0.3", 1145 | "acorn-node": "^1.5.2", 1146 | "combine-source-map": "^0.8.0", 1147 | "concat-stream": "^1.6.1", 1148 | "is-buffer": "^1.1.0", 1149 | "path-is-absolute": "^1.0.1", 1150 | "process": "~0.11.0", 1151 | "through2": "^2.0.0", 1152 | "undeclared-identifiers": "^1.1.2", 1153 | "xtend": "^4.0.0" 1154 | }, 1155 | "dependencies": { 1156 | "concat-stream": { 1157 | "version": "1.6.2", 1158 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", 1159 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", 1160 | "dev": true, 1161 | "requires": { 1162 | "buffer-from": "^1.0.0", 1163 | "inherits": "^2.0.3", 1164 | "readable-stream": "^2.2.2", 1165 | "typedarray": "^0.0.6" 1166 | } 1167 | }, 1168 | "through2": { 1169 | "version": "2.0.5", 1170 | "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", 1171 | "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", 1172 | "dev": true, 1173 | "requires": { 1174 | "readable-stream": "~2.3.6", 1175 | "xtend": "~4.0.1" 1176 | } 1177 | } 1178 | } 1179 | }, 1180 | "ipaddr.js": { 1181 | "version": "1.9.1", 1182 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 1183 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", 1184 | "dev": true 1185 | }, 1186 | "is-arguments": { 1187 | "version": "1.0.4", 1188 | "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz", 1189 | "integrity": "sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA==", 1190 | "dev": true 1191 | }, 1192 | "is-arrayish": { 1193 | "version": "0.2.1", 1194 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", 1195 | "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", 1196 | "dev": true 1197 | }, 1198 | "is-binary-path": { 1199 | "version": "2.1.0", 1200 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 1201 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 1202 | "dev": true, 1203 | "requires": { 1204 | "binary-extensions": "^2.0.0" 1205 | } 1206 | }, 1207 | "is-buffer": { 1208 | "version": "1.1.6", 1209 | "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", 1210 | "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", 1211 | "dev": true 1212 | }, 1213 | "is-callable": { 1214 | "version": "1.2.2", 1215 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", 1216 | "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==", 1217 | "dev": true 1218 | }, 1219 | "is-core-module": { 1220 | "version": "2.2.0", 1221 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", 1222 | "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==", 1223 | "dev": true, 1224 | "requires": { 1225 | "has": "^1.0.3" 1226 | } 1227 | }, 1228 | "is-date-object": { 1229 | "version": "1.0.2", 1230 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", 1231 | "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", 1232 | "dev": true 1233 | }, 1234 | "is-docker": { 1235 | "version": "2.1.1", 1236 | "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.1.tgz", 1237 | "integrity": "sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw==", 1238 | "dev": true 1239 | }, 1240 | "is-extglob": { 1241 | "version": "2.1.1", 1242 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1243 | "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", 1244 | "dev": true 1245 | }, 1246 | "is-generator-function": { 1247 | "version": "1.0.7", 1248 | "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.7.tgz", 1249 | "integrity": "sha512-YZc5EwyO4f2kWCax7oegfuSr9mFz1ZvieNYBEjmukLxgXfBUbxAWGVF7GZf0zidYtoBl3WvC07YK0wT76a+Rtw==", 1250 | "dev": true 1251 | }, 1252 | "is-glob": { 1253 | "version": "4.0.1", 1254 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", 1255 | "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", 1256 | "dev": true, 1257 | "requires": { 1258 | "is-extglob": "^2.1.1" 1259 | } 1260 | }, 1261 | "is-number": { 1262 | "version": "7.0.0", 1263 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1264 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1265 | "dev": true 1266 | }, 1267 | "is-regex": { 1268 | "version": "1.1.1", 1269 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", 1270 | "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", 1271 | "dev": true, 1272 | "requires": { 1273 | "has-symbols": "^1.0.1" 1274 | } 1275 | }, 1276 | "is-symbol": { 1277 | "version": "1.0.3", 1278 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", 1279 | "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", 1280 | "dev": true, 1281 | "requires": { 1282 | "has-symbols": "^1.0.1" 1283 | } 1284 | }, 1285 | "is-typed-array": { 1286 | "version": "1.1.3", 1287 | "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.3.tgz", 1288 | "integrity": "sha512-BSYUBOK/HJibQ30wWkWold5txYwMUXQct9YHAQJr8fSwvZoiglcqB0pd7vEN23+Tsi9IUEjztdOSzl4qLVYGTQ==", 1289 | "dev": true, 1290 | "requires": { 1291 | "available-typed-arrays": "^1.0.0", 1292 | "es-abstract": "^1.17.4", 1293 | "foreach": "^2.0.5", 1294 | "has-symbols": "^1.0.1" 1295 | } 1296 | }, 1297 | "is-utf8": { 1298 | "version": "0.2.1", 1299 | "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", 1300 | "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", 1301 | "dev": true 1302 | }, 1303 | "is-wsl": { 1304 | "version": "2.2.0", 1305 | "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", 1306 | "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", 1307 | "dev": true, 1308 | "requires": { 1309 | "is-docker": "^2.0.0" 1310 | } 1311 | }, 1312 | "isarray": { 1313 | "version": "1.0.0", 1314 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 1315 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", 1316 | "dev": true 1317 | }, 1318 | "isexe": { 1319 | "version": "2.0.0", 1320 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1321 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", 1322 | "dev": true 1323 | }, 1324 | "jsonparse": { 1325 | "version": "1.3.1", 1326 | "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", 1327 | "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", 1328 | "dev": true 1329 | }, 1330 | "labeled-stream-splicer": { 1331 | "version": "2.0.2", 1332 | "resolved": "https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.2.tgz", 1333 | "integrity": "sha512-Ca4LSXFFZUjPScRaqOcFxneA0VpKZr4MMYCljyQr4LIewTLb3Y0IUTIsnBBsVubIeEfxeSZpSjSsRM8APEQaAw==", 1334 | "dev": true, 1335 | "requires": { 1336 | "inherits": "^2.0.1", 1337 | "stream-splicer": "^2.0.0" 1338 | } 1339 | }, 1340 | "lodash.memoize": { 1341 | "version": "3.0.4", 1342 | "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-3.0.4.tgz", 1343 | "integrity": "sha1-LcvSwofLwKVcxCMovQxzYVDVPj8=", 1344 | "dev": true 1345 | }, 1346 | "md5.js": { 1347 | "version": "1.3.5", 1348 | "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", 1349 | "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", 1350 | "dev": true, 1351 | "requires": { 1352 | "hash-base": "^3.0.0", 1353 | "inherits": "^2.0.1", 1354 | "safe-buffer": "^5.1.2" 1355 | } 1356 | }, 1357 | "miller-rabin": { 1358 | "version": "4.0.1", 1359 | "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", 1360 | "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", 1361 | "dev": true, 1362 | "requires": { 1363 | "bn.js": "^4.0.0", 1364 | "brorand": "^1.0.1" 1365 | }, 1366 | "dependencies": { 1367 | "bn.js": { 1368 | "version": "4.11.9", 1369 | "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", 1370 | "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==", 1371 | "dev": true 1372 | } 1373 | } 1374 | }, 1375 | "minimalistic-assert": { 1376 | "version": "1.0.1", 1377 | "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", 1378 | "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", 1379 | "dev": true 1380 | }, 1381 | "minimalistic-crypto-utils": { 1382 | "version": "1.0.1", 1383 | "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", 1384 | "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", 1385 | "dev": true 1386 | }, 1387 | "minimatch": { 1388 | "version": "3.0.4", 1389 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 1390 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", 1391 | "dev": true, 1392 | "requires": { 1393 | "brace-expansion": "^1.1.7" 1394 | } 1395 | }, 1396 | "minimist": { 1397 | "version": "1.2.5", 1398 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", 1399 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", 1400 | "dev": true 1401 | }, 1402 | "mkdirp-classic": { 1403 | "version": "0.5.3", 1404 | "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", 1405 | "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", 1406 | "dev": true 1407 | }, 1408 | "module-deps": { 1409 | "version": "6.2.3", 1410 | "resolved": "https://registry.npmjs.org/module-deps/-/module-deps-6.2.3.tgz", 1411 | "integrity": "sha512-fg7OZaQBcL4/L+AK5f4iVqf9OMbCclXfy/znXRxTVhJSeW5AIlS9AwheYwDaXM3lVW7OBeaeUEY3gbaC6cLlSA==", 1412 | "dev": true, 1413 | "requires": { 1414 | "JSONStream": "^1.0.3", 1415 | "browser-resolve": "^2.0.0", 1416 | "cached-path-relative": "^1.0.2", 1417 | "concat-stream": "~1.6.0", 1418 | "defined": "^1.0.0", 1419 | "detective": "^5.2.0", 1420 | "duplexer2": "^0.1.2", 1421 | "inherits": "^2.0.1", 1422 | "parents": "^1.0.0", 1423 | "readable-stream": "^2.0.2", 1424 | "resolve": "^1.4.0", 1425 | "stream-combiner2": "^1.1.1", 1426 | "subarg": "^1.0.0", 1427 | "through2": "^2.0.0", 1428 | "xtend": "^4.0.0" 1429 | }, 1430 | "dependencies": { 1431 | "concat-stream": { 1432 | "version": "1.6.2", 1433 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", 1434 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", 1435 | "dev": true, 1436 | "requires": { 1437 | "buffer-from": "^1.0.0", 1438 | "inherits": "^2.0.3", 1439 | "readable-stream": "^2.2.2", 1440 | "typedarray": "^0.0.6" 1441 | } 1442 | }, 1443 | "through2": { 1444 | "version": "2.0.5", 1445 | "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", 1446 | "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", 1447 | "dev": true, 1448 | "requires": { 1449 | "readable-stream": "~2.3.6", 1450 | "xtend": "~4.0.1" 1451 | } 1452 | } 1453 | } 1454 | }, 1455 | "mold-source-map": { 1456 | "version": "0.4.0", 1457 | "resolved": "https://registry.npmjs.org/mold-source-map/-/mold-source-map-0.4.0.tgz", 1458 | "integrity": "sha1-z2fgsxxHq5uttcnCVlGGISe7gxc=", 1459 | "dev": true, 1460 | "requires": { 1461 | "convert-source-map": "^1.1.0", 1462 | "through": "~2.2.7" 1463 | }, 1464 | "dependencies": { 1465 | "through": { 1466 | "version": "2.2.7", 1467 | "resolved": "https://registry.npmjs.org/through/-/through-2.2.7.tgz", 1468 | "integrity": "sha1-bo4hIAGR1OtqmfbwEN9Gqhxusr0=", 1469 | "dev": true 1470 | } 1471 | } 1472 | }, 1473 | "node-notifier": { 1474 | "version": "8.0.0", 1475 | "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.0.tgz", 1476 | "integrity": "sha512-46z7DUmcjoYdaWyXouuFNNfUo6eFa94t23c53c+lG/9Cvauk4a98rAUp9672X5dxGdQmLpPzTxzu8f/OeEPaFA==", 1477 | "dev": true, 1478 | "requires": { 1479 | "growly": "^1.3.0", 1480 | "is-wsl": "^2.2.0", 1481 | "semver": "^7.3.2", 1482 | "shellwords": "^0.1.1", 1483 | "uuid": "^8.3.0", 1484 | "which": "^2.0.2" 1485 | } 1486 | }, 1487 | "normalize-path": { 1488 | "version": "3.0.0", 1489 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 1490 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 1491 | "dev": true 1492 | }, 1493 | "object-assign": { 1494 | "version": "4.1.1", 1495 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 1496 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", 1497 | "dev": true 1498 | }, 1499 | "object-inspect": { 1500 | "version": "1.8.0", 1501 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz", 1502 | "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==", 1503 | "dev": true 1504 | }, 1505 | "object-keys": { 1506 | "version": "1.1.1", 1507 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", 1508 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", 1509 | "dev": true 1510 | }, 1511 | "object.assign": { 1512 | "version": "4.1.2", 1513 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", 1514 | "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", 1515 | "dev": true, 1516 | "requires": { 1517 | "call-bind": "^1.0.0", 1518 | "define-properties": "^1.1.3", 1519 | "has-symbols": "^1.0.1", 1520 | "object-keys": "^1.1.1" 1521 | } 1522 | }, 1523 | "once": { 1524 | "version": "1.4.0", 1525 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1526 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1527 | "dev": true, 1528 | "requires": { 1529 | "wrappy": "1" 1530 | } 1531 | }, 1532 | "os-browserify": { 1533 | "version": "0.3.0", 1534 | "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", 1535 | "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", 1536 | "dev": true 1537 | }, 1538 | "pako": { 1539 | "version": "1.0.11", 1540 | "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", 1541 | "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", 1542 | "dev": true 1543 | }, 1544 | "parents": { 1545 | "version": "1.0.1", 1546 | "resolved": "https://registry.npmjs.org/parents/-/parents-1.0.1.tgz", 1547 | "integrity": "sha1-/t1NK/GTp3dF/nHjcdc8MwfZx1E=", 1548 | "dev": true, 1549 | "requires": { 1550 | "path-platform": "~0.11.15" 1551 | } 1552 | }, 1553 | "parse-asn1": { 1554 | "version": "5.1.6", 1555 | "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", 1556 | "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", 1557 | "dev": true, 1558 | "requires": { 1559 | "asn1.js": "^5.2.0", 1560 | "browserify-aes": "^1.0.0", 1561 | "evp_bytestokey": "^1.0.0", 1562 | "pbkdf2": "^3.0.3", 1563 | "safe-buffer": "^5.1.1" 1564 | } 1565 | }, 1566 | "parse-json": { 1567 | "version": "2.2.0", 1568 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", 1569 | "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", 1570 | "dev": true, 1571 | "requires": { 1572 | "error-ex": "^1.2.0" 1573 | } 1574 | }, 1575 | "path-browserify": { 1576 | "version": "1.0.1", 1577 | "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", 1578 | "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", 1579 | "dev": true 1580 | }, 1581 | "path-is-absolute": { 1582 | "version": "1.0.1", 1583 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1584 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 1585 | "dev": true 1586 | }, 1587 | "path-parse": { 1588 | "version": "1.0.6", 1589 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", 1590 | "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", 1591 | "dev": true 1592 | }, 1593 | "path-platform": { 1594 | "version": "0.11.15", 1595 | "resolved": "https://registry.npmjs.org/path-platform/-/path-platform-0.11.15.tgz", 1596 | "integrity": "sha1-6GQhf3TDaFDwhSt43Hv31KVyG/I=", 1597 | "dev": true 1598 | }, 1599 | "pbkdf2": { 1600 | "version": "3.1.1", 1601 | "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz", 1602 | "integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==", 1603 | "dev": true, 1604 | "requires": { 1605 | "create-hash": "^1.1.2", 1606 | "create-hmac": "^1.1.4", 1607 | "ripemd160": "^2.0.1", 1608 | "safe-buffer": "^5.0.1", 1609 | "sha.js": "^2.4.8" 1610 | } 1611 | }, 1612 | "picomatch": { 1613 | "version": "2.2.2", 1614 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", 1615 | "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", 1616 | "dev": true 1617 | }, 1618 | "process": { 1619 | "version": "0.11.10", 1620 | "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", 1621 | "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", 1622 | "dev": true 1623 | }, 1624 | "process-nextick-args": { 1625 | "version": "2.0.1", 1626 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 1627 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", 1628 | "dev": true 1629 | }, 1630 | "public-encrypt": { 1631 | "version": "4.0.3", 1632 | "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", 1633 | "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", 1634 | "dev": true, 1635 | "requires": { 1636 | "bn.js": "^4.1.0", 1637 | "browserify-rsa": "^4.0.0", 1638 | "create-hash": "^1.1.0", 1639 | "parse-asn1": "^5.0.0", 1640 | "randombytes": "^2.0.1", 1641 | "safe-buffer": "^5.1.2" 1642 | }, 1643 | "dependencies": { 1644 | "bn.js": { 1645 | "version": "4.11.9", 1646 | "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", 1647 | "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==", 1648 | "dev": true 1649 | } 1650 | } 1651 | }, 1652 | "punycode": { 1653 | "version": "1.4.1", 1654 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", 1655 | "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", 1656 | "dev": true 1657 | }, 1658 | "querystring": { 1659 | "version": "0.2.0", 1660 | "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", 1661 | "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", 1662 | "dev": true 1663 | }, 1664 | "querystring-es3": { 1665 | "version": "0.2.1", 1666 | "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", 1667 | "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", 1668 | "dev": true 1669 | }, 1670 | "randombytes": { 1671 | "version": "2.1.0", 1672 | "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", 1673 | "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", 1674 | "dev": true, 1675 | "requires": { 1676 | "safe-buffer": "^5.1.0" 1677 | } 1678 | }, 1679 | "randomfill": { 1680 | "version": "1.0.4", 1681 | "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", 1682 | "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", 1683 | "dev": true, 1684 | "requires": { 1685 | "randombytes": "^2.0.5", 1686 | "safe-buffer": "^5.1.0" 1687 | } 1688 | }, 1689 | "read-only-stream": { 1690 | "version": "2.0.0", 1691 | "resolved": "https://registry.npmjs.org/read-only-stream/-/read-only-stream-2.0.0.tgz", 1692 | "integrity": "sha1-JyT9aoET1zdkrCiNQ4YnDB2/F/A=", 1693 | "dev": true, 1694 | "requires": { 1695 | "readable-stream": "^2.0.2" 1696 | } 1697 | }, 1698 | "readable-stream": { 1699 | "version": "2.3.7", 1700 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 1701 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 1702 | "dev": true, 1703 | "requires": { 1704 | "core-util-is": "~1.0.0", 1705 | "inherits": "~2.0.3", 1706 | "isarray": "~1.0.0", 1707 | "process-nextick-args": "~2.0.0", 1708 | "safe-buffer": "~5.1.1", 1709 | "string_decoder": "~1.1.1", 1710 | "util-deprecate": "~1.0.1" 1711 | }, 1712 | "dependencies": { 1713 | "string_decoder": { 1714 | "version": "1.1.1", 1715 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 1716 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 1717 | "dev": true, 1718 | "requires": { 1719 | "safe-buffer": "~5.1.0" 1720 | } 1721 | } 1722 | } 1723 | }, 1724 | "readdirp": { 1725 | "version": "3.5.0", 1726 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", 1727 | "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", 1728 | "dev": true, 1729 | "requires": { 1730 | "picomatch": "^2.2.1" 1731 | } 1732 | }, 1733 | "resolve": { 1734 | "version": "1.19.0", 1735 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", 1736 | "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", 1737 | "dev": true, 1738 | "requires": { 1739 | "is-core-module": "^2.1.0", 1740 | "path-parse": "^1.0.6" 1741 | } 1742 | }, 1743 | "ripemd160": { 1744 | "version": "2.0.2", 1745 | "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", 1746 | "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", 1747 | "dev": true, 1748 | "requires": { 1749 | "hash-base": "^3.0.0", 1750 | "inherits": "^2.0.1" 1751 | } 1752 | }, 1753 | "safe-buffer": { 1754 | "version": "5.1.2", 1755 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1756 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 1757 | "dev": true 1758 | }, 1759 | "safer-buffer": { 1760 | "version": "2.1.2", 1761 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1762 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", 1763 | "dev": true 1764 | }, 1765 | "semver": { 1766 | "version": "7.3.2", 1767 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", 1768 | "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", 1769 | "dev": true 1770 | }, 1771 | "sha.js": { 1772 | "version": "2.4.11", 1773 | "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", 1774 | "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", 1775 | "dev": true, 1776 | "requires": { 1777 | "inherits": "^2.0.1", 1778 | "safe-buffer": "^5.0.1" 1779 | } 1780 | }, 1781 | "shasum-object": { 1782 | "version": "1.0.0", 1783 | "resolved": "https://registry.npmjs.org/shasum-object/-/shasum-object-1.0.0.tgz", 1784 | "integrity": "sha512-Iqo5rp/3xVi6M4YheapzZhhGPVs0yZwHj7wvwQ1B9z8H6zk+FEnI7y3Teq7qwnekfEhu8WmG2z0z4iWZaxLWVg==", 1785 | "dev": true, 1786 | "requires": { 1787 | "fast-safe-stringify": "^2.0.7" 1788 | } 1789 | }, 1790 | "shell-quote": { 1791 | "version": "1.7.2", 1792 | "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.2.tgz", 1793 | "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==", 1794 | "dev": true 1795 | }, 1796 | "shellwords": { 1797 | "version": "0.1.1", 1798 | "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", 1799 | "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", 1800 | "dev": true 1801 | }, 1802 | "simple-concat": { 1803 | "version": "1.0.1", 1804 | "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", 1805 | "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", 1806 | "dev": true 1807 | }, 1808 | "source-map": { 1809 | "version": "0.7.3", 1810 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", 1811 | "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", 1812 | "dev": true 1813 | }, 1814 | "source-map-support": { 1815 | "version": "0.5.19", 1816 | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", 1817 | "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", 1818 | "dev": true, 1819 | "requires": { 1820 | "buffer-from": "^1.0.0", 1821 | "source-map": "^0.6.0" 1822 | }, 1823 | "dependencies": { 1824 | "source-map": { 1825 | "version": "0.6.1", 1826 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 1827 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 1828 | "dev": true 1829 | } 1830 | } 1831 | }, 1832 | "stream-browserify": { 1833 | "version": "3.0.0", 1834 | "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz", 1835 | "integrity": "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==", 1836 | "dev": true, 1837 | "requires": { 1838 | "inherits": "~2.0.4", 1839 | "readable-stream": "^3.5.0" 1840 | }, 1841 | "dependencies": { 1842 | "readable-stream": { 1843 | "version": "3.6.0", 1844 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 1845 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 1846 | "dev": true, 1847 | "requires": { 1848 | "inherits": "^2.0.3", 1849 | "string_decoder": "^1.1.1", 1850 | "util-deprecate": "^1.0.1" 1851 | } 1852 | } 1853 | } 1854 | }, 1855 | "stream-combiner2": { 1856 | "version": "1.1.1", 1857 | "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", 1858 | "integrity": "sha1-+02KFCDqNidk4hrUeAOXvry0HL4=", 1859 | "dev": true, 1860 | "requires": { 1861 | "duplexer2": "~0.1.0", 1862 | "readable-stream": "^2.0.2" 1863 | } 1864 | }, 1865 | "stream-http": { 1866 | "version": "3.1.1", 1867 | "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-3.1.1.tgz", 1868 | "integrity": "sha512-S7OqaYu0EkFpgeGFb/NPOoPLxFko7TPqtEeFg5DXPB4v/KETHG0Ln6fRFrNezoelpaDKmycEmmZ81cC9DAwgYg==", 1869 | "dev": true, 1870 | "requires": { 1871 | "builtin-status-codes": "^3.0.0", 1872 | "inherits": "^2.0.4", 1873 | "readable-stream": "^3.6.0", 1874 | "xtend": "^4.0.2" 1875 | }, 1876 | "dependencies": { 1877 | "readable-stream": { 1878 | "version": "3.6.0", 1879 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 1880 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 1881 | "dev": true, 1882 | "requires": { 1883 | "inherits": "^2.0.3", 1884 | "string_decoder": "^1.1.1", 1885 | "util-deprecate": "^1.0.1" 1886 | } 1887 | } 1888 | } 1889 | }, 1890 | "stream-splicer": { 1891 | "version": "2.0.1", 1892 | "resolved": "https://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.1.tgz", 1893 | "integrity": "sha512-Xizh4/NPuYSyAXyT7g8IvdJ9HJpxIGL9PjyhtywCZvvP0OPIdqyrr4dMikeuvY8xahpdKEBlBTySe583totajg==", 1894 | "dev": true, 1895 | "requires": { 1896 | "inherits": "^2.0.1", 1897 | "readable-stream": "^2.0.2" 1898 | } 1899 | }, 1900 | "string.prototype.trimend": { 1901 | "version": "1.0.3", 1902 | "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz", 1903 | "integrity": "sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw==", 1904 | "dev": true, 1905 | "requires": { 1906 | "call-bind": "^1.0.0", 1907 | "define-properties": "^1.1.3" 1908 | } 1909 | }, 1910 | "string.prototype.trimstart": { 1911 | "version": "1.0.3", 1912 | "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz", 1913 | "integrity": "sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg==", 1914 | "dev": true, 1915 | "requires": { 1916 | "call-bind": "^1.0.0", 1917 | "define-properties": "^1.1.3" 1918 | } 1919 | }, 1920 | "string_decoder": { 1921 | "version": "1.3.0", 1922 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 1923 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 1924 | "dev": true, 1925 | "requires": { 1926 | "safe-buffer": "~5.2.0" 1927 | }, 1928 | "dependencies": { 1929 | "safe-buffer": { 1930 | "version": "5.2.1", 1931 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1932 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 1933 | "dev": true 1934 | } 1935 | } 1936 | }, 1937 | "strip-bom": { 1938 | "version": "2.0.0", 1939 | "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", 1940 | "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", 1941 | "dev": true, 1942 | "requires": { 1943 | "is-utf8": "^0.2.0" 1944 | } 1945 | }, 1946 | "strip-json-comments": { 1947 | "version": "2.0.1", 1948 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 1949 | "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", 1950 | "dev": true 1951 | }, 1952 | "subarg": { 1953 | "version": "1.0.0", 1954 | "resolved": "https://registry.npmjs.org/subarg/-/subarg-1.0.0.tgz", 1955 | "integrity": "sha1-9izxdYHplrSPyWVpn1TAauJouNI=", 1956 | "dev": true, 1957 | "requires": { 1958 | "minimist": "^1.1.0" 1959 | } 1960 | }, 1961 | "supports-color": { 1962 | "version": "7.2.0", 1963 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1964 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1965 | "dev": true, 1966 | "requires": { 1967 | "has-flag": "^4.0.0" 1968 | } 1969 | }, 1970 | "syntax-error": { 1971 | "version": "1.4.0", 1972 | "resolved": "https://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz", 1973 | "integrity": "sha512-YPPlu67mdnHGTup2A8ff7BC2Pjq0e0Yp/IyTFN03zWO0RcK07uLcbi7C2KpGR2FvWbaB0+bfE27a+sBKebSo7w==", 1974 | "dev": true, 1975 | "requires": { 1976 | "acorn-node": "^1.2.0" 1977 | } 1978 | }, 1979 | "terser": { 1980 | "version": "5.5.1", 1981 | "resolved": "https://registry.npmjs.org/terser/-/terser-5.5.1.tgz", 1982 | "integrity": "sha512-6VGWZNVP2KTUcltUQJ25TtNjx/XgdDsBDKGt8nN0MpydU36LmbPPcMBd2kmtZNNGVVDLg44k7GKeHHj+4zPIBQ==", 1983 | "dev": true, 1984 | "requires": { 1985 | "commander": "^2.20.0", 1986 | "source-map": "~0.7.2", 1987 | "source-map-support": "~0.5.19" 1988 | }, 1989 | "dependencies": { 1990 | "commander": { 1991 | "version": "2.20.3", 1992 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", 1993 | "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", 1994 | "dev": true 1995 | } 1996 | } 1997 | }, 1998 | "through": { 1999 | "version": "2.3.8", 2000 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 2001 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", 2002 | "dev": true 2003 | }, 2004 | "through2": { 2005 | "version": "4.0.2", 2006 | "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", 2007 | "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", 2008 | "dev": true, 2009 | "requires": { 2010 | "readable-stream": "3" 2011 | }, 2012 | "dependencies": { 2013 | "readable-stream": { 2014 | "version": "3.6.0", 2015 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", 2016 | "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", 2017 | "dev": true, 2018 | "requires": { 2019 | "inherits": "^2.0.3", 2020 | "string_decoder": "^1.1.1", 2021 | "util-deprecate": "^1.0.1" 2022 | } 2023 | } 2024 | } 2025 | }, 2026 | "timers-browserify": { 2027 | "version": "1.4.2", 2028 | "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz", 2029 | "integrity": "sha1-ycWLV1voQHN1y14kYtrO50NZ9B0=", 2030 | "dev": true, 2031 | "requires": { 2032 | "process": "~0.11.0" 2033 | } 2034 | }, 2035 | "to-regex-range": { 2036 | "version": "5.0.1", 2037 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 2038 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 2039 | "dev": true, 2040 | "requires": { 2041 | "is-number": "^7.0.0" 2042 | } 2043 | }, 2044 | "tsconfig": { 2045 | "version": "5.0.3", 2046 | "resolved": "https://registry.npmjs.org/tsconfig/-/tsconfig-5.0.3.tgz", 2047 | "integrity": "sha1-X0J45wGACWeo/Dg/0ZZIh48qbjo=", 2048 | "dev": true, 2049 | "requires": { 2050 | "any-promise": "^1.3.0", 2051 | "parse-json": "^2.2.0", 2052 | "strip-bom": "^2.0.0", 2053 | "strip-json-comments": "^2.0.0" 2054 | } 2055 | }, 2056 | "tsify": { 2057 | "version": "5.0.2", 2058 | "resolved": "https://registry.npmjs.org/tsify/-/tsify-5.0.2.tgz", 2059 | "integrity": "sha512-Pdo3ZO8CAgbQgNcFRBmfbgsPP+4TsD0itbSF5YgTnxKBXfg6WkQ79e4/bqBaq/7cEYa7vIOM1pHxnux8rJJnzg==", 2060 | "dev": true, 2061 | "requires": { 2062 | "convert-source-map": "^1.1.0", 2063 | "fs.realpath": "^1.0.0", 2064 | "object-assign": "^4.1.0", 2065 | "semver": "^6.1.0", 2066 | "through2": "^2.0.0", 2067 | "tsconfig": "^5.0.3" 2068 | }, 2069 | "dependencies": { 2070 | "semver": { 2071 | "version": "6.3.0", 2072 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 2073 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", 2074 | "dev": true 2075 | }, 2076 | "through2": { 2077 | "version": "2.0.5", 2078 | "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", 2079 | "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", 2080 | "dev": true, 2081 | "requires": { 2082 | "readable-stream": "~2.3.6", 2083 | "xtend": "~4.0.1" 2084 | } 2085 | } 2086 | } 2087 | }, 2088 | "tty-browserify": { 2089 | "version": "0.0.1", 2090 | "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz", 2091 | "integrity": "sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==", 2092 | "dev": true 2093 | }, 2094 | "typedarray": { 2095 | "version": "0.0.6", 2096 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", 2097 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", 2098 | "dev": true 2099 | }, 2100 | "typescript": { 2101 | "version": "4.1.2", 2102 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.2.tgz", 2103 | "integrity": "sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ==", 2104 | "dev": true 2105 | }, 2106 | "umd": { 2107 | "version": "3.0.3", 2108 | "resolved": "https://registry.npmjs.org/umd/-/umd-3.0.3.tgz", 2109 | "integrity": "sha512-4IcGSufhFshvLNcMCV80UnQVlZ5pMOC8mvNPForqwA4+lzYQuetTESLDQkeLmihq8bRcnpbQa48Wb8Lh16/xow==", 2110 | "dev": true 2111 | }, 2112 | "undeclared-identifiers": { 2113 | "version": "1.1.3", 2114 | "resolved": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.3.tgz", 2115 | "integrity": "sha512-pJOW4nxjlmfwKApE4zvxLScM/njmwj/DiUBv7EabwE4O8kRUy+HIwxQtZLBPll/jx1LJyBcqNfB3/cpv9EZwOw==", 2116 | "dev": true, 2117 | "requires": { 2118 | "acorn-node": "^1.3.0", 2119 | "dash-ast": "^1.0.0", 2120 | "get-assigned-identifiers": "^1.2.0", 2121 | "simple-concat": "^1.0.0", 2122 | "xtend": "^4.0.1" 2123 | } 2124 | }, 2125 | "url": { 2126 | "version": "0.11.0", 2127 | "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", 2128 | "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", 2129 | "dev": true, 2130 | "requires": { 2131 | "punycode": "1.3.2", 2132 | "querystring": "0.2.0" 2133 | }, 2134 | "dependencies": { 2135 | "punycode": { 2136 | "version": "1.3.2", 2137 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", 2138 | "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", 2139 | "dev": true 2140 | } 2141 | } 2142 | }, 2143 | "util": { 2144 | "version": "0.12.3", 2145 | "resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz", 2146 | "integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==", 2147 | "dev": true, 2148 | "requires": { 2149 | "inherits": "^2.0.3", 2150 | "is-arguments": "^1.0.4", 2151 | "is-generator-function": "^1.0.7", 2152 | "is-typed-array": "^1.1.3", 2153 | "safe-buffer": "^5.1.2", 2154 | "which-typed-array": "^1.1.2" 2155 | } 2156 | }, 2157 | "util-deprecate": { 2158 | "version": "1.0.2", 2159 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 2160 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", 2161 | "dev": true 2162 | }, 2163 | "uuid": { 2164 | "version": "8.3.1", 2165 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.1.tgz", 2166 | "integrity": "sha512-FOmRr+FmWEIG8uhZv6C2bTgEVXsHk08kE7mPlrBbEe+c3r9pjceVPgupIfNIhc4yx55H69OXANrUaSuu9eInKg==", 2167 | "dev": true 2168 | }, 2169 | "vm-browserify": { 2170 | "version": "1.1.2", 2171 | "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", 2172 | "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", 2173 | "dev": true 2174 | }, 2175 | "which": { 2176 | "version": "2.0.2", 2177 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 2178 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 2179 | "dev": true, 2180 | "requires": { 2181 | "isexe": "^2.0.0" 2182 | } 2183 | }, 2184 | "which-typed-array": { 2185 | "version": "1.1.2", 2186 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.2.tgz", 2187 | "integrity": "sha512-KT6okrd1tE6JdZAy3o2VhMoYPh3+J6EMZLyrxBQsZflI1QCZIxMrIYLkosd8Twf+YfknVIHmYQPgJt238p8dnQ==", 2188 | "dev": true, 2189 | "requires": { 2190 | "available-typed-arrays": "^1.0.2", 2191 | "es-abstract": "^1.17.5", 2192 | "foreach": "^2.0.5", 2193 | "function-bind": "^1.1.1", 2194 | "has-symbols": "^1.0.1", 2195 | "is-typed-array": "^1.1.3" 2196 | } 2197 | }, 2198 | "wrappy": { 2199 | "version": "1.0.2", 2200 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 2201 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 2202 | "dev": true 2203 | }, 2204 | "xtend": { 2205 | "version": "4.0.2", 2206 | "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", 2207 | "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", 2208 | "dev": true 2209 | } 2210 | } 2211 | } 2212 | -------------------------------------------------------------------------------- /agent/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "objtree", 3 | "version": "0.0.0", 4 | "description": "Objective-C recursive message listing, think `tree` but for dispatched messages.", 5 | "main": "src/index.js", 6 | "scripts": { 7 | "prepare": "npm run build", 8 | "build": "frida-compile src/index.ts -o ../_agent.js", 9 | "watch": "frida-compile src/index.ts -o ../_agent.js -w" 10 | }, 11 | "dependencies": {}, 12 | "devDependencies": { 13 | "@types/frida-gum": "^16.2.0", 14 | "@types/node": "^14.14.10", 15 | "frida-compile": "^10.0.0" 16 | }, 17 | "repository": { 18 | "type": "git", 19 | "url": "git+https://github.com/hot3eed/objtree.git" 20 | }, 21 | "keywords": [ 22 | "objective-c" 23 | ], 24 | "author": "hot3eed", 25 | "license": "Apache-2.0", 26 | "bugs": { 27 | "url": "https://github.com/hot3eed/objtree/issues" 28 | }, 29 | "homepage": "https://github.com/hot3eed/objtree#readme" 30 | } 31 | -------------------------------------------------------------------------------- /agent/src/agent.ts: -------------------------------------------------------------------------------- 1 | import { stringify } from 'querystring'; 2 | import { HookSpec, TraceEvent } from './lib/types'; 3 | 4 | export class Agent { 5 | private moduleBase = Process.enumerateModules()[0].base; 6 | private cachedObjCResolver: ApiResolver | null = null; 7 | private cachedModuleResovler: ApiResolver | null = null 8 | private objc_msgSend: NativePointer | null = null; 9 | private stackDepth: number = 0; 10 | private installedHooks = 0; 11 | private pendingEvents: TraceEvent[] = []; 12 | private flushTimer: any = null; 13 | 14 | init(spec: HookSpec, stackDepth: number) { 15 | this.stackDepth = stackDepth; 16 | 17 | try { 18 | this.start(spec); 19 | send({ 20 | type: 'agent:finished_hooking', 21 | message: { 22 | hooks: this.installedHooks, 23 | depth: this.stackDepth 24 | } 25 | }); 26 | } catch (e) { 27 | send({ 28 | type: 'agent:error', 29 | message: e.message 30 | }); 31 | } 32 | } 33 | 34 | private start(spec: HookSpec) { 35 | this.objc_msgSend = Module.findExportByName(null, 'objc_msgSend'); 36 | if (this.objc_msgSend == null) { 37 | throw new Error("Could not find objc_msgSend"); 38 | } 39 | 40 | for (const [key, value] of spec) { 41 | switch (key) { 42 | case 'objc_method': { 43 | this.installObjCHook(value); 44 | break; 45 | } 46 | case 'function': { 47 | this.installFunctionHook(value); 48 | break; 49 | } 50 | case 'function_offset': { 51 | this.installFunctionOffsetHook(value); 52 | break; 53 | } 54 | } 55 | } 56 | } 57 | 58 | private installObjCHook(pattern: string) { 59 | for (const m of this.getObjCResolver().enumerateMatches(pattern)) { 60 | this.installHook(m.address, m.name); 61 | } 62 | } 63 | 64 | private getObjCResolver(): ApiResolver { 65 | let resolver = this.cachedObjCResolver; 66 | if (resolver == null) { 67 | try { 68 | resolver = new ApiResolver('objc'); 69 | } catch (e) { 70 | throw new Error("Objective-C runtime is not available"); 71 | } 72 | 73 | this.cachedObjCResolver = resolver; 74 | } 75 | return resolver; 76 | } 77 | 78 | private installFunctionHook(pattern: string) { 79 | const q = parseModuleFunctionPattern(pattern); 80 | for (const m of this.getModuleResolver().enumerateMatches(`exports:${q.module}!${q.function}`)) { 81 | this.installHook(m.address, m.name); 82 | } 83 | } 84 | 85 | private getModuleResolver(): ApiResolver { 86 | let resolver = this.cachedModuleResovler; 87 | if (resolver == null) { 88 | resolver = new ApiResolver('module'); 89 | this.cachedModuleResovler = resolver; 90 | } 91 | return resolver; 92 | } 93 | 94 | private installFunctionOffsetHook(offset: number) { 95 | const funcAbsoluteAddr: NativePointer = this.moduleBase.add(offset); 96 | this.installHook(funcAbsoluteAddr, `function at address ${funcAbsoluteAddr}`) 97 | } 98 | 99 | private installHook(pointer: NativePointer, funcDescription: string) { 100 | const objc_msgSend = this.objc_msgSend; 101 | const agent = this; 102 | 103 | Interceptor.attach(pointer, { 104 | onEnter: function (args) { 105 | const originThreadId = this.threadId; 106 | //console.log("\n" + funcDescription); 107 | agent.emit([0, funcDescription]); 108 | this.hook = Interceptor.attach(objc_msgSend, 109 | { 110 | onEnter: function (args) { 111 | if (this.threadId == originThreadId) { 112 | agent.objcOnEnter(this, args); 113 | } 114 | } 115 | }); 116 | }, onLeave: function (retval) { 117 | agent.emit([-1, '---------------------------------']); // Use depth -1 to mark the exiting of a function 118 | this.hook.detach(); 119 | } 120 | }); 121 | 122 | this.installedHooks++; 123 | send({ 124 | type: 'agent:hook_installed', 125 | message: { 126 | target: funcDescription 127 | } 128 | }); 129 | } 130 | 131 | private objcOnEnter(ctx: InvocationContext, args: InvocationArguments) { 132 | if (ctx.depth > this.stackDepth) { 133 | return; 134 | } 135 | 136 | const id = args[0]; 137 | const selector = args[1].readCString(); 138 | let cls; 139 | let typeQualifier: string; 140 | 141 | if (ObjC.api.object_isClass(id)) { 142 | typeQualifier = '+'; 143 | cls = id; 144 | } else { 145 | typeQualifier = '-'; 146 | cls = ObjC.api.object_getClass(id); 147 | } 148 | 149 | let clsName = ObjC.api.class_getName(cls).readCString(); 150 | //console.log('| '.repeat(ctx.depth) + `${typeQualifier}[${clsName} ${selector}]`); 151 | let objcMessage = `${typeQualifier}[${clsName} ${selector}]`; 152 | 153 | this.emit([ctx.depth, objcMessage]) 154 | } 155 | 156 | // Credits for the following 3 funcs: https://github.com/frida/frida-tools/blob/master/agents/tracer/agent.ts 157 | private emit(event: TraceEvent) { 158 | this.pendingEvents.push(event); 159 | 160 | if (this.flushTimer == null) { 161 | this.flushTimer = setTimeout(this.flush, 50); 162 | } 163 | } 164 | 165 | private flush = () => { 166 | if (this.flushTimer != null) { 167 | clearTimeout(this.flushTimer); 168 | this.flushTimer = null; 169 | } 170 | 171 | if (this.pendingEvents.length == 0) { 172 | return; 173 | } 174 | 175 | send({ 176 | type: 'events:add', 177 | message: this.pendingEvents 178 | }); 179 | 180 | this.pendingEvents = []; 181 | }; 182 | } 183 | 184 | function parseModuleFunctionPattern(pattern: string) { 185 | const tokens = pattern.split("!", 2); 186 | 187 | let m, f; 188 | if (tokens.length === 1) { 189 | m = "*"; 190 | f = tokens[0]; 191 | } else { 192 | m = (tokens[0] === "") ? "*" : tokens[0]; 193 | f = (tokens[1] === "") ? "*" : tokens[1]; 194 | } 195 | 196 | return { 197 | module: m, 198 | function: f 199 | }; 200 | } 201 | -------------------------------------------------------------------------------- /agent/src/index.ts: -------------------------------------------------------------------------------- 1 | import { HookSpec } from './lib/types'; 2 | import { Agent } from './agent'; 3 | 4 | const agent = new Agent(); 5 | 6 | rpc.exports = { 7 | init: agent.init.bind(agent) 8 | }; -------------------------------------------------------------------------------- /agent/src/lib/types.ts: -------------------------------------------------------------------------------- 1 | export type HookSpec = HookSpecItem[]; 2 | type HookSpecItem = [HookSpecKey, HookSpecValue]; 3 | type HookSpecKey = 'objc_method' | 'function' | 'function_offset' | 'stack_depth'; 4 | type HookSpecValue = string | number; 5 | 6 | type ObjCMessage = string; 7 | type Depth = number; 8 | export type TraceEvent = [Depth, ObjCMessage]; -------------------------------------------------------------------------------- /agent/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Visit https://aka.ms/tsconfig.json to read more about this file */ 4 | 5 | /* Basic Options */ 6 | // "incremental": true, /* Enable incremental compilation */ 7 | "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ 8 | "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ 9 | // "lib": [], /* Specify library files to be included in the compilation. */ 10 | // "allowJs": true, /* Allow javascript files to be compiled. */ 11 | // "checkJs": true, /* Report errors in .js files. */ 12 | // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ 13 | // "declaration": true, /* Generates corresponding '.d.ts' file. */ 14 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ 15 | // "sourceMap": true, /* Generates corresponding '.map' file. */ 16 | // "outFile": "./", /* Concatenate and emit output to single file. */ 17 | // "outDir": "./", /* Redirect output structure to the directory. */ 18 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ 19 | // "composite": true, /* Enable project compilation */ 20 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ 21 | // "removeComments": true, /* Do not emit comments to output. */ 22 | // "noEmit": true, /* Do not emit outputs. */ 23 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */ 24 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ 25 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ 26 | 27 | /* Strict Type-Checking Options */ 28 | "strict": true, /* Enable all strict type-checking options. */ 29 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ 30 | // "strictNullChecks": true, /* Enable strict null checks. */ 31 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */ 32 | // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ 33 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ 34 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ 35 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ 36 | 37 | /* Additional Checks */ 38 | // "noUnusedLocals": true, /* Report errors on unused locals. */ 39 | // "noUnusedParameters": true, /* Report errors on unused parameters. */ 40 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ 41 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ 42 | // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */ 43 | 44 | /* Module Resolution Options */ 45 | // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ 46 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ 47 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ 48 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ 49 | // "typeRoots": [], /* List of folders to include type definitions from. */ 50 | // "types": [], /* Type declaration files to be included in compilation. */ 51 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ 52 | "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ 53 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ 54 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ 55 | 56 | /* Source Map Options */ 57 | // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ 58 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ 59 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ 60 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ 61 | 62 | /* Experimental Options */ 63 | // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ 64 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ 65 | 66 | /* Advanced Options */ 67 | "skipLibCheck": true, /* Skip type checking of declaration files. */ 68 | "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /assets/screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hot3eed/objtree/28685524e38929cdbb1d57959d8025bd517c2c09/assets/screenshot1.png -------------------------------------------------------------------------------- /objtree-dev-runner.py: -------------------------------------------------------------------------------- 1 | from objtree.cli import main 2 | 3 | if __name__ == '__main__': 4 | main() 5 | 6 | -------------------------------------------------------------------------------- /objtree/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hot3eed/objtree/28685524e38929cdbb1d57959d8025bd517c2c09/objtree/__init__.py -------------------------------------------------------------------------------- /objtree/cli.py: -------------------------------------------------------------------------------- 1 | from .utils.hooker import Hooker 2 | from frida_tools.application import ConsoleApplication 3 | from frida_tools.tracer import UI, OutputFile 4 | 5 | 6 | class TestApplication(ConsoleApplication, UI): 7 | def _usage(self): 8 | return "usage: %prog [options] target" 9 | 10 | def _needs_target(self): 11 | return True 12 | 13 | def _add_options(self, parser): 14 | pb = HookerProfileBuilder() 15 | def process_builder_arg(option, opt_str, value, parser, method, **kwargs): 16 | method(value) 17 | parser.add_option('-m', help="include OBJC_METHOD", 18 | metavar='OBJC_METHOD', type='string', action='callback', 19 | callback=process_builder_arg, callback_args=(pb.hook_objc_method,)) 20 | parser.add_option('-i', help="include FUNCTION", 21 | metavar='FUNCTION', type='string', action='callback', 22 | callback=process_builder_arg, callback_args=(pb.hook_function,)) 23 | parser.add_option('-a', help="add FUNCTION_OFFSET, relative to binary base", 24 | metavar='FUNCTION_OFFSET', type='int', action='callback', 25 | callback=process_builder_arg, callback_args=(pb.hook_function_offset,)) 26 | parser.add_option('-L', type='int', help="trace functions up to STACK_DEPTH, default is 8", 27 | metavar='STACK_DEPTH', action='callback', 28 | callback=process_builder_arg, callback_args=(pb.set_stack_depth,)) 29 | parser.add_option('-o', '--output', help="dump output to file OUTPUT", metavar='OUTPUT', type='string') 30 | self._profile_builder = pb 31 | 32 | def _initialize(self, parser, options, args): 33 | self._profile = self._profile_builder.build() 34 | self._output = None 35 | self._output_path = options.output 36 | 37 | def _start(self): 38 | hooker = Hooker(self._profile, self._session, self._reactor) 39 | hooker.start_hooking(self) 40 | if self._output_path is not None: 41 | self._output = OutputFile(self._output_path) 42 | 43 | def _stop(self): 44 | if self._output is not None: 45 | self._output.close() 46 | self._output = None 47 | 48 | def on_finished_hooking(self, num_hooks, stack_depth): 49 | self._update_status(f"Intercepting {num_hooks} function(s) with stack depth {stack_depth}...") 50 | 51 | def on_hook_installed(self, target): 52 | self._print(f"[!] Installed hook at {target}") 53 | 54 | def on_events_add(self, events): 55 | for e in events: 56 | depth = e[0] 57 | objc_msg = e[1] 58 | out = "| " * depth + objc_msg 59 | self._print(out) 60 | if self._output is not None: 61 | self._output.append(out + '\n') 62 | 63 | 64 | class HookerProfileBuilder(object): 65 | def __init__(self): 66 | self._spec = [] 67 | self._stack_depth = 8 # default 68 | 69 | def hook_objc_method(self, *objc_method_names): 70 | for f in objc_method_names: 71 | self._spec.append(('objc_method', f)) 72 | return self 73 | 74 | def hook_function(self, *function_names): 75 | for f in function_names: 76 | self._spec.append(('function', f)) 77 | return self 78 | 79 | def hook_function_offset(self, *function_offsets): 80 | for f in function_offsets: 81 | self._spec.append(('function_offset', int(f))) 82 | return self 83 | 84 | def set_stack_depth(self, stack_depth): 85 | self._stack_depth = stack_depth 86 | return self 87 | 88 | def build(self): 89 | return HookerProfile(self._spec, self._stack_depth) 90 | 91 | 92 | class HookerProfile(object): 93 | def __init__(self, spec, stack_depth): 94 | self.spec = spec 95 | self.stack_depth = stack_depth 96 | 97 | 98 | def main(): 99 | app = TestApplication() 100 | app.run() 101 | 102 | 103 | if __name__ == '__main__': 104 | main() 105 | -------------------------------------------------------------------------------- /objtree/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hot3eed/objtree/28685524e38929cdbb1d57959d8025bd517c2c09/objtree/utils/__init__.py -------------------------------------------------------------------------------- /objtree/utils/hooker.py: -------------------------------------------------------------------------------- 1 | from os import path 2 | 3 | import frida 4 | 5 | 6 | class Hooker: 7 | def __init__(self, profile, session, reactor): 8 | self._profile = profile 9 | self._script_path = path.join(path.abspath(path.dirname(__file__)), '../../_agent.js') 10 | self._script = None 11 | with open(self._script_path) as src_f: 12 | script_src = src_f.read() 13 | self._script = session.create_script(script_src) 14 | self._agent = None 15 | self._reactor = reactor 16 | 17 | def start_hooking(self, ui): 18 | def on_message(message, data): 19 | self._reactor.schedule(lambda: self._on_message(message, data, ui)) 20 | 21 | self._script.on('message', on_message) 22 | self._script.load() 23 | self._agent = self._script.exports 24 | self._agent.init(self._profile.spec, self._profile.stack_depth) 25 | 26 | def _on_message(self, message, data, ui): 27 | if message['type'] == 'send': 28 | payload = message['payload'] 29 | mtype = payload['type'] 30 | message = payload['message'] if 'message' in payload else None 31 | if mtype == 'agent:error': 32 | ui._update_status(f"Failed to install hooks: {message}") 33 | ui._exit(1) 34 | elif mtype == 'agent:finished_hooking': 35 | ui.on_finished_hooking(message['hooks'], message['depth']) 36 | elif mtype == 'agent:hook_installed': 37 | ui.on_hook_installed(message['target']) 38 | elif mtype == 'events:add': 39 | ui.on_events_add(message) 40 | else: 41 | print(message) 42 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup, find_packages 2 | import os 3 | 4 | cwd = os.path.abspath(os.path.dirname(__file__)) 5 | 6 | setup( 7 | name='objtree', 8 | version='0.5.2', 9 | description="tree but for Objective-C messages", 10 | author='hot3eed', 11 | author_email='hot3eed@gmail.com', 12 | url='https://github.com/hot3eed/objtree', 13 | install_requires=[ 14 | 'frida-tools >= 9.0.0, < 10.0.0', 15 | ], 16 | license='Apache License 2.0', 17 | keywords='dynamic-instrumentation ios macos frida debugger', 18 | packages=find_packages(), 19 | package_data={ 20 | 'objtree': [os.path.join(cwd, './_agent.js')] 21 | }, 22 | entry_points={ 23 | 'console_scripts': [ 24 | 'objtree=objtree.cli:main' 25 | ] 26 | } 27 | ) 28 | --------------------------------------------------------------------------------