From 71cd34bab703768077a219a44649e839c0b85fac Mon Sep 17 00:00:00 2001 From: Jakub Biesiada Date: Mon, 12 Aug 2019 22:54:04 +0200 Subject: [PATCH] 1.0.0 (#18) * Switch from webpack to rollup * Delete webpack.config.js * v1.0.0 beta 2.1 * Update index.tsx * Revert module * 1.0.0 beta 3 * 1.0.0 --- .npmignore | 2 +- CHANGELOG.md | 10 + lib/index.d.ts | 24 +- lib/react-wordpress-hooks.js | 1030 +++++++++++++++------------ lib/react-wordpress-hooks.js.map | 2 +- lib/react-wordpress-hooks.min.js | 2 +- package.json | 14 +- src/hooks/useApiRequest.tsx | 4 +- src/index.tsx | 79 +-- tsconfig.json | 4 +- webpack.config.js | 2 +- yarn.lock | 1126 ++++++++++++++---------------- 12 files changed, 1146 insertions(+), 1153 deletions(-) mode change 100755 => 100644 webpack.config.js diff --git a/.npmignore b/.npmignore index 7bd982b..06a89df 100755 --- a/.npmignore +++ b/.npmignore @@ -1,7 +1,7 @@ src +docs tsconfig.json -.travis.yml .prettierrc doczrc.js .docz diff --git a/CHANGELOG.md b/CHANGELOG.md index 08953d0..87b8b2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # react-wordpress-hooks Changelog +## 1.0.0 beta 3 / 1.0.0 (2019-08-12) +#### Repository Changes +- removed ES module +- switched back from `rollup` to `webpack` + +## 1.0.0 beta 1 / 1.0.0 beta 2 (2019-08-09) +#### Repository Changes +- added ES module +- switched from `webpack` to `rollup` + ## 1.0.0 alpha 1 (2019-07-21) #### New Feature - options parameter can be an array of IDs diff --git a/lib/index.d.ts b/lib/index.d.ts index d8f8164..285ce96 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -1,13 +1,13 @@ -export { usePosts, useCreatePost, useRetrivePost, useUpdatePost, useDeletePost } from './hooks/usePosts'; -export { useRevisions, useRetriveRevision, useDeleteRevision } from './hooks/useRevisions'; -export { useCategories, useCreateCategory, useRetriveCategory, useUpdateCategory, useDeleteCategory } from './hooks/useCategories'; -export { useTags, useCreateTag, useRetriveTag, useUpdateTag, useDeleteTag } from './hooks/useTags'; -export { usePages, useCreatePage, useRetrivePage, useUpdatePage, useDeletePage } from './hooks/usePages'; -export { useComments, useCreateComment, useRetriveComment, useUpdateComment, useDeleteComment } from './hooks/useComments'; -export { useTaxonomies, useRetriveTaxonomy } from './hooks/useTaxonomies'; -export { useMedia, useCreateMedia, useRetriveMedia, useUpdateMedia, useDeleteMedia } from './hooks/useMedia'; -export { useUsers, useCreateUser, useRetriveUser, useUpdateUser, useDeleteUser } from './hooks/useUsers'; -export { useTypes, useRetriveType } from './hooks/useTypes'; -export { useStatuses, useRetriveStatus } from './hooks/useStatuses'; -export { useSettings, useUpdateSetting } from './hooks/useSettings'; +export * from './hooks/usePosts'; +export * from './hooks/useRevisions'; +export * from './hooks/useCategories'; +export * from './hooks/useTags'; +export * from './hooks/usePages'; +export * from './hooks/useComments'; +export * from './hooks/useTaxonomies'; +export * from './hooks/useMedia'; +export * from './hooks/useUsers'; +export * from './hooks/useTypes'; +export * from './hooks/useStatuses'; +export * from './hooks/useSettings'; export { WPContext } from './context'; diff --git a/lib/react-wordpress-hooks.js b/lib/react-wordpress-hooks.js index cd77d95..56e07a8 100644 --- a/lib/react-wordpress-hooks.js +++ b/lib/react-wordpress-hooks.js @@ -91,17 +91,16 @@ module.exports = /*!*************************!*\ !*** ./src/context.tsx ***! \*************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: WPContext */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WPContext", function() { return WPContext; }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -const react_1 = __importDefault(__webpack_require__(/*! react */ "react")); -exports.WPContext = react_1.default.createContext({ +var WPContext = react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext({ url: '', headers: undefined }); @@ -113,12 +112,17 @@ exports.WPContext = react_1.default.createContext({ /*!*************************************!*\ !*** ./src/hooks/useApiRequest.tsx ***! \*************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: useApiRequest */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useApiRequest", function() { return useApiRequest; }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context */ "./src/context.tsx"); +/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils */ "./src/utils/index.tsx"); +var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } @@ -126,56 +130,97 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; -Object.defineProperty(exports, "__esModule", { value: true }); -const react_1 = __webpack_require__(/*! react */ "react"); -const context_1 = __webpack_require__(/*! ../context */ "./src/context.tsx"); -const utils_1 = __webpack_require__(/*! ../utils */ "./src/utils/index.tsx"); -exports.useApiRequest = ({ id, options, requsetMethod = 'get', endpoint = '' }) => { - const { url, headers } = react_1.useContext(context_1.WPContext); - const [data, setData] = react_1.useState([]); - const [loading, setLoading] = react_1.useState(false); - const [error, setError] = react_1.useState(null); - react_1.useEffect(() => { - const loadData = () => __awaiter(this, void 0, void 0, function* () { - try { - setLoading(true); - const query = [`${url}/wp-json/wp/v2/${endpoint}`]; - if (requsetMethod === 'delete') { - query.push(`/${id}`); - } - if (requsetMethod === 'get') { - if (typeof options === 'number') { - query.push(`/${options}`); - } - else if (Array.isArray(options)) { - query.push(`?include=${options.join(',')}`); - } - else { - query.push(utils_1.serialize(options)); +var __generator = (undefined && undefined.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; + + + +var useApiRequest = function (_a) { + var id = _a.id, options = _a.options, _b = _a.requsetMethod, requsetMethod = _b === void 0 ? 'get' : _b, _c = _a.endpoint, endpoint = _c === void 0 ? '' : _c; + var _d = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_context__WEBPACK_IMPORTED_MODULE_1__["WPContext"]), url = _d.url, headers = _d.headers; + var _e = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])([]), data = _e[0], setData = _e[1]; + var _f = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])(false), loading = _f[0], setLoading = _f[1]; + var _g = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])(null), error = _g[0], setError = _g[1]; + Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () { + function loadData() { + return __awaiter(this, void 0, void 0, function () { + var query, res, response, err_1; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: + _a.trys.push([0, 3, , 4]); + setLoading(true); + query = [url + "/wp-json/wp/v2/" + endpoint]; + if (requsetMethod === 'delete') { + query.push("/" + id); + } + if (requsetMethod === 'get') { + if (typeof options === 'number') { + query.push("/" + options); + } + else if (Array.isArray(options)) { + query.push("?include=" + options.join(',')); + } + else { + query.push(Object(_utils__WEBPACK_IMPORTED_MODULE_2__["serialize"])(options)); + } + } + return [4 /*yield*/, fetch(query.join(''), { + method: requsetMethod, + headers: headers + })]; + case 1: + res = _a.sent(); + return [4 /*yield*/, res.json()]; + case 2: + response = _a.sent(); + setLoading(false); + if (response.code) { + setError(response); + } + else { + setData(response); + } + return [3 /*break*/, 4]; + case 3: + err_1 = _a.sent(); + setLoading(false); + setError(err_1); + return [3 /*break*/, 4]; + case 4: return [2 /*return*/]; } - } - const res = yield fetch(query.join(''), { - method: requsetMethod, - headers }); - const response = yield res.json(); - setLoading(false); - if (response.code) { - setError(response); - } - else { - setData(response); - } - } - catch (err) { - setLoading(false); - setError(err); - } - }); + }); + } loadData(); // eslint-disable-next-line react-hooks/exhaustive-deps }, [headers, endpoint, requsetMethod, url]); - return { data, loading, error }; + return { data: data, loading: loading, error: error }; }; @@ -185,52 +230,57 @@ exports.useApiRequest = ({ id, options, requsetMethod = 'get', endpoint = '' }) /*!*************************************!*\ !*** ./src/hooks/useCategories.tsx ***! \*************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: useCategories, useCreateCategory, useRetriveCategory, useUpdateCategory, useDeleteCategory */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -const useApiRequest_1 = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -const endpoint = 'categories'; -exports.useCategories = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint - }); - return { data, loading, error }; -}; -exports.useCreateCategory = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useCategories", function() { return useCategories; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useCreateCategory", function() { return useCreateCategory; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useRetriveCategory", function() { return useRetriveCategory; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useUpdateCategory", function() { return useUpdateCategory; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useDeleteCategory", function() { return useDeleteCategory; }); +/* harmony import */ var _useApiRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); + +var endpoint = 'categories'; +var useCategories = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useCreateCategory = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; -}; -exports.useRetriveCategory = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint - }); - return { data, loading, error }; -}; -exports.useUpdateCategory = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useRetriveCategory = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useUpdateCategory = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; -}; -exports.useDeleteCategory = (id, options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - id, - options, - endpoint, + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useDeleteCategory = function (id, options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + id: id, + options: options, + endpoint: endpoint, requsetMethod: 'delete' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; @@ -240,46 +290,51 @@ exports.useDeleteCategory = (id, options) => { /*!***********************************!*\ !*** ./src/hooks/useComments.tsx ***! \***********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: useComments, useCreateComment, useRetriveComment, useUpdateComment, useDeleteComment */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -const useApiRequest_1 = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -const endpoint = 'comments'; -exports.useComments = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; -}; -exports.useCreateComment = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useComments", function() { return useComments; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useCreateComment", function() { return useCreateComment; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useRetriveComment", function() { return useRetriveComment; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useUpdateComment", function() { return useUpdateComment; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useDeleteComment", function() { return useDeleteComment; }); +/* harmony import */ var _useApiRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); + +var endpoint = 'comments'; +var useComments = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useCreateComment = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useRetriveComment = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; +var useRetriveComment = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useUpdateComment = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +var useUpdateComment = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; -}; -exports.useDeleteComment = (id, options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - id, - options, - endpoint, + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useDeleteComment = function (id, options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + id: id, + options: options, + endpoint: endpoint, requsetMethod: 'delete' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; @@ -289,46 +344,51 @@ exports.useDeleteComment = (id, options) => { /*!********************************!*\ !*** ./src/hooks/useMedia.tsx ***! \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: useMedia, useCreateMedia, useRetriveMedia, useUpdateMedia, useDeleteMedia */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -const useApiRequest_1 = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -const endpoint = 'media'; -exports.useMedia = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; -}; -exports.useCreateMedia = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useMedia", function() { return useMedia; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useCreateMedia", function() { return useCreateMedia; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useRetriveMedia", function() { return useRetriveMedia; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useUpdateMedia", function() { return useUpdateMedia; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useDeleteMedia", function() { return useDeleteMedia; }); +/* harmony import */ var _useApiRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); + +var endpoint = 'media'; +var useMedia = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useCreateMedia = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useRetriveMedia = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; +var useRetriveMedia = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useUpdateMedia = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +var useUpdateMedia = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; -}; -exports.useDeleteMedia = (id, options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - id, - options, - endpoint, + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useDeleteMedia = function (id, options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + id: id, + options: options, + endpoint: endpoint, requsetMethod: 'delete' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; @@ -338,46 +398,51 @@ exports.useDeleteMedia = (id, options) => { /*!********************************!*\ !*** ./src/hooks/usePages.tsx ***! \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: usePages, useCreatePage, useRetrivePage, useUpdatePage, useDeletePage */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -const useApiRequest_1 = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -const endpoint = 'pages'; -exports.usePages = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; -}; -exports.useCreatePage = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "usePages", function() { return usePages; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useCreatePage", function() { return useCreatePage; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useRetrivePage", function() { return useRetrivePage; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useUpdatePage", function() { return useUpdatePage; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useDeletePage", function() { return useDeletePage; }); +/* harmony import */ var _useApiRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); + +var endpoint = 'pages'; +var usePages = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useCreatePage = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useRetrivePage = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; +var useRetrivePage = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useUpdatePage = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +var useUpdatePage = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; -}; -exports.useDeletePage = (id, options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - id, - options, - endpoint, + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useDeletePage = function (id, options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + id: id, + options: options, + endpoint: endpoint, requsetMethod: 'delete' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; @@ -387,46 +452,51 @@ exports.useDeletePage = (id, options) => { /*!********************************!*\ !*** ./src/hooks/usePosts.tsx ***! \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: usePosts, useCreatePost, useRetrivePost, useUpdatePost, useDeletePost */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -const useApiRequest_1 = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -const endpoint = 'posts'; -exports.usePosts = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; -}; -exports.useCreatePost = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "usePosts", function() { return usePosts; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useCreatePost", function() { return useCreatePost; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useRetrivePost", function() { return useRetrivePost; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useUpdatePost", function() { return useUpdatePost; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useDeletePost", function() { return useDeletePost; }); +/* harmony import */ var _useApiRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); + +var endpoint = 'posts'; +var usePosts = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useCreatePost = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useRetrivePost = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; +var useRetrivePost = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useUpdatePost = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +var useUpdatePost = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; -}; -exports.useDeletePost = (id, options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - id, - options, - endpoint, + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useDeletePost = function (id, options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + id: id, + options: options, + endpoint: endpoint, requsetMethod: 'delete' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; @@ -436,34 +506,37 @@ exports.useDeletePost = (id, options) => { /*!************************************!*\ !*** ./src/hooks/useRevisions.tsx ***! \************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: useRevisions, useRetriveRevision, useDeleteRevision */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -const useApiRequest_1 = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -const endpoint = 'revisions'; -exports.useRevisions = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useRevisions", function() { return useRevisions; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useRetriveRevision", function() { return useRetriveRevision; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useDeleteRevision", function() { return useDeleteRevision; }); +/* harmony import */ var _useApiRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); + +var endpoint = 'revisions'; +var useRevisions = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'delete' - }); - return { data, loading, error }; -}; -exports.useRetriveRevision = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; -}; -exports.useDeleteRevision = (id, options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - id, - options, - endpoint, + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useRetriveRevision = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useDeleteRevision = function (id, options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + id: id, + options: options, + endpoint: endpoint, requsetMethod: 'delete' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; @@ -473,25 +546,27 @@ exports.useDeleteRevision = (id, options) => { /*!***********************************!*\ !*** ./src/hooks/useSettings.tsx ***! \***********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: useSettings, useUpdateSetting */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -const useApiRequest_1 = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -const endpoint = 'settings'; -exports.useSettings = () => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ endpoint }); - return { data, loading, error }; -}; -exports.useUpdateSetting = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useSettings", function() { return useSettings; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useUpdateSetting", function() { return useUpdateSetting; }); +/* harmony import */ var _useApiRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); + +var endpoint = 'settings'; +var useSettings = function () { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useUpdateSetting = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; @@ -501,21 +576,23 @@ exports.useUpdateSetting = (options) => { /*!***********************************!*\ !*** ./src/hooks/useStatuses.tsx ***! \***********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: useStatuses, useRetriveStatus */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useStatuses", function() { return useStatuses; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useRetriveStatus", function() { return useRetriveStatus; }); +/* harmony import */ var _useApiRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -Object.defineProperty(exports, "__esModule", { value: true }); -const useApiRequest_1 = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -const endpoint = 'statuses'; -exports.useStatuses = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; +var endpoint = 'statuses'; +var useStatuses = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useRetriveStatus = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; +var useRetriveStatus = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; @@ -525,46 +602,51 @@ exports.useRetriveStatus = (options) => { /*!*******************************!*\ !*** ./src/hooks/useTags.tsx ***! \*******************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: useTags, useCreateTag, useRetriveTag, useUpdateTag, useDeleteTag */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -const useApiRequest_1 = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -const endpoint = 'tags'; -exports.useTags = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; -}; -exports.useCreateTag = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useTags", function() { return useTags; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useCreateTag", function() { return useCreateTag; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useRetriveTag", function() { return useRetriveTag; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useUpdateTag", function() { return useUpdateTag; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useDeleteTag", function() { return useDeleteTag; }); +/* harmony import */ var _useApiRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); + +var endpoint = 'tags'; +var useTags = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useCreateTag = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useRetriveTag = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; +var useRetriveTag = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useUpdateTag = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +var useUpdateTag = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; -}; -exports.useDeleteTag = (id, options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - id, - options, - endpoint, + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useDeleteTag = function (id, options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + id: id, + options: options, + endpoint: endpoint, requsetMethod: 'delete' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; @@ -574,21 +656,23 @@ exports.useDeleteTag = (id, options) => { /*!*************************************!*\ !*** ./src/hooks/useTaxonomies.tsx ***! \*************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: useTaxonomies, useRetriveTaxonomy */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useTaxonomies", function() { return useTaxonomies; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useRetriveTaxonomy", function() { return useRetriveTaxonomy; }); +/* harmony import */ var _useApiRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -Object.defineProperty(exports, "__esModule", { value: true }); -const useApiRequest_1 = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -const endpoint = 'taxonomies'; -exports.useTaxonomies = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; +var endpoint = 'taxonomies'; +var useTaxonomies = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useRetriveTaxonomy = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; +var useRetriveTaxonomy = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; @@ -598,21 +682,23 @@ exports.useRetriveTaxonomy = (options) => { /*!********************************!*\ !*** ./src/hooks/useTypes.tsx ***! \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: useTypes, useRetriveType */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useTypes", function() { return useTypes; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useRetriveType", function() { return useRetriveType; }); +/* harmony import */ var _useApiRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -Object.defineProperty(exports, "__esModule", { value: true }); -const useApiRequest_1 = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -const endpoint = 'types'; -exports.useTypes = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; +var endpoint = 'types'; +var useTypes = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useRetriveType = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; +var useRetriveType = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; @@ -622,46 +708,51 @@ exports.useRetriveType = (options) => { /*!********************************!*\ !*** ./src/hooks/useUsers.tsx ***! \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: useUsers, useCreateUser, useRetriveUser, useUpdateUser, useDeleteUser */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -const useApiRequest_1 = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); -const endpoint = 'users'; -exports.useUsers = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; -}; -exports.useCreateUser = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useUsers", function() { return useUsers; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useCreateUser", function() { return useCreateUser; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useRetriveUser", function() { return useRetriveUser; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useUpdateUser", function() { return useUpdateUser; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useDeleteUser", function() { return useDeleteUser; }); +/* harmony import */ var _useApiRequest__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useApiRequest */ "./src/hooks/useApiRequest.tsx"); + +var endpoint = 'users'; +var useUsers = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useCreateUser = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useRetriveUser = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint }); - return { data, loading, error }; +var useRetriveUser = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; -exports.useUpdateUser = (options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - options, - endpoint, +var useUpdateUser = function (options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + options: options, + endpoint: endpoint, requsetMethod: 'post' - }); - return { data, loading, error }; -}; -exports.useDeleteUser = (id, options) => { - const { data, loading, error } = useApiRequest_1.useApiRequest({ - id, - options, - endpoint, + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; +}; +var useDeleteUser = function (id, options) { + var _a = Object(_useApiRequest__WEBPACK_IMPORTED_MODULE_0__["useApiRequest"])({ + id: id, + options: options, + endpoint: endpoint, requsetMethod: 'delete' - }); - return { data, loading, error }; + }), data = _a.data, loading = _a.loading, error = _a.error; + return { data: data, loading: loading, error: error }; }; @@ -671,72 +762,131 @@ exports.useDeleteUser = (id, options) => { /*!***********************!*\ !*** ./src/index.tsx ***! \***********************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: WPContext, usePosts, useCreatePost, useRetrivePost, useUpdatePost, useDeletePost, useRevisions, useRetriveRevision, useDeleteRevision, useCategories, useCreateCategory, useRetriveCategory, useUpdateCategory, useDeleteCategory, useTags, useCreateTag, useRetriveTag, useUpdateTag, useDeleteTag, usePages, useCreatePage, useRetrivePage, useUpdatePage, useDeletePage, useComments, useCreateComment, useRetriveComment, useUpdateComment, useDeleteComment, useTaxonomies, useRetriveTaxonomy, useMedia, useCreateMedia, useRetriveMedia, useUpdateMedia, useDeleteMedia, useUsers, useCreateUser, useRetriveUser, useUpdateUser, useDeleteUser, useTypes, useRetriveType, useStatuses, useRetriveStatus, useSettings, useUpdateSetting */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _hooks_usePosts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hooks/usePosts */ "./src/hooks/usePosts.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "usePosts", function() { return _hooks_usePosts__WEBPACK_IMPORTED_MODULE_0__["usePosts"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useCreatePost", function() { return _hooks_usePosts__WEBPACK_IMPORTED_MODULE_0__["useCreatePost"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useRetrivePost", function() { return _hooks_usePosts__WEBPACK_IMPORTED_MODULE_0__["useRetrivePost"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useUpdatePost", function() { return _hooks_usePosts__WEBPACK_IMPORTED_MODULE_0__["useUpdatePost"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useDeletePost", function() { return _hooks_usePosts__WEBPACK_IMPORTED_MODULE_0__["useDeletePost"]; }); + +/* harmony import */ var _hooks_useRevisions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./hooks/useRevisions */ "./src/hooks/useRevisions.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useRevisions", function() { return _hooks_useRevisions__WEBPACK_IMPORTED_MODULE_1__["useRevisions"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useRetriveRevision", function() { return _hooks_useRevisions__WEBPACK_IMPORTED_MODULE_1__["useRetriveRevision"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useDeleteRevision", function() { return _hooks_useRevisions__WEBPACK_IMPORTED_MODULE_1__["useDeleteRevision"]; }); + +/* harmony import */ var _hooks_useCategories__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./hooks/useCategories */ "./src/hooks/useCategories.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useCategories", function() { return _hooks_useCategories__WEBPACK_IMPORTED_MODULE_2__["useCategories"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useCreateCategory", function() { return _hooks_useCategories__WEBPACK_IMPORTED_MODULE_2__["useCreateCategory"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useRetriveCategory", function() { return _hooks_useCategories__WEBPACK_IMPORTED_MODULE_2__["useRetriveCategory"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useUpdateCategory", function() { return _hooks_useCategories__WEBPACK_IMPORTED_MODULE_2__["useUpdateCategory"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useDeleteCategory", function() { return _hooks_useCategories__WEBPACK_IMPORTED_MODULE_2__["useDeleteCategory"]; }); + +/* harmony import */ var _hooks_useTags__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./hooks/useTags */ "./src/hooks/useTags.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useTags", function() { return _hooks_useTags__WEBPACK_IMPORTED_MODULE_3__["useTags"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useCreateTag", function() { return _hooks_useTags__WEBPACK_IMPORTED_MODULE_3__["useCreateTag"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useRetriveTag", function() { return _hooks_useTags__WEBPACK_IMPORTED_MODULE_3__["useRetriveTag"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useUpdateTag", function() { return _hooks_useTags__WEBPACK_IMPORTED_MODULE_3__["useUpdateTag"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useDeleteTag", function() { return _hooks_useTags__WEBPACK_IMPORTED_MODULE_3__["useDeleteTag"]; }); + +/* harmony import */ var _hooks_usePages__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hooks/usePages */ "./src/hooks/usePages.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "usePages", function() { return _hooks_usePages__WEBPACK_IMPORTED_MODULE_4__["usePages"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useCreatePage", function() { return _hooks_usePages__WEBPACK_IMPORTED_MODULE_4__["useCreatePage"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useRetrivePage", function() { return _hooks_usePages__WEBPACK_IMPORTED_MODULE_4__["useRetrivePage"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useUpdatePage", function() { return _hooks_usePages__WEBPACK_IMPORTED_MODULE_4__["useUpdatePage"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useDeletePage", function() { return _hooks_usePages__WEBPACK_IMPORTED_MODULE_4__["useDeletePage"]; }); + +/* harmony import */ var _hooks_useComments__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hooks/useComments */ "./src/hooks/useComments.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useComments", function() { return _hooks_useComments__WEBPACK_IMPORTED_MODULE_5__["useComments"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useCreateComment", function() { return _hooks_useComments__WEBPACK_IMPORTED_MODULE_5__["useCreateComment"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useRetriveComment", function() { return _hooks_useComments__WEBPACK_IMPORTED_MODULE_5__["useRetriveComment"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useUpdateComment", function() { return _hooks_useComments__WEBPACK_IMPORTED_MODULE_5__["useUpdateComment"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useDeleteComment", function() { return _hooks_useComments__WEBPACK_IMPORTED_MODULE_5__["useDeleteComment"]; }); + +/* harmony import */ var _hooks_useTaxonomies__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./hooks/useTaxonomies */ "./src/hooks/useTaxonomies.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useTaxonomies", function() { return _hooks_useTaxonomies__WEBPACK_IMPORTED_MODULE_6__["useTaxonomies"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useRetriveTaxonomy", function() { return _hooks_useTaxonomies__WEBPACK_IMPORTED_MODULE_6__["useRetriveTaxonomy"]; }); + +/* harmony import */ var _hooks_useMedia__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./hooks/useMedia */ "./src/hooks/useMedia.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useMedia", function() { return _hooks_useMedia__WEBPACK_IMPORTED_MODULE_7__["useMedia"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useCreateMedia", function() { return _hooks_useMedia__WEBPACK_IMPORTED_MODULE_7__["useCreateMedia"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useRetriveMedia", function() { return _hooks_useMedia__WEBPACK_IMPORTED_MODULE_7__["useRetriveMedia"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useUpdateMedia", function() { return _hooks_useMedia__WEBPACK_IMPORTED_MODULE_7__["useUpdateMedia"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useDeleteMedia", function() { return _hooks_useMedia__WEBPACK_IMPORTED_MODULE_7__["useDeleteMedia"]; }); + +/* harmony import */ var _hooks_useUsers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./hooks/useUsers */ "./src/hooks/useUsers.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useUsers", function() { return _hooks_useUsers__WEBPACK_IMPORTED_MODULE_8__["useUsers"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useCreateUser", function() { return _hooks_useUsers__WEBPACK_IMPORTED_MODULE_8__["useCreateUser"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useRetriveUser", function() { return _hooks_useUsers__WEBPACK_IMPORTED_MODULE_8__["useRetriveUser"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useUpdateUser", function() { return _hooks_useUsers__WEBPACK_IMPORTED_MODULE_8__["useUpdateUser"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useDeleteUser", function() { return _hooks_useUsers__WEBPACK_IMPORTED_MODULE_8__["useDeleteUser"]; }); + +/* harmony import */ var _hooks_useTypes__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./hooks/useTypes */ "./src/hooks/useTypes.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useTypes", function() { return _hooks_useTypes__WEBPACK_IMPORTED_MODULE_9__["useTypes"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useRetriveType", function() { return _hooks_useTypes__WEBPACK_IMPORTED_MODULE_9__["useRetriveType"]; }); + +/* harmony import */ var _hooks_useStatuses__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./hooks/useStatuses */ "./src/hooks/useStatuses.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useStatuses", function() { return _hooks_useStatuses__WEBPACK_IMPORTED_MODULE_10__["useStatuses"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useRetriveStatus", function() { return _hooks_useStatuses__WEBPACK_IMPORTED_MODULE_10__["useRetriveStatus"]; }); + +/* harmony import */ var _hooks_useSettings__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./hooks/useSettings */ "./src/hooks/useSettings.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useSettings", function() { return _hooks_useSettings__WEBPACK_IMPORTED_MODULE_11__["useSettings"]; }); + +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useUpdateSetting", function() { return _hooks_useSettings__WEBPACK_IMPORTED_MODULE_11__["useUpdateSetting"]; }); + +/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./context */ "./src/context.tsx"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "WPContext", function() { return _context__WEBPACK_IMPORTED_MODULE_12__["WPContext"]; }); + + + + + + + + + + + + + -Object.defineProperty(exports, "__esModule", { value: true }); -var usePosts_1 = __webpack_require__(/*! ./hooks/usePosts */ "./src/hooks/usePosts.tsx"); -exports.usePosts = usePosts_1.usePosts; -exports.useCreatePost = usePosts_1.useCreatePost; -exports.useRetrivePost = usePosts_1.useRetrivePost; -exports.useUpdatePost = usePosts_1.useUpdatePost; -exports.useDeletePost = usePosts_1.useDeletePost; -var useRevisions_1 = __webpack_require__(/*! ./hooks/useRevisions */ "./src/hooks/useRevisions.tsx"); -exports.useRevisions = useRevisions_1.useRevisions; -exports.useRetriveRevision = useRevisions_1.useRetriveRevision; -exports.useDeleteRevision = useRevisions_1.useDeleteRevision; -var useCategories_1 = __webpack_require__(/*! ./hooks/useCategories */ "./src/hooks/useCategories.tsx"); -exports.useCategories = useCategories_1.useCategories; -exports.useCreateCategory = useCategories_1.useCreateCategory; -exports.useRetriveCategory = useCategories_1.useRetriveCategory; -exports.useUpdateCategory = useCategories_1.useUpdateCategory; -exports.useDeleteCategory = useCategories_1.useDeleteCategory; -var useTags_1 = __webpack_require__(/*! ./hooks/useTags */ "./src/hooks/useTags.tsx"); -exports.useTags = useTags_1.useTags; -exports.useCreateTag = useTags_1.useCreateTag; -exports.useRetriveTag = useTags_1.useRetriveTag; -exports.useUpdateTag = useTags_1.useUpdateTag; -exports.useDeleteTag = useTags_1.useDeleteTag; -var usePages_1 = __webpack_require__(/*! ./hooks/usePages */ "./src/hooks/usePages.tsx"); -exports.usePages = usePages_1.usePages; -exports.useCreatePage = usePages_1.useCreatePage; -exports.useRetrivePage = usePages_1.useRetrivePage; -exports.useUpdatePage = usePages_1.useUpdatePage; -exports.useDeletePage = usePages_1.useDeletePage; -var useComments_1 = __webpack_require__(/*! ./hooks/useComments */ "./src/hooks/useComments.tsx"); -exports.useComments = useComments_1.useComments; -exports.useCreateComment = useComments_1.useCreateComment; -exports.useRetriveComment = useComments_1.useRetriveComment; -exports.useUpdateComment = useComments_1.useUpdateComment; -exports.useDeleteComment = useComments_1.useDeleteComment; -var useTaxonomies_1 = __webpack_require__(/*! ./hooks/useTaxonomies */ "./src/hooks/useTaxonomies.tsx"); -exports.useTaxonomies = useTaxonomies_1.useTaxonomies; -exports.useRetriveTaxonomy = useTaxonomies_1.useRetriveTaxonomy; -var useMedia_1 = __webpack_require__(/*! ./hooks/useMedia */ "./src/hooks/useMedia.tsx"); -exports.useMedia = useMedia_1.useMedia; -exports.useCreateMedia = useMedia_1.useCreateMedia; -exports.useRetriveMedia = useMedia_1.useRetriveMedia; -exports.useUpdateMedia = useMedia_1.useUpdateMedia; -exports.useDeleteMedia = useMedia_1.useDeleteMedia; -var useUsers_1 = __webpack_require__(/*! ./hooks/useUsers */ "./src/hooks/useUsers.tsx"); -exports.useUsers = useUsers_1.useUsers; -exports.useCreateUser = useUsers_1.useCreateUser; -exports.useRetriveUser = useUsers_1.useRetriveUser; -exports.useUpdateUser = useUsers_1.useUpdateUser; -exports.useDeleteUser = useUsers_1.useDeleteUser; -var useTypes_1 = __webpack_require__(/*! ./hooks/useTypes */ "./src/hooks/useTypes.tsx"); -exports.useTypes = useTypes_1.useTypes; -exports.useRetriveType = useTypes_1.useRetriveType; -var useStatuses_1 = __webpack_require__(/*! ./hooks/useStatuses */ "./src/hooks/useStatuses.tsx"); -exports.useStatuses = useStatuses_1.useStatuses; -exports.useRetriveStatus = useStatuses_1.useRetriveStatus; -var useSettings_1 = __webpack_require__(/*! ./hooks/useSettings */ "./src/hooks/useSettings.tsx"); -exports.useSettings = useSettings_1.useSettings; -exports.useUpdateSetting = useSettings_1.useUpdateSetting; -var context_1 = __webpack_require__(/*! ./context */ "./src/context.tsx"); -exports.WPContext = context_1.WPContext; /***/ }), @@ -745,17 +895,17 @@ exports.WPContext = context_1.WPContext; /*!*****************************!*\ !*** ./src/utils/index.tsx ***! \*****************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/*! exports provided: serialize */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.serialize = (object) => { - const string = []; - for (let key in object) { +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "serialize", function() { return serialize; }); +var serialize = function (object) { + var string = []; + for (var key in object) { if (object.hasOwnProperty(key)) { - string.push(`${encodeURIComponent(key)}=${encodeURIComponent(object[key])}`); + string.push(encodeURIComponent(key) + "=" + encodeURIComponent(object[key])); } } return string.length > 0 ? '?' + string.join('&') : ''; diff --git a/lib/react-wordpress-hooks.js.map b/lib/react-wordpress-hooks.js.map index 629eeb7..6e7b412 100644 --- a/lib/react-wordpress-hooks.js.map +++ b/lib/react-wordpress-hooks.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://ReactWPHooks/webpack/bootstrap","webpack://ReactWPHooks/./src/context.tsx","webpack://ReactWPHooks/./src/hooks/useApiRequest.tsx","webpack://ReactWPHooks/./src/hooks/useCategories.tsx","webpack://ReactWPHooks/./src/hooks/useComments.tsx","webpack://ReactWPHooks/./src/hooks/useMedia.tsx","webpack://ReactWPHooks/./src/hooks/usePages.tsx","webpack://ReactWPHooks/./src/hooks/usePosts.tsx","webpack://ReactWPHooks/./src/hooks/useRevisions.tsx","webpack://ReactWPHooks/./src/hooks/useSettings.tsx","webpack://ReactWPHooks/./src/hooks/useStatuses.tsx","webpack://ReactWPHooks/./src/hooks/useTags.tsx","webpack://ReactWPHooks/./src/hooks/useTaxonomies.tsx","webpack://ReactWPHooks/./src/hooks/useTypes.tsx","webpack://ReactWPHooks/./src/hooks/useUsers.tsx","webpack://ReactWPHooks/./src/index.tsx","webpack://ReactWPHooks/./src/utils/index.tsx","webpack://ReactWPHooks/external \"react\""],"names":[],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;AClFa;AACb;AACA,4CAA4C;AAC5C;AACA,8CAA8C,cAAc;AAC5D,gCAAgC,mBAAO,CAAC,oBAAO;AAC/C;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;ACTY;AACb;AACA;AACA,mCAAmC,MAAM,6BAA6B,EAAE,YAAY,WAAW,EAAE;AACjG,kCAAkC,MAAM,iCAAiC,EAAE,YAAY,WAAW,EAAE;AACpG,+BAA+B,iEAAiE,uBAAuB,EAAE,4BAA4B;AACrJ;AACA,KAAK;AACL;AACA,8CAA8C,cAAc;AAC5D,gBAAgB,mBAAO,CAAC,oBAAO;AAC/B,kBAAkB,mBAAO,CAAC,qCAAY;AACtC,gBAAgB,mBAAO,CAAC,uCAAU;AAClC,0BAA0B,oDAAoD;AAC9E,WAAW,eAAe;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,IAAI,iBAAiB,SAAS;AAChE;AACA,mCAAmC,GAAG;AACtC;AACA;AACA;AACA,uCAAuC,QAAQ;AAC/C;AACA;AACA,+CAA+C,kBAAkB;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;AC3Da;AACb,8CAA8C,cAAc;AAC5D,wBAAwB,mBAAO,CAAC,sDAAiB;AACjD;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;AC1Ca;AACb,8CAA8C,cAAc;AAC5D,wBAAwB,mBAAO,CAAC,sDAAiB;AACjD;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;ACpCa;AACb,8CAA8C,cAAc;AAC5D,wBAAwB,mBAAO,CAAC,sDAAiB;AACjD;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;ACpCa;AACb,8CAA8C,cAAc;AAC5D,wBAAwB,mBAAO,CAAC,sDAAiB;AACjD;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;ACpCa;AACb,8CAA8C,cAAc;AAC5D,wBAAwB,mBAAO,CAAC,sDAAiB;AACjD;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;ACpCa;AACb,8CAA8C,cAAc;AAC5D,wBAAwB,mBAAO,CAAC,sDAAiB;AACjD;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;ACxBa;AACb,8CAA8C,cAAc;AAC5D,wBAAwB,mBAAO,CAAC,sDAAiB;AACjD;AACA;AACA,WAAW,uBAAuB,kCAAkC,WAAW;AAC/E,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;ACfa;AACb,8CAA8C,cAAc;AAC5D,wBAAwB,mBAAO,CAAC,sDAAiB;AACjD;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;;;;;;;;;;;;;ACXa;AACb,8CAA8C,cAAc;AAC5D,wBAAwB,mBAAO,CAAC,sDAAiB;AACjD;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;ACpCa;AACb,8CAA8C,cAAc;AAC5D,wBAAwB,mBAAO,CAAC,sDAAiB;AACjD;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;;;;;;;;;;;;;ACXa;AACb,8CAA8C,cAAc;AAC5D,wBAAwB,mBAAO,CAAC,sDAAiB;AACjD;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;;;;;;;;;;;;;ACXa;AACb,8CAA8C,cAAc;AAC5D,wBAAwB,mBAAO,CAAC,sDAAiB;AACjD;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB,kCAAkC,oBAAoB;AACxF,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACA;AACA,WAAW,uBAAuB;AAClC;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;ACpCa;AACb,8CAA8C,cAAc;AAC5D,iBAAiB,mBAAO,CAAC,kDAAkB;AAC3C;AACA;AACA;AACA;AACA;AACA,qBAAqB,mBAAO,CAAC,0DAAsB;AACnD;AACA;AACA;AACA,sBAAsB,mBAAO,CAAC,4DAAuB;AACrD;AACA;AACA;AACA;AACA;AACA,gBAAgB,mBAAO,CAAC,gDAAiB;AACzC;AACA;AACA;AACA;AACA;AACA,iBAAiB,mBAAO,CAAC,kDAAkB;AAC3C;AACA;AACA;AACA;AACA;AACA,oBAAoB,mBAAO,CAAC,wDAAqB;AACjD;AACA;AACA;AACA;AACA;AACA,sBAAsB,mBAAO,CAAC,4DAAuB;AACrD;AACA;AACA,iBAAiB,mBAAO,CAAC,kDAAkB;AAC3C;AACA;AACA;AACA;AACA;AACA,iBAAiB,mBAAO,CAAC,kDAAkB;AAC3C;AACA;AACA;AACA;AACA;AACA,iBAAiB,mBAAO,CAAC,kDAAkB;AAC3C;AACA;AACA,oBAAoB,mBAAO,CAAC,wDAAqB;AACjD;AACA;AACA,oBAAoB,mBAAO,CAAC,wDAAqB;AACjD;AACA;AACA,gBAAgB,mBAAO,CAAC,oCAAW;AACnC;;;;;;;;;;;;;AC7Da;AACb,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA,2BAA2B,wBAAwB,GAAG,gCAAgC;AACtF;AACA;AACA;AACA;;;;;;;;;;;;ACVA,kC","file":"react-wordpress-hooks.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./src/index.tsx\");\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst react_1 = __importDefault(require(\"react\"));\nexports.WPContext = react_1.default.createContext({\n url: '',\n headers: undefined\n});\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst react_1 = require(\"react\");\nconst context_1 = require(\"../context\");\nconst utils_1 = require(\"../utils\");\nexports.useApiRequest = ({ id, options, requsetMethod = 'get', endpoint = '' }) => {\n const { url, headers } = react_1.useContext(context_1.WPContext);\n const [data, setData] = react_1.useState([]);\n const [loading, setLoading] = react_1.useState(false);\n const [error, setError] = react_1.useState(null);\n react_1.useEffect(() => {\n const loadData = () => __awaiter(this, void 0, void 0, function* () {\n try {\n setLoading(true);\n const query = [`${url}/wp-json/wp/v2/${endpoint}`];\n if (requsetMethod === 'delete') {\n query.push(`/${id}`);\n }\n if (requsetMethod === 'get') {\n if (typeof options === 'number') {\n query.push(`/${options}`);\n }\n else if (Array.isArray(options)) {\n query.push(`?include=${options.join(',')}`);\n }\n else {\n query.push(utils_1.serialize(options));\n }\n }\n const res = yield fetch(query.join(''), {\n method: requsetMethod,\n headers\n });\n const response = yield res.json();\n setLoading(false);\n if (response.code) {\n setError(response);\n }\n else {\n setData(response);\n }\n }\n catch (err) {\n setLoading(false);\n setError(err);\n }\n });\n loadData();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [headers, endpoint, requsetMethod, url]);\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst useApiRequest_1 = require(\"./useApiRequest\");\nconst endpoint = 'categories';\nexports.useCategories = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint\n });\n return { data, loading, error };\n};\nexports.useCreateCategory = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useRetriveCategory = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint\n });\n return { data, loading, error };\n};\nexports.useUpdateCategory = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useDeleteCategory = (id, options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n id,\n options,\n endpoint,\n requsetMethod: 'delete'\n });\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst useApiRequest_1 = require(\"./useApiRequest\");\nconst endpoint = 'comments';\nexports.useComments = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useCreateComment = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useRetriveComment = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useUpdateComment = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useDeleteComment = (id, options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n id,\n options,\n endpoint,\n requsetMethod: 'delete'\n });\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst useApiRequest_1 = require(\"./useApiRequest\");\nconst endpoint = 'media';\nexports.useMedia = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useCreateMedia = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useRetriveMedia = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useUpdateMedia = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useDeleteMedia = (id, options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n id,\n options,\n endpoint,\n requsetMethod: 'delete'\n });\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst useApiRequest_1 = require(\"./useApiRequest\");\nconst endpoint = 'pages';\nexports.usePages = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useCreatePage = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useRetrivePage = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useUpdatePage = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useDeletePage = (id, options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n id,\n options,\n endpoint,\n requsetMethod: 'delete'\n });\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst useApiRequest_1 = require(\"./useApiRequest\");\nconst endpoint = 'posts';\nexports.usePosts = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useCreatePost = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useRetrivePost = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useUpdatePost = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useDeletePost = (id, options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n id,\n options,\n endpoint,\n requsetMethod: 'delete'\n });\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst useApiRequest_1 = require(\"./useApiRequest\");\nconst endpoint = 'revisions';\nexports.useRevisions = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'delete'\n });\n return { data, loading, error };\n};\nexports.useRetriveRevision = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useDeleteRevision = (id, options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n id,\n options,\n endpoint,\n requsetMethod: 'delete'\n });\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst useApiRequest_1 = require(\"./useApiRequest\");\nconst endpoint = 'settings';\nexports.useSettings = () => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ endpoint });\n return { data, loading, error };\n};\nexports.useUpdateSetting = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst useApiRequest_1 = require(\"./useApiRequest\");\nconst endpoint = 'statuses';\nexports.useStatuses = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useRetriveStatus = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst useApiRequest_1 = require(\"./useApiRequest\");\nconst endpoint = 'tags';\nexports.useTags = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useCreateTag = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useRetriveTag = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useUpdateTag = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useDeleteTag = (id, options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n id,\n options,\n endpoint,\n requsetMethod: 'delete'\n });\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst useApiRequest_1 = require(\"./useApiRequest\");\nconst endpoint = 'taxonomies';\nexports.useTaxonomies = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useRetriveTaxonomy = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst useApiRequest_1 = require(\"./useApiRequest\");\nconst endpoint = 'types';\nexports.useTypes = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useRetriveType = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst useApiRequest_1 = require(\"./useApiRequest\");\nconst endpoint = 'users';\nexports.useUsers = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useCreateUser = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useRetriveUser = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({ options, endpoint });\n return { data, loading, error };\n};\nexports.useUpdateUser = (options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n options,\n endpoint,\n requsetMethod: 'post'\n });\n return { data, loading, error };\n};\nexports.useDeleteUser = (id, options) => {\n const { data, loading, error } = useApiRequest_1.useApiRequest({\n id,\n options,\n endpoint,\n requsetMethod: 'delete'\n });\n return { data, loading, error };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar usePosts_1 = require(\"./hooks/usePosts\");\nexports.usePosts = usePosts_1.usePosts;\nexports.useCreatePost = usePosts_1.useCreatePost;\nexports.useRetrivePost = usePosts_1.useRetrivePost;\nexports.useUpdatePost = usePosts_1.useUpdatePost;\nexports.useDeletePost = usePosts_1.useDeletePost;\nvar useRevisions_1 = require(\"./hooks/useRevisions\");\nexports.useRevisions = useRevisions_1.useRevisions;\nexports.useRetriveRevision = useRevisions_1.useRetriveRevision;\nexports.useDeleteRevision = useRevisions_1.useDeleteRevision;\nvar useCategories_1 = require(\"./hooks/useCategories\");\nexports.useCategories = useCategories_1.useCategories;\nexports.useCreateCategory = useCategories_1.useCreateCategory;\nexports.useRetriveCategory = useCategories_1.useRetriveCategory;\nexports.useUpdateCategory = useCategories_1.useUpdateCategory;\nexports.useDeleteCategory = useCategories_1.useDeleteCategory;\nvar useTags_1 = require(\"./hooks/useTags\");\nexports.useTags = useTags_1.useTags;\nexports.useCreateTag = useTags_1.useCreateTag;\nexports.useRetriveTag = useTags_1.useRetriveTag;\nexports.useUpdateTag = useTags_1.useUpdateTag;\nexports.useDeleteTag = useTags_1.useDeleteTag;\nvar usePages_1 = require(\"./hooks/usePages\");\nexports.usePages = usePages_1.usePages;\nexports.useCreatePage = usePages_1.useCreatePage;\nexports.useRetrivePage = usePages_1.useRetrivePage;\nexports.useUpdatePage = usePages_1.useUpdatePage;\nexports.useDeletePage = usePages_1.useDeletePage;\nvar useComments_1 = require(\"./hooks/useComments\");\nexports.useComments = useComments_1.useComments;\nexports.useCreateComment = useComments_1.useCreateComment;\nexports.useRetriveComment = useComments_1.useRetriveComment;\nexports.useUpdateComment = useComments_1.useUpdateComment;\nexports.useDeleteComment = useComments_1.useDeleteComment;\nvar useTaxonomies_1 = require(\"./hooks/useTaxonomies\");\nexports.useTaxonomies = useTaxonomies_1.useTaxonomies;\nexports.useRetriveTaxonomy = useTaxonomies_1.useRetriveTaxonomy;\nvar useMedia_1 = require(\"./hooks/useMedia\");\nexports.useMedia = useMedia_1.useMedia;\nexports.useCreateMedia = useMedia_1.useCreateMedia;\nexports.useRetriveMedia = useMedia_1.useRetriveMedia;\nexports.useUpdateMedia = useMedia_1.useUpdateMedia;\nexports.useDeleteMedia = useMedia_1.useDeleteMedia;\nvar useUsers_1 = require(\"./hooks/useUsers\");\nexports.useUsers = useUsers_1.useUsers;\nexports.useCreateUser = useUsers_1.useCreateUser;\nexports.useRetriveUser = useUsers_1.useRetriveUser;\nexports.useUpdateUser = useUsers_1.useUpdateUser;\nexports.useDeleteUser = useUsers_1.useDeleteUser;\nvar useTypes_1 = require(\"./hooks/useTypes\");\nexports.useTypes = useTypes_1.useTypes;\nexports.useRetriveType = useTypes_1.useRetriveType;\nvar useStatuses_1 = require(\"./hooks/useStatuses\");\nexports.useStatuses = useStatuses_1.useStatuses;\nexports.useRetriveStatus = useStatuses_1.useRetriveStatus;\nvar useSettings_1 = require(\"./hooks/useSettings\");\nexports.useSettings = useSettings_1.useSettings;\nexports.useUpdateSetting = useSettings_1.useUpdateSetting;\nvar context_1 = require(\"./context\");\nexports.WPContext = context_1.WPContext;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.serialize = (object) => {\n const string = [];\n for (let key in object) {\n if (object.hasOwnProperty(key)) {\n string.push(`${encodeURIComponent(key)}=${encodeURIComponent(object[key])}`);\n }\n }\n return string.length > 0 ? '?' + string.join('&') : '';\n};\n","module.exports = require(\"react\");"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://ReactWPHooks/webpack/bootstrap","webpack://ReactWPHooks/./src/context.tsx","webpack://ReactWPHooks/./src/hooks/useApiRequest.tsx","webpack://ReactWPHooks/./src/hooks/useCategories.tsx","webpack://ReactWPHooks/./src/hooks/useComments.tsx","webpack://ReactWPHooks/./src/hooks/useMedia.tsx","webpack://ReactWPHooks/./src/hooks/usePages.tsx","webpack://ReactWPHooks/./src/hooks/usePosts.tsx","webpack://ReactWPHooks/./src/hooks/useRevisions.tsx","webpack://ReactWPHooks/./src/hooks/useSettings.tsx","webpack://ReactWPHooks/./src/hooks/useStatuses.tsx","webpack://ReactWPHooks/./src/hooks/useTags.tsx","webpack://ReactWPHooks/./src/hooks/useTaxonomies.tsx","webpack://ReactWPHooks/./src/hooks/useTypes.tsx","webpack://ReactWPHooks/./src/hooks/useUsers.tsx","webpack://ReactWPHooks/./src/index.tsx","webpack://ReactWPHooks/./src/utils/index.tsx","webpack://ReactWPHooks/external \"react\""],"names":[],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAA0B;AACnB,gBAAgB,4CAAK;AAC5B;AACA;AACA,CAAC;;;;;;;;;;;;;ACJD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAiB,SAAI,IAAI,SAAI;AAC7B;AACA,mCAAmC,MAAM,6BAA6B,EAAE,YAAY,WAAW,EAAE;AACjG,kCAAkC,MAAM,iCAAiC,EAAE,YAAY,WAAW,EAAE;AACpG,+BAA+B,iEAAiE,uBAAuB,EAAE,4BAA4B;AACrJ;AACA,KAAK;AACL;AACA,mBAAmB,SAAI,IAAI,SAAI;AAC/B,aAAa,6BAA6B,0BAA0B,aAAa,EAAE,qBAAqB;AACxG,gBAAgB,qDAAqD,oEAAoE,aAAa,EAAE;AACxJ,sBAAsB,sBAAsB,qBAAqB,GAAG;AACpE;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;AACvC,kCAAkC,SAAS;AAC3C,kCAAkC,WAAW,UAAU;AACvD,yCAAyC,cAAc;AACvD;AACA,6GAA6G,OAAO,UAAU;AAC9H,gFAAgF,iBAAiB,OAAO;AACxG,wDAAwD,gBAAgB,QAAQ,OAAO;AACvF,8CAA8C,gBAAgB,gBAAgB,OAAO;AACrF;AACA,iCAAiC;AACjC;AACA;AACA,SAAS,YAAY,aAAa,OAAO,EAAE,UAAU,WAAW;AAChE,mCAAmC,SAAS;AAC5C;AACA;AACwD;AACjB;AACF;AAC9B;AACP;AACA,aAAa,wDAAU,CAAC,kDAAS;AACjC,aAAa,sDAAQ;AACrB,aAAa,sDAAQ;AACrB,aAAa,sDAAQ;AACrB,IAAI,uDAAS;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C,wDAAS;AACxD;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;ACnGA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgD;AAChD;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;ACxCA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgD;AAChD;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgD;AAChD;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgD;AAChD;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgD;AAChD;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAAA;AAAgD;AAChD;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;ACtBA;AAAA;AAAA;AAAA;AAAgD;AAChD;AACO;AACP,aAAa,oEAAa,EAAE,qBAAqB;AACjD,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;ACbA;AAAA;AAAA;AAAA;AAAgD;AAChD;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;;;;;;;;;;;;;ACTA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgD;AAChD;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAAgD;AAChD;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;;;;;;;;;;;;;ACTA;AAAA;AAAA;AAAA;AAAgD;AAChD;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;;;;;;;;;;;;;ACTA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgD;AAChD;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa,EAAE,uCAAuC;AACnE,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;AACO;AACP,aAAa,oEAAa;AAC1B;AACA;AACA;AACA;AACA,KAAK;AACL,YAAY;AACZ;;;;;;;;;;;;;AClCA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiC;AACI;AACC;AACN;AACC;AACG;AACE;AACL;AACA;AACA;AACG;AACA;AACE;;;;;;;;;;;;;ACZtC;AAAA;AAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACRA,kC","file":"react-wordpress-hooks.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./src/index.tsx\");\n","import React from 'react';\nexport var WPContext = React.createContext({\n url: '',\n headers: undefined\n});\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport { useState, useEffect, useContext } from 'react';\nimport { WPContext } from '../context';\nimport { serialize } from '../utils';\nexport var useApiRequest = function (_a) {\n var id = _a.id, options = _a.options, _b = _a.requsetMethod, requsetMethod = _b === void 0 ? 'get' : _b, _c = _a.endpoint, endpoint = _c === void 0 ? '' : _c;\n var _d = useContext(WPContext), url = _d.url, headers = _d.headers;\n var _e = useState([]), data = _e[0], setData = _e[1];\n var _f = useState(false), loading = _f[0], setLoading = _f[1];\n var _g = useState(null), error = _g[0], setError = _g[1];\n useEffect(function () {\n function loadData() {\n return __awaiter(this, void 0, void 0, function () {\n var query, res, response, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 3, , 4]);\n setLoading(true);\n query = [url + \"/wp-json/wp/v2/\" + endpoint];\n if (requsetMethod === 'delete') {\n query.push(\"/\" + id);\n }\n if (requsetMethod === 'get') {\n if (typeof options === 'number') {\n query.push(\"/\" + options);\n }\n else if (Array.isArray(options)) {\n query.push(\"?include=\" + options.join(','));\n }\n else {\n query.push(serialize(options));\n }\n }\n return [4 /*yield*/, fetch(query.join(''), {\n method: requsetMethod,\n headers: headers\n })];\n case 1:\n res = _a.sent();\n return [4 /*yield*/, res.json()];\n case 2:\n response = _a.sent();\n setLoading(false);\n if (response.code) {\n setError(response);\n }\n else {\n setData(response);\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n setLoading(false);\n setError(err_1);\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n });\n }\n loadData();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [headers, endpoint, requsetMethod, url]);\n return { data: data, loading: loading, error: error };\n};\n","import { useApiRequest } from './useApiRequest';\nvar endpoint = 'categories';\nexport var useCategories = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useCreateCategory = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useRetriveCategory = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useUpdateCategory = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useDeleteCategory = function (id, options) {\n var _a = useApiRequest({\n id: id,\n options: options,\n endpoint: endpoint,\n requsetMethod: 'delete'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\n","import { useApiRequest } from './useApiRequest';\nvar endpoint = 'comments';\nexport var useComments = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useCreateComment = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useRetriveComment = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useUpdateComment = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useDeleteComment = function (id, options) {\n var _a = useApiRequest({\n id: id,\n options: options,\n endpoint: endpoint,\n requsetMethod: 'delete'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\n","import { useApiRequest } from './useApiRequest';\nvar endpoint = 'media';\nexport var useMedia = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useCreateMedia = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useRetriveMedia = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useUpdateMedia = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useDeleteMedia = function (id, options) {\n var _a = useApiRequest({\n id: id,\n options: options,\n endpoint: endpoint,\n requsetMethod: 'delete'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\n","import { useApiRequest } from './useApiRequest';\nvar endpoint = 'pages';\nexport var usePages = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useCreatePage = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useRetrivePage = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useUpdatePage = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useDeletePage = function (id, options) {\n var _a = useApiRequest({\n id: id,\n options: options,\n endpoint: endpoint,\n requsetMethod: 'delete'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\n","import { useApiRequest } from './useApiRequest';\nvar endpoint = 'posts';\nexport var usePosts = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useCreatePost = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useRetrivePost = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useUpdatePost = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useDeletePost = function (id, options) {\n var _a = useApiRequest({\n id: id,\n options: options,\n endpoint: endpoint,\n requsetMethod: 'delete'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\n","import { useApiRequest } from './useApiRequest';\nvar endpoint = 'revisions';\nexport var useRevisions = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'delete'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useRetriveRevision = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useDeleteRevision = function (id, options) {\n var _a = useApiRequest({\n id: id,\n options: options,\n endpoint: endpoint,\n requsetMethod: 'delete'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\n","import { useApiRequest } from './useApiRequest';\nvar endpoint = 'settings';\nexport var useSettings = function () {\n var _a = useApiRequest({ endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useUpdateSetting = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\n","import { useApiRequest } from './useApiRequest';\nvar endpoint = 'statuses';\nexport var useStatuses = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useRetriveStatus = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\n","import { useApiRequest } from './useApiRequest';\nvar endpoint = 'tags';\nexport var useTags = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useCreateTag = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useRetriveTag = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useUpdateTag = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useDeleteTag = function (id, options) {\n var _a = useApiRequest({\n id: id,\n options: options,\n endpoint: endpoint,\n requsetMethod: 'delete'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\n","import { useApiRequest } from './useApiRequest';\nvar endpoint = 'taxonomies';\nexport var useTaxonomies = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useRetriveTaxonomy = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\n","import { useApiRequest } from './useApiRequest';\nvar endpoint = 'types';\nexport var useTypes = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useRetriveType = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\n","import { useApiRequest } from './useApiRequest';\nvar endpoint = 'users';\nexport var useUsers = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useCreateUser = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useRetriveUser = function (options) {\n var _a = useApiRequest({ options: options, endpoint: endpoint }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useUpdateUser = function (options) {\n var _a = useApiRequest({\n options: options,\n endpoint: endpoint,\n requsetMethod: 'post'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\nexport var useDeleteUser = function (id, options) {\n var _a = useApiRequest({\n id: id,\n options: options,\n endpoint: endpoint,\n requsetMethod: 'delete'\n }), data = _a.data, loading = _a.loading, error = _a.error;\n return { data: data, loading: loading, error: error };\n};\n","export * from './hooks/usePosts';\nexport * from './hooks/useRevisions';\nexport * from './hooks/useCategories';\nexport * from './hooks/useTags';\nexport * from './hooks/usePages';\nexport * from './hooks/useComments';\nexport * from './hooks/useTaxonomies';\nexport * from './hooks/useMedia';\nexport * from './hooks/useUsers';\nexport * from './hooks/useTypes';\nexport * from './hooks/useStatuses';\nexport * from './hooks/useSettings';\nexport { WPContext } from './context';\n","export var serialize = function (object) {\n var string = [];\n for (var key in object) {\n if (object.hasOwnProperty(key)) {\n string.push(encodeURIComponent(key) + \"=\" + encodeURIComponent(object[key]));\n }\n }\n return string.length > 0 ? '?' + string.join('&') : '';\n};\n","module.exports = require(\"react\");"],"sourceRoot":""} \ No newline at end of file diff --git a/lib/react-wordpress-hooks.min.js b/lib/react-wordpress-hooks.min.js index fd0c570..4942125 100644 --- a/lib/react-wordpress-hooks.min.js +++ b/lib/react-wordpress-hooks.min.js @@ -1 +1 @@ -module.exports=function(e){var t={};function o(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)o.d(r,s,function(t){return e[t]}.bind(null,s));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}([function(e,t,o){"use strict";var r=this&&this.__awaiter||function(e,t,o,r){return new(o||(o=Promise))(function(s,n){function a(e){try{i(r.next(e))}catch(e){n(e)}}function u(e){try{i(r.throw(e))}catch(e){n(e)}}function i(e){e.done?s(e.value):new o(function(t){t(e.value)}).then(a,u)}i((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const s=o(1),n=o(2),a=o(5);t.useApiRequest=({id:e,options:t,requsetMethod:o="get",endpoint:u=""})=>{const{url:i,headers:d}=s.useContext(n.WPContext),[p,l]=s.useState([]),[g,c]=s.useState(!1),[R,v]=s.useState(null);return s.useEffect(()=>{(()=>r(this,void 0,void 0,function*(){try{c(!0);const r=[`${i}/wp-json/wp/v2/${u}`];"delete"===o&&r.push(`/${e}`),"get"===o&&("number"==typeof t?r.push(`/${t}`):Array.isArray(t)?r.push(`?include=${t.join(",")}`):r.push(a.serialize(t)));const s=yield fetch(r.join(""),{method:o,headers:d}),n=yield s.json();c(!1),n.code?v(n):l(n)}catch(e){c(!1),v(e)}}))()},[d,u,o,i]),{data:p,loading:g,error:R}}},function(e,t){e.exports=require("react")},function(e,t,o){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=r(o(1));t.WPContext=s.default.createContext({url:"",headers:void 0})},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(4);t.usePosts=r.usePosts,t.useCreatePost=r.useCreatePost,t.useRetrivePost=r.useRetrivePost,t.useUpdatePost=r.useUpdatePost,t.useDeletePost=r.useDeletePost;var s=o(6);t.useRevisions=s.useRevisions,t.useRetriveRevision=s.useRetriveRevision,t.useDeleteRevision=s.useDeleteRevision;var n=o(7);t.useCategories=n.useCategories,t.useCreateCategory=n.useCreateCategory,t.useRetriveCategory=n.useRetriveCategory,t.useUpdateCategory=n.useUpdateCategory,t.useDeleteCategory=n.useDeleteCategory;var a=o(8);t.useTags=a.useTags,t.useCreateTag=a.useCreateTag,t.useRetriveTag=a.useRetriveTag,t.useUpdateTag=a.useUpdateTag,t.useDeleteTag=a.useDeleteTag;var u=o(9);t.usePages=u.usePages,t.useCreatePage=u.useCreatePage,t.useRetrivePage=u.useRetrivePage,t.useUpdatePage=u.useUpdatePage,t.useDeletePage=u.useDeletePage;var i=o(10);t.useComments=i.useComments,t.useCreateComment=i.useCreateComment,t.useRetriveComment=i.useRetriveComment,t.useUpdateComment=i.useUpdateComment,t.useDeleteComment=i.useDeleteComment;var d=o(11);t.useTaxonomies=d.useTaxonomies,t.useRetriveTaxonomy=d.useRetriveTaxonomy;var p=o(12);t.useMedia=p.useMedia,t.useCreateMedia=p.useCreateMedia,t.useRetriveMedia=p.useRetriveMedia,t.useUpdateMedia=p.useUpdateMedia,t.useDeleteMedia=p.useDeleteMedia;var l=o(13);t.useUsers=l.useUsers,t.useCreateUser=l.useCreateUser,t.useRetriveUser=l.useRetriveUser,t.useUpdateUser=l.useUpdateUser,t.useDeleteUser=l.useDeleteUser;var g=o(14);t.useTypes=g.useTypes,t.useRetriveType=g.useRetriveType;var c=o(15);t.useStatuses=c.useStatuses,t.useRetriveStatus=c.useRetriveStatus;var R=o(16);t.useSettings=R.useSettings,t.useUpdateSetting=R.useUpdateSetting;var v=o(2);t.WPContext=v.WPContext},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=o(0);t.usePosts=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"posts"});return{data:t,loading:o,error:s}},t.useCreatePost=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"posts",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useRetrivePost=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"posts"});return{data:t,loading:o,error:s}},t.useUpdatePost=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"posts",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useDeletePost=(e,t)=>{const{data:o,loading:s,error:n}=r.useApiRequest({id:e,options:t,endpoint:"posts",requsetMethod:"delete"});return{data:o,loading:s,error:n}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serialize=e=>{const t=[];for(let o in e)e.hasOwnProperty(o)&&t.push(`${encodeURIComponent(o)}=${encodeURIComponent(e[o])}`);return t.length>0?"?"+t.join("&"):""}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=o(0);t.useRevisions=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"revisions",requsetMethod:"delete"});return{data:t,loading:o,error:s}},t.useRetriveRevision=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"revisions"});return{data:t,loading:o,error:s}},t.useDeleteRevision=(e,t)=>{const{data:o,loading:s,error:n}=r.useApiRequest({id:e,options:t,endpoint:"revisions",requsetMethod:"delete"});return{data:o,loading:s,error:n}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=o(0);t.useCategories=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"categories"});return{data:t,loading:o,error:s}},t.useCreateCategory=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"categories",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useRetriveCategory=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"categories"});return{data:t,loading:o,error:s}},t.useUpdateCategory=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"categories",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useDeleteCategory=(e,t)=>{const{data:o,loading:s,error:n}=r.useApiRequest({id:e,options:t,endpoint:"categories",requsetMethod:"delete"});return{data:o,loading:s,error:n}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=o(0);t.useTags=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"tags"});return{data:t,loading:o,error:s}},t.useCreateTag=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"tags",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useRetriveTag=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"tags"});return{data:t,loading:o,error:s}},t.useUpdateTag=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"tags",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useDeleteTag=(e,t)=>{const{data:o,loading:s,error:n}=r.useApiRequest({id:e,options:t,endpoint:"tags",requsetMethod:"delete"});return{data:o,loading:s,error:n}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=o(0);t.usePages=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"pages"});return{data:t,loading:o,error:s}},t.useCreatePage=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"pages",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useRetrivePage=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"pages"});return{data:t,loading:o,error:s}},t.useUpdatePage=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"pages",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useDeletePage=(e,t)=>{const{data:o,loading:s,error:n}=r.useApiRequest({id:e,options:t,endpoint:"pages",requsetMethod:"delete"});return{data:o,loading:s,error:n}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=o(0);t.useComments=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"comments"});return{data:t,loading:o,error:s}},t.useCreateComment=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"comments",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useRetriveComment=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"comments"});return{data:t,loading:o,error:s}},t.useUpdateComment=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"comments",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useDeleteComment=(e,t)=>{const{data:o,loading:s,error:n}=r.useApiRequest({id:e,options:t,endpoint:"comments",requsetMethod:"delete"});return{data:o,loading:s,error:n}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=o(0);t.useTaxonomies=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"taxonomies"});return{data:t,loading:o,error:s}},t.useRetriveTaxonomy=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"taxonomies"});return{data:t,loading:o,error:s}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=o(0);t.useMedia=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"media"});return{data:t,loading:o,error:s}},t.useCreateMedia=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"media",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useRetriveMedia=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"media"});return{data:t,loading:o,error:s}},t.useUpdateMedia=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"media",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useDeleteMedia=(e,t)=>{const{data:o,loading:s,error:n}=r.useApiRequest({id:e,options:t,endpoint:"media",requsetMethod:"delete"});return{data:o,loading:s,error:n}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=o(0);t.useUsers=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"users"});return{data:t,loading:o,error:s}},t.useCreateUser=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"users",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useRetriveUser=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"users"});return{data:t,loading:o,error:s}},t.useUpdateUser=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"users",requsetMethod:"post"});return{data:t,loading:o,error:s}},t.useDeleteUser=(e,t)=>{const{data:o,loading:s,error:n}=r.useApiRequest({id:e,options:t,endpoint:"users",requsetMethod:"delete"});return{data:o,loading:s,error:n}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=o(0);t.useTypes=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"types"});return{data:t,loading:o,error:s}},t.useRetriveType=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"types"});return{data:t,loading:o,error:s}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=o(0);t.useStatuses=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"statuses"});return{data:t,loading:o,error:s}},t.useRetriveStatus=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"statuses"});return{data:t,loading:o,error:s}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=o(0);t.useSettings=()=>{const{data:e,loading:t,error:o}=r.useApiRequest({endpoint:"settings"});return{data:e,loading:t,error:o}},t.useUpdateSetting=e=>{const{data:t,loading:o,error:s}=r.useApiRequest({options:e,endpoint:"settings",requsetMethod:"post"});return{data:t,loading:o,error:s}}}]); \ No newline at end of file +module.exports=function(r){var e={};function t(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return r[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=r,t.c=e,t.d=function(r,e,n){t.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:n})},t.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,e){if(1&e&&(r=t(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var o in r)t.d(n,o,function(e){return r[e]}.bind(null,o));return n},t.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(e,"a",e),e},t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},t.p="",t(t.s=1)}([function(r,e){r.exports=require("react")},function(r,e,t){"use strict";t.r(e);var n=t(0),o=t.n(n).a.createContext({url:"",headers:void 0}),a=function(r){var e=[];for(var t in r)r.hasOwnProperty(t)&&e.push(encodeURIComponent(t)+"="+encodeURIComponent(r[t]));return e.length>0?"?"+e.join("&"):""},i=function(r,e,t,n){return new(t||(t=Promise))(function(o,a){function i(r){try{u(n.next(r))}catch(r){a(r)}}function d(r){try{u(n.throw(r))}catch(r){a(r)}}function u(r){r.done?o(r.value):new t(function(e){e(r.value)}).then(i,d)}u((n=n.apply(r,e||[])).next())})},d=function(r,e){var t,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:d(0),throw:d(1),return:d(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function d(a){return function(d){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1](null); useEffect(() => { - const loadData = async () => { + async function loadData() { try { setLoading(true); @@ -60,7 +60,7 @@ export const useApiRequest = ({ setLoading(false); setError(err); } - }; + } loadData(); // eslint-disable-next-line react-hooks/exhaustive-deps diff --git a/src/index.tsx b/src/index.tsx index e4aefe4..03532a7 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,69 +1,14 @@ -export { - usePosts, - useCreatePost, - useRetrivePost, - useUpdatePost, - useDeletePost -} from './hooks/usePosts'; - -export { - useRevisions, - useRetriveRevision, - useDeleteRevision -} from './hooks/useRevisions'; - -export { - useCategories, - useCreateCategory, - useRetriveCategory, - useUpdateCategory, - useDeleteCategory -} from './hooks/useCategories'; - -export { - useTags, - useCreateTag, - useRetriveTag, - useUpdateTag, - useDeleteTag -} from './hooks/useTags'; - -export { - usePages, - useCreatePage, - useRetrivePage, - useUpdatePage, - useDeletePage -} from './hooks/usePages'; - -export { - useComments, - useCreateComment, - useRetriveComment, - useUpdateComment, - useDeleteComment -} from './hooks/useComments'; - -export { useTaxonomies, useRetriveTaxonomy } from './hooks/useTaxonomies'; - -export { - useMedia, - useCreateMedia, - useRetriveMedia, - useUpdateMedia, - useDeleteMedia -} from './hooks/useMedia'; - -export { - useUsers, - useCreateUser, - useRetriveUser, - useUpdateUser, - useDeleteUser -} from './hooks/useUsers'; - -export { useTypes, useRetriveType } from './hooks/useTypes'; -export { useStatuses, useRetriveStatus } from './hooks/useStatuses'; -export { useSettings, useUpdateSetting } from './hooks/useSettings'; +export * from './hooks/usePosts'; +export * from './hooks/useRevisions'; +export * from './hooks/useCategories'; +export * from './hooks/useTags'; +export * from './hooks/usePages'; +export * from './hooks/useComments'; +export * from './hooks/useTaxonomies'; +export * from './hooks/useMedia'; +export * from './hooks/useUsers'; +export * from './hooks/useTypes'; +export * from './hooks/useStatuses'; +export * from './hooks/useSettings'; export { WPContext } from './context'; diff --git a/tsconfig.json b/tsconfig.json index 680bc0c..903a3a1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { - "target": "es6", - "module": "commonjs", + "target": "es5", + "module": "esnext", "checkJs": false, "declaration": true, "jsx": "react", diff --git a/webpack.config.js b/webpack.config.js old mode 100755 new mode 100644 index 2bcf0af..aa79033 --- a/webpack.config.js +++ b/webpack.config.js @@ -37,4 +37,4 @@ module.exports = env => { ] } }; -}; +}; \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index f4267cd..010ef65 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,40 +19,13 @@ optionalDependencies: chokidar "^2.0.4" -"@babel/code-frame@7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0.tgz#06e2ab19bdb535385559aabb5ba59729482800f8" - integrity sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA== - dependencies: - "@babel/highlight" "^7.0.0" - -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5": +"@babel/code-frame@7.5.5", "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d" integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw== dependencies: "@babel/highlight" "^7.0.0" -"@babel/core@7.4.3": - version "7.4.3" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.4.3.tgz#198d6d3af4567be3989550d97e068de94503074f" - integrity sha512-oDpASqKFlbspQfzAE7yaeTmdljSH2ADIvBlb0RwbStltTuWa0+7CCI1fYVINNv9saHPa1W7oaKeuNuKj+RQCvA== - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/generator" "^7.4.0" - "@babel/helpers" "^7.4.3" - "@babel/parser" "^7.4.3" - "@babel/template" "^7.4.0" - "@babel/traverse" "^7.4.3" - "@babel/types" "^7.4.0" - convert-source-map "^1.1.0" - debug "^4.1.0" - json5 "^2.1.0" - lodash "^4.17.11" - resolve "^1.3.2" - semver "^5.4.1" - source-map "^0.5.0" - "@babel/core@7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.4.4.tgz#84055750b05fcd50f9915a826b44fa347a825250" @@ -73,7 +46,7 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/core@^7.0.0", "@babel/core@^7.2.2", "@babel/core@^7.4.4", "@babel/core@^7.4.5": +"@babel/core@7.5.5", "@babel/core@^7.0.0", "@babel/core@^7.4.4", "@babel/core@^7.4.5", "@babel/core@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.5.5.tgz#17b2686ef0d6bc58f963dddd68ab669755582c30" integrity sha512-i4qoSr2KTtce0DmkuuQBV4AuQgGPUcPXMr9L5MyYAtk06z068lQ10a4O009fe5OB/DfNV+h+qqT7ddNV8UnRjg== @@ -93,7 +66,7 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/generator@^7.4.0", "@babel/generator@^7.4.4", "@babel/generator@^7.5.5": +"@babel/generator@^7.4.4", "@babel/generator@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.5.5.tgz#873a7f936a3c89491b43536d12245b626664e3cf" integrity sha512-ETI/4vyTSxTzGnU2c49XHv2zhExkv9JHLTwDAFz85kmcwuShvYG2H08FwgIguQf4JC75CBnXAUM5PqeF4fj0nQ== @@ -136,7 +109,7 @@ "@babel/traverse" "^7.4.4" "@babel/types" "^7.4.4" -"@babel/helper-create-class-features-plugin@^7.4.0", "@babel/helper-create-class-features-plugin@^7.5.5": +"@babel/helper-create-class-features-plugin@^7.4.4", "@babel/helper-create-class-features-plugin@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.5.5.tgz#401f302c8ddbc0edd36f7c6b2887d8fa1122e5a4" integrity sha512-ZsxkyYiRA7Bg+ZTRpPvB6AbOFKTFFK4LrvTet8lInm0V468MWCaSYJE+I7v2z2r8KNLtYiV+K5kTCnR7dvyZjg== @@ -148,7 +121,7 @@ "@babel/helper-replace-supers" "^7.5.5" "@babel/helper-split-export-declaration" "^7.4.4" -"@babel/helper-define-map@^7.4.0", "@babel/helper-define-map@^7.5.5": +"@babel/helper-define-map@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.5.5.tgz#3dec32c2046f37e09b28c93eb0b103fd2a25d369" integrity sha512-fTfxx7i0B5NJqvUOBBGREnrqbTxRh7zinBANpZXAVDlsZxYdclDp467G1sQ8VZYMnAURY3RpBUAgOYT9GfzHBg== @@ -221,7 +194,7 @@ dependencies: "@babel/types" "^7.0.0" -"@babel/helper-plugin-utils@^7.0.0": +"@babel/helper-plugin-utils@7.0.0", "@babel/helper-plugin-utils@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250" integrity sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA== @@ -244,7 +217,7 @@ "@babel/traverse" "^7.1.0" "@babel/types" "^7.0.0" -"@babel/helper-replace-supers@^7.4.0", "@babel/helper-replace-supers@^7.5.5": +"@babel/helper-replace-supers@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.5.5.tgz#f84ce43df031222d2bad068d2626cb5799c34bc2" integrity sha512-XvRFWrNnlsow2u7jXDuH4jDDctkxbS7gXssrP4q2nUD606ukXHRvydj346wmNg+zAgpFx4MWf4+usfC93bElJg== @@ -262,7 +235,7 @@ "@babel/template" "^7.1.0" "@babel/types" "^7.0.0" -"@babel/helper-split-export-declaration@^7.4.0", "@babel/helper-split-export-declaration@^7.4.4": +"@babel/helper-split-export-declaration@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz#ff94894a340be78f53f06af038b205c49d993677" integrity sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q== @@ -279,7 +252,7 @@ "@babel/traverse" "^7.1.0" "@babel/types" "^7.2.0" -"@babel/helpers@^7.4.3", "@babel/helpers@^7.4.4", "@babel/helpers@^7.5.5": +"@babel/helpers@^7.4.4", "@babel/helpers@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.5.5.tgz#63908d2a73942229d1e6685bc2a0e730dde3b75e" integrity sha512-nRq2BUhxZFnfEn/ciJuhklHvFOqjJUD5wpx+1bxUF2axL9C+v4DE/dmp5sT2dKnpOs4orZWzpAZqlCy8QqE/7g== @@ -297,7 +270,7 @@ esutils "^2.0.2" js-tokens "^4.0.0" -"@babel/parser@^7.4.3", "@babel/parser@^7.4.4", "@babel/parser@^7.5.5": +"@babel/parser@^7.4.4", "@babel/parser@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.5.5.tgz#02f077ac8817d3df4a832ef59de67565e71cca4b" integrity sha512-E5BN68cqR7dhKan1SfqgPGhQ178bkVKpXTPEXnFJBrEt8/DKRZlybmy+IgYLTeN7tp1R5Ccmbm2rBk17sHYU3g== @@ -311,20 +284,20 @@ "@babel/helper-remap-async-to-generator" "^7.1.0" "@babel/plugin-syntax-async-generators" "^7.2.0" -"@babel/plugin-proposal-class-properties@7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.4.0.tgz#d70db61a2f1fd79de927eea91f6411c964e084b8" - integrity sha512-t2ECPNOXsIeK1JxJNKmgbzQtoG27KIlVE61vTqX0DKR9E9sZlVVxWUtEW9D5FlZ8b8j7SBNCHY47GgPKCKlpPg== +"@babel/plugin-proposal-class-properties@7.5.5": + version "7.5.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.5.5.tgz#a974cfae1e37c3110e71f3c6a2e48b8e71958cd4" + integrity sha512-AF79FsnWFxjlaosgdi421vmYG6/jg79bVD0dpD44QdgobzHKuLZ6S3vl8la9qIeSwGi8i1fS0O1mfuDAAdo1/A== dependencies: - "@babel/helper-create-class-features-plugin" "^7.4.0" + "@babel/helper-create-class-features-plugin" "^7.5.5" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-proposal-decorators@7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.4.0.tgz#8e1bfd83efa54a5f662033afcc2b8e701f4bb3a9" - integrity sha512-d08TLmXeK/XbgCo7ZeZ+JaeZDtDai/2ctapTRsWWkkmy7G/cqz8DQN/HlWG7RR4YmfXxmExsbU3SuCjlM7AtUg== +"@babel/plugin-proposal-decorators@7.4.4": + version "7.4.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.4.4.tgz#de9b2a1a8ab0196f378e2a82f10b6e2a36f21cc0" + integrity sha512-z7MpQz3XC/iQJWXH9y+MaWcLPNSMY9RQSthrLzak8R8hCj0fuyNk+Dzi9kfNe/JxxlWQ2g7wkABbgWjW36MTcw== dependencies: - "@babel/helper-create-class-features-plugin" "^7.4.0" + "@babel/helper-create-class-features-plugin" "^7.4.4" "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-decorators" "^7.2.0" @@ -344,15 +317,7 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-json-strings" "^7.2.0" -"@babel/plugin-proposal-object-rest-spread@7.4.3": - version "7.4.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.3.tgz#be27cd416eceeba84141305b93c282f5de23bbb4" - integrity sha512-xC//6DNSSHVjq8O2ge0dyYlhshsH4T7XdCVoxbi5HzLYWfsC5ooFlJjrXk8RcAT+hjHAK9UjBXdylzSoDK3t4g== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-object-rest-spread" "^7.2.0" - -"@babel/plugin-proposal-object-rest-spread@^7.3.2", "@babel/plugin-proposal-object-rest-spread@^7.4.3", "@babel/plugin-proposal-object-rest-spread@^7.5.5": +"@babel/plugin-proposal-object-rest-spread@7.5.5", "@babel/plugin-proposal-object-rest-spread@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.5.5.tgz#61939744f71ba76a3ae46b5eea18a54c16d22e58" integrity sha512-F2DxJJSQ7f64FyTVl5cw/9MWn6naXGdk3Q3UhDbFEEHv+EilCPoeRD3Zh/Utx1CJz4uyKlQ4uH+bJPbEhMV7Zw== @@ -368,7 +333,7 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-optional-catch-binding" "^7.2.0" -"@babel/plugin-proposal-unicode-property-regex@^7.4.0", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": +"@babel/plugin-proposal-unicode-property-regex@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.4.4.tgz#501ffd9826c0b91da22690720722ac7cb1ca9c78" integrity sha512-j1NwnOqMG9mFUOH58JTFsA/+ZYzQLUZ/drqWUqxCYLGeu2JFZL8YrNC9hBxKmWtAuOCHPcRpgv7fhap09Fb4kA== @@ -412,14 +377,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-syntax-jsx@^7.2.0": +"@babel/plugin-syntax-jsx@7.2.0", "@babel/plugin-syntax-jsx@^7.2.0": version "7.2.0" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.2.0.tgz#0b85a3b4bc7cdf4cc4b8bf236335b907ca22e7c7" integrity sha512-VyN4QANJkRW6lDBmENzRszvZf3/4AXaj9YR7GwrWeeN9tEBPuXbmDYVU9bYBN0D70zCWVwUy0HWq2553VCb6Hw== dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-syntax-object-rest-spread@^7.2.0": +"@babel/plugin-syntax-object-rest-spread@7.2.0", "@babel/plugin-syntax-object-rest-spread@^7.2.0": version "7.2.0" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.2.0.tgz#3b7a3e733510c57e820b9142a6579ac8b0dfad2e" integrity sha512-t0JKGgqk2We+9may3t0xDdmneaXmyxq0xieYcKHxIsrJO64n1OiMWNUtc5gQK1PA0NpdCRrtZp4z+IUaKugrSA== @@ -447,7 +412,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-async-to-generator@^7.4.0", "@babel/plugin-transform-async-to-generator@^7.5.0": +"@babel/plugin-transform-async-to-generator@^7.5.0": version "7.5.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.5.0.tgz#89a3848a0166623b5bc481164b5936ab947e887e" integrity sha512-mqvkzwIGkq0bEF1zLRRiTdjfomZJDV33AH3oQzHVGkI2VzEmXLpKKOBvEVaFZBJdN0XTyH38s9j/Kiqr68dggg== @@ -463,7 +428,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-block-scoping@^7.4.0", "@babel/plugin-transform-block-scoping@^7.5.5": +"@babel/plugin-transform-block-scoping@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.5.5.tgz#a35f395e5402822f10d2119f6f8e045e3639a2ce" integrity sha512-82A3CLRRdYubkG85lKwhZB0WZoHxLGsJdux/cOVaJCJpvYFl1LVzAIFyRsa7CvXqW8rBM4Zf3Bfn8PHt5DP0Sg== @@ -471,21 +436,7 @@ "@babel/helper-plugin-utils" "^7.0.0" lodash "^4.17.13" -"@babel/plugin-transform-classes@7.4.3": - version "7.4.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.4.3.tgz#adc7a1137ab4287a555d429cc56ecde8f40c062c" - integrity sha512-PUaIKyFUDtG6jF5DUJOfkBdwAS/kFFV3XFk7Nn0a6vR7ZT8jYw5cGtIlat77wcnd0C6ViGqo/wyNf4ZHytF/nQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.0.0" - "@babel/helper-define-map" "^7.4.0" - "@babel/helper-function-name" "^7.1.0" - "@babel/helper-optimise-call-expression" "^7.0.0" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/helper-replace-supers" "^7.4.0" - "@babel/helper-split-export-declaration" "^7.4.0" - globals "^11.1.0" - -"@babel/plugin-transform-classes@^7.4.3", "@babel/plugin-transform-classes@^7.5.5": +"@babel/plugin-transform-classes@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.5.5.tgz#d094299d9bd680a14a2a0edae38305ad60fb4de9" integrity sha512-U2htCNK/6e9K7jGyJ++1p5XRU+LJjrwtoiVn9SzRlDT2KubcZ11OOwy3s24TjHxPgxNwonCYP7U2K51uVYCMDg== @@ -506,21 +457,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-destructuring@7.4.3": - version "7.4.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.4.3.tgz#1a95f5ca2bf2f91ef0648d5de38a8d472da4350f" - integrity sha512-rVTLLZpydDFDyN4qnXdzwoVpk1oaXHIvPEOkOLyr88o7oHxVc/LyrnDx+amuBWGOwUb7D1s/uLsKBNTx08htZg== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - -"@babel/plugin-transform-destructuring@^7.4.3", "@babel/plugin-transform-destructuring@^7.5.0": +"@babel/plugin-transform-destructuring@7.5.0", "@babel/plugin-transform-destructuring@^7.5.0": version "7.5.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.5.0.tgz#f6c09fdfe3f94516ff074fe877db7bc9ef05855a" integrity sha512-YbYgbd3TryYYLGyC7ZR+Tq8H/+bCmwoaxHfJHupom5ECstzbRLTch6gOQbhEY9Z4hiCNHEURgq06ykFv9JZ/QQ== dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-dotall-regex@^7.4.3", "@babel/plugin-transform-dotall-regex@^7.4.4": +"@babel/plugin-transform-dotall-regex@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.4.4.tgz#361a148bc951444312c69446d76ed1ea8e4450c3" integrity sha512-P05YEhRc2h53lZDjRPk/OektxCVevFzZs2Gfjd545Wde3k+yFDbXORgl2e0xpbq8mLcKJ7Idss4fAg0zORN/zg== @@ -529,7 +473,7 @@ "@babel/helper-regex" "^7.4.4" regexpu-core "^4.5.4" -"@babel/plugin-transform-duplicate-keys@^7.2.0", "@babel/plugin-transform-duplicate-keys@^7.5.0": +"@babel/plugin-transform-duplicate-keys@^7.5.0": version "7.5.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.5.0.tgz#c5dbf5106bf84cdf691222c0974c12b1df931853" integrity sha512-igcziksHizyQPlX9gfSjHkE2wmoCH3evvD2qR5w29/Dk0SMKE/eOI7f1HhBdNhR/zxJDqrgpoDTq5YSLH/XMsQ== @@ -544,22 +488,22 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.1.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-flow-strip-types@7.4.0": - version "7.4.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.4.0.tgz#f3c59eecff68c99b9c96eaafe4fe9d1fa8947138" - integrity sha512-C4ZVNejHnfB22vI2TYN4RUp2oCmq6cSEAg4RygSvYZUECRqUu9O4PMEMNJ4wsemaRGg27BbgYctG4BZh+AgIHw== +"@babel/plugin-transform-flow-strip-types@7.4.4": + version "7.4.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.4.4.tgz#d267a081f49a8705fc9146de0768c6b58dccd8f7" + integrity sha512-WyVedfeEIILYEaWGAUWzVNyqG4sfsNooMhXWsu/YzOvVGcsnPb5PguysjJqI3t3qiaYj0BR8T2f5njdjTGe44Q== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-flow" "^7.2.0" -"@babel/plugin-transform-for-of@^7.4.3", "@babel/plugin-transform-for-of@^7.4.4": +"@babel/plugin-transform-for-of@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.4.tgz#0267fc735e24c808ba173866c6c4d1440fc3c556" integrity sha512-9T/5Dlr14Z9TIEXLXkt8T1DU7F24cbhwhMNUziN3hB1AXoZcdzPcTiKGRn/6iOymDqtTKWnr/BtRKN9JwbKtdQ== dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-function-name@^7.4.3", "@babel/plugin-transform-function-name@^7.4.4": +"@babel/plugin-transform-function-name@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.4.4.tgz#e1436116abb0610c2259094848754ac5230922ad" integrity sha512-iU9pv7U+2jC9ANQkKeNF6DrPy4GBa4NWQtl6dHB4Pb3izX2JOEvDTFarlNsBj/63ZEzNNIAMs3Qw4fNCcSOXJA== @@ -581,7 +525,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-modules-amd@^7.2.0", "@babel/plugin-transform-modules-amd@^7.5.0": +"@babel/plugin-transform-modules-amd@^7.5.0": version "7.5.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.5.0.tgz#ef00435d46da0a5961aa728a1d2ecff063e4fb91" integrity sha512-n20UsQMKnWrltocZZm24cRURxQnWIvsABPJlw/fvoy9c6AgHZzoelAIzajDHAQrDpuKFFPPcFGd7ChsYuIUMpg== @@ -590,7 +534,7 @@ "@babel/helper-plugin-utils" "^7.0.0" babel-plugin-dynamic-import-node "^2.3.0" -"@babel/plugin-transform-modules-commonjs@^7.4.3", "@babel/plugin-transform-modules-commonjs@^7.5.0": +"@babel/plugin-transform-modules-commonjs@^7.5.0": version "7.5.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.5.0.tgz#425127e6045231360858eeaa47a71d75eded7a74" integrity sha512-xmHq0B+ytyrWJvQTc5OWAC4ii6Dhr0s22STOoydokG51JjWhyYo5mRPXoi+ZmtHQhZZwuXNN+GG5jy5UZZJxIQ== @@ -600,7 +544,7 @@ "@babel/helper-simple-access" "^7.1.0" babel-plugin-dynamic-import-node "^2.3.0" -"@babel/plugin-transform-modules-systemjs@^7.4.0", "@babel/plugin-transform-modules-systemjs@^7.5.0": +"@babel/plugin-transform-modules-systemjs@^7.5.0": version "7.5.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.5.0.tgz#e75266a13ef94202db2a0620977756f51d52d249" integrity sha512-Q2m56tyoQWmuNGxEtUyeEkm6qJYFqs4c+XyXH5RAuYxObRNz9Zgj/1g2GMnjYp2EUyEy7YTrxliGCXzecl/vJg== @@ -617,21 +561,21 @@ "@babel/helper-module-transforms" "^7.1.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-named-capturing-groups-regex@^7.4.2", "@babel/plugin-transform-named-capturing-groups-regex@^7.4.5": +"@babel/plugin-transform-named-capturing-groups-regex@^7.4.5": version "7.4.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.5.tgz#9d269fd28a370258199b4294736813a60bbdd106" integrity sha512-z7+2IsWafTBbjNsOxU/Iv5CvTJlr5w4+HGu1HovKYTtgJ362f7kBcQglkfmlspKKZ3bgrbSGvLfNx++ZJgCWsg== dependencies: regexp-tree "^0.1.6" -"@babel/plugin-transform-new-target@^7.4.0", "@babel/plugin-transform-new-target@^7.4.4": +"@babel/plugin-transform-new-target@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.4.4.tgz#18d120438b0cc9ee95a47f2c72bc9768fbed60a5" integrity sha512-r1z3T2DNGQwwe2vPGZMBNjioT2scgWzK9BCnDEh+46z8EEwXBq24uRzd65I7pjtugzPSj921aM15RpESgzsSuA== dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-object-super@^7.2.0", "@babel/plugin-transform-object-super@^7.5.5": +"@babel/plugin-transform-object-super@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.5.5.tgz#c70021df834073c65eb613b8679cc4a381d1a9f9" integrity sha512-un1zJQAhSosGFBduPgN/YFNvWVpRuHKU7IHBglLoLZsGmruJPOo6pbInneflUdmq7YvSVqhpPs5zdBvLnteltQ== @@ -639,7 +583,7 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-replace-supers" "^7.5.5" -"@babel/plugin-transform-parameters@^7.4.3", "@babel/plugin-transform-parameters@^7.4.4": +"@babel/plugin-transform-parameters@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.4.4.tgz#7556cf03f318bd2719fe4c922d2d808be5571e16" integrity sha512-oMh5DUO1V63nZcu/ZVLQFqiihBGo4OpxJxR1otF50GMeCLiRx5nUdtokd+u9SuVJrvvuIh9OosRFPP4pIPnwmw== @@ -655,14 +599,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-react-constant-elements@7.2.0": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.2.0.tgz#ed602dc2d8bff2f0cb1a5ce29263dbdec40779f7" - integrity sha512-YYQFg6giRFMsZPKUM9v+VcHOdfSQdz9jHCx3akAi3UYgyjndmdYGSXylQ/V+HswQt4fL8IklchD9HTsaOCrWQQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.0.0" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-transform-react-constant-elements@^7.0.0": version "7.5.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.5.0.tgz#4d6ae4033bc38f8a65dfca2b6235c44522a422fc" @@ -703,7 +639,7 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-jsx" "^7.2.0" -"@babel/plugin-transform-regenerator@^7.4.3", "@babel/plugin-transform-regenerator@^7.4.5": +"@babel/plugin-transform-regenerator@^7.4.5": version "7.4.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.5.tgz#629dc82512c55cee01341fb27bdfcb210354680f" integrity sha512-gBKRh5qAaCWntnd09S8QC7r3auLCqq5DI6O0DlfoyDjslSBVqBibrMdsqO+Uhmx3+BlOmE/Kw1HFxmGbv0N9dA== @@ -717,10 +653,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-runtime@7.4.3": - version "7.4.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.4.3.tgz#4d6691690ecdc9f5cb8c3ab170a1576c1f556371" - integrity sha512-7Q61bU+uEI7bCUFReT1NKn7/X6sDQsZ7wL1sJ9IYMAO7cI+eg6x9re1cEw2fCRMbbTVyoeUKWSV1M6azEfKCfg== +"@babel/plugin-transform-runtime@7.5.5": + version "7.5.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.5.5.tgz#a6331afbfc59189d2135b2e09474457a8e3d28bc" + integrity sha512-6Xmeidsun5rkwnGfMOp6/z9nSzWpHFNVr2Jx7kwoq4mVatQfQx5S56drBgEHF+XQbKOdIaOiMIINvp/kAwMN+w== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -749,7 +685,7 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/helper-regex" "^7.0.0" -"@babel/plugin-transform-template-literals@^7.2.0", "@babel/plugin-transform-template-literals@^7.4.4": +"@babel/plugin-transform-template-literals@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.4.4.tgz#9d28fea7bbce637fb7612a0750989d8321d4bcb0" integrity sha512-mQrEC4TWkhLN0z8ygIvEL9ZEToPhG5K7KDW3pzGqOfIGZ28Jb0POUkeWcoz8HnHvhFy6dwAT1j8OzqN8s804+g== @@ -773,7 +709,7 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-typescript" "^7.2.0" -"@babel/plugin-transform-unicode-regex@^7.4.3", "@babel/plugin-transform-unicode-regex@^7.4.4": +"@babel/plugin-transform-unicode-regex@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.4.4.tgz#ab4634bb4f14d36728bf5978322b35587787970f" integrity sha512-il+/XdNw01i93+M9J9u4T7/e/Ue/vWfNZE4IRUQjplu2Mqb/AFTDimkw2tdEdSH50wuQXZAbXSql0UphQke+vA== @@ -790,61 +726,7 @@ core-js "^2.6.5" regenerator-runtime "^0.13.2" -"@babel/preset-env@7.4.3": - version "7.4.3" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.3.tgz#e71e16e123dc0fbf65a52cbcbcefd072fbd02880" - integrity sha512-FYbZdV12yHdJU5Z70cEg0f6lvtpZ8jFSDakTm7WXeJbLXh4R0ztGEu/SW7G1nJ2ZvKwDhz8YrbA84eYyprmGqw== - dependencies: - "@babel/helper-module-imports" "^7.0.0" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-async-generator-functions" "^7.2.0" - "@babel/plugin-proposal-json-strings" "^7.2.0" - "@babel/plugin-proposal-object-rest-spread" "^7.4.3" - "@babel/plugin-proposal-optional-catch-binding" "^7.2.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.4.0" - "@babel/plugin-syntax-async-generators" "^7.2.0" - "@babel/plugin-syntax-json-strings" "^7.2.0" - "@babel/plugin-syntax-object-rest-spread" "^7.2.0" - "@babel/plugin-syntax-optional-catch-binding" "^7.2.0" - "@babel/plugin-transform-arrow-functions" "^7.2.0" - "@babel/plugin-transform-async-to-generator" "^7.4.0" - "@babel/plugin-transform-block-scoped-functions" "^7.2.0" - "@babel/plugin-transform-block-scoping" "^7.4.0" - "@babel/plugin-transform-classes" "^7.4.3" - "@babel/plugin-transform-computed-properties" "^7.2.0" - "@babel/plugin-transform-destructuring" "^7.4.3" - "@babel/plugin-transform-dotall-regex" "^7.4.3" - "@babel/plugin-transform-duplicate-keys" "^7.2.0" - "@babel/plugin-transform-exponentiation-operator" "^7.2.0" - "@babel/plugin-transform-for-of" "^7.4.3" - "@babel/plugin-transform-function-name" "^7.4.3" - "@babel/plugin-transform-literals" "^7.2.0" - "@babel/plugin-transform-member-expression-literals" "^7.2.0" - "@babel/plugin-transform-modules-amd" "^7.2.0" - "@babel/plugin-transform-modules-commonjs" "^7.4.3" - "@babel/plugin-transform-modules-systemjs" "^7.4.0" - "@babel/plugin-transform-modules-umd" "^7.2.0" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.4.2" - "@babel/plugin-transform-new-target" "^7.4.0" - "@babel/plugin-transform-object-super" "^7.2.0" - "@babel/plugin-transform-parameters" "^7.4.3" - "@babel/plugin-transform-property-literals" "^7.2.0" - "@babel/plugin-transform-regenerator" "^7.4.3" - "@babel/plugin-transform-reserved-words" "^7.2.0" - "@babel/plugin-transform-shorthand-properties" "^7.2.0" - "@babel/plugin-transform-spread" "^7.2.0" - "@babel/plugin-transform-sticky-regex" "^7.2.0" - "@babel/plugin-transform-template-literals" "^7.2.0" - "@babel/plugin-transform-typeof-symbol" "^7.2.0" - "@babel/plugin-transform-unicode-regex" "^7.4.3" - "@babel/types" "^7.4.0" - browserslist "^4.5.2" - core-js-compat "^3.0.0" - invariant "^2.2.2" - js-levenshtein "^1.1.3" - semver "^5.5.0" - -"@babel/preset-env@^7.4.4", "@babel/preset-env@^7.4.5": +"@babel/preset-env@7.5.5", "@babel/preset-env@^7.4.4", "@babel/preset-env@^7.4.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.5.5.tgz#bc470b53acaa48df4b8db24a570d6da1fef53c9a" integrity sha512-GMZQka/+INwsMz1A5UEql8tG015h5j/qjptpKY2gJ7giy8ohzU710YciJB5rcKsWGWHiW3RUnHib0E5/m3Tp3A== @@ -931,21 +813,14 @@ pirates "^4.0.0" source-map-support "^0.5.9" -"@babel/runtime@7.4.3": - version "7.4.3" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.4.3.tgz#79888e452034223ad9609187a0ad1fe0d2ad4bdc" - integrity sha512-9lsJwJLxDh/T3Q3SZszfWOTkk3pHbkmH+3KY+zwIDmsNlxsumuhS2TH3NIpktU4kNvfzy+k3eLT7aTJSPTo0OA== - dependencies: - regenerator-runtime "^0.13.2" - -"@babel/runtime@^7.0.0", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.4", "@babel/runtime@^7.4.5": +"@babel/runtime@7.5.5", "@babel/runtime@^7.0.0", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.4", "@babel/runtime@^7.4.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.5.5.tgz#74fba56d35efbeca444091c7850ccd494fd2f132" integrity sha512-28QvEGyQyNkB0/m2B4FU7IEZGK2NUrcMtT6BZEFALTguLk+AUT6ofsHtPk5QyjAdUkpMJ+/Em+quwz4HOt30AQ== dependencies: regenerator-runtime "^0.13.2" -"@babel/template@^7.1.0", "@babel/template@^7.4.0", "@babel/template@^7.4.4": +"@babel/template@^7.1.0", "@babel/template@^7.4.4": version "7.4.4" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.4.4.tgz#f4b88d1225689a08f5bc3a17483545be9e4ed237" integrity sha512-CiGzLN9KgAvgZsnivND7rkA+AeJ9JB0ciPOD4U59GKbQP2iQl+olF1l76kJOupqidozfZ32ghwBEJDhnk9MEcw== @@ -954,7 +829,7 @@ "@babel/parser" "^7.4.4" "@babel/types" "^7.4.4" -"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.4.3", "@babel/traverse@^7.4.4", "@babel/traverse@^7.5.5": +"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.4.4", "@babel/traverse@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.5.5.tgz#f664f8f368ed32988cd648da9f72d5ca70f165bb" integrity sha512-MqB0782whsfffYfSjH4TM+LMjrJnhCNEDMDIjeTpl+ASaUvxcjoiVCo/sM1GhS1pHOXYfWVCYneLjMckuUxDaQ== @@ -969,7 +844,7 @@ globals "^11.1.0" lodash "^4.17.13" -"@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.3.0", "@babel/types@^7.4.0", "@babel/types@^7.4.4", "@babel/types@^7.5.5": +"@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.3.0", "@babel/types@^7.4.4", "@babel/types@^7.5.5": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.5.5.tgz#97b9f728e182785909aa4ab56264f090a028d18a" integrity sha512-s63F9nJioLqOlW3UkyMd+BYhXt44YuaFm/VV0VwuteqjYwRrObkU7ra9pY4wAJR3oXi8hJrMcrcJdO/HH33vtw== @@ -1009,38 +884,47 @@ hoist-non-react-statics "^3.3.0" "@mdx-js/loader@^1.0.18": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@mdx-js/loader/-/loader-1.1.0.tgz#1acc2b78ff30125f6c0ccf6d70c3cd4df8697cf4" - integrity sha512-RAofvZn4Ef3w+STolAzVBPujW8DXl7wj80bptXa7rp8NhBof6xU6TEy4HEbCpJtOGwt6uFI5AU37B7g24qw/IA== + version "1.2.2" + resolved "https://registry.yarnpkg.com/@mdx-js/loader/-/loader-1.2.2.tgz#2a58bd7db402a4803bee83083afc9753c020d7ab" + integrity sha512-gSBbFCgPkX5ViM6pZUwDwmKtG5MEycbA3pF8Ac5EkthwozaRunZ7dh9T6dDfDzDc4zBls+hVKAsUxHvxxvAJCQ== dependencies: - "@mdx-js/mdx" "^1.1.0" - "@mdx-js/react" "^1.0.27" - loader-utils "^1.1.0" + "@mdx-js/mdx" "^1.2.2" + "@mdx-js/react" "^1.2.2" + loader-utils "1.2.3" -"@mdx-js/mdx@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.1.0.tgz#9a7138e31e4933d53afca59e0460ab33771af5fe" - integrity sha512-WHWVPLStet4zc25nEDePNt7YUcCOgEa8q0F0QuE8Ddv5QphuXA7SNtRl2o+xMCm5r7Q5A1RrsG7lipMU4Pviqw== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-syntax-jsx" "^7.2.0" - "@babel/plugin-syntax-object-rest-spread" "^7.2.0" - detab "^2.0.0" - hast-util-raw "^5.0.0" - lodash.uniq "^4.5.0" - mdast-util-to-hast "^6.0.1" - remark-mdx "^1.1.0" - remark-parse "^6.0.0" - remark-squeeze-paragraphs "^3.0.1" - to-style "^1.3.3" - unified "^8.2.0" - unist-builder "^1.0.1" - unist-util-visit "^1.3.0" +"@mdx-js/mdx@^1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.2.2.tgz#027581a5dd5a7d7bcf6ed94f361d03710fa45124" + integrity sha512-o4b/1JFyhl8ep927JsAW3pQYQpnq2xJ/pO9/5SFp+W5ZygYTYI9Z5MFVvVkPKSDNv+nxPkQ4Lya7ecbNxSZlkg== + dependencies: + "@babel/core" "^7.5.5" + "@babel/plugin-syntax-jsx" "7.2.0" + "@babel/plugin-syntax-object-rest-spread" "7.2.0" + "@mdx-js/util" "^1.2.2" + babel-plugin-apply-mdx-type-prop "^1.2.2" + babel-plugin-extract-import-names "^1.2.2" + camelcase-css "2.0.1" + detab "2.0.2" + hast-util-raw "5.0.1" + lodash.uniq "4.5.0" + mdast-util-to-hast "6.0.1" + remark-mdx "^1.2.2" + remark-parse "7.0.1" + remark-squeeze-paragraphs "3.0.4" + style-to-object "0.2.3" + unified "8.3.2" + unist-builder "1.0.4" + unist-util-visit "2.0.0" + +"@mdx-js/react@^1.0.16", "@mdx-js/react@^1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.2.2.tgz#563ad016e3b49a7478c9848e39c66637443dca1c" + integrity sha512-vmbZ8AttReR6krZjHBYsF+pN9Cikd/QpBUeP14inqwBKMXHYdOEdYzfm5uer3tkl3iwhxKWAVLxHTh8fwICEZw== -"@mdx-js/react@^1.0.16", "@mdx-js/react@^1.0.27": - version "1.0.27" - resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.0.27.tgz#7461e39f8880eceff8f48b0240e6cdc0f01cc8db" - integrity sha512-sCv3ItE5L6rdpnZR0s69C8KFgz4pmhGsH4de0ZiO+fiCC/L6asuKLubf9QZk3oG3vjebym/V593CE15vRXvvwQ== +"@mdx-js/util@^1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.2.2.tgz#4a63e82b6319ac85f455f0b8328a6e6d15ebe251" + integrity sha512-hnf0SpGr1ckKWYQt7CHkocAyeh4u7UyYt8bRdILT94ypZ0piX+By6bnDZxYysMt8V+knl7ZM0MxaPFIdrhTh0g== "@mrmlnc/readdir-enhanced@^2.2.1": version "2.2.1" @@ -1243,9 +1127,9 @@ integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== "@types/node@*": - version "12.6.8" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.6.8.tgz#e469b4bf9d1c9832aee4907ba8a051494357c12c" - integrity sha512-aX+gFgA5GHcDi89KG5keey2zf0WfZk/HAQotEamsK2kbey+8yGKcson0hbK8E+v0NArlCJQCqMP161YhV6ZXLg== + version "12.7.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.1.tgz#3b5c3a26393c19b400844ac422bd0f631a94d69d" + integrity sha512-aK9jxMypeSrhiYofWWBf/T7O+KwaiAHzM4sveCdWPn71lzUSMimRnKzhXDKfKwV1kWoBo2P1aGgaIYGLf9/ljw== "@types/normalize-package-data@^2.4.0": version "2.4.0" @@ -1262,15 +1146,15 @@ resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8" integrity sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw== -"@types/react@^16.8.24": - version "16.8.24" - resolved "https://registry.yarnpkg.com/@types/react/-/react-16.8.24.tgz#8d1ea1fcbfa214220da3d3c04e506f1077b0deac" - integrity sha512-VpFHUoD37YNY2+lr/+c7qL/tZsIU/bKuskUF3tmGUArbxIcQdb5j3zvo4cuuzu2A6UaVmVn7sJ4PgWYNFEBGzg== +"@types/react@^16.9.1": + version "16.9.1" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.1.tgz#862c83b4c9d5cd116e42fd9a4f3694843cd2c051" + integrity sha512-jGM2x8F7m7/r+81N/BOaUKVwbC5Cdw6ExlWEUpr77XPwVeNvAppnPEnMMLMfxRDYL8FPEX8MHjwtD2NQMJ0yyQ== dependencies: "@types/prop-types" "*" csstype "^2.2.0" -"@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2": +"@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2", "@types/unist@^2.0.3": version "2.0.3" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e" integrity sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ== @@ -1525,17 +1409,12 @@ acorn@^5.0.3: resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== -acorn@^6.0.7, acorn@^6.2.0, acorn@^6.2.1: - version "6.2.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.2.1.tgz#3ed8422d6dec09e6121cc7a843ca86a330a86b51" - integrity sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q== - -address@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/address/-/address-1.0.3.tgz#b5f50631f8d6cec8bd20c963963afb55e06cbce9" - integrity sha512-z55ocwKBRLryBs394Sm3ushTtBeg6VAeuku7utSoSnsJKvKcnXFIyC6vh27n3rXyxSgkJBBCAvyOn7gSUcTYjg== +acorn@^6.0.7, acorn@^6.2.1: + version "6.3.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e" + integrity sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA== -address@^1.0.1: +address@1.1.0, address@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/address/-/address-1.1.0.tgz#ef8e047847fcd2c5b6f50c16965f924fd99fe709" integrity sha512-4diPfzWbLEIElVG4AnqP+00SULlPzNuyJFNnmMrLgyaxG6tZXJ1sn7mjBu4fHrJE+Yp/jgylOweJn2xsLMFggQ== @@ -1587,10 +1466,10 @@ ansi-escapes@^3.0.0, ansi-escapes@^3.2.0: resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== -ansi-escapes@^4.1.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.2.0.tgz#c38600259cefba178ee3f7166c5ea3a5dd2e88fc" - integrity sha512-0+VX4uhi8m3aNbzoqKmkAVOEj6uQzcUHXoFPkKjhZPTpGRUBqVh930KbB6PS4zIyDZccphlLIYlu8nsjFzkXwg== +ansi-escapes@^4.1.0, ansi-escapes@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.2.1.tgz#4dccdb846c3eee10f6d64dea66273eab90c37228" + integrity sha512-Cg3ymMAdN10wOk/VYfLV7KCQyv7EDirJ64500sU7n9UlmioEtDuU5Gd+hj73hXSU/ex7tHJSssmyftDdkMLO8Q== dependencies: type-fest "^0.5.2" @@ -1823,9 +1702,9 @@ async-each@^1.0.1: integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== async-limiter@^1.0.0, async-limiter@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" - integrity sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg== + version "1.0.1" + resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" + integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== async@^1.5.2: version "1.5.2" @@ -1873,14 +1752,15 @@ babel-loader@^8.0.5: mkdirp "^0.5.1" pify "^4.0.1" -babel-plugin-dynamic-import-node@2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.2.0.tgz#c0adfb07d95f4a4495e9aaac6ec386c4d7c2524e" - integrity sha512-fP899ELUnTaBcIzmrW7nniyqqdYWrWuJUyPWHxFa/c7r7hS6KC8FscNfLlBNIoPSc55kYMGEEKjPjJGCLbE1qA== +babel-plugin-apply-mdx-type-prop@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.2.2.tgz#0fe4b54c8f9b547d220a98c06dfc7bbefff9b1b0" + integrity sha512-AZxq05nVPnQjjOOzLYomIrpWIfHo9SBdWaimIC+HKK/pEe6RoL4N+Io22Bm6HWLbVQ91mgt9o0SwgBAQ1IC/og== dependencies: - object.assign "^4.1.0" + "@babel/helper-plugin-utils" "^7.0.0" + "@mdx-js/util" "^1.2.2" -babel-plugin-dynamic-import-node@^2.3.0: +babel-plugin-dynamic-import-node@2.3.0, babel-plugin-dynamic-import-node@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz#f00f507bdaa3c3e3ff6e7e5e98d90a7acab96f7f" integrity sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ== @@ -1899,19 +1779,26 @@ babel-plugin-export-metadata@^1.2.0: babel-core "7.0.0-bridge.0" lodash "^4.17.11" -babel-plugin-macros@2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.5.1.tgz#4a119ac2c2e19b458c259b9accd7ee34fd57ec6f" - integrity sha512-xN3KhAxPzsJ6OQTktCanNpIFnnMsCV+t8OloKxIL72D6+SUZYFn9qfklPgef5HyyDtzYZqqb+fs1S12+gQY82Q== +babel-plugin-extract-import-names@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.2.2.tgz#887b96deff49e6b6fde8f9b56101ee73060ad9ef" + integrity sha512-aj5A/by2gI7sWT008mMfgSyvAAJhnnlfFl6dSISBbaXdbzjTSoy33OLw7pHNTpWnNmPzbfV4d5+qgjdp5XAI5g== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + +babel-plugin-macros@2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.6.1.tgz#41f7ead616fc36f6a93180e89697f69f51671181" + integrity sha512-6W2nwiXme6j1n2erPOnmRiWfObUhWH7Qw1LMi9XZy8cj+KtESu3T6asZvtk5bMQQjX8te35o7CFueiSdL/2NmQ== dependencies: "@babel/runtime" "^7.4.2" cosmiconfig "^5.2.0" resolve "^1.10.0" babel-plugin-named-asset-import@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/babel-plugin-named-asset-import/-/babel-plugin-named-asset-import-0.3.2.tgz#20978ed446b8e1bf4a2f42d0a94c0ece85f75f4f" - integrity sha512-CxwvxrZ9OirpXQ201Ec57OmGhmI8/ui/GwTDy0hSp6CmRvgRC0pSair6Z04Ck+JStA0sMPZzSJ3uE4n17EXpPQ== + version "0.3.3" + resolved "https://registry.yarnpkg.com/babel-plugin-named-asset-import/-/babel-plugin-named-asset-import-0.3.3.tgz#9ba2f3ac4dc78b042651654f07e847adfe50667c" + integrity sha512-1XDRysF4894BUdMChT+2HHbtJYiO7zx5Be7U6bT8dISy7OdyETMGIAQBMPQCsY1YRf0xcubwnKKaDr5bk15JTA== "babel-plugin-styled-components@>= 1": version "1.10.6" @@ -1934,27 +1821,25 @@ babel-plugin-transform-react-remove-prop-types@0.4.24: integrity sha512-eqj0hVcJUR57/Ug2zE1Yswsw4LhuqqHhD+8v120T1cl3kjg76QwtyBrdIk4WVwK+lAhBJVYCd/v+4nc4y+8JsA== babel-preset-react-app@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/babel-preset-react-app/-/babel-preset-react-app-9.0.0.tgz#703108142bc9dd7173bde6a1a0138a762abc76f9" - integrity sha512-YVsDA8HpAKklhFLJtl9+AgaxrDaor8gGvDFlsg1ByOS0IPGUovumdv4/gJiAnLcDmZmKlH6+9sVOz4NVW7emAg== - dependencies: - "@babel/core" "7.4.3" - "@babel/plugin-proposal-class-properties" "7.4.0" - "@babel/plugin-proposal-decorators" "7.4.0" - "@babel/plugin-proposal-object-rest-spread" "7.4.3" + version "9.0.1" + resolved "https://registry.yarnpkg.com/babel-preset-react-app/-/babel-preset-react-app-9.0.1.tgz#16a2cf84363045b530b6a03460527a5c6eac42ba" + integrity sha512-v7MeY+QxdBhM9oU5uOQCIHLsErYkEbbjctXsb10II+KAnttbe0rvprvP785dRxfa9dI4ZbsGXsRU07Qdi5BtOw== + dependencies: + "@babel/core" "7.5.5" + "@babel/plugin-proposal-class-properties" "7.5.5" + "@babel/plugin-proposal-decorators" "7.4.4" + "@babel/plugin-proposal-object-rest-spread" "7.5.5" "@babel/plugin-syntax-dynamic-import" "7.2.0" - "@babel/plugin-transform-classes" "7.4.3" - "@babel/plugin-transform-destructuring" "7.4.3" - "@babel/plugin-transform-flow-strip-types" "7.4.0" - "@babel/plugin-transform-react-constant-elements" "7.2.0" + "@babel/plugin-transform-destructuring" "7.5.0" + "@babel/plugin-transform-flow-strip-types" "7.4.4" "@babel/plugin-transform-react-display-name" "7.2.0" - "@babel/plugin-transform-runtime" "7.4.3" - "@babel/preset-env" "7.4.3" + "@babel/plugin-transform-runtime" "7.5.5" + "@babel/preset-env" "7.5.5" "@babel/preset-react" "7.0.0" "@babel/preset-typescript" "7.3.3" - "@babel/runtime" "7.4.3" - babel-plugin-dynamic-import-node "2.2.0" - babel-plugin-macros "2.5.1" + "@babel/runtime" "7.5.5" + babel-plugin-dynamic-import-node "2.3.0" + babel-plugin-macros "2.6.1" babel-plugin-transform-react-remove-prop-types "0.4.24" babel-runtime@^6.26.0: @@ -1976,9 +1861,9 @@ balanced-match@^1.0.0: integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= base64-js@^1.0.2: - version "1.3.0" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.0.tgz#cab1e6118f051095e58b5281aea8c1cd22bfc0e3" - integrity sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw== + version "1.3.1" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.1.tgz#58ece8cb75dd07e71ed08c736abc5fac4dbf8df1" + integrity sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g== base@^0.11.1: version "0.11.2" @@ -2174,16 +2059,7 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@4.5.4: - version "4.5.4" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.5.4.tgz#166c4ecef3b51737a42436ea8002aeea466ea2c7" - integrity sha512-rAjx494LMjqKnMPhFkuLmLp8JWEX0o8ADTGeAbOqaF+XCvYLreZrG5uVjnPBlAQ8REZK4pzXGvp0bWgrFtKaag== - dependencies: - caniuse-lite "^1.0.30000955" - electron-to-chromium "^1.3.122" - node-releases "^1.1.13" - -browserslist@^4.5.2, browserslist@^4.6.0, browserslist@^4.6.2: +browserslist@4.6.6, browserslist@^4.6.0, browserslist@^4.6.6: version "4.6.6" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.6.6.tgz#6e4bf467cde520bc9dbdf3747dafa03531cec453" integrity sha512-D2Nk3W9JL9Fp/gIcWei8LrERCS+eXu9AM5cfXA8WEZ84lFks+ARnZ0q/R69m2SV3Wjma83QDDPxsNKXUwdIsyA== @@ -2248,26 +2124,6 @@ bytes@3.1.0: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== -cacache@^11.3.2: - version "11.3.3" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-11.3.3.tgz#8bd29df8c6a718a6ebd2d010da4d7972ae3bbadc" - integrity sha512-p8WcneCytvzPxhDvYp31PD039vi77I12W+/KfR9S8AZbaiARFBCpsPJS+9uhWfeBfeAtW7o/4vt3MUqLkbY6nA== - dependencies: - bluebird "^3.5.5" - chownr "^1.1.1" - figgy-pudding "^3.5.1" - glob "^7.1.4" - graceful-fs "^4.1.15" - lru-cache "^5.1.1" - mississippi "^3.0.0" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" - promise-inflight "^1.0.1" - rimraf "^2.6.3" - ssri "^6.0.1" - unique-filename "^1.1.1" - y18n "^4.0.0" - cacache@^12.0.2: version "12.0.2" resolved "https://registry.yarnpkg.com/cacache/-/cacache-12.0.2.tgz#8db03205e36089a3df6954c66ce92541441ac46c" @@ -2353,6 +2209,11 @@ camel-case@3.0.x, camel-case@^3.0.0: no-case "^2.2.0" upper-case "^1.1.1" +camelcase-css@2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5" + integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== + camelcase-keys@^4.0.0: version "4.2.0" resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-4.2.0.tgz#a2aa5fb1af688758259c32c141426d78923b9b77" @@ -2377,10 +2238,10 @@ camelize@^1.0.0: resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b" integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs= -caniuse-lite@^1.0.30000955, caniuse-lite@^1.0.30000984: - version "1.0.30000985" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000985.tgz#0eb40f6c8a8c219155cbe43c4975c0efb4a0f77f" - integrity sha512-1ngiwkgqAYPG0JSSUp3PUDGPKKY59EK7NrGGX+VOxaKCNzRbNc7uXMny+c3VJfZxtoK3wSImTvG9T9sXiTw2+w== +caniuse-lite@^1.0.30000984: + version "1.0.30000989" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000989.tgz#b9193e293ccf7e4426c5245134b8f2a56c0ac4b9" + integrity sha512-vrMcvSuMz16YY6GSVZ0dWDTJP8jqk3iFQ/Aq5iqblPwxSVVZI+zxDyTX0VPqtQsDnfdrBDcsmhgTEOh5R8Lbpw== capitalize@^2.0.0: version "2.0.0" @@ -2490,7 +2351,7 @@ chownr@^1.1.1: resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.2.tgz#a18f1e0b269c8a6a5d3c86eb298beb14c3dd7bf6" integrity sha512-GkfeAQh+QNy3wquu9oIZr6SS5x7wGdSgNQvD10X3r+AZr1Oys22HW8kAmDMvNg2+Dm0TeGaEuO8gFwdBXxwO8A== -chrome-trace-event@^1.0.0, chrome-trace-event@^1.0.2: +chrome-trace-event@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz#234090ee97c7d4ad1a2c4beae27505deffc608a4" integrity sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ== @@ -2544,6 +2405,13 @@ cli-cursor@^2.0.0, cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" +cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + dependencies: + restore-cursor "^3.1.0" + cli-truncate@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" @@ -2765,9 +2633,9 @@ connect-history-api-fallback@^1.6.0: integrity sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg== consola@^2.6.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/consola/-/consola-2.9.0.tgz#57760e3a65a53ec27337f4add31505802d902278" - integrity sha512-34Iue+LRcWbndFIfZc5boNizWlsrRjqIBJZTe591vImgbnq7nx2EzlrLtANj9TH2Fxm7puFJBJAOk5BhvZOddQ== + version "2.10.1" + resolved "https://registry.yarnpkg.com/consola/-/consola-2.10.1.tgz#4693edba714677c878d520e4c7e4f69306b4b927" + integrity sha512-4sxpH6SGFYLADfUip4vuY65f/gEogrzJoniVhNUYkJHtng0l8ZjnDCqxxrSVRHOHwKxsy8Vm5ONZh1wOR3/l/w== console-browserify@^1.1.0: version "1.1.0" @@ -2842,19 +2710,13 @@ copy-text-to-clipboard@^2.1.0: resolved "https://registry.yarnpkg.com/copy-text-to-clipboard/-/copy-text-to-clipboard-2.1.0.tgz#e222433ba3ec4b1ac5610725f94149160f4723e7" integrity sha512-rxjlVPoTzuKQXem9rdIHSc6xo8TcvqmVZoItxvhMaI1/9MOSNEaee86CpMgv+QVul2Q5v/DkXfOOVwDJxF7KsA== -core-js-compat@^3.0.0, core-js-compat@^3.1.1: - version "3.1.4" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.1.4.tgz#e4d0c40fbd01e65b1d457980fe4112d4358a7408" - integrity sha512-Z5zbO9f1d0YrJdoaQhphVAnKPimX92D6z8lCGphH89MNRxlL1prI9ExJPqVwP0/kgkQCv8c4GJGT8X16yUncOg== +core-js-compat@^3.1.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.2.1.tgz#0cbdbc2e386e8e00d3b85dc81c848effec5b8150" + integrity sha512-MwPZle5CF9dEaMYdDeWm73ao/IflDH+FjeJCWEADcEgFSE9TLimFKwJsfmkwzI8eC0Aj0mgvMDjeQjrElkz4/A== dependencies: - browserslist "^4.6.2" - core-js-pure "3.1.4" - semver "^6.1.1" - -core-js-pure@3.1.4: - version "3.1.4" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.1.4.tgz#5fa17dc77002a169a3566cc48dc774d2e13e3769" - integrity sha512-uJ4Z7iPNwiu1foygbcZYJsJs1jiXrTTCvxfLDXNhI/I+NHbSIEyr548y4fcsCEyWY0XgfAG/qqaunJ1SThHenA== + browserslist "^4.6.6" + semver "^6.3.0" core-js@^1.0.0: version "1.2.7" @@ -2867,9 +2729,9 @@ core-js@^2.4.0, core-js@^2.4.1, core-js@^2.6.5: integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A== core-js@^3.0.0: - version "3.1.4" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.1.4.tgz#3a2837fc48e582e1ae25907afcd6cf03b0cc7a07" - integrity sha512-YNZN8lt82XIMLnLirj9MhKDFZHalwzzrL9YLt6eb0T5D0EDl4IQ90IGkua8mHbnxNrkj1d8hbdizMc0Qmg1WnQ== + version "3.2.1" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.2.1.tgz#cd41f38534da6cc59f7db050fe67307de9868b09" + integrity sha512-Qa5XSVefSVPRxy2XfUC13WbvqkxhkwB3ve+pgCQveNgYzbM/UxZeu1dcOX/xr4UmfUd+muuvsaxilQzCyUurMw== core-util-is@~1.0.0: version "1.0.2" @@ -3221,7 +3083,7 @@ destroy@~1.0.4: resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= -detab@^2.0.0: +detab@2.0.2, detab@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/detab/-/detab-2.0.2.tgz#074970d1a807b045d0258a4235df5928dd683561" integrity sha512-Q57yPrxScy816TTE1P/uLRXLDKjXhvYTbfxS/e6lPD+YrqghbsMlGB9nQzj/zVtSPaF0DFPSdO916EWO4sQUyQ== @@ -3469,12 +3331,12 @@ dom-iterator@^1.0.0: component-xor "0.0.4" dom-serializer@0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.1.tgz#1ec4059e284babed36eec2941d4a970a189ce7c0" - integrity sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA== + version "0.2.1" + resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.2.1.tgz#13650c850daffea35d8b626a4cfc4d3a17643fdb" + integrity sha512-sK3ujri04WyjwQXVoK4PU3y8ula1stq10GJZpqHIUgoGZdsGzAGu65BnU3d08aTVSvO7mGPZUc0wTEDL+qGE0Q== dependencies: - domelementtype "^1.3.0" - entities "^1.1.1" + domelementtype "^2.0.1" + entities "^2.0.0" dom-walk@^0.1.0: version "0.1.1" @@ -3486,11 +3348,16 @@ domain-browser@^1.1.1: resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" integrity sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA== -domelementtype@1, domelementtype@^1.3.0: +domelementtype@1: version "1.3.1" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f" integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w== +domelementtype@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.0.1.tgz#1f8bdfe91f5a78063274e803b4bdcedf6e94f94d" + integrity sha512-5HOHUDsYZWV8FGWN0Njbr/Rn7f/eWSQi1v7+HsUVwXgn8nWWlL64zKDkS0n8ZmQ3mlWOMuXOnR+7Nx/5tMO5AQ== + domutils@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a" @@ -3536,10 +3403,10 @@ ejs@^2.6.1: resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.6.2.tgz#3a32c63d1cd16d11266cd4703b14fec4e74ab4f6" integrity sha512-PcW2a0tyTuPHz3tWyYqtK6r1fZ3gp+3Sop8Ph+ZYN81Ob5rwmbHEzaqs10N3BEsaGTkh/ooniXK+WwszGlc2+Q== -electron-to-chromium@^1.3.122, electron-to-chromium@^1.3.191: - version "1.3.197" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.197.tgz#9460310733423ac72869d4dd99d7fb0389faa40b" - integrity sha512-SfD7WfmueKrtKeHUESLczuANgnpdnfrSz3ZzerLdtmZf2UBZmAB3z9Q525zI5p3n9I7ii/lllUlyKHm2pIG7QQ== +electron-to-chromium@^1.3.191: + version "1.3.224" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.224.tgz#511abb2829a58c5ddb36c319094fe936bc82e3cd" + integrity sha512-vTH9UcMbi53x/pZKQrEcD83obE8agqQwUIx/G03/mpE1vzLm0KA3cHwuZXCysvxI1gXfNjV7Nu7Vjtp89kDzmg== elegant-spinner@^1.0.1: version "1.0.1" @@ -3574,6 +3441,11 @@ emoji-regex@^7.0.1: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + emojis-list@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" @@ -3607,10 +3479,10 @@ enhanced-resolve@4.1.0, enhanced-resolve@^4.0.0, enhanced-resolve@^4.1.0: memory-fs "^0.4.0" tapable "^1.0.0" -entities@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" - integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w== +entities@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-2.0.0.tgz#68d6084cab1b079767540d80e56a39b423e4abf4" + integrity sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw== env-dot-prop@^2.0.1: version "2.0.1" @@ -3716,10 +3588,10 @@ eslint-plugin-prettier@^3.1.0: dependencies: prettier-linter-helpers "^1.0.0" -eslint-plugin-react-hooks@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-1.6.1.tgz#3c66a5515ea3e0a221ffc5d4e75c971c217b1a4c" - integrity sha512-wHhmGJyVuijnYIJXZJHDUF2WM+rJYTjulUTqF9k61d3BTk8etydz+M4dXUVH7M76ZRS85rqBTCx0Es/lLsrjnA== +eslint-plugin-react-hooks@^1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-1.7.0.tgz#6210b6d5a37205f0b92858f895a4e827020a7d04" + integrity sha512-iXTCFcOmlWvw4+TOE8CLWj6yX1GwzT0Y6cUfHHZqWnSk144VmVIRcVGtUAzrLES7C798lmvnt02C7rxaOX1HNA== eslint-plugin-react@^7.14.3: version "7.14.3" @@ -3846,9 +3718,9 @@ estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: integrity sha1-De4/7TH81GlhjOc0IJn8GvoL2xM= esutils@^2.0.0, esutils@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" - integrity sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs= + version "2.0.3" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== etag@~1.8.1: version "1.8.1" @@ -4316,10 +4188,10 @@ for-own@^0.1.3: dependencies: for-in "^1.0.1" -fork-ts-checker-webpack-plugin@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-1.1.1.tgz#caf2a210778fb1e171b6993ca0a40f9b6589e3b7" - integrity sha512-gqWAEMLlae/oeVnN6RWCAhesOJMswAN1MaKNqhhjXHV5O0/rTUjWI4UbgQHdlrVbCnb+xLotXmJbBlC66QmpFw== +fork-ts-checker-webpack-plugin@1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-1.5.0.tgz#ce1d77190b44d81a761b10b6284a373795e41f0c" + integrity sha512-zEhg7Hz+KhZlBhILYpXy+Beu96gwvkROWJiTXOCyOOMMrdBIRPvsBpBqgTI4jfJGrJXcqGwJR8zsBGDmzY0jsA== dependencies: babel-code-frame "^6.22.0" chalk "^2.4.1" @@ -4501,10 +4373,10 @@ get-value@^2.0.3, get-value@^2.0.6: resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg= -gh-pages@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/gh-pages/-/gh-pages-2.1.0.tgz#dcf519825d77d3a3ee78763076f4158403fc88c4" - integrity sha512-QmV1fh/2W5GZkfoLsG4g6dRTWiNYuCetMQmm8CL6Us8JVnAufYtS0uJPD8NYogmNB4UZzdRG44uPAL+jcBzEwQ== +gh-pages@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/gh-pages/-/gh-pages-2.1.1.tgz#5be70a92f9cb70404bafabd8bb149c0e9a8c264b" + integrity sha512-yNW2SFp9xGRP/8Sk2WXuLI/Gn92oOL4HBgudn6PsqAnuWT90Y1tozJoTfX1WdrDSW5Rb90kLVOf5mm9KJ/2fDw== dependencies: async "^2.6.1" commander "^2.18.0" @@ -4642,24 +4514,16 @@ globby@^6.1.0: pinkie-promise "^2.0.0" graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6: - version "4.2.0" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.0.tgz#8d8fdc73977cb04104721cb53666c1ca64cd328b" - integrity sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg== + version "4.2.1" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.1.tgz#1c1f0c364882c868f5bff6512146328336a11b1d" + integrity sha512-b9usnbDGnD928gJB3LrCmxoibr3VE4U2SMo5PBuBnokWyDADTqDPXg4YpwKF1trpH+UbGp7QLicO3+aWEy0+mw== gud@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/gud/-/gud-1.0.0.tgz#a489581b17e6a70beca9abe3ae57de7a499852c0" integrity sha512-zGEOVKFM5sVPPrYs7J5/hYEw2Pof8KCyOwyhG8sAF26mCAeUFAcYPu1mwB7hhpIP29zOIBaDqwuHdLp0jvZXjw== -gzip-size@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/gzip-size/-/gzip-size-5.0.0.tgz#a55ecd99222f4c48fd8c01c625ce3b349d0a0e80" - integrity sha512-5iI7omclyqrnWw4XbXAmGhPsABkSIDQonv2K0h61lybgofWa6iZyvrI3r2zsJH4P8Nb64fFVzlvfhs0g7BBxAA== - dependencies: - duplexer "^0.1.1" - pify "^3.0.0" - -gzip-size@^5.0.0: +gzip-size@5.1.1, gzip-size@^5.0.0: version "5.1.1" resolved "https://registry.yarnpkg.com/gzip-size/-/gzip-size-5.1.1.tgz#cb9bee692f87c0612b232840a873904e4c135274" integrity sha512-FNHi6mmoHvs1mxZAds4PpdCS6QG8B4C1krxJsMutgxl5t3+GlRTzzI3NEkifXx2pVsOvJdOGSmIgDhQ55FwdPA== @@ -4786,7 +4650,7 @@ hast-util-parse-selector@^2.2.0: resolved "https://registry.yarnpkg.com/hast-util-parse-selector/-/hast-util-parse-selector-2.2.2.tgz#66aabccb252c47d94975f50a281446955160380b" integrity sha512-jIMtnzrLTjzqgVEQqPEmwEZV+ea4zHRFTP8Z2Utw0I5HuBOXHzUPPQWr6ouJdJqDKLbFU/OEiYwZ79LalZkmmw== -hast-util-raw@^5.0.0: +hast-util-raw@5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/hast-util-raw/-/hast-util-raw-5.0.1.tgz#b39539cf4b9f7ccdc131f72a583502a7911b99ee" integrity sha512-iHo7G6BjRc/GU1Yun5CIEXjil0wVnIbz11C6k0JdDichSDMtYi2+NNtk6YN7EOP0JfPstX30d3pRLfaJv5CkdA== @@ -4860,14 +4724,14 @@ hoopy@^0.1.4: integrity sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ== hosted-git-info@^2.1.4: - version "2.7.1" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047" - integrity sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w== + version "2.8.3" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.3.tgz#622638609162d788c6c7cc8c491442e7bbdff03e" + integrity sha512-gSxJXCMa4wZSq9YqCxcVWWtXw63FNFSx9XmDfet4IJg0vuiwxAdiLqbgxZty2/X5gHHd9F36v4VmEcAlZMgnGw== hotkeys-js@^3.6.6: - version "3.6.12" - resolved "https://registry.yarnpkg.com/hotkeys-js/-/hotkeys-js-3.6.12.tgz#316a312dc6864f0cd5dae2b26f443d53b38490c0" - integrity sha512-M5HLqgE1NAh67v+4dOIL/mGY8t8oLXtJG5wu60c3NVHCpHQZdznxKS0BswSz7pgA4tEiYvh8dZFF9am3L3PFgg== + version "3.6.14" + resolved "https://registry.yarnpkg.com/hotkeys-js/-/hotkeys-js-3.6.14.tgz#1e369068a4fd8e1bb01518f9e3a2de8fd5b251a9" + integrity sha512-gifee0/KInzCJkW137QCvV9OoAgvcUI0XvgZrMIXuDVqaF0H4Ji32RF2USWYJ/ZZAwwUH3yMa4WOPk/jq/YBOg== hpack.js@^2.1.6: version "2.1.6" @@ -4996,10 +4860,10 @@ humanize-url@^1.0.0: normalize-url "^1.0.0" strip-url-auth "^1.0.0" -husky@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/husky/-/husky-3.0.2.tgz#e78fd2ae16edca59fc88e56aeb8d70acdcc1c082" - integrity sha512-WXCtaME2x0o4PJlKY4ap8BzLA+D0zlvefqAvLCPriOOu+x0dpO5uc5tlB7CY6/0SE2EESmoZsj4jW5D09KrJoA== +husky@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/husky/-/husky-3.0.3.tgz#6f3fb99f60ef72cdf34e5d78445c2f798c441b1d" + integrity sha512-DBBMPSiBYEMx7EVUTRE/ymXJa/lOL+WplcsV/lZu+/HHGt0gzD+5BIz9EJnCrWyUa7hkMuBh7/9OZ04qDkM+Nw== dependencies: chalk "^2.4.2" cosmiconfig "^5.2.1" @@ -5008,7 +4872,7 @@ husky@^3.0.2: is-ci "^2.0.0" opencollective-postinstall "^2.0.2" pkg-dir "^4.2.0" - please-upgrade-node "^3.1.1" + please-upgrade-node "^3.2.0" read-pkg "^5.1.1" run-node "^1.0.0" slash "^3.0.0" @@ -5129,10 +4993,10 @@ inline-style-parser@0.1.1: resolved "https://registry.yarnpkg.com/inline-style-parser/-/inline-style-parser-0.1.1.tgz#ec8a3b429274e9c0a1f1c4ffa9453a7fef72cea1" integrity sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q== -inquirer@6.2.2: - version "6.2.2" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.2.2.tgz#46941176f65c9eb20804627149b743a218f25406" - integrity sha512-Z2rREiXA6cHRR9KBOarR3WuLlFzlIfAEIiB45ll5SSadMg7WqOh1MKEjjndfuH5ewXdixWCxqnVfGOQzPeiztA== +inquirer@6.5.0: + version "6.5.0" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.0.tgz#2303317efc9a4ea7ec2e2df6f86569b734accf42" + integrity sha512-scfHejeG/lVZSpvCXpsB4j/wQNPM5JC8kiElOI0OUTwmc1RTpXr4H32/HOlQHcZiYl2z2VElwuCVDRG8vFmbnA== dependencies: ansi-escapes "^3.2.0" chalk "^2.4.2" @@ -5140,30 +5004,30 @@ inquirer@6.2.2: cli-width "^2.0.0" external-editor "^3.0.3" figures "^2.0.0" - lodash "^4.17.11" + lodash "^4.17.12" mute-stream "0.0.7" run-async "^2.2.0" rxjs "^6.4.0" string-width "^2.1.0" - strip-ansi "^5.0.0" + strip-ansi "^5.1.0" through "^2.3.6" inquirer@^6.4.1: - version "6.5.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.0.tgz#2303317efc9a4ea7ec2e2df6f86569b734accf42" - integrity sha512-scfHejeG/lVZSpvCXpsB4j/wQNPM5JC8kiElOI0OUTwmc1RTpXr4H32/HOlQHcZiYl2z2VElwuCVDRG8vFmbnA== + version "6.5.1" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.1.tgz#8bfb7a5ac02dac6ff641ac4c5ff17da112fcdb42" + integrity sha512-uxNHBeQhRXIoHWTSNYUFhQVrHYFThIt6IVo2fFmSe8aBwdR3/w6b58hJpiL/fMukFkvGzjg+hSxFtwvVmKZmXw== dependencies: - ansi-escapes "^3.2.0" + ansi-escapes "^4.2.1" chalk "^2.4.2" - cli-cursor "^2.1.0" + cli-cursor "^3.1.0" cli-width "^2.0.0" external-editor "^3.0.3" - figures "^2.0.0" - lodash "^4.17.12" - mute-stream "0.0.7" + figures "^3.0.0" + lodash "^4.17.15" + mute-stream "0.0.8" run-async "^2.2.0" rxjs "^6.4.0" - string-width "^2.1.0" + string-width "^4.1.0" strip-ansi "^5.1.0" through "^2.3.6" @@ -5212,6 +5076,11 @@ ipaddr.js@^1.9.0: resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== +is-absolute-url@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-3.0.0.tgz#eb21d69df2ed8ef72a3e6f243e216563036a0913" + integrity sha512-3OkP8XrM2Xq4/IxsJnClfMp3OaM3TAatLPLKPeWcxLBTrpe6hihwtX+XZfJTcXg/FTRi4qjy0y/C5qiyNxY24g== + is-accessor-descriptor@^0.1.6: version "0.1.6" resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" @@ -5226,7 +5095,7 @@ is-accessor-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" -is-alphabetical@^1.0.0, is-alphabetical@^1.0.2: +is-alphabetical@1.0.3, is-alphabetical@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.3.tgz#eb04cc47219a8895d8450ace4715abff2258a1f8" integrity sha512-eEMa6MKpHFzw38eKm56iNNi6GJ7lf6aLLio7Kr23sJPAECscgRtZvOBYybejWDQ2bM949Y++61PY+udzj5QMLA== @@ -5356,6 +5225,11 @@ is-fullwidth-code-point@^2.0.0: resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + is-glob@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" @@ -5457,10 +5331,10 @@ is-regexp@^1.0.0: resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk= -is-root@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-root/-/is-root-2.0.0.tgz#838d1e82318144e5a6f77819d90207645acc7019" - integrity sha512-F/pJIk8QD6OX5DNhRB7hWamLsUilmkDGho48KbgZ6xg/lmAZXHxzXQ91jzB3yRSw5kdQGGGc4yz8HYhTYIMWPg== +is-root@2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-root/-/is-root-2.1.0.tgz#809e18129cf1129644302a4f8544035d51984a9c" + integrity sha512-AGOriNp96vNBd3HtU+RzFEc75FfR5ymiYv8E553I71SCeXBiMsVDUtdio1OEFvrPyLIQ9tVR5RxXIFe5PUFjMg== is-stream@^1.0.1, is-stream@^1.1.0: version "1.1.0" @@ -5480,9 +5354,9 @@ is-symbol@^1.0.2: has-symbols "^1.0.0" is-what@^3.2.4: - version "3.2.4" - resolved "https://registry.yarnpkg.com/is-what/-/is-what-3.2.4.tgz#da528659017bdd4b07892dfe4fd60da6ac500e98" - integrity sha512-0awkPsfVd85bYStP99EqLxKvhc5SiE70hSZCPxJN2SYZ5d+IkX+r1Ri0qnPWPnuRVFrqrEnI3JgFN3yrGtjXaw== + version "3.3.1" + resolved "https://registry.yarnpkg.com/is-what/-/is-what-3.3.1.tgz#79502181f40226e2d8c09226999db90ef7c1bcbe" + integrity sha512-seFn10yAXy+yJlTRO+8VfiafC+0QJanGLMPTBWLrJm/QPauuchy0UXh8B6H5o9VA8BAzk0iYievt6mNp6gfaqA== is-whitespace-character@^1.0.0: version "1.0.3" @@ -5794,7 +5668,7 @@ load-json-file@^4.0.0: pify "^3.0.0" strip-bom "^3.0.0" -loader-runner@^2.3.0, loader-runner@^2.3.1, loader-runner@^2.4.0: +loader-runner@^2.3.1, loader-runner@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357" integrity sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw== @@ -5846,12 +5720,12 @@ lodash.unescape@4.0.1: resolved "https://registry.yarnpkg.com/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c" integrity sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw= -lodash.uniq@^4.5.0: +lodash.uniq@4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -"lodash@>=3.5 <5", lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14: +"lodash@>=3.5 <5", lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15: version "4.17.15" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== @@ -6033,7 +5907,7 @@ mdast-util-definitions@^1.2.0: dependencies: unist-util-visit "^1.0.0" -mdast-util-to-hast@^6.0.1: +mdast-util-to-hast@6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-6.0.1.tgz#98d5ff6d3179d2bb95609a12c8b1e370249d73f2" integrity sha512-KRh9wIYzUQk877JcV+8q4FqBUEouLpCKMObqeWg4dnL1/rh9vtSIq5mqQFwIK9YzSULl91F8FP5+EJ/xqRHaBw== @@ -6089,7 +5963,7 @@ memoize-one@^5.0.0: resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-5.0.5.tgz#8cd3809555723a07684afafcd6f756072ac75d7e" integrity sha512-ey6EpYv0tEaIbM/nTDOpHciXUvd+ackQrJgEzBwemhZZIWZjcyodqEcrmqDy2BKRTM3a65kKBV4WtLXJDt26SQ== -memory-fs@^0.4.0, memory-fs@^0.4.1, memory-fs@~0.4.1: +memory-fs@^0.4.0, memory-fs@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" integrity sha1-OpoguEYlI+RHz7x+i7gO1me/xVI= @@ -6153,9 +6027,9 @@ merge-stream@^2.0.0: integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== merge2@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.2.3.tgz#7ee99dbd69bb6481689253f018488a1b902b0ed5" - integrity sha512-gdUU1Fwj5ep4kplwcmftruWofEFt6lfpkkr3h860CXbAB9c3hGb55EOL2ali0Td5oebvW0E1+3Sr+Ur7XfKpRA== + version "1.2.4" + resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.2.4.tgz#c9269589e6885a60cf80605d9522d4b67ca646e3" + integrity sha512-FYE8xI+6pjFOhokZu0We3S5NKCirLbCzSh2Usf3qEyr4X8U+0jNg9P8RZ4qz+V2UoECLVwSyzU3LxXBaLGtD3A== methods@~1.1.2: version "1.1.2" @@ -6167,7 +6041,7 @@ microevent.ts@~0.1.1: resolved "https://registry.yarnpkg.com/microevent.ts/-/microevent.ts-0.1.1.tgz#70b09b83f43df5172d0205a63025bce0f7357fa0" integrity sha512-jo1OfR4TaEwd5HOrt5+tAZ9mqT4jmpNAusXtyfNzqVm9uiSYFZlKM1wYL4oU7azZW/PxQW53wM0S6OR1JHNa2g== -micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8: +micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== @@ -6347,7 +6221,7 @@ mixin-object@^2.0.1: for-in "^0.1.3" is-extendable "^0.1.1" -mkdirp@0.5.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1: +mkdirp@0.5.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= @@ -6399,6 +6273,11 @@ mute-stream@0.0.7: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= +mute-stream@0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" + integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== + nan@^2.12.1: version "2.14.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" @@ -6487,7 +6366,7 @@ node-forge@0.7.5: resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.7.5.tgz#6c152c345ce11c52f465c2abd957e8639cd674df" integrity sha512-MmbQJ2MTESTjt3Gi/3yG1wGpIMhUfcIypUCGtTizFR9IiccFwxSpfp0vtIZlkFclEqERemxfnSdZEMR9VqqEFQ== -node-libs-browser@^2.0.0, node-libs-browser@^2.2.1: +node-libs-browser@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.2.1.tgz#b64f513d18338625f90346d27b0d235e631f6425" integrity sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q== @@ -6537,10 +6416,10 @@ node-pre-gyp@^0.12.0: semver "^5.3.0" tar "^4" -node-releases@^1.1.13, node-releases@^1.1.25: - version "1.1.25" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.25.tgz#0c2d7dbc7fed30fbe02a9ee3007b8c90bf0133d3" - integrity sha512-fI5BXuk83lKEoZDdH3gRhtsNgh05/wZacuXkgbiYkceE7+QIMXOg98n9ZV7mz27B+kFHnqHcUpscZZlGRSmTpQ== +node-releases@^1.1.25: + version "1.1.27" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.27.tgz#b19ec8add2afe9a826a99dceccc516104c1edaf4" + integrity sha512-9iXUqHKSGo6ph/tdXVbHFbhRVQln4ZDTIBJCzsa90HimnBYc5jw8RWYt4wBYFHehGyC3koIz5O4mb2fHrbPOuA== dependencies: semver "^5.3.0" @@ -6752,6 +6631,13 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" +open@^6.3.0: + version "6.4.0" + resolved "https://registry.yarnpkg.com/open/-/open-6.4.0.tgz#5c13e96d0dc894686164f18965ecfe889ecfc8a9" + integrity sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg== + dependencies: + is-wsl "^1.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" @@ -6762,13 +6648,6 @@ opener@^1.5.1: resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.1.tgz#6d2f0e77f1a0af0032aca716c2c1fbb8e7e8abed" integrity sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA== -opn@5.4.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/opn/-/opn-5.4.0.tgz#cb545e7aab78562beb11aa3bfabc7042e1761035" - integrity sha512-YF9MNdVy/0qvJvDtunAOzFw9iasOQHpVthTCvGzxt61Il64AYSGdK+rYwld7NAfk9qJ7dt+hymBNSc9LNYS+Sw== - dependencies: - is-wsl "^1.1.0" - opn@^5.5.0: version "5.5.0" resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" @@ -7171,10 +7050,10 @@ pkg-up@2.0.0: dependencies: find-up "^2.1.0" -please-upgrade-node@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz#ed320051dfcc5024fae696712c8288993595e8ac" - integrity sha512-KY1uHnQ2NlQHqIJQpnh/i54rKkuxCEBx+voJIS/Mvb+L2iYd2NMotwduhKTMjfC1uKoX3VXOxLjIYG66dfJTVQ== +please-upgrade-node@^3.1.1, please-upgrade-node@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942" + integrity sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg== dependencies: semver-compare "^1.0.0" @@ -7190,7 +7069,7 @@ popper.js@^1.14.7: resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.15.0.tgz#5560b99bbad7647e9faa475c6b8056621f5a4ff2" integrity sha512-w010cY1oCUmI+9KwwlWki+r5jxKfTFDVoadl7MSrIujHU5MJ5OR6HTDj6Xo8aoR/QsA56x8jKjA59qGH4ELtrA== -portfinder@^1.0.20: +portfinder@^1.0.21: version "1.0.21" resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.21.tgz#60e1397b95ac170749db70034ece306b9a27e324" integrity sha512-ESabpDCzmBS3ekHbmpAIiESq3udRsCBGiBZLsC+HgBKv2ezb0R4oG+7RnYEVZ/ZCfhel5Tx3UzdNWA0Lox2QCA== @@ -7453,30 +7332,30 @@ react-codemirror2@^6.0.0: integrity sha512-D7y9qZ05FbUh9blqECaJMdDwKluQiO3A9xB+fssd5jKM7YAXucRuEOlX32mJQumUvHUkHRHqXIPBjm6g0FW0Ag== react-dev-utils@^9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-9.0.1.tgz#5c03d85a0b2537d0c46af7165c24a7dfb274bef2" - integrity sha512-pnaeMo/Pxel8aZpxk1WwxT3uXxM3tEwYvsjCYn5R7gNxjhN1auowdcLDzFB8kr7rafAj2rxmvfic/fbac5CzwQ== + version "9.0.2" + resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-9.0.2.tgz#14f9a75120513967e13599d4f66d43bced7a3fce" + integrity sha512-AHVfRepMzZJyJHCNFAsrAG4El1H5v+27c1XkeDoX6pSmdhT/ZDdAN3Mf7DKYcrbIFlubzVYof6NZDnPBjd0CNA== dependencies: - "@babel/code-frame" "7.0.0" - address "1.0.3" - browserslist "4.5.4" + "@babel/code-frame" "7.5.5" + address "1.1.0" + browserslist "4.6.6" chalk "2.4.2" cross-spawn "6.0.5" detect-port-alt "1.1.6" escape-string-regexp "1.0.5" filesize "3.6.1" find-up "3.0.0" - fork-ts-checker-webpack-plugin "1.1.1" + fork-ts-checker-webpack-plugin "1.5.0" global-modules "2.0.0" globby "8.0.2" - gzip-size "5.0.0" + gzip-size "5.1.1" immer "1.10.0" - inquirer "6.2.2" - is-root "2.0.0" + inquirer "6.5.0" + is-root "2.1.0" loader-utils "1.2.3" - opn "5.4.0" + open "^6.3.0" pkg-up "2.0.0" - react-error-overlay "^5.1.6" + react-error-overlay "^6.0.0" recursive-readdir "2.2.2" shell-quote "1.6.1" sockjs-client "1.3.0" @@ -7515,19 +7394,19 @@ react-docgen@^4.1.1: recast "^0.17.3" react-dom@^16.8.6: - version "16.8.6" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.6.tgz#71d6303f631e8b0097f56165ef608f051ff6e10f" - integrity sha512-1nL7PIq9LTL3fthPqwkvr2zY7phIPjYrT0jp4HjyEQrEROnw4dG41VVwi/wfoCneoleqrNX7iAD+pXebJZwrwA== + 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.13.6" + scheduler "^0.15.0" -react-error-overlay@^5.1.6: - version "5.1.6" - resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-5.1.6.tgz#0cd73407c5d141f9638ae1e0c63e7b2bf7e9929d" - integrity sha512-X1Y+0jR47ImDVr54Ab6V9eGk0Hnu7fVWGeHQSOXHf/C2pF9c6uy3gef8QUeuUiWlNb0i08InPSE5a/KJzNzw1Q== +react-error-overlay@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-6.0.0.tgz#485beca3db57e8ec2d934d4ee598754467229499" + integrity sha512-oHf3b1J2Pxu03apiHvP21qBCkj6fG6A3c3ahya3fX0VXEZUTzIRLwZI9eZ/6cuOO+kvnzdVdGBxZlo+Tjh+hfQ== react-feather@^1.1.6: version "1.1.6" @@ -7535,9 +7414,9 @@ react-feather@^1.1.6: integrity sha512-iCofWhTjX+vQwvDmg7o6vg0XrUg1c41yBDZG+l83nz1FiCsleJoUgd3O+kHpOeWMXuPrRIFfCixvcqyOLGOgIg== react-hot-loader@^4.8.4: - version "4.12.8" - resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-4.12.8.tgz#90ecf2ef7d4005e110292760f135c95177e804c7" - integrity sha512-/Df2J3znMHzRzI6CW0dTOIWD2sjkVHxv56XCqujAo9mR+k2PVTiGjUgYBiGPGsix9zQzgCRfOKca93o9Zdj2vQ== + version "4.12.11" + resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-4.12.11.tgz#06bd618d0a7343c8afa4a31206844f651193bae5" + integrity sha512-ySsg1hPwr/5dkZCJVp1nZRbwbpbEQ+3e2+bn/D681Wvr9+o+5bLKkTGq0TXskj8HgCS3ScysXddOng9Cg+JKzw== dependencies: fast-levenshtein "^2.0.6" global "^4.3.0" @@ -7545,13 +7424,13 @@ react-hot-loader@^4.8.4: loader-utils "^1.1.0" prop-types "^15.6.1" react-lifecycles-compat "^3.0.4" - shallowequal "^1.0.2" + shallowequal "^1.1.0" source-map "^0.7.3" react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1: - version "16.8.6" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16" - integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA== + version "16.9.0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.9.0.tgz#21ca9561399aad0ff1a7701c01683e8ca981edcb" + integrity sha512-tJBzzzIgnnRfEm046qRcURvwQnZVXmuCbscxUO5RWrGTXpon2d4c8mI0D8WE6ydVIm29JiLB6+RslkIvym9Rjw== react-lifecycles-compat@^3.0.4: version "3.0.4" @@ -7585,15 +7464,14 @@ react-simple-code-editor@^0.9.0: resolved "https://registry.yarnpkg.com/react-simple-code-editor/-/react-simple-code-editor-0.9.14.tgz#5b8fdc36a975cbf02fdafa2597398d8e212afebc" integrity sha512-doNaIIt4w7QIiB6ysWHMtYL4M3xOGPvZJH8vGq3W/hGk43pn25RDA27IS8GkbfhA1eLX72CWDhuC7KmDKax13g== -react@^16.8.6: - version "16.8.6" - resolved "https://registry.yarnpkg.com/react/-/react-16.8.6.tgz#ad6c3a9614fd3a4e9ef51117f54d888da01f2bbe" - integrity sha512-pC0uMkhLaHm11ZSJULfOBqV4tIZkx87ZLvbbQYunNixAAvjnC+snJCg0XQXn9VIsttVsbZP/H/ewzgsd5fxKXw== +react@^16.8.6, react@^16.9.0: + 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" - scheduler "^0.13.6" read-pkg-up@^3.0.0: version "3.0.0" @@ -7685,7 +7563,7 @@ redent@^2.0.0: indent-string "^3.0.0" strip-indent "^2.0.0" -regenerate-unicode-properties@^8.0.2: +regenerate-unicode-properties@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz#ef51e0f0ea4ad424b77bf7cb41f3e015c70a3f0e" integrity sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA== @@ -7733,12 +7611,12 @@ regexpp@^2.0.1: integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== regexpu-core@^4.2.0, regexpu-core@^4.5.4: - version "4.5.4" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.5.4.tgz#080d9d02289aa87fe1667a4f5136bc98a6aebaae" - integrity sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ== + version "4.5.5" + resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.5.5.tgz#aaffe61c2af58269b3e516b61a73790376326411" + integrity sha512-FpI67+ky9J+cDizQUJlIlNZFKual/lUkFr1AG6zOCpwZ9cLrg8UUVakyUQJD7fCDIe9Z2nwTQJNPyonatNmDFQ== dependencies: regenerate "^1.4.0" - regenerate-unicode-properties "^8.0.2" + regenerate-unicode-properties "^8.1.0" regjsgen "^0.5.0" regjsparser "^0.6.0" unicode-match-property-ecmascript "^1.0.4" @@ -7816,18 +7694,19 @@ remark-frontmatter@^1.3.1: fault "^1.0.1" xtend "^4.0.1" -remark-mdx@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-1.1.0.tgz#35fde951866411ff1dde2a243f43ec7e90bc25e5" - integrity sha512-WW5WNg0NZnvCaXnrIMGwKG5HLwzCUkOtIMFLwTjB0vRE8QJRvhJUYykX3LrfS2EVIxVFTspZx9YzzV0BY/gfaQ== - dependencies: - "@babel/core" "^7.2.2" - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-object-rest-spread" "^7.3.2" - "@babel/plugin-syntax-jsx" "^7.2.0" - is-alphabetical "^1.0.2" - remark-parse "^6.0.0" - unified "^8.2.0" +remark-mdx@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-1.2.2.tgz#2e7efc76405999f7d3937b9011c2310326cfc74f" + integrity sha512-jkDKV2FMmIzRftMFL6YDKijr12JxsgXWgG8Slb/IKV58F6846W8WuJRonQDCOQ5QL2+1GChB7hZ4QbnNvn4ktg== + dependencies: + "@babel/core" "7.5.5" + "@babel/helper-plugin-utils" "7.0.0" + "@babel/plugin-proposal-object-rest-spread" "7.5.5" + "@babel/plugin-syntax-jsx" "7.2.0" + "@mdx-js/util" "^1.2.2" + is-alphabetical "1.0.3" + remark-parse "7.0.1" + unified "8.3.2" remark-parse-yaml@^0.0.2: version "0.0.2" @@ -7837,6 +7716,27 @@ remark-parse-yaml@^0.0.2: js-yaml "^3.9.0" unist-util-map "^1.0.3" +remark-parse@7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-7.0.1.tgz#0c13d67e0d7b82c2ad2d8b6604ec5fae6c333c2b" + integrity sha512-WOZLa545jYXtSy+txza6ACudKWByQac4S2DmGk+tAGO/3XnVTOxwyCIxB7nTcLlk8Aayhcuf3cV1WV6U6L7/DQ== + dependencies: + collapse-white-space "^1.0.2" + is-alphabetical "^1.0.0" + is-decimal "^1.0.0" + is-whitespace-character "^1.0.0" + is-word-character "^1.0.0" + markdown-escapes "^1.0.0" + parse-entities "^1.1.0" + repeat-string "^1.5.4" + state-toggle "^1.0.0" + trim "0.0.1" + trim-trailing-lines "^1.0.0" + unherit "^1.0.4" + unist-util-remove-position "^1.0.0" + vfile-location "^2.0.0" + xtend "^4.0.1" + remark-parse@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-1.1.0.tgz#c3ca10f9a8da04615c28f09aa4e304510526ec21" @@ -7852,7 +7752,7 @@ remark-parse@^1.1.0: unist-util-remove-position "^1.0.0" vfile-location "^2.0.0" -remark-parse@^6.0.0, remark-parse@^6.0.2: +remark-parse@^6.0.2: version "6.0.3" resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-6.0.3.tgz#c99131052809da482108413f87b0ee7f52180a3a" integrity sha512-QbDXWN4HfKTUC0hHa4teU463KclLAnwpn/FBn87j9cKYJWWawbiLgMfP2Q4XwhxxuuuOxHlw+pSN0OKuJwyVvg== @@ -7882,7 +7782,7 @@ remark-slug@^5.1.1: mdast-util-to-string "^1.0.0" unist-util-visit "^1.0.0" -remark-squeeze-paragraphs@^3.0.1: +remark-squeeze-paragraphs@3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/remark-squeeze-paragraphs/-/remark-squeeze-paragraphs-3.0.4.tgz#9fe50c3bf3b572dd88754cd426ada007c0b8dc5f" integrity sha512-Wmz5Yj9q+W1oryo8BV17JrOXZgUKVcpJ2ApE2pwnoHwhFKSk4Wp2PmFNbmJMgYSqAdFwfkoe+TSYop5Fy8wMgA== @@ -7988,9 +7888,9 @@ resolve-url@^0.2.1: integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= resolve@^1.10.0, resolve@^1.10.1, resolve@^1.3.2, resolve@^1.7.1, resolve@^1.8.1: - version "1.11.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.11.1.tgz#ea10d8110376982fef578df8fc30b9ac30a07a3e" - integrity sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw== + version "1.12.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6" + integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w== dependencies: path-parse "^1.0.6" @@ -8002,6 +7902,14 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" +restore-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" + integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + ret@~0.1.10: version "0.1.15" resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" @@ -8068,7 +7976,7 @@ safe-buffer@5.1.2, 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== -safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2: +safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== @@ -8090,10 +7998,10 @@ sax@^1.2.4, sax@~1.2.4: resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== -scheduler@^0.13.6: - version "0.13.6" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.13.6.tgz#466a4ec332467b31a91b9bf74e5347072e4cd889" - integrity sha512-IWnObHt413ucAYKsD9J1QShUKkbKLQQHdxRyw73sw4FN26iWr3DY/H34xGPe4nmL1DwXyWmSWmMrA9TfQbE/XQ== +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" @@ -8125,19 +8033,19 @@ semver-compare@^1.0.0: integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w= "semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0: - version "5.7.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b" - integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== + version "5.7.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" + integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== semver@5.5.0: version "5.5.0" resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" integrity sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA== -semver@^6.0.0, semver@^6.1.1, semver@^6.1.2: - 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.0.0, semver@^6.1.2, 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== send@0.17.1: version "0.17.1" @@ -8263,7 +8171,7 @@ shallow-clone@^0.1.2: lazy-cache "^0.2.3" mixin-object "^2.0.1" -shallowequal@^1.0.2: +shallowequal@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ== @@ -8415,9 +8323,9 @@ source-map-resolve@^0.5.0: urix "^0.1.0" source-map-support@^0.5.9, source-map-support@~0.5.12: - version "0.5.12" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.12.tgz#b4f3b10d51857a5af0138d3ce8003b201613d599" - integrity sha512-4h2Pbvyy15EE02G+JOZpUCmqWJuqrs+sEkzewTm++BPi7Hvn/HwcqLAcNxYAyI0x13CpPPn+kMjl+hplXMHITQ== + version "0.5.13" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" + integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== dependencies: buffer-from "^1.0.0" source-map "^0.6.0" @@ -8490,10 +8398,10 @@ spdy-transport@^3.0.0: readable-stream "^3.0.6" wbuf "^1.7.3" -spdy@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.0.tgz#81f222b5a743a329aa12cea6a390e60e9b613c52" - integrity sha512-ot0oEGT/PGUpzf/6uk4AWLqkq+irlqHXkrdbk51oWONh3bxQmBuljxPNl66zlRRcIJStWq0QkLUCPOPjgjvU0Q== +spdy@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.1.tgz#6f12ed1c5db7ea4f24ebb8b89ba58c87c08257f2" + integrity sha512-HeZS3PBdMA+sZSu0qwpCxl3DeALD5ASx8pAX0jZdKXSpPWbQ6SYGnlg3BBmYLx5LtiZrmkAZfErCm2oECBcioA== dependencies: debug "^4.1.0" handle-thing "^2.0.0" @@ -8618,17 +8526,26 @@ string-width@^3.0.0, string-width@^3.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" +string-width@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.1.0.tgz#ba846d1daa97c3c596155308063e075ed1c99aff" + integrity sha512-NrX+1dVVh+6Y9dnQ19pR0pP4FiEIlUvdTGn8pw6CKTNq5sgib2nIhmUNT5TAmhWmvKr3WcxBcP3E8nWezuipuQ== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^5.2.0" + string.fromcodepoint@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/string.fromcodepoint/-/string.fromcodepoint-0.2.1.tgz#8d978333c0bc92538f50f383e4888f3e5619d653" integrity sha1-jZeDM8C8klOPUPOD5IiPPlYZ1lM= string_decoder@^1.0.0, string_decoder@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.2.0.tgz#fe86e738b19544afe70469243b2a1ee9240eae8d" - integrity sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w== + 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.1.0" + safe-buffer "~5.2.0" string_decoder@~1.1.1: version "1.1.1" @@ -8726,7 +8643,7 @@ strip-url-auth@^1.0.0: resolved "https://registry.yarnpkg.com/strip-url-auth/-/strip-url-auth-1.0.1.tgz#22b0fa3a41385b33be3f331551bbb837fa0cd7ae" integrity sha1-IrD6OkE4WzO+PzMVUbu4N/oM164= -style-to-object@^0.2.1: +style-to-object@0.2.3, style-to-object@^0.2.1: version "0.2.3" resolved "https://registry.yarnpkg.com/style-to-object/-/style-to-object-0.2.3.tgz#afcf42bc03846b1e311880c55632a26ad2780bcb" integrity sha512-1d/k4EY2N7jVLOqf2j04dTc37TPOv/hHxZmvpg8Pdh8UYydxeu/C1W1U4vD8alzf5V2Gt7rLsmkr4dxAlDm9ng== @@ -8782,9 +8699,9 @@ supports-color@^5.3.0, supports-color@^5.5.0: has-flag "^3.0.0" svg-parser@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/svg-parser/-/svg-parser-2.0.1.tgz#2379e84748b31fad7bf80913e173492f3bcc9f20" - integrity sha512-8eUnCsU2sc2hyfvjK++zi5u24a2UQIB2DK9GY/cprGlaDr7SIhm9F0m9CkGYOnOgrK3iTUSnJ7M1DTLqqZt96g== + version "2.0.2" + resolved "https://registry.yarnpkg.com/svg-parser/-/svg-parser-2.0.2.tgz#d134cc396fa2681dc64f518330784e98bd801ec8" + integrity sha512-1gtApepKFweigFZj3sGO8KT8LvVZK8io146EzXrpVuWCDAbISz/yMucco3hWTkpZNoPabM+dnMOpy6Swue68Zg== svgo@^1.2.2: version "1.3.0" @@ -8811,16 +8728,16 @@ symbol-observable@^1.1.0: integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== table@^5.2.3: - version "5.4.4" - resolved "https://registry.yarnpkg.com/table/-/table-5.4.4.tgz#6e0f88fdae3692793d1077fd172a4667afe986a6" - integrity sha512-IIfEAUx5QlODLblLrGTTLJA7Tk0iLSGBvgY8essPRVNGHAzThujww1YqHLs6h3HfTg55h++RzLHH5Xw/rfv+mg== + version "5.4.5" + resolved "https://registry.yarnpkg.com/table/-/table-5.4.5.tgz#c8f4ea2d8fee08c0027fac27b0ec0a4fe01dfa42" + integrity sha512-oGa2Hl7CQjfoaogtrOHEJroOcYILTx7BZWLGsJIlzoWmB2zmguhNfPJZsWPKYek/MgCxfco54gEi31d1uN2hFA== dependencies: ajv "^6.10.2" lodash "^4.17.14" slice-ansi "^2.1.0" string-width "^3.0.0" -tapable@^1.0.0, tapable@^1.1.0, tapable@^1.1.3: +tapable@^1.0.0, tapable@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== @@ -8845,23 +8762,7 @@ term-size@^1.2.0: dependencies: execa "^0.7.0" -terser-webpack-plugin@^1.1.0, terser-webpack-plugin@^1.2.3: - version "1.3.0" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.3.0.tgz#69aa22426299f4b5b3775cbed8cb2c5d419aa1d4" - integrity sha512-W2YWmxPjjkUcOWa4pBEv4OP4er1aeQJlSo2UhtCFQCuRXEHjOFscO8VyWHj9JLlA0RzQb8Y2/Ta78XZvT54uGg== - dependencies: - cacache "^11.3.2" - find-cache-dir "^2.0.0" - is-wsl "^1.1.0" - loader-utils "^1.2.3" - schema-utils "^1.0.0" - serialize-javascript "^1.7.0" - source-map "^0.6.1" - terser "^4.0.0" - webpack-sources "^1.3.0" - worker-farm "^1.7.0" - -terser-webpack-plugin@^1.4.1: +terser-webpack-plugin@^1.2.3, terser-webpack-plugin@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.1.tgz#61b18e40eaee5be97e771cdbb10ed1280888c2b4" integrity sha512-ZXmmfiwtCLfz8WKZyYUuuHf3dMYEjg8NrjHMb0JqHVHVOSkzp3cW2/XG1fP3tRhqEqSzMwzzRQGtAPbs4Cncxg== @@ -8876,10 +8777,10 @@ terser-webpack-plugin@^1.4.1: webpack-sources "^1.4.0" worker-farm "^1.7.0" -terser@^4.0.0, terser@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.1.2.tgz#b2656c8a506f7ce805a3f300a2ff48db022fa391" - integrity sha512-jvNoEQSPXJdssFwqPSgWjsOrb+ELoE+ILpHPKXC83tIxOlh2U75F1KuB2luLD/3a6/7K3Vw5pDn+hvu0C4AzSw== +terser@^4.1.2: + version "4.1.4" + resolved "https://registry.yarnpkg.com/terser/-/terser-4.1.4.tgz#4478b6a08bb096a61e793fea1a4434408bab936c" + integrity sha512-+ZwXJvdSwbd60jG0Illav0F06GDJF0R4ydZ21Q3wGAFKoBGyJGo34F63vzJHgvYxc1ukOtIjvwEvl9MkjzM6Pg== dependencies: commander "^2.20.0" source-map "~0.6.1" @@ -8891,9 +8792,9 @@ text-table@0.2.0, text-table@^0.2.0: integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= thread-loader@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/thread-loader/-/thread-loader-2.1.2.tgz#f585dd38e852c7f9cded5d092992108148f5eb30" - integrity sha512-7xpuc9Ifg6WU+QYw/8uUqNdRwMD+N5gjwHKMqETrs96Qn+7BHwECpt2Brzr4HFlf4IAkZsayNhmGdbkBsTJ//w== + version "2.1.3" + resolved "https://registry.yarnpkg.com/thread-loader/-/thread-loader-2.1.3.tgz#cbd2c139fc2b2de6e9d28f62286ab770c1acbdda" + integrity sha512-wNrVKH2Lcf8ZrWxDF/khdlLlsTMczdcwPA9VEK4c2exlEPynYWxi9op3nPTo5lAnDIkE0rQEB3VBP+4Zncc9Hg== dependencies: loader-runner "^2.3.1" loader-utils "^1.1.0" @@ -8918,16 +8819,16 @@ thunky@^1.0.2: integrity sha512-YwT8pjmNcAXBZqrubu22P4FYsh2D4dxRmnWBOL8Jk8bUcRUtc5326kx32tuTmFDAZtLOGEVNl8POAR8j896Iow== timers-browserify@^2.0.4: - version "2.0.10" - resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.10.tgz#1d28e3d2aadf1d5a5996c4e9f95601cd053480ae" - integrity sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg== + version "2.0.11" + resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.11.tgz#800b1f3eee272e5bc53ee465a04d0e804c31211f" + integrity sha512-60aV6sgJ5YEbzUdn9c8kYGIqOubPoUdqQCul3SBAsRCZ40s6Y5cMcrW4dt3/k/EsbLVJNl9n6Vz3fTc+k2GeKQ== dependencies: setimmediate "^1.0.4" tippy.js@^4.3.4: - version "4.3.4" - resolved "https://registry.yarnpkg.com/tippy.js/-/tippy.js-4.3.4.tgz#9a91fd5ce8c401f181b7adaa6b2c27f3d105f3ba" - integrity sha512-O2ukxHOJTLVYZ/TfHjNd8WgAWoefX9uk5QiWRdHfX2PR2lBpUU4BJQLl7U2Ykc8K7o16gTeHEElpuRfgD5b0aA== + version "4.3.5" + resolved "https://registry.yarnpkg.com/tippy.js/-/tippy.js-4.3.5.tgz#882bff8d92f09bb0546d2826d5668c0560006f54" + integrity sha512-NDq3efte8nGK6BOJ1dDN1/WelAwfmh3UtIYXXck6+SxLzbIQNZE/cmRSnwScZ/FyiKdIcvFHvYUgqmoGx8CcyA== dependencies: popper.js "^1.14.7" @@ -8985,11 +8886,6 @@ to-regex@^3.0.1, to-regex@^3.0.2: regex-not "^1.0.2" safe-regex "^1.1.0" -to-style@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/to-style/-/to-style-1.3.3.tgz#63a2b70a6f4a7d4fdc2ed57a0be4e7235cb6699c" - integrity sha1-Y6K3Cm9KfU/cLtV6C+TnI1y2aZw= - to-vfile@^5.0.2: version "5.0.3" resolved "https://registry.yarnpkg.com/to-vfile/-/to-vfile-5.0.3.tgz#61ecbd7ed207b2a30e9d2eb5d4cd9f9114300203" @@ -9092,9 +8988,9 @@ type-is@~1.6.17, type-is@~1.6.18: mime-types "~2.1.24" type@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/type/-/type-1.0.1.tgz#084c9a17fcc9151a2cdb1459905c2e45e4bb7d61" - integrity sha512-MAM5dBMJCJNKs9E7JXo4CXRAansRfG0nlJxW7Wf6GZzSOvH31zClSaHdIMWLehe/EGMBkqeC55rrkaOr5Oo7Nw== + version "1.0.3" + resolved "https://registry.yarnpkg.com/type/-/type-1.0.3.tgz#16f5d39f27a2d28d86e48f8981859e9d3296c179" + integrity sha512-51IMtNfVcee8+9GJvj0spSuFcZHe9vSib6Xtgsny1Km9ugyz2mbS08I3rsUIRYgJohFRFU1160sgRodYz378Hg== typedarray@^0.0.6: version "0.0.6" @@ -9185,6 +9081,17 @@ unicode-property-aliases-ecmascript@^1.0.4: resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57" integrity sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw== +unified@8.3.2: + version "8.3.2" + resolved "https://registry.yarnpkg.com/unified/-/unified-8.3.2.tgz#aed69d0e577d6ef27268431c63a10faef60e63ab" + integrity sha512-NDtUAXcd4c+mKppCbsZHzmhkKEQuhveZNBrFYmNgMIMk2K9bc8hmG3mLEGVtRmSNodobwyMePAnvIGVWZfPdzQ== + dependencies: + bail "^1.0.0" + extend "^3.0.0" + is-plain-obj "^2.0.0" + trough "^1.0.0" + vfile "^4.0.0" + unified@^4.1.1: version "4.2.1" resolved "https://registry.yarnpkg.com/unified/-/unified-4.2.1.tgz#76ff43aa8da430f6e7e4a55c84ebac2ad2cfcd2e" @@ -9211,17 +9118,6 @@ unified@^7.1.0: vfile "^3.0.0" x-is-string "^0.1.0" -unified@^8.2.0: - version "8.3.2" - resolved "https://registry.yarnpkg.com/unified/-/unified-8.3.2.tgz#aed69d0e577d6ef27268431c63a10faef60e63ab" - integrity sha512-NDtUAXcd4c+mKppCbsZHzmhkKEQuhveZNBrFYmNgMIMk2K9bc8hmG3mLEGVtRmSNodobwyMePAnvIGVWZfPdzQ== - dependencies: - bail "^1.0.0" - extend "^3.0.0" - is-plain-obj "^2.0.0" - trough "^1.0.0" - vfile "^4.0.0" - union-value@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" @@ -9246,7 +9142,7 @@ unique-slug@^2.0.0: dependencies: imurmurhash "^0.1.4" -unist-builder@^1.0.1: +unist-builder@1.0.4, unist-builder@^1.0.1: version "1.0.4" resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-1.0.4.tgz#e1808aed30bd72adc3607f25afecebef4dd59e17" integrity sha512-v6xbUPP7ILrT15fHGrNyHc1Xda8H3xVhP7/HAIotHOhVPjH5dCXA097C3Rry1Q2O+HbOLCao4hfPB+EYEjHgVg== @@ -9277,6 +9173,11 @@ unist-util-is@^3.0.0: resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-3.0.0.tgz#d9e84381c2468e82629e4a5be9d7d05a2dd324cd" integrity sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A== +unist-util-is@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-4.0.0.tgz#85672993f0d88a8bffb45137aba003ee8da11a38" + integrity sha512-E5JLUKRQlAYiJmN2PVBdSz01R3rUKRSM00X+0DB/yLqxdLu6wZZkRdTIsxDp9X+bkxh8Eq+O2YYRbZvLZtQT1A== + unist-util-map@^1.0.3: version "1.0.5" resolved "https://registry.yarnpkg.com/unist-util-map/-/unist-util-map-1.0.5.tgz#701069b72e1d1cc02db265502a5e82b77c2eb8b7" @@ -9322,7 +9223,24 @@ unist-util-visit-parents@^2.0.0: dependencies: unist-util-is "^3.0.0" -unist-util-visit@^1.0.0, unist-util-visit@^1.1.0, unist-util-visit@^1.3.0, unist-util-visit@^1.4.0: +unist-util-visit-parents@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-3.0.0.tgz#dd4cdcd86d505ec7a81bdc01bc790f9def742bee" + integrity sha512-H3K8d81S4V3XVXVwLvrLGk+R5VILryfUotD06/R/rLsTsPLGjkn6gIP8qEEVITcuIySNYj0ocJLsePjm9F/Vcg== + dependencies: + "@types/unist" "^2.0.3" + unist-util-is "^4.0.0" + +unist-util-visit@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.0.tgz#1fdae5ea88251651bfe49b7e84390d664fc227c5" + integrity sha512-kiTpWKsF54u/78L/UU/i7lxrnqGiEWBgqCpaIZBYP0gwUC+Akq0Ajm4U8JiNIoQNfAioBdsyarnOcTEAb9mLeQ== + dependencies: + "@types/unist" "^2.0.0" + unist-util-is "^4.0.0" + unist-util-visit-parents "^3.0.0" + +unist-util-visit@^1.0.0, unist-util-visit@^1.1.0, unist-util-visit@^1.4.0: version "1.4.1" resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-1.4.1.tgz#4724aaa8486e6ee6e26d7ff3c8685960d560b1e3" integrity sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw== @@ -9449,11 +9367,16 @@ uuid@^3.0.1, uuid@^3.1.0, uuid@^3.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== -v8-compile-cache@2.0.3, v8-compile-cache@^2.0.3: +v8-compile-cache@2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz#00f7494d2ae2b688cfe2899df6ed2c54bef91dbe" integrity sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w== +v8-compile-cache@^2.0.3: + version "2.1.0" + resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e" + integrity sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g== + validate-npm-package-license@^3.0.1: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" @@ -9530,7 +9453,7 @@ warning@^3.0.0: dependencies: loose-envify "^1.0.0" -watchpack@^1.5.0, watchpack@^1.6.0: +watchpack@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00" integrity sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA== @@ -9552,9 +9475,9 @@ web-namespaces@^1.0.0, web-namespaces@^1.1.2: integrity sha512-r8sAtNmgR0WKOKOxzuSgk09JsHlpKlB+uHi937qypOu3PZ17UxPrierFKDye/uNHjNTTEshu5PId8rojIPj/tA== webpack-bundle-analyzer@^3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.3.2.tgz#3da733a900f515914e729fcebcd4c40dde71fc6f" - integrity sha512-7qvJLPKB4rRWZGjVp5U1KEjwutbDHSKboAl0IfafnrdXMrgC0tOtZbQD6Rw0u4cmpgRN4O02Fc0t8eAT+FgGzA== + version "3.4.1" + resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.4.1.tgz#430544c7ba1631baccf673475ca8300cb74a3c47" + integrity sha512-Bs8D/1zF+17lhqj2OYmzi7HEVYqEVxu7lCO9Ff8BwajenOU0vAwEoV8e4ICCPNZAcqR1PCR/7o2SkW+cnCmF0A== dependencies: acorn "^6.0.7" acorn-walk "^6.1.1" @@ -9565,7 +9488,7 @@ webpack-bundle-analyzer@^3.3.2: express "^4.16.3" filesize "^3.6.1" gzip-size "^5.0.0" - lodash "^4.17.10" + lodash "^4.17.15" mkdirp "^0.5.1" opener "^1.5.1" ws "^6.0.0" @@ -9606,9 +9529,9 @@ webpack-dev-middleware@^3.7.0: webpack-log "^2.0.0" webpack-dev-server@^3.3.1: - version "3.7.2" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.7.2.tgz#f79caa5974b7f8b63268ef5421222a8486d792f5" - integrity sha512-mjWtrKJW2T9SsjJ4/dxDC2fkFVUw8jlpemDERqV0ZJIkjjjamR2AbQlr3oz+j4JLhYCHImHnXZK5H06P2wvUew== + version "3.8.0" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.8.0.tgz#06cc4fc2f440428508d0e9770da1fef10e5ef28d" + integrity sha512-Hs8K9yI6pyMvGkaPTeTonhD6JXVsigXDApYk9JLW4M7viVBspQvb1WdAcWxqtmttxNW4zf2UFLsLNe0y87pIGQ== dependencies: ansi-html "0.0.7" bonjour "^3.5.0" @@ -9623,23 +9546,25 @@ webpack-dev-server@^3.3.1: import-local "^2.0.0" internal-ip "^4.3.0" ip "^1.1.5" + is-absolute-url "^3.0.0" killable "^1.0.1" loglevel "^1.6.3" opn "^5.5.0" p-retry "^3.0.1" - portfinder "^1.0.20" + portfinder "^1.0.21" schema-utils "^1.0.0" selfsigned "^1.10.4" - semver "^6.1.1" + semver "^6.3.0" serve-index "^1.9.1" sockjs "0.3.19" sockjs-client "1.3.0" - spdy "^4.0.0" + spdy "^4.0.1" strip-ansi "^3.0.1" supports-color "^6.1.0" url "^0.11.0" webpack-dev-middleware "^3.7.0" webpack-log "^2.0.0" + ws "^6.2.1" yargs "12.0.5" webpack-hot-client@^4.1.1: @@ -9683,52 +9608,15 @@ webpack-manifest-plugin@^2.0.4: lodash ">=3.5 <5" tapable "^1.0.0" -webpack-sources@^1.1.0, webpack-sources@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.3.0.tgz#2a28dcb9f1f45fe960d8f1493252b5ee6530fa85" - integrity sha512-OiVgSrbGu7NEnEvQJJgdSFPl2qWKkWq5lHMhgiToIiN9w34EBnjYzSYs+VbL5KoYiLNtFFa7BZIKxRED3I32pA== - dependencies: - source-list-map "^2.0.0" - source-map "~0.6.1" - -webpack-sources@^1.4.0, webpack-sources@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.1.tgz#b91b2c5b1c4e890ff50d1d35b7fa3657040da1da" - integrity sha512-XSz38193PTo/1csJabKaV4b53uRVotlMgqJXm3s3eje0Bu6gQTxYDqpD38CmQfDBA+gN+QqaGjasuC8I/7eW3Q== +webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1: + version "1.4.3" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" + integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== dependencies: source-list-map "^2.0.0" source-map "~0.6.1" -webpack@^4.30.0: - version "4.36.1" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.36.1.tgz#f546fda7a403a76faeaaa7196c50d12370ed18a9" - integrity sha512-Ej01/N9W8DVyhEpeQnbUdGvOECw0L46FxS12cCOs8gSK7bhUlrbHRnWkjiXckGlHjUrmL89kDpTRIkUk6Y+fKg== - dependencies: - "@webassemblyjs/ast" "1.8.5" - "@webassemblyjs/helper-module-context" "1.8.5" - "@webassemblyjs/wasm-edit" "1.8.5" - "@webassemblyjs/wasm-parser" "1.8.5" - acorn "^6.2.0" - ajv "^6.1.0" - ajv-keywords "^3.1.0" - chrome-trace-event "^1.0.0" - enhanced-resolve "^4.1.0" - eslint-scope "^4.0.0" - json-parse-better-errors "^1.0.2" - loader-runner "^2.3.0" - loader-utils "^1.1.0" - memory-fs "~0.4.1" - micromatch "^3.1.8" - mkdirp "~0.5.0" - neo-async "^2.5.0" - node-libs-browser "^2.0.0" - schema-utils "^1.0.0" - tapable "^1.1.0" - terser-webpack-plugin "^1.1.0" - watchpack "^1.5.0" - webpack-sources "^1.3.0" - -webpack@^4.39.1: +webpack@^4.30.0, webpack@^4.39.1: version "4.39.1" resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.39.1.tgz#60ed9fb2b72cd60f26ea526c404d2a4cc97a1bd8" integrity sha512-/LAb2TJ2z+eVwisldp3dqTEoNhzp/TLCZlmZm3GGGAlnfIWDgOEE758j/9atklNLfRyhKbZTCOIoPqLJXeBLbQ== @@ -9880,7 +9768,7 @@ ws@^4.0.0: async-limiter "~1.0.0" safe-buffer "~5.1.0" -ws@^6.0.0: +ws@^6.0.0, ws@^6.2.1: version "6.2.1" resolved "https://registry.yarnpkg.com/ws/-/ws-6.2.1.tgz#442fdf0a47ed64f59b6a5d8ff130f4748ed524fb" integrity sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA== @@ -9888,9 +9776,9 @@ ws@^6.0.0: async-limiter "~1.0.0" ws@^7.0.0: - version "7.1.1" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.1.1.tgz#f9942dc868b6dffb72c14fd8f2ba05f77a4d5983" - integrity sha512-o41D/WmDeca0BqYhsr3nJzQyg9NF5X8l/UdnFNux9cS3lwB+swm8qGWX5rn+aD6xfBU3rGmtHij7g7x6LxFU3A== + version "7.1.2" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.1.2.tgz#c672d1629de8bb27a9699eb599be47aeeedd8f73" + integrity sha512-gftXq3XI81cJCgkUiAVixA0raD9IVmXqsylCrjRygw4+UOOGzPoxnQ6r/CnVL9i+mDncJo94tSkyrtuuQVBmrg== dependencies: async-limiter "^1.0.0"