@dpuse/dpuse-shared 0.3.675 → 0.3.677
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 +6 -7
- package/dist/dpuse-shared-component.es.js +1 -1
- package/dist/dpuse-shared-componentModuleConnector.es.js +2 -2
- package/dist/dpuse-shared-componentModuleContext.es.js +2 -2
- package/dist/dpuse-shared-componentModulePresenter.es.js +2 -2
- package/dist/dpuse-shared-componentModuleTool.es.js +5 -7
- package/dist/{moduleConfig.schema-CMPetJQa.js → moduleConfig.schema-DGEZc-oy.js} +1 -1
- package/dist/types/eslint.config.d.ts +2 -0
- package/package.json +44 -51
- package/README.pdf +0 -0
- /package/dist/{componentConfig.schema-DTtYL9IP.js → componentConfig.schema-C75xefrQ.js} +0 -0
package/README.md
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
# Data Positioning Shared Library
|
|
2
2
|
|
|
3
|
-
<span><!-- OWASP_BADGES_START -->
|
|
4
|
-
[](https://dpuse.github.io/dpuse-shared/dependency-check-reports/dependency-check-report.html)
|
|
5
|
-
<!-- OWASP_BADGES_END --></span>
|
|
6
|
-
|
|
7
|
-
[](https://www.npmjs.com/package/@dpuse/dpuse-shared)
|
|
8
3
|
[](./LICENSE)
|
|
4
|
+
[](https://www.npmjs.com/package/@dpuse/dpuse-shared)
|
|
9
5
|
|
|
10
6
|
A library containing common constants, types and utilities used across all Data Positioning projects.
|
|
11
7
|
|
|
@@ -124,10 +120,13 @@ The following table lists top-level production and peer dependencies. All these
|
|
|
124
120
|
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, BSD-2-Clause, 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 published library are covered by these checks. We do not include unlicensed dependencies. Used to support development activity and not released as part of the production release. Check if you clone. We use the `npm` packages [license-report](https://www.npmjs.com/package/license-report), [license-report-check](https://www.npmjs.com/package/license-report-check) and [license-report-recursive](https://www.npmjs.com/package/license-report-recursive) to identify dependency licenses.
|
|
125
121
|
|
|
126
122
|
<!-- DEPENDENCY_LICENSES_START -->
|
|
127
|
-
|Name|
|
|
128
|
-
|
|
123
|
+
|Name|Version|License(s)|Document|
|
|
124
|
+
|-|:-:|-|-|
|
|
129
125
|
|
|
130
126
|
<!-- DEPENDENCY_LICENSES_END -->
|
|
127
|
+
<!-- DEPENDENCY_TREE_START -->
|
|
128
|
+
|
|
129
|
+
<!-- DEPENDENCY_TREE_END -->
|
|
131
130
|
|
|
132
131
|
**Installed dependencies are kept up-to-date with latest releases.**
|
|
133
132
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createLabelMap as e, resolveLabel as t } from "./dpuse-shared-locale.es.js";
|
|
2
|
-
import { a as n, c as r, d as i, f as a, i as o, l as s, m as c, o as l, p as u, s as d, u as f } from "./componentConfig.schema-
|
|
3
|
-
import { t as p } from "./moduleConfig.schema-
|
|
2
|
+
import { a as n, c as r, d as i, f as a, i as o, l as s, m as c, o as l, p as u, s as d, u as f } from "./componentConfig.schema-C75xefrQ.js";
|
|
3
|
+
import { t as p } from "./moduleConfig.schema-DGEZc-oy.js";
|
|
4
4
|
//#region src/component/module/connector/connectorConfig.schema.ts
|
|
5
5
|
var m = n([
|
|
6
6
|
"application",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, o as r, r as i, t as a, u as o } from "./componentConfig.schema-
|
|
2
|
-
import { t as s } from "./moduleConfig.schema-
|
|
1
|
+
import { a as e, c as t, d as n, o as r, r as i, t as a, u as o } from "./componentConfig.schema-C75xefrQ.js";
|
|
2
|
+
import { t as s } from "./moduleConfig.schema-DGEZc-oy.js";
|
|
3
3
|
//#region src/component/module/context/contextConfig.schema.ts
|
|
4
4
|
var c = n({
|
|
5
5
|
...a,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, o as r, r as i } from "./componentConfig.schema-
|
|
2
|
-
import { t as a } from "./moduleConfig.schema-
|
|
1
|
+
import { a as e, c as t, d as n, o as r, r as i } from "./componentConfig.schema-C75xefrQ.js";
|
|
2
|
+
import { t as a } from "./moduleConfig.schema-DGEZc-oy.js";
|
|
3
3
|
//#region src/component/module/presenter/presenterConfig.schema.ts
|
|
4
4
|
var o = e([
|
|
5
5
|
"list",
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
let r = `dpuse-tool-${n}`, i = t.find((e) => e.id === r);
|
|
5
|
-
if (!i) throw Error(`Connector could not load unknown tool '${n}'.`);
|
|
1
|
+
async function e(e, t) {
|
|
2
|
+
let n = `dpuse-tool-${t}`, r = e.find((e) => e.id === n);
|
|
3
|
+
if (!r) throw Error(`Connector could not load unknown tool '${t}'.`);
|
|
6
4
|
return new (await (import(
|
|
7
5
|
/* @vite-ignore */
|
|
8
|
-
|
|
6
|
+
`https://engine-eu.dpuse.app/tools/${t}_v${r.version}/${n}.es.js`
|
|
9
7
|
))).Tool();
|
|
10
8
|
}
|
|
11
9
|
//#endregion
|
|
12
|
-
export {
|
|
10
|
+
export { e as loadTool };
|
package/package.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dpuse/dpuse-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.677",
|
|
4
|
+
"private": false,
|
|
4
5
|
"description": "Common constants, types and utilities used across all DPUse projects.",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"author": "Jonathan Terrell <terrell.jm@gmail.com>",
|
|
7
|
-
"private": false,
|
|
8
8
|
"type": "module",
|
|
9
|
+
"sideEffects": false,
|
|
9
10
|
"homepage": "https://www.dpuse.app",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/data-positioning/dpuse-shared/issues"
|
|
13
|
+
},
|
|
10
14
|
"repository": {
|
|
11
15
|
"type": "git",
|
|
12
16
|
"url": "git+https://github.com/data-positioning/dpuse-shared.git"
|
|
13
17
|
},
|
|
14
|
-
"bugs": {
|
|
15
|
-
"url": "https://github.com/data-positioning/dpuse-shared/issues"
|
|
16
|
-
},
|
|
17
18
|
"module": "./dist/dpuse-shared.es.js",
|
|
18
19
|
"types": "./dist/types/src/index.d.ts",
|
|
19
20
|
"exports": {
|
|
@@ -110,63 +111,55 @@
|
|
|
110
111
|
"types": "./dist/types/src/utilities/index.d.ts"
|
|
111
112
|
}
|
|
112
113
|
},
|
|
113
|
-
"sideEffects": false,
|
|
114
114
|
"files": [
|
|
115
115
|
"dist"
|
|
116
116
|
],
|
|
117
|
+
"engines": {
|
|
118
|
+
"node": ">=22.0.0",
|
|
119
|
+
"npm": ">=11.0.0"
|
|
120
|
+
},
|
|
117
121
|
"prettier": "@dpuse/dpuse-development/prettierrc",
|
|
118
|
-
"
|
|
119
|
-
"@
|
|
120
|
-
"@
|
|
121
|
-
"@types/node": "^25.7.0",
|
|
122
|
-
"@typescript-eslint/eslint-plugin": "^8.59.3",
|
|
123
|
-
"@typescript-eslint/parser": "^8.59.3",
|
|
124
|
-
"eslint": "^10.3.0",
|
|
125
|
-
"eslint-import-resolver-typescript": "^4.4.4",
|
|
126
|
-
"eslint-plugin-import-x": "^4.16.2",
|
|
127
|
-
"eslint-plugin-security": "^4.0.0",
|
|
128
|
-
"eslint-plugin-sonarjs": "^4.0.3",
|
|
129
|
-
"eslint-plugin-unicorn": "^64.0.0",
|
|
130
|
-
"file-type": "^22.0.1",
|
|
131
|
-
"jiti": "^2.7.0",
|
|
132
|
-
"license-downloader": "^2.0.0",
|
|
133
|
-
"license-report": "^6.8.2",
|
|
134
|
-
"license-report-check": "^1.0.0",
|
|
135
|
-
"license-report-recursive": "^6.8.4",
|
|
136
|
-
"md-to-pdf": "^5.2.5",
|
|
137
|
-
"npm-check-updates": "^22.2.0",
|
|
138
|
-
"owasp-dependency-check": "^1.0.1",
|
|
139
|
-
"prettier": "^3.8.3",
|
|
140
|
-
"rollup-plugin-visualizer": "^7.0.1",
|
|
141
|
-
"sonda": "^0.11.1",
|
|
142
|
-
"type-fest": "^5.6.0",
|
|
143
|
-
"typedoc": "^0.28.19",
|
|
144
|
-
"typedoc-github-theme": "^0.4.0",
|
|
145
|
-
"typedoc-material-theme": "^1.4.1",
|
|
146
|
-
"typescript": "^6.0.3",
|
|
147
|
-
"valibot": "^1.4.0",
|
|
148
|
-
"vite": "^8.0.13",
|
|
149
|
-
"vite-plugin-dts": "^5.0.0",
|
|
150
|
-
"vitest": "^4.1.6"
|
|
122
|
+
"allowScripts": {
|
|
123
|
+
"fsevents@2.3.3": true,
|
|
124
|
+
"unrs-resolver@1.11.1": true
|
|
151
125
|
},
|
|
152
126
|
"scripts": {
|
|
153
|
-
"audit": "
|
|
127
|
+
"audit": "node -e \"import('@dpuse/dpuse-development').then(m => m.auditDependencies())\"",
|
|
154
128
|
"build": "node -e \"import('@dpuse/dpuse-development').then(m => m.buildProject())\"",
|
|
155
|
-
"check": "node -e \"import('@dpuse/dpuse-development').then(m => m.checkDependencies())\"",
|
|
156
|
-
"document": "
|
|
129
|
+
"check": "node -e \"import('@dpuse/dpuse-development').then(m => m.checkConfigFiles())\" && node -e \"import('@dpuse/dpuse-development').then(m => m.checkDependencies())\"",
|
|
130
|
+
"document": "node -e \"import('@dpuse/dpuse-development').then(m => m.documentDependencies(['MIT']))\"",
|
|
157
131
|
"format": "node -e \"import('@dpuse/dpuse-development').then(m => m.formatCode())\"",
|
|
158
132
|
"lint": "node -e \"import('@dpuse/dpuse-development').then(m => m.lintCode())\"",
|
|
159
133
|
"release": "op run --env-file=.env -- node -e \"import('@dpuse/dpuse-development').then(m => m.releaseProject())\"",
|
|
160
134
|
"sync": "node -e \"import('@dpuse/dpuse-development').then(m => m.syncProjectWithGitHub())\"",
|
|
161
|
-
"test": "node -e \"import('@dpuse/dpuse-development').then(m => m.testProject())\""
|
|
162
|
-
"update": "node -e \"import('@dpuse/dpuse-development').then(m => m.updateDPUseDependencies(['development', 'eslint']))\"",
|
|
163
|
-
"_readmeToPDF": "md-to-pdf README.md",
|
|
164
|
-
"_td": "npx typedoc --options docs/typedoc.json",
|
|
165
|
-
"_td:github": "npx typedoc --options docs/typedoc.json --plugin typedoc-github-theme",
|
|
166
|
-
"_td:material": "npx typedoc --options docs/typedoc.json --plugin typedoc-material-theme --themeColor '#cb9820'"
|
|
135
|
+
"test": "node -e \"import('@dpuse/dpuse-development').then(m => m.testProject())\""
|
|
167
136
|
},
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
137
|
+
"devDependencies": {
|
|
138
|
+
"@dpuse/dpuse-development": "^0.3.549",
|
|
139
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
140
|
+
"@types/eslint-plugin-security": "^3.0.1",
|
|
141
|
+
"@types/node": "^26.0.0",
|
|
142
|
+
"eslint": "^10.5.0",
|
|
143
|
+
"eslint-config-prettier": "^10.1.8",
|
|
144
|
+
"eslint-import-resolver-typescript": "^4.4.5",
|
|
145
|
+
"eslint-plugin-import-x": "^4.17.0",
|
|
146
|
+
"eslint-plugin-regexp": "^3.1.0",
|
|
147
|
+
"eslint-plugin-security": "^4.0.1",
|
|
148
|
+
"eslint-plugin-sonarjs": "^4.1.0",
|
|
149
|
+
"eslint-plugin-unicorn": "^68.0.0",
|
|
150
|
+
"file-type": "^22.0.1",
|
|
151
|
+
"jiti": "^2.7.0",
|
|
152
|
+
"license-checker-rseidelsohn": "^5.0.1",
|
|
153
|
+
"npm-check-updates": "^22.2.7",
|
|
154
|
+
"prettier": "^3.8.4",
|
|
155
|
+
"rollup-plugin-visualizer": "^7.0.1",
|
|
156
|
+
"sonda": "^0.13.1",
|
|
157
|
+
"type-fest": "^5.7.0",
|
|
158
|
+
"typescript": "^6.0.3",
|
|
159
|
+
"typescript-eslint": "^8.62.0",
|
|
160
|
+
"valibot": "^1.4.1",
|
|
161
|
+
"vite": "^8.1.0",
|
|
162
|
+
"vite-plugin-dts": "^5.0.3",
|
|
163
|
+
"vitest": "^4.1.9"
|
|
171
164
|
}
|
|
172
165
|
}
|
package/README.pdf
DELETED
|
Binary file
|
|
File without changes
|