Skip to content

Releases: sillvva/utils

v0.8.2

14 Dec 18:17
9fbb0a4

Choose a tag to compare

fix: Improves type safety for circular reference detection

Adds explicit type annotation to WeakMap parameter to prevent potential type inference issues and enhance code clarity

Bumps version to 0.8.2

v0.8.1

14 Dec 18:11
730f9b6

Choose a tag to compare

feat: enhances deepEqual with comprehensive type support

Adds support for NaN comparison, typed arrays, circular reference detection, symbol keys, constructor validation, and improved Map key comparison using deep equality

Extends test coverage with edge cases including sparse arrays, invalid dates, cross-references, and getter properties

• Version bump to 0.8.1

v0.8.0

12 Nov 05:21
38ce4d4

Choose a tag to compare

Highlights

  • Added JavaScript Object Notation utilities (toJSObjectNotation and fromJSObjectNotation) for path-to-string/string-to-path conversions supporting dot, bracket, and mix notation
  • Refactored and consolidated all type predicate utilities (isDefined, isInstanceOfClass, isOneOf, etc.) into a single predicates module. Added a lot of additional predicates.

Full Changelog: v0.7.1...v0.8.0

v0.7.1

11 Nov 19:25
580cd11

Choose a tag to compare

Full Changelog: v0.7.0...v0.7.1

v0.7.0

26 Oct 14:15
fe1a285

Choose a tag to compare

feat: implement deepEqual utility for comprehensive value comparison

Adds a new utility function deepEqual that performs deep comparisons of various data types including primitives, objects, arrays, dates, RegExp, Sets, and Maps.

v0.6.0

08 Sep 13:29
292ed0d

Choose a tag to compare

Full Changelog: v0.5.7...v0.6.0

v0.5.7

26 Jul 17:21
f3d09da

Choose a tag to compare

Full Changelog: v0.5.6...v0.5.7

Adds class instance type guard utility.

v0.5.6

05 Jul 15:52
1e5dab9

Choose a tag to compare

Updates package version and type definition

Updates the package version to 0.5.6 in jsr.json and package.json.

Changes the type definition of DictOrArray to allow any type for values, providing more flexibility.

Full Changelog: v0.5.5...v0.5.6

v0.5.5

03 Jul 23:56
344b5a2

Choose a tag to compare

Full Changelog: v0.5.4...v0.5.5

Increments version to 0.5.5

Updates package version.

Renames entry points to "index".

v0.5.4

03 Jul 23:39
9dfe9b8

Choose a tag to compare

Full Changelog: https://github.com/sillvva/utils/commits/v0.5.4

Updates build process and adds keywords

Simplifies the prepublishOnly script by removing the --frozen-lockfile flag and directly running the build script.

Adds "utility" to the keywords array to improve package discoverability.