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

watson-developer-cloud

Package Overview
Dependencies
Maintainers
3
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watson-developer-cloud - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

conversation/v1.js

@@ -55,3 +55,3 @@ /**

json: true,
body: pick(params, ['input', 'context', 'alternate_intents']),
body: pick(params, ['input', 'context', 'alternate_intents', 'output', 'entities', 'intents']),
path: pick(params, ['workspace_id'])

@@ -58,0 +58,0 @@ },

@@ -28,4 +28,2 @@ /**

exports.ConceptInsightsV2 = require('./concept-insights/v2');
exports.ConversationV1 = require('./conversation/v1');

@@ -44,4 +42,2 @@ exports.ConversationV1Experimental = require('./conversation/v1-experimental');

exports.RelationshipExtractionV1Beta = require('./relationship-extraction/v1-beta');
exports.RetrieveAndRankV1 = require('./retrieve-and-rank/v1');

@@ -101,3 +97,4 @@

// if old code happens to try using one
['message_resonance', 'question_and_answer', 'visual_insights', 'concept_expansion'].forEach(function(serviceName) {
['concept_insights', 'relationship_extraction', 'message_resonance', 'question_and_answer',
'visual_insights', 'concept_expansion'].forEach(function(serviceName) {
Object.defineProperty(exports, serviceName, {

@@ -104,0 +101,0 @@ enumerable: false,

{
"name": "watson-developer-cloud",
"version": "2.0.1",
"version": "2.0.2",
"description": "Client library to use the IBM Watson Services and AlchemyAPI",

@@ -83,3 +83,3 @@ "main": "./lib/index",

"dependencies": {
"cookie": "~0.2.3",
"cookie": "~0.3.1",
"csv-stringify": "~1.0.2",

@@ -91,6 +91,6 @@ "extend": "~3.0.0",

"object.pick": "~1.1.1",
"request": "~2.72.0",
"request": "~2.74.0",
"solr-client": "~0.6.0",
"string": "3.3.1",
"vcap_services": "~0.1.7",
"vcap_services": "~0.2.0",
"websocket": "~1.0.22"

@@ -97,0 +97,0 @@ },

@@ -53,5 +53,5 @@ Watson Developer Cloud Node.js SDK

1) User-supplied credentials passed to the service constructor
2) `SERVICE_NAME_USERNAME` and `SERVICE_NAME_PASSWORD` environment properties (or `SERVICE_NAME_API_KEY` when appropriate)
3) Bluemix-supplied credentials (via the `VCAP_SERVICES` JSON-encoded environment property)

@@ -245,4 +245,6 @@

### Concept Insights
Concept Insights is deprecated as of July 12, 2016. The service will be removed on August 19th, 2016.
The [Concept Insights][concept_insights] has been deprecated, AlchemyLanguage's concept function can be used as a replacement for most Concept Insights use cases; therefore, we encourage existing Concept Insights service users to migrate to AlchemyLanguage.
### Conversation

@@ -423,26 +425,5 @@

### Relationship Extraction
Analyze an English news article and get the relationships between sentence
components (nouns, verbs, subjects, objects, etc.) by using the
[Relationship Extraction][relationship_extraction] service.
Relationship Extraction has been deprecated. If you want to continue using Relationship Extraction models, you can now access them with AlchemyLanguage. See the [migration guide][re_migration] for details.
```javascript
var watson = require('watson-developer-cloud');
var relationship_extraction = watson.relationship_extraction({
username: '<username>',
password: '<password>',
version: 'v1-beta'
});
relationship_extraction.extract({
text: 'IBM Watson developer cloud',
dataset: 'ie-en-news' },
function (err, response) {
if (err)
console.log('error:', err);
else
console.log(JSON.stringify(response, null, 2));
});
```
### Retrieve and Rank

@@ -689,2 +670,3 @@ Use the [Retrieve and Rank][retrieve_and_rank] service to enhance search results with machine learning.

[language_translator]: http://www.ibm.com/watson/developercloud/doc/language-translation/
[re_migration]: http://www.ibm.com/watson/developercloud/doc/alchemylanguage/migration.shtml

@@ -691,0 +673,0 @@ [alchemy_language]: http://www.alchemyapi.com/products/alchemylanguage

@@ -102,3 +102,3 @@ /**

VisualRecognitionV3.prototype.version = 'v3';
VisualRecognitionV3.URL = 'http://gateway-a.watsonplatform.net/visual-recognition/api';
VisualRecognitionV3.URL = 'https://gateway-a.watsonplatform.net/visual-recognition/api';
VisualRecognitionV3.prototype.serviceDefaults = {

@@ -105,0 +105,0 @@ alchemy: true

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc