
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
rollup-plugin-paths
Advanced tools
Let you use the same variables at different directory, like this:
|-- entry.js
|-- main.js
|-- pages/
|-- about.js
|-- src/
|-- lib/
|-- foo/
|-- one.js
|-- two.js
|-- vendors/
|-- jquery.js
main.js
// from src/lib/foo/one.js
import { One } from 'foo@one.js'
// from src/lib/foo/two.js
import { Two } from 'two'
// from vendors/jquery.js
import 'jquery'
pages/about.js
// from src/lib/foo/one.js
import { One } from 'foo@one.js';
// from vendors/jquery.js
import 'jquery'
$ npm install --save-dev rollup-plugin-paths
// rollup.config.js
import resolve from 'rollup-plugin-paths'
export default {
entry: 'entry.js',
dest: 'bundle.js',
plugins: [
resolve({
// Define a directory width suffix `@`
"foo@": "./src/lib/foo/",
// Define a path
"jquery": "./vendors/jquery.js",
// Define a path width a defined directory
"two": "foo@two.js"
})
]
}
./vendors/jquery is wrong, please do it like this ./vendors/jquery.jsfoo@goo@one.js is wrongMIT
FAQs
Let you use the same variables at different directory.
The npm package rollup-plugin-paths receives a total of 55 weekly downloads. As such, rollup-plugin-paths popularity was classified as not popular.
We found that rollup-plugin-paths 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.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.