
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
postcss-global-data
Advanced tools
PostCSS plugin to define global data that will be injected into PostCSS for use in other plugins.
Forked from @csstools/postcss-global-data@3.0.0, motivated by this issue
Changes:
files element to control the behavior of the pluginexport interface FileConfig {
file: string
/**
* Whether to remove the inject CSS after processing.
* @default true to respect original plugin `@csstools/postcss-global-data` behavior
*/
remove?: boolean
/**
* Position to insert the CSS.
* @default 'append' to respect original plugin `@csstools/postcss-global-data` behavior
*/
position?: 'append' | 'prepend'
}
# ✨ Auto-detect
npx nypm install postcss-global-data
# npm
npm install postcss-global-data
# yarn
yarn add postcss-global-data
# pnpm
pnpm install postcss-global-data
# bun
bun install postcss-global-data
# deno
deno install postcss-global-data
postcssGlobalData({
files: [
'path/to/file.css',
// now you can also pass an object to control the behavior
// of the plugin for each file
{
file: 'path/to/file.css',
remove: false,
position: 'prepend',
}
],
})
Published under the MIT license.
Made by @byronogis and community đź’›
🤖 auto updated with automd (last updated: Wed Aug 13 2025)
FAQs
PostCSS plugin to define global data that will be injected into PostCSS for use in other plugins.
We found that postcss-global-data demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.