update dependencies and various tweaks (#7344)

- ran `make npm-update`
- ran `make js`, fixed new lint issue
- ran `make css`, this added back some vendor prefixes
- added `engines` property to package.json to specify minimum required
  Node.js version
- added `private` property to package.json to prevent accidential
  publishing to npm
This commit is contained in:
2019-07-02 21:11:24 +02:00
committed by zeripath
parent c39df04087
commit 68ec7b8be9
4 changed files with 172 additions and 262 deletions

372
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,18 @@
{
"license": "MIT",
"private": true,
"engines": {
"node": ">=8"
},
"devDependencies": {
"autoprefixer": "9.6.0",
"eslint": "5.16.0",
"eslint": "6.0.1",
"less": "3.9.0",
"less-plugin-clean-css": "1.5.1",
"postcss-cli": "6.1.2",
"stylelint": "10.1.0",
"stylelint-config-standard": "18.3.0",
"updates": "8.1.0"
"updates": "8.2.0"
},
"browserslist": [
"> 1%",

View File

@ -786,22 +786,22 @@ footer .ui.left,footer .ui.right{line-height:40px}
#avatar-arrow:before{border-right-color:#d3d3d4;border-width:9px;margin-top:-9px}
#avatar-arrow:after{border-right-color:#f7f7f7;border-width:8px;margin-top:-8px}
#delete-repo-modal .ui.message,#transfer-repo-modal .ui.message{width:100%!important}
.tab-size-1{-moz-tab-size:1!important;tab-size:1!important}
.tab-size-2{-moz-tab-size:2!important;tab-size:2!important}
.tab-size-3{-moz-tab-size:3!important;tab-size:3!important}
.tab-size-4{-moz-tab-size:4!important;tab-size:4!important}
.tab-size-5{-moz-tab-size:5!important;tab-size:5!important}
.tab-size-6{-moz-tab-size:6!important;tab-size:6!important}
.tab-size-7{-moz-tab-size:7!important;tab-size:7!important}
.tab-size-8{-moz-tab-size:8!important;tab-size:8!important}
.tab-size-9{-moz-tab-size:9!important;tab-size:9!important}
.tab-size-10{-moz-tab-size:10!important;tab-size:10!important}
.tab-size-11{-moz-tab-size:11!important;tab-size:11!important}
.tab-size-12{-moz-tab-size:12!important;tab-size:12!important}
.tab-size-13{-moz-tab-size:13!important;tab-size:13!important}
.tab-size-14{-moz-tab-size:14!important;tab-size:14!important}
.tab-size-15{-moz-tab-size:15!important;tab-size:15!important}
.tab-size-16{-moz-tab-size:16!important;tab-size:16!important}
.tab-size-1{-moz-tab-size:1!important;-o-tab-size:1!important;tab-size:1!important}
.tab-size-2{-moz-tab-size:2!important;-o-tab-size:2!important;tab-size:2!important}
.tab-size-3{-moz-tab-size:3!important;-o-tab-size:3!important;tab-size:3!important}
.tab-size-4{-moz-tab-size:4!important;-o-tab-size:4!important;tab-size:4!important}
.tab-size-5{-moz-tab-size:5!important;-o-tab-size:5!important;tab-size:5!important}
.tab-size-6{-moz-tab-size:6!important;-o-tab-size:6!important;tab-size:6!important}
.tab-size-7{-moz-tab-size:7!important;-o-tab-size:7!important;tab-size:7!important}
.tab-size-8{-moz-tab-size:8!important;-o-tab-size:8!important;tab-size:8!important}
.tab-size-9{-moz-tab-size:9!important;-o-tab-size:9!important;tab-size:9!important}
.tab-size-10{-moz-tab-size:10!important;-o-tab-size:10!important;tab-size:10!important}
.tab-size-11{-moz-tab-size:11!important;-o-tab-size:11!important;tab-size:11!important}
.tab-size-12{-moz-tab-size:12!important;-o-tab-size:12!important;tab-size:12!important}
.tab-size-13{-moz-tab-size:13!important;-o-tab-size:13!important;tab-size:13!important}
.tab-size-14{-moz-tab-size:14!important;-o-tab-size:14!important;tab-size:14!important}
.tab-size-15{-moz-tab-size:15!important;-o-tab-size:15!important;tab-size:15!important}
.tab-size-16{-moz-tab-size:16!important;-o-tab-size:16!important;tab-size:16!important}
.stats-table{display:table;width:100%}
.stats-table .table-cell{display:table-cell}
.stats-table .table-cell.tiny{height:.5em}

View File

@ -396,8 +396,7 @@ function initCommentForm() {
hasLabelUpdateAction = $listMenu.data('action') == 'update'; // Update the var
if (hasLabelUpdateAction) {
var promises = [];
for (var elementId in labels) {
if (labels.hasOwnProperty(elementId)) {
Object.keys(labels).forEach(function(elementId) {
var label = labels[elementId];
var promise = updateIssuesMeta(
label["update-url"],
@ -406,8 +405,7 @@ function initCommentForm() {
elementId
);
promises.push(promise);
}
}
});
Promise.all(promises).then(reload);
}
});