Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Commit e2092db

Browse files
committed
Release v2.2.9
1 parent 4db21d7 commit e2092db

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "firebase-mock",
3-
"version": "2.2.8",
3+
"version": "2.2.9",
44
"homepage": "https://github.com/soumak77/firebase-mock",
55
"authors": [
66
"Kato"

browser/firebasemock.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** firebase-mock - v2.2.8
1+
/** firebase-mock - v2.2.9
22
https://github.com/soumak77/firebase-mock
33
* Copyright (c) 2016 Brian Soumakian
44
* License: MIT */
@@ -50367,7 +50367,7 @@ MockFirebase.prototype.update = function (changes, callback) {
5036750367
// operate as a multi-set
5036850368
_.keys(changes).forEach(function (key) {
5036950369
var val = changes[key];
50370-
_.set(data, key.replace(/\//g, '.'), _.isObject(val) ? utils.updateToRtdbObject(val) : val);
50370+
_.set(data, key.replace(/^\//, '').replace(/\//g, '.'), _.isObject(val) ? utils.updateToRtdbObject(val) : val);
5037150371
});
5037250372
data = utils.removeEmptyRtdbProperties(data);
5037350373
self._dataChanged(data);

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "firebase-mock",
3-
"version": "2.2.8",
3+
"version": "2.2.9",
44
"description": "Firebase mock library for writing unit tests",
55
"main": "./src",
66
"scripts": {

0 commit comments

Comments
 (0)