@bpmn-io/form-js-viewer 1.21.1 → 1.21.3
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/dist/index.cjs +79 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +79 -9
- package/dist/index.es.js.map +1 -1
- package/dist/types/util/simple.d.ts +17 -0
- package/package.json +3 -3
|
@@ -11,4 +11,21 @@ export function generateIdForType(type: any): string;
|
|
|
11
11
|
*/
|
|
12
12
|
export function clone<T>(data: T, replacer?: (this: any, key: string, value: any) => any): T;
|
|
13
13
|
export function runRecursively(formField: any, fn: any): void;
|
|
14
|
+
/**
|
|
15
|
+
* Returns a copy of `target` with the value at `path` removed, pruning any
|
|
16
|
+
* ancestor that becomes empty. Pure: the input is not mutated and untouched
|
|
17
|
+
* sibling branches keep their original references (path-cloning).
|
|
18
|
+
*
|
|
19
|
+
* Pruning rules:
|
|
20
|
+
* - An object ancestor is removed when it has no own keys left.
|
|
21
|
+
* - An array ancestor is removed when every entry is nullish. Arrays are
|
|
22
|
+
* never compacted; `delete` leaves a sparse hole so sibling indexes stay
|
|
23
|
+
* stable.
|
|
24
|
+
*
|
|
25
|
+
* @template T
|
|
26
|
+
* @param {T} target
|
|
27
|
+
* @param {Array<string|number>} path
|
|
28
|
+
* @returns {T}
|
|
29
|
+
*/
|
|
30
|
+
export function pruneAt<T>(target: T, path: Array<string | number>): T;
|
|
14
31
|
export function wrapObjectKeysWithUnderscores(obj: any): {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-viewer",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.3",
|
|
4
4
|
"description": "View forms - powered by bpmn.io",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"ids": "^3.0.1",
|
|
57
57
|
"lodash": "^4.17.23",
|
|
58
58
|
"luxon": "^3.7.2",
|
|
59
|
-
"marked": "^
|
|
59
|
+
"marked": "^18.0.0",
|
|
60
60
|
"min-dash": "^5.0.0",
|
|
61
61
|
"preact": "^10.5.14"
|
|
62
62
|
},
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"files": [
|
|
67
67
|
"dist"
|
|
68
68
|
],
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "43e56eece6494d68d23d40b7ac5e91ed16d4b940"
|
|
70
70
|
}
|