
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
@atom-iq/context
Advanced tools
@atom-iq/context
)npm install --save @atom-iq/context
yarn add @atom-iq/context
Package containing Middlewares, provides access to Context API
Middlewares:
Tools:
import App from './App'
import { createRvDOM, combineMiddlewares } from '@atom-iq/core'
import { contextMiddleware } from '@atom-iq/ref'
const initialRootContext = {
message: 'Atom-iQ Context Middleware'
}
const middlewares = combineMiddlewares(contextMiddleware(initialRootContext))()
createRvDOM(middlewares)(<App />, document.getElementById('root'))
import { RvdComponent, createState } from '@atom-iq/core'
import { contextProvider, WithContext, WithCreateContext } from '@atom-iq/context'
const Consumer: RvdComponent<{}, WithContext> = (_props, { context }) => (
<section>
{context('message')}
{context('fromCreate')}
</section>
)
const App: RvdComponent<{}, WithCreateContext & WithContext> = (_props, { createContext, context }) => {
createContext('fromCreate', 'Created in App by createContext')
const Nested = contextProvider({
message: 'Nested message',
fromCreate: 'Nested fromCreate'
})
return (
<main class="App">
{context('message')} // 'Atom-iQ Context Middleware' - from root
{context('fromCreate')} // 'Created in App by createContext'
<Consumer /> // Same as above
<Nested>
<Consumer /> // 'Nested message' and 'Nested fromCreate'
</Nested>
</main>
)
}
FAQs
Atom-iQ Context Middleware
The npm package @atom-iq/context receives a total of 3 weekly downloads. As such, @atom-iq/context popularity was classified as not popular.
We found that @atom-iq/context 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.