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 2024-08-26 22:10:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ast-grep (Old) and /work/SRC/openSUSE:Factory/.ast-grep.new.2698 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ast-grep" Mon Aug 26 22:10:44 2024 rev:39 rq:1196017 version:0.26.3+0 Changes: -------- --- /work/SRC/openSUSE:Factory/ast-grep/ast-grep.changes 2024-08-22 18:14:15.152110187 +0200 +++ /work/SRC/openSUSE:Factory/.ast-grep.new.2698/ast-grep.changes 2024-08-26 22:13:38.350557989 +0200 @@ -1,0 +2,10 @@ +Mon Aug 26 07:06:19 UTC 2024 - Michael Vetter <mvet...@suse.com> + +- Update to 0.26.3: + * fix: fix wrong transformation indentation #1405 + * fix: compare only kind for unnamed nodes #1419 + * fix(deps): update dependency @swc/core to v1.7.18 9ecb02c + * fix(deps): update dependency @swc/core to v1.7.14 459d20a + * test: add test for transformation indentation e0bfaf2 + +------------------------------------------------------------------- Old: ---- ast-grep-0.26.2+0.tar.zst New: ---- ast-grep-0.26.3+0.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ast-grep.spec ++++++ --- /var/tmp/diff_new_pack.S1vf3n/_old 2024-08-26 22:13:39.934624134 +0200 +++ /var/tmp/diff_new_pack.S1vf3n/_new 2024-08-26 22:13:39.934624134 +0200 @@ -17,7 +17,7 @@ Name: ast-grep -Version: 0.26.2+0 +Version: 0.26.3+0 Release: 0 Summary: A CLI tool for code structural search, lint and rewriting License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.S1vf3n/_old 2024-08-26 22:13:39.990626472 +0200 +++ /var/tmp/diff_new_pack.S1vf3n/_new 2024-08-26 22:13:39.994626640 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/ast-grep/ast-grep.git</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="scm">git</param> - <param name="revision">0.26.2</param> + <param name="revision">0.26.3</param> <param name="match-tag">*</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> ++++++ ast-grep-0.26.2+0.tar.zst -> ast-grep-0.26.3+0.tar.zst ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/CHANGELOG.md new/ast-grep-0.26.3+0/CHANGELOG.md --- old/ast-grep-0.26.2+0/CHANGELOG.md 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/CHANGELOG.md 2024-08-26 00:16:00.000000000 +0200 @@ -4,8 +4,18 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [0.26.3](https://github.com/ast-grep/ast-grep/compare/0.26.2...0.26.3) + +- fix: fix wrong transformation indentation [`#1405`](https://github.com/ast-grep/ast-grep/issues/1405) +- fix: compare only kind for unnamed nodes [`#1419`](https://github.com/ast-grep/ast-grep/issues/1419) +- fix(deps): update dependency @swc/core to v1.7.18 [`9ecb02c`](https://github.com/ast-grep/ast-grep/commit/9ecb02cc4d993adbe4a0d116b2f0c73183aeadf6) +- fix(deps): update dependency @swc/core to v1.7.14 [`459d20a`](https://github.com/ast-grep/ast-grep/commit/459d20adb6f1ea616bb8c019c832a22da30a8095) +- test: add test for transformation indentation [`e0bfaf2`](https://github.com/ast-grep/ast-grep/commit/e0bfaf2b2d856d3272939c7774c286aca5bba3ba) + #### [0.26.2](https://github.com/ast-grep/ast-grep/compare/0.26.1...0.26.2) +> 18 August 2024 + - fix: readopt matched metavar in napi [`#1380`](https://github.com/ast-grep/ast-grep/issues/1380) - chore: update napi definition [`07e084a`](https://github.com/ast-grep/ast-grep/commit/07e084a19f08d98357ce4972eac2efbd00f0690c) - fix(deps): update dependency @swc/core to v1.7.11 [`835b06f`](https://github.com/ast-grep/ast-grep/commit/835b06f3e569b8837bd011425a6e0c2d1bf10081) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/Cargo.lock new/ast-grep-0.26.3+0/Cargo.lock --- old/ast-grep-0.26.2+0/Cargo.lock 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/Cargo.lock 2024-08-26 00:16:00.000000000 +0200 @@ -114,7 +114,7 @@ [[package]] name = "ast-grep" -version = "0.26.2" +version = "0.26.3" dependencies = [ "ansi_term", "anyhow", @@ -145,7 +145,7 @@ [[package]] name = "ast-grep-config" -version = "0.26.2" +version = "0.26.3" dependencies = [ "anyhow", "ast-grep-core", @@ -161,7 +161,7 @@ [[package]] name = "ast-grep-core" -version = "0.26.2" +version = "0.26.3" dependencies = [ "bit-set", "regex", @@ -172,7 +172,7 @@ [[package]] name = "ast-grep-dynamic" -version = "0.26.2" +version = "0.26.3" dependencies = [ "ast-grep-core", "ignore", @@ -184,7 +184,7 @@ [[package]] name = "ast-grep-language" -version = "0.26.2" +version = "0.26.3" dependencies = [ "ast-grep-core", "ignore", @@ -216,7 +216,7 @@ [[package]] name = "ast-grep-lsp" -version = "0.26.2" +version = "0.26.3" dependencies = [ "ast-grep-config", "ast-grep-core", @@ -230,7 +230,7 @@ [[package]] name = "ast-grep-napi" -version = "0.26.2" +version = "0.26.3" dependencies = [ "ast-grep-config", "ast-grep-core", @@ -249,7 +249,7 @@ [[package]] name = "ast-grep-py" -version = "0.26.2" +version = "0.26.3" dependencies = [ "anyhow", "ast-grep-config", @@ -317,7 +317,7 @@ [[package]] name = "benches" -version = "0.26.2" +version = "0.26.3" dependencies = [ "ast-grep-config", "ast-grep-core", @@ -450,9 +450,9 @@ [[package]] name = "clap_complete" -version = "4.5.18" +version = "4.5.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee158892bd7ce77aa15c208abbdb73e155d191c287a659b57abd5adb92feb03" +checksum = "531d7959c5bbb6e266cecdd0f20213639c3a5c3e4d615f97db87661745f781ff" dependencies = [ "clap", ] @@ -1514,18 +1514,18 @@ [[package]] name = "serde" -version = "1.0.208" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2" +checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.208" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf" +checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" dependencies = [ "proc-macro2", "quote", @@ -1545,9 +1545,9 @@ [[package]] name = "serde_json" -version = "1.0.125" +version = "1.0.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed" +checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" dependencies = [ "indexmap", "itoa", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/Cargo.toml new/ast-grep-0.26.3+0/Cargo.toml --- old/ast-grep-0.26.2+0/Cargo.toml 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/Cargo.toml 2024-08-26 00:16:00.000000000 +0200 @@ -11,7 +11,7 @@ lto = true [workspace.package] -version = "0.26.2" +version = "0.26.3" authors = ["Herrington Darkholme <2883231+herringtondarkho...@users.noreply.github.com>"] edition = "2021" license = "MIT" @@ -22,11 +22,11 @@ readme = "README.md" [workspace.dependencies] -ast-grep-core = { path = "crates/core", version = "0.26.2" } -ast-grep-config = { path = "crates/config", version = "0.26.2" } -ast-grep-dynamic = { path = "crates/dynamic", version = "0.26.2" } -ast-grep-language = { path = "crates/language", version = "0.26.2" } -ast-grep-lsp = { path = "crates/lsp", version = "0.26.2" } +ast-grep-core = { path = "crates/core", version = "0.26.3" } +ast-grep-config = { path = "crates/config", version = "0.26.3" } +ast-grep-dynamic = { path = "crates/dynamic", version = "0.26.3" } +ast-grep-language = { path = "crates/language", version = "0.26.3" } +ast-grep-lsp = { path = "crates/lsp", version = "0.26.3" } bit-set = { version = "0.8.0" } ignore = { version = "0.4.22" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/benches/package.json new/ast-grep-0.26.3+0/benches/package.json --- old/ast-grep-0.26.2+0/benches/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/benches/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -13,9 +13,9 @@ "dependencies": { "@ast-grep/napi": "link:../crates/napi", "@babel/core": "7.25.2", - "@babel/plugin-syntax-typescript": "7.24.7", + "@babel/plugin-syntax-typescript": "7.25.4", "@oxidation-compiler/napi": "0.2.0", - "@swc/core": "1.7.11", + "@swc/core": "1.7.18", "benny": "3.7.1", "tree-sitter": "0.20.6", "tree-sitter-typescript": "0.21.2", @@ -23,7 +23,7 @@ }, "devDependencies": { "@types/babel__core": "7.20.5", - "@types/node": "20.16.0", + "@types/node": "20.16.1", "prettier": "3.3.3", "ts-node": "10.9.2" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/benches/pnpm-lock.yaml new/ast-grep-0.26.3+0/benches/pnpm-lock.yaml --- old/ast-grep-0.26.2+0/benches/pnpm-lock.yaml 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/benches/pnpm-lock.yaml 2024-08-26 00:16:00.000000000 +0200 @@ -12,14 +12,14 @@ specifier: 7.25.2 version: 7.25.2 '@babel/plugin-syntax-typescript': - specifier: 7.24.7 - version: 7.24.7(@babel/core@7.25.2) + specifier: 7.25.4 + version: 7.25.4(@babel/core@7.25.2) '@oxidation-compiler/napi': specifier: 0.2.0 version: 0.2.0 '@swc/core': - specifier: 1.7.11 - version: 1.7.11 + specifier: 1.7.18 + version: 1.7.18 benny: specifier: 3.7.1 version: 3.7.1 @@ -38,14 +38,14 @@ specifier: 7.20.5 version: 7.20.5 '@types/node': - specifier: 20.16.0 - version: 20.16.0 + specifier: 20.16.1 + version: 20.16.1 prettier: specifier: 3.3.3 version: 3.3.3 ts-node: specifier: 10.9.2 - version: 10.9.2(@swc/core@1.7.11)(@types/node@20.16.0)(typescript@5.5.4) + version: 10.9.2(@swc/core@1.7.18)(@types/node@20.16.1)(typescript@5.5.4) packages: @@ -168,8 +168,8 @@ - supports-color dev: false - /@babel/helper-plugin-utils@7.24.7: - resolution: {integrity: sha512-Rq76wjt7yz9AAc1KnlRKNAi/dMSVWgDRx43FHoJEbcYU6xOWaE2dVPwcdTukJrjxS65GITyfbvEYHvkirZ6uEg==} + /@babel/helper-plugin-utils@7.24.8: + resolution: {integrity: sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==} engines: {node: '>=6.9.0'} dev: false @@ -238,14 +238,14 @@ '@babel/types': 7.25.2 dev: false - /@babel/plugin-syntax-typescript@7.24.7(@babel/core@7.25.2): - resolution: {integrity: sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==} + /@babel/plugin-syntax-typescript@7.25.4(@babel/core@7.25.2): + resolution: {integrity: sha512-uMOCoHVU52BsSWxPOMVv5qKRdeSlPuImUCB2dlPuBSU+W2/ROE7/Zg8F2Kepbk+8yBa68LlRKxO+xgEVWorsDg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.7 + '@babel/helper-plugin-utils': 7.24.8 dev: false /@babel/template@7.25.0: @@ -400,88 +400,88 @@ '@oxidation-compiler/napi-win32-x64-msvc': 0.2.0 dev: false - /@swc/core-darwin-arm64@1.7.11: - resolution: {integrity: sha512-HRQv4qIeMBPThZ6Y/4yYW52rGsS6yrpusvuxLGyoFo45Y0y12/V2yXkOIA/0HIQyrqoUAxn1k4zQXpPaPNCmnw==} + /@swc/core-darwin-arm64@1.7.18: + resolution: {integrity: sha512-MwLc5U+VGPMZm8MjlFBjEB2wyT1EK0NNJ3tn+ps9fmxdFP+PL8EpMiY1O1F2t1ydy2OzBtZz81sycjM9RieFBg==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] requiresBuild: true optional: true - /@swc/core-darwin-x64@1.7.11: - resolution: {integrity: sha512-vtMQj0F3oYwDu5yhO7SKDRg1XekRSi6/TbzHAbBXv+dBhlGGvcZZynT1H90EVFTv+7w7Sh+lOFvRv5Z4ZTcxow==} + /@swc/core-darwin-x64@1.7.18: + resolution: {integrity: sha512-IkukOQUw7/14VkHp446OkYGCZEHqZg9pTmTdBawlUyz2JwZMSn2VodCl7aFSdGCsU4Cwni8zKA8CCgkCCAELhw==} engines: {node: '>=10'} cpu: [x64] os: [darwin] requiresBuild: true optional: true - /@swc/core-linux-arm-gnueabihf@1.7.11: - resolution: {integrity: sha512-mHtzWKxhtyreI4CSxs+3+ENv8t/Qo35WFoYG66qHEgJz/Z2Lh6jv1E+MYgHdYwnpQHgHbdvAco7HsBu/Dt6xXw==} + /@swc/core-linux-arm-gnueabihf@1.7.18: + resolution: {integrity: sha512-ATnb6jJaBeXCqrTUawWdoOy7eP9SCI7UMcfXlYIMxX4otKKspLPAEuGA5RaNxlCcj9ObyO0J3YGbtZ6hhD2pjg==} engines: {node: '>=10'} cpu: [arm] os: [linux] requiresBuild: true optional: true - /@swc/core-linux-arm64-gnu@1.7.11: - resolution: {integrity: sha512-FRwe/x0GfXSQjGP2lIk+NO0pUFS/lI/RorCLBPiK808EVE9JTbh9DKCc/4Bbb4jgScAjNkrFCUVObQYl3YKmpA==} + /@swc/core-linux-arm64-gnu@1.7.18: + resolution: {integrity: sha512-poHtH7zL7lEp9K2inY90lGHJABWxURAOgWNeZqrcR5+jwIe7q5KBisysH09Zf/JNF9+6iNns+U0xgWTNJzBuGA==} engines: {node: '>=10'} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@swc/core-linux-arm64-musl@1.7.11: - resolution: {integrity: sha512-GY/rs0+GUq14Gbnza90KOrQd/9yHd5qQMii5jcSWcUCT5A8QTa8kiicsM2NxZeTJ69xlKmT7sLod5l99lki/2A==} + /@swc/core-linux-arm64-musl@1.7.18: + resolution: {integrity: sha512-qnNI1WmcOV7Wz1ZDyK6WrOlzLvJ01rnni8ec950mMHWkLRMP53QvCvhF3S+7gFplWBwWJTOOPPUqJp/PlSxWyQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@swc/core-linux-x64-gnu@1.7.11: - resolution: {integrity: sha512-QDkGRwSPmp2RBOlSs503IUXlWYlny8DyznTT0QuK0ML2RpDFlXWU94K/EZhS0RBEUkMY/W51OacM8P8aS/dkCg==} + /@swc/core-linux-x64-gnu@1.7.18: + resolution: {integrity: sha512-x9SCqCLzwtlqtD5At3I1a7Gco+EuXnzrJGoucmkpeQohshHuwa+cskqsXO6u1Dz0jXJEuHbBZB9va1wYYfjgFg==} engines: {node: '>=10'} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@swc/core-linux-x64-musl@1.7.11: - resolution: {integrity: sha512-SBEfKrXy6zQ6ksnyxw1FaCftrIH4fLfA81xNnKb7x/6iblv7Ko6H0aK3P5C86jyqF/82+ONl9C7ImGkUFQADig==} + /@swc/core-linux-x64-musl@1.7.18: + resolution: {integrity: sha512-qtj8iOpMMgKjzxTv+islmEY0JBsbd93nka0gzcTTmGZxKtL5jSUsYQvkxwNPZr5M9NU1fgaR3n1vE6lFmtY0IQ==} engines: {node: '>=10'} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@swc/core-win32-arm64-msvc@1.7.11: - resolution: {integrity: sha512-a2Y4xxEsLLYHJN7sMnw9+YQJDi3M1BxEr9hklfopPuGGnYLFNnx5CypH1l9ReijEfWjIAHNi7pq3m023lzW1Hg==} + /@swc/core-win32-arm64-msvc@1.7.18: + resolution: {integrity: sha512-ltX/Ol9+Qu4SXmISCeuwVgAjSa8nzHTymknpozzVMgjXUoZMoz6lcynfKL1nCh5XLgqh0XNHUKLti5YFF8LrrA==} engines: {node: '>=10'} cpu: [arm64] os: [win32] requiresBuild: true optional: true - /@swc/core-win32-ia32-msvc@1.7.11: - resolution: {integrity: sha512-ZbZFMwZO+j8ulhegJ7EhJ/QVZPoQ5qc30ylJQSxizizTJaen71Q7/13lXWc6ksuCKvg6dUKrp/TPgoxOOtSrFA==} + /@swc/core-win32-ia32-msvc@1.7.18: + resolution: {integrity: sha512-RgTcFP3wgyxnQbTCJrlgBJmgpeTXo8t807GU9GxApAXfpLZJ3swJ2GgFUmIJVdLWyffSHF5BEkF3FmF6mtH5AQ==} engines: {node: '>=10'} cpu: [ia32] os: [win32] requiresBuild: true optional: true - /@swc/core-win32-x64-msvc@1.7.11: - resolution: {integrity: sha512-IUohZedSJyDu/ReEBG/mqX6uG29uA7zZ9z6dIAF+p6eFxjXmh9MuHryyM+H8ebUyoq/Ad3rL+rUCksnuYNnI0w==} + /@swc/core-win32-x64-msvc@1.7.18: + resolution: {integrity: sha512-XbZ0wAgzR757+DhQcnv60Y/bK9yuWPhDNRQVFFQVRsowvK3+c6EblyfUSytIidpXgyYFzlprq/9A9ZlO/wvDWw==} engines: {node: '>=10'} cpu: [x64] os: [win32] requiresBuild: true optional: true - /@swc/core@1.7.11: - resolution: {integrity: sha512-AB+qc45UrJrDfbhPKcUXk+9z/NmFfYYwJT6G7/iur0fCse9kXjx45gi40+u/O2zgarG/30/zV6E3ps8fUvjh7g==} + /@swc/core@1.7.18: + resolution: {integrity: sha512-qL9v5N5S38ijmqiQRvCFUUx2vmxWT/JJ2rswElnyaHkOHuVoAFhBB90Ywj4RKjh3R0zOjhEcemENTyF3q3G6WQ==} engines: {node: '>=10'} requiresBuild: true peerDependencies: @@ -493,16 +493,16 @@ '@swc/counter': 0.1.3 '@swc/types': 0.1.12 optionalDependencies: - '@swc/core-darwin-arm64': 1.7.11 - '@swc/core-darwin-x64': 1.7.11 - '@swc/core-linux-arm-gnueabihf': 1.7.11 - '@swc/core-linux-arm64-gnu': 1.7.11 - '@swc/core-linux-arm64-musl': 1.7.11 - '@swc/core-linux-x64-gnu': 1.7.11 - '@swc/core-linux-x64-musl': 1.7.11 - '@swc/core-win32-arm64-msvc': 1.7.11 - '@swc/core-win32-ia32-msvc': 1.7.11 - '@swc/core-win32-x64-msvc': 1.7.11 + '@swc/core-darwin-arm64': 1.7.18 + '@swc/core-darwin-x64': 1.7.18 + '@swc/core-linux-arm-gnueabihf': 1.7.18 + '@swc/core-linux-arm64-gnu': 1.7.18 + '@swc/core-linux-arm64-musl': 1.7.18 + '@swc/core-linux-x64-gnu': 1.7.18 + '@swc/core-linux-x64-musl': 1.7.18 + '@swc/core-win32-arm64-msvc': 1.7.18 + '@swc/core-win32-ia32-msvc': 1.7.18 + '@swc/core-win32-x64-msvc': 1.7.18 /@swc/counter@0.1.3: resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} @@ -557,8 +557,8 @@ '@babel/types': 7.24.9 dev: true - /@types/node@20.16.0: - resolution: {integrity: sha512-vDxceJcoZhIVh67S568bm1UGZO0DX0hpplJZxzeXMKwIPLn190ec5RRxQ69BKhX44SUGIxxgMdDY557lGLKprQ==} + /@types/node@20.16.1: + resolution: {integrity: sha512-zJDo7wEadFtSyNz5QITDfRcrhqDvQI1xQNQ0VoizPjM/dVAODqqIUWbJPkvsxmTI0MYRGRikcdjMPhOssnPejQ==} dependencies: undici-types: 6.19.6 dev: true @@ -1178,7 +1178,7 @@ prebuild-install: 7.1.1 dev: false - /ts-node@10.9.2(@swc/core@1.7.11)(@types/node@20.16.0)(typescript@5.5.4): + /ts-node@10.9.2(@swc/core@1.7.18)(@types/node@20.16.1)(typescript@5.5.4): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -1193,12 +1193,12 @@ optional: true dependencies: '@cspotcode/source-map-support': 0.8.1 - '@swc/core': 1.7.11 + '@swc/core': 1.7.18 '@tsconfig/node10': 1.0.9 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.16.0 + '@types/node': 20.16.1 acorn: 8.10.0 acorn-walk: 8.2.0 arg: 4.1.3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/config/src/transform/mod.rs new/ast-grep-0.26.3+0/crates/config/src/transform/mod.rs --- old/ast-grep-0.26.2+0/crates/config/src/transform/mod.rs 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/config/src/transform/mod.rs 2024-08-26 00:16:00.000000000 +0200 @@ -118,4 +118,30 @@ let ret = Transform::deserialize(&trans, &env); assert!(ret.is_ok()); } + + #[test] + fn test_transform_indentation() { + let src = " +if (true) { + let a = { + b: 123 + } +} +"; + let expected = "{ + b: 123 +}"; + let mut trans = HashMap::new(); + let tr = from_str("{ substring: { source: $A } }").expect("should work"); + trans.insert("TR".into(), tr); + let grep = TypeScript::Tsx.ast_grep(src); + let root = grep.root(); + let mut nm = root.find("let a = $A").expect("should find"); + let env = DeserializeEnv::new(TypeScript::Tsx); + let trans = Transform::deserialize(&trans, &env).expect("should deserialize"); + trans.apply_transform(nm.get_env_mut(), &Default::default(), &Default::default()); + let actual = nm.get_env().get_transformed("TR").expect("should have TR"); + let actual = std::str::from_utf8(actual).expect("should work"); + assert_eq!(actual, expected); + } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/config/src/transform/transformation.rs new/ast-grep-0.26.3+0/crates/config/src/transform/transformation.rs --- old/ast-grep-0.26.2+0/crates/config/src/transform/transformation.rs 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/config/src/transform/transformation.rs 2024-08-26 00:16:00.000000000 +0200 @@ -109,6 +109,18 @@ Rewrite(Rewrite<T>), } +impl<T> Transformation<T> { + fn source(&self) -> &T { + use Transformation as T; + match self { + T::Replace(r) => &r.source, + T::Substring(s) => &s.source, + T::Convert(c) => &c.source, + T::Rewrite(r) => &r.source, + } + } +} + pub(crate) fn parse_meta_var<L: Language>( src: &str, lang: &L, @@ -148,38 +160,25 @@ } pub fn used_vars(&self) -> &str { - fn strip(s: &str) -> &str { - s.strip_prefix("$$$").unwrap_or_else(|| &s[1..]) - // match s { - // MetaVariable::Capture(s, _) => s, - // MetaVariable::Dropped(_) => "", - // MetaVariable::MultiCapture(s) => s, - // MetaVariable::Multiple => "", - // } - } - use Transformation as T; // NOTE: meta_var in transform always starts with `$`, for now - match self { - T::Replace(r) => strip(&r.source), - T::Substring(s) => strip(&s.source), - T::Convert(c) => strip(&c.source), - T::Rewrite(r) => strip(&r.source), - } + let s = self.source(); + s.strip_prefix("$$$").unwrap_or_else(|| &s[1..]) } } impl Transformation<MetaVariable> { pub(super) fn insert<D: Doc>(&self, key: &str, ctx: &mut Ctx<D>) { + let src = self.source(); // TODO: add this debug assertion back // debug_assert!(ctx.env.get_transformed(key).is_none()); // avoid cyclic - ctx.env.insert_transformation(key, vec![]); + ctx.env.insert_transformation(src, key, vec![]); let opt = self.compute(ctx); let bytes = if let Some(s) = opt { <D::Source as Content>::decode_str(&s).to_vec() } else { vec![] }; - ctx.env.insert_transformation(key, bytes); + ctx.env.insert_transformation(src, key, bytes); } fn compute<D: Doc>(&self, ctx: &mut Ctx<D>) -> Option<String> { use Transformation as T; @@ -436,5 +435,25 @@ assert_eq!(actual, "camelcase_not"); Ok(()) } + + #[test] + fn test_transform_indentation_with_insertion() -> R { + let src = " +if (true) { + let a = { + b: 123 + } +} +"; + // note the indentation + let expected = "{ + b: 123 + }"; + let tr = parse("{ substring: { source: $A } }")?; + let actual = get_transformed(src, "let a = $A", &tr).ok_or(())?; + assert_eq!(actual, expected); + Ok(()) + } + // TODO: add a symbolic test for Rewrite } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/core/src/match_tree/strictness.rs new/ast-grep-0.26.3+0/crates/core/src/match_tree/strictness.rs --- old/ast-grep-0.26.2+0/crates/core/src/match_tree/strictness.rs 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/core/src/match_tree/strictness.rs 2024-08-26 00:16:00.000000000 +0200 @@ -39,7 +39,10 @@ ) -> MatchOneNode { use MatchStrictness as M; let k = candidate.kind_id(); - if k == kind && text == candidate.text() { + // work around ast-grep/ast-grep#1419 and tree-sitter/tree-sitter-typescript#306 + // tree-sitter-typescript has wrong span of unnamed node so text would not match + // just compare kind for unnamed node + if k == kind && (!is_named || text == candidate.text()) { return MatchOneNode::MatchedBoth; } let (skip_goal, skip_candidate) = match self { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/core/src/meta_var.rs new/ast-grep-0.26.3+0/crates/core/src/meta_var.rs --- old/ast-grep-0.26.2+0/crates/core/src/meta_var.rs 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/core/src/meta_var.rs 2024-08-26 00:16:00.000000000 +0200 @@ -5,6 +5,8 @@ use std::borrow::Cow; use std::collections::HashMap; +use crate::replacer::formatted_slice; + pub type MetaVariableID = String; type Underlying<D> = Vec<<<D as Doc>::Source as Content>::Underlying>; @@ -44,8 +46,18 @@ } } - pub fn insert_transformation(&mut self, name: &str, src: Underlying<D>) { - self.transformed_var.insert(name.to_string(), src); + pub fn insert_transformation(&mut self, var: &MetaVariable, name: &str, slice: Underlying<D>) { + let node = match var { + MetaVariable::Capture(v, _) => self.single_matched.get(v), + MetaVariable::MultiCapture(vs) => self.multi_matched.get(vs).and_then(|vs| vs.first()), + _ => None, + }; + let deindented = if let Some(v) = node { + formatted_slice(&slice, v.root.doc.get_source(), v.range().start).to_vec() + } else { + slice + }; + self.transformed_var.insert(name.to_string(), deindented); } pub fn get_match(&self, var: &str) -> Option<&'_ Node<'tree, D>> { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/core/src/replacer/indent.rs new/ast-grep-0.26.3+0/crates/core/src/replacer/indent.rs --- old/ast-grep-0.26.2+0/crates/core/src/replacer/indent.rs 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/core/src/replacer/indent.rs 2024-08-26 00:16:00.000000000 +0200 @@ -146,6 +146,27 @@ DeindentedExtract::MultiLine(extract_slice, indent) } +fn deindent_slice<'a, C: Content>( + slice: &'a [C::Underlying], + content: &'a C, + start: usize, +) -> DeindentedExtract<'a, C> { + if !slice.contains(&get_new_line::<C>()) { + return DeindentedExtract::SingleLine(slice); + } + let indent = get_indent_at_offset::<C>(content.get_range(0..start)); + DeindentedExtract::MultiLine(slice, indent) +} + +pub fn formatted_slice<'a, C: Content>( + slice: &'a [C::Underlying], + content: &'a C, + start: usize, +) -> Cow<'a, [C::Underlying]> { + let deindent = deindent_slice(slice, content, start); + indent_lines(0, deindent) +} + pub fn indent_lines<C: Content>( indent: usize, extract: DeindentedExtract<C>, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/core/src/replacer.rs new/ast-grep-0.26.3+0/crates/core/src/replacer.rs --- old/ast-grep-0.26.2+0/crates/core/src/replacer.rs 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/core/src/replacer.rs 2024-08-26 00:16:00.000000000 +0200 @@ -4,6 +4,8 @@ use crate::{Doc, Node, Root}; use std::ops::Range; +pub(crate) use indent::formatted_slice; + type Edit<D> = E<<D as Doc>::Source>; type Underlying<S> = Vec<<S as Content>::Underlying>; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/napi/npm/darwin-arm64/package.json new/ast-grep-0.26.3+0/crates/napi/npm/darwin-arm64/package.json --- old/ast-grep-0.26.2+0/crates/napi/npm/darwin-arm64/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/napi/npm/darwin-arm64/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-darwin-arm64", - "version": "0.26.2", + "version": "0.26.3", "os": [ "darwin" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/napi/npm/darwin-x64/package.json new/ast-grep-0.26.3+0/crates/napi/npm/darwin-x64/package.json --- old/ast-grep-0.26.2+0/crates/napi/npm/darwin-x64/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/napi/npm/darwin-x64/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-darwin-x64", - "version": "0.26.2", + "version": "0.26.3", "os": [ "darwin" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/napi/npm/linux-arm64-gnu/package.json new/ast-grep-0.26.3+0/crates/napi/npm/linux-arm64-gnu/package.json --- old/ast-grep-0.26.2+0/crates/napi/npm/linux-arm64-gnu/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/napi/npm/linux-arm64-gnu/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-linux-arm64-gnu", - "version": "0.26.2", + "version": "0.26.3", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/napi/npm/linux-arm64-musl/package.json new/ast-grep-0.26.3+0/crates/napi/npm/linux-arm64-musl/package.json --- old/ast-grep-0.26.2+0/crates/napi/npm/linux-arm64-musl/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/napi/npm/linux-arm64-musl/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-linux-arm64-musl", - "version": "0.26.2", + "version": "0.26.3", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/napi/npm/linux-x64-gnu/package.json new/ast-grep-0.26.3+0/crates/napi/npm/linux-x64-gnu/package.json --- old/ast-grep-0.26.2+0/crates/napi/npm/linux-x64-gnu/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/napi/npm/linux-x64-gnu/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-linux-x64-gnu", - "version": "0.26.2", + "version": "0.26.3", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/napi/npm/linux-x64-musl/package.json new/ast-grep-0.26.3+0/crates/napi/npm/linux-x64-musl/package.json --- old/ast-grep-0.26.2+0/crates/napi/npm/linux-x64-musl/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/napi/npm/linux-x64-musl/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-linux-x64-musl", - "version": "0.26.2", + "version": "0.26.3", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/napi/npm/win32-arm64-msvc/package.json new/ast-grep-0.26.3+0/crates/napi/npm/win32-arm64-msvc/package.json --- old/ast-grep-0.26.2+0/crates/napi/npm/win32-arm64-msvc/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/napi/npm/win32-arm64-msvc/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-win32-arm64-msvc", - "version": "0.26.2", + "version": "0.26.3", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/napi/npm/win32-ia32-msvc/package.json new/ast-grep-0.26.3+0/crates/napi/npm/win32-ia32-msvc/package.json --- old/ast-grep-0.26.2+0/crates/napi/npm/win32-ia32-msvc/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/napi/npm/win32-ia32-msvc/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-win32-ia32-msvc", - "version": "0.26.2", + "version": "0.26.3", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/napi/npm/win32-x64-msvc/package.json new/ast-grep-0.26.3+0/crates/napi/npm/win32-x64-msvc/package.json --- old/ast-grep-0.26.2+0/crates/napi/npm/win32-x64-msvc/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/napi/npm/win32-x64-msvc/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-win32-x64-msvc", - "version": "0.26.2", + "version": "0.26.3", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/napi/package.json new/ast-grep-0.26.3+0/crates/napi/package.json --- old/ast-grep-0.26.2+0/crates/napi/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/napi/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi", - "version": "0.26.2", + "version": "0.26.3", "description": "Search and Rewrite code at large scale using precise AST pattern", "homepage": "https://ast-grep.github.io", "main": "index.js", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/crates/pyo3/pyproject.toml new/ast-grep-0.26.3+0/crates/pyo3/pyproject.toml --- old/ast-grep-0.26.2+0/crates/pyo3/pyproject.toml 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/crates/pyo3/pyproject.toml 2024-08-26 00:16:00.000000000 +0200 @@ -5,7 +5,7 @@ [project] name = "ast-grep-py" requires-python = ">=3.8" -version = "0.26.2" +version = "0.26.3" 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.26.2+0/npm/package.json new/ast-grep-0.26.3+0/npm/package.json --- old/ast-grep-0.26.2+0/npm/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/npm/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli", - "version": "0.26.2", + "version": "0.26.3", "publishConfig": { "access": "public" }, @@ -29,13 +29,13 @@ "postinstall": "node postinstall.js" }, "optionalDependencies": { - "@ast-grep/cli-win32-arm64-msvc": "0.26.2", - "@ast-grep/cli-win32-ia32-msvc": "0.26.2", - "@ast-grep/cli-win32-x64-msvc": "0.26.2", - "@ast-grep/cli-darwin-arm64": "0.26.2", - "@ast-grep/cli-darwin-x64": "0.26.2", - "@ast-grep/cli-linux-arm64-gnu": "0.26.2", - "@ast-grep/cli-linux-x64-gnu": "0.26.2" + "@ast-grep/cli-win32-arm64-msvc": "0.26.3", + "@ast-grep/cli-win32-ia32-msvc": "0.26.3", + "@ast-grep/cli-win32-x64-msvc": "0.26.3", + "@ast-grep/cli-darwin-arm64": "0.26.3", + "@ast-grep/cli-darwin-x64": "0.26.3", + "@ast-grep/cli-linux-arm64-gnu": "0.26.3", + "@ast-grep/cli-linux-x64-gnu": "0.26.3" }, "bin": { "sg": "sg", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/npm/platforms/darwin-arm64/package.json new/ast-grep-0.26.3+0/npm/platforms/darwin-arm64/package.json --- old/ast-grep-0.26.2+0/npm/platforms/darwin-arm64/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/npm/platforms/darwin-arm64/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-darwin-arm64", - "version": "0.26.2", + "version": "0.26.3", "os": [ "darwin" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/npm/platforms/darwin-x64/package.json new/ast-grep-0.26.3+0/npm/platforms/darwin-x64/package.json --- old/ast-grep-0.26.2+0/npm/platforms/darwin-x64/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/npm/platforms/darwin-x64/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-darwin-x64", - "version": "0.26.2", + "version": "0.26.3", "os": [ "darwin" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/npm/platforms/linux-arm64-gnu/package.json new/ast-grep-0.26.3+0/npm/platforms/linux-arm64-gnu/package.json --- old/ast-grep-0.26.2+0/npm/platforms/linux-arm64-gnu/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/npm/platforms/linux-arm64-gnu/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-linux-arm64-gnu", - "version": "0.26.2", + "version": "0.26.3", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/npm/platforms/linux-x64-gnu/package.json new/ast-grep-0.26.3+0/npm/platforms/linux-x64-gnu/package.json --- old/ast-grep-0.26.2+0/npm/platforms/linux-x64-gnu/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/npm/platforms/linux-x64-gnu/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-linux-x64-gnu", - "version": "0.26.2", + "version": "0.26.3", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/npm/platforms/win32-arm64-msvc/package.json new/ast-grep-0.26.3+0/npm/platforms/win32-arm64-msvc/package.json --- old/ast-grep-0.26.2+0/npm/platforms/win32-arm64-msvc/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/npm/platforms/win32-arm64-msvc/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-win32-arm64-msvc", - "version": "0.26.2", + "version": "0.26.3", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/npm/platforms/win32-ia32-msvc/package.json new/ast-grep-0.26.3+0/npm/platforms/win32-ia32-msvc/package.json --- old/ast-grep-0.26.2+0/npm/platforms/win32-ia32-msvc/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/npm/platforms/win32-ia32-msvc/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-win32-ia32-msvc", - "version": "0.26.2", + "version": "0.26.3", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/npm/platforms/win32-x64-msvc/package.json new/ast-grep-0.26.3+0/npm/platforms/win32-x64-msvc/package.json --- old/ast-grep-0.26.2+0/npm/platforms/win32-x64-msvc/package.json 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/npm/platforms/win32-x64-msvc/package.json 2024-08-26 00:16:00.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-win32-x64-msvc", - "version": "0.26.2", + "version": "0.26.3", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.2+0/pyproject.toml new/ast-grep-0.26.3+0/pyproject.toml --- old/ast-grep-0.26.2+0/pyproject.toml 2024-08-18 21:31:31.000000000 +0200 +++ new/ast-grep-0.26.3+0/pyproject.toml 2024-08-26 00:16:00.000000000 +0200 @@ -4,7 +4,7 @@ [project] name = "ast-grep-cli" -version = "0.26.2" +version = "0.26.3" 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" }] ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/ast-grep/vendor.tar.zst /work/SRC/openSUSE:Factory/.ast-grep.new.2698/vendor.tar.zst differ: char 1108129, line 4754