- update dependencies

- upgrade gatsby v2 to v3
- update functions
This commit is contained in:
Amruth Pillai
2021-05-29 11:47:34 +05:30
parent b0bd8c94f3
commit 2c22c13f3e
133 changed files with 44805 additions and 13338 deletions

View File

@ -1,6 +1,6 @@
import Auth from './gatsby-plugin-firebase/auth/auth';
import Database from './gatsby-plugin-firebase/database/database';
import AuthConstants from './gatsby-plugin-firebase/constants/auth';
import Database from './gatsby-plugin-firebase/database/database';
import DatabaseConstants from './gatsby-plugin-firebase/constants/database';
class FirebaseStub {

View File

@ -1,8 +1,8 @@
/* eslint-disable no-underscore-dangle */
import { v4 as uuidv4 } from 'uuid';
import Constants from '../constants/auth';
import { delay } from '../../../src/utils/index';
import Constants from '../constants/auth';
const singleton = Symbol('');
const singletonEnforcer = Symbol('');
@ -37,9 +37,8 @@ class Auth {
this.onAuthStateChangedObservers.push(observer);
return () => {
this._onAuthStateChangedObservers = this.onAuthStateChangedObservers.filter(
(obs) => obs !== observer,
);
this._onAuthStateChangedObservers =
this.onAuthStateChangedObservers.filter((obs) => obs !== observer);
};
}

View File

@ -1,7 +1,7 @@
/* eslint-disable no-underscore-dangle */
import path from 'path';
import fs from 'fs';
import { v4 as uuidv4 } from 'uuid';
import fs from 'fs';
import path from 'path';
import DatabaseConstants from '../constants/database';
import Reference from './reference';

View File

@ -1,9 +1,9 @@
/* eslint-disable no-underscore-dangle */
import { v4 as uuidv4 } from 'uuid';
import DatabaseConstants from '../constants/database';
import DataSnapshot from './dataSnapshot';
import { delay } from '../../../src/utils/index';
import DataSnapshot from './dataSnapshot';
import DatabaseConstants from '../constants/database';
const parsePath = (path) => {
if (!path) {