@iobroker/js-controller-common 4.0.5-alpha.2-20220208-ac4cf51e → 4.0.5

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.
@@ -65,19 +65,19 @@ const IoSeq =
65
65
  ioInfo.props = ioInfo.props || {};
66
66
 
67
67
  // map our log levels to Seq levels
68
- const level = (info.level || '').toLowerCase();
68
+ const level = (ioInfo.level || '').toLowerCase();
69
69
  if (level.includes('error')) {
70
- info.level = 'Error';
70
+ ioInfo.level = 'Error';
71
71
  } else if (level.includes('warn')) {
72
- info.level = 'Warning';
72
+ ioInfo.level = 'Warning';
73
73
  } else if (level.includes('info')) {
74
- info.level = 'Information';
74
+ ioInfo.level = 'Information';
75
75
  } else if (level.includes('debug')) {
76
- info.level = 'Debug';
76
+ ioInfo.level = 'Debug';
77
77
  } else if (level.includes('silly')) {
78
- info.level = 'Verbose';
78
+ ioInfo.level = 'Verbose';
79
79
  } else {
80
- info.level = 'Information';
80
+ ioInfo.level = 'Information';
81
81
  }
82
82
 
83
83
  // we add own properties
@@ -2995,6 +2995,7 @@ function pipeLinewise(input, output) {
2995
2995
  crlfDelay: Infinity
2996
2996
  });
2997
2997
  rl.on('line', line => output.write(line + os.EOL));
2998
+ rl.on('error', () => {}); // Ignore errors
2998
2999
  }
2999
3000
 
3000
3001
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/js-controller-common",
3
- "version": "4.0.5-alpha.2-20220208-ac4cf51e",
3
+ "version": "4.0.5",
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": "164e97c24ac7094a4442a3d44268e2b480db1171"
50
+ "gitHead": "ba55e7d15a1e68e18d03254d0fa8030d7f785651"
51
51
  }