Skip to content

build(deps-dev): bump sh-syntax from 0.7.0 to 0.8.6 - #552

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps sh-syntax from 0.7.0 to 0.8.6.

Release notes

Sourced from sh-syntax's releases.

v0.8.6

Patch Changes

  • #180 8c770b7 Thanks @​JounQin! - Expose stable error classes and codes. ParseError now extends ShSyntaxError/SyntaxError and reports name: "ParseError"; InputError extends TypeError; other syntax failures use ShSyntaxError with one of SH_SYNTAX_LANGUAGE, SH_SYNTAX_PRINT, or SH_SYNTAX_SPLIT_BRACES.

v0.8.5

Patch Changes

  • #176 889d042 Thanks @​JounQin! - Use a generated binary wire for AST transport, removing the JSON parser and encoding/json from the WASM path.

  • #173 ac1cbee Thanks @​JounQin! - print(ast) now prints the current syntax tree, including edits made to its fields, instead of requiring originalText.

  • #178 910c9a3 Thanks @​JounQin! - print(node) now prints printable syntax subtrees: files, statements, commands, words, word parts, and assigns. File output keeps its trailing newline; subtree output does not.

  • #179 fec2d3f Thanks @​JounQin! - Add splitBraces(word) returning { word, changed } to split brace expressions into BraceExp parts for analysis. changed is true when mvdan processed brace syntax, even if no BraceExp remains. The returned word keeps its original source span. Split literals lack source positions, while composite BraceExp bounds may be derived from retained children and serialized. The printer cannot render BraceExp; such trees are rejected explicitly.

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

... (truncated)

Changelog

Sourced from sh-syntax's changelog.

0.8.6

Patch Changes

  • #180 8c770b7 Thanks @​JounQin! - Expose stable error classes and codes. ParseError now extends ShSyntaxError/SyntaxError and reports name: "ParseError"; InputError extends TypeError; other syntax failures use ShSyntaxError with one of SH_SYNTAX_LANGUAGE, SH_SYNTAX_PRINT, or SH_SYNTAX_SPLIT_BRACES.

0.8.5

Patch Changes

  • #176 889d042 Thanks @​JounQin! - Use a generated binary wire for AST transport, removing the JSON parser and encoding/json from the WASM path.

  • #173 ac1cbee Thanks @​JounQin! - print(ast) now prints the current syntax tree, including edits made to its fields, instead of requiring originalText.

  • #178 910c9a3 Thanks @​JounQin! - print(node) now prints printable syntax subtrees: files, statements, commands, words, word parts, and assigns. File output keeps its trailing newline; subtree output does not.

  • #179 fec2d3f Thanks @​JounQin! - Add splitBraces(word) returning { word, changed } to split brace expressions into BraceExp parts for analysis. changed is true when mvdan processed brace syntax, even if no BraceExp remains. The returned word keeps its original source span. Split literals lack source positions, while composite BraceExp bounds may be derived from retained children and serialized. The printer cannot render BraceExp; such trees are rejected explicitly.

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

... (truncated)

Commits

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

codecov Bot commented Nov 17, 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 (d6bf733).
⚠️ Report is 58 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #552   +/-   ##
=========================================
  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 769ae0a...d6bf733. Read the comment docs.

Bumps [sh-syntax](https://github.com/un-ts/sh-syntax) from 0.7.0 to 0.8.6.
- [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.6)

---
updated-dependencies:
- dependency-name: sh-syntax
  dependency-version: 0.8.6
  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.6 branch from b70387f to d6bf733 Compare November 17, 2026 12:20
@dependabot @github

dependabot Bot commented on behalf of github Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #555.

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

Pull request was closed

@github-project-automation github-project-automation Bot moved this from 🆕 New to 🥶 Icebox in @flex-development/mark-parser Nov 18, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/sh-syntax-0.8.6 branch November 18, 2026 12:15
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