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 4.0.3 to 4.0.4

10

package.json
{
"name": "node-zendesk",
"version": "4.0.3",
"version": "4.0.4",
"type": "commonjs",

@@ -70,2 +70,8 @@ "description": "zendesk API client wrapper",

"license": "MIT",
"funding": [
{
"type": "individual",
"url": "https://github.com/blakmatrix/node-zendesk?sponsor=1"
}
],
"engines": {

@@ -77,2 +83,4 @@ "node": ">= 18"

"dotenv": "^16.3.1",
"nock": "^13.3.3",
"request": "^2.88.2",
"vitest": "^0.34.3",

@@ -79,0 +87,0 @@ "xo": "^0.56.0"

8

src/client/core/organizationmemberships.js

@@ -184,5 +184,7 @@ // Organizations.js: Client for the zendesk API.

async deleteMany(organizationMembershipIDs) {
return super.delete(
['organization_memberships', 'destroy_many', { ids: organizationMembershipIDs.join(',') }],
);
return super.delete([
'organization_memberships',
'destroy_many',
{ids: organizationMembershipIDs.join(',')},
]);
}

@@ -189,0 +191,0 @@

@@ -27,2 +27,3 @@ /**

'tickets/incremental/.*',
'incremental/tickets/.*',
'ticket_metrics',

@@ -102,6 +103,3 @@ 'ticket/.+/audits',

const regex = new RegExp(
`^${pattern
.replaceAll('.', '\\.')
.replaceAll('/', '\\/')
.replaceAll(/{.+}/g, '.+')}$`,
`^${pattern.replaceAll('/', '\\/').replaceAll(/{.+}/g, '.+')}$`,
);

@@ -108,0 +106,0 @@ this.SUPPORTED_REGEXES.add(regex);

@@ -227,4 +227,4 @@ const failCodes = {

// The following occurs on delete requests
if (response.status === 204 && response.statusText === 'No Content') {
return createError(response.statusText, response.status);
if (response.status === 204 && (response.statusText == null || response.statusText === 'No Content')) {
return createError('No Content', response.status);
}

@@ -231,0 +231,0 @@

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