@stylexjs/rollup-plugin 0.10.0 → 0.11.0
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.
|
@@ -235,7 +235,7 @@ declare export class Binding {
|
|
|
235
235
|
type _VisitorNodeKeys<S: object> = {
|
|
236
236
|
+[K in keyof t._NodeMap]: ?VisitNode<S, t._NodeMap[K]>,
|
|
237
237
|
};
|
|
238
|
-
type
|
|
238
|
+
type _VisitorAliases<S: object> = {
|
|
239
239
|
+[K in keyof t.Aliases]: ?VisitNode<S, t.Aliases[K]>,
|
|
240
240
|
};
|
|
241
241
|
|
|
@@ -243,7 +243,7 @@ export type Visitor<S: object = object> = $ReadOnly<
|
|
|
243
243
|
Partial<{
|
|
244
244
|
...VisitNodeObject<S, Node>,
|
|
245
245
|
..._VisitorNodeKeys<S>,
|
|
246
|
-
...
|
|
246
|
+
..._VisitorAliases<S>,
|
|
247
247
|
}>,
|
|
248
248
|
>;
|
|
249
249
|
|
|
@@ -307,8 +307,8 @@ declare export class NodePath<+T: Node = Node> {
|
|
|
307
307
|
type: T extends null | void
|
|
308
308
|
? void
|
|
309
309
|
: T extends Node
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
? T['type']
|
|
311
|
+
: string | void;
|
|
312
312
|
|
|
313
313
|
typeAnnotation: { ... };
|
|
314
314
|
|
|
@@ -996,7 +996,7 @@ export type NodePathResult<T: Node | $ReadOnlyArray<Node>> =
|
|
|
996
996
|
T extends $ReadOnlyArray<infer TNode>
|
|
997
997
|
? $ReadOnlyArray<NodePath<TNode>>
|
|
998
998
|
: T extends null | void
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
999
|
+
? void
|
|
1000
|
+
: T extends Node
|
|
1001
|
+
? NodePath<T>
|
|
1002
|
+
: T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylexjs/rollup-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Rollup plugin for StyleX",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/es/index.mjs",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"testEnvironment": "node"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@babel/core": "^7.
|
|
35
|
-
"@babel/plugin-syntax-flow": "^7.
|
|
36
|
-
"@babel/plugin-syntax-jsx": "^7.25.
|
|
37
|
-
"@babel/plugin-syntax-typescript": "^7.25.
|
|
38
|
-
"@stylexjs/babel-plugin": "0.
|
|
39
|
-
"lightningcss": "^1.
|
|
34
|
+
"@babel/core": "^7.26.8",
|
|
35
|
+
"@babel/plugin-syntax-flow": "^7.26.0",
|
|
36
|
+
"@babel/plugin-syntax-jsx": "^7.25.9",
|
|
37
|
+
"@babel/plugin-syntax-typescript": "^7.25.9",
|
|
38
|
+
"@stylexjs/babel-plugin": "0.11.0",
|
|
39
|
+
"lightningcss": "^1.29.1"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
42
|
"flow_modules/*",
|