Update Node_modules

This commit is contained in:
2019-07-02 16:05:15 +02:00
parent 95a0ff3913
commit 9dab5e2dbc
3495 changed files with 39728 additions and 465154 deletions
+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;
}
}
}