generator-es6-npm-module
generator-es6-npm-module copied to clipboard
[Snyk] Upgrade yeoman-generator from 5.0.0 to 5.0.1
Snyk has created this PR to upgrade yeoman-generator from 5.0.0 to 5.0.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is 1 version ahead of your current version.
- The recommended version was released 22 days ago, on 2021-02-22.
The recommended version fixes:
| Severity | Issue | PriorityScore (*) | Exploit Maturity |
|---|---|---|---|
| Regular Expression Denial of Service (ReDoS) SNYK-JS-GLOBPARENT-1016905 |
265/1000 Why? CVSS 5.3 |
No Known Exploit |
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: yeoman-generator
-
5.0.1 - 2021-02-22
- Bump xo to 0.38.1 and move to devDependencies. 3f51315
-
5.0.0 - 2021-02-20
Breaking changes
- Requires node 12.
- Requires
[email protected](unreleased yo@4). - Conflicter moved to the Environment.
- Install action is deprecated and is not included by default.
- Replaced by package.json manipulation
addDependencies({dependency: 'version'})addDevDependencies({dependency: 'version'})this.packageJsonstorage. Eg:this.packageJson.merge({scripts: {test: 'mocha'}});
- Install task will be executed later by the Environment when
package.jsonchanges. - To load it:
- Replaced by package.json manipulation
const Generator = require('yeoman-generator'); -_.extend(Generator.prototype, require('yeoman-generator/lib/actions/install'));- Singleton Generators support passing
unique: 'namespace'orunique: 'argument'.
constructor(args, options = {}) { super(args, {...options, unique: 'namespace'} }- Misc
this.(spawnCommand/spawnCommandSync)switched toexecaand now defaultscwdtothis.destinationRoot().- Dropped support for kebab case options.
composeWith()isn't chainable anymore and delegates the running to the Environment for singleton checks.- Replaced
registerTransformStreamwithqueueTransformStream.
New api executes transformations before the commit operation, and is executed for every generator. - Dependencies update.
Commit messages
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🔕 Ignore this dependency or unsubscribe from future upgrade PRs