@uniformdev/assets 20.53.1-alpha.7 → 20.53.2-alpha.0

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.esm.js CHANGED
@@ -71,7 +71,7 @@ var isUniformImageUrl = (imageUrl) => {
71
71
  if (typeof imageUrl !== "string") {
72
72
  return false;
73
73
  }
74
- return /(img)\.(eu\.)?uniform\.(rocks|global)$/.test(new URL(imageUrl).hostname);
74
+ return /(img)\.(eu([1-9]\d*)?\.)?uniform\.(rocks|global)$/.test(new URL(imageUrl).hostname);
75
75
  } catch (e) {
76
76
  return false;
77
77
  }
package/dist/index.js CHANGED
@@ -101,7 +101,7 @@ var isUniformImageUrl = (imageUrl) => {
101
101
  if (typeof imageUrl !== "string") {
102
102
  return false;
103
103
  }
104
- return /(img)\.(eu\.)?uniform\.(rocks|global)$/.test(new URL(imageUrl).hostname);
104
+ return /(img)\.(eu([1-9]\d*)?\.)?uniform\.(rocks|global)$/.test(new URL(imageUrl).hostname);
105
105
  } catch (e) {
106
106
  return false;
107
107
  }
package/dist/index.mjs CHANGED
@@ -71,7 +71,7 @@ var isUniformImageUrl = (imageUrl) => {
71
71
  if (typeof imageUrl !== "string") {
72
72
  return false;
73
73
  }
74
- return /(img)\.(eu\.)?uniform\.(rocks|global)$/.test(new URL(imageUrl).hostname);
74
+ return /(img)\.(eu([1-9]\d*)?\.)?uniform\.(rocks|global)$/.test(new URL(imageUrl).hostname);
75
75
  } catch (e) {
76
76
  return false;
77
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/assets",
3
- "version": "20.53.1-alpha.7+1c3bd56284",
3
+ "version": "20.53.2-alpha.0+9f6b2ac29f",
4
4
  "description": "Uniform Assets",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -36,10 +36,10 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@uniformdev/context": "20.53.1-alpha.7+1c3bd56284"
39
+ "@uniformdev/context": "20.53.2-alpha.0+9f6b2ac29f"
40
40
  },
41
41
  "devDependencies": {
42
42
  "ts-xor": "^1.3.0"
43
43
  },
44
- "gitHead": "1c3bd56284db96f16318a18e62b3b6e83cb09f9b"
44
+ "gitHead": "9f6b2ac29f8ee91c8fe96e927eba23e4ed0dfee9"
45
45
  }