The @angular/platform-browser package is a crucial component for running Angular applications in web browsers. Comparing version 6.0.0 with the previous stable version, 5.2.11, reveals several noteworthy changes for developers. The most significant difference lies in the peer dependencies. Version 6.0.0 requires both @angular/core and @angular/common at version 6.0.0, signaling a major framework update. Developers upgrading to @angular/platform-browser 6.0.0 also need to update @angular/core and @angular/common to version 6, to assure compatibility. In contrast, version 5.2.11 depends on @angular/core and @angular/common at version 5.2.11. This dependency shift highlights potential breaking changes and new features introduced in Angular 6 that necessitate a synchronized update across core modules.
The updated version also showcases an increase in the number of files within the distribution package, jumping from 83 in 5.2.11 to 179 in 6.0.0, alongside an increase in the unpacked size, from 2.1MB to 2.3MB. While the package description remains consistent, indicating the core purpose of the library hasn't changed, the underlying code likely contains significant architectural improvements, performance enhancements, or new browser compatibility features that contribute to the overall size increase. Furthermore, the dependency on tslib is updated from ^1.7.1 to ^1.9.0, indicating improvements or bug fixes in the TypeScript helper library used by Angular.
The are not vulnerabilities for the version 6.0.0 of the package @angular/platform-browser