Skip to content

Commit 463bcc9

Browse files
alan-agius4vikerman
authored andcommitted
fix(@schematics/angular): replace forked web-animations-js with latest version
Closes #14518
1 parent d55e98e commit 463bcc9

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

packages/schematics/angular/migrations/update-8/update-dependencies.ts

+8-13
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@ import { latestVersions } from '../../utility/latest-versions';
1111

1212
export function updateDependencies() {
1313
return (host: Tree) => {
14-
1514
const dependenciesToUpdate: Record<string, string> = {
1615
'@angular-devkit/build-angular': latestVersions.DevkitBuildAngular,
1716
'@angular-devkit/build-ng-packagr': latestVersions.DevkitBuildNgPackagr,
1817
'@angular-devkit/build-webpack': latestVersions.DevkitBuildWebpack,
1918
'zone.js': latestVersions.ZoneJs,
20-
'tsickle': latestVersions.tsickle,
19+
tsickle: latestVersions.tsickle,
2120
'ng-packagr': latestVersions.ngPackagr,
22-
// FIXME: change to ^2.3.2 as soon as it's released with the pr208 fix
23-
'web-animations-js': 'github:angular/web-animations-js#release_pr208',
21+
'web-animations-js': '^2.3.2',
2422
};
2523

2624
for (const [name, version] of Object.entries(dependenciesToUpdate)) {
@@ -29,15 +27,12 @@ export function updateDependencies() {
2927
continue;
3028
}
3129

32-
addPackageJsonDependency(
33-
host,
34-
{
35-
type: current.type,
36-
name,
37-
version,
38-
overwrite: true,
39-
},
40-
);
30+
addPackageJsonDependency(host, {
31+
type: current.type,
32+
name,
33+
version,
34+
overwrite: true,
35+
});
4136
}
4237
};
4338
}

0 commit comments

Comments
 (0)