From 6654790f76ecccf6e183e1bd4c5a166e3abcc0e4 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sun, 26 Jul 2026 11:06:07 -0400 Subject: [PATCH 1/4] chore: upgrade to jsonc-parser 0.33 --- Cargo.lock | 4 ++-- rs_lib/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 343b6f6..92b3fd7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -54,9 +54,9 @@ dependencies = [ [[package]] name = "jsonc-parser" -version = "0.32.4" +version = "0.33.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "840785e1a8b4fdb27be18440a35a81af64820dc185c3973ff8b012d4c6282512" +checksum = "a0560e3f9a9a03ea6b6e90b41138c5db9e21526c99eb192c1a26c68176593285" dependencies = [ "indexmap", "serde", diff --git a/rs_lib/Cargo.toml b/rs_lib/Cargo.toml index 2375faa..1cc0b90 100644 --- a/rs_lib/Cargo.toml +++ b/rs_lib/Cargo.toml @@ -7,7 +7,7 @@ edition = "2024" crate-type = ["cdylib"] [dependencies] -jsonc-parser = { version = "0.32.4", features = ["cst", "serde", "serde_json", "preserve_order", "error_unicode_width"] } +jsonc-parser = { version = "0.33.1", features = ["cst", "serde", "serde_json", "preserve_order", "error_unicode_width"] } wasm-bindgen = "=0.2.106" js-sys = "0.3" serde = "1.0" From a89e27e2b85f1ca792bae735c4ce2a0236a773fd Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sun, 26 Jul 2026 11:13:35 -0400 Subject: [PATCH 2/4] update --- .github/workflows/ci.yml | 6 +++--- deno.json | 1 + deno.lock | 12 ++++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab9e04e..13bd98d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,12 +19,12 @@ jobs: timeout-minutes: 30 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - uses: denoland/setup-deno@v2 with: deno-version: canary - - uses: actions/setup-node@v6 + - uses: actions/setup-node@v7 with: node-version: "24.x" registry-url: "https://registry.npmjs.org" @@ -50,7 +50,7 @@ jobs: run: deno task build:npm ${{steps.get_tag_version.outputs.TAG_VERSION}} - name: jsr publish - run: deno run -A jsr:@david/publish-on-tag@0.2.0 + run: deno run -A @david/publish-on-tag - name: npm publish if: startsWith(github.ref, 'refs/tags/') run: | diff --git a/deno.json b/deno.json index 363b95a..9c6b78b 100644 --- a/deno.json +++ b/deno.json @@ -21,6 +21,7 @@ "build": "deno run -A jsr:@deno/wasmbuild@0.21.0 --inline && deno run -A scripts/fix_types.ts" }, "imports": { + "@david/publish-on-tag": "jsr:@david/publish-on-tag@^0.2.0", "@deno/dnt": "jsr:@deno/dnt@^0.42.3", "@std/assert": "jsr:@std/assert@^1.0.15" }, diff --git a/deno.lock b/deno.lock index 087cacf..0b4b6db 100644 --- a/deno.lock +++ b/deno.lock @@ -2,6 +2,7 @@ "version": "5", "specifiers": { "jsr:@david/code-block-writer@^13.0.3": "13.0.3", + "jsr:@david/publish-on-tag@0.2": "0.2.0", "jsr:@deno/dnt@~0.42.3": "0.42.3", "jsr:@std/assert@*": "1.0.14", "jsr:@std/assert@^1.0.15": "1.0.15", @@ -12,6 +13,7 @@ "jsr:@std/internal@^1.0.9": "1.0.12", "jsr:@std/path@1": "1.1.2", "jsr:@std/path@^1.1.1": "1.1.2", + "jsr:@std/semver@1": "1.0.8", "jsr:@ts-morph/bootstrap@0.27": "0.27.0", "jsr:@ts-morph/common@0.27": "0.27.0" }, @@ -19,6 +21,12 @@ "@david/code-block-writer@13.0.3": { "integrity": "f98c77d320f5957899a61bfb7a9bead7c6d83ad1515daee92dbacc861e13bb7f" }, + "@david/publish-on-tag@0.2.0": { + "integrity": "6a4abcc352141e46e705041ca73836176d64cebc1080b6d915de630df9853dea", + "dependencies": [ + "jsr:@std/semver" + ] + }, "@deno/dnt@0.42.3": { "integrity": "62a917a0492f3c8af002dce90605bb0d41f7d29debc06aca40dba72ab65d8ae3", "dependencies": [ @@ -63,6 +71,9 @@ "jsr:@std/internal@^1.0.10" ] }, + "@std/semver@1.0.8": { + "integrity": "dc830e8b8b6a380c895d53fbfd1258dc253704ca57bbe1629ac65fd7830179b7" + }, "@ts-morph/bootstrap@0.27.0": { "integrity": "b8d7bc8f7942ce853dde4161b28f9aa96769cef3d8eebafb379a81800b9e2448", "dependencies": [ @@ -79,6 +90,7 @@ }, "workspace": { "dependencies": [ + "jsr:@david/publish-on-tag@0.2", "jsr:@deno/dnt@~0.42.3", "jsr:@std/assert@^1.0.15" ] From 2286f263261af2018618fdb5c991df01c64c8bf1 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sun, 26 Jul 2026 11:17:00 -0400 Subject: [PATCH 3/4] update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 560ade8..f77c698 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# `jsr:@david/jsonc-morph` / `npm:jsonc-morph` +# jsonc-morph [![JSR](https://jsr.io/badges/@david/jsonc-morph)](https://jsr.io/@david/jsonc-morph) [![npm version](https://badge.fury.io/js/jsonc-morph.svg)](https://badge.fury.io/js/jsonc-morph) From fd5ef345362d75d4055c1f932e8d8e5fe33b8740 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sun, 26 Jul 2026 11:46:08 -0400 Subject: [PATCH 4/4] update --- deno.json | 3 ++- deno.lock | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 55 insertions(+), 4 deletions(-) diff --git a/deno.json b/deno.json index 9c6b78b..bbfe779 100644 --- a/deno.json +++ b/deno.json @@ -18,11 +18,12 @@ }, "tasks": { "build:npm": "deno run -A scripts/build_npm.ts", - "build": "deno run -A jsr:@deno/wasmbuild@0.21.0 --inline && deno run -A scripts/fix_types.ts" + "build": "deno run -A @deno/wasmbuild --inline && deno run -A scripts/fix_types.ts" }, "imports": { "@david/publish-on-tag": "jsr:@david/publish-on-tag@^0.2.0", "@deno/dnt": "jsr:@deno/dnt@^0.42.3", + "@deno/wasmbuild": "jsr:@deno/wasmbuild@0.21.0", "@std/assert": "jsr:@std/assert@^1.0.15" }, "exclude": [ diff --git a/deno.lock b/deno.lock index 0b4b6db..a7e839c 100644 --- a/deno.lock +++ b/deno.lock @@ -2,18 +2,27 @@ "version": "5", "specifiers": { "jsr:@david/code-block-writer@^13.0.3": "13.0.3", + "jsr:@david/path@0.2": "0.2.0", "jsr:@david/publish-on-tag@0.2": "0.2.0", + "jsr:@david/temp@~0.1.1": "0.1.1", "jsr:@deno/dnt@~0.42.3": "0.42.3", + "jsr:@deno/wasmbuild@0.21.0": "0.21.0", "jsr:@std/assert@*": "1.0.14", "jsr:@std/assert@^1.0.15": "1.0.15", + "jsr:@std/cli@^1.0.11": "1.0.32", + "jsr:@std/encoding@^1.0.6": "1.0.11", "jsr:@std/fmt@1": "1.0.8", + "jsr:@std/fmt@^1.0.4": "1.0.8", "jsr:@std/fs@1": "1.0.19", + "jsr:@std/fs@^1.0.10": "1.0.19", "jsr:@std/internal@^1.0.10": "1.0.12", "jsr:@std/internal@^1.0.12": "1.0.12", "jsr:@std/internal@^1.0.9": "1.0.12", "jsr:@std/path@1": "1.1.2", "jsr:@std/path@^1.1.1": "1.1.2", "jsr:@std/semver@1": "1.0.8", + "jsr:@std/streams@^1.0.17": "1.1.1", + "jsr:@std/tar@~0.1.4": "0.1.10", "jsr:@ts-morph/bootstrap@0.27": "0.27.0", "jsr:@ts-morph/common@0.27": "0.27.0" }, @@ -21,22 +30,47 @@ "@david/code-block-writer@13.0.3": { "integrity": "f98c77d320f5957899a61bfb7a9bead7c6d83ad1515daee92dbacc861e13bb7f" }, + "@david/path@0.2.0": { + "integrity": "f2d7aa7f02ce5a55e27c09f9f1381794acb09d328f8d3c8a2e3ab3ffc294dccd", + "dependencies": [ + "jsr:@std/fs@1", + "jsr:@std/path@1" + ] + }, "@david/publish-on-tag@0.2.0": { "integrity": "6a4abcc352141e46e705041ca73836176d64cebc1080b6d915de630df9853dea", "dependencies": [ "jsr:@std/semver" ] }, + "@david/temp@0.1.1": { + "integrity": "3974e3aa76536bd831294b72f5b70bfb67af3f4119ae334360e321f6ded18840", + "dependencies": [ + "jsr:@david/path" + ] + }, "@deno/dnt@0.42.3": { "integrity": "62a917a0492f3c8af002dce90605bb0d41f7d29debc06aca40dba72ab65d8ae3", "dependencies": [ "jsr:@david/code-block-writer", - "jsr:@std/fmt", - "jsr:@std/fs", + "jsr:@std/fmt@1", + "jsr:@std/fs@1", "jsr:@std/path@1", "jsr:@ts-morph/bootstrap" ] }, + "@deno/wasmbuild@0.21.0": { + "integrity": "c31641c6bd1de27bb23e1cc7969d73331b3798711c5f23ce5841a4cf1c996265", + "dependencies": [ + "jsr:@david/path", + "jsr:@david/temp", + "jsr:@std/cli", + "jsr:@std/encoding", + "jsr:@std/fmt@^1.0.4", + "jsr:@std/fs@^1.0.10", + "jsr:@std/tar" + ] + }, "@std/assert@1.0.14": { "integrity": "68d0d4a43b365abc927f45a9b85c639ea18a9fab96ad92281e493e4ed84abaa4", "dependencies": [ @@ -49,6 +83,12 @@ "jsr:@std/internal@^1.0.12" ] }, + "@std/cli@1.0.32": { + "integrity": "188b3a100d6202d64e3f5bd3d799c7fa4f6d77f92cc65eb7f641c1fa0aa92a66" + }, + "@std/encoding@1.0.11": { + "integrity": "e7cef2f0b3153bccc17431e7c864a1de03a4b6d9647389c43e08aaa775d37385" + }, "@std/fmt@1.0.8": { "integrity": "71e1fc498787e4434d213647a6e43e794af4fd393ef8f52062246e06f7e372b7" }, @@ -74,6 +114,15 @@ "@std/semver@1.0.8": { "integrity": "dc830e8b8b6a380c895d53fbfd1258dc253704ca57bbe1629ac65fd7830179b7" }, + "@std/streams@1.1.1": { + "integrity": "92556d350e537e9dce527a6d08f6f15be3ff65e656079dea69d15252187c7613" + }, + "@std/tar@0.1.10": { + "integrity": "6bf907f3a4bc8bfef42973ba132d946756a6161ef6b914a9e1c06debe664db17", + "dependencies": [ + "jsr:@std/streams" + ] + }, "@ts-morph/bootstrap@0.27.0": { "integrity": "b8d7bc8f7942ce853dde4161b28f9aa96769cef3d8eebafb379a81800b9e2448", "dependencies": [ @@ -83,7 +132,7 @@ "@ts-morph/common@0.27.0": { "integrity": "c7b73592d78ce8479b356fd4f3d6ec3c460d77753a8680ff196effea7a939052", "dependencies": [ - "jsr:@std/fs", + "jsr:@std/fs@1", "jsr:@std/path@1" ] } @@ -92,6 +141,7 @@ "dependencies": [ "jsr:@david/publish-on-tag@0.2", "jsr:@deno/dnt@~0.42.3", + "jsr:@deno/wasmbuild@0.21.0", "jsr:@std/assert@^1.0.15" ] }