10 Commits

Author SHA1 Message Date
Ryan Roemer
7079a22cc2
Bugfix: support Object.create(null) (#123)
- Allow use of `Object.create(null)` to work without error. Fixes #64 
- Add customized tests.
2023-03-16 08:34:11 -07:00
Ryan Roemer
b34988f9a5
Chore: updates (#121)
- Update devdeps
- Tighten up lint rules
- Update CI to modern Node versions
2023-03-14 08:42:44 -07:00
Kylie Stewart
e01e97545b
Update types + add TS tests (#77)
* Update contributing guidelines

* Use tsc's project reference to isolate tests

* Update our timeout call

* Update docs surrounding new scripts

* Remove compiled JS, do not generate on test

* Add eslint-plugin-react

* Run tslint in CI
2020-05-21 09:08:50 -06:00
Kylie Stewart
0ad81d09fb Increase timeout 2020-05-08 16:49:55 -06:00
Kylie Stewart
d0a0b5add8
Add Preact support (#76)
Co-authored-by: David Dios <dios.david@thedevcore.net>
Co-authored-by: Ryan Roemer <ryan.roemer@formidable.com>
2020-05-08 16:43:09 -06:00
Ryan Roemer
5d71c91e73
Feature: Add support for ES.next Set, Map, ArrayBuffer (#51)
- Update library to include ES.next support for `Map`, `Set`, `ArrayBuffer`. Part of #36
- Update to `fast-deep-equal@3.1.1` with modified support for ES.next data types.
- Upgrade lots of `devDependenices`
- Use `fast-deep-equal` tests directly in our correctness tests.
- Update CI to modern Node.js versions.
- **Note**: There's a bug / limitation of `Set` comparisons whereby objects are compared by reference not value. Tracked at #50 . In our `yarn benchmark`, `lodash.isEqual` gets test differences because it correctly handles those.
2020-01-29 13:52:55 -07:00
Chris Bolin
238b3cfde1
simplify DOM element handling and testing (#37) 2018-11-08 14:54:30 -07:00
viper1104
f26b6c52ba Comparing DOM elements (#33) 2018-11-08 08:54:41 -07:00
Samuel Estrella
8122fedecc
Feature/fast deep equal@2.0.1 (#21)
Up to date with fast-deep-equal@2.0.1.

* null and object comparison
* new behavior: different functions that are not equal
* new behavior: handle NaN
* Add tests from fast-deep-equal@2.0.1
* Move tests from fast-deep-equal@2.0.1 to separate file
* Add comments to identify fast-deep-equal code
* Add comments to identify custom handling for React
2018-06-04 13:48:02 -07:00
Ryan Roemer
53a5ca111b
Chore/browser tests (#10)
- Refactor the test directory structure.
- Imports the `node` tests into the browser, building with webpack. They are the source of truth.
- Run headless chrome in Travis.
- Run IE9 in Appveyor.
- Use `builder` to parallelize running lint and various tests.
- Fixes #7
2018-04-13 14:29:01 -07:00