# enzyme-shallow-equal

> Adaptation of react-addons-shallow-compare, for independent usage

Latest version **1.0.7** (published 2024-02-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install enzyme-shallow-equal
pnpm add enzyme-shallow-equal
yarn add enzyme-shallow-equal
bun add enzyme-shallow-equal
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: no vulnerabilities; popular repo.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2024-02-09 |
| First published | 2019-06-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 11.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19815 |
| Author | Jordan Harband |
| Maintainers | brieb, airbnbeng, lencioni, ljharb |
| Keywords | javascript, shallow rendering, shallowRender, test, reactjs, react, flux, testing, test utils, assertion helpers, tdd, mocha |

## Links

- npm: https://www.npmjs.com/package/enzyme-shallow-equal
- Repository: https://github.com/enzymejs/enzyme
- Homepage: https://enzymejs.github.io/enzyme/
- Issues: https://github.com/enzymejs/enzyme/issues
- Funding: https://github.com/sponsors/ljharb
- npm.io page: https://npm.io/package/enzyme-shallow-equal

## Dependencies (2)

- [hasown](https://npm.io/package/hasown.md) ^2.0.0
- [object-is](https://npm.io/package/object-is.md) ^1.1.5

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 1.0.7 (latest) — 2024-02-09
- 1.0.6 — 2024-02-09
- 1.0.5 — 2022-11-04
- 1.0.4 — 2020-08-07
- 1.0.3 — 2020-08-06
- 1.0.2 — 2020-08-06
- 1.0.1 — 2019-12-19
- 1.0.0 — 2019-06-16

## README

# enzyme-shallow-equal

This is the implementation of shallowEqual that enzyme uses.

It's adapted from https://github.com/facebook/react/blob/144328fe81719e916b946e22660479e31561bb0b/packages/shared/shallowEqual.js#L36-L68

---
_Source: https://npm.io/package/enzyme-shallow-equal · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
