Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@slack/oauth

Package Overview
Dependencies
Maintainers
11
Versions
28
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 3.0.0 to 3.0.1

6

dist/install-provider-options.d.ts

@@ -1,6 +0,6 @@

import { Logger, LogLevel } from '@slack/logger';
import { LogLevel, Logger } from '@slack/logger';
import { WebClientOptions } from '@slack/web-api';
import { InstallURLOptions } from './install-url-options';
import { InstallationStore } from './installation-stores';
import { StateStore } from './state-stores';
import { InstallationStore } from './installation-stores';
import { InstallURLOptions } from './install-url-options';
export interface InstallProviderOptions {

@@ -7,0 +7,0 @@ /**

@@ -6,8 +6,8 @@ /// <reference types="node" />

import { CallbackOptions } from './callback-options';
import { InstallPathOptions } from './install-path-options';
import { InstallProviderOptions } from './install-provider-options';
import { InstallURLOptions } from './install-url-options';
import { InstallationQuery } from './installation-query';
import { InstallURLOptions } from './install-url-options';
import { InstallProviderOptions } from './install-provider-options';
import { InstallationStore } from './installation-stores';
import { StateStore } from './state-stores';
import { InstallationStore } from './installation-stores';
import { InstallPathOptions } from './install-path-options';
/**

@@ -14,0 +14,0 @@ * InstallProvider Class. Refer to InsallProviderOptions interface for the details of constructor arguments.

@@ -57,7 +57,7 @@ "use strict";

var callback_options_1 = require("./callback-options");
var default_render_html_for_install_path_1 = __importDefault(require("./default-render-html-for-install-path"));
var errors_1 = require("./errors");
var installation_stores_1 = require("./installation-stores");
var logger_1 = require("./logger");
var state_stores_1 = require("./state-stores");
var installation_stores_1 = require("./installation-stores");
var default_render_html_for_install_path_1 = __importDefault(require("./default-render-html-for-install-path"));
/**

@@ -64,0 +64,0 @@ * InstallProvider Class. Refer to InsallProviderOptions interface for the details of constructor arguments.

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

import { Installation, InstallationStore, InstallationQuery } from '../index';
import { Installation, InstallationQuery, InstallationStore } from '../index';
import { Logger } from '../logger';

@@ -3,0 +3,0 @@ export interface FileInstallationOptions {

@@ -43,4 +43,4 @@ "use strict";

var fs_1 = __importDefault(require("fs"));
var os_1 = require("os");
var path_1 = __importDefault(require("path"));
var os_1 = require("os");
var FileInstallationStore = /** @class */ (function () {

@@ -47,0 +47,0 @@ function FileInstallationStore(_a) {

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

import { Installation, InstallationStore, InstallationQuery } from '../index';
import { Installation, InstallationQuery, InstallationStore } from '../index';
import { Logger } from '../logger';

@@ -3,0 +3,0 @@ interface DevDatabase {

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

import { Logger, LogLevel } from '@slack/logger';
import { LogLevel, Logger } from '@slack/logger';
export { Logger, LogLevel } from '@slack/logger';

@@ -3,0 +3,0 @@ /**

@@ -0,3 +1,3 @@

import { StateStore } from './interface';
import { InstallURLOptions } from '../install-url-options';
import { StateStore } from './interface';
export default class ClearStateStore implements StateStore {

@@ -4,0 +4,0 @@ private stateSecret;

@@ -43,4 +43,4 @@ "use strict";

exports.FileStateStore = void 0;
var fs_1 = __importDefault(require("fs"));
var os_1 = require("os");
var fs_1 = __importDefault(require("fs"));
var path_1 = __importDefault(require("path"));

@@ -47,0 +47,0 @@ var logger_1 = require("@slack/logger");

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

@@ -33,6 +33,7 @@ "author": "Slack Technologies, LLC",

"build": "npm run build:clean && tsc",
"build:clean": "shx rm -rf ./dist ./coverage ./.nyc_output",
"build:clean": "shx rm -rf ./dist ./coverage",
"lint": "eslint --fix --ext .ts src",
"test": "npm run build && npm run lint && npm run test:mocha",
"test:mocha": "nyc --reporter=text-summary mocha --config .mocharc.json src/*.spec.js src/**/*.spec.js src/*.spec.ts src/**/*.spec.ts",
"test": "npm run lint && npm run coverage",
"coverage": "npm run build && c8 npm run test:mocha",
"test:mocha": "mocha --config .mocharc.json src/*.spec.js src/**/*.spec.js src/*.spec.ts src/**/*.spec.ts",
"ref-docs:model": "api-extractor run",

@@ -43,3 +44,3 @@ "watch": "npx nodemon --watch 'src' --ext 'ts' --exec npm run build"

"@slack/logger": "^4",
"@slack/web-api": "^7",
"@slack/web-api": "^7.3.4",
"@types/jsonwebtoken": "^9",

@@ -57,2 +58,3 @@ "@types/node": ">=18",

"@typescript-eslint/parser": "^6",
"c8": "^9.1.0",
"chai": "^4",

@@ -63,6 +65,6 @@ "eslint": "^8",

"eslint-plugin-import": "^2",
"eslint-plugin-import-newlines": "^1.3.4",
"eslint-plugin-jsdoc": "^48",
"eslint-plugin-node": "^11",
"mocha": "^10",
"nyc": "^15",
"rewiremock": "^3",

@@ -69,0 +71,0 @@ "shx": "^0.3.2",

# Slack OAuth
[![codecov](https://codecov.io/gh/slackapi/node-slack-sdk/graph/badge.svg?token=OcQREPvC7r&flag=oauth)](https://codecov.io/gh/slackapi/node-slack-sdk)
The `@slack/oauth` package makes it simple to setup the OAuth flow for Slack apps. It supports [V2 OAuth](https://api.slack.com/authentication/oauth-v2) for Slack Apps as well as [V1 OAuth](https://api.slack.com/docs/oauth) for [Classic Slack apps](https://api.slack.com/authentication/quickstart). Slack apps that are installed in multiple workspaces, like in the App Directory or in an Enterprise Grid, will need to implement OAuth and store information about each of those installations (such as access tokens).

@@ -365,3 +367,3 @@

This package supports Node v14 and higher. It's highly recommended to use [the latest LTS version of
This package supports Node v18 and higher. It's highly recommended to use [the latest LTS version of
node](https://github.com/nodejs/Release#release-schedule), and the documentation is written using syntax and features

@@ -368,0 +370,0 @@ from that version.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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