@mongodb-js/atlas-local 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/LICENSE-3RD-PARTY.txt +18 -250
- package/index.d.ts +19 -25
- package/index.js +68 -53
- package/package.json +10 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [1.1.0] - 2025-12-03
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- [**breaking**] Add support for loading sample data ([#51](https://github.com/mongodb-js/atlas-local-lib-js/pull/51))
|
|
6
|
+
|
|
7
|
+
### ⚙️ Miscellaneous Tasks
|
|
8
|
+
|
|
9
|
+
- Add GitHub Action to check PR title format ([#43](https://github.com/mongodb-js/atlas-local-lib-js/pull/43))
|
|
10
|
+
## [1.0.2] - 2025-10-16
|
|
11
|
+
|
|
12
|
+
### 🚀 Features
|
|
13
|
+
|
|
14
|
+
- Export enums as string unions instead of enums
|
|
15
|
+
- Export enums as string unions instead of enums
|
|
16
|
+
|
|
17
|
+
### ⚙️ Miscellaneous Tasks
|
|
18
|
+
|
|
19
|
+
- Include version number in release workflow run name
|
|
20
|
+
- Added dependabot ([#27](https://github.com/mongodb-js/atlas-local-lib-js/pull/27))
|
|
21
|
+
- Fixed issue with dependabot auto-approve (correct repository now) ([#32](https://github.com/mongodb-js/atlas-local-lib-js/pull/32))
|
|
1
22
|
## [1.0.0] - 2025-10-14
|
|
2
23
|
|
|
3
24
|
### 🚀 Features
|
package/LICENSE-3RD-PARTY.txt
CHANGED
|
@@ -4,32 +4,11 @@ THIRD PARTY LICENSES
|
|
|
4
4
|
This file lists the licenses of the projects used in atlas-local-js.
|
|
5
5
|
|
|
6
6
|
OVERVIEW OF LICENSES:
|
|
7
|
-
- Apache License 2.0 (
|
|
7
|
+
- Apache License 2.0 (89 dependencies)
|
|
8
8
|
- MIT License (23 dependencies)
|
|
9
9
|
- Unicode License v3 (19 dependencies)
|
|
10
|
-
- BSD Zero Clause License (1 dependencies)
|
|
11
10
|
- ISC License (1 dependencies)
|
|
12
11
|
|
|
13
|
-
-----------------------------------------------------------------------------
|
|
14
|
-
BSD Zero Clause License
|
|
15
|
-
applies to:
|
|
16
|
-
- adler2 2.0.1 (https://github.com/oyvindln/adler2)
|
|
17
|
-
-----------------------------------------------------------------------------
|
|
18
|
-
|
|
19
|
-
Copyright (C) Jonas Schievink <jonasschievink@gmail.com>
|
|
20
|
-
|
|
21
|
-
Permission to use, copy, modify, and/or distribute this software for
|
|
22
|
-
any purpose with or without fee is hereby granted.
|
|
23
|
-
|
|
24
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
25
|
-
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
26
|
-
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
27
|
-
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
28
|
-
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
|
|
29
|
-
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
|
30
|
-
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
31
|
-
|
|
32
|
-
|
|
33
12
|
-----------------------------------------------------------------------------
|
|
34
13
|
Apache License 2.0
|
|
35
14
|
applies to:
|
|
@@ -244,8 +223,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
244
223
|
-----------------------------------------------------------------------------
|
|
245
224
|
Apache License 2.0
|
|
246
225
|
applies to:
|
|
247
|
-
- windows-link 0.2.
|
|
226
|
+
- windows-link 0.2.1 (https://github.com/microsoft/windows-rs)
|
|
248
227
|
- windows-sys 0.59.0 (https://github.com/microsoft/windows-rs)
|
|
228
|
+
- windows-sys 0.61.2 (https://github.com/microsoft/windows-rs)
|
|
249
229
|
- windows-targets 0.52.6 (https://github.com/microsoft/windows-rs)
|
|
250
230
|
- windows_aarch64_gnullvm 0.52.6 (https://github.com/microsoft/windows-rs)
|
|
251
231
|
- windows_aarch64_msvc 0.52.6 (https://github.com/microsoft/windows-rs)
|
|
@@ -463,7 +443,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
463
443
|
-----------------------------------------------------------------------------
|
|
464
444
|
Apache License 2.0
|
|
465
445
|
applies to:
|
|
466
|
-
- bollard 0.19.
|
|
446
|
+
- bollard 0.19.4 (https://github.com/fussybeaver/bollard)
|
|
467
447
|
- hyper-named-pipe 0.1.0 (https://github.com/fussybeaver/hyper-named-pipe)
|
|
468
448
|
-----------------------------------------------------------------------------
|
|
469
449
|
|
|
@@ -884,7 +864,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
884
864
|
Apache License 2.0
|
|
885
865
|
applies to:
|
|
886
866
|
- atlas-local 0.1.0
|
|
887
|
-
- atlas_local 1.0
|
|
867
|
+
- atlas_local 1.1.0
|
|
888
868
|
-----------------------------------------------------------------------------
|
|
889
869
|
|
|
890
870
|
Apache License
|
|
@@ -1514,10 +1494,13 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
1514
1494
|
applies to:
|
|
1515
1495
|
- futures-channel 0.3.31 (https://github.com/rust-lang/futures-rs)
|
|
1516
1496
|
- futures-core 0.3.31 (https://github.com/rust-lang/futures-rs)
|
|
1497
|
+
- futures-executor 0.3.31 (https://github.com/rust-lang/futures-rs)
|
|
1498
|
+
- futures-io 0.3.31 (https://github.com/rust-lang/futures-rs)
|
|
1517
1499
|
- futures-macro 0.3.31 (https://github.com/rust-lang/futures-rs)
|
|
1518
1500
|
- futures-sink 0.3.31 (https://github.com/rust-lang/futures-rs)
|
|
1519
1501
|
- futures-task 0.3.31 (https://github.com/rust-lang/futures-rs)
|
|
1520
1502
|
- futures-util 0.3.31 (https://github.com/rust-lang/futures-rs)
|
|
1503
|
+
- futures 0.3.31 (https://github.com/rust-lang/futures-rs)
|
|
1521
1504
|
-----------------------------------------------------------------------------
|
|
1522
1505
|
|
|
1523
1506
|
Apache License
|
|
@@ -2354,234 +2337,20 @@ limitations under the License.
|
|
|
2354
2337
|
-----------------------------------------------------------------------------
|
|
2355
2338
|
Apache License 2.0
|
|
2356
2339
|
applies to:
|
|
2357
|
-
- io-uring 0.7.10 (https://github.com/tokio-rs/io-uring)
|
|
2358
|
-
-----------------------------------------------------------------------------
|
|
2359
|
-
|
|
2360
|
-
Apache License
|
|
2361
|
-
Version 2.0, January 2004
|
|
2362
|
-
http://www.apache.org/licenses/
|
|
2363
|
-
|
|
2364
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
2365
|
-
|
|
2366
|
-
1. Definitions.
|
|
2367
|
-
|
|
2368
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
2369
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
2370
|
-
|
|
2371
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
2372
|
-
the copyright owner that is granting the License.
|
|
2373
|
-
|
|
2374
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
2375
|
-
other entities that control, are controlled by, or are under common
|
|
2376
|
-
control with that entity. For the purposes of this definition,
|
|
2377
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
2378
|
-
direction or management of such entity, whether by contract or
|
|
2379
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
2380
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
2381
|
-
|
|
2382
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
2383
|
-
exercising permissions granted by this License.
|
|
2384
|
-
|
|
2385
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
2386
|
-
including but not limited to software source code, documentation
|
|
2387
|
-
source, and configuration files.
|
|
2388
|
-
|
|
2389
|
-
"Object" form shall mean any form resulting from mechanical
|
|
2390
|
-
transformation or translation of a Source form, including but
|
|
2391
|
-
not limited to compiled object code, generated documentation,
|
|
2392
|
-
and conversions to other media types.
|
|
2393
|
-
|
|
2394
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
2395
|
-
Object form, made available under the License, as indicated by a
|
|
2396
|
-
copyright notice that is included in or attached to the work
|
|
2397
|
-
(an example is provided in the Appendix below).
|
|
2398
|
-
|
|
2399
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
2400
|
-
form, that is based on (or derived from) the Work and for which the
|
|
2401
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
2402
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
2403
|
-
of this License, Derivative Works shall not include works that remain
|
|
2404
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
2405
|
-
the Work and Derivative Works thereof.
|
|
2406
|
-
|
|
2407
|
-
"Contribution" shall mean any work of authorship, including
|
|
2408
|
-
the original version of the Work and any modifications or additions
|
|
2409
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
2410
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
2411
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
2412
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
2413
|
-
means any form of electronic, verbal, or written communication sent
|
|
2414
|
-
to the Licensor or its representatives, including but not limited to
|
|
2415
|
-
communication on electronic mailing lists, source code control systems,
|
|
2416
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
2417
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
2418
|
-
excluding communication that is conspicuously marked or otherwise
|
|
2419
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
2420
|
-
|
|
2421
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
2422
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
2423
|
-
subsequently incorporated within the Work.
|
|
2424
|
-
|
|
2425
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
2426
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
2427
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
2428
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
2429
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
2430
|
-
Work and such Derivative Works in Source or Object form.
|
|
2431
|
-
|
|
2432
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
2433
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
2434
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
2435
|
-
(except as stated in this section) patent license to make, have made,
|
|
2436
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
2437
|
-
where such license applies only to those patent claims licensable
|
|
2438
|
-
by such Contributor that are necessarily infringed by their
|
|
2439
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
2440
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
2441
|
-
institute patent litigation against any entity (including a
|
|
2442
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
2443
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
2444
|
-
or contributory patent infringement, then any patent licenses
|
|
2445
|
-
granted to You under this License for that Work shall terminate
|
|
2446
|
-
as of the date such litigation is filed.
|
|
2447
|
-
|
|
2448
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
2449
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
2450
|
-
modifications, and in Source or Object form, provided that You
|
|
2451
|
-
meet the following conditions:
|
|
2452
|
-
|
|
2453
|
-
(a) You must give any other recipients of the Work or
|
|
2454
|
-
Derivative Works a copy of this License; and
|
|
2455
|
-
|
|
2456
|
-
(b) You must cause any modified files to carry prominent notices
|
|
2457
|
-
stating that You changed the files; and
|
|
2458
|
-
|
|
2459
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
2460
|
-
that You distribute, all copyright, patent, trademark, and
|
|
2461
|
-
attribution notices from the Source form of the Work,
|
|
2462
|
-
excluding those notices that do not pertain to any part of
|
|
2463
|
-
the Derivative Works; and
|
|
2464
|
-
|
|
2465
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
2466
|
-
distribution, then any Derivative Works that You distribute must
|
|
2467
|
-
include a readable copy of the attribution notices contained
|
|
2468
|
-
within such NOTICE file, excluding those notices that do not
|
|
2469
|
-
pertain to any part of the Derivative Works, in at least one
|
|
2470
|
-
of the following places: within a NOTICE text file distributed
|
|
2471
|
-
as part of the Derivative Works; within the Source form or
|
|
2472
|
-
documentation, if provided along with the Derivative Works; or,
|
|
2473
|
-
within a display generated by the Derivative Works, if and
|
|
2474
|
-
wherever such third-party notices normally appear. The contents
|
|
2475
|
-
of the NOTICE file are for informational purposes only and
|
|
2476
|
-
do not modify the License. You may add Your own attribution
|
|
2477
|
-
notices within Derivative Works that You distribute, alongside
|
|
2478
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
2479
|
-
that such additional attribution notices cannot be construed
|
|
2480
|
-
as modifying the License.
|
|
2481
|
-
|
|
2482
|
-
You may add Your own copyright statement to Your modifications and
|
|
2483
|
-
may provide additional or different license terms and conditions
|
|
2484
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
2485
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
2486
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
2487
|
-
the conditions stated in this License.
|
|
2488
|
-
|
|
2489
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
2490
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
2491
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
2492
|
-
this License, without any additional terms or conditions.
|
|
2493
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
2494
|
-
the terms of any separate license agreement you may have executed
|
|
2495
|
-
with Licensor regarding such Contributions.
|
|
2496
|
-
|
|
2497
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
2498
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
2499
|
-
except as required for reasonable and customary use in describing the
|
|
2500
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
2501
|
-
|
|
2502
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
2503
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
2504
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
2505
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
2506
|
-
implied, including, without limitation, any warranties or conditions
|
|
2507
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
2508
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
2509
|
-
appropriateness of using or redistributing the Work and assume any
|
|
2510
|
-
risks associated with Your exercise of permissions under this License.
|
|
2511
|
-
|
|
2512
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
2513
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
2514
|
-
unless required by applicable law (such as deliberate and grossly
|
|
2515
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
2516
|
-
liable to You for damages, including any direct, indirect, special,
|
|
2517
|
-
incidental, or consequential damages of any character arising as a
|
|
2518
|
-
result of this License or out of the use or inability to use the
|
|
2519
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
2520
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
2521
|
-
other commercial damages or losses), even if such Contributor
|
|
2522
|
-
has been advised of the possibility of such damages.
|
|
2523
|
-
|
|
2524
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
2525
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
2526
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
2527
|
-
or other liability obligations and/or rights consistent with this
|
|
2528
|
-
License. However, in accepting such obligations, You may act only
|
|
2529
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
2530
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
2531
|
-
defend, and hold each Contributor harmless for any liability
|
|
2532
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
2533
|
-
of your accepting any such warranty or additional liability.
|
|
2534
|
-
|
|
2535
|
-
END OF TERMS AND CONDITIONS
|
|
2536
|
-
|
|
2537
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
2538
|
-
|
|
2539
|
-
To apply the Apache License to your work, attach the following
|
|
2540
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
2541
|
-
replaced with your own identifying information. (Don't include
|
|
2542
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
2543
|
-
comment syntax for the file format. We also recommend that a
|
|
2544
|
-
file or class name and description of purpose be included on the
|
|
2545
|
-
same "printed page" as the copyright notice for easier
|
|
2546
|
-
identification within third-party archives.
|
|
2547
|
-
|
|
2548
|
-
Copyright 2019 quininer kel
|
|
2549
|
-
|
|
2550
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
2551
|
-
you may not use this file except in compliance with the License.
|
|
2552
|
-
You may obtain a copy of the License at
|
|
2553
|
-
|
|
2554
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
2555
|
-
|
|
2556
|
-
Unless required by applicable law or agreed to in writing, software
|
|
2557
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
2558
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2559
|
-
See the License for the specific language governing permissions and
|
|
2560
|
-
limitations under the License.
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
-----------------------------------------------------------------------------
|
|
2564
|
-
Apache License 2.0
|
|
2565
|
-
applies to:
|
|
2566
|
-
- addr2line 0.24.2 (https://github.com/gimli-rs/addr2line)
|
|
2567
2340
|
- atomic-waker 1.1.2 (https://github.com/smol-rs/atomic-waker)
|
|
2568
|
-
- backtrace 0.3.75 (https://github.com/rust-lang/backtrace-rs)
|
|
2569
2341
|
- base64 0.22.1 (https://github.com/marshallpierce/rust-base64)
|
|
2570
2342
|
- bitflags 2.9.4 (https://github.com/bitflags/bitflags)
|
|
2571
2343
|
- cfg-if 1.0.3 (https://github.com/rust-lang/cfg-if)
|
|
2572
2344
|
- displaydoc 0.2.5 (https://github.com/yaahc/displaydoc)
|
|
2573
2345
|
- fnv 1.0.7 (https://github.com/servo/rust-fnv)
|
|
2574
2346
|
- form_urlencoded 1.2.2 (https://github.com/servo/rust-url)
|
|
2575
|
-
- gimli 0.31.1 (https://github.com/gimli-rs/gimli)
|
|
2576
2347
|
- httparse 1.10.1 (https://github.com/seanmonstar/httparse)
|
|
2577
2348
|
- idna 1.1.0 (https://github.com/servo/rust-url/)
|
|
2578
2349
|
- idna_adapter 1.2.1 (https://github.com/hsivonen/idna_adapter)
|
|
2579
2350
|
- log 0.4.28 (https://github.com/rust-lang/log)
|
|
2580
2351
|
- maplit 1.0.2 (https://github.com/bluss/maplit)
|
|
2581
|
-
- object 0.36.7 (https://github.com/gimli-rs/object)
|
|
2582
2352
|
- once_cell 1.21.3 (https://github.com/matklad/once_cell)
|
|
2583
2353
|
- percent-encoding 2.3.2 (https://github.com/servo/rust-url/)
|
|
2584
|
-
- rustc-demangle 0.1.26 (https://github.com/rust-lang/rustc-demangle)
|
|
2585
2354
|
- serde_with 3.14.1 (https://github.com/jonasbb/serde_with/)
|
|
2586
2355
|
- smallvec 1.15.1 (https://github.com/servo/rust-smallvec)
|
|
2587
2356
|
- socket2 0.6.0 (https://github.com/rust-lang/socket2)
|
|
@@ -3203,8 +2972,8 @@ limitations under the License.
|
|
|
3203
2972
|
-----------------------------------------------------------------------------
|
|
3204
2973
|
Apache License 2.0
|
|
3205
2974
|
applies to:
|
|
3206
|
-
- ctor-proc-macro 0.0.
|
|
3207
|
-
- ctor 0.
|
|
2975
|
+
- ctor-proc-macro 0.0.7 (https://github.com/mmastrac/rust-ctor)
|
|
2976
|
+
- ctor 0.6.0 (https://github.com/mmastrac/rust-ctor)
|
|
3208
2977
|
- dtor-proc-macro 0.0.6 (https://github.com/mmastrac/rust-ctor)
|
|
3209
2978
|
- dtor 0.1.0 (https://github.com/mmastrac/rust-ctor)
|
|
3210
2979
|
-----------------------------------------------------------------------------
|
|
@@ -3628,7 +3397,6 @@ limitations under the License.
|
|
|
3628
3397
|
- bollard-stubs 1.49.1-rc.28.4.0
|
|
3629
3398
|
- itoa 1.0.15 (https://github.com/dtolnay/itoa)
|
|
3630
3399
|
- libc 0.2.176 (https://github.com/rust-lang/libc)
|
|
3631
|
-
- miniz_oxide 0.8.9 (https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide)
|
|
3632
3400
|
- pin-project-lite 0.2.16 (https://github.com/taiki-e/pin-project-lite)
|
|
3633
3401
|
- proc-macro2 1.0.101 (https://github.com/dtolnay/proc-macro2)
|
|
3634
3402
|
- quote 1.0.40 (https://github.com/dtolnay/quote)
|
|
@@ -3731,7 +3499,7 @@ limitations under the License.
|
|
|
3731
3499
|
-----------------------------------------------------------------------------
|
|
3732
3500
|
ISC License
|
|
3733
3501
|
applies to:
|
|
3734
|
-
- libloading 0.
|
|
3502
|
+
- libloading 0.9.0 (https://github.com/nagisa/rust_libloading/)
|
|
3735
3503
|
-----------------------------------------------------------------------------
|
|
3736
3504
|
|
|
3737
3505
|
Copyright © 2015, Simonas Kazlauskas
|
|
@@ -4130,7 +3898,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRES
|
|
|
4130
3898
|
-----------------------------------------------------------------------------
|
|
4131
3899
|
MIT License
|
|
4132
3900
|
applies to:
|
|
4133
|
-
- convert_case 0.
|
|
3901
|
+
- convert_case 0.9.0 (https://github.com/rutrum/convert-case)
|
|
4134
3902
|
-----------------------------------------------------------------------------
|
|
4135
3903
|
|
|
4136
3904
|
MIT License
|
|
@@ -4158,11 +3926,11 @@ SOFTWARE.
|
|
|
4158
3926
|
-----------------------------------------------------------------------------
|
|
4159
3927
|
MIT License
|
|
4160
3928
|
applies to:
|
|
4161
|
-
- napi-build 2.
|
|
4162
|
-
- napi-derive-backend
|
|
4163
|
-
- napi-derive 3.
|
|
4164
|
-
- napi-sys 3.
|
|
4165
|
-
- napi 3.
|
|
3929
|
+
- napi-build 2.3.1 (https://github.com/napi-rs/napi-rs)
|
|
3930
|
+
- napi-derive-backend 3.0.2 (https://github.com/napi-rs/napi-rs)
|
|
3931
|
+
- napi-derive 3.3.3 (https://github.com/napi-rs/napi-rs)
|
|
3932
|
+
- napi-sys 3.1.1 (https://github.com/napi-rs/napi-rs)
|
|
3933
|
+
- napi 3.5.2 (https://github.com/napi-rs/napi-rs)
|
|
4166
3934
|
-----------------------------------------------------------------------------
|
|
4167
3935
|
|
|
4168
3936
|
MIT License
|
|
@@ -4189,7 +3957,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
4189
3957
|
MIT License
|
|
4190
3958
|
applies to:
|
|
4191
3959
|
- tokio-util 0.7.16 (https://github.com/tokio-rs/tokio)
|
|
4192
|
-
- tokio 1.
|
|
3960
|
+
- tokio 1.48.0 (https://github.com/tokio-rs/tokio)
|
|
4193
3961
|
-----------------------------------------------------------------------------
|
|
4194
3962
|
|
|
4195
3963
|
MIT License
|
package/index.d.ts
CHANGED
|
@@ -10,11 +10,9 @@ export declare class Client {
|
|
|
10
10
|
getDeploymentId(clusterIdOrName: string): Promise<string>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Specific = 'Specific'
|
|
17
|
-
}
|
|
13
|
+
export type BindingType = 'Loopback'|
|
|
14
|
+
'AnyInterface'|
|
|
15
|
+
'Specific';
|
|
18
16
|
|
|
19
17
|
export interface CreateDeploymentOptions {
|
|
20
18
|
name?: string
|
|
@@ -24,6 +22,7 @@ export interface CreateDeploymentOptions {
|
|
|
24
22
|
waitUntilHealthyTimeout?: number
|
|
25
23
|
creationSource?: CreationSource
|
|
26
24
|
localSeedLocation?: string
|
|
25
|
+
loadSampleData?: boolean
|
|
27
26
|
mongodbInitdbDatabase?: string
|
|
28
27
|
mongodbInitdbRootPasswordFile?: string
|
|
29
28
|
mongodbInitdbRootPassword?: string
|
|
@@ -41,12 +40,10 @@ export interface CreationSource {
|
|
|
41
40
|
source: string
|
|
42
41
|
}
|
|
43
42
|
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
Other = 'Other'
|
|
49
|
-
}
|
|
43
|
+
export type CreationSourceType = 'AtlasCLI'|
|
|
44
|
+
'Container'|
|
|
45
|
+
'MCPServer'|
|
|
46
|
+
'Other';
|
|
50
47
|
|
|
51
48
|
export interface Deployment {
|
|
52
49
|
containerId: string
|
|
@@ -62,9 +59,10 @@ export interface Deployment {
|
|
|
62
59
|
mongodbInitdbRootPassword?: string
|
|
63
60
|
mongodbInitdbRootUsernameFile?: string
|
|
64
61
|
mongodbInitdbRootUsername?: string
|
|
62
|
+
mongodbLoadSampleData?: boolean
|
|
65
63
|
mongotLogFile?: string
|
|
66
64
|
runnerLogFile?: string
|
|
67
|
-
doNotTrack
|
|
65
|
+
doNotTrack: boolean
|
|
68
66
|
telemetryBaseUrl?: string
|
|
69
67
|
}
|
|
70
68
|
|
|
@@ -74,17 +72,13 @@ export interface MongoDbPortBinding {
|
|
|
74
72
|
port?: number
|
|
75
73
|
}
|
|
76
74
|
|
|
77
|
-
export
|
|
78
|
-
|
|
79
|
-
Enterprise = 'Enterprise'
|
|
80
|
-
}
|
|
75
|
+
export type MongodbType = 'Community'|
|
|
76
|
+
'Enterprise';
|
|
81
77
|
|
|
82
|
-
export
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
Running = 'Running'
|
|
90
|
-
}
|
|
78
|
+
export type State = 'Created'|
|
|
79
|
+
'Dead'|
|
|
80
|
+
'Exited'|
|
|
81
|
+
'Paused'|
|
|
82
|
+
'Removing'|
|
|
83
|
+
'Restarting'|
|
|
84
|
+
'Running';
|
package/index.js
CHANGED
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
/* auto-generated by NAPI-RS */
|
|
5
5
|
|
|
6
|
-
const { createRequire } = require('node:module')
|
|
7
|
-
require = createRequire(__filename)
|
|
8
|
-
|
|
9
6
|
const { readFileSync } = require('node:fs')
|
|
10
7
|
let nativeBinding = null
|
|
11
8
|
const loadErrors = []
|
|
@@ -80,8 +77,8 @@ function requireNative() {
|
|
|
80
77
|
try {
|
|
81
78
|
const binding = require('@mongodb-js/atlas-local-android-arm64')
|
|
82
79
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-android-arm64/package.json').version
|
|
83
|
-
if (bindingPackageVersion !== '1.0
|
|
84
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
80
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
81
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
85
82
|
}
|
|
86
83
|
return binding
|
|
87
84
|
} catch (e) {
|
|
@@ -96,8 +93,8 @@ function requireNative() {
|
|
|
96
93
|
try {
|
|
97
94
|
const binding = require('@mongodb-js/atlas-local-android-arm-eabi')
|
|
98
95
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-android-arm-eabi/package.json').version
|
|
99
|
-
if (bindingPackageVersion !== '1.0
|
|
100
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
96
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
97
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
101
98
|
}
|
|
102
99
|
return binding
|
|
103
100
|
} catch (e) {
|
|
@@ -108,7 +105,24 @@ function requireNative() {
|
|
|
108
105
|
}
|
|
109
106
|
} else if (process.platform === 'win32') {
|
|
110
107
|
if (process.arch === 'x64') {
|
|
108
|
+
if (process.config?.variables?.shlib_suffix === 'dll.a' || process.config?.variables?.node_target_type === 'shared_library') {
|
|
109
|
+
try {
|
|
110
|
+
return require('./atlas-local.win32-x64-gnu.node')
|
|
111
|
+
} catch (e) {
|
|
112
|
+
loadErrors.push(e)
|
|
113
|
+
}
|
|
111
114
|
try {
|
|
115
|
+
const binding = require('@mongodb-js/atlas-local-win32-x64-gnu')
|
|
116
|
+
const bindingPackageVersion = require('@mongodb-js/atlas-local-win32-x64-gnu/package.json').version
|
|
117
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
118
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
119
|
+
}
|
|
120
|
+
return binding
|
|
121
|
+
} catch (e) {
|
|
122
|
+
loadErrors.push(e)
|
|
123
|
+
}
|
|
124
|
+
} else {
|
|
125
|
+
try {
|
|
112
126
|
return require('./atlas-local.win32-x64-msvc.node')
|
|
113
127
|
} catch (e) {
|
|
114
128
|
loadErrors.push(e)
|
|
@@ -116,13 +130,14 @@ function requireNative() {
|
|
|
116
130
|
try {
|
|
117
131
|
const binding = require('@mongodb-js/atlas-local-win32-x64-msvc')
|
|
118
132
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-win32-x64-msvc/package.json').version
|
|
119
|
-
if (bindingPackageVersion !== '1.0
|
|
120
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
133
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
134
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
121
135
|
}
|
|
122
136
|
return binding
|
|
123
137
|
} catch (e) {
|
|
124
138
|
loadErrors.push(e)
|
|
125
139
|
}
|
|
140
|
+
}
|
|
126
141
|
} else if (process.arch === 'ia32') {
|
|
127
142
|
try {
|
|
128
143
|
return require('./atlas-local.win32-ia32-msvc.node')
|
|
@@ -132,8 +147,8 @@ function requireNative() {
|
|
|
132
147
|
try {
|
|
133
148
|
const binding = require('@mongodb-js/atlas-local-win32-ia32-msvc')
|
|
134
149
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-win32-ia32-msvc/package.json').version
|
|
135
|
-
if (bindingPackageVersion !== '1.0
|
|
136
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
150
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
151
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
137
152
|
}
|
|
138
153
|
return binding
|
|
139
154
|
} catch (e) {
|
|
@@ -148,8 +163,8 @@ function requireNative() {
|
|
|
148
163
|
try {
|
|
149
164
|
const binding = require('@mongodb-js/atlas-local-win32-arm64-msvc')
|
|
150
165
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-win32-arm64-msvc/package.json').version
|
|
151
|
-
if (bindingPackageVersion !== '1.0
|
|
152
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
166
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
167
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
153
168
|
}
|
|
154
169
|
return binding
|
|
155
170
|
} catch (e) {
|
|
@@ -167,8 +182,8 @@ function requireNative() {
|
|
|
167
182
|
try {
|
|
168
183
|
const binding = require('@mongodb-js/atlas-local-darwin-universal')
|
|
169
184
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-darwin-universal/package.json').version
|
|
170
|
-
if (bindingPackageVersion !== '1.0
|
|
171
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
185
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
186
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
172
187
|
}
|
|
173
188
|
return binding
|
|
174
189
|
} catch (e) {
|
|
@@ -183,8 +198,8 @@ function requireNative() {
|
|
|
183
198
|
try {
|
|
184
199
|
const binding = require('@mongodb-js/atlas-local-darwin-x64')
|
|
185
200
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-darwin-x64/package.json').version
|
|
186
|
-
if (bindingPackageVersion !== '1.0
|
|
187
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
201
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
202
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
188
203
|
}
|
|
189
204
|
return binding
|
|
190
205
|
} catch (e) {
|
|
@@ -199,8 +214,8 @@ function requireNative() {
|
|
|
199
214
|
try {
|
|
200
215
|
const binding = require('@mongodb-js/atlas-local-darwin-arm64')
|
|
201
216
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-darwin-arm64/package.json').version
|
|
202
|
-
if (bindingPackageVersion !== '1.0
|
|
203
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
217
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
218
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
204
219
|
}
|
|
205
220
|
return binding
|
|
206
221
|
} catch (e) {
|
|
@@ -219,8 +234,8 @@ function requireNative() {
|
|
|
219
234
|
try {
|
|
220
235
|
const binding = require('@mongodb-js/atlas-local-freebsd-x64')
|
|
221
236
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-freebsd-x64/package.json').version
|
|
222
|
-
if (bindingPackageVersion !== '1.0
|
|
223
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
237
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
238
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
224
239
|
}
|
|
225
240
|
return binding
|
|
226
241
|
} catch (e) {
|
|
@@ -235,8 +250,8 @@ function requireNative() {
|
|
|
235
250
|
try {
|
|
236
251
|
const binding = require('@mongodb-js/atlas-local-freebsd-arm64')
|
|
237
252
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-freebsd-arm64/package.json').version
|
|
238
|
-
if (bindingPackageVersion !== '1.0
|
|
239
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
253
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
254
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
240
255
|
}
|
|
241
256
|
return binding
|
|
242
257
|
} catch (e) {
|
|
@@ -256,8 +271,8 @@ function requireNative() {
|
|
|
256
271
|
try {
|
|
257
272
|
const binding = require('@mongodb-js/atlas-local-linux-x64-musl')
|
|
258
273
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-linux-x64-musl/package.json').version
|
|
259
|
-
if (bindingPackageVersion !== '1.0
|
|
260
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
274
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
275
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
261
276
|
}
|
|
262
277
|
return binding
|
|
263
278
|
} catch (e) {
|
|
@@ -272,8 +287,8 @@ function requireNative() {
|
|
|
272
287
|
try {
|
|
273
288
|
const binding = require('@mongodb-js/atlas-local-linux-x64-gnu')
|
|
274
289
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-linux-x64-gnu/package.json').version
|
|
275
|
-
if (bindingPackageVersion !== '1.0
|
|
276
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
290
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
291
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
277
292
|
}
|
|
278
293
|
return binding
|
|
279
294
|
} catch (e) {
|
|
@@ -290,8 +305,8 @@ function requireNative() {
|
|
|
290
305
|
try {
|
|
291
306
|
const binding = require('@mongodb-js/atlas-local-linux-arm64-musl')
|
|
292
307
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-linux-arm64-musl/package.json').version
|
|
293
|
-
if (bindingPackageVersion !== '1.0
|
|
294
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
308
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
309
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
295
310
|
}
|
|
296
311
|
return binding
|
|
297
312
|
} catch (e) {
|
|
@@ -306,8 +321,8 @@ function requireNative() {
|
|
|
306
321
|
try {
|
|
307
322
|
const binding = require('@mongodb-js/atlas-local-linux-arm64-gnu')
|
|
308
323
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-linux-arm64-gnu/package.json').version
|
|
309
|
-
if (bindingPackageVersion !== '1.0
|
|
310
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
324
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
325
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
311
326
|
}
|
|
312
327
|
return binding
|
|
313
328
|
} catch (e) {
|
|
@@ -324,8 +339,8 @@ function requireNative() {
|
|
|
324
339
|
try {
|
|
325
340
|
const binding = require('@mongodb-js/atlas-local-linux-arm-musleabihf')
|
|
326
341
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-linux-arm-musleabihf/package.json').version
|
|
327
|
-
if (bindingPackageVersion !== '1.0
|
|
328
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
342
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
343
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
329
344
|
}
|
|
330
345
|
return binding
|
|
331
346
|
} catch (e) {
|
|
@@ -340,8 +355,8 @@ function requireNative() {
|
|
|
340
355
|
try {
|
|
341
356
|
const binding = require('@mongodb-js/atlas-local-linux-arm-gnueabihf')
|
|
342
357
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-linux-arm-gnueabihf/package.json').version
|
|
343
|
-
if (bindingPackageVersion !== '1.0
|
|
344
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
358
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
359
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
345
360
|
}
|
|
346
361
|
return binding
|
|
347
362
|
} catch (e) {
|
|
@@ -358,8 +373,8 @@ function requireNative() {
|
|
|
358
373
|
try {
|
|
359
374
|
const binding = require('@mongodb-js/atlas-local-linux-loong64-musl')
|
|
360
375
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-linux-loong64-musl/package.json').version
|
|
361
|
-
if (bindingPackageVersion !== '1.0
|
|
362
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
376
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
377
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
363
378
|
}
|
|
364
379
|
return binding
|
|
365
380
|
} catch (e) {
|
|
@@ -374,8 +389,8 @@ function requireNative() {
|
|
|
374
389
|
try {
|
|
375
390
|
const binding = require('@mongodb-js/atlas-local-linux-loong64-gnu')
|
|
376
391
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-linux-loong64-gnu/package.json').version
|
|
377
|
-
if (bindingPackageVersion !== '1.0
|
|
378
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
392
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
393
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
379
394
|
}
|
|
380
395
|
return binding
|
|
381
396
|
} catch (e) {
|
|
@@ -392,8 +407,8 @@ function requireNative() {
|
|
|
392
407
|
try {
|
|
393
408
|
const binding = require('@mongodb-js/atlas-local-linux-riscv64-musl')
|
|
394
409
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-linux-riscv64-musl/package.json').version
|
|
395
|
-
if (bindingPackageVersion !== '1.0
|
|
396
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
410
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
411
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
397
412
|
}
|
|
398
413
|
return binding
|
|
399
414
|
} catch (e) {
|
|
@@ -408,8 +423,8 @@ function requireNative() {
|
|
|
408
423
|
try {
|
|
409
424
|
const binding = require('@mongodb-js/atlas-local-linux-riscv64-gnu')
|
|
410
425
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-linux-riscv64-gnu/package.json').version
|
|
411
|
-
if (bindingPackageVersion !== '1.0
|
|
412
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
426
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
427
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
413
428
|
}
|
|
414
429
|
return binding
|
|
415
430
|
} catch (e) {
|
|
@@ -425,8 +440,8 @@ function requireNative() {
|
|
|
425
440
|
try {
|
|
426
441
|
const binding = require('@mongodb-js/atlas-local-linux-ppc64-gnu')
|
|
427
442
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-linux-ppc64-gnu/package.json').version
|
|
428
|
-
if (bindingPackageVersion !== '1.0
|
|
429
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
443
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
444
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
430
445
|
}
|
|
431
446
|
return binding
|
|
432
447
|
} catch (e) {
|
|
@@ -441,8 +456,8 @@ function requireNative() {
|
|
|
441
456
|
try {
|
|
442
457
|
const binding = require('@mongodb-js/atlas-local-linux-s390x-gnu')
|
|
443
458
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-linux-s390x-gnu/package.json').version
|
|
444
|
-
if (bindingPackageVersion !== '1.0
|
|
445
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
459
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
460
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
446
461
|
}
|
|
447
462
|
return binding
|
|
448
463
|
} catch (e) {
|
|
@@ -461,8 +476,8 @@ function requireNative() {
|
|
|
461
476
|
try {
|
|
462
477
|
const binding = require('@mongodb-js/atlas-local-openharmony-arm64')
|
|
463
478
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-openharmony-arm64/package.json').version
|
|
464
|
-
if (bindingPackageVersion !== '1.0
|
|
465
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
479
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
480
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
466
481
|
}
|
|
467
482
|
return binding
|
|
468
483
|
} catch (e) {
|
|
@@ -477,8 +492,8 @@ function requireNative() {
|
|
|
477
492
|
try {
|
|
478
493
|
const binding = require('@mongodb-js/atlas-local-openharmony-x64')
|
|
479
494
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-openharmony-x64/package.json').version
|
|
480
|
-
if (bindingPackageVersion !== '1.0
|
|
481
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
495
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
496
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
482
497
|
}
|
|
483
498
|
return binding
|
|
484
499
|
} catch (e) {
|
|
@@ -493,8 +508,8 @@ function requireNative() {
|
|
|
493
508
|
try {
|
|
494
509
|
const binding = require('@mongodb-js/atlas-local-openharmony-arm')
|
|
495
510
|
const bindingPackageVersion = require('@mongodb-js/atlas-local-openharmony-arm/package.json').version
|
|
496
|
-
if (bindingPackageVersion !== '1.0
|
|
497
|
-
throw new Error(`Native binding package version mismatch, expected 1.0
|
|
511
|
+
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
512
|
+
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
498
513
|
}
|
|
499
514
|
return binding
|
|
500
515
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongodb-js/atlas-local",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "A Node.js library for managing MongoDB Atlas Local deployments using Docker. This library provides a high-level JavaScript/TypeScript interface to interact with MongoDB Atlas Local deployments, making it easy to develop and test applications against a local MongoDB Atlas environment.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -43,9 +43,8 @@
|
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"artifacts": "napi artifacts",
|
|
46
|
-
"
|
|
47
|
-
"build": "napi build --platform --
|
|
48
|
-
"build:debug": "napi build --platform",
|
|
46
|
+
"build": "napi build --platform --release --no-const-enum",
|
|
47
|
+
"build:debug": "napi build --platform --no-const-enum",
|
|
49
48
|
"format": "run-p format:prettier format:rs format:toml",
|
|
50
49
|
"format:prettier": "prettier . -w",
|
|
51
50
|
"format:toml": "taplo format",
|
|
@@ -60,7 +59,7 @@
|
|
|
60
59
|
"@emnapi/core": "^1.4.5",
|
|
61
60
|
"@emnapi/runtime": "^1.4.5",
|
|
62
61
|
"@napi-rs/cli": "^3.0.3",
|
|
63
|
-
"@oxc-node/core": "^0.0.
|
|
62
|
+
"@oxc-node/core": "^0.0.35",
|
|
64
63
|
"@taplo/cli": "^0.7.0",
|
|
65
64
|
"@tybys/wasm-util": "^0.10.0",
|
|
66
65
|
"@types/node": "^24.5.2",
|
|
@@ -72,7 +71,7 @@
|
|
|
72
71
|
"nyc": "^17.1.0",
|
|
73
72
|
"oxlint": "^1.8.0",
|
|
74
73
|
"prettier": "^3.6.2",
|
|
75
|
-
"tinybench": "^
|
|
74
|
+
"tinybench": "^6.0.0",
|
|
76
75
|
"typescript": "^5.8.3"
|
|
77
76
|
},
|
|
78
77
|
"lint-staged": {
|
|
@@ -106,10 +105,10 @@
|
|
|
106
105
|
},
|
|
107
106
|
"packageManager": "yarn@4.9.4",
|
|
108
107
|
"optionalDependencies": {
|
|
109
|
-
"@mongodb-js/atlas-local-win32-x64-msvc": "1.0
|
|
110
|
-
"@mongodb-js/atlas-local-darwin-x64": "1.0
|
|
111
|
-
"@mongodb-js/atlas-local-linux-x64-gnu": "1.0
|
|
112
|
-
"@mongodb-js/atlas-local-linux-arm64-gnu": "1.0
|
|
113
|
-
"@mongodb-js/atlas-local-darwin-arm64": "1.0
|
|
108
|
+
"@mongodb-js/atlas-local-win32-x64-msvc": "1.1.0",
|
|
109
|
+
"@mongodb-js/atlas-local-darwin-x64": "1.1.0",
|
|
110
|
+
"@mongodb-js/atlas-local-linux-x64-gnu": "1.1.0",
|
|
111
|
+
"@mongodb-js/atlas-local-linux-arm64-gnu": "1.1.0",
|
|
112
|
+
"@mongodb-js/atlas-local-darwin-arm64": "1.1.0"
|
|
114
113
|
}
|
|
115
114
|
}
|