@stylexjs/babel-plugin
Advanced tools
Comparing version 0.5.0-alpha.3 to 0.5.0-alpha.4
@@ -17,2 +17,7 @@ /** | ||
} from '@stylexjs/shared'; | ||
import type { ImportOptions } from '@babel/helper-module-imports'; | ||
type ImportAdditionOptions = Omit< | ||
Partial<ImportOptions>, | ||
'ensureLiveReference' | 'ensureNoContext' | ||
>; | ||
export type ImportPathResolution = | ||
@@ -107,2 +112,13 @@ | false | ||
| Readonly<{ from: string; as?: null | undefined | string }>; | ||
addNamedImport( | ||
statementPath: NodePath, | ||
as: string, | ||
from: string, | ||
options: ImportAdditionOptions, | ||
): t.Identifier; | ||
addDefaultImport( | ||
statementPath: NodePath, | ||
from: string, | ||
options: ImportAdditionOptions, | ||
): t.Identifier; | ||
get isDev(): boolean; | ||
@@ -109,0 +125,0 @@ get isTest(): boolean; |
{ | ||
"name": "@stylexjs/babel-plugin", | ||
"version": "0.5.0-alpha.3", | ||
"version": "0.5.0-alpha.4", | ||
"description": "StyleX babel plugin.", | ||
@@ -16,4 +16,4 @@ "main": "lib/index.js", | ||
"@babel/helper-module-imports": "^7.22.15", | ||
"@stylexjs/shared": "0.5.0-alpha.3", | ||
"@stylexjs/stylex": "0.5.0-alpha.3", | ||
"@stylexjs/shared": "0.5.0-alpha.4", | ||
"@stylexjs/stylex": "0.5.0-alpha.4", | ||
"@babel/core": "^7.23.6", | ||
@@ -20,0 +20,0 @@ "@babel/traverse": "^7.23.6", |
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
577365
7307
+ Added@stylexjs/shared@0.5.0-alpha.4(transitive)
+ Added@stylexjs/stylex@0.5.0-alpha.4(transitive)
- Removed@stylexjs/shared@0.5.0-alpha.3(transitive)
- Removed@stylexjs/stylex@0.5.0-alpha.3(transitive)