From d1414357dff733ccb1921148de0801acf73335fa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 12:05:40 +0000 Subject: [PATCH 1/8] deps: bump @cldmv/fix-headers from 1.2.2 to 1.3.7 in the minor group Bumps the minor group with 1 update: [@cldmv/fix-headers](https://github.com/CLDMV/fix-headers). Updates `@cldmv/fix-headers` from 1.2.2 to 1.3.7 - [Release notes](https://github.com/CLDMV/fix-headers/releases) - [Commits](https://github.com/CLDMV/fix-headers/compare/v1.2.2...v1.3.7) --- updated-dependencies: - dependency-name: "@cldmv/fix-headers" dependency-version: 1.3.7 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index d769a41..95c351a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -84,16 +84,23 @@ } }, "node_modules/@cldmv/fix-headers": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@cldmv/fix-headers/-/fix-headers-1.2.2.tgz", - "integrity": "sha512-uqUojTtrWUqIb/5V8eG+9as7GZ4FJd2VbBkdkXHf0Nu5VoOPDz7Y5qufYm4HReNSeOCgpn4gTSiPttG5RM2fmg==", + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/@cldmv/fix-headers/-/fix-headers-1.3.7.tgz", + "integrity": "sha512-n8dzZVzYb1W1RiXr4hXD3ZiEfI/r3WN8ibPZGaaKgGOYD1aT5fUBXt+wr0lpLi8aiRprzvQi55u0kafRdUip/Q==", "dev": true, "license": "Apache-2.0", + "dependencies": { + "ignore": "^7.0.5" + }, "bin": { "fix-headers": "src/cli.mjs" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/shinrai" }, "peerDependencies": { "vitest": ">=1.0.0" @@ -817,6 +824,16 @@ "dev": true, "license": "MIT" }, + "node_modules/ignore": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.6.tgz", + "integrity": "sha512-BAg6QkE8W+TuQLrrw0Ugr7HegXduRuuj8/ti2kSOc+jz1dmx8/WNcjr6XGnq5YpDWxFwwaavqD0+jIUOKelTsw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, "node_modules/istanbul-lib-coverage": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", From e2cd0f34bdf64e16c7b7689857b0094eefd88c46 Mon Sep 17 00:00:00 2001 From: Shinrai Date: Sat, 8 Aug 2026 08:51:43 -0700 Subject: [PATCH 2/8] fix(devcheck): condition-only trigger + execArgv detection + scoped-install guard Backports the corrected devcheck from @cldmv/holdmytask (CLDMV/holdmytask#12); addresses the bugs filed in #9. The `uuid-dev` namespacing was already correct; the check logic around it was not. - Trigger is now condition-only. Only `--conditions=uuid-dev` selects src/ (via the ./main export); NODE_ENV does not affect resolution, so the old `!nodeEnv || (!["","development"].includes(nodeEnv) && !hasUUIDDev)` was wrong both ways: NODE_ENV=development without the condition stayed silent while actually on dist/ (false negative), and the condition set without NODE_ENV nagged though correctly on src/ (false positive). - Detect the condition in process.execArgv as well as NODE_OPTIONS. `node --conditions=uuid-dev file.mjs` puts it in execArgv, and that's how vitest passes it to workers (worker NODE_OPTIONS is undefined; execArgv carries the flag) - so the NODE_OPTIONS-only check missed the CLI/worker form. - Skip when installed as a dependency, detecting a `node_modules` segment anywhere above the file so it works for the scoped `node_modules/@cldmv/uuid` layout (a "parent === node_modules" check would miss it). Guards against a git/tarball install exiting inside a consumer's app. - Fix the copy-paste `@Project: @cldmv/slothlet` header to `@cldmv/uuid`. - Add tests/DevCheck.test.vitest.mjs (9 cases): nags without the condition; silent with it via NODE_OPTIONS and via execArgv; NODE_ENV=development alone does not silence; still nags after a dist/ build; generic development condition rejected; skips in CI; skips when installed as a scoped dep; does nothing with no src/. The nag remains intentional whenever src/ is present and the condition is unset (even after a build): a source checkout should run from src/ via the condition, so flagging that you're silently on dist/ is the point. --- devcheck.mjs | 64 +++++++++++++------- tests/DevCheck.test.vitest.mjs | 107 +++++++++++++++++++++++++++++++++ 2 files changed, 149 insertions(+), 22 deletions(-) create mode 100644 tests/DevCheck.test.vitest.mjs diff --git a/devcheck.mjs b/devcheck.mjs index e5fca79..086f288 100644 --- a/devcheck.mjs +++ b/devcheck.mjs @@ -1,5 +1,5 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /devcheck.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran @@ -21,41 +21,61 @@ const srcPath = path.join(__dirname, "src"); // Detect if we're running in a CI environment const isCI = !!( - ( - process.env.CI || // Generic CI flag - process.env.GITHUB_ACTIONS || // GitHub Actions - process.env.TRAVIS || // Travis CI - process.env.CIRCLECI || // CircleCI - process.env.GITLAB_CI || // GitLab CI - process.env.BUILDKITE || // Buildkite - process.env.JENKINS_URL || // Jenkins - process.env.TF_BUILD - ) // Azure DevOps + process.env.CI || // Generic CI flag + process.env.GITHUB_ACTIONS || // GitHub Actions + process.env.TRAVIS || // Travis CI + process.env.CIRCLECI || // CircleCI + process.env.GITLAB_CI || // GitLab CI + process.env.BUILDKITE || // Buildkite + process.env.JENKINS_URL || // Jenkins + process.env.TF_BUILD // Azure DevOps ); -if (existsSync(srcPath) && !isCI) { - const nodeEnv = process.env.NODE_ENV?.toLowerCase(); - const hasUUIDDev = process.env.NODE_OPTIONS?.includes("--conditions=uuid-dev"); +// Skip when installed as a dependency (a `node_modules` segment anywhere above this +// file - covers scoped `node_modules/@cldmv/uuid` and unscoped installs). The +// npm-published package ships neither `src/` nor this file, so this branch is already +// moot there; but a git/tarball install DOES include them, and without this guard +// devcheck would `process.exit(1)` inside a consumer's app. A "parent dir === +// node_modules" check would miss scoped packages (parent is the scope dir). +const isInstalledPackage = __dirname.split(path.sep).includes("node_modules"); - if (!nodeEnv || (!["", "development"].includes(nodeEnv) && !hasUUIDDev)) { +// Only meaningful in a source checkout. When `src/` is present the developer should be +// loading from it via the `uuid-dev` condition; if that condition isn't set they are +// silently running the built `dist/` copy instead, so warn - even after a build, since +// a built checkout has BOTH src/ and dist/ and the condition is the only thing that +// selects src/. +if (existsSync(srcPath) && !isCI && !isInstalledPackage) { + // The condition selects src/ (see the `./main` export in package.json). It can be + // supplied via NODE_OPTIONS (`NODE_OPTIONS=--conditions=uuid-dev`) OR directly on + // the node CLI (`node --conditions=uuid-dev`), which lands in execArgv - this is + // how vitest passes it to workers - so check both. Namespaced (not the generic + // `development`) so a consuming app's own `--conditions=development` can't flip this + // package to a source tree it doesn't ship. NODE_ENV is deliberately NOT consulted: + // it does not affect which tree resolves, so keying off it would both miss the real + // problem (dev env set, condition absent -> silently on dist/) and false-alarm + // (condition set, dev env absent -> actually fine). + const flags = (process.env.NODE_OPTIONS || "") + " " + process.execArgv.join(" "); + const hasUUIDDev = flags.includes("uuid-dev"); + + if (!hasUUIDDev) { console.error("❌ Development environment not properly configured!"); - console.error("📁 Source folder detected but NODE_ENV/NODE_OPTIONS not set for uuid development."); + console.error("📁 Source folder detected but the 'uuid-dev' condition is not set,"); + console.error(" so UUID is loading from dist/ instead of src/."); console.error(""); - console.error("🔧 To fix this, run one of these commands:"); + console.error("🔧 To load from src/ for development, set the condition:"); console.error(" Windows (cmd):"); - console.error(" set NODE_ENV=development"); console.error(" set NODE_OPTIONS=--conditions=uuid-dev"); console.error(""); console.error(" Windows (PowerShell):"); - console.error(" $env:NODE_ENV='development'"); console.error(" $env:NODE_OPTIONS='--conditions=uuid-dev'"); console.error(""); console.error(" Unix/Linux/macOS:"); - console.error(" export NODE_ENV=development"); console.error(" export NODE_OPTIONS=--conditions=uuid-dev"); console.error(""); - console.error("💡 This ensures UUID module loads from src/ instead of dist/ for development."); - console.error("🔧 Using 'uuid-dev' prevents conflicts with consumer development settings."); + console.error(" ...or pass it directly: node --conditions=uuid-dev "); + console.error(""); + console.error("💡 'uuid-dev' is namespaced so it can't conflict with a consumer's own"); + console.error(" development conditions."); console.error("🚀 CI environments automatically skip this check."); process.exit(1); } diff --git a/tests/DevCheck.test.vitest.mjs b/tests/DevCheck.test.vitest.mjs new file mode 100644 index 0000000..d1f8b5e --- /dev/null +++ b/tests/DevCheck.test.vitest.mjs @@ -0,0 +1,107 @@ +import { test, expect, describe, beforeAll, afterAll } from "vitest"; +import { spawnSync } from "node:child_process"; +import { mkdtempSync, mkdirSync, copyFileSync, rmSync } from "node:fs"; +import { tmpdir } from "node:os"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; + +// devcheck.mjs resolves `src/` relative to its own file location and reads process.env +// / process.execArgv, so each case runs a COPY of it in a purpose-built fixture +// directory with a from-scratch env (only PATH), preventing the real CI environment +// this suite runs in from leaking `CI`/`GITHUB_ACTIONS`/`NODE_OPTIONS` into the +// subprocess. +const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), ".."); +const devcheckSrc = path.join(repoRoot, "devcheck.mjs"); + +let tmpRoot; +let counter = 0; + +beforeAll(() => { + tmpRoot = mkdtempSync(path.join(tmpdir(), "uuid-devcheck-")); +}); + +afterAll(() => { + if (tmpRoot) rmSync(tmpRoot, { recursive: true, force: true }); +}); + +// Materialize a fixture dir with a copy of devcheck.mjs plus optional src/ and dist/, +// optionally nested under node_modules// to simulate an installed package. +function makeFixture({ src = true, dist = false, installed = false } = {}) { + const base = path.join(tmpRoot, `f${counter++}`); + const pkgDir = installed ? path.join(base, "node_modules", "@cldmv", "uuid") : path.join(base, "uuid"); + mkdirSync(pkgDir, { recursive: true }); + if (src) mkdirSync(path.join(pkgDir, "src"), { recursive: true }); + if (dist) mkdirSync(path.join(pkgDir, "dist"), { recursive: true }); + copyFileSync(devcheckSrc, path.join(pkgDir, "devcheck.mjs")); + return path.join(pkgDir, "devcheck.mjs"); +} + +// nodeArgs are passed on the node CLI (i.e. become process.execArgv); env is a +// from-scratch environment (only PATH plus whatever is given). +function runDevcheck(fixtureOpts, { env = {}, nodeArgs = [] } = {}) { + const devcheck = makeFixture(fixtureOpts); + const result = spawnSync(process.execPath, [...nodeArgs, devcheck], { + env: { PATH: process.env.PATH, ...env }, + encoding: "utf8" + }); + return { status: result.status, stderr: result.stderr || "" }; +} + +describe("devcheck", () => { + test("nags in a source checkout when the uuid-dev condition is not set", () => { + const { status, stderr } = runDevcheck({ src: true }); + expect(status).toBe(1); + expect(stderr).toContain("Development environment not properly configured"); + expect(stderr).toContain("--conditions=uuid-dev"); + }); + + test("stays silent when the condition is set via NODE_OPTIONS", () => { + const { status, stderr } = runDevcheck({ src: true }, { env: { NODE_OPTIONS: "--conditions=uuid-dev" } }); + expect(status).toBe(0); + expect(stderr).toBe(""); + }); + + test("stays silent when the condition is passed on the node CLI (execArgv)", () => { + // vitest passes --conditions to workers this way, so devcheck must detect it here too. + const { status, stderr } = runDevcheck({ src: true }, { nodeArgs: ["--conditions=uuid-dev"] }); + expect(status).toBe(0); + expect(stderr).toBe(""); + }); + + test("NODE_ENV=development alone does NOT silence it (only the condition selects src/)", () => { + // Keying off NODE_ENV would be a false negative: dev env set but no condition means + // the package is still resolving to dist/, which is exactly what should be flagged. + const { status } = runDevcheck({ src: true }, { env: { NODE_ENV: "development" } }); + expect(status).toBe(1); + }); + + test("STILL nags when dist/ has been built but the condition is not set", () => { + // A build must NOT silence the check: with src/ present the developer should be on + // src/ via the condition, not the stale dist/. + const { status } = runDevcheck({ src: true, dist: true }); + expect(status).toBe(1); + }); + + test("does NOT accept a generic development condition (namespacing)", () => { + const { status } = runDevcheck({ src: true }, { nodeArgs: ["--conditions=development"] }); + expect(status).toBe(1); + }); + + test("skips in CI", () => { + const { status, stderr } = runDevcheck({ src: true }, { env: { CI: "true" } }); + expect(status).toBe(0); + expect(stderr).toBe(""); + }); + + test("skips when installed as a scoped dependency (node_modules/@cldmv/uuid)", () => { + const { status, stderr } = runDevcheck({ src: true, installed: true }); + expect(status).toBe(0); + expect(stderr).toBe(""); + }); + + test("does nothing when there is no src/ (published dist-only layout)", () => { + const { status, stderr } = runDevcheck({ src: false, dist: true }); + expect(status).toBe(0); + expect(stderr).toBe(""); + }); +}); From c8e7c54d937e676709dae98477572fed175b963e Mon Sep 17 00:00:00 2001 From: Shinrai Date: Sat, 8 Aug 2026 09:54:20 -0700 Subject: [PATCH 3/8] fix(review): match --conditions values exactly, not by substring Addresses PR #10 Copilot review: `flags.includes("uuid-dev")` would false-positive on any flag value containing that substring (e.g. `--conditions=not-uuid-dev`), spuriously silencing devcheck. Parse the actual `--conditions` values from execArgv and NODE_OPTIONS (handling `=`/space/`-C`/ comma forms) and match `uuid-dev` exactly. Added regression tests: rejects a substring-containing condition; accepts uuid-dev among comma-separated conditions. --- devcheck.mjs | 24 +++++++++++++++++++----- tests/DevCheck.test.vitest.mjs | 11 +++++++++++ 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/devcheck.mjs b/devcheck.mjs index 086f288..9747a66 100644 --- a/devcheck.mjs +++ b/devcheck.mjs @@ -46,16 +46,30 @@ const isInstalledPackage = __dirname.split(path.sep).includes("node_modules"); // selects src/. if (existsSync(srcPath) && !isCI && !isInstalledPackage) { // The condition selects src/ (see the `./main` export in package.json). It can be - // supplied via NODE_OPTIONS (`NODE_OPTIONS=--conditions=uuid-dev`) OR directly on - // the node CLI (`node --conditions=uuid-dev`), which lands in execArgv - this is - // how vitest passes it to workers - so check both. Namespaced (not the generic + // supplied via NODE_OPTIONS (`NODE_OPTIONS=--conditions=uuid-dev`) OR directly on the + // node CLI (`node --conditions=uuid-dev` / `-C uuid-dev`), which lands in execArgv - + // this is how vitest passes it to workers - so scan both. Parse the actual + // `--conditions` values and match EXACTLY (not a substring), so e.g. + // `--conditions=not-uuid-dev` does not spuriously count. Namespaced (not the generic // `development`) so a consuming app's own `--conditions=development` can't flip this // package to a source tree it doesn't ship. NODE_ENV is deliberately NOT consulted: // it does not affect which tree resolves, so keying off it would both miss the real // problem (dev env set, condition absent -> silently on dist/) and false-alarm // (condition set, dev env absent -> actually fine). - const flags = (process.env.NODE_OPTIONS || "") + " " + process.execArgv.join(" "); - const hasUUIDDev = flags.includes("uuid-dev"); + const conditions = []; + const collect = (value) => { + if (value) for (const c of value.split(/[,|]/)) if (c.trim()) conditions.push(c.trim()); + }; + const scan = (tokens) => { + for (let i = 0; i < tokens.length; i++) { + if (tokens[i] === "--conditions" || tokens[i] === "-C") collect(tokens[i + 1]); + else if (tokens[i].startsWith("--conditions=")) collect(tokens[i].slice("--conditions=".length)); + else if (tokens[i].startsWith("-C=")) collect(tokens[i].slice("-C=".length)); + } + }; + scan(process.execArgv); + scan((process.env.NODE_OPTIONS || "").split(/\s+/).filter(Boolean)); + const hasUUIDDev = conditions.includes("uuid-dev"); if (!hasUUIDDev) { console.error("❌ Development environment not properly configured!"); diff --git a/tests/DevCheck.test.vitest.mjs b/tests/DevCheck.test.vitest.mjs index d1f8b5e..cb5ae77 100644 --- a/tests/DevCheck.test.vitest.mjs +++ b/tests/DevCheck.test.vitest.mjs @@ -87,6 +87,17 @@ describe("devcheck", () => { expect(status).toBe(1); }); + test("does NOT match a condition that merely contains 'uuid-dev' as a substring", () => { + // Exact-value match, not substring: --conditions=not-uuid-dev must NOT silence it. + const { status } = runDevcheck({ src: true }, { nodeArgs: ["--conditions=not-uuid-dev"] }); + expect(status).toBe(1); + }); + + test("accepts uuid-dev among comma-separated conditions", () => { + const { status } = runDevcheck({ src: true }, { nodeArgs: ["--conditions=foo,uuid-dev,bar"] }); + expect(status).toBe(0); + }); + test("skips in CI", () => { const { status, stderr } = runDevcheck({ src: true }, { env: { CI: "true" } }); expect(status).toBe(0); From 6f46387ef736194414c2ab386c0e46f126c2b33d Mon Sep 17 00:00:00 2001 From: Shinrai Date: Sat, 8 Aug 2026 10:06:38 -0700 Subject: [PATCH 4/8] fix: remove vestigial ./devcheck export (points at unshipped file) The `./devcheck` -> `./devcheck.mjs` export pointed at a file not in the published `files` allowlist (verified via npm pack: devcheck.mjs isn't in the tarball), so `import "@cldmv/uuid/devcheck"` 404s for consumers. devcheck is an internal dev-time guard that index.mjs loads via a relative import, not the package export - nothing imports the subpath. Removing the dead export makes package.json honest. Same cleanup as CLDMV/holdmytask. --- package.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package.json b/package.json index b722a83..e98f112 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,6 @@ "import": "./index.mjs", "require": "./index.cjs" }, - "./devcheck": { - "types": "./types/devcheck.d.mts", - "import": "./devcheck.mjs" - }, "./main": { "uuid-dev": { "import": "./src/uuid.mjs" From 6b5a670e18c3f7758cea7725719ff61e451e617f Mon Sep 17 00:00:00 2001 From: Shinrai Date: Sat, 8 Aug 2026 17:05:27 -0700 Subject: [PATCH 5/8] fix(review): parse --conditions as whole literal values; revert header; add test header Addresses the second Copilot re-review on PR #10 (3 suppressed comments): - devcheck.mjs: stop splitting condition values on `,`/`|`. Node treats each `--conditions` occurrence as ONE literal condition and does not split on comma or pipe (verified: `--conditions=uuid-dev,x` and `--conditions=uuid-dev|production` do NOT enable uuid-dev). The old split caused a false negative - e.g. `uuid-dev|production` would silence devcheck while Node actually resolved to dist/. Now collect each value whole and match exactly. Fixed the test that wrongly asserted comma-joined silences (now asserts it nags), added pipe-joined nag, space-separated (`--conditions uuid-dev`) and repeated-flag silent cases. - devcheck.mjs: reverted the `@Project` header to `@cldmv/slothlet` to match the rest of the repo and tools/fix-headers.mjs (`projectName: @cldmv/slothlet`); a single-file change to `@cldmv/uuid` is an outlier that fix:headers would revert. The repo-wide @Project correction (config + restamp of all files) is a separate, dedicated change. - tests/DevCheck.test.vitest.mjs: added the standard project header block so it isn't an outlier vs the other test files. --- devcheck.mjs | 32 +++++++++++++++------------- tests/DevCheck.test.vitest.mjs | 39 +++++++++++++++++++++++++++++++--- 2 files changed, 53 insertions(+), 18 deletions(-) diff --git a/devcheck.mjs b/devcheck.mjs index 9747a66..e8a49c6 100644 --- a/devcheck.mjs +++ b/devcheck.mjs @@ -1,5 +1,5 @@ /** - * @Project: @cldmv/uuid + * @Project: @cldmv/slothlet * @Filename: /devcheck.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran @@ -48,23 +48,25 @@ if (existsSync(srcPath) && !isCI && !isInstalledPackage) { // The condition selects src/ (see the `./main` export in package.json). It can be // supplied via NODE_OPTIONS (`NODE_OPTIONS=--conditions=uuid-dev`) OR directly on the // node CLI (`node --conditions=uuid-dev` / `-C uuid-dev`), which lands in execArgv - - // this is how vitest passes it to workers - so scan both. Parse the actual - // `--conditions` values and match EXACTLY (not a substring), so e.g. - // `--conditions=not-uuid-dev` does not spuriously count. Namespaced (not the generic - // `development`) so a consuming app's own `--conditions=development` can't flip this - // package to a source tree it doesn't ship. NODE_ENV is deliberately NOT consulted: - // it does not affect which tree resolves, so keying off it would both miss the real - // problem (dev env set, condition absent -> silently on dist/) and false-alarm - // (condition set, dev env absent -> actually fine). + // this is how vitest passes it to workers - so scan both. Each `--conditions` + // occurrence is ONE literal condition value: Node does not split it on `,` or `|` + // (verified - `--conditions=uuid-dev,x` and `--conditions=uuid-dev|x` do NOT enable + // `uuid-dev`), and multiple conditions are passed as repeated flags. So collect each + // value whole and match EXACTLY - no substring, no splitting - so `not-uuid-dev`, + // `uuid-dev,x`, and `uuid-dev|production` all correctly fail to count. Namespaced + // (not the generic `development`) so a consuming app's own `--conditions=development` + // can't flip this package to a source tree it doesn't ship. NODE_ENV is deliberately + // NOT consulted: it does not affect which tree resolves. const conditions = []; - const collect = (value) => { - if (value) for (const c of value.split(/[,|]/)) if (c.trim()) conditions.push(c.trim()); - }; const scan = (tokens) => { for (let i = 0; i < tokens.length; i++) { - if (tokens[i] === "--conditions" || tokens[i] === "-C") collect(tokens[i + 1]); - else if (tokens[i].startsWith("--conditions=")) collect(tokens[i].slice("--conditions=".length)); - else if (tokens[i].startsWith("-C=")) collect(tokens[i].slice("-C=".length)); + if (tokens[i] === "--conditions" || tokens[i] === "-C") { + if (tokens[i + 1] !== undefined) conditions.push(tokens[i + 1]); + } else if (tokens[i].startsWith("--conditions=")) { + conditions.push(tokens[i].slice("--conditions=".length)); + } else if (tokens[i].startsWith("-C=")) { + conditions.push(tokens[i].slice("-C=".length)); + } } }; scan(process.execArgv); diff --git a/tests/DevCheck.test.vitest.mjs b/tests/DevCheck.test.vitest.mjs index cb5ae77..3b00ebc 100644 --- a/tests/DevCheck.test.vitest.mjs +++ b/tests/DevCheck.test.vitest.mjs @@ -1,3 +1,16 @@ +/** + * @Project: @cldmv/slothlet + * @Filename: /tests/DevCheck.test.vitest.mjs + * @Date: 2026-08-08T00:00:00-08:00 (1786233600) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08T00:00:00-08:00 (1786233600) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + */ + import { test, expect, describe, beforeAll, afterAll } from "vitest"; import { spawnSync } from "node:child_process"; import { mkdtempSync, mkdirSync, copyFileSync, rmSync } from "node:fs"; @@ -61,13 +74,24 @@ describe("devcheck", () => { expect(stderr).toBe(""); }); - test("stays silent when the condition is passed on the node CLI (execArgv)", () => { + test("stays silent when the condition is passed on the node CLI (execArgv, = form)", () => { // vitest passes --conditions to workers this way, so devcheck must detect it here too. const { status, stderr } = runDevcheck({ src: true }, { nodeArgs: ["--conditions=uuid-dev"] }); expect(status).toBe(0); expect(stderr).toBe(""); }); + test("stays silent when the condition is passed space-separated (--conditions uuid-dev)", () => { + const { status, stderr } = runDevcheck({ src: true }, { nodeArgs: ["--conditions", "uuid-dev"] }); + expect(status).toBe(0); + expect(stderr).toBe(""); + }); + + test("stays silent when uuid-dev is one of several repeated --conditions flags", () => { + const { status } = runDevcheck({ src: true }, { nodeArgs: ["--conditions=foo", "--conditions=uuid-dev"] }); + expect(status).toBe(0); + }); + test("NODE_ENV=development alone does NOT silence it (only the condition selects src/)", () => { // Keying off NODE_ENV would be a false negative: dev env set but no condition means // the package is still resolving to dist/, which is exactly what should be flagged. @@ -93,9 +117,18 @@ describe("devcheck", () => { expect(status).toBe(1); }); - test("accepts uuid-dev among comma-separated conditions", () => { + test("does NOT treat a comma-joined value as separate conditions", () => { + // Node does not split --conditions on `,`: `foo,uuid-dev,bar` is one literal + // condition, so uuid-dev is NOT enabled and devcheck must still nag. const { status } = runDevcheck({ src: true }, { nodeArgs: ["--conditions=foo,uuid-dev,bar"] }); - expect(status).toBe(0); + expect(status).toBe(1); + }); + + test("does NOT treat a pipe-joined value as separate conditions", () => { + // Likewise Node does not split on `|` (it's a valid condition character, e.g. + // Vite's `development|production`): `uuid-dev|production` does not enable uuid-dev. + const { status } = runDevcheck({ src: true }, { nodeArgs: ["--conditions=uuid-dev|production"] }); + expect(status).toBe(1); }); test("skips in CI", () => { From 5ba1a0166d1b915085f3614ae0415c1cea81259e Mon Sep 17 00:00:00 2001 From: Shinrai Date: Sat, 8 Aug 2026 17:14:10 -0700 Subject: [PATCH 6/8] chore(headers): correct @Project @cldmv/slothlet -> @cldmv/uuid repo-wide The header @Project across the repo was a copy-paste leftover from the slothlet template, and tools/fix-headers.mjs was hardcoded to projectName "@cldmv/slothlet" so `npm run fix:headers` kept re-stamping it. Set projectName to "@cldmv/uuid" and ran fix:headers, correcting @Project on all files (and re-stamping @Last-modified). This also makes devcheck.mjs's header consistent rather than an outlier (the earlier single-file change was reverted for exactly that reason). Folded into this PR per maintainer request. --- .configs/eslint.config.mjs | 6 +++--- .configs/tsconfig.dts.jsonc | 13 +++++++++++++ .configs/vitest.ci.config.mjs | 8 ++++---- .configs/vitest.config.mjs | 6 +++--- devcheck.mjs | 6 +++--- index.cjs | 6 +++--- index.mjs | 6 +++--- scripts/debug-timestamp.mjs | 6 +++--- scripts/demo-custom-uuids.mjs | 6 +++--- scripts/demo-default-string.mjs | 6 +++--- scripts/test-timestamp.mjs | 6 +++--- scripts/test-version-files.mjs | 6 +++--- src/lib/bit-utils.mjs | 6 +++--- src/lib/constants.mjs | 6 +++--- src/lib/entropy-sources.mjs | 6 +++--- src/lib/issuer-registry.mjs | 6 +++--- src/lib/validators.mjs | 6 +++--- src/lib/versions/index.mjs | 6 +++--- src/lib/versions/issuer/index.mjs | 6 +++--- src/lib/versions/issuer/v1.mjs | 6 +++--- src/lib/versions/rfc/index.mjs | 6 +++--- src/lib/versions/rfc/utils.mjs | 6 +++--- src/lib/versions/rfc/v1.mjs | 6 +++--- src/lib/versions/rfc/v35.mjs | 6 +++--- src/lib/versions/rfc/v4.mjs | 6 +++--- src/lib/versions/rfc/v6.mjs | 6 +++--- src/lib/versions/rfc/v7.mjs | 6 +++--- src/lib/versions/rfc/v8.mjs | 6 +++--- src/lib/versions/timestamp/index.mjs | 6 +++--- src/lib/versions/timestamp/v1.mjs | 6 +++--- src/lib/versions/timestamp/v2.mjs | 6 +++--- src/uuid.mjs | 6 +++--- tests/DevCheck.test.vitest.mjs | 6 +++--- tests/bit-utils.test.vitest.mjs | 6 +++--- tests/collision.test.vitest.mjs | 6 +++--- tests/custom-uuid.test.vitest.mjs | 6 +++--- tests/default-string-behavior.test.vitest.mjs | 6 +++--- tests/entropy-sources.test.vitest.mjs | 6 +++--- tests/integration.test.vitest.mjs | 6 +++--- tests/issuer-registry.test.vitest.mjs | 6 +++--- tests/rfc-uuids.test.vitest.mjs | 6 +++--- tests/run-vitest.mjs | 13 +++++++++++++ tests/ultra-short-variants.test.vitest.mjs | 6 +++--- tests/uuid-coverage.test.vitest.mjs | 6 +++--- tests/validators.test.vitest.mjs | 6 +++--- tools/fix-headers.mjs | 2 +- tools/lib/header-config.mjs | 6 +++--- 47 files changed, 160 insertions(+), 134 deletions(-) diff --git a/.configs/eslint.config.mjs b/.configs/eslint.config.mjs index 1f9d4f0..dbcefae 100644 --- a/.configs/eslint.config.mjs +++ b/.configs/eslint.config.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /.configs/eslint.config.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:42 -08:00 (1772687022) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/.configs/tsconfig.dts.jsonc b/.configs/tsconfig.dts.jsonc index 1b28874..ddf7436 100644 --- a/.configs/tsconfig.dts.jsonc +++ b/.configs/tsconfig.dts.jsonc @@ -1,3 +1,16 @@ +/** + * @Project: @cldmv/uuid + * @Filename: /.configs/tsconfig.dts.jsonc + * @Date: 2025-12-15T20:33:49-08:00 (1765859629) + * @Author: Shinrai + * @Email: + * ----- + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + */ + /* * @Project: @cldmv/uuid * @Filename: /.configs/tsconfig.dts.jsonc diff --git a/.configs/vitest.ci.config.mjs b/.configs/vitest.ci.config.mjs index 80b7321..32939c3 100644 --- a/.configs/vitest.ci.config.mjs +++ b/.configs/vitest.ci.config.mjs @@ -1,14 +1,14 @@ /** - * @Project: @cldmv/fix-headers + * @Project: @cldmv/uuid * @Filename: /.configs/vitest.ci.config.mjs * @Date: 2026-02-25 17:34:15 -08:00 (1772069655) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-01T17:59:32-08:00 (1772416772) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- - * @Copyright: Copyright (c) 2026-2026 Catalyzed Motivation Inc. All rights reserved. + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ import base from "./vitest.config.mjs"; diff --git a/.configs/vitest.config.mjs b/.configs/vitest.config.mjs index f23c14b..c2d1474 100644 --- a/.configs/vitest.config.mjs +++ b/.configs/vitest.config.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /.configs/vitest.config.mjs * @Date: 2025-09-09 13:22:38 -07:00 (1757449358) * @Author: Nate Hyson * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/devcheck.mjs b/devcheck.mjs index e8a49c6..9dd35cf 100644 --- a/devcheck.mjs +++ b/devcheck.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /devcheck.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/index.cjs b/index.cjs index 5af6cc0..fdfb542 100644 --- a/index.cjs +++ b/index.cjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /index.cjs * @Date: 2025-12-15 16:18:10 -08:00 (1765844290) * @Author: Nate Hyson * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/index.mjs b/index.mjs index a2934df..4f3cd77 100644 --- a/index.mjs +++ b/index.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /index.mjs * @Date: 2025-12-15 16:18:10 -08:00 (1765844290) * @Author: Nate Hyson * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/scripts/debug-timestamp.mjs b/scripts/debug-timestamp.mjs index e4b0df8..218c03f 100644 --- a/scripts/debug-timestamp.mjs +++ b/scripts/debug-timestamp.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /scripts/debug-timestamp.mjs * @Date: 2025-12-19T20:14:21-08:00 (1766204061) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/scripts/demo-custom-uuids.mjs b/scripts/demo-custom-uuids.mjs index 6a0371c..8d399c8 100644 --- a/scripts/demo-custom-uuids.mjs +++ b/scripts/demo-custom-uuids.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /scripts/demo-custom-uuids.mjs * @Date: 2025-12-19 19:38:49 -08:00 (1766201929) * @Author: Nate Hyson * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/scripts/demo-default-string.mjs b/scripts/demo-default-string.mjs index 8f505eb..64bfda2 100644 --- a/scripts/demo-default-string.mjs +++ b/scripts/demo-default-string.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /scripts/demo-default-string.mjs * @Date: 2025-12-22T16:59:18-08:00 (1766451558) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/scripts/test-timestamp.mjs b/scripts/test-timestamp.mjs index 8fa42de..d6f9843 100644 --- a/scripts/test-timestamp.mjs +++ b/scripts/test-timestamp.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /scripts/test-timestamp.mjs * @Date: 2025-12-19T20:14:21-08:00 (1766204061) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/scripts/test-version-files.mjs b/scripts/test-version-files.mjs index dec6540..4496aa9 100644 --- a/scripts/test-version-files.mjs +++ b/scripts/test-version-files.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /scripts/test-version-files.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/bit-utils.mjs b/src/lib/bit-utils.mjs index d9c3fb0..9f767e4 100644 --- a/src/lib/bit-utils.mjs +++ b/src/lib/bit-utils.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/bit-utils.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/constants.mjs b/src/lib/constants.mjs index 0ef641e..f11a7c0 100644 --- a/src/lib/constants.mjs +++ b/src/lib/constants.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/constants.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/entropy-sources.mjs b/src/lib/entropy-sources.mjs index 2e54ca0..7a541f0 100644 --- a/src/lib/entropy-sources.mjs +++ b/src/lib/entropy-sources.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/entropy-sources.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/issuer-registry.mjs b/src/lib/issuer-registry.mjs index 0fe7923..19a64ed 100644 --- a/src/lib/issuer-registry.mjs +++ b/src/lib/issuer-registry.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/issuer-registry.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:43 -08:00 (1772687023) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/validators.mjs b/src/lib/validators.mjs index 935e313..92d2bec 100644 --- a/src/lib/validators.mjs +++ b/src/lib/validators.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/validators.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/index.mjs b/src/lib/versions/index.mjs index b14469d..5812d3c 100644 --- a/src/lib/versions/index.mjs +++ b/src/lib/versions/index.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/index.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/issuer/index.mjs b/src/lib/versions/issuer/index.mjs index ad2a938..f1b7eeb 100644 --- a/src/lib/versions/issuer/index.mjs +++ b/src/lib/versions/issuer/index.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/issuer/index.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/issuer/v1.mjs b/src/lib/versions/issuer/v1.mjs index 23afde2..7df50b8 100644 --- a/src/lib/versions/issuer/v1.mjs +++ b/src/lib/versions/issuer/v1.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/issuer/v1.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/rfc/index.mjs b/src/lib/versions/rfc/index.mjs index e625211..6f1d451 100644 --- a/src/lib/versions/rfc/index.mjs +++ b/src/lib/versions/rfc/index.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/rfc/index.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/rfc/utils.mjs b/src/lib/versions/rfc/utils.mjs index 59d4907..df3b923 100644 --- a/src/lib/versions/rfc/utils.mjs +++ b/src/lib/versions/rfc/utils.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/rfc/utils.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/rfc/v1.mjs b/src/lib/versions/rfc/v1.mjs index 69d9f08..1403b63 100644 --- a/src/lib/versions/rfc/v1.mjs +++ b/src/lib/versions/rfc/v1.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/rfc/v1.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/rfc/v35.mjs b/src/lib/versions/rfc/v35.mjs index d9f87d9..24ad895 100644 --- a/src/lib/versions/rfc/v35.mjs +++ b/src/lib/versions/rfc/v35.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/rfc/v35.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/rfc/v4.mjs b/src/lib/versions/rfc/v4.mjs index d0cb432..f3fc63b 100644 --- a/src/lib/versions/rfc/v4.mjs +++ b/src/lib/versions/rfc/v4.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/rfc/v4.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/rfc/v6.mjs b/src/lib/versions/rfc/v6.mjs index a7dc878..6cdfd00 100644 --- a/src/lib/versions/rfc/v6.mjs +++ b/src/lib/versions/rfc/v6.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/rfc/v6.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/rfc/v7.mjs b/src/lib/versions/rfc/v7.mjs index 497e05f..0e5b099 100644 --- a/src/lib/versions/rfc/v7.mjs +++ b/src/lib/versions/rfc/v7.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/rfc/v7.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/rfc/v8.mjs b/src/lib/versions/rfc/v8.mjs index c6d288c..2be5c4b 100644 --- a/src/lib/versions/rfc/v8.mjs +++ b/src/lib/versions/rfc/v8.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/rfc/v8.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/timestamp/index.mjs b/src/lib/versions/timestamp/index.mjs index dc5b309..4c6a704 100644 --- a/src/lib/versions/timestamp/index.mjs +++ b/src/lib/versions/timestamp/index.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/timestamp/index.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/timestamp/v1.mjs b/src/lib/versions/timestamp/v1.mjs index 5fde8a9..73934f7 100644 --- a/src/lib/versions/timestamp/v1.mjs +++ b/src/lib/versions/timestamp/v1.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/timestamp/v1.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:44 -08:00 (1772687024) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/lib/versions/timestamp/v2.mjs b/src/lib/versions/timestamp/v2.mjs index 06d1c7b..40e83bd 100644 --- a/src/lib/versions/timestamp/v2.mjs +++ b/src/lib/versions/timestamp/v2.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/lib/versions/timestamp/v2.mjs * @Date: 2025-12-30T17:00:08-08:00 (1767142808) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:45 -08:00 (1772687025) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/src/uuid.mjs b/src/uuid.mjs index b4168fa..370c4d2 100644 --- a/src/uuid.mjs +++ b/src/uuid.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /src/uuid.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:45 -08:00 (1772687025) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tests/DevCheck.test.vitest.mjs b/tests/DevCheck.test.vitest.mjs index 3b00ebc..de4dfea 100644 --- a/tests/DevCheck.test.vitest.mjs +++ b/tests/DevCheck.test.vitest.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tests/DevCheck.test.vitest.mjs * @Date: 2026-08-08T00:00:00-08:00 (1786233600) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-08-08T00:00:00-08:00 (1786233600) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tests/bit-utils.test.vitest.mjs b/tests/bit-utils.test.vitest.mjs index d0bdacd..153ed1c 100644 --- a/tests/bit-utils.test.vitest.mjs +++ b/tests/bit-utils.test.vitest.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tests/bit-utils.test.vitest.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:04:02 -08:00 (1772687042) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tests/collision.test.vitest.mjs b/tests/collision.test.vitest.mjs index fb93945..76a04ad 100644 --- a/tests/collision.test.vitest.mjs +++ b/tests/collision.test.vitest.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tests/collision.test.vitest.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:04:03 -08:00 (1772687043) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tests/custom-uuid.test.vitest.mjs b/tests/custom-uuid.test.vitest.mjs index 219f104..a10bad9 100644 --- a/tests/custom-uuid.test.vitest.mjs +++ b/tests/custom-uuid.test.vitest.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tests/custom-uuid.test.vitest.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:04:03 -08:00 (1772687043) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tests/default-string-behavior.test.vitest.mjs b/tests/default-string-behavior.test.vitest.mjs index 69cba03..6606946 100644 --- a/tests/default-string-behavior.test.vitest.mjs +++ b/tests/default-string-behavior.test.vitest.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tests/default-string-behavior.test.vitest.mjs * @Date: 2025-12-22T16:59:18-08:00 (1766451558) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:04:03 -08:00 (1772687043) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tests/entropy-sources.test.vitest.mjs b/tests/entropy-sources.test.vitest.mjs index f12acf7..1865a2e 100644 --- a/tests/entropy-sources.test.vitest.mjs +++ b/tests/entropy-sources.test.vitest.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tests/entropy-sources.test.vitest.mjs * @Date: 2026-03-04 20:28:46 -08:00 (1772684926) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:04:03 -08:00 (1772687043) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tests/integration.test.vitest.mjs b/tests/integration.test.vitest.mjs index 16de65f..bf780f0 100644 --- a/tests/integration.test.vitest.mjs +++ b/tests/integration.test.vitest.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tests/integration.test.vitest.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:04:03 -08:00 (1772687043) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tests/issuer-registry.test.vitest.mjs b/tests/issuer-registry.test.vitest.mjs index ebbc029..b9da985 100644 --- a/tests/issuer-registry.test.vitest.mjs +++ b/tests/issuer-registry.test.vitest.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tests/issuer-registry.test.vitest.mjs * @Date: 2026-03-04 20:29:09 -08:00 (1772684949) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:04:03 -08:00 (1772687043) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tests/rfc-uuids.test.vitest.mjs b/tests/rfc-uuids.test.vitest.mjs index 462297b..2573a78 100644 --- a/tests/rfc-uuids.test.vitest.mjs +++ b/tests/rfc-uuids.test.vitest.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tests/rfc-uuids.test.vitest.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:04:03 -08:00 (1772687043) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tests/run-vitest.mjs b/tests/run-vitest.mjs index cae553a..e251db2 100644 --- a/tests/run-vitest.mjs +++ b/tests/run-vitest.mjs @@ -1,3 +1,16 @@ +/** + * @Project: @cldmv/uuid + * @Filename: /tests/run-vitest.mjs + * @Date: 2026-08-02T23:29:33-07:00 (1785738573) + * @Author: Shinrai + * @Email: + * ----- + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + */ + /** * @fileoverview OOM-safe Vitest runner for uuid — delegates to @cldmv/vitest-runner, * which spawns each test file in its own child process and (under coverage) uses a diff --git a/tests/ultra-short-variants.test.vitest.mjs b/tests/ultra-short-variants.test.vitest.mjs index cac9361..94e9695 100644 --- a/tests/ultra-short-variants.test.vitest.mjs +++ b/tests/ultra-short-variants.test.vitest.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tests/ultra-short-variants.test.vitest.mjs * @Date: 2025-12-19T20:14:21-08:00 (1766204061) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:04:03 -08:00 (1772687043) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tests/uuid-coverage.test.vitest.mjs b/tests/uuid-coverage.test.vitest.mjs index 8d679fe..7730cc7 100644 --- a/tests/uuid-coverage.test.vitest.mjs +++ b/tests/uuid-coverage.test.vitest.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tests/uuid-coverage.test.vitest.mjs * @Date: 2026-03-04 20:33:19 -08:00 (1772685199) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:04:03 -08:00 (1772687043) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tests/validators.test.vitest.mjs b/tests/validators.test.vitest.mjs index 93e85de..4906b40 100644 --- a/tests/validators.test.vitest.mjs +++ b/tests/validators.test.vitest.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tests/validators.test.vitest.mjs * @Date: 2025-12-15T20:33:49-08:00 (1765859629) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:04:03 -08:00 (1772687043) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ diff --git a/tools/fix-headers.mjs b/tools/fix-headers.mjs index f4776e8..252c4e0 100644 --- a/tools/fix-headers.mjs +++ b/tools/fix-headers.mjs @@ -85,7 +85,7 @@ function buildOptions(parsed) { return { cwd: projectRoot, dryRun: parsed.dryRun, - projectName: "@cldmv/slothlet", + projectName: "@cldmv/uuid", company: "CLDMV", companyName: "Catalyzed Motivation Inc.", copyrightStartYear: 2013, diff --git a/tools/lib/header-config.mjs b/tools/lib/header-config.mjs index 586ab48..443f66a 100644 --- a/tools/lib/header-config.mjs +++ b/tools/lib/header-config.mjs @@ -1,12 +1,12 @@ /** - * @Project: @cldmv/slothlet + * @Project: @cldmv/uuid * @Filename: /tools/lib/header-config.mjs * @Date: 2026-03-04 20:50:54 -08:00 (1772686254) * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:03:46 -08:00 (1772687026) + * @Last modified by: Shinrai (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-08-08 17:13:20 -07:00 (1786234400) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ From 5805b4cec09af73b097d928c0c3601eb1328b5d6 Mon Sep 17 00:00:00 2001 From: Shinrai Date: Sat, 8 Aug 2026 17:53:23 -0700 Subject: [PATCH 7/8] fix(headers): remove duplicate header in tsconfig.dts.jsonc The repo-wide fix:headers run added a second header block to .configs/tsconfig.dts.jsonc: the file's pre-existing header used a legacy single-star `/* ... */` block, which @cldmv/fix-headers does not recognize as its managed header (it manages the JSDoc `/** ... */` form), so it added a new `/** */` block on top instead of updating in place. Removed the legacy `/* */` block, leaving a single recognized `/** */` header. Verified fix:headers is now idempotent on the file (dry-run reports 0 updates). Addresses the suppressed Copilot comment on PR #10. --- .configs/tsconfig.dts.jsonc | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.configs/tsconfig.dts.jsonc b/.configs/tsconfig.dts.jsonc index ddf7436..85acbdf 100644 --- a/.configs/tsconfig.dts.jsonc +++ b/.configs/tsconfig.dts.jsonc @@ -11,19 +11,6 @@ * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. */ -/* - * @Project: @cldmv/uuid - * @Filename: /.configs/tsconfig.dts.jsonc - * @Date: 2026-03-04 20:21:33 -08:00 (1772684493) - * @Author: Nate Corcoran - * @Email: - * ----- - * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-03-04 21:19:45 -08:00 (1772687985) - * ----- - * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. - */ - { "compilerOptions": { "allowJs": true, From ff953045825d8623c8eefca03ed86ad4961cd879 Mon Sep 17 00:00:00 2001 From: "cldmv-bot[bot]" <230771808+cldmv-bot[bot]@users.noreply.github.com> Date: Sun, 9 Aug 2026 03:12:12 +0000 Subject: [PATCH 8/8] chore: bump version to 1.1.5 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index d769a41..015d89c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@cldmv/uuid", - "version": "1.1.4", + "version": "1.1.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cldmv/uuid", - "version": "1.1.4", + "version": "1.1.5", "license": "Apache-2.0", "devDependencies": { "@cldmv/fix-headers": "^1.2.2", diff --git a/package.json b/package.json index e98f112..fdaf5b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cldmv/uuid", - "version": "1.1.4", + "version": "1.1.5", "description": "Extended RFC 4122 and RFC 9562 UUID implementation with custom variant structures, issuer-based identification, and timestamp variants", "main": "./index.cjs", "module": "./index.mjs",