@jylups/flowable-bpmn-js 0.0.0-stage → 0.1.0-next.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.
- package/LICENSE +21 -0
- package/README.md +286 -2
- package/assets/flowable-bpmn-js-touch.css +76 -0
- package/assets/flowable-bpmn-js.css +70 -0
- package/dist/assets/bpmn-font/css/bpmn-codes.css +110 -0
- package/dist/assets/bpmn-font/css/bpmn-embedded.css +168 -0
- package/dist/assets/bpmn-font/css/bpmn.css +166 -0
- package/dist/assets/bpmn-font/font/bpmn.eot +0 -0
- package/dist/assets/bpmn-font/font/bpmn.svg +228 -0
- package/dist/assets/bpmn-font/font/bpmn.ttf +0 -0
- package/dist/assets/bpmn-font/font/bpmn.woff +0 -0
- package/dist/assets/bpmn-font/font/bpmn.woff2 +0 -0
- package/dist/assets/bpmn-js-bpmnlint.css +263 -0
- package/dist/assets/bpmn-js.css +151 -0
- package/dist/assets/diagram-js.css +1325 -0
- package/dist/assets/flowable-bpmn-js-touch.css +76 -0
- package/dist/assets/flowable-bpmn-js.css +70 -0
- package/dist/assets/properties-panel.css +1905 -0
- package/dist/flowable-bpmn-modeler.development.js +128087 -0
- package/dist/flowable-bpmn-modeler.development.js.map +1 -0
- package/dist/flowable-bpmn-modeler.production.min.js +348 -0
- package/dist/flowable-bpmn-navigated-viewer.development.js +28092 -0
- package/dist/flowable-bpmn-navigated-viewer.development.js.map +1 -0
- package/dist/flowable-bpmn-navigated-viewer.production.min.js +2 -0
- package/dist/flowable-bpmn-viewer.development.js +26751 -0
- package/dist/flowable-bpmn-viewer.development.js.map +1 -0
- package/dist/flowable-bpmn-viewer.production.min.js +2 -0
- package/index.d.ts +107 -0
- package/index.js +32 -0
- package/lib/Modeler.js +68 -0
- package/lib/NavigatedViewer.js +30 -0
- package/lib/NewDiagram.js +69 -0
- package/lib/Theme.js +32 -0
- package/lib/Viewer.js +32 -0
- package/lib/distro/Modeler.js +5 -0
- package/lib/distro/NavigatedViewer.js +5 -0
- package/lib/distro/Viewer.js +5 -0
- package/lib/draw/TypedTaskRenderer.js +81 -0
- package/lib/draw/index.js +10 -0
- package/lib/features/touch/InputTracker.js +34 -0
- package/lib/features/touch/LICENSE +21 -0
- package/lib/features/touch/TouchContextPad.js +197 -0
- package/lib/features/touch/TouchInteraction.js +1276 -0
- package/lib/features/touch/TouchLabelEditing.js +60 -0
- package/lib/features/touch/index.js +40 -0
- package/lib/features/typed-tasks/ReplaceWithTypedTaskHandler.js +63 -0
- package/lib/features/typed-tasks/TypedTaskPaletteProvider.js +76 -0
- package/lib/features/typed-tasks/TypedTaskReplaceMenuProvider.js +71 -0
- package/lib/features/typed-tasks/TypedTasks.js +127 -0
- package/lib/features/typed-tasks/icons.js +99 -0
- package/lib/features/typed-tasks/index.js +17 -0
- package/lib/lint/FlowableLinting.js +23 -0
- package/lib/lint/index.js +44 -0
- package/lib/lint/module.js +15 -0
- package/lib/lint/rules/called-element.js +19 -0
- package/lib/lint/rules/service-task-implementation.js +81 -0
- package/lib/lint/rules/valid-durations.js +102 -0
- package/lib/lint/values.js +71 -0
- package/lib/xml/FlowableXML.js +50 -0
- package/lib/xml/index.js +6 -0
- package/package.json +80 -4
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Each service task needs an implementation: a Java class, an expression, a
|
|
3
|
+
* delegate expression, a flowable:type, or a web service operation. A typed
|
|
4
|
+
* task needs the setting its type can't run without.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const IMPLEMENTATIONS = [ 'flowable:class', 'flowable:expression', 'flowable:delegateExpression', 'flowable:type' ];
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* What a typed task can't run without: a check and the message when it
|
|
11
|
+
* fails.
|
|
12
|
+
*/
|
|
13
|
+
const TYPE_REQUIREMENTS = {
|
|
14
|
+
http: [ node => getField(node, 'requestUrl'), 'HTTP task has no request URL' ],
|
|
15
|
+
shell: [ node => getField(node, 'command'), 'Shell task has no command' ],
|
|
16
|
+
dmn: [ node => getField(node, 'decisionTableReferenceKey'), 'Decision task has no decision table key' ],
|
|
17
|
+
case: [ node => node.get('flowable:caseDefinitionKey'), 'Case task has no case definition key' ],
|
|
18
|
+
'send-event': [ node => getBodyElement(node, 'flowable:EventType'), 'Send event task has no event key' ],
|
|
19
|
+
'external-worker': [ node => node.get('flowable:topic'), 'External worker task has no topic' ]
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export default function serviceTaskImplementation() {
|
|
23
|
+
|
|
24
|
+
function check(node, reporter) {
|
|
25
|
+
if (!node.$instanceOf('bpmn:ServiceTask')) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const hasImplementation = IMPLEMENTATIONS.some(name => isSet(node.get(name))) ||
|
|
30
|
+
(node.get('implementation') === '##WebService' && node.get('operationRef'));
|
|
31
|
+
|
|
32
|
+
if (!hasImplementation) {
|
|
33
|
+
reporter.report(node.id, 'Service task has no implementation: set a Java class, an expression, a delegate expression or a type');
|
|
34
|
+
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const requirement = TYPE_REQUIREMENTS[node.get('flowable:type')];
|
|
39
|
+
|
|
40
|
+
if (requirement && !isSet(requirement[0](node))) {
|
|
41
|
+
reporter.report(node.id, requirement[1]);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return { check };
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
function isSet(value) {
|
|
50
|
+
return typeof value === 'string' ? !!value.trim() : !!value;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function getExtensionElements(node, type) {
|
|
54
|
+
const extensionElements = node.get('extensionElements');
|
|
55
|
+
const values = (extensionElements && extensionElements.get('values')) || [];
|
|
56
|
+
|
|
57
|
+
return values.filter(value => value.$instanceOf(type));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The value of a <flowable:field>: its string or expression, as attribute or
|
|
62
|
+
* child element.
|
|
63
|
+
*/
|
|
64
|
+
function getField(node, name) {
|
|
65
|
+
const field = getExtensionElements(node, 'flowable:Field').find(candidate => candidate.get('name') === name);
|
|
66
|
+
|
|
67
|
+
if (!field) {
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
const expression = field.get('expressionElement');
|
|
72
|
+
|
|
73
|
+
return field.get('string') || field.get('stringValue') || field.get('expression') ||
|
|
74
|
+
(expression && expression.get('body')) || null;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function getBodyElement(node, type) {
|
|
78
|
+
const element = getExtensionElements(node, type)[0];
|
|
79
|
+
|
|
80
|
+
return element ? element.get('body') : null;
|
|
81
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getBody,
|
|
3
|
+
hasExpression,
|
|
4
|
+
isCron,
|
|
5
|
+
isDate,
|
|
6
|
+
isDuration,
|
|
7
|
+
isRepeatingInterval
|
|
8
|
+
} from '../values.js';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Dates, durations and cycles Flowable has to parse: a user task's due
|
|
12
|
+
* date, a timer's date, duration, cycle and cycle end date, and an
|
|
13
|
+
* activity's retry time cycle. A value with an expression is only known at
|
|
14
|
+
* runtime and passes.
|
|
15
|
+
*/
|
|
16
|
+
export default function validDurations() {
|
|
17
|
+
|
|
18
|
+
function check(node, reporter) {
|
|
19
|
+
if (node.$instanceOf('bpmn:UserTask')) {
|
|
20
|
+
checkValue(node, reporter, node.get('flowable:dueDate'),
|
|
21
|
+
value => isDuration(value) || isDate(value),
|
|
22
|
+
'Due date must be an ISO 8601 date or duration, for example P2DT4H');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if (node.$instanceOf('bpmn:TimerEventDefinition')) {
|
|
26
|
+
checkTimer(node, reporter);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if (node.$instanceOf('bpmn:Activity')) {
|
|
30
|
+
getExtensionElements(node, 'flowable:FailedJobRetryTimeCycle').forEach(cycle => {
|
|
31
|
+
checkValue(node, reporter, getBody(cycle),
|
|
32
|
+
value => isRepeatingInterval(value) || isCron(value),
|
|
33
|
+
'Retry time cycle must be an ISO 8601 repeating interval, for example R5/PT10M');
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function checkTimer(definition, reporter) {
|
|
39
|
+
const event = definition.$parent;
|
|
40
|
+
const id = event && event.id;
|
|
41
|
+
|
|
42
|
+
if (!id) {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const date = definition.get('timeDate');
|
|
47
|
+
const duration = definition.get('timeDuration');
|
|
48
|
+
const cycle = definition.get('timeCycle');
|
|
49
|
+
|
|
50
|
+
if (!date && !duration && !cycle) {
|
|
51
|
+
reporter.report(id, 'Timer has no date, duration or cycle');
|
|
52
|
+
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
if (date) {
|
|
57
|
+
checkValue(event, reporter, getBody(date), isDate,
|
|
58
|
+
'Timer date must be an ISO 8601 date, for example 2026-12-31T17:00:00', true);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (duration) {
|
|
62
|
+
checkValue(event, reporter, getBody(duration), isDuration,
|
|
63
|
+
'Timer duration must be an ISO 8601 duration, for example PT15M', true);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (cycle) {
|
|
67
|
+
checkValue(event, reporter, getBody(cycle), value => isRepeatingInterval(value) || isCron(value),
|
|
68
|
+
'Timer cycle must be an ISO 8601 repeating interval or a cron expression, for example R3/PT1H', true);
|
|
69
|
+
|
|
70
|
+
checkValue(event, reporter, cycle.get('flowable:endDate'), isDate,
|
|
71
|
+
'Timer cycle end date must be an ISO 8601 date, for example 2026-12-31T17:00:00');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return { check };
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Reports a value that is set, has no expression and doesn't pass the
|
|
81
|
+
* check; with `required`, an empty value too.
|
|
82
|
+
*/
|
|
83
|
+
function checkValue(node, reporter, value, isValid, message, required = false) {
|
|
84
|
+
if (!value || !value.trim()) {
|
|
85
|
+
if (required) {
|
|
86
|
+
reporter.report(node.id, message);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if (!hasExpression(value) && !isValid(value)) {
|
|
93
|
+
reporter.report(node.id, message);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
function getExtensionElements(node, type) {
|
|
98
|
+
const extensionElements = node.get('extensionElements');
|
|
99
|
+
const values = (extensionElements && extensionElements.get('values')) || [];
|
|
100
|
+
|
|
101
|
+
return values.filter(value => value.$instanceOf(type));
|
|
102
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Value checks shared by the lint rules. The ISO 8601 patterns are the ones
|
|
3
|
+
* the Flowable properties panel validates with, so the panel and the linter
|
|
4
|
+
* agree.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const ISO_DURATION = /^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+(\.\d+)?S)?)?$/;
|
|
8
|
+
|
|
9
|
+
const ISO_DATE = /^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}(:\d{2}(\.\d+)?)?(Z|[+-]\d{2}:?\d{2})?)?$/;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* A cron expression as Flowable's timers read it (Quartz style): six or
|
|
13
|
+
* seven fields.
|
|
14
|
+
*/
|
|
15
|
+
const CRON = /^([0-9*?/,LW#A-Za-z-]+\s+){5,6}[0-9*?/,LW#A-Za-z-]+$/;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Whether a value is, or contains, a ${…} or #{…} expression, which is only
|
|
19
|
+
* known at runtime.
|
|
20
|
+
*/
|
|
21
|
+
export function hasExpression(value) {
|
|
22
|
+
return /[$#]\{/.test(value || '');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export function isDuration(value) {
|
|
26
|
+
return ISO_DURATION.test(value.trim());
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function isDate(value) {
|
|
30
|
+
return ISO_DATE.test(value.trim());
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* An ISO 8601 repeating interval, R[n]/ followed by a start and a duration,
|
|
35
|
+
* a duration, a duration and an end, or a start and an end.
|
|
36
|
+
*/
|
|
37
|
+
export function isRepeatingInterval(value) {
|
|
38
|
+
const parts = value.trim().split('/');
|
|
39
|
+
|
|
40
|
+
if (!/^R\d*$/.test(parts[0])) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const rest = parts.slice(1);
|
|
45
|
+
|
|
46
|
+
if (rest.length === 1) {
|
|
47
|
+
return isDuration(rest[0]);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if (rest.length === 2) {
|
|
51
|
+
const [ first, second ] = rest;
|
|
52
|
+
|
|
53
|
+
return (isDate(first) && (isDuration(second) || isDate(second))) ||
|
|
54
|
+
(isDuration(first) && isDate(second));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function isCron(value) {
|
|
61
|
+
return CRON.test(value.trim());
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The text of a body value, such as the body of a timer's timeDuration.
|
|
66
|
+
*/
|
|
67
|
+
export function getBody(element) {
|
|
68
|
+
const body = element && element.get('body');
|
|
69
|
+
|
|
70
|
+
return typeof body === 'string' ? body : '';
|
|
71
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {
|
|
2
|
+
migrateActivitiXML,
|
|
3
|
+
registerUnknownFlowableElements,
|
|
4
|
+
useFlowablePrefix
|
|
5
|
+
} from '@jylups/flowable-bpmn-moddle';
|
|
6
|
+
|
|
7
|
+
import { createMissingDefinitions } from '@jylups/flowable-bpmn-js-behaviors/missing-definitions';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Runs before bpmn-js claims the imported IDs, so created definitions are
|
|
11
|
+
* claimed too.
|
|
12
|
+
*/
|
|
13
|
+
const HIGH_PRIORITY = 1500;
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Reads and writes Flowable models the way the Flowable descriptor needs:
|
|
18
|
+
*
|
|
19
|
+
* - on import, Activiti namespace declarations move to the Flowable
|
|
20
|
+
* namespace (migrateActivitiXML), and flowable:* elements the descriptor
|
|
21
|
+
* does not define are registered so they are kept
|
|
22
|
+
* (registerUnknownFlowableElements);
|
|
23
|
+
* - references Flowable resolves by code or name get the error, message,
|
|
24
|
+
* signal or escalation they stand for (createMissingDefinitions from the
|
|
25
|
+
* behaviors package), in the viewers too;
|
|
26
|
+
* - on save, other prefixes bound to the Flowable namespace are dropped, so
|
|
27
|
+
* everything is written as flowable: (useFlowablePrefix).
|
|
28
|
+
*/
|
|
29
|
+
export default class FlowableXML {
|
|
30
|
+
|
|
31
|
+
constructor(eventBus, moddle) {
|
|
32
|
+
eventBus.on('import.parse.start', ({ xml }) => {
|
|
33
|
+
const migrated = migrateActivitiXML(xml);
|
|
34
|
+
|
|
35
|
+
registerUnknownFlowableElements(moddle, migrated);
|
|
36
|
+
|
|
37
|
+
return migrated;
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
eventBus.on('import.parse.complete', HIGH_PRIORITY, ({ error, definitions, warnings, elementsById }) => {
|
|
41
|
+
if (!error && definitions) {
|
|
42
|
+
createMissingDefinitions(definitions, { warnings, elementsById });
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
eventBus.on('saveXML.start', ({ definitions }) => useFlowablePrefix(definitions));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
FlowableXML.$inject = [ 'eventBus', 'moddle' ];
|
package/lib/xml/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,82 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jylups/flowable-bpmn-js",
|
|
3
|
-
"version": "0.0.0
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0-next.0",
|
|
4
|
+
"description": "bpmn-js modeler and viewer with the Flowable BPMN extensions",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./index.d.ts",
|
|
9
|
+
"default": "./index.js"
|
|
10
|
+
},
|
|
11
|
+
"./assets/*": "./assets/*",
|
|
12
|
+
"./dist/*": "./dist/*",
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"index.js",
|
|
17
|
+
"index.d.ts",
|
|
18
|
+
"lib",
|
|
19
|
+
"assets",
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"lint": "eslint . && node tasks/build-icons-css.js --check",
|
|
24
|
+
"test": "vitest run",
|
|
25
|
+
"dev": "vitest",
|
|
26
|
+
"distro": "rollup -c",
|
|
27
|
+
"test:distro": "vitest run --config vitest.distro.config.js",
|
|
28
|
+
"all": "npm run lint && npm test && npm run test:types && npm run distro && npm run test:distro",
|
|
29
|
+
"test:types": "tsc -p test/types",
|
|
30
|
+
"icons": "node tasks/build-icons-css.js",
|
|
31
|
+
"prepack": "npm run distro"
|
|
32
|
+
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/jylups/flowable-bpmn-js.git"
|
|
36
|
+
},
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/jylups/bpmn-js-env/issues"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://github.com/jylups/flowable-bpmn-js#readme",
|
|
41
|
+
"keywords": [
|
|
42
|
+
"bpmn",
|
|
43
|
+
"bpmn-js",
|
|
44
|
+
"modeler",
|
|
45
|
+
"viewer",
|
|
46
|
+
"flowable"
|
|
47
|
+
],
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
51
|
+
},
|
|
52
|
+
"engines": {
|
|
53
|
+
"node": ">=24"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@bpmn-io/properties-panel": "^3.60.2",
|
|
57
|
+
"@jylups/bpmn-js-properties-panel-flowable": "^0.1.0",
|
|
58
|
+
"@jylups/flowable-bpmn-js-behaviors": "^0.1.0",
|
|
59
|
+
"@jylups/flowable-bpmn-moddle": "^0.1.0",
|
|
60
|
+
"bpmn-js": "^18.33.1",
|
|
61
|
+
"bpmn-js-bpmnlint": "^0.25.0",
|
|
62
|
+
"bpmn-js-properties-panel": "^5.65.4",
|
|
63
|
+
"bpmnlint": "^12.0.0",
|
|
64
|
+
"min-dom": "^5.3.0",
|
|
65
|
+
"tiny-svg": "^4.1.4"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@eslint/js": "^10.0.1",
|
|
69
|
+
"@rollup/plugin-commonjs": "^29.0.3",
|
|
70
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
71
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
72
|
+
"@rollup/plugin-terser": "^1.0.2",
|
|
73
|
+
"@vitest/browser-playwright": "^5.1.1",
|
|
74
|
+
"eslint": "^10.15.0",
|
|
75
|
+
"globals": "^17.14.0",
|
|
76
|
+
"playwright": "^1.65.1",
|
|
77
|
+
"rollup": "4.68.0",
|
|
78
|
+
"typescript": "7.0.2",
|
|
79
|
+
"vitest": "^5.1.1"
|
|
80
|
+
},
|
|
81
|
+
"types": "./index.d.ts"
|
|
82
|
+
}
|