Update Node_modules
This commit is contained in:
1 parent
95a0ff3913
commit
9dab5e2dbc
3495 files changed
+39728
-465154
No files matched your search
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user