@iobroker/js-controller-common 4.0.11-alpha.0-20220217-79331357 → 4.0.13

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.
@@ -83,7 +83,8 @@ const IoSeq =
83
83
  // we add own properties
84
84
  ioInfo.props.Hostname = tools.getHostName();
85
85
  if (ioInfo.message) {
86
- const msgParts = ioInfo.message.match(/^([^.]+\.[0-9]+) \(([^)]+)\) (.*)$/);
86
+ // handle as single line with s flag, to if message ends with CR, etc
87
+ const msgParts = ioInfo.message.match(/^([^.]+\.[0-9]+) \(([^)]+)\) (.*)$/s);
87
88
  if (msgParts) {
88
89
  ioInfo.props.Source = msgParts[1];
89
90
  ioInfo.props.Pid = msgParts[2];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/js-controller-common",
3
- "version": "4.0.11-alpha.0-20220217-79331357",
3
+ "version": "4.0.13",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
@@ -47,5 +47,5 @@
47
47
  "lib/",
48
48
  "index.js"
49
49
  ],
50
- "gitHead": "10d936166f1dfb00ece71648e41fa71a01e15db3"
50
+ "gitHead": "a44fa71bf2f3079cdff725fa16c0d8c75af1c271"
51
51
  }