@uniformdev/assets 20.39.1-alpha.7 → 20.39.1

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
@@ -68,7 +68,7 @@ var isUniformImageUrl = (imageUrl) => {
68
68
  if (typeof imageUrl !== "string") {
69
69
  return false;
70
70
  }
71
- return /(img).uniform.(rocks|global)$/.test(new URL(imageUrl).hostname);
71
+ return /(img)\.(eu\.)?uniform\.(rocks|global)$/.test(new URL(imageUrl).hostname);
72
72
  } catch (e) {
73
73
  return false;
74
74
  }
package/dist/index.js CHANGED
@@ -98,7 +98,7 @@ var isUniformImageUrl = (imageUrl) => {
98
98
  if (typeof imageUrl !== "string") {
99
99
  return false;
100
100
  }
101
- return /(img).uniform.(rocks|global)$/.test(new URL(imageUrl).hostname);
101
+ return /(img)\.(eu\.)?uniform\.(rocks|global)$/.test(new URL(imageUrl).hostname);
102
102
  } catch (e) {
103
103
  return false;
104
104
  }
package/dist/index.mjs CHANGED
@@ -68,7 +68,7 @@ var isUniformImageUrl = (imageUrl) => {
68
68
  if (typeof imageUrl !== "string") {
69
69
  return false;
70
70
  }
71
- return /(img).uniform.(rocks|global)$/.test(new URL(imageUrl).hostname);
71
+ return /(img)\.(eu\.)?uniform\.(rocks|global)$/.test(new URL(imageUrl).hostname);
72
72
  } catch (e) {
73
73
  return false;
74
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/assets",
3
- "version": "20.39.1-alpha.7+ac50357e0c",
3
+ "version": "20.39.1",
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.39.1-alpha.7+ac50357e0c"
39
+ "@uniformdev/context": "20.39.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "ts-xor": "^1.3.0"
43
43
  },
44
- "gitHead": "ac50357e0c9010f01b0afb8bb216b89db898eae2"
44
+ "gitHead": "b30fa1c0f65428db041678384bc2565fed1e34e6"
45
45
  }