Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@pandacss/config
Advanced tools
[0.42.0] - 2024-07-08
4xl
border radius tokenclassName
to be optional, both for recipes
and slotRecipes
, with a fallback to its name.panda analyze --output coverage.json
fileimport { defineConfig } from '@pandacss/core'
export default defineConfig({
recipes: {
button: {
className: 'button', // 👈 was mandatory, is now optional
variants: {
size: {
sm: { padding: '2', borderRadius: 'sm' },
md: { padding: '4', borderRadius: 'md' },
},
},
},
},
})
[BREAKING] Removed the legacy config.optimize
option because it was redundant. Now, we always optimize the generated
CSS where possible.
BREAKING: Remove emitPackage
config option,
tldr: use importMap
instead for absolute paths (e.g can be used for component libraries)
emitPackage
is deprecated, it's known for causing several issues:
node_modules
, leading to panda codegen
updates to the styled-system
not
visible in the browserAs alternatives, you can use:
../styled-system/css
instead of styled-system/css
)#styled-system/css
instead of styled-system/css
https://nodejs.org/api/packages.html#subpath-imports@acme/styled-system
) and use
importMap: "@acme/styled-system"
so that Panda knows which entrypoint to extract, e.g.
import { css } from '@acme/styled-system/css'
https://panda-css.com/docs/guides/component-libraryFAQs
Find and load panda config
The npm package @pandacss/config receives a total of 76,265 weekly downloads. As such, @pandacss/config popularity was classified as popular.
We found that @pandacss/config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.