Browse Source

Update JS dependencies and lint (#21144)

- Update all JS dependencies minus vue
- Enable one more eslint rule, no new issues with it
- Tested build
pull/20933/merge
silverwind 4 weeks ago committed by GitHub
parent
commit
ec82a24547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .eslintrc.yaml
  2. 2844
      package-lock.json
  3. 20
      package.json
  4. 1
      public/img/svg/octicon-accessibility-inset.svg
  5. 1
      public/img/svg/octicon-shield-slash.svg

2
.eslintrc.yaml

@ -46,7 +46,7 @@ rules:
accessor-pairs: [2]
array-bracket-newline: [0]
array-bracket-spacing: [2, never]
array-callback-return: [0]
array-callback-return: [2, {checkForEach: true}]
array-element-newline: [0]
arrow-body-style: [0]
arrow-parens: [2, always]

2844
package-lock.json generated

File diff suppressed because it is too large Load Diff

20
package.json

@ -9,16 +9,16 @@
"dependencies": {
"@claviska/jquery-minicolors": "2.3.6",
"@mcaptcha/vanilla-glue": "0.1.0-alpha-2",
"@primer/octicons": "17.4.1",
"@primer/octicons": "17.5.0",
"add-asset-webpack-plugin": "2.0.1",
"css-loader": "6.7.1",
"dropzone": "6.0.0-beta.2",
"easymde": "2.17.0",
"esbuild-loader": "2.19.0",
"esbuild-loader": "2.20.0",
"escape-goat": "4.0.0",
"fast-glob": "3.2.11",
"fast-glob": "3.2.12",
"font-awesome": "4.7.0",
"jquery": "3.6.0",
"jquery": "3.6.1",
"jquery.are-you-sure": "1.9.0",
"less": "4.1.3",
"less-loader": "11.0.0",
@ -46,23 +46,23 @@
"wrap-ansi": "8.0.1"
},
"devDependencies": {
"@playwright/test": "1.25.1",
"@playwright/test": "1.25.2",
"@stoplight/spectral-cli": "6.5.1",
"eslint": "8.22.0",
"eslint": "8.23.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jquery": "1.5.1",
"eslint-plugin-sonarjs": "0.15.0",
"eslint-plugin-unicorn": "43.0.2",
"eslint-plugin-vue": "9.4.0",
"jest": "28.1.3",
"jest-environment-jsdom": "28.1.3",
"jest-extended": "3.0.2",
"jest": "29.0.3",
"jest-environment-jsdom": "29.0.3",
"jest-extended": "3.1.0",
"markdownlint-cli": "0.32.2",
"postcss-less": "6.0.0",
"stylelint": "14.11.0",
"stylelint-config-standard": "28.0.0",
"svgo": "2.8.0",
"updates": "13.1.4"
"updates": "13.1.5"
},
"browserslist": [
"defaults",

1
public/img/svg/octicon-accessibility-inset.svg

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-accessibility-inset" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm2 4a2 2 0 0 1-1.05 1.76c.115.069.222.15.32.24h2.98a.75.75 0 0 1 0 1.5H9.888l.608 5.67a.75.75 0 1 1-1.492.16L8.754 11H7.246l-.25 2.33a.75.75 0 1 1-1.49-.16l.607-5.67H3.75a.75.75 0 0 1 0-1.5h2.98a1.87 1.87 0 0 1 .32-.24A2 2 0 1 1 10 4z"/></svg>

After

Width:  |  Height:  |  Size: 413 B

1
public/img/svg/octicon-shield-slash.svg

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-shield-slash" width="16" height="16" aria-hidden="true"><path d="M8.533.133a1.75 1.75 0 0 0-1.066 0l-2.091.67a.75.75 0 0 0 .457 1.428l2.09-.67a.25.25 0 0 1 .153 0l5.25 1.68a.25.25 0 0 1 .174.239V7c0 .233-.008.464-.025.694a.75.75 0 1 0 1.495.112c.02-.27.03-.538.03-.806V3.48a1.75 1.75 0 0 0-1.217-1.667L8.533.133z"/><path fill-rule="evenodd" d="m1 2.857-.69-.5a.75.75 0 1 1 .88-1.214l14.5 10.5a.75.75 0 1 1-.88 1.214l-1.282-.928c-.995 1.397-2.553 2.624-4.864 3.608-.425.181-.905.18-1.329 0-2.447-1.042-4.049-2.356-5.032-3.855C1.32 10.182 1 8.566 1 7V2.857zm1.5 1.086V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297.05.02.106.02.153 0 2.127-.905 3.439-1.982 4.237-3.108L2.5 3.943z"/></svg>

After

Width:  |  Height:  |  Size: 747 B

Loading…
Cancel
Save