Skip to content

Commit

Permalink
deps(lerna): Update to v8.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Jun 3, 2024
1 parent c0c6550 commit 2f3d1fe
Show file tree
Hide file tree
Showing 6 changed files with 906 additions and 699 deletions.
1 change: 1 addition & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "independent",
"npmClient": "yarn",
"command": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
"cldr-localenames-full": "^44.0.1",
"cldr-misc-full": "^44.0.1",
"eslint": "^8.50.0",
"eslint-config-moon": "^2.1.2",
"eslint-config-moon": "^3.1.1",
"fast-glob": "^3.3.2",
"fetch-mock-jest": "^1.5.1",
"filesize": "^10.1.2",
"gzip-size": "^7.0.0",
"jest": "^29.7.0",
"jest-preset-moon": "^3.0.1",
"lerna": "^7.3.0",
"lerna": "^8.1.3",
"packemon": "^3.2.2",
"prettier": "^3.3.0",
"prettier-config-moon": "^1.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/tests/generateEmoticonPermutations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ describe('generateEmoticonPermutations()', () => {
});

it('doesnt assume a face', () => {
expect(generateEmoticonPermutations('\\m/', { isFace: false })).toEqual(['\\m/', '\\M/']);
expect(generateEmoticonPermutations(String.raw`\m/`, { isFace: false })).toEqual([String.raw`\m/`, String.raw`\M/`]);
});
});
2 changes: 1 addition & 1 deletion packages/generator/src/loaders/fetchAndCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function fetchAndCache<T>(
export async function importJsonModule<T>(name: string): Promise<T> {
log.info('load', `Loading data from ${chalk.gray(name)}`);

const path = await import.meta.resolve!(name);
const path = await import.meta.resolve(name);
const data = await fs.promises.readFile(fileURLToPath(path), 'utf8');

return JSON.parse(data) as T;
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/src/resources/emoticons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,5 @@ export const emoticons: EmoticonMap = {
// 💔 broken heart
'1F494': '</3',
// 🤘 sign of the horns
'1F918': ['\\m/', '\\M/'],
'1F918': [String.raw`\m/`, String.raw`\M/`],
};
Loading

0 comments on commit 2f3d1fe

Please sign in to comment.