bpmnlint-plugin-camunda-compat 0.9.1 → 0.9.2

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/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ All notable changes to [bpmnlint-plugin-camunda-compat](https://github.com/camun
6
6
 
7
7
  ___Note:__ Yet to be released changes appear here._
8
8
 
9
+ ## 0.9.2
10
+
11
+ * `FIX`: ignore null properties ([#39](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/39))
12
+
9
13
  ## 0.9.1
10
14
 
11
15
  * `FIX`: add name to reports ([#38](https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/38))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpmnlint-plugin-camunda-compat",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "A bpmnlint plug-in for Camunda Platform compatibility",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,6 +1,7 @@
1
1
  const {
2
2
  isArray,
3
3
  isDefined,
4
+ isNil,
4
5
  some
5
6
  } = require('min-dash');
6
7
 
@@ -147,7 +148,7 @@ module.exports.hasProperties = function(node, properties, parentNode = null) {
147
148
  ];
148
149
  }
149
150
 
150
- if (propertyChecks.allowed === false && isDefined(propertyValue)) {
151
+ if (propertyChecks.allowed === false && isDefined(propertyValue) && !isNil(propertyValue)) {
151
152
  return [
152
153
  ...results,
153
154
  {