Skip to content

chore(deps): move ulid to 3 - #335

Merged
oorabona merged 1 commit into
mainfrom
chore/ulid-3
Sep 18, 2026
Merged

oorabona merged 1 commit into
mainfrom
chore/ulid-3

Conversation

@oorabona

Copy link
Copy Markdown
Collaborator

Refs #238. ulid 2.4 → 3.0.2.

  • Our usage. One call, import { ulid } from "ulid" in packages/shared/src/utils.ts, unchanged.
  • 3.0 breaking changes (release): AMD / RequireJS support, the factory export and detectPrng are dropped. None is used here.
  • 3.0.2 fixes a biased random-number generation (#128).
  • Bundling. 3.x publishes a Node CJS entry (exports["."].node.require), which is what esbuild takes for the hub's SEA bundle. The browser build takes the ESM entry.

Verified (Windows 11)

Check Result
node_modules/.bin/biome check . --error-on-warnings 0
pnpm typecheck 0
pnpm test (app data isolated, #333) 1: the #309 baseline plus the #333 hub-startup case, nothing new
cargo test --workspace --no-fail-fast 0
cargo clippy --target x86_64-pc-windows-msvc --all-targets --all-features -- -D warnings 0
Local Windows build: hub SEA built, agent status --json reports hub_version 0.10.3
Local Windows build: desktop NSIS and MSI bundles
Local Windows build: MSIX package created
scripts/release-assets.ts on those outputs the five Windows deliverables

The ci.yml dispatch builds the same on windows-latest: https://github.com/khiops/lasterm/actions/runs/35378991491

The only call, ulid() in packages/shared, keeps its import. 3.0 drops AMD,
factory and detectPrng, none of which is used; 3.0.2 fixes a biased RNG.
@oorabona
oorabona merged commit 49ad0a1 into main Sep 18, 2026
28 checks passed
@oorabona
oorabona deleted the chore/ulid-3 branch September 18, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant