sim 2.2.22-preview.266.1 → 2.2.22-preview.267.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/dist/index.js +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22393,7 +22393,7 @@ function commandPath2(command) {
|
|
|
22393
22393
|
return names.join(" ");
|
|
22394
22394
|
}
|
|
22395
22395
|
function looksLikeAnId(token) {
|
|
22396
|
-
return token.length > 2 && !token.startsWith("--") && /^-[
|
|
22396
|
+
return token.length > 2 && !token.startsWith("--") && /^-[\w-]+$/.test(token) && /[A-Z0-9]/.test(token);
|
|
22397
22397
|
}
|
|
22398
22398
|
function hasOwnAction(command) {
|
|
22399
22399
|
return Boolean(command._actionHandler);
|
package/dist/runtime.js
CHANGED
|
@@ -22442,7 +22442,7 @@ function commandPath2(command) {
|
|
|
22442
22442
|
return names.join(" ");
|
|
22443
22443
|
}
|
|
22444
22444
|
function looksLikeAnId(token) {
|
|
22445
|
-
return token.length > 2 && !token.startsWith("--") && /^-[
|
|
22445
|
+
return token.length > 2 && !token.startsWith("--") && /^-[\w-]+$/.test(token) && /[A-Z0-9]/.test(token);
|
|
22446
22446
|
}
|
|
22447
22447
|
function hasOwnAction(command) {
|
|
22448
22448
|
return Boolean(command._actionHandler);
|