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

@stylexjs/stylex

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/stylex - npm Package Compare versions

Comparing version 0.7.5 to 0.8.0

9

lib/StyleXSheet.js

@@ -8,3 +8,3 @@ 'use strict';

var _invariant = _interopRequireDefault(require("invariant"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const LIGHT_MODE_CLASS_NAME = '__fb-light-mode';

@@ -36,4 +36,4 @@ const DARK_MODE_CLASS_NAME = '__fb-dark-mode';

class StyleXSheet {
static LIGHT_MODE_CLASS_NAME = LIGHT_MODE_CLASS_NAME;
static DARK_MODE_CLASS_NAME = DARK_MODE_CLASS_NAME;
static LIGHT_MODE_CLASS_NAME = (() => LIGHT_MODE_CLASS_NAME)();
static DARK_MODE_CLASS_NAME = (() => DARK_MODE_CLASS_NAME)();
constructor(opts) {

@@ -128,2 +128,5 @@ this.tag = null;

const lastPriority = priorities.pop();
if (lastPriority == null) {
return this.getRuleCount();
}
return this.rules.indexOf(this.ruleForPriority.get(lastPriority));

@@ -130,0 +133,0 @@ }

{
"name": "@stylexjs/stylex",
"version": "0.7.5",
"version": "0.8.0",
"description": "A library for defining styles for optimized user interfaces.",

@@ -48,3 +48,3 @@ "main": "./lib/stylex.js",

"devDependencies": {
"@stylexjs/scripts": "0.7.5",
"@stylexjs/scripts": "0.8.0",
"cross-env": "^7.0.3"

@@ -51,0 +51,0 @@ },

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