Update Node_modules

This commit is contained in:
roemmelter63329 committed 2019-07-02 16:05:15 +02:00
1 parent 95a0ff3913
commit 9dab5e2dbc
3495 files changed
+39728 -465154

No files matched your search

+2 -2
View File
@@ -21,7 +21,7 @@ function applyTimestampsToChildren(now, update, schema) {
let timestamps;
let path;
const hasDollarKey = keys.length && keys[0].charAt(0) === '$';
const hasDollarKey = keys.length && keys[0].startsWith('$');
if (hasDollarKey) {
if (update.$push) {
@@ -173,4 +173,4 @@ function applyTimestampsToSingleNested(subdoc, schematype, now) {
if (createdAt != null) {
subdoc[createdAt] = now;
}
}
}