---
title: "@types/passport 1.0.0 Breaking Changes on npm | Since.dev"
description: "What each @types/passport release removed, renamed or changed: 16 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@types/passport
last_updated: 2026-12-04
---

# @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

Latest version `1.0.17`, released October 28, 2024. 

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.3.0](#v-0-3-0) to [1.0.0](#v-1-0-0): 2 breaking changes in 1 version.

## @types/passport 1.0.0 breaking changes

@types/passport 1.0.0, released December 25, 2018: 2 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](https://www.npmjs.com/package/@types/passport/v/1.0.0)
- **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](https://www.npmjs.com/package/@types/passport/v/1.0.0)

## @types/passport 0.3.0 breaking changes

@types/passport 0.3.0, released December 26, 2016: 14 breaking changes.

- **Signature changed** `'passport'.AuthenticateOptions.failureFlash`  

Was failureFlash?: string|boolean|Object; now failureFlash?: string|boolean|any. [npmjs.com](https://www.npmjs.com/package/@types/passport/v/0.3.0)
- **Signature changed** `'passport'.AuthenticateOptions.successFlash`  

Was successFlash?: string|boolean|Object; now successFlash?: string|boolean|any. [npmjs.com](https://www.npmjs.com/package/@types/passport/v/0.3.0)
- **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](https://www.npmjs.com/package/@types/passport/v/0.3.0)
- **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](https://www.npmjs.com/package/@types/passport/v/0.3.0)
- **Signature changed** `'passport'.Framework.initialize`  

Was initialize(passport: Passport, options?: Object): Function; now initialize(passport: Passport, options?: any): Function. [npmjs.com](https://www.npmjs.com/package/@types/passport/v/0.3.0)
- **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](https://www.npmjs.com/package/@types/passport/v/0.3.0)
- **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](https://www.npmjs.com/package/@types/passport/v/0.3.0)
- **Signature changed** `'passport'.Passport.deserializeUser`  

The signature of 'passport'.Passport.deserializeUser changed in @types/passport 0.3.0 [npmjs.com](https://www.npmjs.com/package/@types/passport/v/0.3.0)
- **Signature changed** `'passport'.Passport.serializeUser`  

The signature of 'passport'.Passport.serializeUser changed in @types/passport 0.3.0 [npmjs.com](https://www.npmjs.com/package/@types/passport/v/0.3.0)
- **Signature changed** `'passport'.Profile.emails`  

Was emails?: {value: string; type?: string;}\[\]; now emails?: Array<{value: string; type?: string;}>. [npmjs.com](https://www.npmjs.com/package/@types/passport/v/0.3.0)

And 4 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [@types/archiver](https://since.dev/packages/npm/@types/archiver.md)
- [@types/async-retry](https://since.dev/packages/npm/@types/async-retry.md)
- [@types/better-sqlite3](https://since.dev/packages/npm/@types/better-sqlite3.md)
- [@types/bootstrap](https://since.dev/packages/npm/@types/bootstrap.md)
- [@types/chai](https://since.dev/packages/npm/@types/chai.md)
- [@types/chrome](https://since.dev/packages/npm/@types/chrome.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
