@@ -17557,6 +17557,8 @@ return /******/ (function(modules) { // webpackBootstrap
1755717557 index = serializeInt32(buffer, key, value, index, true);
1755817558 } else if (value['_bsontype'] === 'MinKey' || value['_bsontype'] === 'MaxKey') {
1755917559 index = serializeMinMax(buffer, key, value, index, true);
17560+ } else if (typeof value['_bsontype'] !== 'undefined') {
17561+ throw new TypeError('Unrecognized or invalid _bsontype: ' + value['_bsontype']);
1756017562 }
1756117563 }
1756217564 } else if (object instanceof Map) {
@@ -17635,6 +17637,8 @@ return /******/ (function(modules) { // webpackBootstrap
1763517637 index = serializeInt32(buffer, key, value, index);
1763617638 } else if (value['_bsontype'] === 'MinKey' || value['_bsontype'] === 'MaxKey') {
1763717639 index = serializeMinMax(buffer, key, value, index);
17640+ } else if (typeof value['_bsontype'] !== 'undefined') {
17641+ throw new TypeError('Unrecognized or invalid _bsontype: ' + value['_bsontype']);
1763817642 }
1763917643 }
1764017644 } else {
@@ -17716,6 +17720,8 @@ return /******/ (function(modules) { // webpackBootstrap
1771617720 index = serializeInt32(buffer, key, value, index);
1771717721 } else if (value['_bsontype'] === 'MinKey' || value['_bsontype'] === 'MaxKey') {
1771817722 index = serializeMinMax(buffer, key, value, index);
17723+ } else if (typeof value['_bsontype'] !== 'undefined') {
17724+ throw new TypeError('Unrecognized or invalid _bsontype: ' + value['_bsontype']);
1771917725 }
1772017726 }
1772117727 }
0 commit comments