@angular/core 15.2.4 → 15.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/src/render3/instructions/styling.mjs +5 -2
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/fesm2015/core.mjs +6 -3
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +6 -3
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +6 -3
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +6 -3
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/schematics/ng-generate/standalone-migration/bundle.js +12 -27
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +1 -1
package/fesm2020/core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.2.
|
|
2
|
+
* @license Angular v15.2.5
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -8347,7 +8347,7 @@ class Version {
|
|
|
8347
8347
|
/**
|
|
8348
8348
|
* @publicApi
|
|
8349
8349
|
*/
|
|
8350
|
-
const VERSION = new Version('15.2.
|
|
8350
|
+
const VERSION = new Version('15.2.5');
|
|
8351
8351
|
|
|
8352
8352
|
// This default value is when checking the hierarchy for a token.
|
|
8353
8353
|
//
|
|
@@ -16074,8 +16074,11 @@ function isStylingValuePresent(value) {
|
|
|
16074
16074
|
* @param suffix
|
|
16075
16075
|
*/
|
|
16076
16076
|
function normalizeSuffix(value, suffix) {
|
|
16077
|
-
if (value == null
|
|
16077
|
+
if (value == null || value === '') {
|
|
16078
16078
|
// do nothing
|
|
16079
|
+
// Do not add the suffix if the value is going to be empty.
|
|
16080
|
+
// As it produce invalid CSS, which the browsers will automatically omit but Domino will not.
|
|
16081
|
+
// Example: `"left": "px;"` instead of `"left": ""`.
|
|
16079
16082
|
}
|
|
16080
16083
|
else if (typeof suffix === 'string') {
|
|
16081
16084
|
value = value + suffix;
|