Merge remote-tracking branch 'origin/master'

# Conflicts:
#	packages/core/src/config/index.js
pull/88/head
xiaojunnuo 2021-08-17 21:19:26 +08:00
commit 083d6f3467
35 changed files with 545 additions and 7528 deletions

View File

@ -28,6 +28,12 @@
* 解决git push 偶尔失败需要输入账号密码的问题fatal: TaskCanceledException encountered / fatal: HttpRequestException encountered
* raw/blame加速
> 以上部分功能通过`X.I.U`的油猴脚本实现, 以下是仓库和脚本下载链接,大家可以去支持一下。
> * https://github.com/XIU2/UserScript
> * https://greasyfork.org/scripts/412245
>
> 由于此脚本在ds中是打包在本地的更新会不及时你可以直接通过浏览器安装油猴插件使用此脚本从而获得最新更新ds本地的可以通过`加速服务->基本设置->启用脚本`进行关闭)。
### 4、 Stack Overflow 加速
* 将ajax.google.com代理到加速CDN上
* recaptcha 图片验证码加速
@ -334,9 +340,12 @@ npm run electron:build
本项目参考如下开源项目
* [node-mitmproxy](https://github.com/wuchangming/node-mitmproxy)
* [ReplaceGoogleCDN](https://github.com/justjavac/ReplaceGoogleCDN)
* [github增强油猴脚本](https://greasyfork.org/zh-CN/scripts/412245-github-%E5%A2%9E%E5%BC%BA-%E9%AB%98%E9%80%9F%E4%B8%8B%E8%BD%BD)
特别感谢
* [github增强油猴脚本](https://greasyfork.org/zh-CN/scripts/412245-github-%E5%A2%9E%E5%BC%BA-%E9%AB%98%E9%80%9F%E4%B8%8B%E8%BD%BD) 本项目部分加速功能完全复制该脚本。
本项目加速资源由如下组织提供
本项目部分加速资源由如下组织提供
* [FastGit UK](https://fastgit.org/)

13
doc/linux.md Normal file
View File

@ -0,0 +1,13 @@
# linux
## anzhuang
## zhengshu
### huohu
### chrome
## xiezai

7078
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,5 @@
"devDependencies": {
"lerna": "^3.22.1"
},
"dependencies": {
}
"dependencies": {}
}

View File

@ -38,24 +38,19 @@ module.exports = {
'github.com': {
'/.*/.*/releases/download/': {
redirect: 'download.fastgit.org',
desc: 'release文件加速下载跳转地址',
sni: 'baidu.com'
desc: 'release文件加速下载跳转地址'
},
'/.*/.*/archive/': {
redirect: 'download.fastgit.org',
sni: 'baidu.com'
redirect: 'download.fastgit.org'
},
'/.*/.*/blame/': {
redirect: 'hub.fastgit.org',
sni: 'baidu.com'
redirect: 'hub.fastgit.org'
},
'^/[^/]+/[^/]+(/releases(/.*)?)?$': {
script: [
'github'
],
desc: 'clone加速复制链接脚本',
sni: 'baidu.com'
desc: 'clone加速复制链接脚本'
},
'/.*': {
proxy: 'github.com',
@ -63,17 +58,28 @@ module.exports = {
desc: '目前禁掉sni就可以直接访问如果后续github.com的ip被封锁只能再走proxy模式',
sni: 'baidu.com'
}
// '/.*/.*/raw11/': {
// replace: '(.+)\\/raw\\/(.+)',
// proxy: 'raw.fastgit.org$1/$2',
// sni: 'baidu.com'
// }
},
'api.github.com': {
'^/_private/browser/stats$': {
success: true,
desc: 'github的访问速度分析上传没有必要直接返回成功'
'github-releases.githubusercontent.com': {
'.*': {
proxy: 'github-releases.githubusercontent.com',
sni: 'baidu.com'
}
},
'/.*/.*/raw11/': {
replace: '(.+)\\/raw\\/(.+)',
proxy: 'raw.fastgit.org$1/$2'
'github.githubassets.com': {
'.*': {
proxy: 'github.githubassets.com',
sni: 'baidu.com'
}
},
'customer-stories-feed.github.com': {
'.*': {proxy: 'customer-stories-feed.fastgit.org'}
},
'raw.githubusercontent.com': {
'.*': {
proxy: 'raw.githubusercontent.com',
@ -87,147 +93,144 @@ module.exports = {
sni: 'baidu.com'
}
},
'github.githubassets.com': {
'.*': {
proxy: 'github.githubassets.com',
sni: 'baidu.com'
}
},
'avatars.githubusercontent.com': {
'.*': {
proxy: 'avatars.githubusercontent.com',
sni: 'baidu.com'
}
},
// 'github.githubassets.com': {
// '.*': {
// proxy: 'assets-gh.docmirror.top/_proxy',
// test: 'https://github.githubassets.com/favicons/favicon.svg',
// desc: '静态资源加速'
// }
'api.github.com': {
'^/_private/browser/stats$': {
success: true,
desc: 'github的访问速度分析上传没有必要直接返回成功'
}
},
'v2ex.com': {
'.*': {
proxy: 'v2ex.com',
sni: 'baidu.com'
},
},
// google cdn
'www.google.com': {
'/recaptcha/.*': {proxy: 'www.recaptcha.net'}
// '.*': {
// proxy: 'gg.docmirror.top/_yxorp',
// desc: '呀,被你发现了,偷偷的用,别声张'
// }
},
'ajax.googleapis.com': {
'.*': {
proxy: 'gapis.geekzu.org',
backup: ['fonts.loli.net'],
test: 'ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js'
}
},
'fonts.googleapis.com': {
'.*': {
proxy: 'fonts.geekzu.org',
backup: ['fonts.loli.net'],
test: 'https://fonts.googleapis.com/css?family=Oswald'
}
},
'themes.googleapis.com': {
'.*': {
proxy: 'themes.loli.net',
backup: ['themes.proxy.ustclug.org']
}
},
'themes.googleusercontent.com': {
'.*': {proxy: 'google-themes.proxy.ustclug.org'}
},
// 'fonts.gstatic.com': {
// '.*': {
// proxy: 'gstatic.loli.net',
// backup: ['fonts-gstatic.proxy.ustclug.org']
// }
// },
'clients*.google.com': {'.*': {abort: false, desc: '设置aborttrue可以快速失败节省时间'}},
'www.googleapis.com': {'.*': {abort: false, desc: '设置aborttrue可以快速失败节省时间'}},
'lh*.googleusercontent.com': {'.*': {abort: false, desc: '设置aborttrue可以快速失败节省时间'}},
// mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.0/napi-v3-win32-x64.tar.gz
'*.s3.amazonaws.com': {
'/sqlite3/.*': {
redirect: 'npm.taobao.org/mirrors'
}
},
// 'packages.elastic.co': { '.*': { proxy: 'elastic.proxy.ustclug.org' } },
// 'ppa.launchpad.net': { '.*': { proxy: 'launchpad.proxy.ustclug.org' } },
// 'archive.cloudera.com': { '.*': { regexp: '/cdh5/.*', proxy: 'cloudera.proxy.ustclug.org' } },
// 'downloads.lede-project.org': { '.*': { proxy: 'lede.proxy.ustclug.org' } },
// 'downloads.openwrt.org': { '.*': { proxy: 'openwrt.proxy.ustclug.org' } },
// 'secure.gravatar.com': { '.*': { proxy: 'gravatar.proxy.ustclug.org' } },
'*.carbonads.com': {
'/carbon.*': {
abort: true,
desc: '广告拦截'
}
},
'*.buysellads.com': {
'/ads/.*': {
abort: true,
desc: '广告拦截'
}
}
},
whiteList: {
'alipay.com': true,
'*.alipay.com': true,
'pay.weixin.qq.com': true,
'www.baidu.com': true
},
// sniList: {
// 'github.com': 'abaidu.com'
// },
'customer-stories-feed.github.com': {
'.*': { proxy: 'customer-stories-feed.fastgit.org' }
},
// google cdn
'www.google.com': {
'/recaptcha/.*': { proxy: 'www.recaptcha.net' }
// '.*': {
// proxy: 'gg.docmirror.top/_yxorp',
// desc: '呀,被你发现了,偷偷的用,别声张'
// }
},
'ajax.googleapis.com': {
'.*': {
proxy: 'ajax.loli.net',
test: 'ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js'
}
},
'fonts.googleapis.com': {
'.*': {
proxy: 'fonts.loli.net',
backup: ['fonts.proxy.ustclug.org'],
test: 'https://fonts.googleapis.com/css?family=Oswald'
}
},
'themes.googleapis.com': {
'.*': {
proxy: 'themes.loli.net',
backup: ['themes.proxy.ustclug.org']
}
},
'themes.googleusercontent.com': {
'.*': { proxy: 'google-themes.proxy.ustclug.org' }
},
// 'fonts.gstatic.com': {
// '.*': {
// proxy: 'gstatic.loli.net',
// backup: ['fonts-gstatic.proxy.ustclug.org']
// }
// },
'clients*.google.com': { '.*': { abort: false, desc: '设置aborttrue可以快速失败节省时间' } },
'www.googleapis.com': { '.*': { abort: false, desc: '设置aborttrue可以快速失败节省时间' } },
'lh*.googleusercontent.com': { '.*': { abort: false, desc: '设置aborttrue可以快速失败节省时间' } },
// mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.0/napi-v3-win32-x64.tar.gz
'*.s3.amazonaws.com': {
'/sqlite3/.*': {
redirect: 'npm.taobao.org/mirrors'
}
},
// 'packages.elastic.co': { '.*': { proxy: 'elastic.proxy.ustclug.org' } },
// 'ppa.launchpad.net': { '.*': { proxy: 'launchpad.proxy.ustclug.org' } },
// 'archive.cloudera.com': { '.*': { regexp: '/cdh5/.*', proxy: 'cloudera.proxy.ustclug.org' } },
// 'downloads.lede-project.org': { '.*': { proxy: 'lede.proxy.ustclug.org' } },
// 'downloads.openwrt.org': { '.*': { proxy: 'openwrt.proxy.ustclug.org' } },
// 'secure.gravatar.com': { '.*': { proxy: 'gravatar.proxy.ustclug.org' } },
'*.carbonads.com': {
'/carbon.*': {
abort: true,
desc: '广告拦截'
}
},
'*.buysellads.com': {
'/ads/.*': {
abort: true,
desc: '广告拦截'
dns: {
providers: {
aliyun: {
type: 'https',
server: 'https://dns.alidns.com/dns-query',
cacheSize: 1000
},
usa: {
type: 'https',
server: 'https://1.1.1.1/dns-query',
cacheSize: 1000
},
quad9: {
type: 'https',
server: 'https://9.9.9.9/dns-query',
cacheSize: 1000
},
rubyfish: {
type: 'https',
server: 'https://rubyfish.cn/dns-query',
cacheSize: 1000
}
},
mapping: {
// 'assets.fastgit.org': 'usa',
'*githubusercontent.com': 'quad9',
'*yarnpkg.com': 'usa',
'*cloudfront.net': 'usa',
'*github.io': 'usa',
'img.shields.io': 'usa',
'*.githubusercontent.com': 'usa',
'*.githubassets.com': 'usa',
// "解决push的时候需要输入密码的问题",
'github.com': 'quad9',
'*github.com': 'usa',
'*.vuepress.vuejs.org': 'usa',
'gh.docmirror.top': 'aliyun'
},
speedTest: {
enabled: true,
interval: 60000,
hostnameList: ['github.com'],
dnsProviders: ['usa', 'quad9', 'rubyfish']
}
}
},
whiteList: {
'alipay.com': true,
'*.alipay.com': true,
'pay.weixin.qq.com': true,
'www.baidu.com': true
},
// sniList: {
// 'github.com': 'abaidu.com'
// },
dns: {
providers: {
aliyun: {
type: 'https',
server: 'https://dns.alidns.com/dns-query',
cacheSize: 1000
},
usa: {
type: 'https',
server: 'https://1.1.1.1/dns-query',
cacheSize: 1000
},
quad9: {
type: 'https',
server: 'https://9.9.9.9/dns-query',
cacheSize: 1000
},
rubyfish: {
type: 'https',
server: 'https://rubyfish.cn/dns-query',
cacheSize: 1000
}
},
mapping: {
// 'assets.fastgit.org': 'usa',
'*githubusercontent.com': 'quad9',
'*yarnpkg.com': 'usa',
'*cloudfront.net': 'usa',
'*github.io': 'usa',
'img.shields.io': 'usa',
'*.githubusercontent.com': 'usa',
'*.githubassets.com': 'usa',
// "解决push的时候需要输入密码的问题",
'github.com': 'quad9',
'*github.com': 'usa',
'*.vuepress.vuejs.org': 'usa',
'gh.docmirror.top': 'aliyun'
},
speedTest: {
enabled: true,
interval: 160000,
hostnameList: ['github.com'],
dnsProviders: ['usa', 'quad9', 'rubyfish']
}
}
},
proxy: {},
plugin: {}
}
proxy: {},
plugin: {}
}

View File

@ -11,7 +11,7 @@ if (JSON5.default) {
JSON5 = JSON5.default
}
let server
let server = null
function fireStatus (status) {
event.fire('status', { key: 'server.enabled', value: status })
}
@ -79,6 +79,18 @@ const serverApi = {
serverProcess.send({ type: 'action', event: { key: 'close' } })
}
}
serverProcess.on('beforeExit', (code) => {
log.warn('server process beforeExit', code)
})
serverProcess.on('SIGPIPE', (code, signal) => {
log.warn('server process SIGPIPE', code, signal)
})
serverProcess.on('exit', (code, signal) => {
log.warn('server process exit', code, signal)
})
serverProcess.on('uncaughtException', (err, origin) => {
log.error('server process uncaughtException', err)
})
serverProcess.on('message', function (msg) {
log.info('收到子进程消息', msg.type, msg.event.key)
if (msg.type === 'status') {

View File

@ -9,7 +9,8 @@ const executor = {
return true
},
async linux (exec, { port }) {
throw Error('暂未实现此功能')
await exec('kill `lsof -i:' + port + " |grep 'dev-sidecar\\|electron' |awk '{print $2}'`")
return true
},
async mac (exec, { port }) {
await exec('kill `lsof -i:' + port + " |grep 'DevSide\\|Elect' |awk '{print $2}'`")

View File

@ -3,7 +3,7 @@
autoStart: {
enabled: true,
},
mode: 'safe',
mode: 'default',
},
plugin: {
node: {
@ -25,7 +25,7 @@
},
server: {
intercept: {
enabled: false,
enabled: true,
},
},
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 577 B

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 949 B

After

Width:  |  Height:  |  Size: 885 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

After

Width:  |  Height:  |  Size: 353 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -3,6 +3,7 @@
"version": "1.5.1",
"private": false,
"license": "MPL-2.0",
"main": "background.js",
"scripts": {
"serve": "vue-cli-service serve",
"lint": "vue-cli-service lint",
@ -13,8 +14,11 @@
"electron:icons": "electron-icon-builder --input=./public/logo/win.png --output=build --flatten",
"electron:icons-mac": "electron-icon-builder --input=./public/logo/mac.png --output=build --flatten"
},
"author": "Greper",
"main": "background.js",
"homepage": "https://github.com/docmirror/dev-sidecar",
"author": {
"email": "xiaojunnuo@qq.com",
"name": "Greper"
},
"dependencies": {
"@docmirror/dev-sidecar": "^1.5.1",
"@docmirror/mitmproxy": "^1.5.1",
@ -40,22 +44,22 @@
"vue-router": "^3.4.8"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"@vue/eslint-config-standard": "^5.1.2",
"babel-eslint": "^10.1.0",
"electron": "10.4.2",
"electron-devtools-installer": "^3.1.0",
"electron-icon-builder": "^1.0.2",
"eslint": "^6.7.2",
"electron-icon-builder": "^2.0.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^6.2.2",
"json5-loader": "^4.0.1",
"vue-cli-plugin-electron-builder": "^2.0.0-rc.4",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"babel-eslint": "^10.1.0",
"electron": "^13.0.0",
"electron-devtools-installer": "^3.1.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"vue-cli-plugin-electron-builder": "~2.1.1",
"vue-template-compiler": "^2.6.11"
},
"eslintConfig": {

View File

@ -8,6 +8,9 @@ exports.default = async function (context) {
if (context.packager.platform.nodeName === 'darwin') {
targetPath = path.join(context.appOutDir, `${context.packager.appInfo.productName}.app/Contents/Resources`)
systemType = 'mac'
} else if (context.packager.platform.nodeName === 'linux') {
targetPath = path.join(context.appOutDir, './resources')
systemType = 'linux'
} else {
targetPath = path.join(context.appOutDir, './resources')
systemType = 'win'

View File

@ -34,6 +34,7 @@ function setTray (app) {
// 系统托盘图标目录
label: '退出',
click: () => {
console.log('force quit')
forceClose = true
quit(app)
}
@ -83,7 +84,7 @@ function isLinux () {
function hideWin () {
if (win) {
if (isLinux()) {
win.minimize()
quit(app)
} else {
win.hide()
}
@ -107,6 +108,7 @@ function createWindow () {
title: 'DevSidecar',
webPreferences: {
enableRemoteModule: true,
contextIsolation: false,
// preload: path.join(__dirname, 'preload.js'),
// Use pluginOptions.nodeIntegration, leave this alone
// See nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html#node-integration for more info
@ -192,6 +194,7 @@ if (!isFirstInstance) {
// Quit when all windows are closed.
app.on('window-all-closed', () => {
console.log('window-all-closed')
// On macOS it is common for applications and their menu bar
// to stay active until the user quits explicitly with Cmd + Q
if (process.platform !== 'darwin') {

View File

@ -8,7 +8,7 @@ export default {
// 开启 开机自启动
ipcMain.on('auto-start', (event, message) => {
console.log('updateExe', ex)
log.info('auto-start', app.getPath('exe'))
if (message.value) {
app.setLoginItemSettings({
openAtLogin: true,

View File

@ -10,6 +10,7 @@ import logger from '../../utils/util.log'
import appPathUtil from '../../utils/util.apppath'
// eslint-disable-next-line no-unused-vars
const isMac = process.platform === 'darwin'
const isLinux = process.platform === 'linux'
function downloadFile (uri, filePath, onProgress, onSuccess, onError) {
progress(request(uri), {
@ -54,6 +55,8 @@ function updateHandle (app, api, win, beforeQuit, quit, log) {
})
if (isMac) {
autoUpdater.updateConfigPath = path.join(__dirname, 'mac/DevSidecar.app/Contents/Resources/app-update.yml')
} else if (isLinux) {
// autoUpdater.updateConfigPath = path.join(__dirname, 'mac/DevSidecar.app/Contents/Resources/app-update.yml')
} else {
autoUpdater.updateConfigPath = path.join(__dirname, 'win-unpacked/resources/app-update.yml')
}

View File

@ -47,7 +47,7 @@ module.exports = {
}
],
appId: 'dev-sidecar',
productName: 'DevSidecar',
productName: 'dev-sidecar',
// eslint-disable-next-line no-template-curly-in-string
artifactName: 'DevSidecar-${version}.${ext}',
copyright: 'Copyright © 2020-2021 Greper',
@ -58,11 +58,18 @@ module.exports = {
allowToChangeInstallationDirectory: true
},
mac: {
icon: 'build/mac/icon.icns'
icon: './build/mac/icon.icns'
},
win: {
requestedExecutionLevel: 'requireAdministrator'
},
linux: {
icon: 'build/mac/',
target: [
// 'deb'
'AppImage'
]
},
publish: {
provider: 'generic',
url: 'http://dev-sidecar.docmirror.cn/update/'

View File

@ -1021,26 +1021,24 @@
cssnano-preset-default "^4.0.0"
postcss "^7.0.0"
"@jimp/bmp@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/bmp/-/bmp-0.9.8.tgz"
integrity sha512-CZYQPEC3iUBMuaGWrtIG+GKNl93q/PkdudrCKJR/B96dfNngsmoosEm3LuFgJHEcJIfvnJkNqKw74l+zEiqCbg==
"@jimp/bmp@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/bmp/-/bmp-0.16.1.tgz#6e2da655b2ba22e721df0795423f34e92ef13768"
integrity sha512-iwyNYQeBawrdg/f24x3pQ5rEx+/GwjZcCXd3Kgc+ZUd+Ivia7sIqBsOnDaMZdKCBPlfW364ekexnlOqyVa0NWg==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
"@jimp/utils" "^0.16.1"
bmp-js "^0.1.0"
core-js "^3.4.1"
"@jimp/core@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/core/-/core-0.9.8.tgz"
integrity sha512-N4GCjcXb0QwR5GBABDK2xQ3cKyaF7LlCYeJEG9mV7G/ynBoRqJe4JA6YKU9Ww9imGkci/4A594nQo8tUIqdcBw==
"@jimp/core@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/core/-/core-0.16.1.tgz#68c4288f6ef7f31a0f6b859ba3fb28dae930d39d"
integrity sha512-la7kQia31V6kQ4q1kI/uLimu8FXx7imWVajDGtwUG8fzePLWDFJyZl0fdIXVCL1JW2nBcRHidUot6jvlRDi2+g==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
"@jimp/utils" "^0.16.1"
any-base "^1.1.0"
buffer "^5.2.0"
core-js "^3.4.1"
exif-parser "^0.1.12"
file-type "^9.0.0"
load-bmfont "^1.3.1"
@ -1049,296 +1047,269 @@
pixelmatch "^4.0.2"
tinycolor2 "^1.4.1"
"@jimp/custom@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/custom/-/custom-0.9.8.tgz"
integrity sha512-1UpJjI7fhX02BWLJ/KEqPwkHH60eNkCNeD6hEd+IZdTwLXfZCfFiM5BVlpgiZYZJSsVoRiAL4ne2Q5mCiKPKyw==
"@jimp/custom@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/custom/-/custom-0.16.1.tgz#28b659c59e20a1d75a0c46067bd3f4bd302cf9c5"
integrity sha512-DNUAHNSiUI/j9hmbatD6WN/EBIyeq4AO0frl5ETtt51VN1SvE4t4v83ZA/V6ikxEf3hxLju4tQ5Pc3zmZkN/3A==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/core" "^0.9.8"
core-js "^3.4.1"
"@jimp/core" "^0.16.1"
"@jimp/gif@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/gif/-/gif-0.9.8.tgz"
integrity sha512-LEbfpcO1sBJIQCJHchZjNlyNxzPjZQQ4X32klpQHZJG58n9FvL7Uuh1rpkrJRbqv3cU3P0ENNtTrsBDxsYwcfA==
"@jimp/gif@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/gif/-/gif-0.16.1.tgz#d1f7c3a58f4666482750933af8b8f4666414f3ca"
integrity sha512-r/1+GzIW1D5zrP4tNrfW+3y4vqD935WBXSc8X/wm23QTY9aJO9Lw6PEdzpYCEY+SOklIFKaJYUAq/Nvgm/9ryw==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
gifwrap "^0.9.2"
omggif "^1.0.9"
"@jimp/jpeg@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/jpeg/-/jpeg-0.9.8.tgz"
integrity sha512-5u29SUzbZ32ZMmOaz3gO0hXatwSCnsvEAXRCKZoPPgbsPoyFAiZKVxjfLzjkeQF6awkvJ8hZni5chM15SNMg+g==
"@jimp/jpeg@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/jpeg/-/jpeg-0.16.1.tgz#3b7bb08a4173f2f6d81f3049b251df3ee2ac8175"
integrity sha512-8352zrdlCCLFdZ/J+JjBslDvml+fS3Z8gttdml0We759PnnZGqrnPRhkOEOJbNUlE+dD4ckLeIe6NPxlS/7U+w==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
jpeg-js "^0.3.4"
"@jimp/utils" "^0.16.1"
jpeg-js "0.4.2"
"@jimp/plugin-blit@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-blit/-/plugin-blit-0.9.8.tgz"
integrity sha512-6xTDomxJybhBcby1IUVaPydZFhxf+V0DRgfDlVK81kR9kSCoshJpzWqDuWrMqjNEPspPE7jRQwHMs0FdU7mVwQ==
"@jimp/plugin-blit@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-blit/-/plugin-blit-0.16.1.tgz#09ea919f9d326de3b9c2826fe4155da37dde8edb"
integrity sha512-fKFNARm32RoLSokJ8WZXHHH2CGzz6ire2n1Jh6u+XQLhk9TweT1DcLHIXwQMh8oR12KgjbgsMGvrMVlVknmOAg==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-blur@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-blur/-/plugin-blur-0.9.8.tgz"
integrity sha512-dqbxuNFBRbmt35iIRacdgma7nlXklmPThsKcGWNTDmqb/hniK5IC+0xSPzBV4qMI2fLGP39LWHqqDZ0xDz14dA==
"@jimp/plugin-blur@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-blur/-/plugin-blur-0.16.1.tgz#e614fa002797dcd662e705d4cea376e7db968bf5"
integrity sha512-1WhuLGGj9MypFKRcPvmW45ht7nXkOKu+lg3n2VBzIB7r4kKNVchuI59bXaCYQumOLEqVK7JdB4glaDAbCQCLyw==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-circle@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-circle/-/plugin-circle-0.9.8.tgz"
integrity sha512-+UStXUPCzPqzTixLC8eVqcFcEa6TS+BEM/6/hyM11TDb9sbiMGeUtgpwZP/euR5H5gfpAQDA1Ppzqhh5fuMDlw==
"@jimp/plugin-circle@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-circle/-/plugin-circle-0.16.1.tgz#20e3194a67ca29740aba2630fd4d0a89afa27491"
integrity sha512-JK7yi1CIU7/XL8hdahjcbGA3V7c+F+Iw+mhMQhLEi7Q0tCnZ69YJBTamMiNg3fWPVfMuvWJJKOBRVpwNTuaZRg==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-color@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-color/-/plugin-color-0.9.8.tgz"
integrity sha512-SDHxOQsJHpt75hk6+sSlCPc2B3UJlXosFW+iLZ11xX1Qr0IdDtbfYlIoPmjKQFIDUNzqLSue/z7sKQ1OMZr/QA==
"@jimp/plugin-color@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-color/-/plugin-color-0.16.1.tgz#0f298ba74dee818b663834cd80d53e56f3755233"
integrity sha512-9yQttBAO5SEFj7S6nJK54f+1BnuBG4c28q+iyzm1JjtnehjqMg6Ljw4gCSDCvoCQ3jBSYHN66pmwTV74SU1B7A==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
tinycolor2 "^1.4.1"
"@jimp/plugin-contain@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-contain/-/plugin-contain-0.9.8.tgz"
integrity sha512-oK52CPt7efozuLYCML7qOmpFeDt3zpU8qq8UZlnjsDs15reU6L8EiUbwYpJvzoEnEOh1ZqamB8F/gymViEO5og==
"@jimp/plugin-contain@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-contain/-/plugin-contain-0.16.1.tgz#3c5f5c495fd9bb08a970739d83694934f58123f2"
integrity sha512-44F3dUIjBDHN+Ym/vEfg+jtjMjAqd2uw9nssN67/n4FdpuZUVs7E7wadKY1RRNuJO+WgcD5aDQcsvurXMETQTg==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-cover@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-cover/-/plugin-cover-0.9.8.tgz"
integrity sha512-nnamtHzMrNd5j5HRSPd1VzpZ8v9YYtUJPtvCdHOOiIjqG72jxJ2kTBlsS3oG5XS64h/2MJwpl/fmmMs1Tj1CmQ==
"@jimp/plugin-cover@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-cover/-/plugin-cover-0.16.1.tgz#0e8caec16a40abe15b1b32e5383a603a3306dc41"
integrity sha512-YztWCIldBAVo0zxcQXR+a/uk3/TtYnpKU2CanOPJ7baIuDlWPsG+YE4xTsswZZc12H9Kl7CiziEbDtvF9kwA/Q==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-crop@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-crop/-/plugin-crop-0.9.8.tgz"
integrity sha512-Nv/6AIp4aJmbSIH2uiIqm+kSoShKM8eaX2fyrUTj811kio0hwD3f/vIxrWebvAqwDZjAFIAmMufFoFCVg6caoQ==
"@jimp/plugin-crop@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-crop/-/plugin-crop-0.16.1.tgz#b362497c873043fe47ba881ab08604bf7226f50f"
integrity sha512-UQdva9oQzCVadkyo3T5Tv2CUZbf0klm2cD4cWMlASuTOYgaGaFHhT9st+kmfvXjKL8q3STkBu/zUPV6PbuV3ew==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-displace@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-displace/-/plugin-displace-0.9.8.tgz"
integrity sha512-0OgPjkOVa2xdbqI8P6gBKX/UK36RbaYVrFyXL8Jy9oNF69+LYWyTskuCu9YbGxzlCVjY/JFqQOvrKDbxgMYAKA==
"@jimp/plugin-displace@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-displace/-/plugin-displace-0.16.1.tgz#4dd9db518c3e78de9d723f86a234bf98922afe8d"
integrity sha512-iVAWuz2+G6Heu8gVZksUz+4hQYpR4R0R/RtBzpWEl8ItBe7O6QjORAkhxzg+WdYLL2A/Yd4ekTpvK0/qW8hTVw==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-dither@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-dither/-/plugin-dither-0.9.8.tgz"
integrity sha512-jGM/4ByniZJnmV2fv8hKwyyydXZe/YzvgBcnB8XxzCq8kVR3Imcn+qnd2PEPZzIPKOTH4Cig/zo9Vk9Bs+m5FQ==
"@jimp/plugin-dither@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-dither/-/plugin-dither-0.16.1.tgz#b47de2c0bb09608bed228b41c3cd01a85ec2d45b"
integrity sha512-tADKVd+HDC9EhJRUDwMvzBXPz4GLoU6s5P7xkVq46tskExYSptgj5713J5Thj3NMgH9Rsqu22jNg1H/7tr3V9Q==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-fisheye@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-fisheye/-/plugin-fisheye-0.9.8.tgz"
integrity sha512-VnsalrD05f4pxG1msjnkwIFi5QveOqRm4y7VkoZKNX+iqs4TvRnH5+HpBnfdMzX/RXBi+Lf/kpTtuZgbOu/QWw==
"@jimp/plugin-fisheye@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-fisheye/-/plugin-fisheye-0.16.1.tgz#f625047b6cdbe1b83b89e9030fd025ab19cdb1a4"
integrity sha512-BWHnc5hVobviTyIRHhIy9VxI1ACf4CeSuCfURB6JZm87YuyvgQh5aX5UDKtOz/3haMHXBLP61ZBxlNpMD8CG4A==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-flip@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-flip/-/plugin-flip-0.9.8.tgz"
integrity sha512-XbiZ4OfHD6woc0f6Sk7XxB6a7IyMjTRQ4pNU7APjaNxsl3L6qZC8qfCQphWVe3DHx7f3y7jEiPMvNnqRDP1xgA==
"@jimp/plugin-flip@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-flip/-/plugin-flip-0.16.1.tgz#7a99ea22bde802641017ed0f2615870c144329bb"
integrity sha512-KdxTf0zErfZ8DyHkImDTnQBuHby+a5YFdoKI/G3GpBl3qxLBvC+PWkS2F/iN3H7wszP7/TKxTEvWL927pypT0w==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-gaussian@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-gaussian/-/plugin-gaussian-0.9.8.tgz"
integrity sha512-ZBl5RA6+4XAD+mtqLfiG7u+qd8W5yqq3RBNca8eFqUSVo1v+eB2tzeLel0CWfVC/z6cw93Awm/nVnm6/CL2Oew==
"@jimp/plugin-gaussian@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-gaussian/-/plugin-gaussian-0.16.1.tgz#0845e314085ccd52e34fad9a83949bc0d81a68e8"
integrity sha512-u9n4wjskh3N1mSqketbL6tVcLU2S5TEaFPR40K6TDv4phPLZALi1Of7reUmYpVm8mBDHt1I6kGhuCJiWvzfGyg==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-invert@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-invert/-/plugin-invert-0.9.8.tgz"
integrity sha512-ESploqCoF6qUv5IWhVLaO5fEcrYZEsAWPFflh6ROiD2mmFKQxfeK+vHnk3IDLHtUwWTkAZQNbk89BVq7xvaNpQ==
"@jimp/plugin-invert@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-invert/-/plugin-invert-0.16.1.tgz#7e6f5a15707256f3778d06921675bbcf18545c97"
integrity sha512-2DKuyVXANH8WDpW9NG+PYFbehzJfweZszFYyxcaewaPLN0GxvxVLOGOPP1NuUTcHkOdMFbE0nHDuB7f+sYF/2w==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-mask@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-mask/-/plugin-mask-0.9.8.tgz"
integrity sha512-zSvEisTV4iGsBReitEdnQuGJq9/1xB5mPATadYZmIlp8r5HpD72HQb0WdEtb51/pu9Odt8KAxUf0ASg/PRVUiQ==
"@jimp/plugin-mask@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-mask/-/plugin-mask-0.16.1.tgz#e7f2460e05c3cda7af5e76f33ccb0579f66f90df"
integrity sha512-snfiqHlVuj4bSFS0v96vo2PpqCDMe4JB+O++sMo5jF5mvGcGL6AIeLo8cYqPNpdO6BZpBJ8MY5El0Veckhr39Q==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-normalize@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-normalize/-/plugin-normalize-0.9.8.tgz"
integrity sha512-dPFBfwTa67K1tRw1leCidQT25R3ozrTUUOpO4jcGFHqXvBTWaR8sML1qxdfOBWs164mE5YpfdTvu6MM/junvCg==
"@jimp/plugin-normalize@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-normalize/-/plugin-normalize-0.16.1.tgz#032dfd88eefbc4dedc8b1b2d243832e4f3af30c8"
integrity sha512-dOQfIOvGLKDKXPU8xXWzaUeB0nvkosHw6Xg1WhS1Z5Q0PazByhaxOQkSKgUryNN/H+X7UdbDvlyh/yHf3ITRaw==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-print@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-print/-/plugin-print-0.9.8.tgz"
integrity sha512-nLLPv1/faehRsOjecXXUb6kzhRcZzImO55XuFZ0c90ZyoiHm4UFREwO5sKxHGvpLXS6RnkhvSav4+IWD2qGbEQ==
"@jimp/plugin-print@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-print/-/plugin-print-0.16.1.tgz#66b803563f9d109825970714466e6ab9ae639ff6"
integrity sha512-ceWgYN40jbN4cWRxixym+csyVymvrryuKBQ+zoIvN5iE6OyS+2d7Mn4zlNgumSczb9GGyZZESIgVcBDA1ezq0Q==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
load-bmfont "^1.4.0"
"@jimp/plugin-resize@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-resize/-/plugin-resize-0.9.8.tgz"
integrity sha512-L80NZ+HKsiKFyeDc6AfneC4+5XACrdL2vnyAVfAAsb3pmamgT/jDInWvvGhyI0Y76vx2w6XikplzEznW/QQvWg==
"@jimp/plugin-resize@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-resize/-/plugin-resize-0.16.1.tgz#65e39d848ed13ba2d6c6faf81d5d590396571d10"
integrity sha512-u4JBLdRI7dargC04p2Ha24kofQBk3vhaf0q8FwSYgnCRwxfvh2RxvhJZk9H7Q91JZp6wgjz/SjvEAYjGCEgAwQ==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-rotate@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-rotate/-/plugin-rotate-0.9.8.tgz"
integrity sha512-bpqzQheISYnBXKyU1lIj46uR7mRs0UhgEREWK70HnvFJSlRshdcoNMIrKamyrJeFdJrkYPSfR/a6D0d5zsWf1Q==
"@jimp/plugin-rotate@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-rotate/-/plugin-rotate-0.16.1.tgz#53fb5d51a4b3d05af9c91c2a8fffe5d7a1a47c8c"
integrity sha512-ZUU415gDQ0VjYutmVgAYYxC9Og9ixu2jAGMCU54mSMfuIlmohYfwARQmI7h4QB84M76c9hVLdONWjuo+rip/zg==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-scale@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-scale/-/plugin-scale-0.9.8.tgz"
integrity sha512-QU3ZS4Lre8nN66U9dKCOC4FNfaOh/QJFYUmQPKpPS924oYbtnm4OlmsdfpK2hVMSVVyVOis8M+xpA1rDBnIp7w==
"@jimp/plugin-scale@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-scale/-/plugin-scale-0.16.1.tgz#89f6ba59feed3429847ed226aebda33a240cc647"
integrity sha512-jM2QlgThIDIc4rcyughD5O7sOYezxdafg/2Xtd1csfK3z6fba3asxDwthqPZAgitrLgiKBDp6XfzC07Y/CefUw==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-shadow@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-shadow/-/plugin-shadow-0.9.8.tgz"
integrity sha512-t/pE+QS3r1ZUxGIQNmwWDI3c5+/hLU+gxXD+C3EEC47/qk3gTBHpj/xDdGQBoObdT/HRjR048vC2BgBfzjj2hg==
"@jimp/plugin-shadow@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-shadow/-/plugin-shadow-0.16.1.tgz#a7af892a740febf41211e10a5467c3c5c521a04c"
integrity sha512-MeD2Is17oKzXLnsphAa1sDstTu6nxscugxAEk3ji0GV1FohCvpHBcec0nAq6/czg4WzqfDts+fcPfC79qWmqrA==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugin-threshold@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugin-threshold/-/plugin-threshold-0.9.8.tgz"
integrity sha512-WWmC3lnIwOTPvkKu55w4DUY8Ehlzf3nU98bY0QtIzkqxkAOZU5m+lvgC/JxO5FyGiA57j9FLMIf0LsWkjARj7g==
"@jimp/plugin-threshold@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugin-threshold/-/plugin-threshold-0.16.1.tgz#34f3078f9965145b7ae26c53a32ad74b1195bbf5"
integrity sha512-iGW8U/wiCSR0+6syrPioVGoSzQFt4Z91SsCRbgNKTAk7D+XQv6OI78jvvYg4o0c2FOlwGhqz147HZV5utoSLxA==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
"@jimp/plugins@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/plugins/-/plugins-0.9.8.tgz"
integrity sha512-tD+cxS9SuEZaQ1hhAkNKw9TkUAqfoBAhdWPBrEZDr/GvGPrvJR4pYmmpSYhc5IZmMbXfQayHTTGqjj8D18bToA==
"@jimp/plugins@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/plugins/-/plugins-0.16.1.tgz#9f08544c97226d6460a16ced79f57e85bec3257b"
integrity sha512-c+lCqa25b+4q6mJZSetlxhMoYuiltyS+ValLzdwK/47+aYsq+kcJNl+TuxIEKf59yr9+5rkbpsPkZHLF/V7FFA==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/plugin-blit" "^0.9.8"
"@jimp/plugin-blur" "^0.9.8"
"@jimp/plugin-circle" "^0.9.8"
"@jimp/plugin-color" "^0.9.8"
"@jimp/plugin-contain" "^0.9.8"
"@jimp/plugin-cover" "^0.9.8"
"@jimp/plugin-crop" "^0.9.8"
"@jimp/plugin-displace" "^0.9.8"
"@jimp/plugin-dither" "^0.9.8"
"@jimp/plugin-fisheye" "^0.9.8"
"@jimp/plugin-flip" "^0.9.8"
"@jimp/plugin-gaussian" "^0.9.8"
"@jimp/plugin-invert" "^0.9.8"
"@jimp/plugin-mask" "^0.9.8"
"@jimp/plugin-normalize" "^0.9.8"
"@jimp/plugin-print" "^0.9.8"
"@jimp/plugin-resize" "^0.9.8"
"@jimp/plugin-rotate" "^0.9.8"
"@jimp/plugin-scale" "^0.9.8"
"@jimp/plugin-shadow" "^0.9.8"
"@jimp/plugin-threshold" "^0.9.8"
core-js "^3.4.1"
"@jimp/plugin-blit" "^0.16.1"
"@jimp/plugin-blur" "^0.16.1"
"@jimp/plugin-circle" "^0.16.1"
"@jimp/plugin-color" "^0.16.1"
"@jimp/plugin-contain" "^0.16.1"
"@jimp/plugin-cover" "^0.16.1"
"@jimp/plugin-crop" "^0.16.1"
"@jimp/plugin-displace" "^0.16.1"
"@jimp/plugin-dither" "^0.16.1"
"@jimp/plugin-fisheye" "^0.16.1"
"@jimp/plugin-flip" "^0.16.1"
"@jimp/plugin-gaussian" "^0.16.1"
"@jimp/plugin-invert" "^0.16.1"
"@jimp/plugin-mask" "^0.16.1"
"@jimp/plugin-normalize" "^0.16.1"
"@jimp/plugin-print" "^0.16.1"
"@jimp/plugin-resize" "^0.16.1"
"@jimp/plugin-rotate" "^0.16.1"
"@jimp/plugin-scale" "^0.16.1"
"@jimp/plugin-shadow" "^0.16.1"
"@jimp/plugin-threshold" "^0.16.1"
timm "^1.6.1"
"@jimp/png@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/png/-/png-0.9.8.tgz"
integrity sha512-9CqR8d40zQCDhbnXHqcwkAMnvlV0vk9xSyE6LHjkYHS7x18Unsz5txQdsaEkEcXxCrOQSoWyITfLezlrWXRJAA==
"@jimp/png@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/png/-/png-0.16.1.tgz#f24cfc31529900b13a2dd9d4fdb4460c1e4d814e"
integrity sha512-iyWoCxEBTW0OUWWn6SveD4LePW89kO7ZOy5sCfYeDM/oTPLpR8iMIGvZpZUz1b8kvzFr27vPst4E5rJhGjwsdw==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/utils" "^0.9.8"
core-js "^3.4.1"
"@jimp/utils" "^0.16.1"
pngjs "^3.3.3"
"@jimp/tiff@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/tiff/-/tiff-0.9.8.tgz"
integrity sha512-eMxcpJivJqMByn2dZxUHLeh6qvVs5J/52kBF3TFa3C922OJ97D9l1C1h0WKUCBqFMWzMYapQQ4vwnLgpJ5tkow==
"@jimp/tiff@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/tiff/-/tiff-0.16.1.tgz#0e8756695687d7574b6bc73efab0acd4260b7a12"
integrity sha512-3K3+xpJS79RmSkAvFMgqY5dhSB+/sxhwTFA9f4AVHUK0oKW+u6r52Z1L0tMXHnpbAdR9EJ+xaAl2D4x19XShkQ==
dependencies:
"@babel/runtime" "^7.7.2"
core-js "^3.4.1"
utif "^2.0.1"
"@jimp/types@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/types/-/types-0.9.8.tgz"
integrity sha512-H5y/uqt0lqJ/ZN8pWqFG+pv8jPAppMKkTMByuC8YBIjWSsornwv44hjiWl93sbYhduLZY8ubz/CbX9jH2X6EwA==
"@jimp/types@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/types/-/types-0.16.1.tgz#0dbab37b3202315c91010f16c31766d35a2322cc"
integrity sha512-g1w/+NfWqiVW4CaXSJyD28JQqZtm2eyKMWPhBBDCJN9nLCN12/Az0WFF3JUAktzdsEC2KRN2AqB1a2oMZBNgSQ==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/bmp" "^0.9.8"
"@jimp/gif" "^0.9.8"
"@jimp/jpeg" "^0.9.8"
"@jimp/png" "^0.9.8"
"@jimp/tiff" "^0.9.8"
core-js "^3.4.1"
"@jimp/bmp" "^0.16.1"
"@jimp/gif" "^0.16.1"
"@jimp/jpeg" "^0.16.1"
"@jimp/png" "^0.16.1"
"@jimp/tiff" "^0.16.1"
timm "^1.6.1"
"@jimp/utils@^0.9.8":
version "0.9.8"
resolved "https://registry.npmjs.org/@jimp/utils/-/utils-0.9.8.tgz"
integrity sha512-UK0Fu0eevQlpRXq5ff4o/71HJlpX9wJMddJjMYg9vUqCCl8ZnumRAljfShHFhGyO+Vc9IzN6dd8Y5JZZTp1KOw==
"@jimp/utils@^0.16.1":
version "0.16.1"
resolved "https://registry.yarnpkg.com/@jimp/utils/-/utils-0.16.1.tgz#2f51e6f14ff8307c4aa83d5e1a277da14a9fe3f7"
integrity sha512-8fULQjB0x4LzUSiSYG6ZtQl355sZjxbv8r9PPAuYHzS9sGiSHJQavNqK/nKnpDsVkU88/vRGcE7t3nMU0dEnVw==
dependencies:
"@babel/runtime" "^7.7.2"
core-js "^3.4.1"
regenerator-runtime "^0.13.3"
"@mrmlnc/readdir-enhanced@^2.2.1":
version "2.2.1"
@ -1509,7 +1480,7 @@
"@types/node@^14.6.2":
version "14.17.9"
resolved "https://registry.nlark.com/@types/node/download/@types/node-14.17.9.tgz?cache=0&sync_timestamp=1628719497956&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fnode%2Fdownload%2F%40types%2Fnode-14.17.9.tgz#b97c057e6138adb7b720df2bd0264b03c9f504fd"
resolved "https://registry.nlark.com/@types/node/download/@types/node-14.17.9.tgz#b97c057e6138adb7b720df2bd0264b03c9f504fd"
integrity sha1-uXwFfmE4rbe3IN8r0CZLA8n1BP0=
"@types/normalize-package-data@^2.4.0":
@ -1823,6 +1794,24 @@
optionalDependencies:
vue-loader-v16 "npm:vue-loader@^16.0.0-beta.7"
"@vue/cli-shared-utils@^4.5.6":
version "4.5.13"
resolved "https://registry.nlark.com/@vue/cli-shared-utils/download/@vue/cli-shared-utils-4.5.13.tgz?cache=0&sync_timestamp=1628579241293&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vue%2Fcli-shared-utils%2Fdownload%2F%40vue%2Fcli-shared-utils-4.5.13.tgz#acd40f31b4790f1634292bdaa5fca95dc1e0ff50"
integrity sha1-rNQPMbR5DxY0KSvapfypXcHg/1A=
dependencies:
"@hapi/joi" "^15.0.1"
chalk "^2.4.2"
execa "^1.0.0"
launch-editor "^2.2.1"
lru-cache "^5.1.1"
node-ipc "^9.1.1"
open "^6.3.0"
ora "^3.4.0"
read-pkg "^5.1.1"
request "^2.88.2"
semver "^6.1.0"
strip-ansi "^6.0.0"
"@vue/cli-shared-utils@^4.5.7":
version "4.5.7"
resolved "https://registry.npm.taobao.org/@vue/cli-shared-utils/download/@vue/cli-shared-utils-4.5.7.tgz?cache=0&sync_timestamp=1602060136132&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vue%2Fcli-shared-utils%2Fdownload%2F%40vue%2Fcli-shared-utils-4.5.7.tgz"
@ -2297,9 +2286,9 @@ argparse@^1.0.7:
dependencies:
sprintf-js "~1.0.2"
args@^5.0.0:
args@^5.0.1:
version "5.0.1"
resolved "https://registry.npmjs.org/args/-/args-5.0.1.tgz"
resolved "https://registry.yarnpkg.com/args/-/args-5.0.1.tgz#4bf298df90a4799a09521362c579278cc2fdd761"
integrity sha512-1kqmFCFsPffavQFGt8OxJdIcETti99kySRUPMpOhaGjL6mRJn8HFU1OxKY5bMqfZKUwTQc1mZkAjmGYaVOHFtQ==
dependencies:
camelcase "5.0.0"
@ -3789,7 +3778,7 @@ core-js@^2.4.0:
resolved "https://registry.npm.taobao.org/core-js/download/core-js-2.6.11.tgz?cache=0&sync_timestamp=1589682726446&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcore-js%2Fdownload%2Fcore-js-2.6.11.tgz"
integrity sha1-OIMUafmSK97Y7iHJ3EaYXgOZMIw=
core-js@^3.4.1, core-js@^3.6.5:
core-js@^3.6.5:
version "3.6.5"
resolved "https://registry.npm.taobao.org/core-js/download/core-js-3.6.5.tgz?cache=0&sync_timestamp=1589682726446&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcore-js%2Fdownload%2Fcore-js-3.6.5.tgz"
integrity sha1-c5XcJzrzf7LlDpvT2f6EEoUjHRo=
@ -3876,7 +3865,7 @@ cross-spawn@^6.0.0, cross-spawn@^6.0.5:
shebang-command "^1.2.0"
which "^1.2.9"
cross-spawn@^7.0.0:
cross-spawn@^7.0.0, cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-7.0.3.tgz"
integrity sha1-9zqFudXUHQRVUcF34ogtSshXKKY=
@ -4595,14 +4584,14 @@ electron-devtools-installer@^3.1.0:
semver "^7.2.1"
unzip-crx-3 "^0.2.0"
electron-icon-builder@^1.0.2:
version "1.0.2"
resolved "https://registry.npmjs.org/electron-icon-builder/-/electron-icon-builder-1.0.2.tgz"
integrity sha512-ti7Xp6UmOmq+AThfrnmPVaCiMYLWaVcyTVkPommmFHb4GkQhtOeTJtwtko+FnnC7RFBLo4MogDrz611lNdSVPw==
electron-icon-builder@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/electron-icon-builder/-/electron-icon-builder-2.0.1.tgz#f43171bde3074870158433aa6103497bc5249793"
integrity sha512-rg9BxW2kJi3TXsMFFNXWXrwQEd5dzXmeD+w7Pj3k3z7aYRePLxE89qU4lvL/rK1X/NTY5KDn3+Dbgm1TU2dGXQ==
dependencies:
args "^5.0.0"
args "^5.0.1"
icon-gen "^2.0.0"
jimp "^0.9.3"
jimp "^0.16.1"
electron-publish@22.9.1:
version "22.9.1"
@ -4651,7 +4640,7 @@ electron-updater@^4.3.5:
lodash.isequal "^4.5.0"
semver "^7.3.2"
electron@^13.1.9:
electron@^13.0.0:
version "13.1.9"
resolved "https://registry.nlark.com/electron/download/electron-13.1.9.tgz#668e2632b81e9fa21edfd32876282d3e2ff7fd76"
integrity sha1-Zo4mMrgen6Ie39ModigtPi/3/XY=
@ -5160,19 +5149,19 @@ execa@^3.3.0:
signal-exit "^3.0.2"
strip-final-newline "^2.0.0"
execa@^4.0.0:
version "4.0.3"
resolved "https://registry.npm.taobao.org/execa/download/execa-4.0.3.tgz"
integrity sha1-CjTau61tZhAL1vLFdshmlAPzF/I=
execa@^5.0.0:
version "5.1.1"
resolved "https://registry.nlark.com/execa/download/execa-5.1.1.tgz?cache=0&sync_timestamp=1622825396605&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fexeca%2Fdownload%2Fexeca-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd"
integrity sha1-+ArZy/Qpj3vR1MlVXCHpN0HEEd0=
dependencies:
cross-spawn "^7.0.0"
get-stream "^5.0.0"
human-signals "^1.1.1"
cross-spawn "^7.0.3"
get-stream "^6.0.0"
human-signals "^2.1.0"
is-stream "^2.0.0"
merge-stream "^2.0.0"
npm-run-path "^4.0.0"
onetime "^5.1.0"
signal-exit "^3.0.2"
npm-run-path "^4.0.1"
onetime "^5.1.2"
signal-exit "^3.0.3"
strip-final-newline "^2.0.0"
exif-parser@^0.1.12:
@ -5752,6 +5741,11 @@ get-stream@^5.0.0, get-stream@^5.1.0:
dependencies:
pump "^3.0.0"
get-stream@^6.0.0:
version "6.0.1"
resolved "https://registry.npm.taobao.org/get-stream/download/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
integrity sha1-omLY7vZ6ztV8KFKtYWdSakPL97c=
get-value@^2.0.3, get-value@^2.0.6:
version "2.0.6"
resolved "https://registry.npm.taobao.org/get-value/download/get-value-2.0.6.tgz"
@ -5764,6 +5758,14 @@ getpass@^0.1.1:
dependencies:
assert-plus "^1.0.0"
gifwrap@^0.9.2:
version "0.9.2"
resolved "https://registry.yarnpkg.com/gifwrap/-/gifwrap-0.9.2.tgz#348e286e67d7cf57942172e1e6f05a71cee78489"
integrity sha512-fcIswrPaiCDAyO8xnWvHSZdWChjKXUanKKpAiWWJ/UTkEi/aYKn5+90e7DE820zbEaVR9CE2y4z9bzhQijZ0BA==
dependencies:
image-q "^1.1.1"
omggif "^1.0.10"
glob-parent@^3.1.0:
version "3.1.0"
resolved "https://registry.npm.taobao.org/glob-parent/download/glob-parent-3.1.0.tgz"
@ -6252,6 +6254,11 @@ human-signals@^1.1.1:
resolved "https://registry.npm.taobao.org/human-signals/download/human-signals-1.1.1.tgz"
integrity sha1-xbHNFPUK6uCatsWf5jujOV/k36M=
human-signals@^2.1.0:
version "2.1.0"
resolved "https://registry.nlark.com/human-signals/download/human-signals-2.1.0.tgz?cache=0&sync_timestamp=1624364695595&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhuman-signals%2Fdownload%2Fhuman-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
integrity sha1-3JH8ukLk0G5Kuu0zs+ejwC9RTqA=
icon-gen@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/icon-gen/-/icon-gen-2.0.0.tgz"
@ -6316,6 +6323,11 @@ ignore@^5.1.1:
resolved "https://registry.npm.taobao.org/ignore/download/ignore-5.1.8.tgz"
integrity sha1-8VCotQo0KJsz4i9YiavU2AFvDlc=
image-q@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/image-q/-/image-q-1.1.1.tgz#fc84099664460b90ca862d9300b6bfbbbfbf8056"
integrity sha1-/IQJlmRGC5DKhi2TALa/u7+/gFY=
immediate@~3.0.5:
version "3.0.6"
resolved "https://registry.npm.taobao.org/immediate/download/immediate-3.0.6.tgz"
@ -6922,22 +6934,21 @@ jest-worker@^26.2.1:
merge-stream "^2.0.0"
supports-color "^7.0.0"
jimp@^0.9.3:
version "0.9.8"
resolved "https://registry.npmjs.org/jimp/-/jimp-0.9.8.tgz"
integrity sha512-DHN4apKMwLIvD/TKO9tFfPuankNuVK98vCwHm/Jv9z5cJnrd38xhi+4I7IAGmDU3jIDlrEVhzTkFH1Ymv5yTQQ==
jimp@^0.16.1:
version "0.16.1"
resolved "https://registry.yarnpkg.com/jimp/-/jimp-0.16.1.tgz#192f851a30e5ca11112a3d0aa53137659a78ca7a"
integrity sha512-+EKVxbR36Td7Hfd23wKGIeEyHbxShZDX6L8uJkgVW3ESA9GiTEPK08tG1XI2r/0w5Ch0HyJF5kPqF9K7EmGjaw==
dependencies:
"@babel/runtime" "^7.7.2"
"@jimp/custom" "^0.9.8"
"@jimp/plugins" "^0.9.8"
"@jimp/types" "^0.9.8"
core-js "^3.4.1"
"@jimp/custom" "^0.16.1"
"@jimp/plugins" "^0.16.1"
"@jimp/types" "^0.16.1"
regenerator-runtime "^0.13.3"
jpeg-js@^0.3.4:
version "0.3.7"
resolved "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.3.7.tgz"
integrity sha512-9IXdWudL61npZjvLuVe/ktHiA41iE8qFyLB+4VDTblEsWBzeg8WQTlktdUK4CdncUqtUgUg0bbOmTE2bKBKaBQ==
jpeg-js@0.4.2:
version "0.4.2"
resolved "https://registry.yarnpkg.com/jpeg-js/-/jpeg-js-0.4.2.tgz#8b345b1ae4abde64c2da2fe67ea216a114ac279d"
integrity sha512-+az2gi/hvex7eLTMTlbRLOhH6P6WFdk2ITI8HJsaH2VqYO0I594zXSYEP+tf4FW+8Cy68ScDXoAsQdyQanv3sw==
js-message@1.0.5:
version "1.0.5"
@ -8028,7 +8039,7 @@ npm-run-path@^2.0.0:
dependencies:
path-key "^2.0.0"
npm-run-path@^4.0.0:
npm-run-path@^4.0.0, npm-run-path@^4.0.1:
version "4.0.1"
resolved "https://registry.npm.taobao.org/npm-run-path/download/npm-run-path-4.0.1.tgz"
integrity sha1-t+zR5e1T2o43pV4cImnguX7XSOo=
@ -8141,7 +8152,7 @@ obuf@^1.0.0, obuf@^1.1.2:
resolved "https://registry.npm.taobao.org/obuf/download/obuf-1.1.2.tgz"
integrity sha1-Cb6jND1BhZ69RGKS0RydTbYZCE4=
omggif@^1.0.9:
omggif@^1.0.10, omggif@^1.0.9:
version "1.0.10"
resolved "https://registry.npmjs.org/omggif/-/omggif-1.0.10.tgz"
integrity sha512-LMJTtvgc/nugXj0Vcrrs68Mn2D1r0zf630VNtqtpI1FEO7e+O9FP4gqs9AcnBaSEeoHIPm28u6qgPR0oyEpGSw==
@ -8179,7 +8190,7 @@ onetime@^2.0.0:
dependencies:
mimic-fn "^1.0.0"
onetime@^5.1.0:
onetime@^5.1.0, onetime@^5.1.2:
version "5.1.2"
resolved "https://registry.npm.taobao.org/onetime/download/onetime-5.1.2.tgz?cache=0&sync_timestamp=1597005345612&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fonetime%2Fdownload%2Fonetime-5.1.2.tgz"
integrity sha1-0Oluu1awdHbfHdnEgG5SN5hcpF4=
@ -10001,7 +10012,7 @@ shortid@^2.2.14:
dependencies:
nanoid "^2.1.0"
signal-exit@^3.0.0, signal-exit@^3.0.2:
signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3:
version "3.0.3"
resolved "https://registry.npm.taobao.org/signal-exit/download/signal-exit-3.0.3.tgz"
integrity sha1-oUEMLt2PB3sItOJTyOrPyvBXRhw=
@ -11267,14 +11278,15 @@ vm-browserify@^1.0.1:
resolved "https://registry.npm.taobao.org/vm-browserify/download/vm-browserify-1.1.2.tgz?cache=0&sync_timestamp=1589682787766&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvm-browserify%2Fdownload%2Fvm-browserify-1.1.2.tgz"
integrity sha1-eGQcSIuObKkadfUR56OzKobl3aA=
vue-cli-plugin-electron-builder@^2.0.0-rc.4:
version "2.0.0-rc.4"
resolved "https://registry.npm.taobao.org/vue-cli-plugin-electron-builder/download/vue-cli-plugin-electron-builder-2.0.0-rc.4.tgz"
integrity sha1-yBknngD+Z3GRL18EaO4m8nl1Cls=
vue-cli-plugin-electron-builder@~2.1.1:
version "2.1.1"
resolved "https://registry.nlark.com/vue-cli-plugin-electron-builder/download/vue-cli-plugin-electron-builder-2.1.1.tgz#de8bed25b32e73e28dd08061dd2a3c6bfff73227"
integrity sha1-3ovtJbMuc+KN0IBh3So8a//3Mic=
dependencies:
"@vue/cli-shared-utils" "^4.5.6"
chokidar "^3.0.2"
electron-builder "^22.2.0"
execa "^4.0.0"
execa "^5.0.0"
friendly-errors-webpack-plugin "^1.7.0"
fs-extra "^9.0.1"
lodash.merge "^4.6.1"

View File

@ -34,9 +34,17 @@ function registerProcessListener () {
log.info('Unhandled Rejection at: Promise', p, 'err:', err)
// application specific logging, throwing an error, or other logic here
})
process.on('exit', function (code) {
log.info('代理服务进程被关闭:', code)
process.on('uncaughtExceptionMonitor', (err, origin) => {
log.info('uncaughtExceptionMonitor:', err, origin)
})
process.on('exit', function (code, signal) {
log.info('代理服务进程被关闭:', code, signal)
})
process.on('beforeExit', (code, signal) => {
console.log('Process beforeExit event with code: ', code, signal)
})
process.on('SIGPIPE', (code, signal) => {
log.warn('sub Process SIGPIPE', code, signal)
})
}

View File

@ -0,0 +1,13 @@
module.exports = {
requestIntercept (context, interceptOpt) {
const { rOptions } = context
if (interceptOpt.sni != null) {
rOptions.servername = interceptOpt.sni
console.log('sni replace', rOptions.hostname, rOptions.servername)
}
return true
},
is (interceptOpt) {
return !!interceptOpt.sni
}
}

View File

@ -3,6 +3,7 @@ const redirect = require('./impl/redirect')
const abort = require('./impl/abort')
const success = require('./impl/success')
const script = require('./impl/script')
const modules = [proxy, redirect, abort, script, success]
const sni = require('./impl/sni')
const modules = [proxy, redirect, abort, script, success, sni]
module.exports = modules

View File

@ -54,7 +54,6 @@ function connect (req, cltSocket, head, hostname, port, dnsConfig, sniRegexpMap)
const start = new Date().getTime()
let isDnsIntercept = null
const replaceSni = matchUtil.matchHostname(sniRegexpMap, hostname)
console.log('replaceSni', replaceSni, sniRegexpMap)
try {
const options = {
port,

View File

@ -53,7 +53,7 @@ module.exports = function createRequestHandler (createIntercepts, middlewares, e
if (!reqIncpt.requestIntercept) {
continue
}
const goNext = reqIncpt.requestIntercept(context, req, res, ssl, next)
const goNext = reqIncpt.requestIntercept(context, req, res, ssl)
if (goNext) {
next()
return

View File

@ -1,33 +1,25 @@
Arguments:
/usr/local/bin/node /usr/local/bin/yarn install
/usr/bin/node /usr/local/bin/yarn install
PATH:
/usr/local/lib/ruby/gems/3.0.0/bin:/usr/local/opt/ruby/bin:/usr/local/opt/openssl@1.1/bin:/usr/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/Users/daiboning/.npm-global/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/daiboning/Desktop/codes/dev-sidecar/node_modules/.bin
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Yarn version:
1.22.10
1.22.11
Node version:
14.15.4
14.17.5
Platform:
darwin x64
linux x64
Trace:
Error: https://registry.npm.taobao.org/string.prototype.trimend/download/string.prototype.trimend-1.0.2.tgz?cache=0&sync_timestamp=1603219618123&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring.prototype.trimend%2Fdownload%2Fstring.prototype.trimend-1.0.2.tgz: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:1181
at ClientRequest.onError (/usr/local/lib/node_modules/yarn/lib/cli.js:152235:17)
at Object.onceWrapper (events.js:422:26)
at ClientRequest.emit (events.js:315:20)
at Socket.socketErrorListener (_http_client.js:469:9)
at Socket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Error: ENOENT: no such file or directory, copyfile '/home/xiaojunnuo/.cache/yarn/v6/npm-webpack-4.44.2-6bfe2b0af055c8b2d1e90ed2cd9363f841266b72-integrity/node_modules/webpack/declarations/plugins/BannerPlugin.d.ts' -> '/home/xiaojunnuo/Codes/dev-sidecar/packages/mitmproxy/node_modules/webpack/declarations/plugins/BannerPlugin.d.ts'
npm manifest:
{
"name": "@docmirror/mitmproxy",
"version": "1.4.0",
"version": "1.5.1",
"description": "",
"main": "src/index.js",
"keywords": [
@ -56,6 +48,7 @@ npm manifest:
"node-cmd": "^3.0.0",
"node-forge": "^0.8.2",
"require-context": "^1.1.0",
"stream-throttle": "^0.1.3",
"through2": "^2.0.1",
"tunnel-agent": "^0.4.3",
"util": "^0.12.3",
@ -92,7 +85,7 @@ npm manifest:
"last 2 versions",
"not dead"
],
"gitHead": "660c77e4279c1499f771270941526614f927bdf1"
"gitHead": "3566cd6d33cbe782d91e408d6f174dd826b2790f"
}
yarn manifest:
@ -2104,7 +2097,7 @@ Lockfile:
dependencies:
delayed-stream "~1.0.0"
commander@^2.20.0, commander@^2.9.0:
commander@^2.2.0, commander@^2.20.0, commander@^2.9.0:
version "2.20.3"
resolved "https://registry.npm.taobao.org/commander/download/commander-2.20.3.tgz?cache=0&sync_timestamp=1603599636161&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcommander%2Fdownload%2Fcommander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
integrity sha1-/UhehMA+tIgcIHIrpIA16FMa6zM=
@ -3898,6 +3891,11 @@ Lockfile:
prelude-ls "~1.1.2"
type-check "~0.3.2"
limiter@^1.0.5:
version "1.1.5"
resolved "https://registry.npm.taobao.org/limiter/download/limiter-1.1.5.tgz#8f92a25b3b16c6131293a0cc834b4a838a2aa7c2"
integrity sha1-j5KiWzsWxhMSk6DMg0tKg4oqp8I=
lines-and-columns@^1.1.6:
version "1.1.6"
resolved "https://registry.npm.taobao.org/lines-and-columns/download/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
@ -5387,6 +5385,14 @@ Lockfile:
resolved "https://registry.npm.taobao.org/stream-shift/download/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d"
integrity sha1-1wiCgVWasneEJCebCHfaPDktWj0=
stream-throttle@^0.1.3:
version "0.1.3"
resolved "https://registry.npm.taobao.org/stream-throttle/download/stream-throttle-0.1.3.tgz#add57c8d7cc73a81630d31cd55d3961cfafba9c3"
integrity sha1-rdV8jXzHOoFjDTHNVdOWHPr7qcM=
dependencies:
commander "^2.2.0"
limiter "^1.0.5"
streamroller@^2.2.4:
version "2.2.4"
resolved "https://registry.yarnpkg.com/streamroller/-/streamroller-2.2.4.tgz#c198ced42db94086a6193608187ce80a5f2b0e53"

View File

@ -31,7 +31,6 @@ function testCa() {
process.env.NODE_EXTRA_CA_CERTS = 'C:\\Users\\Administrator\\.dev-sidecar\\dev-sidecar.ca.crt'
process.env.GLOBAL_AGENT_HTTP_PROXY = "http://127.0.0.1:1181"
process.env.GLOBAL_AGENT_HTTPS_PROXY = "http://127.0.0.1:1181"
console.log('111', process.env.NODE_EXTRA_CA_CERTS)
const options = {
agent : new https.Agent({