@datapos/datapos-shared 0.3.51 → 0.3.54
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/README.md +4 -4
- package/dist/types/src/engine.d.ts +2 -2
- package/dist/types/src/index.d.ts +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -28,16 +28,16 @@ let connectorConfig: ConnectorConfig;
|
|
|
28
28
|
getComponentStatus('alpha');
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
## Repository Management Commands
|
|
31
|
+
## Repository Common Management Commands
|
|
32
32
|
|
|
33
33
|
The table below lists the repository management commands available in this project.
|
|
34
|
-
For detailed implementation, see the `scripts` section in `package.json
|
|
34
|
+
For detailed implementation, see the `scripts` section in the `package.json` file.
|
|
35
35
|
|
|
36
36
|
| Name | Key Code | Notes |
|
|
37
37
|
| ------------------ | ---------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
38
38
|
| audit | alt+ctrl+shift+a | Audit the project's dependencies for known security vulnerabilities. |
|
|
39
39
|
| build | alt+ctrl+shift+b | Build the package using Vite. |
|
|
40
|
-
| check | alt+ctrl+shift+c | List outdated dependencies.
|
|
40
|
+
| check | alt+ctrl+shift+c | List outdated dependencies and run retire scanner. |
|
|
41
41
|
| document | alt+ctrl+shift+d | Identify licenses of the project's production and peer dependencies. See [LICENSES.json](./LICENSES.json). |
|
|
42
42
|
| format | alt+ctrl+shift+f | Enforce formatting style rules. |
|
|
43
43
|
| lint | alt+ctrl+shift+l | Check the code for errors and enforce coding style rules. |
|
|
@@ -48,7 +48,7 @@ For detailed implementation, see the `scripts` section in `package.json`.
|
|
|
48
48
|
|
|
49
49
|
## Compliance
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
The following badge reflects FOSSA's assessment of this repository's open-source license compliance.
|
|
52
52
|
|
|
53
53
|
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fdata-positioning%2Fdatapos-shared?ref=badge_large&issueType=license)
|
|
54
54
|
|
|
@@ -9,9 +9,9 @@ type ProcessContextRequest = (id: string, contextConfig: ContextConfig, settings
|
|
|
9
9
|
export type ConnectorInterfaceResult = AuditContentResult | DataViewPreviewConfig | ListResult | RetrieveResult;
|
|
10
10
|
export interface Engine {
|
|
11
11
|
getEncodingConfigs: (localeId: string) => EncodingConfig[];
|
|
12
|
-
invokeWorker(errorEventCallback: (errorEvent: ErrorEvent) => void):
|
|
12
|
+
invokeWorker(errorEventCallback: (errorEvent: ErrorEvent) => void): EngineWorker;
|
|
13
13
|
}
|
|
14
|
-
export interface
|
|
14
|
+
export interface EngineWorker {
|
|
15
15
|
initialise: InitialiseEngine;
|
|
16
16
|
processConnectorRequest: ProcessConnectorRequest;
|
|
17
17
|
processContextRequest: ProcessContextRequest;
|
|
@@ -18,7 +18,7 @@ export type { Context, ContextConfig, ContextFocusConfig, ContextFocusConfigList
|
|
|
18
18
|
export type { ContextEntityConfig, ContextEntityEventConfig, ContextHierarchyConfig, ContextViewConfig, Event } from './context';
|
|
19
19
|
export type { DataFormatId, EncodingConfig, RecordDelimiterId, ValueDelimiterId } from './dataView';
|
|
20
20
|
export type { DataViewConfig, DataViewContentAuditConfig, DataViewPreviewConfig, DataViewRelationshipsAuditConfig, ParsedValue } from './dataView';
|
|
21
|
-
export type { ConnectorInterfaceResult, ContextInterfaceResult, Engine,
|
|
21
|
+
export type { ConnectorInterfaceResult, ContextInterfaceResult, Engine, EngineWorker } from './engine';
|
|
22
22
|
export { APIError, ApplicationError, EngineError, FetchError, OperationalError, VueError, WindowRuntimeError, WindowPromiseRejectionError } from './errors';
|
|
23
23
|
export type { SerialisedError } from './errors';
|
|
24
24
|
export type { EventQueryConfig } from './eventQuery';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.3.
|
|
5
|
+
"version": "0.3.54",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"types": "./dist/types/src/index.d.ts",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@datapos/datapos-development": "^0.3.
|
|
19
|
+
"@datapos/datapos-development": "^0.3.25",
|
|
20
20
|
"@types/node": "^24.5.2",
|
|
21
21
|
"@typescript-eslint/eslint-plugin": "^8.44.0",
|
|
22
22
|
"@typescript-eslint/parser": "^8.44.0",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"license-report-check": "^0.1.2",
|
|
29
29
|
"npm-check-updates": "^18.3.0",
|
|
30
30
|
"prettier": "^3.6.2",
|
|
31
|
+
"retire": "^5.3.0",
|
|
31
32
|
"typescript": "^5.9.2",
|
|
32
33
|
"vite": "^7.1.6",
|
|
33
34
|
"vite-plugin-dts": "^4.5.4"
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
"audit": "npm audit",
|
|
37
38
|
"build": "vite build",
|
|
38
39
|
"bumpVersion": "node -e \"require('@datapos/datapos-development').bumpVersion()\"",
|
|
39
|
-
"check": "npm outdated; npm-check-updates -i",
|
|
40
|
+
"check": "npm outdated; npm-check-updates -i && retire",
|
|
40
41
|
"document": "license-report --only=prod,peer > LICENSES.json && license-report-check --source ./LICENSES.json --allowed 'MIT' --allowed 'n/a' --allowed 'Apache-2.0' --output=table",
|
|
41
42
|
"format": "prettier --write *.ts",
|
|
42
43
|
"lint": "eslint",
|