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