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

@forest-fire/utility

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forest-fire/utility - npm Package Compare versions

Comparing version 0.59.2 to 0.59.3

37

dist/cjs/index.js

@@ -24,2 +24,19 @@ 'use strict';

var AuthApiType;
(function (AuthApiType) {
AuthApiType["admin"] = "admin";
AuthApiType["client"] = "client";
AuthApiType["noAuth"] = "noAuth";
})(AuthApiType || (AuthApiType = {}));
/**
* this is a work in progress, but is meant to eventually be a complete
* list of possible values for the `providerId` property in identifying
* "providers" supported in Firebase's Auth API.
*/
var FirebaseAuthProvider;
(function (FirebaseAuthProvider) {
FirebaseAuthProvider["anonymous"] = "anonymous";
FirebaseAuthProvider["emailAndPassword"] = "emailAndPassword";
})(FirebaseAuthProvider || (FirebaseAuthProvider = {}));
function isMockConfig(config) {

@@ -36,2 +53,6 @@ return config && config.mocking === true;

}
/** The database connection was established using the Admin SDK */
// export function isRestSdk(db: IAbstractedDatabase) {
// return db.apiKind === ApiKind.rest;
// }

@@ -68,2 +89,18 @@ /**

var NetworkDelay;
(function (NetworkDelay) {
/** can be fast but can be very, very slow */
NetworkDelay["lifi"] = "lifi";
/** consistent but slow */
NetworkDelay["mobile2g"] = "mobile2g";
/** consistent but relatively slow */
NetworkDelay["mobile3g"] = "mobile3g";
/** consistent and decent performance */
NetworkDelay["mobile4g"] = "mobile4g";
/** fast and consistent */
NetworkDelay["wifi"] = "wifi";
/** faster than reasonable (1 to 5ms) ... for when you want perf over realism */
NetworkDelay["lazer"] = "lazer";
})(NetworkDelay || (NetworkDelay = {}));
/**

@@ -70,0 +107,0 @@ * Takes as input a variety of possible formats and converts it into

@@ -20,2 +20,19 @@ class FireError extends Error {

var AuthApiType;
(function (AuthApiType) {
AuthApiType["admin"] = "admin";
AuthApiType["client"] = "client";
AuthApiType["noAuth"] = "noAuth";
})(AuthApiType || (AuthApiType = {}));
/**
* this is a work in progress, but is meant to eventually be a complete
* list of possible values for the `providerId` property in identifying
* "providers" supported in Firebase's Auth API.
*/
var FirebaseAuthProvider;
(function (FirebaseAuthProvider) {
FirebaseAuthProvider["anonymous"] = "anonymous";
FirebaseAuthProvider["emailAndPassword"] = "emailAndPassword";
})(FirebaseAuthProvider || (FirebaseAuthProvider = {}));
function isMockConfig(config) {

@@ -32,2 +49,6 @@ return config && config.mocking === true;

}
/** The database connection was established using the Admin SDK */
// export function isRestSdk(db: IAbstractedDatabase) {
// return db.apiKind === ApiKind.rest;
// }

@@ -64,2 +85,18 @@ /**

var NetworkDelay;
(function (NetworkDelay) {
/** can be fast but can be very, very slow */
NetworkDelay["lifi"] = "lifi";
/** consistent but slow */
NetworkDelay["mobile2g"] = "mobile2g";
/** consistent but relatively slow */
NetworkDelay["mobile3g"] = "mobile3g";
/** consistent and decent performance */
NetworkDelay["mobile4g"] = "mobile4g";
/** fast and consistent */
NetworkDelay["wifi"] = "wifi";
/** faster than reasonable (1 to 5ms) ... for when you want perf over realism */
NetworkDelay["lazer"] = "lazer";
})(NetworkDelay || (NetworkDelay = {}));
/**

@@ -66,0 +103,0 @@ * Takes as input a variety of possible formats and converts it into

18

package.json
{
"name": "@forest-fire/utility",
"version": "0.59.2",
"version": "0.59.3",
"description": "Utility functions that are shared across the monorepo",

@@ -31,19 +31,19 @@ "module": "dist/es/index.js",

"devDependencies": {
"@forest-fire/types": "^0.59.2",
"@forest-fire/types": "^0.59.3",
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
"chai": "^4.2.0",
"mocha": "^7.1.1",
"@types/mocha": "^8.2.2",
"chai": "^4.3.4",
"mocha": "^8.4.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.0",
"rimraf": "^3.0.2",
"ts-node": "^8.10.1",
"typescript": "^3.9.2"
"ts-node": "10",
"typescript": "^4.3.2"
},
"dependencies": {
"common-types": "^1.14.3",
"common-types": "^1.25.0",
"is-gzip": "^2.0.0"
},
"license": "MIT",
"gitHead": "1e0916f929205a8b9c1d519f6880c38ad420beb3"
"gitHead": "f1e9c8369d9f717da11f4d9f6c1bf6c18f220f08"
}
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