Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency title-case to v4 #7798

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"marked": "^5.1.1",
"prettier": "^3.0.3",
"rimraf": "*",
"title-case": "^3.0.3",
"title-case": "^4.0.0",
"tsx": "*",
"typescript": "*"
},
Expand Down
5 changes: 3 additions & 2 deletions packages/eslint-plugin/tests/docs.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import fs from 'fs';
import { marked } from 'marked';
import path from 'path';
import { titleCase } from 'title-case';

import rules from '../src/rules';

Expand Down Expand Up @@ -91,7 +90,9 @@ describe('Validating rule docs', () => {
});
});

test(`headers must be title-cased`, () => {
test(`headers must be title-cased`, async () => {
const { titleCase } = await import('title-case');

// Get all H2 headers objects as the other levels are variable by design.
const headers = tokens.filter(tokenIsH2);

Expand Down
12 changes: 5 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5782,7 +5782,7 @@ __metadata:
prettier: ^3.0.3
rimraf: "*"
semver: ^7.5.4
title-case: ^3.0.3
title-case: ^4.0.0
ts-api-utils: ^1.0.1
tsx: "*"
typescript: "*"
Expand Down Expand Up @@ -19501,12 +19501,10 @@ __metadata:
languageName: node
linkType: hard

"title-case@npm:^3.0.3":
version: 3.0.3
resolution: "title-case@npm:3.0.3"
dependencies:
tslib: ^2.0.3
checksum: e8b7ea006b53cf3208d278455d9f1e22c409459d7f9878da324fa3b18cc0aef8560924c19c744e870394a5d9cddfdbe029ebae9875909ee7f4fc562e7cbfc53e
"title-case@npm:^4.0.0":
version: 4.1.1
resolution: "title-case@npm:4.1.1"
checksum: 31d0370c81312cf999258ec6e84d153855dbe477dba1697153c7b741e8e255a5c8be9a1142e9a0bcf144c47df83eed2683e876f357b53a13b5b92ac2cd788e1b
languageName: node
linkType: hard

Expand Down