
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
A very happy marriage between tachyons-css and react – type less, more style.
Styling with react tends to be quite a strain on a typical keyboard. So many special characters. And a lot of boilerplate-y code. Let's learn from the atomic css movement. [tachyons]((http://tachyons.io/) is a prime example of being very expressive with very little code. An experience that promises a big productivity boost once you've learned its syntax.
retachyons takes this approach even further. Rather than using classNames to describe the style of your component, simply use attributes. Much leaner!
<B.Col pa3 bgWashedBlue hoverLightBlue flexRowNs>
<B component="img" props={{src, alt: "media"}} w-30 mr3/>
<B flex-auto f5 white80>{children}</B>
</B.Col>
<B pa3 pa5Md/><B blue hoverDarkBlue/><B w50 opacity={value} select={[' svg': {height: 12}]}/>B: block, B.Col: flexDirection column, B.Row flexDirection column, B.I: inline-block
(set your custom display prop via e.g. <B display="inline"/>)<B bg-dark-green/> and <B bgDarkGreen/>npm i retachyons
import B from retachyons
const Media = ({img, children}) => (
<B.Col pa3 bgWashedBlue flexRowNs>
<B component="img" props={{src, alt: "media"}} w-30 mr3/>
<B flex-auto f5 white80>{children}</B>
</B.Col>
)
mystyle.js
import defaultOpts from 'retachyons/defaults'
import builder from 'retachyons/builder'
const opts = {
...defaultOpts,
colors: {
...defaultOpts.colors,
brand: '#aa6633',
light-brand: '#ffee55',
},
mediaQueries: {
xs: 'screen and (min-width: 0)',
sm: 'screen and (min-width: 576px)',
md: 'screen and (min-width: 768px)',
lg: 'screen and (min-width: 992px)',
xl: 'screen and (min-width: 1200px)'
},
}
export default builder(opts)
import B from './mystyle'
const Component = () => (
<B pa1Xs pa3Md bgBrand hoverBgLightBrand/>
)
npm install && cd samples && npm installcd samples && npm run dev and open http://localhost:8080/ISC
FAQs
Type less, style more
We found that retachyons demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.