login-with-twitter
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -0,1 +1,2 @@ | ||
/*! login-with-twitter. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */ | ||
const crypto = require('crypto') | ||
@@ -2,0 +3,0 @@ const get = require('simple-get') |
{ | ||
"name": "login-with-twitter", | ||
"description": "Login with Twitter. OAuth without the nonsense.", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"author": { | ||
"name": "Feross Aboukhadijeh", | ||
"email": "feross@feross.org", | ||
"url": "http://feross.org/" | ||
"url": "https://feross.org" | ||
}, | ||
@@ -17,8 +17,8 @@ "browser": { | ||
"dependencies": { | ||
"oauth-1.0a": "^2.2.1", | ||
"simple-get": "^3.0.3" | ||
"oauth-1.0a": "^2.2.6", | ||
"simple-get": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"standard": "*", | ||
"tape": "^4.0.0" | ||
"tape": "^5.0.1" | ||
}, | ||
@@ -46,3 +46,17 @@ "homepage": "https://github.com/feross/login-with-twitter", | ||
"test": "standard && tape test/*.js" | ||
} | ||
}, | ||
"funding": [ | ||
{ | ||
"type": "github", | ||
"url": "https://github.com/sponsors/feross" | ||
}, | ||
{ | ||
"type": "patreon", | ||
"url": "https://www.patreon.com/feross" | ||
}, | ||
{ | ||
"type": "consulting", | ||
"url": "https://feross.org/support" | ||
} | ||
] | ||
} |
@@ -59,3 +59,3 @@ # login-with-twitter [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url] | ||
// Redirect to the /twitter/callback route, with the OAuth responses as query params | ||
req.redirect(url) | ||
res.redirect(url) | ||
}) | ||
@@ -95,3 +95,3 @@ }) | ||
// Redirect to whatever route that can handle your new Twitter login user details! | ||
req.redirect('/') | ||
res.redirect('/') | ||
}); | ||
@@ -98,0 +98,0 @@ }); |
10349
125
+ Addeddecompress-response@6.0.0(transitive)
+ Addedmimic-response@3.1.0(transitive)
+ Addedsimple-get@4.0.1(transitive)
- Removeddecompress-response@4.2.1(transitive)
- Removedmimic-response@2.1.0(transitive)
- Removedsimple-get@3.1.1(transitive)
Updatedoauth-1.0a@^2.2.6
Updatedsimple-get@^4.0.0