houdini-svelte 1.0.3 → 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 +204 -204
- package/build/plugin-esm/index.js +204 -204
- package/build/preprocess-cjs/index.js +209 -220
- package/build/preprocess-esm/index.js +209 -220
- package/build/runtime/stores/subscription.d.ts +1 -0
- package/build/runtime-cjs/stores/subscription.d.ts +1 -0
- package/build/runtime-cjs/stores/subscription.js +4 -0
- package/build/runtime-esm/stores/subscription.d.ts +1 -0
- package/build/runtime-esm/stores/subscription.js +4 -0
- package/build/test-cjs/index.js +420 -420
- package/build/test-esm/index.js +420 -420
- package/package.json +2 -2
|
@@ -46215,107 +46215,6 @@ var require_minimatch = __commonJS2({
|
|
|
46215
46215
|
minimatch2.Minimatch = Minimatch;
|
|
46216
46216
|
}
|
|
46217
46217
|
});
|
|
46218
|
-
var require_cjs = __commonJS2({
|
|
46219
|
-
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
46220
|
-
"use strict";
|
|
46221
|
-
var isMergeableObject = function isMergeableObject2(value2) {
|
|
46222
|
-
return isNonNullObject(value2) && !isSpecial(value2);
|
|
46223
|
-
};
|
|
46224
|
-
function isNonNullObject(value2) {
|
|
46225
|
-
return !!value2 && typeof value2 === "object";
|
|
46226
|
-
}
|
|
46227
|
-
function isSpecial(value2) {
|
|
46228
|
-
var stringValue = Object.prototype.toString.call(value2);
|
|
46229
|
-
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
46230
|
-
}
|
|
46231
|
-
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
46232
|
-
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
46233
|
-
function isReactElement(value2) {
|
|
46234
|
-
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
46235
|
-
}
|
|
46236
|
-
function emptyTarget(val) {
|
|
46237
|
-
return Array.isArray(val) ? [] : {};
|
|
46238
|
-
}
|
|
46239
|
-
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
46240
|
-
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
46241
|
-
}
|
|
46242
|
-
function defaultArrayMerge(target, source, options) {
|
|
46243
|
-
return target.concat(source).map(function(element) {
|
|
46244
|
-
return cloneUnlessOtherwiseSpecified(element, options);
|
|
46245
|
-
});
|
|
46246
|
-
}
|
|
46247
|
-
function getMergeFunction(key, options) {
|
|
46248
|
-
if (!options.customMerge) {
|
|
46249
|
-
return deepmerge;
|
|
46250
|
-
}
|
|
46251
|
-
var customMerge = options.customMerge(key);
|
|
46252
|
-
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
46253
|
-
}
|
|
46254
|
-
function getEnumerableOwnPropertySymbols(target) {
|
|
46255
|
-
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
46256
|
-
return target.propertyIsEnumerable(symbol);
|
|
46257
|
-
}) : [];
|
|
46258
|
-
}
|
|
46259
|
-
function getKeys(target) {
|
|
46260
|
-
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
46261
|
-
}
|
|
46262
|
-
function propertyIsOnObject(object, property) {
|
|
46263
|
-
try {
|
|
46264
|
-
return property in object;
|
|
46265
|
-
} catch (_) {
|
|
46266
|
-
return false;
|
|
46267
|
-
}
|
|
46268
|
-
}
|
|
46269
|
-
function propertyIsUnsafe(target, key) {
|
|
46270
|
-
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
46271
|
-
}
|
|
46272
|
-
function mergeObject(target, source, options) {
|
|
46273
|
-
var destination = {};
|
|
46274
|
-
if (options.isMergeableObject(target)) {
|
|
46275
|
-
getKeys(target).forEach(function(key) {
|
|
46276
|
-
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
46277
|
-
});
|
|
46278
|
-
}
|
|
46279
|
-
getKeys(source).forEach(function(key) {
|
|
46280
|
-
if (propertyIsUnsafe(target, key)) {
|
|
46281
|
-
return;
|
|
46282
|
-
}
|
|
46283
|
-
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
46284
|
-
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
46285
|
-
} else {
|
|
46286
|
-
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
46287
|
-
}
|
|
46288
|
-
});
|
|
46289
|
-
return destination;
|
|
46290
|
-
}
|
|
46291
|
-
function deepmerge(target, source, options) {
|
|
46292
|
-
options = options || {};
|
|
46293
|
-
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
46294
|
-
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
46295
|
-
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
46296
|
-
var sourceIsArray = Array.isArray(source);
|
|
46297
|
-
var targetIsArray = Array.isArray(target);
|
|
46298
|
-
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
46299
|
-
if (!sourceAndTargetTypesMatch) {
|
|
46300
|
-
return cloneUnlessOtherwiseSpecified(source, options);
|
|
46301
|
-
} else if (sourceIsArray) {
|
|
46302
|
-
return options.arrayMerge(target, source, options);
|
|
46303
|
-
} else {
|
|
46304
|
-
return mergeObject(target, source, options);
|
|
46305
|
-
}
|
|
46306
|
-
}
|
|
46307
|
-
deepmerge.all = function deepmergeAll(array, options) {
|
|
46308
|
-
if (!Array.isArray(array)) {
|
|
46309
|
-
throw new Error("first argument should be an array");
|
|
46310
|
-
}
|
|
46311
|
-
return array.reduce(function(prev, next) {
|
|
46312
|
-
return deepmerge(prev, next, options);
|
|
46313
|
-
}, {});
|
|
46314
|
-
};
|
|
46315
|
-
var deepmerge_1 = deepmerge;
|
|
46316
|
-
module.exports = deepmerge_1;
|
|
46317
|
-
}
|
|
46318
|
-
});
|
|
46319
46218
|
var require_universalify = __commonJS2({
|
|
46320
46219
|
"../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js"(exports) {
|
|
46321
46220
|
"use strict";
|
|
@@ -88903,6 +88802,107 @@ var require_main2 = __commonJS2({
|
|
|
88903
88802
|
}
|
|
88904
88803
|
}
|
|
88905
88804
|
});
|
|
88805
|
+
var require_cjs = __commonJS2({
|
|
88806
|
+
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
88807
|
+
"use strict";
|
|
88808
|
+
var isMergeableObject = function isMergeableObject2(value2) {
|
|
88809
|
+
return isNonNullObject(value2) && !isSpecial(value2);
|
|
88810
|
+
};
|
|
88811
|
+
function isNonNullObject(value2) {
|
|
88812
|
+
return !!value2 && typeof value2 === "object";
|
|
88813
|
+
}
|
|
88814
|
+
function isSpecial(value2) {
|
|
88815
|
+
var stringValue = Object.prototype.toString.call(value2);
|
|
88816
|
+
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
88817
|
+
}
|
|
88818
|
+
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
88819
|
+
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
88820
|
+
function isReactElement(value2) {
|
|
88821
|
+
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
88822
|
+
}
|
|
88823
|
+
function emptyTarget(val) {
|
|
88824
|
+
return Array.isArray(val) ? [] : {};
|
|
88825
|
+
}
|
|
88826
|
+
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
88827
|
+
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
88828
|
+
}
|
|
88829
|
+
function defaultArrayMerge(target, source, options) {
|
|
88830
|
+
return target.concat(source).map(function(element) {
|
|
88831
|
+
return cloneUnlessOtherwiseSpecified(element, options);
|
|
88832
|
+
});
|
|
88833
|
+
}
|
|
88834
|
+
function getMergeFunction(key, options) {
|
|
88835
|
+
if (!options.customMerge) {
|
|
88836
|
+
return deepmerge;
|
|
88837
|
+
}
|
|
88838
|
+
var customMerge = options.customMerge(key);
|
|
88839
|
+
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
88840
|
+
}
|
|
88841
|
+
function getEnumerableOwnPropertySymbols(target) {
|
|
88842
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
88843
|
+
return target.propertyIsEnumerable(symbol);
|
|
88844
|
+
}) : [];
|
|
88845
|
+
}
|
|
88846
|
+
function getKeys(target) {
|
|
88847
|
+
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
88848
|
+
}
|
|
88849
|
+
function propertyIsOnObject(object, property) {
|
|
88850
|
+
try {
|
|
88851
|
+
return property in object;
|
|
88852
|
+
} catch (_) {
|
|
88853
|
+
return false;
|
|
88854
|
+
}
|
|
88855
|
+
}
|
|
88856
|
+
function propertyIsUnsafe(target, key) {
|
|
88857
|
+
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
88858
|
+
}
|
|
88859
|
+
function mergeObject(target, source, options) {
|
|
88860
|
+
var destination = {};
|
|
88861
|
+
if (options.isMergeableObject(target)) {
|
|
88862
|
+
getKeys(target).forEach(function(key) {
|
|
88863
|
+
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
88864
|
+
});
|
|
88865
|
+
}
|
|
88866
|
+
getKeys(source).forEach(function(key) {
|
|
88867
|
+
if (propertyIsUnsafe(target, key)) {
|
|
88868
|
+
return;
|
|
88869
|
+
}
|
|
88870
|
+
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
88871
|
+
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
88872
|
+
} else {
|
|
88873
|
+
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
88874
|
+
}
|
|
88875
|
+
});
|
|
88876
|
+
return destination;
|
|
88877
|
+
}
|
|
88878
|
+
function deepmerge(target, source, options) {
|
|
88879
|
+
options = options || {};
|
|
88880
|
+
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
88881
|
+
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
88882
|
+
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
88883
|
+
var sourceIsArray = Array.isArray(source);
|
|
88884
|
+
var targetIsArray = Array.isArray(target);
|
|
88885
|
+
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
88886
|
+
if (!sourceAndTargetTypesMatch) {
|
|
88887
|
+
return cloneUnlessOtherwiseSpecified(source, options);
|
|
88888
|
+
} else if (sourceIsArray) {
|
|
88889
|
+
return options.arrayMerge(target, source, options);
|
|
88890
|
+
} else {
|
|
88891
|
+
return mergeObject(target, source, options);
|
|
88892
|
+
}
|
|
88893
|
+
}
|
|
88894
|
+
deepmerge.all = function deepmergeAll(array, options) {
|
|
88895
|
+
if (!Array.isArray(array)) {
|
|
88896
|
+
throw new Error("first argument should be an array");
|
|
88897
|
+
}
|
|
88898
|
+
return array.reduce(function(prev, next) {
|
|
88899
|
+
return deepmerge(prev, next, options);
|
|
88900
|
+
}, {});
|
|
88901
|
+
};
|
|
88902
|
+
var deepmerge_1 = deepmerge;
|
|
88903
|
+
module.exports = deepmerge_1;
|
|
88904
|
+
}
|
|
88905
|
+
});
|
|
88906
88906
|
async function runPipeline(config4, pipeline22, target) {
|
|
88907
88907
|
for (const transform of pipeline22) {
|
|
88908
88908
|
await transform?.(config4, target);
|
|
@@ -92086,7 +92086,6 @@ var houdini_mode = {
|
|
|
92086
92086
|
return process.env.HOUDINI_TEST === "true";
|
|
92087
92087
|
}
|
|
92088
92088
|
};
|
|
92089
|
-
var import_deepmerge = __toESM2(require_cjs(), 1);
|
|
92090
92089
|
var HoudiniError = class extends Error {
|
|
92091
92090
|
filepath = null;
|
|
92092
92091
|
description = null;
|
|
@@ -92104,18 +92103,6 @@ var HoudiniError = class extends Error {
|
|
|
92104
92103
|
}
|
|
92105
92104
|
}
|
|
92106
92105
|
};
|
|
92107
|
-
function deepMerge(filepath, ...targets) {
|
|
92108
|
-
try {
|
|
92109
|
-
if (targets.length === 1) {
|
|
92110
|
-
return targets[0];
|
|
92111
|
-
} else if (targets.length === 2) {
|
|
92112
|
-
return (0, import_deepmerge.default)(targets[0], targets[1]);
|
|
92113
|
-
}
|
|
92114
|
-
return deepMerge(filepath, targets[0], deepMerge(filepath, ...targets.slice(1)));
|
|
92115
|
-
} catch (e22) {
|
|
92116
|
-
throw new HoudiniError({ filepath, message: "could not merge: " + targets });
|
|
92117
|
-
}
|
|
92118
|
-
}
|
|
92119
92106
|
var fs_exports = {};
|
|
92120
92107
|
__export(fs_exports, {
|
|
92121
92108
|
access: () => access,
|
|
@@ -96095,11 +96082,12 @@ async function getConfig({
|
|
|
96095
96082
|
for (const plugin2 of plugins2) {
|
|
96096
96083
|
if (plugin2.config) {
|
|
96097
96084
|
try {
|
|
96098
|
-
const configFactory = await import(plugin2.config);
|
|
96099
|
-
|
|
96100
|
-
|
|
96085
|
+
const configFactory = (await import(plugin2.config)).default;
|
|
96086
|
+
if (configFactory) {
|
|
96087
|
+
configFile = typeof configFactory === "function" ? configFactory(configFile) : configFactory;
|
|
96088
|
+
}
|
|
96101
96089
|
} catch {
|
|
96102
|
-
console.log("could not load config file" + plugin2.config);
|
|
96090
|
+
console.log("could not load config file " + plugin2.config);
|
|
96103
96091
|
}
|
|
96104
96092
|
}
|
|
96105
96093
|
}
|
|
@@ -96320,6 +96308,7 @@ async function parseJS(str) {
|
|
|
96320
96308
|
}
|
|
96321
96309
|
var recast = __toESM2(require_main2(), 1);
|
|
96322
96310
|
var AST = recast.types.builders;
|
|
96311
|
+
var import_deepmerge = __toESM2(require_cjs(), 1);
|
|
96323
96312
|
var WalkerBase = class {
|
|
96324
96313
|
constructor() {
|
|
96325
96314
|
this.should_skip = false;
|
|
@@ -143107,107 +143096,6 @@ var require_graphql22 = __commonJS3({
|
|
|
143107
143096
|
var _index7 = require_utilities2();
|
|
143108
143097
|
}
|
|
143109
143098
|
});
|
|
143110
|
-
var require_cjs2 = __commonJS3({
|
|
143111
|
-
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
143112
|
-
"use strict";
|
|
143113
|
-
var isMergeableObject = function isMergeableObject2(value2) {
|
|
143114
|
-
return isNonNullObject(value2) && !isSpecial(value2);
|
|
143115
|
-
};
|
|
143116
|
-
function isNonNullObject(value2) {
|
|
143117
|
-
return !!value2 && typeof value2 === "object";
|
|
143118
|
-
}
|
|
143119
|
-
function isSpecial(value2) {
|
|
143120
|
-
var stringValue = Object.prototype.toString.call(value2);
|
|
143121
|
-
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
143122
|
-
}
|
|
143123
|
-
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
143124
|
-
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
143125
|
-
function isReactElement(value2) {
|
|
143126
|
-
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
143127
|
-
}
|
|
143128
|
-
function emptyTarget(val) {
|
|
143129
|
-
return Array.isArray(val) ? [] : {};
|
|
143130
|
-
}
|
|
143131
|
-
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
143132
|
-
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
143133
|
-
}
|
|
143134
|
-
function defaultArrayMerge(target, source, options) {
|
|
143135
|
-
return target.concat(source).map(function(element) {
|
|
143136
|
-
return cloneUnlessOtherwiseSpecified(element, options);
|
|
143137
|
-
});
|
|
143138
|
-
}
|
|
143139
|
-
function getMergeFunction(key, options) {
|
|
143140
|
-
if (!options.customMerge) {
|
|
143141
|
-
return deepmerge;
|
|
143142
|
-
}
|
|
143143
|
-
var customMerge = options.customMerge(key);
|
|
143144
|
-
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
143145
|
-
}
|
|
143146
|
-
function getEnumerableOwnPropertySymbols(target) {
|
|
143147
|
-
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
143148
|
-
return target.propertyIsEnumerable(symbol);
|
|
143149
|
-
}) : [];
|
|
143150
|
-
}
|
|
143151
|
-
function getKeys(target) {
|
|
143152
|
-
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
143153
|
-
}
|
|
143154
|
-
function propertyIsOnObject(object, property) {
|
|
143155
|
-
try {
|
|
143156
|
-
return property in object;
|
|
143157
|
-
} catch (_) {
|
|
143158
|
-
return false;
|
|
143159
|
-
}
|
|
143160
|
-
}
|
|
143161
|
-
function propertyIsUnsafe(target, key) {
|
|
143162
|
-
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
143163
|
-
}
|
|
143164
|
-
function mergeObject(target, source, options) {
|
|
143165
|
-
var destination = {};
|
|
143166
|
-
if (options.isMergeableObject(target)) {
|
|
143167
|
-
getKeys(target).forEach(function(key) {
|
|
143168
|
-
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
143169
|
-
});
|
|
143170
|
-
}
|
|
143171
|
-
getKeys(source).forEach(function(key) {
|
|
143172
|
-
if (propertyIsUnsafe(target, key)) {
|
|
143173
|
-
return;
|
|
143174
|
-
}
|
|
143175
|
-
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
143176
|
-
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
143177
|
-
} else {
|
|
143178
|
-
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
143179
|
-
}
|
|
143180
|
-
});
|
|
143181
|
-
return destination;
|
|
143182
|
-
}
|
|
143183
|
-
function deepmerge(target, source, options) {
|
|
143184
|
-
options = options || {};
|
|
143185
|
-
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
143186
|
-
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
143187
|
-
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
143188
|
-
var sourceIsArray = Array.isArray(source);
|
|
143189
|
-
var targetIsArray = Array.isArray(target);
|
|
143190
|
-
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
143191
|
-
if (!sourceAndTargetTypesMatch) {
|
|
143192
|
-
return cloneUnlessOtherwiseSpecified(source, options);
|
|
143193
|
-
} else if (sourceIsArray) {
|
|
143194
|
-
return options.arrayMerge(target, source, options);
|
|
143195
|
-
} else {
|
|
143196
|
-
return mergeObject(target, source, options);
|
|
143197
|
-
}
|
|
143198
|
-
}
|
|
143199
|
-
deepmerge.all = function deepmergeAll(array, options) {
|
|
143200
|
-
if (!Array.isArray(array)) {
|
|
143201
|
-
throw new Error("first argument should be an array");
|
|
143202
|
-
}
|
|
143203
|
-
return array.reduce(function(prev, next) {
|
|
143204
|
-
return deepmerge(prev, next, options);
|
|
143205
|
-
}, {});
|
|
143206
|
-
};
|
|
143207
|
-
var deepmerge_1 = deepmerge;
|
|
143208
|
-
module.exports = deepmerge_1;
|
|
143209
|
-
}
|
|
143210
|
-
});
|
|
143211
143099
|
var require_universalify2 = __commonJS3({
|
|
143212
143100
|
"../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js"(exports) {
|
|
143213
143101
|
"use strict";
|
|
@@ -185795,6 +185683,107 @@ var require_main22 = __commonJS3({
|
|
|
185795
185683
|
}
|
|
185796
185684
|
}
|
|
185797
185685
|
});
|
|
185686
|
+
var require_cjs2 = __commonJS3({
|
|
185687
|
+
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
185688
|
+
"use strict";
|
|
185689
|
+
var isMergeableObject = function isMergeableObject2(value2) {
|
|
185690
|
+
return isNonNullObject(value2) && !isSpecial(value2);
|
|
185691
|
+
};
|
|
185692
|
+
function isNonNullObject(value2) {
|
|
185693
|
+
return !!value2 && typeof value2 === "object";
|
|
185694
|
+
}
|
|
185695
|
+
function isSpecial(value2) {
|
|
185696
|
+
var stringValue = Object.prototype.toString.call(value2);
|
|
185697
|
+
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
185698
|
+
}
|
|
185699
|
+
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
185700
|
+
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
185701
|
+
function isReactElement(value2) {
|
|
185702
|
+
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
185703
|
+
}
|
|
185704
|
+
function emptyTarget(val) {
|
|
185705
|
+
return Array.isArray(val) ? [] : {};
|
|
185706
|
+
}
|
|
185707
|
+
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
185708
|
+
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
185709
|
+
}
|
|
185710
|
+
function defaultArrayMerge(target, source, options) {
|
|
185711
|
+
return target.concat(source).map(function(element) {
|
|
185712
|
+
return cloneUnlessOtherwiseSpecified(element, options);
|
|
185713
|
+
});
|
|
185714
|
+
}
|
|
185715
|
+
function getMergeFunction(key, options) {
|
|
185716
|
+
if (!options.customMerge) {
|
|
185717
|
+
return deepmerge;
|
|
185718
|
+
}
|
|
185719
|
+
var customMerge = options.customMerge(key);
|
|
185720
|
+
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
185721
|
+
}
|
|
185722
|
+
function getEnumerableOwnPropertySymbols(target) {
|
|
185723
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
185724
|
+
return target.propertyIsEnumerable(symbol);
|
|
185725
|
+
}) : [];
|
|
185726
|
+
}
|
|
185727
|
+
function getKeys(target) {
|
|
185728
|
+
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
185729
|
+
}
|
|
185730
|
+
function propertyIsOnObject(object, property) {
|
|
185731
|
+
try {
|
|
185732
|
+
return property in object;
|
|
185733
|
+
} catch (_) {
|
|
185734
|
+
return false;
|
|
185735
|
+
}
|
|
185736
|
+
}
|
|
185737
|
+
function propertyIsUnsafe(target, key) {
|
|
185738
|
+
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
185739
|
+
}
|
|
185740
|
+
function mergeObject(target, source, options) {
|
|
185741
|
+
var destination = {};
|
|
185742
|
+
if (options.isMergeableObject(target)) {
|
|
185743
|
+
getKeys(target).forEach(function(key) {
|
|
185744
|
+
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
185745
|
+
});
|
|
185746
|
+
}
|
|
185747
|
+
getKeys(source).forEach(function(key) {
|
|
185748
|
+
if (propertyIsUnsafe(target, key)) {
|
|
185749
|
+
return;
|
|
185750
|
+
}
|
|
185751
|
+
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
185752
|
+
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
185753
|
+
} else {
|
|
185754
|
+
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
185755
|
+
}
|
|
185756
|
+
});
|
|
185757
|
+
return destination;
|
|
185758
|
+
}
|
|
185759
|
+
function deepmerge(target, source, options) {
|
|
185760
|
+
options = options || {};
|
|
185761
|
+
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
185762
|
+
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
185763
|
+
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
185764
|
+
var sourceIsArray = Array.isArray(source);
|
|
185765
|
+
var targetIsArray = Array.isArray(target);
|
|
185766
|
+
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
185767
|
+
if (!sourceAndTargetTypesMatch) {
|
|
185768
|
+
return cloneUnlessOtherwiseSpecified(source, options);
|
|
185769
|
+
} else if (sourceIsArray) {
|
|
185770
|
+
return options.arrayMerge(target, source, options);
|
|
185771
|
+
} else {
|
|
185772
|
+
return mergeObject(target, source, options);
|
|
185773
|
+
}
|
|
185774
|
+
}
|
|
185775
|
+
deepmerge.all = function deepmergeAll(array, options) {
|
|
185776
|
+
if (!Array.isArray(array)) {
|
|
185777
|
+
throw new Error("first argument should be an array");
|
|
185778
|
+
}
|
|
185779
|
+
return array.reduce(function(prev, next) {
|
|
185780
|
+
return deepmerge(prev, next, options);
|
|
185781
|
+
}, {});
|
|
185782
|
+
};
|
|
185783
|
+
var deepmerge_1 = deepmerge;
|
|
185784
|
+
module.exports = deepmerge_1;
|
|
185785
|
+
}
|
|
185786
|
+
});
|
|
185798
185787
|
var import_minimatch2 = __toESM3(require_minimatch2(), 1);
|
|
185799
185788
|
var config3 = {
|
|
185800
185789
|
reset: {
|
|
@@ -186374,7 +186363,6 @@ var houdini_mode2 = {
|
|
|
186374
186363
|
return process.env.HOUDINI_TEST === "true";
|
|
186375
186364
|
}
|
|
186376
186365
|
};
|
|
186377
|
-
var import_deepmerge2 = __toESM3(require_cjs2(), 1);
|
|
186378
186366
|
var fs_exports2 = {};
|
|
186379
186367
|
__export2(fs_exports2, {
|
|
186380
186368
|
access: () => access2,
|
|
@@ -189241,6 +189229,7 @@ var graphql32 = __toESM3(require_graphql22(), 1);
|
|
|
189241
189229
|
var import_parser2 = __toESM3(require_lib32(), 1);
|
|
189242
189230
|
var recast2 = __toESM3(require_main22(), 1);
|
|
189243
189231
|
var AST2 = recast2.types.builders;
|
|
189232
|
+
var import_deepmerge2 = __toESM3(require_cjs2(), 1);
|
|
189244
189233
|
var graphql42 = __toESM3(require_graphql22(), 1);
|
|
189245
189234
|
var graphql14 = __toESM3(require_graphql22(), 1);
|
|
189246
189235
|
var recast5 = __toESM3(require_main22(), 1);
|
|
@@ -38,6 +38,10 @@ class SubscriptionStore extends import_base.BaseStore {
|
|
|
38
38
|
metadata: args?.metadata
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
+
async unlisten() {
|
|
42
|
+
await (0, import_client.initClient)();
|
|
43
|
+
await this.observer.cleanup();
|
|
44
|
+
}
|
|
41
45
|
}
|
|
42
46
|
// Annotate the CommonJS export names for ESM import in node:
|
|
43
47
|
0 && (module.exports = {
|