Socket
Socket
Sign inDemoInstall

postcss

Package Overview
Dependencies
Maintainers
1
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss - npm Package Compare versions

Comparing version 8.4.39 to 8.4.40

7

lib/at-rule.d.ts

@@ -91,3 +91,5 @@ import Container, {

*/
name: string
get name(): string
set name(value: string)
/**

@@ -122,3 +124,4 @@ * An array containing the layer’s children.

*/
params: string
get params(): string
set params(value: string)
parent: ContainerWithChildren | undefined

@@ -125,0 +128,0 @@

@@ -54,3 +54,4 @@ import Container from './container.js'

*/
text: string
get text(): string
set text(value: string)

@@ -57,0 +58,0 @@ type: 'comment'

@@ -18,7 +18,7 @@ 'use strict'

function markDirtyUp(node) {
function markTreeDirty(node) {
node[isClean] = false
if (node.proxyOf.nodes) {
for (let i of node.proxyOf.nodes) {
markDirtyUp(i)
markTreeDirty(i)
}

@@ -157,3 +157,7 @@ }

let type = existIndex === 0 ? 'prepend' : false
let nodes = this.normalize(add, this.proxyOf.nodes[existIndex], type).reverse()
let nodes = this.normalize(
add,
this.proxyOf.nodes[existIndex],
type
).reverse()
existIndex = this.index(exist)

@@ -214,3 +218,3 @@ for (let node of nodes) this.proxyOf.nodes.splice(existIndex, 0, node)

if (i.parent) i.parent.removeChild(i)
if (i[isClean]) markDirtyUp(i)
if (i[isClean]) markTreeDirty(i)
if (typeof i.raws.before === 'undefined') {

@@ -217,0 +221,0 @@ if (sample && typeof sample.raws.before !== 'undefined') {

@@ -80,3 +80,4 @@ import { ContainerWithChildren } from './container.js'

*/
important: boolean
get important(): boolean
set important(value: boolean)

@@ -95,3 +96,4 @@ parent: ContainerWithChildren | undefined

*/
prop: string
get prop(): string
set prop(value: string)

@@ -119,3 +121,4 @@ raws: Declaration.DeclarationRaws

*/
value: string
get value(): string
set value(value: string)

@@ -140,3 +143,4 @@ /**

*/
variable: boolean
get variable(): boolean
set varaible(value: string)

@@ -143,0 +147,0 @@ constructor(defaults?: Declaration.DeclarationProps)

@@ -10,3 +10,3 @@ 'use strict'

constructor(plugins = []) {
this.version = '8.4.39'
this.version = '8.4.40'
this.plugins = this.normalize(plugins)

@@ -13,0 +13,0 @@ }

@@ -87,3 +87,4 @@ import Container, {

*/
selector: string
get selector(): string
set selector(value: string);

@@ -105,3 +106,4 @@ /**

*/
selectors: string[]
get selectors(): string[]
set selectors(values: string[]);

@@ -108,0 +110,0 @@ type: 'rule'

{
"name": "postcss",
"version": "8.4.39",
"version": "8.4.40",
"description": "Tool for transforming styles with JS plugins",

@@ -5,0 +5,0 @@ "engines": {

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