@ast-grep/napi 0.39.5 → 0.39.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lang/Css.d.ts +97 -7
- package/package.json +16 -16
package/lang/Css.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Auto-generated from tree-sitter Css v0.
|
|
1
|
+
// Auto-generated from tree-sitter Css v0.25.0
|
|
2
2
|
type CssTypes = {
|
|
3
3
|
"adjacent_sibling_selector": {
|
|
4
4
|
"type": "adjacent_sibling_selector",
|
|
@@ -517,6 +517,10 @@ type CssTypes = {
|
|
|
517
517
|
"type": "rule_set",
|
|
518
518
|
"named": true
|
|
519
519
|
},
|
|
520
|
+
{
|
|
521
|
+
"type": "scope_statement",
|
|
522
|
+
"named": true
|
|
523
|
+
},
|
|
520
524
|
{
|
|
521
525
|
"type": "supports_statement",
|
|
522
526
|
"named": true
|
|
@@ -1476,6 +1480,10 @@ type CssTypes = {
|
|
|
1476
1480
|
"type": "important",
|
|
1477
1481
|
"named": true
|
|
1478
1482
|
},
|
|
1483
|
+
{
|
|
1484
|
+
"type": "important_value",
|
|
1485
|
+
"named": true
|
|
1486
|
+
},
|
|
1479
1487
|
{
|
|
1480
1488
|
"type": "integer_value",
|
|
1481
1489
|
"named": true
|
|
@@ -1660,6 +1668,77 @@ type CssTypes = {
|
|
|
1660
1668
|
]
|
|
1661
1669
|
}
|
|
1662
1670
|
},
|
|
1671
|
+
"scope_statement": {
|
|
1672
|
+
"type": "scope_statement",
|
|
1673
|
+
"named": true,
|
|
1674
|
+
"fields": {},
|
|
1675
|
+
"children": {
|
|
1676
|
+
"multiple": true,
|
|
1677
|
+
"required": true,
|
|
1678
|
+
"types": [
|
|
1679
|
+
{
|
|
1680
|
+
"type": "adjacent_sibling_selector",
|
|
1681
|
+
"named": true
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"type": "attribute_selector",
|
|
1685
|
+
"named": true
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"type": "block",
|
|
1689
|
+
"named": true
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"type": "child_selector",
|
|
1693
|
+
"named": true
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"type": "class_selector",
|
|
1697
|
+
"named": true
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"type": "descendant_selector",
|
|
1701
|
+
"named": true
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
"type": "id_selector",
|
|
1705
|
+
"named": true
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"type": "namespace_selector",
|
|
1709
|
+
"named": true
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"type": "nesting_selector",
|
|
1713
|
+
"named": true
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"type": "pseudo_class_selector",
|
|
1717
|
+
"named": true
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
"type": "pseudo_element_selector",
|
|
1721
|
+
"named": true
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"type": "sibling_selector",
|
|
1725
|
+
"named": true
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"type": "string_value",
|
|
1729
|
+
"named": true
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"type": "tag_name",
|
|
1733
|
+
"named": true
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
"type": "universal_selector",
|
|
1737
|
+
"named": true
|
|
1738
|
+
}
|
|
1739
|
+
]
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1663
1742
|
"selector_query": {
|
|
1664
1743
|
"type": "selector_query",
|
|
1665
1744
|
"named": true,
|
|
@@ -1921,6 +2000,10 @@ type CssTypes = {
|
|
|
1921
2000
|
"type": "rule_set",
|
|
1922
2001
|
"named": true
|
|
1923
2002
|
},
|
|
2003
|
+
{
|
|
2004
|
+
"type": "scope_statement",
|
|
2005
|
+
"named": true
|
|
2006
|
+
},
|
|
1924
2007
|
{
|
|
1925
2008
|
"type": "supports_statement",
|
|
1926
2009
|
"named": true
|
|
@@ -1967,6 +2050,11 @@ type CssTypes = {
|
|
|
1967
2050
|
]
|
|
1968
2051
|
}
|
|
1969
2052
|
},
|
|
2053
|
+
"to": {
|
|
2054
|
+
"type": "to",
|
|
2055
|
+
"named": true,
|
|
2056
|
+
"fields": {}
|
|
2057
|
+
},
|
|
1970
2058
|
"unary_query": {
|
|
1971
2059
|
"type": "unary_query",
|
|
1972
2060
|
"named": true,
|
|
@@ -2013,7 +2101,8 @@ type CssTypes = {
|
|
|
2013
2101
|
},
|
|
2014
2102
|
"comment": {
|
|
2015
2103
|
"type": "comment",
|
|
2016
|
-
"named": true
|
|
2104
|
+
"named": true,
|
|
2105
|
+
"extra": true
|
|
2017
2106
|
},
|
|
2018
2107
|
"escape_sequence": {
|
|
2019
2108
|
"type": "escape_sequence",
|
|
@@ -2043,9 +2132,14 @@ type CssTypes = {
|
|
|
2043
2132
|
"type": "important",
|
|
2044
2133
|
"named": true
|
|
2045
2134
|
},
|
|
2135
|
+
"important_value": {
|
|
2136
|
+
"type": "important_value",
|
|
2137
|
+
"named": true
|
|
2138
|
+
},
|
|
2046
2139
|
"js_comment": {
|
|
2047
2140
|
"type": "js_comment",
|
|
2048
|
-
"named": true
|
|
2141
|
+
"named": true,
|
|
2142
|
+
"extra": true
|
|
2049
2143
|
},
|
|
2050
2144
|
"keyframes_name": {
|
|
2051
2145
|
"type": "keyframes_name",
|
|
@@ -2079,10 +2173,6 @@ type CssTypes = {
|
|
|
2079
2173
|
"type": "tag_name",
|
|
2080
2174
|
"named": true
|
|
2081
2175
|
},
|
|
2082
|
-
"to": {
|
|
2083
|
-
"type": "to",
|
|
2084
|
-
"named": true
|
|
2085
|
-
},
|
|
2086
2176
|
"unit": {
|
|
2087
2177
|
"type": "unit",
|
|
2088
2178
|
"named": true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ast-grep/napi",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.6",
|
|
4
4
|
"description": "Search and Rewrite code at large scale using precise AST pattern",
|
|
5
5
|
"homepage": "https://ast-grep.github.io",
|
|
6
6
|
"main": "index.js",
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
"typegen": "ts-node scripts/generateTypes.ts"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@ast-grep/napi": "0.39.
|
|
58
|
-
"@napi-rs/cli": "3.
|
|
57
|
+
"@ast-grep/napi": "0.39.5",
|
|
58
|
+
"@napi-rs/cli": "3.3.0",
|
|
59
59
|
"@types/node": "^22.10.2",
|
|
60
|
-
"oxlint": "1.
|
|
60
|
+
"oxlint": "1.19.0",
|
|
61
61
|
"ava": "6.4.1",
|
|
62
|
-
"chalk": "5.6.
|
|
63
|
-
"dprint": "0.50.
|
|
62
|
+
"chalk": "5.6.2",
|
|
63
|
+
"dprint": "0.50.2",
|
|
64
64
|
"smol-toml": "^1.3.1",
|
|
65
65
|
"ts-node": "10.9.2",
|
|
66
|
-
"typescript": "5.9.
|
|
66
|
+
"typescript": "5.9.3"
|
|
67
67
|
},
|
|
68
68
|
"ava": {
|
|
69
69
|
"require": [
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"optionalDependencies": {
|
|
82
|
-
"@ast-grep/napi-linux-x64-gnu": "0.39.
|
|
83
|
-
"@ast-grep/napi-win32-x64-msvc": "0.39.
|
|
84
|
-
"@ast-grep/napi-darwin-x64": "0.39.
|
|
85
|
-
"@ast-grep/napi-win32-ia32-msvc": "0.39.
|
|
86
|
-
"@ast-grep/napi-darwin-arm64": "0.39.
|
|
87
|
-
"@ast-grep/napi-win32-arm64-msvc": "0.39.
|
|
88
|
-
"@ast-grep/napi-linux-arm64-gnu": "0.39.
|
|
89
|
-
"@ast-grep/napi-linux-arm64-musl": "0.39.
|
|
90
|
-
"@ast-grep/napi-linux-x64-musl": "0.39.
|
|
82
|
+
"@ast-grep/napi-linux-x64-gnu": "0.39.6",
|
|
83
|
+
"@ast-grep/napi-win32-x64-msvc": "0.39.6",
|
|
84
|
+
"@ast-grep/napi-darwin-x64": "0.39.6",
|
|
85
|
+
"@ast-grep/napi-win32-ia32-msvc": "0.39.6",
|
|
86
|
+
"@ast-grep/napi-darwin-arm64": "0.39.6",
|
|
87
|
+
"@ast-grep/napi-win32-arm64-msvc": "0.39.6",
|
|
88
|
+
"@ast-grep/napi-linux-arm64-gnu": "0.39.6",
|
|
89
|
+
"@ast-grep/napi-linux-arm64-musl": "0.39.6",
|
|
90
|
+
"@ast-grep/napi-linux-x64-musl": "0.39.6"
|
|
91
91
|
}
|
|
92
92
|
}
|