diff --git a/package.json b/package.json index e9ded1d..cafef05 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ "@sentry/tracing": "^7.82.0", "ajv": "^8.12.0", "colord": "^2.9.3", - "debounce-fn": "github:julusian/debounce-fn#4.0.0-maxWaithack.0", "ejson": "^2.2.3", "eventemitter3": "^4.0.7", "mimic-fn": "^3.0.0", diff --git a/src/module-api/enums.ts b/src/module-api/enums.ts index 3400843..e07cc0b 100644 --- a/src/module-api/enums.ts +++ b/src/module-api/enums.ts @@ -23,7 +23,7 @@ export namespace Regex { export const BOOLEAN = '/^(true|false|0|1)$/i' export const PORT = '/^([1-9]|[1-8][0-9]|9[0-9]|[1-8][0-9]{2}|9[0-8][0-9]|99[0-9]|[1-8][0-9]{3}|9[0-8][0-9]{2}|99[0-8][0-9]|999[0-9]|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-4])$/' - export const MAC = '/^(?:[a-fA-F0-9]{2}\:){5}([a-fA-F0-9]{2})$/' + export const MAC_ADDRESS = '/^(?:[a-fA-F0-9]{2}\:){5}([a-fA-F0-9]{2})$/' export const PERCENT = '/^(100|[0-9]|[0-9][0-9])$/' export const FLOAT = '/^([0-9]*\\.)?[0-9]+$/' export const SIGNED_FLOAT = '/^[+-]?([0-9]*\\.)?[0-9]+$/'