svelte 4.2.16 → 4.2.17
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/compiler.cjs +1 -1
- package/package.json +1 -1
- package/src/runtime/internal/ssr.js +1 -1
- package/src/shared/version.js +1 -1
package/compiler.cjs
CHANGED
|
@@ -43607,7 +43607,7 @@ function is_used_as_reference(node, parent) {
|
|
|
43607
43607
|
* https://svelte.dev/docs/svelte-compiler#svelte-version
|
|
43608
43608
|
* @type {string}
|
|
43609
43609
|
*/
|
|
43610
|
-
const VERSION = '4.2.
|
|
43610
|
+
const VERSION = '4.2.17';
|
|
43611
43611
|
|
|
43612
43612
|
const regex_leading_directory_separator = /^[/\\]/;
|
|
43613
43613
|
const regex_starts_with_term_export = /^Export/;
|
package/package.json
CHANGED
|
@@ -193,7 +193,7 @@ export function add_classes(classes) {
|
|
|
193
193
|
/** @returns {string} */
|
|
194
194
|
function style_object_to_string(style_object) {
|
|
195
195
|
return Object.keys(style_object)
|
|
196
|
-
.filter((key) => style_object[key])
|
|
196
|
+
.filter((key) => style_object[key] != null && style_object[key] !== '')
|
|
197
197
|
.map((key) => `${key}: ${escape_attribute_value(style_object[key])};`)
|
|
198
198
|
.join(' ');
|
|
199
199
|
}
|
package/src/shared/version.js
CHANGED