You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2021/10/26 17:36:50 UTC
[echarts-bot] branch master updated (f7e883e -> ab60cd8)
This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-bot.git.
from f7e883e fix(text): fix a grammar error.
new 2fe9cdc feat: close issue when it's labeled with `duplicate`.
new ab60cd8 chore: update dependencies.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
index.js | 1 +
package-lock.json | 84 +++++++++++++++++++++++++++++++------------------------
package.json | 4 +--
src/label.js | 2 ++
4 files changed, 53 insertions(+), 38 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[echarts-bot] 02/02: chore: update dependencies.
Posted by wa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-bot.git
commit ab60cd8cee4131b5e04ec940ed40656c1aba3c09
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Wed Oct 27 01:35:20 2021 +0800
chore: update dependencies.
---
package-lock.json | 84 +++++++++++++++++++++++++++++++------------------------
package.json | 4 +--
2 files changed, 50 insertions(+), 38 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 17dab4e..4792d9a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,9 +10,9 @@
"license": "Apache-2.0",
"dependencies": {
"@plainheart/google-translate-api": "^1.1.0",
- "bing-translate-api": "^2.2.0",
+ "bing-translate-api": "^2.2.1",
"franc-min": "^5.0.0",
- "probot": "^12.0.0"
+ "probot": "^12.1.1"
},
"devDependencies": {
"jest": "^25.0.0",
@@ -1321,9 +1321,9 @@
"integrity": "sha512-c3Xy026kOF7QOTn00hbIllV1dLR9hG9NkSrLQgCVs8NF6sBU+VGWjD3wLPhmh1TYAc7ugCFsvHYMN4VcBN1U1A=="
},
"node_modules/@types/ioredis": {
- "version": "4.26.3",
- "resolved": "https://registry.npmjs.org/@types/ioredis/-/ioredis-4.26.3.tgz",
- "integrity": "sha512-2YiIUTo/MCZidXXfHAIoh2DUlGEG7zYFMfz0VXzTpI5934/wBCT5a/pR24lHCKk9WQNIlYauIFxQHcAF93w1FA==",
+ "version": "4.27.8",
+ "resolved": "https://registry.npmjs.org/@types/ioredis/-/ioredis-4.27.8.tgz",
+ "integrity": "sha512-THsyghYuFI6h/UzwEaeSeagRxiDG1P/NIiL5uTjN7bcbQHwDP6nMWJfEmY0iuu3pOzl1j0FgRpAYz7WWX2eW0Q==",
"dependencies": {
"@types/node": "*"
}
@@ -2137,9 +2137,9 @@
}
},
"node_modules/bing-translate-api": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/bing-translate-api/-/bing-translate-api-2.2.0.tgz",
- "integrity": "sha512-SX/y/ltUOujFNyyP7wIyc/GEezFJIYECYKI6humnn9/Ayvyt/YlmBAAFE0QDlNKkIpFQJ5mJ2Yq2QORtndEWgQ==",
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/bing-translate-api/-/bing-translate-api-2.2.1.tgz",
+ "integrity": "sha512-LNsma1Cg1q6AMtI75VhasyCdpTpog4gXRSs7WQPJaOuptsNx5hz9ebR1A7hzmh5plqKVTV0+xid/wCxbTZHPmw==",
"dependencies": {
"got": "^11.8.2",
"qs": "^6.9.6"
@@ -3248,9 +3248,9 @@
}
},
"node_modules/denque": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.0.tgz",
- "integrity": "sha512-CYiCSgIF1p6EUByQPlGkKnP1M9g0ZV3qMIrqMqZqdwazygIA/YP2vrbcyl1h/WppKJTdl1F85cXIle+394iDAQ==",
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz",
+ "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==",
"engines": {
"node": ">=0.10"
}
@@ -5608,15 +5608,16 @@
}
},
"node_modules/ioredis": {
- "version": "4.27.2",
- "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.27.2.tgz",
- "integrity": "sha512-7OpYymIthonkC2Jne5uGWXswdhlua1S1rWGAERaotn0hGJWTSURvxdHA9G6wNbT/qKCloCja/FHsfKXW8lpTmg==",
+ "version": "4.28.0",
+ "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.0.tgz",
+ "integrity": "sha512-I+zkeeWp3XFgPT2CtJKxvaF5FjGBGt4yGYljRjQecdQKteThuAsKqffeF1lgHVlYnuNeozRbPOCDNZ7tDWPeig==",
"dependencies": {
"cluster-key-slot": "^1.1.0",
"debug": "^4.3.1",
"denque": "^1.1.0",
"lodash.defaults": "^4.2.0",
"lodash.flatten": "^4.4.0",
+ "lodash.isarguments": "^3.1.0",
"p-map": "^2.1.0",
"redis-commands": "1.7.0",
"redis-errors": "^1.2.0",
@@ -7011,6 +7012,11 @@
"resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz",
"integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8="
},
+ "node_modules/lodash.isarguments": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz",
+ "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo="
+ },
"node_modules/lodash.isboolean": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz",
@@ -8360,9 +8366,9 @@
}
},
"node_modules/probot": {
- "version": "12.0.0",
- "resolved": "https://registry.npmjs.org/probot/-/probot-12.0.0.tgz",
- "integrity": "sha512-waFAEqlNpOFwEseY7YaOlDbk98dAs/YKL0XR5AqJzTxTKxrX5J/eaQS/YHamSPcQ2aDbeVP7IxZoTwmdsUDuYg==",
+ "version": "12.1.1",
+ "resolved": "https://registry.npmjs.org/probot/-/probot-12.1.1.tgz",
+ "integrity": "sha512-ETuk/uRldzV58KwLCfXqAfdXTNDwT4NvHoWnigBFXACYO0DhORAxAd0gwK1HpRgl3ROgyPr5f7pKQCP3g3FFVw==",
"dependencies": {
"@octokit/core": "^3.2.4",
"@octokit/plugin-enterprise-compatibility": "^1.2.8",
@@ -8376,7 +8382,7 @@
"@probot/octokit-plugin-config": "^1.0.0",
"@probot/pino": "^2.2.0",
"@types/express": "^4.17.9",
- "@types/ioredis": "^4.17.8",
+ "@types/ioredis": "^4.27.1",
"@types/pino": "^6.3.4",
"@types/pino-http": "^5.0.6",
"@types/update-notifier": "^5.0.0",
@@ -8387,7 +8393,7 @@
"eventsource": "^1.0.7",
"express": "^4.17.1",
"hbs": "^4.1.1",
- "ioredis": "^4.19.2",
+ "ioredis": "^4.27.8",
"js-yaml": "^3.14.1",
"lru-cache": "^6.0.0",
"octokit-auth-probot": "^1.2.2",
@@ -12813,9 +12819,9 @@
"integrity": "sha512-c3Xy026kOF7QOTn00hbIllV1dLR9hG9NkSrLQgCVs8NF6sBU+VGWjD3wLPhmh1TYAc7ugCFsvHYMN4VcBN1U1A=="
},
"@types/ioredis": {
- "version": "4.26.3",
- "resolved": "https://registry.npmjs.org/@types/ioredis/-/ioredis-4.26.3.tgz",
- "integrity": "sha512-2YiIUTo/MCZidXXfHAIoh2DUlGEG7zYFMfz0VXzTpI5934/wBCT5a/pR24lHCKk9WQNIlYauIFxQHcAF93w1FA==",
+ "version": "4.27.8",
+ "resolved": "https://registry.npmjs.org/@types/ioredis/-/ioredis-4.27.8.tgz",
+ "integrity": "sha512-THsyghYuFI6h/UzwEaeSeagRxiDG1P/NIiL5uTjN7bcbQHwDP6nMWJfEmY0iuu3pOzl1j0FgRpAYz7WWX2eW0Q==",
"requires": {
"@types/node": "*"
}
@@ -13481,9 +13487,9 @@
"dev": true
},
"bing-translate-api": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/bing-translate-api/-/bing-translate-api-2.2.0.tgz",
- "integrity": "sha512-SX/y/ltUOujFNyyP7wIyc/GEezFJIYECYKI6humnn9/Ayvyt/YlmBAAFE0QDlNKkIpFQJ5mJ2Yq2QORtndEWgQ==",
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/bing-translate-api/-/bing-translate-api-2.2.1.tgz",
+ "integrity": "sha512-LNsma1Cg1q6AMtI75VhasyCdpTpog4gXRSs7WQPJaOuptsNx5hz9ebR1A7hzmh5plqKVTV0+xid/wCxbTZHPmw==",
"requires": {
"got": "^11.8.2",
"qs": "^6.9.6"
@@ -14360,9 +14366,9 @@
"dev": true
},
"denque": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.0.tgz",
- "integrity": "sha512-CYiCSgIF1p6EUByQPlGkKnP1M9g0ZV3qMIrqMqZqdwazygIA/YP2vrbcyl1h/WppKJTdl1F85cXIle+394iDAQ=="
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz",
+ "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw=="
},
"depd": {
"version": "1.1.2",
@@ -16201,15 +16207,16 @@
}
},
"ioredis": {
- "version": "4.27.2",
- "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.27.2.tgz",
- "integrity": "sha512-7OpYymIthonkC2Jne5uGWXswdhlua1S1rWGAERaotn0hGJWTSURvxdHA9G6wNbT/qKCloCja/FHsfKXW8lpTmg==",
+ "version": "4.28.0",
+ "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.0.tgz",
+ "integrity": "sha512-I+zkeeWp3XFgPT2CtJKxvaF5FjGBGt4yGYljRjQecdQKteThuAsKqffeF1lgHVlYnuNeozRbPOCDNZ7tDWPeig==",
"requires": {
"cluster-key-slot": "^1.1.0",
"debug": "^4.3.1",
"denque": "^1.1.0",
"lodash.defaults": "^4.2.0",
"lodash.flatten": "^4.4.0",
+ "lodash.isarguments": "^3.1.0",
"p-map": "^2.1.0",
"redis-commands": "1.7.0",
"redis-errors": "^1.2.0",
@@ -17275,6 +17282,11 @@
"resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz",
"integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8="
},
+ "lodash.isarguments": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz",
+ "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo="
+ },
"lodash.isboolean": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz",
@@ -18320,9 +18332,9 @@
}
},
"probot": {
- "version": "12.0.0",
- "resolved": "https://registry.npmjs.org/probot/-/probot-12.0.0.tgz",
- "integrity": "sha512-waFAEqlNpOFwEseY7YaOlDbk98dAs/YKL0XR5AqJzTxTKxrX5J/eaQS/YHamSPcQ2aDbeVP7IxZoTwmdsUDuYg==",
+ "version": "12.1.1",
+ "resolved": "https://registry.npmjs.org/probot/-/probot-12.1.1.tgz",
+ "integrity": "sha512-ETuk/uRldzV58KwLCfXqAfdXTNDwT4NvHoWnigBFXACYO0DhORAxAd0gwK1HpRgl3ROgyPr5f7pKQCP3g3FFVw==",
"requires": {
"@octokit/core": "^3.2.4",
"@octokit/plugin-enterprise-compatibility": "^1.2.8",
@@ -18336,7 +18348,7 @@
"@probot/octokit-plugin-config": "^1.0.0",
"@probot/pino": "^2.2.0",
"@types/express": "^4.17.9",
- "@types/ioredis": "^4.17.8",
+ "@types/ioredis": "^4.27.1",
"@types/pino": "^6.3.4",
"@types/pino-http": "^5.0.6",
"@types/update-notifier": "^5.0.0",
@@ -18347,7 +18359,7 @@
"eventsource": "^1.0.7",
"express": "^4.17.1",
"hbs": "^4.1.1",
- "ioredis": "^4.19.2",
+ "ioredis": "^4.27.8",
"js-yaml": "^3.14.1",
"lru-cache": "^6.0.0",
"octokit-auth-probot": "^1.2.2",
diff --git a/package.json b/package.json
index 765648d..3d21640 100644
--- a/package.json
+++ b/package.json
@@ -22,9 +22,9 @@
},
"dependencies": {
"@plainheart/google-translate-api": "^1.1.0",
- "bing-translate-api": "^2.2.0",
+ "bing-translate-api": "^2.2.1",
"franc-min": "^5.0.0",
- "probot": "^12.0.0"
+ "probot": "^12.1.1"
},
"devDependencies": {
"jest": "^25.0.0",
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[echarts-bot] 01/02: feat: close issue when it's labeled with
`duplicate`.
Posted by wa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-bot.git
commit 2fe9cdc351df89d1046e9a00c7f87b53c6a217d9
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Wed Oct 27 01:33:23 2021 +0800
feat: close issue when it's labeled with `duplicate`.
---
index.js | 1 +
src/label.js | 2 ++
2 files changed, 3 insertions(+)
diff --git a/index.js b/index.js
index d7082d8..3e67625 100644
--- a/index.js
+++ b/index.js
@@ -99,6 +99,7 @@ module.exports = (app) => {
return commentIssue(context, replaceAt(text.ISSUE_TAGGED_PRIORITY_HIGH));
case labelText.RESOLVED:
+ case labelText.DUPLICATE:
return Promise.all([
closeIssue(context),
getRemoveLabel(context, labelText.WAITING_FOR_COMMUNITY)
diff --git a/src/label.js b/src/label.js
index df5bd50..3e524d2 100644
--- a/src/label.js
+++ b/src/label.js
@@ -15,6 +15,7 @@ const RESOLVED = 'resolved';
const HOWTO = 'howto';
const INACTIVE = 'inactive';
const MISSING_DEMO = 'missing-demo';
+const DUPLICATE = 'duplicate';
const PRIORITY_HIGH = 'priority: high';
@@ -40,6 +41,7 @@ module.exports = {
HOWTO,
INACTIVE,
MISSING_DEMO,
+ DUPLICATE,
PRIORITY_HIGH,
PR_AWAITING_REVIEW,
PR_REVISION_NEEDED,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org