# @types/jquery-migrate

> TypeScript definitions for jquery-migrate

Latest version **3.3.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/jquery-migrate
pnpm add @types/jquery-migrate
yarn add @types/jquery-migrate
bun add @types/jquery-migrate
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.3.3 |
| Published | 2023-11-07 |
| First published | 2020-02-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/jquery-migrate
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-migrate
- npm.io page: https://npm.io/package/@types/jquery-migrate

## Dependencies (1)

- [@types/jquery](https://npm.io/package/@types/jquery.md) *

## Recent versions

- 3.3.3 (latest) — 2023-11-07
- 3.3.1 (ts3.6) — 2021-07-08
- 3.3.0 (ts3.0) — 2020-06-25
- 3.1.0 (ts2.8) — 2020-02-27
- 3.3.2 — 2023-10-18

## README

# Installation
> `npm install --save @types/jquery-migrate`

# Summary
This package contains type definitions for jquery-migrate (https://github.com/jquery/jquery-migrate).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-migrate.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-migrate/index.d.ts)
````ts
/// <reference types="jquery" />

interface JQueryStatic {
    /**
     * By default, Migrate only gives a specific warning once.
     * If you set this property to false it will give a warning for every occurrence each time it happens.
     * Note that this can generate a lot of output, for example when a warning occurs in a loop.
     * @default true
     */
    migrateDeduplicateWarnings?: boolean | undefined;
    /**
     * An array of string warning messages that have been generated by the code on the page,
     * in the order they were generated. Messages appear in the array only once,
     * even if the condition has occurred multiple times, unless jQuery.migrateReset() is called
     * @default []
     */
    migrateWarnings: string[];

    /**
     * Set this property to `true` to prevent console warnings from being generated in the development version.\
     * The `jQuery.migrateWarnings` array is still maintained when this property is set,
     * which allows programmatic inspection without console output
     * @default false
     */
    migrateMute: boolean;

    /**
     * Set this property to `false` if you want warnings
     * but do not want stack traces to appear on the console.
     * @default true
     */
    migrateTrace: boolean;

    /**
     * Indicates the version of Migrate in use
     */
    readonly migrateVersion: string;

    /**
     * This method clears the `jQuery.migrateWarnings` array and "forgets" the list of messages
     * that have been seen already.
     */
    migrateReset(): void;
    /**
     * If you want to upgrade to jQuery 3.5.0 or newer and don't have time to deal with breaking changes at the moment
     * and you use jQuery Migrate 3.2.0 or newer, you can revert to the previous behavior.
     * @see {@link https://jquery.com/upgrade-guide/3.5/}
     */
    UNSAFE_restoreLegacyHtmlPrefilter(): void;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery)

# Credits
These definitions were written by [Piotr Błażejewicz](https://github.com/peterblazejewicz).

---
_Source: https://npm.io/package/@types/jquery-migrate · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
