Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

firestore-export-import

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firestore-export-import - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

dist/index.d.ts

@@ -1,2 +0,2 @@

import { IExportOptions, IImportOptions } from './helper';
import { IExportOptions, IImportOptions } from './helper.js';
interface IInitializeAppOptions {

@@ -3,0 +3,0 @@ firestore?: FirebaseFirestore.Settings;

var __assign=(this&&this.__assign)||function(){__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))
t[p]=s[p];}
return t;};return __assign.apply(this,arguments);};import{cert,getApps,initializeApp}from'firebase-admin/app';import{getFirestore}from'firebase-admin/firestore';import{backupFromDocService,getAllCollectionsService,backupService}from'./export';import{restoreService}from'./import';export var initializeFirebaseApp=function(serviceAccount,name,options){if(name===void 0){name='[DEFAULT]';}
return t;};return __assign.apply(this,arguments);};import{cert,getApps,initializeApp}from'firebase-admin/app';import{getFirestore}from'firebase-admin/firestore';import{backupFromDocService,getAllCollectionsService,backupService}from'./export.js';import{restoreService}from'./import.js';export var initializeFirebaseApp=function(serviceAccount,name,options){if(name===void 0){name='[DEFAULT]';}
if(options===void 0){options={};}

@@ -5,0 +5,0 @@ var apps=getApps();if(apps.length===0||(apps.length>0&&apps[0].name!==name)){initializeApp({credential:cert(serviceAccount),databaseURL:serviceAccount['databaseURL'],},name);getFirestore().settings(__assign({timestampsInSnapshots:true},options.firestore));}

{
"name": "firestore-export-import",
"version": "1.3.0",
"version": "1.3.1",
"description": "NPM package for backup and restore Firebase Firestore",
"main": "dist/index.js",
"exports": "./dist/index.js",
"types": "dist/index.d.ts",

@@ -7,0 +7,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc