├── .eslintignore ├── .eslintrc.json ├── .evergreen ├── config.yml ├── install-dependencies.sh ├── perf-send.sh ├── perf_send.mjs ├── prepare-shell.sh ├── run-bundling-test.sh ├── run-checks.sh ├── run-custom-benchmarks.sh ├── run-granular-benchmarks.sh ├── run-spec-benchmarks.sh ├── run-tests.sh └── run-typescript.sh ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── Issue_template.md │ └── config.yml ├── dependabot.yml ├── pull_request_template.md ├── scripts │ ├── highlights.mjs │ ├── pr_list.mjs │ ├── release_notes.mjs │ └── util.mjs └── workflows │ ├── build.yml │ ├── codeql.yml │ ├── release-5.x.yml │ ├── release-6.4.yml │ ├── release-alpha.yml │ ├── release.yml │ └── release_notes.yml ├── .gitignore ├── .mocharc.js ├── .nycrc.json ├── .prettierrc.json ├── .release-please-manifest.json ├── CONTRIBUTING.md ├── HISTORY.md ├── LICENSE.md ├── README.md ├── api-extractor.json ├── docs ├── upgrade-to-v4.md └── upgrade-to-v5.md ├── etc ├── Dockerfile ├── clean_definition_files.cjs ├── prepare.js └── run-big-endian-test.sh ├── package.json ├── release-please-config.json ├── rollup.config.mjs ├── sbom.json ├── src ├── binary.ts ├── bson.ts ├── bson_value.ts ├── code.ts ├── constants.ts ├── db_ref.ts ├── decimal128.ts ├── double.ts ├── error.ts ├── extended_json.ts ├── index.ts ├── int_32.ts ├── long.ts ├── max_key.ts ├── min_key.ts ├── objectid.ts ├── parse_utf8.ts ├── parser │ ├── calculate_size.ts │ ├── deserializer.ts │ ├── on_demand │ │ ├── index.ts │ │ └── parse_to_elements.ts │ ├── serializer.ts │ └── utils.ts ├── regexp.ts ├── symbol.ts ├── timestamp.ts └── utils │ ├── byte_utils.ts │ ├── latin.ts │ ├── node_byte_utils.ts │ ├── number_utils.ts │ ├── string_utils.ts │ └── web_byte_utils.ts ├── test ├── .eslintrc.json ├── bench │ ├── .gitignore │ ├── custom │ │ ├── benchmarks.mjs │ │ ├── main.mjs │ │ └── readme.md │ ├── documents │ │ ├── bestbuy_medium.json │ │ ├── binary_array_10.json │ │ ├── binary_array_100.json │ │ ├── binary_array_1000.json │ │ ├── binary_medium.json │ │ ├── binary_singleElementArray.json │ │ ├── binary_singleFieldDocument.json │ │ ├── binary_small.json │ │ ├── binary_vector_float32_array_10.json │ │ ├── binary_vector_float32_array_100.json │ │ ├── binary_vector_float32_array_1000.json │ │ ├── binary_vector_float32_medium.json │ │ ├── binary_vector_float32_singleElementArray.json │ │ ├── binary_vector_float32_singleFieldDocument.json │ │ ├── binary_vector_float32_small.json │ │ ├── binary_vector_int8_array_10.json │ │ ├── binary_vector_int8_array_100.json │ │ ├── binary_vector_int8_array_1000.json │ │ ├── binary_vector_int8_medium.json │ │ ├── binary_vector_int8_singleElementArray.json │ │ ├── binary_vector_int8_singleFieldDocument.json │ │ ├── binary_vector_int8_small.json │ │ ├── binary_vector_packedbit_array_10.json │ │ ├── binary_vector_packedbit_array_100.json │ │ ├── binary_vector_packedbit_array_1000.json │ │ ├── binary_vector_packedbit_medium.json │ │ ├── binary_vector_packedbit_singleElementArray.json │ │ ├── binary_vector_packedbit_singleFieldDocument.json │ │ ├── binary_vector_packedbit_small.json │ │ ├── boolean_array_10.json │ │ ├── boolean_array_100.json │ │ ├── boolean_array_1000.json │ │ ├── boolean_singleElementArray.json │ │ ├── boolean_singleFieldDocument.json │ │ ├── code-with-scope_array_10.json │ │ ├── code-with-scope_array_100.json │ │ ├── code-with-scope_array_1000.json │ │ ├── code-with-scope_singleElementArray.json │ │ ├── code-with-scope_singleFieldDocument.json │ │ ├── code-without-scope_array_10.json │ │ ├── code-without-scope_array_100.json │ │ ├── code-without-scope_array_1000.json │ │ ├── code-without-scope_singleElementArray.json │ │ ├── code-without-scope_singleFieldDocument.json │ │ ├── date_array_10.json │ │ ├── date_array_100.json │ │ ├── date_array_1000.json │ │ ├── date_singleElementArray.json │ │ ├── date_singleFieldDocument.json │ │ ├── decimal128_array_10.json │ │ ├── decimal128_array_100.json │ │ ├── decimal128_array_1000.json │ │ ├── decimal128_singleElementArray.json │ │ ├── decimal128_singleFieldDocument.json │ │ ├── deep_bson.json │ │ ├── double_array_10.json │ │ ├── double_array_100.json │ │ ├── double_array_1000.json │ │ ├── double_singleElementArray.json │ │ ├── double_singleFieldDocument.json │ │ ├── flat_bson.json │ │ ├── full_bson.json │ │ ├── int32_array_10.json │ │ ├── int32_array_100.json │ │ ├── int32_array_1000.json │ │ ├── int32_singleElementArray.json │ │ ├── int32_singleFieldDocument.json │ │ ├── long_array_10.json │ │ ├── long_array_100.json │ │ ├── long_array_1000.json │ │ ├── long_singleElementArray.json │ │ ├── long_singleFieldDocument.json │ │ ├── maxkey_array_10.json │ │ ├── maxkey_array_100.json │ │ ├── maxkey_array_1000.json │ │ ├── maxkey_singleElementArray.json │ │ ├── maxkey_singleFieldDocument.json │ │ ├── minkey_array_10.json │ │ ├── minkey_array_100.json │ │ ├── minkey_array_1000.json │ │ ├── minkey_singleElementArray.json │ │ ├── minkey_singleFieldDocument.json │ │ ├── mixed_large.json │ │ ├── mixed_medium.json │ │ ├── mixed_small.json │ │ ├── nested_0.json │ │ ├── nested_16.json │ │ ├── nested_4.json │ │ ├── nested_8.json │ │ ├── null_array_10.json │ │ ├── null_array_100.json │ │ ├── null_array_1000.json │ │ ├── null_singleElementArray.json │ │ ├── null_singleFieldDocument.json │ │ ├── objectid_array_10.json │ │ ├── objectid_array_100.json │ │ ├── objectid_array_1000.json │ │ ├── objectid_singleElementArray.json │ │ ├── objectid_singleFieldDocument.json │ │ ├── regex_array_10.json │ │ ├── regex_array_100.json │ │ ├── regex_array_1000.json │ │ ├── regex_singleElementArray.json │ │ ├── regex_singleFieldDocument.json │ │ ├── string_array_10.json │ │ ├── string_array_100.json │ │ ├── string_array_1000.json │ │ ├── string_singleElementArray.json │ │ ├── string_singleFieldDocument.json │ │ ├── timestamp_array_10.json │ │ ├── timestamp_array_100.json │ │ ├── timestamp_array_1000.json │ │ ├── timestamp_singleElementArray.json │ │ ├── timestamp_singleFieldDocument.json │ │ └── tweet.json │ ├── etc │ │ ├── .gitignore │ │ ├── convertToCSV.js │ │ ├── cpuBaseline.js │ │ ├── generate_documents.ts │ │ └── run_granular_benchmarks.js │ ├── granular │ │ ├── binary.bench.ts │ │ ├── boolean.bench.ts │ │ ├── code.bench.ts │ │ ├── common.ts │ │ ├── date.bench.ts │ │ ├── decimal128.bench.ts │ │ ├── double.bench.ts │ │ ├── int32.bench.ts │ │ ├── long.bench.ts │ │ ├── maxkey.bench.ts │ │ ├── minkey.bench.ts │ │ ├── mixed.bench.ts │ │ ├── null.bench.ts │ │ ├── objectid.bench.ts │ │ ├── regexp.bench.ts │ │ ├── string.bench.ts │ │ └── timestamp.bench.ts │ ├── spec │ │ └── bsonBench.ts │ └── tsconfig.json ├── bundling │ └── webpack │ │ ├── .gitignore │ │ ├── install_bson.cjs │ │ ├── package.json │ │ ├── readme.md │ │ ├── src │ │ └── index.ts │ │ ├── tsconfig.json │ │ └── webpack.config.js ├── load_bson.js ├── node │ ├── big_endian.test.ts │ ├── bigint.test.ts │ ├── binary.test.ts │ ├── bson_binary_vector.spec.test.ts │ ├── bson_compliance_test.js │ ├── bson_corpus.prose.test.js │ ├── bson_corpus.spec.test.js │ ├── bson_node_only_tests.js │ ├── bson_test.js │ ├── bson_type_classes.test.ts │ ├── bson_types_construction_tests.js │ ├── bson_undefined.test.ts │ ├── byte_utils.test.ts │ ├── circular_reference.test.ts │ ├── code.test.ts │ ├── compliance │ │ └── corrupt.js │ ├── constants.test.ts │ ├── cross_compat.test.ts │ ├── data │ │ ├── mongodump.airpair.tags.bson │ │ ├── test.bson │ │ ├── test_gs_weird_bug.png │ │ └── utf8_wpt_error_cases.ts │ ├── db_ref.test.ts │ ├── decimal128.test.ts │ ├── double.test.ts │ ├── error.test.ts │ ├── exports.test.ts │ ├── extended_json.test.ts │ ├── int_32_tests.js │ ├── long.test.ts │ ├── map.test.ts │ ├── object_id.test.ts │ ├── parser │ │ ├── calculate_size.test.ts │ │ ├── deserializer.test.ts │ │ ├── on_demand │ │ │ └── parse_to_elements.test.ts │ │ └── serializer.test.ts │ ├── promote_values_test.js │ ├── release.test.ts │ ├── serialize_with_buffer_tests.js │ ├── specs │ │ ├── bson-binary-vector │ │ │ ├── float32.json │ │ │ ├── int8.json │ │ │ └── packed_bit.json │ │ └── bson-corpus │ │ │ ├── array.json │ │ │ ├── binary.json │ │ │ ├── boolean.json │ │ │ ├── bsonview │ │ │ ├── code.json │ │ │ ├── code_w_scope.json │ │ │ ├── datetime.json │ │ │ ├── dbpointer.json │ │ │ ├── dbref.json │ │ │ ├── decimal128-1.json │ │ │ ├── decimal128-2.json │ │ │ ├── decimal128-3.json │ │ │ ├── decimal128-4.json │ │ │ ├── decimal128-5.json │ │ │ ├── decimal128-6.json │ │ │ ├── decimal128-7.json │ │ │ ├── document.json │ │ │ ├── double.json │ │ │ ├── int32.json │ │ │ ├── int64.json │ │ │ ├── maxkey.json │ │ │ ├── minkey.json │ │ │ ├── multi-type-deprecated.json │ │ │ ├── multi-type.json │ │ │ ├── null.json │ │ │ ├── oid.json │ │ │ ├── regex.json │ │ │ ├── string.json │ │ │ ├── symbol.json │ │ │ ├── timestamp.json │ │ │ ├── top.json │ │ │ └── undefined.json │ ├── string_test.js │ ├── symbol.test.ts │ ├── test_full_bson.js │ ├── timestamp.test.ts │ ├── to_bson_test.js │ ├── tools │ │ ├── binary_parser.js │ │ ├── bson_corpus_test_loader.js │ │ └── utils.js │ ├── type_identifier_tests.js │ ├── utf8_tests.js │ ├── utils │ │ ├── latin.test.ts │ │ ├── number_utils.test.ts │ │ └── string_utils.test.ts │ └── uuid.test.ts ├── register-bson.d.ts ├── register-bson.js ├── scripts │ ├── test.cmd │ └── update-spec-tests.sh └── types │ ├── bson.test-d.ts │ ├── deserialize.test-d.ts │ └── tsconfig.json ├── tsconfig.json ├── tsdoc.json └── typedoc.json /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.evergreen/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.evergreen/config.yml -------------------------------------------------------------------------------- /.evergreen/install-dependencies.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.evergreen/install-dependencies.sh -------------------------------------------------------------------------------- /.evergreen/perf-send.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.evergreen/perf-send.sh -------------------------------------------------------------------------------- /.evergreen/perf_send.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.evergreen/perf_send.mjs -------------------------------------------------------------------------------- /.evergreen/prepare-shell.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.evergreen/prepare-shell.sh -------------------------------------------------------------------------------- /.evergreen/run-bundling-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.evergreen/run-bundling-test.sh -------------------------------------------------------------------------------- /.evergreen/run-checks.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.evergreen/run-checks.sh -------------------------------------------------------------------------------- /.evergreen/run-custom-benchmarks.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.evergreen/run-custom-benchmarks.sh -------------------------------------------------------------------------------- /.evergreen/run-granular-benchmarks.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.evergreen/run-granular-benchmarks.sh -------------------------------------------------------------------------------- /.evergreen/run-spec-benchmarks.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.evergreen/run-spec-benchmarks.sh -------------------------------------------------------------------------------- /.evergreen/run-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.evergreen/run-tests.sh -------------------------------------------------------------------------------- /.evergreen/run-typescript.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.evergreen/run-typescript.sh -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Everything 2 | * @mongodb/dbx-node-devs 3 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Issue_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/ISSUE_TEMPLATE/Issue_template.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/scripts/highlights.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/scripts/highlights.mjs -------------------------------------------------------------------------------- /.github/scripts/pr_list.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/scripts/pr_list.mjs -------------------------------------------------------------------------------- /.github/scripts/release_notes.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/scripts/release_notes.mjs -------------------------------------------------------------------------------- /.github/scripts/util.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/scripts/util.mjs -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/release-5.x.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/workflows/release-5.x.yml -------------------------------------------------------------------------------- /.github/workflows/release-6.4.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/workflows/release-6.4.yml -------------------------------------------------------------------------------- /.github/workflows/release-alpha.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/workflows/release-alpha.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/release_notes.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.github/workflows/release_notes.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.gitignore -------------------------------------------------------------------------------- /.mocharc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.mocharc.js -------------------------------------------------------------------------------- /.nycrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.nycrc.json -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.release-please-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | ".": "7.0.0" 3 | } 4 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/HISTORY.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/README.md -------------------------------------------------------------------------------- /api-extractor.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/api-extractor.json -------------------------------------------------------------------------------- /docs/upgrade-to-v4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/docs/upgrade-to-v4.md -------------------------------------------------------------------------------- /docs/upgrade-to-v5.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/docs/upgrade-to-v5.md -------------------------------------------------------------------------------- /etc/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/etc/Dockerfile -------------------------------------------------------------------------------- /etc/clean_definition_files.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/etc/clean_definition_files.cjs -------------------------------------------------------------------------------- /etc/prepare.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/etc/prepare.js -------------------------------------------------------------------------------- /etc/run-big-endian-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/etc/run-big-endian-test.sh -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/package.json -------------------------------------------------------------------------------- /release-please-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/release-please-config.json -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /sbom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/sbom.json -------------------------------------------------------------------------------- /src/binary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/binary.ts -------------------------------------------------------------------------------- /src/bson.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/bson.ts -------------------------------------------------------------------------------- /src/bson_value.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/bson_value.ts -------------------------------------------------------------------------------- /src/code.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/code.ts -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/db_ref.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/db_ref.ts -------------------------------------------------------------------------------- /src/decimal128.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/decimal128.ts -------------------------------------------------------------------------------- /src/double.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/double.ts -------------------------------------------------------------------------------- /src/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/error.ts -------------------------------------------------------------------------------- /src/extended_json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/extended_json.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/int_32.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/int_32.ts -------------------------------------------------------------------------------- /src/long.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/long.ts -------------------------------------------------------------------------------- /src/max_key.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/max_key.ts -------------------------------------------------------------------------------- /src/min_key.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/min_key.ts -------------------------------------------------------------------------------- /src/objectid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/objectid.ts -------------------------------------------------------------------------------- /src/parse_utf8.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/parse_utf8.ts -------------------------------------------------------------------------------- /src/parser/calculate_size.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/parser/calculate_size.ts -------------------------------------------------------------------------------- /src/parser/deserializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/parser/deserializer.ts -------------------------------------------------------------------------------- /src/parser/on_demand/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/parser/on_demand/index.ts -------------------------------------------------------------------------------- /src/parser/on_demand/parse_to_elements.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/parser/on_demand/parse_to_elements.ts -------------------------------------------------------------------------------- /src/parser/serializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/parser/serializer.ts -------------------------------------------------------------------------------- /src/parser/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/parser/utils.ts -------------------------------------------------------------------------------- /src/regexp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/regexp.ts -------------------------------------------------------------------------------- /src/symbol.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/symbol.ts -------------------------------------------------------------------------------- /src/timestamp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/timestamp.ts -------------------------------------------------------------------------------- /src/utils/byte_utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/utils/byte_utils.ts -------------------------------------------------------------------------------- /src/utils/latin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/utils/latin.ts -------------------------------------------------------------------------------- /src/utils/node_byte_utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/utils/node_byte_utils.ts -------------------------------------------------------------------------------- /src/utils/number_utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/utils/number_utils.ts -------------------------------------------------------------------------------- /src/utils/string_utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/utils/string_utils.ts -------------------------------------------------------------------------------- /src/utils/web_byte_utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/src/utils/web_byte_utils.ts -------------------------------------------------------------------------------- /test/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/.eslintrc.json -------------------------------------------------------------------------------- /test/bench/.gitignore: -------------------------------------------------------------------------------- 1 | lib 2 | node_modules 3 | -------------------------------------------------------------------------------- /test/bench/custom/benchmarks.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/custom/benchmarks.mjs -------------------------------------------------------------------------------- /test/bench/custom/main.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/custom/main.mjs -------------------------------------------------------------------------------- /test/bench/custom/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/custom/readme.md -------------------------------------------------------------------------------- /test/bench/documents/bestbuy_medium.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/bestbuy_medium.json -------------------------------------------------------------------------------- /test/bench/documents/binary_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/binary_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/binary_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/binary_medium.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_medium.json -------------------------------------------------------------------------------- /test/bench/documents/binary_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$binary":{"base64":"Hm8J/nQoJi9jEZTjxnaeYzb8/2tSZbG5x/OjcefR","subType":"00"}}]} -------------------------------------------------------------------------------- /test/bench/documents/binary_singleFieldDocument.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_singleFieldDocument.json -------------------------------------------------------------------------------- /test/bench/documents/binary_small.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_small.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_float32_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_float32_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_float32_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_float32_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_float32_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_float32_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_float32_medium.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_float32_medium.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_float32_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$binary":{"base64":"JwD5cVIUFsMzFIuaXiaIsQkAE07ir+9bCU2S9ZpvzKqPDg==","subType":"09"}}]} -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_float32_singleFieldDocument.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_float32_singleFieldDocument.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_float32_small.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_float32_small.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_int8_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_int8_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_int8_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_int8_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_int8_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_int8_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_int8_medium.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_int8_medium.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_int8_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$binary":{"base64":"AwDHQ/OaQVcXLpJqT4FRuTA95zjVLt0Koael0Q0zKLPlVw==","subType":"09"}}]} -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_int8_singleFieldDocument.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_int8_singleFieldDocument.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_int8_small.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_int8_small.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_packedbit_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_packedbit_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_packedbit_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_packedbit_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_packedbit_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_packedbit_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_packedbit_medium.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_packedbit_medium.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_packedbit_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$binary":{"base64":"EADXX4C06kfwqRMSuL8ENbKK5iHJ4LIHah85nN3w0D2EjA==","subType":"09"}}]} -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_packedbit_singleFieldDocument.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_packedbit_singleFieldDocument.json -------------------------------------------------------------------------------- /test/bench/documents/binary_vector_packedbit_small.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/binary_vector_packedbit_small.json -------------------------------------------------------------------------------- /test/bench/documents/boolean_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/boolean_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/boolean_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/boolean_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/boolean_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/boolean_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/boolean_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[true]} -------------------------------------------------------------------------------- /test/bench/documents/boolean_singleFieldDocument.json: -------------------------------------------------------------------------------- 1 | {"a":true} -------------------------------------------------------------------------------- /test/bench/documents/code-with-scope_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/code-with-scope_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/code-with-scope_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/code-with-scope_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/code-with-scope_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/code-with-scope_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/code-with-scope_singleElementArray.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/code-with-scope_singleElementArray.json -------------------------------------------------------------------------------- /test/bench/documents/code-with-scope_singleFieldDocument.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/code-with-scope_singleFieldDocument.json -------------------------------------------------------------------------------- /test/bench/documents/code-without-scope_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/code-without-scope_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/code-without-scope_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/code-without-scope_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/code-without-scope_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/code-without-scope_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/code-without-scope_singleElementArray.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/code-without-scope_singleElementArray.json -------------------------------------------------------------------------------- /test/bench/documents/code-without-scope_singleFieldDocument.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/code-without-scope_singleFieldDocument.json -------------------------------------------------------------------------------- /test/bench/documents/date_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/date_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/date_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/date_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/date_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/date_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/date_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$date":{"$numberLong":"1698959097112"}}]} -------------------------------------------------------------------------------- /test/bench/documents/date_singleFieldDocument.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/date_singleFieldDocument.json -------------------------------------------------------------------------------- /test/bench/documents/decimal128_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/decimal128_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/decimal128_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/decimal128_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/decimal128_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/decimal128_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/decimal128_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$numberDecimal":"0"}]} -------------------------------------------------------------------------------- /test/bench/documents/decimal128_singleFieldDocument.json: -------------------------------------------------------------------------------- 1 | {"a":{"$numberDecimal":"0"}} -------------------------------------------------------------------------------- /test/bench/documents/deep_bson.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/deep_bson.json -------------------------------------------------------------------------------- /test/bench/documents/double_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/double_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/double_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/double_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/double_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/double_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/double_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$numberDouble":"0.0"}]} -------------------------------------------------------------------------------- /test/bench/documents/double_singleFieldDocument.json: -------------------------------------------------------------------------------- 1 | {"a":{"$numberDouble":"0.0"}} -------------------------------------------------------------------------------- /test/bench/documents/flat_bson.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/flat_bson.json -------------------------------------------------------------------------------- /test/bench/documents/full_bson.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/full_bson.json -------------------------------------------------------------------------------- /test/bench/documents/int32_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/int32_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/int32_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/int32_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/int32_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/int32_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/int32_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$numberInt":"0"}]} -------------------------------------------------------------------------------- /test/bench/documents/int32_singleFieldDocument.json: -------------------------------------------------------------------------------- 1 | {"a":{"$numberInt":"0"}} -------------------------------------------------------------------------------- /test/bench/documents/long_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/long_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/long_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/long_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/long_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/long_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/long_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$numberLong":"0"}]} -------------------------------------------------------------------------------- /test/bench/documents/long_singleFieldDocument.json: -------------------------------------------------------------------------------- 1 | {"a":{"$numberLong":"0"}} -------------------------------------------------------------------------------- /test/bench/documents/maxkey_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/maxkey_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/maxkey_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/maxkey_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/maxkey_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/maxkey_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/maxkey_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$maxKey":1}]} -------------------------------------------------------------------------------- /test/bench/documents/maxkey_singleFieldDocument.json: -------------------------------------------------------------------------------- 1 | {"a":{"$maxKey":1}} -------------------------------------------------------------------------------- /test/bench/documents/minkey_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/minkey_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/minkey_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/minkey_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/minkey_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/minkey_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/minkey_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$minKey":1}]} -------------------------------------------------------------------------------- /test/bench/documents/minkey_singleFieldDocument.json: -------------------------------------------------------------------------------- 1 | {"a":{"$minKey":1}} -------------------------------------------------------------------------------- /test/bench/documents/mixed_large.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/mixed_large.json -------------------------------------------------------------------------------- /test/bench/documents/mixed_medium.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/mixed_medium.json -------------------------------------------------------------------------------- /test/bench/documents/mixed_small.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/mixed_small.json -------------------------------------------------------------------------------- /test/bench/documents/nested_0.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /test/bench/documents/nested_16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/nested_16.json -------------------------------------------------------------------------------- /test/bench/documents/nested_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/nested_4.json -------------------------------------------------------------------------------- /test/bench/documents/nested_8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/nested_8.json -------------------------------------------------------------------------------- /test/bench/documents/null_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/null_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/null_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/null_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/null_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/null_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/null_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[null]} -------------------------------------------------------------------------------- /test/bench/documents/null_singleFieldDocument.json: -------------------------------------------------------------------------------- 1 | {"a":null} -------------------------------------------------------------------------------- /test/bench/documents/objectid_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/objectid_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/objectid_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/objectid_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/objectid_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/objectid_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/objectid_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$oid":"65440ef9691aee5d86174a1f"}]} -------------------------------------------------------------------------------- /test/bench/documents/objectid_singleFieldDocument.json: -------------------------------------------------------------------------------- 1 | {"a":{"$oid":"65440ef9691aee5d86174a1e"}} -------------------------------------------------------------------------------- /test/bench/documents/regex_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/regex_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/regex_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/regex_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/regex_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/regex_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/regex_singleElementArray.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/regex_singleElementArray.json -------------------------------------------------------------------------------- /test/bench/documents/regex_singleFieldDocument.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/regex_singleFieldDocument.json -------------------------------------------------------------------------------- /test/bench/documents/string_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/string_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/string_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/string_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/string_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/string_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/string_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":["6vp7Ad3M/bv9g9dDHDQr+zw05voqIxQj3Fc3eRcn"]} -------------------------------------------------------------------------------- /test/bench/documents/string_singleFieldDocument.json: -------------------------------------------------------------------------------- 1 | {"a":"lG2y1Wg2L5d4aG376HWj2g8bAQKH5NdplzCzxAYh"} -------------------------------------------------------------------------------- /test/bench/documents/timestamp_array_10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/timestamp_array_10.json -------------------------------------------------------------------------------- /test/bench/documents/timestamp_array_100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/timestamp_array_100.json -------------------------------------------------------------------------------- /test/bench/documents/timestamp_array_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/timestamp_array_1000.json -------------------------------------------------------------------------------- /test/bench/documents/timestamp_singleElementArray.json: -------------------------------------------------------------------------------- 1 | {"a":[{"$timestamp":{"t":0,"i":1699308410}}]} -------------------------------------------------------------------------------- /test/bench/documents/timestamp_singleFieldDocument.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/timestamp_singleFieldDocument.json -------------------------------------------------------------------------------- /test/bench/documents/tweet.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/documents/tweet.json -------------------------------------------------------------------------------- /test/bench/etc/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/etc/.gitignore -------------------------------------------------------------------------------- /test/bench/etc/convertToCSV.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/etc/convertToCSV.js -------------------------------------------------------------------------------- /test/bench/etc/cpuBaseline.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/etc/cpuBaseline.js -------------------------------------------------------------------------------- /test/bench/etc/generate_documents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/etc/generate_documents.ts -------------------------------------------------------------------------------- /test/bench/etc/run_granular_benchmarks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/etc/run_granular_benchmarks.js -------------------------------------------------------------------------------- /test/bench/granular/binary.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/binary.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/boolean.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/boolean.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/code.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/code.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/common.ts -------------------------------------------------------------------------------- /test/bench/granular/date.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/date.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/decimal128.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/decimal128.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/double.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/double.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/int32.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/int32.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/long.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/long.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/maxkey.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/maxkey.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/minkey.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/minkey.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/mixed.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/mixed.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/null.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/null.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/objectid.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/objectid.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/regexp.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/regexp.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/string.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/string.bench.ts -------------------------------------------------------------------------------- /test/bench/granular/timestamp.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/granular/timestamp.bench.ts -------------------------------------------------------------------------------- /test/bench/spec/bsonBench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/spec/bsonBench.ts -------------------------------------------------------------------------------- /test/bench/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bench/tsconfig.json -------------------------------------------------------------------------------- /test/bundling/webpack/.gitignore: -------------------------------------------------------------------------------- 1 | package-lock.json 2 | -------------------------------------------------------------------------------- /test/bundling/webpack/install_bson.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bundling/webpack/install_bson.cjs -------------------------------------------------------------------------------- /test/bundling/webpack/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bundling/webpack/package.json -------------------------------------------------------------------------------- /test/bundling/webpack/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bundling/webpack/readme.md -------------------------------------------------------------------------------- /test/bundling/webpack/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bundling/webpack/src/index.ts -------------------------------------------------------------------------------- /test/bundling/webpack/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bundling/webpack/tsconfig.json -------------------------------------------------------------------------------- /test/bundling/webpack/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/bundling/webpack/webpack.config.js -------------------------------------------------------------------------------- /test/load_bson.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/load_bson.js -------------------------------------------------------------------------------- /test/node/big_endian.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/big_endian.test.ts -------------------------------------------------------------------------------- /test/node/bigint.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/bigint.test.ts -------------------------------------------------------------------------------- /test/node/binary.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/binary.test.ts -------------------------------------------------------------------------------- /test/node/bson_binary_vector.spec.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/bson_binary_vector.spec.test.ts -------------------------------------------------------------------------------- /test/node/bson_compliance_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/bson_compliance_test.js -------------------------------------------------------------------------------- /test/node/bson_corpus.prose.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/bson_corpus.prose.test.js -------------------------------------------------------------------------------- /test/node/bson_corpus.spec.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/bson_corpus.spec.test.js -------------------------------------------------------------------------------- /test/node/bson_node_only_tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/bson_node_only_tests.js -------------------------------------------------------------------------------- /test/node/bson_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/bson_test.js -------------------------------------------------------------------------------- /test/node/bson_type_classes.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/bson_type_classes.test.ts -------------------------------------------------------------------------------- /test/node/bson_types_construction_tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/bson_types_construction_tests.js -------------------------------------------------------------------------------- /test/node/bson_undefined.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/bson_undefined.test.ts -------------------------------------------------------------------------------- /test/node/byte_utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/byte_utils.test.ts -------------------------------------------------------------------------------- /test/node/circular_reference.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/circular_reference.test.ts -------------------------------------------------------------------------------- /test/node/code.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/code.test.ts -------------------------------------------------------------------------------- /test/node/compliance/corrupt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/compliance/corrupt.js -------------------------------------------------------------------------------- /test/node/constants.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/constants.test.ts -------------------------------------------------------------------------------- /test/node/cross_compat.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/cross_compat.test.ts -------------------------------------------------------------------------------- /test/node/data/mongodump.airpair.tags.bson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/data/mongodump.airpair.tags.bson -------------------------------------------------------------------------------- /test/node/data/test.bson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/data/test.bson -------------------------------------------------------------------------------- /test/node/data/test_gs_weird_bug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/data/test_gs_weird_bug.png -------------------------------------------------------------------------------- /test/node/data/utf8_wpt_error_cases.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/data/utf8_wpt_error_cases.ts -------------------------------------------------------------------------------- /test/node/db_ref.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/db_ref.test.ts -------------------------------------------------------------------------------- /test/node/decimal128.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/decimal128.test.ts -------------------------------------------------------------------------------- /test/node/double.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/double.test.ts -------------------------------------------------------------------------------- /test/node/error.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/error.test.ts -------------------------------------------------------------------------------- /test/node/exports.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/exports.test.ts -------------------------------------------------------------------------------- /test/node/extended_json.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/extended_json.test.ts -------------------------------------------------------------------------------- /test/node/int_32_tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/int_32_tests.js -------------------------------------------------------------------------------- /test/node/long.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/long.test.ts -------------------------------------------------------------------------------- /test/node/map.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/map.test.ts -------------------------------------------------------------------------------- /test/node/object_id.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/object_id.test.ts -------------------------------------------------------------------------------- /test/node/parser/calculate_size.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/parser/calculate_size.test.ts -------------------------------------------------------------------------------- /test/node/parser/deserializer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/parser/deserializer.test.ts -------------------------------------------------------------------------------- /test/node/parser/on_demand/parse_to_elements.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/parser/on_demand/parse_to_elements.test.ts -------------------------------------------------------------------------------- /test/node/parser/serializer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/parser/serializer.test.ts -------------------------------------------------------------------------------- /test/node/promote_values_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/promote_values_test.js -------------------------------------------------------------------------------- /test/node/release.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/release.test.ts -------------------------------------------------------------------------------- /test/node/serialize_with_buffer_tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/serialize_with_buffer_tests.js -------------------------------------------------------------------------------- /test/node/specs/bson-binary-vector/float32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-binary-vector/float32.json -------------------------------------------------------------------------------- /test/node/specs/bson-binary-vector/int8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-binary-vector/int8.json -------------------------------------------------------------------------------- /test/node/specs/bson-binary-vector/packed_bit.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-binary-vector/packed_bit.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/array.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/array.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/binary.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/binary.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/boolean.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/boolean.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/bsonview: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/bsonview -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/code.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/code.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/code_w_scope.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/code_w_scope.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/datetime.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/datetime.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/dbpointer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/dbpointer.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/dbref.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/dbref.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/decimal128-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/decimal128-1.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/decimal128-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/decimal128-2.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/decimal128-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/decimal128-3.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/decimal128-4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/decimal128-4.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/decimal128-5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/decimal128-5.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/decimal128-6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/decimal128-6.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/decimal128-7.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/decimal128-7.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/document.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/document.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/double.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/double.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/int32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/int32.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/int64.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/int64.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/maxkey.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/maxkey.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/minkey.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/minkey.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/multi-type-deprecated.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/multi-type-deprecated.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/multi-type.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/multi-type.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/null.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/null.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/oid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/oid.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/regex.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/regex.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/string.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/string.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/symbol.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/symbol.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/timestamp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/timestamp.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/top.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/top.json -------------------------------------------------------------------------------- /test/node/specs/bson-corpus/undefined.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/specs/bson-corpus/undefined.json -------------------------------------------------------------------------------- /test/node/string_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/string_test.js -------------------------------------------------------------------------------- /test/node/symbol.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/symbol.test.ts -------------------------------------------------------------------------------- /test/node/test_full_bson.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/test_full_bson.js -------------------------------------------------------------------------------- /test/node/timestamp.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/timestamp.test.ts -------------------------------------------------------------------------------- /test/node/to_bson_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/to_bson_test.js -------------------------------------------------------------------------------- /test/node/tools/binary_parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/tools/binary_parser.js -------------------------------------------------------------------------------- /test/node/tools/bson_corpus_test_loader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/tools/bson_corpus_test_loader.js -------------------------------------------------------------------------------- /test/node/tools/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/tools/utils.js -------------------------------------------------------------------------------- /test/node/type_identifier_tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/type_identifier_tests.js -------------------------------------------------------------------------------- /test/node/utf8_tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/utf8_tests.js -------------------------------------------------------------------------------- /test/node/utils/latin.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/utils/latin.test.ts -------------------------------------------------------------------------------- /test/node/utils/number_utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/utils/number_utils.test.ts -------------------------------------------------------------------------------- /test/node/utils/string_utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/utils/string_utils.test.ts -------------------------------------------------------------------------------- /test/node/uuid.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/node/uuid.test.ts -------------------------------------------------------------------------------- /test/register-bson.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/register-bson.d.ts -------------------------------------------------------------------------------- /test/register-bson.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/register-bson.js -------------------------------------------------------------------------------- /test/scripts/test.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/scripts/test.cmd -------------------------------------------------------------------------------- /test/scripts/update-spec-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/scripts/update-spec-tests.sh -------------------------------------------------------------------------------- /test/types/bson.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/types/bson.test-d.ts -------------------------------------------------------------------------------- /test/types/deserialize.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/types/deserialize.test-d.ts -------------------------------------------------------------------------------- /test/types/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/test/types/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsdoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/tsdoc.json -------------------------------------------------------------------------------- /typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/js-bson/HEAD/typedoc.json --------------------------------------------------------------------------------