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.
@backtrace-labs/rollup-plugin
Advanced tools
If you're using rollup as your project bundler, you can use @backtrace-labs/rollup-plugin
to automate working with sourcemaps.
(Source Map feature documentation)
Set sourcemap
in output
to true
in your rollup.config.js
:
module.exports = {
build: {
sourcemap: true
}
}
If you're using code transpiler plugins (such as Typescript), ensure to enable source-mapping there as well.
@backtrace-labs/rollup-plugin
A specific URL is required to upload source maps. Follow these instructions to create an upload URL for the sourcemap
endpoint with a symbol-post
token.
@backtrace-labs/rollup-plugin
as a developer dependency:> npm install --save-dev @backtrace-labs/rollup-plugin
plugins
array in rollup.config.js
:import { BacktracePlugin } from '@backtrace-labs/rollup-plugin';
// or
const { BacktracePlugin } = require('@backtrace-labs/rollup-plugin');
module.exports = {
// other configuration
plugins: [new BacktracePlugin({
// enable upload only on production builds
uploadUrl: process.env.NODE_ENV === "production" ? "<your upload URL>" : undefined
})]
}
FAQs
Backtrace Rollup plugin
The npm package @backtrace-labs/rollup-plugin receives a total of 0 weekly downloads. As such, @backtrace-labs/rollup-plugin popularity was classified as not popular.
We found that @backtrace-labs/rollup-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.