🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

postcss

Package Overview
Dependencies
Maintainers
1
Versions
287
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.5.22
to
8.5.23
+5
-11
lib/previous-map.js

@@ -89,15 +89,9 @@ 'use strict'

if (!trusted && !this.unsafeMap) {
if (!/\.map$/i.test(path)) {
if (!/\.map$/i.test(path)) return undefined
if (!cssFile) return undefined
let rel = relative(dirname(cssFile), path)
if (rel === '..' || rel.startsWith('..' + sep) || isAbsolute(rel)) {
return undefined
}
if (cssFile) {
let relativePath = relative(dirname(cssFile), path)
if (
relativePath === '..' ||
relativePath.startsWith('..' + sep) ||
isAbsolute(relativePath)
) {
return undefined
}
}
}

@@ -104,0 +98,0 @@ this.root = dirname(path)

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

constructor(plugins = []) {
this.version = '8.5.22'
this.version = '8.5.23'
this.plugins = this.normalize(plugins)

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

{
"name": "postcss",
"version": "8.5.22",
"version": "8.5.23",
"description": "Tool for transforming styles with JS plugins",

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

@@ -16,4 +16,3 @@ # PostCSS

<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" />  Built by
<b><a href="https://evilmartians.com/devtools?utm_source=postcss&utm_campaign=devtools-button&utm_medium=github">Evil Martians</a></b>, go-to agency for <b>developer tools</b>.
<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" />  PostCSS is built by <b><a href="https://evilmartians.com/>Evil Martians</a></b>, an American design and engineering consultancy for <b>developer tools, AI, and cybersecurity startups</b>.

@@ -20,0 +19,0 @@ ---