New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ibm-watson

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ibm-watson - npm Package Compare versions

Comparing version

to
4.2.2

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [4.2.2](https://github.com/watson-developer-cloud/node-sdk/compare/v4.2.1...v4.2.2) (2019-07-12)
### Bug Fixes
* only set readableObjectMode in recognize-stream if not present ([#907](https://github.com/watson-developer-cloud/node-sdk/issues/907)) ([155c005](https://github.com/watson-developer-cloud/node-sdk/commit/155c005))
## [4.2.1](https://github.com/watson-developer-cloud/node-sdk/compare/v4.2.0...v4.2.1) (2019-06-14)

@@ -2,0 +9,0 @@

8

lib/recognize-stream.js

@@ -120,11 +120,13 @@ "use strict";

function RecognizeStream(options) {
var _this =
var _this = this;
// this stream only supports objectMode on the output side.
// It must receive binary data input.
_super.call(this, options) || this;
if (options.objectMode) {
options.readableObjectMode = true;
_this.readableObjectMode = true;
delete options.objectMode;
}
_this = _super.call(this, options) || this;
if (options.readableObjectMode && _this.readableObjectMode === undefined) {
_this.readableObjectMode = true;
}
_this.options = options;

@@ -131,0 +133,0 @@ _this.listening = false;

{
"name": "ibm-watson",
"version": "4.2.1",
"version": "4.2.2",
"description": "Client library to use the IBM Watson Services",

@@ -5,0 +5,0 @@ "repository": {

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