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

node-zendesk

Package Overview
Dependencies
Maintainers
3
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-zendesk - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

4

lib/client/client.js

@@ -5,3 +5,3 @@ // client.js - main client file that does most of the processing

var fs = require('fs'),
constants = require('constants'),
constants = require('crypto').constants,
request = require('request'),

@@ -41,3 +41,3 @@ util = require('util'),

proxy: this.options.get('proxy') || null,
secureOptions: constants.SSL_OP_NO_TLSv1_2,
secureOptions: constants.SSL_OP_NO_TLSv1 | constants.SSL_OP_NO_TLSv1_1,
forever: true,

@@ -44,0 +44,0 @@ pool: {maxSockets: 100}

@@ -26,2 +26,7 @@ //Categories.js: Client for the zendesk API.

// ====================================== Listing Categories By Locale
Categories.prototype.listWithLocale = function (locale, cb) {
this.requestAll('GET', [locale, 'categories'], cb);//all
};
// ====================================== Viewing Categories

@@ -28,0 +33,0 @@

@@ -22,3 +22,3 @@ //Search.js: Client for the zendesk help center API.

var searchContent = typeof searchString === 'object' ? searchString : {query : searchString};
this.request('GET', ['articles', 'search'], searchContent, cb);
this.request('GET', ['articles', 'search', searchContent], cb);
};

@@ -29,3 +29,3 @@

var searchContent = {query : searchString, locale: locale};
this.request('GET', ['articles', 'search'], searchContent, cb);
this.request('GET', ['articles', 'search', searchContent], cb);
};

@@ -36,3 +36,3 @@

var searchContent = typeof labelNames === 'object' ? labelNames : {label_names : labelNames};
this.request('GET', ['articles'], searchContent, cb);
this.request('GET', ['articles', searchContent], cb);
};

@@ -44,3 +44,3 @@

var searchContent = typeof searchString === 'object' ? searchString : {query : searchString};
this.request('GET', ['questions', 'search'], searchContent, cb);
this.request('GET', ['questions', 'search', searchContent], cb);
};

@@ -63,3 +63,3 @@ //Organizations.js: Client for the zendesk API.

OrganizationMemberships.prototype.deleteMany = function (organizationMembershipIDs, cb) {
this.request('DELETE', ['organization_memberships', 'destroy_many'], organizationMembershipID, cb);
this.request('DELETE', ['organization_memberships', 'destroy_many'], organizationMembershipIDs, cb);
};

@@ -66,0 +66,0 @@

{
"name": "node-zendesk",
"version": "1.2.1",
"version": "1.3.0",
"description": "zendesk API client wrapper",

@@ -5,0 +5,0 @@ "keywords": [

@@ -664,2 +664,3 @@ # node-zendesk

list(cb)
listWithLocale(locale, cb)
show(categoryID, cb)

@@ -666,0 +667,0 @@ create(category, cb)

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