Skip to content

Commit

Permalink
chore: update devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Dec 17, 2023
1 parent 869e8a3 commit cd3af80
Show file tree
Hide file tree
Showing 9 changed files with 696 additions and 1,188 deletions.
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
lib
*.hbs
1,853 changes: 681 additions & 1,172 deletions package-lock.json

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,19 @@
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/jest": "^29.5.4",
"@types/node": "^20.6.0",
"@types/svg2ttf": "^5.0.1",
"@types/svgicons2svgfont": "^10.0.1",
"@types/ttf2eot": "^2.0.0",
"@types/ttf2woff": "^2.0.2",
"@types/ttf2woff2": "^2.0.0",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.4",
"@types/svg2ttf": "^5.0.3",
"@types/svgicons2svgfont": "^10.0.5",
"@types/ttf2eot": "^2.0.2",
"@types/ttf2woff": "^2.0.4",
"@types/ttf2woff2": "^2.0.2",
"jest": "^29.7.0",
"prettier": "^2.8.8",
"prettier": "^3.1.1",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"engines": {
"node": ">=14"
Expand Down
2 changes: 1 addition & 1 deletion src/generators/asset-types/__tests__/eot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jest.mock('ttf2eot', () =>
);

const mockOptions = (eotOptions = { __mock: 'options__' } as any) =>
({} as unknown as FontGeneratorOptions);
({}) as unknown as FontGeneratorOptions;

const ttf = '::ttf::' as unknown as Buffer;

Expand Down
2 changes: 1 addition & 1 deletion src/generators/asset-types/__tests__/json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const mockOptions = (jsonOptions: any = {}) =>
({
codepoints: mockCodepoints,
formatOptions: { [OtherAssetType.JSON]: jsonOptions }
} as any);
}) as any;

const renderAndParse = async (jsonOptions?: any) =>
JSON.parse(
Expand Down
2 changes: 1 addition & 1 deletion src/generators/asset-types/__tests__/svg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const mockOptions = (svgOptions = { __mock: 'options__' } as any) =>
foo: { id: 'foo', absolutePath: '/root/foo.svg' },
bar: { id: 'bar', absolutePath: '/root/bar.svg' }
}
} as unknown as FontGeneratorOptions);
}) as unknown as FontGeneratorOptions;

describe('`SVG` font generator', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/generators/asset-types/__tests__/ttf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jest.mock('svg2ttf', () =>
const mockOptions = (ttfOptions = { __mock: 'options__' } as any) =>
({
formatOptions: { [FontAssetType.TTF]: ttfOptions }
} as unknown as FontGeneratorOptions);
}) as unknown as FontGeneratorOptions;

const svg = '::svg::';

Expand Down
2 changes: 1 addition & 1 deletion src/generators/asset-types/__tests__/woff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jest.mock('ttf2woff', () =>
const mockOptions = (woffOptions = { __mock: 'options__' } as any) =>
({
formatOptions: { [FontAssetType.WOFF]: woffOptions }
} as unknown as FontGeneratorOptions);
}) as unknown as FontGeneratorOptions;

const ttf = '::ttf::' as unknown as Buffer;

Expand Down
2 changes: 1 addition & 1 deletion src/generators/asset-types/__tests__/woff2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jest.mock('ttf2woff2', () =>
);

const mockOptions = (woffOptions = { __mock: 'options__' } as any) =>
({} as unknown as FontGeneratorOptions);
({}) as unknown as FontGeneratorOptions;

const ttf = '::ttf::' as unknown as Buffer;

Expand Down

0 comments on commit cd3af80

Please sign in to comment.