Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ast-grep for openSUSE:Factory checked in at 2025-04-17 16:09:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ast-grep (Old) and /work/SRC/openSUSE:Factory/.ast-grep.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ast-grep" Thu Apr 17 16:09:38 2025 rev:58 rq:1270194 version:0.37.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ast-grep/ast-grep.changes 2025-04-14 16:08:20.686674982 +0200 +++ /work/SRC/openSUSE:Factory/.ast-grep.new.30101/ast-grep.changes 2025-04-20 19:49:52.771657551 +0200 @@ -1,0 +2,9 @@ +Thu Apr 17 06:58:56 UTC 2025 - Michael Vetter <mvet...@suse.com> + +- Update to 0.37.0: + * fix: use docker image instead #1930 + * chore(deps): update dependency @ast-grep/napi to v0.36.3 3dca58c + * fix: update crate a88a073 + * perf: more efficient node ancestor calculation a1ed329 + +------------------------------------------------------------------- Old: ---- ast-grep-0.36.3.tar.zst New: ---- ast-grep-0.37.0.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ast-grep.spec ++++++ --- /var/tmp/diff_new_pack.NSBkZK/_old 2025-04-20 19:49:54.071711655 +0200 +++ /var/tmp/diff_new_pack.NSBkZK/_new 2025-04-20 19:49:54.075711821 +0200 @@ -17,7 +17,7 @@ Name: ast-grep -Version: 0.36.3 +Version: 0.37.0 Release: 0 Summary: A CLI tool for code structural search, lint and rewriting License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.NSBkZK/_old 2025-04-20 19:49:54.115713486 +0200 +++ /var/tmp/diff_new_pack.NSBkZK/_new 2025-04-20 19:49:54.119713652 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/ast-grep/ast-grep.git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="scm">git</param> - <param name="revision">0.36.3</param> + <param name="revision">0.37.0</param> <param name="match-tag">*</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> ++++++ ast-grep-0.36.3.tar.zst -> ast-grep-0.37.0.tar.zst ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/.github/workflows/napi.yml new/ast-grep-0.37.0/.github/workflows/napi.yml --- old/ast-grep-0.36.3/.github/workflows/napi.yml 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/.github/workflows/napi.yml 2025-04-15 04:56:49.000000000 +0200 @@ -43,10 +43,8 @@ target: i686-pc-windows-msvc - host: ubuntu-20.04 target: x86_64-unknown-linux-gnu - docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian build: |- set -e && - cd crates/napi && yarn build --target x86_64-unknown-linux-gnu && strip *.node && yarn test @@ -69,9 +67,12 @@ yarn build --target aarch64-unknown-linux-musl - host: ubuntu-latest target: aarch64-unknown-linux-gnu - docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64 + docker: ghcr.io/ast-grep/ast-grep/napi-aarch64-linux-gnu:latest + # tree-sitter does not build using its official docker image + # we have to roll our own and source the rustup build: |- set -e && + . "$HOME/.cargo/env" && cd crates/napi && yarn build --target aarch64-unknown-linux-gnu && aarch64-unknown-linux-gnu-strip *.node diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/.github/workflows/pyo3.yml new/ast-grep-0.37.0/.github/workflows/pyo3.yml --- old/ast-grep-0.36.3/.github/workflows/pyo3.yml 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/.github/workflows/pyo3.yml 2025-04-15 04:56:49.000000000 +0200 @@ -45,11 +45,11 @@ architecture: x64 - name: Build wheels uses: PyO3/maturin-action@v1 - env: - CFLAGS: "-std=c11" with: target: ${{ matrix.target }} - manylinux: auto + # manylinux by default uses old linux so tree-sitter does not compile + # https://github.com/woodruffw/zizmor/pull/603 + manylinux: "2_28" args: --release --out dist -i ${{env.PYTHON_VERSION}} working-directory: crates/pyo3 - name: Test sdist diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/.github/workflows/pypi.yml new/ast-grep-0.37.0/.github/workflows/pypi.yml --- old/ast-grep-0.36.3/.github/workflows/pypi.yml 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/.github/workflows/pypi.yml 2025-04-15 04:56:49.000000000 +0200 @@ -159,7 +159,9 @@ CXXFLAGS: "-std=c++11" with: target: ${{ matrix.target }} - manylinux: auto + # manylinux by default uses old linux so tree-sitter does not compile + # https://github.com/woodruffw/zizmor/pull/603 + manylinux: "2_28" args: --release --out dist - name: "Test wheel" if: ${{ startsWith(matrix.target, 'x86_64') }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/CHANGELOG.md new/ast-grep-0.37.0/CHANGELOG.md --- old/ast-grep-0.36.3/CHANGELOG.md 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/CHANGELOG.md 2025-04-15 04:56:49.000000000 +0200 @@ -4,8 +4,17 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [0.37.0](https://github.com/ast-grep/ast-grep/compare/0.36.3...0.37.0) + +- fix: use docker image instead [`#1930`](https://github.com/ast-grep/ast-grep/issues/1930) +- chore(deps): update dependency @ast-grep/napi to v0.36.3 [`3dca58c`](https://github.com/ast-grep/ast-grep/commit/3dca58c91a2de7aa3652a2487700c1da98fc3b91) +- fix: update crate [`a88a073`](https://github.com/ast-grep/ast-grep/commit/a88a073e0b388d9529e8a9424d36773e39313eee) +- perf: more efficient node ancestor calculation [`a1ed329`](https://github.com/ast-grep/ast-grep/commit/a1ed32950836ea19d4c2a03cc14ebde681872ee5) + #### [0.36.3](https://github.com/ast-grep/ast-grep/compare/0.36.2...0.36.3) +> 13 April 2025 + - fix: transformation indent [`#1405`](https://github.com/ast-grep/ast-grep/issues/1405) - feat: YAML schema validation for node and field types [`e0a5a47`](https://github.com/ast-grep/ast-grep/commit/e0a5a47f6fa4af871ed803729ac4966773c380cb) - chore(deps): update dependency @ast-grep/napi to v0.36.2 [`f291ef3`](https://github.com/ast-grep/ast-grep/commit/f291ef3746c1565d01c7b5d785cb6df43d2d52b9) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/Cargo.lock new/ast-grep-0.37.0/Cargo.lock --- old/ast-grep-0.36.3/Cargo.lock 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/Cargo.lock 2025-04-15 04:56:49.000000000 +0200 @@ -92,9 +92,9 @@ [[package]] name = "anyhow" -version = "1.0.97" +version = "1.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" +checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" [[package]] name = "assert_cmd" @@ -114,7 +114,7 @@ [[package]] name = "ast-grep" -version = "0.36.3" +version = "0.37.0" dependencies = [ "ansi_term", "anyhow", @@ -145,7 +145,7 @@ [[package]] name = "ast-grep-config" -version = "0.36.3" +version = "0.37.0" dependencies = [ "anyhow", "ast-grep-core", @@ -161,7 +161,7 @@ [[package]] name = "ast-grep-core" -version = "0.36.3" +version = "0.37.0" dependencies = [ "bit-set", "regex", @@ -172,7 +172,7 @@ [[package]] name = "ast-grep-dynamic" -version = "0.36.3" +version = "0.37.0" dependencies = [ "ast-grep-core", "ignore", @@ -185,7 +185,7 @@ [[package]] name = "ast-grep-language" -version = "0.36.3" +version = "0.37.0" dependencies = [ "ast-grep-core", "ignore", @@ -216,7 +216,7 @@ [[package]] name = "ast-grep-lsp" -version = "0.36.3" +version = "0.37.0" dependencies = [ "ast-grep-config", "ast-grep-core", @@ -230,7 +230,7 @@ [[package]] name = "ast-grep-napi" -version = "0.36.3" +version = "0.37.0" dependencies = [ "ast-grep-config", "ast-grep-core", @@ -246,7 +246,7 @@ [[package]] name = "ast-grep-py" -version = "0.36.3" +version = "0.37.0" dependencies = [ "anyhow", "ast-grep-config", @@ -314,7 +314,7 @@ [[package]] name = "benches" -version = "0.36.3" +version = "0.37.0" dependencies = [ "ast-grep-config", "ast-grep-core", @@ -386,9 +386,9 @@ [[package]] name = "cc" -version = "1.2.3" +version = "1.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27f657647bcff5394bf56c7317665bbf790a137a50eaaa5c6bfbb9e27a518f2d" +checksum = "8e3a13707ac958681c13b39b458c073d0d9bc8a22cb1b2f4c8e55eb72c13f362" dependencies = [ "shlex", ] @@ -1033,7 +1033,7 @@ checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" dependencies = [ "cfg-if", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] @@ -1948,13 +1948,14 @@ [[package]] name = "tree-sitter" -version = "0.24.4" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67baf55e7e1b6806063b1e51041069c90afff16afcbbccd278d899f9d84bca4" +checksum = "b9ac5ea5e7f2f1700842ec071401010b9c59bf735295f6e9fa079c3dc035b167" dependencies = [ "cc", "regex", "regex-syntax", + "serde_json", "streaming-iterator", "tree-sitter-language", ] @@ -2021,9 +2022,9 @@ [[package]] name = "tree-sitter-facade-sg" -version = "0.24.5" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9195ab85ddd7df7ddac5b2e397ec6264816ae640346013002ceccf0f9b3578f1" +checksum = "b456912926c4079fb0e6d26e4282a588f93857fbb4d79e29c5eb1244b7100d55" dependencies = [ "js-sys", "tree-sitter", @@ -2151,9 +2152,9 @@ [[package]] name = "tree-sitter-rust" -version = "0.23.2" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4d64d449ca63e683c562c7743946a646671ca23947b9c925c0cfbe65051a4af" +checksum = "4b9b18034c684a2420722be8b2a91c9c44f2546b631c039edf575ccba8c61be1" dependencies = [ "cc", "tree-sitter-language", @@ -2374,9 +2375,9 @@ [[package]] name = "web-tree-sitter-sg" -version = "0.24.5" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cf7d34b16550f076d75b4a5d4673f1a9692f79787d040e3ac7ddb04e5c48a0" +checksum = "0c769bd29dd6612783fffb7090d29ed8b390672fb9e968b9e76bbc07bf78600c" dependencies = [ "js-sys", "wasm-bindgen", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/Cargo.toml new/ast-grep-0.37.0/Cargo.toml --- old/ast-grep-0.36.3/Cargo.toml 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/Cargo.toml 2025-04-15 04:56:49.000000000 +0200 @@ -11,7 +11,7 @@ lto = true [workspace.package] -version = "0.36.3" +version = "0.37.0" authors = ["Herrington Darkholme <2883231+herringtondarkho...@users.noreply.github.com>"] edition = "2021" license = "MIT" @@ -22,18 +22,18 @@ readme = "README.md" [workspace.dependencies] -ast-grep-core = { path = "crates/core", version = "0.36.3" } -ast-grep-config = { path = "crates/config", version = "0.36.3" } -ast-grep-dynamic = { path = "crates/dynamic", version = "0.36.3" } -ast-grep-language = { path = "crates/language", version = "0.36.3" } -ast-grep-lsp = { path = "crates/lsp", version = "0.36.3" } +ast-grep-core = { path = "crates/core", version = "0.37.0" } +ast-grep-config = { path = "crates/config", version = "0.37.0" } +ast-grep-dynamic = { path = "crates/dynamic", version = "0.37.0" } +ast-grep-language = { path = "crates/language", version = "0.37.0" } +ast-grep-lsp = { path = "crates/lsp", version = "0.37.0" } bit-set = { version = "0.8.0" } ignore = { version = "0.4.22" } regex = { version = "1.10.4" } serde = { version = "1.0.200", features = ["derive"] } serde_yaml = "0.9.33" -tree-sitter = { version = "0.24.5", package = "tree-sitter-facade-sg" } +tree-sitter = { version = "0.25.3", package = "tree-sitter-facade-sg" } thiserror = "2.0.0" schemars = "0.8.17" anyhow = "1.0.82" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/benches/package.json new/ast-grep-0.37.0/benches/package.json --- old/ast-grep-0.36.3/benches/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/benches/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -23,7 +23,7 @@ }, "devDependencies": { "@types/babel__core": "7.20.5", - "@types/node": "22.13.17", + "@types/node": "22.14.1", "prettier": "3.5.3", "ts-node": "10.9.2" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/benches/pnpm-lock.yaml new/ast-grep-0.37.0/benches/pnpm-lock.yaml --- old/ast-grep-0.36.3/benches/pnpm-lock.yaml 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/benches/pnpm-lock.yaml 2025-04-15 04:56:49.000000000 +0200 @@ -38,14 +38,14 @@ specifier: 7.20.5 version: 7.20.5 '@types/node': - specifier: 22.13.17 - version: 22.13.17 + specifier: 22.14.1 + version: 22.14.1 prettier: specifier: 3.5.3 version: 3.5.3 ts-node: specifier: 10.9.2 - version: 10.9.2(@swc/core@1.11.20)(@types/node@22.13.17)(typescript@5.8.3) + version: 10.9.2(@swc/core@1.11.20)(@types/node@22.14.1)(typescript@5.8.3) packages: @@ -536,10 +536,10 @@ '@babel/types': 7.26.9 dev: true - /@types/node@22.13.17: - resolution: {integrity: sha512-nAJuQXoyPj04uLgu+obZcSmsfOenUg6DxPKogeUy6yNCFwWaj5sBF8/G/pNo8EtBJjAfSVgfIlugR/BCOleO+g==} + /@types/node@22.14.1: + resolution: {integrity: sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==} dependencies: - undici-types: 6.20.0 + undici-types: 6.21.0 dev: true /acorn-walk@8.2.0: @@ -913,7 +913,7 @@ node-gyp-build: 4.8.4 dev: false - /ts-node@10.9.2(@swc/core@1.11.20)(@types/node@22.13.17)(typescript@5.8.3): + /ts-node@10.9.2(@swc/core@1.11.20)(@types/node@22.14.1)(typescript@5.8.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -933,7 +933,7 @@ '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 22.13.17 + '@types/node': 22.14.1 acorn: 8.10.0 acorn-walk: 8.2.0 arg: 4.1.3 @@ -955,8 +955,8 @@ engines: {node: '>=14.17'} hasBin: true - /undici-types@6.20.0: - resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} + /undici-types@6.21.0: + resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} dev: true /universalify@2.0.0: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/core/src/node.rs new/ast-grep-0.37.0/crates/core/src/node.rs --- old/ast-grep-0.36.3/crates/core/src/node.rs 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/core/src/node.rs 2025-04-15 04:56:49.000000000 +0200 @@ -408,19 +408,25 @@ } /// Returns all ancestors nodes of `self`. - /// Note: each invocation of the returned iterator is O(n) /// Using cursor is overkill here because adjust cursor is too expensive. pub fn ancestors(&self) -> impl Iterator<Item = Node<'r, D>> + '_ { - let mut parent = self.inner.parent(); + let mut ancestor = Some(self.root.root().inner); + let self_id = self.inner.id(); std::iter::from_fn(move || { - let inner = parent.clone()?; - let ret = Some(Node { - inner: inner.clone(), + let inner = ancestor.take()?; + if inner.id() == self_id { + return None; + } + ancestor = inner.child_with_descendant(self.inner.clone()); + Some(Node { + inner, root: self.root, - }); - parent = inner.parent(); - ret + }) }) + // We must iterate up the tree to preserve backwards compatibility + .collect::<Vec<_>>() + .into_iter() + .rev() } #[must_use] pub fn next(&self) -> Option<Self> { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/dynamic/Cargo.toml new/ast-grep-0.37.0/crates/dynamic/Cargo.toml --- old/ast-grep-0.36.3/crates/dynamic/Cargo.toml 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/dynamic/Cargo.toml 2025-04-15 04:56:49.000000000 +0200 @@ -17,7 +17,7 @@ libloading = "0.8.3" serde.workspace = true thiserror.workspace = true -tree-sitter-native = { version = "0.24.4", package = "tree-sitter" } +tree-sitter-native = { version = "0.25.3", package = "tree-sitter" } [dev-dependencies] serde_yaml.workspace = true \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/dynamic/src/lib.rs new/ast-grep-0.37.0/crates/dynamic/src/lib.rs --- old/ast-grep-0.36.3/crates/dynamic/src/lib.rs 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/dynamic/src/lib.rs 2025-04-15 04:56:49.000000000 +0200 @@ -126,7 +126,7 @@ .get(name.as_bytes()) .map_err(DynamicLangError::ReadSymbol)?; let lang = func(); - let version = lang.version(); + let version = lang.abi_version(); if !(MIN_COMPATIBLE_LANGUAGE_VERSION..=LANGUAGE_VERSION).contains(&version) { Err(DynamicLangError::IncompatibleVersion(version)) } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/language/Cargo.toml new/ast-grep-0.37.0/crates/language/Cargo.toml --- old/ast-grep-0.36.3/crates/language/Cargo.toml 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/language/Cargo.toml 2025-04-15 04:56:49.000000000 +0200 @@ -33,7 +33,7 @@ tree-sitter-php = { version = "0.23.11", optional = true } tree-sitter-python = { version = "0.23.0", optional = true } tree-sitter-ruby = { version = "0.23.0", optional = true } -tree-sitter-rust = { version = "0.23.0", optional = true } +tree-sitter-rust = { version = "0.24.0", optional = true } tree-sitter-scala = { version = "0.23.0", optional = true } tree-sitter-swift = { version = "0.7.0", optional = true } tree-sitter-typescript = { version = "0.23.2", optional = true } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/napi/npm/darwin-arm64/package.json new/ast-grep-0.37.0/crates/napi/npm/darwin-arm64/package.json --- old/ast-grep-0.36.3/crates/napi/npm/darwin-arm64/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/napi/npm/darwin-arm64/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-darwin-arm64", - "version": "0.36.3", + "version": "0.37.0", "os": [ "darwin" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/napi/npm/darwin-x64/package.json new/ast-grep-0.37.0/crates/napi/npm/darwin-x64/package.json --- old/ast-grep-0.36.3/crates/napi/npm/darwin-x64/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/napi/npm/darwin-x64/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-darwin-x64", - "version": "0.36.3", + "version": "0.37.0", "os": [ "darwin" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/napi/npm/linux-arm64-gnu/package.json new/ast-grep-0.37.0/crates/napi/npm/linux-arm64-gnu/package.json --- old/ast-grep-0.36.3/crates/napi/npm/linux-arm64-gnu/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/napi/npm/linux-arm64-gnu/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-linux-arm64-gnu", - "version": "0.36.3", + "version": "0.37.0", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/napi/npm/linux-arm64-musl/package.json new/ast-grep-0.37.0/crates/napi/npm/linux-arm64-musl/package.json --- old/ast-grep-0.36.3/crates/napi/npm/linux-arm64-musl/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/napi/npm/linux-arm64-musl/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-linux-arm64-musl", - "version": "0.36.3", + "version": "0.37.0", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/napi/npm/linux-x64-gnu/package.json new/ast-grep-0.37.0/crates/napi/npm/linux-x64-gnu/package.json --- old/ast-grep-0.36.3/crates/napi/npm/linux-x64-gnu/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/napi/npm/linux-x64-gnu/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-linux-x64-gnu", - "version": "0.36.3", + "version": "0.37.0", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/napi/npm/linux-x64-musl/package.json new/ast-grep-0.37.0/crates/napi/npm/linux-x64-musl/package.json --- old/ast-grep-0.36.3/crates/napi/npm/linux-x64-musl/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/napi/npm/linux-x64-musl/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-linux-x64-musl", - "version": "0.36.3", + "version": "0.37.0", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/napi/npm/win32-arm64-msvc/package.json new/ast-grep-0.37.0/crates/napi/npm/win32-arm64-msvc/package.json --- old/ast-grep-0.36.3/crates/napi/npm/win32-arm64-msvc/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/napi/npm/win32-arm64-msvc/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-win32-arm64-msvc", - "version": "0.36.3", + "version": "0.37.0", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/napi/npm/win32-ia32-msvc/package.json new/ast-grep-0.37.0/crates/napi/npm/win32-ia32-msvc/package.json --- old/ast-grep-0.36.3/crates/napi/npm/win32-ia32-msvc/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/napi/npm/win32-ia32-msvc/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-win32-ia32-msvc", - "version": "0.36.3", + "version": "0.37.0", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/napi/npm/win32-x64-msvc/package.json new/ast-grep-0.37.0/crates/napi/npm/win32-x64-msvc/package.json --- old/ast-grep-0.36.3/crates/napi/npm/win32-x64-msvc/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/napi/npm/win32-x64-msvc/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-win32-x64-msvc", - "version": "0.36.3", + "version": "0.37.0", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/napi/package.json new/ast-grep-0.37.0/crates/napi/package.json --- old/ast-grep-0.36.3/crates/napi/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/napi/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi", - "version": "0.36.3", + "version": "0.37.0", "description": "Search and Rewrite code at large scale using precise AST pattern", "homepage": "https://ast-grep.github.io", "main": "index.js", @@ -52,7 +52,7 @@ "typegen": "ts-node scripts/generateTypes.ts" }, "devDependencies": { - "@ast-grep/napi": "0.36.2", + "@ast-grep/napi": "0.36.3", "@biomejs/biome": "1.9.4", "@napi-rs/cli": "2.18.4", "@types/node": "^22.10.2", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/napi/src/doc.rs new/ast-grep-0.37.0/crates/napi/src/doc.rs --- old/ast-grep-0.36.3/crates/napi/src/doc.rs 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/napi/src/doc.rs 2025-04-15 04:56:49.000000000 +0200 @@ -60,7 +60,7 @@ parser: &mut Parser, tree: Option<&Tree>, ) -> std::result::Result<Option<Tree>, ParserError> { - parser.parse_utf16(self.inner.as_slice(), tree) + parser.parse_utf16_le(self.inner.as_slice(), tree) } fn get_range(&self, range: Range<usize>) -> &[Self::Underlying] { // the range is in byte offset, but our underlying is u16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/napi/yarn.lock new/ast-grep-0.37.0/crates/napi/yarn.lock --- old/ast-grep-0.36.3/crates/napi/yarn.lock 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/napi/yarn.lock 2025-04-15 04:56:49.000000000 +0200 @@ -2,65 +2,65 @@ # yarn lockfile v1 -"@ast-grep/napi-darwin-arm64@0.36.2": - version "0.36.2" - resolved "https://registry.yarnpkg.com/@ast-grep/napi-darwin-arm64/-/napi-darwin-arm64-0.36.2.tgz#4d0344c05852824f047785b19f6a49fd005b7c63" - integrity sha512-0dzW+5SRuUxAlfwgMiUWXSvvyVD3nffzLtH5RhH2a1VXbQxi2UFWZqtfhv6e27iIUTnPfZDnZGNRw8FZgttMfQ== - -"@ast-grep/napi-darwin-x64@0.36.2": - version "0.36.2" - resolved "https://registry.yarnpkg.com/@ast-grep/napi-darwin-x64/-/napi-darwin-x64-0.36.2.tgz#5685f4754eb17ba0d2728bb76f9011c5d5e07c62" - integrity sha512-7TPdnq55OBXGcJLDARObI5BUFbp0AVRMGEzjnIBMWbRSowlDVTH7qBWwNAYk4auCdkwG8EBL40BUIHmagzpoCw== - -"@ast-grep/napi-linux-arm64-gnu@0.36.2": - version "0.36.2" - resolved "https://registry.yarnpkg.com/@ast-grep/napi-linux-arm64-gnu/-/napi-linux-arm64-gnu-0.36.2.tgz#d1d15e3f4e4da6a8e9c8f29065b3ab6236af1bdf" - integrity sha512-/h51eEnEYCq4bclzhynH+964LQXDKXgNb2Un+Y9TLOU8VRaGNawTkZkFq+iBp8T1hl0CznnsQQsg+9pHDHprHQ== - -"@ast-grep/napi-linux-arm64-musl@0.36.2": - version "0.36.2" - resolved "https://registry.yarnpkg.com/@ast-grep/napi-linux-arm64-musl/-/napi-linux-arm64-musl-0.36.2.tgz#5a2e8e7916c8941d41a1fddff5cfcbf02fff0c32" - integrity sha512-RIuk0VaQW2b5uOPJzuYFQBwMZIEVnp6maXPjnatUHxfniirSI172E7LtOU/FIEpCjU9Fpq23A79S43ImFt1KLA== - -"@ast-grep/napi-linux-x64-gnu@0.36.2": - version "0.36.2" - resolved "https://registry.yarnpkg.com/@ast-grep/napi-linux-x64-gnu/-/napi-linux-x64-gnu-0.36.2.tgz#d31ba70bd6f60cdff0b5fdc5ba89c60c662cc59a" - integrity sha512-Xmb50HPfRNi+iLtHp+8/dqiTd8tjArYxOdj1tZzjRndpKhFpQDVrcOnPFObDCRgxVeLovdql9A1ad6BMcEL01Q== - -"@ast-grep/napi-linux-x64-musl@0.36.2": - version "0.36.2" - resolved "https://registry.yarnpkg.com/@ast-grep/napi-linux-x64-musl/-/napi-linux-x64-musl-0.36.2.tgz#e59046ac680af5fe8ecb319eea1a3337dc05124b" - integrity sha512-RSnqCsl3OBfJWh2rETtv3o7xd4QnbB2YTh6H6oYfFhhX0tlon/V+bUXI77hU2/W73hj9GHqWZsygsF43NXn/Hw== - -"@ast-grep/napi-win32-arm64-msvc@0.36.2": - version "0.36.2" - resolved "https://registry.yarnpkg.com/@ast-grep/napi-win32-arm64-msvc/-/napi-win32-arm64-msvc-0.36.2.tgz#076b7f31692bebd7efaded9f636ba91345939436" - integrity sha512-/Q85h8F9K2G8qig0lndZWb+ykCfhfpSN27F3i7Aw5C0Ph7S6vFH76xn3l3dJTZb2CwUSsv4JNoqmFmY4B8DExQ== - -"@ast-grep/napi-win32-ia32-msvc@0.36.2": - version "0.36.2" - resolved "https://registry.yarnpkg.com/@ast-grep/napi-win32-ia32-msvc/-/napi-win32-ia32-msvc-0.36.2.tgz#8eeccb5d00ce521e7e14caa614bab08cc6639b63" - integrity sha512-bDdwErB7zf9DvRx3kNZyMKJb9by5ra24WAXSiVzI8MR387ibZP9UCTzKuGqPrbuZADYWiOgsg3nXMklyPFtmhQ== - -"@ast-grep/napi-win32-x64-msvc@0.36.2": - version "0.36.2" - resolved "https://registry.yarnpkg.com/@ast-grep/napi-win32-x64-msvc/-/napi-win32-x64-msvc-0.36.2.tgz#ce2441f8bec32e3d99eac2685fc7ac21fa93d51e" - integrity sha512-LVZ2DqP9fRfyUceE0BGnlKoPmSx3dYYApSEUdt82Pn7jEVWpFFyTLFmZ9ILiCSaVc6urMJpKWdxAHFqDNNlGfg== - -"@ast-grep/napi@0.36.2": - version "0.36.2" - resolved "https://registry.yarnpkg.com/@ast-grep/napi/-/napi-0.36.2.tgz#eccd537296b8c0be809cf56b477a4d43181228c0" - integrity sha512-ByenQQ0BtqqY0pvlmipvkDv/cKl/9vVjBydS7hloXOdmXPoUF0pHdlilC7ZfrRW97EzPQQZT2jgHl2tu7zg9QA== +"@ast-grep/napi-darwin-arm64@0.36.3": + version "0.36.3" + resolved "https://registry.yarnpkg.com/@ast-grep/napi-darwin-arm64/-/napi-darwin-arm64-0.36.3.tgz#21300034de594055beb56d5e5e26589380934918" + integrity sha512-uM0Hrm5gcHqaBL64ktmPBFMTorTlPKWsUfi0E2Cg09GJfeYWvZmicCqgd7qVtjURmQvFQdb4JSqHIkJvws6Uqw== + +"@ast-grep/napi-darwin-x64@0.36.3": + version "0.36.3" + resolved "https://registry.yarnpkg.com/@ast-grep/napi-darwin-x64/-/napi-darwin-x64-0.36.3.tgz#fed71faf76258349e02659a3e51ded785724a914" + integrity sha512-wEMeQw8lRL66puG2m8m0kDRQDtubygj59HA/cmut2V5SPx/13BN3wuEk6JPv97gqGUCUGhG2+5Z6UZ/Ll2q01Q== + +"@ast-grep/napi-linux-arm64-gnu@0.36.3": + version "0.36.3" + resolved "https://registry.yarnpkg.com/@ast-grep/napi-linux-arm64-gnu/-/napi-linux-arm64-gnu-0.36.3.tgz#fe01aa917e0574dc165ff38bf68cfe5fdf62c9a7" + integrity sha512-sMsTMaUjW7SM8KPbLviCSBuM4zgJcwvie1yZI92HKSlFzC7ABe7X7UvyUREB+JwqccDVEL5yOJAjqB8eFSCizw== + +"@ast-grep/napi-linux-arm64-musl@0.36.3": + version "0.36.3" + resolved "https://registry.yarnpkg.com/@ast-grep/napi-linux-arm64-musl/-/napi-linux-arm64-musl-0.36.3.tgz#7c98cc4d49ec8692d4c601561b1327a5cd8814a2" + integrity sha512-2XRmNYuovZu0Pa4J3or4PKMkQZnXXfpVcCrPwWB/2ytX7XUo+TWLgYE8rPVnJOyw5zujkveFb0XUrro9mQgLzw== + +"@ast-grep/napi-linux-x64-gnu@0.36.3": + version "0.36.3" + resolved "https://registry.yarnpkg.com/@ast-grep/napi-linux-x64-gnu/-/napi-linux-x64-gnu-0.36.3.tgz#4a949cd56208c5674621cec45517a0477b864f2c" + integrity sha512-mTwPRbBi1feGqR2b5TWC5gkEDeRi8wfk4euF5sKNihfMGHj6pdfINHQ3QvLVO4C7z0r/wgWLAvditFA0b997dg== + +"@ast-grep/napi-linux-x64-musl@0.36.3": + version "0.36.3" + resolved "https://registry.yarnpkg.com/@ast-grep/napi-linux-x64-musl/-/napi-linux-x64-musl-0.36.3.tgz#8c1d2094fb3b002dbdebd140f7e7e57731f1c33f" + integrity sha512-tMGPrT+zuZzJK6n1cD1kOii7HYZE9gUXjwtVNE/uZqXEaWP6lmkfoTMbLjnxEe74VQbmaoDGh1/cjrDBnqC6Uw== + +"@ast-grep/napi-win32-arm64-msvc@0.36.3": + version "0.36.3" + resolved "https://registry.yarnpkg.com/@ast-grep/napi-win32-arm64-msvc/-/napi-win32-arm64-msvc-0.36.3.tgz#e1ccf039ddb37ffb26d6da516b9e6c8dcf5c7b87" + integrity sha512-7pFyr9+dyV+4cBJJ1I57gg6PDXP3GBQeVAsEEitzEruxx4Hb4cyNro54gGtlsS+6ty+N0t004tPQxYO2VrsPIg== + +"@ast-grep/napi-win32-ia32-msvc@0.36.3": + version "0.36.3" + resolved "https://registry.yarnpkg.com/@ast-grep/napi-win32-ia32-msvc/-/napi-win32-ia32-msvc-0.36.3.tgz#4917947a8ae07c236854aa6cd42d6bfd1325679d" + integrity sha512-MPAgccH9VscRaFuEBMzDGPS+3c4cKNVGIVJ7WSNa1nZtLQ0eFEaPJ7pyDnCezgVSxfNFVYBvKyyF/vcm7Qc9+A== + +"@ast-grep/napi-win32-x64-msvc@0.36.3": + version "0.36.3" + resolved "https://registry.yarnpkg.com/@ast-grep/napi-win32-x64-msvc/-/napi-win32-x64-msvc-0.36.3.tgz#1ee5792353f2389b4040cdca87b00fa535644560" + integrity sha512-TIVtuSbXhty9kaSEfr4ULWx5PAuUeGgUkFaR60lmOs7sGTWgpig+suwKfTmevoAblFknCW/aMHOwziwJoUZA6A== + +"@ast-grep/napi@0.36.3": + version "0.36.3" + resolved "https://registry.yarnpkg.com/@ast-grep/napi/-/napi-0.36.3.tgz#677ee5061de98989915c5987672443bbe7ffc003" + integrity sha512-ExypohE8L7FvKBHxu7UpwcV9XVfyS+AqNZKyKIfxYwJyD9l7Gw6pmMYd7J2uopJsPEIUf44/emEFds6nFUx/dw== optionalDependencies: - "@ast-grep/napi-darwin-arm64" "0.36.2" - "@ast-grep/napi-darwin-x64" "0.36.2" - "@ast-grep/napi-linux-arm64-gnu" "0.36.2" - "@ast-grep/napi-linux-arm64-musl" "0.36.2" - "@ast-grep/napi-linux-x64-gnu" "0.36.2" - "@ast-grep/napi-linux-x64-musl" "0.36.2" - "@ast-grep/napi-win32-arm64-msvc" "0.36.2" - "@ast-grep/napi-win32-ia32-msvc" "0.36.2" - "@ast-grep/napi-win32-x64-msvc" "0.36.2" + "@ast-grep/napi-darwin-arm64" "0.36.3" + "@ast-grep/napi-darwin-x64" "0.36.3" + "@ast-grep/napi-linux-arm64-gnu" "0.36.3" + "@ast-grep/napi-linux-arm64-musl" "0.36.3" + "@ast-grep/napi-linux-x64-gnu" "0.36.3" + "@ast-grep/napi-linux-x64-musl" "0.36.3" + "@ast-grep/napi-win32-arm64-msvc" "0.36.3" + "@ast-grep/napi-win32-ia32-msvc" "0.36.3" + "@ast-grep/napi-win32-x64-msvc" "0.36.3" "@biomejs/biome@1.9.4": version "1.9.4" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/crates/pyo3/pyproject.toml new/ast-grep-0.37.0/crates/pyo3/pyproject.toml --- old/ast-grep-0.36.3/crates/pyo3/pyproject.toml 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/crates/pyo3/pyproject.toml 2025-04-15 04:56:49.000000000 +0200 @@ -5,7 +5,7 @@ [project] name = "ast-grep-py" requires-python = ">=3.8" -version = "0.36.3" +version = "0.37.0" description = "Structural Search and Rewrite code at large scale using precise AST pattern." authors = [{ name = "Herrington Darkholme", email = "2883231+herringtondarkho...@users.noreply.github.com" }] maintainers = [{ name = "Herrington Darkholme", email = "2883231+herringtondarkho...@users.noreply.github.com" }] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/npm/package.json new/ast-grep-0.37.0/npm/package.json --- old/ast-grep-0.36.3/npm/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/npm/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli", - "version": "0.36.3", + "version": "0.37.0", "publishConfig": { "access": "public" }, @@ -29,13 +29,13 @@ "postinstall": "node postinstall.js" }, "optionalDependencies": { - "@ast-grep/cli-win32-arm64-msvc": "0.36.3", - "@ast-grep/cli-win32-ia32-msvc": "0.36.3", - "@ast-grep/cli-win32-x64-msvc": "0.36.3", - "@ast-grep/cli-darwin-arm64": "0.36.3", - "@ast-grep/cli-darwin-x64": "0.36.3", - "@ast-grep/cli-linux-arm64-gnu": "0.36.3", - "@ast-grep/cli-linux-x64-gnu": "0.36.3" + "@ast-grep/cli-win32-arm64-msvc": "0.37.0", + "@ast-grep/cli-win32-ia32-msvc": "0.37.0", + "@ast-grep/cli-win32-x64-msvc": "0.37.0", + "@ast-grep/cli-darwin-arm64": "0.37.0", + "@ast-grep/cli-darwin-x64": "0.37.0", + "@ast-grep/cli-linux-arm64-gnu": "0.37.0", + "@ast-grep/cli-linux-x64-gnu": "0.37.0" }, "bin": { "sg": "sg", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/npm/platforms/darwin-arm64/package.json new/ast-grep-0.37.0/npm/platforms/darwin-arm64/package.json --- old/ast-grep-0.36.3/npm/platforms/darwin-arm64/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/npm/platforms/darwin-arm64/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-darwin-arm64", - "version": "0.36.3", + "version": "0.37.0", "os": [ "darwin" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/npm/platforms/darwin-x64/package.json new/ast-grep-0.37.0/npm/platforms/darwin-x64/package.json --- old/ast-grep-0.36.3/npm/platforms/darwin-x64/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/npm/platforms/darwin-x64/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-darwin-x64", - "version": "0.36.3", + "version": "0.37.0", "os": [ "darwin" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/npm/platforms/linux-arm64-gnu/package.json new/ast-grep-0.37.0/npm/platforms/linux-arm64-gnu/package.json --- old/ast-grep-0.36.3/npm/platforms/linux-arm64-gnu/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/npm/platforms/linux-arm64-gnu/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-linux-arm64-gnu", - "version": "0.36.3", + "version": "0.37.0", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/npm/platforms/linux-x64-gnu/package.json new/ast-grep-0.37.0/npm/platforms/linux-x64-gnu/package.json --- old/ast-grep-0.36.3/npm/platforms/linux-x64-gnu/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/npm/platforms/linux-x64-gnu/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-linux-x64-gnu", - "version": "0.36.3", + "version": "0.37.0", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/npm/platforms/win32-arm64-msvc/package.json new/ast-grep-0.37.0/npm/platforms/win32-arm64-msvc/package.json --- old/ast-grep-0.36.3/npm/platforms/win32-arm64-msvc/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/npm/platforms/win32-arm64-msvc/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-win32-arm64-msvc", - "version": "0.36.3", + "version": "0.37.0", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/npm/platforms/win32-ia32-msvc/package.json new/ast-grep-0.37.0/npm/platforms/win32-ia32-msvc/package.json --- old/ast-grep-0.36.3/npm/platforms/win32-ia32-msvc/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/npm/platforms/win32-ia32-msvc/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-win32-ia32-msvc", - "version": "0.36.3", + "version": "0.37.0", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/npm/platforms/win32-x64-msvc/package.json new/ast-grep-0.37.0/npm/platforms/win32-x64-msvc/package.json --- old/ast-grep-0.36.3/npm/platforms/win32-x64-msvc/package.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/npm/platforms/win32-x64-msvc/package.json 2025-04-15 04:56:49.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-win32-x64-msvc", - "version": "0.36.3", + "version": "0.37.0", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/pyproject.toml new/ast-grep-0.37.0/pyproject.toml --- old/ast-grep-0.36.3/pyproject.toml 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/pyproject.toml 2025-04-15 04:56:49.000000000 +0200 @@ -4,7 +4,7 @@ [project] name = "ast-grep-cli" -version = "0.36.3" +version = "0.37.0" description = "Structural Search and Rewrite code at large scale using precise AST pattern." authors = [{ name = "Herrington Darkholme", email = "2883231+herringtondarkho...@users.noreply.github.com" }] maintainers = [{ name = "Herrington Darkholme", email = "2883231+herringtondarkho...@users.noreply.github.com" }] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.36.3/schemas/rust_rule.json new/ast-grep-0.37.0/schemas/rust_rule.json --- old/ast-grep-0.36.3/schemas/rust_rule.json 2025-04-13 21:16:48.000000000 +0200 +++ new/ast-grep-0.37.0/schemas/rust_rule.json 2025-04-15 04:56:49.000000000 +0200 @@ -368,7 +368,6 @@ "const_block", "const_item", "const_parameter", - "constrained_type_parameter", "continue_expression", "crate", "declaration_list", @@ -401,6 +400,7 @@ "function_type", "gen_block", "generic_function", + "generic_pattern", "generic_type", "generic_type_with_turbofish", "higher_ranked_trait_bound", @@ -416,6 +416,7 @@ "let_condition", "let_declaration", "lifetime", + "lifetime_parameter", "line_comment", "loop_expression", "macro_definition", @@ -431,7 +432,6 @@ "mutable_specifier", "negative_literal", "never_type", - "optional_type_parameter", "or_pattern", "ordered_field_declaration_list", "outer_doc_comment_marker", @@ -486,6 +486,7 @@ "type_cast_expression", "type_identifier", "type_item", + "type_parameter", "type_parameters", "unary_expression", "union_item", @@ -493,6 +494,7 @@ "unit_type", "unsafe_block", "use_as_clause", + "use_bounds", "use_declaration", "use_list", "use_wildcard", @@ -892,7 +894,6 @@ "const_block", "const_item", "const_parameter", - "constrained_type_parameter", "continue_expression", "crate", "declaration_list", @@ -925,6 +926,7 @@ "function_type", "gen_block", "generic_function", + "generic_pattern", "generic_type", "generic_type_with_turbofish", "higher_ranked_trait_bound", @@ -940,6 +942,7 @@ "let_condition", "let_declaration", "lifetime", + "lifetime_parameter", "line_comment", "loop_expression", "macro_definition", @@ -955,7 +958,6 @@ "mutable_specifier", "negative_literal", "never_type", - "optional_type_parameter", "or_pattern", "ordered_field_declaration_list", "outer_doc_comment_marker", @@ -1010,6 +1012,7 @@ "type_cast_expression", "type_identifier", "type_item", + "type_parameter", "type_parameters", "unary_expression", "union_item", @@ -1017,6 +1020,7 @@ "unit_type", "unsafe_block", "use_as_clause", + "use_bounds", "use_declaration", "use_list", "use_wildcard", ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/ast-grep/vendor.tar.zst /work/SRC/openSUSE:Factory/.ast-grep.new.30101/vendor.tar.zst differ: char 7, line 1