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

alef

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alef - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

1

es/CSSNumber.d.ts

@@ -5,2 +5,3 @@ export declare type CSSUnit = "em" | "px" | "rem" | "%" | "vh" | "vw" | "vi" | "vb" | "vmin" | "vmax" | "mm" | "q" | "cm" | "in" | "pt" | "pc" | "ex" | "cap" | "ch" | "ic" | "lh" | "rlh" | "mozmm" | "deg" | "grad" | "rad" | "turn" | "fr" | "Hz" | "kHz" | "dpi" | "dpcm" | "dppx" | "s" | "ms" | string;

readonly unit: CSSUnit;
readonly __cssnumber: boolean;
constructor(value: number, unit: CSSUnit);

@@ -7,0 +8,0 @@ add(num: CSSNumber, unit?: CSSUnit): CSSNumber;

var CSSNumber = (function () {
function CSSNumber(value, unit) {
this.__cssnumber = true;
this.value = value;

@@ -4,0 +5,0 @@ this.unit = unit;

2

es/Renderer.js

@@ -150,3 +150,3 @@ import * as tslib_1 from "tslib";

var value = style[property];
if (isObject(value)) {
if (isObject(value) && !value.__cssnumber) {
if (isNestedSelector(property)) {

@@ -153,0 +153,0 @@ classNames += renderer._renderStyleToClassNames(value, pseudo + normalizeNestedProperty(property), media);

{
"name": "alef",
"version": "0.1.11",
"version": "0.1.12",
"description": "Dynamic and high-performance CSS in JavaScript",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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