@uxf/core 11.128.0 → 11.129.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/README.md CHANGED
@@ -30,7 +30,7 @@ There is no root entry point – every symbol is imported from its own deep path
30
30
  ```json
31
31
  [
32
32
  {
33
- "route": "/generated/static/:width(\\d+|x)_:height(\\d+|x)_:fit([a-z]+)_:position([a-z]+)_:background([a-z]+)_:trim([a-z]+)_:quality(\\d+|x)/:version/:filename(*).:extension.:toFormat",
33
+ "route": "/generated/static/:width(\\d+|x)_:height(\\d+|x)_:fit([a-z]+)_:position([a-z]+)_:background([a-z]+)_:trim([a-z]+)_:quality(\\d+|x)/:version/:filename(.*).:extension.:toFormat",
34
34
  "source": "https://uxf-base.uxf.dev/:filename+.:extension"
35
35
  },
36
36
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/core",
3
- "version": "11.128.0",
3
+ "version": "11.129.0",
4
4
  "description": "UXF Core",
5
5
  "author": "Petr Vejvoda <vejvoda@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/core#readme",
package/utils/resizer.js CHANGED
@@ -83,7 +83,7 @@ function resizerImageUrl(source, width = "auto", height = "auto", props = {}, ve
83
83
  function resizerGetDefaultConfig(generatedFilesUrl, staticFilesUrl) {
84
84
  return [
85
85
  {
86
- route: "/generated/static/:width(\\d+|x)_:height(\\d+|x)_:fit([a-z]+)_:position([a-z]+)_:background([a-z]+)_:trim([a-z]+)_:quality(\\d+|x)/:version/:filename(*).:extension.:toFormat",
86
+ route: "/generated/static/:width(\\d+|x)_:height(\\d+|x)_:fit([a-z]+)_:position([a-z]+)_:background([a-z]+)_:trim([a-z]+)_:quality(\\d+|x)/:version/:filename(.*).:extension.:toFormat",
87
87
  source: `${staticFilesUrl}/:filename+.:extension`,
88
88
  },
89
89
  {
@@ -71,7 +71,7 @@ describe("resizerGetDefaultConfig", () => {
71
71
  const staticFilesUrl = "http://example.com/static";
72
72
  const expectedConfig = [
73
73
  {
74
- route: "/generated/static/:width(\\d+|x)_:height(\\d+|x)_:fit([a-z]+)_:position([a-z]+)_:background([a-z]+)_:trim([a-z]+)_:quality(\\d+|x)/:version/:filename(*).:extension.:toFormat",
74
+ route: "/generated/static/:width(\\d+|x)_:height(\\d+|x)_:fit([a-z]+)_:position([a-z]+)_:background([a-z]+)_:trim([a-z]+)_:quality(\\d+|x)/:version/:filename(.*).:extension.:toFormat",
75
75
  source: `${staticFilesUrl}/:filename+.:extension`,
76
76
  },
77
77
  {