Skip to content

Commit 1c10c0e

Browse files
committed
build: lock file maintenance
1 parent 093c5a3 commit 1c10c0e

File tree

4 files changed

+375
-656
lines changed

4 files changed

+375
-656
lines changed

.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ packages/angular_devkit/schematics/package.json=-1133510866
1717
packages/angular_devkit/schematics_cli/package.json=-2026655035
1818
packages/ngtools/webpack/package.json=1644932095
1919
packages/schematics/angular/package.json=251715148
20-
pnpm-lock.yaml=252117316
20+
pnpm-lock.yaml=1269083157
2121
pnpm-workspace.yaml=-1264044456
2222
tests/package.json=700948366
23-
yarn.lock=-992195967
23+
yarn.lock=1527869249

packages/angular/build/src/tools/angular/uri.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ export function generateJitFileUri(file: string, type: 'style' | 'template') {
5252
* @returns A string containing the full JIT namespace URI.
5353
*/
5454
export function generateJitInlineUri(data: string | Uint8Array, type: 'style' | 'template') {
55-
return `${JIT_BASE_NAMESPACE}:${type}:inline;${Buffer.from(data).toString('base64')}`;
55+
// Node.js types do not allow a string even though this is valid.
56+
return `${JIT_BASE_NAMESPACE}:${type}:inline;${Buffer.from(data as Uint8Array).toString('base64')}`;
5657
}
5758

5859
/**

0 commit comments

Comments
 (0)