conventional-changelog/commitlint (@commitlint/cli)
### [`v16.2.1`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@commitlint/cli/CHANGELOG.md#1621-httpsgithubcomconventional-changelogcommitlintcomparev1620v1621-2022-02-13)
[Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v16.1.0...v16.2.1)
**Note:** Version bump only for package [@commitlint/cli](https://togithub.com/commitlint/cli)
conventional-changelog/commitlint (@commitlint/config-conventional)
### [`v16.2.1`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@commitlint/config-conventional/CHANGELOG.md#1621-httpsgithubcomconventional-changelogcommitlintcomparev1620v1621-2022-02-13)
[Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v16.0.0...v16.2.1)
**Note:** Version bump only for package [@commitlint/config-conventional](https://togithub.com/commitlint/config-conventional)
evanw/esbuild
### [`v0.14.21`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#01421)
[Compare Source](https://togithub.com/evanw/esbuild/compare/v0.14.20...v0.14.21)
- Handle an additional `browser` map edge case ([#2001](https://togithub.com/evanw/esbuild/pull/2001), [#2002](https://togithub.com/evanw/esbuild/issues/2002))
There is a community convention around the `browser` field in `package.json` that allows remapping import paths within a package when the package is bundled for use within a browser. There isn't a rigorous definition of how it's supposed to work and every bundler implements it differently. The approach esbuild uses is to try to be "maximally compatible" in that if at least one bundler exhibits a particular behavior regarding the `browser` map that allows a mapping to work, then esbuild also attempts to make that work.
I have a collection of test cases for this going here: https://github.com/evanw/package-json-browser-tests. However, I was missing test coverage for the edge case where a package path import in a subdirectory of the package could potentially match a remapping. The "maximally compatible" approach means replicating bugs in Browserify's implementation of the feature where package paths are mistaken for relative paths and are still remapped. Here's a specific example of an edge case that's now handled:
- `entry.js`:
```js
require('pkg/sub')
```
- `node_modules/pkg/package.json`:
```json
{
"browser": {
"./sub": "./sub/foo.js",
"./sub/sub": "./sub/bar.js"
}
}
```
- `node_modules/pkg/sub/foo.js`:
```js
require('sub')
```
- `node_modules/pkg/sub/bar.js`:
```js
console.log('works')
```
The import path `sub` in `require('sub')` is mistaken for a relative path by Browserify due to a bug in Browserify, so Browserify treats it as if it were `./sub` instead. This is a Browserify-specific behavior and currently doesn't happen in any other bundler (except for esbuild, which attempts to replicate Browserify's bug).
Previously esbuild was incorrectly resolving `./sub` relative to the top-level package directory instead of to the subdirectory in this case, which meant `./sub` was incorrectly matching `"./sub": "./sub/foo.js"` instead of `"./sub/sub": "./sub/bar.js"`. This has been fixed so esbuild can now emulate Browserify's bug correctly in this edge case.
- Support for esbuild with Linux on RISC-V 64bit ([#2000](https://togithub.com/evanw/esbuild/pull/2000))
With this release, esbuild now has a published binary executable for the RISC-V 64bit architecture in the [`esbuild-linux-riscv64`](https://www.npmjs.com/package/esbuild-linux-riscv64) npm package. This change was contributed by [@piggynl](https://togithub.com/piggynl).
eslint/eslint
### [`v8.9.0`](https://togithub.com/eslint/eslint/releases/v8.9.0)
[Compare Source](https://togithub.com/eslint/eslint/compare/v8.8.0...v8.9.0)
##### Features
- [`68f64a9`](https://togithub.com/eslint/eslint/commit/68f64a9218341e5e9d83270c72587e1b413846de) feat: update eslint-scope to ignore `"use strict"` directives in ES3 ([#15595](https://togithub.com/eslint/eslint/issues/15595)) (Milos Djermanovic)
- [`db57639`](https://togithub.com/eslint/eslint/commit/db576396d20f5e31af1a90f8e5d88e08284a1672) feat: add `es2016`, `es2018`, `es2019`, and `es2022` environments ([#15587](https://togithub.com/eslint/eslint/issues/15587)) (Milos Djermanovic)
- [`2dc38aa`](https://togithub.com/eslint/eslint/commit/2dc38aa653f1d5137a9abf82024c67a11620bb7c) feat: fix bug with arrow function return types in function-paren-newline ([#15541](https://togithub.com/eslint/eslint/issues/15541)) (Milos Djermanovic)
- [`6f940c3`](https://togithub.com/eslint/eslint/commit/6f940c3ce715327f282c197d0f71b91848e5d83d) feat: Implement FlatRuleTester ([#15519](https://togithub.com/eslint/eslint/issues/15519)) (Nicholas C. Zakas)
##### Documentation
- [`570a036`](https://togithub.com/eslint/eslint/commit/570a03699c5abfbcde39bb00fba39329695771e5) docs: add `one-var` example with `for-loop` initializer ([#15596](https://togithub.com/eslint/eslint/issues/15596)) (Milos Djermanovic)
- [`417191d`](https://togithub.com/eslint/eslint/commit/417191dff0dbfa353675c409e25f27f578ee1559) docs: Remove the $ prefix in terminal commands ([#15565](https://togithub.com/eslint/eslint/issues/15565)) (Andreas Lewis)
- [`389ff34`](https://togithub.com/eslint/eslint/commit/389ff34e26cb8ebad49e5ace0280a1f859f8d7ca) docs: add missing `Variable#scope` property in the scope manager docs ([#15571](https://togithub.com/eslint/eslint/issues/15571)) (Milos Djermanovic)
- [`f63795d`](https://togithub.com/eslint/eslint/commit/f63795dc710f6394d884932034a3e0cbe48f4ad2) docs: no-eval replace dead link with working one ([#15568](https://togithub.com/eslint/eslint/issues/15568)) (rasenplanscher)
- [`0383591`](https://togithub.com/eslint/eslint/commit/0383591a6cd7083455af9e34fa9333da7fed46bf) docs: Remove old Markdown issue template ([#15556](https://togithub.com/eslint/eslint/issues/15556)) (Brandon Mills)
- [`a8dd5a2`](https://togithub.com/eslint/eslint/commit/a8dd5a286bcb68595b85cd29490e081251a2c3c7) docs: add 'when not to use it' section in no-duplicate-case docs ([#15563](https://togithub.com/eslint/eslint/issues/15563)) (Milos Djermanovic)
- [`1ad439e`](https://togithub.com/eslint/eslint/commit/1ad439ed1d6c4ee50183c8f5d146a771e6c1be4c) docs: add missed verb in docs ([#15550](https://togithub.com/eslint/eslint/issues/15550)) (Jeff Mosawy)
##### Chores
- [`586d45c`](https://togithub.com/eslint/eslint/commit/586d45c54b8468fb23376b7b2aedf984cf701cc2) chore: Upgrade to espree@9.3.1 ([#15600](https://togithub.com/eslint/eslint/issues/15600)) (Milos Djermanovic)
- [`623e1e2`](https://togithub.com/eslint/eslint/commit/623e1e28643381025b393a379493d9baea9b4869) chore: Upgrade to eslint-visitor-keys@3.3.0 ([#15599](https://togithub.com/eslint/eslint/issues/15599)) (Milos Djermanovic)
- [`355b23d`](https://togithub.com/eslint/eslint/commit/355b23d0c4e050be4e53292f552a47c10ec6e00e) chore: fix outdated link to Code of Conduct in PR template ([#15578](https://togithub.com/eslint/eslint/issues/15578)) (Rich Trott)
- [`b10fef2`](https://togithub.com/eslint/eslint/commit/b10fef25c99134d514fec4ddde19302661db5974) ci: use Node 16 for browser test ([#15569](https://togithub.com/eslint/eslint/issues/15569)) (Milos Djermanovic)
- [`92f89fb`](https://togithub.com/eslint/eslint/commit/92f89fb0647fef10468fd70d6782a845d75330e3) chore: suggest demo link in bug report template ([#15557](https://togithub.com/eslint/eslint/issues/15557)) (Brandon Mills)
sindresorhus/execa
### [`v6.1.0`](https://togithub.com/sindresorhus/execa/releases/v6.1.0)
[Compare Source](https://togithub.com/sindresorhus/execa/compare/v6.0.0...v6.1.0)
- Support [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController) ([#490](https://togithub.com/sindresorhus/execa/issues/490)) [`c6e791a`](https://togithub.com/sindresorhus/execa/commit/c6e791a)
- Allow `cwd` and `localDir` options to be URLs ([#492](https://togithub.com/sindresorhus/execa/issues/492)) [`93ab929`](https://togithub.com/sindresorhus/execa/commit/93ab929)
okonet/lint-staged
### [`v12.3.4`](https://togithub.com/okonet/lint-staged/releases/v12.3.4)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.3...v12.3.4)
##### Bug Fixes
- add `package.json` to exports ([#1059](https://togithub.com/okonet/lint-staged/issues/1059)) ([3395150](https://togithub.com/okonet/lint-staged/commit/339515010ccd95a2f952dbe65f8366463f94d26a))
Configuration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
^16.1.0
->^16.2.1
^16.0.0
->^16.2.1
^16.11.22
->^16.11.24
^0.14.20
->^0.14.21
^8.8.0
->^8.9.0
^6.0.0
->^6.1.0
^12.3.3
->^12.3.4
Release Notes
conventional-changelog/commitlint (@commitlint/cli)
### [`v16.2.1`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@commitlint/cli/CHANGELOG.md#1621-httpsgithubcomconventional-changelogcommitlintcomparev1620v1621-2022-02-13) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v16.1.0...v16.2.1) **Note:** Version bump only for package [@commitlint/cli](https://togithub.com/commitlint/cli)conventional-changelog/commitlint (@commitlint/config-conventional)
### [`v16.2.1`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@commitlint/config-conventional/CHANGELOG.md#1621-httpsgithubcomconventional-changelogcommitlintcomparev1620v1621-2022-02-13) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v16.0.0...v16.2.1) **Note:** Version bump only for package [@commitlint/config-conventional](https://togithub.com/commitlint/config-conventional)evanw/esbuild
### [`v0.14.21`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#01421) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.14.20...v0.14.21) - Handle an additional `browser` map edge case ([#2001](https://togithub.com/evanw/esbuild/pull/2001), [#2002](https://togithub.com/evanw/esbuild/issues/2002)) There is a community convention around the `browser` field in `package.json` that allows remapping import paths within a package when the package is bundled for use within a browser. There isn't a rigorous definition of how it's supposed to work and every bundler implements it differently. The approach esbuild uses is to try to be "maximally compatible" in that if at least one bundler exhibits a particular behavior regarding the `browser` map that allows a mapping to work, then esbuild also attempts to make that work. I have a collection of test cases for this going here: https://github.com/evanw/package-json-browser-tests. However, I was missing test coverage for the edge case where a package path import in a subdirectory of the package could potentially match a remapping. The "maximally compatible" approach means replicating bugs in Browserify's implementation of the feature where package paths are mistaken for relative paths and are still remapped. Here's a specific example of an edge case that's now handled: - `entry.js`: ```js require('pkg/sub') ``` - `node_modules/pkg/package.json`: ```json { "browser": { "./sub": "./sub/foo.js", "./sub/sub": "./sub/bar.js" } } ``` - `node_modules/pkg/sub/foo.js`: ```js require('sub') ``` - `node_modules/pkg/sub/bar.js`: ```js console.log('works') ``` The import path `sub` in `require('sub')` is mistaken for a relative path by Browserify due to a bug in Browserify, so Browserify treats it as if it were `./sub` instead. This is a Browserify-specific behavior and currently doesn't happen in any other bundler (except for esbuild, which attempts to replicate Browserify's bug). Previously esbuild was incorrectly resolving `./sub` relative to the top-level package directory instead of to the subdirectory in this case, which meant `./sub` was incorrectly matching `"./sub": "./sub/foo.js"` instead of `"./sub/sub": "./sub/bar.js"`. This has been fixed so esbuild can now emulate Browserify's bug correctly in this edge case. - Support for esbuild with Linux on RISC-V 64bit ([#2000](https://togithub.com/evanw/esbuild/pull/2000)) With this release, esbuild now has a published binary executable for the RISC-V 64bit architecture in the [`esbuild-linux-riscv64`](https://www.npmjs.com/package/esbuild-linux-riscv64) npm package. This change was contributed by [@piggynl](https://togithub.com/piggynl).eslint/eslint
### [`v8.9.0`](https://togithub.com/eslint/eslint/releases/v8.9.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.8.0...v8.9.0) ##### Features - [`68f64a9`](https://togithub.com/eslint/eslint/commit/68f64a9218341e5e9d83270c72587e1b413846de) feat: update eslint-scope to ignore `"use strict"` directives in ES3 ([#15595](https://togithub.com/eslint/eslint/issues/15595)) (Milos Djermanovic) - [`db57639`](https://togithub.com/eslint/eslint/commit/db576396d20f5e31af1a90f8e5d88e08284a1672) feat: add `es2016`, `es2018`, `es2019`, and `es2022` environments ([#15587](https://togithub.com/eslint/eslint/issues/15587)) (Milos Djermanovic) - [`2dc38aa`](https://togithub.com/eslint/eslint/commit/2dc38aa653f1d5137a9abf82024c67a11620bb7c) feat: fix bug with arrow function return types in function-paren-newline ([#15541](https://togithub.com/eslint/eslint/issues/15541)) (Milos Djermanovic) - [`6f940c3`](https://togithub.com/eslint/eslint/commit/6f940c3ce715327f282c197d0f71b91848e5d83d) feat: Implement FlatRuleTester ([#15519](https://togithub.com/eslint/eslint/issues/15519)) (Nicholas C. Zakas) ##### Documentation - [`570a036`](https://togithub.com/eslint/eslint/commit/570a03699c5abfbcde39bb00fba39329695771e5) docs: add `one-var` example with `for-loop` initializer ([#15596](https://togithub.com/eslint/eslint/issues/15596)) (Milos Djermanovic) - [`417191d`](https://togithub.com/eslint/eslint/commit/417191dff0dbfa353675c409e25f27f578ee1559) docs: Remove the $ prefix in terminal commands ([#15565](https://togithub.com/eslint/eslint/issues/15565)) (Andreas Lewis) - [`389ff34`](https://togithub.com/eslint/eslint/commit/389ff34e26cb8ebad49e5ace0280a1f859f8d7ca) docs: add missing `Variable#scope` property in the scope manager docs ([#15571](https://togithub.com/eslint/eslint/issues/15571)) (Milos Djermanovic) - [`f63795d`](https://togithub.com/eslint/eslint/commit/f63795dc710f6394d884932034a3e0cbe48f4ad2) docs: no-eval replace dead link with working one ([#15568](https://togithub.com/eslint/eslint/issues/15568)) (rasenplanscher) - [`0383591`](https://togithub.com/eslint/eslint/commit/0383591a6cd7083455af9e34fa9333da7fed46bf) docs: Remove old Markdown issue template ([#15556](https://togithub.com/eslint/eslint/issues/15556)) (Brandon Mills) - [`a8dd5a2`](https://togithub.com/eslint/eslint/commit/a8dd5a286bcb68595b85cd29490e081251a2c3c7) docs: add 'when not to use it' section in no-duplicate-case docs ([#15563](https://togithub.com/eslint/eslint/issues/15563)) (Milos Djermanovic) - [`1ad439e`](https://togithub.com/eslint/eslint/commit/1ad439ed1d6c4ee50183c8f5d146a771e6c1be4c) docs: add missed verb in docs ([#15550](https://togithub.com/eslint/eslint/issues/15550)) (Jeff Mosawy) ##### Chores - [`586d45c`](https://togithub.com/eslint/eslint/commit/586d45c54b8468fb23376b7b2aedf984cf701cc2) chore: Upgrade to espree@9.3.1 ([#15600](https://togithub.com/eslint/eslint/issues/15600)) (Milos Djermanovic) - [`623e1e2`](https://togithub.com/eslint/eslint/commit/623e1e28643381025b393a379493d9baea9b4869) chore: Upgrade to eslint-visitor-keys@3.3.0 ([#15599](https://togithub.com/eslint/eslint/issues/15599)) (Milos Djermanovic) - [`355b23d`](https://togithub.com/eslint/eslint/commit/355b23d0c4e050be4e53292f552a47c10ec6e00e) chore: fix outdated link to Code of Conduct in PR template ([#15578](https://togithub.com/eslint/eslint/issues/15578)) (Rich Trott) - [`b10fef2`](https://togithub.com/eslint/eslint/commit/b10fef25c99134d514fec4ddde19302661db5974) ci: use Node 16 for browser test ([#15569](https://togithub.com/eslint/eslint/issues/15569)) (Milos Djermanovic) - [`92f89fb`](https://togithub.com/eslint/eslint/commit/92f89fb0647fef10468fd70d6782a845d75330e3) chore: suggest demo link in bug report template ([#15557](https://togithub.com/eslint/eslint/issues/15557)) (Brandon Mills)sindresorhus/execa
### [`v6.1.0`](https://togithub.com/sindresorhus/execa/releases/v6.1.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v6.0.0...v6.1.0) - Support [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController) ([#490](https://togithub.com/sindresorhus/execa/issues/490)) [`c6e791a`](https://togithub.com/sindresorhus/execa/commit/c6e791a) - Allow `cwd` and `localDir` options to be URLs ([#492](https://togithub.com/sindresorhus/execa/issues/492)) [`93ab929`](https://togithub.com/sindresorhus/execa/commit/93ab929)okonet/lint-staged
### [`v12.3.4`](https://togithub.com/okonet/lint-staged/releases/v12.3.4) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.3...v12.3.4) ##### Bug Fixes - add `package.json` to exports ([#1059](https://togithub.com/okonet/lint-staged/issues/1059)) ([3395150](https://togithub.com/okonet/lint-staged/commit/339515010ccd95a2f952dbe65f8366463f94d26a))Configuration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 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.