
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@startupjs/babel-plugin-rn-stylename-inline
Advanced tools
Use styleName attributes with inline css and styl template strings
Adds support for in-JS template strings css\
`and
styl```
for CSS styles for react-native.
Must be used together with @startupjs/babel-plugin-rn-stylename
library.
platform
-- what platform the compilation is on. For example, web
or ios
or android
.
import React from 'react'
import { View } from 'react-native'
import { css } from 'startupjs'
export default function Card () {
return <View styleName='card active'><Line /></View>
}
function Line () {
return <View styleName='line' />
}
css`
.card {
padding: 8px 16px;
}
.line {
margin-top: 16px;
border-radius: 8px;
}
.active {
background-color: red;
}
`
import React from 'react'
import { View } from 'react-native'
import { css, styl } from 'startupjs'
export default function Card () {
return <View styleName='root active'><Line /></View>
// .root will be scoped only to this specific component
styl`
.root
padding: 8px 16px
`
}
function Line () {
return <View styleName='root' />
// .root will be scoped only to this specific component
css`
.root {
margin-top: 16px;
border-radius: 8px;
}
`
}
// you can use global- and local- scoped styles together
styl`
.active
background-color red
`
MIT
FAQs
Use styleName attributes with inline css and styl template strings
We found that @startupjs/babel-plugin-rn-stylename-inline demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.