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.
@workpop/redux-tracer
Advanced tools
yarn add @workpop/redux-tracer
createTracer
type CreateTracerType = {
invariant?: Function,
tracerName: string,
// Custom Attributes you want to seet in new relic
customAttributes: Object,
log: Function,
}
getNRTracer(state: Object, tracerName: string)
clearTracer(tracerName: string)
1.Setup in combineReducers
import { createStore } from 'redux';
import { newRelicTracerReducer } from '@workpop/redux-tracer';
...
const store = createStore({
...reducers,
newRelicTracerReducer,
});
import { createTracer } from '@workpop/redux-tracer';
store.dispatch(
createTracer({
tracerName: 'testTracer',
})
);
import React from 'react';
import { connect } from 'react-redux';
import { getNRTracer } from '@workpop/redux-tracer';
function Test({ testTracer }) {
return <p onClick={function () { return testTracer(); }}>Hello</h1>
}
function mapStateToProps(state) {
return getNRTracer(state, 'testTracer');
}
export default connect(mapStateToProps)(Test)
MIT
FAQs
Create New Relic Tracers and bind them to React Components
We found that @workpop/redux-tracer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 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.