jtimberlake / react-server

:rocket: Blazing fast page load and seamless navigation.
https://react-server.io/
Apache License 2.0
0 stars 0 forks source link

Update dependency yeoman-generator to v6 - autoclosed #301

Closed mend-for-github-com[bot] closed 9 months ago

mend-for-github-com[bot] commented 9 months ago

This PR contains the following updates:

Package Type Update Change
yeoman-generator (source) dependencies major ^0.24.1 -> ^6.0.0

By merging this PR, the below issues will be automatically resolved and closed:

Severity CVSS Score CVE GitHub Issue
Critical 9.8 CVE-2021-25949 #136
Critical 9.8 CVE-2022-29078 #215
Critical 9.8 CVE-2022-29078 #215
Critical 9.8 WS-2021-0153 #214
High 7.5 CVE-2021-3749 #220
High 7.5 CVE-2021-3807 #271
High 7.5 CVE-2022-24785 #208
High 7.5 CVE-2022-25883 #-1
High 7.5 CVE-2022-31129 #238
High 7.1 CVE-2022-0144 #144

Release Notes

yeoman/generator (yeoman-generator) ### [`v6.0.0`](https://togithub.com/yeoman/generator/releases/tag/v6.0.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.10.0...v6.0.0) The `yeoman-generator` package now export a native ESM module. ([Learn more about ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c)) Notable changes: - Convert to typescript - Drop node 12/14 support. - Requires yeoman-environment `^3.18.4`. - Provides built-in types. - Uses new `@yeoman/types` for environment/generator interoperability. May conflict with `@types/yeoman-*` types. - Move skipParseOptions and customPriorities to features [`c12806a`](https://togithub.com/yeoman/generator/commit/c12806a) - Drop deprecated install (and not included by default) action [`1a856b1`](https://togithub.com/yeoman/generator/commit/1a856b1) Install action was not scalable. A separated task package can be considered at [yeoman-api](https://togithub.com/yeoman/yeoman-api). - `run-async` is not provided anymore: Convert to Promises or use `run-async` v3: import runAsync from 'run-async'; class Gen { asyncTaskWithCallback: runAsync(function() { const done = this.async(); asyncMethod(done); }), } - composeWith is async: - If used inside constructor, move it to `_postConstruct` or `beforeQueue`. - Due to complexity, prefer `composeWith(generator, composeOptions` signature. ### [`v5.10.0`](https://togithub.com/yeoman/generator/releases/tag/v5.10.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.9.0...v5.10.0) - accept yeoman-environment v4 [`a8c526b`](https://togithub.com/yeoman/generator/commit/a8c526b) ### [`v5.9.0`](https://togithub.com/yeoman/generator/releases/tag/v5.9.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.8.0...v5.9.0) - adjusts for yeoman-api [`553537b`](https://togithub.com/yeoman/generator/commit/553537b) ### [`v5.8.0`](https://togithub.com/yeoman/generator/releases/tag/v5.8.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.7.1...v5.8.0) - always create a new mem-fs-editor instance instead of using shared instance. [`7bec553`](https://togithub.com/yeoman/generator/commit/7bec553) ### [`v5.7.1`](https://togithub.com/yeoman/generator/releases/tag/v5.7.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.7.0...v5.7.1) - add options to queueTransformStream. [`dac0db6`](https://togithub.com/yeoman/generator/commit/dac0db6) ### [`v5.7.0`](https://togithub.com/yeoman/generator/releases/tag/v5.7.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.6.1...v5.7.0) - make prompt default value dynamic [`ea460eb`](https://togithub.com/yeoman/generator/commit/ea460eb) - show error message when task fails. [`92cc534`](https://togithub.com/yeoman/generator/commit/92cc534) ### [`v5.6.1`](https://togithub.com/yeoman/generator/releases/tag/v5.6.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.6.0...v5.6.1) - Move custom args inside the runAsync for better error handling [`ef3f702`](https://togithub.com/yeoman/generator/commit/ef3f702) - Allow task to override taskPrefix. [`d2f4274`](https://togithub.com/yeoman/generator/commit/d2f4274) - Fix destinationRoot overridden by current value. [`f6e1e67`](https://togithub.com/yeoman/generator/commit/f6e1e67) - Fix resolved when not passed by options. [`52ac34c`](https://togithub.com/yeoman/generator/commit/52ac34c) ### [`v5.6.0`](https://togithub.com/yeoman/generator/releases/tag/v5.6.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.5.2...v5.6.0) - Bump version of shelljs to avoid vulnerable 0.8.4 version ([#​1325](https://togithub.com/yeoman/generator/issues/1325)) [`9c798e6`](https://togithub.com/yeoman/generator/commit/9c798e6) - Return earlier at extractTasksFromPriority ([#​1324](https://togithub.com/yeoman/generator/issues/1324)) [`0bfb51a`](https://togithub.com/yeoman/generator/commit/0bfb51a) - Allow to edit priorities. ([#​1323](https://togithub.com/yeoman/generator/issues/1323)) [`2a6cf47`](https://togithub.com/yeoman/generator/commit/2a6cf47) ### [`v5.5.2`](https://togithub.com/yeoman/generator/releases/tag/v5.5.2) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.5.1...v5.5.2) - Fix createStorage with options. [`185a408`](https://togithub.com/yeoman/generator/commit/185a408) ### [`v5.5.1`](https://togithub.com/yeoman/generator/releases/tag/v5.5.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.5.0...v5.5.1) - Add options parameter to createStorage. [`82db7d0`](https://togithub.com/yeoman/generator/commit/82db7d0) ### [`v5.5.0`](https://togithub.com/yeoman/generator/releases/tag/v5.5.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.4.2...v5.5.0) - Rework private methods. [`dac452e`](https://togithub.com/yeoman/generator/commit/dac452e) - Add args to queueTask. [`cf8580f`](https://togithub.com/yeoman/generator/commit/cf8580f) - Add optional support to sorted Storage. [`cf2e53f`](https://togithub.com/yeoman/generator/commit/cf2e53f) - Documentation improvements. ### [`v5.4.2`](https://togithub.com/yeoman/generator/releases/tag/v5.4.2) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.4.1...v5.4.2) - Fix composing with esm generator ([#​1308](https://togithub.com/yeoman/generator/issues/1308)) [`4b7f115`](https://togithub.com/yeoman/generator/commit/4b7f115) ### [`v5.4.1`](https://togithub.com/yeoman/generator/releases/tag/v5.4.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.4.0...v5.4.1) - Fix for esm generator. [`979b63d`](https://togithub.com/yeoman/generator/commit/979b63d) ### [`v5.4.0`](https://togithub.com/yeoman/generator/releases/tag/v5.4.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.3.0...v5.4.0) - Add immediately parameter to composeWith [`8fd5c86`](https://togithub.com/yeoman/generator/commit/8fd5c86) - Add support to beforeQueue. [`b8747da`](https://togithub.com/yeoman/generator/commit/b8747da) ### [`v5.3.0`](https://togithub.com/yeoman/generator/releases/tag/v5.3.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.2.0...v5.3.0) - Implement async fs methods. ([#​1301](https://togithub.com/yeoman/generator/issues/1301)) [`9cab8c9`](https://togithub.com/yeoman/generator/commit/9cab8c9) - Add test for path unsafe string. ([#​1300](https://togithub.com/yeoman/generator/issues/1300)) [`8bc6267`](https://togithub.com/yeoman/generator/commit/8bc6267) - Answer stored inside config should take precedence over suggestions. ([#​1297](https://togithub.com/yeoman/generator/issues/1297)) [`c1c847d`](https://togithub.com/yeoman/generator/commit/c1c847d) - Bump mem-fs-editor to 9.0.0 ([#​1298](https://togithub.com/yeoman/generator/issues/1298)) [`ce12e7f`](https://togithub.com/yeoman/generator/commit/ce12e7f) - Implement taskPrefix feature. ([#​1296](https://togithub.com/yeoman/generator/issues/1296)) [`84551ee`](https://togithub.com/yeoman/generator/commit/84551ee) - Bump yeoman-test to 6.0.0 ([#​1295](https://togithub.com/yeoman/generator/issues/1295)) [`5f3b2fb`](https://togithub.com/yeoman/generator/commit/5f3b2fb) - Bump mem-fs to 2.0.0 and mem-fs-editor to 8.1.2 ([#​1290](https://togithub.com/yeoman/generator/issues/1290)) [`d8dfd10`](https://togithub.com/yeoman/generator/commit/d8dfd10) - Load environment resources when running help. ([#​1288](https://togithub.com/yeoman/generator/issues/1288)) [`3579322`](https://togithub.com/yeoman/generator/commit/3579322) - Fix 4.x api documentation link. [`a0313cd`](https://togithub.com/yeoman/generator/commit/a0313cd) - Add api documentation link for 4.x [`b44ec7d`](https://togithub.com/yeoman/generator/commit/b44ec7d) ### [`v5.2.0`](https://togithub.com/yeoman/generator/releases/tag/v5.2.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.1.0...v5.2.0) - Changes to required/recommended yeoman-environment version. [`de61c24`](https://togithub.com/yeoman/generator/commit/de61c24), [`4587a29`](https://togithub.com/yeoman/generator/commit/4587a29), [`d101a41`](https://togithub.com/yeoman/generator/commit/d101a41), [`0898158`](https://togithub.com/yeoman/generator/commit/0898158) - Add optional peer dependency on yeoman-environment [`26797e6`](https://togithub.com/yeoman/generator/commit/26797e6) - Add support to tasksMatchingPriority feature. [`93e01ea`](https://togithub.com/yeoman/generator/commit/93e01ea) - Move uniqueBy calculation to the constructor. [`4dcda8a`](https://togithub.com/yeoman/generator/commit/4dcda8a) - Resolve dependencies with empty versions to latest. [`d952868`](https://togithub.com/yeoman/generator/commit/d952868) ### [`v5.1.0`](https://togithub.com/yeoman/generator/releases/tag/v5.1.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.0.1...v5.1.0) - Add features argument to constructor. [`9729a58`](https://togithub.com/yeoman/generator/commit/9729a58) - Delete option instead of setting undefined. [`86d1ad3`](https://togithub.com/yeoman/generator/commit/86d1ad3) ### [`v5.0.1`](https://togithub.com/yeoman/generator/releases/tag/v5.0.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v5.0.0...v5.0.1) - Bump xo to 0.38.1 and move to devDependencies. [`3f51315`](https://togithub.com/yeoman/generator/commit/3f51315) ### [`v5.0.0`](https://togithub.com/yeoman/generator/releases/tag/v5.0.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.13.0...v5.0.0) #### Breaking changes - Requires node 12. - Requires `yeoman-environment@3.0.0` (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.packageJson` storage. Eg: `this.packageJson.merge({scripts: {test: 'mocha'}})`; - Install task will be executed later by the Environment when `package.json` changes. - To load it: const Generator = require('yeoman-generator'); -_.extend(Generator.prototype, require('yeoman-generator/lib/actions/install')); - Singleton Generators support passing `unique: 'namespace'` or `unique: 'argument'`. constructor(args, options = {}) { super(args, {...options, unique: 'namespace'} } - Misc - `this.(spawnCommand/spawnCommandSync)` switched to `execa` and now defaults `cwd` to `this.destinationRoot()`. - Dropped support for kebab case options. - `composeWith()` isn't chainable anymore and delegates the running to the Environment for singleton checks. - Replaced `registerTransformStream` with `queueTransformStream`. New api executes transformations before the commit operation, and is executed for every generator. - Dependencies update. ### [`v4.13.0`](https://togithub.com/yeoman/generator/releases/tag/v4.13.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.12.0...v4.13.0) - Fix function context at prompt ([#​1265](https://togithub.com/yeoman/generator/issues/1265)) [`cd1b557`](https://togithub.com/yeoman/generator/commit/cd1b557) - Update description of prompt ([#​1264](https://togithub.com/yeoman/generator/issues/1264)) [`337dddf`](https://togithub.com/yeoman/generator/commit/337dddf) - Change from master to main. [`bc08bee`](https://togithub.com/yeoman/generator/commit/bc08bee) - Try to start runLoop manually. [`384e1bb`](https://togithub.com/yeoman/generator/commit/384e1bb) ### [`v4.12.0`](https://togithub.com/yeoman/generator/releases/tag/v4.12.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.11.0...v4.12.0) - Fixes running --help. - Implement registerPriorities. ### [`v4.11.0`](https://togithub.com/yeoman/generator/releases/tag/v4.11.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.10.1...v4.11.0) - Add Storage caching. - Add support to generators with no tasks. - Add Storage proxy, it can be used as a plain js object instead of using get/set. - Pass the generator as context to ejs (when using built-in shortcuts). - Bug fixes. ### [`v4.10.1`](https://togithub.com/yeoman/generator/releases/tag/v4.10.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.10.0...v4.10.1) - Add skipLocalCache option. Cache prompt suggestions only to global yo-rc. ### [`v4.10.0`](https://togithub.com/yeoman/generator/releases/tag/v4.10.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.9.0...v4.10.0) - Add shortcuts to mem-fs-editor methods - Make properties/functions starting with # reserved for composing. - Fixes and improvements. ### [`v4.9.0`](https://togithub.com/yeoman/generator/releases/tag/v4.9.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.8.3...v4.9.0) - Add support to prompts with storage. `this.prompt(prompts, this.config);` will use the storage to read/write answers. - Prompt is ignored if the value is `!== undefined` (pass --ask-answered to force the prompt to be shown, stored value is the default value) ### [`v4.8.3`](https://togithub.com/yeoman/generator/releases/tag/v4.8.3) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.8.2...v4.8.3) - Remove run-queue pause. It doesn’t work due to multiple scheduled runs. ### [`v4.8.2`](https://togithub.com/yeoman/generator/releases/tag/v4.8.2) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.8.1...v4.8.2) - Improve error handler with newer environments. ### [`v4.8.1`](https://togithub.com/yeoman/generator/releases/tag/v4.8.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.8.0...v4.8.1) - Revert error handler behavior: Make sure it's not handled. - Make sure to don't continue runLoop when a error is emitted. ### [`v4.8.0`](https://togithub.com/yeoman/generator/releases/tag/v4.8.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.7.2...v4.8.0) - Fix security warning. - Any emitted error rejects #run promise. - Implement cancellable tasks. ([#​1204](https://togithub.com/yeoman/generator/issues/1204)) - Add option to forward errors to the environment. - Make yeoman-environment and mem-fs-editor dependency optional. - Implement conflicter predefined status ([#​1210](https://togithub.com/yeoman/generator/issues/1210)) - Allow decoupling generator's and composed generator's cwd from env cwd. - Implement checkEnvironmentVersion - Fixes. ### [`v4.7.2`](https://togithub.com/yeoman/generator/releases/tag/v4.7.2) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.7.1...v4.7.2) - Add missing parameter to catch. - Update dependencies. ### [`v4.7.1`](https://togithub.com/yeoman/generator/releases/tag/v4.7.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.7.0...v4.7.1) - Fixes dependency error. ### [`v4.7.0`](https://togithub.com/yeoman/generator/releases/tag/v4.7.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.6.0...v4.7.0) - Fix generator standalone run. - Allow Storage to use lodash paths. ### [`v4.6.0`](https://togithub.com/yeoman/generator/releases/tag/v4.6.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.5.0...v4.6.0) - Emit event on environment once queued task is done. ([#​1172](https://togithub.com/yeoman/generator/issues/1172), [#​1177](https://togithub.com/yeoman/generator/issues/1177)) - Improvements to custom queues ([#​1158](https://togithub.com/yeoman/generator/issues/1158)) - Create queueTask, createTaskGroup methods. - Add options to custom priorities. - Implement createStorage convenience method ([#​1168](https://togithub.com/yeoman/generator/issues/1168)) - Implement localConfigOnly option. ([#​1161](https://togithub.com/yeoman/generator/issues/1161)) - Add returnNewGenerator option to composeWith ([#​1157](https://togithub.com/yeoman/generator/issues/1157), [#​1170](https://togithub.com/yeoman/generator/issues/1170), [#​1178](https://togithub.com/yeoman/generator/issues/1178)) - Documentation fixes and improvements. ### [`v4.5.0`](https://togithub.com/yeoman/generator/releases/tag/v4.5.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.4.0...v4.5.0) - Feature: new customPriorities constructor option. - For example see [test case](https://togithub.com/yeoman/generator/blob/b437e7566f80b47df04d0ad39035ba094ac20b4d/test/base.js#L1247-L1275). - Feature: new debug method. - Uses a [debug](https://www.npmjs.com/package/debug) object with options.namespace as namespace. - Minor fixes and improvements ### [`v4.4.0`](https://togithub.com/yeoman/generator/releases/tag/v4.4.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.3.0...v4.4.0) - New dryRun option. Conflicter will skip every file change. - Storage#commit() now uses fs.writeJSON instead of fs.write(JSON.stringfy()) - Storage allows to omit the name parameter on constructor. ### [`v4.3.0`](https://togithub.com/yeoman/generator/releases/tag/v4.3.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.2.0...v4.3.0) - New feature: Generator#queueMethod() can now be called with an object. ### [`v4.2.0`](https://togithub.com/yeoman/generator/releases/tag/v4.2.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.1.0...v4.2.0) - New feature: Support diffing to ignore whitespace change `yo node --no-whitespace` - New feature: `Generator#composeWith()` can now be called with an array of generators. - Bugfix: Fixes bug when a generator default export is under `exports.default` (like when compiling es6 modules with Babel) - - some other minor fixes and improvements ### [`v4.1.0`](https://togithub.com/yeoman/generator/releases/tag/v4.1.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.0.2...v4.1.0) - New `--bail` flag who'll exit the generator as soon as a conflict occurs. - New `generator#queueMethod()` allows generator to programmatically schedule tasks on the queue. This can be useful for parents generator who're inherited by children generators to schedule some default tasks automatically. (not a very common use, but might be useful in some edge cases) ### [`v4.0.2`](https://togithub.com/yeoman/generator/releases/tag/v4.0.2) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.0.1...v4.0.2) - Fix bug with detection of binary files. ### [`v4.0.1`](https://togithub.com/yeoman/generator/compare/v4.0.0...v4.0.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v4.0.0...v4.0.1) ### [`v4.0.0`](https://togithub.com/yeoman/generator/releases/tag/v4.0.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v3.2.0...v4.0.0) #### Breaking - Officially supports Node >= 8 (dropped support for Node 6) - Install methods will be run 1 time per set of arguments. Previously we'd only run them once no matter the arguments, this prevented use case like different npm settings for more complicated setup with different targets (server/browser) [#​1108](https://togithub.com/yeoman/generator/issues/1108) ### [`v3.2.0`](https://togithub.com/yeoman/generator/releases/tag/v3.2.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v3.1.1...v3.2.0) Added a new optional syntax to use `composeWith`: ```js this.composeWith({ Generator: require('generator-x'), path: require.resolve('generator-x') }) ``` ### [`v3.1.1`](https://togithub.com/yeoman/generator/releases/tag/v3.1.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v3.1.0...v3.1.1) Fix some issues with `--force-install` not being detected properly from the command line arguments. ### [`v3.1.0`](https://togithub.com/yeoman/generator/releases/tag/v3.1.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v3.0.0...v3.1.0) Add `--force-install` flag which will cause the generator to throw if the installation phase fail. ### [`v3.0.0`](https://togithub.com/yeoman/generator/releases/tag/v3.0.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v2.0.5...v3.0.0) Maintenance release with a few breaking change that shouldn't impact most users. ##### Breaking - `mem-fs-editor` updated to latest release. A sub-dependency moved from `node-glob` to `fast-glob`, so some of the `this.fs` methods glob options will change. - Install methods: `npmInstall`, `bowerInstall`, `yarnInstall` and `installDependencies` do not return promises anymore. This behavior was confusing and a major source of bugs. To handle actions after the install might've run (if user didn't specify `--skip-install`), use the [`end` run loop phase](http://yeoman.io/authoring/running-context.html). - Renamed `runInstall` to `scheduleInstallTask` ##### New - For users of the Yeoman API: `generator.run()` now returns a promise as well as taking a callback (the callback will keep working for the foreseeable future as we need to maintains backward compatibility with older generators) ### [`v2.0.5`](https://togithub.com/yeoman/generator/releases/tag/v2.0.5) [Compare Source](https://togithub.com/yeoman/generator/compare/v2.0.4...v2.0.5) Output more useful information to end user when a command fails or is skipped. ### [`v2.0.4`](https://togithub.com/yeoman/generator/releases/tag/v2.0.4) [Compare Source](https://togithub.com/yeoman/generator/compare/v2.0.3...v2.0.4) - [`efc52c9`](https://togithub.com/yeoman/generator/commit/efc52c99) Change options and args order ([#​1063](https://togithub.com/yeoman/generator/issues/1063)) ### [`v2.0.3`](https://togithub.com/yeoman/generator/releases/tag/v2.0.3) [Compare Source](https://togithub.com/yeoman/generator/compare/v2.0.2...v2.0.3) - Update dependencies with security vulnerabilities. ### [`v2.0.2`](https://togithub.com/yeoman/generator/releases/tag/v2.0.2) [Compare Source](https://togithub.com/yeoman/generator/compare/v2.0.1...v2.0.2) - Fix error when the prompt `choices` options is provided as a function instead of an array. (Drawback: this will turn off Yeoman reuse of the previously provided answer) ### [`v2.0.1`](https://togithub.com/yeoman/generator/releases/tag/v2.0.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v2.0.0...v2.0.1) - Bump dependencies (including security patch on `debug`) ### [`v2.0.0`](https://togithub.com/yeoman/generator/releases/tag/v2.0.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v1.1.1...v2.0.0) This release fix a few bugs and focus on modernizing our codebase to ES6 style. ##### Breaking changes - `Generator.extend()` is replaced in favor of `class extends Generator {}` - `Generator#github.username()` now returns a promise instead of taking a callback - Install functions now returns promises (`installDependencies`, `runInstall`, `bowerInstall`, `npmInstall` and `yarnInstall`) ##### New features - `installDependencies` now accept command line arguments as options for each sub-command ([#​1014](https://togithub.com/yeoman/generator/issues/1014)) ```js this.installDependencies({ npm: {saveDev: true}, bower: {depth: 0} }); ``` ##### Fix - Fix diffing dying on empty files ([#​1028](https://togithub.com/yeoman/generator/issues/1028)) ### [`v1.1.1`](https://togithub.com/yeoman/generator/releases/tag/v1.1.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v1.1.0...v1.1.1) - [`af3048f`](https://togithub.com/yeoman/generator/commit/af3048f7) Fix issue with API documentation deploy script - [`74cb46f`](https://togithub.com/yeoman/generator/commit/74cb46f7) Document legacy Generator.extend method properly - rel [#​996](https://togithub.com/yeoman/generator/issues/996) - [`6d267f0`](https://togithub.com/yeoman/generator/commit/6d267f03) Use XO - [`17173a2`](https://togithub.com/yeoman/generator/commit/17173a2f) chore(package): update yeoman-assert to version 3.0.0 ([#​1004](https://togithub.com/yeoman/generator/issues/1004)) - [`59d0120`](https://togithub.com/yeoman/generator/commit/59d01206) Add eslint as direct dev dependency - [`cf67f66`](https://togithub.com/yeoman/generator/commit/cf67f666) Bump dependencies - [`ac542ba`](https://togithub.com/yeoman/generator/commit/ac542ba3) Bump dev dependencies - [`0b06786`](https://togithub.com/yeoman/generator/commit/0b067868) Improve option name validation message - [`67b90f4`](https://togithub.com/yeoman/generator/commit/67b90f40) Add failing test for Boolean options starting with no- - [`51414c0`](https://togithub.com/yeoman/generator/commit/51414c03) Update Travis test matrix ### [`v1.1.0`](https://togithub.com/yeoman/generator/releases/tag/v1.1.0) [Compare Source](https://togithub.com/yeoman/generator/compare/v1.0.1...v1.1.0) - Bump [mem-fs-editor to v3.0](https://togithub.com/SBoudrias/mem-fs-editor/releases/tag/v3.0.0). New `this.fs.append()` method, and fix bugs with `copy` and `delete` operating on non-committed directories. ### [`v1.0.1`](https://togithub.com/yeoman/generator/releases/tag/v1.0.1) [Compare Source](https://togithub.com/yeoman/generator/compare/v1.0.0...v1.0.1) - Fix regression where Boolean options couldn't be undefined. ### [`v1.0.0`](https://togithub.com/yeoman/generator/releases/tag/v1.0.0): 🎉 [Compare Source](https://togithub.com/yeoman/generator/compare/v0.24.1...v1.0.0) Say allo' to yeoman-generator 1.0 🎉 ### Most important changes - Updates to option and argument parsing - Updates to composeWith - Simpler default export - Yarn support - Deleted deprecated functions See [blog post](http://yeoman.io/blog/hello-generator-1.0.html) for detailed information about the changes and hints for migrating your generator. ### Full changelog - [`138ed98`](https://togithub.com/yeoman/generator/commit/138ed98b) v1.0.0 - [`871ed39`](https://togithub.com/yeoman/generator/commit/871ed39e) v1.0.0-rc1 - [`df7012f`](https://togithub.com/yeoman/generator/commit/df7012f1) Fix composeWith to allow passing explicit arguments for yeoman-generator@<1.0 - [`9aa4e02`](https://togithub.com/yeoman/generator/commit/9aa4e02b) Alias desc to description in argument/option config - [`1b6eede`](https://togithub.com/yeoman/generator/commit/1b6eede1) Remove Gruntfile api - Fix [#​744](https://togithub.com/yeoman/generator/issues/744) - [`fedb2fb`](https://togithub.com/yeoman/generator/commit/fedb2fbe) Update composeWith to take path or namespace as first argument - Fix [#​983](https://togithub.com/yeoman/generator/issues/983) - [`1885dec`](https://togithub.com/yeoman/generator/commit/1885dec6) Single way of passing both arguments and options to composed generator - [`a852f62`](https://togithub.com/yeoman/generator/commit/a852f621) Allow passing arguments to a Generator constructor in the same way as we pass options - [`f6f4dda`](https://togithub.com/yeoman/generator/commit/f6f4ddaf) Fix issue [#​947](https://togithub.com/yeoman/generator/issues/947) ([#​982](https://togithub.com/yeoman/generator/issues/982)) - [`e1b95d8`](https://togithub.com/yeoman/generator/commit/e1b95d89) Refactor arguments and options parsing - [`a3cab64`](https://togithub.com/yeoman/generator/commit/a3cab644) Disambiguate cli options from spawn options - Fix [#​754](https://togithub.com/yeoman/generator/issues/754) - [`687b9be`](https://togithub.com/yeoman/generator/commit/687b9bea) Conflicter to handle null file.contents - Fix [#​950](https://togithub.com/yeoman/generator/issues/950) - [`d6345f7`](https://togithub.com/yeoman/generator/commit/d6345f79) Pass default options to composed generators automatically - Fix [#​745](https://togithub.com/yeoman/generator/issues/745) - [`bddb942`](https://togithub.com/yeoman/generator/commit/bddb9427) Fix yarnInstall to add new package - Fix [#​980](https://togithub.com/yeoman/generator/issues/980) - [`cd5e34d`](https://togithub.com/yeoman/generator/commit/cd5e34d4) Simplify root exports - [`3601531`](https://togithub.com/yeoman/generator/commit/36015315) Get rid of yeoman-environment proxying - [`006577a`](https://togithub.com/yeoman/generator/commit/006577ab) Update tes matrix - [`f633dae`](https://togithub.com/yeoman/generator/commit/f633dae0) Remove NamedBase - [`16084c6`](https://togithub.com/yeoman/generator/commit/16084c60) Remove jshintrc - [`ec9c448`](https://togithub.com/yeoman/generator/commit/ec9c4481) Remove legacy files functions - [`49ce5f3`](https://togithub.com/yeoman/generator/commit/49ce5f3e) Remove deprecated modules - [`f3fb1d5`](https://togithub.com/yeoman/generator/commit/f3fb1d5a) Save current config to .yo-rc.json ([#​963](https://togithub.com/yeoman/generator/issues/963)) - [`4eccb2a`](https://togithub.com/yeoman/generator/commit/4eccb2a8) Add yarnInstall method - [`f632f01`](https://togithub.com/yeoman/generator/commit/f632f018) Add version number to generated docs ([#​978](https://togithub.com/yeoman/generator/issues/978)) - [`7cf5875`](https://togithub.com/yeoman/generator/commit/7cf58753) Update logo url in api doc - [`cf64f57`](https://togithub.com/yeoman/generator/commit/cf64f570) Switch JSDoc template ([#​977](https://togithub.com/yeoman/generator/issues/977)) - [`102dd97`](https://togithub.com/yeoman/generator/commit/102dd978) Only build and deploy docs on a specific node version ([#​976](https://togithub.com/yeoman/generator/issues/976)) - [`87b210b`](https://togithub.com/yeoman/generator/commit/87b210b2) Prevent multiple commits of docs in gh-pages branch ([#​975](https://togithub.com/yeoman/generator/issues/975)) - [`2c34bde`](https://togithub.com/yeoman/generator/commit/2c34bdee) npm cache by default ([#​940](https://togithub.com/yeoman/generator/issues/940))