@schematics/angular 17.0.0-rc.1 → 17.0.0-rc.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "17.0.0-rc.
|
|
3
|
+
"version": "17.0.0-rc.2",
|
|
4
4
|
"description": "Schematics specific to Angular",
|
|
5
5
|
"homepage": "https://github.com/angular/angular-cli",
|
|
6
6
|
"keywords": [
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"schematics": "./collection.json",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@angular-devkit/core": "17.0.0-rc.
|
|
27
|
-
"@angular-devkit/schematics": "17.0.0-rc.
|
|
26
|
+
"@angular-devkit/core": "17.0.0-rc.2",
|
|
27
|
+
"@angular-devkit/schematics": "17.0.0-rc.2",
|
|
28
28
|
"jsonc-parser": "3.2.0"
|
|
29
29
|
},
|
|
30
30
|
"repository": {
|
|
@@ -14,6 +14,6 @@ exports.latestVersions = {
|
|
|
14
14
|
...require('./latest-versions/package.json')['dependencies'],
|
|
15
15
|
// As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
|
|
16
16
|
Angular: '^17.0.0-next.0',
|
|
17
|
-
DevkitBuildAngular: '^17.0.0-rc.
|
|
18
|
-
AngularSSR: '^17.0.0-rc.
|
|
17
|
+
DevkitBuildAngular: '^17.0.0-rc.2',
|
|
18
|
+
AngularSSR: '^17.0.0-rc.2',
|
|
19
19
|
};
|
package/utility/validation.js
CHANGED
|
@@ -11,7 +11,7 @@ exports.validateClassName = exports.validateHtmlSelector = exports.htmlSelectorR
|
|
|
11
11
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
12
12
|
// Must start with a letter, and must contain only alphanumeric characters or dashes.
|
|
13
13
|
// When adding a dash the segment after the dash must also start with a letter.
|
|
14
|
-
exports.htmlSelectorRe = /^[a-zA-Z][.0-9a-zA-Z]*(:?-[a-zA-Z][.0-9a-zA-Z]*)
|
|
14
|
+
exports.htmlSelectorRe = /^[a-zA-Z][.0-9a-zA-Z]*((:?-[0-9]+)*|(:?-[a-zA-Z][.0-9a-zA-Z]*(:?-[0-9]+)*)*)$/;
|
|
15
15
|
// See: https://github.com/tc39/proposal-regexp-unicode-property-escapes/blob/fe6d07fad74cd0192d154966baa1e95e7cda78a1/README.md#other-examples
|
|
16
16
|
const ecmaIdentifierNameRegExp = /^(?:[$_\p{ID_Start}])(?:[$_\u200C\u200D\p{ID_Continue}])*$/u;
|
|
17
17
|
function validateHtmlSelector(selector) {
|