@hkdigital/lib-core 0.5.18 → 0.5.20
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.
|
@@ -115,7 +115,8 @@ export function generateResponseConfigs(options) {
|
|
|
115
115
|
return {
|
|
116
116
|
...configPairs,
|
|
117
117
|
w: String(w),
|
|
118
|
-
format: 'png'
|
|
118
|
+
format: 'png',
|
|
119
|
+
toColorspace: 'rgb'
|
|
119
120
|
};
|
|
120
121
|
});
|
|
121
122
|
// console.log('Returning favicon configs:', faviconConfigs);
|
|
@@ -128,7 +129,8 @@ export function generateResponseConfigs(options) {
|
|
|
128
129
|
return {
|
|
129
130
|
...configPairs,
|
|
130
131
|
w: String(w),
|
|
131
|
-
format: 'png'
|
|
132
|
+
format: 'png',
|
|
133
|
+
toColorspace: 'rgb'
|
|
132
134
|
};
|
|
133
135
|
});
|
|
134
136
|
// 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.
|
|
3
|
+
"version": "0.5.20",
|
|
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",
|