cucumber-messages
Advanced tools
Comparing version 4.0.0 to 5.0.1
@@ -39,3 +39,9 @@ "use strict"; | ||
catch (err) { | ||
break; | ||
if (err instanceof RangeError) { | ||
// The buffer doesn't have all the data yet. Keep reading. | ||
break; | ||
} | ||
else { | ||
throw err; | ||
} | ||
} | ||
@@ -42,0 +48,0 @@ } |
{ | ||
"name": "cucumber-messages", | ||
"version": "4.0.0", | ||
"version": "5.0.1", | ||
"description": "Protocol Buffer messages for Cucumber's inter-process communication", | ||
@@ -25,3 +25,3 @@ "main": "dist/src/index.js", | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^12.7.1", | ||
"@types/node": "^12.7.2", | ||
"copyfiles": "^2.1.1", | ||
@@ -32,3 +32,3 @@ "mocha": "^6.2.0", | ||
"ts-node": "^8.3.0", | ||
"tslint": "^5.18.0", | ||
"tslint": "^5.19.0", | ||
"tslint-config-prettier": "^1.18.0", | ||
@@ -35,0 +35,0 @@ "tslint-plugin-prettier": "^2.0.1", |
@@ -26,3 +26,8 @@ import { Transform, TransformCallback } from 'stream' | ||
} catch (err) { | ||
break | ||
if (err instanceof RangeError) { | ||
// The buffer doesn't have all the data yet. Keep reading. | ||
break | ||
} else { | ||
throw err | ||
} | ||
} | ||
@@ -29,0 +34,0 @@ } |
@@ -15,2 +15,4 @@ { | ||
"allowJs": false, | ||
"jsx": "react", | ||
"resolveJsonModule": true, | ||
"module": "commonjs", | ||
@@ -21,3 +23,4 @@ "esModuleInterop": true, | ||
"outDir": "dist", | ||
"downlevelIteration": true | ||
"downlevelIteration": true, | ||
"skipLibCheck": true | ||
}, | ||
@@ -24,0 +27,0 @@ "include": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1378108
30
22110