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

@compiled/css

Package Overview
Dependencies
Maintainers
4
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compiled/css - npm Package Compare versions

Comparing version 0.12.3 to 0.13.0

2

dist/plugins/increase-specificity.d.ts
import type { Plugin } from 'postcss';
/**
* Increase the specificity of classes generated in Compiled by appended ":not(#\\9)".
* Increase the specificity of classes generated in Compiled by appended ":not(#\\#)".
* This rule should run after CSS declarations have been atomicized and should not affect

@@ -5,0 +5,0 @@ * the original generated class name.

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

/**
* Increase the specificity of classes generated in Compiled by appended ":not(#\\9)".
* Increase the specificity of classes generated in Compiled by appended ":not(#\\#)".
* This rule should run after CSS declarations have been atomicized and should not affect

@@ -40,0 +40,0 @@ * the original generated class name.

{
"name": "@compiled/css",
"version": "0.12.3",
"version": "0.13.0",
"description": "A familiar and performant compile time CSS-in-JS library for React.",

@@ -26,3 +26,3 @@ "homepage": "https://compiledcssinjs.com/docs/pkg-css",

"dependencies": {
"@compiled/utils": "^0.10.0",
"@compiled/utils": "^0.11.0",
"autoprefixer": "^10.4.14",

@@ -29,0 +29,0 @@ "cssnano-preset-default": "^5.2.14",

@@ -472,11 +472,11 @@ import { transformCss as transform, type TransformOpts } from '../transform';

expect(actual.join('\n')).toMatchInlineSnapshot(`
"._ca0qftgi:not(#\\9){padding-top:8px}
._u5f3ftgi:not(#\\9){padding-right:8px}
._n3tdftgi:not(#\\9){padding-bottom:8px}
._19bvftgi:not(#\\9){padding-left:8px}
._syaz5scu:not(#\\9){color:red}
._1kt9o5oc:not(#\\9):before{content:var(--hello-world)}
._eid3ftgi:not(#\\9):before{margin-right:8px}
._is0632ev:not(#\\9):before{color:pink}
._14rn5scu:not(#\\9):after{color:red}"
"._ca0qftgi:not(#\\#){padding-top:8px}
._u5f3ftgi:not(#\\#){padding-right:8px}
._n3tdftgi:not(#\\#){padding-bottom:8px}
._19bvftgi:not(#\\#){padding-left:8px}
._syaz5scu:not(#\\#){color:red}
._1kt9o5oc:not(#\\#):before{content:var(--hello-world)}
._eid3ftgi:not(#\\#):before{margin-right:8px}
._is0632ev:not(#\\#):before{color:pink}
._14rn5scu:not(#\\#):after{color:red}"
`);

@@ -494,5 +494,5 @@ });

expect(actual.join('\n')).toMatchInlineSnapshot(`
"div ._kqan5scu:not(#\\9){color:red}
div:hover ._12hc5scu:not(#\\9){color:red}
div ._wntz5scu:not(#\\9):hover{color:red}"
"div ._kqan5scu:not(#\\#){color:red}
div:hover ._12hc5scu:not(#\\#){color:red}
div ._wntz5scu:not(#\\#):hover{color:red}"
`);

@@ -499,0 +499,0 @@ });

@@ -23,3 +23,3 @@ import postcss from 'postcss';

expect(actual).toMatchInlineSnapshot(`"._foo:not(#\\9) {}"`);
expect(actual).toMatchInlineSnapshot(`"._foo:not(#\\#) {}"`);
});

@@ -37,3 +37,3 @@

@media {
._foo:not(#\\9) {}
._foo:not(#\\#) {}
}

@@ -71,7 +71,7 @@ "

"
._foo:not(#\\9):hover {
._foo:not(#\\#):hover {
color: red;
}
._baz:not(#\\9)::before {
._baz:not(#\\#)::before {
content: "bar";

@@ -78,0 +78,0 @@ }

@@ -14,3 +14,3 @@ import { INCREASE_SPECIFICITY_SELECTOR } from '@compiled/utils';

/**
* Increase the specificity of classes generated in Compiled by appended ":not(#\\9)".
* Increase the specificity of classes generated in Compiled by appended ":not(#\\#)".
* This rule should run after CSS declarations have been atomicized and should not affect

@@ -17,0 +17,0 @@ * the original generated class name.

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