M app/javascript/mastodon/base_polyfills.js => app/javascript/mastodon/base_polyfills.js +0 -5
@@ 1,16 1,11 @@
import 'intl';
import 'intl/locale-data/jsonp/en';
import 'es6-symbol/implement';
-import includes from 'array-includes';
import assign from 'object-assign';
import values from 'object.values';
import { decode as decodeBase64 } from './utils/base64';
import promiseFinally from 'promise.prototype.finally';
-if (!Array.prototype.includes) {
- includes.shim();
-}
-
if (!Object.assign) {
Object.assign = assign;
}
M app/javascript/mastodon/load_polyfills.js => app/javascript/mastodon/load_polyfills.js +0 -1
@@ 12,7 12,6 @@ function importExtraPolyfills() {
function loadPolyfills() {
const needsBasePolyfills = !(
- Array.prototype.includes &&
HTMLCanvasElement.prototype.toBlob &&
window.Intl &&
Object.assign &&
M package.json => package.json +0 -1
@@ 38,7 38,6 @@
"@github/webauthn-json": "^2.1.1",
"@rails/ujs": "^6.1.7",
"abortcontroller-polyfill": "^1.7.5",
- "array-includes": "^3.1.6",
"arrow-key-navigation": "^1.2.0",
"autoprefixer": "^10.4.14",
"axios": "^1.3.4",