eyeling 1.8.7 → 1.8.8

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.
Files changed (2) hide show
  1. package/index.js +4 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -49,6 +49,10 @@ function reason(opt = {}, n3_input = '') {
49
49
  const res = cp.spawnSync(process.execPath, [eyelingPath, ...args, inputFile], { encoding: 'utf8', maxBuffer });
50
50
 
51
51
  if (res.error) throw res.error;
52
+
53
+ // Always forward stderr (log:trace, warnings, parse errors, etc.)
54
+ if (res.stderr) process.stderr.write(res.stderr);
55
+
52
56
  if (res.status !== 0) {
53
57
  const err = new Error(res.stderr || `eyeling exited with code ${res.status}`);
54
58
  err.code = res.status;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eyeling",
3
- "version": "1.8.7",
3
+ "version": "1.8.8",
4
4
  "description": "A minimal Notation3 (N3) reasoner in JavaScript.",
5
5
  "main": "./index.js",
6
6
  "keywords": [