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.8.0 to 0.9.0-beta.1

20

lib/visitors/stylex-create/parse-stylex-create-arg.d.ts

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

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