pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ast-grep: update to 0.16.0.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Sun Dec 31 09:34:34 2023 +0100
Changeset:	b7d91e349b0dac549d447a73305551a96d4984b2

Modified Files:
	ast-grep/Makefile
	ast-grep/cargo-depends.mk
	ast-grep/distinfo

Log Message:
ast-grep: update to 0.16.0.

- feat: add language globs to findInFiles in napi [`#780`]
- **Breaking change:** fix: rename MetaVar for better naming [`#805`]
- refactor: reorgnanize napi file structure [`93f8577`]
- refactor: move file type related function out of lib [`64e33a3`]
- feat: handle FileOption in LangOption::infer [`7bc3efe`]

> 17 December 2023

- feat: support mutliple rules in -r and --inline-rules [`#786`]
- refactor: unify run_worker and run_std_in [`#785`]
- **Breaking change:** feat: --stdin now always awaits user input [`#791`]
- feat: support --inline-rules option for sg scan [`#396`]
- refactor: separate PathWorker and StdInWorker and Worker [`ef3d8ad`]
- test: add test cases for sg scan [`ed35c71`]
- fix: revert github action [`a2f22d8`]

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b7d91e349b0dac549d447a73305551a96d4984b2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ast-grep/Makefile         |  2 +-
 ast-grep/cargo-depends.mk | 12 ++++++------
 ast-grep/distinfo         | 42 +++++++++++++++++++++---------------------
 3 files changed, 28 insertions(+), 28 deletions(-)

diffs:
diff --git a/ast-grep/Makefile b/ast-grep/Makefile
index 8244e271db..a6bc061c9a 100644
--- a/ast-grep/Makefile
+++ b/ast-grep/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	ast-grep-0.15.0
+DISTNAME=	ast-grep-0.16.0
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=ast-grep/}
 
diff --git a/ast-grep/cargo-depends.mk b/ast-grep/cargo-depends.mk
index beed25370c..b4662af7a0 100644
--- a/ast-grep/cargo-depends.mk
+++ b/ast-grep/cargo-depends.mk
@@ -8,7 +8,7 @@ CARGO_CRATE_DEPENDS+=	anstyle-1.0.0
 CARGO_CRATE_DEPENDS+=	anstyle-parse-0.2.0
 CARGO_CRATE_DEPENDS+=	anstyle-query-1.0.0
 CARGO_CRATE_DEPENDS+=	anstyle-wincon-3.0.1
-CARGO_CRATE_DEPENDS+=	anyhow-1.0.75
+CARGO_CRATE_DEPENDS+=	anyhow-1.0.76
 CARGO_CRATE_DEPENDS+=	assert_cmd-2.0.12
 CARGO_CRATE_DEPENDS+=	ast-grep-tree-sitter-c-sharp-0.20.0
 CARGO_CRATE_DEPENDS+=	async-trait-0.1.57
@@ -97,8 +97,8 @@ CARGO_CRATE_DEPENDS+=	memoffset-0.9.0
 CARGO_CRATE_DEPENDS+=	mio-0.8.4
 CARGO_CRATE_DEPENDS+=	napi-2.14.1
 CARGO_CRATE_DEPENDS+=	napi-build-2.0.1
-CARGO_CRATE_DEPENDS+=	napi-derive-2.14.2
-CARGO_CRATE_DEPENDS+=	napi-derive-backend-1.0.55
+CARGO_CRATE_DEPENDS+=	napi-derive-2.14.4
+CARGO_CRATE_DEPENDS+=	napi-derive-backend-1.0.57
 CARGO_CRATE_DEPENDS+=	napi-sys-2.3.0
 CARGO_CRATE_DEPENDS+=	newline-converter-0.2.2
 CARGO_CRATE_DEPENDS+=	normalize-line-endings-0.3.0
@@ -149,7 +149,7 @@ CARGO_CRATE_DEPENDS+=	serde_derive-1.0.190
 CARGO_CRATE_DEPENDS+=	serde_derive_internals-0.26.0
 CARGO_CRATE_DEPENDS+=	serde_json-1.0.108
 CARGO_CRATE_DEPENDS+=	serde_repr-0.1.9
-CARGO_CRATE_DEPENDS+=	serde_yaml-0.9.27
+CARGO_CRATE_DEPENDS+=	serde_yaml-0.9.29
 CARGO_CRATE_DEPENDS+=	signal-hook-0.3.17
 CARGO_CRATE_DEPENDS+=	signal-hook-mio-0.2.3
 CARGO_CRATE_DEPENDS+=	signal-hook-registry-1.4.0
@@ -188,7 +188,7 @@ CARGO_CRATE_DEPENDS+=	tree-sitter-dart-0.0.3
 CARGO_CRATE_DEPENDS+=	tree-sitter-elixir-0.1.1
 CARGO_CRATE_DEPENDS+=	tree-sitter-facade-sg-0.9.2
 CARGO_CRATE_DEPENDS+=	tree-sitter-go-0.20.0
-CARGO_CRATE_DEPENDS+=	tree-sitter-html-0.19.0
+CARGO_CRATE_DEPENDS+=	tree-sitter-html-dvdb-0.20.0
 CARGO_CRATE_DEPENDS+=	tree-sitter-java-0.20.2
 CARGO_CRATE_DEPENDS+=	tree-sitter-javascript-0.20.1
 CARGO_CRATE_DEPENDS+=	tree-sitter-json-0.20.1
@@ -207,7 +207,7 @@ CARGO_CRATE_DEPENDS+=	unicode-normalization-0.1.21
 CARGO_CRATE_DEPENDS+=	unicode-segmentation-1.10.0
 CARGO_CRATE_DEPENDS+=	unicode-width-0.1.9
 CARGO_CRATE_DEPENDS+=	unindent-0.2.3
-CARGO_CRATE_DEPENDS+=	unsafe-libyaml-0.2.7
+CARGO_CRATE_DEPENDS+=	unsafe-libyaml-0.2.10
 CARGO_CRATE_DEPENDS+=	url-2.2.2
 CARGO_CRATE_DEPENDS+=	utf8parse-0.2.1
 CARGO_CRATE_DEPENDS+=	version_check-0.9.4
diff --git a/ast-grep/distinfo b/ast-grep/distinfo
index c418804f9e..b9237e89af 100644
--- a/ast-grep/distinfo
+++ b/ast-grep/distinfo
@@ -24,15 +24,15 @@ Size (anstyle-query-1.0.0.crate) = 8620 bytes
 BLAKE2s (anstyle-wincon-3.0.1.crate) = 80d0249a4482d400a41ccf4e9a5a75a8064a17d6e511544bac9e6982fdeba566
 SHA512 (anstyle-wincon-3.0.1.crate) = 75ab14081b09e031ee0f559538976f39092aaeb6f561a56de83d12911cc2b45e28eec21068792c86a61e344021921ab55e7139ca79acec78e7d4a796dfa42a2e
 Size (anstyle-wincon-3.0.1.crate) = 11279 bytes
-BLAKE2s (anyhow-1.0.75.crate) = 82eb61a2b9353013c15eea5c839813e56b08c252eec4d50c78725c7956e37328
-SHA512 (anyhow-1.0.75.crate) = 190d6be8ede0af9808210db53e4dc31ce69b126a26b0357220c4705a11e83cab2c2c09c59964a35794f3c434f717eaa6bb669e9e8f16012535c14246b17e8d40
-Size (anyhow-1.0.75.crate) = 43901 bytes
+BLAKE2s (anyhow-1.0.76.crate) = 2b3d639492bbebe659c2d46cb18e9468a5d35ca44b9e1f50ad4c0ebd937f01df
+SHA512 (anyhow-1.0.76.crate) = 53f2240f952fd806ad0f247b1ee26f988cb8e237e067ddaa12e67efc8d2477ecc5eea0e7fbe59a7f35935185238b184860e3c594c67a96856b0c6407a09cad55
+Size (anyhow-1.0.76.crate) = 44259 bytes
 BLAKE2s (assert_cmd-2.0.12.crate) = 4a76f6560524e2c8e5e88fb502003bb39ba568bfb91f8e48e0717a22ca693121
 SHA512 (assert_cmd-2.0.12.crate) = d14783933521ffbcc0bcad8e52e7e0e4fb58cb609123b2a50e20dbee10d7f2df4eb020cdfde386c8cde6b7e0696a3f98e0dbd698c82c99a2c6903c437ec907e4
 Size (assert_cmd-2.0.12.crate) = 25347 bytes
-BLAKE2s (ast-grep-0.15.0.tar.gz) = feec09f84db7124dad21f195a323eb67971005909811db21f295464e5b5d2dbc
-SHA512 (ast-grep-0.15.0.tar.gz) = 4f94696a0d59c9ace73d3b6f8f12860e4c1a9ec4e6b1806e6cdd4319284d2195bfdc4d55894593786061ddb6eebad1b11533eb2ee36bf08b39f2ef90523078dd
-Size (ast-grep-0.15.0.tar.gz) = 797589 bytes
+BLAKE2s (ast-grep-0.16.0.tar.gz) = 671658f3f979d50ece2daea0d923561cea8355e8e1aaa5cc4ceed808485242cd
+SHA512 (ast-grep-0.16.0.tar.gz) = f456367b1b255cc1e5b15a001b228883a1182c28b20bac0755cf3fdc65bb8a705acd5c93cc7f38343e897af43c19cc73631095f83b56d2563d7a375f31b1896a
+Size (ast-grep-0.16.0.tar.gz) = 801819 bytes
 BLAKE2s (ast-grep-tree-sitter-c-sharp-0.20.0.crate) = f1958f1f71f362d0922fbc0308951dd2314e40bef1e65ac3e93f576970bf6819
 SHA512 (ast-grep-tree-sitter-c-sharp-0.20.0.crate) = bb4d4f79cdeb454fa2408278d669f44165fb0fa75ecba2509122c4cf4ca8ebf66ed8fb3ea19e8c70dcfbf9c8b1503d32c906969414ea67f9257a8bf3de40b592
 Size (ast-grep-tree-sitter-c-sharp-0.20.0.crate) = 908593 bytes
@@ -294,12 +294,12 @@ Size (napi-2.14.1.crate) = 80886 bytes
 BLAKE2s (napi-build-2.0.1.crate) = 7a40c0fd45107685d19dc8dd4bb07e0c395ec68d348cc9871d26d6fd2808ff7e
 SHA512 (napi-build-2.0.1.crate) = 175b3088cdec11edace063b829fbf987771d6d32b2f37b082dd8bdc627e734d3dcc6bd069cb23ad4476a6297125d1f579560e97c89cd7a9734f073825e1d7ad9
 Size (napi-build-2.0.1.crate) = 1686 bytes
-BLAKE2s (napi-derive-2.14.2.crate) = e1a3cf2cb05496da1a6699edbb94dcf563a9edc13c9900531e39a1e01e8c326f
-SHA512 (napi-derive-2.14.2.crate) = d7ee30bb56913732aea92620e77b7a56d680282754c708116101fbf1f58c9f51d0f3eff38605337687c2c99603ec78e551bac797e8e0b3a845ab444a0049db86
-Size (napi-derive-2.14.2.crate) = 16037 bytes
-BLAKE2s (napi-derive-backend-1.0.55.crate) = dc4b4def8ef4754cd87771dd34c8b9cf587a342ae31f7286b845d4700a634114
-SHA512 (napi-derive-backend-1.0.55.crate) = 39b123faec41821816880ce972f5dcaa397aa56ee4c302bd74d3b360246701bb648754ad2bee0fa0c8783afa1342b7fdc7444bba2e41ae89174243a9eca7144d
-Size (napi-derive-backend-1.0.55.crate) = 20325 bytes
+BLAKE2s (napi-derive-2.14.4.crate) = 0b564f8f8d65f43d4083e44d2c94cf1a58c83702c9ba3d423b79f13273dc9014
+SHA512 (napi-derive-2.14.4.crate) = 7128f4698f1896768229cc93ca5356740c79d33295c55006f1b838ae5b1fff13789b448dee22c58b3997fe00e699038568f9172fc89a544e372f9fe9e55be70c
+Size (napi-derive-2.14.4.crate) = 16223 bytes
+BLAKE2s (napi-derive-backend-1.0.57.crate) = 6794974a4033a693047545d7fc1605026380c3d1ecf897d88869326344dcc431
+SHA512 (napi-derive-backend-1.0.57.crate) = 562e3d3693b8d61a549d5cab3c4b9b8dce6a6d6466863281b7e05da7e41e8d73a99d1268d409371e9b2641130408c6d300258e77af68464f02c4481c97d6ec90
+Size (napi-derive-backend-1.0.57.crate) = 20185 bytes
 BLAKE2s (napi-sys-2.3.0.crate) = 1e66809bd57bd21f10a5025cf63f0ba2c57b8c72dde5734f813c41a6bd5d6659
 SHA512 (napi-sys-2.3.0.crate) = 5139146745ac21bc40daf673b7e67a16b889bff87f34293f0ae867760cc76d0ea937048c8df3c9bea09e034dc2c1ffbbd242ea1ca66bc85e788ea30b84b98ad6
 Size (napi-sys-2.3.0.crate) = 6524 bytes
@@ -450,9 +450,9 @@ Size (serde_json-1.0.108.crate) = 146476 bytes
 BLAKE2s (serde_repr-0.1.9.crate) = 9c42b2636359ee2b9a75068589b4ff5ad811e93cf7ac9028621a4b10f77c9a8d
 SHA512 (serde_repr-0.1.9.crate) = 987d197c4e8326853281f4f8e3f1831c4591d0687429fc08191a1d39edf88261668047100156fe08b2beddc3b01fdcaba5a2a4e45eddffd19fe5cf3e6052f2bc
 Size (serde_repr-0.1.9.crate) = 9695 bytes
-BLAKE2s (serde_yaml-0.9.27.crate) = dc41eb1954ca0783e3e6277a6430aaf9fd5251cca554ab09139b8edb487ae173
-SHA512 (serde_yaml-0.9.27.crate) = 661b6a796caa3da6fabc3b24e798f9608c97706d49f64f05b8e046d40fd7c5e60ac66c3a88d399fdcd7eb2c71f3b6cec0104bdaf46870404e938b08fd55c7ea5
-Size (serde_yaml-0.9.27.crate) = 64781 bytes
+BLAKE2s (serde_yaml-0.9.29.crate) = 68ac6f2d73ec0397fc6fe4034a2e46e770a5bbd6ba20796348559c1822a631e2
+SHA512 (serde_yaml-0.9.29.crate) = ab1f915196e47f2853e1d622a64d39e245dcf9d26084fbeb37116d35f25d4cf716ee55bb19cb15b7bc780323d6d4e599d14c3ff11d5e19e430e7953113d7556d
+Size (serde_yaml-0.9.29.crate) = 64840 bytes
 BLAKE2s (signal-hook-0.3.17.crate) = e706055e3a219a72e617897325bc4a0e06002ae3814e982b33461274cf45ad1d
 SHA512 (signal-hook-0.3.17.crate) = 045ac6268e504c5561d3884610a48c930dfd936086f793839f42602e92e4a8cef289955776e8eba8a5ca1a91b5f27ccb3724f49b32091f8f06c8bde984d82298
 Size (signal-hook-0.3.17.crate) = 50296 bytes
@@ -567,9 +567,9 @@ Size (tree-sitter-facade-sg-0.9.2.crate) = 55211 bytes
 BLAKE2s (tree-sitter-go-0.20.0.crate) = 2ab90b08d501fe27430409d475c9a736455a95759c4e375e910a62f651f1da5a
 SHA512 (tree-sitter-go-0.20.0.crate) = 883f2e4a8067161f0fe39be86cbde51e069d6a5df04cb57c72aefe74569f09f2fe86737886995899fce33b33d8f6177d24f7332b00edbfb326e694a22dbec25a
 Size (tree-sitter-go-0.20.0.crate) = 114150 bytes
-BLAKE2s (tree-sitter-html-0.19.0.crate) = c525d775193c39357f7bc7d4f85a72067f6486c6f4b4017ede7c4c7428999eef
-SHA512 (tree-sitter-html-0.19.0.crate) = e522af40826b7a87f2d0df9554d78af0a65020c2e7510deda33a18fce4409370989180b4144e3cf943482dc1487a27e82e839aaa4c0895c1f73b59b27a3741f4
-Size (tree-sitter-html-0.19.0.crate) = 15023 bytes
+BLAKE2s (tree-sitter-html-dvdb-0.20.0.crate) = 9006f3841c2c8f2bf7d69db40f1e97ee364cd000eea2fed3174a9619fd16a948
+SHA512 (tree-sitter-html-dvdb-0.20.0.crate) = 962af4ff695e8d631897dd2390f643ea915e338a4ceb2d900655c58de1fb168908d1c98defb5aff249324189e7c6d4aeab92273b110fe1b2e5c7f7787413ec15
+Size (tree-sitter-html-dvdb-0.20.0.crate) = 17917 bytes
 BLAKE2s (tree-sitter-java-0.20.2.crate) = 7e709be449973ad8900909c1f9cae7243df9bff72a8122a2642d17cc07d7e1a7
 SHA512 (tree-sitter-java-0.20.2.crate) = 7788ade2a2dd03b159adb081558447831c53370e63c7bf6273fa771d23499f5316192afa1f8745dc09609c951aae2e502f37a7a15d95fe3b39548ade36664e09
 Size (tree-sitter-java-0.20.2.crate) = 159025 bytes
@@ -624,9 +624,9 @@ Size (unicode-width-0.1.9.crate) = 16745 bytes
 BLAKE2s (unindent-0.2.3.crate) = 83b349c1dfae313cf87d9c5f41a8e45a63fd3fc4f54804675d1a924be8c1f2cf
 SHA512 (unindent-0.2.3.crate) = 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505
 Size (unindent-0.2.3.crate) = 7306 bytes
-BLAKE2s (unsafe-libyaml-0.2.7.crate) = 2ec845474d858251d6ee9246be4835de2de2df1d2400123b58f2128c06b50c48
-SHA512 (unsafe-libyaml-0.2.7.crate) = 61d5d9ee537316295cb441f82cf9da49dbc3d6da0c6b009ed29de50800866ec082ad184701cfd65e8fb08080a39ded284008065fce75c482ce325280bc7b289f
-Size (unsafe-libyaml-0.2.7.crate) = 61483 bytes
+BLAKE2s (unsafe-libyaml-0.2.10.crate) = a2c3652ae346cbeeffc9424fc45da76db900eef2447ca575e1958183af14bcad
+SHA512 (unsafe-libyaml-0.2.10.crate) = 9989fd93105ae343ce3ed097fc66e62ad9fcb64b8ace4ac2f7bcd374782f9919082ba0bc0f246a9a7071c35172f08953560a8108553076a819d9d1d7dce9a5aa
+Size (unsafe-libyaml-0.2.10.crate) = 61964 bytes
 BLAKE2s (url-2.2.2.crate) = da92f066a903f6e41cc3175d605393f0243ebd8c0a6ec8bfedf53ea619feac86
 SHA512 (url-2.2.2.crate) = f9b6ad99d69ff303283b3fd9e98945fbd6cb411a3d141badcbb3a0566723a451375e6dd5d5357e3eb7a1b5b1ee5756a2347c43817db2de6fe35b9004b090e077
 Size (url-2.2.2.crate) = 68555 bytes


Home | Main Index | Thread Index | Old Index