
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
builder-target
Advanced tools
target build plugin for component-builder2.
Let's say you have the following component, and you want to build
api.js
api.cordova.js
You can define a new section in your component.json
(here we name it cordova) and use the plugin by calling .use('scripts', target('cordova'))
{
"cordova": {
"api.js": "api.cordova.js"
},
"scripts": [
"index.js",
"api.js"
],
"main": "index.js"
}
var fs = require('fs');
var build = require('component-builder');
var target = require('builder-target');
// build web bundle
build.scripts(nodes)
.use('scripts', build.plugins.js())
.build(function (err, string) {
if (err) throw err;
fs.writeFileSync('build.js', string);
})
// build cordova bundle
build.scripts(nodes)
.use('scripts', build.plugins.js())
.use('scripts', target('cordova'))
.build(function (err, string) {
if (err) throw err;
fs.writeFileSync('build.js', string);
})
The MIT License (MIT)
FAQs
build target plugin for component-builder
The npm package builder-target receives a total of 0 weekly downloads. As such, builder-target popularity was classified as not popular.
We found that builder-target 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.