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

@slack/oauth

Package Overview
Dependencies
Maintainers
14
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slack/oauth - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

dist/errors.js

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

({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);

@@ -9,0 +9,0 @@ };

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.InstallProvider = void 0;
exports.LogLevel = exports.InstallProvider = void 0;
var jsonwebtoken_1 = require("jsonwebtoken");

@@ -326,7 +326,9 @@ var web_api_1 = require("@slack/web-api");

case 8:
if (!(v2Resp.authed_user.access_token !== undefined && v2Resp.is_enterprise_install)) return [3 /*break*/, 10];
if (!(v2Resp.authed_user.access_token !== undefined)) return [3 /*break*/, 10];
return [4 /*yield*/, runAuthTest(v2Resp.authed_user.access_token, this.clientOptions)];
case 9:
authResult = _b.sent();
v2Installation.enterpriseUrl = authResult.url;
if (v2Resp.is_enterprise_install) {
v2Installation.enterpriseUrl = authResult.url;
}
return [3 /*break*/, 11];

@@ -333,0 +335,0 @@ case 10:

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLogger = void 0;
exports.getLogger = exports.LogLevel = void 0;
var logger_1 = require("@slack/logger");

@@ -5,0 +5,0 @@ var logger_2 = require("@slack/logger");

{
"name": "@slack/oauth",
"version": "2.0.0",
"version": "2.0.1",
"description": "Official library for interacting with Slack's Oauth endpoints",

@@ -5,0 +5,0 @@ "author": "Slack Technologies, Inc.",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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