Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@siteone/builder-core
Advanced tools
BLDR's core configuration builder.
$ npm install --save-dev @siteone/builder-core
Returns:
WebpackCompiler
Returns an instance of Webpack.
Attaches a BLDR_CONFIG
key on the WebpackCompiler
directly, containing the parsed bldr.config.js
file, if any.
Will also mutate opts
will additional keys:
src
– the resolved src
value
Equivalent to WebpackCompiler.options.context
value.
webpack
- the require('webpack')
instance in use
For reuse / convenience elsewhere; eg, Plugins.
Type: String
Default: 'src'
The name of your "source" directory within the opts.cwd
. This will be set as the context
for Webpack.
Important: Reverts to the
opts.cwd
if the directory could not be found.
Type: String
Default: '.'
The current working directory.
Type: String
Default: 'build'
The name of the output
directory.
Type: Boolean
Default: false
When this and opts.production
are both true
, attaches and starts Webpack Bundle Analyzer for bundle inspection.
Type: Boolean
Default: false
If building configuration for production.
Type: String
The name or path to a custom template for HTML Webpack Plugin.
If nothing is provided, then BLDR will look for a index.{html,hbs,ejs}
file within your src
directory.
If an index.(html|hbs|ejs)
couldn't be found, then the internal template will be used.
FAQs
> BLDR's core configuration builder.
We found that @siteone/builder-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.