@@ -17557,6 +17557,8 @@ return /******/ (function(modules) { // webpackBootstrap
17557
17557
index = serializeInt32(buffer, key, value, index, true);
17558
17558
} else if (value['_bsontype'] === 'MinKey' || value['_bsontype'] === 'MaxKey') {
17559
17559
index = serializeMinMax(buffer, key, value, index, true);
17560
+ } else if (typeof value['_bsontype'] !== 'undefined') {
17561
+ throw new TypeError('Unrecognized or invalid _bsontype: ' + value['_bsontype']);
17560
17562
}
17561
17563
}
17562
17564
} else if (object instanceof Map) {
@@ -17635,6 +17637,8 @@ return /******/ (function(modules) { // webpackBootstrap
17635
17637
index = serializeInt32(buffer, key, value, index);
17636
17638
} else if (value['_bsontype'] === 'MinKey' || value['_bsontype'] === 'MaxKey') {
17637
17639
index = serializeMinMax(buffer, key, value, index);
17640
+ } else if (typeof value['_bsontype'] !== 'undefined') {
17641
+ throw new TypeError('Unrecognized or invalid _bsontype: ' + value['_bsontype']);
17638
17642
}
17639
17643
}
17640
17644
} else {
@@ -17716,6 +17720,8 @@ return /******/ (function(modules) { // webpackBootstrap
17716
17720
index = serializeInt32(buffer, key, value, index);
17717
17721
} else if (value['_bsontype'] === 'MinKey' || value['_bsontype'] === 'MaxKey') {
17718
17722
index = serializeMinMax(buffer, key, value, index);
17723
+ } else if (typeof value['_bsontype'] !== 'undefined') {
17724
+ throw new TypeError('Unrecognized or invalid _bsontype: ' + value['_bsontype']);
17719
17725
}
17720
17726
}
17721
17727
}
0 commit comments