houdini-svelte 1.2.4 → 1.2.5

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.
@@ -92770,7 +92770,7 @@ function deepMerge2(filepath, ...targets) {
92770
92770
  }
92771
92771
  function parseJS(str, config4) {
92772
92772
  const defaultConfig = {
92773
- plugins: ["typescript", "importAssertions"],
92773
+ plugins: ["typescript", "importAssertions", "decorators"],
92774
92774
  sourceType: "module"
92775
92775
  };
92776
92776
  return (0, import_parser.parse)(str || "", config4 ? deepMerge2("", defaultConfig, config4) : defaultConfig).program;
@@ -92761,7 +92761,7 @@ function deepMerge2(filepath, ...targets) {
92761
92761
  }
92762
92762
  function parseJS(str, config4) {
92763
92763
  const defaultConfig = {
92764
- plugins: ["typescript", "importAssertions"],
92764
+ plugins: ["typescript", "importAssertions", "decorators"],
92765
92765
  sourceType: "module"
92766
92766
  };
92767
92767
  return (0, import_parser.parse)(str || "", config4 ? deepMerge2("", defaultConfig, config4) : defaultConfig).program;
@@ -96296,6 +96296,8 @@ var Config = class {
96296
96296
  root = this.projectRoot,
96297
96297
  ignore_plugins = false
96298
96298
  } = {}) {
96299
+ const parsed = parse2(filepath);
96300
+ filepath = `${parsed.dir}/${parsed.name}${parsed.ext.split("?")[0]}`;
96299
96301
  let included = false;
96300
96302
  for (const plugin2 of ignore_plugins ? [] : this.plugins) {
96301
96303
  if (!plugin2.include) {
@@ -96851,7 +96853,7 @@ function deepMerge2(filepath, ...targets) {
96851
96853
  }
96852
96854
  function parseJS(str, config4) {
96853
96855
  const defaultConfig = {
96854
- plugins: ["typescript", "importAssertions"],
96856
+ plugins: ["typescript", "importAssertions", "decorators"],
96855
96857
  sourceType: "module"
96856
96858
  };
96857
96859
  return (0, import_parser.parse)(str || "", config4 ? deepMerge2("", defaultConfig, config4) : defaultConfig).program;
@@ -96289,6 +96289,8 @@ var Config = class {
96289
96289
  root = this.projectRoot,
96290
96290
  ignore_plugins = false
96291
96291
  } = {}) {
96292
+ const parsed = parse2(filepath);
96293
+ filepath = `${parsed.dir}/${parsed.name}${parsed.ext.split("?")[0]}`;
96292
96294
  let included = false;
96293
96295
  for (const plugin2 of ignore_plugins ? [] : this.plugins) {
96294
96296
  if (!plugin2.include) {
@@ -96844,7 +96846,7 @@ function deepMerge2(filepath, ...targets) {
96844
96846
  }
96845
96847
  function parseJS(str, config4) {
96846
96848
  const defaultConfig = {
96847
- plugins: ["typescript", "importAssertions"],
96849
+ plugins: ["typescript", "importAssertions", "decorators"],
96848
96850
  sourceType: "module"
96849
96851
  };
96850
96852
  return (0, import_parser.parse)(str || "", config4 ? deepMerge2("", defaultConfig, config4) : defaultConfig).program;
@@ -92773,7 +92773,7 @@ function deepMerge2(filepath, ...targets) {
92773
92773
  }
92774
92774
  function parseJS(str, config5) {
92775
92775
  const defaultConfig = {
92776
- plugins: ["typescript", "importAssertions"],
92776
+ plugins: ["typescript", "importAssertions", "decorators"],
92777
92777
  sourceType: "module"
92778
92778
  };
92779
92779
  return (0, import_parser.parse)(str || "", config5 ? deepMerge2("", defaultConfig, config5) : defaultConfig).program;
@@ -149561,7 +149561,7 @@ function deepMerge22(filepath, ...targets) {
149561
149561
  }
149562
149562
  function parseJS2(str, config22) {
149563
149563
  const defaultConfig = {
149564
- plugins: ["typescript", "importAssertions"],
149564
+ plugins: ["typescript", "importAssertions", "decorators"],
149565
149565
  sourceType: "module"
149566
149566
  };
149567
149567
  return (0, import_parser2.parse)(str || "", config22 ? deepMerge22("", defaultConfig, config22) : defaultConfig).program;
@@ -212043,6 +212043,8 @@ var Config = class {
212043
212043
  root = this.projectRoot,
212044
212044
  ignore_plugins = false
212045
212045
  } = {}) {
212046
+ const parsed = parse3(filepath);
212047
+ filepath = `${parsed.dir}/${parsed.name}${parsed.ext.split("?")[0]}`;
212046
212048
  let included = false;
212047
212049
  for (const plugin2 of ignore_plugins ? [] : this.plugins) {
212048
212050
  if (!plugin2.include) {
@@ -92761,7 +92761,7 @@ function deepMerge2(filepath, ...targets) {
92761
92761
  }
92762
92762
  function parseJS(str, config5) {
92763
92763
  const defaultConfig = {
92764
- plugins: ["typescript", "importAssertions"],
92764
+ plugins: ["typescript", "importAssertions", "decorators"],
92765
92765
  sourceType: "module"
92766
92766
  };
92767
92767
  return (0, import_parser.parse)(str || "", config5 ? deepMerge2("", defaultConfig, config5) : defaultConfig).program;
@@ -149548,7 +149548,7 @@ function deepMerge22(filepath, ...targets) {
149548
149548
  }
149549
149549
  function parseJS2(str, config22) {
149550
149550
  const defaultConfig = {
149551
- plugins: ["typescript", "importAssertions"],
149551
+ plugins: ["typescript", "importAssertions", "decorators"],
149552
149552
  sourceType: "module"
149553
149553
  };
149554
149554
  return (0, import_parser2.parse)(str || "", config22 ? deepMerge22("", defaultConfig, config22) : defaultConfig).program;
@@ -212029,6 +212029,8 @@ var Config = class {
212029
212029
  root = this.projectRoot,
212030
212030
  ignore_plugins = false
212031
212031
  } = {}) {
212032
+ const parsed = parse3(filepath);
212033
+ filepath = `${parsed.dir}/${parsed.name}${parsed.ext.split("?")[0]}`;
212032
212034
  let included = false;
212033
212035
  for (const plugin2 of ignore_plugins ? [] : this.plugins) {
212034
212036
  if (!plugin2.include) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini-svelte",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "The svelte plugin for houdini",
5
5
  "keywords": [
6
6
  "typescript",
@@ -32,7 +32,7 @@
32
32
  "rollup": "^3.7.4",
33
33
  "svelte": "^3.57.0",
34
34
  "vite": "^4.1.1",
35
- "houdini": "^1.2.4"
35
+ "houdini": "^1.2.5"
36
36
  },
37
37
  "files": [
38
38
  "build"