svelte 4.2.5 → 4.2.6
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
CHANGED
|
@@ -13286,7 +13286,7 @@ function get_directive_type(name) {
|
|
|
13286
13286
|
if (name === 'in' || name === 'out' || name === 'transition') return 'Transition';
|
|
13287
13287
|
}
|
|
13288
13288
|
|
|
13289
|
-
const regex_attribute_value = /^(?:"([^"]*)"|'([^'])*'|([^>\s]))/;
|
|
13289
|
+
const regex_attribute_value = /^(?:"([^"]*)"|'([^'])*'|([^>\s]+))/;
|
|
13290
13290
|
|
|
13291
13291
|
/**
|
|
13292
13292
|
* @param {import('../index.js').Parser} parser
|
|
@@ -43664,7 +43664,7 @@ function is_used_as_reference(node, parent) {
|
|
|
43664
43664
|
* https://svelte.dev/docs/svelte-compiler#svelte-version
|
|
43665
43665
|
* @type {string}
|
|
43666
43666
|
*/
|
|
43667
|
-
const VERSION = '4.2.
|
|
43667
|
+
const VERSION = '4.2.6';
|
|
43668
43668
|
|
|
43669
43669
|
const regex_leading_directory_separator = /^[/\\]/;
|
|
43670
43670
|
const regex_starts_with_term_export = /^Export/;
|
|
@@ -46092,9 +46092,9 @@ function stringify_tag_attributes(attributes) {
|
|
|
46092
46092
|
}
|
|
46093
46093
|
|
|
46094
46094
|
const regex_style_tags =
|
|
46095
|
-
/<!--[^]*?-->|<style((?:\s+[^=>'"\/]+=(?:"[^"]*"|'[^']*'|[^>\s])|\s+[^=>'"\/]+)*\s*)(?:\/>|>([\S\s]*?)<\/style>)/g;
|
|
46095
|
+
/<!--[^]*?-->|<style((?:\s+[^=>'"\/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)|\s+[^=>'"\/]+)*\s*)(?:\/>|>([\S\s]*?)<\/style>)/g;
|
|
46096
46096
|
const regex_script_tags =
|
|
46097
|
-
/<!--[^]*?-->|<script((?:\s+[^=>'"\/]+=(?:"[^"]*"|'[^']*'|[^>\s])|\s+[^=>'"\/]+)*\s*)(?:\/>|>([\S\s]*?)<\/script>)/g;
|
|
46097
|
+
/<!--[^]*?-->|<script((?:\s+[^=>'"\/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)|\s+[^=>'"\/]+)*\s*)(?:\/>|>([\S\s]*?)<\/script>)/g;
|
|
46098
46098
|
|
|
46099
46099
|
/**
|
|
46100
46100
|
* Calculate the updates required to process all instances of the specified tag.
|
package/package.json
CHANGED
|
@@ -437,7 +437,7 @@ function get_directive_type(name) {
|
|
|
437
437
|
if (name === 'in' || name === 'out' || name === 'transition') return 'Transition';
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
const regex_attribute_value = /^(?:"([^"]*)"|'([^'])*'|([^>\s]))/;
|
|
440
|
+
const regex_attribute_value = /^(?:"([^"]*)"|'([^'])*'|([^>\s]+))/;
|
|
441
441
|
|
|
442
442
|
/**
|
|
443
443
|
* @param {import('../index.js').Parser} parser
|
|
@@ -253,9 +253,9 @@ function stringify_tag_attributes(attributes) {
|
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
const regex_style_tags =
|
|
256
|
-
/<!--[^]*?-->|<style((?:\s+[^=>'"\/]+=(?:"[^"]*"|'[^']*'|[^>\s])|\s+[^=>'"\/]+)*\s*)(?:\/>|>([\S\s]*?)<\/style>)/g;
|
|
256
|
+
/<!--[^]*?-->|<style((?:\s+[^=>'"\/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)|\s+[^=>'"\/]+)*\s*)(?:\/>|>([\S\s]*?)<\/style>)/g;
|
|
257
257
|
const regex_script_tags =
|
|
258
|
-
/<!--[^]*?-->|<script((?:\s+[^=>'"\/]+=(?:"[^"]*"|'[^']*'|[^>\s])|\s+[^=>'"\/]+)*\s*)(?:\/>|>([\S\s]*?)<\/script>)/g;
|
|
258
|
+
/<!--[^]*?-->|<script((?:\s+[^=>'"\/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)|\s+[^=>'"\/]+)*\s*)(?:\/>|>([\S\s]*?)<\/script>)/g;
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
261
|
* Calculate the updates required to process all instances of the specified tag.
|
package/src/shared/version.js
CHANGED