Socket
Socket
Sign inDemoInstall

monkeylearn

Package Overview
Dependencies
70
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.10 to 0.1.11

10

lib/Classification.js

@@ -221,2 +221,12 @@ 'use strict';

Classification.prototype.detail = function(module_id, category_id, callback, sleep_if_throttled) {
sleep_if_throttled = typeof sleep_if_throttled !== 'undefined' ? sleep_if_throttled : true;
var url = this.endpoint + module_id + '/categories/' + category_id + '/';
var promise = Q.all([this.makeRequest(url, 'GET', null, sleep_if_throttled)]);
promise = promise.then(function (response_array) {
return new MonkeyLearnResponse(response_array);
});
return promise.nodeify(callback);
};
Categories.prototype.create = function(module_id, name, parent_id, callback, sleep_if_throttled) {

@@ -223,0 +233,0 @@ var data = {

2

package.json
{
"name": "monkeylearn",
"version": "0.1.10",
"version": "0.1.11",
"description": "Official Node client for the MonkeyLearn API.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc