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

@jsforce/jsforce-node

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsforce/jsforce-node - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

3

lib/oauth2.js

@@ -166,3 +166,3 @@ "use strict";

async authenticate(username, password) {
if (!this.clientId || !this.clientSecret || !this.redirectUri) {
if (!this.clientId || !this.clientSecret) {
throw new Error('No valid OAuth2 client configuration set');

@@ -176,3 +176,2 @@ }

client_secret: this.clientSecret,
redirect_uri: this.redirectUri,
});

@@ -179,0 +178,0 @@ return ret;

@@ -59,3 +59,3 @@ "use strict";

const retryOpts = {
statusCodes: options.retry?.statusCodes ?? [429, 500, 502, 503, 504],
statusCodes: options.retry?.statusCodes ?? [420, 429, 500, 502, 503, 504],
maxRetries: options.retry?.maxRetries ?? 5,

@@ -62,0 +62,0 @@ minTimeout: options.retry?.minTimeout ?? 500,

@@ -56,2 +56,5 @@ "use strict";

}
catch (err) {
throw new Error(`Unable to refresh session due to: ${err.message}`);
}
finally {

@@ -58,0 +61,0 @@ this._refreshPromise = undefined;

@@ -1,2 +0,2 @@

declare const _default: "3.2.1";
declare const _default: "3.2.2";
export default _default;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = '3.2.1';
exports.default = '3.2.2';

@@ -13,3 +13,3 @@ {

"homepage": "http://github.com/jsforce/jsforce",
"version": "3.2.1",
"version": "3.2.2",
"repository": {

@@ -16,0 +16,0 @@ "type": "git",

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