@hkdigital/lib-core 0.5.18 → 0.5.19

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.
@@ -25,38 +25,45 @@ const DEFAULT_PRESETS = {
25
25
  default: {
26
26
  format: 'avif',
27
27
  quality: '90',
28
- as: 'metadata'
28
+ as: 'metadata',
29
+ withMetadata: ''
29
30
  },
30
31
  render: {
31
32
  format: 'jpg',
32
33
  quality: '95',
33
- as: 'metadata'
34
+ as: 'metadata',
35
+ withMetadata: ''
34
36
  },
35
37
  photo: {
36
38
  format: 'jpg',
37
39
  quality: '95',
38
- as: 'metadata'
40
+ as: 'metadata',
41
+ withMetadata: ''
39
42
  },
40
43
  gradient: {
41
44
  format: 'jpg',
42
45
  quality: '95',
43
- as: 'metadata'
46
+ as: 'metadata',
47
+ withMetadata: ''
44
48
  },
45
49
  drawing: {
46
50
  format: 'avif',
47
51
  quality: '90',
48
- as: 'metadata'
52
+ as: 'metadata',
53
+ withMetadata: ''
49
54
  },
50
55
  savedata: {
51
56
  format: 'avif',
52
57
  quality: '85',
53
- as: 'metadata'
58
+ as: 'metadata',
59
+ withMetadata: ''
54
60
  },
55
61
  blur: {
56
62
  format: 'avif',
57
63
  quality: '50',
58
64
  blur: '75',
59
- as: 'metadata'
65
+ as: 'metadata',
66
+ withMetadata: ''
60
67
  }
61
68
  };
62
69
 
@@ -115,7 +122,8 @@ export function generateResponseConfigs(options) {
115
122
  return {
116
123
  ...configPairs,
117
124
  w: String(w),
118
- format: 'png'
125
+ format: 'png',
126
+ withMetadata: ''
119
127
  };
120
128
  });
121
129
  // console.log('Returning favicon configs:', faviconConfigs);
@@ -128,7 +136,8 @@ export function generateResponseConfigs(options) {
128
136
  return {
129
137
  ...configPairs,
130
138
  w: String(w),
131
- format: 'png'
139
+ format: 'png',
140
+ withMetadata: ''
132
141
  };
133
142
  });
134
143
  // console.log('Returning apple-touch-icon configs:', appleTouchConfigs);
@@ -392,7 +392,7 @@ export async function httpRequest(options) {
392
392
 
393
393
  if (!isTestEnv) {
394
394
  if (cachedResponse) {
395
- console.debug(`http:cache-hit [${url.pathname}]`);
395
+ // console.debug(`http:cache-hit [${url.pathname}]`);
396
396
  // console.debug(`cached-response has body: ${!!cachedResponse.body}`);
397
397
  // console.debug(`cached-response content-length: ${cachedResponse.headers.get('content-length')}`);
398
398
  return cachedResponse;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hkdigital/lib-core",
3
- "version": "0.5.18",
3
+ "version": "0.5.19",
4
4
  "author": {
5
5
  "name": "HKdigital",
6
6
  "url": "https://hkdigital.nl"
@@ -73,18 +73,20 @@
73
73
  },
74
74
  "./*": "./dist/*"
75
75
  },
76
+ "dependencies": {
77
+ "@tailwindcss/postcss": "^4.1.11",
78
+ "postcss": "^8.5.6"
79
+ },
76
80
  "peerDependencies": {
77
81
  "@eslint/js": "^9.33.0",
78
82
  "@skeletonlabs/skeleton": "^3.1.7",
79
83
  "@steeze-ui/heroicons": "^2.4.2",
80
84
  "@sveltejs/kit": "^2.37.1",
81
- "@tailwindcss/postcss": "^4.1.11",
82
85
  "autoprefixer": "^10.4.21",
83
86
  "eslint-plugin-import": "^2.32.0",
84
87
  "jsonwebtoken": "^9.0.0",
85
88
  "pino": "^9.8.0",
86
89
  "pino-pretty": "^13.1.1",
87
- "postcss": "^8.5.6",
88
90
  "runed": "^0.31.1",
89
91
  "svelte": "^5.38.1",
90
92
  "svelte-preprocess": "^6.0.3",
@@ -102,7 +104,6 @@
102
104
  "@sveltejs/kit": "^2.47.0",
103
105
  "@sveltejs/package": "^2.5.4",
104
106
  "@sveltejs/vite-plugin-svelte": "^6.2.1",
105
- "@tailwindcss/postcss": "^4.1.14",
106
107
  "@tailwindcss/typography": "^0.5.19",
107
108
  "@testing-library/svelte": "^5.2.8",
108
109
  "@testing-library/user-event": "^14.6.1",
@@ -121,8 +122,6 @@
121
122
  "npm-run-all": "^4.1.5",
122
123
  "pino": "^9.13.1",
123
124
  "pino-pretty": "^13.1.2",
124
- "postcss": "^8.5.6",
125
- "postcss-mixins": "^12.1.2",
126
125
  "prettier": "^3.6.2",
127
126
  "prettier-plugin-svelte": "^3.4.0",
128
127
  "prettier-plugin-tailwindcss": "^0.6.14",