wiki-security-passportjs 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "wiki-security-passportjs",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Security plugin for Federated Wiki, using passport.js",
5
5
  "author": "Paul Rodwell <paul.rodwell@btinternet.com> (http://rodwell.me)",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
+ "@passport-js/passport-twitter": "^1.0.8",
8
9
  "coffeescript": "^2.4.1",
9
10
  "es6-promise": "^4.2.8",
10
11
  "lodash": "^4.17.19",
@@ -12,7 +13,6 @@
12
13
  "passport-github2": "^0.1.12",
13
14
  "passport-google-oauth20": "^2.0.0",
14
15
  "passport-oauth2": "^1.6.1",
15
- "passport-twitter": "github:paul90/passport-twitter#48b52556f48e4e8f7c55288baaf3ba3076eeba16",
16
16
  "persona-pass": "^0.2.1",
17
17
  "qs": "^6.7.0",
18
18
  "whatwg-fetch": "^3.2.0"
@@ -288,7 +288,7 @@ module.exports = exports = (log, loga, argv) ->
288
288
  # Twitter Strategy
289
289
  if argv.twitter_consumerKey? and argv.twitter_consumerSecret?
290
290
  ids.push('twitter')
291
- TwitterStrategy = require('passport-twitter').Strategy
291
+ TwitterStrategy = require('@passport-js/passport-twitter').Strategy
292
292
 
293
293
  twitterStrategyName = callbackHost + 'Twitter'
294
294