houdini-svelte 1.0.2 → 1.0.4

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.
@@ -46316,107 +46316,6 @@ var require_minimatch = __commonJS2({
46316
46316
  minimatch2.Minimatch = Minimatch;
46317
46317
  }
46318
46318
  });
46319
- var require_cjs = __commonJS2({
46320
- "../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
46321
- "use strict";
46322
- var isMergeableObject = function isMergeableObject2(value2) {
46323
- return isNonNullObject(value2) && !isSpecial(value2);
46324
- };
46325
- function isNonNullObject(value2) {
46326
- return !!value2 && typeof value2 === "object";
46327
- }
46328
- function isSpecial(value2) {
46329
- var stringValue = Object.prototype.toString.call(value2);
46330
- return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
46331
- }
46332
- var canUseSymbol = typeof Symbol === "function" && Symbol.for;
46333
- var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
46334
- function isReactElement(value2) {
46335
- return value2.$$typeof === REACT_ELEMENT_TYPE;
46336
- }
46337
- function emptyTarget(val) {
46338
- return Array.isArray(val) ? [] : {};
46339
- }
46340
- function cloneUnlessOtherwiseSpecified(value2, options) {
46341
- return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
46342
- }
46343
- function defaultArrayMerge(target, source, options) {
46344
- return target.concat(source).map(function(element) {
46345
- return cloneUnlessOtherwiseSpecified(element, options);
46346
- });
46347
- }
46348
- function getMergeFunction(key, options) {
46349
- if (!options.customMerge) {
46350
- return deepmerge;
46351
- }
46352
- var customMerge = options.customMerge(key);
46353
- return typeof customMerge === "function" ? customMerge : deepmerge;
46354
- }
46355
- function getEnumerableOwnPropertySymbols(target) {
46356
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
46357
- return target.propertyIsEnumerable(symbol);
46358
- }) : [];
46359
- }
46360
- function getKeys(target) {
46361
- return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
46362
- }
46363
- function propertyIsOnObject(object, property) {
46364
- try {
46365
- return property in object;
46366
- } catch (_) {
46367
- return false;
46368
- }
46369
- }
46370
- function propertyIsUnsafe(target, key) {
46371
- return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
46372
- }
46373
- function mergeObject(target, source, options) {
46374
- var destination = {};
46375
- if (options.isMergeableObject(target)) {
46376
- getKeys(target).forEach(function(key) {
46377
- destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
46378
- });
46379
- }
46380
- getKeys(source).forEach(function(key) {
46381
- if (propertyIsUnsafe(target, key)) {
46382
- return;
46383
- }
46384
- if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
46385
- destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
46386
- } else {
46387
- destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
46388
- }
46389
- });
46390
- return destination;
46391
- }
46392
- function deepmerge(target, source, options) {
46393
- options = options || {};
46394
- options.arrayMerge = options.arrayMerge || defaultArrayMerge;
46395
- options.isMergeableObject = options.isMergeableObject || isMergeableObject;
46396
- options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
46397
- var sourceIsArray = Array.isArray(source);
46398
- var targetIsArray = Array.isArray(target);
46399
- var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
46400
- if (!sourceAndTargetTypesMatch) {
46401
- return cloneUnlessOtherwiseSpecified(source, options);
46402
- } else if (sourceIsArray) {
46403
- return options.arrayMerge(target, source, options);
46404
- } else {
46405
- return mergeObject(target, source, options);
46406
- }
46407
- }
46408
- deepmerge.all = function deepmergeAll(array, options) {
46409
- if (!Array.isArray(array)) {
46410
- throw new Error("first argument should be an array");
46411
- }
46412
- return array.reduce(function(prev, next) {
46413
- return deepmerge(prev, next, options);
46414
- }, {});
46415
- };
46416
- var deepmerge_1 = deepmerge;
46417
- module.exports = deepmerge_1;
46418
- }
46419
- });
46420
46319
  var require_universalify = __commonJS2({
46421
46320
  "../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js"(exports) {
46422
46321
  "use strict";
@@ -84638,11 +84537,11 @@ var require_esprima2 = __commonJS2({
84638
84537
  case "}":
84639
84538
  regex2 = false;
84640
84539
  if (this.values[this.curly - 3] === "function") {
84641
- var check = this.values[this.curly - 4];
84642
- regex2 = check ? !this.beforeFunctionExpression(check) : false;
84540
+ var check2 = this.values[this.curly - 4];
84541
+ regex2 = check2 ? !this.beforeFunctionExpression(check2) : false;
84643
84542
  } else if (this.values[this.curly - 4] === "function") {
84644
- var check = this.values[this.curly - 5];
84645
- regex2 = check ? !this.beforeFunctionExpression(check) : true;
84543
+ var check2 = this.values[this.curly - 5];
84544
+ regex2 = check2 ? !this.beforeFunctionExpression(check2) : true;
84646
84545
  }
84647
84546
  break;
84648
84547
  default:
@@ -89004,6 +88903,107 @@ var require_main2 = __commonJS2({
89004
88903
  }
89005
88904
  }
89006
88905
  });
88906
+ var require_cjs = __commonJS2({
88907
+ "../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
88908
+ "use strict";
88909
+ var isMergeableObject = function isMergeableObject2(value2) {
88910
+ return isNonNullObject(value2) && !isSpecial(value2);
88911
+ };
88912
+ function isNonNullObject(value2) {
88913
+ return !!value2 && typeof value2 === "object";
88914
+ }
88915
+ function isSpecial(value2) {
88916
+ var stringValue = Object.prototype.toString.call(value2);
88917
+ return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
88918
+ }
88919
+ var canUseSymbol = typeof Symbol === "function" && Symbol.for;
88920
+ var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
88921
+ function isReactElement(value2) {
88922
+ return value2.$$typeof === REACT_ELEMENT_TYPE;
88923
+ }
88924
+ function emptyTarget(val) {
88925
+ return Array.isArray(val) ? [] : {};
88926
+ }
88927
+ function cloneUnlessOtherwiseSpecified(value2, options) {
88928
+ return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
88929
+ }
88930
+ function defaultArrayMerge(target, source, options) {
88931
+ return target.concat(source).map(function(element) {
88932
+ return cloneUnlessOtherwiseSpecified(element, options);
88933
+ });
88934
+ }
88935
+ function getMergeFunction(key, options) {
88936
+ if (!options.customMerge) {
88937
+ return deepmerge;
88938
+ }
88939
+ var customMerge = options.customMerge(key);
88940
+ return typeof customMerge === "function" ? customMerge : deepmerge;
88941
+ }
88942
+ function getEnumerableOwnPropertySymbols(target) {
88943
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
88944
+ return target.propertyIsEnumerable(symbol);
88945
+ }) : [];
88946
+ }
88947
+ function getKeys(target) {
88948
+ return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
88949
+ }
88950
+ function propertyIsOnObject(object, property) {
88951
+ try {
88952
+ return property in object;
88953
+ } catch (_) {
88954
+ return false;
88955
+ }
88956
+ }
88957
+ function propertyIsUnsafe(target, key) {
88958
+ return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
88959
+ }
88960
+ function mergeObject(target, source, options) {
88961
+ var destination = {};
88962
+ if (options.isMergeableObject(target)) {
88963
+ getKeys(target).forEach(function(key) {
88964
+ destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
88965
+ });
88966
+ }
88967
+ getKeys(source).forEach(function(key) {
88968
+ if (propertyIsUnsafe(target, key)) {
88969
+ return;
88970
+ }
88971
+ if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
88972
+ destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
88973
+ } else {
88974
+ destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
88975
+ }
88976
+ });
88977
+ return destination;
88978
+ }
88979
+ function deepmerge(target, source, options) {
88980
+ options = options || {};
88981
+ options.arrayMerge = options.arrayMerge || defaultArrayMerge;
88982
+ options.isMergeableObject = options.isMergeableObject || isMergeableObject;
88983
+ options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
88984
+ var sourceIsArray = Array.isArray(source);
88985
+ var targetIsArray = Array.isArray(target);
88986
+ var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
88987
+ if (!sourceAndTargetTypesMatch) {
88988
+ return cloneUnlessOtherwiseSpecified(source, options);
88989
+ } else if (sourceIsArray) {
88990
+ return options.arrayMerge(target, source, options);
88991
+ } else {
88992
+ return mergeObject(target, source, options);
88993
+ }
88994
+ }
88995
+ deepmerge.all = function deepmergeAll(array, options) {
88996
+ if (!Array.isArray(array)) {
88997
+ throw new Error("first argument should be an array");
88998
+ }
88999
+ return array.reduce(function(prev, next) {
89000
+ return deepmerge(prev, next, options);
89001
+ }, {});
89002
+ };
89003
+ var deepmerge_1 = deepmerge;
89004
+ module.exports = deepmerge_1;
89005
+ }
89006
+ });
89007
89007
  async function runPipeline(config4, pipeline22, target) {
89008
89008
  for (const transform of pipeline22) {
89009
89009
  await transform?.(config4, target);
@@ -89458,7 +89458,6 @@ var houdini_mode = {
89458
89458
  return process.env.HOUDINI_TEST === "true";
89459
89459
  }
89460
89460
  };
89461
- var import_deepmerge = __toESM2(require_cjs(), 1);
89462
89461
  var HoudiniError = class extends Error {
89463
89462
  filepath = null;
89464
89463
  description = null;
@@ -92458,6 +92457,7 @@ async function cleanupFiles(pathFolder, listOfObj) {
92458
92457
  );
92459
92458
  return allFilesNotInList;
92460
92459
  }
92460
+ var import_deepmerge = __toESM2(require_cjs(), 1);
92461
92461
  var WalkerBase = class {
92462
92462
  constructor() {
92463
92463
  this.should_skip = false;
@@ -111245,107 +111245,6 @@ var require_graphql22 = __commonJS3({
111245
111245
  var _index7 = require_utilities3();
111246
111246
  }
111247
111247
  });
111248
- var require_cjs2 = __commonJS3({
111249
- "../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
111250
- "use strict";
111251
- var isMergeableObject = function isMergeableObject2(value2) {
111252
- return isNonNullObject(value2) && !isSpecial(value2);
111253
- };
111254
- function isNonNullObject(value2) {
111255
- return !!value2 && typeof value2 === "object";
111256
- }
111257
- function isSpecial(value2) {
111258
- var stringValue = Object.prototype.toString.call(value2);
111259
- return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
111260
- }
111261
- var canUseSymbol = typeof Symbol === "function" && Symbol.for;
111262
- var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
111263
- function isReactElement(value2) {
111264
- return value2.$$typeof === REACT_ELEMENT_TYPE;
111265
- }
111266
- function emptyTarget(val) {
111267
- return Array.isArray(val) ? [] : {};
111268
- }
111269
- function cloneUnlessOtherwiseSpecified(value2, options) {
111270
- return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
111271
- }
111272
- function defaultArrayMerge(target, source, options) {
111273
- return target.concat(source).map(function(element) {
111274
- return cloneUnlessOtherwiseSpecified(element, options);
111275
- });
111276
- }
111277
- function getMergeFunction(key, options) {
111278
- if (!options.customMerge) {
111279
- return deepmerge;
111280
- }
111281
- var customMerge = options.customMerge(key);
111282
- return typeof customMerge === "function" ? customMerge : deepmerge;
111283
- }
111284
- function getEnumerableOwnPropertySymbols(target) {
111285
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
111286
- return target.propertyIsEnumerable(symbol);
111287
- }) : [];
111288
- }
111289
- function getKeys(target) {
111290
- return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
111291
- }
111292
- function propertyIsOnObject(object, property) {
111293
- try {
111294
- return property in object;
111295
- } catch (_) {
111296
- return false;
111297
- }
111298
- }
111299
- function propertyIsUnsafe(target, key) {
111300
- return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
111301
- }
111302
- function mergeObject(target, source, options) {
111303
- var destination = {};
111304
- if (options.isMergeableObject(target)) {
111305
- getKeys(target).forEach(function(key) {
111306
- destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
111307
- });
111308
- }
111309
- getKeys(source).forEach(function(key) {
111310
- if (propertyIsUnsafe(target, key)) {
111311
- return;
111312
- }
111313
- if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
111314
- destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
111315
- } else {
111316
- destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
111317
- }
111318
- });
111319
- return destination;
111320
- }
111321
- function deepmerge(target, source, options) {
111322
- options = options || {};
111323
- options.arrayMerge = options.arrayMerge || defaultArrayMerge;
111324
- options.isMergeableObject = options.isMergeableObject || isMergeableObject;
111325
- options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
111326
- var sourceIsArray = Array.isArray(source);
111327
- var targetIsArray = Array.isArray(target);
111328
- var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
111329
- if (!sourceAndTargetTypesMatch) {
111330
- return cloneUnlessOtherwiseSpecified(source, options);
111331
- } else if (sourceIsArray) {
111332
- return options.arrayMerge(target, source, options);
111333
- } else {
111334
- return mergeObject(target, source, options);
111335
- }
111336
- }
111337
- deepmerge.all = function deepmergeAll(array, options) {
111338
- if (!Array.isArray(array)) {
111339
- throw new Error("first argument should be an array");
111340
- }
111341
- return array.reduce(function(prev, next) {
111342
- return deepmerge(prev, next, options);
111343
- }, {});
111344
- };
111345
- var deepmerge_1 = deepmerge;
111346
- module.exports = deepmerge_1;
111347
- }
111348
- });
111349
111248
  var require_universalify2 = __commonJS3({
111350
111249
  "../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js"(exports) {
111351
111250
  "use strict";
@@ -153933,6 +153832,107 @@ var require_main22 = __commonJS3({
153933
153832
  }
153934
153833
  }
153935
153834
  });
153835
+ var require_cjs2 = __commonJS3({
153836
+ "../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
153837
+ "use strict";
153838
+ var isMergeableObject = function isMergeableObject2(value2) {
153839
+ return isNonNullObject(value2) && !isSpecial(value2);
153840
+ };
153841
+ function isNonNullObject(value2) {
153842
+ return !!value2 && typeof value2 === "object";
153843
+ }
153844
+ function isSpecial(value2) {
153845
+ var stringValue = Object.prototype.toString.call(value2);
153846
+ return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
153847
+ }
153848
+ var canUseSymbol = typeof Symbol === "function" && Symbol.for;
153849
+ var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
153850
+ function isReactElement(value2) {
153851
+ return value2.$$typeof === REACT_ELEMENT_TYPE;
153852
+ }
153853
+ function emptyTarget(val) {
153854
+ return Array.isArray(val) ? [] : {};
153855
+ }
153856
+ function cloneUnlessOtherwiseSpecified(value2, options) {
153857
+ return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
153858
+ }
153859
+ function defaultArrayMerge(target, source, options) {
153860
+ return target.concat(source).map(function(element) {
153861
+ return cloneUnlessOtherwiseSpecified(element, options);
153862
+ });
153863
+ }
153864
+ function getMergeFunction(key, options) {
153865
+ if (!options.customMerge) {
153866
+ return deepmerge;
153867
+ }
153868
+ var customMerge = options.customMerge(key);
153869
+ return typeof customMerge === "function" ? customMerge : deepmerge;
153870
+ }
153871
+ function getEnumerableOwnPropertySymbols(target) {
153872
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
153873
+ return target.propertyIsEnumerable(symbol);
153874
+ }) : [];
153875
+ }
153876
+ function getKeys(target) {
153877
+ return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
153878
+ }
153879
+ function propertyIsOnObject(object, property) {
153880
+ try {
153881
+ return property in object;
153882
+ } catch (_) {
153883
+ return false;
153884
+ }
153885
+ }
153886
+ function propertyIsUnsafe(target, key) {
153887
+ return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
153888
+ }
153889
+ function mergeObject(target, source, options) {
153890
+ var destination = {};
153891
+ if (options.isMergeableObject(target)) {
153892
+ getKeys(target).forEach(function(key) {
153893
+ destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
153894
+ });
153895
+ }
153896
+ getKeys(source).forEach(function(key) {
153897
+ if (propertyIsUnsafe(target, key)) {
153898
+ return;
153899
+ }
153900
+ if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
153901
+ destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
153902
+ } else {
153903
+ destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
153904
+ }
153905
+ });
153906
+ return destination;
153907
+ }
153908
+ function deepmerge(target, source, options) {
153909
+ options = options || {};
153910
+ options.arrayMerge = options.arrayMerge || defaultArrayMerge;
153911
+ options.isMergeableObject = options.isMergeableObject || isMergeableObject;
153912
+ options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
153913
+ var sourceIsArray = Array.isArray(source);
153914
+ var targetIsArray = Array.isArray(target);
153915
+ var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
153916
+ if (!sourceAndTargetTypesMatch) {
153917
+ return cloneUnlessOtherwiseSpecified(source, options);
153918
+ } else if (sourceIsArray) {
153919
+ return options.arrayMerge(target, source, options);
153920
+ } else {
153921
+ return mergeObject(target, source, options);
153922
+ }
153923
+ }
153924
+ deepmerge.all = function deepmergeAll(array, options) {
153925
+ if (!Array.isArray(array)) {
153926
+ throw new Error("first argument should be an array");
153927
+ }
153928
+ return array.reduce(function(prev, next) {
153929
+ return deepmerge(prev, next, options);
153930
+ }, {});
153931
+ };
153932
+ var deepmerge_1 = deepmerge;
153933
+ module.exports = deepmerge_1;
153934
+ }
153935
+ });
153936
153936
  var import_minimatch2 = __toESM3(require_minimatch2(), 1);
153937
153937
  var config = {
153938
153938
  reset: {
@@ -154512,7 +154512,6 @@ var houdini_mode2 = {
154512
154512
  return process.env.HOUDINI_TEST === "true";
154513
154513
  }
154514
154514
  };
154515
- var import_deepmerge2 = __toESM3(require_cjs2(), 1);
154516
154515
  var fs_exports2 = {};
154517
154516
  __export3(fs_exports2, {
154518
154517
  access: () => access2,
@@ -157379,6 +157378,7 @@ var graphql32 = __toESM3(require_graphql22(), 1);
157379
157378
  var import_parser2 = __toESM3(require_lib32(), 1);
157380
157379
  var recast2 = __toESM3(require_main22(), 1);
157381
157380
  var AST2 = recast2.types.builders;
157381
+ var import_deepmerge2 = __toESM3(require_cjs2(), 1);
157382
157382
  var graphql42 = __toESM3(require_graphql22(), 1);
157383
157383
  var graphql14 = __toESM3(require_graphql22(), 1);
157384
157384
  var recast5 = __toESM3(require_main22(), 1);