Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stylexjs/babel-plugin

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylexjs/babel-plugin - npm Package Compare versions

Comparing version 0.5.0-alpha.3 to 0.5.0-alpha.4

16

lib/utils/state-manager.d.ts

@@ -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;

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc