New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@daaku/firebase-blob-db

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daaku/firebase-blob-db - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0

16

dist/src/index.js
import { downloadURL, } from '@daaku/firebase-storage';
// Resilient uploading of blobs to Firebase Storage.
export class FirebaseBlobDB {
db;
client;
onError;
onComplete;
blobInfoStoreName;
blobCacheStoreName;
blobQueueStoreName;
running = false;
constructor(config) {
var _a, _b, _c;
this.running = false;
this.client = config.client;
this.onError = config.onError;
this.onComplete = config.onComplete;
this.blobInfoStoreName = (_a = config.blobInfoStoreName) !== null && _a !== void 0 ? _a : 'blob_info';
this.blobCacheStoreName = (_b = config.blobCacheStoreName) !== null && _b !== void 0 ? _b : 'blob_cache';
this.blobQueueStoreName = (_c = config.blobQueueStoreName) !== null && _c !== void 0 ? _c : 'blob_queue';
this.blobInfoStoreName = config.blobInfoStoreName ?? 'blob_info';
this.blobCacheStoreName = config.blobCacheStoreName ?? 'blob_cache';
this.blobQueueStoreName = config.blobQueueStoreName ?? 'blob_queue';
}

@@ -14,0 +20,0 @@ // Call this in your upgradeDB transaction.

{
"name": "@daaku/firebase-blob-db",
"author": "Naitik Shah <n@daaku.org>",
"version": "1.2.0",
"version": "2.0.0",
"description": "Resilient uploading of blobs to Firebase Storage.",
"repository": "git@github.com:daaku/firebase-blob-db",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"license": "MIT",
"prettier": "prettier-config-daaku",
"type": "module",
"exports": {
".": {
"import": "./dist/src/index.js",
"types": "./dist/src/index.d.ts"
}
},
"eslintConfig": {
"extends": "@daaku"
},
"scripts": {

@@ -24,11 +33,10 @@ "check:types": "tsc --noEmit",

],
"license": "MIT",
"devDependencies": {
"@daaku/eslint-config": "^4.0.0",
"@daaku/firebase-auth": "^1.1.0",
"@daaku/qunit-puppeteer": "^1.2.0",
"@daaku/firebase-auth": "^2.2.0",
"@daaku/qunit-puppeteer": "^2.0.0",
"@types/qunit": "^2.11.2",
"esbuild": "^0.13.8",
"esbuild": "^0.14.0",
"eslint": "^8.1.0",
"nanoid": "^3.1.30",
"nanoid": "^4.0.0",
"npm-run-all": "^4.1.5",

@@ -40,5 +48,5 @@ "prettier-config-daaku": "^1.0.0",

"dependencies": {
"@daaku/firebase-storage": "^1.1.0",
"idb": "^6.1.5"
"@daaku/firebase-storage": "^2.0.0",
"idb": "^7.0.2"
}
}

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