MOBILE-4616: Update supported versions
parent
19a9fe11be
commit
ec8a1058dd
|
@ -72,5 +72,5 @@ jobs:
|
|||
test $lines -eq 204
|
||||
- name: JavaScript code compatibility
|
||||
run: |
|
||||
npx check-es-compat www/*.js --polyfills="\{Array,String,TypedArray\}.prototype.at,Array.prototype.flatMap,Array.prototype.flat,Array.prototype.includes,globalThis,Object.fromEntries,Object.hasOwn,Promise.prototype.finally,String.prototype.matchAll,String.prototype.trimRight" | grep "No issues found. Files are compatible with the target runtimes."
|
||||
npx check-es-compat www/*.js --polyfills="\{Array,String,TypedArray\}.prototype.at,Object.hasOwn"
|
||||
npx check-es-compat cordova-plugin-moodleapp/www/*.js
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
#
|
||||
# More info: https://github.com/browserslist/browserslist
|
||||
|
||||
Android >= 5.1
|
||||
Android >= 7
|
||||
iOS >= 14
|
||||
Chrome >= 79
|
||||
|
|
|
@ -9560,9 +9560,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001616",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001616.tgz",
|
||||
"integrity": "sha512-RHVYKov7IcdNjVHJFNY/78RdG4oGVjbayxv8u5IO74Wv7Hlq4PnJE6mo/OjFijjVFNy5ijnCt6H3IIo4t+wfEw==",
|
||||
"version": "1.0.30001640",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001640.tgz",
|
||||
"integrity": "sha512-lA4VMpW0PSUrFnkmVuEKBUovSWKhj7puyCg8StBChgu298N1AtuF1sKWEvfDuimSEDbhlb/KqPKC3fs1HbuQUA==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
|
|
|
@ -20,16 +20,8 @@ import 'zone.js';
|
|||
|
||||
// Platform polyfills
|
||||
import 'core-js/es/array/at';
|
||||
import 'core-js/es/array/flat-map';
|
||||
import 'core-js/es/array/flat';
|
||||
import 'core-js/es/array/includes';
|
||||
import 'core-js/es/global-this';
|
||||
import 'core-js/es/object/from-entries';
|
||||
import 'core-js/es/object/has-own';
|
||||
import 'core-js/es/promise/finally';
|
||||
import 'core-js/es/string/at';
|
||||
import 'core-js/es/string/match-all';
|
||||
import 'core-js/es/string/trim-right';
|
||||
import 'core-js/es/typed-array/at';
|
||||
|
||||
polyfillEventComposedPath();
|
||||
|
|
Loading…
Reference in New Issue