@lossless.org/objectstorage 10.0.1 → 10.2.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 (44) hide show
  1. package/.smartconfig.json +38 -7
  2. package/dist_rust/ruststorage_linux_amd64 +0 -0
  3. package/dist_rust/ruststorage_linux_amd64.tsrust-build.json +4 -4
  4. package/dist_rust/ruststorage_linux_amd64_musl +0 -0
  5. package/dist_rust/ruststorage_linux_amd64_musl.tsrust-build.json +14 -0
  6. package/dist_rust/ruststorage_linux_arm64 +0 -0
  7. package/dist_rust/ruststorage_linux_arm64.tsrust-build.json +4 -4
  8. package/dist_rust/ruststorage_linux_arm64_musl +0 -0
  9. package/dist_rust/ruststorage_linux_arm64_musl.tsrust-build.json +14 -0
  10. package/dist_rust/ruststorage_macos_amd64 +0 -0
  11. package/dist_rust/ruststorage_macos_amd64.tsrust-build.json +14 -0
  12. package/dist_rust/ruststorage_macos_arm64 +0 -0
  13. package/dist_rust/ruststorage_macos_arm64.tsrust-build.json +14 -0
  14. package/dist_ts/00_commitinfo_data.js +1 -1
  15. package/dist_ts/index.d.ts +1 -1
  16. package/dist_ts/index.js +4 -3
  17. package/dist_ts/plugins.d.ts +2 -2
  18. package/dist_ts/plugins.js +3 -3
  19. package/package.json +11 -4
  20. package/readme.md +47 -3
  21. package/third-party-notices.md +33 -8
  22. package/third_party_licenses/inventory.json +23 -4
  23. package/third_party_licenses/native/gcc-16.2.0/gpl-3.0.txt +674 -0
  24. package/third_party_licenses/native/gcc-16.2.0/runtime-exception.txt +73 -0
  25. package/third_party_licenses/native/musl-1.2.5/copyright +193 -0
  26. package/third_party_licenses/native/musl-1.2.6/copyright +193 -0
  27. package/third_party_licenses/native/rust-1.95.0/copyright-library.html +8266 -0
  28. package/third_party_licenses/native/rust-1.95.0/copyright.html +278689 -0
  29. package/third_party_licenses/native/rust-1.95.0/licenses/apache-2.0.txt +73 -0
  30. package/third_party_licenses/native/rust-1.95.0/licenses/bsd-2-clause.txt +9 -0
  31. package/third_party_licenses/native/rust-1.95.0/licenses/cc-by-sa-4.0.txt +427 -0
  32. package/third_party_licenses/native/rust-1.95.0/licenses/gcc-exception-3.1.txt +30 -0
  33. package/third_party_licenses/native/rust-1.95.0/licenses/gpl-2.0-only.txt +133 -0
  34. package/third_party_licenses/native/rust-1.95.0/licenses/gpl-3.0-or-later.txt +202 -0
  35. package/third_party_licenses/native/rust-1.95.0/licenses/isc.txt +7 -0
  36. package/third_party_licenses/native/rust-1.95.0/licenses/llvm-exception.txt +15 -0
  37. package/third_party_licenses/native/rust-1.95.0/licenses/mit.txt +9 -0
  38. package/third_party_licenses/native/rust-1.95.0/licenses/ncsa.txt +29 -0
  39. package/third_party_licenses/native/rust-1.95.0/licenses/ofl-1.1.txt +43 -0
  40. package/third_party_licenses/native/rust-1.95.0/licenses/unicode-3.0.txt +39 -0
  41. package/third_party_licenses/native-inventory.json +106 -0
  42. package/ts/00_commitinfo_data.ts +1 -1
  43. package/ts/index.ts +4 -2
  44. package/ts/plugins.ts +2 -2
@@ -0,0 +1,106 @@
1
+ {
2
+ "components": [
3
+ {
4
+ "component": "Rust standard library, compiler-builtins and unwind runtime",
5
+ "version": "1.95.0",
6
+ "source": "https://github.com/rust-lang/rust/tree/1.95.0",
7
+ "materials": "native/rust-1.95.0",
8
+ "note": "Complete upstream copyright inventory includes compiler/build-only components as well as runtime components; inclusion does not imply every listed component is linked."
9
+ },
10
+ {
11
+ "component": "musl (Rust self-contained runtime)",
12
+ "version": "1.2.5 with Rust 1.95.0 patches",
13
+ "source": "https://github.com/rust-lang/rust/blob/1.95.0/src/ci/docker/scripts/musl.sh",
14
+ "license": "MIT and notices in COPYRIGHT",
15
+ "materials": "native/musl-1.2.5"
16
+ },
17
+ {
18
+ "component": "musl (cross-compiler sysroot)",
19
+ "version": "1.2.6",
20
+ "source": "https://github.com/cross-tools/musl-cross/releases/tag/20260823",
21
+ "license": "MIT and notices in COPYRIGHT",
22
+ "materials": "native/musl-1.2.6"
23
+ },
24
+ {
25
+ "component": "GCC runtime",
26
+ "version": "16.2.0",
27
+ "source": "https://github.com/gcc-mirror/gcc/tree/releases/gcc-16.2.0",
28
+ "license": "GPL-3.0-or-later WITH GCC-exception-3.1",
29
+ "materials": "native/gcc-16.2.0"
30
+ }
31
+ ],
32
+ "files": [
33
+ {
34
+ "path": "native/gcc-16.2.0/gpl-3.0.txt",
35
+ "sha256": "8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903"
36
+ },
37
+ {
38
+ "path": "native/gcc-16.2.0/runtime-exception.txt",
39
+ "sha256": "9d6b43ce4d8de0c878bf16b54d8e7a10d9bd42b75178153e3af6a815bdc90f74"
40
+ },
41
+ {
42
+ "path": "native/musl-1.2.5/copyright",
43
+ "sha256": "f9bc4423732350eb0b3f7ed7e91d530298476f8fec0c6c427a1c04ade22655af"
44
+ },
45
+ {
46
+ "path": "native/musl-1.2.6/copyright",
47
+ "sha256": "b870108ec5e7790e9f9919064f1b9421d62d5f9b0e6c230c6adf7ea2da62e97b"
48
+ },
49
+ {
50
+ "path": "native/rust-1.95.0/copyright-library.html",
51
+ "sha256": "90567e2718bf7fd65a71a3a43c5596488e80e5f51ed02bfea6fec54458b5f3d1"
52
+ },
53
+ {
54
+ "path": "native/rust-1.95.0/copyright.html",
55
+ "sha256": "9bd02a099a3f9fdf977f9dd6ea3dc664723e992a267d86f447ea9e7d068824ac"
56
+ },
57
+ {
58
+ "path": "native/rust-1.95.0/licenses/apache-2.0.txt",
59
+ "sha256": "074e6e32c86a4c0ef8b3ed25b721ca23aca83df277cd88106ef7177c354615ff"
60
+ },
61
+ {
62
+ "path": "native/rust-1.95.0/licenses/bsd-2-clause.txt",
63
+ "sha256": "f32fb3b417a194167cfad068223fc975ba96c5960513a10f66a3c28720aec1df"
64
+ },
65
+ {
66
+ "path": "native/rust-1.95.0/licenses/cc-by-sa-4.0.txt",
67
+ "sha256": "23ee78c8bae49cf08ea2f0c84945c66b987ebe4520881fb51b3dad4fb43d07c2"
68
+ },
69
+ {
70
+ "path": "native/rust-1.95.0/licenses/gcc-exception-3.1.txt",
71
+ "sha256": "a3966c9410ef94a1efbfa9ec04e9c1994026a70623fbf0885ce36737bfba3b54"
72
+ },
73
+ {
74
+ "path": "native/rust-1.95.0/licenses/gpl-2.0-only.txt",
75
+ "sha256": "54b212ba1f97f6948fa5486239ab505dd820b02e50cbfd296b4062c8609a70af"
76
+ },
77
+ {
78
+ "path": "native/rust-1.95.0/licenses/gpl-3.0-or-later.txt",
79
+ "sha256": "05315fce6c35f79b8a35454828995fa26336f235895ac64557abc028f4ffcea2"
80
+ },
81
+ {
82
+ "path": "native/rust-1.95.0/licenses/isc.txt",
83
+ "sha256": "0ff61769b238634e042ab759dddfd104a8e69d091e3600ae3410e401a6164381"
84
+ },
85
+ {
86
+ "path": "native/rust-1.95.0/licenses/llvm-exception.txt",
87
+ "sha256": "e34c58338bd89d43e709e226610d8f32b3e3c47f4ad9a99a8dc1d4ac7842488e"
88
+ },
89
+ {
90
+ "path": "native/rust-1.95.0/licenses/mit.txt",
91
+ "sha256": "b85dcd3e453d05982552c52b5fc9e0bdd6d23c6f8e844b984a88af32570b0cc0"
92
+ },
93
+ {
94
+ "path": "native/rust-1.95.0/licenses/ncsa.txt",
95
+ "sha256": "39cb0234065c92b9e6cee3830cbb52b1aa289aa8fe9ba2e66730fec5cf05c630"
96
+ },
97
+ {
98
+ "path": "native/rust-1.95.0/licenses/ofl-1.1.txt",
99
+ "sha256": "8eea8287e5876b539670cadb82e99f9a7afddec6f6730811be1daf25d2e9bcfd"
100
+ },
101
+ {
102
+ "path": "native/rust-1.95.0/licenses/unicode-3.0.txt",
103
+ "sha256": "f5062c9a188d81dfe66b56db4182dcf9e4b17c0d9b0d311a8e20b3a1b075c443"
104
+ }
105
+ ]
106
+ }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@lossless.org/objectstorage',
6
- version: '10.0.1',
6
+ version: '10.2.0',
7
7
  description: 'A Node.js TypeScript package to create a local S3-compatible storage server using mapped local directories for development and testing purposes.'
8
8
  }
package/ts/index.ts CHANGED
@@ -224,6 +224,7 @@ export interface IStoragePoolFilesystemObservation {
224
224
  }
225
225
 
226
226
  export type TStoragePoolFailureCode =
227
+ | 'platformUnsupported'
227
228
  | 'pathUnavailable'
228
229
  | 'mountInfoInvalid'
229
230
  | 'exactMountRequired'
@@ -1260,8 +1261,8 @@ function createSecretAccessKey(): string {
1260
1261
 
1261
1262
  function getRustStorageBinaryNames(): string[] {
1262
1263
  const platformTargetMap: Record<string, string> = {
1263
- 'linux:x64': 'linux_amd64',
1264
- 'linux:arm64': 'linux_arm64',
1264
+ 'linux:x64': 'linux_amd64_musl',
1265
+ 'linux:arm64': 'linux_arm64_musl',
1265
1266
  'darwin:x64': 'macos_amd64',
1266
1267
  'darwin:arm64': 'macos_arm64',
1267
1268
  };
@@ -1433,6 +1434,7 @@ export class ObjectStorage {
1433
1434
  );
1434
1435
  this.bridge = new plugins.RustBridge<TRustStorageCommands>({
1435
1436
  binaryName: 'ruststorage',
1437
+ envVarName: 'OBJECTSTORAGE_RUST_BINARY',
1436
1438
  localPaths: localBinaryPaths,
1437
1439
  readyTimeoutMs: 30000,
1438
1440
  requestTimeoutMs: 300000,
package/ts/plugins.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  // node native
2
- import * as crypto from 'crypto';
3
- import * as path from 'path';
2
+ import * as crypto from 'node:crypto';
3
+ import * as path from 'node:path';
4
4
 
5
5
  export { crypto, path };
6
6