├── firebase.json ├── angular-app ├── src │ ├── assets │ │ └── .gitkeep │ ├── app │ │ ├── app.component.scss │ │ ├── app.component.html │ │ ├── search │ │ │ ├── search.component.scss │ │ │ ├── search.component.ts │ │ │ ├── search.component.spec.ts │ │ │ └── search.component.html │ │ ├── app.component.ts │ │ ├── app-routing.module.ts │ │ ├── app.module.ts │ │ └── app.component.spec.ts │ ├── styles.scss │ ├── favicon.ico │ ├── index.html │ ├── main.ts │ ├── environments │ │ ├── environment.prod.ts │ │ └── environment.ts │ ├── test.ts │ └── polyfills.ts ├── .firebaserc ├── e2e │ ├── tsconfig.json │ ├── src │ │ ├── app.po.ts │ │ └── app.e2e-spec.ts │ └── protractor.conf.js ├── tsconfig.app.json ├── .editorconfig ├── tsconfig.spec.json ├── firebase.json ├── browserslist ├── tsconfig.json ├── .gitignore ├── karma.conf.js ├── package.json ├── README.md ├── tslint.json └── angular.json ├── functions ├── .gitignore ├── seed.js ├── package.json ├── index.js └── package-lock.json ├── .gitignore ├── svelte-app ├── .gitignore ├── public │ ├── favicon.png │ ├── index.html │ └── global.css ├── src │ ├── main.js │ └── App.svelte ├── package.json ├── README.md └── rollup.config.js ├── .firebaserc ├── react-app ├── public │ ├── favicon.ico │ ├── manifest.json │ └── index.html ├── src │ ├── App.test.js │ ├── index.css │ ├── index.js │ ├── App.css │ ├── App.js │ ├── logo.svg │ └── serviceWorker.js ├── .gitignore ├── package.json └── README.md ├── README.md └── firebase-debug.log /firebase.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /angular-app/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /functions/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /angular-app/src/app/app.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/node_modules 2 | **/dist 3 | **/build 4 | 5 | -------------------------------------------------------------------------------- /svelte-app/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | public/bundle.* 4 | -------------------------------------------------------------------------------- /.firebaserc: -------------------------------------------------------------------------------- 1 | { 2 | "projects": { 3 | "default": "fireship-lessons" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /angular-app/src/app/app.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /angular-app/src/styles.scss: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /angular-app/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/203-algolia-firestore-mvp/HEAD/angular-app/src/favicon.ico -------------------------------------------------------------------------------- /react-app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/203-algolia-firestore-mvp/HEAD/react-app/public/favicon.ico -------------------------------------------------------------------------------- /svelte-app/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/203-algolia-firestore-mvp/HEAD/svelte-app/public/favicon.png -------------------------------------------------------------------------------- /svelte-app/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte'; 2 | 3 | const app = new App({ 4 | target: document.body, 5 | props: { 6 | name: 'world' 7 | } 8 | }); 9 | 10 | export default app; -------------------------------------------------------------------------------- /angular-app/.firebaserc: -------------------------------------------------------------------------------- 1 | { 2 | "targets": { 3 | "fireship-lessons": { 4 | "hosting": { 5 | "angular-app": [ 6 | "fireship-lessons" 7 | ] 8 | } 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /angular-app/src/app/search/search.component.scss: -------------------------------------------------------------------------------- 1 | img { 2 | width: 100px; 3 | } 4 | 5 | .content { 6 | display: flex; 7 | align-items: flex-start; 8 | padding: 20px; 9 | margin: 20px 0; 10 | } -------------------------------------------------------------------------------- /angular-app/src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-root', 5 | templateUrl: './app.component.html', 6 | styleUrls: ['./app.component.scss'] 7 | }) 8 | export class AppComponent { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /angular-app/src/app/search/search.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-search', 5 | templateUrl: './search.component.html', 6 | styleUrls: ['./search.component.scss'] 7 | }) 8 | export class SearchComponent { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /angular-app/e2e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/e2e", 5 | "module": "commonjs", 6 | "target": "es5", 7 | "types": [ 8 | "jasmine", 9 | "jasminewd2", 10 | "node" 11 | ] 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /angular-app/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/app", 5 | "types": [] 6 | }, 7 | "include": [ 8 | "src/**/*.ts" 9 | ], 10 | "exclude": [ 11 | "src/test.ts", 12 | "src/**/*.spec.ts" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /react-app/src/App.test.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import App from './App'; 4 | 5 | it('renders without crashing', () => { 6 | const div = document.createElement('div'); 7 | ReactDOM.render(, div); 8 | ReactDOM.unmountComponentAtNode(div); 9 | }); 10 | -------------------------------------------------------------------------------- /angular-app/.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see https://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | max_line_length = off 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /angular-app/e2e/src/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from 'protractor'; 2 | 3 | export class AppPage { 4 | navigateTo() { 5 | return browser.get(browser.baseUrl) as Promise; 6 | } 7 | 8 | getTitleText() { 9 | return element(by.css('app-root h1')).getText() as Promise; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /angular-app/src/app/app-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | const routes: Routes = []; 5 | 6 | @NgModule({ 7 | imports: [RouterModule.forRoot(routes)], 8 | exports: [RouterModule] 9 | }) 10 | export class AppRoutingModule { } 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Algolia on Cloud Functions 2 | 3 | Automatically index your Firestore data for full-text search with Algolia, including multiple 4 | 5 | [Episode 203 - Algolia Cloud Functions](https://fireship.io/lessons/algolia-cloud-functions/) 6 | 7 | Frontend integration examples: 8 | 9 | - ✅ Angular 10 | - ✅ React 11 | - ✅ Svelte 12 | 13 | -------------------------------------------------------------------------------- /angular-app/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/spec", 5 | "types": [ 6 | "jasmine", 7 | "node" 8 | ] 9 | }, 10 | "files": [ 11 | "src/test.ts", 12 | "src/polyfills.ts" 13 | ], 14 | "include": [ 15 | "src/**/*.spec.ts", 16 | "src/**/*.d.ts" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /angular-app/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | AngularApp 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /react-app/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | } 10 | ], 11 | "start_url": ".", 12 | "display": "standalone", 13 | "theme_color": "#000000", 14 | "background_color": "#ffffff" 15 | } 16 | -------------------------------------------------------------------------------- /angular-app/firebase.json: -------------------------------------------------------------------------------- 1 | { 2 | "hosting": [ 3 | { 4 | "target": "angular-app", 5 | "public": "dist/angular-app", 6 | "ignore": [ 7 | "firebase.json", 8 | "**/.*", 9 | "**/node_modules/**" 10 | ], 11 | "rewrites": [ 12 | { 13 | "source": "**", 14 | "destination": "/index.html" 15 | } 16 | ] 17 | } 18 | ] 19 | } -------------------------------------------------------------------------------- /react-app/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /angular-app/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /react-app/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", 4 | "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /angular-app/browserslist: -------------------------------------------------------------------------------- 1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. 2 | # For additional information regarding the format and rule options, please see: 3 | # https://github.com/browserslist/browserslist#queries 4 | 5 | # You can see what browsers were selected by your queries by running: 6 | # npx browserslist 7 | 8 | > 0.5% 9 | last 2 versions 10 | Firefox ESR 11 | not dead 12 | not IE 9-11 # For IE 9-11 support, remove 'not'. -------------------------------------------------------------------------------- /angular-app/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | firebase: { 4 | apiKey: 'AIzaSyCNGXNpOeRLQcJnuSgUXLv8sWcPhvJfyVA', 5 | authDomain: 'fireship-lessons.firebaseapp.com', 6 | databaseURL: 'https://fireship-lessons.firebaseio.com', 7 | projectId: 'fireship-lessons', 8 | storageBucket: 'fireship-lessons.appspot.com', 9 | messagingSenderId: '758773997881', 10 | appId: '1:758773997881:web:8991643725992873' 11 | } 12 | }; 13 | -------------------------------------------------------------------------------- /react-app/src/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import './index.css'; 4 | import App from './App'; 5 | import * as serviceWorker from './serviceWorker'; 6 | 7 | ReactDOM.render(, document.getElementById('root')); 8 | 9 | // If you want your app to work offline and load faster, you can change 10 | // unregister() to register() below. Note this comes with some pitfalls. 11 | // Learn more about service workers: https://bit.ly/CRA-PWA 12 | serviceWorker.unregister(); 13 | -------------------------------------------------------------------------------- /svelte-app/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Svelte app 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /functions/seed.js: -------------------------------------------------------------------------------- 1 | const admin = require('firebase-admin'); 2 | admin.initializeApp(); 3 | 4 | const faker = require('faker'); 5 | 6 | const db = admin.firestore(); 7 | 8 | const fakeIt = () => { 9 | return db.collection('customers').add({ 10 | username: faker.internet.userName(), 11 | email: faker.internet.email(), 12 | avatar: faker.internet.avatar(), 13 | bio: faker.hacker.phrase(), 14 | color: faker.commerce.color() 15 | }); 16 | } 17 | 18 | Array(20).fill(0).forEach(fakeIt); 19 | -------------------------------------------------------------------------------- /angular-app/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": false, 3 | "compilerOptions": { 4 | "baseUrl": "./", 5 | "outDir": "./dist/out-tsc", 6 | "sourceMap": true, 7 | "declaration": false, 8 | "module": "esnext", 9 | "moduleResolution": "node", 10 | "emitDecoratorMetadata": true, 11 | "experimentalDecorators": true, 12 | "importHelpers": true, 13 | "target": "es2015", 14 | "typeRoots": [ 15 | "node_modules/@types" 16 | ], 17 | "lib": [ 18 | "es2018", 19 | "dom" 20 | ] 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /react-app/src/App.css: -------------------------------------------------------------------------------- 1 | .App { 2 | text-align: center; 3 | } 4 | 5 | .App-logo { 6 | animation: App-logo-spin infinite 20s linear; 7 | height: 40vmin; 8 | pointer-events: none; 9 | } 10 | 11 | .App-header { 12 | background-color: #282c34; 13 | min-height: 100vh; 14 | display: flex; 15 | flex-direction: column; 16 | align-items: center; 17 | justify-content: center; 18 | font-size: calc(10px + 2vmin); 19 | color: white; 20 | } 21 | 22 | .App-link { 23 | color: #61dafb; 24 | } 25 | 26 | @keyframes App-logo-spin { 27 | from { 28 | transform: rotate(0deg); 29 | } 30 | to { 31 | transform: rotate(360deg); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /angular-app/src/app/app.module.ts: -------------------------------------------------------------------------------- 1 | import { BrowserModule } from '@angular/platform-browser'; 2 | import { NgModule } from '@angular/core'; 3 | 4 | import { AppRoutingModule } from './app-routing.module'; 5 | import { AppComponent } from './app.component'; 6 | 7 | import { NgAisModule } from 'angular-instantsearch'; 8 | import { SearchComponent } from './search/search.component'; 9 | 10 | 11 | @NgModule({ 12 | declarations: [ 13 | AppComponent, 14 | SearchComponent 15 | ], 16 | imports: [ 17 | BrowserModule, 18 | AppRoutingModule, 19 | NgAisModule.forRoot() 20 | ], 21 | providers: [], 22 | bootstrap: [AppComponent] 23 | }) 24 | export class AppModule { } 25 | -------------------------------------------------------------------------------- /functions/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "functions", 3 | "description": "Cloud Functions for Firebase", 4 | "scripts": { 5 | "serve": "firebase serve --only functions", 6 | "shell": "firebase functions:shell", 7 | "start": "npm run shell", 8 | "deploy": "firebase deploy --only functions", 9 | "logs": "firebase functions:log" 10 | }, 11 | "engines": { 12 | "node": "8" 13 | }, 14 | "dependencies": { 15 | "algoliasearch": "^3.33.0", 16 | "firebase-admin": "^8.0.0", 17 | "firebase-functions": "^3.1.0" 18 | }, 19 | "devDependencies": { 20 | "faker": "^4.1.0", 21 | "firebase-functions-test": "^0.1.6" 22 | }, 23 | "private": true 24 | } 25 | -------------------------------------------------------------------------------- /angular-app/src/test.ts: -------------------------------------------------------------------------------- 1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files 2 | 3 | import 'zone.js/dist/zone-testing'; 4 | import { getTestBed } from '@angular/core/testing'; 5 | import { 6 | BrowserDynamicTestingModule, 7 | platformBrowserDynamicTesting 8 | } from '@angular/platform-browser-dynamic/testing'; 9 | 10 | declare const require: any; 11 | 12 | // First, initialize the Angular testing environment. 13 | getTestBed().initTestEnvironment( 14 | BrowserDynamicTestingModule, 15 | platformBrowserDynamicTesting() 16 | ); 17 | // Then we find all the tests. 18 | const context = require.context('./', true, /\.spec\.ts$/); 19 | // And load the modules. 20 | context.keys().map(context); 21 | -------------------------------------------------------------------------------- /angular-app/e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- 1 | import { AppPage } from './app.po'; 2 | import { browser, logging } from 'protractor'; 3 | 4 | describe('workspace-project App', () => { 5 | let page: AppPage; 6 | 7 | beforeEach(() => { 8 | page = new AppPage(); 9 | }); 10 | 11 | it('should display welcome message', () => { 12 | page.navigateTo(); 13 | expect(page.getTitleText()).toEqual('Welcome to angular-app!'); 14 | }); 15 | 16 | afterEach(async () => { 17 | // Assert that there are no errors emitted from the browser 18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER); 19 | expect(logs).not.toContain(jasmine.objectContaining({ 20 | level: logging.Level.SEVERE, 21 | } as logging.Entry)); 22 | }); 23 | }); 24 | -------------------------------------------------------------------------------- /angular-app/src/app/search/search.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | 3 | import { SearchComponent } from './search.component'; 4 | 5 | describe('SearchComponent', () => { 6 | let component: SearchComponent; 7 | let fixture: ComponentFixture; 8 | 9 | beforeEach(async(() => { 10 | TestBed.configureTestingModule({ 11 | declarations: [ SearchComponent ] 12 | }) 13 | .compileComponents(); 14 | })); 15 | 16 | beforeEach(() => { 17 | fixture = TestBed.createComponent(SearchComponent); 18 | component = fixture.componentInstance; 19 | fixture.detectChanges(); 20 | }); 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy(); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /angular-app/.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # compiled output 4 | /dist 5 | /tmp 6 | /out-tsc 7 | # Only exists if Bazel was run 8 | /bazel-out 9 | 10 | # dependencies 11 | /node_modules 12 | 13 | # profiling files 14 | chrome-profiler-events.json 15 | speed-measure-plugin.json 16 | 17 | # IDEs and editors 18 | /.idea 19 | .project 20 | .classpath 21 | .c9/ 22 | *.launch 23 | .settings/ 24 | *.sublime-workspace 25 | 26 | # IDE - VSCode 27 | .vscode/* 28 | !.vscode/settings.json 29 | !.vscode/tasks.json 30 | !.vscode/launch.json 31 | !.vscode/extensions.json 32 | .history/* 33 | 34 | # misc 35 | /.sass-cache 36 | /connect.lock 37 | /coverage 38 | /libpeerconnection.log 39 | npm-debug.log 40 | yarn-error.log 41 | testem.log 42 | /typings 43 | 44 | # System Files 45 | .DS_Store 46 | Thumbs.db 47 | -------------------------------------------------------------------------------- /react-app/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-app", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "algoliasearch": "^3.33.0", 7 | "firebase": "^6.2.4", 8 | "react": "^16.8.6", 9 | "react-dom": "^16.8.6", 10 | "react-instantsearch-dom": "^5.7.0", 11 | "react-scripts": "3.0.1" 12 | }, 13 | "scripts": { 14 | "start": "react-scripts start", 15 | "build": "react-scripts build", 16 | "test": "react-scripts test", 17 | "eject": "react-scripts eject" 18 | }, 19 | "eslintConfig": { 20 | "extends": "react-app" 21 | }, 22 | "browserslist": { 23 | "production": [ 24 | ">0.2%", 25 | "not dead", 26 | "not op_mini all" 27 | ], 28 | "development": [ 29 | "last 1 chrome version", 30 | "last 1 firefox version", 31 | "last 1 safari version" 32 | ] 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /svelte-app/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "svelte-app", 3 | "version": "1.0.0", 4 | "devDependencies": { 5 | "npm-run-all": "^4.1.5", 6 | "rollup": "^1.10.1", 7 | "rollup-plugin-commonjs": "^9.3.4", 8 | "rollup-plugin-livereload": "^1.0.0", 9 | "rollup-plugin-node-builtins": "^2.1.2", 10 | "rollup-plugin-node-resolve": "^4.2.3", 11 | "rollup-plugin-replace": "^2.2.0", 12 | "rollup-plugin-svelte": "^5.0.3", 13 | "rollup-plugin-terser": "^4.0.4", 14 | "svelte": "^3.0.0" 15 | }, 16 | "dependencies": { 17 | "algoliasearch": "^3.33.0", 18 | "instantsearch.js": "^3.6.0", 19 | "sirv-cli": "^0.4.4" 20 | }, 21 | "scripts": { 22 | "build": "rollup -c", 23 | "autobuild": "rollup -c -w", 24 | "dev": "run-p start:dev autobuild", 25 | "start": "sirv public --single", 26 | "start:dev": "sirv public --single --dev" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /angular-app/e2e/protractor.conf.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | // Protractor configuration file, see link for more information 3 | // https://github.com/angular/protractor/blob/master/lib/config.ts 4 | 5 | const { SpecReporter } = require('jasmine-spec-reporter'); 6 | 7 | /** 8 | * @type { import("protractor").Config } 9 | */ 10 | exports.config = { 11 | allScriptsTimeout: 11000, 12 | specs: [ 13 | './src/**/*.e2e-spec.ts' 14 | ], 15 | capabilities: { 16 | 'browserName': 'chrome' 17 | }, 18 | directConnect: true, 19 | baseUrl: 'http://localhost:4200/', 20 | framework: 'jasmine', 21 | jasmineNodeOpts: { 22 | showColors: true, 23 | defaultTimeoutInterval: 30000, 24 | print: function() {} 25 | }, 26 | onPrepare() { 27 | require('ts-node').register({ 28 | project: require('path').join(__dirname, './tsconfig.json') 29 | }); 30 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); 31 | } 32 | }; -------------------------------------------------------------------------------- /angular-app/src/app/search/search.component.html: -------------------------------------------------------------------------------- 1 | Angular InstantSearch 2 | 10 | 11 | 12 | 13 | 14 | 15 | No results found matching {{results.query}}. 16 | 17 | 18 | 19 | 20 | 21 | 22 | {{hit.username}} {{hit.objectID}} 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /functions/index.js: -------------------------------------------------------------------------------- 1 | const functions = require('firebase-functions'); 2 | const algoliasearch = require('algoliasearch'); 3 | 4 | const APP_ID = functions.config().algolia.app; 5 | const ADMIN_KEY = functions.config().algolia.key; 6 | 7 | const client = algoliasearch(APP_ID, ADMIN_KEY); 8 | const index = client.initIndex('customers'); 9 | 10 | 11 | exports.addToIndex = functions.firestore.document('customers/{customerId}') 12 | 13 | .onCreate(snapshot => { 14 | 15 | const data = snapshot.data(); 16 | const objectID = snapshot.id; 17 | 18 | return index.addObject({ ...data, objectID }); 19 | 20 | }); 21 | 22 | 23 | exports.updateIndex = functions.firestore.document('customers/{customerId}') 24 | 25 | .onUpdate((change) => { 26 | const newData = change.after.data(); 27 | const objectID = change.after.id; 28 | return index.saveObject({ ...newData, objectID }); 29 | }); 30 | 31 | exports.deleteFromIndex = functions.firestore.document('customers/{customerId}') 32 | 33 | .onDelete(snapshot => index.deleteObject(snapshot.id)); 34 | -------------------------------------------------------------------------------- /angular-app/src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | // This file can be replaced during build by using the `fileReplacements` array. 2 | // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. 3 | // The list of file replacements can be found in `angular.json`. 4 | 5 | export const environment = { 6 | production: false, 7 | firebase: { 8 | apiKey: 'AIzaSyCNGXNpOeRLQcJnuSgUXLv8sWcPhvJfyVA', 9 | authDomain: 'fireship-lessons.firebaseapp.com', 10 | databaseURL: 'https://fireship-lessons.firebaseio.com', 11 | projectId: 'fireship-lessons', 12 | storageBucket: 'fireship-lessons.appspot.com', 13 | messagingSenderId: '758773997881', 14 | appId: '1:758773997881:web:8991643725992873' 15 | } 16 | }; 17 | 18 | /* 19 | * For easier debugging in development mode, you can import the following file 20 | * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. 21 | * 22 | * This import should be commented out in production mode because it will have a negative impact 23 | * on performance if an error is thrown. 24 | */ 25 | // import 'zone.js/dist/zone-error'; // Included with Angular CLI. 26 | -------------------------------------------------------------------------------- /svelte-app/public/global.css: -------------------------------------------------------------------------------- 1 | html, body { 2 | position: relative; 3 | width: 100%; 4 | height: 100%; 5 | } 6 | 7 | body { 8 | color: #333; 9 | margin: 0; 10 | padding: 8px; 11 | box-sizing: border-box; 12 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 13 | } 14 | 15 | a { 16 | color: rgb(0,100,200); 17 | text-decoration: none; 18 | } 19 | 20 | a:hover { 21 | text-decoration: underline; 22 | } 23 | 24 | a:visited { 25 | color: rgb(0,80,160); 26 | } 27 | 28 | label { 29 | display: block; 30 | } 31 | 32 | input, button, select, textarea { 33 | font-family: inherit; 34 | font-size: inherit; 35 | padding: 0.4em; 36 | margin: 0 0 0.5em 0; 37 | box-sizing: border-box; 38 | border: 1px solid #ccc; 39 | border-radius: 2px; 40 | } 41 | 42 | input:disabled { 43 | color: #ccc; 44 | } 45 | 46 | input[type="range"] { 47 | height: 0; 48 | } 49 | 50 | button { 51 | color: #333; 52 | background-color: #f4f4f4; 53 | outline: none; 54 | } 55 | 56 | button:active { 57 | background-color: #ddd; 58 | } 59 | 60 | button:focus { 61 | border-color: #666; 62 | } 63 | -------------------------------------------------------------------------------- /angular-app/karma.conf.js: -------------------------------------------------------------------------------- 1 | // Karma configuration file, see link for more information 2 | // https://karma-runner.github.io/1.0/config/configuration-file.html 3 | 4 | module.exports = function (config) { 5 | config.set({ 6 | basePath: '', 7 | frameworks: ['jasmine', '@angular-devkit/build-angular'], 8 | plugins: [ 9 | require('karma-jasmine'), 10 | require('karma-chrome-launcher'), 11 | require('karma-jasmine-html-reporter'), 12 | require('karma-coverage-istanbul-reporter'), 13 | require('@angular-devkit/build-angular/plugins/karma') 14 | ], 15 | client: { 16 | clearContext: false // leave Jasmine Spec Runner output visible in browser 17 | }, 18 | coverageIstanbulReporter: { 19 | dir: require('path').join(__dirname, './coverage/angular-app'), 20 | reports: ['html', 'lcovonly', 'text-summary'], 21 | fixWebpackSourcePaths: true 22 | }, 23 | reporters: ['progress', 'kjhtml'], 24 | port: 9876, 25 | colors: true, 26 | logLevel: config.LOG_INFO, 27 | autoWatch: true, 28 | browsers: ['Chrome'], 29 | singleRun: false, 30 | restartOnFileChange: true 31 | }); 32 | }; 33 | -------------------------------------------------------------------------------- /react-app/src/App.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import './App.css'; 3 | 4 | import algoliasearch from 'algoliasearch/lite'; 5 | import { InstantSearch, SearchBox, Hits, connectHighlight } from 'react-instantsearch-dom'; 6 | 7 | const searchClient = algoliasearch('YOUR-APP-ID', 'YOUR-SEARCH-KEY'); 8 | 9 | 10 | function App() { 11 | 12 | return ( 13 | 14 | 15 | 16 | 17 | ) 18 | } 19 | 20 | const CustomHighlight = connectHighlight(({ highlight, attribute, hit }) => { 21 | const parsedHit = highlight({ 22 | highlightProperty: '_highlightResult', 23 | attribute, 24 | hit 25 | }); 26 | 27 | return ( 28 | 29 | {hit.username} 30 | 31 | {parsedHit.map( 32 | part => part.isHighlighted ? {part.value} : part.value 33 | )} 34 | 35 | ); 36 | }); 37 | 38 | const Hit = ({ hit }) => ( 39 | 40 | 41 | 42 | ); 43 | 44 | 45 | export default App; 46 | -------------------------------------------------------------------------------- /svelte-app/src/App.svelte: -------------------------------------------------------------------------------- 1 | 33 | 34 | 41 | 42 | 43 | Svelte InstantSearch 44 | 45 | 46 | 47 | 48 | 49 | 50 | {#each hits as hit} 51 | 52 | 53 | {hit.username} {hit.objectID} 54 | 55 | 56 | 57 | 58 | {/each} 59 | 60 | -------------------------------------------------------------------------------- /angular-app/src/app/app.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed, async } from '@angular/core/testing'; 2 | import { RouterTestingModule } from '@angular/router/testing'; 3 | import { AppComponent } from './app.component'; 4 | 5 | describe('AppComponent', () => { 6 | beforeEach(async(() => { 7 | TestBed.configureTestingModule({ 8 | imports: [ 9 | RouterTestingModule 10 | ], 11 | declarations: [ 12 | AppComponent 13 | ], 14 | }).compileComponents(); 15 | })); 16 | 17 | it('should create the app', () => { 18 | const fixture = TestBed.createComponent(AppComponent); 19 | const app = fixture.debugElement.componentInstance; 20 | expect(app).toBeTruthy(); 21 | }); 22 | 23 | it(`should have as title 'angular-app'`, () => { 24 | const fixture = TestBed.createComponent(AppComponent); 25 | const app = fixture.debugElement.componentInstance; 26 | expect(app.title).toEqual('angular-app'); 27 | }); 28 | 29 | it('should render title in a h1 tag', () => { 30 | const fixture = TestBed.createComponent(AppComponent); 31 | fixture.detectChanges(); 32 | const compiled = fixture.debugElement.nativeElement; 33 | expect(compiled.querySelector('h1').textContent).toContain('Welcome to angular-app!'); 34 | }); 35 | }); 36 | -------------------------------------------------------------------------------- /svelte-app/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Install Firebase 2 | 3 | ``` 4 | npm i firebase 5 | ``` 6 | 7 | ## 2. Create a Project Config File 8 | 9 | Create a [Firebase](https://firebase.google.com/) project and grab your web credentials. 10 | 11 |  12 | 13 | 14 | Create a new file named `src/firebase.js` to initialize firebase and import the desired features. 15 | 16 | ``` 17 | import firebase from 'firebase/app'; 18 | import 'firebase/firestore'; 19 | import 'firebase/auth'; 20 | import 'firebase/storage'; 21 | import 'firebase/functions'; 22 | 23 | const config = { 24 | apiKey: '', 25 | authDomain: '', 26 | databaseURL: '', 27 | projectId: '', 28 | storageBucket: '', 29 | messagingSenderId: '' 30 | appId: '' 31 | } 32 | 33 | firebase.initializeApp(config); 34 | 35 | export const app = firebase.app(); 36 | export const db = firebase.firestore(); 37 | export const auth = firebase.auth(); 38 | export const storage = firebase.storage(); 39 | export const functions = firebase.functions() 40 | ``` 41 | -------------------------------------------------------------------------------- /react-app/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Install Firebase 2 | 3 | This demo uses a the Firebase SDK directly, but you might also checkout the Firebase 4 | 5 | - [React Redux Firebase](https://github.com/prescottprue/react-redux-firebase) 6 | - [Reactfire (deprecated)](https://github.com/FirebaseExtended/reactfire) 7 | 8 | ``` 9 | npm i firebase 10 | ``` 11 | 12 | ## 2. Initialize Firebase 13 | 14 | Create a [Firebase](https://firebase.google.com/) project and grab your web credentials. 15 | 16 |  17 | 18 | 19 | Create a new file named `src/firebase.js` to initialize firebase and import the desired features. 20 | 21 | ``` 22 | import firebase from 'firebase/app'; 23 | import 'firebase/firestore'; 24 | import 'firebase/auth'; 25 | import 'firebase/storage'; 26 | import 'firebase/functions'; 27 | 28 | const config = { 29 | apiKey: '', 30 | authDomain: '', 31 | databaseURL: '', 32 | projectId: '', 33 | storageBucket: '', 34 | messagingSenderId: '' 35 | appId: '' 36 | } 37 | 38 | firebase.initializeApp(config); 39 | 40 | export const app = firebase.app(); 41 | export const db = firebase.firestore(); 42 | export const auth = firebase.auth(); 43 | export const storage = firebase.storage(); 44 | export const functions = firebase.functions() 45 | ``` 46 | -------------------------------------------------------------------------------- /svelte-app/rollup.config.js: -------------------------------------------------------------------------------- 1 | import svelte from 'rollup-plugin-svelte'; 2 | import resolve from 'rollup-plugin-node-resolve'; 3 | import commonjs from 'rollup-plugin-commonjs'; 4 | import livereload from 'rollup-plugin-livereload'; 5 | import { terser } from 'rollup-plugin-terser'; 6 | // import builtins from 'rollup-plugin-node-builtins'; 7 | 8 | const production = !process.env.ROLLUP_WATCH; 9 | 10 | 11 | export default { 12 | input: 'src/main.js', 13 | output: { 14 | sourcemap: true, 15 | format: 'iife', 16 | name: 'app', 17 | file: 'public/bundle.js' 18 | }, 19 | plugins: [ 20 | // builtins(), 21 | svelte({ 22 | // enable run-time checks when not in production 23 | dev: !production, 24 | // we'll extract any component CSS out into 25 | // a separate file — better for performance 26 | css: css => { 27 | css.write('public/bundle.css'); 28 | } 29 | }), 30 | 31 | // If you have external dependencies installed from 32 | // npm, you'll most likely need these plugins. In 33 | // some cases you'll need additional configuration — 34 | // consult the documentation for details: 35 | // https://github.com/rollup/rollup-plugin-commonjs 36 | resolve({ browser: true }), 37 | commonjs(), 38 | 39 | // Watch the `public` directory and refresh the 40 | // browser on changes when not in production 41 | !production && livereload('public'), 42 | 43 | // If we're building for production (npm run build 44 | // instead of npm run dev), minify 45 | production && terser() 46 | ], 47 | watch: { 48 | clearScreen: false 49 | } 50 | }; 51 | -------------------------------------------------------------------------------- /react-app/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | 22 | React App 23 | 24 | 25 | You need to enable JavaScript to run this app. 26 | 27 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /angular-app/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-app", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "ng": "ng", 6 | "start": "ng serve -o", 7 | "build": "ng build", 8 | "test": "ng test", 9 | "lint": "ng lint", 10 | "e2e": "ng e2e" 11 | }, 12 | "private": true, 13 | "dependencies": { 14 | "@angular/animations": "~8.0.0", 15 | "@angular/common": "~8.0.0", 16 | "@angular/compiler": "~8.0.0", 17 | "@angular/core": "~8.0.0", 18 | "@angular/fire": "^5.2.1", 19 | "@angular/forms": "~8.0.0", 20 | "@angular/platform-browser": "~8.0.0", 21 | "@angular/platform-browser-dynamic": "~8.0.0", 22 | "@angular/router": "~8.0.0", 23 | "angular-instantsearch": "^2.2.2", 24 | "firebase": ">= 5.5.7 <7", 25 | "rxjs": "~6.4.0", 26 | "tslib": "^1.9.0", 27 | "zone.js": "~0.9.1" 28 | }, 29 | "devDependencies": { 30 | "@angular-devkit/build-angular": "~0.800.0", 31 | "@angular/cli": "~8.0.1", 32 | "@angular/compiler-cli": "~8.0.0", 33 | "@angular/language-service": "~8.0.0", 34 | "@types/node": "~8.9.4", 35 | "@types/jasmine": "~3.3.8", 36 | "@types/jasminewd2": "~2.0.3", 37 | "codelyzer": "^5.0.0", 38 | "jasmine-core": "~3.4.0", 39 | "jasmine-spec-reporter": "~4.2.1", 40 | "karma": "~4.1.0", 41 | "karma-chrome-launcher": "~2.2.0", 42 | "karma-coverage-istanbul-reporter": "~2.0.1", 43 | "karma-jasmine": "~2.0.1", 44 | "karma-jasmine-html-reporter": "^1.4.0", 45 | "protractor": "~5.4.0", 46 | "ts-node": "~7.0.0", 47 | "tslint": "~5.15.0", 48 | "typescript": "~3.4.3", 49 | "@angular-devkit/architect": "<0.900 || ^0.900.0-0 || ^9.0.0-0", 50 | "firebase-tools": "^6.10.0", 51 | "fuzzy": "^0.1.3", 52 | "inquirer": "^6.2.2", 53 | "inquirer-autocomplete-prompt": "^1.0.1" 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /firebase-debug.log: -------------------------------------------------------------------------------- 1 | [debug] [2019-08-26T02:50:08.232Z] ---------------------------------------------------------------------- 2 | [debug] [2019-08-26T02:50:08.234Z] Command: C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\firebase-tools\lib\bin\firebase.js deploy --only functions 3 | [debug] [2019-08-26T02:50:08.234Z] CLI Version: 7.2.2 4 | [debug] [2019-08-26T02:50:08.234Z] Platform: win32 5 | [debug] [2019-08-26T02:50:08.234Z] Node Version: v10.16.0 6 | [debug] [2019-08-26T02:50:08.235Z] Time: Sun Aug 25 2019 19:50:08 GMT-0700 (Mountain Standard Time) 7 | [debug] [2019-08-26T02:50:08.235Z] ---------------------------------------------------------------------- 8 | [debug] 9 | [debug] [2019-08-26T02:50:08.260Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"] 10 | [debug] [2019-08-26T02:50:08.260Z] > authorizing via signed-in user 11 | [debug] [2019-08-26T02:50:08.260Z] [iam] checking project fireship-lessons for permissions ["cloudfunctions.functions.create","cloudfunctions.functions.delete","cloudfunctions.functions.get","cloudfunctions.functions.list","cloudfunctions.functions.update","cloudfunctions.operations.get","firebase.projects.get"] 12 | [debug] [2019-08-26T02:50:08.261Z] > refreshing access token with scopes: ["email","https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","openid"] 13 | [debug] [2019-08-26T02:50:08.262Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token 14 | 15 | [debug] [2019-08-26T02:50:08.474Z] <<< HTTP RESPONSE 200 16 | [debug] [2019-08-26T02:50:08.482Z] >>> HTTP REQUEST POST https://cloudresourcemanager.googleapis.com/v1/projects/fireship-lessons:testIamPermissions 17 | 18 | [debug] [2019-08-26T02:50:08.857Z] <<< HTTP RESPONSE 200 19 | -------------------------------------------------------------------------------- /angular-app/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Install Firebase and @angular/fire 2 | 3 | Angular apps typically depend on [@angular/fire](https://github.com/angular/angularfire2). 4 | 5 | ``` 6 | ng add @angular/fire 7 | 8 | // or 9 | 10 | npm i firebase @angular/fire 11 | ``` 12 | 13 | ## 2. Add Project Credentials 14 | 15 | Create a [Firebase](https://firebase.google.com/) project and grab your web credentials. 16 | 17 |  18 | 19 | Add the credentials to `src/environments/environments.ts` and `environments.prod.ts` 20 | 21 | ``` 22 | export const environment = { 23 | production: false, 24 | firebase: { 25 | apiKey: '', 26 | authDomain: '', 27 | databaseURL: '', 28 | projectId: '', 29 | storageBucket: '', 30 | messagingSenderId: '' 31 | appId: '' 32 | } 33 | }; 34 | ``` 35 | 36 | ### 3. Update the App Module 37 | 38 | Add the desired Firebase features to the App Module. 39 | 40 | ``` 41 | import { BrowserModule } from '@angular/platform-browser'; 42 | import { NgModule } from '@angular/core'; 43 | 44 | import { AppRoutingModule } from './app-routing.module'; 45 | import { AppComponent } from './app.component'; 46 | 47 | import { AngularFireModule } from '@angular/fire'; 48 | import { AngularFirestoreModule } from '@angular/fire/firestore'; 49 | import { AngularFireStorageModule } from '@angular/fire/storage'; 50 | import { AngularFireAuthModule } from '@angular/fire/auth'; 51 | 52 | 53 | import { environment } from '../environments/environment'; 54 | 55 | @NgModule({ 56 | declarations: [ 57 | AppComponent 58 | ], 59 | imports: [ 60 | BrowserModule, 61 | AppRoutingModule, 62 | AngularFireModule.initializeApp(environment.firebase), 63 | AngularFirestoreModule, 64 | AngularFireAuthModule, 65 | AngularFireStorageModule 66 | ], 67 | providers: [], 68 | bootstrap: [AppComponent] 69 | }) 70 | export class AppModule { } 71 | ``` -------------------------------------------------------------------------------- /angular-app/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "tslint:recommended", 3 | "rules": { 4 | "array-type": false, 5 | "arrow-parens": false, 6 | "deprecation": { 7 | "severity": "warn" 8 | }, 9 | "component-class-suffix": true, 10 | "contextual-lifecycle": true, 11 | "directive-class-suffix": true, 12 | "directive-selector": [ 13 | true, 14 | "attribute", 15 | "app", 16 | "camelCase" 17 | ], 18 | "component-selector": [ 19 | true, 20 | "element", 21 | "app", 22 | "kebab-case" 23 | ], 24 | "import-blacklist": [ 25 | true, 26 | "rxjs/Rx" 27 | ], 28 | "interface-name": false, 29 | "max-classes-per-file": false, 30 | "max-line-length": [ 31 | true, 32 | 140 33 | ], 34 | "member-access": false, 35 | "member-ordering": [ 36 | true, 37 | { 38 | "order": [ 39 | "static-field", 40 | "instance-field", 41 | "static-method", 42 | "instance-method" 43 | ] 44 | } 45 | ], 46 | "no-consecutive-blank-lines": false, 47 | "no-console": [ 48 | true, 49 | "debug", 50 | "info", 51 | "time", 52 | "timeEnd", 53 | "trace" 54 | ], 55 | "no-empty": false, 56 | "no-inferrable-types": [ 57 | true, 58 | "ignore-params" 59 | ], 60 | "no-non-null-assertion": true, 61 | "no-redundant-jsdoc": true, 62 | "no-switch-case-fall-through": true, 63 | "no-use-before-declare": true, 64 | "no-var-requires": false, 65 | "object-literal-key-quotes": [ 66 | true, 67 | "as-needed" 68 | ], 69 | "object-literal-sort-keys": false, 70 | "ordered-imports": false, 71 | "quotemark": [ 72 | true, 73 | "single" 74 | ], 75 | "trailing-comma": false, 76 | "no-conflicting-lifecycle": true, 77 | "no-host-metadata-property": true, 78 | "no-input-rename": true, 79 | "no-inputs-metadata-property": true, 80 | "no-output-native": true, 81 | "no-output-on-prefix": true, 82 | "no-output-rename": true, 83 | "no-outputs-metadata-property": true, 84 | "template-banana-in-box": true, 85 | "template-no-negated-async": true, 86 | "use-lifecycle-interface": true, 87 | "use-pipe-transform-interface": true 88 | }, 89 | "rulesDirectory": [ 90 | "codelyzer" 91 | ] 92 | } -------------------------------------------------------------------------------- /react-app/src/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /angular-app/src/polyfills.ts: -------------------------------------------------------------------------------- 1 | (window as any).process = { 2 | env: { DEBUG: undefined }, 3 | }; 4 | 5 | /** 6 | * This file includes polyfills needed by Angular and is loaded before the app. 7 | * You can add your own extra polyfills to this file. 8 | * 9 | * This file is divided into 2 sections: 10 | * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. 11 | * 2. Application imports. Files imported after ZoneJS that should be loaded before your main 12 | * file. 13 | * 14 | * The current setup is for so-called "evergreen" browsers; the last versions of browsers that 15 | * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), 16 | * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. 17 | * 18 | * Learn more in https://angular.io/guide/browser-support 19 | */ 20 | 21 | /*************************************************************************************************** 22 | * BROWSER POLYFILLS 23 | */ 24 | 25 | /** IE10 and IE11 requires the following for NgClass support on SVG elements */ 26 | // import 'classlist.js'; // Run `npm install --save classlist.js`. 27 | 28 | /** 29 | * Web Animations `@angular/platform-browser/animations` 30 | * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. 31 | * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). 32 | */ 33 | // import 'web-animations-js'; // Run `npm install --save web-animations-js`. 34 | 35 | /** 36 | * By default, zone.js will patch all possible macroTask and DomEvents 37 | * user can disable parts of macroTask/DomEvents patch by setting following flags 38 | * because those flags need to be set before `zone.js` being loaded, and webpack 39 | * will put import in the top of bundle, so user need to create a separate file 40 | * in this directory (for example: zone-flags.ts), and put the following flags 41 | * into that file, and then add the following code before importing zone.js. 42 | * import './zone-flags.ts'; 43 | * 44 | * The flags allowed in zone-flags.ts are listed here. 45 | * 46 | * The following flags will work for all browsers. 47 | * 48 | * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame 49 | * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick 50 | * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames 51 | * 52 | * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js 53 | * with the following flag, it will bypass `zone.js` patch for IE/Edge 54 | * 55 | * (window as any).__Zone_enable_cross_context_check = true; 56 | * 57 | */ 58 | 59 | /*************************************************************************************************** 60 | * Zone JS is required by default for Angular itself. 61 | */ 62 | import 'zone.js/dist/zone'; // Included with Angular CLI. 63 | 64 | 65 | /*************************************************************************************************** 66 | * APPLICATION IMPORTS 67 | */ 68 | -------------------------------------------------------------------------------- /angular-app/angular.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", 3 | "version": 1, 4 | "newProjectRoot": "projects", 5 | "projects": { 6 | "angular-app": { 7 | "projectType": "application", 8 | "schematics": { 9 | "@schematics/angular:component": { 10 | "style": "scss" 11 | } 12 | }, 13 | "root": "", 14 | "sourceRoot": "src", 15 | "prefix": "app", 16 | "architect": { 17 | "build": { 18 | "builder": "@angular-devkit/build-angular:browser", 19 | "options": { 20 | "outputPath": "dist/angular-app", 21 | "index": "src/index.html", 22 | "main": "src/main.ts", 23 | "polyfills": "src/polyfills.ts", 24 | "tsConfig": "tsconfig.app.json", 25 | "assets": [ 26 | "src/favicon.ico", 27 | "src/assets" 28 | ], 29 | "styles": [ 30 | "node_modules/angular-instantsearch/bundles/instantsearch.min.css", 31 | "node_modules/angular-instantsearch/bundles/instantsearch-theme-algolia.min.css", 32 | "src/styles.scss" 33 | ], 34 | "scripts": [] 35 | }, 36 | "configurations": { 37 | "production": { 38 | "fileReplacements": [ 39 | { 40 | "replace": "src/environments/environment.ts", 41 | "with": "src/environments/environment.prod.ts" 42 | } 43 | ], 44 | "optimization": true, 45 | "outputHashing": "all", 46 | "sourceMap": false, 47 | "extractCss": true, 48 | "namedChunks": false, 49 | "aot": true, 50 | "extractLicenses": true, 51 | "vendorChunk": false, 52 | "buildOptimizer": true, 53 | "budgets": [ 54 | { 55 | "type": "initial", 56 | "maximumWarning": "2mb", 57 | "maximumError": "5mb" 58 | } 59 | ] 60 | } 61 | } 62 | }, 63 | "serve": { 64 | "builder": "@angular-devkit/build-angular:dev-server", 65 | "options": { 66 | "browserTarget": "angular-app:build" 67 | }, 68 | "configurations": { 69 | "production": { 70 | "browserTarget": "angular-app:build:production" 71 | } 72 | } 73 | }, 74 | "extract-i18n": { 75 | "builder": "@angular-devkit/build-angular:extract-i18n", 76 | "options": { 77 | "browserTarget": "angular-app:build" 78 | } 79 | }, 80 | "test": { 81 | "builder": "@angular-devkit/build-angular:karma", 82 | "options": { 83 | "main": "src/test.ts", 84 | "polyfills": "src/polyfills.ts", 85 | "tsConfig": "tsconfig.spec.json", 86 | "karmaConfig": "karma.conf.js", 87 | "assets": [ 88 | "src/favicon.ico", 89 | "src/assets" 90 | ], 91 | "styles": [ 92 | "src/styles.scss" 93 | ], 94 | "scripts": [] 95 | } 96 | }, 97 | "lint": { 98 | "builder": "@angular-devkit/build-angular:tslint", 99 | "options": { 100 | "tsConfig": [ 101 | "tsconfig.app.json", 102 | "tsconfig.spec.json", 103 | "e2e/tsconfig.json" 104 | ], 105 | "exclude": [ 106 | "**/node_modules/**" 107 | ] 108 | } 109 | }, 110 | "e2e": { 111 | "builder": "@angular-devkit/build-angular:protractor", 112 | "options": { 113 | "protractorConfig": "e2e/protractor.conf.js", 114 | "devServerTarget": "angular-app:serve" 115 | }, 116 | "configurations": { 117 | "production": { 118 | "devServerTarget": "angular-app:serve:production" 119 | } 120 | } 121 | }, 122 | "deploy": { 123 | "builder": "@angular/fire:deploy", 124 | "options": {} 125 | } 126 | } 127 | } 128 | }, 129 | "defaultProject": "angular-app" 130 | } -------------------------------------------------------------------------------- /react-app/src/serviceWorker.js: -------------------------------------------------------------------------------- 1 | // This optional code is used to register a service worker. 2 | // register() is not called by default. 3 | 4 | // This lets the app load faster on subsequent visits in production, and gives 5 | // it offline capabilities. However, it also means that developers (and users) 6 | // will only see deployed updates on subsequent visits to a page, after all the 7 | // existing tabs open on the page have been closed, since previously cached 8 | // resources are updated in the background. 9 | 10 | // To learn more about the benefits of this model and instructions on how to 11 | // opt-in, read https://bit.ly/CRA-PWA 12 | 13 | const isLocalhost = Boolean( 14 | window.location.hostname === 'localhost' || 15 | // [::1] is the IPv6 localhost address. 16 | window.location.hostname === '[::1]' || 17 | // 127.0.0.1/8 is considered localhost for IPv4. 18 | window.location.hostname.match( 19 | /^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/ 20 | ) 21 | ); 22 | 23 | export function register(config) { 24 | if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) { 25 | // The URL constructor is available in all browsers that support SW. 26 | const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href); 27 | if (publicUrl.origin !== window.location.origin) { 28 | // Our service worker won't work if PUBLIC_URL is on a different origin 29 | // from what our page is served on. This might happen if a CDN is used to 30 | // serve assets; see https://github.com/facebook/create-react-app/issues/2374 31 | return; 32 | } 33 | 34 | window.addEventListener('load', () => { 35 | const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`; 36 | 37 | if (isLocalhost) { 38 | // This is running on localhost. Let's check if a service worker still exists or not. 39 | checkValidServiceWorker(swUrl, config); 40 | 41 | // Add some additional logging to localhost, pointing developers to the 42 | // service worker/PWA documentation. 43 | navigator.serviceWorker.ready.then(() => { 44 | console.log( 45 | 'This web app is being served cache-first by a service ' + 46 | 'worker. To learn more, visit https://bit.ly/CRA-PWA' 47 | ); 48 | }); 49 | } else { 50 | // Is not localhost. Just register service worker 51 | registerValidSW(swUrl, config); 52 | } 53 | }); 54 | } 55 | } 56 | 57 | function registerValidSW(swUrl, config) { 58 | navigator.serviceWorker 59 | .register(swUrl) 60 | .then(registration => { 61 | registration.onupdatefound = () => { 62 | const installingWorker = registration.installing; 63 | if (installingWorker == null) { 64 | return; 65 | } 66 | installingWorker.onstatechange = () => { 67 | if (installingWorker.state === 'installed') { 68 | if (navigator.serviceWorker.controller) { 69 | // At this point, the updated precached content has been fetched, 70 | // but the previous service worker will still serve the older 71 | // content until all client tabs are closed. 72 | console.log( 73 | 'New content is available and will be used when all ' + 74 | 'tabs for this page are closed. See https://bit.ly/CRA-PWA.' 75 | ); 76 | 77 | // Execute callback 78 | if (config && config.onUpdate) { 79 | config.onUpdate(registration); 80 | } 81 | } else { 82 | // At this point, everything has been precached. 83 | // It's the perfect time to display a 84 | // "Content is cached for offline use." message. 85 | console.log('Content is cached for offline use.'); 86 | 87 | // Execute callback 88 | if (config && config.onSuccess) { 89 | config.onSuccess(registration); 90 | } 91 | } 92 | } 93 | }; 94 | }; 95 | }) 96 | .catch(error => { 97 | console.error('Error during service worker registration:', error); 98 | }); 99 | } 100 | 101 | function checkValidServiceWorker(swUrl, config) { 102 | // Check if the service worker can be found. If it can't reload the page. 103 | fetch(swUrl) 104 | .then(response => { 105 | // Ensure service worker exists, and that we really are getting a JS file. 106 | const contentType = response.headers.get('content-type'); 107 | if ( 108 | response.status === 404 || 109 | (contentType != null && contentType.indexOf('javascript') === -1) 110 | ) { 111 | // No service worker found. Probably a different app. Reload the page. 112 | navigator.serviceWorker.ready.then(registration => { 113 | registration.unregister().then(() => { 114 | window.location.reload(); 115 | }); 116 | }); 117 | } else { 118 | // Service worker found. Proceed as normal. 119 | registerValidSW(swUrl, config); 120 | } 121 | }) 122 | .catch(() => { 123 | console.log( 124 | 'No internet connection found. App is running in offline mode.' 125 | ); 126 | }); 127 | } 128 | 129 | export function unregister() { 130 | if ('serviceWorker' in navigator) { 131 | navigator.serviceWorker.ready.then(registration => { 132 | registration.unregister(); 133 | }); 134 | } 135 | } 136 | -------------------------------------------------------------------------------- /functions/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "functions", 3 | "requires": true, 4 | "lockfileVersion": 1, 5 | "dependencies": { 6 | "@firebase/database": { 7 | "version": "0.4.12", 8 | "resolved": "https://registry.npmjs.org/@firebase/database/-/database-0.4.12.tgz", 9 | "integrity": "sha512-CdPZU8kNYyvtTCr7fdLiM71EX9yooiKzpMLkTfL2ay7EfvSmnbSKPPCODYeUXvijfH6w2QSyoRsS69HIBaU3iA==", 10 | "requires": { 11 | "@firebase/database-types": "0.4.2", 12 | "@firebase/logger": "0.1.22", 13 | "@firebase/util": "0.2.25", 14 | "faye-websocket": "0.11.3", 15 | "tslib": "1.10.0" 16 | } 17 | }, 18 | "@firebase/database-types": { 19 | "version": "0.4.2", 20 | "resolved": "https://registry.npmjs.org/@firebase/database-types/-/database-types-0.4.2.tgz", 21 | "integrity": "sha512-rBF/Sp4S4zzVg+a6h0iEiXR2GdNRrvx2BR6IcvGHnSPF7XVpj9UuUWtZMJyO+vWP3zlIGDvlNRJ4qF01Y6KxGg==" 22 | }, 23 | "@firebase/logger": { 24 | "version": "0.1.22", 25 | "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.1.22.tgz", 26 | "integrity": "sha512-os1vG5FohEF9gl27duZeTtEphOP7oHQ+YjnT+sT2dGprkTIAyaEkzH6G8AgLPUqmASSsoa6BqY5kFXHQi9+xGw==" 27 | }, 28 | "@firebase/util": { 29 | "version": "0.2.25", 30 | "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.25.tgz", 31 | "integrity": "sha512-J/JgYhvFLCpejzfzjzNDZGFZD3kNtTlMu+2EjiQ3tCII6w0N/uEza5GtFiYTKCjGBa51Lmi2j/OPLz+yhlQCWg==", 32 | "requires": { 33 | "tslib": "1.10.0" 34 | } 35 | }, 36 | "@google-cloud/common": { 37 | "version": "2.1.2", 38 | "resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-2.1.2.tgz", 39 | "integrity": "sha512-VAjWRrTEgcGujj/MgTTAtjjzeDoQqs/FDT6DG7004QFZoJsSwBmx2vGpI5TJmCuxLWvhEc0Xs5AMOvhgt7FLSw==", 40 | "optional": true, 41 | "requires": { 42 | "@google-cloud/projectify": "^1.0.0", 43 | "@google-cloud/promisify": "^1.0.0", 44 | "arrify": "^2.0.0", 45 | "duplexify": "^3.6.0", 46 | "ent": "^2.2.0", 47 | "extend": "^3.0.2", 48 | "google-auth-library": "^5.0.0", 49 | "retry-request": "^4.0.0", 50 | "teeny-request": "^5.2.1" 51 | } 52 | }, 53 | "@google-cloud/firestore": { 54 | "version": "2.2.8", 55 | "resolved": "https://registry.npmjs.org/@google-cloud/firestore/-/firestore-2.2.8.tgz", 56 | "integrity": "sha512-838nh/3Eyv3GB1TSIwWJaOLTDjQZ5mNm3PzgkNZA31GHK91GE4mziYsH05FQJ9FkCbn2TSEhXFihufs5hqBPOg==", 57 | "optional": true, 58 | "requires": { 59 | "bun": "^0.0.12", 60 | "deep-equal": "^1.0.1", 61 | "functional-red-black-tree": "^1.0.1", 62 | "google-gax": "^1.1.2", 63 | "through2": "^3.0.0" 64 | } 65 | }, 66 | "@google-cloud/paginator": { 67 | "version": "2.0.0", 68 | "resolved": "https://registry.npmjs.org/@google-cloud/paginator/-/paginator-2.0.0.tgz", 69 | "integrity": "sha512-droVsitvSUGSoMV7Hbk2B5dCFkZIz9YNu3D1AxgFh+hmbSEWJ9SgB/M3WrU8CUx3pseH7IbLuq8jgs3HEFzeHw==", 70 | "optional": true, 71 | "requires": { 72 | "arrify": "^2.0.0", 73 | "extend": "^3.0.1" 74 | } 75 | }, 76 | "@google-cloud/projectify": { 77 | "version": "1.0.1", 78 | "resolved": "https://registry.npmjs.org/@google-cloud/projectify/-/projectify-1.0.1.tgz", 79 | "integrity": "sha512-xknDOmsMgOYHksKc1GPbwDLsdej8aRNIA17SlSZgQdyrcC0lx0OGo4VZgYfwoEU1YS8oUxF9Y+6EzDOb0eB7Xg==", 80 | "optional": true 81 | }, 82 | "@google-cloud/promisify": { 83 | "version": "1.0.2", 84 | "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-1.0.2.tgz", 85 | "integrity": "sha512-7WfV4R/3YV5T30WRZW0lqmvZy9hE2/p9MvpI34WuKa2Wz62mLu5XplGTFEMK6uTbJCLWUxTcZ4J4IyClKucE5g==", 86 | "optional": true 87 | }, 88 | "@google-cloud/storage": { 89 | "version": "3.2.0", 90 | "resolved": "https://registry.npmjs.org/@google-cloud/storage/-/storage-3.2.0.tgz", 91 | "integrity": "sha512-vV8MUb9WinJqeX4s+OaZk3PjpB3L8Z5SH7j9rQFtOyMMUiiwrvqtT8AgG2/Egmobbfg5cyXhO/OJrILM17HOGg==", 92 | "optional": true, 93 | "requires": { 94 | "@google-cloud/common": "^2.1.1", 95 | "@google-cloud/paginator": "^2.0.0", 96 | "@google-cloud/promisify": "^1.0.0", 97 | "arrify": "^2.0.0", 98 | "compressible": "^2.0.12", 99 | "concat-stream": "^2.0.0", 100 | "date-and-time": "^0.9.0", 101 | "duplexify": "^3.5.0", 102 | "extend": "^3.0.2", 103 | "gaxios": "^2.0.1", 104 | "gcs-resumable-upload": "^2.0.0", 105 | "hash-stream-validation": "^0.2.1", 106 | "mime": "^2.2.0", 107 | "mime-types": "^2.0.8", 108 | "onetime": "^5.1.0", 109 | "p-limit": "^2.2.0", 110 | "pumpify": "^2.0.0", 111 | "snakeize": "^0.1.0", 112 | "stream-events": "^1.0.1", 113 | "through2": "^3.0.0", 114 | "xdg-basedir": "^4.0.0" 115 | } 116 | }, 117 | "@grpc/grpc-js": { 118 | "version": "0.5.2", 119 | "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-0.5.2.tgz", 120 | "integrity": "sha512-NE1tP/1AF6BqhLdILElnF7aOBfoky+4ZOdZU/0NmKo2d+9F9QD8zGoElpBk/5BfyQZ3u1Zs+wFbDOFpVUzDx1w==", 121 | "optional": true, 122 | "requires": { 123 | "semver": "^6.0.0" 124 | } 125 | }, 126 | "@grpc/proto-loader": { 127 | "version": "0.5.1", 128 | "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.5.1.tgz", 129 | "integrity": "sha512-3y0FhacYAwWvyXshH18eDkUI40wT/uGio7MAegzY8lO5+wVsc19+1A7T0pPptae4kl7bdITL+0cHpnAPmryBjQ==", 130 | "optional": true, 131 | "requires": { 132 | "lodash.camelcase": "^4.3.0", 133 | "protobufjs": "^6.8.6" 134 | } 135 | }, 136 | "@protobufjs/aspromise": { 137 | "version": "1.1.2", 138 | "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", 139 | "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=", 140 | "optional": true 141 | }, 142 | "@protobufjs/base64": { 143 | "version": "1.1.2", 144 | "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", 145 | "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", 146 | "optional": true 147 | }, 148 | "@protobufjs/codegen": { 149 | "version": "2.0.4", 150 | "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", 151 | "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==", 152 | "optional": true 153 | }, 154 | "@protobufjs/eventemitter": { 155 | "version": "1.1.0", 156 | "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", 157 | "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=", 158 | "optional": true 159 | }, 160 | "@protobufjs/fetch": { 161 | "version": "1.1.0", 162 | "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", 163 | "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", 164 | "optional": true, 165 | "requires": { 166 | "@protobufjs/aspromise": "^1.1.1", 167 | "@protobufjs/inquire": "^1.1.0" 168 | } 169 | }, 170 | "@protobufjs/float": { 171 | "version": "1.0.2", 172 | "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", 173 | "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=", 174 | "optional": true 175 | }, 176 | "@protobufjs/inquire": { 177 | "version": "1.1.0", 178 | "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", 179 | "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=", 180 | "optional": true 181 | }, 182 | "@protobufjs/path": { 183 | "version": "1.1.2", 184 | "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", 185 | "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=", 186 | "optional": true 187 | }, 188 | "@protobufjs/pool": { 189 | "version": "1.1.0", 190 | "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", 191 | "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=", 192 | "optional": true 193 | }, 194 | "@protobufjs/utf8": { 195 | "version": "1.1.0", 196 | "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", 197 | "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=", 198 | "optional": true 199 | }, 200 | "@types/body-parser": { 201 | "version": "1.17.1", 202 | "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.17.1.tgz", 203 | "integrity": "sha512-RoX2EZjMiFMjZh9lmYrwgoP9RTpAjSHiJxdp4oidAQVO02T7HER3xj9UKue5534ULWeqVEkujhWcyvUce+d68w==", 204 | "requires": { 205 | "@types/connect": "*", 206 | "@types/node": "*" 207 | } 208 | }, 209 | "@types/connect": { 210 | "version": "3.4.32", 211 | "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.32.tgz", 212 | "integrity": "sha512-4r8qa0quOvh7lGD0pre62CAb1oni1OO6ecJLGCezTmhQ8Fz50Arx9RUszryR8KlgK6avuSXvviL6yWyViQABOg==", 213 | "requires": { 214 | "@types/node": "*" 215 | } 216 | }, 217 | "@types/express": { 218 | "version": "4.17.1", 219 | "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.1.tgz", 220 | "integrity": "sha512-VfH/XCP0QbQk5B5puLqTLEeFgR8lfCJHZJKkInZ9mkYd+u8byX0kztXEQxEk4wZXJs8HI+7km2ALXjn4YKcX9w==", 221 | "requires": { 222 | "@types/body-parser": "*", 223 | "@types/express-serve-static-core": "*", 224 | "@types/serve-static": "*" 225 | } 226 | }, 227 | "@types/express-serve-static-core": { 228 | "version": "4.16.9", 229 | "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.16.9.tgz", 230 | "integrity": "sha512-GqpaVWR0DM8FnRUJYKlWgyARoBUAVfRIeVDZQKOttLFp5SmhhF9YFIYeTPwMd/AXfxlP7xVO2dj1fGu0Q+krKQ==", 231 | "requires": { 232 | "@types/node": "*", 233 | "@types/range-parser": "*" 234 | } 235 | }, 236 | "@types/lodash": { 237 | "version": "4.14.137", 238 | "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.137.tgz", 239 | "integrity": "sha512-g4rNK5SRKloO+sUGbuO7aPtwbwzMgjK+bm9BBhLD7jGUiGR7zhwYEhSln/ihgYQBeIJ5j7xjyaYzrWTcu3UotQ==", 240 | "dev": true 241 | }, 242 | "@types/long": { 243 | "version": "4.0.0", 244 | "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.0.tgz", 245 | "integrity": "sha512-1w52Nyx4Gq47uuu0EVcsHBxZFJgurQ+rTKS3qMHxR1GY2T8c2AJYd6vZoZ9q1rupaDjU0yT+Jc2XTyXkjeMA+Q==", 246 | "optional": true 247 | }, 248 | "@types/mime": { 249 | "version": "2.0.1", 250 | "resolved": "https://registry.npmjs.org/@types/mime/-/mime-2.0.1.tgz", 251 | "integrity": "sha512-FwI9gX75FgVBJ7ywgnq/P7tw+/o1GUbtP0KzbtusLigAOgIgNISRK0ZPl4qertvXSIE8YbsVJueQ90cDt9YYyw==" 252 | }, 253 | "@types/node": { 254 | "version": "8.10.52", 255 | "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.52.tgz", 256 | "integrity": "sha512-2RbW7WXeLex6RI+kQSxq6Ym0GiVcODeQ4Km7MnnTX5BHdOGQnqVa+s6AUmAW+OFYAJ8wv9QxvNZXm7/kBdGTVw==" 257 | }, 258 | "@types/range-parser": { 259 | "version": "1.2.3", 260 | "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz", 261 | "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==" 262 | }, 263 | "@types/serve-static": { 264 | "version": "1.13.3", 265 | "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.3.tgz", 266 | "integrity": "sha512-oprSwp094zOglVrXdlo/4bAHtKTAxX6VT8FOZlBKrmyLbNvE1zxZyJ6yikMVtHIvwP45+ZQGJn+FdXGKTozq0g==", 267 | "requires": { 268 | "@types/express-serve-static-core": "*", 269 | "@types/mime": "*" 270 | } 271 | }, 272 | "abort-controller": { 273 | "version": "3.0.0", 274 | "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", 275 | "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", 276 | "optional": true, 277 | "requires": { 278 | "event-target-shim": "^5.0.0" 279 | } 280 | }, 281 | "accepts": { 282 | "version": "1.3.7", 283 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", 284 | "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", 285 | "requires": { 286 | "mime-types": "~2.1.24", 287 | "negotiator": "0.6.2" 288 | } 289 | }, 290 | "agent-base": { 291 | "version": "4.3.0", 292 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz", 293 | "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==", 294 | "optional": true, 295 | "requires": { 296 | "es6-promisify": "^5.0.0" 297 | } 298 | }, 299 | "agentkeepalive": { 300 | "version": "2.2.0", 301 | "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-2.2.0.tgz", 302 | "integrity": "sha1-xdG9SxKQCPEWPyNvhuX66iAm4u8=" 303 | }, 304 | "algoliasearch": { 305 | "version": "3.33.0", 306 | "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-3.33.0.tgz", 307 | "integrity": "sha512-9DaVmOd7cvcZeYyV0BWAeJHVWJmgOL2DNUEBY/DTR4MzD1wCWs4Djl7LAlfvkGwGBdRHZCG+l0HA1572w3T8zg==", 308 | "requires": { 309 | "agentkeepalive": "^2.2.0", 310 | "debug": "^2.6.9", 311 | "envify": "^4.0.0", 312 | "es6-promise": "^4.1.0", 313 | "events": "^1.1.0", 314 | "foreach": "^2.0.5", 315 | "global": "^4.3.2", 316 | "inherits": "^2.0.1", 317 | "isarray": "^2.0.1", 318 | "load-script": "^1.0.0", 319 | "object-keys": "^1.0.11", 320 | "querystring-es3": "^0.2.1", 321 | "reduce": "^1.0.1", 322 | "semver": "^5.1.0", 323 | "tunnel-agent": "^0.6.0" 324 | }, 325 | "dependencies": { 326 | "debug": { 327 | "version": "2.6.9", 328 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 329 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 330 | "requires": { 331 | "ms": "2.0.0" 332 | } 333 | }, 334 | "isarray": { 335 | "version": "2.0.5", 336 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", 337 | "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" 338 | }, 339 | "ms": { 340 | "version": "2.0.0", 341 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 342 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 343 | }, 344 | "semver": { 345 | "version": "5.7.1", 346 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 347 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" 348 | } 349 | } 350 | }, 351 | "array-flatten": { 352 | "version": "1.1.1", 353 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 354 | "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" 355 | }, 356 | "arrify": { 357 | "version": "2.0.1", 358 | "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", 359 | "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", 360 | "optional": true 361 | }, 362 | "base64-js": { 363 | "version": "1.3.1", 364 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz", 365 | "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==", 366 | "optional": true 367 | }, 368 | "bignumber.js": { 369 | "version": "7.2.1", 370 | "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-7.2.1.tgz", 371 | "integrity": "sha512-S4XzBk5sMB+Rcb/LNcpzXr57VRTxgAvaAEDAl1AwRx27j00hT84O6OkteE7u8UB3NuaaygCRrEpqox4uDOrbdQ==", 372 | "optional": true 373 | }, 374 | "body-parser": { 375 | "version": "1.19.0", 376 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", 377 | "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", 378 | "requires": { 379 | "bytes": "3.1.0", 380 | "content-type": "~1.0.4", 381 | "debug": "2.6.9", 382 | "depd": "~1.1.2", 383 | "http-errors": "1.7.2", 384 | "iconv-lite": "0.4.24", 385 | "on-finished": "~2.3.0", 386 | "qs": "6.7.0", 387 | "raw-body": "2.4.0", 388 | "type-is": "~1.6.17" 389 | }, 390 | "dependencies": { 391 | "debug": { 392 | "version": "2.6.9", 393 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 394 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 395 | "requires": { 396 | "ms": "2.0.0" 397 | } 398 | }, 399 | "ms": { 400 | "version": "2.0.0", 401 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 402 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 403 | } 404 | } 405 | }, 406 | "buffer-equal-constant-time": { 407 | "version": "1.0.1", 408 | "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", 409 | "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" 410 | }, 411 | "buffer-from": { 412 | "version": "1.1.1", 413 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", 414 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", 415 | "optional": true 416 | }, 417 | "bun": { 418 | "version": "0.0.12", 419 | "resolved": "https://registry.npmjs.org/bun/-/bun-0.0.12.tgz", 420 | "integrity": "sha512-Toms18J9DqnT+IfWkwxVTB2EaBprHvjlMWrTIsfX4xbu3ZBqVBwrERU0em1IgtRe04wT+wJxMlKHZok24hrcSQ==", 421 | "optional": true, 422 | "requires": { 423 | "readable-stream": "~1.0.32" 424 | } 425 | }, 426 | "bytes": { 427 | "version": "3.1.0", 428 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", 429 | "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" 430 | }, 431 | "compressible": { 432 | "version": "2.0.17", 433 | "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.17.tgz", 434 | "integrity": "sha512-BGHeLCK1GV7j1bSmQQAi26X+GgWcTjLr/0tzSvMCl3LH1w1IJ4PFSPoV5316b30cneTziC+B1a+3OjoSUcQYmw==", 435 | "optional": true, 436 | "requires": { 437 | "mime-db": ">= 1.40.0 < 2" 438 | } 439 | }, 440 | "concat-stream": { 441 | "version": "2.0.0", 442 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", 443 | "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", 444 | "optional": true, 445 | "requires": { 446 | "buffer-from": "^1.0.0", 447 | "inherits": "^2.0.3", 448 | "readable-stream": "^3.0.2", 449 | "typedarray": "^0.0.6" 450 | }, 451 | "dependencies": { 452 | "readable-stream": { 453 | "version": "3.4.0", 454 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz", 455 | "integrity": "sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==", 456 | "optional": true, 457 | "requires": { 458 | "inherits": "^2.0.3", 459 | "string_decoder": "^1.1.1", 460 | "util-deprecate": "^1.0.1" 461 | } 462 | }, 463 | "string_decoder": { 464 | "version": "1.3.0", 465 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 466 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 467 | "optional": true, 468 | "requires": { 469 | "safe-buffer": "~5.2.0" 470 | } 471 | } 472 | } 473 | }, 474 | "configstore": { 475 | "version": "5.0.0", 476 | "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.0.tgz", 477 | "integrity": "sha512-eE/hvMs7qw7DlcB5JPRnthmrITuHMmACUJAp89v6PT6iOqzoLS7HRWhBtuHMlhNHo2AhUSA/3Dh1bKNJHcublQ==", 478 | "optional": true, 479 | "requires": { 480 | "dot-prop": "^5.1.0", 481 | "graceful-fs": "^4.1.2", 482 | "make-dir": "^3.0.0", 483 | "unique-string": "^2.0.0", 484 | "write-file-atomic": "^3.0.0", 485 | "xdg-basedir": "^4.0.0" 486 | } 487 | }, 488 | "content-disposition": { 489 | "version": "0.5.3", 490 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", 491 | "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", 492 | "requires": { 493 | "safe-buffer": "5.1.2" 494 | }, 495 | "dependencies": { 496 | "safe-buffer": { 497 | "version": "5.1.2", 498 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 499 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 500 | } 501 | } 502 | }, 503 | "content-type": { 504 | "version": "1.0.4", 505 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", 506 | "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" 507 | }, 508 | "cookie": { 509 | "version": "0.4.0", 510 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", 511 | "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" 512 | }, 513 | "cookie-signature": { 514 | "version": "1.0.6", 515 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 516 | "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" 517 | }, 518 | "core-util-is": { 519 | "version": "1.0.2", 520 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 521 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", 522 | "optional": true 523 | }, 524 | "cors": { 525 | "version": "2.8.5", 526 | "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", 527 | "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", 528 | "requires": { 529 | "object-assign": "^4", 530 | "vary": "^1" 531 | } 532 | }, 533 | "crypto-random-string": { 534 | "version": "2.0.0", 535 | "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", 536 | "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", 537 | "optional": true 538 | }, 539 | "date-and-time": { 540 | "version": "0.9.0", 541 | "resolved": "https://registry.npmjs.org/date-and-time/-/date-and-time-0.9.0.tgz", 542 | "integrity": "sha512-4JybB6PbR+EebpFx/KyR5Ybl+TcdXMLIJkyYsCx3P4M4CWGMuDyFF19yh6TyasMAIF5lrsgIxiSHBXh2FFc7Fg==", 543 | "optional": true 544 | }, 545 | "debug": { 546 | "version": "3.2.6", 547 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", 548 | "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", 549 | "optional": true, 550 | "requires": { 551 | "ms": "^2.1.1" 552 | } 553 | }, 554 | "deep-equal": { 555 | "version": "1.0.1", 556 | "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", 557 | "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=", 558 | "optional": true 559 | }, 560 | "depd": { 561 | "version": "1.1.2", 562 | "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", 563 | "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" 564 | }, 565 | "destroy": { 566 | "version": "1.0.4", 567 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", 568 | "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" 569 | }, 570 | "dicer": { 571 | "version": "0.3.0", 572 | "resolved": "https://registry.npmjs.org/dicer/-/dicer-0.3.0.tgz", 573 | "integrity": "sha512-MdceRRWqltEG2dZqO769g27N/3PXfcKl04VhYnBlo2YhH7zPi88VebsjTKclaOyiuMaGU72hTfw3VkUitGcVCA==", 574 | "requires": { 575 | "streamsearch": "0.1.2" 576 | } 577 | }, 578 | "dom-walk": { 579 | "version": "0.1.1", 580 | "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz", 581 | "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=" 582 | }, 583 | "dot-prop": { 584 | "version": "5.1.0", 585 | "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.1.0.tgz", 586 | "integrity": "sha512-n1oC6NBF+KM9oVXtjmen4Yo7HyAVWV2UUl50dCYJdw2924K6dX9bf9TTTWaKtYlRn0FEtxG27KS80ayVLixxJA==", 587 | "optional": true, 588 | "requires": { 589 | "is-obj": "^2.0.0" 590 | } 591 | }, 592 | "duplexify": { 593 | "version": "3.7.1", 594 | "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", 595 | "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", 596 | "optional": true, 597 | "requires": { 598 | "end-of-stream": "^1.0.0", 599 | "inherits": "^2.0.1", 600 | "readable-stream": "^2.0.0", 601 | "stream-shift": "^1.0.0" 602 | }, 603 | "dependencies": { 604 | "isarray": { 605 | "version": "1.0.0", 606 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 607 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", 608 | "optional": true 609 | }, 610 | "readable-stream": { 611 | "version": "2.3.6", 612 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", 613 | "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", 614 | "optional": true, 615 | "requires": { 616 | "core-util-is": "~1.0.0", 617 | "inherits": "~2.0.3", 618 | "isarray": "~1.0.0", 619 | "process-nextick-args": "~2.0.0", 620 | "safe-buffer": "~5.1.1", 621 | "string_decoder": "~1.1.1", 622 | "util-deprecate": "~1.0.1" 623 | } 624 | }, 625 | "safe-buffer": { 626 | "version": "5.1.2", 627 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 628 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 629 | "optional": true 630 | }, 631 | "string_decoder": { 632 | "version": "1.1.1", 633 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 634 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 635 | "optional": true, 636 | "requires": { 637 | "safe-buffer": "~5.1.0" 638 | } 639 | } 640 | } 641 | }, 642 | "ecdsa-sig-formatter": { 643 | "version": "1.0.11", 644 | "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", 645 | "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", 646 | "requires": { 647 | "safe-buffer": "^5.0.1" 648 | } 649 | }, 650 | "ee-first": { 651 | "version": "1.1.1", 652 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 653 | "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" 654 | }, 655 | "encodeurl": { 656 | "version": "1.0.2", 657 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 658 | "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" 659 | }, 660 | "end-of-stream": { 661 | "version": "1.4.1", 662 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", 663 | "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", 664 | "optional": true, 665 | "requires": { 666 | "once": "^1.4.0" 667 | } 668 | }, 669 | "ent": { 670 | "version": "2.2.0", 671 | "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", 672 | "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=", 673 | "optional": true 674 | }, 675 | "envify": { 676 | "version": "4.1.0", 677 | "resolved": "https://registry.npmjs.org/envify/-/envify-4.1.0.tgz", 678 | "integrity": "sha512-IKRVVoAYr4pIx4yIWNsz9mOsboxlNXiu7TNBnem/K/uTHdkyzXWDzHCK7UTolqBbgaBz0tQHsD3YNls0uIIjiw==", 679 | "requires": { 680 | "esprima": "^4.0.0", 681 | "through": "~2.3.4" 682 | } 683 | }, 684 | "es6-promise": { 685 | "version": "4.2.8", 686 | "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", 687 | "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" 688 | }, 689 | "es6-promisify": { 690 | "version": "5.0.0", 691 | "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", 692 | "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=", 693 | "optional": true, 694 | "requires": { 695 | "es6-promise": "^4.0.3" 696 | } 697 | }, 698 | "escape-html": { 699 | "version": "1.0.3", 700 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 701 | "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" 702 | }, 703 | "esprima": { 704 | "version": "4.0.1", 705 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 706 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" 707 | }, 708 | "etag": { 709 | "version": "1.8.1", 710 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 711 | "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" 712 | }, 713 | "event-target-shim": { 714 | "version": "5.0.1", 715 | "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", 716 | "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", 717 | "optional": true 718 | }, 719 | "events": { 720 | "version": "1.1.1", 721 | "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", 722 | "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=" 723 | }, 724 | "express": { 725 | "version": "4.17.1", 726 | "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", 727 | "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", 728 | "requires": { 729 | "accepts": "~1.3.7", 730 | "array-flatten": "1.1.1", 731 | "body-parser": "1.19.0", 732 | "content-disposition": "0.5.3", 733 | "content-type": "~1.0.4", 734 | "cookie": "0.4.0", 735 | "cookie-signature": "1.0.6", 736 | "debug": "2.6.9", 737 | "depd": "~1.1.2", 738 | "encodeurl": "~1.0.2", 739 | "escape-html": "~1.0.3", 740 | "etag": "~1.8.1", 741 | "finalhandler": "~1.1.2", 742 | "fresh": "0.5.2", 743 | "merge-descriptors": "1.0.1", 744 | "methods": "~1.1.2", 745 | "on-finished": "~2.3.0", 746 | "parseurl": "~1.3.3", 747 | "path-to-regexp": "0.1.7", 748 | "proxy-addr": "~2.0.5", 749 | "qs": "6.7.0", 750 | "range-parser": "~1.2.1", 751 | "safe-buffer": "5.1.2", 752 | "send": "0.17.1", 753 | "serve-static": "1.14.1", 754 | "setprototypeof": "1.1.1", 755 | "statuses": "~1.5.0", 756 | "type-is": "~1.6.18", 757 | "utils-merge": "1.0.1", 758 | "vary": "~1.1.2" 759 | }, 760 | "dependencies": { 761 | "debug": { 762 | "version": "2.6.9", 763 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 764 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 765 | "requires": { 766 | "ms": "2.0.0" 767 | } 768 | }, 769 | "ms": { 770 | "version": "2.0.0", 771 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 772 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 773 | }, 774 | "safe-buffer": { 775 | "version": "5.1.2", 776 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 777 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 778 | } 779 | } 780 | }, 781 | "extend": { 782 | "version": "3.0.2", 783 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", 784 | "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", 785 | "optional": true 786 | }, 787 | "faker": { 788 | "version": "4.1.0", 789 | "resolved": "https://registry.npmjs.org/faker/-/faker-4.1.0.tgz", 790 | "integrity": "sha1-HkW7vsxndLPBlfrSg1EJxtdIzD8=", 791 | "dev": true 792 | }, 793 | "fast-text-encoding": { 794 | "version": "1.0.0", 795 | "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.0.tgz", 796 | "integrity": "sha512-R9bHCvweUxxwkDwhjav5vxpFvdPGlVngtqmx4pIZfSUhM/Q4NiIUHB456BAf+Q1Nwu3HEZYONtu+Rya+af4jiQ==", 797 | "optional": true 798 | }, 799 | "faye-websocket": { 800 | "version": "0.11.3", 801 | "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.3.tgz", 802 | "integrity": "sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA==", 803 | "requires": { 804 | "websocket-driver": ">=0.5.1" 805 | } 806 | }, 807 | "finalhandler": { 808 | "version": "1.1.2", 809 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", 810 | "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", 811 | "requires": { 812 | "debug": "2.6.9", 813 | "encodeurl": "~1.0.2", 814 | "escape-html": "~1.0.3", 815 | "on-finished": "~2.3.0", 816 | "parseurl": "~1.3.3", 817 | "statuses": "~1.5.0", 818 | "unpipe": "~1.0.0" 819 | }, 820 | "dependencies": { 821 | "debug": { 822 | "version": "2.6.9", 823 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 824 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 825 | "requires": { 826 | "ms": "2.0.0" 827 | } 828 | }, 829 | "ms": { 830 | "version": "2.0.0", 831 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 832 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 833 | } 834 | } 835 | }, 836 | "firebase-admin": { 837 | "version": "8.4.0", 838 | "resolved": "https://registry.npmjs.org/firebase-admin/-/firebase-admin-8.4.0.tgz", 839 | "integrity": "sha512-DRAAPRFYhdpwNu8KDceuem7Y1yvFZRqAf6iO5/5IwiHTp9ojRin/V8eV2eNjY3C4tZCKkJDpXvCBtwbvBejFDA==", 840 | "requires": { 841 | "@firebase/database": "^0.4.7", 842 | "@google-cloud/firestore": "^2.0.0", 843 | "@google-cloud/storage": "^3.0.2", 844 | "@types/node": "^8.0.53", 845 | "dicer": "^0.3.0", 846 | "jsonwebtoken": "8.1.0", 847 | "node-forge": "0.7.4" 848 | } 849 | }, 850 | "firebase-functions": { 851 | "version": "3.2.0", 852 | "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-3.2.0.tgz", 853 | "integrity": "sha512-v61CXYFSb53SdSSqwc/QhdBrR+H0bhwxSOIhKIYFFa2m5APUsuj8SrkAOBL2CfOJo3yk7+nuuWOtz16JFaXLxg==", 854 | "requires": { 855 | "@types/express": "^4.17.0", 856 | "cors": "^2.8.5", 857 | "express": "^4.17.1", 858 | "jsonwebtoken": "^8.5.1", 859 | "lodash": "^4.17.14" 860 | }, 861 | "dependencies": { 862 | "jsonwebtoken": { 863 | "version": "8.5.1", 864 | "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", 865 | "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", 866 | "requires": { 867 | "jws": "^3.2.2", 868 | "lodash.includes": "^4.3.0", 869 | "lodash.isboolean": "^3.0.3", 870 | "lodash.isinteger": "^4.0.4", 871 | "lodash.isnumber": "^3.0.3", 872 | "lodash.isplainobject": "^4.0.6", 873 | "lodash.isstring": "^4.0.1", 874 | "lodash.once": "^4.0.0", 875 | "ms": "^2.1.1", 876 | "semver": "^5.6.0" 877 | } 878 | }, 879 | "semver": { 880 | "version": "5.7.1", 881 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 882 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" 883 | } 884 | } 885 | }, 886 | "firebase-functions-test": { 887 | "version": "0.1.6", 888 | "resolved": "https://registry.npmjs.org/firebase-functions-test/-/firebase-functions-test-0.1.6.tgz", 889 | "integrity": "sha512-sITLbQunI75gL690qFOq4mqxUEcdETEbY4HcLFawWVJC3PmlSFt81mhfZjJe45GJTt1+7xeowaHQx3jpnoPNpA==", 890 | "dev": true, 891 | "requires": { 892 | "@types/lodash": "^4.14.104", 893 | "lodash": "^4.17.5" 894 | } 895 | }, 896 | "foreach": { 897 | "version": "2.0.5", 898 | "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", 899 | "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" 900 | }, 901 | "forwarded": { 902 | "version": "0.1.2", 903 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", 904 | "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" 905 | }, 906 | "fresh": { 907 | "version": "0.5.2", 908 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 909 | "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" 910 | }, 911 | "functional-red-black-tree": { 912 | "version": "1.0.1", 913 | "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", 914 | "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", 915 | "optional": true 916 | }, 917 | "gaxios": { 918 | "version": "2.0.1", 919 | "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-2.0.1.tgz", 920 | "integrity": "sha512-c1NXovTxkgRJTIgB2FrFmOFg4YIV6N/bAa4f/FZ4jIw13Ql9ya/82x69CswvotJhbV3DiGnlTZwoq2NVXk2Irg==", 921 | "optional": true, 922 | "requires": { 923 | "abort-controller": "^3.0.0", 924 | "extend": "^3.0.2", 925 | "https-proxy-agent": "^2.2.1", 926 | "node-fetch": "^2.3.0" 927 | } 928 | }, 929 | "gcp-metadata": { 930 | "version": "2.0.1", 931 | "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-2.0.1.tgz", 932 | "integrity": "sha512-nrbLj5O1MurvpLC/doFwzdTfKnmYGDYXlY/v7eQ4tJNVIvQXbOK672J9UFbradbtmuTkyHzjpzD8HD0Djz0LWw==", 933 | "optional": true, 934 | "requires": { 935 | "gaxios": "^2.0.0", 936 | "json-bigint": "^0.3.0" 937 | } 938 | }, 939 | "gcs-resumable-upload": { 940 | "version": "2.2.4", 941 | "resolved": "https://registry.npmjs.org/gcs-resumable-upload/-/gcs-resumable-upload-2.2.4.tgz", 942 | "integrity": "sha512-UqoGRLImof+6DRv/7QnMGP3ot+RKhsIS2dVziGFe+ajFDW0cnit7xYyViFA99utDQB0RD+fSqKBkYwNXX3Y42w==", 943 | "optional": true, 944 | "requires": { 945 | "abort-controller": "^3.0.0", 946 | "configstore": "^5.0.0", 947 | "gaxios": "^2.0.0", 948 | "google-auth-library": "^5.0.0", 949 | "pumpify": "^2.0.0", 950 | "stream-events": "^1.0.4" 951 | } 952 | }, 953 | "global": { 954 | "version": "4.4.0", 955 | "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz", 956 | "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==", 957 | "requires": { 958 | "min-document": "^2.19.0", 959 | "process": "^0.11.10" 960 | } 961 | }, 962 | "google-auth-library": { 963 | "version": "5.2.0", 964 | "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-5.2.0.tgz", 965 | "integrity": "sha512-I2726rgOedQ06HgTvoNvBeRCzy5iFe6z3khwj6ugfRd1b0VHwnTYKl/3t2ytOTo7kKc6KivYIBsCIdZf2ep67g==", 966 | "optional": true, 967 | "requires": { 968 | "arrify": "^2.0.0", 969 | "base64-js": "^1.3.0", 970 | "fast-text-encoding": "^1.0.0", 971 | "gaxios": "^2.0.0", 972 | "gcp-metadata": "^2.0.0", 973 | "gtoken": "^4.0.0", 974 | "jws": "^3.1.5", 975 | "lru-cache": "^5.0.0" 976 | } 977 | }, 978 | "google-gax": { 979 | "version": "1.3.0", 980 | "resolved": "https://registry.npmjs.org/google-gax/-/google-gax-1.3.0.tgz", 981 | "integrity": "sha512-35MlgFOxtjEzb730V/Ku1ToOCt795bxXYuQHEZ9kFUnvWKKe98Njf6XtHW41Zr4Vm2e87Rt0MrU9H0iwgM0BZQ==", 982 | "optional": true, 983 | "requires": { 984 | "@grpc/grpc-js": "^0.5.2", 985 | "@grpc/proto-loader": "^0.5.1", 986 | "duplexify": "^3.6.0", 987 | "google-auth-library": "^5.0.0", 988 | "is-stream-ended": "^0.1.4", 989 | "lodash.at": "^4.6.0", 990 | "lodash.has": "^4.5.2", 991 | "protobufjs": "^6.8.8", 992 | "retry-request": "^4.0.0", 993 | "semver": "^6.0.0", 994 | "walkdir": "^0.4.0" 995 | } 996 | }, 997 | "google-p12-pem": { 998 | "version": "2.0.1", 999 | "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-2.0.1.tgz", 1000 | "integrity": "sha512-6h6x+eBX3k+IDSe/c8dVYmn8Mzr1mUcmKC9MdUSwaBkFAXlqBEnwFWmSFgGC+tcqtsLn73BDP/vUNWEehf1Rww==", 1001 | "optional": true, 1002 | "requires": { 1003 | "node-forge": "^0.8.0" 1004 | }, 1005 | "dependencies": { 1006 | "node-forge": { 1007 | "version": "0.8.5", 1008 | "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.8.5.tgz", 1009 | "integrity": "sha512-vFMQIWt+J/7FLNyKouZ9TazT74PRV3wgv9UT4cRjC8BffxFbKXkgIWR42URCPSnHm/QDz6BOlb2Q0U4+VQT67Q==", 1010 | "optional": true 1011 | } 1012 | } 1013 | }, 1014 | "graceful-fs": { 1015 | "version": "4.2.2", 1016 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.2.tgz", 1017 | "integrity": "sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q==", 1018 | "optional": true 1019 | }, 1020 | "gtoken": { 1021 | "version": "4.0.0", 1022 | "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-4.0.0.tgz", 1023 | "integrity": "sha512-XaRCfHJxhj06LmnWNBzVTAr85NfAErq0W1oabkdqwbq3uL/QTB1kyvGog361Uu2FMG/8e3115sIy/97Rnd4GjQ==", 1024 | "optional": true, 1025 | "requires": { 1026 | "gaxios": "^2.0.0", 1027 | "google-p12-pem": "^2.0.0", 1028 | "jws": "^3.1.5", 1029 | "mime": "^2.2.0" 1030 | } 1031 | }, 1032 | "hash-stream-validation": { 1033 | "version": "0.2.1", 1034 | "resolved": "https://registry.npmjs.org/hash-stream-validation/-/hash-stream-validation-0.2.1.tgz", 1035 | "integrity": "sha1-7Mm5l7IYvluzEphii7gHhptz3NE=", 1036 | "optional": true, 1037 | "requires": { 1038 | "through2": "^2.0.0" 1039 | }, 1040 | "dependencies": { 1041 | "isarray": { 1042 | "version": "1.0.0", 1043 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 1044 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", 1045 | "optional": true 1046 | }, 1047 | "readable-stream": { 1048 | "version": "2.3.6", 1049 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", 1050 | "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", 1051 | "optional": true, 1052 | "requires": { 1053 | "core-util-is": "~1.0.0", 1054 | "inherits": "~2.0.3", 1055 | "isarray": "~1.0.0", 1056 | "process-nextick-args": "~2.0.0", 1057 | "safe-buffer": "~5.1.1", 1058 | "string_decoder": "~1.1.1", 1059 | "util-deprecate": "~1.0.1" 1060 | } 1061 | }, 1062 | "safe-buffer": { 1063 | "version": "5.1.2", 1064 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1065 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 1066 | "optional": true 1067 | }, 1068 | "string_decoder": { 1069 | "version": "1.1.1", 1070 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 1071 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 1072 | "optional": true, 1073 | "requires": { 1074 | "safe-buffer": "~5.1.0" 1075 | } 1076 | }, 1077 | "through2": { 1078 | "version": "2.0.5", 1079 | "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", 1080 | "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", 1081 | "optional": true, 1082 | "requires": { 1083 | "readable-stream": "~2.3.6", 1084 | "xtend": "~4.0.1" 1085 | } 1086 | } 1087 | } 1088 | }, 1089 | "http-errors": { 1090 | "version": "1.7.2", 1091 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", 1092 | "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", 1093 | "requires": { 1094 | "depd": "~1.1.2", 1095 | "inherits": "2.0.3", 1096 | "setprototypeof": "1.1.1", 1097 | "statuses": ">= 1.5.0 < 2", 1098 | "toidentifier": "1.0.0" 1099 | }, 1100 | "dependencies": { 1101 | "inherits": { 1102 | "version": "2.0.3", 1103 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", 1104 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" 1105 | } 1106 | } 1107 | }, 1108 | "http-parser-js": { 1109 | "version": "0.4.10", 1110 | "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.10.tgz", 1111 | "integrity": "sha1-ksnBN0w1CF912zWexWzCV8u5P6Q=" 1112 | }, 1113 | "http-proxy-agent": { 1114 | "version": "2.1.0", 1115 | "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz", 1116 | "integrity": "sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==", 1117 | "optional": true, 1118 | "requires": { 1119 | "agent-base": "4", 1120 | "debug": "3.1.0" 1121 | }, 1122 | "dependencies": { 1123 | "debug": { 1124 | "version": "3.1.0", 1125 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", 1126 | "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", 1127 | "optional": true, 1128 | "requires": { 1129 | "ms": "2.0.0" 1130 | } 1131 | }, 1132 | "ms": { 1133 | "version": "2.0.0", 1134 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1135 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", 1136 | "optional": true 1137 | } 1138 | } 1139 | }, 1140 | "https-proxy-agent": { 1141 | "version": "2.2.2", 1142 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.2.tgz", 1143 | "integrity": "sha512-c8Ndjc9Bkpfx/vCJueCPy0jlP4ccCCSNDp8xwCZzPjKJUm+B+u9WX2x98Qx4n1PiMNTWo3D7KK5ifNV/yJyRzg==", 1144 | "optional": true, 1145 | "requires": { 1146 | "agent-base": "^4.3.0", 1147 | "debug": "^3.1.0" 1148 | } 1149 | }, 1150 | "iconv-lite": { 1151 | "version": "0.4.24", 1152 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 1153 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 1154 | "requires": { 1155 | "safer-buffer": ">= 2.1.2 < 3" 1156 | } 1157 | }, 1158 | "imurmurhash": { 1159 | "version": "0.1.4", 1160 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1161 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", 1162 | "optional": true 1163 | }, 1164 | "inherits": { 1165 | "version": "2.0.4", 1166 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1167 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 1168 | }, 1169 | "ipaddr.js": { 1170 | "version": "1.9.0", 1171 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.0.tgz", 1172 | "integrity": "sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==" 1173 | }, 1174 | "is-obj": { 1175 | "version": "2.0.0", 1176 | "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", 1177 | "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", 1178 | "optional": true 1179 | }, 1180 | "is-stream-ended": { 1181 | "version": "0.1.4", 1182 | "resolved": "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz", 1183 | "integrity": "sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==", 1184 | "optional": true 1185 | }, 1186 | "is-typedarray": { 1187 | "version": "1.0.0", 1188 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", 1189 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", 1190 | "optional": true 1191 | }, 1192 | "isarray": { 1193 | "version": "0.0.1", 1194 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", 1195 | "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", 1196 | "optional": true 1197 | }, 1198 | "json-bigint": { 1199 | "version": "0.3.0", 1200 | "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-0.3.0.tgz", 1201 | "integrity": "sha1-DM2RLEuCcNBfBW+9E4FLU9OCWx4=", 1202 | "optional": true, 1203 | "requires": { 1204 | "bignumber.js": "^7.0.0" 1205 | } 1206 | }, 1207 | "jsonwebtoken": { 1208 | "version": "8.1.0", 1209 | "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.1.0.tgz", 1210 | "integrity": "sha1-xjl80uX9WD1lwAeoPce7eOaYK4M=", 1211 | "requires": { 1212 | "jws": "^3.1.4", 1213 | "lodash.includes": "^4.3.0", 1214 | "lodash.isboolean": "^3.0.3", 1215 | "lodash.isinteger": "^4.0.4", 1216 | "lodash.isnumber": "^3.0.3", 1217 | "lodash.isplainobject": "^4.0.6", 1218 | "lodash.isstring": "^4.0.1", 1219 | "lodash.once": "^4.0.0", 1220 | "ms": "^2.0.0", 1221 | "xtend": "^4.0.1" 1222 | } 1223 | }, 1224 | "jwa": { 1225 | "version": "1.4.1", 1226 | "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", 1227 | "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", 1228 | "requires": { 1229 | "buffer-equal-constant-time": "1.0.1", 1230 | "ecdsa-sig-formatter": "1.0.11", 1231 | "safe-buffer": "^5.0.1" 1232 | } 1233 | }, 1234 | "jws": { 1235 | "version": "3.2.2", 1236 | "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", 1237 | "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", 1238 | "requires": { 1239 | "jwa": "^1.4.1", 1240 | "safe-buffer": "^5.0.1" 1241 | } 1242 | }, 1243 | "load-script": { 1244 | "version": "1.0.0", 1245 | "resolved": "https://registry.npmjs.org/load-script/-/load-script-1.0.0.tgz", 1246 | "integrity": "sha1-BJGTngvuVkPuSUp+PaPSuscMbKQ=" 1247 | }, 1248 | "lodash": { 1249 | "version": "4.17.15", 1250 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", 1251 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" 1252 | }, 1253 | "lodash.at": { 1254 | "version": "4.6.0", 1255 | "resolved": "https://registry.npmjs.org/lodash.at/-/lodash.at-4.6.0.tgz", 1256 | "integrity": "sha1-k83OZk8KGZTqM9181A4jr9EbD/g=", 1257 | "optional": true 1258 | }, 1259 | "lodash.camelcase": { 1260 | "version": "4.3.0", 1261 | "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", 1262 | "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", 1263 | "optional": true 1264 | }, 1265 | "lodash.has": { 1266 | "version": "4.5.2", 1267 | "resolved": "https://registry.npmjs.org/lodash.has/-/lodash.has-4.5.2.tgz", 1268 | "integrity": "sha1-0Z9NwQlQWMzL4rDN9O4P5Ko3yGI=", 1269 | "optional": true 1270 | }, 1271 | "lodash.includes": { 1272 | "version": "4.3.0", 1273 | "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", 1274 | "integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=" 1275 | }, 1276 | "lodash.isboolean": { 1277 | "version": "3.0.3", 1278 | "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", 1279 | "integrity": "sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY=" 1280 | }, 1281 | "lodash.isinteger": { 1282 | "version": "4.0.4", 1283 | "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", 1284 | "integrity": "sha1-YZwK89A/iwTDH1iChAt3sRzWg0M=" 1285 | }, 1286 | "lodash.isnumber": { 1287 | "version": "3.0.3", 1288 | "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", 1289 | "integrity": "sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w=" 1290 | }, 1291 | "lodash.isplainobject": { 1292 | "version": "4.0.6", 1293 | "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", 1294 | "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs=" 1295 | }, 1296 | "lodash.isstring": { 1297 | "version": "4.0.1", 1298 | "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", 1299 | "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=" 1300 | }, 1301 | "lodash.once": { 1302 | "version": "4.1.1", 1303 | "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", 1304 | "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" 1305 | }, 1306 | "long": { 1307 | "version": "4.0.0", 1308 | "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", 1309 | "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==", 1310 | "optional": true 1311 | }, 1312 | "lru-cache": { 1313 | "version": "5.1.1", 1314 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", 1315 | "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", 1316 | "optional": true, 1317 | "requires": { 1318 | "yallist": "^3.0.2" 1319 | } 1320 | }, 1321 | "make-dir": { 1322 | "version": "3.0.0", 1323 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.0.tgz", 1324 | "integrity": "sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==", 1325 | "optional": true, 1326 | "requires": { 1327 | "semver": "^6.0.0" 1328 | } 1329 | }, 1330 | "media-typer": { 1331 | "version": "0.3.0", 1332 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 1333 | "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" 1334 | }, 1335 | "merge-descriptors": { 1336 | "version": "1.0.1", 1337 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 1338 | "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" 1339 | }, 1340 | "methods": { 1341 | "version": "1.1.2", 1342 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 1343 | "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" 1344 | }, 1345 | "mime": { 1346 | "version": "2.4.4", 1347 | "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.4.tgz", 1348 | "integrity": "sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA==", 1349 | "optional": true 1350 | }, 1351 | "mime-db": { 1352 | "version": "1.40.0", 1353 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz", 1354 | "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==" 1355 | }, 1356 | "mime-types": { 1357 | "version": "2.1.24", 1358 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz", 1359 | "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==", 1360 | "requires": { 1361 | "mime-db": "1.40.0" 1362 | } 1363 | }, 1364 | "mimic-fn": { 1365 | "version": "2.1.0", 1366 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", 1367 | "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", 1368 | "optional": true 1369 | }, 1370 | "min-document": { 1371 | "version": "2.19.0", 1372 | "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", 1373 | "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", 1374 | "requires": { 1375 | "dom-walk": "^0.1.0" 1376 | } 1377 | }, 1378 | "ms": { 1379 | "version": "2.1.2", 1380 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1381 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 1382 | }, 1383 | "negotiator": { 1384 | "version": "0.6.2", 1385 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", 1386 | "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" 1387 | }, 1388 | "node-fetch": { 1389 | "version": "2.6.0", 1390 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", 1391 | "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==", 1392 | "optional": true 1393 | }, 1394 | "node-forge": { 1395 | "version": "0.7.4", 1396 | "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.4.tgz", 1397 | "integrity": "sha512-8Df0906+tq/omxuCZD6PqhPaQDYuyJ1d+VITgxoIA8zvQd1ru+nMJcDChHH324MWitIgbVkAkQoGEEVJNpn/PA==" 1398 | }, 1399 | "object-assign": { 1400 | "version": "4.1.1", 1401 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 1402 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" 1403 | }, 1404 | "object-keys": { 1405 | "version": "1.1.1", 1406 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", 1407 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" 1408 | }, 1409 | "on-finished": { 1410 | "version": "2.3.0", 1411 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", 1412 | "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", 1413 | "requires": { 1414 | "ee-first": "1.1.1" 1415 | } 1416 | }, 1417 | "once": { 1418 | "version": "1.4.0", 1419 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1420 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1421 | "optional": true, 1422 | "requires": { 1423 | "wrappy": "1" 1424 | } 1425 | }, 1426 | "onetime": { 1427 | "version": "5.1.0", 1428 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz", 1429 | "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==", 1430 | "optional": true, 1431 | "requires": { 1432 | "mimic-fn": "^2.1.0" 1433 | } 1434 | }, 1435 | "p-limit": { 1436 | "version": "2.2.1", 1437 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.1.tgz", 1438 | "integrity": "sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==", 1439 | "optional": true, 1440 | "requires": { 1441 | "p-try": "^2.0.0" 1442 | } 1443 | }, 1444 | "p-try": { 1445 | "version": "2.2.0", 1446 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", 1447 | "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", 1448 | "optional": true 1449 | }, 1450 | "parseurl": { 1451 | "version": "1.3.3", 1452 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 1453 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" 1454 | }, 1455 | "path-to-regexp": { 1456 | "version": "0.1.7", 1457 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 1458 | "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" 1459 | }, 1460 | "process": { 1461 | "version": "0.11.10", 1462 | "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", 1463 | "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" 1464 | }, 1465 | "process-nextick-args": { 1466 | "version": "2.0.1", 1467 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 1468 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", 1469 | "optional": true 1470 | }, 1471 | "protobufjs": { 1472 | "version": "6.8.8", 1473 | "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.8.tgz", 1474 | "integrity": "sha512-AAmHtD5pXgZfi7GMpllpO3q1Xw1OYldr+dMUlAnffGTAhqkg72WdmSY71uKBF/JuyiKs8psYbtKrhi0ASCD8qw==", 1475 | "optional": true, 1476 | "requires": { 1477 | "@protobufjs/aspromise": "^1.1.2", 1478 | "@protobufjs/base64": "^1.1.2", 1479 | "@protobufjs/codegen": "^2.0.4", 1480 | "@protobufjs/eventemitter": "^1.1.0", 1481 | "@protobufjs/fetch": "^1.1.0", 1482 | "@protobufjs/float": "^1.0.2", 1483 | "@protobufjs/inquire": "^1.1.0", 1484 | "@protobufjs/path": "^1.1.2", 1485 | "@protobufjs/pool": "^1.1.0", 1486 | "@protobufjs/utf8": "^1.1.0", 1487 | "@types/long": "^4.0.0", 1488 | "@types/node": "^10.1.0", 1489 | "long": "^4.0.0" 1490 | }, 1491 | "dependencies": { 1492 | "@types/node": { 1493 | "version": "10.14.16", 1494 | "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.16.tgz", 1495 | "integrity": "sha512-/opXIbfn0P+VLt+N8DE4l8Mn8rbhiJgabU96ZJ0p9mxOkIks5gh6RUnpHak7Yh0SFkyjO/ODbxsQQPV2bpMmyA==", 1496 | "optional": true 1497 | } 1498 | } 1499 | }, 1500 | "proxy-addr": { 1501 | "version": "2.0.5", 1502 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.5.tgz", 1503 | "integrity": "sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ==", 1504 | "requires": { 1505 | "forwarded": "~0.1.2", 1506 | "ipaddr.js": "1.9.0" 1507 | } 1508 | }, 1509 | "pump": { 1510 | "version": "3.0.0", 1511 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", 1512 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", 1513 | "optional": true, 1514 | "requires": { 1515 | "end-of-stream": "^1.1.0", 1516 | "once": "^1.3.1" 1517 | } 1518 | }, 1519 | "pumpify": { 1520 | "version": "2.0.0", 1521 | "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-2.0.0.tgz", 1522 | "integrity": "sha512-ieN9HmpFPt4J4U4qnjN4BxrnqpPPXJyp3qFErxfwBtFOec6ewpIHdS2eu3TkmGW6S+RzFGEOGpm5ih/X/onRPQ==", 1523 | "optional": true, 1524 | "requires": { 1525 | "duplexify": "^4.1.1", 1526 | "inherits": "^2.0.3", 1527 | "pump": "^3.0.0" 1528 | }, 1529 | "dependencies": { 1530 | "duplexify": { 1531 | "version": "4.1.1", 1532 | "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.1.tgz", 1533 | "integrity": "sha512-DY3xVEmVHTv1wSzKNbwoU6nVjzI369Y6sPoqfYr0/xlx3IdX2n94xIszTcjPO8W8ZIv0Wb0PXNcjuZyT4wiICA==", 1534 | "optional": true, 1535 | "requires": { 1536 | "end-of-stream": "^1.4.1", 1537 | "inherits": "^2.0.3", 1538 | "readable-stream": "^3.1.1", 1539 | "stream-shift": "^1.0.0" 1540 | } 1541 | }, 1542 | "readable-stream": { 1543 | "version": "3.4.0", 1544 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz", 1545 | "integrity": "sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==", 1546 | "optional": true, 1547 | "requires": { 1548 | "inherits": "^2.0.3", 1549 | "string_decoder": "^1.1.1", 1550 | "util-deprecate": "^1.0.1" 1551 | } 1552 | }, 1553 | "string_decoder": { 1554 | "version": "1.3.0", 1555 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 1556 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 1557 | "optional": true, 1558 | "requires": { 1559 | "safe-buffer": "~5.2.0" 1560 | } 1561 | } 1562 | } 1563 | }, 1564 | "qs": { 1565 | "version": "6.7.0", 1566 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", 1567 | "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" 1568 | }, 1569 | "querystring-es3": { 1570 | "version": "0.2.1", 1571 | "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", 1572 | "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=" 1573 | }, 1574 | "range-parser": { 1575 | "version": "1.2.1", 1576 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 1577 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" 1578 | }, 1579 | "raw-body": { 1580 | "version": "2.4.0", 1581 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", 1582 | "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", 1583 | "requires": { 1584 | "bytes": "3.1.0", 1585 | "http-errors": "1.7.2", 1586 | "iconv-lite": "0.4.24", 1587 | "unpipe": "1.0.0" 1588 | } 1589 | }, 1590 | "readable-stream": { 1591 | "version": "1.0.34", 1592 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", 1593 | "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", 1594 | "optional": true, 1595 | "requires": { 1596 | "core-util-is": "~1.0.0", 1597 | "inherits": "~2.0.1", 1598 | "isarray": "0.0.1", 1599 | "string_decoder": "~0.10.x" 1600 | } 1601 | }, 1602 | "reduce": { 1603 | "version": "1.0.2", 1604 | "resolved": "https://registry.npmjs.org/reduce/-/reduce-1.0.2.tgz", 1605 | "integrity": "sha512-xX7Fxke/oHO5IfZSk77lvPa/7bjMh9BuCk4OOoX5XTXrM7s0Z+MkPfSDfz0q7r91BhhGSs8gii/VEN/7zhCPpQ==", 1606 | "requires": { 1607 | "object-keys": "^1.1.0" 1608 | } 1609 | }, 1610 | "retry-request": { 1611 | "version": "4.1.1", 1612 | "resolved": "https://registry.npmjs.org/retry-request/-/retry-request-4.1.1.tgz", 1613 | "integrity": "sha512-BINDzVtLI2BDukjWmjAIRZ0oglnCAkpP2vQjM3jdLhmT62h0xnQgciPwBRDAvHqpkPT2Wo1XuUyLyn6nbGrZQQ==", 1614 | "optional": true, 1615 | "requires": { 1616 | "debug": "^4.1.1", 1617 | "through2": "^3.0.1" 1618 | }, 1619 | "dependencies": { 1620 | "debug": { 1621 | "version": "4.1.1", 1622 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", 1623 | "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", 1624 | "optional": true, 1625 | "requires": { 1626 | "ms": "^2.1.1" 1627 | } 1628 | } 1629 | } 1630 | }, 1631 | "safe-buffer": { 1632 | "version": "5.2.0", 1633 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", 1634 | "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==" 1635 | }, 1636 | "safer-buffer": { 1637 | "version": "2.1.2", 1638 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1639 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1640 | }, 1641 | "semver": { 1642 | "version": "6.3.0", 1643 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 1644 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", 1645 | "optional": true 1646 | }, 1647 | "send": { 1648 | "version": "0.17.1", 1649 | "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", 1650 | "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", 1651 | "requires": { 1652 | "debug": "2.6.9", 1653 | "depd": "~1.1.2", 1654 | "destroy": "~1.0.4", 1655 | "encodeurl": "~1.0.2", 1656 | "escape-html": "~1.0.3", 1657 | "etag": "~1.8.1", 1658 | "fresh": "0.5.2", 1659 | "http-errors": "~1.7.2", 1660 | "mime": "1.6.0", 1661 | "ms": "2.1.1", 1662 | "on-finished": "~2.3.0", 1663 | "range-parser": "~1.2.1", 1664 | "statuses": "~1.5.0" 1665 | }, 1666 | "dependencies": { 1667 | "debug": { 1668 | "version": "2.6.9", 1669 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 1670 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 1671 | "requires": { 1672 | "ms": "2.0.0" 1673 | }, 1674 | "dependencies": { 1675 | "ms": { 1676 | "version": "2.0.0", 1677 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1678 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 1679 | } 1680 | } 1681 | }, 1682 | "mime": { 1683 | "version": "1.6.0", 1684 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 1685 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" 1686 | }, 1687 | "ms": { 1688 | "version": "2.1.1", 1689 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", 1690 | "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" 1691 | } 1692 | } 1693 | }, 1694 | "serve-static": { 1695 | "version": "1.14.1", 1696 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", 1697 | "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", 1698 | "requires": { 1699 | "encodeurl": "~1.0.2", 1700 | "escape-html": "~1.0.3", 1701 | "parseurl": "~1.3.3", 1702 | "send": "0.17.1" 1703 | } 1704 | }, 1705 | "setprototypeof": { 1706 | "version": "1.1.1", 1707 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", 1708 | "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" 1709 | }, 1710 | "signal-exit": { 1711 | "version": "3.0.2", 1712 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", 1713 | "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", 1714 | "optional": true 1715 | }, 1716 | "snakeize": { 1717 | "version": "0.1.0", 1718 | "resolved": "https://registry.npmjs.org/snakeize/-/snakeize-0.1.0.tgz", 1719 | "integrity": "sha1-EMCI2LWOsHazIpu1oE4jLOEmQi0=", 1720 | "optional": true 1721 | }, 1722 | "statuses": { 1723 | "version": "1.5.0", 1724 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", 1725 | "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" 1726 | }, 1727 | "stream-events": { 1728 | "version": "1.0.5", 1729 | "resolved": "https://registry.npmjs.org/stream-events/-/stream-events-1.0.5.tgz", 1730 | "integrity": "sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==", 1731 | "optional": true, 1732 | "requires": { 1733 | "stubs": "^3.0.0" 1734 | } 1735 | }, 1736 | "stream-shift": { 1737 | "version": "1.0.0", 1738 | "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz", 1739 | "integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=", 1740 | "optional": true 1741 | }, 1742 | "streamsearch": { 1743 | "version": "0.1.2", 1744 | "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz", 1745 | "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=" 1746 | }, 1747 | "string_decoder": { 1748 | "version": "0.10.31", 1749 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", 1750 | "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", 1751 | "optional": true 1752 | }, 1753 | "stubs": { 1754 | "version": "3.0.0", 1755 | "resolved": "https://registry.npmjs.org/stubs/-/stubs-3.0.0.tgz", 1756 | "integrity": "sha1-6NK6H6nJBXAwPAMLaQD31fiavls=", 1757 | "optional": true 1758 | }, 1759 | "teeny-request": { 1760 | "version": "5.2.1", 1761 | "resolved": "https://registry.npmjs.org/teeny-request/-/teeny-request-5.2.1.tgz", 1762 | "integrity": "sha512-gCVm5EV3z0p/yZOKyeBOFOpSXuxdIs3foeWDWb/foKMBejK18w40L0k0UMd/ZrGkOH+gxodjqpL8KK6x3haYCQ==", 1763 | "optional": true, 1764 | "requires": { 1765 | "http-proxy-agent": "^2.1.0", 1766 | "https-proxy-agent": "^2.2.1", 1767 | "node-fetch": "^2.2.0", 1768 | "stream-events": "^1.0.5", 1769 | "uuid": "^3.3.2" 1770 | } 1771 | }, 1772 | "through": { 1773 | "version": "2.3.8", 1774 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 1775 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" 1776 | }, 1777 | "through2": { 1778 | "version": "3.0.1", 1779 | "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.1.tgz", 1780 | "integrity": "sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==", 1781 | "optional": true, 1782 | "requires": { 1783 | "readable-stream": "2 || 3" 1784 | }, 1785 | "dependencies": { 1786 | "readable-stream": { 1787 | "version": "3.4.0", 1788 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz", 1789 | "integrity": "sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==", 1790 | "optional": true, 1791 | "requires": { 1792 | "inherits": "^2.0.3", 1793 | "string_decoder": "^1.1.1", 1794 | "util-deprecate": "^1.0.1" 1795 | } 1796 | }, 1797 | "string_decoder": { 1798 | "version": "1.3.0", 1799 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 1800 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 1801 | "optional": true, 1802 | "requires": { 1803 | "safe-buffer": "~5.2.0" 1804 | } 1805 | } 1806 | } 1807 | }, 1808 | "toidentifier": { 1809 | "version": "1.0.0", 1810 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", 1811 | "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" 1812 | }, 1813 | "tslib": { 1814 | "version": "1.10.0", 1815 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", 1816 | "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==" 1817 | }, 1818 | "tunnel-agent": { 1819 | "version": "0.6.0", 1820 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", 1821 | "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", 1822 | "requires": { 1823 | "safe-buffer": "^5.0.1" 1824 | } 1825 | }, 1826 | "type-is": { 1827 | "version": "1.6.18", 1828 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 1829 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 1830 | "requires": { 1831 | "media-typer": "0.3.0", 1832 | "mime-types": "~2.1.24" 1833 | } 1834 | }, 1835 | "typedarray": { 1836 | "version": "0.0.6", 1837 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", 1838 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", 1839 | "optional": true 1840 | }, 1841 | "typedarray-to-buffer": { 1842 | "version": "3.1.5", 1843 | "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", 1844 | "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", 1845 | "optional": true, 1846 | "requires": { 1847 | "is-typedarray": "^1.0.0" 1848 | } 1849 | }, 1850 | "unique-string": { 1851 | "version": "2.0.0", 1852 | "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", 1853 | "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", 1854 | "optional": true, 1855 | "requires": { 1856 | "crypto-random-string": "^2.0.0" 1857 | } 1858 | }, 1859 | "unpipe": { 1860 | "version": "1.0.0", 1861 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 1862 | "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" 1863 | }, 1864 | "util-deprecate": { 1865 | "version": "1.0.2", 1866 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 1867 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", 1868 | "optional": true 1869 | }, 1870 | "utils-merge": { 1871 | "version": "1.0.1", 1872 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 1873 | "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" 1874 | }, 1875 | "uuid": { 1876 | "version": "3.3.3", 1877 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz", 1878 | "integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==", 1879 | "optional": true 1880 | }, 1881 | "vary": { 1882 | "version": "1.1.2", 1883 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 1884 | "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" 1885 | }, 1886 | "walkdir": { 1887 | "version": "0.4.1", 1888 | "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.4.1.tgz", 1889 | "integrity": "sha512-3eBwRyEln6E1MSzcxcVpQIhRG8Q1jLvEqRmCZqS3dsfXEDR/AhOF4d+jHg1qvDCpYaVRZjENPQyrVxAkQqxPgQ==", 1890 | "optional": true 1891 | }, 1892 | "websocket-driver": { 1893 | "version": "0.7.3", 1894 | "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.3.tgz", 1895 | "integrity": "sha512-bpxWlvbbB459Mlipc5GBzzZwhoZgGEZLuqPaR0INBGnPAY1vdBX6hPnoFXiw+3yWxDuHyQjO2oXTMyS8A5haFg==", 1896 | "requires": { 1897 | "http-parser-js": ">=0.4.0 <0.4.11", 1898 | "safe-buffer": ">=5.1.0", 1899 | "websocket-extensions": ">=0.1.1" 1900 | } 1901 | }, 1902 | "websocket-extensions": { 1903 | "version": "0.1.3", 1904 | "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz", 1905 | "integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==" 1906 | }, 1907 | "wrappy": { 1908 | "version": "1.0.2", 1909 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1910 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 1911 | "optional": true 1912 | }, 1913 | "write-file-atomic": { 1914 | "version": "3.0.0", 1915 | "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.0.tgz", 1916 | "integrity": "sha512-EIgkf60l2oWsffja2Sf2AL384dx328c0B+cIYPTQq5q2rOYuDV00/iPFBOUiDKKwKMOhkymH8AidPaRvzfxY+Q==", 1917 | "optional": true, 1918 | "requires": { 1919 | "imurmurhash": "^0.1.4", 1920 | "is-typedarray": "^1.0.0", 1921 | "signal-exit": "^3.0.2", 1922 | "typedarray-to-buffer": "^3.1.5" 1923 | } 1924 | }, 1925 | "xdg-basedir": { 1926 | "version": "4.0.0", 1927 | "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", 1928 | "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", 1929 | "optional": true 1930 | }, 1931 | "xtend": { 1932 | "version": "4.0.2", 1933 | "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", 1934 | "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" 1935 | }, 1936 | "yallist": { 1937 | "version": "3.0.3", 1938 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz", 1939 | "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", 1940 | "optional": true 1941 | } 1942 | } 1943 | } 1944 | --------------------------------------------------------------------------------
40 | 41 |