Skip to content

Commit a396cc9

Browse files
Bump standard from 13.1.0 to 14.3.1 (#148)
* Bump standard from 13.1.0 to 14.3.1 Bumps [standard](https://github.com/standard/standard) from 13.1.0 to 14.3.1. - [Release notes](https://github.com/standard/standard/releases) - [Changelog](https://github.com/standard/standard/blob/master/CHANGELOG.md) - [Commits](standard/standard@v13.1.0...v14.3.1) Signed-off-by: dependabot-preview[bot] <[email protected]> * Fix linting issues
1 parent 7db8057 commit a396cc9

File tree

4 files changed

+81
-71
lines changed

4 files changed

+81
-71
lines changed

Diff for: components/widgets/jenkins/build-duration.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, Fragment } from 'react'
1+
import { Component } from 'react'
22
import fetch from 'isomorphic-unfetch'
33
import styled from 'styled-components'
44
import { object, string, array, number } from 'yup'
@@ -9,7 +9,7 @@ import Table, { Th, Td } from '../../table'
99
import LoadingIndicator from '../../loading-indicator'
1010
import { basicAuthHeader } from '../../../lib/auth'
1111

12-
const KPI = styled.span`
12+
const Kpi = styled.span`
1313
color: ${props => props.theme.palette.primaryColor};
1414
font-weight: 700;
1515
font-size: 20px;
@@ -59,10 +59,10 @@ export default class JenkinsBuildDuration extends Component {
5959
let minSec = Math.round(s - (min * 60))
6060
minSec = minSec.toString().length === 1 ? `0${minSec}` : minSec
6161

62-
return <Fragment><KPI>{min}:{minSec}</KPI> min</Fragment>
62+
return <><Kpi>{min}:{minSec}</Kpi> min</>
6363
}
6464

65-
return <Fragment><KPI>{Math.round(s)}</KPI> sec</Fragment>
65+
return <><Kpi>{Math.round(s)}</Kpi> sec</>
6666
}
6767

6868
async fetchInformation () {

Diff for: components/widgets/jenkins/job-health.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const jenkinsKpiColor = ({ theme, value }) => {
1515
return theme.palette.successColor
1616
}
1717

18-
const KPI = styled.span`
18+
const Kpi = styled.span`
1919
color: ${jenkinsKpiColor};
2020
font-weight: 700;
2121
font-size: 20px;
@@ -87,8 +87,8 @@ export default class JenkinsJobHealth extends Component {
8787
renderHealth (build) {
8888
return build.map((b, index, array) => (
8989
<Link key={index} href={build.url} title={b.score}>
90-
<KPI value={b.score}>{b.score}</KPI>
91-
{ index < array.length - 1 && <span> / </span>}
90+
<Kpi value={b.score}>{b.score}</Kpi>
91+
{index < array.length - 1 && <span> / </span>}
9292
</Link>
9393
))
9494
}

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"devDependencies": {
4242
"babel-eslint": "^10.0.3",
4343
"snazzy": "^8.0.0",
44-
"standard": "^13.1.0",
44+
"standard": "^14.3.1",
4545
"stylelint": "^11.1.1",
4646
"stylelint-config-standard": "^19.0.0",
4747
"stylelint-config-styled-components": "^0.1.1",

Diff for: yarn.lock

+73-63
Original file line numberDiff line numberDiff line change
@@ -1070,16 +1070,21 @@ accepts@~1.3.5:
10701070
mime-types "~2.1.24"
10711071
negotiator "0.6.2"
10721072

1073-
acorn-jsx@^5.0.0:
1074-
version "5.0.1"
1075-
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.0.1.tgz#32a064fd925429216a09b141102bfdd185fae40e"
1076-
integrity sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==
1073+
acorn-jsx@^5.1.0:
1074+
version "5.1.0"
1075+
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384"
1076+
integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==
10771077

1078-
acorn@^6.0.7, acorn@^6.2.0:
1078+
acorn@^6.2.0:
10791079
version "6.2.1"
10801080
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.2.1.tgz#3ed8422d6dec09e6121cc7a843ca86a330a86b51"
10811081
integrity sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q==
10821082

1083+
acorn@^7.1.0:
1084+
version "7.1.0"
1085+
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c"
1086+
integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==
1087+
10831088
ajv-errors@^1.0.0:
10841089
version "1.0.0"
10851090
resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.0.tgz#ecf021fa108fd17dfb5e6b383f2dd233e31ffc59"
@@ -2263,10 +2268,10 @@ define-property@^2.0.2:
22632268
is-descriptor "^1.0.2"
22642269
isobject "^3.0.1"
22652270

2266-
deglob@^3.0.0:
2267-
version "3.1.0"
2268-
resolved "https://registry.yarnpkg.com/deglob/-/deglob-3.1.0.tgz#1868193193d3432a5326e8fb2052b439a43a454e"
2269-
integrity sha512-al10l5QAYaM/PeuXkAr1Y9AQz0LCtWsnJG23pIgh44hDxHFOj36l6qvhfjnIWBYwZOqM1fXUFV9tkjL7JPdGvw==
2271+
deglob@^4.0.0:
2272+
version "4.0.1"
2273+
resolved "https://registry.yarnpkg.com/deglob/-/deglob-4.0.1.tgz#0685c6383992fd6009be10653a2b1116696fad55"
2274+
integrity sha512-/g+RDZ7yf2HvoW+E5Cy+K94YhgcFgr6C8LuHZD1O5HoNPkf3KY6RfXJ0DBGlB/NkLi5gml+G9zqRzk9S0mHZCg==
22702275
dependencies:
22712276
find-root "^1.0.0"
22722277
glob "^7.0.5"
@@ -2559,15 +2564,15 @@ escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
25592564
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
25602565
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
25612566

2562-
eslint-config-standard-jsx@7.0.0:
2563-
version "7.0.0"
2564-
resolved "https://registry.yarnpkg.com/eslint-config-standard-jsx/-/eslint-config-standard-jsx-7.0.0.tgz#05c737d9eab524860fe6853cfd535045c3e07e5b"
2565-
integrity sha512-OiKOF3MFVmWOCVfsi8GHlVorOEiBsPzAnUhM3c6HML94O2krbdQ/eMABySHgHHOIBYRls9sR9I3lo6O0vXhVEg==
2567+
eslint-config-standard-jsx@8.1.0:
2568+
version "8.1.0"
2569+
resolved "https://registry.yarnpkg.com/eslint-config-standard-jsx/-/eslint-config-standard-jsx-8.1.0.tgz#314c62a0e6f51f75547f89aade059bec140edfc7"
2570+
integrity sha512-ULVC8qH8qCqbU792ZOO6DaiaZyHNS/5CZt3hKqHkEhVlhPEPN3nfBqqxJCyp59XrjIBZPu1chMYe9T2DXZ7TMw==
25662571

2567-
eslint-config-standard@13.0.1:
2568-
version "13.0.1"
2569-
resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-13.0.1.tgz#c9c6ffe0cfb8a51535bc5c7ec9f70eafb8c6b2c0"
2570-
integrity sha512-zLKp4QOgq6JFgRm1dDCVv1Iu0P5uZ4v5Wa4DTOkg2RFMxdCX/9Qf7lz9ezRj2dBRa955cWQF/O/LWEiYWAHbTw==
2572+
eslint-config-standard@14.1.0:
2573+
version "14.1.0"
2574+
resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-14.1.0.tgz#b23da2b76fe5a2eba668374f246454e7058f15d4"
2575+
integrity sha512-EF6XkrrGVbvv8hL/kYa/m6vnvmUT+K82pJJc4JJVMM6+Qgqh0pnwprSxdduDLB9p/7bIxD+YV5O0wfb8lmcPbA==
25712576

25722577
eslint-import-resolver-node@^0.3.2:
25732578
version "0.3.2"
@@ -2585,13 +2590,13 @@ eslint-module-utils@^2.4.0:
25852590
debug "^2.6.8"
25862591
pkg-dir "^2.0.0"
25872592

2588-
eslint-plugin-es@^1.4.0:
2589-
version "1.4.0"
2590-
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-1.4.0.tgz#475f65bb20c993fc10e8c8fe77d1d60068072da6"
2591-
integrity sha512-XfFmgFdIUDgvaRAlaXUkxrRg5JSADoRC8IkKLc/cISeR3yHVMefFHQZpcyXXEUUPHfy5DwviBcrfqlyqEwlQVw==
2593+
eslint-plugin-es@^2.0.0:
2594+
version "2.0.0"
2595+
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-2.0.0.tgz#0f5f5da5f18aa21989feebe8a73eadefb3432976"
2596+
integrity sha512-f6fceVtg27BR02EYnBhgWLFQfK6bN4Ll0nQFrBHOlCsAyxeZkn0NHns5O0YZOPrV1B3ramd6cgFwaoFLcSkwEQ==
25922597
dependencies:
2593-
eslint-utils "^1.3.0"
2594-
regexpp "^2.0.1"
2598+
eslint-utils "^1.4.2"
2599+
regexpp "^3.0.0"
25952600

25962601
eslint-plugin-import@~2.18.0:
25972602
version "2.18.2"
@@ -2610,13 +2615,13 @@ eslint-plugin-import@~2.18.0:
26102615
read-pkg-up "^2.0.0"
26112616
resolve "^1.11.0"
26122617

2613-
eslint-plugin-node@~9.1.0:
2614-
version "9.1.0"
2615-
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-9.1.0.tgz#f2fd88509a31ec69db6e9606d76dabc5adc1b91a"
2616-
integrity sha512-ZwQYGm6EoV2cfLpE1wxJWsfnKUIXfM/KM09/TlorkukgCAwmkgajEJnPCmyzoFPQQkmvo5DrW/nyKutNIw36Mw==
2618+
eslint-plugin-node@~10.0.0:
2619+
version "10.0.0"
2620+
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-10.0.0.tgz#fd1adbc7a300cf7eb6ac55cf4b0b6fc6e577f5a6"
2621+
integrity sha512-1CSyM/QCjs6PXaT18+zuAXsjXGIGo5Rw630rSKwokSs2jrYURQc4R5JZpoanNCqwNmepg+0eZ9L7YiRUJb8jiQ==
26172622
dependencies:
2618-
eslint-plugin-es "^1.4.0"
2619-
eslint-utils "^1.3.1"
2623+
eslint-plugin-es "^2.0.0"
2624+
eslint-utils "^1.4.2"
26202625
ignore "^5.1.1"
26212626
minimatch "^3.0.4"
26222627
resolve "^1.10.1"
@@ -2663,22 +2668,22 @@ eslint-scope@^5.0.0:
26632668
esrecurse "^4.1.0"
26642669
estraverse "^4.1.1"
26652670

2666-
eslint-utils@^1.3.0, eslint-utils@^1.3.1:
2667-
version "1.4.2"
2668-
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.2.tgz#166a5180ef6ab7eb462f162fd0e6f2463d7309ab"
2669-
integrity sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==
2671+
eslint-utils@^1.4.2:
2672+
version "1.4.3"
2673+
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f"
2674+
integrity sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==
26702675
dependencies:
2671-
eslint-visitor-keys "^1.0.0"
2676+
eslint-visitor-keys "^1.1.0"
26722677

2673-
eslint-visitor-keys@^1.0.0:
2678+
eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0:
26742679
version "1.1.0"
26752680
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
26762681
integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==
26772682

2678-
eslint@~6.1.0:
2679-
version "6.1.0"
2680-
resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.1.0.tgz#06438a4a278b1d84fb107d24eaaa35471986e646"
2681-
integrity sha512-QhrbdRD7ofuV09IuE2ySWBz0FyXCq0rriLTZXZqaWSI79CVtHVRdkFuFTViiqzZhkCgfOh9USpriuGN2gIpZDQ==
2683+
eslint@~6.4.0:
2684+
version "6.4.0"
2685+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.4.0.tgz#5aa9227c3fbe921982b2eda94ba0d7fae858611a"
2686+
integrity sha512-WTVEzK3lSFoXUovDHEbkJqCVPEPwbhCq4trDktNI6ygs7aO41d4cDT0JFAT5MivzZeVLWlg7vHL+bgrQv/t3vA==
26822687
dependencies:
26832688
"@babel/code-frame" "^7.0.0"
26842689
ajv "^6.10.0"
@@ -2687,9 +2692,9 @@ eslint@~6.1.0:
26872692
debug "^4.0.1"
26882693
doctrine "^3.0.0"
26892694
eslint-scope "^5.0.0"
2690-
eslint-utils "^1.3.1"
2691-
eslint-visitor-keys "^1.0.0"
2692-
espree "^6.0.0"
2695+
eslint-utils "^1.4.2"
2696+
eslint-visitor-keys "^1.1.0"
2697+
espree "^6.1.1"
26932698
esquery "^1.0.1"
26942699
esutils "^2.0.2"
26952700
file-entry-cache "^5.0.1"
@@ -2718,14 +2723,14 @@ eslint@~6.1.0:
27182723
text-table "^0.2.0"
27192724
v8-compile-cache "^2.0.3"
27202725

2721-
espree@^6.0.0:
2722-
version "6.0.0"
2723-
resolved "https://registry.yarnpkg.com/espree/-/espree-6.0.0.tgz#716fc1f5a245ef5b9a7fdb1d7b0d3f02322e75f6"
2724-
integrity sha512-lJvCS6YbCn3ImT3yKkPe0+tJ+mH6ljhGNjHQH9mRtiO6gjhVAOhVXW1yjnwqGwTkK3bGbye+hb00nFNmu0l/1Q==
2726+
espree@^6.1.1:
2727+
version "6.1.2"
2728+
resolved "https://registry.yarnpkg.com/espree/-/espree-6.1.2.tgz#6c272650932b4f91c3714e5e7b5f5e2ecf47262d"
2729+
integrity sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA==
27252730
dependencies:
2726-
acorn "^6.0.7"
2727-
acorn-jsx "^5.0.0"
2728-
eslint-visitor-keys "^1.0.0"
2731+
acorn "^7.1.0"
2732+
acorn-jsx "^5.1.0"
2733+
eslint-visitor-keys "^1.1.0"
27292734

27302735
esprima@^4.0.0:
27312736
version "4.0.1"
@@ -5484,6 +5489,11 @@ regexpp@^2.0.1:
54845489
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f"
54855490
integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==
54865491

5492+
regexpp@^3.0.0:
5493+
version "3.0.0"
5494+
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.0.0.tgz#dd63982ee3300e67b41c1956f850aa680d9d330e"
5495+
integrity sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g==
5496+
54875497
regexpu-core@^4.5.4:
54885498
version "4.5.4"
54895499
resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.5.4.tgz#080d9d02289aa87fe1667a4f5136bc98a6aebaae"
@@ -5993,12 +6003,12 @@ ssri@^6.0.0:
59936003
dependencies:
59946004
figgy-pudding "^3.5.1"
59956005

5996-
standard-engine@~11.0.1:
5997-
version "11.0.1"
5998-
resolved "https://registry.yarnpkg.com/standard-engine/-/standard-engine-11.0.1.tgz#943d710be54537dbedaf8a90367d271f4023fe7c"
5999-
integrity sha512-WZQ5PpEDfRzPFk+H9xvKVQPQIxKnAQB2cb2Au4NyTCtdw5R0pyMBUZLbPXyFjnlhe8Ae+zfNrWU4m6H5b7cEAg==
6006+
standard-engine@^12.0.0:
6007+
version "12.0.0"
6008+
resolved "https://registry.yarnpkg.com/standard-engine/-/standard-engine-12.0.0.tgz#1643dceba96ca9c04c535a1fb28d79bfb21b3572"
6009+
integrity sha512-gJIIRb0LpL7AHyGbN9+hJ4UJns37lxmNTnMGRLC8CFrzQ+oB/K60IQjKNgPBCB2VP60Ypm6f8DFXvhVWdBOO+g==
60006010
dependencies:
6001-
deglob "^3.0.0"
6011+
deglob "^4.0.0"
60026012
get-stdin "^7.0.0"
60036013
minimist "^1.1.0"
60046014
pkg-conf "^3.1.0"
@@ -6010,20 +6020,20 @@ standard-json@^1.0.0:
60106020
dependencies:
60116021
concat-stream "^1.5.0"
60126022

6013-
standard@^13.1.0:
6014-
version "13.1.0"
6015-
resolved "https://registry.yarnpkg.com/standard/-/standard-13.1.0.tgz#3de68ac1248d563a445edc806504987a11ea7496"
6016-
integrity sha512-h3NaMzsa88+/xtjXCMvdn6EWWdlodsI/HvtsQF+EGwrF9kVNwNha9TkFABU6bSBoNfC79YDyIAq9ekxOMBFkuw==
6023+
standard@^14.3.1:
6024+
version "14.3.1"
6025+
resolved "https://registry.yarnpkg.com/standard/-/standard-14.3.1.tgz#f6a5d9244fbb6b76d0c2dbcc1048a03c863038b6"
6026+
integrity sha512-TUQwU7znlZLfgKH1Zwn/D84FitWZkUTfbxSiz/vFx+4c9GV+clSfG/qLiLZOlcdyzhw3oF5/pZydNjbNDfHPEw==
60176027
dependencies:
6018-
eslint "~6.1.0"
6019-
eslint-config-standard "13.0.1"
6020-
eslint-config-standard-jsx "7.0.0"
6028+
eslint "~6.4.0"
6029+
eslint-config-standard "14.1.0"
6030+
eslint-config-standard-jsx "8.1.0"
60216031
eslint-plugin-import "~2.18.0"
6022-
eslint-plugin-node "~9.1.0"
6032+
eslint-plugin-node "~10.0.0"
60236033
eslint-plugin-promise "~4.2.1"
60246034
eslint-plugin-react "~7.14.2"
60256035
eslint-plugin-standard "~4.0.0"
6026-
standard-engine "~11.0.1"
6036+
standard-engine "^12.0.0"
60276037

60286038
state-toggle@^1.0.0:
60296039
version "1.0.1"

0 commit comments

Comments
 (0)