UNPKG

@firebase/polyfill

Version:

This is the a set of polyfills/shims used by the Firebase JS SDK. This package is completely standalone and can be loaded to standardize environments for use with the Firebase JS SDK.

35 lines (34 loc) 1.34 kB
/** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import 'whatwg-fetch'; import 'core-js/features/promise'; import 'core-js/features/array/find'; import 'core-js/features/array/find-index'; import 'core-js/features/array/from'; import 'core-js/features/array/some'; import 'core-js/features/typed-array/iterator'; import 'core-js/features/object/assign'; import 'core-js/features/object/entries'; import 'core-js/features/object/values'; import 'core-js/features/string/includes'; import 'core-js/features/string/starts-with'; import 'core-js/features/string/repeat'; import 'core-js/features/symbol'; import 'core-js/features/symbol/iterator'; import 'core-js/features/map'; import 'core-js/features/set'; import 'core-js/features/number/is-integer';