├── .github └── workflows │ └── build.yaml ├── .gitignore ├── .npmignore ├── LICENSE.md ├── README.md ├── _config.yml ├── examples └── login │ ├── README.md │ ├── app.js │ ├── package-lock.json │ ├── package.json │ └── views │ ├── account.html │ ├── index.html │ ├── layout.html │ └── login.html ├── lib └── passport-spotify │ ├── index.js │ └── strategy.js ├── package-lock.json ├── package.json └── test └── strategy.test.js /.github/workflows/build.yaml: -------------------------------------------------------------------------------- 1 | name: build 2 | 3 | on: 4 | push: 5 | branches: [master] 6 | pull_request: 7 | branches: [master] 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | 13 | steps: 14 | - uses: actions/checkout@v2 15 | - name: Use Node.js 16 | uses: actions/setup-node@v1 17 | with: 18 | node-version: '12.x' 19 | - name: Install dependencies 20 | run: npm install 21 | - name: Build library and test 22 | run: npm test 23 | env: 24 | CI: true 25 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | node_modules 3 | examples/login/node_modules 4 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | test 3 | examples 4 | .gitignore 5 | .npmignore 6 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 José Manuel Pérez Pérez 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Passport-Spotify 2 | 3 | [Passport](http://passportjs.org/) strategy for authenticating with [Spotify](http://www.spotify.com/) 4 | using the OAuth 2.0 API. 5 | 6 | This module lets you authenticate using Spotify in your Node.js applications. 7 | By plugging into Passport, Spotify authentication can be easily and 8 | unobtrusively integrated into any application or framework that supports 9 | [Connect](http://www.senchalabs.org/connect/)-style middleware, including 10 | [Express](http://expressjs.com/). 11 | 12 | For more information about Spotify's OAuth 2.0 implementation, check their 13 | [Web API Authorization Guide](https://developer.spotify.com/web-api/authorization-guide/). 14 | 15 | ## Installation 16 | 17 | $ npm install passport-spotify 18 | 19 | ## Usage 20 | 21 | ### Configure Strategy 22 | 23 | The Spotify authentication strategy authenticates users using a Spotify account 24 | and OAuth 2.0 tokens. The strategy requires a `verify` callback, which accepts 25 | these credentials and calls `done` providing a user, as well as `options` 26 | specifying a client ID, client secret, and callback URL. 27 | 28 | ```javascript 29 | const SpotifyStrategy = require('passport-spotify').Strategy; 30 | 31 | passport.use( 32 | new SpotifyStrategy( 33 | { 34 | clientID: client_id, 35 | clientSecret: client_secret, 36 | callbackURL: 'http://localhost:8888/auth/spotify/callback', 37 | }, 38 | function (accessToken, refreshToken, expires_in, profile, done) { 39 | User.findOrCreate({spotifyId: profile.id}, function (err, user) { 40 | return done(err, user); 41 | }); 42 | } 43 | ) 44 | ); 45 | ``` 46 | 47 | ### Authenticate Requests 48 | 49 | Use `passport.authenticate()`, specifying the `'spotify'` strategy, to 50 | authenticate requests. 51 | 52 | For example, as route middleware in an [Express](http://expressjs.com/) 53 | application: 54 | 55 | ```javascript 56 | app.get('/auth/spotify', passport.authenticate('spotify')); 57 | 58 | app.get( 59 | '/auth/spotify/callback', 60 | passport.authenticate('spotify', {failureRedirect: '/login'}), 61 | function (req, res) { 62 | // Successful authentication, redirect home. 63 | res.redirect('/'); 64 | } 65 | ); 66 | ``` 67 | 68 | ### Using scopes 69 | 70 | Depending on the data you want to fetch, you may want to specify custom scopes. For more information about scopes in the Spotify Web API check [their developer site](https://developer.spotify.com/web-api/using-scopes/). 71 | 72 | By default, no scope is passed. That means that you won't fetch information such as display name, picture or email. You can get those by using these scopes: 73 | 74 | - `user-read-email`: Returns the email address of the user on Spotify, if it exists. 75 | - `user-read-private`: Returns private information about the user such as display name and picture, if they are set. 76 | 77 | You can specify the parameters in the `authenticate` call: 78 | 79 | ```javascript 80 | app.get( 81 | '/auth/spotify', 82 | passport.authenticate('spotify', { 83 | scope: ['user-read-email', 'user-read-private'], 84 | }) 85 | ); 86 | ``` 87 | 88 | ### Forcing login dialog 89 | 90 | You can force the login dialog using the `showDialog` parameter when authenticating: 91 | 92 | ```javascript 93 | app.get( 94 | '/auth/spotify', 95 | passport.authenticate('spotify', { 96 | scope: ['user-read-email', 'user-read-private'], 97 | showDialog: true, 98 | }) 99 | ); 100 | ``` 101 | 102 | ## Examples 103 | 104 | For a complete, working example, refer to the [login example](https://github.com/jmperez/passport-spotify/tree/master/examples/login). 105 | 106 | You can get your keys on [Spotify - My Applications](https://developer.spotify.com/my-applications). 107 | 108 | ## Tests 109 | 110 | $ npm install --dev 111 | $ npm test 112 | 113 | ## Build and Coverage Status 114 | 115 | [](https://github.com/JMPerez/passport-spotify/actions) 116 | 117 | ## License 118 | 119 | [The MIT License](http://opensource.org/licenses/MIT) 120 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-minimal -------------------------------------------------------------------------------- /examples/login/README.md: -------------------------------------------------------------------------------- 1 | # Login Example 2 | 3 | If you want to run the project, create a Spotify app on [the Spotify Developer site](https://developer.spotify.com/dashboard/). 4 | 5 | 1. Add `http://localhost:8888/auth/spotify/callback` as a redirect URI to your app profile. 6 | 1. Create a `.env` file with the following: 7 | 8 | ``` 9 | CLIENT_ID= 10 | CLIENT_SECRET= 11 | ``` 12 | 13 | 1. Copy the client ID and client secret and paste them into the `.env`. 14 | 1. Install the dependencies. 15 | 16 | ```sh 17 | npm install 18 | ``` 19 | 20 | 1. Run the application. 21 | 22 | ```sh 23 | node app.js 24 | ``` 25 | 26 | 1. Navigate to `http://localhost:8888/`. 27 | -------------------------------------------------------------------------------- /examples/login/app.js: -------------------------------------------------------------------------------- 1 | var express = require('express'), 2 | session = require('express-session'), 3 | passport = require('passport'), 4 | SpotifyStrategy = require('passport-spotify').Strategy, 5 | consolidate = require('consolidate'); 6 | 7 | require('dotenv').config(); 8 | 9 | var port = 8888; 10 | var authCallbackPath = '/auth/spotify/callback'; 11 | 12 | // Passport session setup. 13 | // To support persistent login sessions, Passport needs to be able to 14 | // serialize users into and deserialize users out of the session. Typically, 15 | // this will be as simple as storing the user ID when serializing, and finding 16 | // the user by ID when deserializing. However, since this example does not 17 | // have a database of user records, the complete spotify profile is serialized 18 | // and deserialized. 19 | passport.serializeUser(function (user, done) { 20 | done(null, user); 21 | }); 22 | 23 | passport.deserializeUser(function (obj, done) { 24 | done(null, obj); 25 | }); 26 | 27 | // Use the SpotifyStrategy within Passport. 28 | // Strategies in Passport require a `verify` function, which accept 29 | // credentials (in this case, an accessToken, refreshToken, expires_in 30 | // and spotify profile), and invoke a callback with a user object. 31 | passport.use( 32 | new SpotifyStrategy( 33 | { 34 | clientID: process.env.CLIENT_ID, 35 | clientSecret: process.env.CLIENT_SECRET, 36 | callbackURL: 'http://localhost:' + port + authCallbackPath, 37 | }, 38 | function (accessToken, refreshToken, expires_in, profile, done) { 39 | // asynchronous verification, for effect... 40 | process.nextTick(function () { 41 | // To keep the example simple, the user's spotify profile is returned to 42 | // represent the logged-in user. In a typical application, you would want 43 | // to associate the spotify account with a user record in your database, 44 | // and return that user instead. 45 | return done(null, profile); 46 | }); 47 | } 48 | ) 49 | ); 50 | 51 | var app = express(); 52 | 53 | // configure Express 54 | app.set('views', __dirname + '/views'); 55 | app.set('view engine', 'html'); 56 | 57 | app.use( 58 | session({secret: 'keyboard cat', resave: true, saveUninitialized: true}) 59 | ); 60 | // Initialize Passport! Also use passport.session() middleware, to support 61 | // persistent login sessions (recommended). 62 | app.use(passport.initialize()); 63 | app.use(passport.session()); 64 | 65 | app.use(express.static(__dirname + '/public')); 66 | 67 | app.engine('html', consolidate.nunjucks); 68 | 69 | app.get('/', function (req, res) { 70 | res.render('index.html', {user: req.user}); 71 | }); 72 | 73 | app.get('/account', ensureAuthenticated, function (req, res) { 74 | res.render('account.html', {user: req.user}); 75 | }); 76 | 77 | app.get('/login', function (req, res) { 78 | res.render('login.html', {user: req.user}); 79 | }); 80 | 81 | // GET /auth/spotify 82 | // Use passport.authenticate() as route middleware to authenticate the 83 | // request. The first step in spotify authentication will involve redirecting 84 | // the user to spotify.com. After authorization, spotify will redirect the user 85 | // back to this application at /auth/spotify/callback 86 | app.get( 87 | '/auth/spotify', 88 | passport.authenticate('spotify', { 89 | scope: ['user-read-email', 'user-read-private'], 90 | showDialog: true, 91 | }) 92 | ); 93 | 94 | // GET /auth/spotify/callback 95 | // Use passport.authenticate() as route middleware to authenticate the 96 | // request. If authentication fails, the user will be redirected back to the 97 | // login page. Otherwise, the primary route function function will be called, 98 | // which, in this example, will redirect the user to the home page. 99 | app.get( 100 | authCallbackPath, 101 | passport.authenticate('spotify', {failureRedirect: '/login'}), 102 | function (req, res) { 103 | res.redirect('/'); 104 | } 105 | ); 106 | 107 | app.get('/logout', function (req, res) { 108 | req.logout(); 109 | res.redirect('/'); 110 | }); 111 | 112 | app.listen(port, function () { 113 | console.log('App is listening on port ' + port); 114 | }); 115 | 116 | // Simple route middleware to ensure user is authenticated. 117 | // Use this route middleware on any resource that needs to be protected. If 118 | // the request is authenticated (typically via a persistent login session), 119 | // the request will proceed. Otherwise, the user will be redirected to the 120 | // login page. 121 | function ensureAuthenticated(req, res, next) { 122 | if (req.isAuthenticated()) { 123 | return next(); 124 | } 125 | res.redirect('/login'); 126 | } 127 | -------------------------------------------------------------------------------- /examples/login/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "passport-spotify-examples-login", 3 | "version": "0.0.1", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "a-sync-waterfall": { 8 | "version": "1.0.1", 9 | "resolved": "https://registry.npmjs.org/a-sync-waterfall/-/a-sync-waterfall-1.0.1.tgz", 10 | "integrity": "sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA==" 11 | }, 12 | "accepts": { 13 | "version": "1.3.7", 14 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", 15 | "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", 16 | "requires": { 17 | "mime-types": "~2.1.24", 18 | "negotiator": "0.6.2" 19 | } 20 | }, 21 | "anymatch": { 22 | "version": "3.1.1", 23 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", 24 | "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", 25 | "optional": true, 26 | "requires": { 27 | "normalize-path": "^3.0.0", 28 | "picomatch": "^2.0.4" 29 | } 30 | }, 31 | "array-flatten": { 32 | "version": "1.1.1", 33 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 34 | "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" 35 | }, 36 | "asap": { 37 | "version": "2.0.6", 38 | "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", 39 | "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" 40 | }, 41 | "binary-extensions": { 42 | "version": "2.1.0", 43 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz", 44 | "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==", 45 | "optional": true 46 | }, 47 | "bluebird": { 48 | "version": "3.7.2", 49 | "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", 50 | "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" 51 | }, 52 | "body-parser": { 53 | "version": "1.19.0", 54 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", 55 | "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", 56 | "requires": { 57 | "bytes": "3.1.0", 58 | "content-type": "~1.0.4", 59 | "debug": "2.6.9", 60 | "depd": "~1.1.2", 61 | "http-errors": "1.7.2", 62 | "iconv-lite": "0.4.24", 63 | "on-finished": "~2.3.0", 64 | "qs": "6.7.0", 65 | "raw-body": "2.4.0", 66 | "type-is": "~1.6.17" 67 | } 68 | }, 69 | "braces": { 70 | "version": "3.0.2", 71 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 72 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 73 | "optional": true, 74 | "requires": { 75 | "fill-range": "^7.0.1" 76 | } 77 | }, 78 | "bytes": { 79 | "version": "3.1.0", 80 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", 81 | "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" 82 | }, 83 | "chokidar": { 84 | "version": "3.4.2", 85 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.2.tgz", 86 | "integrity": "sha512-IZHaDeBeI+sZJRX7lGcXsdzgvZqKv6sECqsbErJA4mHWfpRrD8B97kSFN4cQz6nGBGiuFia1MKR4d6c1o8Cv7A==", 87 | "optional": true, 88 | "requires": { 89 | "anymatch": "~3.1.1", 90 | "braces": "~3.0.2", 91 | "fsevents": "~2.1.2", 92 | "glob-parent": "~5.1.0", 93 | "is-binary-path": "~2.1.0", 94 | "is-glob": "~4.0.1", 95 | "normalize-path": "~3.0.0", 96 | "readdirp": "~3.4.0" 97 | } 98 | }, 99 | "commander": { 100 | "version": "5.1.0", 101 | "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", 102 | "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==" 103 | }, 104 | "consolidate": { 105 | "version": "0.15.1", 106 | "resolved": "https://registry.npmjs.org/consolidate/-/consolidate-0.15.1.tgz", 107 | "integrity": "sha512-DW46nrsMJgy9kqAbPt5rKaCr7uFtpo4mSUvLHIUbJEjm0vo+aY5QLwBUq3FK4tRnJr/X0Psc0C4jf/h+HtXSMw==", 108 | "requires": { 109 | "bluebird": "^3.1.1" 110 | } 111 | }, 112 | "content-disposition": { 113 | "version": "0.5.3", 114 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", 115 | "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", 116 | "requires": { 117 | "safe-buffer": "5.1.2" 118 | } 119 | }, 120 | "content-type": { 121 | "version": "1.0.4", 122 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", 123 | "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" 124 | }, 125 | "cookie": { 126 | "version": "0.4.0", 127 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", 128 | "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" 129 | }, 130 | "cookie-signature": { 131 | "version": "1.0.6", 132 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 133 | "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" 134 | }, 135 | "debug": { 136 | "version": "2.6.9", 137 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 138 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 139 | "requires": { 140 | "ms": "2.0.0" 141 | } 142 | }, 143 | "depd": { 144 | "version": "1.1.2", 145 | "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", 146 | "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" 147 | }, 148 | "destroy": { 149 | "version": "1.0.4", 150 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", 151 | "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" 152 | }, 153 | "dotenv": { 154 | "version": "8.2.0", 155 | "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.2.0.tgz", 156 | "integrity": "sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==" 157 | }, 158 | "ee-first": { 159 | "version": "1.1.1", 160 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 161 | "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" 162 | }, 163 | "encodeurl": { 164 | "version": "1.0.2", 165 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 166 | "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" 167 | }, 168 | "escape-html": { 169 | "version": "1.0.3", 170 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 171 | "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" 172 | }, 173 | "etag": { 174 | "version": "1.8.1", 175 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 176 | "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" 177 | }, 178 | "express": { 179 | "version": "4.17.1", 180 | "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", 181 | "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", 182 | "requires": { 183 | "accepts": "~1.3.7", 184 | "array-flatten": "1.1.1", 185 | "body-parser": "1.19.0", 186 | "content-disposition": "0.5.3", 187 | "content-type": "~1.0.4", 188 | "cookie": "0.4.0", 189 | "cookie-signature": "1.0.6", 190 | "debug": "2.6.9", 191 | "depd": "~1.1.2", 192 | "encodeurl": "~1.0.2", 193 | "escape-html": "~1.0.3", 194 | "etag": "~1.8.1", 195 | "finalhandler": "~1.1.2", 196 | "fresh": "0.5.2", 197 | "merge-descriptors": "1.0.1", 198 | "methods": "~1.1.2", 199 | "on-finished": "~2.3.0", 200 | "parseurl": "~1.3.3", 201 | "path-to-regexp": "0.1.7", 202 | "proxy-addr": "~2.0.5", 203 | "qs": "6.7.0", 204 | "range-parser": "~1.2.1", 205 | "safe-buffer": "5.1.2", 206 | "send": "0.17.1", 207 | "serve-static": "1.14.1", 208 | "setprototypeof": "1.1.1", 209 | "statuses": "~1.5.0", 210 | "type-is": "~1.6.18", 211 | "utils-merge": "1.0.1", 212 | "vary": "~1.1.2" 213 | } 214 | }, 215 | "express-session": { 216 | "version": "1.17.1", 217 | "resolved": "https://registry.npmjs.org/express-session/-/express-session-1.17.1.tgz", 218 | "integrity": "sha512-UbHwgqjxQZJiWRTMyhvWGvjBQduGCSBDhhZXYenziMFjxst5rMV+aJZ6hKPHZnPyHGsrqRICxtX8jtEbm/z36Q==", 219 | "requires": { 220 | "cookie": "0.4.0", 221 | "cookie-signature": "1.0.6", 222 | "debug": "2.6.9", 223 | "depd": "~2.0.0", 224 | "on-headers": "~1.0.2", 225 | "parseurl": "~1.3.3", 226 | "safe-buffer": "5.2.0", 227 | "uid-safe": "~2.1.5" 228 | }, 229 | "dependencies": { 230 | "depd": { 231 | "version": "2.0.0", 232 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 233 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" 234 | }, 235 | "safe-buffer": { 236 | "version": "5.2.0", 237 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", 238 | "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==" 239 | } 240 | } 241 | }, 242 | "fill-range": { 243 | "version": "7.0.1", 244 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 245 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 246 | "optional": true, 247 | "requires": { 248 | "to-regex-range": "^5.0.1" 249 | } 250 | }, 251 | "finalhandler": { 252 | "version": "1.1.2", 253 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", 254 | "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", 255 | "requires": { 256 | "debug": "2.6.9", 257 | "encodeurl": "~1.0.2", 258 | "escape-html": "~1.0.3", 259 | "on-finished": "~2.3.0", 260 | "parseurl": "~1.3.3", 261 | "statuses": "~1.5.0", 262 | "unpipe": "~1.0.0" 263 | } 264 | }, 265 | "forwarded": { 266 | "version": "0.1.2", 267 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", 268 | "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" 269 | }, 270 | "fresh": { 271 | "version": "0.5.2", 272 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 273 | "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" 274 | }, 275 | "fsevents": { 276 | "version": "2.1.3", 277 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", 278 | "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", 279 | "optional": true 280 | }, 281 | "glob-parent": { 282 | "version": "5.1.1", 283 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", 284 | "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", 285 | "optional": true, 286 | "requires": { 287 | "is-glob": "^4.0.1" 288 | } 289 | }, 290 | "http-errors": { 291 | "version": "1.7.2", 292 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", 293 | "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", 294 | "requires": { 295 | "depd": "~1.1.2", 296 | "inherits": "2.0.3", 297 | "setprototypeof": "1.1.1", 298 | "statuses": ">= 1.5.0 < 2", 299 | "toidentifier": "1.0.0" 300 | } 301 | }, 302 | "iconv-lite": { 303 | "version": "0.4.24", 304 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 305 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 306 | "requires": { 307 | "safer-buffer": ">= 2.1.2 < 3" 308 | } 309 | }, 310 | "inherits": { 311 | "version": "2.0.3", 312 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", 313 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" 314 | }, 315 | "ipaddr.js": { 316 | "version": "1.9.1", 317 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 318 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" 319 | }, 320 | "is-binary-path": { 321 | "version": "2.1.0", 322 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 323 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 324 | "optional": true, 325 | "requires": { 326 | "binary-extensions": "^2.0.0" 327 | } 328 | }, 329 | "is-extglob": { 330 | "version": "2.1.1", 331 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 332 | "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", 333 | "optional": true 334 | }, 335 | "is-glob": { 336 | "version": "4.0.1", 337 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", 338 | "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", 339 | "optional": true, 340 | "requires": { 341 | "is-extglob": "^2.1.1" 342 | } 343 | }, 344 | "is-number": { 345 | "version": "7.0.0", 346 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 347 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 348 | "optional": true 349 | }, 350 | "media-typer": { 351 | "version": "0.3.0", 352 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 353 | "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" 354 | }, 355 | "merge-descriptors": { 356 | "version": "1.0.1", 357 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 358 | "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" 359 | }, 360 | "methods": { 361 | "version": "1.1.2", 362 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 363 | "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" 364 | }, 365 | "mime": { 366 | "version": "1.6.0", 367 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 368 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" 369 | }, 370 | "mime-db": { 371 | "version": "1.44.0", 372 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", 373 | "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" 374 | }, 375 | "mime-types": { 376 | "version": "2.1.27", 377 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", 378 | "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", 379 | "requires": { 380 | "mime-db": "1.44.0" 381 | } 382 | }, 383 | "ms": { 384 | "version": "2.0.0", 385 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 386 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 387 | }, 388 | "negotiator": { 389 | "version": "0.6.2", 390 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", 391 | "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" 392 | }, 393 | "normalize-path": { 394 | "version": "3.0.0", 395 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 396 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 397 | "optional": true 398 | }, 399 | "nunjucks": { 400 | "version": "3.2.2", 401 | "resolved": "https://registry.npmjs.org/nunjucks/-/nunjucks-3.2.2.tgz", 402 | "integrity": "sha512-KUi85OoF2NMygwODAy28Lh9qHmq5hO3rBlbkYoC8v377h4l8Pt5qFjILl0LWpMbOrZ18CzfVVUvIHUIrtED3sA==", 403 | "requires": { 404 | "a-sync-waterfall": "^1.0.0", 405 | "asap": "^2.0.3", 406 | "chokidar": "^3.3.0", 407 | "commander": "^5.1.0" 408 | } 409 | }, 410 | "on-finished": { 411 | "version": "2.3.0", 412 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", 413 | "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", 414 | "requires": { 415 | "ee-first": "1.1.1" 416 | } 417 | }, 418 | "on-headers": { 419 | "version": "1.0.2", 420 | "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", 421 | "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==" 422 | }, 423 | "parseurl": { 424 | "version": "1.3.3", 425 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 426 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" 427 | }, 428 | "passport": { 429 | "version": "0.4.1", 430 | "resolved": "https://registry.npmjs.org/passport/-/passport-0.4.1.tgz", 431 | "integrity": "sha512-IxXgZZs8d7uFSt3eqNjM9NQ3g3uQCW5avD8mRNoXV99Yig50vjuaez6dQK2qC0kVWPRTujxY0dWgGfT09adjYg==", 432 | "requires": { 433 | "passport-strategy": "1.x.x", 434 | "pause": "0.0.1" 435 | } 436 | }, 437 | "passport-spotify": { 438 | "version": "file:../..", 439 | "requires": { 440 | "passport-oauth": "1.0.0", 441 | "querystring": "~0.2.0", 442 | "util": "~0.12.0" 443 | }, 444 | "dependencies": { 445 | "@sinonjs/commons": { 446 | "version": "1.8.1", 447 | "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.1.tgz", 448 | "integrity": "sha512-892K+kWUUi3cl+LlqEWIDrhvLgdL79tECi8JZUyq6IviKy/DNhuzCRlbHUjxK89f4ypPMMaFnFuR9Ie6DoIMsw==", 449 | "requires": { 450 | "type-detect": "4.0.8" 451 | } 452 | }, 453 | "@sinonjs/formatio": { 454 | "version": "3.2.2", 455 | "resolved": "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-3.2.2.tgz", 456 | "integrity": "sha512-B8SEsgd8gArBLMD6zpRw3juQ2FVSsmdd7qlevyDqzS9WTCtvF55/gAL+h6gue8ZvPYcdiPdvueM/qm//9XzyTQ==", 457 | "requires": { 458 | "@sinonjs/commons": "^1", 459 | "@sinonjs/samsam": "^3.1.0" 460 | } 461 | }, 462 | "@sinonjs/samsam": { 463 | "version": "3.3.3", 464 | "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-3.3.3.tgz", 465 | "integrity": "sha512-bKCMKZvWIjYD0BLGnNrxVuw4dkWCYsLqFOUWw8VgKF/+5Y+mE7LfHWPIYoDXowH+3a9LsWDMo0uAP8YDosPvHQ==", 466 | "requires": { 467 | "@sinonjs/commons": "^1.3.0", 468 | "array-from": "^2.1.1", 469 | "lodash": "^4.17.15" 470 | } 471 | }, 472 | "@sinonjs/text-encoding": { 473 | "version": "0.7.1", 474 | "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz", 475 | "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==" 476 | }, 477 | "acorn": { 478 | "version": "1.2.2", 479 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-1.2.2.tgz", 480 | "integrity": "sha1-yM4n3grMdtiW0rH6099YjZ6C8BQ=" 481 | }, 482 | "ajv": { 483 | "version": "6.12.4", 484 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz", 485 | "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==", 486 | "requires": { 487 | "fast-deep-equal": "^3.1.1", 488 | "fast-json-stable-stringify": "^2.0.0", 489 | "json-schema-traverse": "^0.4.1", 490 | "uri-js": "^4.2.2" 491 | } 492 | }, 493 | "argparse": { 494 | "version": "1.0.10", 495 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 496 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 497 | "requires": { 498 | "sprintf-js": "~1.0.2" 499 | } 500 | }, 501 | "array-filter": { 502 | "version": "1.0.0", 503 | "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-1.0.0.tgz", 504 | "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM=" 505 | }, 506 | "array-from": { 507 | "version": "2.1.1", 508 | "resolved": "https://registry.npmjs.org/array-from/-/array-from-2.1.1.tgz", 509 | "integrity": "sha1-z+nYwmYoudxa7MYqn12PHzUsEZU=" 510 | }, 511 | "asn1": { 512 | "version": "0.2.4", 513 | "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", 514 | "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", 515 | "requires": { 516 | "safer-buffer": "~2.1.0" 517 | } 518 | }, 519 | "assert-plus": { 520 | "version": "1.0.0", 521 | "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", 522 | "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" 523 | }, 524 | "asynckit": { 525 | "version": "0.4.0", 526 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 527 | "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" 528 | }, 529 | "available-typed-arrays": { 530 | "version": "1.0.2", 531 | "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz", 532 | "integrity": "sha512-XWX3OX8Onv97LMk/ftVyBibpGwY5a8SmuxZPzeOxqmuEqUCOM9ZE+uIaD1VNJ5QnvU2UQusvmKbuM1FR8QWGfQ==", 533 | "requires": { 534 | "array-filter": "^1.0.0" 535 | } 536 | }, 537 | "aws-sign2": { 538 | "version": "0.7.0", 539 | "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", 540 | "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" 541 | }, 542 | "aws4": { 543 | "version": "1.10.1", 544 | "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.10.1.tgz", 545 | "integrity": "sha512-zg7Hz2k5lI8kb7U32998pRRFin7zJlkfezGJjUc2heaD4Pw2wObakCDVzkKztTm/Ln7eiVvYsjqak0Ed4LkMDA==" 546 | }, 547 | "balanced-match": { 548 | "version": "1.0.0", 549 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 550 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" 551 | }, 552 | "base64url": { 553 | "version": "3.0.1", 554 | "resolved": "https://registry.npmjs.org/base64url/-/base64url-3.0.1.tgz", 555 | "integrity": "sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A==" 556 | }, 557 | "bcrypt-pbkdf": { 558 | "version": "1.0.2", 559 | "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", 560 | "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", 561 | "requires": { 562 | "tweetnacl": "^0.14.3" 563 | } 564 | }, 565 | "blanket": { 566 | "version": "1.2.3", 567 | "resolved": "https://registry.npmjs.org/blanket/-/blanket-1.2.3.tgz", 568 | "integrity": "sha1-FRtJh8O9hFUrtfA7kO9fflkx5HM=", 569 | "requires": { 570 | "acorn": "^1.0.3", 571 | "falafel": "~1.2.0", 572 | "foreach": "^2.0.5", 573 | "isarray": "0.0.1", 574 | "object-keys": "^1.0.6", 575 | "xtend": "~4.0.0" 576 | } 577 | }, 578 | "brace-expansion": { 579 | "version": "1.1.11", 580 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 581 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 582 | "requires": { 583 | "balanced-match": "^1.0.0", 584 | "concat-map": "0.0.1" 585 | } 586 | }, 587 | "browser-stdout": { 588 | "version": "1.3.1", 589 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", 590 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==" 591 | }, 592 | "caseless": { 593 | "version": "0.12.0", 594 | "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", 595 | "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" 596 | }, 597 | "combined-stream": { 598 | "version": "1.0.8", 599 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 600 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 601 | "requires": { 602 | "delayed-stream": "~1.0.0" 603 | } 604 | }, 605 | "commander": { 606 | "version": "2.15.1", 607 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", 608 | "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==" 609 | }, 610 | "concat-map": { 611 | "version": "0.0.1", 612 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 613 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" 614 | }, 615 | "core-util-is": { 616 | "version": "1.0.2", 617 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 618 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" 619 | }, 620 | "coveralls": { 621 | "version": "3.0.14", 622 | "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.14.tgz", 623 | "integrity": "sha512-nEQqCHzxiFfu1dEHYxe7xrbF5vFmx122mTWIM+BkiAOmsWbSAcucNk8stELnNk2lS1biTUjFOCIf8v8ZN225IA==", 624 | "requires": { 625 | "js-yaml": "^3.13.1", 626 | "lcov-parse": "^1.0.0", 627 | "log-driver": "^1.2.7", 628 | "minimist": "^1.2.5", 629 | "request": "^2.88.2" 630 | } 631 | }, 632 | "dashdash": { 633 | "version": "1.14.1", 634 | "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", 635 | "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", 636 | "requires": { 637 | "assert-plus": "^1.0.0" 638 | } 639 | }, 640 | "debug": { 641 | "version": "3.1.0", 642 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", 643 | "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", 644 | "requires": { 645 | "ms": "2.0.0" 646 | } 647 | }, 648 | "define-properties": { 649 | "version": "1.1.3", 650 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", 651 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", 652 | "requires": { 653 | "object-keys": "^1.0.12" 654 | } 655 | }, 656 | "delayed-stream": { 657 | "version": "1.0.0", 658 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 659 | "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" 660 | }, 661 | "diff": { 662 | "version": "3.5.0", 663 | "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", 664 | "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==" 665 | }, 666 | "ecc-jsbn": { 667 | "version": "0.1.2", 668 | "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", 669 | "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", 670 | "requires": { 671 | "jsbn": "~0.1.0", 672 | "safer-buffer": "^2.1.0" 673 | } 674 | }, 675 | "es-abstract": { 676 | "version": "1.17.6", 677 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz", 678 | "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==", 679 | "requires": { 680 | "es-to-primitive": "^1.2.1", 681 | "function-bind": "^1.1.1", 682 | "has": "^1.0.3", 683 | "has-symbols": "^1.0.1", 684 | "is-callable": "^1.2.0", 685 | "is-regex": "^1.1.0", 686 | "object-inspect": "^1.7.0", 687 | "object-keys": "^1.1.1", 688 | "object.assign": "^4.1.0", 689 | "string.prototype.trimend": "^1.0.1", 690 | "string.prototype.trimstart": "^1.0.1" 691 | } 692 | }, 693 | "es-to-primitive": { 694 | "version": "1.2.1", 695 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", 696 | "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", 697 | "requires": { 698 | "is-callable": "^1.1.4", 699 | "is-date-object": "^1.0.1", 700 | "is-symbol": "^1.0.2" 701 | } 702 | }, 703 | "escape-string-regexp": { 704 | "version": "1.0.5", 705 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 706 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" 707 | }, 708 | "esprima": { 709 | "version": "4.0.1", 710 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 711 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" 712 | }, 713 | "extend": { 714 | "version": "3.0.2", 715 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", 716 | "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" 717 | }, 718 | "extsprintf": { 719 | "version": "1.3.0", 720 | "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", 721 | "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" 722 | }, 723 | "falafel": { 724 | "version": "1.2.0", 725 | "resolved": "https://registry.npmjs.org/falafel/-/falafel-1.2.0.tgz", 726 | "integrity": "sha1-wY0k71CRF0pJfzGM0ksCaiXN2rQ=", 727 | "requires": { 728 | "acorn": "^1.0.3", 729 | "foreach": "^2.0.5", 730 | "isarray": "0.0.1", 731 | "object-keys": "^1.0.6" 732 | } 733 | }, 734 | "fast-deep-equal": { 735 | "version": "3.1.3", 736 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 737 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" 738 | }, 739 | "fast-json-stable-stringify": { 740 | "version": "2.1.0", 741 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 742 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" 743 | }, 744 | "foreach": { 745 | "version": "2.0.5", 746 | "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", 747 | "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" 748 | }, 749 | "forever-agent": { 750 | "version": "0.6.1", 751 | "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", 752 | "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" 753 | }, 754 | "form-data": { 755 | "version": "2.3.3", 756 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", 757 | "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", 758 | "requires": { 759 | "asynckit": "^0.4.0", 760 | "combined-stream": "^1.0.6", 761 | "mime-types": "^2.1.12" 762 | } 763 | }, 764 | "fs.realpath": { 765 | "version": "1.0.0", 766 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 767 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" 768 | }, 769 | "function-bind": { 770 | "version": "1.1.1", 771 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 772 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 773 | }, 774 | "getpass": { 775 | "version": "0.1.7", 776 | "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", 777 | "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", 778 | "requires": { 779 | "assert-plus": "^1.0.0" 780 | } 781 | }, 782 | "glob": { 783 | "version": "7.1.2", 784 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", 785 | "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", 786 | "requires": { 787 | "fs.realpath": "^1.0.0", 788 | "inflight": "^1.0.4", 789 | "inherits": "2", 790 | "minimatch": "^3.0.4", 791 | "once": "^1.3.0", 792 | "path-is-absolute": "^1.0.0" 793 | } 794 | }, 795 | "growl": { 796 | "version": "1.10.5", 797 | "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", 798 | "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==" 799 | }, 800 | "har-schema": { 801 | "version": "2.0.0", 802 | "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", 803 | "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" 804 | }, 805 | "har-validator": { 806 | "version": "5.1.5", 807 | "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", 808 | "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", 809 | "requires": { 810 | "ajv": "^6.12.3", 811 | "har-schema": "^2.0.0" 812 | } 813 | }, 814 | "has": { 815 | "version": "1.0.3", 816 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 817 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 818 | "requires": { 819 | "function-bind": "^1.1.1" 820 | } 821 | }, 822 | "has-flag": { 823 | "version": "3.0.0", 824 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 825 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" 826 | }, 827 | "has-symbols": { 828 | "version": "1.0.1", 829 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", 830 | "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" 831 | }, 832 | "he": { 833 | "version": "1.1.1", 834 | "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", 835 | "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=" 836 | }, 837 | "http-signature": { 838 | "version": "1.2.0", 839 | "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", 840 | "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", 841 | "requires": { 842 | "assert-plus": "^1.0.0", 843 | "jsprim": "^1.2.2", 844 | "sshpk": "^1.7.0" 845 | } 846 | }, 847 | "inflight": { 848 | "version": "1.0.6", 849 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 850 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 851 | "requires": { 852 | "once": "^1.3.0", 853 | "wrappy": "1" 854 | } 855 | }, 856 | "inherits": { 857 | "version": "2.0.4", 858 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 859 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 860 | }, 861 | "is-arguments": { 862 | "version": "1.0.4", 863 | "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz", 864 | "integrity": "sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA==" 865 | }, 866 | "is-callable": { 867 | "version": "1.2.0", 868 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz", 869 | "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==" 870 | }, 871 | "is-date-object": { 872 | "version": "1.0.2", 873 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", 874 | "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==" 875 | }, 876 | "is-generator-function": { 877 | "version": "1.0.7", 878 | "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.7.tgz", 879 | "integrity": "sha512-YZc5EwyO4f2kWCax7oegfuSr9mFz1ZvieNYBEjmukLxgXfBUbxAWGVF7GZf0zidYtoBl3WvC07YK0wT76a+Rtw==" 880 | }, 881 | "is-regex": { 882 | "version": "1.1.1", 883 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", 884 | "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", 885 | "requires": { 886 | "has-symbols": "^1.0.1" 887 | } 888 | }, 889 | "is-symbol": { 890 | "version": "1.0.3", 891 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", 892 | "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", 893 | "requires": { 894 | "has-symbols": "^1.0.1" 895 | } 896 | }, 897 | "is-typed-array": { 898 | "version": "1.1.3", 899 | "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.3.tgz", 900 | "integrity": "sha512-BSYUBOK/HJibQ30wWkWold5txYwMUXQct9YHAQJr8fSwvZoiglcqB0pd7vEN23+Tsi9IUEjztdOSzl4qLVYGTQ==", 901 | "requires": { 902 | "available-typed-arrays": "^1.0.0", 903 | "es-abstract": "^1.17.4", 904 | "foreach": "^2.0.5", 905 | "has-symbols": "^1.0.1" 906 | } 907 | }, 908 | "is-typedarray": { 909 | "version": "1.0.0", 910 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", 911 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" 912 | }, 913 | "isarray": { 914 | "version": "0.0.1", 915 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", 916 | "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" 917 | }, 918 | "isstream": { 919 | "version": "0.1.2", 920 | "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", 921 | "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" 922 | }, 923 | "js-yaml": { 924 | "version": "3.14.0", 925 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz", 926 | "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", 927 | "requires": { 928 | "argparse": "^1.0.7", 929 | "esprima": "^4.0.0" 930 | } 931 | }, 932 | "jsbn": { 933 | "version": "0.1.1", 934 | "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", 935 | "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" 936 | }, 937 | "json-schema": { 938 | "version": "0.2.3", 939 | "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", 940 | "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" 941 | }, 942 | "json-schema-traverse": { 943 | "version": "0.4.1", 944 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 945 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" 946 | }, 947 | "json-stringify-safe": { 948 | "version": "5.0.1", 949 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", 950 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" 951 | }, 952 | "jsprim": { 953 | "version": "1.4.1", 954 | "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", 955 | "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", 956 | "requires": { 957 | "assert-plus": "1.0.0", 958 | "extsprintf": "1.3.0", 959 | "json-schema": "0.2.3", 960 | "verror": "1.10.0" 961 | } 962 | }, 963 | "just-extend": { 964 | "version": "4.1.0", 965 | "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.1.0.tgz", 966 | "integrity": "sha512-ApcjaOdVTJ7y4r08xI5wIqpvwS48Q0PBG4DJROcEkH1f8MdAiNFyFxz3xoL0LWAVwjrwPYZdVHHxhRHcx/uGLA==" 967 | }, 968 | "lcov-parse": { 969 | "version": "1.0.0", 970 | "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-1.0.0.tgz", 971 | "integrity": "sha1-6w1GtUER68VhrLTECO+TY73I9+A=" 972 | }, 973 | "lodash": { 974 | "version": "4.17.20", 975 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", 976 | "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" 977 | }, 978 | "log-driver": { 979 | "version": "1.2.7", 980 | "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz", 981 | "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==" 982 | }, 983 | "lolex": { 984 | "version": "4.2.0", 985 | "resolved": "https://registry.npmjs.org/lolex/-/lolex-4.2.0.tgz", 986 | "integrity": "sha512-gKO5uExCXvSm6zbF562EvM+rd1kQDnB9AZBbiQVzf1ZmdDpxUSvpnAaVOP83N/31mRK8Ml8/VE8DMvsAZQ+7wg==" 987 | }, 988 | "mime-db": { 989 | "version": "1.44.0", 990 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", 991 | "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" 992 | }, 993 | "mime-types": { 994 | "version": "2.1.27", 995 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", 996 | "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", 997 | "requires": { 998 | "mime-db": "1.44.0" 999 | } 1000 | }, 1001 | "minimatch": { 1002 | "version": "3.0.4", 1003 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 1004 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", 1005 | "requires": { 1006 | "brace-expansion": "^1.1.7" 1007 | } 1008 | }, 1009 | "minimist": { 1010 | "version": "1.2.5", 1011 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", 1012 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" 1013 | }, 1014 | "mkdirp": { 1015 | "version": "0.5.1", 1016 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", 1017 | "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", 1018 | "requires": { 1019 | "minimist": "0.0.8" 1020 | }, 1021 | "dependencies": { 1022 | "minimist": { 1023 | "version": "0.0.8", 1024 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", 1025 | "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" 1026 | } 1027 | } 1028 | }, 1029 | "mocha": { 1030 | "version": "5.2.0", 1031 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz", 1032 | "integrity": "sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==", 1033 | "requires": { 1034 | "browser-stdout": "1.3.1", 1035 | "commander": "2.15.1", 1036 | "debug": "3.1.0", 1037 | "diff": "3.5.0", 1038 | "escape-string-regexp": "1.0.5", 1039 | "glob": "7.1.2", 1040 | "growl": "1.10.5", 1041 | "he": "1.1.1", 1042 | "minimatch": "3.0.4", 1043 | "mkdirp": "0.5.1", 1044 | "supports-color": "5.4.0" 1045 | } 1046 | }, 1047 | "mocha-lcov-reporter": { 1048 | "version": "1.3.0", 1049 | "resolved": "https://registry.npmjs.org/mocha-lcov-reporter/-/mocha-lcov-reporter-1.3.0.tgz", 1050 | "integrity": "sha1-Rpve9PivyaEWBW8HnfYYLQr7A4Q=" 1051 | }, 1052 | "ms": { 1053 | "version": "2.0.0", 1054 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1055 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 1056 | }, 1057 | "nise": { 1058 | "version": "1.5.3", 1059 | "resolved": "https://registry.npmjs.org/nise/-/nise-1.5.3.tgz", 1060 | "integrity": "sha512-Ymbac/94xeIrMf59REBPOv0thr+CJVFMhrlAkW/gjCIE58BGQdCj0x7KRCb3yz+Ga2Rz3E9XXSvUyyxqqhjQAQ==", 1061 | "requires": { 1062 | "@sinonjs/formatio": "^3.2.1", 1063 | "@sinonjs/text-encoding": "^0.7.1", 1064 | "just-extend": "^4.0.2", 1065 | "lolex": "^5.0.1", 1066 | "path-to-regexp": "^1.7.0" 1067 | }, 1068 | "dependencies": { 1069 | "lolex": { 1070 | "version": "5.1.2", 1071 | "resolved": "https://registry.npmjs.org/lolex/-/lolex-5.1.2.tgz", 1072 | "integrity": "sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A==", 1073 | "requires": { 1074 | "@sinonjs/commons": "^1.7.0" 1075 | } 1076 | } 1077 | } 1078 | }, 1079 | "oauth": { 1080 | "version": "0.9.15", 1081 | "resolved": "https://registry.npmjs.org/oauth/-/oauth-0.9.15.tgz", 1082 | "integrity": "sha1-vR/vr2hslrdUda7VGWQS/2DPucE=" 1083 | }, 1084 | "oauth-sign": { 1085 | "version": "0.9.0", 1086 | "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", 1087 | "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" 1088 | }, 1089 | "object-inspect": { 1090 | "version": "1.8.0", 1091 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz", 1092 | "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==" 1093 | }, 1094 | "object-keys": { 1095 | "version": "1.1.1", 1096 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", 1097 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" 1098 | }, 1099 | "object.assign": { 1100 | "version": "4.1.0", 1101 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", 1102 | "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", 1103 | "requires": { 1104 | "define-properties": "^1.1.2", 1105 | "function-bind": "^1.1.1", 1106 | "has-symbols": "^1.0.0", 1107 | "object-keys": "^1.0.11" 1108 | } 1109 | }, 1110 | "once": { 1111 | "version": "1.4.0", 1112 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1113 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1114 | "requires": { 1115 | "wrappy": "1" 1116 | } 1117 | }, 1118 | "passport-oauth": { 1119 | "version": "1.0.0", 1120 | "resolved": "https://registry.npmjs.org/passport-oauth/-/passport-oauth-1.0.0.tgz", 1121 | "integrity": "sha1-kK/2M4dUDwIImvKM2tOep/gNd98=", 1122 | "requires": { 1123 | "passport-oauth1": "1.x.x", 1124 | "passport-oauth2": "1.x.x" 1125 | } 1126 | }, 1127 | "passport-oauth1": { 1128 | "version": "1.1.0", 1129 | "resolved": "https://registry.npmjs.org/passport-oauth1/-/passport-oauth1-1.1.0.tgz", 1130 | "integrity": "sha1-p96YiiEfnPRoc3cTDqdN8ycwyRg=", 1131 | "requires": { 1132 | "oauth": "0.9.x", 1133 | "passport-strategy": "1.x.x", 1134 | "utils-merge": "1.x.x" 1135 | } 1136 | }, 1137 | "passport-oauth2": { 1138 | "version": "1.5.0", 1139 | "resolved": "https://registry.npmjs.org/passport-oauth2/-/passport-oauth2-1.5.0.tgz", 1140 | "integrity": "sha512-kqBt6vR/5VlCK8iCx1/KpY42kQ+NEHZwsSyt4Y6STiNjU+wWICG1i8ucc1FapXDGO15C5O5VZz7+7vRzrDPXXQ==", 1141 | "requires": { 1142 | "base64url": "3.x.x", 1143 | "oauth": "0.9.x", 1144 | "passport-strategy": "1.x.x", 1145 | "uid2": "0.0.x", 1146 | "utils-merge": "1.x.x" 1147 | } 1148 | }, 1149 | "passport-strategy": { 1150 | "version": "1.0.0", 1151 | "resolved": "https://registry.npmjs.org/passport-strategy/-/passport-strategy-1.0.0.tgz", 1152 | "integrity": "sha1-tVOaqPwiWj0a0XlHbd8ja0QPUuQ=" 1153 | }, 1154 | "path-is-absolute": { 1155 | "version": "1.0.1", 1156 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1157 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" 1158 | }, 1159 | "path-to-regexp": { 1160 | "version": "1.8.0", 1161 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", 1162 | "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", 1163 | "requires": { 1164 | "isarray": "0.0.1" 1165 | } 1166 | }, 1167 | "performance-now": { 1168 | "version": "2.1.0", 1169 | "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", 1170 | "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" 1171 | }, 1172 | "psl": { 1173 | "version": "1.8.0", 1174 | "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", 1175 | "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" 1176 | }, 1177 | "punycode": { 1178 | "version": "2.1.1", 1179 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 1180 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" 1181 | }, 1182 | "qs": { 1183 | "version": "6.5.2", 1184 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", 1185 | "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" 1186 | }, 1187 | "querystring": { 1188 | "version": "0.2.0", 1189 | "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", 1190 | "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" 1191 | }, 1192 | "request": { 1193 | "version": "2.88.2", 1194 | "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", 1195 | "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", 1196 | "requires": { 1197 | "aws-sign2": "~0.7.0", 1198 | "aws4": "^1.8.0", 1199 | "caseless": "~0.12.0", 1200 | "combined-stream": "~1.0.6", 1201 | "extend": "~3.0.2", 1202 | "forever-agent": "~0.6.1", 1203 | "form-data": "~2.3.2", 1204 | "har-validator": "~5.1.3", 1205 | "http-signature": "~1.2.0", 1206 | "is-typedarray": "~1.0.0", 1207 | "isstream": "~0.1.2", 1208 | "json-stringify-safe": "~5.0.1", 1209 | "mime-types": "~2.1.19", 1210 | "oauth-sign": "~0.9.0", 1211 | "performance-now": "^2.1.0", 1212 | "qs": "~6.5.2", 1213 | "safe-buffer": "^5.1.2", 1214 | "tough-cookie": "~2.5.0", 1215 | "tunnel-agent": "^0.6.0", 1216 | "uuid": "^3.3.2" 1217 | } 1218 | }, 1219 | "safe-buffer": { 1220 | "version": "5.2.1", 1221 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1222 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" 1223 | }, 1224 | "safer-buffer": { 1225 | "version": "2.1.2", 1226 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1227 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1228 | }, 1229 | "should": { 1230 | "version": "13.2.3", 1231 | "resolved": "https://registry.npmjs.org/should/-/should-13.2.3.tgz", 1232 | "integrity": "sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==", 1233 | "requires": { 1234 | "should-equal": "^2.0.0", 1235 | "should-format": "^3.0.3", 1236 | "should-type": "^1.4.0", 1237 | "should-type-adaptors": "^1.0.1", 1238 | "should-util": "^1.0.0" 1239 | } 1240 | }, 1241 | "should-equal": { 1242 | "version": "2.0.0", 1243 | "resolved": "https://registry.npmjs.org/should-equal/-/should-equal-2.0.0.tgz", 1244 | "integrity": "sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==", 1245 | "requires": { 1246 | "should-type": "^1.4.0" 1247 | } 1248 | }, 1249 | "should-format": { 1250 | "version": "3.0.3", 1251 | "resolved": "https://registry.npmjs.org/should-format/-/should-format-3.0.3.tgz", 1252 | "integrity": "sha1-m/yPdPo5IFxT04w01xcwPidxJPE=", 1253 | "requires": { 1254 | "should-type": "^1.3.0", 1255 | "should-type-adaptors": "^1.0.1" 1256 | } 1257 | }, 1258 | "should-type": { 1259 | "version": "1.4.0", 1260 | "resolved": "https://registry.npmjs.org/should-type/-/should-type-1.4.0.tgz", 1261 | "integrity": "sha1-B1bYzoRt/QmEOmlHcZ36DUz/XPM=" 1262 | }, 1263 | "should-type-adaptors": { 1264 | "version": "1.1.0", 1265 | "resolved": "https://registry.npmjs.org/should-type-adaptors/-/should-type-adaptors-1.1.0.tgz", 1266 | "integrity": "sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==", 1267 | "requires": { 1268 | "should-type": "^1.3.0", 1269 | "should-util": "^1.0.0" 1270 | } 1271 | }, 1272 | "should-util": { 1273 | "version": "1.0.1", 1274 | "resolved": "https://registry.npmjs.org/should-util/-/should-util-1.0.1.tgz", 1275 | "integrity": "sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==" 1276 | }, 1277 | "sinon": { 1278 | "version": "7.4.2", 1279 | "resolved": "https://registry.npmjs.org/sinon/-/sinon-7.4.2.tgz", 1280 | "integrity": "sha512-pY5RY99DKelU3pjNxcWo6XqeB1S118GBcVIIdDi6V+h6hevn1izcg2xv1hTHW/sViRXU7sUOxt4wTUJ3gsW2CQ==", 1281 | "requires": { 1282 | "@sinonjs/commons": "^1.4.0", 1283 | "@sinonjs/formatio": "^3.2.1", 1284 | "@sinonjs/samsam": "^3.3.3", 1285 | "diff": "^3.5.0", 1286 | "lolex": "^4.2.0", 1287 | "nise": "^1.5.2", 1288 | "supports-color": "^5.5.0" 1289 | }, 1290 | "dependencies": { 1291 | "supports-color": { 1292 | "version": "5.5.0", 1293 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 1294 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 1295 | "requires": { 1296 | "has-flag": "^3.0.0" 1297 | } 1298 | } 1299 | } 1300 | }, 1301 | "sprintf-js": { 1302 | "version": "1.0.3", 1303 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 1304 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" 1305 | }, 1306 | "sshpk": { 1307 | "version": "1.16.1", 1308 | "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", 1309 | "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", 1310 | "requires": { 1311 | "asn1": "~0.2.3", 1312 | "assert-plus": "^1.0.0", 1313 | "bcrypt-pbkdf": "^1.0.0", 1314 | "dashdash": "^1.12.0", 1315 | "ecc-jsbn": "~0.1.1", 1316 | "getpass": "^0.1.1", 1317 | "jsbn": "~0.1.0", 1318 | "safer-buffer": "^2.0.2", 1319 | "tweetnacl": "~0.14.0" 1320 | } 1321 | }, 1322 | "string.prototype.trimend": { 1323 | "version": "1.0.1", 1324 | "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz", 1325 | "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==", 1326 | "requires": { 1327 | "define-properties": "^1.1.3", 1328 | "es-abstract": "^1.17.5" 1329 | } 1330 | }, 1331 | "string.prototype.trimstart": { 1332 | "version": "1.0.1", 1333 | "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz", 1334 | "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==", 1335 | "requires": { 1336 | "define-properties": "^1.1.3", 1337 | "es-abstract": "^1.17.5" 1338 | } 1339 | }, 1340 | "supports-color": { 1341 | "version": "5.4.0", 1342 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", 1343 | "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", 1344 | "requires": { 1345 | "has-flag": "^3.0.0" 1346 | } 1347 | }, 1348 | "tough-cookie": { 1349 | "version": "2.5.0", 1350 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", 1351 | "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", 1352 | "requires": { 1353 | "psl": "^1.1.28", 1354 | "punycode": "^2.1.1" 1355 | } 1356 | }, 1357 | "tunnel-agent": { 1358 | "version": "0.6.0", 1359 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", 1360 | "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", 1361 | "requires": { 1362 | "safe-buffer": "^5.0.1" 1363 | } 1364 | }, 1365 | "tweetnacl": { 1366 | "version": "0.14.5", 1367 | "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", 1368 | "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" 1369 | }, 1370 | "type-detect": { 1371 | "version": "4.0.8", 1372 | "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", 1373 | "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" 1374 | }, 1375 | "uid2": { 1376 | "version": "0.0.3", 1377 | "resolved": "https://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz", 1378 | "integrity": "sha1-SDEm4Rd03y9xuLY53NeZw3YWK4I=" 1379 | }, 1380 | "uri-js": { 1381 | "version": "4.2.2", 1382 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", 1383 | "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", 1384 | "requires": { 1385 | "punycode": "^2.1.0" 1386 | } 1387 | }, 1388 | "util": { 1389 | "version": "0.12.3", 1390 | "resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz", 1391 | "integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==", 1392 | "requires": { 1393 | "inherits": "^2.0.3", 1394 | "is-arguments": "^1.0.4", 1395 | "is-generator-function": "^1.0.7", 1396 | "is-typed-array": "^1.1.3", 1397 | "safe-buffer": "^5.1.2", 1398 | "which-typed-array": "^1.1.2" 1399 | } 1400 | }, 1401 | "utils-merge": { 1402 | "version": "1.0.1", 1403 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 1404 | "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" 1405 | }, 1406 | "uuid": { 1407 | "version": "3.4.0", 1408 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", 1409 | "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" 1410 | }, 1411 | "verror": { 1412 | "version": "1.10.0", 1413 | "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", 1414 | "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", 1415 | "requires": { 1416 | "assert-plus": "^1.0.0", 1417 | "core-util-is": "1.0.2", 1418 | "extsprintf": "^1.2.0" 1419 | } 1420 | }, 1421 | "which-typed-array": { 1422 | "version": "1.1.2", 1423 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.2.tgz", 1424 | "integrity": "sha512-KT6okrd1tE6JdZAy3o2VhMoYPh3+J6EMZLyrxBQsZflI1QCZIxMrIYLkosd8Twf+YfknVIHmYQPgJt238p8dnQ==", 1425 | "requires": { 1426 | "available-typed-arrays": "^1.0.2", 1427 | "es-abstract": "^1.17.5", 1428 | "foreach": "^2.0.5", 1429 | "function-bind": "^1.1.1", 1430 | "has-symbols": "^1.0.1", 1431 | "is-typed-array": "^1.1.3" 1432 | } 1433 | }, 1434 | "wrappy": { 1435 | "version": "1.0.2", 1436 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1437 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 1438 | }, 1439 | "xtend": { 1440 | "version": "4.0.2", 1441 | "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", 1442 | "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" 1443 | } 1444 | } 1445 | }, 1446 | "passport-strategy": { 1447 | "version": "1.0.0", 1448 | "resolved": "https://registry.npmjs.org/passport-strategy/-/passport-strategy-1.0.0.tgz", 1449 | "integrity": "sha1-tVOaqPwiWj0a0XlHbd8ja0QPUuQ=" 1450 | }, 1451 | "path-to-regexp": { 1452 | "version": "0.1.7", 1453 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 1454 | "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" 1455 | }, 1456 | "pause": { 1457 | "version": "0.0.1", 1458 | "resolved": "https://registry.npmjs.org/pause/-/pause-0.0.1.tgz", 1459 | "integrity": "sha1-HUCLP9t2kjuVQ9lvtMnf1TXZy10=" 1460 | }, 1461 | "picomatch": { 1462 | "version": "2.2.2", 1463 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", 1464 | "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", 1465 | "optional": true 1466 | }, 1467 | "proxy-addr": { 1468 | "version": "2.0.6", 1469 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", 1470 | "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==", 1471 | "requires": { 1472 | "forwarded": "~0.1.2", 1473 | "ipaddr.js": "1.9.1" 1474 | } 1475 | }, 1476 | "qs": { 1477 | "version": "6.7.0", 1478 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", 1479 | "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" 1480 | }, 1481 | "random-bytes": { 1482 | "version": "1.0.0", 1483 | "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", 1484 | "integrity": "sha1-T2ih3Arli9P7lYSMMDJNt11kNgs=" 1485 | }, 1486 | "range-parser": { 1487 | "version": "1.2.1", 1488 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 1489 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" 1490 | }, 1491 | "raw-body": { 1492 | "version": "2.4.0", 1493 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", 1494 | "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", 1495 | "requires": { 1496 | "bytes": "3.1.0", 1497 | "http-errors": "1.7.2", 1498 | "iconv-lite": "0.4.24", 1499 | "unpipe": "1.0.0" 1500 | } 1501 | }, 1502 | "readdirp": { 1503 | "version": "3.4.0", 1504 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz", 1505 | "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==", 1506 | "optional": true, 1507 | "requires": { 1508 | "picomatch": "^2.2.1" 1509 | } 1510 | }, 1511 | "safe-buffer": { 1512 | "version": "5.1.2", 1513 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1514 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 1515 | }, 1516 | "safer-buffer": { 1517 | "version": "2.1.2", 1518 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1519 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1520 | }, 1521 | "send": { 1522 | "version": "0.17.1", 1523 | "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", 1524 | "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", 1525 | "requires": { 1526 | "debug": "2.6.9", 1527 | "depd": "~1.1.2", 1528 | "destroy": "~1.0.4", 1529 | "encodeurl": "~1.0.2", 1530 | "escape-html": "~1.0.3", 1531 | "etag": "~1.8.1", 1532 | "fresh": "0.5.2", 1533 | "http-errors": "~1.7.2", 1534 | "mime": "1.6.0", 1535 | "ms": "2.1.1", 1536 | "on-finished": "~2.3.0", 1537 | "range-parser": "~1.2.1", 1538 | "statuses": "~1.5.0" 1539 | }, 1540 | "dependencies": { 1541 | "ms": { 1542 | "version": "2.1.1", 1543 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", 1544 | "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" 1545 | } 1546 | } 1547 | }, 1548 | "serve-static": { 1549 | "version": "1.14.1", 1550 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", 1551 | "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", 1552 | "requires": { 1553 | "encodeurl": "~1.0.2", 1554 | "escape-html": "~1.0.3", 1555 | "parseurl": "~1.3.3", 1556 | "send": "0.17.1" 1557 | } 1558 | }, 1559 | "setprototypeof": { 1560 | "version": "1.1.1", 1561 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", 1562 | "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" 1563 | }, 1564 | "statuses": { 1565 | "version": "1.5.0", 1566 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", 1567 | "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" 1568 | }, 1569 | "to-regex-range": { 1570 | "version": "5.0.1", 1571 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1572 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1573 | "optional": true, 1574 | "requires": { 1575 | "is-number": "^7.0.0" 1576 | } 1577 | }, 1578 | "toidentifier": { 1579 | "version": "1.0.0", 1580 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", 1581 | "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" 1582 | }, 1583 | "type-is": { 1584 | "version": "1.6.18", 1585 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 1586 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 1587 | "requires": { 1588 | "media-typer": "0.3.0", 1589 | "mime-types": "~2.1.24" 1590 | } 1591 | }, 1592 | "uid-safe": { 1593 | "version": "2.1.5", 1594 | "resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz", 1595 | "integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==", 1596 | "requires": { 1597 | "random-bytes": "~1.0.0" 1598 | } 1599 | }, 1600 | "unpipe": { 1601 | "version": "1.0.0", 1602 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 1603 | "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" 1604 | }, 1605 | "utils-merge": { 1606 | "version": "1.0.1", 1607 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 1608 | "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" 1609 | }, 1610 | "vary": { 1611 | "version": "1.1.2", 1612 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 1613 | "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" 1614 | } 1615 | } 1616 | } 1617 | -------------------------------------------------------------------------------- /examples/login/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "passport-spotify-examples-login", 3 | "version": "0.0.1", 4 | "dependencies": { 5 | "consolidate": "~0.15.1", 6 | "dotenv": "8.2.0", 7 | "express": "^4.17.1", 8 | "express-session": "^1.17.1", 9 | "nunjucks": "^3.2.2", 10 | "passport": "~0.4.1", 11 | "passport-spotify": "../.." 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /examples/login/views/account.html: -------------------------------------------------------------------------------- 1 | {% extends 'layout.html' %} {% block content %} 2 |
ID: {{ user.id }}
3 |Profile: 4 | {{ user.profileUrl }} 5 |
6 | {% endblock %} -------------------------------------------------------------------------------- /examples/login/views/index.html: -------------------------------------------------------------------------------- 1 | {% extends 'layout.html' %} 2 | 3 | {% block content %} 4 | {% if not user %} 5 |Your email is {{ user.emails[0].value }}
10 | {% endif %} 11 | {% endblock %} -------------------------------------------------------------------------------- /examples/login/views/layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |