babel/babel
### [`v7.12.1`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v7121-2020-10-16)
[Compare Source](https://togithub.com/babel/babel/compare/v7.12.0...v7.12.1)
##### :bug: Bug Fix
- `babel-cli`
- [#12182](https://togithub.com/babel/babel/pull/12182) Don't force chokidar@2 to be downloaded from registry.npmjs.org ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-plugin-transform-runtime`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#12184](https://togithub.com/babel/babel/pull/12184) Allow importing `@babel/runtime/package` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-parser`
- [#12183](https://togithub.com/babel/babel/pull/12183) Reland "Fix: check if param is assignable when parsing arrow return type annotation" ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :house: Internal
- Other
- [#12188](https://togithub.com/babel/babel/pull/12188) Guard against yarn-issue-1882 ([@JLHwung](https://togithub.com/JLHwung))
- `babel-cli`, `babel-core`, `babel-generator`, `babel-helper-bindify-decorators`, `babel-helper-call-delegate`, `babel-helper-compilation-targets`, `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin`, `babel-helper-explode-assignable-expression`, `babel-helper-explode-class`, `babel-helper-module-imports`, `babel-helper-remap-async-to-generator`, `babel-helper-skip-transparent-expression-wrappers`, `babel-helpers`, `babel-node`, `babel-parser`, `babel-plugin-external-helpers`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-class-static-block`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-do-expressions`, `babel-plugin-proposal-dynamic-import`, `babel-plugin-proposal-export-default-from`, `babel-plugin-proposal-export-namespace-from`, `babel-plugin-proposal-function-bind`, `babel-plugin-proposal-function-sent`, `babel-plugin-proposal-json-strings`, `babel-plugin-proposal-logical-assignment-operators`, `babel-plugin-proposal-nullish-coalescing-operator`, `babel-plugin-proposal-numeric-separator`, `babel-plugin-proposal-object-rest-spread`, `babel-plugin-proposal-optional-catch-binding`, `babel-plugin-proposal-optional-chaining`, `babel-plugin-proposal-partial-application`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-proposal-private-methods`, `babel-plugin-proposal-private-property-in-object`, `babel-plugin-proposal-throw-expressions`, `babel-plugin-proposal-unicode-property-regex`, `babel-plugin-syntax-class-properties`, `babel-plugin-syntax-decorators`, `babel-plugin-syntax-do-expressions`, `babel-plugin-syntax-export-default-from`, `babel-plugin-syntax-flow`, `babel-plugin-syntax-function-bind`, `babel-plugin-syntax-function-sent`, `babel-plugin-syntax-import-assertions`, `babel-plugin-syntax-jsx`, `babel-plugin-syntax-module-string-names`, `babel-plugin-syntax-partial-application`, `babel-plugin-syntax-pipeline-operator`, `babel-plugin-syntax-record-and-tuple`, `babel-plugin-syntax-throw-expressions`, `babel-plugin-syntax-top-level-await`, `babel-plugin-syntax-typescript`, `babel-plugin-transform-arrow-functions`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-block-scoped-functions`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-classes`, `babel-plugin-transform-computed-properties`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-dotall-regex`, `babel-plugin-transform-duplicate-keys`, `babel-plugin-transform-exponentiation-operator`, `babel-plugin-transform-flow-comments`, `babel-plugin-transform-flow-strip-types`, `babel-plugin-transform-for-of`, `babel-plugin-transform-function-name`, `babel-plugin-transform-instanceof`, `babel-plugin-transform-jscript`, `babel-plugin-transform-literals`, `babel-plugin-transform-member-expression-literals`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-modules-umd`, `babel-plugin-transform-named-capturing-groups-regex`, `babel-plugin-transform-new-target`, `babel-plugin-transform-object-assign`, `babel-plugin-transform-object-set-prototype-of-to-assign`, `babel-plugin-transform-object-super`, `babel-plugin-transform-parameters`, `babel-plugin-transform-property-literals`, `babel-plugin-transform-property-mutators`, `babel-plugin-transform-proto-to-assign`, `babel-plugin-transform-react-constant-elements`, `babel-plugin-transform-react-display-name`, `babel-plugin-transform-react-inline-elements`, `babel-plugin-transform-react-jsx-compat`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx-self`, `babel-plugin-transform-react-jsx-source`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-react-pure-annotations`, `babel-plugin-transform-regenerator`, `babel-plugin-transform-reserved-words`, `babel-plugin-transform-runtime`, `babel-plugin-transform-shorthand-properties`, `babel-plugin-transform-spread`, `babel-plugin-transform-sticky-regex`, `babel-plugin-transform-strict-mode`, `babel-plugin-transform-template-literals`, `babel-plugin-transform-typeof-symbol`, `babel-plugin-transform-typescript`, `babel-plugin-transform-unicode-escapes`, `babel-plugin-transform-unicode-regex`, `babel-preset-env`, `babel-preset-flow`, `babel-preset-react`, `babel-preset-typescript`, `babel-register`, `babel-standalone`, `babel-traverse`, `babel-types`
- [#12186](https://togithub.com/babel/babel/pull/12186) chore: use workspace:\* for dev deps ([@JLHwung](https://togithub.com/JLHwung))
- `babel-compat-data`, `babel-helper-compilation-targets`, `babel-helper-create-class-features-plugin`, `babel-helper-remap-async-to-generator`, `babel-helper-simple-access`, `babel-helper-transform-fixture-test-runner`, `babel-plugin-transform-named-capturing-groups-regex`, `babel-plugin-transform-object-assign`, `babel-plugin-transform-parameters`, `babel-plugin-transform-react-jsx-self`, `babel-plugin-transform-react-jsx-source`, `babel-plugin-transform-template-literals`, `babel-preset-env`, `babel-preset-react`, `babel-runtime-corejs2`, `babel-runtime`, `babel-standalone`
- [#12175](https://togithub.com/babel/babel/pull/12175) Remove unused `dependencies` and `devDependencies` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
### [`v7.12.0`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v7120-2020-10-14)
[Compare Source](https://togithub.com/babel/babel/compare/v7.11.6...v7.12.0)
##### :eyeglasses: Spec Compliance
- `babel-core`, `babel-helper-module-transforms`, `babel-parser`, `babel-plugin-proposal-export-namespace-from`, `babel-plugin-syntax-module-string-names`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-modules-umd`, `babel-types`
- [#12091](https://togithub.com/babel/babel/pull/12091) String import/export specifier ([@JLHwung](https://togithub.com/JLHwung))
- `babel-parser`
- [#12111](https://togithub.com/babel/babel/pull/12111) [ts] Throw a syntax error for index signature with `declare` ([@sosukesuzuki](https://togithub.com/sosukesuzuki))
##### :rocket: New Feature
- `babel-core`, `babel-generator`, `babel-parser`, `babel-plugin-syntax-import-assertions`, `babel-plugin-syntax-module-attributes`, `babel-standalone`, `babel-types`
- [#12139](https://togithub.com/babel/babel/pull/12139) Parse import-assertions ([@xtuc](https://togithub.com/xtuc))
- `babel-core`, `babel-helper-create-class-features-plugin`, `babel-helper-module-transforms`, `babel-helper-replace-supers`, `babel-plugin-proposal-class-static-block`, `babel-plugin-transform-modules-commonjs`, `babel-standalone`, `babel-traverse`, `babel-types`
- [#12143](https://togithub.com/babel/babel/pull/12143) Transform class static block ([@JLHwung](https://togithub.com/JLHwung))
- `babel-generator`, `babel-parser`, `babel-plugin-syntax-class-static-block`, `babel-types`
- [#12079](https://togithub.com/babel/babel/pull/12079) Parse class static block ([@JLHwung](https://togithub.com/JLHwung))
- `babel-generator`, `babel-parser`, `babel-types`
- [#12129](https://togithub.com/babel/babel/pull/12129) Support TypeScript mapped type 'as' clauses ([@existentialism](https://togithub.com/existentialism))
- [#12147](https://togithub.com/babel/babel/pull/12147) [ts] Add support for the "intrinsic" keyword ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-parser`, `babel-types`
- [#12131](https://togithub.com/babel/babel/pull/12131) [ts] Add support for template interpolations in types ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-plugin-transform-modules-systemjs`
- [#12163](https://togithub.com/babel/babel/pull/12163) SystemJS top-level await support ([@guybedford](https://togithub.com/guybedford))
- `babel-plugin-transform-typescript`, `babel-preset-typescript`
- [#11950](https://togithub.com/babel/babel/pull/11950) Add `jsxPragmaFrag` support to typescript transform ([@JLHwung](https://togithub.com/JLHwung))
- `babel-core`, `babel-helper-module-transforms`, `babel-parser`, `babel-plugin-proposal-export-namespace-from`, `babel-plugin-syntax-module-string-names`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-modules-umd`, `babel-types`
- [#12091](https://togithub.com/babel/babel/pull/12091) String import/export specifier ([@JLHwung](https://togithub.com/JLHwung))
- `babel-core`
- [#11907](https://togithub.com/babel/babel/pull/11907) Return a list of files that were read from loadPartialConfig ([@devongovett](https://togithub.com/devongovett))
##### :bug: Bug Fix
- `babel-parser`
- [#12167](https://togithub.com/babel/babel/pull/12167) [ts] Add `asserts: false` to `TSTypePredicate` node ([@sosukesuzuki](https://togithub.com/sosukesuzuki))
- [#12161](https://togithub.com/babel/babel/pull/12161) Move check for TSTypeCastExpression to catch another case ([@existentialism](https://togithub.com/existentialism))
- [#12120](https://togithub.com/babel/babel/pull/12120) Throw a recoverable error for missing initializer in const declaration ([@sosukesuzuki](https://togithub.com/sosukesuzuki))
- [#12108](https://togithub.com/babel/babel/pull/12108) Improve syntax error for class fields in ambient context ([@sosukesuzuki](https://togithub.com/sosukesuzuki))
- [#12088](https://togithub.com/babel/babel/pull/12088) Throw a syntax error for empty type parameter/argument ([@sosukesuzuki](https://togithub.com/sosukesuzuki))
- [#12093](https://togithub.com/babel/babel/pull/12093) Throw an error for a declare class field that have an initializer ([@sosukesuzuki](https://togithub.com/sosukesuzuki))
- [#12085](https://togithub.com/babel/babel/pull/12085) Do not throw an error for optional binding pattern params in function declaration ([@sosukesuzuki](https://togithub.com/sosukesuzuki))
- [#12076](https://togithub.com/babel/babel/pull/12076) Fix invalid `setter` parse ([@fisker](https://togithub.com/fisker))
- [#12054](https://togithub.com/babel/babel/pull/12054) Throw a syntax error for a declare function with a body ([@sosukesuzuki](https://togithub.com/sosukesuzuki))
- [#12065](https://togithub.com/babel/babel/pull/12065) Throw a syntax error for a constructor with type parameters ([@sosukesuzuki](https://togithub.com/sosukesuzuki))
- `babel-plugin-transform-typescript`
- [#12149](https://togithub.com/babel/babel/pull/12149) fix transform-typescript logic to remove definite fields ([@akphi](https://togithub.com/akphi))
- [#12122](https://togithub.com/babel/babel/pull/12122) [transform-typescript] Fix import elision for type exports ([@Amareis](https://togithub.com/Amareis))
- `babel-helper-member-expression-to-functions`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-nullish-coalescing-operator`, `babel-plugin-proposal-optional-chaining`
- [#12032](https://togithub.com/babel/babel/pull/12032) Handle cases when `??` and `?.` is in binding initializers ([@JLHwung](https://togithub.com/JLHwung))
- `babel-helper-builder-react-jsx-experimental`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx`, `babel-preset-react`
- [#12116](https://togithub.com/babel/babel/pull/12116) add `.js` extension to react runtime for JSX transform ([@lunaruan](https://togithub.com/lunaruan))
- `babel-traverse`, `babel-types`
- [#12119](https://togithub.com/babel/babel/pull/12119) fix: mark Pattern in CatchClause as scope ([@JLHwung](https://togithub.com/JLHwung))
- `babel-generator`
- [#12114](https://togithub.com/babel/babel/pull/12114) Fix printing TSTypeOperator ([@existentialism](https://togithub.com/existentialism))
- [#12082](https://togithub.com/babel/babel/pull/12082) Ensure expressions wrapped in parens ([@overlookmotel](https://togithub.com/overlookmotel))
- [#12081](https://togithub.com/babel/babel/pull/12081) Fix `@babel/generator` does not print decorators of private properties ([@zweimach](https://togithub.com/zweimach))
- [#12086](https://togithub.com/babel/babel/pull/12086) Add sourcemap markings for each line of a string ([@jridgewell](https://togithub.com/jridgewell))
- `babel-plugin-transform-modules-systemjs`
- [#12110](https://togithub.com/babel/babel/pull/12110) Fix reexporting init-less variable in systemjs ([@JLHwung](https://togithub.com/JLHwung))
- `babel-helper-module-transforms`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd`, `babel-plugin-transform-runtime`
- [#11739](https://togithub.com/babel/babel/pull/11739) [cjs] Skip duplicate reexported bindings in namespace reexports ([@mischnic](https://togithub.com/mischnic))
- `babel-helper-create-regexp-features-plugin`, `babel-plugin-transform-unicode-regex`
- [#12077](https://togithub.com/babel/babel/pull/12077) Bump regexpu-core ([@existentialism](https://togithub.com/existentialism))
- `babel-plugin-proposal-do-expressions`, `babel-traverse`
- [#11728](https://togithub.com/babel/babel/pull/11728) fix(do-expr): SwitchStatement with IfStatement cases ([@barronwei](https://togithub.com/barronwei))
##### :nail_care: Polish
- `babel-parser`
- [#12072](https://togithub.com/babel/babel/pull/12072) [parser] Better error message for missing number exponent ([@iamfotx](https://togithub.com/iamfotx))
- [#12061](https://togithub.com/babel/babel/pull/12061) Throw a syntax error for a parameter properties in not constructor ([@sosukesuzuki](https://togithub.com/sosukesuzuki))
- `babel-helper-compilation-targets`, `babel-helper-validator-option`, `babel-preset-env`
- [#12006](https://togithub.com/babel/babel/pull/12006) refactor: add [@babel/helper-validator-option](https://togithub.com/babel/helper-validator-option) ([@JLHwung](https://togithub.com/JLHwung))
##### :house: Internal
- `babel-cli`, `babel-helper-transform-fixture-test-runner`, `babel-traverse`
- [#11797](https://togithub.com/babel/babel/pull/11797) Replace lodash 'defaults' usage with ES6 Spread initializer ([@jayaddison](https://togithub.com/jayaddison))
- `babel-plugin-transform-runtime`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#10853](https://togithub.com/babel/babel/pull/10853) Specify runtime exports ([@JLHwung](https://togithub.com/JLHwung))
- `babel-core`
- [#11689](https://togithub.com/babel/babel/pull/11689) Instantiate presets before plugins ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-plugin-proposal-logical-assignment-operators`, `babel-plugin-proposal-numeric-separator`, `babel-plugin-syntax-import-meta`, `babel-plugin-syntax-logical-assignment-operators`, `babel-plugin-syntax-numeric-separator`, `babel-plugin-transform-modules-systemjs`, `babel-preset-env`, `babel-standalone`
- [#12117](https://togithub.com/babel/babel/pull/12117) Archive plugins ([@JLHwung](https://togithub.com/JLHwung))
- Other
- [#12154](https://togithub.com/babel/babel/pull/12154) chore: bump gulp-cli to 2.3.0 ([@JLHwung](https://togithub.com/JLHwung))
- [#12134](https://togithub.com/babel/babel/pull/12134) Yarn 2.3 ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#12099](https://togithub.com/babel/babel/pull/12099) fix: apply terser plugin only on \*.min.js ([@JLHwung](https://togithub.com/JLHwung))
- [#12098](https://togithub.com/babel/babel/pull/12098) docs: update build required node version ([@JLHwung](https://togithub.com/JLHwung))
- [#12078](https://togithub.com/babel/babel/pull/12078) Bump Babel deps ([@existentialism](https://togithub.com/existentialism))
- [#12070](https://togithub.com/babel/babel/pull/12070) chore: pin browserslist version to 4.12.0 ([@JLHwung](https://togithub.com/JLHwung))
- [#12063](https://togithub.com/babel/babel/pull/12063) chore: add git-blame-ignore-revs ([@JLHwung](https://togithub.com/JLHwung))
- [#12049](https://togithub.com/babel/babel/pull/12049) chore: use latest node on ci workflow when possible ([@JLHwung](https://togithub.com/JLHwung))
- `babel-compat-data`, `babel-preset-env`
- [#12118](https://togithub.com/babel/babel/pull/12118) chore: bump electron-to-chromium ([@JLHwung](https://togithub.com/JLHwung))
- `babel-parser`
- [#12103](https://togithub.com/babel/babel/pull/12103) Add missing tests for TypeScript syntax errors ([@sosukesuzuki](https://togithub.com/sosukesuzuki))
- `babel-core`, `babel-plugin-transform-runtime`
- [#12102](https://togithub.com/babel/babel/pull/12102) docs: Fix simple typo, preprelease -> pre-release ([@timgates42](https://togithub.com/timgates42))
- `babel-compat-data`
- [#12044](https://togithub.com/babel/babel/pull/12044) chore: remove unused dependencies ([@JLHwung](https://togithub.com/JLHwung))
typescript-eslint/typescript-eslint
### [`v4.4.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/master/CHANGELOG.md#441-httpsgithubcomtypescript-eslinttypescript-eslintcomparev440v441-2020-10-12)
[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.4.0...v4.4.1)
##### Bug Fixes
- **eslint-plugin:** [ban-ts-comment] support block comments ([#2644](https://togithub.com/typescript-eslint/typescript-eslint/issues/2644)) ([9c3c686](https://togithub.com/typescript-eslint/typescript-eslint/commit/9c3c686b59b4b8fd02c479a534b5ca9b33c5ff40))
- **eslint-plugin:** [ban-types] allow banning types with specific parameters ([#2662](https://togithub.com/typescript-eslint/typescript-eslint/issues/2662)) ([77732a2](https://togithub.com/typescript-eslint/typescript-eslint/commit/77732a2f3979f638e471b6de327b2ea0e976d568))
- **eslint-plugin:** [consistent-type-assertions] check type assertion in jsx props ([#2653](https://togithub.com/typescript-eslint/typescript-eslint/issues/2653)) ([393e925](https://togithub.com/typescript-eslint/typescript-eslint/commit/393e92573fbde849369af1d10b9f25299ec92eaf))
- **eslint-plugin:** [no-duplicate-imports] distinguish member, default ([#2637](https://togithub.com/typescript-eslint/typescript-eslint/issues/2637)) ([c71f423](https://togithub.com/typescript-eslint/typescript-eslint/commit/c71f423b89bf034caf2a4f1bb3ed0389b72f3aa9))
- **eslint-plugin:** [no-throw-literal] false positive with logical expressions ([#2645](https://togithub.com/typescript-eslint/typescript-eslint/issues/2645)) ([57aa6c7](https://togithub.com/typescript-eslint/typescript-eslint/commit/57aa6c7642320074ed2b6a15e7f38e66a2fb13d1))
- **eslint-plugin:** [no-unused-vars] fix false positives for duplicated names in namespaces ([#2659](https://togithub.com/typescript-eslint/typescript-eslint/issues/2659)) ([0d696c7](https://togithub.com/typescript-eslint/typescript-eslint/commit/0d696c72c5c9c3446902a63509d499ee95483e81))
- **eslint-plugin:** [no-use-before-define] correctly handle typeof type references ([#2623](https://togithub.com/typescript-eslint/typescript-eslint/issues/2623)) ([8e44c78](https://togithub.com/typescript-eslint/typescript-eslint/commit/8e44c78a20410457851e5b7fe9a24777876c0aaf))
- **scope-manager:** don't create a variable for global augmentation ([#2639](https://togithub.com/typescript-eslint/typescript-eslint/issues/2639)) ([6bc9325](https://togithub.com/typescript-eslint/typescript-eslint/commit/6bc93257ec876214743a165093b6666d713379f6))
mochajs/mocha
### [`v8.2.0`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#820--2020-10-16)
[Compare Source](https://togithub.com/mochajs/mocha/compare/v8.1.3...v8.2.0)
The major feature added in v8.2.0 is addition of support for [_global fixtures_](https://mochajs.org/#global-fixtures).
While Mocha has always had the ability to run setup and teardown via a hook (e.g., a `before()` at the top level of a test file) when running tests in serial, Mocha v8.0.0 added support for parallel runs. Parallel runs are _incompatible_ with this strategy; e.g., a top-level `before()` would only run for the file in which it was defined.
With [global fixtures](https://mochajs.org/#global-fixtures), Mocha can now perform user-defined setup and teardown _regardless_ of mode, and these fixtures are guaranteed to run _once and only once_. This holds for parallel mode, serial mode, and even "watch" mode (the teardown will run once you hit Ctrl-C, just before Mocha finally exits). Tasks such as starting and stopping servers are well-suited to global fixtures, but not sharing resources--global fixtures do _not_ share context with your test files (but they do share context with each other).
Here's a short example of usage:
```js
// fixtures.js
// can be async or not
exports.mochaGlobalSetup = async function() {
this.server = await startSomeServer({port: process.env.TEST_PORT});
console.log(`server running on port ${this.server.port}`);
};
exports.mochaGlobalTeardown = async function() {
// the context (`this`) is shared, but not with the test files
await this.server.stop();
console.log(`server on port ${this.server.port} stopped`);
};
// this file can contain root hook plugins as well!
// exports.mochaHooks = { ... }
```
Fixtures are loaded with `--require`, e.g., `mocha --require fixtures.js`.
For detailed information, please see the [documentation](https://mochajs.org/#global-fixtures) and this handy-dandy [flowchart](https://mochajs.org/#test-fixture-decision-tree-wizard-thing) to help understand the differences between hooks, root hook plugins, and global fixtures (and when you should use each).
#### :tada: Enhancements
- [#4308](https://togithub.com/mochajs/mocha/issues/4308): Support run-once [global setup & teardown fixtures](https://mochajs.org/#global-fixtures) ([**@boneskull**](https://togithub.com/boneskull))
- [#4442](https://togithub.com/mochajs/mocha/issues/4442): Multi-part extensions (e.g., `test.js`) now usable with `--extension` option ([**@jordanstephens**](https://togithub.com/jordanstephens))
- [#4472](https://togithub.com/mochajs/mocha/issues/4472): Leading dots (e.g., `.js`, `.test.js`) now usable with `--extension` option ([**@boneskull**](https://togithub.com/boneskull))
- [#4434](https://togithub.com/mochajs/mocha/issues/4434): Output of `json` reporter now contains `speed` ("fast"/"medium"/"slow") property ([**@wwhurin**](https://togithub.com/wwhurin))
- [#4464](https://togithub.com/mochajs/mocha/issues/4464): Errors thrown by serializer in parallel mode now have error codes ([**@evaline-ju**](https://togithub.com/evaline-ju))
_For implementors of custom reporters:_
- [#4409](https://togithub.com/mochajs/mocha/issues/4409): Parallel mode and custom reporter improvements ([**@boneskull**](https://togithub.com/boneskull)):
- Support custom worker-process-only reporters (`Runner.prototype.workerReporter()`); reporters should subclass `ParallelBufferedReporter` in `mocha/lib/nodejs/reporters/parallel-buffered`
- Allow opt-in of object reference matching for "sufficiently advanced" custom reporters (`Runner.prototype.linkPartialObjects()`); use if strict object equality is needed when consuming `Runner` event data
- Enable detection of parallel mode (`Runner.prototype.isParallelMode()`)
#### :bug: Fixes
- [#4476](https://togithub.com/mochajs/mocha/issues/4476): Workaround for profoundly bizarre issue affecting `npm` v6.x causing some of Mocha's deps to be installed when `mocha` is present in a package's `devDependencies` and `npm install --production` is run the package's working copy ([**@boneskull**](https://togithub.com/boneskull))
- [#4465](https://togithub.com/mochajs/mocha/issues/4465): Worker processes guaranteed (as opposed to "very likely") to exit before Mocha does; fixes a problem when using `nyc` with Mocha in parallel mode ([**@boneskull**](https://togithub.com/boneskull))
- [#4419](https://togithub.com/mochajs/mocha/issues/4419): Restore `lookupFiles()` in `mocha/lib/utils`, which was broken/missing in Mocha v8.1.0; it now prints a deprecation warning (use `const {lookupFiles} = require('mocha/lib/cli')` instead) ([**@boneskull**](https://togithub.com/boneskull))
Thanks to [**@AviVahl**](https://togithub.com/AviVahl), [**@donghoon-song**](https://togithub.com/donghoon-song), [**@ValeriaVG**](https://togithub.com/ValeriaVG), [**@znarf**](https://togithub.com/znarf), [**@sujin-park**](https://togithub.com/sujin-park), and [**@majecty**](https://togithub.com/majecty) for other helpful contributions!
rollup/rollup
### [`v2.32.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2320)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.31.0...v2.32.0)
_2020-10-16_
##### Features
- Extend `preserveEntrySignatures` with a value `"exports-only"` to allow extension only if an entry does not have exports ([#3823](https://togithub.com/rollup/rollup/issues/3823))
##### Pull Requests
- [#3823](https://togithub.com/rollup/rollup/pull/3823): Add "exports-only" option to preserveSignature ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.31.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2310)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.30.0...v2.31.0)
_2020-10-15_
##### Features
- When using the `output.moduleToStringTag` option, also add the tag to entries with exports and simulated external namespaces ([#3822](https://togithub.com/rollup/rollup/issues/3822))
- Add the `__esModule` interop marker to IIFE global variables unless `output.esModule` is turned off ([#3822](https://togithub.com/rollup/rollup/issues/3822))
##### Pull Requests
- [#3822](https://togithub.com/rollup/rollup/pull/3822): Add module toStringTag to entries and interop namespaces ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.30.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2300)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.29.0...v2.30.0)
_2020-10-13_
##### Features
- Add `moduleParsed` hook that is called for each module once code and AST are available ([#3813](https://togithub.com/rollup/rollup/issues/3813))
- Include code and AST in `this.getModuleInfo` ([#3813](https://togithub.com/rollup/rollup/issues/3813))
##### Bug Fixes
- Provide the original Acorn AST instead of the internal one when resolving dynamic imports that contain non-trivial expressions ([#3813](https://togithub.com/rollup/rollup/issues/3813))
##### Pull Requests
- [#3813](https://togithub.com/rollup/rollup/pull/3813): Add moduleParsed plugin hook ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3815](https://togithub.com/rollup/rollup/pull/3815): Docs: wile => while ([@tjenkinson](https://togithub.com/tjenkinson))
- [#3817](https://togithub.com/rollup/rollup/pull/3817): Docs: fix code snippet ([@codefrau](https://togithub.com/codefrau))
- [#3818](https://togithub.com/rollup/rollup/pull/3818): Update documentation on configuring Babel, removing the section on passing '{"modules": false}' as that is no longer needed since Babel 7 ([@Robin-Hoodie](https://togithub.com/Robin-Hoodie))
Renovate configuration
:date: Schedule: "before 3am on Monday" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^7.11.6
->^7.12.1
^7.11.6
->^7.12.3
^7.10.4
->^7.12.1
^4.4.0
->^4.4.1
^4.4.0
->^4.4.1
^8.1.3
->^8.2.0
^2.29.0
->^2.32.0
Release Notes
babel/babel
### [`v7.12.1`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v7121-2020-10-16) [Compare Source](https://togithub.com/babel/babel/compare/v7.12.0...v7.12.1) ##### :bug: Bug Fix - `babel-cli` - [#12182](https://togithub.com/babel/babel/pull/12182) Don't force chokidar@2 to be downloaded from registry.npmjs.org ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-runtime`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#12184](https://togithub.com/babel/babel/pull/12184) Allow importing `@babel/runtime/package` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#12183](https://togithub.com/babel/babel/pull/12183) Reland "Fix: check if param is assignable when parsing arrow return type annotation" ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - Other - [#12188](https://togithub.com/babel/babel/pull/12188) Guard against yarn-issue-1882 ([@JLHwung](https://togithub.com/JLHwung)) - `babel-cli`, `babel-core`, `babel-generator`, `babel-helper-bindify-decorators`, `babel-helper-call-delegate`, `babel-helper-compilation-targets`, `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin`, `babel-helper-explode-assignable-expression`, `babel-helper-explode-class`, `babel-helper-module-imports`, `babel-helper-remap-async-to-generator`, `babel-helper-skip-transparent-expression-wrappers`, `babel-helpers`, `babel-node`, `babel-parser`, `babel-plugin-external-helpers`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-class-static-block`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-do-expressions`, `babel-plugin-proposal-dynamic-import`, `babel-plugin-proposal-export-default-from`, `babel-plugin-proposal-export-namespace-from`, `babel-plugin-proposal-function-bind`, `babel-plugin-proposal-function-sent`, `babel-plugin-proposal-json-strings`, `babel-plugin-proposal-logical-assignment-operators`, `babel-plugin-proposal-nullish-coalescing-operator`, `babel-plugin-proposal-numeric-separator`, `babel-plugin-proposal-object-rest-spread`, `babel-plugin-proposal-optional-catch-binding`, `babel-plugin-proposal-optional-chaining`, `babel-plugin-proposal-partial-application`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-proposal-private-methods`, `babel-plugin-proposal-private-property-in-object`, `babel-plugin-proposal-throw-expressions`, `babel-plugin-proposal-unicode-property-regex`, `babel-plugin-syntax-class-properties`, `babel-plugin-syntax-decorators`, `babel-plugin-syntax-do-expressions`, `babel-plugin-syntax-export-default-from`, `babel-plugin-syntax-flow`, `babel-plugin-syntax-function-bind`, `babel-plugin-syntax-function-sent`, `babel-plugin-syntax-import-assertions`, `babel-plugin-syntax-jsx`, `babel-plugin-syntax-module-string-names`, `babel-plugin-syntax-partial-application`, `babel-plugin-syntax-pipeline-operator`, `babel-plugin-syntax-record-and-tuple`, `babel-plugin-syntax-throw-expressions`, `babel-plugin-syntax-top-level-await`, `babel-plugin-syntax-typescript`, `babel-plugin-transform-arrow-functions`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-block-scoped-functions`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-classes`, `babel-plugin-transform-computed-properties`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-dotall-regex`, `babel-plugin-transform-duplicate-keys`, `babel-plugin-transform-exponentiation-operator`, `babel-plugin-transform-flow-comments`, `babel-plugin-transform-flow-strip-types`, `babel-plugin-transform-for-of`, `babel-plugin-transform-function-name`, `babel-plugin-transform-instanceof`, `babel-plugin-transform-jscript`, `babel-plugin-transform-literals`, `babel-plugin-transform-member-expression-literals`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-modules-umd`, `babel-plugin-transform-named-capturing-groups-regex`, `babel-plugin-transform-new-target`, `babel-plugin-transform-object-assign`, `babel-plugin-transform-object-set-prototype-of-to-assign`, `babel-plugin-transform-object-super`, `babel-plugin-transform-parameters`, `babel-plugin-transform-property-literals`, `babel-plugin-transform-property-mutators`, `babel-plugin-transform-proto-to-assign`, `babel-plugin-transform-react-constant-elements`, `babel-plugin-transform-react-display-name`, `babel-plugin-transform-react-inline-elements`, `babel-plugin-transform-react-jsx-compat`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx-self`, `babel-plugin-transform-react-jsx-source`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-react-pure-annotations`, `babel-plugin-transform-regenerator`, `babel-plugin-transform-reserved-words`, `babel-plugin-transform-runtime`, `babel-plugin-transform-shorthand-properties`, `babel-plugin-transform-spread`, `babel-plugin-transform-sticky-regex`, `babel-plugin-transform-strict-mode`, `babel-plugin-transform-template-literals`, `babel-plugin-transform-typeof-symbol`, `babel-plugin-transform-typescript`, `babel-plugin-transform-unicode-escapes`, `babel-plugin-transform-unicode-regex`, `babel-preset-env`, `babel-preset-flow`, `babel-preset-react`, `babel-preset-typescript`, `babel-register`, `babel-standalone`, `babel-traverse`, `babel-types` - [#12186](https://togithub.com/babel/babel/pull/12186) chore: use workspace:\* for dev deps ([@JLHwung](https://togithub.com/JLHwung)) - `babel-compat-data`, `babel-helper-compilation-targets`, `babel-helper-create-class-features-plugin`, `babel-helper-remap-async-to-generator`, `babel-helper-simple-access`, `babel-helper-transform-fixture-test-runner`, `babel-plugin-transform-named-capturing-groups-regex`, `babel-plugin-transform-object-assign`, `babel-plugin-transform-parameters`, `babel-plugin-transform-react-jsx-self`, `babel-plugin-transform-react-jsx-source`, `babel-plugin-transform-template-literals`, `babel-preset-env`, `babel-preset-react`, `babel-runtime-corejs2`, `babel-runtime`, `babel-standalone` - [#12175](https://togithub.com/babel/babel/pull/12175) Remove unused `dependencies` and `devDependencies` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.12.0`](https://togithub.com/babel/babel/blob/master/CHANGELOG.md#v7120-2020-10-14) [Compare Source](https://togithub.com/babel/babel/compare/v7.11.6...v7.12.0) ##### :eyeglasses: Spec Compliance - `babel-core`, `babel-helper-module-transforms`, `babel-parser`, `babel-plugin-proposal-export-namespace-from`, `babel-plugin-syntax-module-string-names`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-modules-umd`, `babel-types` - [#12091](https://togithub.com/babel/babel/pull/12091) String import/export specifier ([@JLHwung](https://togithub.com/JLHwung)) - `babel-parser` - [#12111](https://togithub.com/babel/babel/pull/12111) [ts] Throw a syntax error for index signature with `declare` ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) ##### :rocket: New Feature - `babel-core`, `babel-generator`, `babel-parser`, `babel-plugin-syntax-import-assertions`, `babel-plugin-syntax-module-attributes`, `babel-standalone`, `babel-types` - [#12139](https://togithub.com/babel/babel/pull/12139) Parse import-assertions ([@xtuc](https://togithub.com/xtuc)) - `babel-core`, `babel-helper-create-class-features-plugin`, `babel-helper-module-transforms`, `babel-helper-replace-supers`, `babel-plugin-proposal-class-static-block`, `babel-plugin-transform-modules-commonjs`, `babel-standalone`, `babel-traverse`, `babel-types` - [#12143](https://togithub.com/babel/babel/pull/12143) Transform class static block ([@JLHwung](https://togithub.com/JLHwung)) - `babel-generator`, `babel-parser`, `babel-plugin-syntax-class-static-block`, `babel-types` - [#12079](https://togithub.com/babel/babel/pull/12079) Parse class static block ([@JLHwung](https://togithub.com/JLHwung)) - `babel-generator`, `babel-parser`, `babel-types` - [#12129](https://togithub.com/babel/babel/pull/12129) Support TypeScript mapped type 'as' clauses ([@existentialism](https://togithub.com/existentialism)) - [#12147](https://togithub.com/babel/babel/pull/12147) [ts] Add support for the "intrinsic" keyword ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser`, `babel-types` - [#12131](https://togithub.com/babel/babel/pull/12131) [ts] Add support for template interpolations in types ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-modules-systemjs` - [#12163](https://togithub.com/babel/babel/pull/12163) SystemJS top-level await support ([@guybedford](https://togithub.com/guybedford)) - `babel-plugin-transform-typescript`, `babel-preset-typescript` - [#11950](https://togithub.com/babel/babel/pull/11950) Add `jsxPragmaFrag` support to typescript transform ([@JLHwung](https://togithub.com/JLHwung)) - `babel-core`, `babel-helper-module-transforms`, `babel-parser`, `babel-plugin-proposal-export-namespace-from`, `babel-plugin-syntax-module-string-names`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-modules-umd`, `babel-types` - [#12091](https://togithub.com/babel/babel/pull/12091) String import/export specifier ([@JLHwung](https://togithub.com/JLHwung)) - `babel-core` - [#11907](https://togithub.com/babel/babel/pull/11907) Return a list of files that were read from loadPartialConfig ([@devongovett](https://togithub.com/devongovett)) ##### :bug: Bug Fix - `babel-parser` - [#12167](https://togithub.com/babel/babel/pull/12167) [ts] Add `asserts: false` to `TSTypePredicate` node ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12161](https://togithub.com/babel/babel/pull/12161) Move check for TSTypeCastExpression to catch another case ([@existentialism](https://togithub.com/existentialism)) - [#12120](https://togithub.com/babel/babel/pull/12120) Throw a recoverable error for missing initializer in const declaration ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12108](https://togithub.com/babel/babel/pull/12108) Improve syntax error for class fields in ambient context ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12088](https://togithub.com/babel/babel/pull/12088) Throw a syntax error for empty type parameter/argument ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12093](https://togithub.com/babel/babel/pull/12093) Throw an error for a declare class field that have an initializer ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12085](https://togithub.com/babel/babel/pull/12085) Do not throw an error for optional binding pattern params in function declaration ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12076](https://togithub.com/babel/babel/pull/12076) Fix invalid `setter` parse ([@fisker](https://togithub.com/fisker)) - [#12054](https://togithub.com/babel/babel/pull/12054) Throw a syntax error for a declare function with a body ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12065](https://togithub.com/babel/babel/pull/12065) Throw a syntax error for a constructor with type parameters ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-plugin-transform-typescript` - [#12149](https://togithub.com/babel/babel/pull/12149) fix transform-typescript logic to remove definite fields ([@akphi](https://togithub.com/akphi)) - [#12122](https://togithub.com/babel/babel/pull/12122) [transform-typescript] Fix import elision for type exports ([@Amareis](https://togithub.com/Amareis)) - `babel-helper-member-expression-to-functions`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-nullish-coalescing-operator`, `babel-plugin-proposal-optional-chaining` - [#12032](https://togithub.com/babel/babel/pull/12032) Handle cases when `??` and `?.` is in binding initializers ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-builder-react-jsx-experimental`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx`, `babel-preset-react` - [#12116](https://togithub.com/babel/babel/pull/12116) add `.js` extension to react runtime for JSX transform ([@lunaruan](https://togithub.com/lunaruan)) - `babel-traverse`, `babel-types` - [#12119](https://togithub.com/babel/babel/pull/12119) fix: mark Pattern in CatchClause as scope ([@JLHwung](https://togithub.com/JLHwung)) - `babel-generator` - [#12114](https://togithub.com/babel/babel/pull/12114) Fix printing TSTypeOperator ([@existentialism](https://togithub.com/existentialism)) - [#12082](https://togithub.com/babel/babel/pull/12082) Ensure expressions wrapped in parens ([@overlookmotel](https://togithub.com/overlookmotel)) - [#12081](https://togithub.com/babel/babel/pull/12081) Fix `@babel/generator` does not print decorators of private properties ([@zweimach](https://togithub.com/zweimach)) - [#12086](https://togithub.com/babel/babel/pull/12086) Add sourcemap markings for each line of a string ([@jridgewell](https://togithub.com/jridgewell)) - `babel-plugin-transform-modules-systemjs` - [#12110](https://togithub.com/babel/babel/pull/12110) Fix reexporting init-less variable in systemjs ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-module-transforms`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd`, `babel-plugin-transform-runtime` - [#11739](https://togithub.com/babel/babel/pull/11739) [cjs] Skip duplicate reexported bindings in namespace reexports ([@mischnic](https://togithub.com/mischnic)) - `babel-helper-create-regexp-features-plugin`, `babel-plugin-transform-unicode-regex` - [#12077](https://togithub.com/babel/babel/pull/12077) Bump regexpu-core ([@existentialism](https://togithub.com/existentialism)) - `babel-plugin-proposal-do-expressions`, `babel-traverse` - [#11728](https://togithub.com/babel/babel/pull/11728) fix(do-expr): SwitchStatement with IfStatement cases ([@barronwei](https://togithub.com/barronwei)) ##### :nail_care: Polish - `babel-parser` - [#12072](https://togithub.com/babel/babel/pull/12072) [parser] Better error message for missing number exponent ([@iamfotx](https://togithub.com/iamfotx)) - [#12061](https://togithub.com/babel/babel/pull/12061) Throw a syntax error for a parameter properties in not constructor ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-helper-compilation-targets`, `babel-helper-validator-option`, `babel-preset-env` - [#12006](https://togithub.com/babel/babel/pull/12006) refactor: add [@babel/helper-validator-option](https://togithub.com/babel/helper-validator-option) ([@JLHwung](https://togithub.com/JLHwung)) ##### :house: Internal - `babel-cli`, `babel-helper-transform-fixture-test-runner`, `babel-traverse` - [#11797](https://togithub.com/babel/babel/pull/11797) Replace lodash 'defaults' usage with ES6 Spread initializer ([@jayaddison](https://togithub.com/jayaddison)) - `babel-plugin-transform-runtime`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#10853](https://togithub.com/babel/babel/pull/10853) Specify runtime exports ([@JLHwung](https://togithub.com/JLHwung)) - `babel-core` - [#11689](https://togithub.com/babel/babel/pull/11689) Instantiate presets before plugins ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-proposal-logical-assignment-operators`, `babel-plugin-proposal-numeric-separator`, `babel-plugin-syntax-import-meta`, `babel-plugin-syntax-logical-assignment-operators`, `babel-plugin-syntax-numeric-separator`, `babel-plugin-transform-modules-systemjs`, `babel-preset-env`, `babel-standalone` - [#12117](https://togithub.com/babel/babel/pull/12117) Archive plugins ([@JLHwung](https://togithub.com/JLHwung)) - Other - [#12154](https://togithub.com/babel/babel/pull/12154) chore: bump gulp-cli to 2.3.0 ([@JLHwung](https://togithub.com/JLHwung)) - [#12134](https://togithub.com/babel/babel/pull/12134) Yarn 2.3 ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#12099](https://togithub.com/babel/babel/pull/12099) fix: apply terser plugin only on \*.min.js ([@JLHwung](https://togithub.com/JLHwung)) - [#12098](https://togithub.com/babel/babel/pull/12098) docs: update build required node version ([@JLHwung](https://togithub.com/JLHwung)) - [#12078](https://togithub.com/babel/babel/pull/12078) Bump Babel deps ([@existentialism](https://togithub.com/existentialism)) - [#12070](https://togithub.com/babel/babel/pull/12070) chore: pin browserslist version to 4.12.0 ([@JLHwung](https://togithub.com/JLHwung)) - [#12063](https://togithub.com/babel/babel/pull/12063) chore: add git-blame-ignore-revs ([@JLHwung](https://togithub.com/JLHwung)) - [#12049](https://togithub.com/babel/babel/pull/12049) chore: use latest node on ci workflow when possible ([@JLHwung](https://togithub.com/JLHwung)) - `babel-compat-data`, `babel-preset-env` - [#12118](https://togithub.com/babel/babel/pull/12118) chore: bump electron-to-chromium ([@JLHwung](https://togithub.com/JLHwung)) - `babel-parser` - [#12103](https://togithub.com/babel/babel/pull/12103) Add missing tests for TypeScript syntax errors ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-core`, `babel-plugin-transform-runtime` - [#12102](https://togithub.com/babel/babel/pull/12102) docs: Fix simple typo, preprelease -> pre-release ([@timgates42](https://togithub.com/timgates42)) - `babel-compat-data` - [#12044](https://togithub.com/babel/babel/pull/12044) chore: remove unused dependencies ([@JLHwung](https://togithub.com/JLHwung))typescript-eslint/typescript-eslint
### [`v4.4.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/master/CHANGELOG.md#441-httpsgithubcomtypescript-eslinttypescript-eslintcomparev440v441-2020-10-12) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.4.0...v4.4.1) ##### Bug Fixes - **eslint-plugin:** [ban-ts-comment] support block comments ([#2644](https://togithub.com/typescript-eslint/typescript-eslint/issues/2644)) ([9c3c686](https://togithub.com/typescript-eslint/typescript-eslint/commit/9c3c686b59b4b8fd02c479a534b5ca9b33c5ff40)) - **eslint-plugin:** [ban-types] allow banning types with specific parameters ([#2662](https://togithub.com/typescript-eslint/typescript-eslint/issues/2662)) ([77732a2](https://togithub.com/typescript-eslint/typescript-eslint/commit/77732a2f3979f638e471b6de327b2ea0e976d568)) - **eslint-plugin:** [consistent-type-assertions] check type assertion in jsx props ([#2653](https://togithub.com/typescript-eslint/typescript-eslint/issues/2653)) ([393e925](https://togithub.com/typescript-eslint/typescript-eslint/commit/393e92573fbde849369af1d10b9f25299ec92eaf)) - **eslint-plugin:** [no-duplicate-imports] distinguish member, default ([#2637](https://togithub.com/typescript-eslint/typescript-eslint/issues/2637)) ([c71f423](https://togithub.com/typescript-eslint/typescript-eslint/commit/c71f423b89bf034caf2a4f1bb3ed0389b72f3aa9)) - **eslint-plugin:** [no-throw-literal] false positive with logical expressions ([#2645](https://togithub.com/typescript-eslint/typescript-eslint/issues/2645)) ([57aa6c7](https://togithub.com/typescript-eslint/typescript-eslint/commit/57aa6c7642320074ed2b6a15e7f38e66a2fb13d1)) - **eslint-plugin:** [no-unused-vars] fix false positives for duplicated names in namespaces ([#2659](https://togithub.com/typescript-eslint/typescript-eslint/issues/2659)) ([0d696c7](https://togithub.com/typescript-eslint/typescript-eslint/commit/0d696c72c5c9c3446902a63509d499ee95483e81)) - **eslint-plugin:** [no-use-before-define] correctly handle typeof type references ([#2623](https://togithub.com/typescript-eslint/typescript-eslint/issues/2623)) ([8e44c78](https://togithub.com/typescript-eslint/typescript-eslint/commit/8e44c78a20410457851e5b7fe9a24777876c0aaf)) - **scope-manager:** don't create a variable for global augmentation ([#2639](https://togithub.com/typescript-eslint/typescript-eslint/issues/2639)) ([6bc9325](https://togithub.com/typescript-eslint/typescript-eslint/commit/6bc93257ec876214743a165093b6666d713379f6))mochajs/mocha
### [`v8.2.0`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#820--2020-10-16) [Compare Source](https://togithub.com/mochajs/mocha/compare/v8.1.3...v8.2.0) The major feature added in v8.2.0 is addition of support for [_global fixtures_](https://mochajs.org/#global-fixtures). While Mocha has always had the ability to run setup and teardown via a hook (e.g., a `before()` at the top level of a test file) when running tests in serial, Mocha v8.0.0 added support for parallel runs. Parallel runs are _incompatible_ with this strategy; e.g., a top-level `before()` would only run for the file in which it was defined. With [global fixtures](https://mochajs.org/#global-fixtures), Mocha can now perform user-defined setup and teardown _regardless_ of mode, and these fixtures are guaranteed to run _once and only once_. This holds for parallel mode, serial mode, and even "watch" mode (the teardown will run once you hit Ctrl-C, just before Mocha finally exits). Tasks such as starting and stopping servers are well-suited to global fixtures, but not sharing resources--global fixtures do _not_ share context with your test files (but they do share context with each other). Here's a short example of usage: ```js // fixtures.js // can be async or not exports.mochaGlobalSetup = async function() { this.server = await startSomeServer({port: process.env.TEST_PORT}); console.log(`server running on port ${this.server.port}`); }; exports.mochaGlobalTeardown = async function() { // the context (`this`) is shared, but not with the test files await this.server.stop(); console.log(`server on port ${this.server.port} stopped`); }; // this file can contain root hook plugins as well! // exports.mochaHooks = { ... } ``` Fixtures are loaded with `--require`, e.g., `mocha --require fixtures.js`. For detailed information, please see the [documentation](https://mochajs.org/#global-fixtures) and this handy-dandy [flowchart](https://mochajs.org/#test-fixture-decision-tree-wizard-thing) to help understand the differences between hooks, root hook plugins, and global fixtures (and when you should use each). #### :tada: Enhancements - [#4308](https://togithub.com/mochajs/mocha/issues/4308): Support run-once [global setup & teardown fixtures](https://mochajs.org/#global-fixtures) ([**@boneskull**](https://togithub.com/boneskull)) - [#4442](https://togithub.com/mochajs/mocha/issues/4442): Multi-part extensions (e.g., `test.js`) now usable with `--extension` option ([**@jordanstephens**](https://togithub.com/jordanstephens)) - [#4472](https://togithub.com/mochajs/mocha/issues/4472): Leading dots (e.g., `.js`, `.test.js`) now usable with `--extension` option ([**@boneskull**](https://togithub.com/boneskull)) - [#4434](https://togithub.com/mochajs/mocha/issues/4434): Output of `json` reporter now contains `speed` ("fast"/"medium"/"slow") property ([**@wwhurin**](https://togithub.com/wwhurin)) - [#4464](https://togithub.com/mochajs/mocha/issues/4464): Errors thrown by serializer in parallel mode now have error codes ([**@evaline-ju**](https://togithub.com/evaline-ju)) _For implementors of custom reporters:_ - [#4409](https://togithub.com/mochajs/mocha/issues/4409): Parallel mode and custom reporter improvements ([**@boneskull**](https://togithub.com/boneskull)): - Support custom worker-process-only reporters (`Runner.prototype.workerReporter()`); reporters should subclass `ParallelBufferedReporter` in `mocha/lib/nodejs/reporters/parallel-buffered` - Allow opt-in of object reference matching for "sufficiently advanced" custom reporters (`Runner.prototype.linkPartialObjects()`); use if strict object equality is needed when consuming `Runner` event data - Enable detection of parallel mode (`Runner.prototype.isParallelMode()`) #### :bug: Fixes - [#4476](https://togithub.com/mochajs/mocha/issues/4476): Workaround for profoundly bizarre issue affecting `npm` v6.x causing some of Mocha's deps to be installed when `mocha` is present in a package's `devDependencies` and `npm install --production` is run the package's working copy ([**@boneskull**](https://togithub.com/boneskull)) - [#4465](https://togithub.com/mochajs/mocha/issues/4465): Worker processes guaranteed (as opposed to "very likely") to exit before Mocha does; fixes a problem when using `nyc` with Mocha in parallel mode ([**@boneskull**](https://togithub.com/boneskull)) - [#4419](https://togithub.com/mochajs/mocha/issues/4419): Restore `lookupFiles()` in `mocha/lib/utils`, which was broken/missing in Mocha v8.1.0; it now prints a deprecation warning (use `const {lookupFiles} = require('mocha/lib/cli')` instead) ([**@boneskull**](https://togithub.com/boneskull)) Thanks to [**@AviVahl**](https://togithub.com/AviVahl), [**@donghoon-song**](https://togithub.com/donghoon-song), [**@ValeriaVG**](https://togithub.com/ValeriaVG), [**@znarf**](https://togithub.com/znarf), [**@sujin-park**](https://togithub.com/sujin-park), and [**@majecty**](https://togithub.com/majecty) for other helpful contributions!rollup/rollup
### [`v2.32.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2320) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.31.0...v2.32.0) _2020-10-16_ ##### Features - Extend `preserveEntrySignatures` with a value `"exports-only"` to allow extension only if an entry does not have exports ([#3823](https://togithub.com/rollup/rollup/issues/3823)) ##### Pull Requests - [#3823](https://togithub.com/rollup/rollup/pull/3823): Add "exports-only" option to preserveSignature ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.31.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2310) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.30.0...v2.31.0) _2020-10-15_ ##### Features - When using the `output.moduleToStringTag` option, also add the tag to entries with exports and simulated external namespaces ([#3822](https://togithub.com/rollup/rollup/issues/3822)) - Add the `__esModule` interop marker to IIFE global variables unless `output.esModule` is turned off ([#3822](https://togithub.com/rollup/rollup/issues/3822)) ##### Pull Requests - [#3822](https://togithub.com/rollup/rollup/pull/3822): Add module toStringTag to entries and interop namespaces ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.30.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2300) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.29.0...v2.30.0) _2020-10-13_ ##### Features - Add `moduleParsed` hook that is called for each module once code and AST are available ([#3813](https://togithub.com/rollup/rollup/issues/3813)) - Include code and AST in `this.getModuleInfo` ([#3813](https://togithub.com/rollup/rollup/issues/3813)) ##### Bug Fixes - Provide the original Acorn AST instead of the internal one when resolving dynamic imports that contain non-trivial expressions ([#3813](https://togithub.com/rollup/rollup/issues/3813)) ##### Pull Requests - [#3813](https://togithub.com/rollup/rollup/pull/3813): Add moduleParsed plugin hook ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3815](https://togithub.com/rollup/rollup/pull/3815): Docs: wile => while ([@tjenkinson](https://togithub.com/tjenkinson)) - [#3817](https://togithub.com/rollup/rollup/pull/3817): Docs: fix code snippet ([@codefrau](https://togithub.com/codefrau)) - [#3818](https://togithub.com/rollup/rollup/pull/3818): Update documentation on configuring Babel, removing the section on passing '{"modules": false}' as that is no longer needed since Babel 7 ([@Robin-Hoodie](https://togithub.com/Robin-Hoodie))Renovate configuration
:date: Schedule: "before 3am on Monday" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.