firebase-unchained
Advanced tools
Comparing version
@@ -13,2 +13,3 @@ 'use strict'; | ||
exports.psetWithPriority = psetWithPriority; | ||
exports.psetPriority = psetPriority; | ||
exports.pupdate = pupdate; | ||
@@ -105,2 +106,9 @@ exports.premove = premove; | ||
function psetPriority(db) { | ||
return function (path, priority) { | ||
var ref = path.setPriority ? path : db.child(path); | ||
return ref.setPriority(priority); | ||
}; | ||
} | ||
function pupdate(db) { | ||
@@ -107,0 +115,0 @@ return function (path, value) { |
{ | ||
"name": "firebase-unchained", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Promise version of Firebase API without chaining", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5115
4.15%141
5.22%0
-100%