Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Based on Barium by Yuanyan Cao.
npm i buryem --save
To build locally, run:
npm install --ignore-scripts
npm run build
import buryem from 'buryem';
const animations = buryem.createAnimations({
blurh: {
"33%": {
transform: "translateX(2px)"
},
"66%": {
transform: "translateX(-2px)"
},
"100%": {
transform: "translateX(0px)"
}
}
}, 'optional-readable-namespace');
const styles = buryem.create({
btn: {
display: 'inline-block',
color: '#000',
padding: '6px 12px',
marginBottom: '0',
fontSize: '14px',
fontWeight: 'normal',
lineHeight: '1.428571429',
textAlign: 'center',
whiteSpace: 'nowrap',
verticalAlign: 'middle',
cursor: 'pointer',
backgroundImage: 'none',
border: '1px solid transparent',
borderRadius: '4px',
userSelect: 'none',
':hover': {
color: '#fff',
animation: `${animations.blurh} .5s infinite`
},
// Try resizing the window!
'@media (max-width: 500px)': {
backgroundColor: '#5bc0de',
borderColor: '#46b8da'
}
}
}, 'optional-readable-namespace');
const Example = (props) => (
<div>
<button className={styles.btn}>
Click Me <span data-nah="nah">or nah</span>
</button>
<style>
{/* if you need to reach into the children you can do this */}
{`
.${styles.btn} [data-nah="nah"] {
color: #f0f;
}
`}
</style>
</div>
);
Pass an object as a 3rd argument to any of these methods and they will add or append the styles to be injected to it as a __cssText
property.
FAQs
got style conflicts? bury 'em!
We found that buryem demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.