mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-06 23:48:11 +08:00
Remove safari from supported browsers (#2272)
* Update README.md * Update package.json * Update obsoleteHTMLTemplate.html * remove unneeded polyfills * explicit deny safari * remove from webpack and update lock Co-authored-by: Seve Badajoz <sbadajoz@chanzuckerberg.com>
This commit is contained in:
co-authored by
Seve Badajoz
parent
face1b3033
commit
56fcbae672
@@ -52,7 +52,6 @@ cellxgene currently supports the following browsers:
|
|||||||
- Google Chrome 61+
|
- Google Chrome 61+
|
||||||
- Edge 15+
|
- Edge 15+
|
||||||
- Firefox 60+
|
- Firefox 60+
|
||||||
- Safari 10.1+
|
|
||||||
|
|
||||||
Please [file an issue](https://github.com/chanzuckerberg/cellxgene/issues/new/choose) if you would like us to add support for an unsupported browser.
|
Please [file an issue](https://github.com/chanzuckerberg/cellxgene/issues/new/choose) if you would like us to add support for an unsupported browser.
|
||||||
|
|
||||||
|
|||||||
@@ -10,15 +10,9 @@ module.exports = {
|
|||||||
"prettier",
|
"prettier",
|
||||||
],
|
],
|
||||||
settings: {
|
settings: {
|
||||||
polyfills: [
|
// AbortController is not supported in iOS Safari 10.3, Chrome 61
|
||||||
"TextDecoder",
|
// Headers is not supported in iOS Safari 10.3
|
||||||
"TextEncoder",
|
polyfills: ["Headers", "AbortController"],
|
||||||
"fetch",
|
|
||||||
"Request",
|
|
||||||
"Response",
|
|
||||||
"Headers",
|
|
||||||
"AbortController",
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
env: { browser: true, commonjs: true, es6: true },
|
env: { browser: true, commonjs: true, es6: true },
|
||||||
globals: {
|
globals: {
|
||||||
|
|||||||
@@ -56,13 +56,6 @@
|
|||||||
/>
|
/>
|
||||||
<div>Chrome > 60</div>
|
<div>Chrome > 60</div>
|
||||||
</a>
|
</a>
|
||||||
<a href="https://www.apple.com/safari/" aria-label="Download Safari">
|
|
||||||
<img
|
|
||||||
src="https://cellxgene.cziscience.com/s3/cellxgene/static/images/safari.png"
|
|
||||||
style="width: 80px; height: 80px;"
|
|
||||||
/>
|
|
||||||
<div>Safari ≥ 10.1</div>
|
|
||||||
</a>
|
|
||||||
<a href="https://www.mozilla.com/firefox/" aria-label="Download Firefox">
|
<a href="https://www.mozilla.com/firefox/" aria-label="Download Firefox">
|
||||||
<img
|
<img
|
||||||
src="https://cellxgene.cziscience.com/s3/cellxgene/static/images/firefox.png"
|
src="https://cellxgene.cziscience.com/s3/cellxgene/static/images/firefox.png"
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ const path = require("path");
|
|||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
||||||
const ObsoleteWebpackPlugin = require("obsolete-webpack-plugin");
|
const ObsoleteWebpackPlugin = require("obsolete-webpack-plugin");
|
||||||
|
// eslint-disable-next-line @blueprintjs/classes-constants -- incorrect match
|
||||||
const ScriptExtHtmlWebpackPlugin = require("script-ext-html-webpack-plugin");
|
const ScriptExtHtmlWebpackPlugin = require("script-ext-html-webpack-plugin");
|
||||||
|
|
||||||
const src = path.resolve("src");
|
const src = path.resolve("src");
|
||||||
@@ -20,7 +21,6 @@ module.exports = {
|
|||||||
entry: [
|
entry: [
|
||||||
"core-js",
|
"core-js",
|
||||||
"regenerator-runtime/runtime",
|
"regenerator-runtime/runtime",
|
||||||
"fastestsmallesttextencoderdecoder",
|
|
||||||
"whatwg-fetch",
|
"whatwg-fetch",
|
||||||
"abort-controller/polyfill",
|
"abort-controller/polyfill",
|
||||||
"./src/index",
|
"./src/index",
|
||||||
|
|||||||
Generated
-11
@@ -18,7 +18,6 @@
|
|||||||
"core-js": "^3.6.5",
|
"core-js": "^3.6.5",
|
||||||
"d3": "^4.10.0",
|
"d3": "^4.10.0",
|
||||||
"d3-scale-chromatic": "^1.5.0",
|
"d3-scale-chromatic": "^1.5.0",
|
||||||
"fastestsmallesttextencoderdecoder": "^1.0.22",
|
|
||||||
"flatbuffers": "^1.11.0",
|
"flatbuffers": "^1.11.0",
|
||||||
"fuzzysort": "^1.1.4",
|
"fuzzysort": "^1.1.4",
|
||||||
"gl-mat4": "^1.2.0",
|
"gl-mat4": "^1.2.0",
|
||||||
@@ -9061,11 +9060,6 @@
|
|||||||
"integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==",
|
"integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/fastestsmallesttextencoderdecoder": {
|
|
||||||
"version": "1.0.22",
|
|
||||||
"resolved": "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz",
|
|
||||||
"integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw=="
|
|
||||||
},
|
|
||||||
"node_modules/fastq": {
|
"node_modules/fastq": {
|
||||||
"version": "1.11.0",
|
"version": "1.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz",
|
||||||
@@ -29688,11 +29682,6 @@
|
|||||||
"integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==",
|
"integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"fastestsmallesttextencoderdecoder": {
|
|
||||||
"version": "1.0.22",
|
|
||||||
"resolved": "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz",
|
|
||||||
"integrity": "sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw=="
|
|
||||||
},
|
|
||||||
"fastq": {
|
"fastq": {
|
||||||
"version": "1.11.0",
|
"version": "1.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz",
|
||||||
|
|||||||
+2
-3
@@ -31,11 +31,11 @@
|
|||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"Chrome > 60",
|
"Chrome > 60",
|
||||||
"Safari >= 10.1",
|
|
||||||
"iOS >= 10.3",
|
"iOS >= 10.3",
|
||||||
"Firefox >= 60",
|
"Firefox >= 60",
|
||||||
"Edge >= 79",
|
"Edge >= 79",
|
||||||
"not Explorer > 0"
|
"not Explorer > 0",
|
||||||
|
"not Safari > 0"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-sdk/client-secrets-manager": "^3.13.0",
|
"@aws-sdk/client-secrets-manager": "^3.13.0",
|
||||||
@@ -47,7 +47,6 @@
|
|||||||
"core-js": "^3.6.5",
|
"core-js": "^3.6.5",
|
||||||
"d3": "^4.10.0",
|
"d3": "^4.10.0",
|
||||||
"d3-scale-chromatic": "^1.5.0",
|
"d3-scale-chromatic": "^1.5.0",
|
||||||
"fastestsmallesttextencoderdecoder": "^1.0.22",
|
|
||||||
"flatbuffers": "^1.11.0",
|
"flatbuffers": "^1.11.0",
|
||||||
"fuzzysort": "^1.1.4",
|
"fuzzysort": "^1.1.4",
|
||||||
"gl-mat4": "^1.2.0",
|
"gl-mat4": "^1.2.0",
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ class CreateGenesetDialogue extends React.PureComponent {
|
|||||||
};
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { genesetName, nameErrorMessage} = this.state;
|
const { genesetName, nameErrorMessage } = this.state;
|
||||||
const { genesetsUI, genesets } = this.props;
|
const { genesetsUI, genesets } = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user