Skip to content

deps: bump eslint from 10.14.0 to 10.15.0 in the eslint group - #114

Merged
cldmv-bot[bot] merged 1 commit into
nextfrom
dependabot/npm_and_yarn/next/eslint-9dcaff31d7
Nov 18, 2026
Merged

cldmv-bot[bot] merged 1 commit into
nextfrom
dependabot/npm_and_yarn/next/eslint-9dcaff31d7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 18, 2026

Copy link
Copy Markdown
Contributor

Bumps the eslint group with 1 update: eslint.

Updates eslint from 10.14.0 to 10.15.0

Release notes

Sourced from eslint's releases.

v10.15.0

Features

  • ec52157 feat: check proto and assignment targets in func-names (#21521) (Lê Văn Xuân Hoàn)
  • 34a8b1b feat: recognize string and computed keys in accessor-pairs descriptors (#21519) (Lê Văn Xuân Hoàn)
  • 663c825 feat: handle TS type assertions in no-invalid-this (#21464) (Valentin)
  • 4941015 feat: check individual specifier importKind in no-shadow (#21518) (Lê Văn Xuân Hoàn)
  • 17f17cd feat: update error location to head for default-case (#21469) (Tanuj Kanti)

Bug Fixes

  • 23ac66c fix: update dependency @​eslint/config-array to ^0.23.6 (#21550) (renovate[bot])
  • df71e34 fix: skip no-prototype-builtins suggestion when object is super (#21535) (KooYS)
  • 899065e fix: preserve inline type modifier in no-useless-rename autofix (#21527) (sethamus)
  • af4c3a9 fix: preserve TypeScript type parameters in prefer-arrow-callback (#21507) (Lê Văn Xuân Hoàn)
  • b11bcb3 fix: preserve necessary parens in no-unneeded-ternary autofix (#21495) (Lê Văn Xuân Hoàn)
  • 7c7292e fix: require [email protected] or higher to avoid CVE-2026-118764 (#21492) (nikolawork)

Documentation

  • 16eb1d9 docs: remove Contributor Pool reference (#21539) (Nicholas C. Zakas)
  • e368730 docs: discourage non-serializable values in rule options (#21487) (Vitalii Maslianok)
  • 0146008 docs: revamp code path analysis docs (#21423) (xbinaryx)
  • aeb2267 docs: revise AI acknowledgment options in templates (#21489) (lumir)
  • e47a477 docs: Update README (GitHub Actions Bot)
  • 11c66ba docs: fix typo in custom rules documentation (#21472) (Pixel)

Chores

  • 480afad chore: update github/codeql-action action to v4.39.3 (#21533) (renovate[bot])
  • fc3a99b chore: update ecosystem plugins (#21511) (ESLint Bot)
  • 8fe3ab9 chore: replace got with Node.js native fetch (#21505) (lumir)
  • bdd4b1d ci: bump pnpm/action-setup from 6.1.0 to 6.1.1 (#21499) (dependabot[bot])
  • 36db635 ci: bump github/codeql-action from 4.39.1 to 4.39.2 (#21500) (dependabot[bot])
  • 19211b3 chore: replace fs-teardown with Node.js native APIs (#21488) (lumir)
  • bbede5e chore: enforce require-meta-docs-recommended (#21496) (lumir)
  • 896b8ad chore: update ecosystem plugins (#21478) (ESLint Bot)
  • 35801a2 ci: re-enable eslint-plugin-unicorn ecosystem test (#21470) (Francesco Trotta)
Commits
  • a2101d9 10.15.0
  • 2f0807d Build: changelog update for 10.15.0
  • 23ac66c fix: update dependency @​eslint/config-array to ^0.23.6 (#21550)
  • ec52157 feat: check proto and assignment targets in func-names (#21521)
  • df71e34 fix: skip no-prototype-builtins suggestion when object is super (#21535)
  • 899065e fix: preserve inline type modifier in no-useless-rename autofix (#21527)
  • 16eb1d9 docs: remove Contributor Pool reference (#21539)
  • 34a8b1b feat: recognize string and computed keys in accessor-pairs descriptors (#21...
  • 480afad chore: update github/codeql-action action to v4.39.3 (#21533)
  • e368730 docs: discourage non-serializable values in rule options (#21487)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the eslint group with 1 update: [eslint](https://github.com/eslint/eslint).


Updates `eslint` from 10.14.0 to 10.15.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v10.14.0...v10.15.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.15.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <[email protected]>
@cldmv-bot cldmv-bot Bot added the type: dependencies Relates to dependency updates, version bumps, or package management label Nov 18, 2026

@cldmv-bot cldmv-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved by CLDMV-bot: minor bump from 10.14.0 to 10.15.0.

@cldmv-bot
cldmv-bot Bot enabled auto-merge November 18, 2026 12:06
@cldmv-bot
cldmv-bot Bot merged commit 6258600 into next Nov 18, 2026
31 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/next/eslint-9dcaff31d7 branch November 18, 2026 12:07
cldmv-bot Bot added a commit that referenced this pull request Nov 22, 2026
# `@cldmv/uuid` v2.0.0 Changelog

**Release Date**: November 2026
**Release Type**: Major
**Branch**: `release/2.0.0`

---

## Overview

v2.0.0 makes the whole timestamp range of the Timestamp Variant usable. The format has always held a sign bit and a 69-bit magnitude, ±(2^69 - 1): about ±18.7 trillion years for `TA()` (seconds) and ±18.7 billion years for `TB()` (milliseconds). Until now the code went through `Number` and `Math.abs`, so it couldn't take a value above 2^53 exactly, wrapped silently past 2^69, and lost precision when decoding large values. Every value in the range now goes in, comes back out and sorts exactly.

`TA()` and `TB()` mint two new timestamp versions, 5 and 6, which lay the whole magnitude out most significant bit first, so byte order (string order, a database `uuid` column) follows time across the full range. Versions 3 and 4 kept the top 6 magnitude bits after the variant field and only sorted within ±(2^63 - 1). Ids already minted (versions 1-4) keep decoding exactly as before, `UUID.migrate()` rewrites them into 5/6, and the new `UUID.compare()` sorts any mix of versions by time.

It is a major release for two reasons: `getTimestamp()` returns a `bigint` past ±(2^53 - 1), which widens its TypeScript type, and new ids are versions 5/6, which don't sort together with stored version 3/4 ids by byte order until those are migrated. See the upgrade notes.

---

## 💥 Breaking Changes

### `TA()` / `TB()` mint versions 5 and 6 ([#117](#117), fixes [#100](#100))

- Version 5 (seconds) and version 6 (milliseconds) store magnitude bits 68..6 at bits 1-63 and bits 5..0 at bits 69-74. Byte order follows time from -(2^69 - 1) to 2^69 - 1.
- `uuid.version()` still reports `"TA"` / `"TB"`; `getVersion()` returns 5 / 6 instead of 3 / 4.
- Versions 1-4 still decode, and `UUID.timestamp(ts, version)` still mints any of them.
- Inside one layout, ids sort by time as before. Across layouts they don't: a version 3/4 id sorts after a version 5/6 id of the same time. Migrate stored ids, or sort with `UUID.compare()`.

### `getTimestamp()` returns `number | bigint | null` ([#117](#117))

- A `number` while the value is a safe integer (±(2^53 - 1), about ±285,000 years in milliseconds), the exact `bigint` past that, `null` for non-timestamp ids. Every timestamp a JavaScript `Date` can hold is still a `number`, so runtime behavior only changes for values that used to come back rounded.
- TypeScript code typed against `number | null` (or passing the result straight to `new Date()` or arithmetic) needs updating.
- `getInfo().timestamp` follows the same rule.

### `UUID.migrate()` targets versions 5 and 6 ([#117](#117))

- Versions 1 and 3 become 5, versions 2 and 4 become 6. The sign, the timestamp and the 49 entropy bits are copied, so a version 2 id and its version 4 migration end up at the same version 6 id.
- `isLegacyTimestampLayout()` is true for versions 1-4.

## ✨ Features

### Full-range timestamp inputs ([#117](#117))

- `TA()`, `TB()`, `UUID.timestamp()` and the version modules take a `number`, a `bigint`, a decimal integer string (the exact form that survives JSON) or a `Date`.
- A fractional number is floored toward -Infinity, so `UUID.TA(Date.now() / 1000)` stores the second it falls in, and -0.5 sorts before 0. A `Date` is milliseconds for `TB()` and floored seconds for `TA()`.
- Values the format can't hold throw instead of encoding a different time: a `RangeError` for a magnitude past 2^69 - 1, `NaN`, `Infinity`, a malformed string or an invalid `Date`, a `TypeError` for any other type. `null` and `undefined` still mean now.

### `uuid.getTimestampBigInt()` ([#117](#117))

- Always the exact `bigint`, or `null` for non-timestamp ids.

### `UUID.compare(a, b)` ([#117](#117))

- A comparator for `Array.prototype.sort` over UUID instances, strings or 16-byte buffers. Timestamp Variant ids (versions 1-6) come first, ordered by the time they hold, exactly across the whole range; seconds and milliseconds go on one scale. Equal times, and every other UUID (which sorts after all timestamp ids), fall back to byte order.
- Use it for a mix of versions, `TA()` next to `TB()`, or version 3/4 ids past ±(2^63 - 1).

## 🐛 Bug Fixes

All from [#117](#117), fixes [#100](#100):

- `TB(2 ** 69)` decoded as 0 and `TB(-(2 ** 69))` as -0. Both now throw a `RangeError`.
- `TB(10n)` threw `Cannot convert a BigInt value to a number`. Bigints are now accepted.
- `TB(NaN)` / `TB(Infinity)` threw a BigInt conversion error. They now throw a `RangeError` saying the timestamp must be finite.
- `TB(-0.5)` decoded as -0 and sorted before `TB(0)`. Negative fractions now floor.
- Decoding an id with a magnitude above 2^53 was lossy in every version. It is now exact.
- The validator warned "Reserved bit 69 is set to 1" on every pre-1970 id. Bit 69 is a magnitude bit in the Timestamp Variant, so the warning is gone; `fields.reservedBit69` is still reported.
- The internal timestamp-independent entropy helper (`src/lib/entropy-sources.mjs`, not exported) was limited to 64 bits; it takes the same inputs and range as `TA()` / `TB()`.
- The timestamp encoding was copied five times (the four version modules and `UUID`); it now lives in one shared helper, `src/lib/timestamp.mjs`, which the validator uses as well.

## 🧪 Tests

- New `tests/timestamp-range.test.vitest.mjs`: round-trips for versions 1-6 at 0, ±1, ±(2^53 - 1), ±2^53, ±(2^63 - 1), ±2^63, ±2^68 and ±(2^69 - 1) as bigint, string and number; byte order across the full range for versions 5/6 and within ±2^63 for 3/4; `UUID.compare()` over mixed layouts and precisions; every input and error case; migration of versions 1-4; the version modules against the `UUID` class ([#117](#117)).
- The order, migrate, ultra-short and validator suites cover versions 5/6, with fixed byte vectors for the new layout ([#117](#117)).
- The consumer type test checks `number | bigint | null`, `getTimestampBigInt()` and `UUID.compare` against the shipped types ([#117](#117)).

## 🔧 CI & tooling

- Added the v4 `sync-release-notes` companion workflow, which keeps GitHub Release pages in step with the files in `docs/changelog/` ([#113](#113)).

## 📚 Documentation

- README: a "Timestamp range and inputs" section, `uuid.getTimestampBigInt()` and `UUID.compare(a, b)` sections, versions 5/6 in the bit layouts and version table, and "Migrating stored ids to versions 5 and 6" ([#117](#117)).
- `uuid-spec.md`: Timestamp Versions 5 and 6 (full layout); versions 3 and 4 note their ±(2^63 - 1) ordering limit and point new ids at 5 and 6 ([#117](#117)).
- **NEW:** [docs/changelog/v2/v2.0.0.md](https://github.com/CLDMV/uuid/blob/v2.0.0/docs/changelog/v2/v2.0.0.md): this changelog.
- README What's New promoted to v2.0.0.

## 🔧 Dependencies

Development only:

- `vitest` and `@vitest/coverage-v8` 5.0.5 → 5.1.0 ([#107](#107)).
- `@cldmv/fix-headers` 2.2.4 → 2.2.7 ([#108](#108), [#116](#116)).
- `@cldmv/vitest-runner` 1.5.6 → 1.6.1 ([#110](#110)).
- `eslint` 10.14.0 → 10.15.0 ([#114](#114)).
- `prettier` 3.9.10 → 3.10.1 ([#115](#115)).

---

## Upgrade notes

- **TypeScript:** change `number | null` annotations on `getTimestamp()` to `number | bigint | null`, or call `getTimestampBigInt()` when you want one type. Where you need a `Date`, `new Date(Number(id.getTimestamp()))` works for any time a `Date` can hold.
- **Stored ids:** ids from 1.x keep decoding to the same time. If anything orders them by bytes (a primary key, an index, `ORDER BY id`), new version 5/6 ids won't interleave correctly with them. Either migrate every stored id with `UUID.migrate()` (deterministic and idempotent, so migrate primary and foreign keys alike), or sort with `UUID.compare()` until you do. `isLegacyTimestampLayout()` finds the rows that need it.
- **Version checks:** code that tests `getVersion() === 3` / `=== 4` for TA/TB ids should accept 5 / 6 too, or use `version()` (`"TA"` / `"TB"`) instead.
- **Inputs:** values that used to encode silently wrong (past ±2^69, `NaN`, `Infinity`) now throw. Fractional and pre-1970 inputs keep working.
- To keep minting the 1.x layout for now, use `UUID.timestamp(ts, 3)` / `UUID.timestamp(ts, 4)`.



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>

---

<!-- coverage-start -->

![coverage](https://img.shields.io/badge/coverage-97.1%25-brightgreen?style=for-the-badge&logo=vitest&logoColor=white)

| Metric | Coverage |
|--------|----------|
| Statements | 97.6% |
| Branches   | 95.7% |
| Functions  | 97.7% |
| Lines      | 97.7% |

*Avg: **97.1%** · `ae92ec9` · Node lts/**

<!-- coverage-end -->

<!-- co-authors -->

Co-authored-by: Shinrai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: dependencies Relates to dependency updates, version bumps, or package management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants