@lossless.org/nosqldb 8.0.2 → 9.0.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.
Files changed (45) hide show
  1. package/.smartconfig.json +10 -7
  2. package/dist_rust/rustdb_linux_amd64 +0 -0
  3. package/dist_rust/rustdb_linux_amd64.tsrust-build.json +4 -4
  4. package/dist_rust/rustdb_linux_amd64_musl +0 -0
  5. package/dist_rust/rustdb_linux_amd64_musl.tsrust-build.json +14 -0
  6. package/dist_rust/rustdb_linux_arm64 +0 -0
  7. package/dist_rust/rustdb_linux_arm64.tsrust-build.json +4 -4
  8. package/dist_rust/rustdb_linux_arm64_musl +0 -0
  9. package/dist_rust/rustdb_linux_arm64_musl.tsrust-build.json +14 -0
  10. package/dist_rust/rustdb_macos_amd64 +0 -0
  11. package/dist_rust/rustdb_macos_amd64.tsrust-build.json +4 -4
  12. package/dist_rust/rustdb_macos_arm64 +0 -0
  13. package/dist_rust/rustdb_macos_arm64.tsrust-build.json +4 -4
  14. package/dist_ts/00_commitinfo_data.js +1 -1
  15. package/dist_ts/ts_local/classes.localnosqldb.js +6 -6
  16. package/dist_ts/ts_nosqldb/rust-db-bridge.d.ts +1 -1
  17. package/dist_ts/ts_nosqldb/rust-db-bridge.js +6 -5
  18. package/package.json +8 -4
  19. package/readme.md +13 -6
  20. package/third-party-notices.md +56 -1
  21. package/third_party_licenses/compiler-builtins-license.txt +275 -0
  22. package/third_party_licenses/gcc-gpl-3.0.txt +674 -0
  23. package/third_party_licenses/gcc-runtime-exception.txt +73 -0
  24. package/third_party_licenses/glibc-lgpl-2.1.txt +502 -0
  25. package/third_party_licenses/inventory.json +277 -0
  26. package/third_party_licenses/musl-1.2.5-copyright.txt +193 -0
  27. package/third_party_licenses/musl-1.2.6-copyright.txt +193 -0
  28. package/third_party_licenses/rust-copyright.html +300673 -0
  29. package/third_party_licenses/rust-license-apache-2.0.txt +73 -0
  30. package/third_party_licenses/rust-license-bsd-2-clause.txt +9 -0
  31. package/third_party_licenses/rust-license-cc-by-sa-4.0.txt +427 -0
  32. package/third_party_licenses/rust-license-gcc-exception-3.1.txt +30 -0
  33. package/third_party_licenses/rust-license-gpl-2.0-only.txt +133 -0
  34. package/third_party_licenses/rust-license-gpl-3.0-or-later.txt +202 -0
  35. package/third_party_licenses/rust-license-isc.txt +7 -0
  36. package/third_party_licenses/rust-license-llvm-exception.txt +15 -0
  37. package/third_party_licenses/rust-license-mit.txt +9 -0
  38. package/third_party_licenses/rust-license-ncsa.txt +29 -0
  39. package/third_party_licenses/rust-license-ofl-1.1.txt +43 -0
  40. package/third_party_licenses/rust-license-unicode-3.0.txt +39 -0
  41. package/third_party_licenses/rust-standard-library.html +29614 -0
  42. package/ts/00_commitinfo_data.ts +1 -1
  43. package/ts/ts_local/classes.localnosqldb.ts +5 -5
  44. package/ts/ts_nosqldb/rust-db-bridge.ts +5 -4
  45. /package/{license → license.md} +0 -0
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@lossless.org/nosqldb',
6
- version: '8.0.2',
6
+ version: '9.0.0',
7
7
  description: 'A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.'
8
8
  }
@@ -1,8 +1,8 @@
1
- import * as crypto from 'crypto';
2
- import * as fs from 'fs/promises';
3
- import * as net from 'net';
4
- import * as path from 'path';
5
- import * as os from 'os';
1
+ import * as crypto from 'node:crypto';
2
+ import * as fs from 'node:fs/promises';
3
+ import * as net from 'node:net';
4
+ import * as path from 'node:path';
5
+ import * as os from 'node:os';
6
6
  import {
7
7
  NoSqlDbServer,
8
8
  type INoSqlDbAuthOptions,
@@ -1,8 +1,8 @@
1
1
  import * as plugins from './plugins.js';
2
2
  import { normalizeNoSqlDbFileStorageOptions } from './file-storage-options.js';
3
- import * as path from 'path';
4
- import * as url from 'url';
5
- import { EventEmitter } from 'events';
3
+ import * as path from 'node:path';
4
+ import * as url from 'node:url';
5
+ import { EventEmitter } from 'node:events';
6
6
  import {
7
7
  normalizeNoSqlDbStorageRehearsalInput,
8
8
  type INoSqlDbStorageRehearsalInput,
@@ -360,7 +360,8 @@ function getTsrustPlatformSuffix(): string | null {
360
360
  const os = osMap[process.platform];
361
361
  const arch = archMap[process.arch];
362
362
  if (os && arch) {
363
- return `${os}_${arch}`;
363
+ // Static musl runs on both Alpine and glibc hosts without probing host libc.
364
+ return `${os}_${arch}${os === 'linux' ? '_musl' : ''}`;
364
365
  }
365
366
  return null;
366
367
  }
File without changes