@stylexjs/babel-plugin
Advanced tools
Comparing version 0.8.0 to 0.9.0-beta.1
@@ -14,2 +14,15 @@ /** | ||
import { type FunctionConfig } from '../../utils/evaluate-path'; | ||
type TInlineStyles = { | ||
[$$Key$$: string]: { | ||
readonly path: ReadonlyArray<string>; | ||
readonly originalExpression: t.Expression; | ||
readonly expression: t.Expression | t.PatternLike; | ||
}; | ||
}; | ||
type DynamicFns = { | ||
[$$Key$$: string]: readonly [ | ||
params: Array<t.Identifier>, | ||
inlineStyles: Readonly<TInlineStyles>, | ||
]; | ||
}; | ||
export declare function evaluateStyleXCreateArg( | ||
@@ -23,8 +36,3 @@ path: NodePath, | ||
deopt?: null | NodePath; | ||
fns?: { | ||
[$$Key$$: string]: [ | ||
Array<t.Identifier>, | ||
{ readonly [$$Key$$: string]: t.Expression | t.PatternLike }, | ||
]; | ||
}; | ||
fns?: DynamicFns; | ||
}>; |
{ | ||
"name": "@stylexjs/babel-plugin", | ||
"version": "0.8.0", | ||
"version": "0.9.0-beta.1", | ||
"description": "StyleX babel plugin.", | ||
@@ -17,7 +17,8 @@ "main": "lib/index.js", | ||
"@babel/helper-module-imports": "^7.22.15", | ||
"@stylexjs/shared": "0.8.0", | ||
"@stylexjs/stylex": "0.8.0", | ||
"@babel/core": "^7.23.6", | ||
"@babel/traverse": "^7.23.6", | ||
"@babel/types": "^7.23.6" | ||
"@stylexjs/shared": "0.9.0-beta.1", | ||
"@stylexjs/stylex": "0.9.0-beta.1", | ||
"@babel/core": "^7.25.8", | ||
"@babel/traverse": "^7.25.7", | ||
"@babel/types": "^7.25.8", | ||
"esm-resolve": "^1.0.11" | ||
}, | ||
@@ -24,0 +25,0 @@ "jest": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
605557
7914
7
+ Addedesm-resolve@^1.0.11
+ Added@stylexjs/shared@0.9.0-beta.1(transitive)
+ Added@stylexjs/stylex@0.9.0-beta.1(transitive)
+ Addedesm-resolve@1.0.11(transitive)
- Removed@stylexjs/shared@0.8.0(transitive)
- Removed@stylexjs/stylex@0.8.0(transitive)
Updated@babel/core@^7.25.8
Updated@babel/traverse@^7.25.7
Updated@babel/types@^7.25.8