Skip to content

Commit b6e43be

Browse files
build(deps-dev): bump the theoretically-non-breaking group with 11 updates (#5531)
* build(deps-dev): bump the theoretically-non-breaking group with 11 updates Bumps the theoretically-non-breaking group with 11 updates: | Package | From | To | | --- | --- | --- | | [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) | `20.0.0` | `20.1.0` | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.36.0` | `9.37.0` | | [@nx/js](https://github.com/nrwl/nx/tree/HEAD/packages/js) | `21.5.3` | `21.6.3` | | [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) | `16.0.1` | `16.0.2` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.18.6` | `22.18.8` | | [@vitest/eslint-plugin](https://github.com/vitest-dev/eslint-plugin-vitest) | `1.3.13` | `1.3.16` | | [eslint](https://github.com/eslint/eslint) | `9.36.0` | `9.37.0` | | [nx](https://github.com/nrwl/nx/tree/HEAD/packages/nx) | `21.5.3` | `21.6.3` | | [rollup](https://github.com/rollup/rollup) | `4.52.3` | `4.52.4` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.44.1` | `8.45.0` | | [dotenv](https://github.com/motdotla/dotenv) | `17.2.2` | `17.2.3` | Updates `@commitlint/cli` from 20.0.0 to 20.1.0 - [Release notes](https://github.com/conventional-changelog/commitlint/releases) - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v20.1.0/@commitlint/cli) Updates `@eslint/js` from 9.36.0 to 9.37.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/commits/v9.37.0/packages/js) Updates `@nx/js` from 21.5.3 to 21.6.3 - [Release notes](https://github.com/nrwl/nx/releases) - [Commits](https://github.com/nrwl/nx/commits/21.6.3/packages/js) Updates `@rollup/plugin-node-resolve` from 16.0.1 to 16.0.2 - [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/node-resolve-v16.0.2/packages/node-resolve) Updates `@types/node` from 22.18.6 to 22.18.8 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@vitest/eslint-plugin` from 1.3.13 to 1.3.16 - [Release notes](https://github.com/vitest-dev/eslint-plugin-vitest/releases) - [Commits](vitest-dev/eslint-plugin-vitest@v1.3.13...v1.3.16) Updates `eslint` from 9.36.0 to 9.37.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v9.36.0...v9.37.0) Updates `nx` from 21.5.3 to 21.6.3 - [Release notes](https://github.com/nrwl/nx/releases) - [Commits](https://github.com/nrwl/nx/commits/21.6.3/packages/nx) Updates `rollup` from 4.52.3 to 4.52.4 - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](rollup/rollup@v4.52.3...v4.52.4) Updates `typescript-eslint` from 8.44.1 to 8.45.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.45.0/packages/typescript-eslint) Updates `dotenv` from 17.2.2 to 17.2.3 - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](motdotla/dotenv@v17.2.2...v17.2.3) --- updated-dependencies: - dependency-name: "@commitlint/cli" dependency-version: 20.1.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: "@eslint/js" dependency-version: 9.37.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: "@nx/js" dependency-version: 21.6.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: "@rollup/plugin-node-resolve" dependency-version: 16.0.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking - dependency-name: "@types/node" dependency-version: 22.18.8 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking - dependency-name: "@vitest/eslint-plugin" dependency-version: 1.3.16 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking - dependency-name: eslint dependency-version: 9.37.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: nx dependency-version: 21.6.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: rollup dependency-version: 4.52.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking - dependency-name: typescript-eslint dependency-version: 8.45.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: theoretically-non-breaking - dependency-name: dotenv dependency-version: 17.2.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: theoretically-non-breaking ... Signed-off-by: dependabot[bot] <[email protected]> * chore(eslint): apply linter fixes for updated rule --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Will Harney <[email protected]>
1 parent dd34f18 commit b6e43be

File tree

8 files changed

+373
-371
lines changed

8 files changed

+373
-371
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,27 @@
3737
"release:publish:canary": "nx release publish --registry https://registry.npmjs.org --tag canary"
3838
},
3939
"devDependencies": {
40-
"@commitlint/cli": "^20.0.0",
41-
"@eslint/js": "9.36.0",
40+
"@commitlint/cli": "^20.1.0",
41+
"@eslint/js": "9.37.0",
4242
"@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin",
4343
"@lwc/test-utils-lwc-internals": "link:./scripts/test-utils",
44-
"@nx/js": "21.5.3",
44+
"@nx/js": "21.6.3",
4545
"@rollup/plugin-commonjs": "^28.0.6",
4646
"@rollup/plugin-inject": "^5.0.5",
47-
"@rollup/plugin-node-resolve": "^16.0.1",
47+
"@rollup/plugin-node-resolve": "^16.0.2",
4848
"@rollup/plugin-replace": "^6.0.2",
4949
"@rollup/plugin-typescript": "^12.1.4",
5050
"@swc-node/register": "~1.11.1",
5151
"@swc/core": "~1.13.5",
5252
"@swc/helpers": "~0.5.17",
5353
"@types/babel__core": "^7.20.5",
54-
"@types/node": "^22.18.4",
54+
"@types/node": "^22.18.8",
5555
"@vitest/coverage-v8": "^3.2.4",
56-
"@vitest/eslint-plugin": "^1.3.13",
56+
"@vitest/eslint-plugin": "^1.3.16",
5757
"@vitest/ui": "^3.2.4",
5858
"bytes": "^3.1.2",
5959
"es-module-lexer": "^1.7.0",
60-
"eslint": "9.36.0",
60+
"eslint": "9.37.0",
6161
"eslint-config-flat-gitignore": "^2.1.0",
6262
"eslint-plugin-header": "^3.1.1",
6363
"eslint-plugin-import": "^2.32.0",
@@ -68,13 +68,13 @@
6868
"jsdom": "^26.1.0",
6969
"lint-staged": "^16.2.3",
7070
"magic-string": "^0.30.19",
71-
"nx": "21.5.3",
71+
"nx": "21.6.3",
7272
"prettier": "^3.6.2",
73-
"rollup": "^4.52.3",
73+
"rollup": "^4.52.4",
7474
"terser": "^5.44.0",
7575
"tslib": "^2.8.1",
7676
"typescript": "5.8.2",
77-
"typescript-eslint": "8.44.1",
77+
"typescript-eslint": "8.45.0",
7878
"vitest": "^3.2.4"
7979
},
8080
"lint-staged": {

packages/@lwc/babel-plugin-component/src/__tests__/warnings.spec.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* SPDX-License-Identifier: MIT
55
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
66
*/
7-
import { afterEach, beforeEach, expect, vi, test } from 'vitest';
7+
import { afterEach, beforeEach, expect, vi, test, afterAll } from 'vitest';
88
import { transformSync } from '@babel/core';
99
import plugin from '../index';
1010

@@ -18,6 +18,8 @@ afterEach(() => {
1818
spy!.mockReset();
1919
});
2020

21+
afterAll(() => spy!.mockRestore());
22+
2123
test('warns on missing name/namespace', () => {
2224
const source = `
2325
import { LightningElement } from 'lwc';
@@ -42,8 +44,7 @@ test('warns on missing name/namespace', () => {
4244
// compilation works successfully
4345
expect(code).toBeTypeOf('string');
4446

45-
expect(spy!).toHaveBeenCalledOnce();
46-
expect(spy!).toHaveBeenCalledWith(
47+
expect(spy!).toHaveBeenCalledExactlyOnceWith(
4748
'The namespace and name should both be non-empty strings. You may get unexpected behavior at runtime. Found: namespace="" and name=""'
4849
);
4950
});

packages/@lwc/features/src/__tests__/setFeatureFlag.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('setFeatureFlag', () => {
3838
};
3939
if (env === 'production') {
4040
callback();
41-
expect(error).toHaveBeenCalledWith(expectedError);
41+
expect(error).toHaveBeenCalledExactlyOnceWith(expectedError);
4242
} else {
4343
expect(callback).toThrowError(expectedError);
4444
}
@@ -50,7 +50,7 @@ describe('setFeatureFlag', () => {
5050
it('logs and does nothing when the flag is unknown', () => {
5151
// @ts-expect-error Explicitly testing JS behavior that violates TS types
5252
setFeatureFlag('DOES_NOT_EXIST', true);
53-
expect(info).toHaveBeenCalledWith(
53+
expect(info).toHaveBeenCalledExactlyOnceWith(
5454
expect.stringMatching(/Attempt to set a value on an unknown feature flag/)
5555
);
5656

@@ -64,7 +64,7 @@ describe('setFeatureFlag', () => {
6464
expect(lwcRuntimeFlags.PLACEHOLDER_TEST_FLAG).toEqual(true);
6565
setFeatureFlag('PLACEHOLDER_TEST_FLAG', false);
6666
if (env === 'production') {
67-
expect(error).toHaveBeenCalledWith(
67+
expect(error).toHaveBeenCalledExactlyOnceWith(
6868
'Failed to set the value "false" for the runtime feature flag "PLACEHOLDER_TEST_FLAG". "PLACEHOLDER_TEST_FLAG" has already been set with the value "true".'
6969
);
7070
expect(lwcRuntimeFlags.PLACEHOLDER_TEST_FLAG).toEqual(true);

packages/@lwc/integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@wdio/spec-reporter": "^9.20.0",
2727
"@wdio/static-server-service": "^9.20.0",
2828
"deepmerge": "^4.3.1",
29-
"dotenv": "^17.2.2",
29+
"dotenv": "^17.2.3",
3030
"lwc": "8.22.4",
3131
"minimist": "^1.2.8",
3232
"webdriverio": "^9.19.2"

packages/@lwc/integration-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"devDependencies": {
1616
"@rollup/plugin-replace": "^6.0.2",
1717
"@rollup/plugin-typescript": "^12.1.4",
18-
"rollup": "^4.52.3",
18+
"rollup": "^4.52.4",
1919
"rollup-plugin-livereload": "^2.0.5",
2020
"rollup-plugin-serve": "^3.0.0"
2121
}

packages/@lwc/ssr-runtime/src/__tests__/context.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ describe('context', () => {
155155

156156
binding.consumeContext(mockContextVariety, mockContextProvidedCallback);
157157

158-
expect(mockContextProvidedCallback).toHaveBeenCalledWith(mockContextSignal);
158+
expect(mockContextProvidedCallback).toHaveBeenCalledExactlyOnceWith(mockContextSignal);
159159
});
160160

161161
it('should not call callback if context is not found in ancestors', () => {

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@rollup/plugin-replace": "^6.0.2",
1414
"@rollup/plugin-typescript": "^12.1.4",
1515
"lwc": "8.22.4",
16-
"rollup": "^4.52.3",
16+
"rollup": "^4.52.4",
1717
"rollup-plugin-livereload": "^2.0.5",
1818
"rollup-plugin-serve": "^3.0.0",
1919
"tslib": "^2.8.1"

0 commit comments

Comments
 (0)