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

@pandacss/shared

Package Overview
Dependencies
Maintainers
1
Versions
1163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pandacss/shared - npm Package Compare versions

Comparing version 0.0.0-dev-20221203082644 to 0.0.0-dev-20221203144844

3

dist/index.js

@@ -211,2 +211,3 @@ "use strict";

};
var sanitize = (value) => typeof value === "string" ? value.replaceAll(/[\n\s]+/g, " ") : value;
function createCss(context) {

@@ -224,3 +225,3 @@ const { utility, hash, conditions: conds = fallbackCondition } = context;

const conditions = filterBaseConditions(allConditions);
const transformed = utility.transform(prop, withoutImportant(value));
const transformed = utility.transform(prop, withoutImportant(sanitize(value)));
let transformedClassName = transformed.className;

@@ -227,0 +228,0 @@ if (important) {

@@ -160,2 +160,3 @@ "use strict";

};
var sanitize = (value) => typeof value === "string" ? value.replaceAll(/[\n\s]+/g, " ") : value;
function createCss(context) {

@@ -173,3 +174,3 @@ const { utility, hash, conditions: conds = fallbackCondition } = context;

const conditions = filterBaseConditions(allConditions);
const transformed = utility.transform(prop, withoutImportant(value));
const transformed = utility.transform(prop, withoutImportant(sanitize(value)));
let transformedClassName = transformed.className;

@@ -176,0 +177,0 @@ if (important) {

{
"name": "@pandacss/shared",
"version": "0.0.0-dev-20221203082644",
"version": "0.0.0-dev-20221203144844",
"description": "Shared utilities for css panda",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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