Skip to content

Commit 915e2cb

Browse files
authored
Merge branch 'main' into feature/date/birthdate
2 parents 401c606 + f9a1415 commit 915e2cb

File tree

5 files changed

+42
-38
lines changed

5 files changed

+42
-38
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@
9898
"@types/react": "~17.0.45",
9999
"@types/sanitize-html": "~2.6.2",
100100
"@types/validator": "~13.7.2",
101-
"@typescript-eslint/eslint-plugin": "~5.23.0",
102-
"@typescript-eslint/parser": "~5.23.0",
101+
"@typescript-eslint/eslint-plugin": "~5.24.0",
102+
"@typescript-eslint/parser": "~5.24.0",
103103
"@vitest/ui": "~0.12.6",
104104
"c8": "~7.11.2",
105105
"conventional-changelog-cli": "~2.2.2",

pnpm-lock.yaml

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/modules/internet/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ export class Internet {
440440
*
441441
* @param options Options object.
442442
* @param options.types A list of the emoji types that should be used.
443+
*
443444
* @example
444445
* faker.internet.emoji() // '🥰'
445446
* faker.internet.emoji({ types: ['food', 'nature'] }) // '🥐'

test/all_functional.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ function modulesList(): { [module: string]: string[] } {
5151
.sort()
5252
.filter(isTestableModule)
5353
.reduce((result, mod) => {
54+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
5455
const methods = Object.keys(faker[mod]).filter(isMethodOf(mod));
5556
if (methods.length) {
5657
result[mod] = methods;

test/fake.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,12 @@ describe('fake', () => {
111111
});
112112

113113
it('should be able to handle special replacement patterns', () => {
114+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
114115
(faker.random as any).special = () => '$&';
115116

116117
expect(faker.fake('{{random.special}}')).toBe('$&');
117118

119+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
118120
delete (faker.random as any).special;
119121
});
120122
});

0 commit comments

Comments
 (0)