Skip to content

Commit

Permalink
deps(prettier): Update to v3.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Jun 3, 2024
1 parent 8756294 commit 9cb9452
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
spec: '@yarnpkg/plugin-interactive-tools'
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
spec: '@yarnpkg/plugin-version'

yarnPath: .yarn/releases/yarn-3.6.3.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"jest-preset-moon": "^3.0.1",
"lerna": "^7.3.0",
"packemon": "^3.2.2",
"prettier": "^3.0.3",
"prettier": "^3.3.0",
"prettier-config-moon": "^1.1.2",
"tsconfig-moon": "^1.3.0",
"typescript": "^5.4.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/generator/src/parsers/parseData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export function parseData(version: string, content: string, unicodeVersion?: num
modifier === 'primary' || modifier === 'secondary'
? 'Emoji_Modifier_Base'
: modifier === 'modifier'
? 'Emoji_Modifier'
: 'Emoji',
? 'Emoji_Modifier'
: 'Emoji',
];
}

Expand Down
6 changes: 3 additions & 3 deletions packages/generator/src/parsers/parseMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ export function parseMetadata(content: string): EmojiMetadataMap {
qualifier === FULLY_QUALIFIED
? { [hexcode]: qualifier }
: qualifier === null && (!parentHexcode || !map[parentHexcode])
? {}
: // Use the same reference so its additive
map[parentHexcode].qualifiers,
? {}
: // Use the same reference so its additive
map[parentHexcode].qualifiers,
subgroup: subgroupIndex,
...OVERRIDES[hexcode],
};
Expand Down
4 changes: 2 additions & 2 deletions website/src/components/Filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ export function processEmojis(

if (filter) {
const matchesAnnotation = emoji.label.toLocaleLowerCase().includes(filter);
const matchesAnyShortcodes = emoji.shortcodes?.some(
(shortcode) => shortcode?.toLocaleLowerCase().includes(filter),
const matchesAnyShortcodes = emoji.shortcodes?.some((shortcode) =>
shortcode?.toLocaleLowerCase().includes(filter),
);
const matchesAnyTags = emoji.tags?.some((tag) => tag.toLocaleLowerCase().includes(filter));

Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8307,7 +8307,7 @@ __metadata:
jest-preset-moon: ^3.0.1
lerna: ^7.3.0
packemon: ^3.2.2
prettier: ^3.0.3
prettier: ^3.3.0
prettier-config-moon: ^1.1.2
tsconfig-moon: ^1.3.0
typescript: ^5.4.5
Expand Down Expand Up @@ -16355,12 +16355,12 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:^3.0.3":
version: 3.0.3
resolution: "prettier@npm:3.0.3"
"prettier@npm:^3.3.0":
version: 3.3.0
resolution: "prettier@npm:3.3.0"
bin:
prettier: bin/prettier.cjs
checksum: e10b9af02b281f6c617362ebd2571b1d7fc9fb8a3bd17e371754428cda992e5e8d8b7a046e8f7d3e2da1dcd21aa001e2e3c797402ebb6111b5cd19609dd228e0
checksum: 0d3a7fca9cab29828e189fefc10e8f6025d1208c84cd1e94def8a8f8a04eea341aa21d0af8c01253527632f8225b0b8482a62b64cafa26e9988cd6f9ff16a38b
languageName: node
linkType: hard

Expand Down

0 comments on commit 9cb9452

Please sign in to comment.