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

abstracted-firebase

Package Overview
Dependencies
Maintainers
1
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstracted-firebase - npm Package Compare versions

Comparing version 0.0.4 to 0.1.0

4

lib/db.d.ts
import * as admin from "firebase-admin";
import * as client from "@firebase/database";
import * as client from "@firebase/database-types";
import { SerializedQuery } from "serialized-query";

@@ -7,3 +7,3 @@ import { Mock, Reference } from "firemock";

export declare type Query = admin.database.Query | client.Query;
export declare type Database = admin.database.Database | client.Database;
export declare type Database = admin.database.Database | client.FirebaseDatabase;
export declare type DataSnapshot = admin.database.DataSnapshot | client.DataSnapshot;

@@ -10,0 +10,0 @@ export declare enum FirebaseBoolean {

@@ -28,2 +28,6 @@ "use strict";

this._allowMocking = false;
if (config.mocking) {
this._mocking = true;
this._mock = new firemock_1.Mock();
}
}

@@ -30,0 +34,0 @@ ref(path) {

import { RealTimeDB } from "./db";
export default RealTimeDB;
export { RealTimeDB, IFirebaseConfig, IFirebaseListener, FirebaseBoolean, DataSnapshot, Query, Reference, DebuggingCallback } from "./db";
export { RealTimeDB, IFirebaseConfig, IFirebaseListener, FirebaseBoolean, DataSnapshot, Query, Reference, Database, DebuggingCallback } from "./db";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function slashNotation(path) {
return path.replace(/\./g, '/');
return path.substr(0, 5) === ".info"
? path.substr(0, 5) + path.substring(5).replace(/\./g, "/")
: path.replace(/\./g, "/");
}
exports.slashNotation = slashNotation;
{
"name": "abstracted-firebase",
"version": "0.0.4",
"version": "0.1.0",
"description":

@@ -35,6 +35,7 @@ "Core library supporting 'abstracted-admin' and 'abstracted-client' libraries",

"faker": "^4.1.0",
"@firebase/app": "^0.1.6",
"firemock": "^0.14.5"
},
"devDependencies": {
"@firebase/app": "^0.1.0",
"@firebase/app": "^0.1.6",
"@firebase/app-types": "^0.1.0",

@@ -41,0 +42,0 @@ "@firebase/database": "^0.1.6",

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