@types/passport breaking changes
@types/passport 1.0.0 (December 25, 2018) is its newest release with breaking changes, 2 of them. The first: Signature changed Authenticator. Every breaking API change we have recorded in @types/passport on npm: 16 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.0.17, released October 28, 2024.
Packages on npm run on Node.js. Node.js end of life dates.
@types/passport 1.0.0 breaking changes
- Signature changed
Authenticator
Was interface Authenticator<InitializeRet = express.Handler, AuthenticateRet = any, AuthorizeRet = AuthenticateRet>; now interface Authenticator<InitializeRet = express.Handler, AuthenticateRet = any, AuthorizeRet = AuthenticateRet... npmjs.com - Signature changed
Authenticator.authorize
Was authorize(strategy: string | string[], options: any, callback?: (...args: any[]) => any): AuthorizeRet; now authorize(strategy: string | string[], options: AuthorizeOptions, callback?: (...args: any[]) => any): AuthorizeRet. npmjs.com
@types/passport 0.3.0 breaking changes
- Signature changed
'passport'.AuthenticateOptions.failureFlash
Was failureFlash?: string|boolean|Object; now failureFlash?: string|boolean|any. npmjs.com - Signature changed
'passport'.AuthenticateOptions.successFlash
Was successFlash?: string|boolean|Object; now successFlash?: string|boolean|any. npmjs.com - Signature changed
'passport'.Framework.authenticate
Was authenticate(passport: Passport, name: string, options?: Object, callback?: Function): Function; now authenticate(passport: Passport, name: string, options?: any, callback?: Function): Function. npmjs.com - Signature changed
'passport'.Framework.authorize
Was authorize?(passport: Passport, name: string, options?: Object, callback?: Function): Function; now authorize?(passport: Passport, name: string, options?: any, callback?: Function): Function. npmjs.com - Signature changed
'passport'.Framework.initialize
Was initialize(passport: Passport, options?: Object): Function; now initialize(passport: Passport, options?: any): Function. npmjs.com - Signature changed
'passport'.Passport.authenticate
Was authenticate(strategies: string[], callback?: Function): express.Handler authenticate(strategies: string[], options: AuthenticateOptions, callback?: Function): express.Handler authenticate(strategy: string, callback?: Function)... npmjs.com - Signature changed
'passport'.Passport.authorize
Was authorize(strategies: string[], callback?: Function): express.Handler authorize(strategies: string[], options: Object, callback?: Function): express.Handler authorize(strategy: string, callback?: Function): express.Handler... npmjs.com - Signature changed
'passport'.Passport.deserializeUser
The signature of 'passport'.Passport.deserializeUser changed in @types/passport 0.3.0 npmjs.com - Signature changed
'passport'.Passport.serializeUser
The signature of 'passport'.Passport.serializeUser changed in @types/passport 0.3.0 npmjs.com - Signature changed
'passport'.Profile.emails
Was emails?: {value: string; type?: string;}[]; now emails?: Array<{value: string; type?: string;}>. npmjs.com
And 4 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.