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-09-09 14:45:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ast-grep (Old) and /work/SRC/openSUSE:Factory/.ast-grep.new.10096 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ast-grep" Mon Sep 9 14:45:04 2024 rev:40 rq:1199549 version:0.27.1+0 Changes: -------- --- /work/SRC/openSUSE:Factory/ast-grep/ast-grep.changes 2024-08-26 22:13:38.350557989 +0200 +++ /work/SRC/openSUSE:Factory/.ast-grep.new.10096/ast-grep.changes 2024-09-09 14:46:06.830866319 +0200 @@ -1,0 +2,19 @@ +Mon Sep 9 06:24:18 UTC 2024 - Michael Vetter <mvet...@suse.com> + +- Update to 0.27.1: + * fix: create .gitkeep file in new dirs #1273 + * fix: fix unwrap error for unfound dir #1456 + * fix(deps): update dependency @swc/core to v1.7.23 5fd4101 + * chore(deps): update dependency @types/node to v20.16.5 294e402 + * fix: improve error message d46df6a + +------------------------------------------------------------------- +Mon Sep 9 06:24:12 UTC 2024 - Michael Vetter <mvet...@suse.com> + +- Update to 0.27.0: + * feat: support YAML language #1436 + * fix(deps): update dependency @swc/core to v1.7.22 c577761 + * fix(deps): update dependency @swc/core to v1.7.21 4b0e594 + * feat: add rule config potential kind test def5b21 + +------------------------------------------------------------------- Old: ---- ast-grep-0.26.3+0.tar.zst New: ---- ast-grep-0.27.1+0.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ast-grep.spec ++++++ --- /var/tmp/diff_new_pack.5kGLhc/_old 2024-09-09 14:46:08.106919401 +0200 +++ /var/tmp/diff_new_pack.5kGLhc/_new 2024-09-09 14:46:08.106919401 +0200 @@ -17,7 +17,7 @@ Name: ast-grep -Version: 0.26.3+0 +Version: 0.27.1+0 Release: 0 Summary: A CLI tool for code structural search, lint and rewriting License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.5kGLhc/_old 2024-09-09 14:46:08.158921564 +0200 +++ /var/tmp/diff_new_pack.5kGLhc/_new 2024-09-09 14:46:08.162921731 +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.3</param> + <param name="revision">0.27.1</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.3+0.tar.zst -> ast-grep-0.27.1+0.tar.zst ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/CHANGELOG.md new/ast-grep-0.27.1+0/CHANGELOG.md --- old/ast-grep-0.26.3+0/CHANGELOG.md 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/CHANGELOG.md 2024-09-08 17:35:13.000000000 +0200 @@ -4,8 +4,27 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [0.27.1](https://github.com/ast-grep/ast-grep/compare/0.27.0...0.27.1) + +- fix: create .gitkeep file in new dirs [`#1273`](https://github.com/ast-grep/ast-grep/issues/1273) +- fix: fix unwrap error for unfound dir [`#1456`](https://github.com/ast-grep/ast-grep/issues/1456) +- fix(deps): update dependency @swc/core to v1.7.23 [`5fd4101`](https://github.com/ast-grep/ast-grep/commit/5fd410190717131f751de348493a8d09340a1960) +- chore(deps): update dependency @types/node to v20.16.5 [`294e402`](https://github.com/ast-grep/ast-grep/commit/294e40249d33919a2f62089d954a14b53eae0987) +- fix: improve error message [`d46df6a`](https://github.com/ast-grep/ast-grep/commit/d46df6a0e201fac6539fac10a09cd10516d0dc78) + +#### [0.27.0](https://github.com/ast-grep/ast-grep/compare/0.26.3...0.27.0) + +> 7 September 2024 + +- feat: support YAML language [`#1436`](https://github.com/ast-grep/ast-grep/issues/1436) +- fix(deps): update dependency @swc/core to v1.7.22 [`c577761`](https://github.com/ast-grep/ast-grep/commit/c577761fed6ce6decfef0bb42abe4db082049a0a) +- fix(deps): update dependency @swc/core to v1.7.21 [`4b0e594`](https://github.com/ast-grep/ast-grep/commit/4b0e594c11c9af99a850f82ae930796aeadb47c3) +- feat: add rule config potential kind test [`def5b21`](https://github.com/ast-grep/ast-grep/commit/def5b210635f4d32c614f98998401768c300d08a) + #### [0.26.3](https://github.com/ast-grep/ast-grep/compare/0.26.2...0.26.3) +> 25 August 2024 + - 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) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/Cargo.lock new/ast-grep-0.27.1+0/Cargo.lock --- old/ast-grep-0.26.3+0/Cargo.lock 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/Cargo.lock 2024-09-08 17:35:13.000000000 +0200 @@ -114,7 +114,7 @@ [[package]] name = "ast-grep" -version = "0.26.3" +version = "0.27.1" dependencies = [ "ansi_term", "anyhow", @@ -145,7 +145,7 @@ [[package]] name = "ast-grep-config" -version = "0.26.3" +version = "0.27.1" dependencies = [ "anyhow", "ast-grep-core", @@ -161,7 +161,7 @@ [[package]] name = "ast-grep-core" -version = "0.26.3" +version = "0.27.1" dependencies = [ "bit-set", "regex", @@ -172,7 +172,7 @@ [[package]] name = "ast-grep-dynamic" -version = "0.26.3" +version = "0.27.1" dependencies = [ "ast-grep-core", "ignore", @@ -184,7 +184,7 @@ [[package]] name = "ast-grep-language" -version = "0.26.3" +version = "0.27.1" dependencies = [ "ast-grep-core", "ignore", @@ -212,16 +212,17 @@ "tree-sitter-sequel", "tree-sitter-swift", "tree-sitter-typescript", + "tree-sitter-yaml", ] [[package]] name = "ast-grep-lsp" -version = "0.26.3" +version = "0.27.1" dependencies = [ "ast-grep-config", "ast-grep-core", "ast-grep-language", - "dashmap", + "dashmap 6.0.1", "serde", "serde_json", "tokio", @@ -230,7 +231,7 @@ [[package]] name = "ast-grep-napi" -version = "0.26.3" +version = "0.27.1" dependencies = [ "ast-grep-config", "ast-grep-core", @@ -249,7 +250,7 @@ [[package]] name = "ast-grep-py" -version = "0.26.3" +version = "0.27.1" dependencies = [ "anyhow", "ast-grep-config", @@ -317,7 +318,7 @@ [[package]] name = "benches" -version = "0.26.3" +version = "0.27.1" dependencies = [ "ast-grep-config", "ast-grep-core", @@ -632,6 +633,20 @@ ] [[package]] +name = "dashmap" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "804c8821570c3f8b70230c2ba75ffa5c0f9a4189b9a432b6656c536712acae28" +dependencies = [ + "cfg-if", + "crossbeam-utils", + "hashbrown", + "lock_api", + "once_cell", + "parking_lot_core", +] + +[[package]] name = "difflib" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -965,7 +980,7 @@ checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" dependencies = [ "cfg-if", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] @@ -1808,7 +1823,7 @@ "async-trait", "auto_impl", "bytes", - "dashmap", + "dashmap 5.5.3", "futures", "httparse", "lsp-types", @@ -2055,9 +2070,9 @@ [[package]] name = "tree-sitter-php" -version = "0.22.8" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1be890bd043986cc26b69968698e508dbd40060805e482f226dc873a63a88d60" +checksum = "701096cc0c7c8e5c33ec0be7ea4d7aed971ee07043af5c35581c029805527ac5" dependencies = [ "cc", "tree-sitter", @@ -2131,6 +2146,16 @@ dependencies = [ "cc", "tree-sitter", +] + +[[package]] +name = "tree-sitter-yaml" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aad27ec46ad343d8b514f64dd3fdffb478c592ece561b6c935d90ef55589c6b6" +dependencies = [ + "cc", + "tree-sitter", ] [[package]] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/Cargo.toml new/ast-grep-0.27.1+0/Cargo.toml --- old/ast-grep-0.26.3+0/Cargo.toml 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/Cargo.toml 2024-09-08 17:35:13.000000000 +0200 @@ -11,7 +11,7 @@ lto = true [workspace.package] -version = "0.26.3" +version = "0.27.1" 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.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" } +ast-grep-core = { path = "crates/core", version = "0.27.1" } +ast-grep-config = { path = "crates/config", version = "0.27.1" } +ast-grep-dynamic = { path = "crates/dynamic", version = "0.27.1" } +ast-grep-language = { path = "crates/language", version = "0.27.1" } +ast-grep-lsp = { path = "crates/lsp", version = "0.27.1" } 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.3+0/benches/package.json new/ast-grep-0.27.1+0/benches/package.json --- old/ast-grep-0.26.3+0/benches/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/benches/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -15,7 +15,7 @@ "@babel/core": "7.25.2", "@babel/plugin-syntax-typescript": "7.25.4", "@oxidation-compiler/napi": "0.2.0", - "@swc/core": "1.7.18", + "@swc/core": "1.7.23", "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.1", + "@types/node": "20.16.5", "prettier": "3.3.3", "ts-node": "10.9.2" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/benches/pnpm-lock.yaml new/ast-grep-0.27.1+0/benches/pnpm-lock.yaml --- old/ast-grep-0.26.3+0/benches/pnpm-lock.yaml 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/benches/pnpm-lock.yaml 2024-09-08 17:35:13.000000000 +0200 @@ -18,8 +18,8 @@ specifier: 0.2.0 version: 0.2.0 '@swc/core': - specifier: 1.7.18 - version: 1.7.18 + specifier: 1.7.23 + version: 1.7.23 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.1 - version: 20.16.1 + specifier: 20.16.5 + version: 20.16.5 prettier: specifier: 3.3.3 version: 3.3.3 ts-node: specifier: 10.9.2 - version: 10.9.2(@swc/core@1.7.18)(@types/node@20.16.1)(typescript@5.5.4) + version: 10.9.2(@swc/core@1.7.23)(@types/node@20.16.5)(typescript@5.5.4) packages: @@ -400,88 +400,88 @@ '@oxidation-compiler/napi-win32-x64-msvc': 0.2.0 dev: false - /@swc/core-darwin-arm64@1.7.18: - resolution: {integrity: sha512-MwLc5U+VGPMZm8MjlFBjEB2wyT1EK0NNJ3tn+ps9fmxdFP+PL8EpMiY1O1F2t1ydy2OzBtZz81sycjM9RieFBg==} + /@swc/core-darwin-arm64@1.7.23: + resolution: {integrity: sha512-yyOHPfti6yKlQulfVWMt7BVKst+SyEZYCWuQSGMn1KgmNCH/bYufRWfQXIhkGSj44ZkEepJmsJ8tDyIb4k5WyA==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] requiresBuild: true optional: true - /@swc/core-darwin-x64@1.7.18: - resolution: {integrity: sha512-IkukOQUw7/14VkHp446OkYGCZEHqZg9pTmTdBawlUyz2JwZMSn2VodCl7aFSdGCsU4Cwni8zKA8CCgkCCAELhw==} + /@swc/core-darwin-x64@1.7.23: + resolution: {integrity: sha512-GzqHwQ0Y1VyjdI/bBKFX2GKm5HD3PIB6OhuAQtWZMTtEr2yIrlT0YK2T+XKh7oIg31JwxGBeQdBk3KTI7DARmQ==} engines: {node: '>=10'} cpu: [x64] os: [darwin] requiresBuild: true optional: true - /@swc/core-linux-arm-gnueabihf@1.7.18: - resolution: {integrity: sha512-ATnb6jJaBeXCqrTUawWdoOy7eP9SCI7UMcfXlYIMxX4otKKspLPAEuGA5RaNxlCcj9ObyO0J3YGbtZ6hhD2pjg==} + /@swc/core-linux-arm-gnueabihf@1.7.23: + resolution: {integrity: sha512-qwX4gB41OS6/OZkHcpTqLFGsdmvoZyffnJIlgB/kZKwH3lfeJWzv6vx57zXtNpM/t7GoQEe0VZUVdmNjxSxBZw==} engines: {node: '>=10'} cpu: [arm] os: [linux] requiresBuild: true optional: true - /@swc/core-linux-arm64-gnu@1.7.18: - resolution: {integrity: sha512-poHtH7zL7lEp9K2inY90lGHJABWxURAOgWNeZqrcR5+jwIe7q5KBisysH09Zf/JNF9+6iNns+U0xgWTNJzBuGA==} + /@swc/core-linux-arm64-gnu@1.7.23: + resolution: {integrity: sha512-TsrbUZdMaUwzI7+g/8rHPLWbntMKYSu5Bn5IBSqVKPeyqaXxNnlIUnWXgXcUcRAc+T+Y8ADfr7EiFz9iz5DuSA==} engines: {node: '>=10'} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@swc/core-linux-arm64-musl@1.7.18: - resolution: {integrity: sha512-qnNI1WmcOV7Wz1ZDyK6WrOlzLvJ01rnni8ec950mMHWkLRMP53QvCvhF3S+7gFplWBwWJTOOPPUqJp/PlSxWyQ==} + /@swc/core-linux-arm64-musl@1.7.23: + resolution: {integrity: sha512-JEdtwdthazKq4PBz53KSubwwK8MvqODAihGSAzc8u3Unq4ojcvaS8b0CwLBeD+kTQ78HpxOXTt3DsFIxpgaCAA==} engines: {node: '>=10'} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@swc/core-linux-x64-gnu@1.7.18: - resolution: {integrity: sha512-x9SCqCLzwtlqtD5At3I1a7Gco+EuXnzrJGoucmkpeQohshHuwa+cskqsXO6u1Dz0jXJEuHbBZB9va1wYYfjgFg==} + /@swc/core-linux-x64-gnu@1.7.23: + resolution: {integrity: sha512-V51gFPWaVAHbI1yg9ahsoya3aB4uawye3SZ5uQWgcP7wdCdiv60dw4F5nuPJf5Z1oXD3U/BslXuamv8Oh9vXqQ==} engines: {node: '>=10'} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@swc/core-linux-x64-musl@1.7.18: - resolution: {integrity: sha512-qtj8iOpMMgKjzxTv+islmEY0JBsbd93nka0gzcTTmGZxKtL5jSUsYQvkxwNPZr5M9NU1fgaR3n1vE6lFmtY0IQ==} + /@swc/core-linux-x64-musl@1.7.23: + resolution: {integrity: sha512-BBqQi4+UdeRqag3yM4IJjaHG4yc1o3l9ksENHToE0o/u2DT0FY5+K/DiYGZLC1JHbSFzNqRCYsa7DIzRtZ0A1A==} engines: {node: '>=10'} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@swc/core-win32-arm64-msvc@1.7.18: - resolution: {integrity: sha512-ltX/Ol9+Qu4SXmISCeuwVgAjSa8nzHTymknpozzVMgjXUoZMoz6lcynfKL1nCh5XLgqh0XNHUKLti5YFF8LrrA==} + /@swc/core-win32-arm64-msvc@1.7.23: + resolution: {integrity: sha512-JPk6pvCKncL6bXG7p+NLZf8PWx4FakVvKNdwGeMrYunb+yk1IZf7qf9LJk8+GDGF5QviDXPs8opZrTrfsW80fA==} engines: {node: '>=10'} cpu: [arm64] os: [win32] requiresBuild: true optional: true - /@swc/core-win32-ia32-msvc@1.7.18: - resolution: {integrity: sha512-RgTcFP3wgyxnQbTCJrlgBJmgpeTXo8t807GU9GxApAXfpLZJ3swJ2GgFUmIJVdLWyffSHF5BEkF3FmF6mtH5AQ==} + /@swc/core-win32-ia32-msvc@1.7.23: + resolution: {integrity: sha512-2Whxi8d+bLQBzJcQ5qYPHlk02YYVGsMVav0fWk+FnX2z1QRREIu1L1xvrpi7gBpjXp6BIU40ya8GiKeekNT2bg==} engines: {node: '>=10'} cpu: [ia32] os: [win32] requiresBuild: true optional: true - /@swc/core-win32-x64-msvc@1.7.18: - resolution: {integrity: sha512-XbZ0wAgzR757+DhQcnv60Y/bK9yuWPhDNRQVFFQVRsowvK3+c6EblyfUSytIidpXgyYFzlprq/9A9ZlO/wvDWw==} + /@swc/core-win32-x64-msvc@1.7.23: + resolution: {integrity: sha512-82fARk4/yJ40kwWKY/gdKDisPdtgJE9jgpl/vkNG3alyJxrCzuNM7+CtiKoYbXLeqM8GQTS3wlvCaJu9oQ8dag==} engines: {node: '>=10'} cpu: [x64] os: [win32] requiresBuild: true optional: true - /@swc/core@1.7.18: - resolution: {integrity: sha512-qL9v5N5S38ijmqiQRvCFUUx2vmxWT/JJ2rswElnyaHkOHuVoAFhBB90Ywj4RKjh3R0zOjhEcemENTyF3q3G6WQ==} + /@swc/core@1.7.23: + resolution: {integrity: sha512-VDNkpDvDlreGh2E3tlDj8B3piiuLhhQA/7rIVZpiLUvG1YpucAa6N7iDXA7Gc/+Hah8spaCg/qvEaBkCmcIYCQ==} 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.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/core-darwin-arm64': 1.7.23 + '@swc/core-darwin-x64': 1.7.23 + '@swc/core-linux-arm-gnueabihf': 1.7.23 + '@swc/core-linux-arm64-gnu': 1.7.23 + '@swc/core-linux-arm64-musl': 1.7.23 + '@swc/core-linux-x64-gnu': 1.7.23 + '@swc/core-linux-x64-musl': 1.7.23 + '@swc/core-win32-arm64-msvc': 1.7.23 + '@swc/core-win32-ia32-msvc': 1.7.23 + '@swc/core-win32-x64-msvc': 1.7.23 /@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.1: - resolution: {integrity: sha512-zJDo7wEadFtSyNz5QITDfRcrhqDvQI1xQNQ0VoizPjM/dVAODqqIUWbJPkvsxmTI0MYRGRikcdjMPhOssnPejQ==} + /@types/node@20.16.5: + resolution: {integrity: sha512-VwYCweNo3ERajwy0IUlqqcyZ8/A7Zwa9ZP3MnENWcB11AejO+tLy3pu850goUW2FC/IJMdZUfKpX/yxL1gymCA==} 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.18)(@types/node@20.16.1)(typescript@5.5.4): + /ts-node@10.9.2(@swc/core@1.7.23)(@types/node@20.16.5)(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.18 + '@swc/core': 1.7.23 '@tsconfig/node10': 1.0.9 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.16.1 + '@types/node': 20.16.5 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.3+0/crates/cli/src/config.rs new/ast-grep-0.27.1+0/crates/cli/src/config.rs --- old/ast-grep-0.26.3+0/crates/cli/src/config.rs 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/cli/src/config.rs 2024-09-08 17:35:13.000000000 +0200 @@ -108,13 +108,8 @@ let mut utils = vec![]; let walker = walker.types(config_file_type()).build(); for dir in walker { - let dir_path = dir - .as_ref() - .map(|entry| entry.path().to_path_buf()) - .ok() - .unwrap(); - let config_file = dir.with_context(|| EC::WalkRuleDir(dir_path.clone()))?; - // file_type is None only if it is stdin, safe to unwrap here + let config_file = dir.with_context(|| EC::WalkRuleDir(PathBuf::new()))?; + // file_type is None only if it is stdin, safe to panic here if !config_file .file_type() .expect("file type should be available for non-stdin") @@ -146,7 +141,7 @@ .build(); for dir in walker { let config_file = dir.with_context(|| EC::WalkRuleDir(dir_path.clone()))?; - // file_type is None only if it is stdin, safe to unwrap here + // file_type is None only if it is stdin, safe to panic here if !config_file .file_type() .expect("file type should be available for non-stdin") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/cli/src/new.rs new/ast-grep-0.27.1+0/crates/cli/src/new.rs --- old/ast-grep-0.26.3+0/crates/cli/src/new.rs 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/cli/src/new.rs 2024-09-08 17:35:13.000000000 +0200 @@ -46,6 +46,10 @@ }; let path = self.base_dir.join(dir); fs::create_dir_all(&path)?; + // create a .gitkeep file to keep the folder in git + // https://github.com/ast-grep/ast-grep/issues/1273 + let gitkeep = path.join(".gitkeep"); + File::create(gitkeep)?; Ok(path) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/cli/src/verify/mod.rs new/ast-grep-0.27.1+0/crates/cli/src/verify/mod.rs --- old/ast-grep-0.26.3+0/crates/cli/src/verify/mod.rs 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/cli/src/verify/mod.rs 2024-09-08 17:35:13.000000000 +0200 @@ -224,12 +224,12 @@ } fn always_report_rule() -> RuleCollection<SgLang> { // empty all should mean always - let rule = get_rule_config("all: []"); + let rule = get_rule_config("all: [kind: number]"); RuleCollection::try_new(vec![rule]).expect("RuleCollection must be valid") } fn never_report_rule() -> RuleCollection<SgLang> { // empty any should mean never - let rule = get_rule_config("any: []"); + let rule = get_rule_config("any: [kind: string]"); RuleCollection::try_new(vec![rule]).expect("RuleCollection must be valid") } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/config/src/combined.rs new/ast-grep-0.27.1+0/crates/config/src/combined.rs --- old/ast-grep-0.26.3+0/crates/config/src/combined.rs 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/config/src/combined.rs 2024-09-08 17:35:13.000000000 +0200 @@ -97,11 +97,11 @@ rules.sort_unstable_by_key(|r| (r.fix.is_some(), &r.id)); let mut mapping = Vec::new(); for (idx, rule) in rules.iter().enumerate() { - for kind in &rule - .matcher - .potential_kinds() - .unwrap_or_else(|| panic!("rule `{}` must have kind", &rule.id)) - { + let Some(kinds) = rule.matcher.potential_kinds() else { + eprintln!("rule `{}` must have kind", &rule.id); + continue; + }; + for kind in &kinds { // NOTE: common languages usually have about several hundred kinds // from 200+ ~ 500+, it is okay to waste about 500 * 24 Byte vec size = 12kB // see https://github.com/Wilfred/difftastic/tree/master/vendored_parsers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/config/src/rule_collection.rs new/ast-grep-0.27.1+0/crates/config/src/rule_collection.rs --- old/ast-grep-0.26.3+0/crates/config/src/rule_collection.rs 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/config/src/rule_collection.rs 2024-09-08 17:35:13.000000000 +0200 @@ -178,7 +178,7 @@ severity: info language: Tsx rule: - all: [] + all: [kind: number] {files}" ), &globals, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/config/src/rule_config.rs new/ast-grep-0.27.1+0/crates/config/src/rule_config.rs --- old/ast-grep-0.26.3+0/crates/config/src/rule_config.rs 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/config/src/rule_config.rs 2024-09-08 17:35:13.000000000 +0200 @@ -7,7 +7,7 @@ use ast_grep_core::language::Language; use ast_grep_core::replacer::Replacer; -use ast_grep_core::{NodeMatch, StrDoc}; +use ast_grep_core::{Matcher, NodeMatch, StrDoc}; use schemars::JsonSchema; use serde::{Deserialize, Serialize}; @@ -46,6 +46,8 @@ UndefinedRewriter(String), #[error("Rewriter rule `{0}` should have `fix`.")] NoFixInRewriter(String), + #[error("Rule must specify a set of AST kinds to match. Try adding `kind` rule.")] + MissingPotentialKinds, } #[derive(Serialize, Deserialize, Clone, JsonSchema)] @@ -166,6 +168,9 @@ globals: &GlobalRules<L>, ) -> Result<Self, RuleConfigError> { let matcher = inner.get_matcher(globals)?; + if matcher.potential_kinds().is_none() { + return Err(RuleConfigError::MissingPotentialKinds); + } Ok(Self { inner, matcher }) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/language/Cargo.toml new/ast-grep-0.27.1+0/crates/language/Cargo.toml --- old/ast-grep-0.26.3+0/crates/language/Cargo.toml 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/language/Cargo.toml 2024-09-08 17:35:13.000000000 +0200 @@ -31,7 +31,7 @@ tree-sitter-json = { version = "0.21.0", optional = true } tree-sitter-kotlin = { version = "0.3.6", optional = true } tree-sitter-lua = { version = "0.1.0", optional = true } -tree-sitter-php = { version = "0.22.4", optional = true } +tree-sitter-php = { version = "0.23.0", optional = true } tree-sitter-python = { version = "0.21.0", optional = true } tree-sitter-ruby = { version = "0.21.0", optional = true } tree-sitter-rust = { version = "0.21.2", optional = true } @@ -39,6 +39,7 @@ tree-sitter-sequel = { version = "0.3.3", optional = true } tree-sitter-swift = { version = "=0.5.0", optional = true } tree-sitter-typescript= { version = "0.21.1", optional = true } +tree-sitter-yaml = { version = "0.6.1", optional = true } [features] builtin-parser = [ @@ -65,5 +66,6 @@ "tree-sitter-sequel", "tree-sitter-swift", "tree-sitter-typescript", + "tree-sitter-yaml", ] default = ["builtin-parser"] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/language/src/lib.rs new/ast-grep-0.27.1+0/crates/language/src/lib.rs --- old/ast-grep-0.26.3+0/crates/language/src/lib.rs 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/language/src/lib.rs 2024-09-08 17:35:13.000000000 +0200 @@ -25,6 +25,7 @@ mod rust; mod scala; mod swift; +mod yaml; pub use html::Html; @@ -193,6 +194,7 @@ impl_lang!(Scala, language_scala); impl_lang!(Tsx, language_tsx); impl_lang!(TypeScript, language_typescript); +impl_lang!(Yaml, language_yaml); // See ripgrep for extensions // https://github.com/BurntSushi/ripgrep/blob/master/crates/ignore/src/default_types.rs @@ -223,6 +225,7 @@ Swift, Tsx, TypeScript, + Yaml, } impl SupportLang { @@ -230,7 +233,7 @@ use SupportLang::*; &[ Bash, C, Cpp, CSharp, Css, Dart, Elixir, Go, Haskell, Html, Java, JavaScript, Json, Kotlin, - Lua, Php, Python, Ruby, Rust, Scala, Sql, Swift, Tsx, TypeScript, + Lua, Php, Python, Ruby, Rust, Scala, Sql, Swift, Tsx, TypeScript, Yaml, ] } @@ -335,6 +338,7 @@ Swift => &["swift"], TypeScript => &["ts", "typescript"], Tsx => &["tsx"], + Yaml => &["yaml", "yml"], } /// Implements the language names and aliases. @@ -380,6 +384,7 @@ S::Swift => Swift.$method($($pname,)*), S::Tsx => Tsx.$method($($pname,)*), S::TypeScript => TypeScript.$method($($pname,)*), + S::Yaml => Yaml.$method($($pname,)*), } } } @@ -445,6 +450,7 @@ Swift => &["swift"], TypeScript => &["ts", "cts", "mts"], Tsx => &["tsx"], + Yaml => &["yaml", "yml"], } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/language/src/parsers.rs new/ast-grep-0.27.1+0/crates/language/src/parsers.rs --- old/ast-grep-0.26.3+0/crates/language/src/parsers.rs 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/language/src/parsers.rs 2024-09-08 17:35:13.000000000 +0200 @@ -80,6 +80,9 @@ pub fn language_typescript() -> TSLanguage { tree_sitter_typescript::language_typescript().into() } + pub fn language_yaml() -> TSLanguage { + tree_sitter_yaml::language().into() + } } #[cfg(not(feature = "builtin-parser"))] @@ -126,6 +129,7 @@ language_swift, language_tsx, language_typescript, + language_yaml, ); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/language/src/yaml.rs new/ast-grep-0.27.1+0/crates/language/src/yaml.rs --- old/ast-grep-0.26.3+0/crates/language/src/yaml.rs 1970-01-01 01:00:00.000000000 +0100 +++ new/ast-grep-0.27.1+0/crates/language/src/yaml.rs 2024-09-08 17:35:13.000000000 +0200 @@ -0,0 +1,60 @@ +#![cfg(test)] +use ast_grep_core::source::TSParseError; + +use super::*; + +fn test_match(query: &str, source: &str) { + use crate::test::test_match_lang; + test_match_lang(query, source, Yaml); +} + +fn test_non_match(query: &str, source: &str) { + use crate::test::test_non_match_lang; + test_non_match_lang(query, source, Yaml); +} + +#[test] +fn test_yaml_str() { + test_match("123", "123"); + test_non_match("123", "'123'"); + // the pattern below should not match but match now + // test_non_match("\"123\"", "\"456\""); +} + +#[test] +fn test_yaml_pattern() { + test_match("foo: $BAR", "foo: 123"); + test_match("foo: $$$", "foo: [1, 2, 3]"); + test_match( + "foo: $BAR", + "foo: + - a + ", + ); + test_non_match("foo: $BAR", "bar: bar"); +} + +fn test_replace(src: &str, pattern: &str, replacer: &str) -> Result<String, TSParseError> { + use crate::test::test_replace_lang; + test_replace_lang(src, pattern, replacer, Yaml) +} + +const SOURCE: &str = r#" +key: value +list: + - item1 + - item2 +"#; +const EXPECTED: &str = r#" +value: key +list: + - item1 + - item2 +"#; + +#[test] +fn test_yaml_replace() -> Result<(), TSParseError> { + let ret = test_replace(SOURCE, "$KEY: value", "value: $KEY")?; + assert_eq!(ret, EXPECTED); + Ok(()) +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/lsp/Cargo.toml new/ast-grep-0.27.1+0/crates/lsp/Cargo.toml --- old/ast-grep-0.26.3+0/crates/lsp/Cargo.toml 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/lsp/Cargo.toml 2024-09-08 17:35:13.000000000 +0200 @@ -22,7 +22,7 @@ serde.workspace = true serde_json = "1.0.116" -dashmap = "5.5.3" +dashmap = "6.0.0" tower-lsp = "0.20.0" [dev-dependencies] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/napi/npm/darwin-arm64/package.json new/ast-grep-0.27.1+0/crates/napi/npm/darwin-arm64/package.json --- old/ast-grep-0.26.3+0/crates/napi/npm/darwin-arm64/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/napi/npm/darwin-arm64/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-darwin-arm64", - "version": "0.26.3", + "version": "0.27.1", "os": [ "darwin" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/napi/npm/darwin-x64/package.json new/ast-grep-0.27.1+0/crates/napi/npm/darwin-x64/package.json --- old/ast-grep-0.26.3+0/crates/napi/npm/darwin-x64/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/napi/npm/darwin-x64/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-darwin-x64", - "version": "0.26.3", + "version": "0.27.1", "os": [ "darwin" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/napi/npm/linux-arm64-gnu/package.json new/ast-grep-0.27.1+0/crates/napi/npm/linux-arm64-gnu/package.json --- old/ast-grep-0.26.3+0/crates/napi/npm/linux-arm64-gnu/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/napi/npm/linux-arm64-gnu/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-linux-arm64-gnu", - "version": "0.26.3", + "version": "0.27.1", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/napi/npm/linux-arm64-musl/package.json new/ast-grep-0.27.1+0/crates/napi/npm/linux-arm64-musl/package.json --- old/ast-grep-0.26.3+0/crates/napi/npm/linux-arm64-musl/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/napi/npm/linux-arm64-musl/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-linux-arm64-musl", - "version": "0.26.3", + "version": "0.27.1", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/napi/npm/linux-x64-gnu/package.json new/ast-grep-0.27.1+0/crates/napi/npm/linux-x64-gnu/package.json --- old/ast-grep-0.26.3+0/crates/napi/npm/linux-x64-gnu/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/napi/npm/linux-x64-gnu/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-linux-x64-gnu", - "version": "0.26.3", + "version": "0.27.1", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/napi/npm/linux-x64-musl/package.json new/ast-grep-0.27.1+0/crates/napi/npm/linux-x64-musl/package.json --- old/ast-grep-0.26.3+0/crates/napi/npm/linux-x64-musl/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/napi/npm/linux-x64-musl/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-linux-x64-musl", - "version": "0.26.3", + "version": "0.27.1", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/napi/npm/win32-arm64-msvc/package.json new/ast-grep-0.27.1+0/crates/napi/npm/win32-arm64-msvc/package.json --- old/ast-grep-0.26.3+0/crates/napi/npm/win32-arm64-msvc/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/napi/npm/win32-arm64-msvc/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-win32-arm64-msvc", - "version": "0.26.3", + "version": "0.27.1", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/napi/npm/win32-ia32-msvc/package.json new/ast-grep-0.27.1+0/crates/napi/npm/win32-ia32-msvc/package.json --- old/ast-grep-0.26.3+0/crates/napi/npm/win32-ia32-msvc/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/napi/npm/win32-ia32-msvc/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-win32-ia32-msvc", - "version": "0.26.3", + "version": "0.27.1", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/napi/npm/win32-x64-msvc/package.json new/ast-grep-0.27.1+0/crates/napi/npm/win32-x64-msvc/package.json --- old/ast-grep-0.26.3+0/crates/napi/npm/win32-x64-msvc/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/napi/npm/win32-x64-msvc/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi-win32-x64-msvc", - "version": "0.26.3", + "version": "0.27.1", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/napi/package.json new/ast-grep-0.27.1+0/crates/napi/package.json --- old/ast-grep-0.26.3+0/crates/napi/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/napi/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/napi", - "version": "0.26.3", + "version": "0.27.1", "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.3+0/crates/napi/src/napi_lang.rs new/ast-grep-0.27.1+0/crates/napi/src/napi_lang.rs --- old/ast-grep-0.26.3+0/crates/napi/src/napi_lang.rs 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/napi/src/napi_lang.rs 2024-09-08 17:35:13.000000000 +0200 @@ -37,6 +37,7 @@ Scala, Sql, Swift, + Yaml, } impl From<Lang> for SupportLang { @@ -68,6 +69,7 @@ F::Scala => S::Scala, F::Sql => S::Sql, F::Swift => S::Swift, + F::Yaml => S::Yaml, } } } @@ -101,6 +103,7 @@ S::Scala => F::Scala, S::Sql => F::Sql, S::Swift => F::Swift, + S::Yaml => F::Yaml, } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/crates/pyo3/pyproject.toml new/ast-grep-0.27.1+0/crates/pyo3/pyproject.toml --- old/ast-grep-0.26.3+0/crates/pyo3/pyproject.toml 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/crates/pyo3/pyproject.toml 2024-09-08 17:35:13.000000000 +0200 @@ -5,7 +5,7 @@ [project] name = "ast-grep-py" requires-python = ">=3.8" -version = "0.26.3" +version = "0.27.1" 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.3+0/npm/package.json new/ast-grep-0.27.1+0/npm/package.json --- old/ast-grep-0.26.3+0/npm/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/npm/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli", - "version": "0.26.3", + "version": "0.27.1", "publishConfig": { "access": "public" }, @@ -29,13 +29,13 @@ "postinstall": "node postinstall.js" }, "optionalDependencies": { - "@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" + "@ast-grep/cli-win32-arm64-msvc": "0.27.1", + "@ast-grep/cli-win32-ia32-msvc": "0.27.1", + "@ast-grep/cli-win32-x64-msvc": "0.27.1", + "@ast-grep/cli-darwin-arm64": "0.27.1", + "@ast-grep/cli-darwin-x64": "0.27.1", + "@ast-grep/cli-linux-arm64-gnu": "0.27.1", + "@ast-grep/cli-linux-x64-gnu": "0.27.1" }, "bin": { "sg": "sg", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/npm/platforms/darwin-arm64/package.json new/ast-grep-0.27.1+0/npm/platforms/darwin-arm64/package.json --- old/ast-grep-0.26.3+0/npm/platforms/darwin-arm64/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/npm/platforms/darwin-arm64/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-darwin-arm64", - "version": "0.26.3", + "version": "0.27.1", "os": [ "darwin" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/npm/platforms/darwin-x64/package.json new/ast-grep-0.27.1+0/npm/platforms/darwin-x64/package.json --- old/ast-grep-0.26.3+0/npm/platforms/darwin-x64/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/npm/platforms/darwin-x64/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-darwin-x64", - "version": "0.26.3", + "version": "0.27.1", "os": [ "darwin" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/npm/platforms/linux-arm64-gnu/package.json new/ast-grep-0.27.1+0/npm/platforms/linux-arm64-gnu/package.json --- old/ast-grep-0.26.3+0/npm/platforms/linux-arm64-gnu/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/npm/platforms/linux-arm64-gnu/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-linux-arm64-gnu", - "version": "0.26.3", + "version": "0.27.1", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/npm/platforms/linux-x64-gnu/package.json new/ast-grep-0.27.1+0/npm/platforms/linux-x64-gnu/package.json --- old/ast-grep-0.26.3+0/npm/platforms/linux-x64-gnu/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/npm/platforms/linux-x64-gnu/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-linux-x64-gnu", - "version": "0.26.3", + "version": "0.27.1", "os": [ "linux" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/npm/platforms/win32-arm64-msvc/package.json new/ast-grep-0.27.1+0/npm/platforms/win32-arm64-msvc/package.json --- old/ast-grep-0.26.3+0/npm/platforms/win32-arm64-msvc/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/npm/platforms/win32-arm64-msvc/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-win32-arm64-msvc", - "version": "0.26.3", + "version": "0.27.1", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/npm/platforms/win32-ia32-msvc/package.json new/ast-grep-0.27.1+0/npm/platforms/win32-ia32-msvc/package.json --- old/ast-grep-0.26.3+0/npm/platforms/win32-ia32-msvc/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/npm/platforms/win32-ia32-msvc/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-win32-ia32-msvc", - "version": "0.26.3", + "version": "0.27.1", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/npm/platforms/win32-x64-msvc/package.json new/ast-grep-0.27.1+0/npm/platforms/win32-x64-msvc/package.json --- old/ast-grep-0.26.3+0/npm/platforms/win32-x64-msvc/package.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/npm/platforms/win32-x64-msvc/package.json 2024-09-08 17:35:13.000000000 +0200 @@ -1,6 +1,6 @@ { "name": "@ast-grep/cli-win32-x64-msvc", - "version": "0.26.3", + "version": "0.27.1", "os": [ "win32" ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ast-grep-0.26.3+0/pyproject.toml new/ast-grep-0.27.1+0/pyproject.toml --- old/ast-grep-0.26.3+0/pyproject.toml 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/pyproject.toml 2024-09-08 17:35:13.000000000 +0200 @@ -4,7 +4,7 @@ [project] name = "ast-grep-cli" -version = "0.26.3" +version = "0.27.1" 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.3+0/renovate.json new/ast-grep-0.27.1+0/renovate.json --- old/ast-grep-0.26.3+0/renovate.json 2024-08-26 00:16:00.000000000 +0200 +++ new/ast-grep-0.27.1+0/renovate.json 2024-09-08 17:35:13.000000000 +0200 @@ -8,6 +8,5 @@ "matchUpdateTypes": ["patch", "pin", "digest"], "automerge": true } - ], - "schedule": ["every weekend"] -} + ] +} \ No newline at end of file ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/ast-grep/vendor.tar.zst /work/SRC/openSUSE:Factory/.ast-grep.new.10096/vendor.tar.zst differ: char 7, line 1