mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 00:55:35 +00:00
Update eslint-plugin-compat and eslint-plugin-jest
This commit is contained in:
parent
f97b3931bb
commit
ad37793467
4 changed files with 47 additions and 17 deletions
|
|
@ -15,6 +15,21 @@
|
|||
"compat/compat": ["error"]
|
||||
},
|
||||
"settings": {
|
||||
"polyfills": ["fetch", "promises"]
|
||||
}
|
||||
"polyfills": [
|
||||
"Promise",
|
||||
"fetch",
|
||||
"Object.assign"
|
||||
]
|
||||
},
|
||||
"overrides": [{
|
||||
"files": [
|
||||
"*.test.js",
|
||||
"test/endtoend/*.js",
|
||||
"website/*.js",
|
||||
"bin/*.js"
|
||||
],
|
||||
"rules": {
|
||||
"compat/compat": "off"
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable compat/compat */
|
||||
const http = require('http')
|
||||
const qs = require('querystring')
|
||||
const e = require('he').encode
|
||||
|
|
|
|||
40
package-lock.json
generated
40
package-lock.json
generated
|
|
@ -6361,6 +6361,12 @@
|
|||
"resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
|
||||
"integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c="
|
||||
},
|
||||
"ast-metadata-inferer": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/ast-metadata-inferer/-/ast-metadata-inferer-0.1.1.tgz",
|
||||
"integrity": "sha512-hc9w8Qrgg9Lf9iFcZVhNjUnhrd2BBpTlyCnegPVvCe6O0yMrF57a6Cmh7k+xUsfUOMh9wajOL5AsGOBNEyTCcw==",
|
||||
"dev": true
|
||||
},
|
||||
"astral-regex": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",
|
||||
|
|
@ -12611,15 +12617,17 @@
|
|||
}
|
||||
},
|
||||
"eslint-plugin-compat": {
|
||||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-compat/-/eslint-plugin-compat-2.7.0.tgz",
|
||||
"integrity": "sha512-3J4Ic1WS+SgF1smUOc62fdf7Cnrdsg0GNwKmGVPziPtWdrc2vV5Oq2ut4kG6SM5DJcxOoz/sWJIN7rkcsWh60Q==",
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-compat/-/eslint-plugin-compat-3.1.1.tgz",
|
||||
"integrity": "sha512-pqy5LBy4ZPhSVwb2p0+jUozdnoGX+qc1NRIcK+Yfg99149ncqZVc8gP5u637vwVC/nLQP6X6zTpnHwsZCdvluQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"browserslist": "^4.4.1",
|
||||
"caniuse-db": "^1.0.30000935",
|
||||
"mdn-browser-compat-data": "^0.0.65"
|
||||
"@babel/runtime": "^7.4.2",
|
||||
"ast-metadata-inferer": "^0.1.1",
|
||||
"browserslist": "^4.5.2",
|
||||
"caniuse-db": "^1.0.30000951",
|
||||
"mdn-browser-compat-data": "^0.0.72",
|
||||
"semver": "^5.6.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"browserslist": {
|
||||
|
|
@ -12650,6 +12658,12 @@
|
|||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.127.tgz",
|
||||
"integrity": "sha512-1o25iFRf/dbgauTWalEzmD1EmRN3a2CzP/K7UVpYLEBduk96LF0FyUdCcf4Ry2mAWJ1VxyblFjC93q6qlLwA2A==",
|
||||
"dev": true
|
||||
},
|
||||
"semver": {
|
||||
"version": "5.7.0",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",
|
||||
"integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -12836,9 +12850,9 @@
|
|||
}
|
||||
},
|
||||
"eslint-plugin-jest": {
|
||||
"version": "21.27.2",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-21.27.2.tgz",
|
||||
"integrity": "sha512-0E4OIgBJVlAmf1KfYFtZ3gYxgUzC5Eb3Jzmrc9ikI1OY+/cM8Kh72Ti7KfpeHNeD3HJNf9SmEfmvQLIz44Hrhw==",
|
||||
"version": "22.5.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.5.1.tgz",
|
||||
"integrity": "sha512-c3WjZR/HBoi4GedJRwo2OGHa8Pzo1EbSVwQ2HFzJ+4t2OoYM7Alx646EH/aaxZ+9eGcPiq0FT0UGkRuFFx2FHg==",
|
||||
"dev": true
|
||||
},
|
||||
"eslint-plugin-node": {
|
||||
|
|
@ -21257,9 +21271,9 @@
|
|||
}
|
||||
},
|
||||
"mdn-browser-compat-data": {
|
||||
"version": "0.0.65",
|
||||
"resolved": "https://registry.npmjs.org/mdn-browser-compat-data/-/mdn-browser-compat-data-0.0.65.tgz",
|
||||
"integrity": "sha512-OC27wWCLD2mw2aW6+8zZTwCv0+9WMTOFxuvTBfWoCx8f9gVFNUXHxGYA16mhKyso7hEa4tw1hY+ruCB/kg3EzQ==",
|
||||
"version": "0.0.72",
|
||||
"resolved": "https://registry.npmjs.org/mdn-browser-compat-data/-/mdn-browser-compat-data-0.0.72.tgz",
|
||||
"integrity": "sha512-vt3BxJRpV638ncYLigX91k0qP1VcpKxgExqPtX+QKFvV4/ZruZ31Sl35LsDDq5q+D7Lt7mfGWnCEuZ0d6bJW1g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"extend": "3.0.2"
|
||||
|
|
|
|||
|
|
@ -36,9 +36,9 @@
|
|||
"eslint": "^5.16.0",
|
||||
"eslint-config-standard": "^12.0.0",
|
||||
"eslint-config-standard-preact": "^1.1.6",
|
||||
"eslint-plugin-compat": "^2.7.0",
|
||||
"eslint-plugin-compat": "^3.1.1",
|
||||
"eslint-plugin-import": "^2.17.2",
|
||||
"eslint-plugin-jest": "^21.27.2",
|
||||
"eslint-plugin-jest": "^22.5.1",
|
||||
"eslint-plugin-node": "^8.0.1",
|
||||
"eslint-plugin-promise": "^4.1.1",
|
||||
"eslint-plugin-react": "^7.12.4",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue