diff --git a/.configs/eslint.config.mjs b/.configs/eslint.config.mjs index 9f0bf17..e06c4ec 100644 --- a/.configs/eslint.config.mjs +++ b/.configs/eslint.config.mjs @@ -1,14 +1,16 @@ /** + * * @Project: @cldmv/jsonv * @Filename: /.configs/eslint.config.mjs - * @Date: 2026-01-14 17:26:54 -08:00 (1768440414) - * @Author: Nate Hyson + * @Date: 2026-01-14T17:26:54-08:00 (1768440414) + * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Hyson (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-01-14 17:35:11 -08:00 (1768440911) + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:09-07:00 (1790968809) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * */ import js from "@eslint/js"; diff --git a/.configs/eslint.config.v9.mjs b/.configs/eslint.config.v9.mjs index be6b79e..0fb2bb0 100644 --- a/.configs/eslint.config.v9.mjs +++ b/.configs/eslint.config.v9.mjs @@ -1,13 +1,16 @@ /** + * * @Project: @cldmv/jsonv * @Filename: /.configs/eslint.config.v9.mjs - * @Date: 2026-01-16 (ESLint 9.39+ config) - * @Author: Nate Hyson + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran * @Email: * ----- - * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:09-07:00 (1790968809) * ----- - * ESLint 9.39+ flat config - successor to eslint.config.mjs + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * */ import js from "@eslint/js"; diff --git a/.configs/fix-headers.json b/.configs/fix-headers.json new file mode 100644 index 0000000..f5dd35f --- /dev/null +++ b/.configs/fix-headers.json @@ -0,0 +1,3 @@ +{ + "extends": "@cldmv/configs/fix-headers.json" +} diff --git a/.configs/tsconfig.dts.jsonc b/.configs/tsconfig.dts.jsonc index dd89cfe..370aba0 100644 --- a/.configs/tsconfig.dts.jsonc +++ b/.configs/tsconfig.dts.jsonc @@ -1,14 +1,16 @@ -/* - * @Project: @cldmv/jsonv - * @Filename: /.configs/tsconfig.dts.jsonc - * @Date: 2026-01-14 17:26:33 -08:00 (1768440393) - * @Author: Nate Hyson - * @Email: - * ----- - * @Last modified by: Nate Hyson (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-01-14 17:26:33 -08:00 (1768440393) - * ----- - * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +/** + * + * @Project: @cldmv/jsonv + * @Filename: /.configs/tsconfig.dts.jsonc + * @Date: 2026-01-14T17:26:33-08:00 (1768440393) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:09-07:00 (1790968809) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * */ { diff --git a/.configs/vitest.config.mjs b/.configs/vitest.config.mjs index f4deecc..7f383cf 100644 --- a/.configs/vitest.config.mjs +++ b/.configs/vitest.config.mjs @@ -1,14 +1,16 @@ /** + * * @Project: @cldmv/jsonv * @Filename: /.configs/vitest.config.mjs - * @Date: 2026-01-14 - * @Author: Nate Hyson + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran * @Email: * ----- - * @Last modified by: Nate Hyson (Shinrai@users.noreply.github.com) - * @Last modified time: 2026-01-14 + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:10-07:00 (1790968810) * ----- * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * */ import { defineConfig } from "vitest/config"; diff --git a/.github/dependabot.yml b/.github/dependabot.yml index aba655f..bcdde77 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/dependabot.yml -# @Date: 2026-05-26 00:00:00 -07:00 (1782460800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/dependabot.yml +# @Date: 2026-05-26T00:00:00-07:00 (1779778800) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:10-07:00 (1790968810) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/dependabot.yml diff --git a/.github/workflows/branch-retention.yml b/.github/workflows/branch-retention.yml index 857df34..2b9734e 100644 --- a/.github/workflows/branch-retention.yml +++ b/.github/workflows/branch-retention.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/branch-retention.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/branch-retention.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:10-07:00 (1790968810) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/branch-retention.yml diff --git a/.github/workflows/bundle-size.yml b/.github/workflows/bundle-size.yml index c39f929..d59aa4f 100644 --- a/.github/workflows/bundle-size.yml +++ b/.github/workflows/bundle-size.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/bundle-size.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/bundle-size.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:11-07:00 (1790968811) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/bundle-size.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4fdaa21..6162a31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/ci.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/ci.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:11-07:00 (1790968811) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/ci.yml @@ -298,7 +302,21 @@ jobs: # automatically — no `pull_request` round-trip needed for non-fork # non-release PRs. required-check: - name: ✅ Required PR Check + # The name is conditional on purpose. On an in-repo feature PR the + # `pull_request` run skips this job (the push run owns the status), and + # a skipped job still posts a check run under its name. GitHub treats a + # SKIPPED required check as satisfied — so if the skipped job were named + # `✅ Required PR Check`, it would green-light the ruleset (and enable + # auto-merge) while the push run's real mirror hadn't been created yet + # (it only appears once `ci` finishes), letting a PR merge mid-test or + # even override a red result. An expression name keeps the skipped job + # off the required name: GitHub does not evaluate the name of a skipped + # job, so it shows up as the raw expression text (still not the + # required name), while every path that runs evaluates to + # `✅ Required PR Check`. The condition is written out anyway so the + # name stays correct if GitHub ever starts evaluating it, and must stay + # identical to the `if:` below. + name: ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == true || github.event.pull_request.head.ref == 'next' || github.event.pull_request.head.ref == 'hotfixes') && '✅ Required PR Check' || '⏭️ Required PR Check (reported by the push run)' }} needs: ci # Mirror the `ci` job's gating exactly. The four cases that run: # 1. push events (job needs CI run) @@ -306,8 +324,8 @@ jobs: # 3. release PRs from `next` → master/main (push covers SHA but commit-gate skips chore-bump) # 4. release PRs from `hotfixes` → master/main (same reason) # In-repo feature PRs targeting `next` / `hotfixes` skip on - # pull_request — push on the head branch already posted the status - # on the SHA, and mirroring here would overwrite it. + # pull_request — the push run on the head branch reports the status + # on the SHA. See the `name:` above for why the skipped job is renamed. if: | always() && ( github.event_name != 'pull_request' || diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 723a39c..6989472 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/cla.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/cla.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:11-07:00 (1790968811) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/cla.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ab54e84..a367ae4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/codeql.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/codeql.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:12-07:00 (1790968812) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/codeql.yml diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 8e0fe86..21c2a32 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/dependabot-auto-merge.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/dependabot-auto-merge.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:12-07:00 (1790968812) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/dependabot-auto-merge.yml diff --git a/.github/workflows/dependabot-recreate.yml b/.github/workflows/dependabot-recreate.yml index 2e594d8..f28d515 100644 --- a/.github/workflows/dependabot-recreate.yml +++ b/.github/workflows/dependabot-recreate.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/dependabot-recreate.yml -# @Date: 2026-07-31 00:00:00 -07:00 (1785481200) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/dependabot-recreate.yml +# @Date: 2026-07-31T00:00:00-07:00 (1785481200) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:12-07:00 (1790968812) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/dependabot-recreate.yml diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index f16f4dc..a391c48 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/dependency-review.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/dependency-review.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:12-07:00 (1790968812) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/dependency-review.yml diff --git a/.github/workflows/feature-pr.yml b/.github/workflows/feature-pr.yml index dabfac1..d448f1e 100644 --- a/.github/workflows/feature-pr.yml +++ b/.github/workflows/feature-pr.yml @@ -1,9 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/feature-pr.yml -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/feature-pr.yml +# @Date: 2026-07-30T16:58:29-07:00 (1785455909) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:12-07:00 (1790968812) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/feature-pr.yml diff --git a/.github/workflows/hotfix-redirector.yml b/.github/workflows/hotfix-redirector.yml index 8eae4ad..69be86b 100644 --- a/.github/workflows/hotfix-redirector.yml +++ b/.github/workflows/hotfix-redirector.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/hotfix-redirector.yml -# @Date: 2026-05-22 00:00:00 -07:00 (1779778800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/hotfix-redirector.yml +# @Date: 2026-05-22T00:00:00-07:00 (1779433200) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:12-07:00 (1790968812) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/hotfix-redirector.yml diff --git a/.github/workflows/hotfixes-release.yml b/.github/workflows/hotfixes-release.yml index f6d43d7..fcf9894 100644 --- a/.github/workflows/hotfixes-release.yml +++ b/.github/workflows/hotfixes-release.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/hotfixes-release.yml -# @Date: 2026-05-22 00:00:00 -07:00 (1779778800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/hotfixes-release.yml +# @Date: 2026-05-22T00:00:00-07:00 (1779433200) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:13-07:00 (1790968813) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/hotfixes-release.yml diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 494cc41..fc592ab 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/labeler.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/labeler.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:13-07:00 (1790968813) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/labeler.yml diff --git a/.github/workflows/master-commit-audit.yml b/.github/workflows/master-commit-audit.yml index 13074f9..ee9e59e 100644 --- a/.github/workflows/master-commit-audit.yml +++ b/.github/workflows/master-commit-audit.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/master-commit-audit.yml -# @Date: 2026-05-31 00:00:00 -07:00 (1780210800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/master-commit-audit.yml +# @Date: 2026-05-31T00:00:00-07:00 (1780210800) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:13-07:00 (1790968813) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/master-commit-audit.yml diff --git a/.github/workflows/member-auto-merge.yml b/.github/workflows/member-auto-merge.yml index 91ec069..e57aa72 100644 --- a/.github/workflows/member-auto-merge.yml +++ b/.github/workflows/member-auto-merge.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/member-auto-merge.yml -# @Date: 2026-05-28 00:00:00 -07:00 (1780210800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/member-auto-merge.yml +# @Date: 2026-05-28T00:00:00-07:00 (1779951600) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:13-07:00 (1790968813) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/member-auto-merge.yml diff --git a/.github/workflows/next-release.yml b/.github/workflows/next-release.yml index fe0db0b..29071b3 100644 --- a/.github/workflows/next-release.yml +++ b/.github/workflows/next-release.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/next-release.yml -# @Date: 2026-05-22 00:00:00 -07:00 (1779778800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/next-release.yml +# @Date: 2026-05-22T00:00:00-07:00 (1779433200) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:14-07:00 (1790968814) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/next-release.yml diff --git a/.github/workflows/next-reset.yml b/.github/workflows/next-reset.yml index 67f5f06..5a07e72 100644 --- a/.github/workflows/next-reset.yml +++ b/.github/workflows/next-reset.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/next-reset.yml -# @Date: 2026-05-22 00:00:00 -07:00 (1779778800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/next-reset.yml +# @Date: 2026-05-22T00:00:00-07:00 (1779433200) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:14-07:00 (1790968814) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/next-reset.yml diff --git a/.github/workflows/pr-notify.yml b/.github/workflows/pr-notify.yml index 08a9361..0fd4df6 100644 --- a/.github/workflows/pr-notify.yml +++ b/.github/workflows/pr-notify.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/pr-notify.yml -# @Date: 2026-05-26 00:00:00 -07:00 (1780124400) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/pr-notify.yml +# @Date: 2026-05-26T00:00:00-07:00 (1779778800) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:14-07:00 (1790968814) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/pr-notify.yml diff --git a/.github/workflows/pr-title-normalizer.yml b/.github/workflows/pr-title-normalizer.yml index 1341370..f28fe5e 100644 --- a/.github/workflows/pr-title-normalizer.yml +++ b/.github/workflows/pr-title-normalizer.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/pr-title-normalizer.yml -# @Date: 2026-05-22 00:00:00 -07:00 (1779778800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/pr-title-normalizer.yml +# @Date: 2026-05-22T00:00:00-07:00 (1779433200) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:14-07:00 (1790968814) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/pr-title-normalizer.yml diff --git a/.github/workflows/provenance.yml b/.github/workflows/provenance.yml index 080a8fb..542158b 100644 --- a/.github/workflows/provenance.yml +++ b/.github/workflows/provenance.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/provenance.yml -# @Date: 2026-09-05 00:00:00 -07:00 (1788591600) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/provenance.yml +# @Date: 2026-09-05T00:00:00-07:00 (1788591600) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:14-07:00 (1790968814) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # SLSA build provenance (.intoto.jsonl) for this repo's published releases. diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4c573d1..2ed7b49 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/publish.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/publish.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:15-07:00 (1790968815) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/publish.yml diff --git a/.github/workflows/release-merge.yml b/.github/workflows/release-merge.yml index 627c78a..f00de5f 100644 --- a/.github/workflows/release-merge.yml +++ b/.github/workflows/release-merge.yml @@ -1,9 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/release-merge.yml -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/release-merge.yml +# @Date: 2026-09-28T02:57:41+00:00 (1790564261) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:15-07:00 (1790968815) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/release-merge.yml diff --git a/.github/workflows/release-notify.yml b/.github/workflows/release-notify.yml index 0abb3e0..0da76f0 100644 --- a/.github/workflows/release-notify.yml +++ b/.github/workflows/release-notify.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/release-notify.yml -# @Date: 2026-05-26 00:00:00 -07:00 (1780124400) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/release-notify.yml +# @Date: 2026-05-26T00:00:00-07:00 (1779778800) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:15-07:00 (1790968815) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/release-notify.yml diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 2b2d2ba..b53c183 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/scorecard.yml -# @Date: 2026-05-31 00:00:00 -07:00 (1780210800) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/scorecard.yml +# @Date: 2026-05-31T00:00:00-07:00 (1780210800) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:15-07:00 (1790968815) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/scorecard.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e3626ab..2d560e2 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/stale.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/stale.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:16-07:00 (1790968816) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/stale.yml diff --git a/.github/workflows/tag-health.yml b/.github/workflows/tag-health.yml index ad176b4..c85971d 100644 --- a/.github/workflows/tag-health.yml +++ b/.github/workflows/tag-health.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/tag-health.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/tag-health.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:17-07:00 (1790968817) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/tag-health.yml diff --git a/.github/workflows/update-major-version-tags.yml b/.github/workflows/update-major-version-tags.yml index a00f60c..b383f2e 100644 --- a/.github/workflows/update-major-version-tags.yml +++ b/.github/workflows/update-major-version-tags.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/update-major-version-tags.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/update-major-version-tags.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:17-07:00 (1790968817) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/update-major-version-tags.yml diff --git a/.github/workflows/v4-bootstrap.yml b/.github/workflows/v4-bootstrap.yml index ef08bbe..470c2cb 100644 --- a/.github/workflows/v4-bootstrap.yml +++ b/.github/workflows/v4-bootstrap.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/v4-bootstrap.yml -# @Date: 2026-05-26 00:00:00 -07:00 (1780124400) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/v4-bootstrap.yml +# @Date: 2026-05-26T00:00:00-07:00 (1779778800) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:17-07:00 (1790968817) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/v4-bootstrap.yml diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index 09b0ab7..84bbe9b 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -1,10 +1,14 @@ # -# @Project: @cldmv/jsonv -# @Filename: /.github/workflows/welcome.yml -# @Date: 2026-05-20 00:00:00 -07:00 (1779606000) -# @Author: Nate Corcoran -# @Email: -# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. +# @Project: @cldmv/jsonv +# @Filename: /.github/workflows/welcome.yml +# @Date: 2026-05-20T00:00:00-07:00 (1779260400) +# @Author: Nate Corcoran +# @Email: +# ----- +# @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) +# @Last modified time: 2026-10-02T12:20:18-07:00 (1790968818) +# ----- +# @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. # # Individual repo: .github/workflows/welcome.yml diff --git a/package-lock.json b/package-lock.json index 4617d6e..aa87693 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,17 @@ { "name": "@cldmv/jsonv", - "version": "1.1.1", + "version": "1.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cldmv/jsonv", - "version": "1.1.1", + "version": "1.1.2", "license": "Apache-2.0", "devDependencies": { + "@cldmv/configs": "^1.2.0", "@cldmv/eslint-plugin-jsonv": "^1.0.3", + "@cldmv/fix-headers": "^2.1.1", "@cldmv/vitest-runner": "^1.4.3", "@eslint/css": "^2.0.0", "@eslint/js": "^10.0.1", @@ -118,6 +120,17 @@ "keyv": "^5.6.0" } }, + "node_modules/@cldmv/configs": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@cldmv/configs/-/configs-1.2.0.tgz", + "integrity": "sha512-FDmlxOx6ceKuD5zTamUy9XOfAC4opeOaLxWqZz9okKxj8TsTZP6dN7W0VccRYRdw4606NvXjhdZqOPibcNpXmQ==", + "dev": true, + "license": "Apache-2.0", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/shinrai" + } + }, "node_modules/@cldmv/eslint-plugin-jsonv": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/@cldmv/eslint-plugin-jsonv/-/eslint-plugin-jsonv-1.0.10.tgz", @@ -135,6 +148,36 @@ "@cldmv/jsonv": "^1.0.2" } }, + "node_modules/@cldmv/fix-headers": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@cldmv/fix-headers/-/fix-headers-2.1.1.tgz", + "integrity": "sha512-08xW44RvtrKUCTOjUFKHyrDvx6rT70zGqgRR+tdW0R9ElZrHwSg25xCRrZD+U7Dmj5fK9KmtuOWPjZtJYSfzYA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "ignore": "^7.0.5" + }, + "bin": { + "fix-headers": "bin/fix-headers.mjs" + }, + "engines": { + "node": ">=22.12.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/shinrai" + } + }, + "node_modules/@cldmv/fix-headers/node_modules/ignore": { + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.12.tgz", + "integrity": "sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, "node_modules/@cldmv/jsonv": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@cldmv/jsonv/-/jsonv-1.0.2.tgz", @@ -1091,9 +1134,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.2.tgz", - "integrity": "sha512-X1P21scMv4zGKLYqjdGjaKa7COa0RKVYYZZN/NfvLQ1JegxFhdhpZG/Lyn8AXx6CDUavKAd11v6BvfpkDByK8g==", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.3.tgz", + "integrity": "sha512-dsqMQQoeTLqu9wynDD00q573mNzso3IdQOAfHRJqLCcmCFPoGo9A1bDpUcv/9tnKpErQWv9uKeGfl37EIS02Yg==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 0d65d23..0ace1ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cldmv/jsonv", - "version": "1.1.1", + "version": "1.1.2", "description": "Modern JSON parser extending JSON5 with ES2015-2025 features, year-based API", "type": "module", "main": "./dist/cjs/index.cjs", @@ -65,7 +65,8 @@ "lint:v8": "set ESLINT_USE_FLAT_CONFIG=true&& eslint --config .configs/eslint.config.mjs src tests", "format": "prettier --config .configs/.prettierrc --write \"src/**/*.{mts,cts,ts}\" \"tests/**/*.{mjs,ts}\"", "format:check": "prettier --config .configs/.prettierrc --check \"src/**/*.{mts,cts,ts}\" \"tests/**/*.{mjs,ts}\"", - "dev": "NODE_OPTIONS='--conditions=json-dev' node" + "dev": "NODE_OPTIONS='--conditions=json-dev' node", + "fix:headers": "fix-headers --config .configs/fix-headers.json" }, "keywords": [ "json", @@ -117,7 +118,9 @@ "dist/" ], "devDependencies": { + "@cldmv/configs": "^1.2.0", "@cldmv/eslint-plugin-jsonv": "^1.0.3", + "@cldmv/fix-headers": "^2.1.1", "@cldmv/vitest-runner": "^1.4.3", "@eslint/css": "^2.0.0", "@eslint/js": "^10.0.1", diff --git a/scripts/build-cjs.mjs b/scripts/build-cjs.mjs index 570ae35..8627c7c 100644 --- a/scripts/build-cjs.mjs +++ b/scripts/build-cjs.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /scripts/build-cjs.mjs + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:18-07:00 (1790968818) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Build CJS wrappers for CommonJS compatibility * Creates .cjs files that load the ESM modules diff --git a/scripts/build-plugin.mjs b/scripts/build-plugin.mjs index af56165..05a9bf3 100644 --- a/scripts/build-plugin.mjs +++ b/scripts/build-plugin.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /scripts/build-plugin.mjs + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:19-07:00 (1790968819) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Build script for eslint-plugin-jsonv * Copies built @cldmv/jsonv package to plugin's node_modules diff --git a/scripts/generate-years.mjs b/scripts/generate-years.mjs index 618a5e7..9618e9a 100644 --- a/scripts/generate-years.mjs +++ b/scripts/generate-years.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /scripts/generate-years.mjs + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:19-07:00 (1790968819) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Generate year forwarding files directly in dist/ * Runs after TypeScript compilation diff --git a/scripts/remove-src-ci.mjs b/scripts/remove-src-ci.mjs index a94caa6..6653e31 100644 --- a/scripts/remove-src-ci.mjs +++ b/scripts/remove-src-ci.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /scripts/remove-src-ci.mjs + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:19-07:00 (1790968819) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Remove src/ folder in CI environments only * diff --git a/tests/additional-coverage.test.vitest.mjs b/tests/additional-coverage.test.vitest.mjs index af997d8..59a7d27 100644 --- a/tests/additional-coverage.test.vitest.mjs +++ b/tests/additional-coverage.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/additional-coverage.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:19-07:00 (1790968819) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Additional coverage tests to reach 100% coverage for all files * Targets specific uncovered lines in parser, lexer, diagnose, and stringify diff --git a/tests/api.test.vitest.mjs b/tests/api.test.vitest.mjs index 1a383b2..e699cf0 100644 --- a/tests/api.test.vitest.mjs +++ b/tests/api.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/api.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:19-07:00 (1790968819) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * End-user API tests for @cldmv/jsonv * Tests how users would actually use the library diff --git a/tests/bigint-validation.test.vitest.mjs b/tests/bigint-validation.test.vitest.mjs index 50c4021..1697f21 100644 --- a/tests/bigint-validation.test.vitest.mjs +++ b/tests/bigint-validation.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/bigint-validation.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:19-07:00 (1790968819) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Test BigInt validation for unsafe integers */ diff --git a/tests/coverage-gaps.test.vitest.mjs b/tests/coverage-gaps.test.vitest.mjs index 5b823e5..875ba13 100644 --- a/tests/coverage-gaps.test.vitest.mjs +++ b/tests/coverage-gaps.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/coverage-gaps.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:20-07:00 (1790968820) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Coverage Gap Tests * diff --git a/tests/diagnose.test.vitest.mjs b/tests/diagnose.test.vitest.mjs index ad71da5..235e464 100644 --- a/tests/diagnose.test.vitest.mjs +++ b/tests/diagnose.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/diagnose.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:20-07:00 (1790968820) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for diagnose() and info() methods * Phase 6: Feature detection and diagnostics diff --git a/tests/edge-cases-coverage.test.vitest.mjs b/tests/edge-cases-coverage.test.vitest.mjs index 3274439..8ebaf8b 100644 --- a/tests/edge-cases-coverage.test.vitest.mjs +++ b/tests/edge-cases-coverage.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/edge-cases-coverage.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:20-07:00 (1790968820) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Edge case tests to improve coverage * Targets uncovered error paths and edge cases in lexer, parser, and stringify diff --git a/tests/fixtures.test.vitest.mjs b/tests/fixtures.test.vitest.mjs index 37260d3..55362e3 100644 --- a/tests/fixtures.test.vitest.mjs +++ b/tests/fixtures.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:33-07:00 (1790968833) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Test runner for jsonv fixture files * Loads .jsonv files from fixtures/ directory and validates them diff --git a/tests/fixtures/2011/features/comments-multi-line.jsonv b/tests/fixtures/2011/features/comments-multi-line.jsonv index b1e81f5..dac8d8f 100644 --- a/tests/fixtures/2011/features/comments-multi-line.jsonv +++ b/tests/fixtures/2011/features/comments-multi-line.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/features/comments-multi-line.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:20-07:00 (1790968820) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /* * Test file for multi-line comments (JSON5/ES2011 feature) * This file demonstrates multi-line comment blocks throughout a configuration diff --git a/tests/fixtures/2011/features/comments-single-line.jsonv b/tests/fixtures/2011/features/comments-single-line.jsonv index 965f467..5a7d0b4 100644 --- a/tests/fixtures/2011/features/comments-single-line.jsonv +++ b/tests/fixtures/2011/features/comments-single-line.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/features/comments-single-line.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:20-07:00 (1790968820) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for single-line comments (JSON5/ES2011 feature) // This file demonstrates single-line comments throughout a configuration structure // with realistic config bloat to meet 100-200 line requirement diff --git a/tests/fixtures/2011/features/decimal-points.jsonv b/tests/fixtures/2011/features/decimal-points.jsonv index 74b8aea..55a7b26 100644 --- a/tests/fixtures/2011/features/decimal-points.jsonv +++ b/tests/fixtures/2011/features/decimal-points.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/features/decimal-points.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:21-07:00 (1790968821) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for decimal point variations (JSON5/ES2011 feature) // Demonstrates leading/trailing decimal points and explicit positive sign // Includes realistic numerical configuration data diff --git a/tests/fixtures/2011/features/forward-reference.jsonv b/tests/fixtures/2011/features/forward-reference.jsonv index 4370355..876afb9 100644 --- a/tests/fixtures/2011/features/forward-reference.jsonv +++ b/tests/fixtures/2011/features/forward-reference.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/features/forward-reference.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:21-07:00 (1790968821) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: reference before definition { a: b, diff --git a/tests/fixtures/2011/features/hex-literals.jsonv b/tests/fixtures/2011/features/hex-literals.jsonv index 557abe7..745f825 100644 --- a/tests/fixtures/2011/features/hex-literals.jsonv +++ b/tests/fixtures/2011/features/hex-literals.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/features/hex-literals.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:21-07:00 (1790968821) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for hexadecimal literals (JSON5/ES2011 feature) // Demonstrates hex numbers throughout configuration: colors, flags, addresses, masks // Includes realistic bloat with various hex use cases diff --git a/tests/fixtures/2011/features/infinity-nan.jsonv b/tests/fixtures/2011/features/infinity-nan.jsonv index 692b3ce..8a4dd44 100644 --- a/tests/fixtures/2011/features/infinity-nan.jsonv +++ b/tests/fixtures/2011/features/infinity-nan.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/features/infinity-nan.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:21-07:00 (1790968821) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for Infinity, -Infinity, and NaN (JSON5/ES2011 feature) // Demonstrates special numeric values in realistic configurations // Includes timeout configs, limits, error states, and boundary conditions diff --git a/tests/fixtures/2011/features/internal-refs-bare.jsonv b/tests/fixtures/2011/features/internal-refs-bare.jsonv index 70aaf20..b01c2a1 100644 --- a/tests/fixtures/2011/features/internal-refs-bare.jsonv +++ b/tests/fixtures/2011/features/internal-refs-bare.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/features/internal-refs-bare.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:22-07:00 (1790968822) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for internal references using bare identifiers (jsonv extension - ES2011) // Demonstrates property value references within the same file // Includes realistic server configuration with port/host references diff --git a/tests/fixtures/2011/features/multiline-strings.jsonv b/tests/fixtures/2011/features/multiline-strings.jsonv index abf4c04..d333411 100644 --- a/tests/fixtures/2011/features/multiline-strings.jsonv +++ b/tests/fixtures/2011/features/multiline-strings.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/features/multiline-strings.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:22-07:00 (1790968822) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for multi-line strings with backslash continuation (JSON5/ES2011 feature) // Demonstrates multi-line string content: SQL queries, HTML templates, documentation // Includes realistic bloat with various multi-line string use cases diff --git a/tests/fixtures/2011/features/single-quoted-strings.jsonv b/tests/fixtures/2011/features/single-quoted-strings.jsonv index 00a843d..0303b53 100644 --- a/tests/fixtures/2011/features/single-quoted-strings.jsonv +++ b/tests/fixtures/2011/features/single-quoted-strings.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/features/single-quoted-strings.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:22-07:00 (1790968822) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for single-quoted strings (JSON5/ES2011 feature) // Demonstrates single quotes throughout configuration including paths, SQL, and messages // Includes realistic bloat with various string content diff --git a/tests/fixtures/2011/features/trailing-commas.jsonv b/tests/fixtures/2011/features/trailing-commas.jsonv index 1e1909c..ad3dcf0 100644 --- a/tests/fixtures/2011/features/trailing-commas.jsonv +++ b/tests/fixtures/2011/features/trailing-commas.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/features/trailing-commas.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:22-07:00 (1790968822) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for trailing commas (JSON5/ES2011 feature) // Demonstrates trailing commas in objects and arrays throughout the structure // Includes realistic e-commerce product catalog bloat diff --git a/tests/fixtures/2011/features/unquoted-keys.jsonv b/tests/fixtures/2011/features/unquoted-keys.jsonv index 8f650fb..ac5b0fb 100644 --- a/tests/fixtures/2011/features/unquoted-keys.jsonv +++ b/tests/fixtures/2011/features/unquoted-keys.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/features/unquoted-keys.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:22-07:00 (1790968822) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for unquoted object keys (JSON5/ES2011 feature) // Demonstrates various identifier forms as unquoted keys // Includes realistic configuration with bloat diff --git a/tests/fixtures/2011/json5-complete.jsonv b/tests/fixtures/2011/json5-complete.jsonv index ea2bad0..2f9a4df 100644 --- a/tests/fixtures/2011/json5-complete.jsonv +++ b/tests/fixtures/2011/json5-complete.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/json5-complete.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:23-07:00 (1790968823) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // ES2011/JSON5 Comprehensive Test File // This file demonstrates ALL JSON5/ES2011 features in a single configuration // Minimum 200-300 lines with realistic bloat diff --git a/tests/fixtures/2011/violations/circular-reference.jsonv b/tests/fixtures/2011/violations/circular-reference.jsonv index 972e2ef..43b1673 100644 --- a/tests/fixtures/2011/violations/circular-reference.jsonv +++ b/tests/fixtures/2011/violations/circular-reference.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/violations/circular-reference.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:23-07:00 (1790968823) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: circular reference { a: b, diff --git a/tests/fixtures/2011/violations/invalid-hex.jsonv b/tests/fixtures/2011/violations/invalid-hex.jsonv index a4b415e..dd85377 100644 --- a/tests/fixtures/2011/violations/invalid-hex.jsonv +++ b/tests/fixtures/2011/violations/invalid-hex.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/violations/invalid-hex.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:24-07:00 (1790968824) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: invalid hex literal (missing digits) { value: 0x diff --git a/tests/fixtures/2011/violations/unterminated-comment.jsonv b/tests/fixtures/2011/violations/unterminated-comment.jsonv index e4b8a1e..fee364b 100644 --- a/tests/fixtures/2011/violations/unterminated-comment.jsonv +++ b/tests/fixtures/2011/violations/unterminated-comment.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/violations/unterminated-comment.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:24-07:00 (1790968824) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: unterminated multi-line comment { /* This comment is never closed diff --git a/tests/fixtures/2011/violations/whitespace-in-number.jsonv b/tests/fixtures/2011/violations/whitespace-in-number.jsonv index 04ba076..17cf977 100644 --- a/tests/fixtures/2011/violations/whitespace-in-number.jsonv +++ b/tests/fixtures/2011/violations/whitespace-in-number.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2011/violations/whitespace-in-number.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:24-07:00 (1790968824) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: whitespace inside numeric token { value: 1 234 diff --git a/tests/fixtures/2015/es2015-complete.jsonv b/tests/fixtures/2015/es2015-complete.jsonv index 7898a52..f7080d3 100644 --- a/tests/fixtures/2015/es2015-complete.jsonv +++ b/tests/fixtures/2015/es2015-complete.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2015/es2015-complete.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:24-07:00 (1790968824) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // ES2015 Comprehensive Test File // Demonstrates ALL ES2015 features + JSON5 base in a single configuration // Minimum 200-300 lines with realistic bloat diff --git a/tests/fixtures/2015/features/binary-literals.jsonv b/tests/fixtures/2015/features/binary-literals.jsonv index 9b59b58..4abc4cc 100644 --- a/tests/fixtures/2015/features/binary-literals.jsonv +++ b/tests/fixtures/2015/features/binary-literals.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2015/features/binary-literals.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:25-07:00 (1790968825) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for binary literals (ES2015 feature) // Demonstrates 0b prefix binary numbers throughout configuration // Includes realistic bloat: bit flags, permissions, network masks, RGB values diff --git a/tests/fixtures/2015/features/octal-literals.jsonv b/tests/fixtures/2015/features/octal-literals.jsonv index 0ef0cd9..17c23f7 100644 --- a/tests/fixtures/2015/features/octal-literals.jsonv +++ b/tests/fixtures/2015/features/octal-literals.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2015/features/octal-literals.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:25-07:00 (1790968825) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for octal literals (ES2015 feature) // Demonstrates both 0o (new) and 0 (old) octal syntax // Includes realistic bloat: file permissions, chmod values, umask settings diff --git a/tests/fixtures/2015/features/template-interpolation.jsonv b/tests/fixtures/2015/features/template-interpolation.jsonv index 6e1ff77..735091e 100644 --- a/tests/fixtures/2015/features/template-interpolation.jsonv +++ b/tests/fixtures/2015/features/template-interpolation.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2015/features/template-interpolation.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:25-07:00 (1790968825) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for template interpolation with internal references (jsonv extension - ES2015) // Demonstrates ${...} interpolation using internal references only // Includes realistic bloat: URLs, connection strings, paths constructed from base values diff --git a/tests/fixtures/2015/features/template-literals.jsonv b/tests/fixtures/2015/features/template-literals.jsonv index 420950c..af03bdd 100644 --- a/tests/fixtures/2015/features/template-literals.jsonv +++ b/tests/fixtures/2015/features/template-literals.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2015/features/template-literals.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:25-07:00 (1790968825) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for template literals (ES2015 feature) // Demonstrates backtick strings as multi-line string literals (no interpolation) // Includes realistic bloat: SQL queries, HTML templates, code snippets, documentation diff --git a/tests/fixtures/2015/violations/arrow-function.jsonv b/tests/fixtures/2015/violations/arrow-function.jsonv index c0d84e8..3bb7e3f 100644 --- a/tests/fixtures/2015/violations/arrow-function.jsonv +++ b/tests/fixtures/2015/violations/arrow-function.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2015/violations/arrow-function.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:26-07:00 (1790968826) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: arrow function (executable code not allowed) { handler: () => console.log('hello') diff --git a/tests/fixtures/2015/violations/computed-property.jsonv b/tests/fixtures/2015/violations/computed-property.jsonv index 261bba2..c31e1c4 100644 --- a/tests/fixtures/2015/violations/computed-property.jsonv +++ b/tests/fixtures/2015/violations/computed-property.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2015/violations/computed-property.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:26-07:00 (1790968826) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: computed property name (requires runtime evaluation) { key: 'dynamicKey', diff --git a/tests/fixtures/2015/violations/shorthand-property.jsonv b/tests/fixtures/2015/violations/shorthand-property.jsonv index 2ff4125..548cc8b 100644 --- a/tests/fixtures/2015/violations/shorthand-property.jsonv +++ b/tests/fixtures/2015/violations/shorthand-property.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2015/violations/shorthand-property.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:26-07:00 (1790968826) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: shorthand property (ES2015 but requires runtime context) { port: 8080, diff --git a/tests/fixtures/2015/violations/tagged-template.jsonv b/tests/fixtures/2015/violations/tagged-template.jsonv index f229f9f..01c1c5b 100644 --- a/tests/fixtures/2015/violations/tagged-template.jsonv +++ b/tests/fixtures/2015/violations/tagged-template.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2015/violations/tagged-template.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:26-07:00 (1790968826) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: tagged template literal (function execution) { value: myTag`template string` diff --git a/tests/fixtures/2020/es2020-complete.jsonv b/tests/fixtures/2020/es2020-complete.jsonv index 9f10933..1ed0290 100644 --- a/tests/fixtures/2020/es2020-complete.jsonv +++ b/tests/fixtures/2020/es2020-complete.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2020/es2020-complete.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:27-07:00 (1790968827) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // ES2020 Comprehensive Test File // Demonstrates ALL ES2020 features (BigInt) + ES2015 + JSON5 base // Minimum 200-300 lines with realistic bloat diff --git a/tests/fixtures/2020/features/bigint-binary.jsonv b/tests/fixtures/2020/features/bigint-binary.jsonv index 6d35ba0..5d627af 100644 --- a/tests/fixtures/2020/features/bigint-binary.jsonv +++ b/tests/fixtures/2020/features/bigint-binary.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2020/features/bigint-binary.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:27-07:00 (1790968827) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for BigInt with binary literals (ES2020 feature) // Demonstrates BigInt + binary (0b) syntax // Includes realistic bloat: large bit patterns, permissions, masks diff --git a/tests/fixtures/2020/features/bigint-hex.jsonv b/tests/fixtures/2020/features/bigint-hex.jsonv index 4c0a761..dd789c2 100644 --- a/tests/fixtures/2020/features/bigint-hex.jsonv +++ b/tests/fixtures/2020/features/bigint-hex.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2020/features/bigint-hex.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:27-07:00 (1790968827) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for BigInt with hexadecimal literals (ES2020 feature) // Demonstrates BigInt + hex (0x) syntax // Includes realistic bloat: large hex values for hashes, addresses, UUIDs diff --git a/tests/fixtures/2020/features/bigint-literals.jsonv b/tests/fixtures/2020/features/bigint-literals.jsonv index 522da6e..dc5f4ea 100644 --- a/tests/fixtures/2020/features/bigint-literals.jsonv +++ b/tests/fixtures/2020/features/bigint-literals.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2020/features/bigint-literals.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:28-07:00 (1790968828) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for BigInt literals (ES2020 feature) // Demonstrates BigInt with 'n' suffix in decimal form // Includes realistic bloat: large IDs, timestamps, financial values, crypto diff --git a/tests/fixtures/2020/features/bigint-octal.jsonv b/tests/fixtures/2020/features/bigint-octal.jsonv index 1570837..6cc4063 100644 --- a/tests/fixtures/2020/features/bigint-octal.jsonv +++ b/tests/fixtures/2020/features/bigint-octal.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2020/features/bigint-octal.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:28-07:00 (1790968828) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Test file for BigInt with octal literals (ES2020 feature) // Demonstrates BigInt + octal (0o and 0) syntax // Includes realistic bloat: large file permissions, modes, Unix values diff --git a/tests/fixtures/2020/violations/bigint-space-before-suffix.jsonv b/tests/fixtures/2020/violations/bigint-space-before-suffix.jsonv index 22a19ff..6cc33b3 100644 --- a/tests/fixtures/2020/violations/bigint-space-before-suffix.jsonv +++ b/tests/fixtures/2020/violations/bigint-space-before-suffix.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2020/violations/bigint-space-before-suffix.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:28-07:00 (1790968828) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: space between number and 'n' suffix { value: 123 n diff --git a/tests/fixtures/2020/violations/missing-bigint-suffix.jsonv b/tests/fixtures/2020/violations/missing-bigint-suffix.jsonv index 4b8a41b..843c95c 100644 --- a/tests/fixtures/2020/violations/missing-bigint-suffix.jsonv +++ b/tests/fixtures/2020/violations/missing-bigint-suffix.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2020/violations/missing-bigint-suffix.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:29-07:00 (1790968829) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: BigInt without 'n' suffix (just a large number) { // This should fail if parser enforces BigInt for numbers > MAX_SAFE_INTEGER diff --git a/tests/fixtures/2021/es2021-complete.jsonv b/tests/fixtures/2021/es2021-complete.jsonv index 30b19f3..772f5a9 100644 --- a/tests/fixtures/2021/es2021-complete.jsonv +++ b/tests/fixtures/2021/es2021-complete.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2021/es2021-complete.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:30-07:00 (1790968830) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // ES2021 Comprehensive Test File // Demonstrates ALL ES2021 features (numeric separators) + ES2020 + ES2015 + JSON5 // Minimum 200-300 lines with realistic bloat diff --git a/tests/fixtures/2021/violations/double-separator.jsonv b/tests/fixtures/2021/violations/double-separator.jsonv index fdea6a8..7330c7b 100644 --- a/tests/fixtures/2021/violations/double-separator.jsonv +++ b/tests/fixtures/2021/violations/double-separator.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2021/violations/double-separator.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:30-07:00 (1790968830) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: double underscore separator { value: 1__000 diff --git a/tests/fixtures/2021/violations/separator-after-prefix.jsonv b/tests/fixtures/2021/violations/separator-after-prefix.jsonv index 57c1357..9418570 100644 --- a/tests/fixtures/2021/violations/separator-after-prefix.jsonv +++ b/tests/fixtures/2021/violations/separator-after-prefix.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2021/violations/separator-after-prefix.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:30-07:00 (1790968830) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: separator adjacent to prefix { hex: 0x_FFFF, diff --git a/tests/fixtures/2021/violations/separator-at-end.jsonv b/tests/fixtures/2021/violations/separator-at-end.jsonv index 30e37e8..490722e 100644 --- a/tests/fixtures/2021/violations/separator-at-end.jsonv +++ b/tests/fixtures/2021/violations/separator-at-end.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2021/violations/separator-at-end.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:31-07:00 (1790968831) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: separator at end of number { value: 1000_ diff --git a/tests/fixtures/2021/violations/separator-at-start.jsonv b/tests/fixtures/2021/violations/separator-at-start.jsonv index 9c31747..46c6645 100644 --- a/tests/fixtures/2021/violations/separator-at-start.jsonv +++ b/tests/fixtures/2021/violations/separator-at-start.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2021/violations/separator-at-start.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:32-07:00 (1790968832) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // Invalid: separator at start of number { value: _1000 diff --git a/tests/fixtures/2022/es2022-complete.jsonv b/tests/fixtures/2022/es2022-complete.jsonv index d058e2b..8f855b5 100644 --- a/tests/fixtures/2022/es2022-complete.jsonv +++ b/tests/fixtures/2022/es2022-complete.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2022/es2022-complete.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:32-07:00 (1790968832) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // ES2022 Comprehensive Test File // ES2022 adds no new jsonv literal syntax, inherits all ES2021 features // Demonstrates: Numeric separators + BigInt + ES2015 + JSON5 diff --git a/tests/fixtures/2023/es2023-complete.jsonv b/tests/fixtures/2023/es2023-complete.jsonv index f679f29..8881e0b 100644 --- a/tests/fixtures/2023/es2023-complete.jsonv +++ b/tests/fixtures/2023/es2023-complete.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2023/es2023-complete.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:32-07:00 (1790968832) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // ES2023 Comprehensive Test File // ES2023 adds no new jsonv literal syntax, inherits all ES2021 features // Demonstrates: Numeric separators + BigInt + ES2015 + JSON5 diff --git a/tests/fixtures/2024/es2024-complete.jsonv b/tests/fixtures/2024/es2024-complete.jsonv index 58d1b2c..d0c21e3 100644 --- a/tests/fixtures/2024/es2024-complete.jsonv +++ b/tests/fixtures/2024/es2024-complete.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2024/es2024-complete.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:33-07:00 (1790968833) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // ES2024 Comprehensive Test File // ES2024 adds no new jsonv literal syntax, inherits all ES2021 features // Demonstrates: Numeric separators + BigInt + ES2015 + JSON5 diff --git a/tests/fixtures/2025/es2025-complete.jsonv b/tests/fixtures/2025/es2025-complete.jsonv index 8bfb427..a741205 100644 --- a/tests/fixtures/2025/es2025-complete.jsonv +++ b/tests/fixtures/2025/es2025-complete.jsonv @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/fixtures/2025/es2025-complete.jsonv + * @Date: 2026-01-18T21:20:36-08:00 (1768800036) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:33-07:00 (1790968833) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + // ES2025 Comprehensive Test File // ES2025 adds no new jsonv literal syntax, inherits all ES2021 features // Demonstrates: Numeric separators + BigInt + ES2015 + JSON5 diff --git a/tests/interpolation-braces.test.vitest.mjs b/tests/interpolation-braces.test.vitest.mjs index d81a660..a05fecb 100644 --- a/tests/interpolation-braces.test.vitest.mjs +++ b/tests/interpolation-braces.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/interpolation-braces.test.vitest.mjs + * @Date: 2026-09-28T19:25:58+00:00 (1790623558) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:34-07:00 (1790968834) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for GitHub issue #50: only the } that balances a template's `${` ends * the interpolation, and object/array literals inside `${}` are rejected with diff --git a/tests/json5-spec-compliance.test.vitest.mjs b/tests/json5-spec-compliance.test.vitest.mjs index 48f9c8f..a2c9798 100644 --- a/tests/json5-spec-compliance.test.vitest.mjs +++ b/tests/json5-spec-compliance.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/json5-spec-compliance.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:34-07:00 (1790968834) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Comprehensive JSON5 spec compliance tests * Based on https://spec.json5.org/ diff --git a/tests/lexer-edge-cases.test.vitest.mjs b/tests/lexer-edge-cases.test.vitest.mjs index 2e0da00..20004c8 100644 --- a/tests/lexer-edge-cases.test.vitest.mjs +++ b/tests/lexer-edge-cases.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/lexer-edge-cases.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:34-07:00 (1790968834) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Lexer edge case tests - targeting remaining uncovered lines */ diff --git a/tests/lexer.test.vitest.mjs b/tests/lexer.test.vitest.mjs index fcfe306..de3be6d 100644 --- a/tests/lexer.test.vitest.mjs +++ b/tests/lexer.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/lexer.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:34-07:00 (1790968834) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Unit tests for @cldmv/jsonv Lexer */ diff --git a/tests/nested-template.test.vitest.mjs b/tests/nested-template.test.vitest.mjs index 58b8359..7dc1b89 100644 --- a/tests/nested-template.test.vitest.mjs +++ b/tests/nested-template.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/nested-template.test.vitest.mjs + * @Date: 2026-09-28T19:25:58+00:00 (1790623558) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:34-07:00 (1790968834) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for GitHub issue #49: a template literal nested inside another * template's interpolation must evaluate like any other interpolated diff --git a/tests/parse-error-position.test.vitest.mjs b/tests/parse-error-position.test.vitest.mjs index 9667407..dfb487d 100644 --- a/tests/parse-error-position.test.vitest.mjs +++ b/tests/parse-error-position.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/parse-error-position.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:35-07:00 (1790968835) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for GitHub issue #28: parse errors must carry structured position * information (line/column/offset) plus a dedicated, detectable error class, diff --git a/tests/parse-modes.test.vitest.mjs b/tests/parse-modes.test.vitest.mjs index ffdfe4c..de335a3 100644 --- a/tests/parse-modes.test.vitest.mjs +++ b/tests/parse-modes.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/parse-modes.test.vitest.mjs + * @Date: 2026-09-28T19:25:58+00:00 (1790623558) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:35-07:00 (1790968835) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Parse modes (issue #52): `mode: "json"` accepts exactly RFC 8259 JSON, * `mode: "json5"` accepts exactly JSON5 1.0, and `mode: "jsonv"` keeps every diff --git a/tests/parse-to-ast-lexer-errors.test.vitest.mjs b/tests/parse-to-ast-lexer-errors.test.vitest.mjs index 6e5fff5..f5da201 100644 --- a/tests/parse-to-ast-lexer-errors.test.vitest.mjs +++ b/tests/parse-to-ast-lexer-errors.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/parse-to-ast-lexer-errors.test.vitest.mjs + * @Date: 2026-09-28T19:25:58+00:00 (1790623558) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:35-07:00 (1790968835) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for GitHub issue #51: parseToAst() collects lexical errors into * `errors` (with the same shape as parse errors) instead of throwing them, diff --git a/tests/parser-ast.test.vitest.mjs b/tests/parser-ast.test.vitest.mjs index 05c9768..abf0cb4 100644 --- a/tests/parser-ast.test.vitest.mjs +++ b/tests/parser-ast.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/parser-ast.test.vitest.mjs + * @Date: 2026-09-28T03:31:40+00:00 (1790566300) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:36-07:00 (1790968836) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for GitHub issue #30: the exported Parser AST must be usable by * tooling (e.g. @cldmv/eslint-plugin-jsonv) — comments and tokens returned diff --git a/tests/parser-error-recovery.test.vitest.mjs b/tests/parser-error-recovery.test.vitest.mjs index e6b5866..1429340 100644 --- a/tests/parser-error-recovery.test.vitest.mjs +++ b/tests/parser-error-recovery.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/parser-error-recovery.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:36-07:00 (1790968836) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for specific parser error recovery and edge case paths * Targeting the remaining uncovered lines that ARE actually testable diff --git a/tests/reference-error-position.test.vitest.mjs b/tests/reference-error-position.test.vitest.mjs index 3d0280c..dafecf2 100644 --- a/tests/reference-error-position.test.vitest.mjs +++ b/tests/reference-error-position.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/reference-error-position.test.vitest.mjs + * @Date: 2026-09-28T03:31:40+00:00 (1790566300) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:36-07:00 (1790968836) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for GitHub issue #32: reference-resolution failures (unresolved and * circular internal references) must carry structured position information diff --git a/tests/reference-resolution-order.test.vitest.mjs b/tests/reference-resolution-order.test.vitest.mjs index 40d54f0..a1dbe0e 100644 --- a/tests/reference-resolution-order.test.vitest.mjs +++ b/tests/reference-resolution-order.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/reference-resolution-order.test.vitest.mjs + * @Date: 2026-09-28T19:25:58+00:00 (1790623558) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:38-07:00 (1790968838) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for GitHub issue #54: internal references are resolved in dependency * order, not in a fixed number of passes. Any acyclic reference graph resolves diff --git a/tests/remaining-coverage.test.vitest.mjs b/tests/remaining-coverage.test.vitest.mjs index c155b86..b33d03d 100644 --- a/tests/remaining-coverage.test.vitest.mjs +++ b/tests/remaining-coverage.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/remaining-coverage.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:38-07:00 (1790968838) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests targeting remaining uncovered lines in lexer, parser, and diagnose */ diff --git a/tests/run-vitest.mjs b/tests/run-vitest.mjs index ce9aae2..09b62ac 100644 --- a/tests/run-vitest.mjs +++ b/tests/run-vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/run-vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:39-07:00 (1790968839) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * @fileoverview OOM-safe Vitest runner for jsonv — delegates to * @cldmv/vitest-runner, which spawns each test file in its own child process and diff --git a/tests/strict-options.test.vitest.mjs b/tests/strict-options.test.vitest.mjs index 84674e8..b245640 100644 --- a/tests/strict-options.test.vitest.mjs +++ b/tests/strict-options.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/strict-options.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:39-07:00 (1790968839) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Comprehensive tests for strictBigInt and strictOctal options * Tests both enabled and disabled states diff --git a/tests/string-line-terminators.test.vitest.mjs b/tests/string-line-terminators.test.vitest.mjs index 2c0e652..1521f0e 100644 --- a/tests/string-line-terminators.test.vitest.mjs +++ b/tests/string-line-terminators.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/string-line-terminators.test.vitest.mjs + * @Date: 2026-09-28T19:25:58+00:00 (1790623558) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:39-07:00 (1790968839) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for GitHub issue #60: line terminators inside plain (single- and * double-quoted) strings follow ECMAScript, JSON5 and JSON. diff --git a/tests/stringify.test.vitest.mjs b/tests/stringify.test.vitest.mjs index 93daed2..9362fc2 100644 --- a/tests/stringify.test.vitest.mjs +++ b/tests/stringify.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/stringify.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:39-07:00 (1790968839) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Comprehensive stringify tests for @cldmv/jsonv * Phase 5: Stringify implementation diff --git a/tests/template-line-terminators.test.vitest.mjs b/tests/template-line-terminators.test.vitest.mjs index 5b7abe8..3c1f231 100644 --- a/tests/template-line-terminators.test.vitest.mjs +++ b/tests/template-line-terminators.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/template-line-terminators.test.vitest.mjs + * @Date: 2026-09-28T19:25:58+00:00 (1790623558) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:39-07:00 (1790968839) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for GitHub issue #56: inside a template literal, a CRLF pair or a lone CR * is one line terminator whose cooked value (TV) and raw value (TRV) are both LF, diff --git a/tests/template-token-spans.test.vitest.mjs b/tests/template-token-spans.test.vitest.mjs index 9959b4f..86fbb3d 100644 --- a/tests/template-token-spans.test.vitest.mjs +++ b/tests/template-token-spans.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/template-token-spans.test.vitest.mjs + * @Date: 2026-09-28T19:25:58+00:00 (1790623558) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:40-07:00 (1790968840) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for GitHub issue #47: the tokens returned by parseToAst() and the * TemplateLiteral quasis must tile a template's source with no gaps. The `}` diff --git a/tests/tolerant-aggregate-errors.test.vitest.mjs b/tests/tolerant-aggregate-errors.test.vitest.mjs index cba33cf..3bebf7d 100644 --- a/tests/tolerant-aggregate-errors.test.vitest.mjs +++ b/tests/tolerant-aggregate-errors.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/tolerant-aggregate-errors.test.vitest.mjs + * @Date: 2026-09-28T19:25:58+00:00 (1790623558) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:40-07:00 (1790968840) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for GitHub issue #59: a `tolerant: true` parse that collected syntax * errors throws one aggregate `JsonvSyntaxError` listing all of them in source diff --git a/tests/untested-options.test.vitest.mjs b/tests/untested-options.test.vitest.mjs index ead10ca..3f912f4 100644 --- a/tests/untested-options.test.vitest.mjs +++ b/tests/untested-options.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/untested-options.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:40-07:00 (1790968840) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for untested API options and code paths * Targeting specific uncovered lines that are actually reachable diff --git a/tests/year-modules-options.test.vitest.mjs b/tests/year-modules-options.test.vitest.mjs index 104eb9f..3153885 100644 --- a/tests/year-modules-options.test.vitest.mjs +++ b/tests/year-modules-options.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/year-modules-options.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:40-07:00 (1790968840) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for year module options (parseWithOptions / stringifyWithOptions) * Targets uncovered lines in 2015.mts, 2020.mts, 2021.mts diff --git a/tests/year-modules.test.vitest.mjs b/tests/year-modules.test.vitest.mjs index c84aaf4..d84eec5 100644 --- a/tests/year-modules.test.vitest.mjs +++ b/tests/year-modules.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/year-modules.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:40-07:00 (1790968840) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for year module APIs (2011, 2015, 2020, 2021) * Tests the exported API functions from each year module diff --git a/tests/year-validation.test.vitest.mjs b/tests/year-validation.test.vitest.mjs index 3f13e22..6b4885f 100644 --- a/tests/year-validation.test.vitest.mjs +++ b/tests/year-validation.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/year-validation.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:40-07:00 (1790968840) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Year-based feature validation tests * Tests that features are properly rejected when used in wrong year modules diff --git a/tests/years.test.vitest.mjs b/tests/years.test.vitest.mjs index c959140..7d3a1da 100644 --- a/tests/years.test.vitest.mjs +++ b/tests/years.test.vitest.mjs @@ -1,3 +1,18 @@ +/** + * + * @Project: @cldmv/jsonv + * @Filename: /tests/years.test.vitest.mjs + * @Date: 2026-09-28T02:57:41+00:00 (1790564261) + * @Author: Nate Corcoran + * @Email: + * ----- + * @Last modified by: Nate Corcoran (Shinrai@users.noreply.github.com) + * @Last modified time: 2026-10-02T12:20:41-07:00 (1790968841) + * ----- + * @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved. + * + */ + /** * Tests for year-based modules and year resolution * Phase 6: Year modules with backwards resolution