bpmn-moddle 7.1.3 → 8.0.1
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 +5 -9
- package/dist/bpmn-moddle.umd.cjs +7757 -0
- package/dist/index.cjs +3748 -0
- package/dist/index.esm.js +0 -1
- package/package.json +19 -16
- package/resources/bpmn/json/bpmn.json +0 -1
- package/CHANGELOG.md +0 -148
package/dist/index.esm.js
CHANGED
package/package.json
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpmn-moddle",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "A moddle wrapper for BPMN 2.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"all": "run-s generate-schema lint test distro",
|
|
7
7
|
"lint": "eslint .",
|
|
8
8
|
"dev": "npm test -- --watch",
|
|
9
|
-
"test": "mocha
|
|
9
|
+
"test": "mocha --reporter=spec --recursive test/spec test/integration",
|
|
10
10
|
"distro": "run-s build test:build",
|
|
11
11
|
"build": "rollup -c",
|
|
12
12
|
"test:build": "mocha --reporter=spec --recursive test/distro",
|
|
13
13
|
"prepare": "run-s distro",
|
|
14
|
-
"generate-schema": "node tasks/generate-schema"
|
|
14
|
+
"generate-schema": "node tasks/generate-schema.cjs"
|
|
15
15
|
},
|
|
16
|
+
"type": "module",
|
|
16
17
|
"repository": {
|
|
17
18
|
"type": "git",
|
|
18
19
|
"url": "https://github.com/bpmn-io/bpmn-moddle"
|
|
19
20
|
},
|
|
20
|
-
"main": "dist/index.
|
|
21
|
+
"main": "dist/index.cjs",
|
|
21
22
|
"module": "dist/index.esm.js",
|
|
22
|
-
"umd:main": "dist/bpmn-moddle.umd.
|
|
23
|
+
"umd:main": "dist/bpmn-moddle.umd.cjs",
|
|
23
24
|
"source": "lib/index.js",
|
|
24
25
|
"keywords": [
|
|
25
26
|
"bpmn",
|
|
@@ -40,25 +41,27 @@
|
|
|
40
41
|
"license": "MIT",
|
|
41
42
|
"sideEffects": false,
|
|
42
43
|
"devDependencies": {
|
|
43
|
-
"@
|
|
44
|
+
"@babel/eslint-parser": "^7.19.1",
|
|
45
|
+
"@babel/plugin-syntax-import-assertions": "^7.18.6",
|
|
46
|
+
"@rollup/plugin-commonjs": "^22.0.2",
|
|
44
47
|
"@rollup/plugin-json": "^4.1.0",
|
|
45
|
-
"@rollup/plugin-node-resolve": "^
|
|
48
|
+
"@rollup/plugin-node-resolve": "^14.1.0",
|
|
49
|
+
"acorn-import-assertions": "^1.8.0",
|
|
46
50
|
"bpmn-in-color-moddle": "^0.1.0",
|
|
47
|
-
"chai": "^4.3.
|
|
51
|
+
"chai": "^4.3.6",
|
|
48
52
|
"cmof-parser": "^0.5.2",
|
|
49
|
-
"eslint": "^
|
|
50
|
-
"eslint-plugin-bpmn-io": "^0.
|
|
51
|
-
"
|
|
52
|
-
"mocha": "^8.4.0",
|
|
53
|
+
"eslint": "^8.24.0",
|
|
54
|
+
"eslint-plugin-bpmn-io": "^0.16.0",
|
|
55
|
+
"mocha": "^10.0.0",
|
|
53
56
|
"npm-run-all": "^4.1.5",
|
|
54
|
-
"rollup": "^2.
|
|
57
|
+
"rollup": "^2.79.1",
|
|
55
58
|
"rollup-plugin-terser": "^7.0.2",
|
|
56
59
|
"xsd-schema-validator": "^0.7.0"
|
|
57
60
|
},
|
|
58
61
|
"dependencies": {
|
|
59
|
-
"min-dash": "^
|
|
60
|
-
"moddle": "^
|
|
61
|
-
"moddle-xml": "^
|
|
62
|
+
"min-dash": "^4.0.0",
|
|
63
|
+
"moddle": "^6.0.0",
|
|
64
|
+
"moddle-xml": "^10.0.0"
|
|
62
65
|
},
|
|
63
66
|
"files": [
|
|
64
67
|
"dist",
|
package/CHANGELOG.md
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to [bpmn-moddle](https://github.com/bpmn-io/bpmn-moddle) are documented here. We use [semantic versioning](http://semver.org/) for releases.
|
|
4
|
-
|
|
5
|
-
## Unreleased
|
|
6
|
-
|
|
7
|
-
___Note:__ Yet to be released changes appear here._
|
|
8
|
-
|
|
9
|
-
## 7.1.3
|
|
10
|
-
|
|
11
|
-
* `FIX`: de-duplicate attributes
|
|
12
|
-
* `DEPS`: update to `moddle-xml@9.0.6`
|
|
13
|
-
|
|
14
|
-
## 7.1.2
|
|
15
|
-
|
|
16
|
-
* `FIX`: make `bpmn:InteractionNode` include `bpmn:CallActivity`
|
|
17
|
-
|
|
18
|
-
## 7.1.1
|
|
19
|
-
|
|
20
|
-
* `FIX`: properly inline BPMN in Color schema ([#88](https://github.com/bpmn-io/bpmn-moddle/pull/88))
|
|
21
|
-
|
|
22
|
-
## 7.1.0
|
|
23
|
-
|
|
24
|
-
* `FEAT`: add BPMN in Color schema ([#87](https://github.com/bpmn-io/bpmn-moddle/pull/87))
|
|
25
|
-
* `CHORE`: update dependencies
|
|
26
|
-
|
|
27
|
-
## 7.0.5
|
|
28
|
-
|
|
29
|
-
* `FIX`: correct serialization of `xml` prefixed attributes on `Any` elements
|
|
30
|
-
* `CHORE`: update to `moddle-xml@9.0.5`
|
|
31
|
-
|
|
32
|
-
## 7.0.4
|
|
33
|
-
|
|
34
|
-
* `CHORE`: update to `moddle-xml@9.0.4`
|
|
35
|
-
|
|
36
|
-
## 7.0.3
|
|
37
|
-
|
|
38
|
-
* `CHORE`: update to `moddle-xml@9.0.3`
|
|
39
|
-
|
|
40
|
-
## 6.0.7
|
|
41
|
-
|
|
42
|
-
* `CHORE`: update to `moddle-xml@8.0.8`
|
|
43
|
-
|
|
44
|
-
## 7.0.2
|
|
45
|
-
|
|
46
|
-
* `FIX`: recursively log nested namespaces as used ([#78](https://github.com/bpmn-io/bpmn-moddle/pull/78))
|
|
47
|
-
* `CHORE`: update to `moddle-xml@9.0.2`
|
|
48
|
-
|
|
49
|
-
## 6.0.6
|
|
50
|
-
|
|
51
|
-
* `FIX`: recursively log nested namespaces as used ([#78](https://github.com/bpmn-io/bpmn-moddle/pull/78))
|
|
52
|
-
* `CHORE`: update to `moddle-xml@8.0.7`
|
|
53
|
-
|
|
54
|
-
## 6.0.5
|
|
55
|
-
|
|
56
|
-
* `FIX`: account for local namespace declaration overrides ([#76](https://github.com/bpmn-io/bpmn-moddle/pull/76))
|
|
57
|
-
* `CHORE`: bump to `moddle-xml@8.0.6`
|
|
58
|
-
|
|
59
|
-
## 7.0.1
|
|
60
|
-
|
|
61
|
-
* `FIX`: account for local namespace declaration overrides ([#75](https://github.com/bpmn-io/bpmn-moddle/pull/75))
|
|
62
|
-
* `CHORE`: bump to `moddle-xml@9.0.1`
|
|
63
|
-
|
|
64
|
-
## 7.0.0
|
|
65
|
-
|
|
66
|
-
* `FEAT`: promisify `fromXML` and `toXML` APIs. ([#73](https://github.com/bpmn-io/bpmn-moddle/pull/73))
|
|
67
|
-
|
|
68
|
-
### Breaking Changes
|
|
69
|
-
|
|
70
|
-
* `fromXML` and `toXML` APIs now return a Promise. Support for callbacks is dropped. Refer to the [documentation](https://github.com/bpmn-io/bpmn-moddle#usage) for updated usage information.
|
|
71
|
-
|
|
72
|
-
## 6.0.4
|
|
73
|
-
|
|
74
|
-
* `CHORE`: bump to `moddle-xml@8.0.5`
|
|
75
|
-
|
|
76
|
-
## 6.0.3
|
|
77
|
-
|
|
78
|
-
* `CHORE`: bump to `moddle-xml@8.0.3`
|
|
79
|
-
* `CHORE`: bump to `min-dash@3.5.2`
|
|
80
|
-
|
|
81
|
-
## 6.0.2
|
|
82
|
-
|
|
83
|
-
* `FIX`: correct `DataAssociation#assignment` serialization ([#68](https://github.com/bpmn-io/bpmn-moddle/pull/68))
|
|
84
|
-
|
|
85
|
-
## 6.0.1
|
|
86
|
-
|
|
87
|
-
* `CHORE`: bump to `moddle-xml@8.0.2`
|
|
88
|
-
|
|
89
|
-
## 6.0.0
|
|
90
|
-
|
|
91
|
-
* `FEAT`: add pre-built distribution
|
|
92
|
-
* `CHORE`: update to `moddle@5.0.1`, `moddle-xml@8.0.1`
|
|
93
|
-
|
|
94
|
-
## 5.2.0
|
|
95
|
-
|
|
96
|
-
* `FEAT`: validate ID attributes as QNames
|
|
97
|
-
|
|
98
|
-
## 5.1.6
|
|
99
|
-
|
|
100
|
-
* `FIX`: correct `Choreography` model definitions ([#59](https://github.com/bpmn-io/bpmn-moddle/issues/59))
|
|
101
|
-
|
|
102
|
-
## 5.1.5
|
|
103
|
-
|
|
104
|
-
* `FIX`: correct `StandardLoopCharacteristics#loopMaximum` type ([#56](https://github.com/bpmn-io/bpmn-moddle/issues/56))
|
|
105
|
-
|
|
106
|
-
## 5.1.4
|
|
107
|
-
|
|
108
|
-
* `FIX`: correct extension attributes not being serialized on `bpmn:Expression` elements ([#55](https://github.com/bpmn-io/bpmn-moddle/issues/55))
|
|
109
|
-
|
|
110
|
-
## 5.1.3
|
|
111
|
-
|
|
112
|
-
* `FIX`: correct missing `resourceParameterBinding` parent
|
|
113
|
-
|
|
114
|
-
## 5.1.2
|
|
115
|
-
|
|
116
|
-
* `CHORE`: warn on unknown attribute in well-known namespace
|
|
117
|
-
* `FIX`: correct missing `participantMultiplicity` parent
|
|
118
|
-
|
|
119
|
-
## 5.1.0
|
|
120
|
-
|
|
121
|
-
* `CHORE`: bump dependency versions
|
|
122
|
-
|
|
123
|
-
## 5.0.0
|
|
124
|
-
|
|
125
|
-
### Breaking Changes
|
|
126
|
-
|
|
127
|
-
* `FEAT`: migrate to ES modules. Use `esm` or a ES module aware transpiler to consume this library.
|
|
128
|
-
|
|
129
|
-
## 4.0.0
|
|
130
|
-
|
|
131
|
-
* `FEAT`: encode entities in body properties (rather than using CDATA escaping)
|
|
132
|
-
|
|
133
|
-
## 3.0.2
|
|
134
|
-
|
|
135
|
-
* `FIX`: properly handle `.` in attribute names
|
|
136
|
-
|
|
137
|
-
## 3.0.1
|
|
138
|
-
|
|
139
|
-
* `FIX`: properly decode `text` entities
|
|
140
|
-
|
|
141
|
-
## 3.0.0
|
|
142
|
-
|
|
143
|
-
* `CHORE`: improve error handling on invalid attributes
|
|
144
|
-
* `CHORE`: drop lodash in favor of [min-dash](https://github.com/bpmn-io/min-dash)
|
|
145
|
-
|
|
146
|
-
## ...
|
|
147
|
-
|
|
148
|
-
Check `git log` for earlier history.
|