mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:51:43 +00:00
remove remnants of safari support in the browser extension (#2294)
followup to https://github.com/sourcegraph/sourcegraph/pull/2122
This commit is contained in:
parent
564870b4f5
commit
00d0eef0c9
@ -17,11 +17,3 @@ GLOBAL.URLSearchParams = URLSearchParams
|
||||
if (!window.URL.createObjectURL && createObjectURL) {
|
||||
window.URL.createObjectURL = createObjectURL
|
||||
}
|
||||
|
||||
// Safari doesn't implement intersection-observer
|
||||
require('intersection-observer')
|
||||
|
||||
// Safari doesn't implement the full FormData prototype ¯\_(ツ)_/¯
|
||||
if (!GLOBAL.FormData.prototype.set) {
|
||||
require('formdata-polyfill')
|
||||
}
|
||||
|
||||
@ -7,5 +7,5 @@
|
||||
"checkJs": true
|
||||
},
|
||||
"include": ["src/**/*.ts", "src/**/*.tsx", "config/**/*.js", "config/**/*.ts", "scripts/**/*.ts", "*.ts"],
|
||||
"exclude": ["../../node_modules", "./build/**/*", "./*.safariextension"]
|
||||
"exclude": ["../../node_modules", "./build/**/*"]
|
||||
}
|
||||
|
||||
@ -196,11 +196,9 @@
|
||||
"d3-shape": "^1.2.0",
|
||||
"date-fns": "^2.0.0-alpha.7",
|
||||
"downshift": "^2.0.14",
|
||||
"formdata-polyfill": "^3.0.9",
|
||||
"graphiql": "^0.12.0",
|
||||
"he": "^1.2.0",
|
||||
"highlight.js": "^9.13.1",
|
||||
"intersection-observer": "^0.5.0",
|
||||
"lodash": "^4.17.10",
|
||||
"marked": "^0.6.0",
|
||||
"mdi-react": "^5.1.0",
|
||||
|
||||
10
yarn.lock
10
yarn.lock
@ -7242,11 +7242,6 @@ format-util@^1.0.3:
|
||||
resolved "https://registry.npmjs.org/format-util/-/format-util-1.0.3.tgz#032dca4a116262a12c43f4c3ec8566416c5b2d95"
|
||||
integrity sha1-Ay3KShFiYqEsQ/TD7IVmQWxbLZU=
|
||||
|
||||
formdata-polyfill@^3.0.9:
|
||||
version "3.0.13"
|
||||
resolved "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-3.0.13.tgz#991321c83b7a760aaf3788f1b7bbbf77e85b09bb"
|
||||
integrity sha512-aYrFSz9wxtBc9E1yCfD5IFhTK9FDZVRM53kUQn1W6Et5+R9c4tpa5Mg9hQIBIc2er3fLx0ElbKujipu+2551vQ==
|
||||
|
||||
forwarded@~0.1.2:
|
||||
version "0.1.2"
|
||||
resolved "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84"
|
||||
@ -8434,11 +8429,6 @@ interpret@^1.0.0, interpret@^1.1.0:
|
||||
resolved "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614"
|
||||
integrity sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=
|
||||
|
||||
intersection-observer@^0.5.0:
|
||||
version "0.5.1"
|
||||
resolved "https://registry.npmjs.org/intersection-observer/-/intersection-observer-0.5.1.tgz#e340fc56ce74290fe2b2394d1ce88c4353ac6dfa"
|
||||
integrity sha512-Zd7Plneq82kiXFixs7bX62YnuZ0BMRci9br7io88LwDyF3V43cQMI+G5IiTlTNTt+LsDUppl19J/M2Fp9UkH6g==
|
||||
|
||||
invariant@^2.2.2, invariant@^2.2.4:
|
||||
version "2.2.4"
|
||||
resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user