diff --git a/README.md b/README.md index e3a52e8..816de8a 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Reason bindings for the official [@apollo/react-hooks](https://www.npmjs.com/pac - [useMutation :arrow_up:](#usemutation-arrowup) - [useSubscription :arrow_up:](#usesubscription-arrowup) - [Cache :arrow_up:](#cache-arrowup) + - [Fragment :arrow_up:](#fragment-arrowup) - [Getting it running](#getting-it-running) - [Contributors ✨](#contributors-%e2%9c%a8) @@ -383,6 +384,39 @@ If using directives like `@bsRecord`, `@bsDecoder` or `@bsVariant` in `graphql_p By default, apollo will add field `__typename` to the queries and will use it to normalize data and manipulate cache (see [normalization](https://www.apollographql.com/docs/react/advanced/caching/#normalization)). This field won't exist on parsed reason objects, since it is not included in the actual query you write, but is added by apollo before sending the query. Since `__typename` is crucial for the cache to work correctly, we need to read data from cache in its raw unparsed format, which is achieved with `readQuery` from `ApolloClient.ReadQuery` defined in `reason-apollo`. + +## Fragment [:arrow_up:](#table-of-contents) + +Using [fragments](https://www.apollographql.com/docs/react/data/fragments/). + +Fragments can be defined and used like this: + +```reason +// Fragments.re +module PersonFragment = [%graphql + {| + fragment person on Person { + id + name + age + } +|} +]; + +``` + +```reason +module PersonsQuery = [%graphql +{| + query getAllPersons { + ...Fragments.PersonFragment.Person + } +|} +]; +``` + +See [examples/persons/src/fragments/LoadMoreFragments.re](examples/persons/src/fragments/LoadMoreFragments.re). + ## Getting it running ```sh diff --git a/examples/persons/build/Index.js b/examples/persons/build/Index.js index 59eb5f1..5b27d77 100644 --- a/examples/persons/build/Index.js +++ b/examples/persons/build/Index.js @@ -277,6 +277,102 @@ eval("\n/**\n * Expose `Backoff`.\n */\n\nmodule.exports = Backoff;\n\n/**\n * I /***/ }), +/***/ "./node_modules/bs-platform/lib/es6/belt_Option.js": +/*!*********************************************************!*\ + !*** ./node_modules/bs-platform/lib/es6/belt_Option.js ***! + \*********************************************************/ +/*! exports provided: forEachU, forEach, getExn, mapWithDefaultU, mapWithDefault, mapU, map, flatMapU, flatMap, getWithDefault, isSome, isNone, eqU, eq, cmpU, cmp */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"forEachU\", function() { return forEachU; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"forEach\", function() { return forEach; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getExn\", function() { return getExn; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mapWithDefaultU\", function() { return mapWithDefaultU; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mapWithDefault\", function() { return mapWithDefault; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mapU\", function() { return mapU; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"map\", function() { return map; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"flatMapU\", function() { return flatMapU; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"flatMap\", function() { return flatMap; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getWithDefault\", function() { return getWithDefault; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isSome\", function() { return isSome; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isNone\", function() { return isNone; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"eqU\", function() { return eqU; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"eq\", function() { return eq; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cmpU\", function() { return cmpU; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cmp\", function() { return cmp; });\n/* harmony import */ var _curry_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./curry.js */ \"./node_modules/bs-platform/lib/es6/curry.js\");\n/* harmony import */ var _caml_option_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./caml_option.js */ \"./node_modules/bs-platform/lib/es6/caml_option.js\");\n\n\n\n\n\nfunction forEachU(opt, f) {\n if (opt !== undefined) {\n return f(_caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"valFromOption\"](opt));\n }\n \n}\n\nfunction forEach(opt, f) {\n return forEachU(opt, _curry_js__WEBPACK_IMPORTED_MODULE_0__[\"__1\"](f));\n}\n\nfunction getExn(x) {\n if (x !== undefined) {\n return _caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"valFromOption\"](x);\n }\n throw new Error(\"getExn\");\n}\n\nfunction mapWithDefaultU(opt, $$default, f) {\n if (opt !== undefined) {\n return f(_caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"valFromOption\"](opt));\n } else {\n return $$default;\n }\n}\n\nfunction mapWithDefault(opt, $$default, f) {\n return mapWithDefaultU(opt, $$default, _curry_js__WEBPACK_IMPORTED_MODULE_0__[\"__1\"](f));\n}\n\nfunction mapU(opt, f) {\n if (opt !== undefined) {\n return _caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"some\"](f(_caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"valFromOption\"](opt)));\n }\n \n}\n\nfunction map(opt, f) {\n return mapU(opt, _curry_js__WEBPACK_IMPORTED_MODULE_0__[\"__1\"](f));\n}\n\nfunction flatMapU(opt, f) {\n if (opt !== undefined) {\n return f(_caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"valFromOption\"](opt));\n }\n \n}\n\nfunction flatMap(opt, f) {\n return flatMapU(opt, _curry_js__WEBPACK_IMPORTED_MODULE_0__[\"__1\"](f));\n}\n\nfunction getWithDefault(opt, $$default) {\n if (opt !== undefined) {\n return _caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"valFromOption\"](opt);\n } else {\n return $$default;\n }\n}\n\nfunction isSome(param) {\n return param !== undefined;\n}\n\nfunction isNone(x) {\n return x === undefined;\n}\n\nfunction eqU(a, b, f) {\n if (a !== undefined) {\n if (b !== undefined) {\n return f(_caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"valFromOption\"](a), _caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"valFromOption\"](b));\n } else {\n return false;\n }\n } else {\n return b === undefined;\n }\n}\n\nfunction eq(a, b, f) {\n return eqU(a, b, _curry_js__WEBPACK_IMPORTED_MODULE_0__[\"__2\"](f));\n}\n\nfunction cmpU(a, b, f) {\n if (a !== undefined) {\n if (b !== undefined) {\n return f(_caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"valFromOption\"](a), _caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"valFromOption\"](b));\n } else {\n return 1;\n }\n } else if (b !== undefined) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction cmp(a, b, f) {\n return cmpU(a, b, _curry_js__WEBPACK_IMPORTED_MODULE_0__[\"__2\"](f));\n}\n\n\n/* No side effect */\n\n\n//# sourceURL=webpack:///./node_modules/bs-platform/lib/es6/belt_Option.js?"); + +/***/ }), + +/***/ "./node_modules/bs-platform/lib/es6/block.js": +/*!***************************************************!*\ + !*** ./node_modules/bs-platform/lib/es6/block.js ***! + \***************************************************/ +/*! exports provided: __ */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__\", function() { return __; });\n\n\n\nfunction __(tag, block) {\n block.tag = tag;\n return block;\n}\n\n\n/* No side effect */\n\n\n//# sourceURL=webpack:///./node_modules/bs-platform/lib/es6/block.js?"); + +/***/ }), + +/***/ "./node_modules/bs-platform/lib/es6/caml_array.js": +/*!********************************************************!*\ + !*** ./node_modules/bs-platform/lib/es6/caml_array.js ***! + \********************************************************/ +/*! exports provided: caml_array_dup, caml_array_sub, caml_array_concat, caml_make_vect, caml_make_float_vect, caml_array_blit, caml_array_get, caml_array_set */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"caml_array_dup\", function() { return caml_array_dup; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"caml_array_sub\", function() { return caml_array_sub; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"caml_array_concat\", function() { return caml_array_concat; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"caml_make_vect\", function() { return caml_make_vect; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"caml_make_float_vect\", function() { return caml_make_float_vect; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"caml_array_blit\", function() { return caml_array_blit; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"caml_array_get\", function() { return caml_array_get; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"caml_array_set\", function() { return caml_array_set; });\n/* harmony import */ var _caml_builtin_exceptions_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./caml_builtin_exceptions.js */ \"./node_modules/bs-platform/lib/es6/caml_builtin_exceptions.js\");\n\n\n\n\nfunction caml_array_sub(x, offset, len) {\n var result = new Array(len);\n var j = 0;\n var i = offset;\n while(j < len) {\n result[j] = x[i];\n j = j + 1 | 0;\n i = i + 1 | 0;\n };\n return result;\n}\n\nfunction len(_acc, _l) {\n while(true) {\n var l = _l;\n var acc = _acc;\n if (!l) {\n return acc;\n }\n _l = l[1];\n _acc = l[0].length + acc | 0;\n continue ;\n };\n}\n\nfunction fill(arr, _i, _l) {\n while(true) {\n var l = _l;\n var i = _i;\n if (!l) {\n return ;\n }\n var x = l[0];\n var l$1 = x.length;\n var k = i;\n var j = 0;\n while(j < l$1) {\n arr[k] = x[j];\n k = k + 1 | 0;\n j = j + 1 | 0;\n };\n _l = l[1];\n _i = k;\n continue ;\n };\n}\n\nfunction caml_array_concat(l) {\n var v = len(0, l);\n var result = new Array(v);\n fill(result, 0, l);\n return result;\n}\n\nfunction caml_array_set(xs, index, newval) {\n if (index < 0 || index >= xs.length) {\n throw [\n _caml_builtin_exceptions_js__WEBPACK_IMPORTED_MODULE_0__[\"invalid_argument\"],\n \"index out of bounds\"\n ];\n }\n xs[index] = newval;\n \n}\n\nfunction caml_array_get(xs, index) {\n if (index < 0 || index >= xs.length) {\n throw [\n _caml_builtin_exceptions_js__WEBPACK_IMPORTED_MODULE_0__[\"invalid_argument\"],\n \"index out of bounds\"\n ];\n }\n return xs[index];\n}\n\nfunction caml_make_vect(len, init) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = init;\n }\n return b;\n}\n\nfunction caml_make_float_vect(len) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = 0;\n }\n return b;\n}\n\nfunction caml_array_blit(a1, i1, a2, i2, len) {\n if (i2 <= i1) {\n for(var j = 0; j < len; ++j){\n a2[j + i2 | 0] = a1[j + i1 | 0];\n }\n return ;\n }\n for(var j$1 = len - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + i2 | 0] = a1[j$1 + i1 | 0];\n }\n \n}\n\nfunction caml_array_dup(prim) {\n return prim.slice(0);\n}\n\n\n/* No side effect */\n\n\n//# sourceURL=webpack:///./node_modules/bs-platform/lib/es6/caml_array.js?"); + +/***/ }), + +/***/ "./node_modules/bs-platform/lib/es6/caml_builtin_exceptions.js": +/*!*********************************************************************!*\ + !*** ./node_modules/bs-platform/lib/es6/caml_builtin_exceptions.js ***! + \*********************************************************************/ +/*! exports provided: out_of_memory, sys_error, failure, invalid_argument, end_of_file, division_by_zero, not_found, match_failure, stack_overflow, sys_blocked_io, assert_failure, undefined_recursive_module */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"out_of_memory\", function() { return out_of_memory; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sys_error\", function() { return sys_error; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"failure\", function() { return failure; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"invalid_argument\", function() { return invalid_argument; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"end_of_file\", function() { return end_of_file; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"division_by_zero\", function() { return division_by_zero; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"not_found\", function() { return not_found; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"match_failure\", function() { return match_failure; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"stack_overflow\", function() { return stack_overflow; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"sys_blocked_io\", function() { return sys_blocked_io; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"assert_failure\", function() { return assert_failure; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"undefined_recursive_module\", function() { return undefined_recursive_module; });\n\n\n\nvar out_of_memory = /* tuple */[\n \"Out_of_memory\",\n 0\n];\n\nvar sys_error = /* tuple */[\n \"Sys_error\",\n -1\n];\n\nvar failure = /* tuple */[\n \"Failure\",\n -2\n];\n\nvar invalid_argument = /* tuple */[\n \"Invalid_argument\",\n -3\n];\n\nvar end_of_file = /* tuple */[\n \"End_of_file\",\n -4\n];\n\nvar division_by_zero = /* tuple */[\n \"Division_by_zero\",\n -5\n];\n\nvar not_found = /* tuple */[\n \"Not_found\",\n -6\n];\n\nvar match_failure = /* tuple */[\n \"Match_failure\",\n -7\n];\n\nvar stack_overflow = /* tuple */[\n \"Stack_overflow\",\n -8\n];\n\nvar sys_blocked_io = /* tuple */[\n \"Sys_blocked_io\",\n -9\n];\n\nvar assert_failure = /* tuple */[\n \"Assert_failure\",\n -10\n];\n\nvar undefined_recursive_module = /* tuple */[\n \"Undefined_recursive_module\",\n -11\n];\n\nout_of_memory.tag = 248;\n\nsys_error.tag = 248;\n\nfailure.tag = 248;\n\ninvalid_argument.tag = 248;\n\nend_of_file.tag = 248;\n\ndivision_by_zero.tag = 248;\n\nnot_found.tag = 248;\n\nmatch_failure.tag = 248;\n\nstack_overflow.tag = 248;\n\nsys_blocked_io.tag = 248;\n\nassert_failure.tag = 248;\n\nundefined_recursive_module.tag = 248;\n\n\n/* Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/bs-platform/lib/es6/caml_builtin_exceptions.js?"); + +/***/ }), + +/***/ "./node_modules/bs-platform/lib/es6/caml_option.js": +/*!*********************************************************!*\ + !*** ./node_modules/bs-platform/lib/es6/caml_option.js ***! + \*********************************************************/ +/*! exports provided: nullable_to_opt, undefined_to_opt, null_to_opt, valFromOption, some, option_get, option_get_unwrap */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"nullable_to_opt\", function() { return nullable_to_opt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"undefined_to_opt\", function() { return undefined_to_opt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"null_to_opt\", function() { return null_to_opt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"valFromOption\", function() { return valFromOption; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"some\", function() { return some; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"option_get\", function() { return option_get; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"option_get_unwrap\", function() { return option_get_unwrap; });\n\n\n\nvar undefinedHeader = [];\n\nfunction some(x) {\n if (x === undefined) {\n var block = /* tuple */[\n undefinedHeader,\n 0\n ];\n block.tag = 256;\n return block;\n }\n if (!(x !== null && x[0] === undefinedHeader)) {\n return x;\n }\n var nid = x[1] + 1 | 0;\n var block$1 = /* tuple */[\n undefinedHeader,\n nid\n ];\n block$1.tag = 256;\n return block$1;\n}\n\nfunction nullable_to_opt(x) {\n if (x === null || x === undefined) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction undefined_to_opt(x) {\n if (x === undefined) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction null_to_opt(x) {\n if (x === null) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction valFromOption(x) {\n if (!(x !== null && x[0] === undefinedHeader)) {\n return x;\n }\n var depth = x[1];\n if (depth === 0) {\n return ;\n } else {\n return /* tuple */[\n undefinedHeader,\n depth - 1 | 0\n ];\n }\n}\n\nfunction option_get(x) {\n if (x === undefined) {\n return ;\n } else {\n return valFromOption(x);\n }\n}\n\nfunction option_get_unwrap(x) {\n if (x === undefined) {\n return ;\n } else {\n return valFromOption(x)[1];\n }\n}\n\n\n/* No side effect */\n\n\n//# sourceURL=webpack:///./node_modules/bs-platform/lib/es6/caml_option.js?"); + +/***/ }), + +/***/ "./node_modules/bs-platform/lib/es6/curry.js": +/*!***************************************************!*\ + !*** ./node_modules/bs-platform/lib/es6/curry.js ***! + \***************************************************/ +/*! exports provided: app, _1, __1, _2, __2, _3, __3, _4, __4, _5, __5, _6, __6, _7, __7, _8, __8 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"app\", function() { return app; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_1\", function() { return _1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__1\", function() { return __1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_2\", function() { return _2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__2\", function() { return __2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_3\", function() { return _3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__3\", function() { return __3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_4\", function() { return _4; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__4\", function() { return __4; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_5\", function() { return _5; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__5\", function() { return __5; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_6\", function() { return _6; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__6\", function() { return __6; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_7\", function() { return _7; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__7\", function() { return __7; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"_8\", function() { return _8; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__8\", function() { return __8; });\n/* harmony import */ var _caml_array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./caml_array.js */ \"./node_modules/bs-platform/lib/es6/caml_array.js\");\n\n\n\n\nfunction app(_f, _args) {\n while(true) {\n var args = _args;\n var f = _f;\n var init_arity = f.length;\n var arity = init_arity === 0 ? 1 : init_arity;\n var len = args.length;\n var d = arity - len | 0;\n if (d === 0) {\n return f.apply(null, args);\n }\n if (d >= 0) {\n return (function(f,args){\n return function (x) {\n return app(f, args.concat([x]));\n }\n }(f,args));\n }\n _args = _caml_array_js__WEBPACK_IMPORTED_MODULE_0__[\"caml_array_sub\"](args, arity, -d | 0);\n _f = f.apply(null, _caml_array_js__WEBPACK_IMPORTED_MODULE_0__[\"caml_array_sub\"](args, 0, arity));\n continue ;\n };\n}\n\nfunction _1(o, a0) {\n var arity = o.length;\n if (arity === 1) {\n return o(a0);\n } else {\n switch (arity) {\n case 1 :\n return o(a0);\n case 2 :\n return (function (param) {\n return o(a0, param);\n });\n case 3 :\n return (function (param, param$1) {\n return o(a0, param, param$1);\n });\n case 4 :\n return (function (param, param$1, param$2) {\n return o(a0, param, param$1, param$2);\n });\n case 5 :\n return (function (param, param$1, param$2, param$3) {\n return o(a0, param, param$1, param$2, param$3);\n });\n case 6 :\n return (function (param, param$1, param$2, param$3, param$4) {\n return o(a0, param, param$1, param$2, param$3, param$4);\n });\n case 7 :\n return (function (param, param$1, param$2, param$3, param$4, param$5) {\n return o(a0, param, param$1, param$2, param$3, param$4, param$5);\n });\n default:\n return app(o, [a0]);\n }\n }\n}\n\nfunction __1(o) {\n var arity = o.length;\n if (arity === 1) {\n return o;\n } else {\n return (function (a0) {\n return _1(o, a0);\n });\n }\n}\n\nfunction _2(o, a0, a1) {\n var arity = o.length;\n if (arity === 2) {\n return o(a0, a1);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [a1]);\n case 2 :\n return o(a0, a1);\n case 3 :\n return (function (param) {\n return o(a0, a1, param);\n });\n case 4 :\n return (function (param, param$1) {\n return o(a0, a1, param, param$1);\n });\n case 5 :\n return (function (param, param$1, param$2) {\n return o(a0, a1, param, param$1, param$2);\n });\n case 6 :\n return (function (param, param$1, param$2, param$3) {\n return o(a0, a1, param, param$1, param$2, param$3);\n });\n case 7 :\n return (function (param, param$1, param$2, param$3, param$4) {\n return o(a0, a1, param, param$1, param$2, param$3, param$4);\n });\n default:\n return app(o, [\n a0,\n a1\n ]);\n }\n }\n}\n\nfunction __2(o) {\n var arity = o.length;\n if (arity === 2) {\n return o;\n } else {\n return (function (a0, a1) {\n return _2(o, a0, a1);\n });\n }\n}\n\nfunction _3(o, a0, a1, a2) {\n var arity = o.length;\n if (arity === 3) {\n return o(a0, a1, a2);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2\n ]);\n case 2 :\n return app(o(a0, a1), [a2]);\n case 3 :\n return o(a0, a1, a2);\n case 4 :\n return (function (param) {\n return o(a0, a1, a2, param);\n });\n case 5 :\n return (function (param, param$1) {\n return o(a0, a1, a2, param, param$1);\n });\n case 6 :\n return (function (param, param$1, param$2) {\n return o(a0, a1, a2, param, param$1, param$2);\n });\n case 7 :\n return (function (param, param$1, param$2, param$3) {\n return o(a0, a1, a2, param, param$1, param$2, param$3);\n });\n default:\n return app(o, [\n a0,\n a1,\n a2\n ]);\n }\n }\n}\n\nfunction __3(o) {\n var arity = o.length;\n if (arity === 3) {\n return o;\n } else {\n return (function (a0, a1, a2) {\n return _3(o, a0, a1, a2);\n });\n }\n}\n\nfunction _4(o, a0, a1, a2, a3) {\n var arity = o.length;\n if (arity === 4) {\n return o(a0, a1, a2, a3);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3\n ]);\n case 3 :\n return app(o(a0, a1, a2), [a3]);\n case 4 :\n return o(a0, a1, a2, a3);\n case 5 :\n return (function (param) {\n return o(a0, a1, a2, a3, param);\n });\n case 6 :\n return (function (param, param$1) {\n return o(a0, a1, a2, a3, param, param$1);\n });\n case 7 :\n return (function (param, param$1, param$2) {\n return o(a0, a1, a2, a3, param, param$1, param$2);\n });\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3\n ]);\n }\n }\n}\n\nfunction __4(o) {\n var arity = o.length;\n if (arity === 4) {\n return o;\n } else {\n return (function (a0, a1, a2, a3) {\n return _4(o, a0, a1, a2, a3);\n });\n }\n}\n\nfunction _5(o, a0, a1, a2, a3, a4) {\n var arity = o.length;\n if (arity === 5) {\n return o(a0, a1, a2, a3, a4);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [a4]);\n case 5 :\n return o(a0, a1, a2, a3, a4);\n case 6 :\n return (function (param) {\n return o(a0, a1, a2, a3, a4, param);\n });\n case 7 :\n return (function (param, param$1) {\n return o(a0, a1, a2, a3, a4, param, param$1);\n });\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4\n ]);\n }\n }\n}\n\nfunction __5(o) {\n var arity = o.length;\n if (arity === 5) {\n return o;\n } else {\n return (function (a0, a1, a2, a3, a4) {\n return _5(o, a0, a1, a2, a3, a4);\n });\n }\n}\n\nfunction _6(o, a0, a1, a2, a3, a4, a5) {\n var arity = o.length;\n if (arity === 6) {\n return o(a0, a1, a2, a3, a4, a5);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [a5]);\n case 6 :\n return o(a0, a1, a2, a3, a4, a5);\n case 7 :\n return (function (param) {\n return o(a0, a1, a2, a3, a4, a5, param);\n });\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5\n ]);\n }\n }\n}\n\nfunction __6(o) {\n var arity = o.length;\n if (arity === 6) {\n return o;\n } else {\n return (function (a0, a1, a2, a3, a4, a5) {\n return _6(o, a0, a1, a2, a3, a4, a5);\n });\n }\n}\n\nfunction _7(o, a0, a1, a2, a3, a4, a5, a6) {\n var arity = o.length;\n if (arity === 7) {\n return o(a0, a1, a2, a3, a4, a5, a6);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5,\n a6\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5,\n a6\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [\n a5,\n a6\n ]);\n case 6 :\n return app(o(a0, a1, a2, a3, a4, a5), [a6]);\n case 7 :\n return o(a0, a1, a2, a3, a4, a5, a6);\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n }\n }\n}\n\nfunction __7(o) {\n var arity = o.length;\n if (arity === 7) {\n return o;\n } else {\n return (function (a0, a1, a2, a3, a4, a5, a6) {\n return _7(o, a0, a1, a2, a3, a4, a5, a6);\n });\n }\n}\n\nfunction _8(o, a0, a1, a2, a3, a4, a5, a6, a7) {\n var arity = o.length;\n if (arity === 8) {\n return o(a0, a1, a2, a3, a4, a5, a6, a7);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5,\n a6,\n a7\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [\n a5,\n a6,\n a7\n ]);\n case 6 :\n return app(o(a0, a1, a2, a3, a4, a5), [\n a6,\n a7\n ]);\n case 7 :\n return app(o(a0, a1, a2, a3, a4, a5, a6), [a7]);\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n }\n }\n}\n\nfunction __8(o) {\n var arity = o.length;\n if (arity === 8) {\n return o;\n } else {\n return (function (a0, a1, a2, a3, a4, a5, a6, a7) {\n return _8(o, a0, a1, a2, a3, a4, a5, a6, a7);\n });\n }\n}\n\n\n/* No side effect */\n\n\n//# sourceURL=webpack:///./node_modules/bs-platform/lib/es6/curry.js?"); + +/***/ }), + +/***/ "./node_modules/bs-platform/lib/es6/js_json.js": +/*!*****************************************************!*\ + !*** ./node_modules/bs-platform/lib/es6/js_json.js ***! + \*****************************************************/ +/*! exports provided: classify, test, decodeString, decodeNumber, decodeObject, decodeArray, decodeBoolean, decodeNull */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"classify\", function() { return classify; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"test\", function() { return test; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"decodeString\", function() { return decodeString; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"decodeNumber\", function() { return decodeNumber; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"decodeObject\", function() { return decodeObject; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"decodeArray\", function() { return decodeArray; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"decodeBoolean\", function() { return decodeBoolean; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"decodeNull\", function() { return decodeNull; });\n/* harmony import */ var _block_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./block.js */ \"./node_modules/bs-platform/lib/es6/block.js\");\n/* harmony import */ var _caml_option_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./caml_option.js */ \"./node_modules/bs-platform/lib/es6/caml_option.js\");\n\n\n\n\n\nfunction classify(x) {\n var ty = typeof x;\n if (ty === \"string\") {\n return /* JSONString */_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](0, [x]);\n } else if (ty === \"number\") {\n return /* JSONNumber */_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](1, [x]);\n } else if (ty === \"boolean\") {\n if (x === true) {\n return /* JSONTrue */1;\n } else {\n return /* JSONFalse */0;\n }\n } else if (x === null) {\n return /* JSONNull */2;\n } else if (Array.isArray(x)) {\n return /* JSONArray */_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](3, [x]);\n } else {\n return /* JSONObject */_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](2, [x]);\n }\n}\n\nfunction test(x, v) {\n switch (v) {\n case /* String */0 :\n return typeof x === \"string\";\n case /* Number */1 :\n return typeof x === \"number\";\n case /* Object */2 :\n if (x !== null && typeof x === \"object\") {\n return !Array.isArray(x);\n } else {\n return false;\n }\n case /* Array */3 :\n return Array.isArray(x);\n case /* Boolean */4 :\n return typeof x === \"boolean\";\n case /* Null */5 :\n return x === null;\n \n }\n}\n\nfunction decodeString(json) {\n if (typeof json === \"string\") {\n return json;\n }\n \n}\n\nfunction decodeNumber(json) {\n if (typeof json === \"number\") {\n return json;\n }\n \n}\n\nfunction decodeObject(json) {\n if (typeof json === \"object\" && !Array.isArray(json) && json !== null) {\n return _caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"some\"](json);\n }\n \n}\n\nfunction decodeArray(json) {\n if (Array.isArray(json)) {\n return json;\n }\n \n}\n\nfunction decodeBoolean(json) {\n if (typeof json === \"boolean\") {\n return json;\n }\n \n}\n\nfunction decodeNull(json) {\n if (json === null) {\n return null;\n }\n \n}\n\n\n/* No side effect */\n\n\n//# sourceURL=webpack:///./node_modules/bs-platform/lib/es6/js_json.js?"); + +/***/ }), + +/***/ "./node_modules/bs-platform/lib/es6/js_null_undefined.js": +/*!***************************************************************!*\ + !*** ./node_modules/bs-platform/lib/es6/js_null_undefined.js ***! + \***************************************************************/ +/*! exports provided: bind, iter, fromOption, from_opt */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bind\", function() { return bind; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"iter\", function() { return iter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fromOption\", function() { return fromOption; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"from_opt\", function() { return from_opt; });\n/* harmony import */ var _caml_option_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./caml_option.js */ \"./node_modules/bs-platform/lib/es6/caml_option.js\");\n\n\n\n\nfunction bind(x, f) {\n if (x == null) {\n return x;\n } else {\n return f(x);\n }\n}\n\nfunction iter(x, f) {\n if (!(x == null)) {\n return f(x);\n }\n \n}\n\nfunction fromOption(x) {\n if (x !== undefined) {\n return _caml_option_js__WEBPACK_IMPORTED_MODULE_0__[\"valFromOption\"](x);\n }\n \n}\n\nvar from_opt = fromOption;\n\n\n/* No side effect */\n\n\n//# sourceURL=webpack:///./node_modules/bs-platform/lib/es6/js_null_undefined.js?"); + +/***/ }), + /***/ "./node_modules/bs-platform/lib/js/belt_Array.js": /*!*******************************************************!*\ !*** ./node_modules/bs-platform/lib/js/belt_Array.js ***! @@ -1140,11 +1236,11 @@ eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Js_dict = __w /*!***********************************************************!*\ !*** ./node_modules/reason-apollo/src/ApolloClient.bs.js ***! \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: ReadQuery, WriteQuery */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Belt_Option = __webpack_require__(/*! bs-platform/lib/js/belt_Option.js */ \"./node_modules/bs-platform/lib/js/belt_Option.js\");\nvar Caml_option = __webpack_require__(/*! bs-platform/lib/js/caml_option.js */ \"./node_modules/bs-platform/lib/js/caml_option.js\");\nvar GraphqlTag = __webpack_require__(/*! graphql-tag */ \"./node_modules/graphql-tag/src/index.js\");\nvar Js_null_undefined = __webpack_require__(/*! bs-platform/lib/js/js_null_undefined.js */ \"./node_modules/bs-platform/lib/js/js_null_undefined.js\");\n\nfunction ReadQuery(Config) {\n var graphqlQueryAST = GraphqlTag.default(Config.query);\n var apolloDataToRecord = function (apolloData) {\n return Belt_Option.map((apolloData == null) ? undefined : Caml_option.some(apolloData), Config.parse);\n };\n var make = function (client, variables, param) {\n var apolloData = client.readQuery({\n query: graphqlQueryAST,\n variables: Js_null_undefined.fromOption(variables)\n });\n return Belt_Option.map((apolloData == null) ? undefined : Caml_option.some(apolloData), Config.parse);\n };\n return {\n graphqlQueryAST: graphqlQueryAST,\n apolloDataToRecord: apolloDataToRecord,\n make: make\n };\n}\n\nfunction WriteQuery(Config) {\n var graphqlQueryAST = GraphqlTag.default(Config.query);\n var make = function (client, variables, data, param) {\n client.writeQuery({\n query: graphqlQueryAST,\n variables: Js_null_undefined.fromOption(variables),\n data: data\n });\n \n };\n return {\n graphqlQueryAST: graphqlQueryAST,\n make: make\n };\n}\n\nexports.ReadQuery = ReadQuery;\nexports.WriteQuery = WriteQuery;\n/* graphql-tag Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/ApolloClient.bs.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ReadQuery\", function() { return ReadQuery; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WriteQuery\", function() { return WriteQuery; });\n/* harmony import */ var bs_platform_lib_es6_belt_Option_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! bs-platform/lib/es6/belt_Option.js */ \"./node_modules/bs-platform/lib/es6/belt_Option.js\");\n/* harmony import */ var bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bs-platform/lib/es6/caml_option.js */ \"./node_modules/bs-platform/lib/es6/caml_option.js\");\n/* harmony import */ var graphql_tag__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! graphql-tag */ \"./node_modules/graphql-tag/src/index.js\");\n/* harmony import */ var graphql_tag__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(graphql_tag__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! bs-platform/lib/es6/js_null_undefined.js */ \"./node_modules/bs-platform/lib/es6/js_null_undefined.js\");\n// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\n\n\n\n\nfunction ReadQuery(Config) {\n var graphqlQueryAST = graphql_tag__WEBPACK_IMPORTED_MODULE_2___default.a(Config.query);\n var apolloDataToRecord = function (apolloData) {\n return bs_platform_lib_es6_belt_Option_js__WEBPACK_IMPORTED_MODULE_0__[\"map\"]((apolloData == null) ? undefined : bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"some\"](apolloData), Config.parse);\n };\n var make = function (client, variables, param) {\n var apolloData = client.readQuery({\n query: graphqlQueryAST,\n variables: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_3__[\"fromOption\"](variables)\n });\n return bs_platform_lib_es6_belt_Option_js__WEBPACK_IMPORTED_MODULE_0__[\"map\"]((apolloData == null) ? undefined : bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"some\"](apolloData), Config.parse);\n };\n return {\n graphqlQueryAST: graphqlQueryAST,\n apolloDataToRecord: apolloDataToRecord,\n make: make\n };\n}\n\nfunction WriteQuery(Config) {\n var graphqlQueryAST = graphql_tag__WEBPACK_IMPORTED_MODULE_2___default.a(Config.query);\n var make = function (client, variables, data, param) {\n client.writeQuery({\n query: graphqlQueryAST,\n variables: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_3__[\"fromOption\"](variables),\n data: data\n });\n return /* () */0;\n };\n return {\n graphqlQueryAST: graphqlQueryAST,\n make: make\n };\n}\n\n\n/* graphql-tag Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/ApolloClient.bs.js?"); /***/ }), @@ -1152,11 +1248,11 @@ eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Belt_Option = /*!******************************************************************!*\ !*** ./node_modules/reason-apollo/src/ApolloInMemoryCache.bs.js ***! \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: createIntrospectionFragmentMatcher, createInMemoryCache */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Caml_option = __webpack_require__(/*! bs-platform/lib/js/caml_option.js */ \"./node_modules/bs-platform/lib/js/caml_option.js\");\nvar ApolloCacheInmemory = __webpack_require__(/*! apollo-cache-inmemory */ \"./node_modules/apollo-cache-inmemory/lib/bundle.esm.js\");\n\nfunction createIntrospectionFragmentMatcher(data) {\n return new ApolloCacheInmemory.IntrospectionFragmentMatcher({\n introspectionQueryResultData: data\n });\n}\n\nfunction createInMemoryCache(dataIdFromObject, fragmentMatcher, param) {\n var tmp = { };\n if (dataIdFromObject !== undefined) {\n tmp.dataIdFromObject = Caml_option.valFromOption(dataIdFromObject);\n }\n if (fragmentMatcher !== undefined) {\n tmp.fragmentMatcher = Caml_option.valFromOption(fragmentMatcher);\n }\n return new ApolloCacheInmemory.InMemoryCache(tmp);\n}\n\nexports.createIntrospectionFragmentMatcher = createIntrospectionFragmentMatcher;\nexports.createInMemoryCache = createInMemoryCache;\n/* apollo-cache-inmemory Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/ApolloInMemoryCache.bs.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createIntrospectionFragmentMatcher\", function() { return createIntrospectionFragmentMatcher; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createInMemoryCache\", function() { return createInMemoryCache; });\n/* harmony import */ var bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! bs-platform/lib/es6/caml_option.js */ \"./node_modules/bs-platform/lib/es6/caml_option.js\");\n/* harmony import */ var apollo_cache_inmemory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! apollo-cache-inmemory */ \"./node_modules/apollo-cache-inmemory/lib/bundle.esm.js\");\n// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\n\n\nfunction createIntrospectionFragmentMatcher(data) {\n return new apollo_cache_inmemory__WEBPACK_IMPORTED_MODULE_1__[\"IntrospectionFragmentMatcher\"]({\n introspectionQueryResultData: data\n });\n}\n\nfunction createInMemoryCache(dataIdFromObject, fragmentMatcher, param) {\n var tmp = { };\n if (dataIdFromObject !== undefined) {\n tmp.dataIdFromObject = bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_0__[\"valFromOption\"](dataIdFromObject);\n }\n if (fragmentMatcher !== undefined) {\n tmp.fragmentMatcher = bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_0__[\"valFromOption\"](fragmentMatcher);\n }\n return new apollo_cache_inmemory__WEBPACK_IMPORTED_MODULE_1__[\"InMemoryCache\"](tmp);\n}\n\n\n/* apollo-cache-inmemory Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/ApolloInMemoryCache.bs.js?"); /***/ }), @@ -1164,11 +1260,11 @@ eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Caml_option = /*!**********************************************************!*\ !*** ./node_modules/reason-apollo/src/ApolloLinks.bs.js ***! \**********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: createHttpLink, createUploadLink, createContextLink, createErrorLink */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar ApolloLinkHttp = __webpack_require__(/*! apollo-link-http */ \"./node_modules/apollo-link-http/lib/bundle.esm.js\");\nvar Js_null_undefined = __webpack_require__(/*! bs-platform/lib/js/js_null_undefined.js */ \"./node_modules/bs-platform/lib/js/js_null_undefined.js\");\nvar ApolloLinkError = __webpack_require__(/*! apollo-link-error */ \"./node_modules/apollo-link-error/lib/bundle.esm.js\");\nvar ApolloLinkContext = __webpack_require__(/*! apollo-link-context */ \"./node_modules/apollo-link-context/lib/bundle.esm.js\");\nvar ApolloUploadClient = __webpack_require__(/*! apollo-upload-client */ \"./node_modules/apollo-upload-client/lib/index.js\");\n\nfunction createHttpLink(uri, includeExtensions, $$fetch, headers, credentials, fetchOptions, param) {\n return new ApolloLinkHttp.HttpLink({\n uri: uri,\n includeExtensions: Js_null_undefined.fromOption(includeExtensions),\n fetch: Js_null_undefined.fromOption($$fetch),\n headers: Js_null_undefined.fromOption(headers),\n credentials: Js_null_undefined.fromOption(credentials),\n fetchOptions: Js_null_undefined.fromOption(fetchOptions)\n });\n}\n\nfunction createUploadLink(uri, $$fetch, fetchOptions, credentials, headers, includeExtensions, param) {\n return ApolloUploadClient.createUploadLink({\n uri: Js_null_undefined.fromOption(uri),\n fetch: Js_null_undefined.fromOption($$fetch),\n fetchOptions: Js_null_undefined.fromOption(fetchOptions),\n credentials: Js_null_undefined.fromOption(credentials),\n headers: Js_null_undefined.fromOption(headers),\n includeExtensions: Js_null_undefined.fromOption(includeExtensions)\n });\n}\n\nfunction createContextLink(contextHandler) {\n return ApolloLinkContext.setContext(contextHandler);\n}\n\nfunction createErrorLink(errorHandler) {\n return ApolloLinkError.onError(errorHandler);\n}\n\nexports.createHttpLink = createHttpLink;\nexports.createUploadLink = createUploadLink;\nexports.createContextLink = createContextLink;\nexports.createErrorLink = createErrorLink;\n/* apollo-link-http Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/ApolloLinks.bs.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createHttpLink\", function() { return createHttpLink; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createUploadLink\", function() { return createUploadLink; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createContextLink\", function() { return createContextLink; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createErrorLink\", function() { return createErrorLink; });\n/* harmony import */ var apollo_link_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! apollo-link-http */ \"./node_modules/apollo-link-http/lib/bundle.esm.js\");\n/* harmony import */ var bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bs-platform/lib/es6/js_null_undefined.js */ \"./node_modules/bs-platform/lib/es6/js_null_undefined.js\");\n/* harmony import */ var apollo_link_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! apollo-link-error */ \"./node_modules/apollo-link-error/lib/bundle.esm.js\");\n/* harmony import */ var apollo_link_context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! apollo-link-context */ \"./node_modules/apollo-link-context/lib/bundle.esm.js\");\n/* harmony import */ var apollo_upload_client__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! apollo-upload-client */ \"./node_modules/apollo-upload-client/lib/index.js\");\n/* harmony import */ var apollo_upload_client__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(apollo_upload_client__WEBPACK_IMPORTED_MODULE_4__);\n// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\n\n\n\n\n\nfunction createHttpLink(uri, includeExtensions, $$fetch, headers, credentials, fetchOptions, param) {\n return new apollo_link_http__WEBPACK_IMPORTED_MODULE_0__[\"HttpLink\"]({\n uri: uri,\n includeExtensions: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_1__[\"fromOption\"](includeExtensions),\n fetch: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_1__[\"fromOption\"]($$fetch),\n headers: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_1__[\"fromOption\"](headers),\n credentials: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_1__[\"fromOption\"](credentials),\n fetchOptions: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_1__[\"fromOption\"](fetchOptions)\n });\n}\n\nfunction createUploadLink(uri, $$fetch, fetchOptions, credentials, headers, includeExtensions, param) {\n return apollo_upload_client__WEBPACK_IMPORTED_MODULE_4__[\"createUploadLink\"]({\n uri: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_1__[\"fromOption\"](uri),\n fetch: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_1__[\"fromOption\"]($$fetch),\n fetchOptions: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_1__[\"fromOption\"](fetchOptions),\n credentials: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_1__[\"fromOption\"](credentials),\n headers: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_1__[\"fromOption\"](headers),\n includeExtensions: bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_1__[\"fromOption\"](includeExtensions)\n });\n}\n\nfunction createContextLink(contextHandler) {\n return apollo_link_context__WEBPACK_IMPORTED_MODULE_3__[\"setContext\"](contextHandler);\n}\n\nfunction createErrorLink(errorHandler) {\n return apollo_link_error__WEBPACK_IMPORTED_MODULE_2__[\"onError\"](errorHandler);\n}\n\n\n/* apollo-link-http Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/ApolloLinks.bs.js?"); /***/ }), @@ -1176,11 +1272,11 @@ eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar ApolloLinkHtt /*!***********************************************************!*\ !*** ./node_modules/reason-apollo/src/ReasonApollo.bs.js ***! \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: createApolloClient, CreateQuery, CreateMutation, CreateSubscription, Provider, Consumer */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar ApolloClient = __webpack_require__(/*! apollo-client */ \"./node_modules/apollo-client/bundle.esm.js\");\nvar ReasonApolloQuery = __webpack_require__(/*! ./graphql-types/ReasonApolloQuery.bs.js */ \"./node_modules/reason-apollo/src/graphql-types/ReasonApolloQuery.bs.js\");\nvar ReasonApolloMutation = __webpack_require__(/*! ./graphql-types/ReasonApolloMutation.bs.js */ \"./node_modules/reason-apollo/src/graphql-types/ReasonApolloMutation.bs.js\");\nvar ReasonApolloSubscription = __webpack_require__(/*! ./graphql-types/ReasonApolloSubscription.bs.js */ \"./node_modules/reason-apollo/src/graphql-types/ReasonApolloSubscription.bs.js\");\n\nfunction createApolloClient(link, cache, ssrMode, ssrForceFetchDelay, connectToDevTools, queryDeduplication, param) {\n return new ApolloClient.ApolloClient({\n link: link,\n cache: cache,\n ssrMode: ssrMode,\n ssrForceFetchDelay: ssrForceFetchDelay,\n connectToDevTools: connectToDevTools,\n queryDeduplication: queryDeduplication\n });\n}\n\nvar CreateQuery = ReasonApolloQuery.Make;\n\nvar CreateMutation = ReasonApolloMutation.Make;\n\nvar CreateSubscription = ReasonApolloSubscription.Make;\n\nvar Provider;\n\nvar Consumer;\n\nexports.createApolloClient = createApolloClient;\nexports.CreateQuery = CreateQuery;\nexports.CreateMutation = CreateMutation;\nexports.CreateSubscription = CreateSubscription;\nexports.Provider = Provider;\nexports.Consumer = Consumer;\n/* apollo-client Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/ReasonApollo.bs.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createApolloClient\", function() { return createApolloClient; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CreateQuery\", function() { return CreateQuery; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CreateMutation\", function() { return CreateMutation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CreateSubscription\", function() { return CreateSubscription; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Provider\", function() { return Provider; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Consumer\", function() { return Consumer; });\n/* harmony import */ var apollo_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! apollo-client */ \"./node_modules/apollo-client/bundle.esm.js\");\n/* harmony import */ var _graphql_types_ReasonApolloQuery_bs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./graphql-types/ReasonApolloQuery.bs.js */ \"./node_modules/reason-apollo/src/graphql-types/ReasonApolloQuery.bs.js\");\n/* harmony import */ var _graphql_types_ReasonApolloMutation_bs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./graphql-types/ReasonApolloMutation.bs.js */ \"./node_modules/reason-apollo/src/graphql-types/ReasonApolloMutation.bs.js\");\n/* harmony import */ var _graphql_types_ReasonApolloSubscription_bs_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./graphql-types/ReasonApolloSubscription.bs.js */ \"./node_modules/reason-apollo/src/graphql-types/ReasonApolloSubscription.bs.js\");\n// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\n\n\n\n\nfunction createApolloClient(link, cache, ssrMode, ssrForceFetchDelay, connectToDevTools, queryDeduplication, param) {\n return new apollo_client__WEBPACK_IMPORTED_MODULE_0__[\"ApolloClient\"]({\n link: link,\n cache: cache,\n ssrMode: ssrMode,\n ssrForceFetchDelay: ssrForceFetchDelay,\n connectToDevTools: connectToDevTools,\n queryDeduplication: queryDeduplication\n });\n}\n\nvar CreateQuery = _graphql_types_ReasonApolloQuery_bs_js__WEBPACK_IMPORTED_MODULE_1__[\"Make\"];\n\nvar CreateMutation = _graphql_types_ReasonApolloMutation_bs_js__WEBPACK_IMPORTED_MODULE_2__[\"Make\"];\n\nvar CreateSubscription = _graphql_types_ReasonApolloSubscription_bs_js__WEBPACK_IMPORTED_MODULE_3__[\"Make\"];\n\nvar Provider = /* alias */0;\n\nvar Consumer = /* alias */0;\n\n\n/* apollo-client Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/ReasonApollo.bs.js?"); /***/ }), @@ -1188,11 +1284,11 @@ eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar ApolloClient /*!****************************************************************!*\ !*** ./node_modules/reason-apollo/src/ReasonApolloUtils.bs.js ***! \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: getNonEmptyObj */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Js_json = __webpack_require__(/*! bs-platform/lib/js/js_json.js */ \"./node_modules/bs-platform/lib/js/js_json.js\");\nvar Caml_option = __webpack_require__(/*! bs-platform/lib/js/caml_option.js */ \"./node_modules/bs-platform/lib/js/caml_option.js\");\n\nfunction getNonEmptyObj(jsObj) {\n if (jsObj == null) {\n return ;\n }\n var data = Js_json.decodeObject(jsObj);\n if (data === undefined) {\n return ;\n }\n var data$1 = Caml_option.valFromOption(data);\n var match = Object.keys(data$1).length;\n if (match !== 0) {\n return Caml_option.some(data$1);\n }\n \n}\n\nexports.getNonEmptyObj = getNonEmptyObj;\n/* No side effect */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/ReasonApolloUtils.bs.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getNonEmptyObj\", function() { return getNonEmptyObj; });\n/* harmony import */ var bs_platform_lib_es6_js_json_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! bs-platform/lib/es6/js_json.js */ \"./node_modules/bs-platform/lib/es6/js_json.js\");\n/* harmony import */ var bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bs-platform/lib/es6/caml_option.js */ \"./node_modules/bs-platform/lib/es6/caml_option.js\");\n// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\n\n\nfunction getNonEmptyObj(jsObj) {\n if (jsObj == null) {\n return ;\n } else {\n var match = bs_platform_lib_es6_js_json_js__WEBPACK_IMPORTED_MODULE_0__[\"decodeObject\"](jsObj);\n if (match !== undefined) {\n var data = bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"valFromOption\"](match);\n var match$1 = Object.keys(data).length;\n if (match$1 !== 0) {\n return bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_1__[\"some\"](data);\n } else {\n return ;\n }\n } else {\n return ;\n }\n }\n}\n\n\n/* No side effect */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/ReasonApolloUtils.bs.js?"); /***/ }), @@ -1200,11 +1296,11 @@ eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Js_json = __w /*!*********************************************************************************!*\ !*** ./node_modules/reason-apollo/src/graphql-types/ReasonApolloMutation.bs.js ***! \*********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: Make */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Block = __webpack_require__(/*! bs-platform/lib/js/block.js */ \"./node_modules/bs-platform/lib/js/block.js\");\nvar Curry = __webpack_require__(/*! bs-platform/lib/js/curry.js */ \"./node_modules/bs-platform/lib/js/curry.js\");\nvar React = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\nvar Caml_option = __webpack_require__(/*! bs-platform/lib/js/caml_option.js */ \"./node_modules/bs-platform/lib/js/caml_option.js\");\nvar GraphqlTag = __webpack_require__(/*! graphql-tag */ \"./node_modules/graphql-tag/src/index.js\");\nvar ReactApollo = __webpack_require__(/*! react-apollo */ \"./node_modules/react-apollo/react-apollo.esm.js\");\nvar ReasonApolloUtils = __webpack_require__(/*! ../ReasonApolloUtils.bs.js */ \"./node_modules/reason-apollo/src/ReasonApolloUtils.bs.js\");\n\nfunction Make(Config) {\n var graphqlMutationAST = GraphqlTag.default(Config.query);\n var convertExecutionResultToReason = function (executionResult) {\n var match = ReasonApolloUtils.getNonEmptyObj(executionResult.data);\n var match$1 = executionResult.errors;\n if (match !== undefined) {\n return /* Data */Block.__(1, [Curry._1(Config.parse, Caml_option.valFromOption(match))]);\n } else if (!(match$1 == null)) {\n return /* Errors */Block.__(0, [match$1]);\n } else {\n return /* EmptyResponse */0;\n }\n };\n var apolloMutationFactory = function (jsMutation, variables, refetchQueries, optimisticResponse, param) {\n return Curry._1(jsMutation, {\n variables: variables,\n refetchQueries: refetchQueries,\n optimisticResponse: optimisticResponse\n }).then((function (response) {\n return Promise.resolve(convertExecutionResultToReason(response));\n }));\n };\n var apolloDataToReason = function (apolloData) {\n var match = apolloData.loading;\n var match$1 = ReasonApolloUtils.getNonEmptyObj(apolloData.data);\n var match$2 = apolloData.error;\n if (match) {\n return /* Loading */0;\n } else if (match$1 !== undefined) {\n return /* Data */Block.__(1, [Curry._1(Config.parse, Caml_option.valFromOption(match$1))]);\n } else if (match$2 == null) {\n return /* NotCalled */1;\n } else {\n return /* Error */Block.__(0, [match$2]);\n }\n };\n var convertJsInputToReason = function (apolloData) {\n var data = ReasonApolloUtils.getNonEmptyObj(apolloData.data);\n var tmp;\n if (data !== undefined) {\n var exit = 0;\n var parsedData;\n try {\n parsedData = Curry._1(Config.parse, Caml_option.valFromOption(data));\n exit = 1;\n }\n catch (exn){\n tmp = undefined;\n }\n if (exit === 1) {\n tmp = Caml_option.some(parsedData);\n }\n \n } else {\n tmp = undefined;\n }\n return {\n result: apolloDataToReason(apolloData),\n data: tmp,\n loading: apolloData.loading,\n error: Caml_option.nullable_to_opt(apolloData.error),\n networkStatus: Caml_option.nullable_to_opt(apolloData.networkStatus)\n };\n };\n var JsMutation = { };\n var ReasonApolloMutation$Make = function (Props) {\n var variables = Props.variables;\n var onError = Props.onError;\n var onCompleted = Props.onCompleted;\n var children = Props.children;\n var tmp = {\n mutation: graphqlMutationAST,\n children: (function (mutation, apolloData) {\n return Curry._2(children, (function (param, param$1, param$2, param$3) {\n return apolloMutationFactory(mutation, param, param$1, param$2, param$3);\n }), convertJsInputToReason(apolloData));\n })\n };\n if (variables !== undefined) {\n tmp.variables = Caml_option.valFromOption(variables);\n }\n if (onCompleted !== undefined) {\n tmp.onCompleted = Caml_option.valFromOption(onCompleted);\n }\n if (onError !== undefined) {\n tmp.onError = Caml_option.valFromOption(onError);\n }\n return React.createElement(ReactApollo.Mutation, tmp);\n };\n return {\n graphqlMutationAST: graphqlMutationAST,\n convertExecutionResultToReason: convertExecutionResultToReason,\n apolloMutationFactory: apolloMutationFactory,\n apolloDataToReason: apolloDataToReason,\n convertJsInputToReason: convertJsInputToReason,\n JsMutation: JsMutation,\n make: ReasonApolloMutation$Make\n };\n}\n\nexports.Make = Make;\n/* react Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/graphql-types/ReasonApolloMutation.bs.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Make\", function() { return Make; });\n/* harmony import */ var bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! bs-platform/lib/es6/block.js */ \"./node_modules/bs-platform/lib/es6/block.js\");\n/* harmony import */ var bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bs-platform/lib/es6/curry.js */ \"./node_modules/bs-platform/lib/es6/curry.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! bs-platform/lib/es6/caml_option.js */ \"./node_modules/bs-platform/lib/es6/caml_option.js\");\n/* harmony import */ var graphql_tag__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! graphql-tag */ \"./node_modules/graphql-tag/src/index.js\");\n/* harmony import */ var graphql_tag__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(graphql_tag__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react_apollo__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-apollo */ \"./node_modules/react-apollo/react-apollo.esm.js\");\n/* harmony import */ var _ReasonApolloUtils_bs_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../ReasonApolloUtils.bs.js */ \"./node_modules/reason-apollo/src/ReasonApolloUtils.bs.js\");\n// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\n\n\n\n\n\n\n\nfunction Make(Config) {\n var graphqlMutationAST = graphql_tag__WEBPACK_IMPORTED_MODULE_4___default.a(Config.query);\n var convertExecutionResultToReason = function (executionResult) {\n var match = _ReasonApolloUtils_bs_js__WEBPACK_IMPORTED_MODULE_6__[\"getNonEmptyObj\"](executionResult.data);\n var match$1 = executionResult.errors;\n if (match !== undefined) {\n return /* Data */bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](1, [bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](Config.parse, bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"valFromOption\"](match))]);\n } else if (match$1 == null) {\n return /* EmptyResponse */0;\n } else {\n return /* Errors */bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](0, [match$1]);\n }\n };\n var apolloMutationFactory = function (jsMutation, variables, refetchQueries, optimisticResponse, param) {\n return bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](jsMutation, {\n variables: variables,\n refetchQueries: refetchQueries,\n optimisticResponse: optimisticResponse\n }).then((function (response) {\n return Promise.resolve(convertExecutionResultToReason(response));\n }));\n };\n var apolloDataToReason = function (apolloData) {\n var match = apolloData.loading;\n var match$1 = _ReasonApolloUtils_bs_js__WEBPACK_IMPORTED_MODULE_6__[\"getNonEmptyObj\"](apolloData.data);\n var match$2 = apolloData.error;\n if (match) {\n return /* Loading */0;\n } else if (match$1 !== undefined) {\n return /* Data */bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](1, [bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](Config.parse, bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"valFromOption\"](match$1))]);\n } else if (match$2 == null) {\n return /* NotCalled */1;\n } else {\n return /* Error */bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](0, [match$2]);\n }\n };\n var convertJsInputToReason = function (apolloData) {\n var match = _ReasonApolloUtils_bs_js__WEBPACK_IMPORTED_MODULE_6__[\"getNonEmptyObj\"](apolloData.data);\n var tmp;\n if (match !== undefined) {\n var exit = 0;\n var parsedData;\n try {\n parsedData = bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](Config.parse, bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"valFromOption\"](match));\n exit = 1;\n }\n catch (exn){\n tmp = undefined;\n }\n if (exit === 1) {\n tmp = bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"some\"](parsedData);\n }\n \n } else {\n tmp = undefined;\n }\n return {\n result: apolloDataToReason(apolloData),\n data: tmp,\n loading: apolloData.loading,\n error: bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"nullable_to_opt\"](apolloData.error),\n networkStatus: bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"nullable_to_opt\"](apolloData.networkStatus)\n };\n };\n var JsMutation = { };\n var ReasonApolloMutation$Make = function (Props) {\n var variables = Props.variables;\n var onError = Props.onError;\n var onCompleted = Props.onCompleted;\n var children = Props.children;\n return react__WEBPACK_IMPORTED_MODULE_2__[\"createElement\"](react_apollo__WEBPACK_IMPORTED_MODULE_5__[\"Mutation\"], {\n mutation: graphqlMutationAST,\n variables: variables,\n onCompleted: onCompleted,\n onError: onError,\n children: (function (mutation, apolloData) {\n return bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_2\"](children, (function (param, param$1, param$2, param$3) {\n return apolloMutationFactory(mutation, param, param$1, param$2, param$3);\n }), convertJsInputToReason(apolloData));\n })\n });\n };\n return {\n graphqlMutationAST: graphqlMutationAST,\n convertExecutionResultToReason: convertExecutionResultToReason,\n apolloMutationFactory: apolloMutationFactory,\n apolloDataToReason: apolloDataToReason,\n convertJsInputToReason: convertJsInputToReason,\n JsMutation: JsMutation,\n make: ReasonApolloMutation$Make\n };\n}\n\n\n/* react Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/graphql-types/ReasonApolloMutation.bs.js?"); /***/ }), @@ -1212,11 +1308,11 @@ eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Block = __web /*!******************************************************************************!*\ !*** ./node_modules/reason-apollo/src/graphql-types/ReasonApolloQuery.bs.js ***! \******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: Make */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Block = __webpack_require__(/*! bs-platform/lib/js/block.js */ \"./node_modules/bs-platform/lib/js/block.js\");\nvar Curry = __webpack_require__(/*! bs-platform/lib/js/curry.js */ \"./node_modules/bs-platform/lib/js/curry.js\");\nvar React = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\nvar Caml_option = __webpack_require__(/*! bs-platform/lib/js/caml_option.js */ \"./node_modules/bs-platform/lib/js/caml_option.js\");\nvar GraphqlTag = __webpack_require__(/*! graphql-tag */ \"./node_modules/graphql-tag/src/index.js\");\nvar ReactApollo = __webpack_require__(/*! react-apollo */ \"./node_modules/react-apollo/react-apollo.esm.js\");\nvar Js_null_undefined = __webpack_require__(/*! bs-platform/lib/js/js_null_undefined.js */ \"./node_modules/bs-platform/lib/js/js_null_undefined.js\");\nvar ReasonApolloUtils = __webpack_require__(/*! ../ReasonApolloUtils.bs.js */ \"./node_modules/reason-apollo/src/ReasonApolloUtils.bs.js\");\n\nfunction Make(Config) {\n var graphqlQueryAST = GraphqlTag.default(Config.query);\n var apolloDataToVariant = function (apolloData) {\n var match = apolloData.loading;\n var match$1 = ReasonApolloUtils.getNonEmptyObj(apolloData.data);\n var match$2 = apolloData.error;\n if (match) {\n return /* Loading */0;\n } else if (match$1 !== undefined) {\n return /* Data */Block.__(1, [Curry._1(Config.parse, Caml_option.valFromOption(match$1))]);\n } else if (match$2 == null) {\n return /* Error */Block.__(0, [{\n message: \"No data\",\n graphQLErrors: null,\n networkError: null\n }]);\n } else {\n return /* Error */Block.__(0, [match$2]);\n }\n };\n var convertJsInputToReason = function (apolloData) {\n var data = ReasonApolloUtils.getNonEmptyObj(apolloData.data);\n var tmp;\n if (data !== undefined) {\n var exit = 0;\n var parsedData;\n try {\n parsedData = Curry._1(Config.parse, Caml_option.valFromOption(data));\n exit = 1;\n }\n catch (exn){\n tmp = undefined;\n }\n if (exit === 1) {\n tmp = Caml_option.some(parsedData);\n }\n \n } else {\n tmp = undefined;\n }\n var error = apolloData.error;\n return {\n result: apolloDataToVariant(apolloData),\n data: tmp,\n error: !(error == null) ? error : undefined,\n loading: apolloData.loading,\n refetch: (function (variables) {\n return Curry._1(apolloData.refetch, Js_null_undefined.fromOption(variables)).then((function (data) {\n return Promise.resolve(apolloDataToVariant(data));\n }));\n }),\n fetchMore: (function (variables, updateQuery, param) {\n return Curry._1(apolloData.fetchMore, {\n variables: variables,\n updateQuery: updateQuery\n });\n }),\n networkStatus: Caml_option.nullable_to_opt(apolloData.networkStatus),\n subscribeToMore: (function ($$document, variables, updateQuery, onError, param) {\n return Curry._1(apolloData.subscribeToMore, {\n document: $$document,\n variables: variables,\n updateQuery: updateQuery,\n onError: onError\n });\n })\n };\n };\n var JsQuery = { };\n var ReasonApolloQuery$Make = function (Props) {\n var variables = Props.variables;\n var pollInterval = Props.pollInterval;\n var notifyOnNetworkStatusChange = Props.notifyOnNetworkStatusChange;\n var fetchPolicy = Props.fetchPolicy;\n var errorPolicy = Props.errorPolicy;\n var ssr = Props.ssr;\n var displayName = Props.displayName;\n var skip = Props.skip;\n var onCompleted = Props.onCompleted;\n var onError = Props.onError;\n var partialRefetch = Props.partialRefetch;\n var delay = Props.delay;\n var context = Props.context;\n var children = Props.children;\n var tmp = {\n query: graphqlQueryAST,\n children: (function (apolloData) {\n return Curry._1(children, convertJsInputToReason(apolloData));\n })\n };\n if (variables !== undefined) {\n tmp.variables = Caml_option.valFromOption(variables);\n }\n if (pollInterval !== undefined) {\n tmp.pollInterval = Caml_option.valFromOption(pollInterval);\n }\n if (notifyOnNetworkStatusChange !== undefined) {\n tmp.notifyOnNetworkStatusChange = Caml_option.valFromOption(notifyOnNetworkStatusChange);\n }\n if (fetchPolicy !== undefined) {\n tmp.fetchPolicy = Caml_option.valFromOption(fetchPolicy);\n }\n if (errorPolicy !== undefined) {\n tmp.errorPolicy = Caml_option.valFromOption(errorPolicy);\n }\n if (ssr !== undefined) {\n tmp.ssr = Caml_option.valFromOption(ssr);\n }\n if (displayName !== undefined) {\n tmp.displayName = Caml_option.valFromOption(displayName);\n }\n if (skip !== undefined) {\n tmp.skip = Caml_option.valFromOption(skip);\n }\n if (onCompleted !== undefined) {\n tmp.onCompleted = Caml_option.valFromOption(onCompleted);\n }\n if (onError !== undefined) {\n tmp.onError = Caml_option.valFromOption(onError);\n }\n if (partialRefetch !== undefined) {\n tmp.partialRefetch = Caml_option.valFromOption(partialRefetch);\n }\n if (delay !== undefined) {\n tmp.delay = Caml_option.valFromOption(delay);\n }\n if (context !== undefined) {\n tmp.context = Caml_option.valFromOption(context);\n }\n return React.createElement(ReactApollo.Query, tmp);\n };\n return {\n graphqlQueryAST: graphqlQueryAST,\n apolloDataToVariant: apolloDataToVariant,\n convertJsInputToReason: convertJsInputToReason,\n JsQuery: JsQuery,\n make: ReasonApolloQuery$Make\n };\n}\n\nexports.Make = Make;\n/* react Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/graphql-types/ReasonApolloQuery.bs.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Make\", function() { return Make; });\n/* harmony import */ var bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! bs-platform/lib/es6/block.js */ \"./node_modules/bs-platform/lib/es6/block.js\");\n/* harmony import */ var bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bs-platform/lib/es6/curry.js */ \"./node_modules/bs-platform/lib/es6/curry.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! bs-platform/lib/es6/caml_option.js */ \"./node_modules/bs-platform/lib/es6/caml_option.js\");\n/* harmony import */ var graphql_tag__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! graphql-tag */ \"./node_modules/graphql-tag/src/index.js\");\n/* harmony import */ var graphql_tag__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(graphql_tag__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react_apollo__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-apollo */ \"./node_modules/react-apollo/react-apollo.esm.js\");\n/* harmony import */ var bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! bs-platform/lib/es6/js_null_undefined.js */ \"./node_modules/bs-platform/lib/es6/js_null_undefined.js\");\n/* harmony import */ var _ReasonApolloUtils_bs_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../ReasonApolloUtils.bs.js */ \"./node_modules/reason-apollo/src/ReasonApolloUtils.bs.js\");\n// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\n\n\n\n\n\n\n\n\nfunction Make(Config) {\n var graphqlQueryAST = graphql_tag__WEBPACK_IMPORTED_MODULE_4___default.a(Config.query);\n var apolloDataToVariant = function (apolloData) {\n var match = apolloData.loading;\n var match$1 = _ReasonApolloUtils_bs_js__WEBPACK_IMPORTED_MODULE_7__[\"getNonEmptyObj\"](apolloData.data);\n var match$2 = apolloData.error;\n if (match) {\n return /* Loading */0;\n } else if (match$1 !== undefined) {\n return /* Data */bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](1, [bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](Config.parse, bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"valFromOption\"](match$1))]);\n } else if (match$2 == null) {\n return /* Error */bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](0, [{\n message: \"No data\",\n graphQLErrors: null,\n networkError: null\n }]);\n } else {\n return /* Error */bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](0, [match$2]);\n }\n };\n var convertJsInputToReason = function (apolloData) {\n var match = _ReasonApolloUtils_bs_js__WEBPACK_IMPORTED_MODULE_7__[\"getNonEmptyObj\"](apolloData.data);\n var tmp;\n if (match !== undefined) {\n var exit = 0;\n var parsedData;\n try {\n parsedData = bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](Config.parse, bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"valFromOption\"](match));\n exit = 1;\n }\n catch (exn){\n tmp = undefined;\n }\n if (exit === 1) {\n tmp = bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"some\"](parsedData);\n }\n \n } else {\n tmp = undefined;\n }\n var match$1 = apolloData.error;\n return {\n result: apolloDataToVariant(apolloData),\n data: tmp,\n error: (match$1 == null) ? undefined : match$1,\n loading: apolloData.loading,\n refetch: (function (variables) {\n return bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](apolloData.refetch, bs_platform_lib_es6_js_null_undefined_js__WEBPACK_IMPORTED_MODULE_6__[\"fromOption\"](variables)).then((function (data) {\n return Promise.resolve(apolloDataToVariant(data));\n }));\n }),\n fetchMore: (function (variables, updateQuery, param) {\n return bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](apolloData.fetchMore, {\n variables: variables,\n updateQuery: updateQuery\n });\n }),\n networkStatus: bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"nullable_to_opt\"](apolloData.networkStatus),\n subscribeToMore: (function ($$document, variables, updateQuery, onError, param) {\n return bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](apolloData.subscribeToMore, {\n document: $$document,\n variables: variables,\n updateQuery: updateQuery,\n onError: onError\n });\n })\n };\n };\n var JsQuery = { };\n var ReasonApolloQuery$Make = function (Props) {\n var variables = Props.variables;\n var pollInterval = Props.pollInterval;\n var notifyOnNetworkStatusChange = Props.notifyOnNetworkStatusChange;\n var fetchPolicy = Props.fetchPolicy;\n var errorPolicy = Props.errorPolicy;\n var ssr = Props.ssr;\n var displayName = Props.displayName;\n var skip = Props.skip;\n var onCompleted = Props.onCompleted;\n var onError = Props.onError;\n var partialRefetch = Props.partialRefetch;\n var delay = Props.delay;\n var context = Props.context;\n var children = Props.children;\n return react__WEBPACK_IMPORTED_MODULE_2__[\"createElement\"](react_apollo__WEBPACK_IMPORTED_MODULE_5__[\"Query\"], {\n query: graphqlQueryAST,\n variables: variables,\n pollInterval: pollInterval,\n notifyOnNetworkStatusChange: notifyOnNetworkStatusChange,\n fetchPolicy: fetchPolicy,\n errorPolicy: errorPolicy,\n ssr: ssr,\n displayName: displayName,\n skip: skip,\n onCompleted: onCompleted,\n onError: onError,\n partialRefetch: partialRefetch,\n delay: delay,\n context: context,\n children: (function (apolloData) {\n return bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](children, convertJsInputToReason(apolloData));\n })\n });\n };\n return {\n graphqlQueryAST: graphqlQueryAST,\n apolloDataToVariant: apolloDataToVariant,\n convertJsInputToReason: convertJsInputToReason,\n JsQuery: JsQuery,\n make: ReasonApolloQuery$Make\n };\n}\n\n\n/* react Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/graphql-types/ReasonApolloQuery.bs.js?"); /***/ }), @@ -1224,11 +1320,11 @@ eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Block = __web /*!*************************************************************************************!*\ !*** ./node_modules/reason-apollo/src/graphql-types/ReasonApolloSubscription.bs.js ***! \*************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: Make */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Block = __webpack_require__(/*! bs-platform/lib/js/block.js */ \"./node_modules/bs-platform/lib/js/block.js\");\nvar Curry = __webpack_require__(/*! bs-platform/lib/js/curry.js */ \"./node_modules/bs-platform/lib/js/curry.js\");\nvar React = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\nvar Caml_option = __webpack_require__(/*! bs-platform/lib/js/caml_option.js */ \"./node_modules/bs-platform/lib/js/caml_option.js\");\nvar GraphqlTag = __webpack_require__(/*! graphql-tag */ \"./node_modules/graphql-tag/src/index.js\");\nvar ReactApollo = __webpack_require__(/*! react-apollo */ \"./node_modules/react-apollo/react-apollo.esm.js\");\nvar ReasonApolloUtils = __webpack_require__(/*! ../ReasonApolloUtils.bs.js */ \"./node_modules/reason-apollo/src/ReasonApolloUtils.bs.js\");\n\nfunction Make(Config) {\n var graphQLSubscriptionAST = GraphqlTag.default(Config.query);\n var apolloDataToVariant = function (apolloData) {\n var match = apolloData.loading;\n var match$1 = ReasonApolloUtils.getNonEmptyObj(apolloData.data);\n var match$2 = apolloData.error;\n if (match) {\n return /* Loading */0;\n } else if (match$1 !== undefined) {\n return /* Data */Block.__(1, [Curry._1(Config.parse, Caml_option.valFromOption(match$1))]);\n } else if (match$2 == null) {\n return /* Error */Block.__(0, [{\n message: \"No data\",\n graphQLErrors: null,\n networkError: null\n }]);\n } else {\n return /* Error */Block.__(0, [match$2]);\n }\n };\n var convertJsInputToReason = function (apolloData) {\n var data = ReasonApolloUtils.getNonEmptyObj(apolloData.data);\n var tmp;\n if (data !== undefined) {\n var exit = 0;\n var parsedData;\n try {\n parsedData = Curry._1(Config.parse, Caml_option.valFromOption(data));\n exit = 1;\n }\n catch (exn){\n tmp = undefined;\n }\n if (exit === 1) {\n tmp = Caml_option.some(parsedData);\n }\n \n } else {\n tmp = undefined;\n }\n var error = apolloData.error;\n return {\n result: apolloDataToVariant(apolloData),\n data: tmp,\n error: !(error == null) ? error : undefined,\n loading: apolloData.loading\n };\n };\n var JsSubscription = { };\n var ReasonApolloSubscription$Make = function (Props) {\n var variables = Props.variables;\n var children = Props.children;\n return React.createElement(ReactApollo.Subscription, {\n subscription: graphQLSubscriptionAST,\n variables: variables,\n children: (function (apolloData) {\n return Curry._1(children, convertJsInputToReason(apolloData));\n })\n });\n };\n return {\n graphQLSubscriptionAST: graphQLSubscriptionAST,\n apolloDataToVariant: apolloDataToVariant,\n convertJsInputToReason: convertJsInputToReason,\n JsSubscription: JsSubscription,\n make: ReasonApolloSubscription$Make\n };\n}\n\nexports.Make = Make;\n/* react Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/graphql-types/ReasonApolloSubscription.bs.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Make\", function() { return Make; });\n/* harmony import */ var bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! bs-platform/lib/es6/block.js */ \"./node_modules/bs-platform/lib/es6/block.js\");\n/* harmony import */ var bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bs-platform/lib/es6/curry.js */ \"./node_modules/bs-platform/lib/es6/curry.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! bs-platform/lib/es6/caml_option.js */ \"./node_modules/bs-platform/lib/es6/caml_option.js\");\n/* harmony import */ var graphql_tag__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! graphql-tag */ \"./node_modules/graphql-tag/src/index.js\");\n/* harmony import */ var graphql_tag__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(graphql_tag__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react_apollo__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-apollo */ \"./node_modules/react-apollo/react-apollo.esm.js\");\n/* harmony import */ var _ReasonApolloUtils_bs_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../ReasonApolloUtils.bs.js */ \"./node_modules/reason-apollo/src/ReasonApolloUtils.bs.js\");\n// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\n\n\n\n\n\n\n\nfunction Make(Config) {\n var graphQLSubscriptionAST = graphql_tag__WEBPACK_IMPORTED_MODULE_4___default.a(Config.query);\n var apolloDataToVariant = function (apolloData) {\n var match = apolloData.loading;\n var match$1 = _ReasonApolloUtils_bs_js__WEBPACK_IMPORTED_MODULE_6__[\"getNonEmptyObj\"](apolloData.data);\n var match$2 = apolloData.error;\n if (match) {\n return /* Loading */0;\n } else if (match$1 !== undefined) {\n return /* Data */bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](1, [bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](Config.parse, bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"valFromOption\"](match$1))]);\n } else if (match$2 == null) {\n return /* Error */bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](0, [{\n message: \"No data\",\n graphQLErrors: null,\n networkError: null\n }]);\n } else {\n return /* Error */bs_platform_lib_es6_block_js__WEBPACK_IMPORTED_MODULE_0__[\"__\"](0, [match$2]);\n }\n };\n var convertJsInputToReason = function (apolloData) {\n var match = _ReasonApolloUtils_bs_js__WEBPACK_IMPORTED_MODULE_6__[\"getNonEmptyObj\"](apolloData.data);\n var tmp;\n if (match !== undefined) {\n var exit = 0;\n var parsedData;\n try {\n parsedData = bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](Config.parse, bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"valFromOption\"](match));\n exit = 1;\n }\n catch (exn){\n tmp = undefined;\n }\n if (exit === 1) {\n tmp = bs_platform_lib_es6_caml_option_js__WEBPACK_IMPORTED_MODULE_3__[\"some\"](parsedData);\n }\n \n } else {\n tmp = undefined;\n }\n var match$1 = apolloData.error;\n return {\n result: apolloDataToVariant(apolloData),\n data: tmp,\n error: (match$1 == null) ? undefined : match$1,\n loading: apolloData.loading\n };\n };\n var JsSubscription = { };\n var ReasonApolloSubscription$Make = function (Props) {\n var variables = Props.variables;\n var children = Props.children;\n return react__WEBPACK_IMPORTED_MODULE_2__[\"createElement\"](react_apollo__WEBPACK_IMPORTED_MODULE_5__[\"Subscription\"], {\n subscription: graphQLSubscriptionAST,\n variables: variables,\n children: (function (apolloData) {\n return bs_platform_lib_es6_curry_js__WEBPACK_IMPORTED_MODULE_1__[\"_1\"](children, convertJsInputToReason(apolloData));\n })\n });\n };\n return {\n graphQLSubscriptionAST: graphQLSubscriptionAST,\n apolloDataToVariant: apolloDataToVariant,\n convertJsInputToReason: convertJsInputToReason,\n JsSubscription: JsSubscription,\n make: ReasonApolloSubscription$Make\n };\n}\n\n\n/* react Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-apollo/src/graphql-types/ReasonApolloSubscription.bs.js?"); /***/ }), @@ -1236,11 +1332,11 @@ eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Block = __web /*!*****************************************************!*\ !*** ./node_modules/reason-react/src/ReactDOMRe.js ***! \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: renderToElementWithClassName, renderToElementWithId, hydrateToElementWithClassName, hydrateToElementWithId, Ref, createElementVariadic, Style */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("\n\nvar Block = __webpack_require__(/*! bs-platform/lib/js/block.js */ \"./node_modules/bs-platform/lib/js/block.js\");\nvar React = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\nvar ReactDom = __webpack_require__(/*! react-dom */ \"./node_modules/react-dom/index.js\");\nvar Caml_builtin_exceptions = __webpack_require__(/*! bs-platform/lib/js/caml_builtin_exceptions.js */ \"./node_modules/bs-platform/lib/js/caml_builtin_exceptions.js\");\n\nfunction renderToElementWithClassName(reactElement, className) {\n var elements = document.getElementsByClassName(className);\n if (elements.length !== 0) {\n ReactDom.render(reactElement, elements[0]);\n return ;\n } else {\n console.error(\"ReactDOMRe.renderToElementWithClassName: no element of class \" + (className + \" found in the HTML.\"));\n return ;\n }\n}\n\nfunction renderToElementWithId(reactElement, id) {\n var element = document.getElementById(id);\n if (element == null) {\n console.error(\"ReactDOMRe.renderToElementWithId : no element of id \" + (id + \" found in the HTML.\"));\n return ;\n } else {\n ReactDom.render(reactElement, element);\n return ;\n }\n}\n\nfunction createRootWithClassName(className) {\n var elements = document.getElementsByClassName(className);\n if (elements.length !== 0) {\n return /* Ok */Block.__(0, [ReactDom.createRoot(elements[0])]);\n } else {\n return /* Error */Block.__(1, [\"ReactDOMRe.Unstable.createRootWithClassName: no element of class \" + (className + \" found in the HTML.\")]);\n }\n}\n\nfunction createRootWithId(id) {\n var element = document.getElementById(id);\n if (element == null) {\n return /* Error */Block.__(1, [\"ReactDOMRe.Unstable.createRootWithId: no element of id \" + (id + \" found in the HTML.\")]);\n } else {\n return /* Ok */Block.__(0, [ReactDom.createRoot(element)]);\n }\n}\n\nvar Experimental = {\n createRootWithClassName: createRootWithClassName,\n createRootWithId: createRootWithId\n};\n\nfunction hydrateToElementWithClassName(reactElement, className) {\n var elements = document.getElementsByClassName(className);\n if (elements.length !== 0) {\n ReactDom.hydrate(reactElement, elements[0]);\n return ;\n } else {\n console.error(\"ReactDOMRe.hydrateToElementWithClassName: no element of class \" + (className + \" found in the HTML.\"));\n return ;\n }\n}\n\nfunction hydrateToElementWithId(reactElement, id) {\n var element = document.getElementById(id);\n if (element == null) {\n throw [\n Caml_builtin_exceptions.invalid_argument,\n \"ReactDOMRe.hydrateToElementWithId : no element of id \" + (id + \" found in the HTML.\")\n ];\n }\n ReactDom.hydrate(reactElement, element);\n \n}\n\nvar Ref = { };\n\nfunction createElementVariadic(domClassName, props, children) {\n var variadicArguments = [\n domClassName,\n props\n ].concat(children);\n return React.createElement.apply(null, variadicArguments);\n}\n\nfunction unsafeAddProp(style, key, value) {\n var dict = { };\n dict[key] = value;\n return Object.assign(({}), style, dict);\n}\n\nvar Style = {\n unsafeAddProp: unsafeAddProp\n};\n\nexports.renderToElementWithClassName = renderToElementWithClassName;\nexports.renderToElementWithId = renderToElementWithId;\nexports.Experimental = Experimental;\nexports.hydrateToElementWithClassName = hydrateToElementWithClassName;\nexports.hydrateToElementWithId = hydrateToElementWithId;\nexports.Ref = Ref;\nexports.createElementVariadic = createElementVariadic;\nexports.Style = Style;\n/* react Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-react/src/ReactDOMRe.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"renderToElementWithClassName\", function() { return renderToElementWithClassName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"renderToElementWithId\", function() { return renderToElementWithId; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"hydrateToElementWithClassName\", function() { return hydrateToElementWithClassName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"hydrateToElementWithId\", function() { return hydrateToElementWithId; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Ref\", function() { return Ref; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createElementVariadic\", function() { return createElementVariadic; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Style\", function() { return Style; });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ \"./node_modules/react-dom/index.js\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var bs_platform_lib_es6_caml_builtin_exceptions_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! bs-platform/lib/es6/caml_builtin_exceptions.js */ \"./node_modules/bs-platform/lib/es6/caml_builtin_exceptions.js\");\n\n\n\n\n\n\nfunction renderToElementWithClassName(reactElement, className) {\n var elements = document.getElementsByClassName(className);\n if (elements.length !== 0) {\n react_dom__WEBPACK_IMPORTED_MODULE_1__[\"render\"](reactElement, elements[0]);\n return /* () */0;\n } else {\n throw [\n bs_platform_lib_es6_caml_builtin_exceptions_js__WEBPACK_IMPORTED_MODULE_2__[\"invalid_argument\"],\n \"ReactDOMRe.renderToElementWithClassName: no element of class \" + (className + \" found in the HTML.\")\n ];\n }\n}\n\nfunction renderToElementWithId(reactElement, id) {\n var match = document.getElementById(id);\n if (match == null) {\n throw [\n bs_platform_lib_es6_caml_builtin_exceptions_js__WEBPACK_IMPORTED_MODULE_2__[\"invalid_argument\"],\n \"ReactDOMRe.renderToElementWithId : no element of id \" + (id + \" found in the HTML.\")\n ];\n } else {\n react_dom__WEBPACK_IMPORTED_MODULE_1__[\"render\"](reactElement, match);\n return /* () */0;\n }\n}\n\nfunction hydrateToElementWithClassName(reactElement, className) {\n var elements = document.getElementsByClassName(className);\n if (elements.length !== 0) {\n react_dom__WEBPACK_IMPORTED_MODULE_1__[\"hydrate\"](reactElement, elements[0]);\n return /* () */0;\n } else {\n throw [\n bs_platform_lib_es6_caml_builtin_exceptions_js__WEBPACK_IMPORTED_MODULE_2__[\"invalid_argument\"],\n \"ReactDOMRe.hydrateToElementWithClassName: no element of class \" + (className + \" found in the HTML.\")\n ];\n }\n}\n\nfunction hydrateToElementWithId(reactElement, id) {\n var match = document.getElementById(id);\n if (match == null) {\n throw [\n bs_platform_lib_es6_caml_builtin_exceptions_js__WEBPACK_IMPORTED_MODULE_2__[\"invalid_argument\"],\n \"ReactDOMRe.hydrateToElementWithId : no element of id \" + (id + \" found in the HTML.\")\n ];\n } else {\n react_dom__WEBPACK_IMPORTED_MODULE_1__[\"hydrate\"](reactElement, match);\n return /* () */0;\n }\n}\n\nvar Ref = /* module */[];\n\nfunction createElementVariadic(domClassName, props, children) {\n var variadicArguments = /* array */[\n domClassName,\n props\n ].concat(children);\n return react__WEBPACK_IMPORTED_MODULE_0__[\"createElement\"].apply(null, variadicArguments);\n}\n\nfunction combine(a, b) {\n return Object.assign(Object.assign({ }, a), b);\n}\n\nfunction unsafeAddProp(style, property, value) {\n var dict = { };\n dict[property] = value;\n return combine(style, dict);\n}\n\nvar Style = /* module */[\n /* combine */combine,\n /* unsafeAddProp */unsafeAddProp\n];\n\n\n/* react Not a pure module */\n\n\n//# sourceURL=webpack:///./node_modules/reason-react/src/ReactDOMRe.js?"); /***/ }), @@ -1608,7 +1704,7 @@ eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar React = __web /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Curry = __webpack_require__(/*! bs-platform/lib/js/curry.js */ \"./node_modules/bs-platform/lib/js/curry.js\");\nvar React = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\nvar ApolloHooks = __webpack_require__(/*! reason-apollo-hooks/src/ApolloHooks.bs.js */ \"./node_modules/reason-apollo-hooks/src/ApolloHooks.bs.js\");\nvar Belt_Option = __webpack_require__(/*! bs-platform/lib/js/belt_Option.js */ \"./node_modules/bs-platform/lib/js/belt_Option.js\");\nvar Caml_option = __webpack_require__(/*! bs-platform/lib/js/caml_option.js */ \"./node_modules/bs-platform/lib/js/caml_option.js\");\nvar LoadMore$ReactHooksTemplate = __webpack_require__(/*! ./LoadMore.bs.js */ \"./src/LoadMore.bs.js\");\nvar AddPerson$ReactHooksTemplate = __webpack_require__(/*! ./AddPerson.bs.js */ \"./src/AddPerson.bs.js\");\nvar EditPerson$ReactHooksTemplate = __webpack_require__(/*! ./EditPerson.bs.js */ \"./src/EditPerson.bs.js\");\nvar FilterByAge$ReactHooksTemplate = __webpack_require__(/*! ./FilterByAge.bs.js */ \"./src/FilterByAge.bs.js\");\nvar SubscribeToMore$ReactHooksTemplate = __webpack_require__(/*! ./SubscribeToMore.bs.js */ \"./src/SubscribeToMore.bs.js\");\nvar FilterByNameCache$ReactHooksTemplate = __webpack_require__(/*! ./FilterByNameCache.bs.js */ \"./src/FilterByNameCache.bs.js\");\nvar FilterByAgeErrorHandling$ReactHooksTemplate = __webpack_require__(/*! ./FilterByAgeErrorHandling.bs.js */ \"./src/FilterByAgeErrorHandling.bs.js\");\n\nvar filterName = \"Bob\";\n\nfunction Root(Props) {\n var match = React.useState((function () {\n return /* LoadMore */0;\n }));\n var setActiveExample = match[1];\n var activeExample = match[0];\n var editPersonRefetchQueries = function (param) {\n var query = FilterByAge$ReactHooksTemplate.PersonsOlderThanQuery.make(42, undefined);\n return [ApolloHooks.toQueryObj(query)];\n };\n var editPersonUpdate = function (client, mutationResult) {\n var data = Belt_Option.flatMap(mutationResult.data, (function (result) {\n return result.updatePerson;\n }));\n if (data !== undefined) {\n return FilterByNameCache$ReactHooksTemplate.updateCache(client, Caml_option.valFromOption(data), filterName);\n }\n \n };\n return React.createElement(React.Fragment, undefined, React.createElement(\"div\", {\n className: \"tabs\"\n }, React.createElement(\"button\", {\n className: \"tab\" + (\n /* LoadMore */0 === activeExample ? \" selected-tab\" : \"\"\n ),\n onClick: (function (param) {\n return Curry._1(setActiveExample, (function (param) {\n return /* LoadMore */0;\n }));\n })\n }, \"Load More\"), React.createElement(\"button\", {\n className: \"tab\" + (\n /* SubscribeToMore */1 === activeExample ? \" selected-tab\" : \"\"\n ),\n onClick: (function (param) {\n return Curry._1(setActiveExample, (function (param) {\n return /* SubscribeToMore */1;\n }));\n })\n }, \"Subscribe to More\")), React.createElement(\"div\", {\n className: \"tab-content\"\n }, activeExample ? React.createElement(React.Fragment, undefined, React.createElement(\"div\", {\n className: \"add-person-container\"\n }, React.createElement(\"div\", {\n className: \"add-person\"\n }, React.createElement(AddPerson$ReactHooksTemplate.make, { }))), React.createElement(SubscribeToMore$ReactHooksTemplate.make, { })) : React.createElement(React.Fragment, undefined, React.createElement(\"div\", {\n className: \"edit-person-container\"\n }, React.createElement(\"div\", {\n className: \"edit-person\"\n }, React.createElement(EditPerson$ReactHooksTemplate.make, {\n refetchQueries: editPersonRefetchQueries,\n update: editPersonUpdate\n }), React.createElement(FilterByAge$ReactHooksTemplate.make, {\n age: 42\n }), React.createElement(FilterByAgeErrorHandling$ReactHooksTemplate.make, {\n age: 42\n }), React.createElement(FilterByNameCache$ReactHooksTemplate.make, {\n name: filterName\n }))), React.createElement(LoadMore$ReactHooksTemplate.make, { }))));\n}\n\nvar filterAgeLimit = 42;\n\nvar make = Root;\n\nexports.filterAgeLimit = filterAgeLimit;\nexports.filterName = filterName;\nexports.make = make;\n/* react Not a pure module */\n\n\n//# sourceURL=webpack:///./src/Root.bs.js?"); +eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Curry = __webpack_require__(/*! bs-platform/lib/js/curry.js */ \"./node_modules/bs-platform/lib/js/curry.js\");\nvar React = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\nvar ApolloHooks = __webpack_require__(/*! reason-apollo-hooks/src/ApolloHooks.bs.js */ \"./node_modules/reason-apollo-hooks/src/ApolloHooks.bs.js\");\nvar Belt_Option = __webpack_require__(/*! bs-platform/lib/js/belt_Option.js */ \"./node_modules/bs-platform/lib/js/belt_Option.js\");\nvar Caml_option = __webpack_require__(/*! bs-platform/lib/js/caml_option.js */ \"./node_modules/bs-platform/lib/js/caml_option.js\");\nvar LoadMore$ReactHooksTemplate = __webpack_require__(/*! ./LoadMore.bs.js */ \"./src/LoadMore.bs.js\");\nvar AddPerson$ReactHooksTemplate = __webpack_require__(/*! ./AddPerson.bs.js */ \"./src/AddPerson.bs.js\");\nvar EditPerson$ReactHooksTemplate = __webpack_require__(/*! ./EditPerson.bs.js */ \"./src/EditPerson.bs.js\");\nvar FilterByAge$ReactHooksTemplate = __webpack_require__(/*! ./FilterByAge.bs.js */ \"./src/FilterByAge.bs.js\");\nvar SubscribeToMore$ReactHooksTemplate = __webpack_require__(/*! ./SubscribeToMore.bs.js */ \"./src/SubscribeToMore.bs.js\");\nvar FilterByNameCache$ReactHooksTemplate = __webpack_require__(/*! ./FilterByNameCache.bs.js */ \"./src/FilterByNameCache.bs.js\");\nvar LoadMoreFragments$ReactHooksTemplate = __webpack_require__(/*! ./fragments/LoadMoreFragments.bs.js */ \"./src/fragments/LoadMoreFragments.bs.js\");\nvar FilterByAgeFragment$ReactHooksTemplate = __webpack_require__(/*! ./fragments/FilterByAgeFragment.bs.js */ \"./src/fragments/FilterByAgeFragment.bs.js\");\nvar FilterByAgeErrorHandling$ReactHooksTemplate = __webpack_require__(/*! ./FilterByAgeErrorHandling.bs.js */ \"./src/FilterByAgeErrorHandling.bs.js\");\n\nvar filterName = \"Bob\";\n\nfunction Root(Props) {\n var match = React.useState((function () {\n return /* LoadMore */0;\n }));\n var setActiveExample = match[1];\n var activeExample = match[0];\n var editPersonRefetchQueries = function (param) {\n var query = FilterByAge$ReactHooksTemplate.PersonsOlderThanQuery.make(42, undefined);\n return [ApolloHooks.toQueryObj(query)];\n };\n var editPersonUpdate = function (client, mutationResult) {\n var data = Belt_Option.flatMap(mutationResult.data, (function (result) {\n return result.updatePerson;\n }));\n if (data !== undefined) {\n return FilterByNameCache$ReactHooksTemplate.updateCache(client, Caml_option.valFromOption(data), filterName);\n }\n \n };\n var tmp;\n switch (activeExample) {\n case /* LoadMore */0 :\n tmp = React.createElement(React.Fragment, undefined, React.createElement(\"div\", {\n className: \"edit-person-container\"\n }, React.createElement(\"div\", {\n className: \"edit-person\"\n }, React.createElement(EditPerson$ReactHooksTemplate.make, {\n refetchQueries: editPersonRefetchQueries,\n update: editPersonUpdate\n }), React.createElement(\"h3\", undefined, \"FilterByAge.re\"), React.createElement(FilterByAge$ReactHooksTemplate.make, {\n age: 42\n }), React.createElement(\"section\", undefined, React.createElement(\"title\", undefined, \"FilterByAgeErrorHandling.re\"), React.createElement(FilterByAgeErrorHandling$ReactHooksTemplate.make, {\n age: 42\n })), React.createElement(\"h3\", undefined, \"FilterByAgeFragment.re\"), React.createElement(FilterByAgeFragment$ReactHooksTemplate.make, {\n age: 42\n }), React.createElement(\"h3\", undefined, \"FilterByNameCache.re\"), React.createElement(FilterByNameCache$ReactHooksTemplate.make, {\n name: filterName\n }))), React.createElement(LoadMore$ReactHooksTemplate.make, { }));\n break;\n case /* LoadMoreFragments */1 :\n tmp = React.createElement(React.Fragment, undefined, React.createElement(\"div\", {\n className: \"edit-person-container\"\n }, React.createElement(\"div\", {\n className: \"edit-person\"\n }, React.createElement(EditPerson$ReactHooksTemplate.make, {\n refetchQueries: editPersonRefetchQueries,\n update: editPersonUpdate\n }), React.createElement(\"h3\", undefined, \"FilterByAge.re\"), React.createElement(FilterByAge$ReactHooksTemplate.make, {\n age: 42\n }), React.createElement(\"section\", undefined, React.createElement(\"title\", undefined, \"FilterByAgeErrorHandling.re\"), React.createElement(FilterByAgeErrorHandling$ReactHooksTemplate.make, {\n age: 42\n })), React.createElement(\"h3\", undefined, \"FilterByAgeFragment.re\"), React.createElement(FilterByAgeFragment$ReactHooksTemplate.make, {\n age: 42\n }), React.createElement(\"h3\", undefined, \"FilterByNameCache.re\"), React.createElement(FilterByNameCache$ReactHooksTemplate.make, {\n name: filterName\n }))), React.createElement(LoadMoreFragments$ReactHooksTemplate.make, { }));\n break;\n case /* SubscribeToMore */2 :\n tmp = React.createElement(React.Fragment, undefined, React.createElement(\"div\", {\n className: \"add-person-container\"\n }, React.createElement(\"div\", {\n className: \"add-person\"\n }, React.createElement(AddPerson$ReactHooksTemplate.make, { }))), React.createElement(SubscribeToMore$ReactHooksTemplate.make, { }));\n break;\n \n }\n return React.createElement(React.Fragment, undefined, React.createElement(\"div\", {\n className: \"tabs\"\n }, React.createElement(\"button\", {\n className: \"tab\" + (\n /* LoadMore */0 === activeExample ? \" selected-tab\" : \"\"\n ),\n onClick: (function (param) {\n return Curry._1(setActiveExample, (function (param) {\n return /* LoadMore */0;\n }));\n })\n }, \"Load More\"), React.createElement(\"button\", {\n className: \"tab\" + (\n /* SubscribeToMore */2 === activeExample ? \" selected-tab\" : \"\"\n ),\n onClick: (function (param) {\n return Curry._1(setActiveExample, (function (param) {\n return /* SubscribeToMore */2;\n }));\n })\n }, \"Subscribe to More\"), React.createElement(\"button\", {\n className: \"tab\" + (\n /* LoadMoreFragments */1 === activeExample ? \" selected-tab\" : \"\"\n ),\n onClick: (function (param) {\n return Curry._1(setActiveExample, (function (param) {\n return /* LoadMoreFragments */1;\n }));\n })\n }, \"Load More Fragments\")), React.createElement(\"div\", {\n className: \"tab-content\"\n }, tmp));\n}\n\nvar filterAgeLimit = 42;\n\nvar make = Root;\n\nexports.filterAgeLimit = filterAgeLimit;\nexports.filterName = filterName;\nexports.make = make;\n/* react Not a pure module */\n\n\n//# sourceURL=webpack:///./src/Root.bs.js?"); /***/ }), @@ -1624,6 +1720,42 @@ eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Curry = __web /***/ }), +/***/ "./src/fragments/FilterByAgeFragment.bs.js": +/*!*************************************************!*\ + !*** ./src/fragments/FilterByAgeFragment.bs.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Curry = __webpack_require__(/*! bs-platform/lib/js/curry.js */ \"./node_modules/bs-platform/lib/js/curry.js\");\nvar React = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\nvar Js_exn = __webpack_require__(/*! bs-platform/lib/js/js_exn.js */ \"./node_modules/bs-platform/lib/js/js_exn.js\");\nvar Js_dict = __webpack_require__(/*! bs-platform/lib/js/js_dict.js */ \"./node_modules/bs-platform/lib/js/js_dict.js\");\nvar Js_json = __webpack_require__(/*! bs-platform/lib/js/js_json.js */ \"./node_modules/bs-platform/lib/js/js_json.js\");\nvar Js_option = __webpack_require__(/*! bs-platform/lib/js/js_option.js */ \"./node_modules/bs-platform/lib/js/js_option.js\");\nvar ApolloHooks = __webpack_require__(/*! reason-apollo-hooks/src/ApolloHooks.bs.js */ \"./node_modules/reason-apollo-hooks/src/ApolloHooks.bs.js\");\nvar Caml_option = __webpack_require__(/*! bs-platform/lib/js/caml_option.js */ \"./node_modules/bs-platform/lib/js/caml_option.js\");\nvar Fragments$ReactHooksTemplate = __webpack_require__(/*! ./Fragments.bs.js */ \"./src/fragments/Fragments.bs.js\");\n\nvar ppx_printed_query = \"query getPersonsOlderThan($age: Int!) {\\nallPersons(filter: {age_gte: $age}) {\\n...\" + Fragments$ReactHooksTemplate.PersonFragment.Person.name + \" \\n}\\n\\n}\\n\" + Fragments$ReactHooksTemplate.PersonFragment.Person.query;\n\nfunction parse(value) {\n var value$1 = Js_option.getExn(Js_json.decodeObject(value));\n var value$2 = Js_dict.get(value$1, \"allPersons\");\n return {\n allPersons: value$2 !== undefined ? Js_option.getExn(Js_json.decodeArray(Caml_option.valFromOption(value$2))).map((function (value) {\n return Curry._1(Fragments$ReactHooksTemplate.PersonFragment.Person.parse, value);\n })) : Js_exn.raiseError(\"graphql_ppx: Field allPersons on type Query is missing\")\n };\n}\n\nfunction make(age, param) {\n return {\n query: ppx_printed_query,\n variables: Js_dict.fromArray([/* tuple */[\n \"age\",\n age\n ]].filter((function (param) {\n return !Js_json.test(param[1], /* Null */5);\n }))),\n parse: parse\n };\n}\n\nfunction makeWithVariables(variables) {\n var age = variables.age;\n return {\n query: ppx_printed_query,\n variables: Js_dict.fromArray([/* tuple */[\n \"age\",\n age\n ]].filter((function (param) {\n return !Js_json.test(param[1], /* Null */5);\n }))),\n parse: parse\n };\n}\n\nfunction makeVariables(age, param) {\n return Js_dict.fromArray([/* tuple */[\n \"age\",\n age\n ]].filter((function (param) {\n return !Js_json.test(param[1], /* Null */5);\n })));\n}\n\nfunction definition_002(graphql_ppx_use_json_variables_fn, age, param) {\n return Curry._1(graphql_ppx_use_json_variables_fn, Js_dict.fromArray([/* tuple */[\n \"age\",\n age\n ]].filter((function (param) {\n return !Js_json.test(param[1], /* Null */5);\n }))));\n}\n\nvar definition = /* tuple */[\n parse,\n ppx_printed_query,\n definition_002\n];\n\nfunction ret_type(f) {\n return { };\n}\n\nvar MT_Ret = { };\n\nvar PersonsOlderThanQuery = {\n ppx_printed_query: ppx_printed_query,\n query: ppx_printed_query,\n parse: parse,\n make: make,\n makeWithVariables: makeWithVariables,\n makeVariables: makeVariables,\n definition: definition,\n ret_type: ret_type,\n MT_Ret: MT_Ret\n};\n\nfunction FilterByAgeFragment(Props) {\n var age = Props.age;\n var match = ApolloHooks.useQuery(undefined, Caml_option.some(makeVariables(age, undefined)), undefined, undefined, undefined, undefined, undefined, undefined, definition);\n var simple = match[0];\n var tmp;\n tmp = typeof simple === \"number\" ? (\n simple === /* Loading */0 ? React.createElement(\"p\", undefined, \"Loading...\") : React.createElement(\"p\", undefined, \"Error\")\n ) : (\n simple.tag ? React.createElement(\"p\", undefined, \"Error\") : React.createElement(\"h3\", undefined, \"There are \" + (String(simple[0].allPersons.length) + (\" people older than \" + String(age))))\n );\n return React.createElement(\"div\", undefined, tmp);\n}\n\nvar make$1 = FilterByAgeFragment;\n\nexports.PersonsOlderThanQuery = PersonsOlderThanQuery;\nexports.make = make$1;\n/* react Not a pure module */\n\n\n//# sourceURL=webpack:///./src/fragments/FilterByAgeFragment.bs.js?"); + +/***/ }), + +/***/ "./src/fragments/Fragments.bs.js": +/*!***************************************!*\ + !*** ./src/fragments/Fragments.bs.js ***! + \***************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Js_exn = __webpack_require__(/*! bs-platform/lib/js/js_exn.js */ \"./node_modules/bs-platform/lib/js/js_exn.js\");\nvar Js_dict = __webpack_require__(/*! bs-platform/lib/js/js_dict.js */ \"./node_modules/bs-platform/lib/js/js_dict.js\");\nvar Js_json = __webpack_require__(/*! bs-platform/lib/js/js_json.js */ \"./node_modules/bs-platform/lib/js/js_json.js\");\nvar Js_option = __webpack_require__(/*! bs-platform/lib/js/js_option.js */ \"./node_modules/bs-platform/lib/js/js_option.js\");\nvar Caml_option = __webpack_require__(/*! bs-platform/lib/js/caml_option.js */ \"./node_modules/bs-platform/lib/js/caml_option.js\");\n\nvar ppx_printed_query = \"fragment person on Person {\\nid \\nname \\nage \\n}\\n\";\n\nfunction parse(value) {\n var value$1 = Js_option.getExn(Js_json.decodeObject(value));\n var value$2 = Js_dict.get(value$1, \"id\");\n var tmp;\n if (value$2 !== undefined) {\n var value$3 = Caml_option.valFromOption(value$2);\n var value$4 = Js_json.decodeString(value$3);\n tmp = value$4 !== undefined ? value$4 : Js_exn.raiseError(\"graphql_ppx: Expected string, got \" + JSON.stringify(value$3));\n } else {\n tmp = Js_exn.raiseError(\"graphql_ppx: Field id on type Person is missing\");\n }\n var value$5 = Js_dict.get(value$1, \"name\");\n var tmp$1;\n if (value$5 !== undefined) {\n var value$6 = Caml_option.valFromOption(value$5);\n var value$7 = Js_json.decodeString(value$6);\n tmp$1 = value$7 !== undefined ? value$7 : Js_exn.raiseError(\"graphql_ppx: Expected string, got \" + JSON.stringify(value$6));\n } else {\n tmp$1 = Js_exn.raiseError(\"graphql_ppx: Field name on type Person is missing\");\n }\n var value$8 = Js_dict.get(value$1, \"age\");\n var tmp$2;\n if (value$8 !== undefined) {\n var value$9 = Caml_option.valFromOption(value$8);\n var value$10 = Js_json.decodeNumber(value$9);\n tmp$2 = value$10 !== undefined ? value$10 | 0 : Js_exn.raiseError(\"graphql_ppx: Expected int, got \" + JSON.stringify(value$9));\n } else {\n tmp$2 = Js_exn.raiseError(\"graphql_ppx: Field age on type Person is missing\");\n }\n return {\n id: tmp,\n name: tmp$1,\n age: tmp$2\n };\n}\n\nfunction ret_type(f) {\n return { };\n}\n\nvar MT_Ret = { };\n\nvar Person = {\n ppx_printed_query: ppx_printed_query,\n query: ppx_printed_query,\n parse: parse,\n name: \"person\",\n ret_type: ret_type,\n MT_Ret: MT_Ret\n};\n\nvar PersonFragment = {\n Person: Person\n};\n\nvar ppx_printed_query$1 = \"fragment person on Person {\\nid \\n}\\n\";\n\nfunction parse$1(value) {\n var value$1 = Js_option.getExn(Js_json.decodeObject(value));\n var value$2 = Js_dict.get(value$1, \"id\");\n var tmp;\n if (value$2 !== undefined) {\n var value$3 = Caml_option.valFromOption(value$2);\n var value$4 = Js_json.decodeString(value$3);\n tmp = value$4 !== undefined ? value$4 : Js_exn.raiseError(\"graphql_ppx: Expected string, got \" + JSON.stringify(value$3));\n } else {\n tmp = Js_exn.raiseError(\"graphql_ppx: Field id on type Person is missing\");\n }\n return {\n id: tmp\n };\n}\n\nfunction ret_type$1(f) {\n return { };\n}\n\nvar MT_Ret$1 = { };\n\nvar Person$1 = {\n ppx_printed_query: ppx_printed_query$1,\n query: ppx_printed_query$1,\n parse: parse$1,\n name: \"person\",\n ret_type: ret_type$1,\n MT_Ret: MT_Ret$1\n};\n\nvar PersonIdFragment = {\n Person: Person$1\n};\n\nvar ppx_printed_query$2 = \"fragment person on Person {\\nage \\n}\\n\";\n\nfunction parse$2(value) {\n var value$1 = Js_option.getExn(Js_json.decodeObject(value));\n var value$2 = Js_dict.get(value$1, \"age\");\n var tmp;\n if (value$2 !== undefined) {\n var value$3 = Caml_option.valFromOption(value$2);\n var value$4 = Js_json.decodeNumber(value$3);\n tmp = value$4 !== undefined ? value$4 | 0 : Js_exn.raiseError(\"graphql_ppx: Expected int, got \" + JSON.stringify(value$3));\n } else {\n tmp = Js_exn.raiseError(\"graphql_ppx: Field age on type Person is missing\");\n }\n return {\n age: tmp\n };\n}\n\nfunction ret_type$2(f) {\n return { };\n}\n\nvar MT_Ret$2 = { };\n\nvar Person$2 = {\n ppx_printed_query: ppx_printed_query$2,\n query: ppx_printed_query$2,\n parse: parse$2,\n name: \"person\",\n ret_type: ret_type$2,\n MT_Ret: MT_Ret$2\n};\n\nvar PersonAgeFragment = {\n Person: Person$2\n};\n\nexports.PersonFragment = PersonFragment;\nexports.PersonIdFragment = PersonIdFragment;\nexports.PersonAgeFragment = PersonAgeFragment;\n/* No side effect */\n\n\n//# sourceURL=webpack:///./src/fragments/Fragments.bs.js?"); + +/***/ }), + +/***/ "./src/fragments/LoadMoreFragments.bs.js": +/*!***********************************************!*\ + !*** ./src/fragments/LoadMoreFragments.bs.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE\n\n\nvar Curry = __webpack_require__(/*! bs-platform/lib/js/curry.js */ \"./node_modules/bs-platform/lib/js/curry.js\");\nvar React = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\nvar Js_exn = __webpack_require__(/*! bs-platform/lib/js/js_exn.js */ \"./node_modules/bs-platform/lib/js/js_exn.js\");\nvar Js_dict = __webpack_require__(/*! bs-platform/lib/js/js_dict.js */ \"./node_modules/bs-platform/lib/js/js_dict.js\");\nvar Js_json = __webpack_require__(/*! bs-platform/lib/js/js_json.js */ \"./node_modules/bs-platform/lib/js/js_json.js\");\nvar Js_option = __webpack_require__(/*! bs-platform/lib/js/js_option.js */ \"./node_modules/bs-platform/lib/js/js_option.js\");\nvar ApolloHooks = __webpack_require__(/*! reason-apollo-hooks/src/ApolloHooks.bs.js */ \"./node_modules/reason-apollo-hooks/src/ApolloHooks.bs.js\");\nvar Caml_option = __webpack_require__(/*! bs-platform/lib/js/caml_option.js */ \"./node_modules/bs-platform/lib/js/caml_option.js\");\nvar Persons$ReactHooksTemplate = __webpack_require__(/*! ../Persons.bs.js */ \"./src/Persons.bs.js\");\nvar Fragments$ReactHooksTemplate = __webpack_require__(/*! ./Fragments.bs.js */ \"./src/fragments/Fragments.bs.js\");\n\nvar ppx_printed_query = \"query getAllPersons($skip: Int!, $first: Int!) {\\nallPersons(skip: $skip, first: $first) {\\n...\" + Fragments$ReactHooksTemplate.PersonFragment.Person.name + \" \\n}\\n\\n}\\n\" + Fragments$ReactHooksTemplate.PersonFragment.Person.query;\n\nfunction parse(value) {\n var value$1 = Js_option.getExn(Js_json.decodeObject(value));\n var value$2 = Js_dict.get(value$1, \"allPersons\");\n return {\n allPersons: value$2 !== undefined ? Js_option.getExn(Js_json.decodeArray(Caml_option.valFromOption(value$2))).map((function (value) {\n return Curry._1(Fragments$ReactHooksTemplate.PersonFragment.Person.parse, value);\n })) : Js_exn.raiseError(\"graphql_ppx: Field allPersons on type Query is missing\")\n };\n}\n\nfunction make(skip, first, param) {\n return {\n query: ppx_printed_query,\n variables: Js_dict.fromArray([\n /* tuple */[\n \"skip\",\n skip\n ],\n /* tuple */[\n \"first\",\n first\n ]\n ].filter((function (param) {\n return !Js_json.test(param[1], /* Null */5);\n }))),\n parse: parse\n };\n}\n\nfunction makeWithVariables(variables) {\n var skip = variables.skip;\n var first = variables.first;\n return {\n query: ppx_printed_query,\n variables: Js_dict.fromArray([\n /* tuple */[\n \"skip\",\n skip\n ],\n /* tuple */[\n \"first\",\n first\n ]\n ].filter((function (param) {\n return !Js_json.test(param[1], /* Null */5);\n }))),\n parse: parse\n };\n}\n\nfunction makeVariables(skip, first, param) {\n return Js_dict.fromArray([\n /* tuple */[\n \"skip\",\n skip\n ],\n /* tuple */[\n \"first\",\n first\n ]\n ].filter((function (param) {\n return !Js_json.test(param[1], /* Null */5);\n })));\n}\n\nfunction definition_002(graphql_ppx_use_json_variables_fn, skip, first, param) {\n return Curry._1(graphql_ppx_use_json_variables_fn, Js_dict.fromArray([\n /* tuple */[\n \"skip\",\n skip\n ],\n /* tuple */[\n \"first\",\n first\n ]\n ].filter((function (param) {\n return !Js_json.test(param[1], /* Null */5);\n }))));\n}\n\nvar definition = /* tuple */[\n parse,\n ppx_printed_query,\n definition_002\n];\n\nfunction ret_type(f) {\n return { };\n}\n\nvar MT_Ret = { };\n\nvar GetAllPersonsQuery = {\n ppx_printed_query: ppx_printed_query,\n query: ppx_printed_query,\n parse: parse,\n make: make,\n makeWithVariables: makeWithVariables,\n makeVariables: makeVariables,\n definition: definition,\n ret_type: ret_type,\n MT_Ret: MT_Ret\n};\n\nfunction LoadMoreFragments(Props) {\n var match = ApolloHooks.useQuery(undefined, Caml_option.some(makeVariables(0, 5, undefined)), true, undefined, undefined, undefined, undefined, undefined, definition);\n var full = match[1];\n var handleLoadMore = function (param) {\n var data = full.data;\n var skip = data !== undefined ? Caml_option.valFromOption(data).allPersons.length : 0;\n Curry._3(full.fetchMore, Caml_option.some(makeVariables(skip, 5, undefined)), (function(prevResult, { fetchMoreResult, ...rest }) {\n if (!fetchMoreResult) return prevResult;\n return {\n ...fetchMoreResult,\n allPersons: prevResult.allPersons.concat(fetchMoreResult.allPersons)\n };\n }), undefined);\n \n };\n var data = full.data;\n return React.createElement(\"div\", {\n className: \"person-list\"\n }, data !== undefined ? React.createElement(React.Fragment, undefined, React.createElement(Persons$ReactHooksTemplate.make, {\n persons: Caml_option.valFromOption(data).allPersons\n }), React.createElement(\"button\", {\n disabled: full.networkStatus === /* FetchMore */2,\n onClick: handleLoadMore\n }, \"Load more\")) : (\n full.loading ? React.createElement(\"p\", undefined, \"Loading...\") : (\n full.error !== undefined ? React.createElement(\"p\", undefined, \"Error\") : React.createElement(\"p\", undefined, \"Not asked\")\n )\n ));\n}\n\nvar personsPerPage = 5;\n\nvar make$1 = LoadMoreFragments;\n\nexports.GetAllPersonsQuery = GetAllPersonsQuery;\nexports.personsPerPage = personsPerPage;\nexports.make = make$1;\n/* react Not a pure module */\n\n\n//# sourceURL=webpack:///./src/fragments/LoadMoreFragments.bs.js?"); + +/***/ }), + /***/ "./src/styles.css": /*!************************!*\ !*** ./src/styles.css ***! diff --git a/examples/persons/src/Root.re b/examples/persons/src/Root.re index e377b03..302fdc2 100644 --- a/examples/persons/src/Root.re +++ b/examples/persons/src/Root.re @@ -5,6 +5,7 @@ let filterName = "Bob"; type example = | LoadMore + | LoadMoreFragments | SubscribeToMore; [@react.component] @@ -43,6 +44,11 @@ let make = () => { onClick={_ => setActiveExample(_ => SubscribeToMore)}> {React.string("Subscribe to More")} +
{switch (activeExample) { @@ -54,13 +60,46 @@ let make = () => { refetchQueries=editPersonRefetchQueries update=editPersonUpdate /> +

{React.string("FilterByAge.re")}

- +
+ + {React.string("FilterByAgeErrorHandling.re")} + + +
+

{React.string("FilterByAgeFragment.re")}

+ +

{React.string("FilterByNameCache.re")}

+ | LoadMoreFragments => + <> +
+
+ +

{React.string("FilterByAge.re")}

+ +
+ + {React.string("FilterByAgeErrorHandling.re")} + + +
+

{React.string("FilterByAgeFragment.re")}

+ +

{React.string("FilterByNameCache.re")}

+ +
+
+ + | SubscribeToMore => <>
@@ -71,4 +110,4 @@ let make = () => { }}
; -}; +}; \ No newline at end of file diff --git a/examples/persons/src/fragments/FilterByAgeFragment.re b/examples/persons/src/fragments/FilterByAgeFragment.re new file mode 100644 index 0000000..5a92f67 --- /dev/null +++ b/examples/persons/src/fragments/FilterByAgeFragment.re @@ -0,0 +1,37 @@ +open Fragments; +open ApolloHooks; + +module PersonsOlderThanQuery = [%graphql + {| + query getPersonsOlderThan($age: Int!) { + allPersons(filter: { age_gte: $age } ) { + ...PersonFragment.Person + } + } +|} +]; + +[@react.component] +let make = (~age) => { + let (simple, _full) = + useQuery( + ~variables=PersonsOlderThanQuery.makeVariables(~age, ()), + PersonsOlderThanQuery.definition, + ); + +
+ {switch (simple) { + | Loading =>

{React.string("Loading...")}

+ | Data(data) => +

+ {"There are " + ++ (data##allPersons->Belt.Array.length |> string_of_int) + ++ " people older than " + ++ string_of_int(age) + |> React.string} +

+ | NoData + | Error(_) =>

{React.string("Error")}

+ }} +
; +}; diff --git a/examples/persons/src/fragments/Fragments.re b/examples/persons/src/fragments/Fragments.re new file mode 100644 index 0000000..831f481 --- /dev/null +++ b/examples/persons/src/fragments/Fragments.re @@ -0,0 +1,48 @@ +// example of creating a fragment on a type available from your grapqlql-ppx types. + +// In this contrived example, here instead of using the following as seen in the `FilterByAge.re` +// module PersonsOlderThanQuery = [%graphql +// {| +// query getPersonsOlderThan($age: Int!) { +// allPersons(filter: { age_gte: $age } ) { +// id +// } +// } +// |} +// ]; + +// we can use the following as seen in `FilterByAgeFragment.re` +// ``` +// module PersonsOlderThanQuery = [%graphql +// {| +// query getPersonsOlderThan($age: Int!) { +// allPersons(filter: { age_gte: $age } ) { +// ...PersonFragment.Person +// } +// } +// |} +// ]; +// ``` +module PersonFragment = [%graphql + {| + fragment person on Person { + id + name + age + } +|} +]; +module PersonIdFragment = [%graphql + {| + fragment person on Person { + id + } +|} +]; +module PersonAgeFragment = [%graphql + {| + fragment person on Person { + age + } +|} +]; \ No newline at end of file diff --git a/examples/persons/src/fragments/LoadMoreFragments.re b/examples/persons/src/fragments/LoadMoreFragments.re new file mode 100644 index 0000000..ed22955 --- /dev/null +++ b/examples/persons/src/fragments/LoadMoreFragments.re @@ -0,0 +1,65 @@ +module GetAllPersonsQuery = [%graphql + {| + query getAllPersons($skip: Int!, $first: Int!) { + allPersons(skip: $skip, first: $first) { + ...Fragments.PersonFragment.Person + } + } + |} +]; + +let personsPerPage = 5; + +[@react.component] +let make = () => { + let (_simple, full) = + ApolloHooks.useQuery( + ~variables= + GetAllPersonsQuery.makeVariables(~skip=0, ~first=personsPerPage, ()), + ~notifyOnNetworkStatusChange=true, + GetAllPersonsQuery.definition, + ); + + let handleLoadMore = _ => { + let skip = + switch (full) { + | {data: Some(data)} => data##allPersons->Belt.Array.length + | _ => 0 + }; + + full.fetchMore( + ~variables= + GetAllPersonsQuery.makeVariables(~skip, ~first=personsPerPage, ()), + ~updateQuery=[%bs.raw + {| + function(prevResult, { fetchMoreResult, ...rest }) { + if (!fetchMoreResult) return prevResult; + return { + ...fetchMoreResult, + allPersons: prevResult.allPersons.concat(fetchMoreResult.allPersons) + }; + } + |} + ], + (), + ) + |> ignore; + }; + +
+ {switch (full) { + | {loading: true, data: None} =>

{React.string("Loading...")}

+ | {data: Some(data)} => + <> + + + + | {error: Some(_)} =>

{React.string("Error")}

+ | {error: None, data: None, loading: false} => +

{React.string("Not asked")}

+ }} +
; +}; diff --git a/yarn.lock b/yarn.lock index 56e6d45..4b5e638 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,167 +2,172 @@ # yarn lockfile v1 -"@apollo/react-common@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@apollo/react-common/-/react-common-3.0.1.tgz#9c8f1433ddaddf80e471259126a76f1738dd4273" - integrity sha512-7SC4qqPFo/41AhaQKCRovIshKkm4JLEGXyRHi+NPsaNJyk2J/HrWREnlHVqoPzYeIyq33f1L6j/NAkKn1NOnnQ== +"@apollo/react-common@^3.1.4": + version "3.1.4" + resolved "https://registry.yarnpkg.com/@apollo/react-common/-/react-common-3.1.4.tgz#ec13c985be23ea8e799c9ea18e696eccc97be345" + integrity sha512-X5Kyro73bthWSCBJUC5XYQqMnG0dLWuDZmVkzog9dynovhfiVCV4kPSdgSIkqnb++cwCzOVuQ4rDKVwo2XRzQA== dependencies: ts-invariant "^0.4.4" tslib "^1.10.0" "@apollo/react-hooks@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@apollo/react-hooks/-/react-hooks-3.0.1.tgz#83869beddcbb06cba05d50ccf05097191d245a9c" - integrity sha512-Boai/T+2z3m23Gy82m1pB+FOlrhkBJ//EIYa3pqX9sUsvgRWMKC+3NxpeHEUYqsf0qzFiM1dO4Pn9OxCFstM8g== + version "3.1.5" + resolved "https://registry.yarnpkg.com/@apollo/react-hooks/-/react-hooks-3.1.5.tgz#7e710be52461255ae7fc0b3b9c2ece64299c10e6" + integrity sha512-y0CJ393DLxIIkksRup4nt+vSjxalbZBXnnXxYbviq/woj+zKa431zy0yT4LqyRKpFy9ahMIwxBnBwfwIoupqLQ== dependencies: - "@apollo/react-common" "^3.0.1" + "@apollo/react-common" "^3.1.4" "@wry/equality" "^0.1.9" ts-invariant "^0.4.4" tslib "^1.10.0" "@babel/code-frame@^7.0.0": - version "7.5.5" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d" - integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw== + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.1.tgz#d5481c5095daa1c57e16e54c6f9198443afb49ff" + integrity sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw== dependencies: - "@babel/highlight" "^7.0.0" + "@babel/highlight" "^7.10.1" + +"@babel/helper-validator-identifier@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz#5770b0c1a826c4f53f5ede5e153163e0318e94b5" + integrity sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw== -"@babel/highlight@^7.0.0": - version "7.5.0" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa619591d02472be6e8cb32540" - integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ== +"@babel/highlight@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.1.tgz#841d098ba613ba1a427a2b383d79e35552c38ae0" + integrity sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg== dependencies: + "@babel/helper-validator-identifier" "^7.10.1" chalk "^2.0.0" - esutils "^2.0.2" js-tokens "^4.0.0" "@commitlint/cli@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-8.2.0.tgz#fbf9969e04e2162d985eaa644fdad6ce807aadb6" - integrity sha512-8fJ5pmytc38yw2QWbTTJmXLfSiWPwMkHH4govo9zJ/+ERPBF2jvlxD/dQvk24ezcizjKc6LFka2edYC4OQ+Dgw== - dependencies: - "@commitlint/format" "^8.2.0" - "@commitlint/lint" "^8.2.0" - "@commitlint/load" "^8.2.0" - "@commitlint/read" "^8.2.0" + version "8.3.5" + resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-8.3.5.tgz#6d93a3a8b2437fa978999d3f6a336bcc70be3fd3" + integrity sha512-6+L0vbw55UEdht71pgWOE55SRgb+8OHcEwGDB234VlIBFGK9P2QOBU7MHiYJ5cjdjCQ0rReNrGjOHmJ99jwf0w== + dependencies: + "@commitlint/format" "^8.3.4" + "@commitlint/lint" "^8.3.5" + "@commitlint/load" "^8.3.5" + "@commitlint/read" "^8.3.4" babel-polyfill "6.26.0" chalk "2.4.2" get-stdin "7.0.0" - lodash "4.17.14" + lodash "4.17.15" meow "5.0.0" resolve-from "5.0.0" resolve-global "1.0.0" "@commitlint/config-conventional@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-8.2.0.tgz#886a5538e3708e017ec2871e0cbce00f635d3102" - integrity sha512-HuwlHQ3DyVhpK9GHgTMhJXD8Zp8PGIQVpQGYh/iTrEU6TVxdRC61BxIDZvfWatCaiG617Z/U8maRAFrqFM4TqA== + version "8.3.4" + resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-8.3.4.tgz#fed13b3711690663b176c1f6b39c205a565618d2" + integrity sha512-w0Yc5+aVAjZgjYqx29igBOnVCj8O22gy3Vo6Fyp7PwoS7+AYS1x3sN7IBq6i7Ae15Mv5P+rEx1pkxXo5zOMe4g== + dependencies: + conventional-changelog-conventionalcommits "4.2.1" -"@commitlint/ensure@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-8.2.0.tgz#fad0c81c3d3bd09aa5fbcbcc483ae1f39bc8af8f" - integrity sha512-XZZih/kcRrqK7lEORbSYCfqQw6byfsFbLygRGVdJMlCPGu9E2MjpwCtoj5z7y/lKfUB3MJaBhzn2muJqS1gC6A== +"@commitlint/ensure@^8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-8.3.4.tgz#6931677e4ca0fde71686ae3b7a367261647a341d" + integrity sha512-8NW77VxviLhD16O3EUd02lApMFnrHexq10YS4F4NftNoErKbKaJ0YYedktk2boKrtNRf/gQHY/Qf65edPx4ipw== dependencies: - lodash "4.17.14" + lodash "4.17.15" -"@commitlint/execute-rule@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-8.2.0.tgz#aefb3744e22613660adefb7ebcccaa60bd24e78d" - integrity sha512-9MBRthHaulbWTa8ReG2Oii2qc117NuvzhZdnkuKuYLhker7sUXGFcVhLanuWUKGyfyI2o9zVr/NHsNbCCsTzAA== +"@commitlint/execute-rule@^8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-8.3.4.tgz#1b63f0713b197889d90b76f9eea1abc010d256b1" + integrity sha512-f4HigYjeIBn9f7OuNv5zh2y5vWaAhNFrfeul8CRJDy82l3Y+09lxOTGxfF3uMXKrZq4LmuK6qvvRCZ8mUrVvzQ== -"@commitlint/format@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-8.2.0.tgz#0a2447fadac7c0421ce8a8d7e27dfa2172c737d4" - integrity sha512-sA77agkDEMsEMrlGhrLtAg8vRexkOofEEv/CZX+4xlANyAz2kNwJvMg33lcL65CBhqKEnRRJRxfZ1ZqcujdKcQ== +"@commitlint/format@^8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-8.3.4.tgz#7cd1f0ba5a3289c8d14d7dac29ee1fc1597fe1d9" + integrity sha512-809wlQ/ND6CLZON+w2Rb3YM2TLNDfU2xyyqpZeqzf2reJNpySMSUAeaO/fNDJSOKIsOsR3bI01rGu6hv28k+Nw== dependencies: chalk "^2.0.1" -"@commitlint/is-ignored@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-8.2.0.tgz#b6409ab28bf5a80f25e14da17da3916adb230a89" - integrity sha512-ADaGnKfbfV6KD1pETp0Qf7XAyc75xTy3WJlbvPbwZ4oPdBMsXF0oXEEGMis6qABfU2IXan5/KAJgAFX3vdd0jA== +"@commitlint/is-ignored@^8.3.5": + version "8.3.5" + resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-8.3.5.tgz#e6f59496e1b1ce58020d519cd578ad0f43169199" + integrity sha512-Zo+8a6gJLFDTqyNRx53wQi/XTiz8mncvmWf/4oRG+6WRcBfjSSHY7KPVj5Y6UaLy2EgZ0WQ2Tt6RdTDeQiQplA== dependencies: - "@types/semver" "^6.0.1" - semver "6.2.0" + semver "6.3.0" -"@commitlint/lint@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-8.2.0.tgz#aadc606379f3550eb877f16d4f5b103639cbf92a" - integrity sha512-ch9JN8aR37ufdjoWv50jLfvFz9rWMgLW5HEkMGLsM/51gjekmQYS5NJg8S2+6F5+jmralAO7VkUMI6FukXKX0A== +"@commitlint/lint@^8.3.5": + version "8.3.5" + resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-8.3.5.tgz#627e75adb1cc803cc723e33cc2ba4aa27cbb9f0c" + integrity sha512-02AkI0a6PU6rzqUvuDkSi6rDQ2hUgkq9GpmdJqfai5bDbxx2939mK4ZO+7apbIh4H6Pae7EpYi7ffxuJgm+3hQ== dependencies: - "@commitlint/is-ignored" "^8.2.0" - "@commitlint/parse" "^8.2.0" - "@commitlint/rules" "^8.2.0" + "@commitlint/is-ignored" "^8.3.5" + "@commitlint/parse" "^8.3.4" + "@commitlint/rules" "^8.3.4" babel-runtime "^6.23.0" - lodash "4.17.14" + lodash "4.17.15" -"@commitlint/load@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-8.2.0.tgz#9ca53a0c795e4f63d796b4d42279e856549add1a" - integrity sha512-EV6PfAY/p83QynNd1llHxJiNxKmp43g8+7dZbyfHFbsGOdokrCnoelAVZ+WGgktXwLN/uXyfkcIAxwac015UYw== +"@commitlint/load@^8.3.5": + version "8.3.5" + resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-8.3.5.tgz#3f059225ede92166ba94cf4c48e3d67c8b08b18a" + integrity sha512-poF7R1CtQvIXRmVIe63FjSQmN9KDqjRtU5A6hxqXBga87yB2VUJzic85TV6PcQc+wStk52cjrMI+g0zFx+Zxrw== dependencies: - "@commitlint/execute-rule" "^8.2.0" - "@commitlint/resolve-extends" "^8.2.0" + "@commitlint/execute-rule" "^8.3.4" + "@commitlint/resolve-extends" "^8.3.5" babel-runtime "^6.23.0" chalk "2.4.2" cosmiconfig "^5.2.0" - lodash "4.17.14" + lodash "4.17.15" resolve-from "^5.0.0" -"@commitlint/message@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-8.2.0.tgz#bdc0388183f6bc6006c7e7e197a721683011907a" - integrity sha512-LNsSwDLIFgE3nb/Sb1PIluYNy4Q8igdf4tpJCdv5JJDf7CZCZt3ZTglj0YutZZorpRRuHJsVIB2+dI4bVH3bFw== +"@commitlint/message@^8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-8.3.4.tgz#b4e50d14aa6e15a5ad0767b952a7953f3681d768" + integrity sha512-nEj5tknoOKXqBsaQtCtgPcsAaf5VCg3+fWhss4Vmtq40633xLq0irkdDdMEsYIx8rGR0XPBTukqzln9kAWCkcA== -"@commitlint/parse@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-8.2.0.tgz#de80137e89ee5a2d3029656c9b33e90c88c6f56c" - integrity sha512-vzouqroTXG6QXApkrps0gbeSYW6w5drpUk7QAeZIcaCSPsQXDM8eqqt98ZzlzLJHo5oPNXPX1AAVSTrssvHemA== +"@commitlint/parse@^8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-8.3.4.tgz#d741f8b9104b35d0f4c10938165b20cbf167f81e" + integrity sha512-b3uQvpUQWC20EBfKSfMRnyx5Wc4Cn778bVeVOFErF/cXQK725L1bYFvPnEjQO/GT8yGVzq2wtLaoEqjm1NJ/Bw== dependencies: conventional-changelog-angular "^1.3.3" - conventional-commits-parser "^2.1.0" + conventional-commits-parser "^3.0.0" lodash "^4.17.11" -"@commitlint/read@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/read/-/read-8.2.0.tgz#54c6549723d532c74434ee0d74e0459032dc9159" - integrity sha512-1tBai1VuSQmsOTsvJr3Fi/GZqX3zdxRqYe/yN4i3cLA5S2Y4QGJ5I3l6nGZlKgm/sSelTCVKHltrfWU8s5H7SA== +"@commitlint/read@^8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@commitlint/read/-/read-8.3.4.tgz#81a34283d8cd7b2acdf57829a91761e9c7791455" + integrity sha512-FKv1kHPrvcAG5j+OSbd41IWexsbLhfIXpxVC/YwQZO+FR0EHmygxQNYs66r+GnhD1EfYJYM4WQIqd5bJRx6OIw== dependencies: - "@commitlint/top-level" "^8.2.0" + "@commitlint/top-level" "^8.3.4" "@marionebl/sander" "^0.6.0" babel-runtime "^6.23.0" - git-raw-commits "^1.3.0" + git-raw-commits "^2.0.0" -"@commitlint/resolve-extends@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-8.2.0.tgz#b7f2f0c71c10f24b98a199ed11d2c14cfd7a318f" - integrity sha512-cwi0HUsDcD502HBP8huXfTkVuWmeo1Fiz3GKxNwMBBsJV4+bKa7QrtxbNpXhVuarX7QjWfNTvmW6KmFS7YK9uw== +"@commitlint/resolve-extends@^8.3.5": + version "8.3.5" + resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-8.3.5.tgz#8fff800f292ac217ae30b1862f5f9a84b278310a" + integrity sha512-nHhFAK29qiXNe6oH6uG5wqBnCR+BQnxlBW/q5fjtxIaQALgfoNLHwLS9exzbIRFqwJckpR6yMCfgMbmbAOtklQ== dependencies: - "@types/node" "^12.0.2" import-fresh "^3.0.0" - lodash "4.17.14" + lodash "4.17.15" resolve-from "^5.0.0" resolve-global "^1.0.0" -"@commitlint/rules@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-8.2.0.tgz#4cd6a323ca1a3f3d33ae6dc723f8c88f3dcde347" - integrity sha512-FlqSBBP2Gxt5Ibw+bxdYpzqYR6HI8NIBpaTBhAjSEAduQtdWFMOhF0zsgkwH7lHN7opaLcnY2fXxAhbzTmJQQA== +"@commitlint/rules@^8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-8.3.4.tgz#41da7e16c6b89af268fe81c87a158c1fd2ac82b1" + integrity sha512-xuC9dlqD5xgAoDFgnbs578cJySvwOSkMLQyZADb1xD5n7BNcUJfP8WjT9W1Aw8K3Wf8+Ym/ysr9FZHXInLeaRg== dependencies: - "@commitlint/ensure" "^8.2.0" - "@commitlint/message" "^8.2.0" - "@commitlint/to-lines" "^8.2.0" + "@commitlint/ensure" "^8.3.4" + "@commitlint/message" "^8.3.4" + "@commitlint/to-lines" "^8.3.4" babel-runtime "^6.23.0" -"@commitlint/to-lines@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-8.2.0.tgz#dddb5916a457e1a79e437115a9b8eac7bf9ad52a" - integrity sha512-LXTYG3sMenlN5qwyTZ6czOULVcx46uMy+MEVqpvCgptqr/MZcV/C2J+S2o1DGwj1gOEFMpqrZaE3/1R2Q+N8ng== +"@commitlint/to-lines@^8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-8.3.4.tgz#ce24963b6d86dbe51d88d5e3028ab28f38562e2e" + integrity sha512-5AvcdwRsMIVq0lrzXTwpbbG5fKRTWcHkhn/hCXJJ9pm1JidsnidS1y0RGkb3O50TEHGewhXwNoavxW9VToscUA== -"@commitlint/top-level@^8.2.0": - version "8.2.0" - resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-8.2.0.tgz#206e7cbc54dbe9494190677f887dd60943fed5b0" - integrity sha512-Yaw4KmYNy31/HhRUuZ+fupFcDalnfpdu4JGBgGAqS9aBHdMSSWdWqtAaDaxdtWjTZeN3O0sA2gOhXwvKwiDwvw== +"@commitlint/top-level@^8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-8.3.4.tgz#803fc6e8f5be5efa5f3551761acfca961f1d8685" + integrity sha512-nOaeLBbAqSZNpKgEtO6NAxmui1G8ZvLG+0wb4rvv6mWhPDzK1GNZkCd8FUZPahCoJ1iHDoatw7F8BbJLg4nDjg== dependencies: find-up "^4.0.0" @@ -175,25 +180,25 @@ mkdirp "^0.5.1" rimraf "^2.5.2" -"@nodelib/fs.scandir@2.1.2": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.2.tgz#1f981cd5b83e85cfdeb386fc693d4baab392fa54" - integrity sha512-wrIBsjA5pl13f0RN4Zx4FNWmU71lv03meGKnqRUoCyan17s4V3WL92f3w3AIuWbNnpcrQyFBU5qMavJoB8d27w== +"@nodelib/fs.scandir@2.1.3": + version "2.1.3" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" + integrity sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw== dependencies: - "@nodelib/fs.stat" "2.0.2" + "@nodelib/fs.stat" "2.0.3" run-parallel "^1.1.9" -"@nodelib/fs.stat@2.0.2", "@nodelib/fs.stat@^2.0.1": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.2.tgz#2762aea8fe78ea256860182dcb52d61ee4b8fda6" - integrity sha512-z8+wGWV2dgUhLqrtRYa03yDx4HWMvXKi1z8g3m2JyxAx8F7xk74asqPk5LAETjqDSGLFML/6CDl0+yFunSYicw== +"@nodelib/fs.stat@2.0.3", "@nodelib/fs.stat@^2.0.2": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz#34dc5f4cabbc720f4e60f75a747e7ecd6c175bd3" + integrity sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA== -"@nodelib/fs.walk@^1.2.1": - version "1.2.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.3.tgz#a555dc256acaf00c62b0db29529028dd4d4cb141" - integrity sha512-l6t8xEhfK9Sa4YO5mIRdau7XSOADfmh3jCr0evNHdY+HNkW6xuQhgMH7D73VV6WpZOagrW0UludvMTiifiwTfA== +"@nodelib/fs.walk@^1.2.3": + version "1.2.4" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz#011b9202a70a6366e436ca5c065844528ab04976" + integrity sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ== dependencies: - "@nodelib/fs.scandir" "2.1.2" + "@nodelib/fs.scandir" "2.1.3" fastq "^1.6.0" "@samverschueren/stream-to-observable@^0.3.0": @@ -203,17 +208,11 @@ dependencies: any-observable "^0.3.0" -"@types/events@*": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" - integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== - "@types/glob@^7.1.1": - version "7.1.1" - resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575" - integrity sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w== + version "7.1.2" + resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.2.tgz#06ca26521353a545d94a0adc74f38a59d232c987" + integrity sha512-VgNIkxK+j7Nz5P7jvUZlRvhuPSmsEfS03b0alKcq5V/STUKAa3Plemsn5mrQUO7am6OErJ4rhGEGJbACclrtRA== dependencies: - "@types/events" "*" "@types/minimatch" "*" "@types/node" "*" @@ -222,31 +221,21 @@ resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== -"@types/node@*": - version "12.7.8" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.8.tgz#cb1bf6800238898bc2ff6ffa5702c3cadd350708" - integrity sha512-FMdVn84tJJdV+xe+53sYiZS4R5yn1mAIxfj+DVoNiQjTYz1+OYmjwEZr1ev9nU0axXwda0QDbYl06QHanRVH3A== - -"@types/node@>=6": - version "12.7.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.2.tgz#c4e63af5e8823ce9cc3f0b34f7b998c2171f0c44" - integrity sha512-dyYO+f6ihZEtNPDcWNR1fkoTDf3zAK3lAABDze3mz6POyIercH0lEUawUFXlG8xaQZmm1yEBON/4TsYv/laDYg== +"@types/minimist@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.0.tgz#69a23a3ad29caf0097f06eda59b361ee2f0639f6" + integrity sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY= -"@types/node@^12.0.2": - version "12.7.11" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.11.tgz#be879b52031cfb5d295b047f5462d8ef1a716446" - integrity sha512-Otxmr2rrZLKRYIybtdG/sgeO+tHY20GxeDjcGmUnmmlCWyEnv2a2x1ZXBo3BTec4OiTXMQCiazB8NMBf0iRlFw== +"@types/node@*", "@types/node@>=6": + version "14.0.13" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.13.tgz#ee1128e881b874c371374c1f72201893616417c9" + integrity sha512-rouEWBImiRaSJsVA+ITTFM6ZxibuAlTuNOCyxVbwreu6k6+ujs7DfnU9o+PShFhET78pMBl3eH+AGSI5eOTkPA== "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA== -"@types/semver@^6.0.1": - version "6.0.2" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-6.0.2.tgz#5e8b09f0e4af53034b1d0fb9977a277847836205" - integrity sha512-G1Ggy7/9Nsa1Jt2yiBR2riEuyK2DFNnqow6R7cromXPMNynackRY1vqFTLz/gwnef1LHokbXThcPhqMRjUbkpQ== - "@types/zen-observable@^0.8.0": version "0.8.0" resolved "https://registry.yarnpkg.com/@types/zen-observable/-/zen-observable-0.8.0.tgz#8b63ab7f1aa5321248aad5ac890a485656dcea4d" @@ -261,9 +250,9 @@ tslib "^1.9.3" "@wry/equality@^0.1.2", "@wry/equality@^0.1.9": - version "0.1.9" - resolved "https://registry.yarnpkg.com/@wry/equality/-/equality-0.1.9.tgz#b13e18b7a8053c6858aa6c85b54911fb31e3a909" - integrity sha512-mB6ceGjpMGz1ZTza8HYnrPGos2mC6So4NhS1PtZ8s4Qt0K7fBiIGhpSxUbQmhwcSWE3no+bYxmI2OL6KuXYmoQ== + version "0.1.11" + resolved "https://registry.yarnpkg.com/@wry/equality/-/equality-0.1.11.tgz#35cb156e4a96695aa81a9ecc4d03787bc17f1790" + integrity sha512-mwEVBDUVODlsQQ5dfuLUS5/Tf7jqUKyhKYHmVi4fPB6bDMOfWvUPJmKgS1Z7Za/sOI3vzWt4+O7yCiL/70MogA== dependencies: tslib "^1.9.3" @@ -276,12 +265,12 @@ JSONStream@^1.0.4: through ">=2.2.7 <3" aggregate-error@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.0.0.tgz#5b5a3c95e9095f311c9ab16c19fb4f3527cd3f79" - integrity sha512-yKD9kEoJIR+2IFqhMwayIBgheLYbB3PS2OBhWae1L/ODTd/JF/30cW0bc9TqzRL3k4U41Dieu3BF4I29p8xesA== + version "3.0.1" + resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.0.1.tgz#db2fe7246e536f40d9b5442a39e117d7dd6a24e0" + integrity sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA== dependencies: clean-stack "^2.0.0" - indent-string "^3.2.0" + indent-string "^4.0.0" ansi-escapes@^3.0.0: version "3.2.0" @@ -316,90 +305,90 @@ any-observable@^0.3.0: integrity sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog== apollo-cache-inmemory@^1.6.0: - version "1.6.3" - resolved "https://registry.yarnpkg.com/apollo-cache-inmemory/-/apollo-cache-inmemory-1.6.3.tgz#826861d20baca4abc45f7ca7a874105905b8525d" - integrity sha512-S4B/zQNSuYc0M/1Wq8dJDTIO9yRgU0ZwDGnmlqxGGmFombOZb9mLjylewSfQKmjNpciZ7iUIBbJ0mHlPJTzdXg== + version "1.6.6" + resolved "https://registry.yarnpkg.com/apollo-cache-inmemory/-/apollo-cache-inmemory-1.6.6.tgz#56d1f2a463a6b9db32e9fa990af16d2a008206fd" + integrity sha512-L8pToTW/+Xru2FFAhkZ1OA9q4V4nuvfoPecBM34DecAugUZEBhI2Hmpgnzq2hTKZ60LAMrlqiASm0aqAY6F8/A== dependencies: - apollo-cache "^1.3.2" - apollo-utilities "^1.3.2" + apollo-cache "^1.3.5" + apollo-utilities "^1.3.4" optimism "^0.10.0" ts-invariant "^0.4.0" - tslib "^1.9.3" + tslib "^1.10.0" -apollo-cache@1.3.2, apollo-cache@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/apollo-cache/-/apollo-cache-1.3.2.tgz#df4dce56240d6c95c613510d7e409f7214e6d26a" - integrity sha512-+KA685AV5ETEJfjZuviRTEImGA11uNBp/MJGnaCvkgr+BYRrGLruVKBv6WvyFod27WEB2sp7SsG8cNBKANhGLg== +apollo-cache@1.3.5, apollo-cache@^1.3.5: + version "1.3.5" + resolved "https://registry.yarnpkg.com/apollo-cache/-/apollo-cache-1.3.5.tgz#9dbebfc8dbe8fe7f97ba568a224bca2c5d81f461" + integrity sha512-1XoDy8kJnyWY/i/+gLTEbYLnoiVtS8y7ikBr/IfmML4Qb+CM7dEEbIUOjnY716WqmZ/UpXIxTfJsY7rMcqiCXA== dependencies: - apollo-utilities "^1.3.2" - tslib "^1.9.3" + apollo-utilities "^1.3.4" + tslib "^1.10.0" apollo-client@^2.6.3: - version "2.6.4" - resolved "https://registry.yarnpkg.com/apollo-client/-/apollo-client-2.6.4.tgz#872c32927263a0d34655c5ef8a8949fbb20b6140" - integrity sha512-oWOwEOxQ9neHHVZrQhHDbI6bIibp9SHgxaLRVPoGvOFy7OH5XUykZE7hBQAVxq99tQjBzgytaZffQkeWo1B4VQ== + version "2.6.10" + resolved "https://registry.yarnpkg.com/apollo-client/-/apollo-client-2.6.10.tgz#86637047b51d940c8eaa771a4ce1b02df16bea6a" + integrity sha512-jiPlMTN6/5CjZpJOkGeUV0mb4zxx33uXWdj/xQCfAMkuNAC3HN7CvYDyMHHEzmcQ5GV12LszWoQ/VlxET24CtA== dependencies: "@types/zen-observable" "^0.8.0" - apollo-cache "1.3.2" + apollo-cache "1.3.5" apollo-link "^1.0.0" - apollo-utilities "1.3.2" + apollo-utilities "1.3.4" symbol-observable "^1.0.2" ts-invariant "^0.4.0" - tslib "^1.9.3" + tslib "^1.10.0" zen-observable "^0.8.0" apollo-link-context@^1.0.18: - version "1.0.18" - resolved "https://registry.yarnpkg.com/apollo-link-context/-/apollo-link-context-1.0.18.tgz#9e700e3314da8ded50057fee0a18af2bfcedbfc3" - integrity sha512-aG5cbUp1zqOHHQjAJXG7n/izeMQ6LApd/whEF5z6qZp5ATvcyfSNkCfy3KRJMMZZ3iNfVTs6jF+IUA8Zvf+zeg== + version "1.0.20" + resolved "https://registry.yarnpkg.com/apollo-link-context/-/apollo-link-context-1.0.20.tgz#1939ac5dc65d6dff0c855ee53521150053c24676" + integrity sha512-MLLPYvhzNb8AglNsk2NcL9AvhO/Vc9hn2ZZuegbhRHGet3oGr0YH9s30NS9+ieoM0sGT11p7oZ6oAILM/kiRBA== dependencies: - apollo-link "^1.2.12" + apollo-link "^1.2.14" tslib "^1.9.3" apollo-link-error@^1.1.11: - version "1.1.11" - resolved "https://registry.yarnpkg.com/apollo-link-error/-/apollo-link-error-1.1.11.tgz#7cd363179616fb90da7866cee85cb00ee45d2f3b" - integrity sha512-442DNqn3CNRikDaenMMkoDmCRmkoUx/XyUMlRTZBEFdTw3FYPQLsmDO3hzzC4doY5/BHcn9/jdYh9EeLx4HPsA== + version "1.1.13" + resolved "https://registry.yarnpkg.com/apollo-link-error/-/apollo-link-error-1.1.13.tgz#c1a1bb876ffe380802c8df0506a32c33aad284cd" + integrity sha512-jAZOOahJU6bwSqb2ZyskEK1XdgUY9nkmeclCrW7Gddh1uasHVqmoYc4CKdb0/H0Y1J9lvaXKle2Wsw/Zx1AyUg== dependencies: - apollo-link "^1.2.12" - apollo-link-http-common "^0.2.14" + apollo-link "^1.2.14" + apollo-link-http-common "^0.2.16" tslib "^1.9.3" -apollo-link-http-common@^0.2.14, apollo-link-http-common@^0.2.5: - version "0.2.14" - resolved "https://registry.yarnpkg.com/apollo-link-http-common/-/apollo-link-http-common-0.2.14.tgz#d3a195c12e00f4e311c417f121181dcc31f7d0c8" - integrity sha512-v6mRU1oN6XuX8beVIRB6OpF4q1ULhSnmy7ScnHnuo1qV6GaFmDcbdvXqxIkAV1Q8SQCo2lsv4HeqJOWhFfApOg== +apollo-link-http-common@^0.2.16, apollo-link-http-common@^0.2.5: + version "0.2.16" + resolved "https://registry.yarnpkg.com/apollo-link-http-common/-/apollo-link-http-common-0.2.16.tgz#756749dafc732792c8ca0923f9a40564b7c59ecc" + integrity sha512-2tIhOIrnaF4UbQHf7kjeQA/EmSorB7+HyJIIrUjJOKBgnXwuexi8aMecRlqTIDWcyVXCeqLhUnztMa6bOH/jTg== dependencies: - apollo-link "^1.2.12" + apollo-link "^1.2.14" ts-invariant "^0.4.0" tslib "^1.9.3" apollo-link-http@^1.5.15: - version "1.5.15" - resolved "https://registry.yarnpkg.com/apollo-link-http/-/apollo-link-http-1.5.15.tgz#106ab23bb8997bd55965d05855736d33119652cf" - integrity sha512-epZFhCKDjD7+oNTVK3P39pqWGn4LEhShAoA1Q9e2tDrBjItNfviiE33RmcLcCURDYyW5JA6SMgdODNI4Is8tvQ== + version "1.5.17" + resolved "https://registry.yarnpkg.com/apollo-link-http/-/apollo-link-http-1.5.17.tgz#499e9f1711bf694497f02c51af12d82de5d8d8ba" + integrity sha512-uWcqAotbwDEU/9+Dm9e1/clO7hTB2kQ/94JYcGouBVLjoKmTeJTUPQKcJGpPwUjZcSqgYicbFqQSoJIW0yrFvg== dependencies: - apollo-link "^1.2.12" - apollo-link-http-common "^0.2.14" + apollo-link "^1.2.14" + apollo-link-http-common "^0.2.16" tslib "^1.9.3" apollo-link-ws@^1.0.18: - version "1.0.18" - resolved "https://registry.yarnpkg.com/apollo-link-ws/-/apollo-link-ws-1.0.18.tgz#281b9b0826d5fc7e2aa14d2784c5193d8b761112" - integrity sha512-nrWh9m7k1FQw1AK1GB1VTJS0o01cpsP2RYmTAh2j+P4lL2/72WgsblhbuF+yA1/jsgVrzg6xa+TNw3UwgGp3+g== + version "1.0.20" + resolved "https://registry.yarnpkg.com/apollo-link-ws/-/apollo-link-ws-1.0.20.tgz#dfad44121f8445c6d7b7f8101a1b24813ba008ed" + integrity sha512-mjSFPlQxmoLArpHBeUb2Xj+2HDYeTaJqFGOqQ+I8NVJxgL9lJe84PDWcPah/yMLv3rB7QgBDSuZ0xoRFBPlySw== dependencies: - apollo-link "^1.2.12" + apollo-link "^1.2.14" tslib "^1.9.3" -apollo-link@^1.0.0, apollo-link@^1.2.12, apollo-link@^1.2.3: - version "1.2.12" - resolved "https://registry.yarnpkg.com/apollo-link/-/apollo-link-1.2.12.tgz#014b514fba95f1945c38ad4c216f31bcfee68429" - integrity sha512-fsgIAXPKThyMVEMWQsUN22AoQI+J/pVXcjRGAShtk97h7D8O+SPskFinCGEkxPeQpE83uKaqafB2IyWdjN+J3Q== +apollo-link@^1.0.0, apollo-link@^1.2.12, apollo-link@^1.2.14, apollo-link@^1.2.3: + version "1.2.14" + resolved "https://registry.yarnpkg.com/apollo-link/-/apollo-link-1.2.14.tgz#3feda4b47f9ebba7f4160bef8b977ba725b684d9" + integrity sha512-p67CMEFP7kOG1JZ0ZkYZwRDa369w5PIjtMjvrQd/HnIV8FRsHRqLqK+oAZQnFa1DDdZtOtHTi+aMIW6EatC2jg== dependencies: apollo-utilities "^1.3.0" ts-invariant "^0.4.0" tslib "^1.9.3" - zen-observable-ts "^0.8.19" + zen-observable-ts "^0.8.21" apollo-upload-client@9.1.0: version "9.1.0" @@ -410,15 +399,15 @@ apollo-upload-client@9.1.0: apollo-link-http-common "^0.2.5" extract-files "^4.0.0" -apollo-utilities@1.3.2, apollo-utilities@^1.3.0, apollo-utilities@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.3.2.tgz#8cbdcf8b012f664cd6cb5767f6130f5aed9115c9" - integrity sha512-JWNHj8XChz7S4OZghV6yc9FNnzEXj285QYp/nLNh943iObycI5GTDO3NGR9Dth12LRrSFMeDOConPfPln+WGfg== +apollo-utilities@1.3.4, apollo-utilities@^1.3.0, apollo-utilities@^1.3.2, apollo-utilities@^1.3.4: + version "1.3.4" + resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.3.4.tgz#6129e438e8be201b6c55b0f13ce49d2c7175c9cf" + integrity sha512-pk2hiWrCXMAy2fRPwEyhvka+mqwzeP60Jr1tRYi5xru+3ko94HI9o6lK0CT33/w4RDlxWchmdhDCrvdr+pHCig== dependencies: "@wry/equality" "^0.1.2" fast-json-stable-stringify "^2.0.0" ts-invariant "^0.4.0" - tslib "^1.9.3" + tslib "^1.10.0" argparse@^1.0.7: version "1.0.10" @@ -447,6 +436,11 @@ arrify@^1.0.1: resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= +arrify@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" + integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== + async-limiter@~1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" @@ -495,9 +489,9 @@ braces@^3.0.1: fill-range "^7.0.1" bs-platform@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-7.0.1.tgz#1d7b0ef6088b998dceee5db74a7cd8f01c20a3bd" - integrity sha512-UjStdtHhbtC/l6vKJ1XRDqrPk7rFf5PLYHtRX3akDXEYVnTbN36z0g4DEr5mU8S0N945e33HYts9x+i7hKKpZQ== + version "7.3.2" + resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-7.3.2.tgz#301f5c9b4e8cf5713cb60ca22e145e56e793affe" + integrity sha512-seJL5g4anK9la4erv+B2o2sMHQCxDF6OCRl9en3hbaUos/S3JsusQ0sPp4ORsbx5eXfHLYBwPljwKXlgpXtsgQ== bsdoc@6.0.1-alpha: version "6.0.1-alpha" @@ -537,11 +531,30 @@ camelcase-keys@^4.0.0: map-obj "^2.0.0" quick-lru "^1.0.0" +camelcase-keys@^6.2.2: + version "6.2.2" + resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.2.2.tgz#5e755d6ba51aa223ec7d3d52f25778210f9dc3c0" + integrity sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg== + dependencies: + camelcase "^5.3.1" + map-obj "^4.0.0" + quick-lru "^4.0.1" + camelcase@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= +camelcase@^5.0.0, camelcase@^5.3.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + +camelcase@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.0.0.tgz#5259f7c30e35e278f1bdc2a4d91230b37cad981e" + integrity sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w== + chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -605,14 +618,14 @@ color-name@1.1.3: integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= commander@^2.20.0: - version "2.20.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422" - integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ== + version "2.20.3" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== compare-func@^1.3.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-1.3.2.tgz#99dd0ba457e1f9bc722b12c08ec33eeab31fa648" - integrity sha1-md0LpFfh+bxyKxLAjsM+6rMfpkg= + version "1.3.4" + resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-1.3.4.tgz#6b07c4c5e8341119baf44578085bda0f4a823516" + integrity sha512-sq2sWtrqKPkEXAC8tEJA1+BqAH9GbFkGBtUOqrUX57VSfwp8xyktctk+uLoRy5eccTdxzDcVIztlYDpKs3Jv1Q== dependencies: array-ify "^1.0.0" dot-prop "^3.0.0" @@ -630,23 +643,32 @@ conventional-changelog-angular@^1.3.3: compare-func "^1.3.1" q "^1.5.1" -conventional-commits-parser@^2.1.0: - version "2.1.7" - resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-2.1.7.tgz#eca45ed6140d72ba9722ee4132674d639e644e8e" - integrity sha512-BoMaddIEJ6B4QVMSDu9IkVImlGOSGA1I2BQyOZHeLQ6qVOJLcLKn97+fL6dGbzWEiqDzfH4OkcveULmeq2MHFQ== +conventional-changelog-conventionalcommits@4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.2.1.tgz#d6cb2e2c5d7bfca044a08b9dba84b4082e1a1bd9" + integrity sha512-vC02KucnkNNap+foDKFm7BVUSDAXktXrUJqGszUuYnt6T0J2azsbYz/w9TDc3VsrW2v6JOtiQWVcgZnporHr4Q== dependencies: - JSONStream "^1.0.4" - is-text-path "^1.0.0" + compare-func "^1.3.1" lodash "^4.2.1" - meow "^4.0.0" + q "^1.5.1" + +conventional-commits-parser@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.1.0.tgz#10140673d5e7ef5572633791456c5d03b69e8be4" + integrity sha512-RSo5S0WIwXZiRxUGTPuYFbqvrR4vpJ1BDdTlthFgvHt5kEdnd1+pdvwWphWn57/oIl4V72NMmOocFqqJ8mFFhA== + dependencies: + JSONStream "^1.0.4" + is-text-path "^1.0.1" + lodash "^4.17.15" + meow "^7.0.0" split2 "^2.0.0" - through2 "^2.0.0" + through2 "^3.0.0" trim-off-newlines "^1.0.0" core-js@^2.4.0, core-js@^2.5.0: - version "2.6.9" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2" - integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A== + version "2.6.11" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c" + integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg== core-util-is@~1.0.0: version "1.0.2" @@ -663,7 +685,7 @@ cosmiconfig@^5.2.0, cosmiconfig@^5.2.1: js-yaml "^3.13.1" parse-json "^4.0.0" -cross-spawn@^6.0.0, cross-spawn@^6.0.5: +cross-spawn@^6.0.0: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== @@ -674,6 +696,15 @@ cross-spawn@^6.0.0, cross-spawn@^6.0.5: shebang-command "^1.2.0" which "^1.2.9" +cross-spawn@^7.0.0: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + currently-unhandled@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea" @@ -681,12 +712,10 @@ currently-unhandled@^0.4.1: dependencies: array-find-index "^1.0.1" -dargs@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/dargs/-/dargs-4.1.0.tgz#03a9dbb4b5c2f139bf14ae53f0b8a2a6a86f4e17" - integrity sha1-A6nbtLXC8Tm/FK5T8LiipqhvThc= - dependencies: - number-is-nan "^1.0.0" +dargs@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" + integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== date-fns@^1.27.2: version "1.30.1" @@ -700,7 +729,7 @@ debug@^4.1.1: dependencies: ms "^2.1.1" -decamelize-keys@^1.0.0: +decamelize-keys@^1.0.0, decamelize-keys@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.0.tgz#d171a87933252807eb3cb61dc1c1445d078df2d9" integrity sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk= @@ -708,7 +737,7 @@ decamelize-keys@^1.0.0: decamelize "^1.1.0" map-obj "^1.0.0" -decamelize@^1.1.0: +decamelize@^1.1.0, decamelize@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= @@ -775,11 +804,6 @@ esprima@^4.0.0: resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -esutils@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" - integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== - eventemitter3@^3.1.0: version "3.1.2" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" @@ -799,11 +823,11 @@ execa@^1.0.0: strip-eof "^1.0.0" execa@^2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/execa/-/execa-2.0.4.tgz#2f5cc589c81db316628627004ea4e37b93391d8e" - integrity sha512-VcQfhuGD51vQUQtKIq2fjGDLDbL6N1DTQVpYzxZ7LPIXw3HqTuIz6uxRmpV1qf8i31LHf2kjiaGI+GdHwRgbnQ== + version "2.1.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-2.1.0.tgz#e5d3ecd837d2a60ec50f3da78fd39767747bbe99" + integrity sha512-Y/URAVapfbYy2Xp/gb6A0E7iR8xeqOCXsuuaoMn7A5PzrXUK84E1gyiEfq0wQd/GHA6GsoHWwhNq8anb0mleIw== dependencies: - cross-spawn "^6.0.5" + cross-spawn "^7.0.0" get-stream "^5.0.0" is-stream "^2.0.0" merge-stream "^2.0.0" @@ -819,28 +843,28 @@ extract-files@^4.0.0: integrity sha512-2gjdb3dVzr1ie9+K8pupPTnsNkK4qmzbTFOIxghiWoh6nCTajGCGC72ZNYX0nBWy5IOq1FXfRVgvkkLqqE4sdw== fast-glob@^3.0.3: - version "3.0.4" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.0.4.tgz#d484a41005cb6faeb399b951fd1bd70ddaebb602" - integrity sha512-wkIbV6qg37xTJwqSsdnIphL1e+LaGz4AIQqr00mIubMaEhv1/HEmJ0uuCGZRNRUkZZmOB5mJKO0ZUTVq+SxMQg== - dependencies: - "@nodelib/fs.stat" "^2.0.1" - "@nodelib/fs.walk" "^1.2.1" - glob-parent "^5.0.0" - is-glob "^4.0.1" - merge2 "^1.2.3" + version "3.2.4" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" + integrity sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.0" + merge2 "^1.3.0" micromatch "^4.0.2" + picomatch "^2.2.1" fast-json-stable-stringify@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" - integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I= + version "2.1.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== fastq@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.6.0.tgz#4ec8a38f4ac25f21492673adb7eae9cfef47d1c2" - integrity sha512-jmxqQ3Z/nXoeyDmWAzF9kH1aGZSis6e/SbfPmJpUnyZ0ogr6iscHQaml4wsEepEWSdtmpy+eVXmCRIMpxaXqOA== + version "1.8.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.8.0.tgz#550e1f9f59bbc65fe185cb6a9b4d95357107f481" + integrity sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q== dependencies: - reusify "^1.0.0" + reusify "^1.0.4" figures@^1.7.0: version "1.7.0" @@ -871,7 +895,7 @@ find-up@^2.0.0: dependencies: locate-path "^2.0.0" -find-up@^4.0.0: +find-up@^4.0.0, find-up@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== @@ -885,9 +909,9 @@ fs.realpath@^1.0.0: integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= get-own-enumerable-property-symbols@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.0.tgz#b877b49a5c16aefac3655f2ed2ea5b684df8d203" - integrity sha512-CIJYJC4GGF06TakLg8z4GQKvDsx9EMspVxOYih7LerEL/WosUnFIww45CGfxfeKHqlg3twgUrYRT1O3WQqjGCg== + version "3.0.2" + resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664" + integrity sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g== get-stdin@7.0.0, get-stdin@^7.0.0: version "7.0.0" @@ -908,28 +932,28 @@ get-stream@^5.0.0: dependencies: pump "^3.0.0" -git-raw-commits@^1.3.0: - version "1.3.6" - resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-1.3.6.tgz#27c35a32a67777c1ecd412a239a6c19d71b95aff" - integrity sha512-svsK26tQ8vEKnMshTDatSIQSMDdz8CxIIqKsvPqbtV23Etmw6VNaFAitu8zwZ0VrOne7FztwPyRLxK7/DIUTQg== +git-raw-commits@^2.0.0: + version "2.0.7" + resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.7.tgz#02e9357727a9755efa8e14dd5e59b381c29068fb" + integrity sha512-SkwrTqrDxw8y0G1uGJ9Zw13F7qu3LF8V4BifyDeiJCxSnjRGZD9SaoMiMqUvvXMXh6S3sOQ1DsBN7L2fMUZW/g== dependencies: - dargs "^4.0.1" + dargs "^7.0.0" lodash.template "^4.0.2" - meow "^4.0.0" + meow "^7.0.0" split2 "^2.0.0" - through2 "^2.0.0" + through2 "^3.0.0" -glob-parent@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.0.tgz#5f4c1d1e748d30cd73ad2944b3577a81b081e8c2" - integrity sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw== +glob-parent@^5.1.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229" + integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ== dependencies: is-glob "^4.0.1" glob@^7.1.3: - version "7.1.4" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" - integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== + version "7.1.6" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" + integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" @@ -946,9 +970,9 @@ global-dirs@^0.1.1: ini "^1.3.4" globby@^10.0.1: - version "10.0.1" - resolved "https://registry.yarnpkg.com/globby/-/globby-10.0.1.tgz#4782c34cb75dd683351335c5829cc3420e606b22" - integrity sha512-sSs4inE1FB2YQiymcmTv6NWENryABjUNPeWhOvmn4SjtKybglsyPZxFB3U1/+L1bYi0rNZDqCLlHyLYDl1Pq5A== + version "10.0.2" + resolved "https://registry.yarnpkg.com/globby/-/globby-10.0.2.tgz#277593e745acaa4646c3ab411289ec47a0392543" + integrity sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg== dependencies: "@types/glob" "^7.1.1" array-union "^2.1.0" @@ -960,22 +984,27 @@ globby@^10.0.1: slash "^3.0.0" graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.2.tgz#6f0952605d0140c1cfdb138ed005775b92d67b02" - integrity sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q== + version "4.2.4" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb" + integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw== graphql-tag@^2.10.0: - version "2.10.1" - resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.10.1.tgz#10aa41f1cd8fae5373eaf11f1f67260a3cad5e02" - integrity sha512-jApXqWBzNXQ8jYa/HLkZJaVw9jgwNqZkywa2zfFn16Iv1Zb7ELNHkJaXHR7Quvd5SIGsy6Ny7SUKATgnu05uEg== + version "2.10.3" + resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.10.3.tgz#ea1baba5eb8fc6339e4c4cf049dabe522b0edf03" + integrity sha512-4FOv3ZKfA4WdOKJeHdz6B3F/vxBLSgmBcGeAFPf4n1F64ltJUvOOerNj0rsJxONQGdhUMynQIvd6LzB+1J5oKA== graphql@^14.0.2: - version "14.4.2" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.4.2.tgz#553a7d546d524663eda49ed6df77577be3203ae3" - integrity sha512-6uQadiRgnpnSS56hdZUSvFrVcQ6OF9y6wkxJfKquFtHlnl7+KSuWwSJsdwiK1vybm1HgcdbpGkCpvhvsVQ0UZQ== + version "14.6.0" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.6.0.tgz#57822297111e874ea12f5cd4419616930cd83e49" + integrity sha512-VKzfvHEKybTKjQVpTFrA5yUq2S9ihcZvfJAtsDBBCuV6wauPu1xl/f9ehgVf0FcEJJs4vz6ysb/ZMkGigQZseg== dependencies: iterall "^1.2.2" +hard-rejection@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" + integrity sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA== + has-ansi@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" @@ -989,38 +1018,38 @@ has-flag@^3.0.0: integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= hoist-non-react-statics@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz#b09178f0122184fb95acf525daaecb4d8f45958b" - integrity sha512-0XsbTXxgiaCDYDIWFcwkmerZPSwywfUqYmwT4jzewKTQSWoE6FCMoUVOeBJWK3E/CrWbxRG3m5GzY4lnIwGRBA== + version "3.3.2" + resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== dependencies: react-is "^16.7.0" hosted-git-info@^2.1.4: - version "2.8.4" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.4.tgz#44119abaf4bc64692a16ace34700fed9c03e2546" - integrity sha512-pzXIvANXEFrc5oFFXRMkbLPQ2rXRoDERwDLyrcUxGhaZhgP54BBSl9Oheh7Vv0T090cszWBxPjkQQ5Sq1PbBRQ== + version "2.8.8" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488" + integrity sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg== husky@^3.0.5: - version "3.0.5" - resolved "https://registry.yarnpkg.com/husky/-/husky-3.0.5.tgz#d7db27c346645a8dc52df02aa534a377ad7925e0" - integrity sha512-cKd09Jy9cDyNIvAdN2QQAP/oA21sle4FWXjIMDttailpLAYZuBE7WaPmhrkj+afS8Sj9isghAtFvWSQ0JiwOHg== + version "3.1.0" + resolved "https://registry.yarnpkg.com/husky/-/husky-3.1.0.tgz#5faad520ab860582ed94f0c1a77f0f04c90b57c0" + integrity sha512-FJkPoHHB+6s4a+jwPqBudBDvYZsoQW5/HBuMSehC8qDiCe50kpcxeqFoDSlow+9I6wg47YxBoT3WxaURlrDIIQ== dependencies: chalk "^2.4.2" + ci-info "^2.0.0" cosmiconfig "^5.2.1" execa "^1.0.0" get-stdin "^7.0.0" - is-ci "^2.0.0" opencollective-postinstall "^2.0.2" pkg-dir "^4.2.0" please-upgrade-node "^3.2.0" - read-pkg "^5.1.1" + read-pkg "^5.2.0" run-node "^1.0.0" slash "^3.0.0" ignore@^5.1.1: - version "5.1.4" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.4.tgz#84b7b3dbe64552b6ef0eca99f6743dbec6d97adf" - integrity sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A== + version "5.1.8" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" + integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw== import-fresh@^2.0.0: version "2.0.0" @@ -1031,18 +1060,23 @@ import-fresh@^2.0.0: resolve-from "^3.0.0" import-fresh@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.1.0.tgz#6d33fa1dcef6df930fae003446f33415af905118" - integrity sha512-PpuksHKGt8rXfWEr9m9EHIpgyyaltBy8+eF6GJM0QCAxMgxCfucMF3mjecK2QsJr0amJW7gTqh5/wht0z2UhEQ== + version "3.2.1" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" + integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ== dependencies: parent-module "^1.0.0" resolve-from "^4.0.0" -indent-string@^3.0.0, indent-string@^3.2.0: +indent-string@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" integrity sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok= +indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -1051,7 +1085,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@~2.0.3: +inherits@2, inherits@^2.0.3, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -1066,13 +1100,6 @@ is-arrayish@^0.2.1: resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= -is-ci@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" - integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== - dependencies: - ci-info "^2.0.0" - is-directory@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" @@ -1125,9 +1152,9 @@ is-path-cwd@^2.2.0: integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== is-path-inside@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.1.tgz#7417049ed551d053ab82bba3fdd6baa6b3a81e89" - integrity sha512-CKstxrctq1kUesU6WhtZDbYKzzYBuRH0UYInAVrkc/EYdB9ltbfE0gOoayG9nhohG6447sOOVGhHqsdmBvkbNg== + version "3.0.2" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.2.tgz#f5220fc82a3e233757291dddc9c5877f2a1f3017" + integrity sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg== is-plain-obj@^1.1.0: version "1.1.0" @@ -1135,9 +1162,9 @@ is-plain-obj@^1.1.0: integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= is-promise@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" - integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= + version "2.2.2" + resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1" + integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== is-regexp@^1.0.0: version "1.0.0" @@ -1154,7 +1181,7 @@ is-stream@^2.0.0: resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== -is-text-path@^1.0.0: +is-text-path@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" integrity sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4= @@ -1172,9 +1199,9 @@ isexe@^2.0.0: integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= iterall@^1.2.1, iterall@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.2.2.tgz#92d70deb8028e0c39ff3164fdbf4d8b088130cd7" - integrity sha512-yynBb1g+RFUPY64fTrFv7nsjRrENBQJaX2UL+2Szc9REFrSNm1rpSXHGzhmAy7a9uv3vlvgBlXnf9RqmPH1/DA== + version "1.3.0" + resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.3.0.tgz#afcb08492e2915cbd8a0884eb93a8c94d0d72fea" + integrity sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg== "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" @@ -1182,9 +1209,9 @@ iterall@^1.2.1, iterall@^1.2.2: integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== js-yaml@^3.13.1: - version "3.13.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" - integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== + version "3.14.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482" + integrity sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A== dependencies: argparse "^1.0.7" esprima "^4.0.0" @@ -1199,15 +1226,20 @@ jsonparse@^1.2.0: resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA= +kind-of@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" + integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== + lines-and-columns@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= lint-staged@^9.4.0: - version "9.4.0" - resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-9.4.0.tgz#dd4abcc9a82539fd290aed1584e3241b8f8af687" - integrity sha512-jTu1KoGiGTSffM539wK+3igVqDGVsby3KwDBaXL471YndahkjnavLX+R5Nsk49JwklyMo0ZAXay1BaoyA6d2Jw== + version "9.5.0" + resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-9.5.0.tgz#290ec605252af646d9b74d73a0fa118362b05a33" + integrity sha512-nawMob9cb/G1J98nb8v3VC/E8rcX1rryUYXVZ69aT9kde6YWX+uvNOEHY5yf2gcWcTJGiD0kqXmCnS3oD75GIA== dependencies: chalk "^2.4.2" commander "^2.20.0" @@ -1318,12 +1350,7 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" -lodash@4.17.14: - version "4.17.14" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.14.tgz#9ce487ae66c96254fe20b599f21b6816028078ba" - integrity sha512-mmKYbW3GLuJeX+iGP+Y7Gp1AiGHGbXHCOh/jZmrawMmsE7MS4znI3RL2FsjbqOyMayHInjOeykW7PEajUk1/xw== - -lodash@^4.17.11, lodash@^4.2.1: +lodash@4.17.15, lodash@^4.17.11, lodash@^4.17.15, lodash@^4.2.1: version "4.17.15" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== @@ -1351,7 +1378,7 @@ log-update@^2.3.0: cli-cursor "^2.0.0" wrap-ansi "^3.0.1" -loose-envify@^1.1.0, loose-envify@^1.4.0: +loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== @@ -1376,6 +1403,11 @@ map-obj@^2.0.0: resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-2.0.0.tgz#a65cd29087a92598b8791257a523e021222ac1f9" integrity sha1-plzSkIepJZi4eRJXpSPgISIqwfk= +map-obj@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.1.0.tgz#b91221b542734b9f14256c0132c897c5d7256fd5" + integrity sha512-glc9y00wgtwcDmp7GaE/0b0OnxpNJsVf3ael/An6Fe2Q51LLwN1er6sdomLRzz5h0+yMpiYLhWYF5R7HeqVd4g== + meow@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/meow/-/meow-5.0.0.tgz#dfc73d63a9afc714a5e371760eb5c88b91078aa4" @@ -1391,30 +1423,34 @@ meow@5.0.0: trim-newlines "^2.0.0" yargs-parser "^10.0.0" -meow@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/meow/-/meow-4.0.1.tgz#d48598f6f4b1472f35bf6317a95945ace347f975" - integrity sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A== - dependencies: - camelcase-keys "^4.0.0" - decamelize-keys "^1.0.0" - loud-rejection "^1.0.0" - minimist "^1.1.3" - minimist-options "^3.0.1" - normalize-package-data "^2.3.4" - read-pkg-up "^3.0.0" - redent "^2.0.0" - trim-newlines "^2.0.0" +meow@^7.0.0: + version "7.0.1" + resolved "https://registry.yarnpkg.com/meow/-/meow-7.0.1.tgz#1ed4a0a50b3844b451369c48362eb0515f04c1dc" + integrity sha512-tBKIQqVrAHqwit0vfuFPY3LlzJYkEOFyKa3bPgxzNl6q/RtN8KQ+ALYEASYuFayzSAsjlhXj/JZ10rH85Q6TUw== + dependencies: + "@types/minimist" "^1.2.0" + arrify "^2.0.1" + camelcase "^6.0.0" + camelcase-keys "^6.2.2" + decamelize-keys "^1.1.0" + hard-rejection "^2.1.0" + minimist-options "^4.0.2" + normalize-package-data "^2.5.0" + read-pkg-up "^7.0.1" + redent "^3.0.0" + trim-newlines "^3.0.0" + type-fest "^0.13.1" + yargs-parser "^18.1.3" merge-stream@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== -merge2@^1.2.3: - version "1.3.0" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.3.0.tgz#5b366ee83b2f1582c48f87e47cf1a9352103ca81" - integrity sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw== +merge2@^1.2.3, merge2@^1.3.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== micromatch@^4.0.2: version "4.0.2" @@ -1434,6 +1470,11 @@ mimic-fn@^2.1.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== +min-indent@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" + integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== + minimatch@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" @@ -1449,22 +1490,26 @@ minimist-options@^3.0.1: arrify "^1.0.1" is-plain-obj "^1.1.0" -minimist@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" - integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0= +minimist-options@^4.0.2: + version "4.1.0" + resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" + integrity sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A== + dependencies: + arrify "^1.0.1" + is-plain-obj "^1.1.0" + kind-of "^6.0.3" -minimist@^1.1.3: - version "1.2.0" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" - integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= +minimist@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" + integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== mkdirp@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" - integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= + version "0.5.5" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" + integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== dependencies: - minimist "0.0.8" + minimist "^1.2.5" ms@^2.1.1: version "2.1.2" @@ -1537,14 +1582,14 @@ onetime@^5.1.0: mimic-fn "^2.1.0" opencollective-postinstall@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz#5657f1bede69b6e33a45939b061eb53d3c6c3a89" - integrity sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw== + version "2.0.3" + resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz#7a0fff978f6dbfa4d006238fbac98ed4198c3259" + integrity sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q== optimism@^0.10.0: - version "0.10.2" - resolved "https://registry.yarnpkg.com/optimism/-/optimism-0.10.2.tgz#626b6fd28b0923de98ecb36a3fd2d3d4e5632dd9" - integrity sha512-zPfBIxFFWMmQboM9+Z4MSJqc1PXp82v1PFq/GfQaufI69mHKlup7ykGNnfuGIGssXJQkmhSodQ/k9EWwjd8O8A== + version "0.10.3" + resolved "https://registry.yarnpkg.com/optimism/-/optimism-0.10.3.tgz#163268fdc741dea2fb50f300bedda80356445fd7" + integrity sha512-9A5pqGoQk49H6Vhjb9kPgAeeECfUDF6aIICbMDL23kDLStBn1MWk3YvcZ4xWF9CsSf6XEgvRLkXy4xof/56vVw== dependencies: "@wry/context" "^0.4.0" @@ -1566,9 +1611,9 @@ p-limit@^1.1.0: p-try "^1.0.0" p-limit@^2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.1.tgz#aa07a788cc3151c939b5131f63570f0dd2009537" - integrity sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg== + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== dependencies: p-try "^2.0.0" @@ -1653,10 +1698,10 @@ path-key@^2.0.0, path-key@^2.0.1: resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= -path-key@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.0.tgz#99a10d870a803bdd5ee6f0470e58dfcd2f9a54d3" - integrity sha512-8cChqz0RP6SHJkMt48FW0A7+qUOn+OsnOsVtzI59tZ8m+5bCSk7hzwET0pulwOM2YMn9J1efb07KB9l9f30SGg== +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== path-parse@^1.0.6: version "1.0.6" @@ -1675,10 +1720,10 @@ path-type@^4.0.0: resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -picomatch@^2.0.5: - version "2.0.7" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.0.7.tgz#514169d8c7cd0bdbeecc8a2609e34a7163de69f6" - integrity sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA== +picomatch@^2.0.5, picomatch@^2.2.1: + version "2.2.2" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad" + integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg== pify@^3.0.0: version "3.0.0" @@ -1704,7 +1749,7 @@ process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -prop-types@^15.6.2, prop-types@^15.7.2: +prop-types@^15.7.2: version "15.7.2" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ== @@ -1731,6 +1776,11 @@ quick-lru@^1.0.0: resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" integrity sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g= +quick-lru@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" + integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== + react-apollo@^2.5.8: version "2.5.8" resolved "https://registry.yarnpkg.com/react-apollo/-/react-apollo-2.5.8.tgz#c7a593b027efeefdd8399885e0ac6bec3b32623c" @@ -1744,29 +1794,10 @@ react-apollo@^2.5.8: ts-invariant "^0.4.2" tslib "^1.9.3" -react-dom@>=16.8.1: - version "16.9.0" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.9.0.tgz#5e65527a5e26f22ae3701131bcccaee9fb0d3962" - integrity sha512-YFT2rxO9hM70ewk9jq0y6sQk8cL02xm4+IzYBz75CQGlClQQ1Bxq0nhHF6OtSbit+AIahujJgb/CPRibFkMNJQ== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.2" - scheduler "^0.15.0" - react-is@^16.7.0, react-is@^16.8.1: - version "16.9.0" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.9.0.tgz#21ca9561399aad0ff1a7701c01683e8ca981edcb" - integrity sha512-tJBzzzIgnnRfEm046qRcURvwQnZVXmuCbscxUO5RWrGTXpon2d4c8mI0D8WE6ydVIm29JiLB6+RslkIvym9Rjw== - -react@>=16.8.1: - version "16.9.0" - resolved "https://registry.yarnpkg.com/react/-/react-16.9.0.tgz#40ba2f9af13bc1a38d75dbf2f4359a5185c4f7aa" - integrity sha512-+7LQnFBwkiw+BobzOF6N//BdoNw0ouwmSJTEm9cglOOmsg/TMiFHZLe2sEoN5M7LgJTj9oHH0gxklfnQe66S1w== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.2" + version "16.13.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== read-pkg-up@^3.0.0: version "3.0.0" @@ -1776,6 +1807,15 @@ read-pkg-up@^3.0.0: find-up "^2.0.0" read-pkg "^3.0.0" +read-pkg-up@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" + integrity sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg== + dependencies: + find-up "^4.1.0" + read-pkg "^5.2.0" + type-fest "^0.8.1" + read-pkg@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" @@ -1785,7 +1825,7 @@ read-pkg@^3.0.0: normalize-package-data "^2.3.2" path-type "^3.0.0" -read-pkg@^5.1.1: +read-pkg@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" integrity sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg== @@ -1795,10 +1835,19 @@ read-pkg@^5.1.1: parse-json "^5.0.0" type-fest "^0.6.0" +"readable-stream@2 || 3": + version "3.6.0" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + readable-stream@~2.3.6: - version "2.3.6" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" - integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw== + version "2.3.7" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" + integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== dependencies: core-util-is "~1.0.0" inherits "~2.0.3" @@ -1828,12 +1877,9 @@ reason-apollo@^0.20.0: subscriptions-transport-ws "^0.9.16" reason-react@>=0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/reason-react/-/reason-react-0.7.0.tgz#46a975c321e81cd51310d7b1a02418ca7667b0d6" - integrity sha512-czR/f0lY5iyLCki9gwftOFF5Zs40l7ZSFmpGK/Z6hx2jBVeFDmIiXB8bAQW/cO6IvtuEt97OmsYueiuOYG9XjQ== - dependencies: - react ">=16.8.1" - react-dom ">=16.8.1" + version "0.9.1" + resolved "https://registry.yarnpkg.com/reason-react/-/reason-react-0.9.1.tgz#30a887158200b659aa03e2d75ff4cc54dc462bb0" + integrity sha512-nlH0O2TDy9KzOLOW+vlEQk4ExHOeciyzFdoLcsmmiit6hx6H5+CVDrwJ+8aiaLT/kqK5xFOjy4PS7PftWz4plA== redent@^2.0.0: version "2.0.0" @@ -1843,6 +1889,14 @@ redent@^2.0.0: indent-string "^3.0.0" strip-indent "^2.0.0" +redent@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" + integrity sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg== + dependencies: + indent-string "^4.0.0" + strip-indent "^3.0.0" + regenerator-runtime@^0.10.5: version "0.10.5" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" @@ -1876,9 +1930,9 @@ resolve-global@1.0.0, resolve-global@^1.0.0: global-dirs "^0.1.1" resolve@^1.10.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6" - integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w== + version "1.17.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444" + integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w== dependencies: path-parse "^1.0.6" @@ -1890,7 +1944,7 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" -reusify@^1.0.0: +reusify@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== @@ -1903,9 +1957,9 @@ rimraf@^2.5.2: glob "^7.1.3" rimraf@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.0.tgz#614176d4b3010b75e5c390eb0ee96f6dc0cebb9b" - integrity sha512-NDGVxTsjqfunkds7CqsOiEnxln4Bo7Nddl3XhS4pXg5OzwkLqJ971ZVAAnB+DDLnF76N+VnDEiBHaVV8I06SUg== + version "3.0.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: glob "^7.1.3" @@ -1920,9 +1974,9 @@ run-parallel@^1.1.9: integrity sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q== rxjs@^6.3.3: - version "6.5.3" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.3.tgz#510e26317f4db91a7eb1de77d9dd9ba0a4899a3a" - integrity sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA== + version "6.5.5" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.5.tgz#c5c884e3094c8cfee31bf27eb87e54ccfc87f9ec" + integrity sha512-WfQI+1gohdf0Dai/Bbmk5L5ItH5tYqm3ki2c5GdWhKjalzjg93N3avFjVStyZZz+A2Em+ZxKH5bNghw9UeylGQ== dependencies: tslib "^1.9.0" @@ -1931,13 +1985,10 @@ safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -scheduler@^0.15.0: - version "0.15.0" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.15.0.tgz#6bfcf80ff850b280fed4aeecc6513bc0b4f17f8e" - integrity sha512-xAefmSfN6jqAa7Kuq7LIJY0bwAPG3xlCj0HMEBQk1lxYiDKZscY2xJ5U/61ZTrYbmNQbXa+gc7czPkVo11tnCg== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" +safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== semver-compare@^1.0.0: version "1.0.0" @@ -1949,10 +2000,10 @@ semver-compare@^1.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.2.0.tgz#4d813d9590aaf8a9192693d6c85b9344de5901db" - integrity sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A== +semver@6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== shebang-command@^1.2.0: version "1.2.0" @@ -1961,15 +2012,27 @@ shebang-command@^1.2.0: dependencies: shebang-regex "^1.0.0" +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + shebang-regex@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + signal-exit@^3.0.0, signal-exit@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= + version "3.0.3" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" + integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== slash@^3.0.0: version "3.0.0" @@ -1982,22 +2045,22 @@ slice-ansi@0.0.4: integrity sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU= spdx-correct@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" - integrity sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q== + version "3.1.1" + resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9" + integrity sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w== dependencies: spdx-expression-parse "^3.0.0" spdx-license-ids "^3.0.0" spdx-exceptions@^2.1.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz#2ea450aee74f2a89bfb94519c07fcd6f41322977" - integrity sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA== + version "2.3.0" + resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz#3f28ce1a77a00372683eade4a433183527a2163d" + integrity sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A== spdx-expression-parse@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0" - integrity sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg== + version "3.0.1" + resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz#cf70f50482eefdc98e3ce0a6833e4a53ceeba679" + integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q== dependencies: spdx-exceptions "^2.1.0" spdx-license-ids "^3.0.0" @@ -2041,6 +2104,13 @@ string-width@^2.1.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + string_decoder@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" @@ -2091,6 +2161,13 @@ strip-indent@^2.0.0: resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= +strip-indent@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" + integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== + dependencies: + min-indent "^1.0.0" + subscriptions-transport-ws@^0.9.16: version "0.9.16" resolved "https://registry.yarnpkg.com/subscriptions-transport-ws/-/subscriptions-transport-ws-0.9.16.tgz#90a422f0771d9c32069294c08608af2d47f596ec" @@ -2124,7 +2201,7 @@ text-extensions@^1.0.0: resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== -through2@^2.0.0, through2@^2.0.2: +through2@^2.0.2: version "2.0.5" resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== @@ -2132,6 +2209,13 @@ through2@^2.0.0, through2@^2.0.2: readable-stream "~2.3.6" xtend "~4.0.1" +through2@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/through2/-/through2-3.0.1.tgz#39276e713c3302edf9e388dd9c812dd3b825bd5a" + integrity sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww== + dependencies: + readable-stream "2 || 3" + "through@>=2.2.7 <3": version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" @@ -2149,6 +2233,11 @@ trim-newlines@^2.0.0: resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-2.0.0.tgz#b403d0b91be50c331dfc4b82eeceb22c3de16d20" integrity sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA= +trim-newlines@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.0.tgz#79726304a6a898aa8373427298d54c2ee8b1cb30" + integrity sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA== + trim-off-newlines@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" @@ -2162,16 +2251,26 @@ ts-invariant@^0.4.0, ts-invariant@^0.4.2, ts-invariant@^0.4.4: tslib "^1.9.3" tslib@^1.10.0, tslib@^1.9.0, tslib@^1.9.3: - version "1.10.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" - integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== + version "1.13.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" + integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== + +type-fest@^0.13.1: + version "0.13.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.13.1.tgz#0172cb5bce80b0bd542ea348db50c7e21834d934" + integrity sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg== type-fest@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== -util-deprecate@~1.0.1: +type-fest@^0.8.1: + version "0.8.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" + integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== + +util-deprecate@^1.0.1, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= @@ -2191,6 +2290,13 @@ which@^1.2.9: dependencies: isexe "^2.0.0" +which@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + wrap-ansi@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-3.0.1.tgz#288a04d87eda5c286e060dfe8f135ce8d007f8ba" @@ -2223,15 +2329,23 @@ yargs-parser@^10.0.0: dependencies: camelcase "^4.1.0" -zen-observable-ts@^0.8.19: - version "0.8.19" - resolved "https://registry.yarnpkg.com/zen-observable-ts/-/zen-observable-ts-0.8.19.tgz#c094cd20e83ddb02a11144a6e2a89706946b5694" - integrity sha512-u1a2rpE13G+jSzrg3aiCqXU5tN2kw41b+cBZGmnc+30YimdkKiDj9bTowcB41eL77/17RF/h+393AuVgShyheQ== +yargs-parser@^18.1.3: + version "18.1.3" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + +zen-observable-ts@^0.8.21: + version "0.8.21" + resolved "https://registry.yarnpkg.com/zen-observable-ts/-/zen-observable-ts-0.8.21.tgz#85d0031fbbde1eba3cd07d3ba90da241215f421d" + integrity sha512-Yj3yXweRc8LdRMrCC8nIc4kkjWecPAUVh0TI0OUrWXx6aX790vLcDlWca6I4vsyCGH3LpWxq0dJRcMOFoVqmeg== dependencies: tslib "^1.9.3" zen-observable "^0.8.0" zen-observable@^0.8.0: - version "0.8.14" - resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.8.14.tgz#d33058359d335bc0db1f0af66158b32872af3bf7" - integrity sha512-kQz39uonEjEESwh+qCi83kcC3rZJGh4mrZW7xjkSQYXkq//JZHTtKo+6yuVloTgMtzsIWOJrjIrKvk/dqm0L5g== + version "0.8.15" + resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.8.15.tgz#96415c512d8e3ffd920afd3889604e30b9eaac15" + integrity sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==