Repository navigation
Releases: PhanHoangQuocTu/precisekit
Releases · PhanHoangQuocTu/precisekit
Release list
PreciseKit v0.5.2
Full Changelog: v0.5.1...v0.5.2
PreciseKit v0.5.1
What's Changed
- build(deps-dev): bump @types/node from 26.6.4 to 26.6.5 by @dependabot[bot] in #10
- build(deps-dev): bump rollup from 4.64.0 to 4.64.5 by @dependabot[bot] in #7
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.71.0 to 8.71.1 by @dependabot[bot] in #8
- build(deps-dev): bump @typescript-eslint/parser from 8.71.0 to 8.71.1 by @dependabot[bot] in #9
New Contributors
- @dependabot[bot] made their first contribution in #10
Full Changelog: v0.5.0...v0.5.1
PreciseKit v0.5.0
Full Changelog: v0.4.2...v0.5.0
v0.4.0
@fatdevcon/utilities v0.4.0
Zero-dependency TypeScript utilities for exact decimal math, calendar/date work, Intl formatting, Unicode text, immutable collections and async helpers.
Install
npm install @fatdevcon/utilitiesimport { summary, formatCurrency, addMonths } from "@fatdevcon/utilities";
summary(0.1, 0.2); // 0.3
formatCurrency("12345678901234567890.129", "USD");
addMonths(new Date(2026, 0, 31), 1); // 28 February 2026Highlights
- Exact decimal,
bigintand numeric-string arithmetic without floating-point drift. - Zero runtime dependencies; ESM, CommonJS and bundled TypeScript declarations.
- Local-calendar date arithmetic, ISO parsing, DST-aware IANA time zone formatting.
- Unicode-safe text helpers, immutable collection helpers and SSR-safe runtime detection.
- Strict validation, stable numeric error codes and prototype-safe object/query helpers.
What's new in 0.4.0
- Added calendar boundaries, comparisons, local calendar differences and date metadata helpers.
- Added safe runtime detection for Node.js, Bun, browsers, DOM and browser workers.
- Added immutable collection ergonomics:
sort,enumerate,take,drop,minBy,maxByandsumBy. - Added strict conversion, safe JSON, query-string and primitive type-guard utilities.
- Fixed proleptic Gregorian years
0–99in date arithmetic and IANA offset handling. - Preserved existing public root imports and zero-runtime-dependency policy.
Verification
- TypeScript typecheck, ESLint, Jest, build, docs and site checks passed.
- ESM/CJS package consumers verified on Node.js and Bun.
- Exact-decimal differential tests use
decimal.jsas a dev-only oracle. - Calendar/date tests use
date-fnsas a dev-only oracle. - npm tarball contents and production dependency audit were verified.