Skip to content

build(deps-dev): bump sh-syntax from 0.7.0 to 0.8.4 - #550

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/sh-syntax-0.8.4
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/sh-syntax-0.8.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Bumps sh-syntax from 0.7.0 to 0.8.4.

Release notes

Sourced from sh-syntax's releases.

v0.8.4

Patch Changes

  • #163 6235123 Thanks @​JounQin! - Add init() to load the WASM runtime explicitly and cache it. The async parse and print APIs initialize automatically. init() now rejects when the Go program fails to start instead of reporting success and leaking an unhandled rejection. The browser entry now uses the same init() plus async API without top-level await.

  • #162 532ecab Thanks @​JounQin! - Add createSourceIndex, which converts the AST's UTF-8 byte offsets to UTF-16 code-unit offsets for JavaScript string slicing.

  • #167 68f9c6c Thanks @​JounQin! - Move the synchronous API to the sh-syntax/sync entry (Node and browser top-level await variants; workerd has no sync variant and fails at build/import time) and keep the root entry async-only. The old parseSync / printSync names are now parse / print from sh-syntax/sync.

  • #168 dcbe443 Thanks @​JounQin! - Surface Go startup failures from both async init() and the synchronous sh-syntax/sync processor instead of leaking an unhandled rejection.

  • #160 a3227de Thanks @​JounQin! - Add enter/exit visitors to walk: a function is the enter phase, an object may pair optional enter with required exit, and visitors receive (node, parent, prop, index). Returning false from enter skips a node's children; returning false from exit stops the walk.

  • #164 94ee1ab Thanks @​JounQin! - Add a dedicated workerd entry that imports the bundled main.wasm as a compiled module and exports the same async init / parse / print API. getProcessor now also accepts a compiled WebAssembly.Module.

v0.8.3

Patch Changes

  • #157 d326627 Thanks @​JounQin! - Keep the vendored Go runtime in bundled builds by pointing sideEffects at vendors/wasm_exec.cjs instead of the renamed vendors/wasm_exec.js.

v0.8.2

Patch Changes

  • #155 ac466ec Thanks @​JounQin! - Build WASM with standard Go instead of TinyGo. The standard Go GC removes the -gc=leaking memory growth that made long-running synchronous parsing unsafe. The binary is larger; a fresh runtime has higher startup cost, although async reuse amortizes it. wasm-opt -Oz is used to trim the final artifact. The async processor now reuses one Go runtime and serializes calls, so it no longer pays WASM instantiation cost per call. That runtime retains the Go heap high-water mark for the processor lifetime; memory stays bounded but does not shrink after a large parse. The internal process ABI changed, so main.wasm must match the package version.

v0.8.1

Patch Changes

  • #148 84a41e5 Thanks @​renovate! - Update mvdan.cc/sh/v3 to 3.14.1 and expose the new ParamExp fields globSubst, rcExpand, and split, and refresh the Go/TinyGo toolchain.

v0.8.0

Minor Changes

  • #145 8f2c8c6 Thanks @​JounQin! - Return the full shell syntax tree and keep printing source text.

    Breaking changes

    • Node.js >=18 is required.

    • The AST is no longer Go-shaped. Fields are lowerCamelCase and node positions are explicit: use node.type, start/end, and { offset, line, column } objects instead of Pos/End, Stmts,

... (truncated)

Changelog

Sourced from sh-syntax's changelog.

0.8.4

Patch Changes

  • #163 6235123 Thanks @​JounQin! - Add init() to load the WASM runtime explicitly and cache it. The async parse and print APIs initialize automatically. init() now rejects when the Go program fails to start instead of reporting success and leaking an unhandled rejection. The browser entry now uses the same init() plus async API without top-level await.

  • #162 532ecab Thanks @​JounQin! - Add createSourceIndex, which converts the AST's UTF-8 byte offsets to UTF-16 code-unit offsets for JavaScript string slicing.

  • #167 68f9c6c Thanks @​JounQin! - Move the synchronous API to the sh-syntax/sync entry (Node and browser top-level await variants; workerd has no sync variant and fails at build/import time) and keep the root entry async-only. The old parseSync / printSync names are now parse / print from sh-syntax/sync.

  • #168 dcbe443 Thanks @​JounQin! - Surface Go startup failures from both async init() and the synchronous sh-syntax/sync processor instead of leaking an unhandled rejection.

  • #160 a3227de Thanks @​JounQin! - Add enter/exit visitors to walk: a function is the enter phase, an object may pair optional enter with required exit, and visitors receive (node, parent, prop, index). Returning false from enter skips a node's children; returning false from exit stops the walk.

  • #164 94ee1ab Thanks @​JounQin! - Add a dedicated workerd entry that imports the bundled main.wasm as a compiled module and exports the same async init / parse / print API. getProcessor now also accepts a compiled WebAssembly.Module.

0.8.3

Patch Changes

  • #157 d326627 Thanks @​JounQin! - Keep the vendored Go runtime in bundled builds by pointing sideEffects at vendors/wasm_exec.cjs instead of the renamed vendors/wasm_exec.js.

0.8.2

Patch Changes

  • #155 ac466ec Thanks @​JounQin! - Build WASM with standard Go instead of TinyGo. The standard Go GC removes the -gc=leaking memory growth that made long-running synchronous parsing unsafe. The binary is larger; a fresh runtime has higher startup cost, although async reuse amortizes it. wasm-opt -Oz is used to trim the final artifact. The async processor now reuses one Go runtime and serializes calls, so it no longer pays WASM instantiation cost per call. That runtime retains the Go heap high-water mark for the processor lifetime; memory stays bounded but does not shrink after a large parse. The internal process ABI changed, so main.wasm must match the package version.

0.8.1

Patch Changes

  • #148 84a41e5 Thanks @​renovate! - Update mvdan.cc/sh/v3 to 3.14.1 and expose the new ParamExp fields globSubst, rcExpand, and split, and refresh the Go/TinyGo toolchain.

0.8.0

Minor Changes

  • #145 8f2c8c6 Thanks @​JounQin! - Return the full shell syntax tree and keep printing source text.

    Breaking changes

... (truncated)

Commits
  • 2c0c9a1 chore: release sh-syntax (#161)
  • 2ddd053 chore: pin and automate the Go version (#170)
  • 10b1990 chore(deps): update all dependencies (#169)
  • dcbe443 fix: surface Go startup failures in async and sync runtimes
  • 8bff52d docs: document formatter ownership
  • 057849a docs: lead with async API examples
  • e7dbb6f docs: note sync helpers are available from root
  • d1ea02d test: use vite tsconfig path resolution
  • 621ee8e docs: import sync helpers from sync entry
  • 0634699 docs: clarify unsupported workerd sync entry
  • Additional commits viewable in compare view

@dependabot dependabot Bot added scope:dependencies dependency updates type:build changes to the build system or external dependencies labels Nov 16, 2026
@flex-development
flex-development Bot enabled auto-merge (squash) November 16, 2026 12:23
@codecov

codecov Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (158c827) to head (eb2bef4).
⚠️ Report is 57 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #550   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines          437       437           
  Branches       114       114           
=========================================
  Hits           437       437           
Flag Coverage Δ
bun-canary 100.00% <ø> (ø)
bun-latest 100.00% <ø> (ø)
node22 100.00% <ø> (ø)
node24 100.00% <ø> (ø)
node25 100.00% <ø> (ø)
node26 100.00% <ø> (ø)
Components Coverage Δ
constructs 100.00% <ø> (ø)
internal 100.00% <ø> (ø)
utils 100.00% <ø> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 385201c...eb2bef4. Read the comment docs.

Bumps [sh-syntax](https://github.com/un-ts/sh-syntax) from 0.7.0 to 0.8.4.
- [Release notes](https://github.com/un-ts/sh-syntax/releases)
- [Changelog](https://github.com/un-ts/sh-syntax/blob/main/CHANGELOG.md)
- [Commits](un-ts/sh-syntax@v0.7.0...v0.8.4)

---
updated-dependencies:
- dependency-name: sh-syntax
  dependency-version: 0.8.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/sh-syntax-0.8.4 branch from 1074551 to eb2bef4 Compare November 16, 2026 12:28
@dependabot @github

dependabot Bot commented on behalf of github Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #552.

@dependabot dependabot Bot closed this Nov 17, 2026
auto-merge was automatically disabled November 17, 2026 12:15

Pull request was closed

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/sh-syntax-0.8.4 branch November 17, 2026 12:15
@github-project-automation github-project-automation Bot moved this from 🆕 New to 🥶 Icebox in @flex-development/mark-parser Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:dependencies dependency updates type:build changes to the build system or external dependencies

Projects

Status: 🥶 Icebox

Development

Successfully merging this pull request may close these issues.

0 participants