
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.
unplugin-oxc
Advanced tools
Oxc integration for unplugin.
npm i -D unplugin-oxc
// vite.config.ts
import Oxc from 'unplugin-oxc/vite'
export default defineConfig({
plugins: [Oxc()],
})
// rollup.config.js
import Oxc from 'unplugin-oxc/rollup'
export default {
plugins: [Oxc()],
}
// rolldown.config.js
import Oxc from 'unplugin-oxc/rolldown'
export default {
plugins: [Oxc()],
}
import { build } from 'esbuild'
import Oxc from 'unplugin-oxc/esbuild'
build({
plugins: [Oxc()],
})
// webpack.config.js
import Oxc from 'unplugin-oxc/webpack'
export default {
/* ... */
plugins: [Oxc()],
}
// rspack.config.js
import Oxc from 'unplugin-oxc/rspack'
export default {
/* ... */
plugins: [Oxc()],
}
// unloader.config.ts
import Oxc from 'unplugin-oxc/unloader'
export default defineConfig({
plugins: [Oxc()],
})
interface Options {
/**
* @default [/\.[cm]?[jt]sx?$/],
*/
include?: FilterPattern
/**
* @default [/node_modules/],
*/
exclude?: FilterPattern
enforce?: 'pre' | 'post' | undefined
/**
* Transform options passed to `oxc-transform`
*/
transform?: Omit<TransformOptions, 'sourcemap'> | false
/**
* Resolve options passed to `oxc-resolver`
*/
resolve?: NapiResolveOptions | false
/**
* The plugin will skip resolving node_modules by default.
* Set this to `true` to resolve node_modules.
* @default false
*/
resolveNodeModules?: boolean
/**
* Minify options passed to `oxc-minify`
*/
minify?: Omit<MinifyOptions, 'sourcemap'> | false
sourcemap?: boolean
}
FAQs
Oxc integration for unplugin.
The npm package unplugin-oxc receives a total of 888 weekly downloads. As such, unplugin-oxc popularity was classified as not popular.
We found that unplugin-oxc demonstrated a healthy version release cadence and project activity because the last version was released less than 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.