houdini 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.
- package/build/cmd-cjs/index.js +5 -3
- package/build/cmd-esm/index.js +5 -3
- package/build/codegen-cjs/index.js +1 -1
- package/build/codegen-esm/index.js +1 -1
- package/build/lib-cjs/index.js +3 -1
- package/build/lib-esm/index.js +3 -1
- package/build/test-cjs/index.js +3 -1
- package/build/test-esm/index.js +3 -1
- package/build/vite-cjs/index.js +3 -1
- package/build/vite-esm/index.js +3 -1
- package/package.json +1 -1
package/build/cmd-cjs/index.js
CHANGED
|
@@ -72745,6 +72745,8 @@ var Config = class {
|
|
|
72745
72745
|
root = this.projectRoot,
|
|
72746
72746
|
ignore_plugins = false
|
|
72747
72747
|
} = {}) {
|
|
72748
|
+
const parsed = parse2(filepath);
|
|
72749
|
+
filepath = `${parsed.dir}/${parsed.name}${parsed.ext.split("?")[0]}`;
|
|
72748
72750
|
let included = false;
|
|
72749
72751
|
for (const plugin2 of ignore_plugins ? [] : this.plugins) {
|
|
72750
72752
|
if (!plugin2.include) {
|
|
@@ -73432,7 +73434,7 @@ function deepMerge2(filepath, ...targets) {
|
|
|
73432
73434
|
// src/lib/parse.ts
|
|
73433
73435
|
function parseJS(str, config2) {
|
|
73434
73436
|
const defaultConfig = {
|
|
73435
|
-
plugins: ["typescript", "importAssertions"],
|
|
73437
|
+
plugins: ["typescript", "importAssertions", "decorators"],
|
|
73436
73438
|
sourceType: "module"
|
|
73437
73439
|
};
|
|
73438
73440
|
return (0, import_parser.parse)(str || "", config2 ? deepMerge2("", defaultConfig, config2) : defaultConfig).program;
|
|
@@ -80174,8 +80176,8 @@ async function updatePackageJSON(targetPath) {
|
|
|
80174
80176
|
}
|
|
80175
80177
|
packageJSON.devDependencies = {
|
|
80176
80178
|
...packageJSON.devDependencies,
|
|
80177
|
-
houdini: "^1.2.
|
|
80178
|
-
"houdini-svelte": "^1.2.
|
|
80179
|
+
houdini: "^1.2.5",
|
|
80180
|
+
"houdini-svelte": "^1.2.5"
|
|
80179
80181
|
};
|
|
80180
80182
|
await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
|
|
80181
80183
|
}
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -72750,6 +72750,8 @@ var Config = class {
|
|
|
72750
72750
|
root = this.projectRoot,
|
|
72751
72751
|
ignore_plugins = false
|
|
72752
72752
|
} = {}) {
|
|
72753
|
+
const parsed = parse2(filepath);
|
|
72754
|
+
filepath = `${parsed.dir}/${parsed.name}${parsed.ext.split("?")[0]}`;
|
|
72753
72755
|
let included = false;
|
|
72754
72756
|
for (const plugin2 of ignore_plugins ? [] : this.plugins) {
|
|
72755
72757
|
if (!plugin2.include) {
|
|
@@ -73437,7 +73439,7 @@ function deepMerge2(filepath, ...targets) {
|
|
|
73437
73439
|
// src/lib/parse.ts
|
|
73438
73440
|
function parseJS(str, config2) {
|
|
73439
73441
|
const defaultConfig = {
|
|
73440
|
-
plugins: ["typescript", "importAssertions"],
|
|
73442
|
+
plugins: ["typescript", "importAssertions", "decorators"],
|
|
73441
73443
|
sourceType: "module"
|
|
73442
73444
|
};
|
|
73443
73445
|
return (0, import_parser.parse)(str || "", config2 ? deepMerge2("", defaultConfig, config2) : defaultConfig).program;
|
|
@@ -80179,8 +80181,8 @@ async function updatePackageJSON(targetPath) {
|
|
|
80179
80181
|
}
|
|
80180
80182
|
packageJSON.devDependencies = {
|
|
80181
80183
|
...packageJSON.devDependencies,
|
|
80182
|
-
houdini: "^1.2.
|
|
80183
|
-
"houdini-svelte": "^1.2.
|
|
80184
|
+
houdini: "^1.2.5",
|
|
80185
|
+
"houdini-svelte": "^1.2.5"
|
|
80184
80186
|
};
|
|
80185
80187
|
await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
|
|
80186
80188
|
}
|
|
@@ -57101,7 +57101,7 @@ function deepMerge2(filepath, ...targets) {
|
|
|
57101
57101
|
// src/lib/parse.ts
|
|
57102
57102
|
function parseJS(str, config2) {
|
|
57103
57103
|
const defaultConfig = {
|
|
57104
|
-
plugins: ["typescript", "importAssertions"],
|
|
57104
|
+
plugins: ["typescript", "importAssertions", "decorators"],
|
|
57105
57105
|
sourceType: "module"
|
|
57106
57106
|
};
|
|
57107
57107
|
return (0, import_parser.parse)(str || "", config2 ? deepMerge2("", defaultConfig, config2) : defaultConfig).program;
|
|
@@ -57099,7 +57099,7 @@ function deepMerge2(filepath, ...targets) {
|
|
|
57099
57099
|
// src/lib/parse.ts
|
|
57100
57100
|
function parseJS(str, config2) {
|
|
57101
57101
|
const defaultConfig = {
|
|
57102
|
-
plugins: ["typescript", "importAssertions"],
|
|
57102
|
+
plugins: ["typescript", "importAssertions", "decorators"],
|
|
57103
57103
|
sourceType: "module"
|
|
57104
57104
|
};
|
|
57105
57105
|
return (0, import_parser.parse)(str || "", config2 ? deepMerge2("", defaultConfig, config2) : defaultConfig).program;
|
package/build/lib-cjs/index.js
CHANGED
|
@@ -66899,6 +66899,8 @@ var Config = class {
|
|
|
66899
66899
|
root = this.projectRoot,
|
|
66900
66900
|
ignore_plugins = false
|
|
66901
66901
|
} = {}) {
|
|
66902
|
+
const parsed = parse2(filepath);
|
|
66903
|
+
filepath = `${parsed.dir}/${parsed.name}${parsed.ext.split("?")[0]}`;
|
|
66902
66904
|
let included = false;
|
|
66903
66905
|
for (const plugin2 of ignore_plugins ? [] : this.plugins) {
|
|
66904
66906
|
if (!plugin2.include) {
|
|
@@ -67593,7 +67595,7 @@ function deepMerge2(filepath, ...targets) {
|
|
|
67593
67595
|
// src/lib/parse.ts
|
|
67594
67596
|
function parseJS(str, config) {
|
|
67595
67597
|
const defaultConfig = {
|
|
67596
|
-
plugins: ["typescript", "importAssertions"],
|
|
67598
|
+
plugins: ["typescript", "importAssertions", "decorators"],
|
|
67597
67599
|
sourceType: "module"
|
|
67598
67600
|
};
|
|
67599
67601
|
return (0, import_parser.parse)(str || "", config ? deepMerge2("", defaultConfig, config) : defaultConfig).program;
|
package/build/lib-esm/index.js
CHANGED
|
@@ -66838,6 +66838,8 @@ var Config = class {
|
|
|
66838
66838
|
root = this.projectRoot,
|
|
66839
66839
|
ignore_plugins = false
|
|
66840
66840
|
} = {}) {
|
|
66841
|
+
const parsed = parse2(filepath);
|
|
66842
|
+
filepath = `${parsed.dir}/${parsed.name}${parsed.ext.split("?")[0]}`;
|
|
66841
66843
|
let included = false;
|
|
66842
66844
|
for (const plugin2 of ignore_plugins ? [] : this.plugins) {
|
|
66843
66845
|
if (!plugin2.include) {
|
|
@@ -67532,7 +67534,7 @@ function deepMerge2(filepath, ...targets) {
|
|
|
67532
67534
|
// src/lib/parse.ts
|
|
67533
67535
|
function parseJS(str, config) {
|
|
67534
67536
|
const defaultConfig = {
|
|
67535
|
-
plugins: ["typescript", "importAssertions"],
|
|
67537
|
+
plugins: ["typescript", "importAssertions", "decorators"],
|
|
67536
67538
|
sourceType: "module"
|
|
67537
67539
|
};
|
|
67538
67540
|
return (0, import_parser.parse)(str || "", config ? deepMerge2("", defaultConfig, config) : defaultConfig).program;
|
package/build/test-cjs/index.js
CHANGED
|
@@ -57227,6 +57227,8 @@ var Config = class {
|
|
|
57227
57227
|
root = this.projectRoot,
|
|
57228
57228
|
ignore_plugins = false
|
|
57229
57229
|
} = {}) {
|
|
57230
|
+
const parsed = parse(filepath);
|
|
57231
|
+
filepath = `${parsed.dir}/${parsed.name}${parsed.ext.split("?")[0]}`;
|
|
57230
57232
|
let included = false;
|
|
57231
57233
|
for (const plugin2 of ignore_plugins ? [] : this.plugins) {
|
|
57232
57234
|
if (!plugin2.include) {
|
|
@@ -57692,7 +57694,7 @@ function deepMerge2(filepath, ...targets) {
|
|
|
57692
57694
|
// src/lib/parse.ts
|
|
57693
57695
|
function parseJS(str, config2) {
|
|
57694
57696
|
const defaultConfig = {
|
|
57695
|
-
plugins: ["typescript", "importAssertions"],
|
|
57697
|
+
plugins: ["typescript", "importAssertions", "decorators"],
|
|
57696
57698
|
sourceType: "module"
|
|
57697
57699
|
};
|
|
57698
57700
|
return (0, import_parser.parse)(str || "", config2 ? deepMerge2("", defaultConfig, config2) : defaultConfig).program;
|
package/build/test-esm/index.js
CHANGED
|
@@ -57222,6 +57222,8 @@ var Config = class {
|
|
|
57222
57222
|
root = this.projectRoot,
|
|
57223
57223
|
ignore_plugins = false
|
|
57224
57224
|
} = {}) {
|
|
57225
|
+
const parsed = parse(filepath);
|
|
57226
|
+
filepath = `${parsed.dir}/${parsed.name}${parsed.ext.split("?")[0]}`;
|
|
57225
57227
|
let included = false;
|
|
57226
57228
|
for (const plugin2 of ignore_plugins ? [] : this.plugins) {
|
|
57227
57229
|
if (!plugin2.include) {
|
|
@@ -57687,7 +57689,7 @@ function deepMerge2(filepath, ...targets) {
|
|
|
57687
57689
|
// src/lib/parse.ts
|
|
57688
57690
|
function parseJS(str, config2) {
|
|
57689
57691
|
const defaultConfig = {
|
|
57690
|
-
plugins: ["typescript", "importAssertions"],
|
|
57692
|
+
plugins: ["typescript", "importAssertions", "decorators"],
|
|
57691
57693
|
sourceType: "module"
|
|
57692
57694
|
};
|
|
57693
57695
|
return (0, import_parser.parse)(str || "", config2 ? deepMerge2("", defaultConfig, config2) : defaultConfig).program;
|
package/build/vite-cjs/index.js
CHANGED
|
@@ -69610,6 +69610,8 @@ var Config = class {
|
|
|
69610
69610
|
root = this.projectRoot,
|
|
69611
69611
|
ignore_plugins = false
|
|
69612
69612
|
} = {}) {
|
|
69613
|
+
const parsed = parse2(filepath);
|
|
69614
|
+
filepath = `${parsed.dir}/${parsed.name}${parsed.ext.split("?")[0]}`;
|
|
69613
69615
|
let included = false;
|
|
69614
69616
|
for (const plugin2 of ignore_plugins ? [] : this.plugins) {
|
|
69615
69617
|
if (!plugin2.include) {
|
|
@@ -70297,7 +70299,7 @@ function deepMerge2(filepath, ...targets) {
|
|
|
70297
70299
|
// src/lib/parse.ts
|
|
70298
70300
|
function parseJS(str, config4) {
|
|
70299
70301
|
const defaultConfig = {
|
|
70300
|
-
plugins: ["typescript", "importAssertions"],
|
|
70302
|
+
plugins: ["typescript", "importAssertions", "decorators"],
|
|
70301
70303
|
sourceType: "module"
|
|
70302
70304
|
};
|
|
70303
70305
|
return (0, import_parser.parse)(str || "", config4 ? deepMerge2("", defaultConfig, config4) : defaultConfig).program;
|
package/build/vite-esm/index.js
CHANGED
|
@@ -69604,6 +69604,8 @@ var Config = class {
|
|
|
69604
69604
|
root = this.projectRoot,
|
|
69605
69605
|
ignore_plugins = false
|
|
69606
69606
|
} = {}) {
|
|
69607
|
+
const parsed = parse2(filepath);
|
|
69608
|
+
filepath = `${parsed.dir}/${parsed.name}${parsed.ext.split("?")[0]}`;
|
|
69607
69609
|
let included = false;
|
|
69608
69610
|
for (const plugin2 of ignore_plugins ? [] : this.plugins) {
|
|
69609
69611
|
if (!plugin2.include) {
|
|
@@ -70291,7 +70293,7 @@ function deepMerge2(filepath, ...targets) {
|
|
|
70291
70293
|
// src/lib/parse.ts
|
|
70292
70294
|
function parseJS(str, config4) {
|
|
70293
70295
|
const defaultConfig = {
|
|
70294
|
-
plugins: ["typescript", "importAssertions"],
|
|
70296
|
+
plugins: ["typescript", "importAssertions", "decorators"],
|
|
70295
70297
|
sourceType: "module"
|
|
70296
70298
|
};
|
|
70297
70299
|
return (0, import_parser.parse)(str || "", config4 ? deepMerge2("", defaultConfig, config4) : defaultConfig).program;
|