@aoberoi/passport-slack
Advanced tools
Comparing version 2.0.0-beta.8 to 2.0.0-beta.9
@@ -8,2 +8,3 @@ "use strict"; | ||
const querystring_1 = require("querystring"); | ||
const url_1 = require("url"); | ||
const passport_oauth2_1 = __importDefault(require("passport-oauth2")); // tslint:disable-line:import-name | ||
@@ -181,3 +182,5 @@ const object_entries_1 = __importDefault(require("object.entries")); | ||
return new Promise((resolve, reject) => { | ||
const req = https_1.get(`${url}?${querystring_1.stringify(data)}`, { headers }, (res) => { | ||
const fullUrl = `${url}?${querystring_1.stringify(data)}`; | ||
const urlObj = url_1.parse(fullUrl); | ||
const req = https_1.get(Object.assign({ headers }, urlObj), (res) => { | ||
let body = ''; | ||
@@ -184,0 +187,0 @@ if (res.statusCode !== 200) { |
{ | ||
"name": "@aoberoi/passport-slack", | ||
"version": "2.0.0-beta.8", | ||
"version": "2.0.0-beta.9", | ||
"description": "Slack authentication strategy for Passport", | ||
@@ -5,0 +5,0 @@ "main": "dist/strategy.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32501
416