@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/testing.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
|
*/
|
|
@@ -8705,7 +8705,7 @@ class Version {
|
|
|
8705
8705
|
/**
|
|
8706
8706
|
* @publicApi
|
|
8707
8707
|
*/
|
|
8708
|
-
const VERSION = new Version('15.2.
|
|
8708
|
+
const VERSION = new Version('15.2.5');
|
|
8709
8709
|
|
|
8710
8710
|
// This default value is when checking the hierarchy for a token.
|
|
8711
8711
|
//
|
|
@@ -16384,8 +16384,11 @@ function isStylingValuePresent(value) {
|
|
|
16384
16384
|
* @param suffix
|
|
16385
16385
|
*/
|
|
16386
16386
|
function normalizeSuffix(value, suffix) {
|
|
16387
|
-
if (value == null
|
|
16387
|
+
if (value == null || value === '') {
|
|
16388
16388
|
// do nothing
|
|
16389
|
+
// Do not add the suffix if the value is going to be empty.
|
|
16390
|
+
// As it produce invalid CSS, which the browsers will automatically omit but Domino will not.
|
|
16391
|
+
// Example: `"left": "px;"` instead of `"left": ""`.
|
|
16389
16392
|
}
|
|
16390
16393
|
else if (typeof suffix === 'string') {
|
|
16391
16394
|
value = value + suffix;
|