Skip to content

Commit 86774f8

Browse files
committed
Migration to passport-next org
* Added CHANGELOG.md @rwky * Updated travis to use node 6, 8 and 10 @rwky * Updated dev deps @rwky * Updated README.md and package.json for passport-next org
1 parent 2327a36 commit 86774f8

File tree

9 files changed

+30
-71
lines changed

9 files changed

+30
-71
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ test/
99
.github/
1010
.jshintrc
1111
.travis.yml
12+
.gitlab-ci.yml

.travis.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
language: "node_js"
22
node_js:
3-
- "8"
4-
- "7"
53
- "6"
6-
- "5"
7-
- "4"
8-
- "3" # io.js
9-
- "2" # io.js
10-
- "1" # io.js
11-
- "0.12"
12-
- "0.10"
13-
# - "0.8"
14-
- "0.6"
15-
4+
- "8"
5+
- "10"
166

177
before_install:
188
- "npm install [email protected] -g"

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 0.5.0 (2018-06-29)
2+
3+
* Added CHANGELOG.md @rwky
4+
* Updated travis to use node 6, 8 and 10 @rwky
5+
* Updated dev deps @rwky
6+
* Updated README.md and package.json for passport-next org @rwky

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
The MIT License (MIT)
22

3+
Copyright (c) 2018 Rowan Wookey <[email protected]>
34
Copyright (c) 2011-2015 Jared Hanson
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy of

README.md

Lines changed: 6 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[![passport banner](http://cdn.auth0.com/img/passport-banner-github.png)](http://passportjs.org)
2-
31
# Passport
42

53
Passport is [Express](http://expressjs.com/)-compatible authentication
@@ -13,22 +11,16 @@ simple: you provide Passport a request to authenticate, and Passport provides
1311
hooks for controlling what occurs when authentication succeeds or fails.
1412

1513
Status:
16-
[![Build](https://travis-ci.org/jaredhanson/passport.svg?branch=master)](https://travis-ci.org/jaredhanson/passport)
17-
[![Coverage](https://coveralls.io/repos/jaredhanson/passport/badge.svg?branch=master)](https://coveralls.io/r/jaredhanson/passport)
18-
[![Dependencies](https://david-dm.org/jaredhanson/passport.svg)](https://david-dm.org/jaredhanson/passport)
19-
20-
21-
## Sponsorship
22-
23-
Passport is open source software. Ongoing development is made possible by
24-
generous contributions from [individuals and corporations](https://github.com/jaredhanson/passport/blob/master/SPONSORS.md).
25-
To learn more about how you can help keep this project financially sustainable,
26-
please visit Jared Hanson's page on [Patreon](https://www.patreon.com/jaredhanson).
14+
[![Build Status](https://travis-ci.org/passport-next/passport.svg?branch=master)](https://travis-ci.org/passport-next/passport)
15+
[![Coverage Status](https://coveralls.io/repos/github/passport-next/passport/badge.svg?branch=master)](https://coveralls.io/github/passport-next/passport?branch=master)
16+
[![Maintainability](https://api.codeclimate.com/v1/badges/deaf381bf0cff6bf26a5/maintainability)](https://codeclimate.com/github/passport-next/passport/maintainability)
17+
[![Dependencies](https://david-dm.org/passport-next/passport.png)](https://david-dm.org/passport-next/passport)
18+
<!--[![SAST](https://gitlab.com/passport-next/passport-strategy/badges/master/build.svg)](https://gitlab.com/passport-next/passport-strategy/badges/master/build.svg)-->
2719

2820
## Install
2921

3022
```
31-
$ npm install passport
23+
$ npm install @passport-next/passport
3224
```
3325

3426
## Usage
@@ -149,34 +141,9 @@ that uses [passport-local](https://github.com/jaredhanson/passport-local).
149141
- Express v3x - [Tutorial](http://mherman.org/blog/2013/11/10/social-authentication-with-passport-dot-js/) / [working example](https://github.com/mjhea0/passport-examples)
150142
- Express v4x - [Tutorial](http://mherman.org/blog/2015/09/26/social-authentication-in-node-dot-js-with-passport) / [working example](https://github.com/mjhea0/passport-social-auth)
151143

152-
## Related Modules
153-
154-
- [Locomotive](https://github.com/jaredhanson/locomotive) — Powerful MVC web framework
155-
- [OAuthorize](https://github.com/jaredhanson/oauthorize) — OAuth service provider toolkit
156-
- [OAuth2orize](https://github.com/jaredhanson/oauth2orize) — OAuth 2.0 authorization server toolkit
157-
- [connect-ensure-login](https://github.com/jaredhanson/connect-ensure-login) — middleware to ensure login sessions
158-
159-
The [modules](https://github.com/jaredhanson/passport/wiki/Modules) page on the
160-
[wiki](https://github.com/jaredhanson/passport/wiki) lists other useful modules
161-
that build upon or integrate with Passport.
162-
163144
## Tests
164145

165146
```
166147
$ npm install
167148
$ make test
168149
```
169-
170-
## Credits
171-
172-
- [Jared Hanson](http://github.com/jaredhanson)
173-
174-
## Supporters
175-
176-
This project is supported by ![](http://passportjs.org/images/supported_logo.svg) [Auth0](https://auth0.com)
177-
178-
## License
179-
180-
[The MIT License](http://opensource.org/licenses/MIT)
181-
182-
Copyright (c) 2011-2015 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>

SPONSORS.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports = module.exports = new Passport();
1717
*/
1818
exports.Passport =
1919
exports.Authenticator = Passport;
20-
exports.Strategy = require('passport-strategy');
20+
exports.Strategy = require('@passport-next/passport-strategy');
2121

2222
/**
2323
* Expose strategies.

lib/strategies/session.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44
var pause = require('pause')
55
, util = require('util')
6-
, Strategy = require('passport-strategy');
6+
, Strategy = require('@passport-next/passport-strategy');
77

88

99
/**

package.json

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "passport",
3-
"version": "0.4.0",
2+
"name": "@passport-next/passport",
3+
"version": "0.5.0",
44
"description": "Simple, unobtrusive authentication for Node.js.",
55
"keywords": [
66
"express",
@@ -10,17 +10,15 @@
1010
"authentication"
1111
],
1212
"author": {
13-
"name": "Jared Hanson",
14-
"email": "[email protected]",
15-
"url": "http://www.jaredhanson.net/"
13+
"name": "Rowan Wookey",
14+
"email": "[email protected]"
1615
},
17-
"homepage": "http://passportjs.org/",
1816
"repository": {
1917
"type": "git",
20-
"url": "git://github.com/jaredhanson/passport.git"
18+
"url": "git://github.com/passport-next/passport.git"
2119
},
2220
"bugs": {
23-
"url": "http://github.com/jaredhanson/passport/issues"
21+
"url": "http://github.com/passport-next/passport/issues"
2422
},
2523
"license": "MIT",
2624
"licenses": [
@@ -31,19 +29,19 @@
3129
],
3230
"main": "./lib",
3331
"dependencies": {
34-
"passport-strategy": "1.x.x",
32+
"@passport-next/passport-strategy": "1.x.x",
3533
"pause": "0.0.1"
3634
},
3735
"devDependencies": {
3836
"make-node": "0.3.x",
39-
"mocha": "2.x.x",
40-
"chai": "2.x.x",
37+
"mocha": "5.2.x",
38+
"chai": "4.1.x",
4139
"chai-connect-middleware": "0.3.x",
42-
"chai-passport-strategy": "0.2.x",
43-
"proxyquire": "1.4.x"
40+
"chai-passport-strategy": "1.x.x",
41+
"proxyquire": "2.0.x"
4442
},
4543
"engines": {
46-
"node": ">= 0.4.0"
44+
"node": ">=6.0.0"
4745
},
4846
"scripts": {
4947
"test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js"

0 commit comments

Comments
 (0)