Skip to content

v1.1.6

Latest

Choose a tag to compare

@observ33r observ33r released this 18 Jul 05:35

Performance

  • Short-circuits invalid options with a nullish fast path to reduce runtime overhead when no config is passed
    (objectEquals(target, source) now avoids unnecessary optional chaining checks).

Types

  • Refined objectEqualsCore and objectEquals signatures in .d.mts:
    • Replaced any with unknown for safer inputs.
    • Defaulted all boolean flags to false in type annotations for clarity.
    • Strengthened cache to Map<object, object> | WeakMap<object, object> in ObjectEqualsOptions interface and objectEqualsCore function.
  • Explicitly exported ObjectEqualsOptions interface.

Documentation

  • Updated README.md usage section to reflect new unknown parameter types instead of any.
  • Clarified that V8 and JSC paths apply to runtimes.