New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@stylexjs/shared

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylexjs/shared - npm Package Compare versions

Comparing version

to
0.10.1

2

lib/convert-to-className.js

@@ -25,3 +25,3 @@ "use strict";

const [key, rawValue] = objEntry;
const dashedKey = (0, _dashify.default)(key);
const dashedKey = key.startsWith('--') ? key : (0, _dashify.default)(key);
let value = Array.isArray(rawValue) ? rawValue.map(eachValue => (0, _transformValue.default)(key, eachValue, options)) : (0, _transformValue.default)(key, rawValue, options);

@@ -28,0 +28,0 @@ if (Array.isArray(value) && value.find(val => val.startsWith('var(') && val.endsWith(')'))) {

{
"name": "@stylexjs/shared",
"version": "0.10.0",
"version": "0.10.1",
"main": "lib/index.js",

@@ -16,3 +16,3 @@ "repository": "https://www.github.com/facebook/stylex",

"devDependencies": {
"@stylexjs/scripts": "0.10.0"
"@stylexjs/scripts": "0.10.1"
},

@@ -19,0 +19,0 @@ "jest": {