@dpuse/dpuse-connector-file-store-emulator 0.2.460
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/LICENSE +21 -0
- package/README.md +78 -0
- package/dist/dpuse-connector-file-store-emulator.es.js +2692 -0
- package/dist/dpuse-connector-file-store-emulator.es.js.map +1 -0
- package/dist/dpuse_connector_file_store_emulator_core-BAi7MHDS.js +121 -0
- package/dist/dpuse_connector_file_store_emulator_core-BAi7MHDS.js.map +1 -0
- package/dist/types/src/index.d.ts +18 -0
- package/dist/types/src/rustBridge.d.ts +3 -0
- package/dist/types/vite.config.d.ts +5 -0
- package/dist/types/vitest.config.d.ts +5 -0
- package/package.json +76 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DPUse Pty Ltd
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# DPUse File Store Emulator Connector
|
|
2
|
+
|
|
3
|
+
[](./LICENSE)
|
|
4
|
+
<span><!-- OWASP_BADGES_START -->
|
|
5
|
+
[](https://dpuse.github.io/dpuse-connector-file-store-emulator/dependency-check-reports/dependency-check-report.html)
|
|
6
|
+
|
|
7
|
+
<!-- OWASP_BADGES_END --></span>
|
|
8
|
+
|
|
9
|
+
A TypeScript library that implements the File Store Emulator connector. It provides easy access to a curated set of files for demonstration and evaluation purposes.
|
|
10
|
+
|
|
11
|
+
## Rust WebAssembly Helpers
|
|
12
|
+
|
|
13
|
+
The connector now ships with a lightweight Rust crate located in [rust/dpuse-connector-file-store-emulator-core](rust/dpuse-connector-file-store-emulator-core). It is compiled to WebAssembly with `wasm-pack` so TypeScript can call native Rust logic.
|
|
14
|
+
|
|
15
|
+
- Run `npm run build:rust` (requires the [`wasm-pack` CLI](https://rustwasm.github.io/wasm-pack/installer/)) whenever you change the Rust sources. The command rebuilds the package into [rust/dpuse-connector-file-store-emulator-core/pkg](rust/dpuse-connector-file-store-emulator-core/pkg).
|
|
16
|
+
- The async wrapper in [src/rustBridge.ts](src/rustBridge.ts) lazy-loads the generated bindings and surfaces helpers like `addNumbersWithRust()` and `checksumWithRust()`.
|
|
17
|
+
- `FileStoreEmulatorConnector` exposes `addUsingRust()` and `versionChecksumUsingRust()` so consumers can exercise the Rust-backed functionality without dealing with low-level WebAssembly plumbing.
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
There’s no need to install this connector manually. Once released, it’s uploaded to the Data Positioning Engine cloud and becomes instantly available to all new instances of the browser app. A notification about the new version is also sent to all existing browser apps.
|
|
22
|
+
|
|
23
|
+
## Reports & Compliance
|
|
24
|
+
|
|
25
|
+
### Dependency Check Report
|
|
26
|
+
|
|
27
|
+
The OWASP Dependency Check Report identifies known vulnerabilities in project dependencies. It is generated automatically on each release using the npm package `owasp-dependency-check`. We also rely on GitHub Dependabot to continuously check for vulnerabilities across all dependencies.
|
|
28
|
+
|
|
29
|
+
[View the OWASP Dependency Check Report](https://dpuse.github.io/dpuse-connector-file-store-emulator/dependency-check-reports/dependency-check-report.html)
|
|
30
|
+
|
|
31
|
+
### Dependency Licenses
|
|
32
|
+
|
|
33
|
+
The following table lists top-level production and peer dependencies. All these dependencies (including transitive ones) have been recursively verified to use Apache-2.0, CC0-1.0, or MIT—commercially friendly licenses with minimal restrictions. Developers cloning this repository should independently verify dev and optional dependencies; users of the uploaded library are covered by these checks.
|
|
34
|
+
|
|
35
|
+
<!-- DEPENDENCY_LICENSES_START -->
|
|
36
|
+
|
|
37
|
+
| Name | Type | Installed | Latest | Latest Released | Deps | Document |
|
|
38
|
+
| :------------------ | :--- | :-------: | :-----: | :--------------------- | ---: | :------------------------------------------------------------------ |
|
|
39
|
+
| @dpuse/dpuse-shared | MIT | 0.3.594 | 0.3.594 | this month: 2026-03-22 | 0 | ⚠️ No license file |
|
|
40
|
+
| nanoid | MIT | 5.1.7 | 5.1.7 | this month: 2026-03-15 | 0 | [LICENSE](https://raw.githubusercontent.com/ai/nanoid/main/LICENSE) |
|
|
41
|
+
|
|
42
|
+
<!-- DEPENDENCY_LICENSES_END -->
|
|
43
|
+
|
|
44
|
+
**Installed dependencies are kept up-to-date with latest releases.**
|
|
45
|
+
|
|
46
|
+
### Bundle Analysis Report
|
|
47
|
+
|
|
48
|
+
The Bundle Analysis Report provides a detailed breakdown of the bundle's composition and module sizes, helping to identify which modules contribute most to the final build. It is generated automatically on each release using the npm package `rollup-plugin-visualizer`.
|
|
49
|
+
|
|
50
|
+
[View the Bundle Analysis Report](https://dpuse.github.io/dpuse-connector-file-store-emulator/stats/index.html)
|
|
51
|
+
|
|
52
|
+
## Repository Management Commands
|
|
53
|
+
|
|
54
|
+
The following list details the repository management commands implementation by this project. For more details, please refer to the scripts section of the 'package.json' file in this project.
|
|
55
|
+
|
|
56
|
+
| Name | VSCode Shortcuts | Notes |
|
|
57
|
+
| -------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------- |
|
|
58
|
+
| audit | alt+ctrl+shift+a | Audit the project's dependencies for known security vulnerabilities. |
|
|
59
|
+
| build | alt+ctrl+shift+b | Type-check, compile and minify for production. Output in '/dist' directory. |
|
|
60
|
+
| build:rust | | Compile the Rust helper crate to WebAssembly via `wasm-pack`. Requires the `wasm-pack` CLI in your PATH. |
|
|
61
|
+
| buildConnectorConfig | | |
|
|
62
|
+
| bumpVersion | alt+ctrl+shift+v | |
|
|
63
|
+
| check | alt+ctrl+shift+c | List the dependencies in the project that are outdated. |
|
|
64
|
+
| document | alt+ctrl+shift+d | Identify the licenses of the project's dependencies. |
|
|
65
|
+
| format | alt+ctrl+shift+f | Enforce formatting style rules. |
|
|
66
|
+
| lint | alt+ctrl+shift+l | Check the code for potential errors and enforces coding styles. |
|
|
67
|
+
| publishToNPM | alt+ctrl+shift+p | ❌ Not implemented. |
|
|
68
|
+
| release | alt+ctrl+shift+r | Synchronise local repository with the main GitHub repository and upload connector to Data Positioning platform. |
|
|
69
|
+
| syncWithGitHub | alt+ctrl+shift+s | Synchronise local repository with the main GitHub repository. |
|
|
70
|
+
| updateDependencies | alt+ctrl+shift+l | Install the latest version of all Data Positioning dependencies. |
|
|
71
|
+
|
|
72
|
+
## Compliance
|
|
73
|
+
|
|
74
|
+
The following badge reflects FOSSA's assessment of this repository's open-source license compliance.
|
|
75
|
+
|
|
76
|
+
## License
|
|
77
|
+
|
|
78
|
+
[MIT](./LICENSE) © 2026 Data Positioning Pty Ltd
|