@ditojs/utils 3.1.3 → 3.2.6

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": "@ditojs/utils",
3
- "version": "3.1.3",
3
+ "version": "3.2.6",
4
4
  "type": "module",
5
5
  "description": "Dito.js Utility Functions – Dito.js is a declarative and modern web framework, based on Objection.js, Koa.js and Vue.js",
6
6
  "repository": "https://github.com/ditojs/dito/tree/main/packages/utils",
@@ -34,5 +34,5 @@
34
34
  "devDependencies": {
35
35
  "typescript": "^6.0.3"
36
36
  },
37
- "gitHead": "3dba854ad248a56da1614122b960ad8a7eda70dd"
37
+ "gitHead": "d9868ae96d60a70b5e7ba89a5fc91e07b267a0d5"
38
38
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  const isUrlRegExp = new RegExp(
5
5
  '^((https?|ftps?|mailto|rtsp|mms)?://)?' + // user:pass@
6
- "(([0-9a-z_!~*'().&=+$%-]+:)?[0-9a-z_!~*'().&=+$%-]*@)?" +
6
+ `(([0-9a-z_!~*'().&=+$%-]+:)?[0-9a-z_!~*'().&=+$%-]*@)?` +
7
7
  '(' +
8
8
  '(\\d{1,3}\\.){3}\\d{1,3}' + // ip
9
9
  '|' +
@@ -14,7 +14,7 @@ const isUrlRegExp = new RegExp(
14
14
  ')' + // top level domain.
15
15
  '(:[0-9]{1,5})?' + // port
16
16
  '((/?)|' + // allow ending in a slash
17
- "([/?#][0-9a-z_!~*'().;:@&=+$,%/?#-]+)+/?)$", // path
17
+ `([/?#][0-9a-z_!~*'().;:@&=+$,%/?#-]+)+/?)$`, // path
18
18
  'i'
19
19
  )
20
20