@types/passport
Advanced tools
Comparing version 0.3.1 to 0.3.2
// Type definitions for Passport 0.3 | ||
// Project: http://passportjs.org | ||
// Definitions by: Horiuchi_H <https://github.com/horiuchi/> | ||
// Definitions by: Horiuchi_H <https://github.com/horiuchi/>, Eric Naeseth <https://github.com/enaeseth> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -63,2 +63,7 @@ | ||
interface PassportStatic extends Passport { | ||
Passport: {new(): Passport}; | ||
Authenticator: {new(): Passport}; | ||
} | ||
interface Strategy { | ||
@@ -95,5 +100,5 @@ name?: string; | ||
const passport: passport.Passport; | ||
const passport: passport.PassportStatic; | ||
export = passport; | ||
} | ||
{ | ||
"name": "@types/passport", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "TypeScript definitions for Passport", | ||
"license": "MIT", | ||
"author": "Horiuchi_H <https://github.com/horiuchi/>", | ||
"author": "Horiuchi_H <https://github.com/horiuchi/>, Eric Naeseth <https://github.com/enaeseth>", | ||
"main": "", | ||
@@ -17,4 +17,4 @@ "repository": { | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "b8782a2c1da7fe906deaae8acabfdde938b14b9c7c0852de2b08ff333194ec3e", | ||
"typesPublisherContentHash": "ad78669b9816255911c3c17b1f4cdd0ac491741c1c7e9a9f81c2dc66185bceaf", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,8 +11,7 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 29 Dec 2016 23:09:21 GMT | ||
* Library Dependencies: none | ||
* Module Dependencies: express | ||
* Last updated: Sat, 14 Jan 2017 16:11:16 GMT | ||
* Dependencies: express | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Horiuchi_H <https://github.com/horiuchi/>. | ||
These definitions were written by Horiuchi_H <https://github.com/horiuchi/>, Eric Naeseth <https://github.com/enaeseth>. |
{ | ||
"authors": "Horiuchi_H <https://github.com/horiuchi/>", | ||
"libraryDependencies": [], | ||
"moduleDependencies": [ | ||
"express" | ||
], | ||
"libraryMajorVersion": 0, | ||
"libraryMinorVersion": 3, | ||
"typeScriptVersion": "2.0", | ||
"name": "passport", | ||
"libraryName": "Passport", | ||
"typingsPackageName": "passport", | ||
"projectName": "http://passportjs.org", | ||
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", | ||
"sourceBranch": "master", | ||
"globals": [], | ||
"declaredModules": [ | ||
"passport" | ||
], | ||
"files": [ | ||
"index.d.ts" | ||
], | ||
"hasPackageJson": false, | ||
"contentHash": "b8782a2c1da7fe906deaae8acabfdde938b14b9c7c0852de2b08ff333194ec3e" | ||
"data": { | ||
"authors": "Horiuchi_H <https://github.com/horiuchi/>, Eric Naeseth <https://github.com/enaeseth>", | ||
"dependencies": { | ||
"express": "*" | ||
}, | ||
"pathMappings": {}, | ||
"libraryMajorVersion": 0, | ||
"libraryMinorVersion": 3, | ||
"typeScriptVersion": "2.0", | ||
"libraryName": "Passport", | ||
"typingsPackageName": "passport", | ||
"projectName": "http://passportjs.org", | ||
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", | ||
"globals": [], | ||
"declaredModules": [ | ||
"passport" | ||
], | ||
"files": [ | ||
"index.d.ts" | ||
], | ||
"hasPackageJson": false, | ||
"contentHash": "ad78669b9816255911c3c17b1f4cdd0ac491741c1c7e9a9f81c2dc66185bceaf" | ||
}, | ||
"isLatest": true | ||
} |
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
5991
116
17