houdini-svelte 1.2.42 → 1.2.43

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.
@@ -171305,6 +171305,9 @@ async function extract_default({
171305
171305
  return documents;
171306
171306
  }
171307
171307
  async function parseSvelte(str) {
171308
+ str = str.replace(/(<script[^>]*)(\s+)(generics="[^"]+?")/, (_, $1, $2, $3) => {
171309
+ return $1 + $2 + " ".repeat($3.length);
171310
+ });
171308
171311
  const preprocessed = await preprocess(str, [
171309
171312
  {
171310
171313
  script({ content: input }) {
@@ -171299,6 +171299,9 @@ async function extract_default({
171299
171299
  return documents;
171300
171300
  }
171301
171301
  async function parseSvelte(str) {
171302
+ str = str.replace(/(<script[^>]*)(\s+)(generics="[^"]+?")/, (_, $1, $2, $3) => {
171303
+ return $1 + $2 + " ".repeat($3.length);
171304
+ });
171302
171305
  const preprocessed = await preprocess(str, [
171303
171306
  {
171304
171307
  script({ content: input }) {
@@ -110276,6 +110276,9 @@ async function preprocess(source, preprocessor, options) {
110276
110276
 
110277
110277
  // src/plugin/extract.ts
110278
110278
  async function parseSvelte(str) {
110279
+ str = str.replace(/(<script[^>]*)(\s+)(generics="[^"]+?")/, (_, $1, $2, $3) => {
110280
+ return $1 + $2 + " ".repeat($3.length);
110281
+ });
110279
110282
  const preprocessed = await preprocess(str, [
110280
110283
  {
110281
110284
  script({ content: input }) {
@@ -110273,6 +110273,9 @@ async function preprocess(source, preprocessor, options) {
110273
110273
 
110274
110274
  // src/plugin/extract.ts
110275
110275
  async function parseSvelte(str) {
110276
+ str = str.replace(/(<script[^>]*)(\s+)(generics="[^"]+?")/, (_, $1, $2, $3) => {
110277
+ return $1 + $2 + " ".repeat($3.length);
110278
+ });
110276
110279
  const preprocessed = await preprocess(str, [
110277
110280
  {
110278
110281
  script({ content: input }) {
@@ -293401,6 +293401,9 @@ async function extract_default({
293401
293401
  return documents;
293402
293402
  }
293403
293403
  async function parseSvelte(str) {
293404
+ str = str.replace(/(<script[^>]*)(\s+)(generics="[^"]+?")/, (_, $1, $2, $3) => {
293405
+ return $1 + $2 + " ".repeat($3.length);
293406
+ });
293404
293407
  const preprocessed = await preprocess(str, [
293405
293408
  {
293406
293409
  script({ content: input }) {
@@ -293390,6 +293390,9 @@ async function extract_default({
293390
293390
  return documents;
293391
293391
  }
293392
293392
  async function parseSvelte(str) {
293393
+ str = str.replace(/(<script[^>]*)(\s+)(generics="[^"]+?")/, (_, $1, $2, $3) => {
293394
+ return $1 + $2 + " ".repeat($3.length);
293395
+ });
293393
293396
  const preprocessed = await preprocess(str, [
293394
293397
  {
293395
293398
  script({ content: input }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini-svelte",
3
- "version": "1.2.42",
3
+ "version": "1.2.43",
4
4
  "description": "The svelte plugin for houdini",
5
5
  "keywords": [
6
6
  "typescript",
@@ -33,7 +33,7 @@
33
33
  "rollup": "^3.7.4",
34
34
  "svelte": "^3.57.0",
35
35
  "vite": "^4.1.1",
36
- "houdini": "^1.2.42"
36
+ "houdini": "^1.2.43"
37
37
  },
38
38
  "files": [
39
39
  "build"