├── .gitignore ├── .prettierignore ├── .prettierrc.js ├── .vscode └── settings.json ├── DOC.md ├── LICENSE ├── README.md ├── asset └── 1.png ├── boxjs.json ├── client ├── .env-sample ├── index.js ├── package.json └── pnpm-lock.yaml ├── package.json ├── screenshots ├── 0.PNG ├── 10.jpg ├── 11.png ├── 12.jpg ├── 13.png ├── 14.png ├── 15.png ├── 2.PNG ├── 3.PNG ├── 4.PNG ├── 5.png ├── 6.png ├── 7.png ├── 8.png └── 9.png ├── server ├── .env-sample ├── index.js ├── package.json └── pnpm-lock.yaml ├── sms-forward.js ├── sms-forward.loon.plugin ├── sms-forward.sgmodule └── sms-forward.stash.stoverride /.gitignore: -------------------------------------------------------------------------------- 1 | ############################ 2 | # OS X 3 | ############################ 4 | 5 | .DS_Store 6 | .AppleDouble 7 | .LSOverride 8 | Icon 9 | .Spotlight-V100 10 | .Trashes 11 | ._* 12 | 13 | 14 | ############################ 15 | # Linux 16 | ############################ 17 | 18 | *~ 19 | 20 | 21 | ############################ 22 | # Windows 23 | ############################ 24 | 25 | Thumbs.db 26 | ehthumbs.db 27 | Desktop.ini 28 | $RECYCLE.BIN/ 29 | *.cab 30 | *.msi 31 | *.msm 32 | *.msp 33 | 34 | 35 | ############################ 36 | # Packages 37 | ############################ 38 | 39 | # *.7z 40 | # *.csv 41 | # *.dat 42 | # *.dmg 43 | # *.gz 44 | # *.iso 45 | # *.jar 46 | # *.rar 47 | # *.tar 48 | # *.zip 49 | # *.com 50 | # *.class 51 | # *.dll 52 | # *.exe 53 | # *.o 54 | # *.seed 55 | # *.so 56 | # *.swo 57 | # *.swp 58 | # *.swn 59 | # *.swm 60 | # *.out 61 | # *.pid 62 | 63 | 64 | ############################ 65 | # Logs and databases 66 | ############################ 67 | 68 | .tmp 69 | *.log 70 | *.sql 71 | *.sqlite 72 | *.sqlite3 73 | 74 | 75 | ############################ 76 | # Misc. 77 | ############################ 78 | 79 | *# 80 | ssl 81 | .idea 82 | nbproject 83 | public/uploads/* 84 | !public/uploads/.gitkeep 85 | 86 | ############################ 87 | # Node.js 88 | ############################ 89 | 90 | lib-cov 91 | lcov.info 92 | pids 93 | logs 94 | results 95 | node_modules 96 | .node_history 97 | 98 | 99 | ############################ 100 | # Tests 101 | ############################ 102 | testApp 103 | coverage 104 | report 105 | mochawesome-report 106 | 107 | ############################ 108 | # cache 109 | ############################ 110 | .stylelintcache 111 | .eslintcache 112 | 113 | ############################ 114 | # output 115 | ############################ 116 | 117 | .output 118 | dist 119 | out 120 | tmp.js 121 | tmp 122 | logs 123 | # frontEnd/.next 124 | 125 | ############################ 126 | # local config 127 | ############################ 128 | 129 | **/config/local-*.js 130 | 131 | ############################ 132 | # yarn https://yarnpkg.com/advanced/qa#which-files-should-be-gitignored 133 | ############################ 134 | # If you're using Zero-Installs: 135 | 136 | # .yarn/* 137 | # !.yarn/cache 138 | # !.yarn/releases 139 | # !.yarn/plugins 140 | 141 | # If you're not using Zero-Installs: 142 | 143 | .yarn/* 144 | !.yarn/releases 145 | !.yarn/plugins 146 | .pnp.* 147 | 148 | packages/api/build 149 | packages/api/payloadConfig.json 150 | .pnpm-store 151 | 152 | 153 | 154 | /*.json 155 | !package.json 156 | !boxjs.json 157 | !boxjs-dev.json 158 | !boxjs-test.json 159 | /*.yaml 160 | test.js 161 | 162 | ql.js 163 | sendNotify.js 164 | 165 | *-local.json 166 | *-local.js 167 | *-local.stoverride 168 | 169 | box.dat 170 | *box.dat 171 | tempCodeRunnerFile.js 172 | 173 | .env 174 | 175 | 10010*.txt 176 | *cookie.txt -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | pnpm-lock.yaml 2 | 10010*.js 3 | headers.js 4 | index.js 5 | sms-forward.js 6 | parser-local.js -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | trailingComma: 'es5', 3 | semi: false, 4 | singleQuote: true, 5 | jsxSingleQuote: false, 6 | jsxBracketSameLine: true, 7 | arrowParens: 'avoid', 8 | proseWrap: 'preserve', 9 | printWidth: 120, 10 | } 11 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "[javascript]": { 3 | "editor.defaultFormatter": "esbenp.prettier-vscode" 4 | }, 5 | "editor.codeActionsOnSave": { 6 | // "source.fixAll": false, 7 | "source.organizeImports": false, 8 | "source.fixAll.stylelint": false, 9 | "source.fixAll.eslint": false 10 | }, 11 | } -------------------------------------------------------------------------------- /DOC.md: -------------------------------------------------------------------------------- 1 | # 短信转发 2 | 3 | > [免责声明](https://github.com/ChinaTelecomOperators/SMSForward/blob/main/README.md) 4 | 5 | > 欢迎加入群组 [https://t.me/zhetengsha_group](https://t.me/zhetengsha_group) 6 | 7 | 本开发组与此群组无任何关系 8 | 9 | 仅做学习讨论之用 10 | 11 | 使用了 [chavyleung 大佬的 Env.js](https://github.com/chavyleung/scripts/blob/master/Env.js). 兼容 QuanX, Surge, Loon, Shadowrocket, Stash 等客户端 12 | 13 | 特点: 14 | 15 | 🎉 免越狱支持 iOS 短信转发 16 | 17 | 🔒️ 可禁止提交数据给腾讯/360 等接口 保证隐私 18 | 19 | 🔒️ 将提交给腾讯/360 等接口的内容中的数字替换为随机数字 防止泄漏 20 | 21 | 🔧 支持自定义规则控制是否转发 22 | 23 | 🔧 支持自定义通知模板 24 | 25 | 🔢 自动提取验证码 26 | 27 | - 使用 Bark 则可长按/下拉复制验证码 28 | 29 | - 使用自建接口配合桌面端工具, 则可实现桌面端自动复制验证码 30 | 31 | - 支持 PushDeer 多平台都可以收到通知了 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 |
44 | 45 | 自动复制验证码 46 | 47 | > 不设置自动复制的参数 autoCopy 或 超过最大允许长度 或 剪贴板无变化时, 不自动复制, 此时可点击复制按钮 手动复制 48 | 49 | ## 安装/设置 `腾讯手机管家` 和 `360手机卫士` 50 | 51 | > 提醒 原理上来说只有发请求查询的才有可能进脚本处理...某些号码的短信本身就不会触发请求查询 所以也不可能被转发 52 | 53 | 1. 安装后按 app 提示开启短信骚扰拦截. 54 | 55 | 2. 如下图开启 `精准查询`(腾讯手机管家) / `智能云端引擎精准过滤`(360 手机卫士) 56 | 57 | 3. 在系统设置里, 将`未知与过滤信息` 设为对应的 app 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 |
66 | 67 | ## 直接使用 Surge 模块 68 | 69 | [https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/sms-forward.sgmodule](https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/sms-forward.sgmodule) 70 | 71 | `Shadowrocket` 也支持 使用类似 `Surge` 72 | 73 | ## Stash 使用覆写 74 | 75 | [https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/sms-forward.stash.stoverride](https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/sms-forward.stash.stoverride) 76 | 77 | ## Loon 使用插件 78 | 79 | [https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/sms-forward.loon.plugin](https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/sms-forward.loon.plugin) 80 | 81 | ## 其他客户端的配置请自行参考对应的配置方式 82 | 83 | ## BoxJs 84 | 85 | 使用 [BoxJs 测试版](https://chavyleung.gitbook.io/boxjs) 添加 订阅 [https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/boxjs.json](https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/boxjs.json) 86 | 87 | ## 配置 88 | 89 | 基本上打开 BoxJs 都能看明白 90 | 91 | ### 通知模板 92 | 93 | 通知标题模板 94 | 95 | > 默认: [号码], 例: 10010 96 | 97 | 通知副标题模板 98 | 99 | > 默认: [码][复制提示], 例: 123456(长按/下拉复制验证码) 100 | 101 | 通知正文模板 102 | 103 | > 默认: [内容], 例: 您的验证码为 123456 104 | 105 | ### 使用 PushDeer/PushPlus 等服务 106 | 107 | 1. 假设你 PushDeer 的链接为 `https://api2.pushdeer.com/message/push?pushkey=XXXXXXXXXXX` 你的 key 为 `XXXXXXXXX` 108 | 109 | 可在 BoxJs 里设置 `PushDeer/PushPlus 等` 为 `https://api2.pushdeer.com/message/push?pushkey=XXXXXXXXXXX&text=[推送全文]` 110 | 111 | 2. 假设你 PushPlus 的链接为 `http://www.pushplus.plus/send?token=XXXXXXXXX&content=[推送全文]&channel=wechat` 你的 key 为 `XXXXXXXXX` 112 | 113 | 其他参数可查看官方文档 [PushPlus 发送消息接口](http://www.pushplus.plus/doc/guide/api.html#%E4%B8%80%E3%80%81%E5%8F%91%E9%80%81%E6%B6%88%E6%81%AF%E6%8E%A5%E5%8F%A3) 114 | 115 | 例如 上述链接中的 `wechat` 改为 `mail` 即可实现邮件转发. 116 | 117 | 可在 BoxJs 里设置 `PushDeer/PushPlus 等` 为 `http://www.pushplus.plus/send?token=XXXXXXXXX&content=[推送全文]&channel=wechat` 118 | 119 | `[推送全文]` 会被自动替换 120 | 121 | > 聪明的你一定能看懂吧 122 | 123 | 其实不管什么服务 只要是 get 请求就可以支持. 只要在对应的参数留好 `[推送全文]` 124 | 125 | 但是可能不同的服务返回值不同 如果发现有实际成功但是提示未知错误的 可以发日志给我 126 | 127 | ### 使用 Bark 等服务 128 | 129 | 使用 Bark 通知 可实现更多通知效果: 推送铃声, 推送图标, 时效性通知, 复制推送内容等. 具体功能请参考 Bark 的设置说明. 130 | 131 | 假设你 Bark 的链接为 `https://api.day.app/XXXXXXXXX/` 你的 key 为 `XXXXXXXXX` 132 | 133 | 可在 BoxJs 里设置 `Bark/自建服务端等` 为 `https://api.day.app/XXXXXXXXX/[推送标题]/[推送内容]?group=sms&autoCopy=1&isArchive=1&icon=https%3A%2F%2Fraw.githubusercontent.com%2FChinaTelecomOperators%2Fscripts%2Fmain%2Fsurge%2Fmodules%2Fsms-forward%2Fasset%2F1.png©=[复制内容]&sound=shake&level=timeSensitive` 134 | 135 | `[推送标题]` `[推送内容]` `[复制内容]` 会被自动替换. 其他参数请参考 Bark 的设置说明. 136 | 137 | > 聪明的你一定能看懂吧 138 | 139 | 其实不管什么服务 只要是 get 请求就可以支持. 只要在对应的参数留好 `[推送标题]` `[推送内容]` `[复制内容]` 140 | 141 | 但是可能不同的服务返回值不同 如果发现有实际成功但是提示未知错误的 可以发日志给我 142 | 143 | ### 使用自建服务端和客户端进行通知转发 144 | 145 | #### 服务端 146 | 147 | `https://github.com/ChinaTelecomOperators/SMSForward/tree/main/server` 148 | 149 | ``` 150 | pnpm i 151 | mv .env-sample .env 152 | ``` 153 | 154 | 编辑 `.env` 设置 token 等参数 155 | 156 | ``` 157 | pnpm start 158 | ``` 159 | 160 | 请求参数: 161 | 162 | `autoCopy` 是否自动复制 163 | 164 | `copy` 复制的内容 165 | 166 | 其他参数 参考 `https://www.npmjs.com/package/node-notifier` 文档 167 | 168 | 例如 `contentImage` 附加图片的本地路径(指的是下面的客户端运行的环境) 169 | 170 | `sound` 通知声音 等等 171 | 172 | 可在 BoxJs 里设置 `Bark/自建服务端等` 为 `http://服务器IP:服务器端口/你设置的token/[推送标题]/[推送内容]?autoCopy=1©=[复制内容]&sound=true&contentImage=%2FUsers%2Ffoo%2FDropbox%2Fpics%2Favatar%2Favatar_large.png` 173 | 174 | 自建域名转发等等不再赘述 175 | 176 | #### 客户端 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 |
188 | 189 | `https://github.com/ChinaTelecomOperators/SMSForward/tree/main/client` 190 | 191 | `Apple Silicon Macs` 需要修改 `package.json` 里的 `node-notifier` 192 | 193 | `"node-notifier": "github:Sebastian-Webster/node-notifier"` 194 | 195 | ``` 196 | pnpm i 197 | mv .env-sample .env 198 | ``` 199 | 200 | 编辑 `.env` 设置 `服务器`, `自动复制内容最大长度` 等参数 201 | 202 | ``` 203 | pnpm start 204 | ``` 205 | 206 | ## 同时使用多套配置 207 | 208 | ### 以两套配置为例 209 | 210 | 为方便同时配置和使用多套配置, BoxJs 配置中预置了第二套配置 `sms_forward-1`. 211 | 212 | 1. 在主配置 `短信转发(ChinaTelecomOperators.sms_forward)` 里完成设置. 将 `其他配置的 key(英文逗号,分隔)` 这一项设置为 `sms_forward-1`. 213 | 2. 在第二套配置 `短信转发(1)(ChinaTelecomOperators.sms_forward-1)` 里完成设置. 214 | 3. 此时脚本执行时将依次处理主配置和第二套配置. 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 |
223 | 224 | ### 更多的配置 以四套配置为例 225 | 226 | 复制 默认的 BoxJs 订阅. 自己维护 第二套配置 `短信转发(1)(ChinaTelecomOperators.sms_forward-1)`, 第三套配置 `短信转发(2)(ChinaTelecomOperators.sms_forward-2)`, 第四套配置 `短信转发(3)(ChinaTelecomOperators.sms_forward-3)` 的数据结构. 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 |
235 | 236 | 1. 在主配置 `短信转发(ChinaTelecomOperators.sms_forward)` 里完成设置. 将 `其他配置的 key(英文逗号,分隔)` 这一项设置为 `sms_forward-1, sms_forward-2, sms_forward-3`. 237 | 2. 在第二套配置 `短信转发(1)(ChinaTelecomOperators.sms_forward-1)` 里完成设置. 238 | 3. 在第三套配置 `短信转发(2)(ChinaTelecomOperators.sms_forward-2)` 里完成设置. 239 | 4. 在第四套配置 `短信转发(3)(ChinaTelecomOperators.sms_forward-3)` 里完成设置. 240 | 5. 此时脚本执行时将依次处理主配置, 第二套配置, 第三套配置, 第四套配置. 241 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 免责声明 2 | 3 | [文档](https://github.com/ChinaTelecomOperators/SMSForward/blob/main/DOC.md) 4 | 5 | 本仓库或本仓库相关的仓库, 以下简称为本仓库. 6 | 本仓库或本仓库相关的仓库的管理者, 以下简称为本仓库管理者. 7 | 本仓库或本仓库相关的仓库的任何人员, 以下简称为本仓库人员. 8 | 本仓库或本仓库相关的仓库内分享的任何内容, 以下简称为本仓库内容. 9 | 10 | 本仓库内容,仅用于测试和学习研究,禁止用于商业用途,不得将其用于违反国家/地区/组织等的法律法规或相关规定的其他用途. 本仓库人员均不能保证其合法性,准确性,完整性和有效性,请根据情况自行判断. 禁止任何公众号、自媒体进行任何形式的转载、发布. 11 | 12 | 本仓库内容的域名地址信息可以被任何人通过开发人员工具获取,没有经过逆向工程或网络攻击,不构成入侵计算机系统 13 | 14 | 本仓库人员对任何本仓库内容问题概不负责,包括但不限于由任何本仓库内容错误导致的任何损失或损害. 15 | 16 | 间接使用本仓库内容的任何用户,包括但不限于建立 VPS 或在某些行为违反国家/地区法律或相关法规的情况下进行传播, 本仓库人员对于由此引起的任何隐私泄漏或其他后果概不负责. 17 | 18 | 请勿将本仓库内容用于商业或非法目的,否则后果自负. 19 | 20 | 如果任何单位或个人认为本仓库内容可能涉嫌侵犯其权利,则应及时通知并提供身份证明,所有权证明,本仓库管理者将在收到认证文件后删除相关本仓库内容. 21 | 22 | 任何以任何方式查看本仓库内容的人或直接或间接使用本仓库内容的使用者都应仔细阅读此声明。本仓库管理者保留随时更改或补充此免责声明的权利。一旦使用/复制/修改了本仓库内容,则视为您已接受此免责声明. 23 | 24 | 本仓库内容中涉及的第三方硬件、软件等,与本仓库内容没有任何直接或间接的关系。本仓库内容仅对部署和使用过程进行客观描述,不代表支持使用任何第三方硬件、软件。使用任何第三方硬件、软件,所造成的一切后果由使用的个人或组织承担,与本仓库内容无关。 25 | 26 | 所有基于本仓库内容的源代码,进行的任何修改,为其他个人或组织的自发行为,与本仓库内容没有任何直接或间接的关系,所造成的一切后果亦与本仓库内容和本仓库人员无关。 27 | 28 | 本仓库管理者保留随时对免责声明进行补充或更改的权利,直接或间接使用本仓库内容的个人或组织,视为接受本仓库分享的内容的免责声明。 29 | 30 | 请不要在中华人民共和国境内使用本仓库内容。 31 | 32 | 所有直接或间接使用本仓库内容的个人和组织,应 24 小时内完成学习和研究,并及时删除本仓库内容。如对本仓库内容的功能有需求,应自行开发相关功能。 33 | 34 | 您必须在下载后的 24 小时内从您以任何形式存放或使用本仓库内容的任何硬件/软件/介质中完全删除本仓库内容. 35 | 36 | 您以任何形式阅读/使用/复制/修改了本仓库内容,则视为已接受此免责声明,请仔细阅读 37 | -------------------------------------------------------------------------------- /asset/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/asset/1.png -------------------------------------------------------------------------------- /boxjs.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "ChinaTelecomOperators.SMSForward.sub", 3 | "name": "SMSForward 的应用订阅", 4 | "author": "ChinaTelecomOperators", 5 | "icon": "https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/asset/1.png", 6 | "repo": "https://github.com/ChinaTelecomOperators/SMSForward", 7 | "apps": [ 8 | { 9 | "id": "ChinaTelecomOperators.sms_forward", 10 | "name": "短信转发", 11 | "descs_html": [ 12 | "查看文档", 13 | "刷新" 14 | ], 15 | "keys": [ 16 | "@ChinaTelecomOperators.sms_forward.disabled", 17 | "@ChinaTelecomOperators.sms_forward.type", 18 | "@ChinaTelecomOperators.sms_forward.sender_allow", 19 | "@ChinaTelecomOperators.sms_forward.sender_deny", 20 | "@ChinaTelecomOperators.sms_forward.text_allow", 21 | "@ChinaTelecomOperators.sms_forward.text_deny", 22 | "@ChinaTelecomOperators.sms_forward.code_test", 23 | "@ChinaTelecomOperators.sms_forward.code_get", 24 | "@ChinaTelecomOperators.sms_forward.replace_num", 25 | "@ChinaTelecomOperators.sms_forward.no_post", 26 | "@ChinaTelecomOperators.sms_forward.title", 27 | "@ChinaTelecomOperators.sms_forward.subtitle", 28 | "@ChinaTelecomOperators.sms_forward.body", 29 | "@ChinaTelecomOperators.sms_forward.pushdeer", 30 | "@ChinaTelecomOperators.sms_forward.bark", 31 | "@ChinaTelecomOperators.sms_forward.keys" 32 | ], 33 | "author": "ChinaTelecomOperators", 34 | "repo": "https://github.com/ChinaTelecomOperators/SMSForward", 35 | "settings": [ 36 | { 37 | "id": "@ChinaTelecomOperators.sms_forward.disabled", 38 | "name": "禁用", 39 | "val": false, 40 | "type": "boolean", 41 | "desc": "默认启用" 42 | }, 43 | { 44 | "id": "@ChinaTelecomOperators.sms_forward.type", 45 | "name": "类型", 46 | "val": "tencent", 47 | "type": "selects", 48 | "items": [ 49 | { 50 | "key": "tencent", 51 | "label": "腾讯手机管家" 52 | }, 53 | { 54 | "key": "360", 55 | "label": "360 手机卫士" 56 | } 57 | ], 58 | "desc": "默认使用 腾讯手机管家" 59 | }, 60 | { 61 | "id": "@ChinaTelecomOperators.sms_forward.sender_allow", 62 | "name": "允许转发的号码的正则字符串", 63 | "val": "", 64 | "type": "textarea", 65 | "desc": "符合的号码才会转发 例: (18600000000|18611111111) 表示只转发这两个号码. ^186 表示只转发186开头的号码. ^\\d{11}$ 表示只转发11位的号码. 默认为空 允许转发所有号码" 66 | }, 67 | { 68 | "id": "@ChinaTelecomOperators.sms_forward.sender_deny", 69 | "name": "不允许转发的号码的正则字符串", 70 | "val": "", 71 | "type": "textarea", 72 | "desc": "符合的号码不会转发 其他的号码都会转发" 73 | }, 74 | { 75 | "id": "@ChinaTelecomOperators.sms_forward.text_allow", 76 | "name": "允许转发的内容的正则字符串", 77 | "val": "", 78 | "type": "textarea", 79 | "desc": "符合的内容才会转发 例: (码|快递) 表示只允许这包含这俩词的内容. 默认为空 允许转发所有内容" 80 | }, 81 | { 82 | "id": "@ChinaTelecomOperators.sms_forward.text_deny", 83 | "name": "不允许转发的内容的正则字符串", 84 | "val": "", 85 | "type": "textarea", 86 | "desc": "符合的内容不会转发 其他的内容都会转发" 87 | }, 88 | { 89 | "id": "@ChinaTelecomOperators.sms_forward.code_test", 90 | "name": "判断内容是否包含验证码的正则字符串", 91 | "val": "", 92 | "type": "textarea", 93 | "desc": "验证码提取逻辑没有很好的思路 现在需要先判断该内容是否有验证码 再提取验证码. 默认为 .+(码) 表示内容符合 'X码' 这样的格式" 94 | }, 95 | { 96 | "id": "@ChinaTelecomOperators.sms_forward.code_get", 97 | "name": "从内容提取验证码的正则字符串", 98 | "val": "", 99 | "type": "textarea", 100 | "desc": "提取的验证码将作为可复制的内容 方便 Bark 复制. 默认为 \\d{4,6} 表示提取4-6位的数字" 101 | }, 102 | { 103 | "id": "@ChinaTelecomOperators.sms_forward.no_post", 104 | "name": "不提交数据给腾讯/360等接口", 105 | "val": false, 106 | "type": "boolean", 107 | "desc": "默认为否, 会正常提交. 若开启, 则不会提交任何数据给腾讯/360等接口 保证隐私" 108 | }, 109 | { 110 | "id": "@ChinaTelecomOperators.sms_forward.replace_num", 111 | "name": "替换数字", 112 | "val": true, 113 | "type": "boolean", 114 | "desc": "默认启用. 将提交给腾讯/360等接口的内容中的数字替换为随机数字 防止泄漏" 115 | }, 116 | { 117 | "id": "@ChinaTelecomOperators.sms_forward.title", 118 | "name": "通知标题模板", 119 | "val": "", 120 | "type": "text", 121 | "desc": "默认: [号码], 例: 10010" 122 | }, 123 | { 124 | "id": "@ChinaTelecomOperators.sms_forward.subtitle", 125 | "name": "通知副标题模板", 126 | "val": "", 127 | "type": "text", 128 | "desc": "默认: [码][复制提示], 例: 123456(长按/下拉复制验证码)" 129 | }, 130 | { 131 | "id": "@ChinaTelecomOperators.sms_forward.body", 132 | "name": "通知正文模板", 133 | "val": "", 134 | "type": "textarea", 135 | "desc": "默认: [内容], 例: 您的验证码为 123456" 136 | }, 137 | { 138 | "id": "@ChinaTelecomOperators.sms_forward.bark", 139 | "name": "转发到 Bark/自建服务端 等", 140 | "val": "", 141 | "type": "textarea", 142 | "desc": "[推送标题], [推送内容], [复制内容] 会被自动替换. 形如 https://api.day.app/XXXXXXXXX/[推送标题]/[推送内容]?group=sms&autoCopy=1&isArchive=1&icon=https%3A%2F%2Fraw.githubusercontent.com%2FChinaTelecomOperators%2Fscripts%2Fmain%2Fsurge%2Fmodules%2Fsms-forward%2Fasset%2F1.png©=[复制内容]&sound=shake&level=timeSensitive" 143 | }, 144 | { 145 | "id": "@ChinaTelecomOperators.sms_forward.pushdeer", 146 | "name": "转发到 PushDeer/PushPlus 等", 147 | "val": "", 148 | "type": "textarea", 149 | "desc": "[推送全文] 会被自动替换. 形如 https://api2.pushdeer.com/message/push?pushkey=XXXXXXXXXXX&text=[推送全文]" 150 | }, 151 | { 152 | "id": "@ChinaTelecomOperators.sms_forward.keys", 153 | "name": "其他配置的 key(英文逗号,分隔)", 154 | "val": "", 155 | "type": "textarea", 156 | "desc": "默认只取 sms_forward 的配置. 设置为 sms_forward-1, sms_forward-2 后, 将同时处理这三个配置" 157 | } 158 | ], 159 | "icons": [ 160 | "https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/asset/1.png", 161 | "https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/asset/1.png" 162 | ] 163 | }, 164 | { 165 | "id": "ChinaTelecomOperators.sms_forward-1", 166 | "name": "短信转发(1)", 167 | "descs_html": [ 168 | "查看文档", 169 | "刷新" 170 | ], 171 | "keys": [ 172 | "@ChinaTelecomOperators.sms_forward-1.disabled", 173 | "@ChinaTelecomOperators.sms_forward-1.sender_allow", 174 | "@ChinaTelecomOperators.sms_forward-1.sender_deny", 175 | "@ChinaTelecomOperators.sms_forward-1.text_allow", 176 | "@ChinaTelecomOperators.sms_forward-1.text_deny", 177 | "@ChinaTelecomOperators.sms_forward-1.code_test", 178 | "@ChinaTelecomOperators.sms_forward-1.code_get", 179 | "@ChinaTelecomOperators.sms_forward-1.title", 180 | "@ChinaTelecomOperators.sms_forward-1.subtitle", 181 | "@ChinaTelecomOperators.sms_forward-1.body", 182 | "@ChinaTelecomOperators.sms_forward-1.pushdeer", 183 | "@ChinaTelecomOperators.sms_forward-1.bark" 184 | ], 185 | "author": "ChinaTelecomOperators", 186 | "repo": "https://github.com/ChinaTelecomOperators/SMSForward", 187 | "settings": [ 188 | { 189 | "id": "@ChinaTelecomOperators.sms_forward-1.disabled", 190 | "name": "禁用", 191 | "val": false, 192 | "type": "boolean", 193 | "desc": "默认启用" 194 | }, 195 | { 196 | "id": "@ChinaTelecomOperators.sms_forward-1.sender_allow", 197 | "name": "允许转发的号码的正则字符串", 198 | "val": "", 199 | "type": "textarea", 200 | "desc": "符合的号码才会转发 例: (18600000000|18611111111) 表示只转发这两个号码. ^186 表示只转发186开头的号码. ^\\d{11}$ 表示只转发11位的号码. 默认为空 允许转发所有号码" 201 | }, 202 | { 203 | "id": "@ChinaTelecomOperators.sms_forward-1.sender_deny", 204 | "name": "不允许转发的号码的正则字符串", 205 | "val": "", 206 | "type": "textarea", 207 | "desc": "符合的号码不会转发 其他的号码都会转发" 208 | }, 209 | { 210 | "id": "@ChinaTelecomOperators.sms_forward-1.text_allow", 211 | "name": "允许转发的内容的正则字符串", 212 | "val": "", 213 | "type": "textarea", 214 | "desc": "符合的内容才会转发 例: (码|快递) 表示只允许这包含这俩词的内容. 默认为空 允许转发所有内容" 215 | }, 216 | { 217 | "id": "@ChinaTelecomOperators.sms_forward-1.text_deny", 218 | "name": "不允许转发的内容的正则字符串", 219 | "val": "", 220 | "type": "textarea", 221 | "desc": "符合的内容不会转发 其他的内容都会转发" 222 | }, 223 | { 224 | "id": "@ChinaTelecomOperators.sms_forward-1.code_test", 225 | "name": "判断内容是否包含验证码的正则字符串", 226 | "val": "", 227 | "type": "textarea", 228 | "desc": "验证码提取逻辑没有很好的思路 现在需要先判断该内容是否有验证码 再提取验证码. 默认为 .+(码) 表示内容符合 'X码' 这样的格式" 229 | }, 230 | { 231 | "id": "@ChinaTelecomOperators.sms_forward-1.code_get", 232 | "name": "从内容提取验证码的正则字符串", 233 | "val": "", 234 | "type": "textarea", 235 | "desc": "提取的验证码将作为可复制的内容 方便 Bark 复制. 默认为 \\d{4,6} 表示提取4-6位的数字" 236 | }, 237 | { 238 | "id": "@ChinaTelecomOperators.sms_forward-1.title", 239 | "name": "通知标题模板", 240 | "val": "", 241 | "type": "text", 242 | "desc": "默认: [号码], 例: 10010" 243 | }, 244 | { 245 | "id": "@ChinaTelecomOperators.sms_forward-1.subtitle", 246 | "name": "通知副标题模板", 247 | "val": "", 248 | "type": "text", 249 | "desc": "默认: [码][复制提示], 例: 123456(长按/下拉复制验证码)" 250 | }, 251 | { 252 | "id": "@ChinaTelecomOperators.sms_forward-1.body", 253 | "name": "通知正文模板", 254 | "val": "", 255 | "type": "textarea", 256 | "desc": "默认: [内容], 例: 您的验证码为 123456" 257 | }, 258 | { 259 | "id": "@ChinaTelecomOperators.sms_forward-1.bark", 260 | "name": "转发到 Bark/自建服务端 等", 261 | "val": "", 262 | "type": "textarea", 263 | "desc": "[推送标题], [推送内容], [复制内容] 会被自动替换. 形如 https://api.day.app/XXXXXXXXX/[推送标题]/[推送内容]?group=sms&autoCopy=1&isArchive=1&icon=https%3A%2F%2Fraw.githubusercontent.com%2FChinaTelecomOperators%2Fscripts%2Fmain%2Fsurge%2Fmodules%2Fsms-forward%2Fasset%2F1.png©=[复制内容]" 264 | }, 265 | { 266 | "id": "@ChinaTelecomOperators.sms_forward-1.pushdeer", 267 | "name": "转发到 PushDeer/PushPlus 等", 268 | "val": "", 269 | "type": "textarea", 270 | "desc": "[推送全文] 会被自动替换. 形如 https://api2.pushdeer.com/message/push?pushkey=XXXXXXXXXXX&text=[推送全文]" 271 | } 272 | ], 273 | "icons": [ 274 | "https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/asset/1.png", 275 | "https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/asset/1.png" 276 | ] 277 | } 278 | ] 279 | } -------------------------------------------------------------------------------- /client/.env-sample: -------------------------------------------------------------------------------- 1 | # SERVER="http://1.1.1.1:4000?token=TOKEN" 2 | # SERVER="wss://1.1.1.1:4000?token=TOKEN" 3 | SERVER="https://a.com?token=TOKEN" 4 | MAX_LENGTH=140 5 | -------------------------------------------------------------------------------- /client/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config() 2 | 3 | const notifier = require('node-notifier') 4 | const _ = require('lodash') 5 | 6 | const io = require('socket.io-client') 7 | 8 | const {SERVER, MAX_LENGTH } = process.env 9 | const socket = io.connect( 10 | SERVER, 11 | { reconnect: true, transports: [ 'websocket', 'polling' ] } 12 | ) 13 | 14 | socket.on('connect', () => { 15 | const engine = socket.io.engine; 16 | console.log(`Connected! ${engine.transport.name}`) 17 | }) 18 | socket.on('event', async (data) => { 19 | const { default: clipboardy } = await import('clipboardy') 20 | 21 | console.log(`data`, data) 22 | const { title, body, autoCopy, copy, ...opts } = data 23 | 24 | let copyTooLong = _.size(copy) > MAX_LENGTH 25 | const shouldAutoCopy = !copyTooLong && autoCopy && String(await clipboardy.readSync()) !== String(copy) 26 | 27 | let copyBtn = '复制' 28 | let fullBtn = '显示全部' 29 | 30 | const fullNotify = async () => { 31 | notifier.notify({ 32 | ...opts, 33 | title, 34 | message: _.truncate(body, { 35 | length: MAX_LENGTH, 36 | omission: '...', 37 | }), 38 | actions: [copyBtn] 39 | }, async (error, response, metadata) => { 40 | // console.log(response, metadata); 41 | if (response === 'activate' && _.get(metadata, 'activationValue') === copyBtn) { 42 | await copyNotify() 43 | } 44 | }) 45 | } 46 | const copyNotify = async () => { 47 | await clipboardy.writeSync(copy) 48 | notifier.notify({ 49 | ...opts, 50 | title: '已复制', 51 | message: copy, 52 | actions: [fullBtn], 53 | 54 | }, async (error, response, metadata) => { 55 | // console.log(response, metadata); 56 | if (response === 'activate' && _.get(metadata, 'activationValue') === fullBtn) { 57 | await fullNotify() 58 | } 59 | }) 60 | } 61 | await fullNotify() 62 | if (shouldAutoCopy) { 63 | await copyNotify() 64 | } 65 | }) 66 | 67 | socket.on('disconnect', () => { 68 | console.log(`disconnect`) 69 | }) 70 | socket.on('error', e => { 71 | console.error(`error`, e) 72 | }) -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@sms-forward/client", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "index.js", 8 | "dev": "nodemon" 9 | }, 10 | "license": "GPL-3", 11 | "devDependencies": { 12 | "nodemon": "^2.0.16" 13 | }, 14 | "dependencies": { 15 | "clipboardy": "^3.0.0", 16 | "dotenv": "^16.0.1", 17 | "lodash": "^4.17.21", 18 | "node-notifier": "^10.0.1", 19 | "socket.io-client": "^4.5.1" 20 | } 21 | } -------------------------------------------------------------------------------- /client/pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: 5.4 2 | 3 | specifiers: 4 | clipboardy: ^3.0.0 5 | dotenv: ^16.0.1 6 | lodash: ^4.17.21 7 | node-notifier: ^10.0.1 8 | nodemon: ^2.0.16 9 | socket.io-client: ^4.5.1 10 | 11 | dependencies: 12 | clipboardy: registry.npmmirror.com/clipboardy/3.0.0 13 | dotenv: registry.npmmirror.com/dotenv/16.0.1 14 | lodash: registry.npmmirror.com/lodash/4.17.21 15 | node-notifier: registry.npmmirror.com/node-notifier/10.0.1 16 | socket.io-client: registry.npmmirror.com/socket.io-client/4.5.1 17 | 18 | devDependencies: 19 | nodemon: registry.npmmirror.com/nodemon/2.0.16 20 | 21 | packages: 22 | 23 | registry.npmmirror.com/@sindresorhus/is/0.14.0: 24 | resolution: {integrity: sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@sindresorhus/is/-/is-0.14.0.tgz} 25 | name: '@sindresorhus/is' 26 | version: 0.14.0 27 | engines: {node: '>=6'} 28 | dev: true 29 | 30 | registry.npmmirror.com/@socket.io/component-emitter/3.1.0: 31 | resolution: {integrity: sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz} 32 | name: '@socket.io/component-emitter' 33 | version: 3.1.0 34 | dev: false 35 | 36 | registry.npmmirror.com/@szmarczak/http-timer/1.1.2: 37 | resolution: {integrity: sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz} 38 | name: '@szmarczak/http-timer' 39 | version: 1.1.2 40 | engines: {node: '>=6'} 41 | dependencies: 42 | defer-to-connect: registry.npmmirror.com/defer-to-connect/1.1.3 43 | dev: true 44 | 45 | registry.npmmirror.com/@types/keyv/3.1.4: 46 | resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/keyv/-/keyv-3.1.4.tgz} 47 | name: '@types/keyv' 48 | version: 3.1.4 49 | dependencies: 50 | '@types/node': registry.npmmirror.com/@types/node/17.0.36 51 | dev: true 52 | 53 | registry.npmmirror.com/@types/node/17.0.36: 54 | resolution: {integrity: sha512-V3orv+ggDsWVHP99K3JlwtH20R7J4IhI1Kksgc+64q5VxgfRkQG8Ws3MFm/FZOKDYGy9feGFlZ70/HpCNe9QaA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/node/-/node-17.0.36.tgz} 55 | name: '@types/node' 56 | version: 17.0.36 57 | dev: true 58 | 59 | registry.npmmirror.com/@types/responselike/1.0.0: 60 | resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/responselike/-/responselike-1.0.0.tgz} 61 | name: '@types/responselike' 62 | version: 1.0.0 63 | dependencies: 64 | '@types/node': registry.npmmirror.com/@types/node/17.0.36 65 | dev: true 66 | 67 | registry.npmmirror.com/abbrev/1.1.1: 68 | resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/abbrev/-/abbrev-1.1.1.tgz} 69 | name: abbrev 70 | version: 1.1.1 71 | dev: true 72 | 73 | registry.npmmirror.com/ansi-align/3.0.1: 74 | resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ansi-align/-/ansi-align-3.0.1.tgz} 75 | name: ansi-align 76 | version: 3.0.1 77 | dependencies: 78 | string-width: registry.npmmirror.com/string-width/4.2.3 79 | dev: true 80 | 81 | registry.npmmirror.com/ansi-regex/5.0.1: 82 | resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz} 83 | name: ansi-regex 84 | version: 5.0.1 85 | engines: {node: '>=8'} 86 | dev: true 87 | 88 | registry.npmmirror.com/ansi-styles/4.3.0: 89 | resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz} 90 | name: ansi-styles 91 | version: 4.3.0 92 | engines: {node: '>=8'} 93 | dependencies: 94 | color-convert: registry.npmmirror.com/color-convert/2.0.1 95 | dev: true 96 | 97 | registry.npmmirror.com/anymatch/3.1.2: 98 | resolution: {integrity: sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/anymatch/-/anymatch-3.1.2.tgz} 99 | name: anymatch 100 | version: 3.1.2 101 | engines: {node: '>= 8'} 102 | dependencies: 103 | normalize-path: registry.npmmirror.com/normalize-path/3.0.0 104 | picomatch: registry.npmmirror.com/picomatch/2.3.1 105 | dev: true 106 | 107 | registry.npmmirror.com/arch/2.2.0: 108 | resolution: {integrity: sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/arch/-/arch-2.2.0.tgz} 109 | name: arch 110 | version: 2.2.0 111 | dev: false 112 | 113 | registry.npmmirror.com/balanced-match/1.0.2: 114 | resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz} 115 | name: balanced-match 116 | version: 1.0.2 117 | dev: true 118 | 119 | registry.npmmirror.com/binary-extensions/2.2.0: 120 | resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.2.0.tgz} 121 | name: binary-extensions 122 | version: 2.2.0 123 | engines: {node: '>=8'} 124 | dev: true 125 | 126 | registry.npmmirror.com/boxen/5.1.2: 127 | resolution: {integrity: sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/boxen/-/boxen-5.1.2.tgz} 128 | name: boxen 129 | version: 5.1.2 130 | engines: {node: '>=10'} 131 | dependencies: 132 | ansi-align: registry.npmmirror.com/ansi-align/3.0.1 133 | camelcase: registry.npmmirror.com/camelcase/6.3.0 134 | chalk: registry.npmmirror.com/chalk/4.1.2 135 | cli-boxes: registry.npmmirror.com/cli-boxes/2.2.1 136 | string-width: registry.npmmirror.com/string-width/4.2.3 137 | type-fest: registry.npmmirror.com/type-fest/0.20.2 138 | widest-line: registry.npmmirror.com/widest-line/3.1.0 139 | wrap-ansi: registry.npmmirror.com/wrap-ansi/7.0.0 140 | dev: true 141 | 142 | registry.npmmirror.com/brace-expansion/1.1.11: 143 | resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz} 144 | name: brace-expansion 145 | version: 1.1.11 146 | dependencies: 147 | balanced-match: registry.npmmirror.com/balanced-match/1.0.2 148 | concat-map: registry.npmmirror.com/concat-map/0.0.1 149 | dev: true 150 | 151 | registry.npmmirror.com/braces/3.0.2: 152 | resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/braces/-/braces-3.0.2.tgz} 153 | name: braces 154 | version: 3.0.2 155 | engines: {node: '>=8'} 156 | dependencies: 157 | fill-range: registry.npmmirror.com/fill-range/7.0.1 158 | dev: true 159 | 160 | registry.npmmirror.com/cacheable-request/6.1.0: 161 | resolution: {integrity: sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/cacheable-request/-/cacheable-request-6.1.0.tgz} 162 | name: cacheable-request 163 | version: 6.1.0 164 | engines: {node: '>=8'} 165 | dependencies: 166 | clone-response: registry.npmmirror.com/clone-response/1.0.2 167 | get-stream: registry.npmmirror.com/get-stream/5.2.0 168 | http-cache-semantics: registry.npmmirror.com/http-cache-semantics/4.1.0 169 | keyv: registry.npmmirror.com/keyv/3.1.0 170 | lowercase-keys: registry.npmmirror.com/lowercase-keys/2.0.0 171 | normalize-url: registry.npmmirror.com/normalize-url/4.5.1 172 | responselike: registry.npmmirror.com/responselike/1.0.2 173 | dev: true 174 | 175 | registry.npmmirror.com/camelcase/6.3.0: 176 | resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/camelcase/-/camelcase-6.3.0.tgz} 177 | name: camelcase 178 | version: 6.3.0 179 | engines: {node: '>=10'} 180 | dev: true 181 | 182 | registry.npmmirror.com/chalk/4.1.2: 183 | resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz} 184 | name: chalk 185 | version: 4.1.2 186 | engines: {node: '>=10'} 187 | dependencies: 188 | ansi-styles: registry.npmmirror.com/ansi-styles/4.3.0 189 | supports-color: registry.npmmirror.com/supports-color/7.2.0 190 | dev: true 191 | 192 | registry.npmmirror.com/chokidar/3.5.3: 193 | resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz} 194 | name: chokidar 195 | version: 3.5.3 196 | engines: {node: '>= 8.10.0'} 197 | dependencies: 198 | anymatch: registry.npmmirror.com/anymatch/3.1.2 199 | braces: registry.npmmirror.com/braces/3.0.2 200 | glob-parent: registry.npmmirror.com/glob-parent/5.1.2 201 | is-binary-path: registry.npmmirror.com/is-binary-path/2.1.0 202 | is-glob: registry.npmmirror.com/is-glob/4.0.3 203 | normalize-path: registry.npmmirror.com/normalize-path/3.0.0 204 | readdirp: registry.npmmirror.com/readdirp/3.6.0 205 | optionalDependencies: 206 | fsevents: registry.npmmirror.com/fsevents/2.3.2 207 | dev: true 208 | 209 | registry.npmmirror.com/ci-info/2.0.0: 210 | resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ci-info/-/ci-info-2.0.0.tgz} 211 | name: ci-info 212 | version: 2.0.0 213 | dev: true 214 | 215 | registry.npmmirror.com/cli-boxes/2.2.1: 216 | resolution: {integrity: sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/cli-boxes/-/cli-boxes-2.2.1.tgz} 217 | name: cli-boxes 218 | version: 2.2.1 219 | engines: {node: '>=6'} 220 | dev: true 221 | 222 | registry.npmmirror.com/clipboardy/3.0.0: 223 | resolution: {integrity: sha512-Su+uU5sr1jkUy1sGRpLKjKrvEOVXgSgiSInwa/qeID6aJ07yh+5NWc3h2QfjHjBnfX4LhtFcuAWKUsJ3r+fjbg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/clipboardy/-/clipboardy-3.0.0.tgz} 224 | name: clipboardy 225 | version: 3.0.0 226 | engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} 227 | dependencies: 228 | arch: registry.npmmirror.com/arch/2.2.0 229 | execa: registry.npmmirror.com/execa/5.1.1 230 | is-wsl: registry.npmmirror.com/is-wsl/2.2.0 231 | dev: false 232 | 233 | registry.npmmirror.com/clone-response/1.0.2: 234 | resolution: {integrity: sha512-yjLXh88P599UOyPTFX0POsd7WxnbsVsGohcwzHOLspIhhpalPw1BcqED8NblyZLKcGrL8dTgMlcaZxV2jAD41Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/clone-response/-/clone-response-1.0.2.tgz} 235 | name: clone-response 236 | version: 1.0.2 237 | dependencies: 238 | mimic-response: registry.npmmirror.com/mimic-response/1.0.1 239 | dev: true 240 | 241 | registry.npmmirror.com/color-convert/2.0.1: 242 | resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz} 243 | name: color-convert 244 | version: 2.0.1 245 | engines: {node: '>=7.0.0'} 246 | dependencies: 247 | color-name: registry.npmmirror.com/color-name/1.1.4 248 | dev: true 249 | 250 | registry.npmmirror.com/color-name/1.1.4: 251 | resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz} 252 | name: color-name 253 | version: 1.1.4 254 | dev: true 255 | 256 | registry.npmmirror.com/concat-map/0.0.1: 257 | resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz} 258 | name: concat-map 259 | version: 0.0.1 260 | dev: true 261 | 262 | registry.npmmirror.com/configstore/5.0.1: 263 | resolution: {integrity: sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/configstore/-/configstore-5.0.1.tgz} 264 | name: configstore 265 | version: 5.0.1 266 | engines: {node: '>=8'} 267 | dependencies: 268 | dot-prop: registry.npmmirror.com/dot-prop/5.3.0 269 | graceful-fs: registry.npmmirror.com/graceful-fs/4.2.10 270 | make-dir: registry.npmmirror.com/make-dir/3.1.0 271 | unique-string: registry.npmmirror.com/unique-string/2.0.0 272 | write-file-atomic: registry.npmmirror.com/write-file-atomic/3.0.3 273 | xdg-basedir: registry.npmmirror.com/xdg-basedir/4.0.0 274 | dev: true 275 | 276 | registry.npmmirror.com/cross-spawn/7.0.3: 277 | resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.3.tgz} 278 | name: cross-spawn 279 | version: 7.0.3 280 | engines: {node: '>= 8'} 281 | dependencies: 282 | path-key: registry.npmmirror.com/path-key/3.1.1 283 | shebang-command: registry.npmmirror.com/shebang-command/2.0.0 284 | which: registry.npmmirror.com/which/2.0.2 285 | dev: false 286 | 287 | registry.npmmirror.com/crypto-random-string/2.0.0: 288 | resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz} 289 | name: crypto-random-string 290 | version: 2.0.0 291 | engines: {node: '>=8'} 292 | dev: true 293 | 294 | registry.npmmirror.com/debug/3.2.7_supports-color@5.5.0: 295 | resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz} 296 | id: registry.npmmirror.com/debug/3.2.7 297 | name: debug 298 | version: 3.2.7 299 | peerDependencies: 300 | supports-color: '*' 301 | peerDependenciesMeta: 302 | supports-color: 303 | optional: true 304 | dependencies: 305 | ms: registry.npmmirror.com/ms/2.1.3 306 | supports-color: registry.npmmirror.com/supports-color/5.5.0 307 | dev: true 308 | 309 | registry.npmmirror.com/debug/4.3.4: 310 | resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz} 311 | name: debug 312 | version: 4.3.4 313 | engines: {node: '>=6.0'} 314 | peerDependencies: 315 | supports-color: '*' 316 | peerDependenciesMeta: 317 | supports-color: 318 | optional: true 319 | dependencies: 320 | ms: registry.npmmirror.com/ms/2.1.2 321 | dev: false 322 | 323 | registry.npmmirror.com/decompress-response/3.3.0: 324 | resolution: {integrity: sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/decompress-response/-/decompress-response-3.3.0.tgz} 325 | name: decompress-response 326 | version: 3.3.0 327 | engines: {node: '>=4'} 328 | dependencies: 329 | mimic-response: registry.npmmirror.com/mimic-response/1.0.1 330 | dev: true 331 | 332 | registry.npmmirror.com/deep-extend/0.6.0: 333 | resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/deep-extend/-/deep-extend-0.6.0.tgz} 334 | name: deep-extend 335 | version: 0.6.0 336 | engines: {node: '>=4.0.0'} 337 | dev: true 338 | 339 | registry.npmmirror.com/defer-to-connect/1.1.3: 340 | resolution: {integrity: sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz} 341 | name: defer-to-connect 342 | version: 1.1.3 343 | dev: true 344 | 345 | registry.npmmirror.com/dot-prop/5.3.0: 346 | resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/dot-prop/-/dot-prop-5.3.0.tgz} 347 | name: dot-prop 348 | version: 5.3.0 349 | engines: {node: '>=8'} 350 | dependencies: 351 | is-obj: registry.npmmirror.com/is-obj/2.0.0 352 | dev: true 353 | 354 | registry.npmmirror.com/dotenv/16.0.1: 355 | resolution: {integrity: sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/dotenv/-/dotenv-16.0.1.tgz} 356 | name: dotenv 357 | version: 16.0.1 358 | engines: {node: '>=12'} 359 | dev: false 360 | 361 | registry.npmmirror.com/duplexer3/0.1.4: 362 | resolution: {integrity: sha512-CEj8FwwNA4cVH2uFCoHUrmojhYh1vmCdOaneKJXwkeY1i9jnlslVo9dx+hQ5Hl9GnH/Bwy/IjxAyOePyPKYnzA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/duplexer3/-/duplexer3-0.1.4.tgz} 363 | name: duplexer3 364 | version: 0.1.4 365 | dev: true 366 | 367 | registry.npmmirror.com/emoji-regex/8.0.0: 368 | resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz} 369 | name: emoji-regex 370 | version: 8.0.0 371 | dev: true 372 | 373 | registry.npmmirror.com/end-of-stream/1.4.4: 374 | resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/end-of-stream/-/end-of-stream-1.4.4.tgz} 375 | name: end-of-stream 376 | version: 1.4.4 377 | dependencies: 378 | once: registry.npmmirror.com/once/1.4.0 379 | dev: true 380 | 381 | registry.npmmirror.com/engine.io-client/6.2.2: 382 | resolution: {integrity: sha512-8ZQmx0LQGRTYkHuogVZuGSpDqYZtCM/nv8zQ68VZ+JkOpazJ7ICdsSpaO6iXwvaU30oFg5QJOJWj8zWqhbKjkQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/engine.io-client/-/engine.io-client-6.2.2.tgz} 383 | name: engine.io-client 384 | version: 6.2.2 385 | dependencies: 386 | '@socket.io/component-emitter': registry.npmmirror.com/@socket.io/component-emitter/3.1.0 387 | debug: registry.npmmirror.com/debug/4.3.4 388 | engine.io-parser: registry.npmmirror.com/engine.io-parser/5.0.4 389 | ws: registry.npmmirror.com/ws/8.2.3 390 | xmlhttprequest-ssl: registry.npmmirror.com/xmlhttprequest-ssl/2.0.0 391 | transitivePeerDependencies: 392 | - bufferutil 393 | - supports-color 394 | - utf-8-validate 395 | dev: false 396 | 397 | registry.npmmirror.com/engine.io-parser/5.0.4: 398 | resolution: {integrity: sha512-+nVFp+5z1E3HcToEnO7ZIj3g+3k9389DvWtvJZz0T6/eOCPIyyxehFcedoYrZQrp0LgQbD9pPXhpMBKMd5QURg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/engine.io-parser/-/engine.io-parser-5.0.4.tgz} 399 | name: engine.io-parser 400 | version: 5.0.4 401 | engines: {node: '>=10.0.0'} 402 | dev: false 403 | 404 | registry.npmmirror.com/escape-goat/2.1.1: 405 | resolution: {integrity: sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/escape-goat/-/escape-goat-2.1.1.tgz} 406 | name: escape-goat 407 | version: 2.1.1 408 | engines: {node: '>=8'} 409 | dev: true 410 | 411 | registry.npmmirror.com/execa/5.1.1: 412 | resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/execa/-/execa-5.1.1.tgz} 413 | name: execa 414 | version: 5.1.1 415 | engines: {node: '>=10'} 416 | dependencies: 417 | cross-spawn: registry.npmmirror.com/cross-spawn/7.0.3 418 | get-stream: registry.npmmirror.com/get-stream/6.0.1 419 | human-signals: registry.npmmirror.com/human-signals/2.1.0 420 | is-stream: registry.npmmirror.com/is-stream/2.0.1 421 | merge-stream: registry.npmmirror.com/merge-stream/2.0.0 422 | npm-run-path: registry.npmmirror.com/npm-run-path/4.0.1 423 | onetime: registry.npmmirror.com/onetime/5.1.2 424 | signal-exit: registry.npmmirror.com/signal-exit/3.0.7 425 | strip-final-newline: registry.npmmirror.com/strip-final-newline/2.0.0 426 | dev: false 427 | 428 | registry.npmmirror.com/fill-range/7.0.1: 429 | resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz} 430 | name: fill-range 431 | version: 7.0.1 432 | engines: {node: '>=8'} 433 | dependencies: 434 | to-regex-range: registry.npmmirror.com/to-regex-range/5.0.1 435 | dev: true 436 | 437 | registry.npmmirror.com/fsevents/2.3.2: 438 | resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz} 439 | name: fsevents 440 | version: 2.3.2 441 | engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} 442 | os: [darwin] 443 | requiresBuild: true 444 | dev: true 445 | optional: true 446 | 447 | registry.npmmirror.com/get-stream/4.1.0: 448 | resolution: {integrity: sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-stream/-/get-stream-4.1.0.tgz} 449 | name: get-stream 450 | version: 4.1.0 451 | engines: {node: '>=6'} 452 | dependencies: 453 | pump: registry.npmmirror.com/pump/3.0.0 454 | dev: true 455 | 456 | registry.npmmirror.com/get-stream/5.2.0: 457 | resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-stream/-/get-stream-5.2.0.tgz} 458 | name: get-stream 459 | version: 5.2.0 460 | engines: {node: '>=8'} 461 | dependencies: 462 | pump: registry.npmmirror.com/pump/3.0.0 463 | dev: true 464 | 465 | registry.npmmirror.com/get-stream/6.0.1: 466 | resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-stream/-/get-stream-6.0.1.tgz} 467 | name: get-stream 468 | version: 6.0.1 469 | engines: {node: '>=10'} 470 | dev: false 471 | 472 | registry.npmmirror.com/glob-parent/5.1.2: 473 | resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz} 474 | name: glob-parent 475 | version: 5.1.2 476 | engines: {node: '>= 6'} 477 | dependencies: 478 | is-glob: registry.npmmirror.com/is-glob/4.0.3 479 | dev: true 480 | 481 | registry.npmmirror.com/global-dirs/3.0.0: 482 | resolution: {integrity: sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/global-dirs/-/global-dirs-3.0.0.tgz} 483 | name: global-dirs 484 | version: 3.0.0 485 | engines: {node: '>=10'} 486 | dependencies: 487 | ini: registry.npmmirror.com/ini/2.0.0 488 | dev: true 489 | 490 | registry.npmmirror.com/got/9.6.0: 491 | resolution: {integrity: sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/got/-/got-9.6.0.tgz} 492 | name: got 493 | version: 9.6.0 494 | engines: {node: '>=8.6'} 495 | dependencies: 496 | '@sindresorhus/is': registry.npmmirror.com/@sindresorhus/is/0.14.0 497 | '@szmarczak/http-timer': registry.npmmirror.com/@szmarczak/http-timer/1.1.2 498 | '@types/keyv': registry.npmmirror.com/@types/keyv/3.1.4 499 | '@types/responselike': registry.npmmirror.com/@types/responselike/1.0.0 500 | cacheable-request: registry.npmmirror.com/cacheable-request/6.1.0 501 | decompress-response: registry.npmmirror.com/decompress-response/3.3.0 502 | duplexer3: registry.npmmirror.com/duplexer3/0.1.4 503 | get-stream: registry.npmmirror.com/get-stream/4.1.0 504 | lowercase-keys: registry.npmmirror.com/lowercase-keys/1.0.1 505 | mimic-response: registry.npmmirror.com/mimic-response/1.0.1 506 | p-cancelable: registry.npmmirror.com/p-cancelable/1.1.0 507 | to-readable-stream: registry.npmmirror.com/to-readable-stream/1.0.0 508 | url-parse-lax: registry.npmmirror.com/url-parse-lax/3.0.0 509 | dev: true 510 | 511 | registry.npmmirror.com/graceful-fs/4.2.10: 512 | resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.10.tgz} 513 | name: graceful-fs 514 | version: 4.2.10 515 | dev: true 516 | 517 | registry.npmmirror.com/growly/1.3.0: 518 | resolution: {integrity: sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/growly/-/growly-1.3.0.tgz} 519 | name: growly 520 | version: 1.3.0 521 | dev: false 522 | 523 | registry.npmmirror.com/has-flag/3.0.0: 524 | resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/has-flag/-/has-flag-3.0.0.tgz} 525 | name: has-flag 526 | version: 3.0.0 527 | engines: {node: '>=4'} 528 | dev: true 529 | 530 | registry.npmmirror.com/has-flag/4.0.0: 531 | resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz} 532 | name: has-flag 533 | version: 4.0.0 534 | engines: {node: '>=8'} 535 | dev: true 536 | 537 | registry.npmmirror.com/has-yarn/2.1.0: 538 | resolution: {integrity: sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/has-yarn/-/has-yarn-2.1.0.tgz} 539 | name: has-yarn 540 | version: 2.1.0 541 | engines: {node: '>=8'} 542 | dev: true 543 | 544 | registry.npmmirror.com/http-cache-semantics/4.1.0: 545 | resolution: {integrity: sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz} 546 | name: http-cache-semantics 547 | version: 4.1.0 548 | dev: true 549 | 550 | registry.npmmirror.com/human-signals/2.1.0: 551 | resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/human-signals/-/human-signals-2.1.0.tgz} 552 | name: human-signals 553 | version: 2.1.0 554 | engines: {node: '>=10.17.0'} 555 | dev: false 556 | 557 | registry.npmmirror.com/ignore-by-default/1.0.1: 558 | resolution: {integrity: sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz} 559 | name: ignore-by-default 560 | version: 1.0.1 561 | dev: true 562 | 563 | registry.npmmirror.com/import-lazy/2.1.0: 564 | resolution: {integrity: sha512-m7ZEHgtw69qOGw+jwxXkHlrlIPdTGkyh66zXZ1ajZbxkDBNjSY/LGbmjc7h0s2ELsUDTAhFr55TrPSSqJGPG0A==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/import-lazy/-/import-lazy-2.1.0.tgz} 565 | name: import-lazy 566 | version: 2.1.0 567 | engines: {node: '>=4'} 568 | dev: true 569 | 570 | registry.npmmirror.com/imurmurhash/0.1.4: 571 | resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/imurmurhash/-/imurmurhash-0.1.4.tgz} 572 | name: imurmurhash 573 | version: 0.1.4 574 | engines: {node: '>=0.8.19'} 575 | dev: true 576 | 577 | registry.npmmirror.com/ini/1.3.8: 578 | resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ini/-/ini-1.3.8.tgz} 579 | name: ini 580 | version: 1.3.8 581 | dev: true 582 | 583 | registry.npmmirror.com/ini/2.0.0: 584 | resolution: {integrity: sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ini/-/ini-2.0.0.tgz} 585 | name: ini 586 | version: 2.0.0 587 | engines: {node: '>=10'} 588 | dev: true 589 | 590 | registry.npmmirror.com/is-binary-path/2.1.0: 591 | resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz} 592 | name: is-binary-path 593 | version: 2.1.0 594 | engines: {node: '>=8'} 595 | dependencies: 596 | binary-extensions: registry.npmmirror.com/binary-extensions/2.2.0 597 | dev: true 598 | 599 | registry.npmmirror.com/is-ci/2.0.0: 600 | resolution: {integrity: sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-ci/-/is-ci-2.0.0.tgz} 601 | name: is-ci 602 | version: 2.0.0 603 | hasBin: true 604 | dependencies: 605 | ci-info: registry.npmmirror.com/ci-info/2.0.0 606 | dev: true 607 | 608 | registry.npmmirror.com/is-docker/2.2.1: 609 | resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-docker/-/is-docker-2.2.1.tgz} 610 | name: is-docker 611 | version: 2.2.1 612 | engines: {node: '>=8'} 613 | hasBin: true 614 | dev: false 615 | 616 | registry.npmmirror.com/is-extglob/2.1.1: 617 | resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz} 618 | name: is-extglob 619 | version: 2.1.1 620 | engines: {node: '>=0.10.0'} 621 | dev: true 622 | 623 | registry.npmmirror.com/is-fullwidth-code-point/3.0.0: 624 | resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz} 625 | name: is-fullwidth-code-point 626 | version: 3.0.0 627 | engines: {node: '>=8'} 628 | dev: true 629 | 630 | registry.npmmirror.com/is-glob/4.0.3: 631 | resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz} 632 | name: is-glob 633 | version: 4.0.3 634 | engines: {node: '>=0.10.0'} 635 | dependencies: 636 | is-extglob: registry.npmmirror.com/is-extglob/2.1.1 637 | dev: true 638 | 639 | registry.npmmirror.com/is-installed-globally/0.4.0: 640 | resolution: {integrity: sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-installed-globally/-/is-installed-globally-0.4.0.tgz} 641 | name: is-installed-globally 642 | version: 0.4.0 643 | engines: {node: '>=10'} 644 | dependencies: 645 | global-dirs: registry.npmmirror.com/global-dirs/3.0.0 646 | is-path-inside: registry.npmmirror.com/is-path-inside/3.0.3 647 | dev: true 648 | 649 | registry.npmmirror.com/is-npm/5.0.0: 650 | resolution: {integrity: sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-npm/-/is-npm-5.0.0.tgz} 651 | name: is-npm 652 | version: 5.0.0 653 | engines: {node: '>=10'} 654 | dev: true 655 | 656 | registry.npmmirror.com/is-number/7.0.0: 657 | resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz} 658 | name: is-number 659 | version: 7.0.0 660 | engines: {node: '>=0.12.0'} 661 | dev: true 662 | 663 | registry.npmmirror.com/is-obj/2.0.0: 664 | resolution: {integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-obj/-/is-obj-2.0.0.tgz} 665 | name: is-obj 666 | version: 2.0.0 667 | engines: {node: '>=8'} 668 | dev: true 669 | 670 | registry.npmmirror.com/is-path-inside/3.0.3: 671 | resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-path-inside/-/is-path-inside-3.0.3.tgz} 672 | name: is-path-inside 673 | version: 3.0.3 674 | engines: {node: '>=8'} 675 | dev: true 676 | 677 | registry.npmmirror.com/is-stream/2.0.1: 678 | resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz} 679 | name: is-stream 680 | version: 2.0.1 681 | engines: {node: '>=8'} 682 | dev: false 683 | 684 | registry.npmmirror.com/is-typedarray/1.0.0: 685 | resolution: {integrity: sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-typedarray/-/is-typedarray-1.0.0.tgz} 686 | name: is-typedarray 687 | version: 1.0.0 688 | dev: true 689 | 690 | registry.npmmirror.com/is-wsl/2.2.0: 691 | resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-wsl/-/is-wsl-2.2.0.tgz} 692 | name: is-wsl 693 | version: 2.2.0 694 | engines: {node: '>=8'} 695 | dependencies: 696 | is-docker: registry.npmmirror.com/is-docker/2.2.1 697 | dev: false 698 | 699 | registry.npmmirror.com/is-yarn-global/0.3.0: 700 | resolution: {integrity: sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz} 701 | name: is-yarn-global 702 | version: 0.3.0 703 | dev: true 704 | 705 | registry.npmmirror.com/isexe/2.0.0: 706 | resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/isexe/-/isexe-2.0.0.tgz} 707 | name: isexe 708 | version: 2.0.0 709 | dev: false 710 | 711 | registry.npmmirror.com/json-buffer/3.0.0: 712 | resolution: {integrity: sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/json-buffer/-/json-buffer-3.0.0.tgz} 713 | name: json-buffer 714 | version: 3.0.0 715 | dev: true 716 | 717 | registry.npmmirror.com/keyv/3.1.0: 718 | resolution: {integrity: sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/keyv/-/keyv-3.1.0.tgz} 719 | name: keyv 720 | version: 3.1.0 721 | dependencies: 722 | json-buffer: registry.npmmirror.com/json-buffer/3.0.0 723 | dev: true 724 | 725 | registry.npmmirror.com/latest-version/5.1.0: 726 | resolution: {integrity: sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/latest-version/-/latest-version-5.1.0.tgz} 727 | name: latest-version 728 | version: 5.1.0 729 | engines: {node: '>=8'} 730 | dependencies: 731 | package-json: registry.npmmirror.com/package-json/6.5.0 732 | dev: true 733 | 734 | registry.npmmirror.com/lodash/4.17.21: 735 | resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz} 736 | name: lodash 737 | version: 4.17.21 738 | dev: false 739 | 740 | registry.npmmirror.com/lowercase-keys/1.0.1: 741 | resolution: {integrity: sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz} 742 | name: lowercase-keys 743 | version: 1.0.1 744 | engines: {node: '>=0.10.0'} 745 | dev: true 746 | 747 | registry.npmmirror.com/lowercase-keys/2.0.0: 748 | resolution: {integrity: sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz} 749 | name: lowercase-keys 750 | version: 2.0.0 751 | engines: {node: '>=8'} 752 | dev: true 753 | 754 | registry.npmmirror.com/lru-cache/6.0.0: 755 | resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz} 756 | name: lru-cache 757 | version: 6.0.0 758 | engines: {node: '>=10'} 759 | dependencies: 760 | yallist: registry.npmmirror.com/yallist/4.0.0 761 | 762 | registry.npmmirror.com/make-dir/3.1.0: 763 | resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/make-dir/-/make-dir-3.1.0.tgz} 764 | name: make-dir 765 | version: 3.1.0 766 | engines: {node: '>=8'} 767 | dependencies: 768 | semver: registry.npmmirror.com/semver/6.3.0 769 | dev: true 770 | 771 | registry.npmmirror.com/merge-stream/2.0.0: 772 | resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz} 773 | name: merge-stream 774 | version: 2.0.0 775 | dev: false 776 | 777 | registry.npmmirror.com/mimic-fn/2.1.0: 778 | resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/mimic-fn/-/mimic-fn-2.1.0.tgz} 779 | name: mimic-fn 780 | version: 2.1.0 781 | engines: {node: '>=6'} 782 | dev: false 783 | 784 | registry.npmmirror.com/mimic-response/1.0.1: 785 | resolution: {integrity: sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/mimic-response/-/mimic-response-1.0.1.tgz} 786 | name: mimic-response 787 | version: 1.0.1 788 | engines: {node: '>=4'} 789 | dev: true 790 | 791 | registry.npmmirror.com/minimatch/3.1.2: 792 | resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz} 793 | name: minimatch 794 | version: 3.1.2 795 | dependencies: 796 | brace-expansion: registry.npmmirror.com/brace-expansion/1.1.11 797 | dev: true 798 | 799 | registry.npmmirror.com/minimist/1.2.6: 800 | resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/minimist/-/minimist-1.2.6.tgz} 801 | name: minimist 802 | version: 1.2.6 803 | dev: true 804 | 805 | registry.npmmirror.com/ms/2.1.2: 806 | resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz} 807 | name: ms 808 | version: 2.1.2 809 | dev: false 810 | 811 | registry.npmmirror.com/ms/2.1.3: 812 | resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ms/-/ms-2.1.3.tgz} 813 | name: ms 814 | version: 2.1.3 815 | dev: true 816 | 817 | registry.npmmirror.com/node-notifier/10.0.1: 818 | resolution: {integrity: sha512-YX7TSyDukOZ0g+gmzjB6abKu+hTGvO8+8+gIFDsRCU2t8fLV/P2unmt+LGFaIa4y64aX98Qksa97rgz4vMNeLQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/node-notifier/-/node-notifier-10.0.1.tgz} 819 | name: node-notifier 820 | version: 10.0.1 821 | dependencies: 822 | growly: registry.npmmirror.com/growly/1.3.0 823 | is-wsl: registry.npmmirror.com/is-wsl/2.2.0 824 | semver: registry.npmmirror.com/semver/7.3.7 825 | shellwords: registry.npmmirror.com/shellwords/0.1.1 826 | uuid: registry.npmmirror.com/uuid/8.3.2 827 | which: registry.npmmirror.com/which/2.0.2 828 | dev: false 829 | 830 | registry.npmmirror.com/nodemon/2.0.16: 831 | resolution: {integrity: sha512-zsrcaOfTWRuUzBn3P44RDliLlp263Z/76FPoHFr3cFFkOz0lTPAcIw8dCzfdVIx/t3AtDYCZRCDkoCojJqaG3w==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/nodemon/-/nodemon-2.0.16.tgz} 832 | name: nodemon 833 | version: 2.0.16 834 | engines: {node: '>=8.10.0'} 835 | hasBin: true 836 | requiresBuild: true 837 | dependencies: 838 | chokidar: registry.npmmirror.com/chokidar/3.5.3 839 | debug: registry.npmmirror.com/debug/3.2.7_supports-color@5.5.0 840 | ignore-by-default: registry.npmmirror.com/ignore-by-default/1.0.1 841 | minimatch: registry.npmmirror.com/minimatch/3.1.2 842 | pstree.remy: registry.npmmirror.com/pstree.remy/1.1.8 843 | semver: registry.npmmirror.com/semver/5.7.1 844 | supports-color: registry.npmmirror.com/supports-color/5.5.0 845 | touch: registry.npmmirror.com/touch/3.1.0 846 | undefsafe: registry.npmmirror.com/undefsafe/2.0.5 847 | update-notifier: registry.npmmirror.com/update-notifier/5.1.0 848 | dev: true 849 | 850 | registry.npmmirror.com/nopt/1.0.10: 851 | resolution: {integrity: sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/nopt/-/nopt-1.0.10.tgz} 852 | name: nopt 853 | version: 1.0.10 854 | hasBin: true 855 | dependencies: 856 | abbrev: registry.npmmirror.com/abbrev/1.1.1 857 | dev: true 858 | 859 | registry.npmmirror.com/normalize-path/3.0.0: 860 | resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz} 861 | name: normalize-path 862 | version: 3.0.0 863 | engines: {node: '>=0.10.0'} 864 | dev: true 865 | 866 | registry.npmmirror.com/normalize-url/4.5.1: 867 | resolution: {integrity: sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/normalize-url/-/normalize-url-4.5.1.tgz} 868 | name: normalize-url 869 | version: 4.5.1 870 | engines: {node: '>=8'} 871 | dev: true 872 | 873 | registry.npmmirror.com/npm-run-path/4.0.1: 874 | resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/npm-run-path/-/npm-run-path-4.0.1.tgz} 875 | name: npm-run-path 876 | version: 4.0.1 877 | engines: {node: '>=8'} 878 | dependencies: 879 | path-key: registry.npmmirror.com/path-key/3.1.1 880 | dev: false 881 | 882 | registry.npmmirror.com/once/1.4.0: 883 | resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/once/-/once-1.4.0.tgz} 884 | name: once 885 | version: 1.4.0 886 | dependencies: 887 | wrappy: registry.npmmirror.com/wrappy/1.0.2 888 | dev: true 889 | 890 | registry.npmmirror.com/onetime/5.1.2: 891 | resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/onetime/-/onetime-5.1.2.tgz} 892 | name: onetime 893 | version: 5.1.2 894 | engines: {node: '>=6'} 895 | dependencies: 896 | mimic-fn: registry.npmmirror.com/mimic-fn/2.1.0 897 | dev: false 898 | 899 | registry.npmmirror.com/p-cancelable/1.1.0: 900 | resolution: {integrity: sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/p-cancelable/-/p-cancelable-1.1.0.tgz} 901 | name: p-cancelable 902 | version: 1.1.0 903 | engines: {node: '>=6'} 904 | dev: true 905 | 906 | registry.npmmirror.com/package-json/6.5.0: 907 | resolution: {integrity: sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/package-json/-/package-json-6.5.0.tgz} 908 | name: package-json 909 | version: 6.5.0 910 | engines: {node: '>=8'} 911 | dependencies: 912 | got: registry.npmmirror.com/got/9.6.0 913 | registry-auth-token: registry.npmmirror.com/registry-auth-token/4.2.1 914 | registry-url: registry.npmmirror.com/registry-url/5.1.0 915 | semver: registry.npmmirror.com/semver/6.3.0 916 | dev: true 917 | 918 | registry.npmmirror.com/path-key/3.1.1: 919 | resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz} 920 | name: path-key 921 | version: 3.1.1 922 | engines: {node: '>=8'} 923 | dev: false 924 | 925 | registry.npmmirror.com/picomatch/2.3.1: 926 | resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz} 927 | name: picomatch 928 | version: 2.3.1 929 | engines: {node: '>=8.6'} 930 | dev: true 931 | 932 | registry.npmmirror.com/prepend-http/2.0.0: 933 | resolution: {integrity: sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/prepend-http/-/prepend-http-2.0.0.tgz} 934 | name: prepend-http 935 | version: 2.0.0 936 | engines: {node: '>=4'} 937 | dev: true 938 | 939 | registry.npmmirror.com/pstree.remy/1.1.8: 940 | resolution: {integrity: sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/pstree.remy/-/pstree.remy-1.1.8.tgz} 941 | name: pstree.remy 942 | version: 1.1.8 943 | dev: true 944 | 945 | registry.npmmirror.com/pump/3.0.0: 946 | resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/pump/-/pump-3.0.0.tgz} 947 | name: pump 948 | version: 3.0.0 949 | dependencies: 950 | end-of-stream: registry.npmmirror.com/end-of-stream/1.4.4 951 | once: registry.npmmirror.com/once/1.4.0 952 | dev: true 953 | 954 | registry.npmmirror.com/pupa/2.1.1: 955 | resolution: {integrity: sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/pupa/-/pupa-2.1.1.tgz} 956 | name: pupa 957 | version: 2.1.1 958 | engines: {node: '>=8'} 959 | dependencies: 960 | escape-goat: registry.npmmirror.com/escape-goat/2.1.1 961 | dev: true 962 | 963 | registry.npmmirror.com/rc/1.2.8: 964 | resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/rc/-/rc-1.2.8.tgz} 965 | name: rc 966 | version: 1.2.8 967 | hasBin: true 968 | dependencies: 969 | deep-extend: registry.npmmirror.com/deep-extend/0.6.0 970 | ini: registry.npmmirror.com/ini/1.3.8 971 | minimist: registry.npmmirror.com/minimist/1.2.6 972 | strip-json-comments: registry.npmmirror.com/strip-json-comments/2.0.1 973 | dev: true 974 | 975 | registry.npmmirror.com/readdirp/3.6.0: 976 | resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz} 977 | name: readdirp 978 | version: 3.6.0 979 | engines: {node: '>=8.10.0'} 980 | dependencies: 981 | picomatch: registry.npmmirror.com/picomatch/2.3.1 982 | dev: true 983 | 984 | registry.npmmirror.com/registry-auth-token/4.2.1: 985 | resolution: {integrity: sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/registry-auth-token/-/registry-auth-token-4.2.1.tgz} 986 | name: registry-auth-token 987 | version: 4.2.1 988 | engines: {node: '>=6.0.0'} 989 | dependencies: 990 | rc: registry.npmmirror.com/rc/1.2.8 991 | dev: true 992 | 993 | registry.npmmirror.com/registry-url/5.1.0: 994 | resolution: {integrity: sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/registry-url/-/registry-url-5.1.0.tgz} 995 | name: registry-url 996 | version: 5.1.0 997 | engines: {node: '>=8'} 998 | dependencies: 999 | rc: registry.npmmirror.com/rc/1.2.8 1000 | dev: true 1001 | 1002 | registry.npmmirror.com/responselike/1.0.2: 1003 | resolution: {integrity: sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/responselike/-/responselike-1.0.2.tgz} 1004 | name: responselike 1005 | version: 1.0.2 1006 | dependencies: 1007 | lowercase-keys: registry.npmmirror.com/lowercase-keys/1.0.1 1008 | dev: true 1009 | 1010 | registry.npmmirror.com/semver-diff/3.1.1: 1011 | resolution: {integrity: sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/semver-diff/-/semver-diff-3.1.1.tgz} 1012 | name: semver-diff 1013 | version: 3.1.1 1014 | engines: {node: '>=8'} 1015 | dependencies: 1016 | semver: registry.npmmirror.com/semver/6.3.0 1017 | dev: true 1018 | 1019 | registry.npmmirror.com/semver/5.7.1: 1020 | resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/semver/-/semver-5.7.1.tgz} 1021 | name: semver 1022 | version: 5.7.1 1023 | hasBin: true 1024 | dev: true 1025 | 1026 | registry.npmmirror.com/semver/6.3.0: 1027 | resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/semver/-/semver-6.3.0.tgz} 1028 | name: semver 1029 | version: 6.3.0 1030 | hasBin: true 1031 | dev: true 1032 | 1033 | registry.npmmirror.com/semver/7.3.7: 1034 | resolution: {integrity: sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/semver/-/semver-7.3.7.tgz} 1035 | name: semver 1036 | version: 7.3.7 1037 | engines: {node: '>=10'} 1038 | hasBin: true 1039 | dependencies: 1040 | lru-cache: registry.npmmirror.com/lru-cache/6.0.0 1041 | 1042 | registry.npmmirror.com/shebang-command/2.0.0: 1043 | resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz} 1044 | name: shebang-command 1045 | version: 2.0.0 1046 | engines: {node: '>=8'} 1047 | dependencies: 1048 | shebang-regex: registry.npmmirror.com/shebang-regex/3.0.0 1049 | dev: false 1050 | 1051 | registry.npmmirror.com/shebang-regex/3.0.0: 1052 | resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/shebang-regex/-/shebang-regex-3.0.0.tgz} 1053 | name: shebang-regex 1054 | version: 3.0.0 1055 | engines: {node: '>=8'} 1056 | dev: false 1057 | 1058 | registry.npmmirror.com/shellwords/0.1.1: 1059 | resolution: {integrity: sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/shellwords/-/shellwords-0.1.1.tgz} 1060 | name: shellwords 1061 | version: 0.1.1 1062 | dev: false 1063 | 1064 | registry.npmmirror.com/signal-exit/3.0.7: 1065 | resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/signal-exit/-/signal-exit-3.0.7.tgz} 1066 | name: signal-exit 1067 | version: 3.0.7 1068 | 1069 | registry.npmmirror.com/socket.io-client/4.5.1: 1070 | resolution: {integrity: sha512-e6nLVgiRYatS+AHXnOnGi4ocOpubvOUCGhyWw8v+/FxW8saHkinG6Dfhi9TU0Kt/8mwJIAASxvw6eujQmjdZVA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/socket.io-client/-/socket.io-client-4.5.1.tgz} 1071 | name: socket.io-client 1072 | version: 4.5.1 1073 | engines: {node: '>=10.0.0'} 1074 | dependencies: 1075 | '@socket.io/component-emitter': registry.npmmirror.com/@socket.io/component-emitter/3.1.0 1076 | debug: registry.npmmirror.com/debug/4.3.4 1077 | engine.io-client: registry.npmmirror.com/engine.io-client/6.2.2 1078 | socket.io-parser: registry.npmmirror.com/socket.io-parser/4.2.0 1079 | transitivePeerDependencies: 1080 | - bufferutil 1081 | - supports-color 1082 | - utf-8-validate 1083 | dev: false 1084 | 1085 | registry.npmmirror.com/socket.io-parser/4.2.0: 1086 | resolution: {integrity: sha512-tLfmEwcEwnlQTxFB7jibL/q2+q8dlVQzj4JdRLJ/W/G1+Fu9VSxCx1Lo+n1HvXxKnM//dUuD0xgiA7tQf57Vng==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/socket.io-parser/-/socket.io-parser-4.2.0.tgz} 1087 | name: socket.io-parser 1088 | version: 4.2.0 1089 | engines: {node: '>=10.0.0'} 1090 | dependencies: 1091 | '@socket.io/component-emitter': registry.npmmirror.com/@socket.io/component-emitter/3.1.0 1092 | debug: registry.npmmirror.com/debug/4.3.4 1093 | transitivePeerDependencies: 1094 | - supports-color 1095 | dev: false 1096 | 1097 | registry.npmmirror.com/string-width/4.2.3: 1098 | resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz} 1099 | name: string-width 1100 | version: 4.2.3 1101 | engines: {node: '>=8'} 1102 | dependencies: 1103 | emoji-regex: registry.npmmirror.com/emoji-regex/8.0.0 1104 | is-fullwidth-code-point: registry.npmmirror.com/is-fullwidth-code-point/3.0.0 1105 | strip-ansi: registry.npmmirror.com/strip-ansi/6.0.1 1106 | dev: true 1107 | 1108 | registry.npmmirror.com/strip-ansi/6.0.1: 1109 | resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz} 1110 | name: strip-ansi 1111 | version: 6.0.1 1112 | engines: {node: '>=8'} 1113 | dependencies: 1114 | ansi-regex: registry.npmmirror.com/ansi-regex/5.0.1 1115 | dev: true 1116 | 1117 | registry.npmmirror.com/strip-final-newline/2.0.0: 1118 | resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz} 1119 | name: strip-final-newline 1120 | version: 2.0.0 1121 | engines: {node: '>=6'} 1122 | dev: false 1123 | 1124 | registry.npmmirror.com/strip-json-comments/2.0.1: 1125 | resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz} 1126 | name: strip-json-comments 1127 | version: 2.0.1 1128 | engines: {node: '>=0.10.0'} 1129 | dev: true 1130 | 1131 | registry.npmmirror.com/supports-color/5.5.0: 1132 | resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/supports-color/-/supports-color-5.5.0.tgz} 1133 | name: supports-color 1134 | version: 5.5.0 1135 | engines: {node: '>=4'} 1136 | dependencies: 1137 | has-flag: registry.npmmirror.com/has-flag/3.0.0 1138 | dev: true 1139 | 1140 | registry.npmmirror.com/supports-color/7.2.0: 1141 | resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz} 1142 | name: supports-color 1143 | version: 7.2.0 1144 | engines: {node: '>=8'} 1145 | dependencies: 1146 | has-flag: registry.npmmirror.com/has-flag/4.0.0 1147 | dev: true 1148 | 1149 | registry.npmmirror.com/to-readable-stream/1.0.0: 1150 | resolution: {integrity: sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/to-readable-stream/-/to-readable-stream-1.0.0.tgz} 1151 | name: to-readable-stream 1152 | version: 1.0.0 1153 | engines: {node: '>=6'} 1154 | dev: true 1155 | 1156 | registry.npmmirror.com/to-regex-range/5.0.1: 1157 | resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz} 1158 | name: to-regex-range 1159 | version: 5.0.1 1160 | engines: {node: '>=8.0'} 1161 | dependencies: 1162 | is-number: registry.npmmirror.com/is-number/7.0.0 1163 | dev: true 1164 | 1165 | registry.npmmirror.com/touch/3.1.0: 1166 | resolution: {integrity: sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/touch/-/touch-3.1.0.tgz} 1167 | name: touch 1168 | version: 3.1.0 1169 | hasBin: true 1170 | dependencies: 1171 | nopt: registry.npmmirror.com/nopt/1.0.10 1172 | dev: true 1173 | 1174 | registry.npmmirror.com/type-fest/0.20.2: 1175 | resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/type-fest/-/type-fest-0.20.2.tgz} 1176 | name: type-fest 1177 | version: 0.20.2 1178 | engines: {node: '>=10'} 1179 | dev: true 1180 | 1181 | registry.npmmirror.com/typedarray-to-buffer/3.1.5: 1182 | resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz} 1183 | name: typedarray-to-buffer 1184 | version: 3.1.5 1185 | dependencies: 1186 | is-typedarray: registry.npmmirror.com/is-typedarray/1.0.0 1187 | dev: true 1188 | 1189 | registry.npmmirror.com/undefsafe/2.0.5: 1190 | resolution: {integrity: sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/undefsafe/-/undefsafe-2.0.5.tgz} 1191 | name: undefsafe 1192 | version: 2.0.5 1193 | dev: true 1194 | 1195 | registry.npmmirror.com/unique-string/2.0.0: 1196 | resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/unique-string/-/unique-string-2.0.0.tgz} 1197 | name: unique-string 1198 | version: 2.0.0 1199 | engines: {node: '>=8'} 1200 | dependencies: 1201 | crypto-random-string: registry.npmmirror.com/crypto-random-string/2.0.0 1202 | dev: true 1203 | 1204 | registry.npmmirror.com/update-notifier/5.1.0: 1205 | resolution: {integrity: sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/update-notifier/-/update-notifier-5.1.0.tgz} 1206 | name: update-notifier 1207 | version: 5.1.0 1208 | engines: {node: '>=10'} 1209 | dependencies: 1210 | boxen: registry.npmmirror.com/boxen/5.1.2 1211 | chalk: registry.npmmirror.com/chalk/4.1.2 1212 | configstore: registry.npmmirror.com/configstore/5.0.1 1213 | has-yarn: registry.npmmirror.com/has-yarn/2.1.0 1214 | import-lazy: registry.npmmirror.com/import-lazy/2.1.0 1215 | is-ci: registry.npmmirror.com/is-ci/2.0.0 1216 | is-installed-globally: registry.npmmirror.com/is-installed-globally/0.4.0 1217 | is-npm: registry.npmmirror.com/is-npm/5.0.0 1218 | is-yarn-global: registry.npmmirror.com/is-yarn-global/0.3.0 1219 | latest-version: registry.npmmirror.com/latest-version/5.1.0 1220 | pupa: registry.npmmirror.com/pupa/2.1.1 1221 | semver: registry.npmmirror.com/semver/7.3.7 1222 | semver-diff: registry.npmmirror.com/semver-diff/3.1.1 1223 | xdg-basedir: registry.npmmirror.com/xdg-basedir/4.0.0 1224 | dev: true 1225 | 1226 | registry.npmmirror.com/url-parse-lax/3.0.0: 1227 | resolution: {integrity: sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz} 1228 | name: url-parse-lax 1229 | version: 3.0.0 1230 | engines: {node: '>=4'} 1231 | dependencies: 1232 | prepend-http: registry.npmmirror.com/prepend-http/2.0.0 1233 | dev: true 1234 | 1235 | registry.npmmirror.com/uuid/8.3.2: 1236 | resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz} 1237 | name: uuid 1238 | version: 8.3.2 1239 | hasBin: true 1240 | dev: false 1241 | 1242 | registry.npmmirror.com/which/2.0.2: 1243 | resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/which/-/which-2.0.2.tgz} 1244 | name: which 1245 | version: 2.0.2 1246 | engines: {node: '>= 8'} 1247 | hasBin: true 1248 | dependencies: 1249 | isexe: registry.npmmirror.com/isexe/2.0.0 1250 | dev: false 1251 | 1252 | registry.npmmirror.com/widest-line/3.1.0: 1253 | resolution: {integrity: sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/widest-line/-/widest-line-3.1.0.tgz} 1254 | name: widest-line 1255 | version: 3.1.0 1256 | engines: {node: '>=8'} 1257 | dependencies: 1258 | string-width: registry.npmmirror.com/string-width/4.2.3 1259 | dev: true 1260 | 1261 | registry.npmmirror.com/wrap-ansi/7.0.0: 1262 | resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz} 1263 | name: wrap-ansi 1264 | version: 7.0.0 1265 | engines: {node: '>=10'} 1266 | dependencies: 1267 | ansi-styles: registry.npmmirror.com/ansi-styles/4.3.0 1268 | string-width: registry.npmmirror.com/string-width/4.2.3 1269 | strip-ansi: registry.npmmirror.com/strip-ansi/6.0.1 1270 | dev: true 1271 | 1272 | registry.npmmirror.com/wrappy/1.0.2: 1273 | resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz} 1274 | name: wrappy 1275 | version: 1.0.2 1276 | dev: true 1277 | 1278 | registry.npmmirror.com/write-file-atomic/3.0.3: 1279 | resolution: {integrity: sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz} 1280 | name: write-file-atomic 1281 | version: 3.0.3 1282 | dependencies: 1283 | imurmurhash: registry.npmmirror.com/imurmurhash/0.1.4 1284 | is-typedarray: registry.npmmirror.com/is-typedarray/1.0.0 1285 | signal-exit: registry.npmmirror.com/signal-exit/3.0.7 1286 | typedarray-to-buffer: registry.npmmirror.com/typedarray-to-buffer/3.1.5 1287 | dev: true 1288 | 1289 | registry.npmmirror.com/ws/8.2.3: 1290 | resolution: {integrity: sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ws/-/ws-8.2.3.tgz} 1291 | name: ws 1292 | version: 8.2.3 1293 | engines: {node: '>=10.0.0'} 1294 | peerDependencies: 1295 | bufferutil: ^4.0.1 1296 | utf-8-validate: ^5.0.2 1297 | peerDependenciesMeta: 1298 | bufferutil: 1299 | optional: true 1300 | utf-8-validate: 1301 | optional: true 1302 | dev: false 1303 | 1304 | registry.npmmirror.com/xdg-basedir/4.0.0: 1305 | resolution: {integrity: sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz} 1306 | name: xdg-basedir 1307 | version: 4.0.0 1308 | engines: {node: '>=8'} 1309 | dev: true 1310 | 1311 | registry.npmmirror.com/xmlhttprequest-ssl/2.0.0: 1312 | resolution: {integrity: sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz} 1313 | name: xmlhttprequest-ssl 1314 | version: 2.0.0 1315 | engines: {node: '>=0.4.0'} 1316 | dev: false 1317 | 1318 | registry.npmmirror.com/yallist/4.0.0: 1319 | resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz} 1320 | name: yallist 1321 | version: 4.0.0 1322 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "crypto-js": "^4.0.0", 4 | "got": "^11.5.1", 5 | "http-server": "^0.12.3", 6 | "iconv-lite": "^0.6.3", 7 | "lodash": "^4.17.21", 8 | "request": "^2.88.2", 9 | "tough-cookie": "^4.0.0" 10 | } 11 | } -------------------------------------------------------------------------------- /screenshots/0.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/0.PNG -------------------------------------------------------------------------------- /screenshots/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/10.jpg -------------------------------------------------------------------------------- /screenshots/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/11.png -------------------------------------------------------------------------------- /screenshots/12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/12.jpg -------------------------------------------------------------------------------- /screenshots/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/13.png -------------------------------------------------------------------------------- /screenshots/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/14.png -------------------------------------------------------------------------------- /screenshots/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/15.png -------------------------------------------------------------------------------- /screenshots/2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/2.PNG -------------------------------------------------------------------------------- /screenshots/3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/3.PNG -------------------------------------------------------------------------------- /screenshots/4.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/4.PNG -------------------------------------------------------------------------------- /screenshots/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/5.png -------------------------------------------------------------------------------- /screenshots/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/6.png -------------------------------------------------------------------------------- /screenshots/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/7.png -------------------------------------------------------------------------------- /screenshots/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/8.png -------------------------------------------------------------------------------- /screenshots/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/43d3247f6e99eaa9615d9fd7699f587cfe994418/screenshots/9.png -------------------------------------------------------------------------------- /server/.env-sample: -------------------------------------------------------------------------------- 1 | TOKEN="TOKEN" 2 | HOST="0.0.0.0" 3 | PORT=4000 -------------------------------------------------------------------------------- /server/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config() 2 | const _ = require('lodash') 3 | const bodyParser = require('body-parser') 4 | const app = require('express')() 5 | const http = require('http').Server(app) 6 | const io = require('socket.io')(http) 7 | 8 | const { TOKEN, HOST, PORT } = process.env 9 | io.use((socket, next) => { 10 | let token = socket.handshake.query.token 11 | if (token !== TOKEN) 12 | return next(new Error('invalid token')) 13 | return next() 14 | }) 15 | 16 | io.on('connection', socket => { 17 | console.log('connection') 18 | }) 19 | 20 | app.get('*', bodyParser.json(), async (req, res) => { 21 | const { path, query} = req 22 | console.log(`path`, path) 23 | console.log(`query`, query) 24 | const matched = path.match(/\/(.*?)\/(.*?)\/(.*)/i) 25 | console.log(`matched`, matched) 26 | let [__, token, title, body] = matched 27 | token = decodeURIComponent(token) 28 | title = decodeURIComponent(title) 29 | body = decodeURIComponent(body) 30 | console.log(`token`, token) 31 | console.log(`title`, title) 32 | console.log(`body`, body) 33 | 34 | if (token !== TOKEN) 35 | return res.status(403).send({ error: 'invalid token' }) 36 | try { 37 | 38 | const data = { title, body, ...query } 39 | io.emit('event', data) 40 | console.log(`emit`, data) 41 | 42 | res.send({ 43 | "code": 200, 44 | "message": "success", 45 | "timestamp": Math.round(new Date().getTime()/1000) 46 | }) 47 | } catch (e) { 48 | res.status(500).send({ 49 | "code": 500, 50 | "message": `${_.get(e, "message") || e}`, 51 | "timestamp": Math.round(new Date().getTime()/1000) 52 | }) 53 | } 54 | }) 55 | 56 | http.listen(PORT, HOST, () => { 57 | console.log(`listening on ${HOST}:${PORT}`) 58 | }) -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@sms-forward/server", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "index.js", 8 | "dev": "nodemon" 9 | }, 10 | "license": "GPL-3", 11 | "devDependencies": { 12 | "nodemon": "^2.0.16" 13 | }, 14 | "dependencies": { 15 | "body-parser": "^1.20.0", 16 | "dotenv": "^16.0.1", 17 | "express": "^4.18.1", 18 | "lodash": "^4.17.21", 19 | "socket.io": "^4.5.1" 20 | } 21 | } -------------------------------------------------------------------------------- /sms-forward.js: -------------------------------------------------------------------------------- 1 | const key = 'sms_forward' 2 | 3 | const config = { 4 | tencent: { 5 | sender: 'query.sender', 6 | text: 'query.message.text', 7 | }, 8 | 360: { 9 | sender: 'query.sender', 10 | text: 'query.message.text', 11 | }, 12 | } 13 | const $ = new Env(key) 14 | 15 | const KEY_INITED = `@ChinaTelecomOperators.${key}.inited` 16 | const KEY_TYPE = `@ChinaTelecomOperators.${key}.type` 17 | const KEY_KEYS = `@ChinaTelecomOperators.${key}.keys` 18 | 19 | const keys = `${$.getdata(KEY_KEYS) || ''}` 20 | .split(',') 21 | .map(i => i.trim()) 22 | .filter(i => i.length > 0) 23 | keys.unshift(key) 24 | $.log(`ℹ️ 所有配置的 key: ${keys.join(', ')}`) 25 | 26 | $.setdata(new Date().toLocaleString('zh'), KEY_INITED) 27 | 28 | let result 29 | 30 | !(async () => { 31 | const KEY_DISABLED = `@ChinaTelecomOperators.${key}.disabled` 32 | const disabled = $.getdata(KEY_DISABLED) 33 | 34 | if (String(disabled) === 'true') { 35 | $.log('ℹ️ 已禁用') 36 | return 37 | } 38 | const type = $.getdata(KEY_TYPE) || 'tencent' 39 | 40 | let input = $request.body 41 | $.log('ℹ️ 请求') 42 | $.log(input) 43 | try { 44 | input = JSON.parse(input) 45 | } catch (e) { 46 | console.log(e) 47 | throw new Error('解析请求失败') 48 | } 49 | $.log('ℹ️ 解析后的请求') 50 | $.log(input) 51 | let text 52 | let sender 53 | if (type === 'tencent') { 54 | text = $.lodash_get(input, $.lodash_get(config, `${type}.text`)) 55 | sender = $.lodash_get(input, $.lodash_get(config, `${type}.sender`)) 56 | } else if (type === '360') { 57 | text = $.lodash_get(input, $.lodash_get(config, `${type}.text`)) 58 | sender = $.lodash_get(input, $.lodash_get(config, `${type}.sender`)) 59 | } else { 60 | throw new Error(`不支持的类型: ${type}`) 61 | } 62 | sender = sender == null ? '' : `${sender}` 63 | text = text == null ? '' : `${text}` 64 | console.log(`号码 ${sender}`) 65 | console.log(`内容 ${text}`) 66 | 67 | const fn = async (key, index) => { 68 | $.log(`👉🏻 [${index}][${key}] 配置开始`) 69 | const KEY_DISABLED = `@ChinaTelecomOperators.${key}.disabled` 70 | const disabled = $.getdata(KEY_DISABLED) 71 | 72 | if (String(disabled) === 'true') { 73 | $.log(`👉🏻 [${index}][${key}] 配置已禁用`) 74 | return 75 | } 76 | 77 | const KEY_SENDER_ALLOW = `@ChinaTelecomOperators.${key}.sender_allow` 78 | const KEY_SENDER_DENY = `@ChinaTelecomOperators.${key}.sender_deny` 79 | const KEY_TEXT_ALLOW = `@ChinaTelecomOperators.${key}.text_allow` 80 | const KEY_TEXT_DENY = `@ChinaTelecomOperators.${key}.text_deny` 81 | 82 | const KEY_TITLE = `@ChinaTelecomOperators.${key}.title` 83 | const KEY_SUBTITLE = `@ChinaTelecomOperators.${key}.subtitle` 84 | const KEY_BODY = `@ChinaTelecomOperators.${key}.body` 85 | const KEY_BARK = `@ChinaTelecomOperators.${key}.bark` 86 | const KEY_PUSHDEER = `@ChinaTelecomOperators.${key}.pushdeer` 87 | 88 | const senderAllow = $.getdata(KEY_SENDER_ALLOW) || '' 89 | const senderAllowRegExp = new RegExp(senderAllow) 90 | const senderDeny = $.getdata(KEY_SENDER_DENY) || '' 91 | const senderDenyRegExp = new RegExp(senderDeny) 92 | const textAllow = $.getdata(KEY_TEXT_ALLOW) || '' 93 | const textAllowRegExp = new RegExp(textAllow) 94 | const textDeny = $.getdata(KEY_TEXT_DENY) || '' 95 | const textDenyRegExp = new RegExp(textDeny) 96 | 97 | let isSenderAllow = true 98 | let isTextAllow = true 99 | if (senderAllow) { 100 | console.log(`👉🏻 [${index}][${key}] 允许转发的号码的正则字符串 ${senderAllow}`) 101 | console.log(`👉🏻 [${index}][${key}] 允许转发的号码的正则 ${senderAllowRegExp}`) 102 | if (!senderAllowRegExp.test(sender)) { 103 | console.log(`👉🏻 [${index}][${key}] ${sender} 不符合允许转发的号码 ❌不会转发`) 104 | isSenderAllow = false 105 | } 106 | } else if (senderDeny) { 107 | console.log(`👉🏻 [${index}][${key}] 不允许转发的号码的正则字符串 ${senderDeny}`) 108 | console.log(`👉🏻 [${index}][${key}] 不允许转发的号码的正则 ${senderDenyRegExp}`) 109 | if (senderDenyRegExp.test(sender)) { 110 | console.log(`👉🏻 [${index}][${key}] ${sender} 符合不允许转发的号码 ❌不会转发`) 111 | isSenderAllow = false 112 | } 113 | } 114 | if (textAllow) { 115 | console.log(`👉🏻 [${index}][${key}] 允许转发的内容的正则字符串 ${textAllow}`) 116 | console.log(`👉🏻 [${index}][${key}] 允许转发的内容的正则 ${textAllowRegExp}`) 117 | if (!textAllowRegExp.test(text)) { 118 | console.log(`👉🏻 [${index}][${key}] ${text} 不符合允许转发的内容 ❌不会转发`) 119 | isTextAllow = false 120 | } 121 | } else if (textDeny) { 122 | console.log(`👉🏻 [${index}][${key}] 不允许转发的内容的正则字符串 ${textDeny}`) 123 | console.log(`👉🏻 [${index}][${key}] 不允许转发的内容的正则 ${textDenyRegExp}`) 124 | if (textDenyRegExp.test(text)) { 125 | console.log(`👉🏻 [${index}][${key}] ${text} 符合不允许转发的内容 ❌不会转发`) 126 | isTextAllow = false 127 | } 128 | } 129 | if (!isSenderAllow || !isTextAllow) { 130 | console.log('已判断号码和内容 ❌ 不会转发') 131 | return 132 | } 133 | const KEY_CODE_TEST = `@ChinaTelecomOperators.${key}.code_test` 134 | const KEY_CODE_GET = `@ChinaTelecomOperators.${key}.code_get` 135 | 136 | const codeTest = $.getdata(KEY_CODE_TEST) || '.+(码)' 137 | const codeTestRegExp = new RegExp(codeTest) 138 | const codeGet = $.getdata(KEY_CODE_GET) || '\\d{4,6}' 139 | const codeGetRegExp = new RegExp(codeGet) 140 | 141 | let hasCode 142 | let code 143 | if (codeTest) { 144 | console.log(`👉🏻 [${index}][${key}] 判断内容是否包含验证码的正则字符串 ${codeTest}`) 145 | console.log(`👉🏻 [${index}][${key}] 判断内容是否包含验证码的正则 ${codeTestRegExp}`) 146 | if (codeTestRegExp.test(text)) { 147 | console.log(`👉🏻 [${index}][${key}] ${text} 包含验证码 ✅`) 148 | hasCode = true 149 | if (codeGet) { 150 | console.log(`👉🏻 [${index}][${key}] 从内容提取验证码的正则字符串 ${codeGet}`) 151 | console.log(`👉🏻 [${index}][${key}] 从内容提取验证码的正则 ${codeGetRegExp}`) 152 | const matched = text.match(codeGetRegExp) 153 | if (matched) { 154 | code = matched[0] 155 | if (code) { 156 | console.log(`👉🏻 [${index}][${key}] ${text} 提取到验证码 ${code} ✅`) 157 | } 158 | } 159 | } 160 | } 161 | } 162 | let copy = text 163 | if (code) { 164 | console.log(`👉🏻 [${index}][${key}] 判断包含验证码 且提取到验证码 将复制验证码`) 165 | copy = code 166 | } 167 | console.log(`👉🏻 [${index}][${key}] 📋 复制的内容 ${copy}`) 168 | const msgData = { 169 | sender, 170 | text, 171 | hasCode, 172 | code, 173 | copy, 174 | } 175 | const titleTpl = $.getdata(KEY_TITLE) || '[号码]' 176 | const subtitleTpl = $.getdata(KEY_SUBTITLE) || '[码][复制提示]' 177 | const bodyTpl = $.getdata(KEY_BODY) || '[内容]' 178 | 179 | const title = renderTpl(titleTpl, msgData) 180 | const subtitle = renderTpl(subtitleTpl, msgData) 181 | const body = renderTpl(bodyTpl, msgData) 182 | 183 | console.log(`👉🏻 [${index}][${key}] 标题 ${title}`) 184 | console.log(`👉🏻 [${index}][${key}] 副标题 ${subtitle}`) 185 | console.log(`👉🏻 [${index}][${key}] 正文 ${body}`) 186 | 187 | await notify(title, subtitle, body, { copy, KEY_PUSHDEER, KEY_BARK }) 188 | $.log(`👉🏻 [${index}][${key}] 配置结束`) 189 | } 190 | for (const [index, key] of keys.entries()) { 191 | await fn(key, index) 192 | } 193 | 194 | const KEY_REPLACE_NUM = `@ChinaTelecomOperators.${key}.replace_num` 195 | const KEY_NO_POST = `@ChinaTelecomOperators.${key}.no_post` 196 | 197 | const noPost = $.getdata(KEY_NO_POST) 198 | 199 | if (String(noPost) === 'true') { 200 | $.log('ℹ️ 不提交数据给腾讯/360等接口') 201 | result = { fuck: type } 202 | } else { 203 | $.log('ℹ️ 将提交数据给腾讯/360等接口') 204 | result = input 205 | const replaceNnum = $.getdata(KEY_REPLACE_NUM) 206 | 207 | if (String(replaceNnum) !== 'false') { 208 | $.log('ℹ️ 替换数字') 209 | $.log(`ℹ️ 原内容 ${text}`) 210 | text = text.replace(/\d/g, i => Math.floor(Math.random() * (9 - 1 + 1)) + 1) 211 | $.log(`🆕 新内容 ${text}`) 212 | if (type === 'tencent') { 213 | lodash_set(result, $.lodash_get(config, `${type}.text`), text) 214 | } else if (type === '360') { 215 | lodash_set(result, $.lodash_get(config, `${type}.text`), text) 216 | } 217 | } 218 | } 219 | })() 220 | .catch(e => { 221 | console.log(e) 222 | notify(`短信转发`, `❌`, `${$.lodash_get(e, 'message') || $.lodash_get(e, 'error') || e}`, {}) 223 | }) 224 | .finally(() => { 225 | console.log(`提交给腾讯/360等接口的数据`) 226 | console.log(result) 227 | $.done(result) 228 | }) 229 | 230 | async function notify(title, subtitle, body, { copy, KEY_PUSHDEER, KEY_BARK }) { 231 | const pushdeer = $.getdata(KEY_PUSHDEER) 232 | const bark = $.getdata(KEY_BARK) 233 | 234 | if (pushdeer || bark) { 235 | if (pushdeer) { 236 | try { 237 | const url = pushdeer.replace('[推送全文]', encodeURIComponent(`${title}\n${subtitle}\n${body}`)) 238 | $.log(`开始 PushDeer 请求: ${url}`) 239 | const res = await $.http.get({ url }) 240 | // console.log(res) 241 | const status = $.lodash_get(res, 'status') 242 | $.log('↓ res status') 243 | $.log(status) 244 | let resBody = String($.lodash_get(res, 'body') || $.lodash_get(res, 'rawBody')) 245 | try { 246 | resBody = JSON.parse(resBody) 247 | } catch (e) {} 248 | $.log('↓ res body') 249 | console.log($.toStr(resBody)) 250 | if (!['0', '200'].includes(String($.lodash_get(resBody, 'code'))) && !$.lodash_get(resBody, 'isSuccess')) { 251 | throw new Error($.lodash_get(resBody, 'errorMessage') || $.lodash_get(resBody, 'message') || $.lodash_get(resBody, 'msg') || '未知错误') 252 | } 253 | } catch (e) { 254 | console.log(e) 255 | $.msg('短信转发', `❌ PushDeer 请求`, `${$.lodash_get(e, 'message') || $.lodash_get(e, 'error') || e}`, {}) 256 | } 257 | } 258 | if (bark) { 259 | try { 260 | const url = bark 261 | .replace('[推送标题]', encodeURIComponent(title)) 262 | .replace('[推送内容]', encodeURIComponent(`${subtitle}\n${body}`)) 263 | .replace('[复制内容]', encodeURIComponent(copy)) 264 | $.log(`开始 bark 请求: ${url}`) 265 | const res = await $.http.get({ url }) 266 | // console.log(res) 267 | const status = $.lodash_get(res, 'status') 268 | $.log('↓ res status') 269 | $.log(status) 270 | let resBody = String($.lodash_get(res, 'body') || $.lodash_get(res, 'rawBody')) 271 | try { 272 | resBody = JSON.parse(resBody) 273 | } catch (e) {} 274 | $.log('↓ res body') 275 | console.log($.toStr(resBody)) 276 | if (!['0', '200'].includes(String($.lodash_get(resBody, 'code'))) && !$.lodash_get(resBody, 'isSuccess')) { 277 | throw new Error($.lodash_get(resBody, 'errorMessage') || $.lodash_get(resBody, 'message') || $.lodash_get(resBody, 'msg') || '未知错误') 278 | } 279 | } catch (e) { 280 | console.log(e) 281 | $.msg('短信转发', `❌ bark 请求`, `${$.lodash_get(e, 'message') || $.lodash_get(e, 'error') || e}`, {}) 282 | } 283 | } 284 | } else { 285 | $.msg(`[无转发 本地预览] ${title}`, subtitle, body) 286 | } 287 | } 288 | function renderTpl(tpl, data) { 289 | return ( 290 | tpl 291 | .replace('[号码]', data.sender || '') 292 | .replace('[内容]', data.text || '') 293 | .replace('[时间]', new Date().toLocaleString('zh')) 294 | // .replace('[含码]', data.hasCode ? '✅' : '❌') 295 | .replace('[复制提示]', data.code ? '(长按/下拉复制验证码)' : '(长按/下拉复制)') 296 | .replace('[码]', data.code || '') 297 | .replace(/ +/g, ' ') 298 | ) 299 | } 300 | 301 | function lodash_set(obj, path, value) { 302 | if (Object(obj) !== obj) return obj // When obj is not an object 303 | // If not yet an array, get the keys from the string-path 304 | if (!Array.isArray(path)) path = path.toString().match(/[^.[\]]+/g) || [] 305 | path.slice(0, -1).reduce( 306 | ( 307 | a, 308 | c, 309 | i // Iterate all of them except the last one 310 | ) => 311 | Object(a[c]) === a[c] // Does the key exist and is its value an object? 312 | ? // Yes: then follow that path 313 | a[c] 314 | : // No: create the key. Is the next key a potential array-index? 315 | (a[c] = 316 | Math.abs(path[i + 1]) >> 0 === +path[i + 1] 317 | ? [] // Yes: assign a new array object 318 | : {}), // No: assign a new plain object 319 | obj 320 | )[path[path.length - 1]] = value // Finally assign the value to the last key 321 | return obj // Return the top-level object to allow chaining 322 | } 323 | 324 | // prettier-ignore 325 | function Env(t,e){class s{constructor(t){this.env=t}send(t,e="GET"){t="string"==typeof t?{url:t}:t;let s=this.get;return"POST"===e&&(s=this.post),new Promise((e,i)=>{s.call(this,t,(t,s,r)=>{t?i(t):e(s)})})}get(t){return this.send.call(this.env,t)}post(t){return this.send.call(this.env,t,"POST")}}return new class{constructor(t,e){this.name=t,this.http=new s(this),this.data=null,this.dataFile="box.dat",this.logs=[],this.isMute=!1,this.isNeedRewrite=!1,this.logSeparator="\n",this.encoding="utf-8",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`\ud83d\udd14${this.name}, \u5f00\u59cb!`)}isNode(){return"undefined"!=typeof module&&!!module.exports}isQuanX(){return"undefined"!=typeof $task}isSurge(){return"undefined"!=typeof $httpClient&&"undefined"==typeof $loon}isLoon(){return"undefined"!=typeof $loon}isShadowrocket(){return"undefined"!=typeof $rocket}isStash(){return"undefined"!=typeof $environment&&$environment["stash-version"]}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null){try{return JSON.stringify(t)}catch{return e}}getjson(t,e){let s=e;const i=this.getdata(t);if(i)try{s=JSON.parse(this.getdata(t))}catch{}return s}setjson(t,e){try{return this.setdata(JSON.stringify(t),e)}catch{return!1}}getScript(t){return new Promise(e=>{this.get({url:t},(t,s,i)=>e(i))})}runScript(t,e){return new Promise(s=>{let i=this.getdata("@chavy_boxjs_userCfgs.httpapi");i=i?i.replace(/\n/g,"").trim():i;let r=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout");r=r?1*r:20,r=e&&e.timeout?e.timeout:r;const[o,a]=i.split("@"),n={url:`http://${a}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(n,(t,e,i)=>s(i))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};{this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e);if(!s&&!i)return{};{const i=s?t:e;try{return JSON.parse(this.fs.readFileSync(i))}catch(t){return{}}}}}writedata(){if(this.isNode()){this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e),r=JSON.stringify(this.data);s?this.fs.writeFileSync(t,r):i?this.fs.writeFileSync(e,r):this.fs.writeFileSync(t,r)}}lodash_get(t,e,s){const i=e.replace(/\[(\d+)\]/g,".$1").split(".");let r=t;for(const t of i)if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,e,s){return Object(t)!==t?t:(Array.isArray(e)||(e=e.toString().match(/[^.[\]]+/g)||[]),e.slice(0,-1).reduce((t,s,i)=>Object(t[s])===t[s]?t[s]:t[s]=Math.abs(e[i+1])>>0==+e[i+1]?[]:{},t)[e[e.length-1]]=s,t)}getdata(t){let e=this.getval(t);if(/^@/.test(t)){const[,s,i]=/^@(.*?)\.(.*?)$/.exec(t),r=s?this.getval(s):"";if(r)try{const t=JSON.parse(r);e=t?this.lodash_get(t,i,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){const[,i,r]=/^@(.*?)\.(.*?)$/.exec(e),o=this.getval(i),a=i?"null"===o?null:o||"{}":"{}";try{const e=JSON.parse(a);this.lodash_set(e,r,t),s=this.setval(JSON.stringify(e),i)}catch(e){const o={};this.lodash_set(o,r,t),s=this.setval(JSON.stringify(o),i)}}else s=this.setval(t,e);return s}getval(t){return this.isSurge()||this.isLoon()?$persistentStore.read(t):this.isQuanX()?$prefs.valueForKey(t):this.isNode()?(this.data=this.loaddata(),this.data[t]):this.data&&this.data[t]||null}setval(t,e){return this.isSurge()||this.isLoon()?$persistentStore.write(t,e):this.isQuanX()?$prefs.setValueForKey(t,e):this.isNode()?(this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0):this.data&&this.data[e]||null}initGotEnv(t){this.got=this.got?this.got:require("got"),this.cktough=this.cktough?this.cktough:require("tough-cookie"),this.ckjar=this.ckjar?this.ckjar:new this.cktough.CookieJar,t&&(t.headers=t.headers?t.headers:{},void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar))}get(t,e=(()=>{})){if(t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"]),this.isSurge()||this.isLoon())this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status?s.status:s.statusCode,s.status=s.statusCode),e(t,s,i)});else if(this.isQuanX())this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t&&t.error||"UndefinedError"));else if(this.isNode()){let s=require("iconv-lite");this.initGotEnv(t),this.got(t).on("redirect",(t,e)=>{try{if(t.headers["set-cookie"]){const s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();s&&this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar}}catch(t){this.logErr(t)}}).then(t=>{const{statusCode:i,statusCode:r,headers:o,rawBody:a}=t,n=s.decode(a,this.encoding);e(null,{status:i,statusCode:r,headers:o,rawBody:a,body:n},n)},t=>{const{message:i,response:r}=t;e(i,r,r&&s.decode(r.rawBody,this.encoding))})}}post(t,e=(()=>{})){const s=t.method?t.method.toLocaleLowerCase():"post";if(t.body&&t.headers&&!t.headers["Content-Type"]&&(t.headers["Content-Type"]="application/x-www-form-urlencoded"),t.headers&&delete t.headers["Content-Length"],this.isSurge()||this.isLoon())this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient[s](t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status?s.status:s.statusCode,s.status=s.statusCode),e(t,s,i)});else if(this.isQuanX())t.method=s,this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t&&t.error||"UndefinedError"));else if(this.isNode()){let i=require("iconv-lite");this.initGotEnv(t);const{url:r,...o}=t;this.got[s](r,o).then(t=>{const{statusCode:s,statusCode:r,headers:o,rawBody:a}=t,n=i.decode(a,this.encoding);e(null,{status:s,statusCode:r,headers:o,rawBody:a,body:n},n)},t=>{const{message:s,response:r}=t;e(s,r,r&&i.decode(r.rawBody,this.encoding))})}}time(t,e=null){const s=e?new Date(e):new Date;let i={"M+":s.getMonth()+1,"d+":s.getDate(),"H+":s.getHours(),"m+":s.getMinutes(),"s+":s.getSeconds(),"q+":Math.floor((s.getMonth()+3)/3),S:s.getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(s.getFullYear()+"").substr(4-RegExp.$1.length)));for(let e in i)new RegExp("("+e+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?i[e]:("00"+i[e]).substr((""+i[e]).length)));return t}msg(e=t,s="",i="",r){const o=t=>{if(!t)return t;if("string"==typeof t)return this.isLoon()?t:this.isQuanX()?{"open-url":t}:this.isSurge()?{url:t}:void 0;if("object"==typeof t){if(this.isLoon()){let e=t.openUrl||t.url||t["open-url"],s=t.mediaUrl||t["media-url"];return{openUrl:e,mediaUrl:s}}if(this.isQuanX()){let e=t["open-url"]||t.url||t.openUrl,s=t["media-url"]||t.mediaUrl,i=t["update-pasteboard"]||t.updatePasteboard;return{"open-url":e,"media-url":s,"update-pasteboard":i}}if(this.isSurge()){let e=t.url||t.openUrl||t["open-url"];return{url:e}}}};if(this.isMute||(this.isSurge()||this.isLoon()?$notification.post(e,s,i,o(r)):this.isQuanX()&&$notify(e,s,i,o(r))),!this.isMuteLog){let t=["","==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============="];t.push(e),s&&t.push(s),i&&t.push(i),console.log(t.join("\n")),this.logs=this.logs.concat(t)}}log(...t){t.length>0&&(this.logs=[...this.logs,...t]),console.log(t.join(this.logSeparator))}logErr(t,e){const s=!this.isSurge()&&!this.isQuanX()&&!this.isLoon();s?this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t.stack):this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t)}wait(t){return new Promise(e=>setTimeout(e,t))}done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${s} \u79d2`),this.log(),this.isSurge()||this.isQuanX()||this.isLoon()?$done(t):this.isNode()&&process.exit(1)}}(t,e)} 326 | -------------------------------------------------------------------------------- /sms-forward.loon.plugin: -------------------------------------------------------------------------------- 1 | #!name=短信转发 2 | #!desc=https://github.com/ChinaTelecomOperators/SMSForward 3 | #!openUrl=http://boxjs.net/#/app/ChinaTelecomOperators.sms_forward 4 | #!author=ChinaTelecomOperators 5 | #!homepage=https://github.com/ChinaTelecomOperators/SMSForward 6 | #!icon=https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/asset/1.png 7 | 8 | [MITM] 9 | hostname=scan.call.f.360.cn,jprx.m.qq.com 10 | 11 | [Script] 12 | http-request (^https?:\/\/scan\.call\.f\.360\.cn\/ios_message\.php|^https?:\/\/jprx\.m\.qq\.com\/forward) script-path=https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/sms-forward.js, requires-body=true, timeout=120, tag=Sms-Forward 13 | -------------------------------------------------------------------------------- /sms-forward.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=短信转发 2 | #!desc=https://github.com/ChinaTelecomOperators/SMSForward 3 | 4 | [Script] 5 | 短信转发 = type=http-request,pattern=(^https?:\/\/scan\.call\.f\.360\.cn\/ios_message\.php|^https?:\/\/jprx\.m\.qq\.com\/forward),requires-body=1,max-size=0,timeout=20,script-path=https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/sms-forward.js 6 | 7 | [MITM] 8 | hostname = %APPEND% jprx.m.qq.com, scan.call.f.360.cn -------------------------------------------------------------------------------- /sms-forward.stash.stoverride: -------------------------------------------------------------------------------- 1 | name: 短信转发 2 | desc: https://github.com/ChinaTelecomOperators/SMSForward 3 | icon: https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/asset/1.png 4 | 5 | http: 6 | mitm: 7 | - jprx.m.qq.com 8 | - scan.call.f.360.cn 9 | script: 10 | - match: (^https?:\/\/scan\.call\.f\.360\.cn\/ios_message\.php|^https?:\/\/jprx\.m\.qq\.com\/forward) 11 | name: "sms-forward" 12 | type: request 13 | require-body: true 14 | timeout: 120 15 | # debug: true 16 | 17 | script-providers: 18 | "sms-forward": 19 | url: https://raw.githubusercontent.com/ChinaTelecomOperators/SMSForward/main/sms-forward.js 20 | interval: 86400 21 | --------------------------------------------------------------------------------