@scaleway/regex 5.2.1 → 5.2.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/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/vite.config.ts +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 5.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2461](https://github.com/scaleway/scaleway-lib/pull/2461) [`3779419`](https://github.com/scaleway/scaleway-lib/commit/3779419f6cec8271d99638e0377106bc23a5b75e) Thanks [@Lawndlwd](https://github.com/Lawndlwd)! - fix the cron regex
|
|
8
|
+
|
|
3
9
|
## 5.2.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ const basicDomain = /^[a-z0-9-]+(\.[a-z0-9-]{1,63})+$/;
|
|
|
25
25
|
const uppercaseBasicDomain = /^(?![-])+[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]{1,63})+$/;
|
|
26
26
|
const uppercaseBasicSubdomain = /^(?![-])+[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]{1,63})+$/;
|
|
27
27
|
const advancedDomainName = /^(?:(?:(?:[a-zA-Z0-9À-ÖØ-öø-ÿ](?:[a-zA-Z0-9À-ÖØ-öø-ÿ-]{0,61}[a-zA-Z0-9À-ÖØ-öø-ÿ])?)\.)+[a-zA-Z]{2,}|(?:[0-9]{1,3}\.){3}[0-9]{1,3})(?::[\d]{1,5})?$/;
|
|
28
|
-
const cron = /^((((\d+,)+\d+|(\d+(\/|-)\d+)|\d
|
|
28
|
+
const cron = /^((((\d+,)+\d+|(\d+(\/|-)\d+)|\d+|\*|\*\/\d+) ?){5,7})$/;
|
|
29
29
|
const digits = /^[0-9]*$/;
|
|
30
30
|
const macAddress = /^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/;
|
|
31
31
|
const email = /^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;
|
package/package.json
CHANGED
package/vite.config.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { defineConfig, mergeConfig } from 'vite'
|
|
2
2
|
import { defaultConfig } from '../../vite.config'
|
|
3
|
+
import { defaultConfig as vitestDefaultConfig } from '../../vitest.config'
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
const config = {
|
|
6
|
+
...defineConfig(defaultConfig),
|
|
7
|
+
...vitestDefaultConfig,
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export default mergeConfig(config, {
|
|
5
11
|
build: {
|
|
6
12
|
target: ['node20'],
|
|
7
13
|
},
|