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

@stylexjs/shared

Package Overview
Dependencies
Maintainers
0
Versions
51
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 0.6.1 to 0.7.0

2

lib/stylex-define-vars.js

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

const variablesMap = (0, _objectUtils.objMap)(variables, (value, key) => {
const nameHash = classNamePrefix + (0, _hash.default)(`${themeName}.${key}`);
const nameHash = key.startsWith('--') ? key.slice(2) : classNamePrefix + (0, _hash.default)(`${themeName}.${key}`);
if ((0, _types.isCSSType)(value)) {

@@ -27,0 +27,0 @@ const v = value;

@@ -12,2 +12,3 @@ 'use strict';

var _whitespace = _interopRequireDefault(require("./normalizers/whitespace"));
var _zeroDimensions = _interopRequireDefault(require("./normalizers/zero-dimensions"));
var _detectUnclosedFns = _interopRequireDefault(require("./normalizers/detect-unclosed-fns"));

@@ -17,3 +18,3 @@ var _postcssValueParser = _interopRequireDefault(require("postcss-value-parser"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const normalizers = [_detectUnclosedFns.default, _whitespace.default, _timings.default, _leadingZero.default, _quotes.default, _convertCamelCaseValues.default];
const normalizers = [_detectUnclosedFns.default, _whitespace.default, _timings.default, _zeroDimensions.default, _leadingZero.default, _quotes.default, _convertCamelCaseValues.default];
function normalizeValue(value, key, _ref) {

@@ -20,0 +21,0 @@ let {

{
"name": "@stylexjs/shared",
"version": "0.6.1",
"version": "0.7.0",
"main": "lib/index.js",

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

"devDependencies": {
"@stylexjs/scripts": "0.6.1"
"@stylexjs/scripts": "0.7.0"
},

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

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