ui5-test-runner 6.0.6 → 6.0.7

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.
@@ -1,7 +1,7 @@
1
1
  import { OptionValidationError } from '../OptionValidationError.js';
2
2
  export const percent = (option, value) => {
3
3
  if (typeof value === 'string') {
4
- const match = /^(\d{0,3}(:?\.\d{0,3})?)%$/.exec(value);
4
+ const match = /^(\d{0,3}(:?\.\d{0,3})?)%?$/.exec(value);
5
5
  if (match) {
6
6
  const [, digits = '0'] = match;
7
7
  const float = Number(digits);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui5-test-runner",
3
- "version": "6.0.6",
3
+ "version": "6.0.7",
4
4
  "description": "Standalone test runner for UI5",
5
5
  "main": "dist/cli.js",
6
6
  "type": "module",