@angular/core 13.2.0-rc.0 → 13.2.0-rc.1
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/core.d.ts +1 -1
- package/esm2020/src/reflection/reflection_capabilities.mjs +2 -2
- package/esm2020/src/render3/namespaces.mjs +10 -3
- package/esm2020/src/render3/node_manipulation.mjs +5 -3
- 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 +15 -7
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +1 -1
- package/fesm2020/core.mjs +15 -7
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +1 -1
- package/package.json +1 -1
- package/testing/testing.d.ts +1 -1
package/fesm2015/testing.mjs
CHANGED
package/fesm2020/core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v13.2.0-rc.
|
|
2
|
+
* @license Angular v13.2.0-rc.1
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1559,8 +1559,15 @@ const profiler = function (event, instance, hookOrListener) {
|
|
|
1559
1559
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1560
1560
|
* found in the LICENSE file at https://angular.io/license
|
|
1561
1561
|
*/
|
|
1562
|
-
const SVG_NAMESPACE = '
|
|
1563
|
-
const
|
|
1562
|
+
const SVG_NAMESPACE = 'svg';
|
|
1563
|
+
const SVG_NAMESPACE_URI = 'http://www.w3.org/2000/svg';
|
|
1564
|
+
const MATH_ML_NAMESPACE = 'math';
|
|
1565
|
+
const MATH_ML_NAMESPACE_URI = 'http://www.w3.org/1998/MathML/';
|
|
1566
|
+
function getNamespaceUri(namespace) {
|
|
1567
|
+
const name = namespace.toLowerCase();
|
|
1568
|
+
return name === SVG_NAMESPACE ? SVG_NAMESPACE_URI :
|
|
1569
|
+
(name === MATH_ML_NAMESPACE ? MATH_ML_NAMESPACE_URI : null);
|
|
1570
|
+
}
|
|
1564
1571
|
|
|
1565
1572
|
/**
|
|
1566
1573
|
* @license
|
|
@@ -4471,7 +4478,7 @@ const ES2015_INHERITED_CLASS_WITH_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{
|
|
|
4471
4478
|
* Regular expression that detects ES2015 classes which extend from other classes
|
|
4472
4479
|
* and inherit a constructor.
|
|
4473
4480
|
*/
|
|
4474
|
-
const ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{
|
|
4481
|
+
const ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;
|
|
4475
4482
|
/**
|
|
4476
4483
|
* Determine whether a stringified type is a class which delegates its constructor
|
|
4477
4484
|
* to its parent.
|
|
@@ -6988,8 +6995,9 @@ function createElementNode(renderer, name, namespace) {
|
|
|
6988
6995
|
return renderer.createElement(name, namespace);
|
|
6989
6996
|
}
|
|
6990
6997
|
else {
|
|
6991
|
-
|
|
6992
|
-
|
|
6998
|
+
const namespaceUri = namespace !== null ? getNamespaceUri(namespace) : null;
|
|
6999
|
+
return namespaceUri === null ? renderer.createElement(name) :
|
|
7000
|
+
renderer.createElementNS(namespaceUri, name);
|
|
6993
7001
|
}
|
|
6994
7002
|
}
|
|
6995
7003
|
/**
|
|
@@ -21075,7 +21083,7 @@ class Version {
|
|
|
21075
21083
|
/**
|
|
21076
21084
|
* @publicApi
|
|
21077
21085
|
*/
|
|
21078
|
-
const VERSION = new Version('13.2.0-rc.
|
|
21086
|
+
const VERSION = new Version('13.2.0-rc.1');
|
|
21079
21087
|
|
|
21080
21088
|
/**
|
|
21081
21089
|
* @license
|