bson 4.6.2 → 4.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/bower.json +1 -1
  2. package/bson-ts34.d.ts +1133 -0
  3. package/bson.d.ts +1228 -1118
  4. package/dist/bson.browser.esm.js +16 -1
  5. package/dist/bson.browser.esm.js.map +1 -1
  6. package/dist/bson.browser.umd.js +16 -1
  7. package/dist/bson.browser.umd.js.map +1 -1
  8. package/dist/bson.bundle.js +16 -1
  9. package/dist/bson.bundle.js.map +1 -1
  10. package/dist/bson.esm.js +16 -1
  11. package/dist/bson.esm.js.map +1 -1
  12. package/lib/binary.js +1 -0
  13. package/lib/binary.js.map +1 -1
  14. package/lib/code.js +1 -0
  15. package/lib/code.js.map +1 -1
  16. package/lib/db_ref.js +1 -0
  17. package/lib/db_ref.js.map +1 -1
  18. package/lib/decimal128.js +1 -0
  19. package/lib/decimal128.js.map +1 -1
  20. package/lib/double.js +1 -0
  21. package/lib/double.js.map +1 -1
  22. package/lib/int_32.js +1 -0
  23. package/lib/int_32.js.map +1 -1
  24. package/lib/long.js +1 -0
  25. package/lib/long.js.map +1 -1
  26. package/lib/max_key.js +1 -0
  27. package/lib/max_key.js.map +1 -1
  28. package/lib/min_key.js +1 -0
  29. package/lib/min_key.js.map +1 -1
  30. package/lib/objectid.js +1 -0
  31. package/lib/objectid.js.map +1 -1
  32. package/lib/regexp.js +1 -0
  33. package/lib/regexp.js.map +1 -1
  34. package/lib/symbol.js +1 -0
  35. package/lib/symbol.js.map +1 -1
  36. package/lib/timestamp.js +4 -1
  37. package/lib/timestamp.js.map +1 -1
  38. package/package.json +11 -3
  39. package/src/binary.ts +1 -0
  40. package/src/code.ts +1 -0
  41. package/src/db_ref.ts +1 -0
  42. package/src/decimal128.ts +1 -0
  43. package/src/double.ts +1 -0
  44. package/src/int_32.ts +1 -0
  45. package/src/long.ts +1 -0
  46. package/src/max_key.ts +1 -0
  47. package/src/min_key.ts +1 -0
  48. package/src/objectid.ts +1 -0
  49. package/src/regexp.ts +1 -0
  50. package/src/symbol.ts +1 -0
  51. package/src/timestamp.ts +4 -1
@@ -2444,6 +2444,7 @@ Object.defineProperty(UUID.prototype, '_bsontype', { value: 'UUID' });
2444
2444
  /**
2445
2445
  * A class representation of the BSON Binary type.
2446
2446
  * @public
2447
+ * @category BSONType
2447
2448
  */
2448
2449
  var Binary = /** @class */ (function () {
2449
2450
  /**
@@ -2674,6 +2675,7 @@ Object.defineProperty(Binary.prototype, '_bsontype', { value: 'Binary' });
2674
2675
  /**
2675
2676
  * A class representation of the BSON Code type.
2676
2677
  * @public
2678
+ * @category BSONType
2677
2679
  */
2678
2680
  var Code = /** @class */ (function () {
2679
2681
  /**
@@ -2722,6 +2724,7 @@ function isDBRefLike(value) {
2722
2724
  /**
2723
2725
  * A class representation of the BSON DBRef type.
2724
2726
  * @public
2727
+ * @category BSONType
2725
2728
  */
2726
2729
  var DBRef = /** @class */ (function () {
2727
2730
  /**
@@ -2826,6 +2829,7 @@ var UINT_CACHE = {};
2826
2829
  /**
2827
2830
  * A class representing a 64-bit integer
2828
2831
  * @public
2832
+ * @category BSONType
2829
2833
  * @remarks
2830
2834
  * The internal representation of a long is the two given signed, 32-bit values.
2831
2835
  * We use 32-bit pieces because these are the size of integers on which
@@ -3788,6 +3792,7 @@ function invalidErr(string, message) {
3788
3792
  /**
3789
3793
  * A class representation of the BSON Decimal128 type.
3790
3794
  * @public
3795
+ * @category BSONType
3791
3796
  */
3792
3797
  var Decimal128 = /** @class */ (function () {
3793
3798
  /**
@@ -4359,6 +4364,7 @@ Object.defineProperty(Decimal128.prototype, '_bsontype', { value: 'Decimal128' }
4359
4364
  /**
4360
4365
  * A class representation of the BSON Double type.
4361
4366
  * @public
4367
+ * @category BSONType
4362
4368
  */
4363
4369
  var Double = /** @class */ (function () {
4364
4370
  /**
@@ -4430,6 +4436,7 @@ Object.defineProperty(Double.prototype, '_bsontype', { value: 'Double' });
4430
4436
  /**
4431
4437
  * A class representation of a BSON Int32 type.
4432
4438
  * @public
4439
+ * @category BSONType
4433
4440
  */
4434
4441
  var Int32 = /** @class */ (function () {
4435
4442
  /**
@@ -4483,6 +4490,7 @@ Object.defineProperty(Int32.prototype, '_bsontype', { value: 'Int32' });
4483
4490
  /**
4484
4491
  * A class representation of the BSON MaxKey type.
4485
4492
  * @public
4493
+ * @category BSONType
4486
4494
  */
4487
4495
  var MaxKey = /** @class */ (function () {
4488
4496
  function MaxKey() {
@@ -4511,6 +4519,7 @@ Object.defineProperty(MaxKey.prototype, '_bsontype', { value: 'MaxKey' });
4511
4519
  /**
4512
4520
  * A class representation of the BSON MinKey type.
4513
4521
  * @public
4522
+ * @category BSONType
4514
4523
  */
4515
4524
  var MinKey = /** @class */ (function () {
4516
4525
  function MinKey() {
@@ -4544,6 +4553,7 @@ var kId = Symbol('id');
4544
4553
  /**
4545
4554
  * A class representation of the BSON ObjectId type.
4546
4555
  * @public
4556
+ * @category BSONType
4547
4557
  */
4548
4558
  var ObjectId = /** @class */ (function () {
4549
4559
  /**
@@ -4831,6 +4841,7 @@ function alphabetize(str) {
4831
4841
  /**
4832
4842
  * A class representation of the BSON RegExp type.
4833
4843
  * @public
4844
+ * @category BSONType
4834
4845
  */
4835
4846
  var BSONRegExp = /** @class */ (function () {
4836
4847
  /**
@@ -4896,6 +4907,7 @@ Object.defineProperty(BSONRegExp.prototype, '_bsontype', { value: 'BSONRegExp' }
4896
4907
  /**
4897
4908
  * A class representation of the BSON Symbol type.
4898
4909
  * @public
4910
+ * @category BSONType
4899
4911
  */
4900
4912
  var BSONSymbol = /** @class */ (function () {
4901
4913
  /**
@@ -4938,7 +4950,10 @@ Object.defineProperty(BSONSymbol.prototype, '_bsontype', { value: 'Symbol' });
4938
4950
 
4939
4951
  /** @public */
4940
4952
  var LongWithoutOverridesClass = Long;
4941
- /** @public */
4953
+ /**
4954
+ * @public
4955
+ * @category BSONType
4956
+ * */
4942
4957
  var Timestamp = /** @class */ (function (_super) {
4943
4958
  __extends(Timestamp, _super);
4944
4959
  function Timestamp(low, high) {