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.
semver-extended-webpack-plugin
Advanced tools
A webpack plugic to do semver
version
using function semver.inc
fields in json files, ex: package.json
, bower.json
arguments
or config
arguments
buildDate
(see options)npm install semver-extended-webpack-plugin --save-dev
var SemverWebpackPlugin = require('semver-extended-webpack-plugin');
module.exports = {
plugins: [
new SemverWebpackPlugin({
files: [path.resolve(__dirname, 'package.json')],
incArgs: ['patch'],
console: true,
buildDate: true,
version: '1.8' // optional if you want to set the desired version
})
]
}
new SemverWebpackPlugin({options})
Options | Properties |
---|---|
files | list of input files, should are absolute paths |
incArgs | arguments will be passed to function semver.inc() , see node-semver |
console | show console output of version update (default: false) |
buildDate | add buildDate key to package.json (default: false) |
version | set version to a specific version (default: null) |
--semver-extended-webpack-plugin-inc-args
arguments passed to function semver.inc
(in csv
format), ex: webpack --semver-extended-webpack-plugin-inc-args=prelease,beta
--semver-extended-webpack-plugin-disable
this is useful to bumpup
version in sometime, see example section above for more info
true
then the Plugin will not runfalse
http://www.opensource.org/licenses/mit-license.php
semver-extended-webpack-plugin written by Mike Erickson
E-Mail: codedungeon@gmail.com
Twitter: @codedungeon
Website: codedungeon.org
Additional Attribution:
FAQs
Semver webpack plugin, see http://semver.org
We found that semver-extended-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.