-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
* Bump mongodb to 6.5.0 * Added ip as dev package
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* @author [email protected] (Yurij Mikhalevich) | ||
*/ | ||
'use strict'; | ||
const ObjectID = require('mongodb').ObjectID; | ||
const ObjectId = require('mongodb').ObjectId; | ||
|
||
|
||
/** | ||
|
@@ -28,7 +28,7 @@ exports.prepareMetaData = meta => { | |
*/ | ||
function cloneMeta(node, optParents) { | ||
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (20, v5.0-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (20, v5.0-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (20, v4.4-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (20, v4.4-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (20, v6.0-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (20, v6.0-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (16, v5.0-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (16, v5.0-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (16, v4.4-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (16, v4.4-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (18, v4.4-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (18, v4.4-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (16, v6.0-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (16, v6.0-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (18, v6.0-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (18, v6.0-latest)
Check warning on line 29 in lib/helpers.js GitHub Actions / unit-tests (18, v5.0-latest)
|
||
if (!((node !== null && typeof node === 'object') || typeof node === 'function') | ||
|| (node instanceof ObjectID) || (node instanceof Buffer)) { | ||
|| (node instanceof ObjectId) || (node instanceof Buffer)) { | ||
return node; | ||
} | ||
let copy = Array.isArray(node) ? [] : {}; | ||
|