diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9038802f8..b48570808 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,7 +4,6 @@ on: push: branches: - 'development' - - 'feat/better-fetch' jobs: publish: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 16b9d11c5..ec14ff7a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,6 @@ on: push: branches: - '**' - - '!development' jobs: test: @@ -21,4 +20,46 @@ jobs: - run: yarn run test:coverage - run: yarn run upload:coverage env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Building cms projects + working-directory: packages/teleport-test + run: yarn cms + - name: Building Wordpress Project + env: + CMS_URL: ${{ secrets.WORDPRESS_URL }} + working-directory: packages/teleport-test/dist/teleport-project-wordpress-cms + run: | + yarn + yarn build + - name: Building Contentful Project + env: + CMS_URL: ${{ secrets.CONTENTFUL_URL }} + CMS_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }} + working-directory: packages/teleport-test/dist/teleport-project-contentful-cms + run: | + yarn + yarn build + - name: Building Strapi Porject + env: + CMS_URL: ${{ secrets.STRAPI_URL }} + CMS_ACCESS_TOKEN: ${{ secrets.STRAPI_ACCESS_TOKEN }} + working-directory: packages/teleport-test/dist/teleport-project-strapi-cms + run: | + yarn + yarn build + - name: Building Caisy Project + env: + CMS_URL: ${{ secrets.CAISY_URL }} + CMS_ACCESS_TOKEN: ${{ secrets.CAISY_ACCESS_TOKEN }} + working-directory: packages/teleport-test/dist/teleport-project-caisy-cms + run: | + yarn + yarn build + - name: Building Flotiq Project + env: + CMS_URL: ${{ secrets.FLOTIQ_URL }} + CMS_ACCESS_TOKEN: ${{ secrets.FLOTIQ_ACCESS_TOKEN }} + working-directory: packages/teleport-test/dist/teleport-project-flotiq-cms + run: | + yarn + yarn build diff --git a/examples/test-samples/project-sample.json b/examples/test-samples/project-sample.json index aaae521e2..512a6b466 100644 --- a/examples/test-samples/project-sample.json +++ b/examples/test-samples/project-sample.json @@ -117,6 +117,7 @@ "type": "element", "content": { "elementType": "Router", + "events": {}, "children": [ { "type": "conditional", @@ -124,6 +125,7 @@ "node": { "type": "element", "content": { + "events": {}, "elementType": "container", "children": [ { @@ -150,6 +152,7 @@ "type": "element", "content": { "elementType": "container", + "events": {}, "children": [ { "type": "static", @@ -174,6 +177,7 @@ "type": "element", "content": { "elementType": "container", + "events": {}, "children": [ { "type": "static", @@ -416,6 +420,7 @@ "type": "element", "content": { "elementType": "text", + "events": {}, "children": [{ "type": "dynamic", "content": { @@ -527,6 +532,7 @@ "type": "element", "content": { "elementType": "container", + "events": {}, "children": [{ "type": "dynamic", "content": { diff --git a/examples/uidl-samples/caisy.json b/examples/uidl-samples/caisy.json new file mode 100644 index 000000000..a8307d088 --- /dev/null +++ b/examples/uidl-samples/caisy.json @@ -0,0 +1,2462 @@ +{ + "name": "caisy", + "globals": { + "settings": { + "title": "caisy", + "language": "en" + }, + "assets": [ + { + "type": "style", + "attrs": { + "data-tag": { + "type": "static", + "content": "reset-style-sheet" + } + }, + "content": "html { line-height: 1.15;}body { margin: 0;}* { box-sizing: border-box; border-width: 0; border-style: solid;}p,li,ul,pre,div,h1,h2,h3,h4,h5,h6,figure,blockquote,figcaption { margin: 0; padding: 0;}button { background-color: transparent;}button,input,optgroup,select,textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0;}button,select { text-transform: none;}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"] { -webkit-appearance: button;}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner { border-style: none; padding: 0;}button:-moz-focus,[type=\"button\"]:-moz-focus,[type=\"reset\"]:-moz-focus,[type=\"submit\"]:-moz-focus { outline: 1px dotted ButtonText;}a { color: inherit; text-decoration: inherit;}input { padding: 2px 4px;}img { display: block;}html { scroll-behavior: smooth }" + }, + { + "type": "style", + "attrs": { + "data-tag": { + "type": "static", + "content": "default-style-sheet" + } + }, + "content": "\n html {\n font-family: Inter;\n font-size: 16px;\n }\n\n body {\n font-weight: 400;\n font-style:normal;\n text-decoration: none;\n text-transform: none;\n letter-spacing: normal;\n line-height: 1.15;\n color: var(--dl-color-gray-black);\n background-color: var(--dl-color-gray-white);\n \n }\n\n \n\n " + }, + { + "type": "font", + "path": "https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap", + "attrs": { + "data-tag": { + "type": "static", + "content": "font" + } + } + } + ], + "meta": [ + { + "name": "viewport", + "content": "width=device-width, initial-scale=1.0" + }, + { + "charSet": "utf-8" + }, + { + "property": "twitter:card", + "content": "summary_large_image" + } + ], + "customCode": { + "head": "", + "body": "" + } + }, + "root": { + "name": "App", + "designLanguage": { + "tokens": { + "--dl-space-space-threeunits": { + "type": "static", + "content": "48px" + }, + "--dl-size-size-medium": { + "type": "static", + "content": "96px" + }, + "--dl-space-space-fourunits": { + "type": "static", + "content": "64px" + }, + "--dl-color-danger-700": { + "type": "static", + "content": "#E14747" + }, + "--dl-radius-radius-radius8": { + "type": "static", + "content": "8px" + }, + "--dl-color-primary-100": { + "type": "static", + "content": "#003EB3" + }, + "--dl-size-size-xsmall": { + "type": "static", + "content": "16px" + }, + "--dl-space-space-fiveunits": { + "type": "static", + "content": "80px" + }, + "--dl-space-space-unit": { + "type": "static", + "content": "16px" + }, + "--dl-color-gray-500": { + "type": "static", + "content": "#595959" + }, + "--dl-size-size-small": { + "type": "static", + "content": "48px" + }, + "--dl-color-success-700": { + "type": "static", + "content": "#4CC366" + }, + "--dl-size-size-maxwidth": { + "type": "static", + "content": "1400px" + }, + "--dl-color-success-500": { + "type": "static", + "content": "#32A94C" + }, + "--dl-color-primary-300": { + "type": "static", + "content": "#0074F0" + }, + "--dl-color-gray-black": { + "type": "static", + "content": "#000000" + }, + "--dl-color-gray-white": { + "type": "static", + "content": "#FFFFFF" + }, + "--dl-size-size-xlarge": { + "type": "static", + "content": "192px" + }, + "--dl-space-space-oneandhalfunits": { + "type": "static", + "content": "24px" + }, + "--dl-color-primary-700": { + "type": "static", + "content": "#85DCFF" + }, + "--dl-space-space-sixunits": { + "type": "static", + "content": "96px" + }, + "--dl-space-space-halfunit": { + "type": "static", + "content": "8px" + }, + "--dl-color-danger-500": { + "type": "static", + "content": "#BF2626" + }, + "--dl-radius-radius-radius4": { + "type": "static", + "content": "4px" + }, + "--dl-size-size-xxlarge": { + "type": "static", + "content": "288px" + }, + "--dl-radius-radius-radius2": { + "type": "static", + "content": "2px" + }, + "--dl-color-primary-500": { + "type": "static", + "content": "#14A9FF" + }, + "--dl-radius-radius-round": { + "type": "static", + "content": "50%" + }, + "--dl-color-danger-300": { + "type": "static", + "content": "#A22020" + }, + "--dl-space-space-twounits": { + "type": "static", + "content": "32px" + }, + "--dl-color-gray-700": { + "type": "static", + "content": "#999999" + }, + "--dl-size-size-large": { + "type": "static", + "content": "144px" + }, + "--dl-color-gray-900": { + "type": "static", + "content": "#D9D9D9" + }, + "--dl-color-success-300": { + "type": "static", + "content": "#199033" + } + } + }, + "styleSetDefinitions": { + "button": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "display": { + "type": "static", + "content": "inline-block" + }, + "padding": { + "type": "static", + "content": "0.5rem 1rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "input": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "cursor": { + "type": "static", + "content": "auto" + }, + "padding": { + "type": "static", + "content": "0.5rem 1rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "textarea": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "cursor": { + "type": "static", + "content": "auto" + }, + "padding": { + "type": "static", + "content": "0.5rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "list": { + "type": "reusable-project-style-map", + "content": { + "width": { + "type": "static", + "content": "100%" + }, + "margin": { + "type": "static", + "content": "1em 0px 1em 0px" + }, + "display": { + "type": "static", + "content": "block" + }, + "padding": { + "type": "static", + "content": "0px 0px 0px 1.5rem" + }, + "listStyleType": { + "type": "static", + "content": "none" + }, + "listStylePosition": { + "type": "static", + "content": "outside" + } + }, + "conditions": [] + }, + "list-item": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "list-item" + } + }, + "conditions": [] + }, + "teleport-show": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "flex !important" + }, + "transform": { + "type": "static", + "content": "none !important" + } + }, + "conditions": [] + }, + "Heading": { + "type": "reusable-project-style-map", + "content": { + "fontSize": { + "type": "static", + "content": "32px" + }, + "fontFamily": { + "type": "static", + "content": "Inter" + }, + "fontWeight": { + "type": "static", + "content": "700" + }, + "lineHeight": { + "type": "static", + "content": "1.15" + }, + "textTransform": { + "type": "static", + "content": "none" + }, + "textDecoration": { + "type": "static", + "content": "none" + } + } + }, + "Content": { + "type": "reusable-project-style-map", + "content": { + "fontSize": { + "type": "static", + "content": "16px" + }, + "fontFamily": { + "type": "static", + "content": "Inter" + }, + "fontWeight": { + "type": "static", + "content": "400" + }, + "lineHeight": { + "type": "static", + "content": "1.15" + }, + "textTransform": { + "type": "static", + "content": "none" + }, + "textDecoration": { + "type": "static", + "content": "none" + } + } + } + }, + "stateDefinitions": { + "route": { + "type": "string", + "defaultValue": "Home", + "values": [ + { + "value": "Home", + "seo": { + "title": "caisy", + "metaTags": [ + { + "property": "og:title", + "content": "caisy" + } + ] + }, + "pageOptions": { + "stateDefinitions": {}, + "propDefinitions": {} + } + }, + { + "value": "author/Author", + "seo": { + "title": "Author - caisy", + "metaTags": [ + { + "property": "og:title", + "content": "Author - caisy" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorEntities": { + "id": "2e271b3e-8c1d-435d-a5ac-5a33914dc19f", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/author/index", + "initialPropsData": { + "exposeAs": { + "name": "AuthorEntities", + "valuePath": [] + }, + "resource": { + "name": "getEntitiesWithPagination", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy", + "originalName": "getEntitiesWithPagination" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query MyQuery($first: Int, $after: String){allAuthor(first: $first, after: $after){pageInfo{endCursor,hasNextPage,hasPreviousPage}edges{node{_meta{createdAt updatedAt id}name image{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}}}}" + }, + "page": { + "type": "static", + "content": 1 + }, + "perPage": { + "type": "static", + "content": 10 + } + } + } + } + } + }, + { + "value": "author/page/Author", + "seo": { + "title": "Author - caisy", + "metaTags": [ + { + "property": "og:title", + "content": "Author - caisy" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorEntities": { + "id": "2e271b3e-8c1d-435d-a5ac-5a33914dc19f", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "body", + "path": [ + "meta", + "pagination", + "total" + ] + } + }, + "navLink": "/author/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [ + "data" + ] + }, + "resource": { + "name": "getEntities", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy", + "originalName": "getEntities" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "{allAuthor{edges{node{id}}}}" + } + } + } + }, + "initialPropsData": { + "exposeAs": { + "name": "AuthorEntities", + "valuePath": [] + }, + "resource": { + "name": "getEntitiesWithPagination", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy", + "originalName": "getEntitiesWithPagination" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query MyQuery($first: Int, $after: String){allAuthor(first: $first, after: $after){pageInfo{endCursor,hasNextPage,hasPreviousPage}edges{node{_meta{createdAt updatedAt id}name image{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}}}}" + }, + "page": { + "type": "expr", + "content": "(context.params.page)" + }, + "perPage": { + "type": "static", + "content": 10 + } + } + } + } + } + }, + { + "value": "/author/Author1", + "seo": { + "title": "Author1 - caisy", + "metaTags": [ + { + "property": "og:title", + "content": "Author1 - caisy" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorEntity": { + "id": "6894a43c-53fa-4c4b-8b55-7ecbe3ef4182", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/author/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "name": "getEntities", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy", + "originalName": "getEntities" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "{allAuthor{edges{node{id}}}}" + } + } + } + }, + "initialPropsData": { + "exposeAs": { + "name": "AuthorEntity", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "name": "getEntityByAttribute", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy", + "originalName": "getEntityByAttribute" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query Author($value:ID!){Author(id:$value){_meta{createdAt updatedAt id}name image{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}}" + }, + "attribute": { + "type": "static", + "content": "id" + } + } + } + } + } + }, + { + "value": "/blog-post/BlogPost", + "seo": { + "title": "BlogPost - caisy", + "metaTags": [ + { + "property": "og:title", + "content": "BlogPost - caisy" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BlogPostEntity": { + "id": "769387c0-49a2-4b34-9538-b9e3423ed3bd", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/blog-post/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "name": "getEntities", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy", + "originalName": "getEntities" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "{allBlogPost{edges{node{id}}}}" + } + } + } + }, + "initialPropsData": { + "exposeAs": { + "name": "BlogPostEntity", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "name": "getEntityByAttribute", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy", + "originalName": "getEntityByAttribute" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query BlogPost($value:ID!){BlogPost(id:$value){_meta{createdAt updatedAt id}slug cover{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}title assets{__typename ...on Asset{ _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name image{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}authors{__typename...on Author{_meta{createdAt updatedAt id}name image{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}...on BlogPost{_meta{createdAt updatedAt id}slug cover{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}title assets{__typename ...on Asset{ _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name }authors{__typename...on Author{_meta{createdAt updatedAt id}name }...on BlogPost{_meta{createdAt updatedAt id}slug title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount }}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount relatedBlogPosts{__typename...on BlogPost{_meta{createdAt updatedAt id}slug title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount }}}}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount relatedBlogPosts{__typename...on BlogPost{_meta{createdAt updatedAt id}slug cover{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}title assets{__typename ...on Asset{ _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name }authors{__typename...on Author{_meta{createdAt updatedAt id}name }...on BlogPost{_meta{createdAt updatedAt id}slug title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount }}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount relatedBlogPosts{__typename...on BlogPost{_meta{createdAt updatedAt id}slug title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount }}}}}}" + }, + "attribute": { + "type": "static", + "content": "id" + } + } + } + } + } + }, + { + "value": "blog-post/BlogPost1", + "seo": { + "title": "BlogPost1 - caisy", + "metaTags": [ + { + "property": "og:title", + "content": "BlogPost1 - caisy" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BlogPostEntities": { + "id": "f08df977-b756-4c41-b42e-f29333df56d8", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/blog-post/index", + "initialPropsData": { + "exposeAs": { + "name": "BlogPostEntities", + "valuePath": [] + }, + "resource": { + "name": "getEntitiesWithPagination", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy", + "originalName": "getEntitiesWithPagination" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query MyQuery($first: Int, $after: String){allBlogPost(first: $first, after: $after){pageInfo{endCursor,hasNextPage,hasPreviousPage}edges{node{_meta{createdAt updatedAt id}slug cover{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}title assets{__typename ...on Asset{ _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name image{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}authors{__typename...on Author{_meta{createdAt updatedAt id}name image{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}...on BlogPost{_meta{createdAt updatedAt id}slug cover{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}title assets{__typename ...on Asset{ _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name }authors{__typename...on Author{_meta{createdAt updatedAt id}name }...on BlogPost{_meta{createdAt updatedAt id}slug title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount }}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount relatedBlogPosts{__typename...on BlogPost{_meta{createdAt updatedAt id}slug title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount }}}}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount relatedBlogPosts{__typename...on BlogPost{_meta{createdAt updatedAt id}slug cover{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}title assets{__typename ...on Asset{ _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name }authors{__typename...on Author{_meta{createdAt updatedAt id}name }...on BlogPost{_meta{createdAt updatedAt id}slug title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount }}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount relatedBlogPosts{__typename...on BlogPost{_meta{createdAt updatedAt id}slug title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount }}}}}}}}" + }, + "page": { + "type": "static", + "content": 1 + }, + "perPage": { + "type": "static", + "content": 10 + } + } + } + } + } + }, + { + "value": "blog-post/page/BlogPost1", + "seo": { + "title": "BlogPost1 - caisy", + "metaTags": [ + { + "property": "og:title", + "content": "BlogPost1 - caisy" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BlogPostEntities": { + "id": "f08df977-b756-4c41-b42e-f29333df56d8", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "body", + "path": [ + "meta", + "pagination", + "total" + ] + } + }, + "navLink": "/blog-post/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [ + "data" + ] + }, + "resource": { + "name": "getEntities", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy", + "originalName": "getEntities" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "{allBlogPost{edges{node{id}}}}" + } + } + } + }, + "initialPropsData": { + "exposeAs": { + "name": "BlogPostEntities", + "valuePath": [] + }, + "resource": { + "name": "getEntitiesWithPagination", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy", + "originalName": "getEntitiesWithPagination" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query MyQuery($first: Int, $after: String){allBlogPost(first: $first, after: $after){pageInfo{endCursor,hasNextPage,hasPreviousPage}edges{node{_meta{createdAt updatedAt id}slug cover{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}title assets{__typename ...on Asset{ _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name image{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}authors{__typename...on Author{_meta{createdAt updatedAt id}name image{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}...on BlogPost{_meta{createdAt updatedAt id}slug cover{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}title assets{__typename ...on Asset{ _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name }authors{__typename...on Author{_meta{createdAt updatedAt id}name }...on BlogPost{_meta{createdAt updatedAt id}slug title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount }}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount relatedBlogPosts{__typename...on BlogPost{_meta{createdAt updatedAt id}slug title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount }}}}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount relatedBlogPosts{__typename...on BlogPost{_meta{createdAt updatedAt id}slug cover{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}title assets{__typename ...on Asset{ _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name }authors{__typename...on Author{_meta{createdAt updatedAt id}name }...on BlogPost{_meta{createdAt updatedAt id}slug title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount }}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount relatedBlogPosts{__typename...on BlogPost{_meta{createdAt updatedAt id}slug title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount }}}}}}}}" + }, + "page": { + "type": "expr", + "content": "(context.params.page)" + }, + "perPage": { + "type": "static", + "content": 10 + } + } + } + } + } + }, + { + "value": "404 - Not Found", + "seo": { + "title": "404 - Not Found" + }, + "pageOptions": { + "fallback": true + } + } + ] + } + }, + "propDefinitions": { + "AuthorEntities": { + "id": "2e271b3e-8c1d-435d-a5ac-5a33914dc19f", + "defaultValue": [], + "type": "array" + }, + "AuthorEntity": { + "id": "6894a43c-53fa-4c4b-8b55-7ecbe3ef4182", + "defaultValue": [], + "type": "array" + }, + "BlogPostEntity": { + "id": "769387c0-49a2-4b34-9538-b9e3423ed3bd", + "defaultValue": [], + "type": "array" + }, + "BlogPostEntities": { + "id": "f08df977-b756-4c41-b42e-f29333df56d8", + "defaultValue": [], + "type": "array" + } + }, + "node": { + "type": "element", + "content": { + "elementType": "Router", + "children": [ + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "justifyContent": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h3", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "static", + "content": "OOPS! PAGE NOT FOUND" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "justifyContent": { + "type": "static", + "content": "center" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "position": { + "type": "static", + "content": "relative" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "style": { + "fontWeight": { + "type": "static", + "content": "900" + }, + "fontSize": { + "type": "static", + "content": "252px" + }, + "letterSpacing": { + "type": "static", + "content": "-20px" + }, + "color": { + "type": "static", + "content": "rgb(38, 38, 38)" + }, + "marginTop": { + "type": "static", + "content": "-20px" + }, + "marginBottom": { + "type": "static", + "content": "-20px" + } + }, + "children": [ + { + "type": "static", + "content": "404" + } + ] + } + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "justifyContent": { + "type": "static", + "content": "center" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "width": { + "type": "static", + "content": "421px" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h2", + "referencedStyles": {}, + "abilities": {}, + "style": { + "textAlign": { + "type": "static", + "content": "center" + }, + "fontWeight": { + "type": "static", + "content": "400" + } + }, + "children": [ + { + "type": "static", + "content": "WE ARE SORRY, BUT THE PAGE YOU REQUESTED WAS NOT FOUND" + } + ] + } + } + ] + } + } + ] + } + }, + "value": "404 - Not Found", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + } + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "justifyContent": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_91umd", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "context_91umd?.name" + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "context_91umd" + } + } + ] + } + } + }, + "valuePath": [], + "resource": { + "name": "getEntitiesWithPagination", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy", + "originalName": "getEntitiesWithPagination" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query MyQuery($first: Int, $after: String){allAuthor(first: $first, after: $after){pageInfo{endCursor,hasNextPage,hasPreviousPage}edges{node{_meta{createdAt updatedAt id}name image{__typename _meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}}}}" + }, + "page": { + "type": "static", + "content": 1 + }, + "perPage": { + "type": "static", + "content": 100 + } + } + } + } + } + ] + } + }, + "value": "Home", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorEntities" + } + }, + "renderPropIdentifier": "AuthorEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "AuthorEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "author/Author", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorEntities" + } + }, + "renderPropIdentifier": "AuthorEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "AuthorEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "author/page/Author", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "AuthorEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntity?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntity?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/author/Author1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BlogPostEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "BlogPostEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntity?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntity?.readingCount" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntity?.slug" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "caisy-richtext-node", + "referencedStyles": {}, + "attrs": { + "node": { + "type": "expr", + "content": "BlogPostEntity?.content" + }, + "overwrites": { + "type": "expr", + "content": "({documentLink: CaisyDocumentLink})" + } + }, + "style": {}, + "children": [] + } + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/blog-post/BlogPost", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": { + "CaisyDocumentLink": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/react-components" + } + } + } + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BlogPostEntities" + } + }, + "renderPropIdentifier": "BlogPostEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.readingCount" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "BlogPostEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "blog-post/BlogPost1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BlogPostEntities" + } + }, + "renderPropIdentifier": "BlogPostEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.readingCount" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "BlogPostEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "blog-post/page/BlogPost1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + } + ] + } + } + }, + "components": { + "ExternalComponent": { + "name": "ExternalComponent", + "node": { + "type": "element", + "content": { + "elementType": "container", + "children": [ + { "type": "static", "content": "External Component"} + ] + } + } + } + }, + "resources": { + "items": {}, + "resourceMappers": {} + } +} diff --git a/examples/uidl-samples/cms-project-caisy.json b/examples/uidl-samples/cms-project-caisy.json new file mode 100644 index 000000000..271cdb162 --- /dev/null +++ b/examples/uidl-samples/cms-project-caisy.json @@ -0,0 +1,2499 @@ +{ + "name": "Straight Young Gorilla", + "globals": { + "settings": { + "title": "Straight Young Gorilla", + "language": "en" + }, + "assets": [ + { + "type": "style", + "attrs": { + "data-tag": { + "type": "static", + "content": "reset-style-sheet" + } + }, + "content": "html { line-height: 1.15;}body { margin: 0;}* { box-sizing: border-box; border-width: 0; border-style: solid;}p,li,ul,pre,div,h1,h2,h3,h4,h5,h6,figure,blockquote,figcaption { margin: 0; padding: 0;}button { background-color: transparent;}button,input,optgroup,select,textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0;}button,select { text-transform: none;}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"] { -webkit-appearance: button;}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner { border-style: none; padding: 0;}button:-moz-focus,[type=\"button\"]:-moz-focus,[type=\"reset\"]:-moz-focus,[type=\"submit\"]:-moz-focus { outline: 1px dotted ButtonText;}a { color: inherit; text-decoration: inherit;}input { padding: 2px 4px;}img { display: block;}html { scroll-behavior: smooth }" + }, + { + "type": "style", + "attrs": { + "data-tag": { + "type": "static", + "content": "default-style-sheet" + } + }, + "content": "\n html {\n font-family: Inter;\n font-size: 16px;\n }\n\n body {\n font-weight: 400;\n font-style:normal;\n text-decoration: none;\n text-transform: none;\n letter-spacing: normal;\n line-height: 1.15;\n color: var(--dl-color-gray-black);\n background-color: var(--dl-color-gray-white);\n \n }\n\n \n\n " + }, + { + "type": "font", + "path": "https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap", + "attrs": { + "data-tag": { + "type": "static", + "content": "font" + } + } + } + ], + "env": { + "CMS_URL": "https://cloud.caisy.io/api/v3/e/3bd8eb33-2aaa-4620-87bf-d7ccd04d0245/graphql", + "CMS_ACCESS_TOKEN": "teleporthq.secrets.CAISY_ACCESS_TOKEN1" + }, + "meta": [ + { + "name": "viewport", + "content": "width=device-width, initial-scale=1.0" + }, + { + "charSet": "utf-8" + }, + { + "property": "twitter:card", + "content": "summary_large_image" + } + ], + "customCode": { + "head": "", + "body": "" + } + }, + "root": { + "name": "App", + "designLanguage": { + "tokens": { + "--dl-color-success-300": { + "type": "static", + "content": "#199033" + }, + "--dl-space-space-fourunits": { + "type": "static", + "content": "64px" + }, + "--dl-space-space-unit": { + "type": "static", + "content": "16px" + }, + "--dl-color-danger-500": { + "type": "static", + "content": "#BF2626" + }, + "--dl-color-gray-500": { + "type": "static", + "content": "#595959" + }, + "--dl-radius-radius-radius4": { + "type": "static", + "content": "4px" + }, + "--dl-color-gray-white": { + "type": "static", + "content": "#FFFFFF" + }, + "--dl-size-size-maxwidth": { + "type": "static", + "content": "1400px" + }, + "--dl-space-space-sixunits": { + "type": "static", + "content": "96px" + }, + "--dl-color-success-700": { + "type": "static", + "content": "#4CC366" + }, + "--dl-color-primary-100": { + "type": "static", + "content": "#003EB3" + }, + "--dl-radius-radius-radius2": { + "type": "static", + "content": "2px" + }, + "--dl-space-space-halfunit": { + "type": "static", + "content": "8px" + }, + "--dl-space-space-threeunits": { + "type": "static", + "content": "48px" + }, + "--dl-size-size-small": { + "type": "static", + "content": "48px" + }, + "--dl-color-primary-300": { + "type": "static", + "content": "#0074F0" + }, + "--dl-size-size-xsmall": { + "type": "static", + "content": "16px" + }, + "--dl-color-gray-700": { + "type": "static", + "content": "#999999" + }, + "--dl-space-space-twounits": { + "type": "static", + "content": "32px" + }, + "--dl-radius-radius-radius8": { + "type": "static", + "content": "8px" + }, + "--dl-color-gray-900": { + "type": "static", + "content": "#D9D9D9" + }, + "--dl-size-size-medium": { + "type": "static", + "content": "96px" + }, + "--dl-color-gray-black": { + "type": "static", + "content": "#000000" + }, + "--dl-color-danger-300": { + "type": "static", + "content": "#A22020" + }, + "--dl-color-success-500": { + "type": "static", + "content": "#32A94C" + }, + "--dl-space-space-fiveunits": { + "type": "static", + "content": "80px" + }, + "--dl-color-danger-700": { + "type": "static", + "content": "#E14747" + }, + "--dl-space-space-oneandhalfunits": { + "type": "static", + "content": "24px" + }, + "--dl-size-size-xxlarge": { + "type": "static", + "content": "288px" + }, + "--dl-color-primary-500": { + "type": "static", + "content": "#14A9FF" + }, + "--dl-size-size-large": { + "type": "static", + "content": "144px" + }, + "--dl-radius-radius-round": { + "type": "static", + "content": "50%" + }, + "--dl-color-primary-700": { + "type": "static", + "content": "#85DCFF" + }, + "--dl-size-size-xlarge": { + "type": "static", + "content": "192px" + } + } + }, + "styleSetDefinitions": { + "button": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "display": { + "type": "static", + "content": "inline-block" + }, + "padding": { + "type": "static", + "content": "0.5rem 1rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "input": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "cursor": { + "type": "static", + "content": "auto" + }, + "padding": { + "type": "static", + "content": "0.5rem 1rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "textarea": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "cursor": { + "type": "static", + "content": "auto" + }, + "padding": { + "type": "static", + "content": "0.5rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "list": { + "type": "reusable-project-style-map", + "content": { + "width": { + "type": "static", + "content": "100%" + }, + "margin": { + "type": "static", + "content": "1em 0px 1em 0px" + }, + "display": { + "type": "static", + "content": "block" + }, + "padding": { + "type": "static", + "content": "0px 0px 0px 1.5rem" + }, + "listStyleType": { + "type": "static", + "content": "none" + }, + "listStylePosition": { + "type": "static", + "content": "outside" + } + }, + "conditions": [] + }, + "list-item": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "list-item" + } + }, + "conditions": [] + }, + "teleport-show": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "flex !important" + }, + "transform": { + "type": "static", + "content": "none !important" + } + }, + "conditions": [] + }, + "Content": { + "type": "reusable-project-style-map", + "content": { + "fontSize": { + "type": "static", + "content": "16px" + }, + "fontFamily": { + "type": "static", + "content": "Inter" + }, + "fontWeight": { + "type": "static", + "content": "400" + }, + "lineHeight": { + "type": "static", + "content": "1.15" + }, + "textTransform": { + "type": "static", + "content": "none" + }, + "textDecoration": { + "type": "static", + "content": "none" + } + } + }, + "Heading": { + "type": "reusable-project-style-map", + "content": { + "fontSize": { + "type": "static", + "content": "32px" + }, + "fontFamily": { + "type": "static", + "content": "Inter" + }, + "fontWeight": { + "type": "static", + "content": "700" + }, + "lineHeight": { + "type": "static", + "content": "1.15" + }, + "textTransform": { + "type": "static", + "content": "none" + }, + "textDecoration": { + "type": "static", + "content": "none" + } + } + } + }, + "stateDefinitions": { + "route": { + "type": "string", + "defaultValue": "Home", + "values": [ + { + "value": "Home", + "seo": { + "title": "Straight Young Gorilla", + "metaTags": [ + { + "property": "og:title", + "content": "Straight Young Gorilla" + } + ] + }, + "pageOptions": { + "stateDefinitions": {}, + "propDefinitions": {} + } + }, + { + "value": "blog-post/BlogPost", + "seo": { + "title": "BlogPost - Straight Young Gorilla", + "metaTags": [ + { + "property": "og:title", + "content": "BlogPost - Straight Young Gorilla" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BlogPostEntities": { + "id": "311bab78-fb08-4e82-b1f0-e8b451898a33", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": true, + "initialPropsData": { + "exposeAs": { + "name": "BlogPostEntities", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "name": "getEntitiesWithPagination", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query MyQuery($first: Int, $after: String){allBlogPost(first: $first, after: $after){pageInfo{endCursor,hasNextPage,hasPreviousPage}edges{node{_meta{createdAt updatedAt id}tags cover{_meta{createdAt updatedAt id}description height id keywords originType originalName src title width}genre title assets{...on Asset{_meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name}authors{__typename...on Author{_meta{createdAt updatedAt id}name}...on BlogPost{_meta{createdAt updatedAt id}tags genre title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount}}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount}}}}" + }, + "page": { + "type": "static", + "content": "1" + }, + "perPage": { + "type": "static", + "content": 100 + } + } + } + } + } + }, + { + "value": "blog-post/page/BlogPost", + "seo": { + "title": "BlogPost - Straight Young Gorilla", + "metaTags": [ + { + "property": "og:title", + "content": "BlogPost - Straight Young Gorilla" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BlogPostEntities": { + "id": "311bab78-fb08-4e82-b1f0-e8b451898a33", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": false, + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "body", + "path": [ + "meta", + "pagination", + "total" + ] + } + }, + "dynamicRouteAttribute": "page", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "name": "getEntities", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "{allBlogPost{edges{node{id}}}}" + } + } + } + }, + "initialPropsData": { + "exposeAs": { + "name": "BlogPostEntities", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "name": "getEntitiesWithPagination", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query MyQuery($first: Int, $after: String){allBlogPost(first: $first, after: $after){pageInfo{endCursor,hasNextPage,hasPreviousPage}edges{node{_meta{createdAt updatedAt id}tags cover{_meta{createdAt updatedAt id}description height id keywords originType originalName src title width}genre title assets{...on Asset{_meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name}authors{__typename...on Author{_meta{createdAt updatedAt id}name}...on BlogPost{_meta{createdAt updatedAt id}tags genre title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount}}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount}}}}" + }, + "page": { + "type": "expr", + "content": "(context.params.page)" + }, + "perPage": { + "type": "static", + "content": 100 + } + } + } + } + } + }, + { + "value": "author/Author", + "seo": { + "title": "Author - Straight Young Gorilla", + "metaTags": [ + { + "property": "og:title", + "content": "Author - Straight Young Gorilla" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorEntities": { + "id": "c57fd174-4e5f-4e15-83c5-acad7c16f4ec", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": true, + "initialPropsData": { + "exposeAs": { + "name": "AuthorEntities", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "name": "getEntitiesWithPagination", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query MyQuery($first: Int, $after: String){allAuthor(first: $first, after: $after){pageInfo{endCursor,hasNextPage,hasPreviousPage}edges{node{_meta{createdAt updatedAt id}name}}}}" + }, + "page": { + "type": "static", + "content": "1" + }, + "perPage": { + "type": "static", + "content": 10 + } + } + } + } + } + }, + { + "value": "author/page/Author", + "seo": { + "title": "Author - Straight Young Gorilla", + "metaTags": [ + { + "property": "og:title", + "content": "Author - Straight Young Gorilla" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorEntities": { + "id": "c57fd174-4e5f-4e15-83c5-acad7c16f4ec", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": false, + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "body", + "path": [ + "meta", + "pagination", + "total" + ] + } + }, + "dynamicRouteAttribute": "page", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "name": "getEntities", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "{allAuthor{edges{node{id}}}}" + } + } + } + }, + "initialPropsData": { + "exposeAs": { + "name": "AuthorEntities", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "name": "getEntitiesWithPagination", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query MyQuery($first: Int, $after: String){allAuthor(first: $first, after: $after){pageInfo{endCursor,hasNextPage,hasPreviousPage}edges{node{_meta{createdAt updatedAt id}name}}}}" + }, + "page": { + "type": "expr", + "content": "(context.params.page)" + }, + "perPage": { + "type": "static", + "content": 10 + } + } + } + } + } + }, + { + "value": "/blog-post/BlogPost1", + "seo": { + "title": "BlogPost1 - Straight Young Gorilla", + "metaTags": [ + { + "property": "og:title", + "content": "BlogPost1 - Straight Young Gorilla" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BlogPostEntity": { + "id": "1f949181-3e72-4fee-9b05-3fc5fac3fa29", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": false, + "navLink": "/blog-post", + "dynamicRouteAttribute": "id", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "name": "getEntities", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "{allBlogPost{edges{node{id}}}}" + } + } + } + }, + "initialPropsData": { + "exposeAs": { + "name": "BlogPostEntity", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "name": "getEntityByAttribute", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query BlogPost($value:ID!){BlogPost(id:$value){_meta{createdAt updatedAt id}tags cover{_meta{createdAt updatedAt id}description height id keywords originType originalName src title width}genre title assets{...on Asset{_meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name}authors{__typename...on Author{_meta{createdAt updatedAt id}name}...on BlogPost{_meta{createdAt updatedAt id}tags genre title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount}}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount}}" + }, + "attribute": { + "type": "static", + "content": "id" + } + } + } + } + } + }, + { + "value": "/author/Author1", + "seo": { + "title": "Author1 - Straight Young Gorilla", + "metaTags": [ + { + "property": "og:title", + "content": "Author1 - Straight Young Gorilla" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorEntity": { + "id": "e6b9394a-47e9-4bee-bf83-89fadf3aeb0f", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": false, + "navLink": "/author", + "dynamicRouteAttribute": "id", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "name": "getEntities", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "{allAuthor{edges{node{id}}}}" + } + } + } + }, + "initialPropsData": { + "exposeAs": { + "name": "AuthorEntity", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "name": "getEntityByAttribute", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query Author($value:ID!){Author(id:$value){_meta{createdAt updatedAt id}name}}" + }, + "attribute": { + "type": "static", + "content": "id" + } + } + } + } + } + } + ] + } + }, + "propDefinitions": { + "BlogPostEntities": { + "id": "311bab78-fb08-4e82-b1f0-e8b451898a33", + "defaultValue": [], + "type": "array" + }, + "AuthorEntities": { + "id": "c57fd174-4e5f-4e15-83c5-acad7c16f4ec", + "defaultValue": [], + "type": "array" + }, + "BlogPostEntity": { + "id": "1f949181-3e72-4fee-9b05-3fc5fac3fa29", + "defaultValue": [], + "type": "array" + }, + "AuthorEntity": { + "id": "e6b9394a-47e9-4bee-bf83-89fadf3aeb0f", + "defaultValue": [], + "type": "array" + } + }, + "node": { + "type": "element", + "content": { + "elementType": "Router", + "children": [ + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "flex": { + "type": "static", + "content": "0 0 auto" + }, + "width": { + "type": "static", + "content": "333px" + }, + "border": { + "type": "static", + "content": "2px dashed rgba(120, 120, 120, 0.4)" + }, + "height": { + "type": "static", + "content": "183px" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "flex-start" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [] + } + }, + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_707xt", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "context_707xt?.name" + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "context_707xt" + } + } + ] + } + } + }, + "valuePath": [], + "itemValuePath": [], + "resource": { + "name": "getEntitiesWithPagination", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "query MyQuery($first: Int, $after: String){allAuthor(first: $first, after: $after){pageInfo{endCursor,hasNextPage,hasPreviousPage}edges{node{_meta{createdAt updatedAt id}name}}}}" + }, + "page": { + "type": "static", + "content": "1" + }, + "perPage": { + "type": "static", + "content": 2 + } + } + } + } + }, + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_v4r9yk", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": { + "link": { + "type": "navlink", + "content": { + "routeName": { + "type": "expr", + "content": "`/blog-post/${context_v4r9yk?.id}`" + } + } + } + }, + "style": { + "textDecoration": { + "type": "static", + "content": "none" + } + }, + "children": [ + { + "type": "expr", + "content": "context_v4r9yk?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "children": [ + { + "type": "element", + "content": { + "elementType": "caisy-richtext-node", + "referencedStyles": {}, + "attrs": { + "node": { + "type": "expr", + "content": "context_v4r9yk?.content" + }, + "overwrites": { + "type": "expr", + "content": "({documentLink: CaisyDocumentLink})" + } + }, + "children": [], + "style": {} + } + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "image", + "referencedStyles": {}, + "abilities": {}, + "attrs": { + "alt": { + "type": "static", + "content": "image" + }, + "src": { + "type": "expr", + "content": "context_v4r9yk?.cover?.url" + } + }, + "style": { + "width": { + "type": "static", + "content": "200px" + }, + "objectFit": { + "type": "static", + "content": "cover" + } + }, + "children": [] + } + } + ] + } + } + }, + "valuePath": [], + "itemValuePath": [], + "resource": { + "name": "getEntityByAttribute", + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/cms-mappers/caisy" + } + }, + "params": { + "projectId": { + "type": "static", + "content": "3bd8eb33-2aaa-4620-87bf-d7ccd04d0245" + }, + "query": { + "type": "static", + "content": "\"query BlogPost($value:ID!){BlogPost(id:$value){_meta{createdAt updatedAt id}tags cover{_meta{createdAt updatedAt id}description height id keywords originType originalName src title width}genre title assets{...on Asset{_meta{createdAt updatedAt id}description height id keywords originType originalName src title width}}author{_meta{createdAt updatedAt id}name}authors{__typename...on Author{_meta{createdAt updatedAt id}name}...on BlogPost{_meta{createdAt updatedAt id}tags genre title content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount}}content{json connections{__typename ...on Asset{description height id keywords originType originalName src title width }}}testTab location{formattedAddress latitude longitude zoom}isVisible pulbished themeColor readingCount}}\"" + }, + "attribute": { + "type": "static", + "content": "id" + }, + "id": { + "type": "static", + "content": "6a0076f9-89da-4793-8119-cb731c1656bb" + } + } + } + } + } + ] + } + }, + "value": "Home", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": { + "CaisyDocumentLink": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/react-components" + } + } + } + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BlogPostEntities" + } + }, + "renderPropIdentifier": "BlogPostEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.authors?.[0]?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "image", + "referencedStyles": {}, + "abilities": {}, + "attrs": { + "alt": { + "type": "static", + "content": "image" + }, + "src": { + "type": "expr", + "content": "BlogPostEntities?.cover?.url" + } + }, + "style": { + "width": { + "type": "static", + "content": "200px" + }, + "objectFit": { + "type": "static", + "content": "cover" + } + }, + "children": [] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "BlogPostEntities" + } + } + ] + } + } + }, + "valuePath": [], + "itemValuePath": [] + } + } + ] + } + }, + "value": "blog-post/BlogPost", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BlogPostEntities" + } + }, + "renderPropIdentifier": "BlogPostEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.authors?.[0]?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "image", + "referencedStyles": {}, + "abilities": {}, + "attrs": { + "alt": { + "type": "static", + "content": "image" + }, + "src": { + "type": "expr", + "content": "BlogPostEntities?.cover?.url" + } + }, + "style": { + "width": { + "type": "static", + "content": "200px" + }, + "objectFit": { + "type": "static", + "content": "cover" + } + }, + "children": [] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "BlogPostEntities" + } + } + ] + } + } + }, + "valuePath": [], + "itemValuePath": [] + } + } + ] + } + }, + "value": "blog-post/page/BlogPost", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorEntities" + } + }, + "renderPropIdentifier": "AuthorEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "AuthorEntities" + } + } + ] + } + } + }, + "valuePath": [], + "itemValuePath": [] + } + } + ] + } + }, + "value": "author/Author", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorEntities" + } + }, + "renderPropIdentifier": "AuthorEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "AuthorEntities" + } + } + ] + } + } + }, + "valuePath": [], + "itemValuePath": [] + } + } + ] + } + }, + "value": "author/page/Author", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BlogPostEntity" + } + }, + "renderPropIdentifier": "BlogPostEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntity?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntity?.readingCount" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntity?.themeColor" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "caisy-richtext-node", + "referencedStyles": {}, + "attrs": { + "node": { + "type": "expr", + "content": "BlogPostEntity?.content" + }, + "overwrites": { + "type": "expr", + "content": "({documentLink: CaisyDocumentLink})" + } + }, + "style": {}, + "children": [] + } + } + ] + } + } + ] + } + } + ] + } + } + }, + "valuePath": [], + "itemValuePath": [] + } + } + ] + } + }, + "value": "/blog-post/BlogPost1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": { + "CaisyDocumentLink": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true, + "importAlias": "@teleporthq/react-components" + } + } + } + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorEntity" + } + }, + "renderPropIdentifier": "AuthorEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntity?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntity?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "valuePath": [], + "itemValuePath": [] + } + } + ] + } + }, + "value": "/author/Author1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + } + ] + } + } + }, + "components": {}, + "resources": { + "items": {}, + "resourceMappers": {} + } +} \ No newline at end of file diff --git a/examples/uidl-samples/contentful.json b/examples/uidl-samples/contentful.json new file mode 100644 index 000000000..875a883f6 --- /dev/null +++ b/examples/uidl-samples/contentful.json @@ -0,0 +1,3078 @@ +{ + "name": "Fast Exotic Dove", + "globals": { + "settings": { + "title": "Fast Exotic Dove", + "language": "en" + }, + "assets": [ + { + "type": "style", + "attrs": { + "data-tag": { + "type": "static", + "content": "reset-style-sheet" + } + }, + "content": "html { line-height: 1.15;}body { margin: 0;}* { box-sizing: border-box; border-width: 0; border-style: solid;}p,li,ul,pre,div,h1,h2,h3,h4,h5,h6,figure,blockquote,figcaption { margin: 0; padding: 0;}button { background-color: transparent;}button,input,optgroup,select,textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0;}button,select { text-transform: none;}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"] { -webkit-appearance: button;}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner { border-style: none; padding: 0;}button:-moz-focus,[type=\"button\"]:-moz-focus,[type=\"reset\"]:-moz-focus,[type=\"submit\"]:-moz-focus { outline: 1px dotted ButtonText;}a { color: inherit; text-decoration: inherit;}input { padding: 2px 4px;}img { display: block;}html { scroll-behavior: smooth }" + }, + { + "type": "style", + "attrs": { + "data-tag": { + "type": "static", + "content": "default-style-sheet" + } + }, + "content": "\n html {\n font-family: Inter;\n font-size: 16px;\n }\n\n body {\n font-weight: 400;\n font-style:normal;\n text-decoration: none;\n text-transform: none;\n letter-spacing: normal;\n line-height: 1.15;\n color: var(--dl-color-gray-black);\n background-color: var(--dl-color-gray-white);\n \n }\n\n \n\n " + }, + { + "type": "font", + "path": "https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap", + "attrs": { + "data-tag": { + "type": "static", + "content": "font" + } + } + } + ], + "meta": [ + { + "name": "viewport", + "content": "width=device-width, initial-scale=1.0" + }, + { + "charSet": "utf-8" + }, + { + "property": "twitter:card", + "content": "summary_large_image" + } + ], + "customCode": { + "head": "", + "body": "" + } + }, + "root": { + "name": "App", + "designLanguage": { + "tokens": { + "--dl-color-danger-700": { + "type": "static", + "content": "#E14747" + }, + "--dl-color-primary-700": { + "type": "static", + "content": "#85DCFF" + }, + "--dl-color-gray-white": { + "type": "static", + "content": "#FFFFFF" + }, + "--dl-color-success-300": { + "type": "static", + "content": "#199033" + }, + "--dl-radius-radius-radius8": { + "type": "static", + "content": "8px" + }, + "--dl-color-primary-500": { + "type": "static", + "content": "#14A9FF" + }, + "--dl-size-size-small": { + "type": "static", + "content": "48px" + }, + "--dl-color-danger-300": { + "type": "static", + "content": "#A22020" + }, + "--dl-radius-radius-round": { + "type": "static", + "content": "50%" + }, + "--dl-space-space-sixunits": { + "type": "static", + "content": "96px" + }, + "--dl-color-success-500": { + "type": "static", + "content": "#32A94C" + }, + "--dl-space-space-threeunits": { + "type": "static", + "content": "48px" + }, + "--dl-size-size-maxwidth": { + "type": "static", + "content": "1400px" + }, + "--dl-space-space-twounits": { + "type": "static", + "content": "32px" + }, + "--dl-space-space-fiveunits": { + "type": "static", + "content": "80px" + }, + "--dl-color-primary-300": { + "type": "static", + "content": "#0074F0" + }, + "--dl-color-danger-500": { + "type": "static", + "content": "#BF2626" + }, + "--dl-size-size-xsmall": { + "type": "static", + "content": "16px" + }, + "--dl-color-gray-900": { + "type": "static", + "content": "#D9D9D9" + }, + "--dl-color-gray-500": { + "type": "static", + "content": "#595959" + }, + "--dl-space-space-unit": { + "type": "static", + "content": "16px" + }, + "--dl-space-space-fourunits": { + "type": "static", + "content": "64px" + }, + "--dl-color-gray-700": { + "type": "static", + "content": "#999999" + }, + "--dl-space-space-oneandhalfunits": { + "type": "static", + "content": "24px" + }, + "--dl-color-primary-100": { + "type": "static", + "content": "#003EB3" + }, + "--dl-size-size-xxlarge": { + "type": "static", + "content": "288px" + }, + "--dl-size-size-medium": { + "type": "static", + "content": "96px" + }, + "--dl-size-size-xlarge": { + "type": "static", + "content": "192px" + }, + "--dl-color-gray-black": { + "type": "static", + "content": "#000000" + }, + "--dl-radius-radius-radius4": { + "type": "static", + "content": "4px" + }, + "--dl-color-success-700": { + "type": "static", + "content": "#4CC366" + }, + "--dl-space-space-halfunit": { + "type": "static", + "content": "8px" + }, + "--dl-radius-radius-radius2": { + "type": "static", + "content": "2px" + }, + "--dl-size-size-large": { + "type": "static", + "content": "144px" + } + } + }, + "styleSetDefinitions": { + "button": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "display": { + "type": "static", + "content": "inline-block" + }, + "padding": { + "type": "static", + "content": "0.5rem 1rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "input": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "cursor": { + "type": "static", + "content": "auto" + }, + "padding": { + "type": "static", + "content": "0.5rem 1rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "textarea": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "cursor": { + "type": "static", + "content": "auto" + }, + "padding": { + "type": "static", + "content": "0.5rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "list": { + "type": "reusable-project-style-map", + "content": { + "width": { + "type": "static", + "content": "100%" + }, + "margin": { + "type": "static", + "content": "1em 0px 1em 0px" + }, + "display": { + "type": "static", + "content": "block" + }, + "padding": { + "type": "static", + "content": "0px 0px 0px 1.5rem" + }, + "listStyleType": { + "type": "static", + "content": "none" + }, + "listStylePosition": { + "type": "static", + "content": "outside" + } + }, + "conditions": [] + }, + "list-item": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "list-item" + } + }, + "conditions": [] + }, + "teleport-show": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "flex !important" + }, + "transform": { + "type": "static", + "content": "none !important" + } + }, + "conditions": [] + }, + "Heading": { + "type": "reusable-project-style-map", + "content": { + "fontSize": { + "type": "static", + "content": "32px" + }, + "fontFamily": { + "type": "static", + "content": "Inter" + }, + "fontWeight": { + "type": "static", + "content": "700" + }, + "lineHeight": { + "type": "static", + "content": "1.15" + }, + "textTransform": { + "type": "static", + "content": "none" + }, + "textDecoration": { + "type": "static", + "content": "none" + } + } + }, + "Content": { + "type": "reusable-project-style-map", + "content": { + "fontSize": { + "type": "static", + "content": "16px" + }, + "fontFamily": { + "type": "static", + "content": "Inter" + }, + "fontWeight": { + "type": "static", + "content": "400" + }, + "lineHeight": { + "type": "static", + "content": "1.15" + }, + "textTransform": { + "type": "static", + "content": "none" + }, + "textDecoration": { + "type": "static", + "content": "none" + } + } + } + }, + "stateDefinitions": { + "route": { + "type": "string", + "defaultValue": "Home", + "values": [ + { + "value": "Home", + "seo": { + "title": "Fast Exotic Dove", + "metaTags": [ + { + "property": "og:title", + "content": "Fast Exotic Dove" + } + ] + }, + "pageOptions": { + "stateDefinitions": {}, + "propDefinitions": {} + } + }, + { + "value": "blog-post/BlogPost", + "seo": { + "title": "BlogPost - Fast Exotic Dove", + "metaTags": [ + { + "property": "og:title", + "content": "BlogPost - Fast Exotic Dove" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BlogPostEntities": { + "id": "4eee3e26-ff79-4711-b6d4-8b9c4475dd4b", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/blog-post/index", + "initialPropsData": { + "exposeAs": { + "name": "BlogPostEntities", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "4d34432d-be7b-49b8-ba42-8d5eeb049f70", + "params": {} + } + } + } + }, + { + "value": "blog-post/page/BlogPost", + "seo": { + "title": "BlogPost - Fast Exotic Dove", + "metaTags": [ + { + "property": "og:title", + "content": "BlogPost - Fast Exotic Dove" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BlogPostEntities": { + "id": "4eee3e26-ff79-4711-b6d4-8b9c4475dd4b", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "body", + "path": [ + "meta", + "pagination", + "total" + ] + } + }, + "navLink": "/blog-post/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "fields" + ] + }, + "resource": { + "id": "d3e2370f-3549-4882-a496-444f3ccf2a2b", + "params": { + "content_type": { + "type": "static", + "content": "blogPost" + } + } + } + }, + "initialPropsData": { + "exposeAs": { + "name": "BlogPostEntities", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "65f2b3de-86e7-4a9f-ad46-efde62c34ca8", + "params": { + "skip": { + "type": "expr", + "content": "(context.params.page - 1) * 10" + } + } + } + } + } + }, + { + "value": "/blog-post/BlogPost1", + "seo": { + "title": "BlogPost1 - Fast Exotic Dove", + "metaTags": [ + { + "property": "og:title", + "content": "BlogPost1 - Fast Exotic Dove" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BlogPostEntity": { + "id": "c118c04f-cbea-4f10-87f4-492e30b9f308", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/blog-post/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "sys", + "id" + ] + }, + "resource": { + "id": "2653438d-1dce-45d2-a4ef-350b9950a055", + "params": { + "content_type": { + "type": "static", + "content": "blogPost" + }, + "select": { + "type": "static", + "content": "sys.id" + } + } + } + }, + "initialPropsData": { + "exposeAs": { + "name": "BlogPostEntity", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "a00d4cf0-c831-4b81-bb06-ad2d9f5e9a59", + "params": {} + } + } + } + }, + { + "value": "/author/Author", + "seo": { + "title": "Author - Fast Exotic Dove", + "metaTags": [ + { + "property": "og:title", + "content": "Author - Fast Exotic Dove" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorEntity": { + "id": "1fdea2c0-3adb-497d-9bea-3fbcbf456f59", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/author/[id]", + "dynamicRouteAttribute": "id", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "sys", + "id" + ] + }, + "resource": { + "id": "e462f0b8-210c-4edf-82fe-97df05b16920", + "params": { + "content_type": { + "type": "static", + "content": "author" + }, + "select": { + "type": "static", + "content": "sys.id" + } + } + } + }, + "initialPropsData": { + "exposeAs": { + "name": "AuthorEntity", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "b0d927b9-a777-46ea-bd39-838f805e44fc", + "params": {} + } + } + } + }, + { + "value": "author/Author1", + "seo": { + "title": "Author1 - Fast Exotic Dove", + "metaTags": [ + { + "property": "og:title", + "content": "Author1 - Fast Exotic Dove" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorEntities": { + "id": "59b55475-97e5-4288-b4b7-dc3a206bce23", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "initialPropsData": { + "exposeAs": { + "name": "AuthorEntities", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "dad5c8c1-d826-405b-951c-b57d6b7935f1", + "params": {} + } + }, + "navLink": "/author/index" + } + }, + { + "value": "author/page/Author1", + "seo": { + "title": "Author1 - Fast Exotic Dove", + "metaTags": [ + { + "property": "og:title", + "content": "Author1 - Fast Exotic Dove" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorEntities": { + "id": "59b55475-97e5-4288-b4b7-dc3a206bce23", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/author/page/[page]", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "body", + "path": [ + "meta", + "pagination", + "total" + ] + } + }, + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "fields" + ] + }, + "resource": { + "id": "6a90f768-a962-43f8-a90a-15ae882f1292", + "params": { + "content_type": { + "type": "static", + "content": "author" + } + } + } + }, + "initialPropsData": { + "exposeAs": { + "name": "AuthorEntities", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "23f5a393-ed55-421b-a938-bcaa4f53fd15", + "params": { + "skip": { + "type": "expr", + "content": "(context.params.page - 1) * 10" + } + } + } + } + } + } + ] + } + }, + "propDefinitions": { + "BlogPostEntities": { + "id": "4eee3e26-ff79-4711-b6d4-8b9c4475dd4b", + "defaultValue": [], + "type": "array" + }, + "BlogPostEntity": { + "id": "c118c04f-cbea-4f10-87f4-492e30b9f308", + "defaultValue": [], + "type": "array" + }, + "AuthorEntity": { + "id": "1fdea2c0-3adb-497d-9bea-3fbcbf456f59", + "defaultValue": [], + "type": "array" + }, + "AuthorEntities": { + "id": "59b55475-97e5-4288-b4b7-dc3a206bce23", + "defaultValue": [], + "type": "array" + } + }, + "node": { + "type": "element", + "content": { + "elementType": "Router", + "children": [ + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "padding": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-oneandhalfunits" + } + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "flex-start" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "justifyContent": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_bwrypq", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "display": { + "type": "static", + "content": "flex" + }, + "padding": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-halfunit" + } + }, + "alignItems": { + "type": "static", + "content": "flex-start" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "0.5px" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "borderTopWidth": { + "type": "static", + "content": "0px" + }, + "borderLeftWidth": { + "type": "static", + "content": "0px" + }, + "borderRightWidth": { + "type": "static", + "content": "0px" + }, + "borderBottomWidth": { + "type": "static", + "content": "1px" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h3", + "referencedStyles": {}, + "abilities": {}, + "style": { + "marginTop": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-unit" + } + } + }, + "children": [ + { + "type": "expr", + "content": "context_bwrypq?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "context_bwrypq?.id" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "context_bwrypq?.shortDescription" + } + ] + } + }, + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_ij6br7", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "marginLeft": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-oneandhalfunits" + } + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h4", + "referencedStyles": {}, + "abilities": {}, + "style": { + "marginTop": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-halfunit" + } + } + }, + "children": [ + { + "type": "expr", + "content": "context_ij6br7?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "context_ij6br7?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ], + "resource": { + "id": "fa9e43b2-971f-4857-b714-00f37fd72030", + "params": { + "sys.id": { + "type": "expr", + "content": "context_bwrypq?.author?.id || NaN" + } + } + } + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "context_bwrypq" + } + } + ] + } + } + }, + "valuePath": [ + "data" + ], + "resource": { + "id": "566201c9-0c27-4c4c-b93f-4b48fc70943f", + "params": {} + } + } + }, + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_f35ywr", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "style": { + "marginTop": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-oneandhalfunits" + } + } + }, + "children": [ + { + "type": "expr", + "content": "context_f35ywr?.name" + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ], + "resource": { + "id": "09e51056-11ca-4e3e-925a-bffa93dac119", + "params": {} + } + } + } + ] + } + }, + "value": "Home", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BlogPostEntities" + } + }, + "renderPropIdentifier": "BlogPostEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.category" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "BlogPostEntities" + } + } + ] + } + } + }, + "valuePath": [ + "data" + ] + } + }, + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_tgonda", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "style": { + "marginTop": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-oneandhalfunits" + } + } + }, + "children": [ + { + "type": "expr", + "content": "context_tgonda?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "context_tgonda?.id" + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ], + "resource": { + "id": "32e5f41d-46e7-4f3c-86b2-282b8e979362", + "params": {} + } + } + } + ] + } + }, + "value": "blog-post/BlogPost", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BlogPostEntities" + } + }, + "renderPropIdentifier": "BlogPostEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntities?.category" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "BlogPostEntities" + } + } + ] + } + } + }, + "valuePath": [ + "data" + ] + } + }, + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_tgonda", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "style": { + "marginTop": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-oneandhalfunits" + } + } + }, + "children": [ + { + "type": "expr", + "content": "context_tgonda?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "context_tgonda?.id" + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ], + "resource": { + "id": "32e5f41d-46e7-4f3c-86b2-282b8e979362", + "params": {} + } + } + } + ] + } + }, + "value": "blog-post/page/BlogPost", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BlogPostEntity" + } + }, + "renderPropIdentifier": "BlogPostEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_ddark", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "context_ddark?.name" + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "context_ddark" + } + } + ] + } + } + }, + "valuePath": [ + "data" + ], + "resource": { + "id": "a76a5b0a-e975-40d1-87bb-1b3fb0b7fdf1", + "params": {} + } + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntity?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntity?.category" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BlogPostEntity?.shortDescription" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "contentful-richtext-node", + "referencedStyles": {}, + "attrs": { + "node": { + "type": "expr", + "content": "BlogPostEntity?.content" + } + }, + "style": {}, + "children": [] + } + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/blog-post/BlogPost1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorEntity" + } + }, + "renderPropIdentifier": "AuthorEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntity?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntity?.description" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntity?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/author/Author", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorEntities" + } + }, + "renderPropIdentifier": "AuthorEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.description" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "AuthorEntities" + } + } + ] + } + } + }, + "valuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "author/Author1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorEntities" + } + }, + "renderPropIdentifier": "AuthorEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.description" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "AuthorEntities" + } + } + ] + } + } + }, + "valuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "author/page/Author1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + } + ] + } + } + }, + "components": {}, + "resources": { + "items": { + "566201c9-0c27-4c4c-b93f-4b48fc70943f": { + "id": "566201c9-0c27-4c4c-b93f-4b48fc70943f", + "name": "Home", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "content_type": { + "type": "static", + "content": "blogPost" + }, + "limit": { + "type": "static", + "content": 100 + } + } + }, + "09e51056-11ca-4e3e-925a-bffa93dac119": { + "id": "09e51056-11ca-4e3e-925a-bffa93dac119", + "name": "Home1", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "content_type": { + "type": "static", + "content": "author" + }, + "sys.id": { + "type": "static", + "content": "51X3KfjjGxnWQJHRqczttB" + } + } + }, + "fa9e43b2-971f-4857-b714-00f37fd72030": { + "id": "fa9e43b2-971f-4857-b714-00f37fd72030", + "name": "Home2", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "content_type": { + "type": "static", + "content": "author" + }, + "sys.id": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "sys.id" + } + } + } + }, + "32e5f41d-46e7-4f3c-86b2-282b8e979362": { + "id": "32e5f41d-46e7-4f3c-86b2-282b8e979362", + "name": "BlogPost", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "content_type": { + "type": "static", + "content": "author" + }, + "sys.id": { + "type": "static", + "content": "1usfwyCuEJHsArZSqZJ45j" + } + } + }, + "a76a5b0a-e975-40d1-87bb-1b3fb0b7fdf1": { + "id": "a76a5b0a-e975-40d1-87bb-1b3fb0b7fdf1", + "name": "BlogPost1", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "content_type": { + "type": "static", + "content": "author" + }, + "limit": { + "type": "static", + "content": 100 + } + } + }, + "4d34432d-be7b-49b8-ba42-8d5eeb049f70": { + "id": "4d34432d-be7b-49b8-ba42-8d5eeb049f70", + "name": "BlogPost-page-initial-props-4d344", + "mappers": [ + "normalize" + ], + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "params": { + "content_type": { + "type": "static", + "content": "blogPost" + }, + "limit": { + "type": "static", + "content": 10 + }, + "skip": { + "type": "static", + "content": 0 + } + } + }, + "d3e2370f-3549-4882-a496-444f3ccf2a2b": { + "id": "d3e2370f-3549-4882-a496-444f3ccf2a2b", + "name": "BlogPost-page-initial-paths-d3e23", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "content_type": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "content_type" + } + }, + "limit": { + "type": "static", + "content": 1 + } + } + }, + "65f2b3de-86e7-4a9f-ad46-efde62c34ca8": { + "id": "65f2b3de-86e7-4a9f-ad46-efde62c34ca8", + "name": "BlogPost-page-initial-props-65f2b", + "mappers": [ + "normalize" + ], + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "params": { + "content_type": { + "type": "static", + "content": "blogPost" + }, + "limit": { + "type": "static", + "content": 10 + }, + "skip": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "skip" + } + } + } + }, + "2653438d-1dce-45d2-a4ef-350b9950a055": { + "id": "2653438d-1dce-45d2-a4ef-350b9950a055", + "name": "BlogPost-page-initial-paths-26534", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "content_type": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "content_type" + } + }, + "select": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "select" + } + } + } + }, + "a00d4cf0-c831-4b81-bb06-ad2d9f5e9a59": { + "id": "a00d4cf0-c831-4b81-bb06-ad2d9f5e9a59", + "name": "BlogPost-page-initial-props-a00d4", + "mappers": [ + "normalize" + ], + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "params": { + "content_type": { + "type": "static", + "content": "blogPost" + }, + "sys.id": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + } + }, + "e462f0b8-210c-4edf-82fe-97df05b16920": { + "id": "e462f0b8-210c-4edf-82fe-97df05b16920", + "name": "Author-page-initial-paths-e462f", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "content_type": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "content_type" + } + }, + "select": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "select" + } + } + } + }, + "b0d927b9-a777-46ea-bd39-838f805e44fc": { + "id": "b0d927b9-a777-46ea-bd39-838f805e44fc", + "name": "Author-page-initial-props-b0d92", + "mappers": [ + "normalize" + ], + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "params": { + "content_type": { + "type": "static", + "content": "author" + }, + "sys.id": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + } + }, + "dad5c8c1-d826-405b-951c-b57d6b7935f1": { + "id": "dad5c8c1-d826-405b-951c-b57d6b7935f1", + "name": "Author-page-initial-props-dad5c", + "mappers": [ + "normalize" + ], + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "params": { + "content_type": { + "type": "static", + "content": "author" + }, + "limit": { + "type": "static", + "content": 10 + }, + "skip": { + "type": "static", + "content": 0 + } + } + }, + "6a90f768-a962-43f8-a90a-15ae882f1292": { + "id": "6a90f768-a962-43f8-a90a-15ae882f1292", + "name": "Author-page-initial-paths-6a90f", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "content_type": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "content_type" + } + }, + "limit": { + "type": "static", + "content": 1 + } + } + }, + "23f5a393-ed55-421b-a938-bcaa4f53fd15": { + "id": "23f5a393-ed55-421b-a938-bcaa4f53fd15", + "name": "Author-page-initial-props-23f5a", + "mappers": [ + "normalize" + ], + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "entries" + } + }, + "params": { + "content_type": { + "type": "static", + "content": "author" + }, + "limit": { + "type": "static", + "content": 10 + }, + "skip": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "skip" + } + } + } + } + }, + "resourceMappers": { + "normalize": { + "params": [ + "response" + ], + "dependency": { + "type": "package", + "version": "github:teleporthq/teleport-cms-mappers", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "originalName": "normalize", + "importAlias": "@teleporthq/cms-mappers/contentful" + } + } + } + } + } +} diff --git a/examples/uidl-samples/flotiq.json b/examples/uidl-samples/flotiq.json new file mode 100644 index 000000000..7057560e0 --- /dev/null +++ b/examples/uidl-samples/flotiq.json @@ -0,0 +1,3511 @@ +{ + "name": "Joyful Worthwhile Elk", + "globals": { + "settings": { + "title": "Joyful Worthwhile Elk", + "language": "en" + }, + "assets": [ + { + "type": "style", + "attrs": { + "data-tag": { + "type": "static", + "content": "reset-style-sheet" + } + }, + "content": "html { line-height: 1.15;}body { margin: 0;}* { box-sizing: border-box; border-width: 0; border-style: solid;}p,li,ul,pre,div,h1,h2,h3,h4,h5,h6,figure,blockquote,figcaption { margin: 0; padding: 0;}button { background-color: transparent;}button,input,optgroup,select,textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0;}button,select { text-transform: none;}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"] { -webkit-appearance: button;}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner { border-style: none; padding: 0;}button:-moz-focus,[type=\"button\"]:-moz-focus,[type=\"reset\"]:-moz-focus,[type=\"submit\"]:-moz-focus { outline: 1px dotted ButtonText;}a { color: inherit; text-decoration: inherit;}input { padding: 2px 4px;}img { display: block;}html { scroll-behavior: smooth }" + }, + { + "type": "style", + "attrs": { + "data-tag": { + "type": "static", + "content": "default-style-sheet" + } + }, + "content": "\n html {\n font-family: Inter;\n font-size: 16px;\n }\n\n body {\n font-weight: 400;\n font-style:normal;\n text-decoration: none;\n text-transform: none;\n letter-spacing: normal;\n line-height: 1.15;\n color: var(--dl-color-gray-black);\n background-color: var(--dl-color-gray-white);\n \n }\n\n \n\n " + }, + { + "type": "font", + "path": "https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap", + "attrs": { + "data-tag": { + "type": "static", + "content": "font" + } + } + } + ], + "meta": [ + { + "name": "viewport", + "content": "width=device-width, initial-scale=1.0" + }, + { + "charSet": "utf-8" + }, + { + "property": "twitter:card", + "content": "summary_large_image" + } + ], + "customCode": { + "head": "", + "body": "" + } + }, + "root": { + "name": "App", + "designLanguage": { + "tokens": { + "--dl-color-primary-100": { + "type": "static", + "content": "#003EB3" + }, + "--dl-color-primary-300": { + "type": "static", + "content": "#0074F0" + }, + "--dl-color-primary-500": { + "type": "static", + "content": "#14A9FF" + }, + "--dl-color-primary-700": { + "type": "static", + "content": "#85DCFF" + }, + "--dl-color-gray-black": { + "type": "static", + "content": "#000000" + }, + "--dl-color-gray-500": { + "type": "static", + "content": "#595959" + }, + "--dl-color-gray-700": { + "type": "static", + "content": "#999999" + }, + "--dl-color-gray-900": { + "type": "static", + "content": "#D9D9D9" + }, + "--dl-color-gray-white": { + "type": "static", + "content": "#FFFFFF" + }, + "--dl-color-success-300": { + "type": "static", + "content": "#199033" + }, + "--dl-color-success-500": { + "type": "static", + "content": "#32A94C" + }, + "--dl-color-success-700": { + "type": "static", + "content": "#4CC366" + }, + "--dl-color-danger-300": { + "type": "static", + "content": "#A22020" + }, + "--dl-color-danger-500": { + "type": "static", + "content": "#BF2626" + }, + "--dl-color-danger-700": { + "type": "static", + "content": "#E14747" + }, + "--dl-size-size-xsmall": { + "type": "static", + "content": "16px" + }, + "--dl-size-size-small": { + "type": "static", + "content": "48px" + }, + "--dl-size-size-medium": { + "type": "static", + "content": "96px" + }, + "--dl-size-size-large": { + "type": "static", + "content": "144px" + }, + "--dl-size-size-xlarge": { + "type": "static", + "content": "192px" + }, + "--dl-size-size-xxlarge": { + "type": "static", + "content": "288px" + }, + "--dl-size-size-maxwidth": { + "type": "static", + "content": "1400px" + }, + "--dl-space-space-halfunit": { + "type": "static", + "content": "8px" + }, + "--dl-space-space-unit": { + "type": "static", + "content": "16px" + }, + "--dl-space-space-oneandhalfunits": { + "type": "static", + "content": "24px" + }, + "--dl-space-space-twounits": { + "type": "static", + "content": "32px" + }, + "--dl-space-space-threeunits": { + "type": "static", + "content": "48px" + }, + "--dl-space-space-fourunits": { + "type": "static", + "content": "64px" + }, + "--dl-space-space-fiveunits": { + "type": "static", + "content": "80px" + }, + "--dl-space-space-sixunits": { + "type": "static", + "content": "96px" + }, + "--dl-radius-radius-radius2": { + "type": "static", + "content": "2px" + }, + "--dl-radius-radius-radius4": { + "type": "static", + "content": "4px" + }, + "--dl-radius-radius-radius8": { + "type": "static", + "content": "8px" + }, + "--dl-radius-radius-round": { + "type": "static", + "content": "50%" + } + } + }, + "styleSetDefinitions": { + "button": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "inline-block" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + }, + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "padding": { + "type": "static", + "content": "0.5rem 1rem" + } + }, + "conditions": [] + }, + "input": { + "type": "reusable-project-style-map", + "content": { + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "padding": { + "type": "static", + "content": "0.5rem 1rem" + }, + "cursor": { + "type": "static", + "content": "auto" + } + }, + "conditions": [] + }, + "textarea": { + "type": "reusable-project-style-map", + "content": { + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "padding": { + "type": "static", + "content": "0.5rem" + }, + "cursor": { + "type": "static", + "content": "auto" + } + }, + "conditions": [] + }, + "list": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "block" + }, + "listStyleType": { + "type": "static", + "content": "none" + }, + "listStylePosition": { + "type": "static", + "content": "outside" + }, + "margin": { + "type": "static", + "content": "1em 0px 1em 0px" + }, + "padding": { + "type": "static", + "content": "0px 0px 0px 1.5rem" + }, + "width": { + "type": "static", + "content": "100%" + } + }, + "conditions": [] + }, + "list-item": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "list-item" + } + }, + "conditions": [] + }, + "teleport-show": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "flex !important" + }, + "transform": { + "type": "static", + "content": "none !important" + } + }, + "conditions": [] + }, + "Content": { + "type": "reusable-project-style-map", + "content": { + "fontFamily": { + "type": "static", + "content": "Inter" + }, + "fontWeight": { + "type": "static", + "content": "400" + }, + "fontSize": { + "type": "static", + "content": "16px" + }, + "lineHeight": { + "type": "static", + "content": "1.15" + }, + "textTransform": { + "type": "static", + "content": "none" + }, + "textDecoration": { + "type": "static", + "content": "none" + } + } + }, + "Heading": { + "type": "reusable-project-style-map", + "content": { + "fontFamily": { + "type": "static", + "content": "Inter" + }, + "fontWeight": { + "type": "static", + "content": "700" + }, + "fontSize": { + "type": "static", + "content": "32px" + }, + "lineHeight": { + "type": "static", + "content": "1.15" + }, + "textTransform": { + "type": "static", + "content": "none" + }, + "textDecoration": { + "type": "static", + "content": "none" + } + } + } + }, + "stateDefinitions": { + "route": { + "type": "string", + "defaultValue": "Home", + "values": [ + { + "value": "Home", + "seo": { + "title": "Joyful Worthwhile Elk", + "metaTags": [ + { + "property": "og:title", + "content": "Joyful Worthwhile Elk" + } + ] + }, + "pageOptions": { + "stateDefinitions": {}, + "propDefinitions": {} + } + }, + { + "value": "author/Author", + "seo": { + "title": "Author - Joyful Worthwhile Elk", + "metaTags": [ + { + "property": "og:title", + "content": "Author - Joyful Worthwhile Elk" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorEntities": { + "id": "255b4e37-577e-44f8-9162-72a2a5d7ea2a", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/author/index", + "initialPropsData": { + "exposeAs": { + "name": "AuthorEntities", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "id": "7550f297-393b-4858-b51c-dd939069f884", + "params": {} + } + } + } + }, + { + "value": "author/page/Author", + "seo": { + "title": "Author - Joyful Worthwhile Elk", + "metaTags": [ + { + "property": "og:title", + "content": "Author - Joyful Worthwhile Elk" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorEntities": { + "id": "255b4e37-577e-44f8-9162-72a2a5d7ea2a", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/author/page/[page]", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "body", + "path": [] + } + }, + "dynamicRouteAttribute": "page", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "id": "3c98ee9a-e86d-48bf-8a48-e8ae920adacf", + "params": {} + } + }, + "initialPropsData": { + "exposeAs": { + "name": "AuthorEntities", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "id": "a51429e4-0f51-4747-8fca-c23add3f3831", + "params": { + "page": { + "type": "expr", + "content": "(context.params.page - 1) * 10" + } + } + } + } + } + }, + { + "value": "blog_post/Blogpost", + "seo": { + "title": "Blogpost - Joyful Worthwhile Elk", + "metaTags": [ + { + "property": "og:title", + "content": "Blogpost - Joyful Worthwhile Elk" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Blog_postEntities": { + "id": "a2e75ae4-f106-4085-95a0-cb87d95c947c", + "defaultValue": [], + "type": "array" + } + }, + "navLink": "/blog-post/index", + "stateDefinitions": {}, + "initialPropsData": { + "exposeAs": { + "name": "Blog_postEntities", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "id": "07273c01-ebeb-4f36-9a4d-5f3d3be019a3", + "params": {} + } + } + } + }, + { + "value": "blog_post/page/Blogpost", + "seo": { + "title": "Blogpost - Joyful Worthwhile Elk", + "metaTags": [ + { + "property": "og:title", + "content": "Blogpost - Joyful Worthwhile Elk" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Blog_postEntities": { + "id": "a2e75ae4-f106-4085-95a0-cb87d95c947c", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "body", + "path": [] + } + }, + "navLink": "/blog-post/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "id": "b9cd852c-3057-42c0-a5aa-5645834cb572", + "params": {} + } + }, + "initialPropsData": { + "exposeAs": { + "name": "Blog_postEntities", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "id": "94dda27d-87b5-405f-a38c-2a45cc55d39d", + "params": { + "page": { + "type": "expr", + "content": "(context.params.page - 1) * 10" + } + } + } + } + } + }, + { + "value": "book/Book", + "seo": { + "title": "Book - Joyful Worthwhile Elk", + "metaTags": [ + { + "property": "og:title", + "content": "Book - Joyful Worthwhile Elk" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BookEntities": { + "id": "53c7964a-f87e-4f16-9e71-1db8591962c4", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/book/index", + "initialPropsData": { + "exposeAs": { + "name": "BookEntities", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "id": "1bf28d81-95c2-43b8-bdba-c7e06f4e79da", + "params": {} + } + } + } + }, + { + "value": "book/page/Book", + "seo": { + "title": "Book - Joyful Worthwhile Elk", + "metaTags": [ + { + "property": "og:title", + "content": "Book - Joyful Worthwhile Elk" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BookEntities": { + "id": "53c7964a-f87e-4f16-9e71-1db8591962c4", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": false, + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "body", + "path": [] + } + }, + "navLink": "/book/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "id": "05077c45-c452-4fab-aa13-dcf10c8de4e6", + "params": {} + } + }, + "initialPropsData": { + "exposeAs": { + "name": "BookEntities", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "id": "6d696e0a-0533-4cf7-aeb2-98bb4ece2991", + "params": { + "page": { + "type": "expr", + "content": "(context.params.page - 1) * 10" + } + } + } + } + } + }, + { + "value": "/author/Author1", + "seo": { + "title": "Author1 - Joyful Worthwhile Elk", + "metaTags": [ + { + "property": "og:title", + "content": "Author1 - Joyful Worthwhile Elk" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorEntity": { + "id": "7201c6c5-f729-4ae1-b3bd-ebf5137b419b", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": false, + "navLink": "/author/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "785cbe39-50ff-4f8a-a0c1-457cabf76efc", + "params": {} + } + }, + "initialPropsData": { + "exposeAs": { + "name": "AuthorEntity", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "id": "e3d03d9a-9b71-43d2-a9e4-58442b981946", + "params": {} + } + } + } + }, + { + "value": "/blog_post/Blogpost1", + "seo": { + "title": "Blogpost1 - Joyful Worthwhile Elk", + "metaTags": [ + { + "property": "og:title", + "content": "Blogpost1 - Joyful Worthwhile Elk" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Blog_postEntity": { + "id": "62998cf8-e31b-479f-831d-8754e98a6f98", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": false, + "navLink": "/blog-post/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "82128c18-a107-418e-b2c9-a4b0207c7909", + "params": {} + } + }, + "initialPropsData": { + "exposeAs": { + "name": "Blog_postEntity", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "id": "f00f4904-e00c-4408-937b-45af3033c33d", + "params": {} + } + } + } + }, + { + "value": "/book/Book1", + "seo": { + "title": "Book1 - Joyful Worthwhile Elk", + "metaTags": [ + { + "property": "og:title", + "content": "Book1 - Joyful Worthwhile Elk" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BookEntity": { + "id": "505e3f99-a3c4-45fc-ac36-a1bc32a45319", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": false, + "navLink": "/book/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "bc04ecbe-d500-4045-b95e-dceb4e2be223", + "params": {} + } + }, + "initialPropsData": { + "exposeAs": { + "name": "BookEntity", + "valuePath": [ + "data" + ], + "itemValuePath": [] + }, + "resource": { + "id": "6c14f8a7-554a-4d01-9cd5-80ed84812466", + "params": {} + } + } + } + }, + { + "value": "404 - Not Found", + "seo": { + "title": "404 - Not Found" + }, + "pageOptions": { + "fallback": true + } + } + ] + } + }, + "propDefinitions": { + "AuthorEntities": { + "id": "255b4e37-577e-44f8-9162-72a2a5d7ea2a", + "defaultValue": [], + "type": "array" + }, + "Blog_postEntities": { + "id": "a2e75ae4-f106-4085-95a0-cb87d95c947c", + "defaultValue": [], + "type": "array" + }, + "BookEntities": { + "id": "53c7964a-f87e-4f16-9e71-1db8591962c4", + "defaultValue": [], + "type": "array" + }, + "AuthorEntity": { + "id": "7201c6c5-f729-4ae1-b3bd-ebf5137b419b", + "defaultValue": [], + "type": "array" + }, + "Blog_postEntity": { + "id": "62998cf8-e31b-479f-831d-8754e98a6f98", + "defaultValue": [], + "type": "array" + }, + "BookEntity": { + "id": "505e3f99-a3c4-45fc-ac36-a1bc32a45319", + "defaultValue": [], + "type": "array" + } + }, + "node": { + "type": "element", + "content": { + "elementType": "Router", + "children": [ + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "justifyContent": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h3", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "static", + "content": "OOPS! PAGE NOT FOUND" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "justifyContent": { + "type": "static", + "content": "center" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "position": { + "type": "static", + "content": "relative" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "style": { + "fontWeight": { + "type": "static", + "content": "900" + }, + "fontSize": { + "type": "static", + "content": "252px" + }, + "letterSpacing": { + "type": "static", + "content": "-20px" + }, + "color": { + "type": "static", + "content": "rgb(38, 38, 38)" + }, + "marginTop": { + "type": "static", + "content": "-20px" + }, + "marginBottom": { + "type": "static", + "content": "-20px" + } + }, + "children": [ + { + "type": "static", + "content": "404" + } + ] + } + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "justifyContent": { + "type": "static", + "content": "center" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "width": { + "type": "static", + "content": "421px" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h2", + "referencedStyles": {}, + "abilities": {}, + "style": { + "textAlign": { + "type": "static", + "content": "center" + }, + "fontWeight": { + "type": "static", + "content": "400" + } + }, + "children": [ + { + "type": "static", + "content": "WE ARE SORRY, BUT THE PAGE YOU REQUESTED WAS NOT FOUND" + } + ] + } + } + ] + } + } + ] + } + }, + "value": "404 - Not Found", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + } + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "justifyContent": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_30dnx", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "style": { + "marginTop": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-unit" + } + } + }, + "children": [ + { + "type": "expr", + "content": "context_30dnx?.name" + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "context_30dnx" + } + } + ] + } + } + }, + "valuePath": [], + "resource": { + "id": "ba424577-03ce-4035-8fc8-33331d3c9636", + "params": {} + } + } + }, + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_5u6uvg", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "style": { + "marginTop": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-twounits" + } + } + }, + "children": [ + { + "type": "expr", + "content": "context_5u6uvg?.title" + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "context_5u6uvg" + } + } + ] + } + } + }, + "valuePath": [], + "resource": { + "id": "00249d9a-3c71-4470-b964-8042d71ad013", + "params": {} + } + } + } + ] + } + }, + "value": "Home", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorEntities" + } + }, + "renderPropIdentifier": "AuthorEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "gap": { + "type": "static", + "content": "12px" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "AuthorEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "author/Author", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorEntities" + } + }, + "renderPropIdentifier": "AuthorEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "gap": { + "type": "static", + "content": "12px" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntities?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "AuthorEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "author/page/Author", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Blog_postEntities" + } + }, + "renderPropIdentifier": "Blog_postEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "gap": { + "type": "static", + "content": "12px" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Blog_postEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Blog_postEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Blog_postEntities?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "Blog_postEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "blog_post/Blogpost", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Blog_postEntities" + } + }, + "renderPropIdentifier": "Blog_postEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "gap": { + "type": "static", + "content": "12px" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Blog_postEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Blog_postEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Blog_postEntities?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "Blog_postEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "blog_post/page/Blogpost", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BookEntities" + } + }, + "renderPropIdentifier": "BookEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "gap": { + "type": "static", + "content": "12px" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.email" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.price" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "BookEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "book/Book", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BookEntities" + } + }, + "renderPropIdentifier": "BookEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "gap": { + "type": "static", + "content": "12px" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.email" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.price" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "BookEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "book/page/Book", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "AuthorEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "gap": { + "type": "static", + "content": "12px" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntity?.name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorEntity?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/author/Author1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Blog_postEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "Blog_postEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "gap": { + "type": "static", + "content": "12px" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Blog_postEntity?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Blog_postEntity?.id" + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/blog_post/Blogpost1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BookEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "BookEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "gap": { + "type": "static", + "content": "12px" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntity?.title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntity?.email" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntity?.price" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "markdown-node", + "referencedStyles": {}, + "attrs": {}, + "style": {}, + "children": [ + { + "type": "expr", + "content": "BookEntity?.content" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/book/Book1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + } + ] + } + } + }, + "components": {}, + "resources": { + "items": { + "ba424577-03ce-4035-8fc8-33331d3c9636": { + "id": "ba424577-03ce-4035-8fc8-33331d3c9636", + "name": "Home", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Author" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "hydrate": { + "type": "static", + "content": "2" + }, + "limit": { + "type": "static", + "content": 100 + }, + "page": { + "type": "static", + "content": 1 + } + } + }, + "00249d9a-3c71-4470-b964-8042d71ad013": { + "id": "00249d9a-3c71-4470-b964-8042d71ad013", + "name": "Home1", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Blog_post" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "hydrate": { + "type": "static", + "content": "2" + }, + "limit": { + "type": "static", + "content": 100 + }, + "page": { + "type": "static", + "content": 1 + } + } + }, + "7550f297-393b-4858-b51c-dd939069f884": { + "id": "7550f297-393b-4858-b51c-dd939069f884", + "name": "Author-page-initial-props-7550f", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Author" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "limit": { + "type": "static", + "content": 10 + }, + "page": { + "type": "static", + "content": 0 + }, + "hydrate": { + "type": "static", + "content": "2" + } + } + }, + "3c98ee9a-e86d-48bf-8a48-e8ae920adacf": { + "id": "3c98ee9a-e86d-48bf-8a48-e8ae920adacf", + "name": "Author-page-initial-paths-3c98e", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Author" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "static", + "content": 1 + } + } + }, + "a51429e4-0f51-4747-8fca-c23add3f3831": { + "id": "a51429e4-0f51-4747-8fca-c23add3f3831", + "name": "Author-page-initial-props-a5142", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Author" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "limit": { + "type": "static", + "content": 10 + }, + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "start" + } + }, + "hydrate": { + "type": "static", + "content": "2" + } + } + }, + "07273c01-ebeb-4f36-9a4d-5f3d3be019a3": { + "id": "07273c01-ebeb-4f36-9a4d-5f3d3be019a3", + "name": "Blog_post-page-initial-props-07273", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Blog_post" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "limit": { + "type": "static", + "content": 10 + }, + "page": { + "type": "static", + "content": 0 + }, + "hydrate": { + "type": "static", + "content": "2" + } + } + }, + "b9cd852c-3057-42c0-a5aa-5645834cb572": { + "id": "b9cd852c-3057-42c0-a5aa-5645834cb572", + "name": "Blog_post-page-initial-paths-b9cd8", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Blog_post" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "static", + "content": 1 + } + } + }, + "94dda27d-87b5-405f-a38c-2a45cc55d39d": { + "id": "94dda27d-87b5-405f-a38c-2a45cc55d39d", + "name": "Blog_post-page-initial-props-94dda", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Blog_post" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "limit": { + "type": "static", + "content": 10 + }, + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "start" + } + }, + "hydrate": { + "type": "static", + "content": "2" + } + } + }, + "1bf28d81-95c2-43b8-bdba-c7e06f4e79da": { + "id": "1bf28d81-95c2-43b8-bdba-c7e06f4e79da", + "name": "Book-page-initial-props-1bf28", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Book" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "limit": { + "type": "static", + "content": 10 + }, + "page": { + "type": "static", + "content": 0 + }, + "hydrate": { + "type": "static", + "content": "2" + } + } + }, + "05077c45-c452-4fab-aa13-dcf10c8de4e6": { + "id": "05077c45-c452-4fab-aa13-dcf10c8de4e6", + "name": "Book-page-initial-paths-05077", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Book" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "static", + "content": 1 + } + } + }, + "6d696e0a-0533-4cf7-aeb2-98bb4ece2991": { + "id": "6d696e0a-0533-4cf7-aeb2-98bb4ece2991", + "name": "Book-page-initial-props-6d696", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Book" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "limit": { + "type": "static", + "content": 10 + }, + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "start" + } + }, + "hydrate": { + "type": "static", + "content": "2" + } + } + }, + "785cbe39-50ff-4f8a-a0c1-457cabf76efc": { + "id": "785cbe39-50ff-4f8a-a0c1-457cabf76efc", + "name": "Author-page-initial-paths-785cb", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Author" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "filters": { + "type": "expr", + "content": "JSON.stringify({\n ['id']: { type: 'equals', filter: params['id'] },\n })" + } + } + }, + "e3d03d9a-9b71-43d2-a9e4-58442b981946": { + "id": "e3d03d9a-9b71-43d2-a9e4-58442b981946", + "name": "Author-page-initial-props-e3d03", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Author" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "hydrate": { + "type": "static", + "content": "2" + }, + "filters": { + "type": "expr", + "content": "JSON.stringify({\n ['id']: { type: 'equals', filter: params['id'] },\n })" + } + } + }, + "82128c18-a107-418e-b2c9-a4b0207c7909": { + "id": "82128c18-a107-418e-b2c9-a4b0207c7909", + "name": "Blog_post-page-initial-paths-82128", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Blog_post" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "filters": { + "type": "expr", + "content": "JSON.stringify({\n ['id']: { type: 'equals', filter: params['id'] },\n })" + } + } + }, + "f00f4904-e00c-4408-937b-45af3033c33d": { + "id": "f00f4904-e00c-4408-937b-45af3033c33d", + "name": "Blog_post-page-initial-props-f00f4", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Blog_post" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "hydrate": { + "type": "static", + "content": "2" + }, + "filters": { + "type": "expr", + "content": "JSON.stringify({\n ['id']: { type: 'equals', filter: params['id'] },\n })" + } + } + }, + "bc04ecbe-d500-4045-b95e-dceb4e2be223": { + "id": "bc04ecbe-d500-4045-b95e-dceb4e2be223", + "name": "Book-page-initial-paths-bc04e", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Book" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "filters": { + "type": "expr", + "content": "JSON.stringify({\n ['id']: { type: 'equals', filter: params['id'] },\n })" + } + } + }, + "6c14f8a7-554a-4d01-9cd5-80ed84812466": { + "id": "6c14f8a7-554a-4d01-9cd5-80ed84812466", + "name": "Book-page-initial-props-6c14f", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/v1/content/Book" + } + }, + "headers": { + "X-AUTH-TOKEN": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "hydrate": { + "type": "static", + "content": "2" + }, + "filters": { + "type": "expr", + "content": "JSON.stringify({\n ['id']: { type: 'equals', filter: params['id'] },\n })" + } + } + } + }, + "resourceMappers": { + "normalize": { + "params": [ + "response" + ], + "dependency": { + "type": "package", + "version": "github:teleporthq/teleport-cms-mappers#feat/flotiq-mapper", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "originalName": "normalize", + "importAlias": "@teleporthq/cms-mappers/flotiq" + } + } + } + } + } +} diff --git a/examples/uidl-samples/strapi.json b/examples/uidl-samples/strapi.json new file mode 100644 index 000000000..ca76f14ab --- /dev/null +++ b/examples/uidl-samples/strapi.json @@ -0,0 +1,2636 @@ +{ + "name": "Eminent Selfish Seahorse", + "globals": { + "settings": { + "title": "Eminent Selfish Seahorse", + "language": "en" + }, + "assets": [ + { + "type": "style", + "attrs": { + "data-tag": { + "type": "static", + "content": "reset-style-sheet" + } + }, + "content": "html { line-height: 1.15;}body { margin: 0;}* { box-sizing: border-box; border-width: 0; border-style: solid;}p,li,ul,pre,div,h1,h2,h3,h4,h5,h6,figure,blockquote,figcaption { margin: 0; padding: 0;}button { background-color: transparent;}button,input,optgroup,select,textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0;}button,select { text-transform: none;}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"] { -webkit-appearance: button;}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner { border-style: none; padding: 0;}button:-moz-focus,[type=\"button\"]:-moz-focus,[type=\"reset\"]:-moz-focus,[type=\"submit\"]:-moz-focus { outline: 1px dotted ButtonText;}a { color: inherit; text-decoration: inherit;}input { padding: 2px 4px;}img { display: block;}html { scroll-behavior: smooth }" + }, + { + "type": "style", + "attrs": { + "data-tag": { + "type": "static", + "content": "default-style-sheet" + } + }, + "content": "\n html {\n font-family: Inter;\n font-size: 16px;\n }\n\n body {\n font-weight: 400;\n font-style:normal;\n text-decoration: none;\n text-transform: none;\n letter-spacing: normal;\n line-height: 1.15;\n color: var(--dl-color-gray-black);\n background-color: var(--dl-color-gray-white);\n \n }\n\n \n\n " + }, + { + "type": "font", + "path": "https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap", + "attrs": { + "data-tag": { + "type": "static", + "content": "font" + } + } + } + ], + "meta": [ + { + "name": "viewport", + "content": "width=device-width, initial-scale=1.0" + }, + { + "charSet": "utf-8" + }, + { + "property": "twitter:card", + "content": "summary_large_image" + } + ], + "customCode": { + "head": "", + "body": "" + } + }, + "root": { + "name": "App", + "designLanguage": { + "tokens": { + "--dl-color-gray-black": { + "type": "static", + "content": "#000000" + }, + "--dl-color-danger-300": { + "type": "static", + "content": "#A22020" + }, + "--dl-color-gray-900": { + "type": "static", + "content": "#D9D9D9" + }, + "--dl-radius-radius-round": { + "type": "static", + "content": "50%" + }, + "--dl-size-size-xlarge": { + "type": "static", + "content": "192px" + }, + "--dl-space-space-fiveunits": { + "type": "static", + "content": "80px" + }, + "--dl-size-size-maxwidth": { + "type": "static", + "content": "1400px" + }, + "--dl-color-primary-100": { + "type": "static", + "content": "#003EB3" + }, + "--dl-color-success-500": { + "type": "static", + "content": "#32A94C" + }, + "--dl-size-size-small": { + "type": "static", + "content": "48px" + }, + "--dl-radius-radius-radius2": { + "type": "static", + "content": "2px" + }, + "--dl-color-primary-500": { + "type": "static", + "content": "#14A9FF" + }, + "--dl-color-success-700": { + "type": "static", + "content": "#4CC366" + }, + "--dl-space-space-oneandhalfunits": { + "type": "static", + "content": "24px" + }, + "--dl-color-danger-500": { + "type": "static", + "content": "#BF2626" + }, + "--dl-color-primary-300": { + "type": "static", + "content": "#0074F0" + }, + "--dl-space-space-fourunits": { + "type": "static", + "content": "64px" + }, + "--dl-space-space-threeunits": { + "type": "static", + "content": "48px" + }, + "--dl-color-success-300": { + "type": "static", + "content": "#199033" + }, + "--dl-space-space-twounits": { + "type": "static", + "content": "32px" + }, + "--dl-color-gray-700": { + "type": "static", + "content": "#999999" + }, + "--dl-radius-radius-radius8": { + "type": "static", + "content": "8px" + }, + "--dl-color-gray-500": { + "type": "static", + "content": "#595959" + }, + "--dl-space-space-sixunits": { + "type": "static", + "content": "96px" + }, + "--dl-color-danger-700": { + "type": "static", + "content": "#E14747" + }, + "--dl-color-gray-white": { + "type": "static", + "content": "#FFFFFF" + }, + "--dl-size-size-medium": { + "type": "static", + "content": "96px" + }, + "--dl-radius-radius-radius4": { + "type": "static", + "content": "4px" + }, + "--dl-color-primary-700": { + "type": "static", + "content": "#85DCFF" + }, + "--dl-space-space-unit": { + "type": "static", + "content": "16px" + }, + "--dl-size-size-large": { + "type": "static", + "content": "144px" + }, + "--dl-size-size-xsmall": { + "type": "static", + "content": "16px" + }, + "--dl-space-space-halfunit": { + "type": "static", + "content": "8px" + }, + "--dl-size-size-xxlarge": { + "type": "static", + "content": "288px" + } + } + }, + "styleSetDefinitions": { + "button": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "display": { + "type": "static", + "content": "inline-block" + }, + "padding": { + "type": "static", + "content": "0.5rem 1rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "input": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "cursor": { + "type": "static", + "content": "auto" + }, + "padding": { + "type": "static", + "content": "0.5rem 1rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "textarea": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "cursor": { + "type": "static", + "content": "auto" + }, + "padding": { + "type": "static", + "content": "0.5rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "list": { + "type": "reusable-project-style-map", + "content": { + "width": { + "type": "static", + "content": "100%" + }, + "margin": { + "type": "static", + "content": "1em 0px 1em 0px" + }, + "display": { + "type": "static", + "content": "block" + }, + "padding": { + "type": "static", + "content": "0px 0px 0px 1.5rem" + }, + "listStyleType": { + "type": "static", + "content": "none" + }, + "listStylePosition": { + "type": "static", + "content": "outside" + } + }, + "conditions": [] + }, + "list-item": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "list-item" + } + }, + "conditions": [] + }, + "teleport-show": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "flex !important" + }, + "transform": { + "type": "static", + "content": "none !important" + } + }, + "conditions": [] + }, + "Content": { + "type": "reusable-project-style-map", + "content": { + "fontSize": { + "type": "static", + "content": "16px" + }, + "fontFamily": { + "type": "static", + "content": "Inter" + }, + "fontWeight": { + "type": "static", + "content": "400" + }, + "lineHeight": { + "type": "static", + "content": "1.15" + }, + "textTransform": { + "type": "static", + "content": "none" + }, + "textDecoration": { + "type": "static", + "content": "none" + } + } + }, + "Heading": { + "type": "reusable-project-style-map", + "content": { + "fontSize": { + "type": "static", + "content": "32px" + }, + "fontFamily": { + "type": "static", + "content": "Inter" + }, + "fontWeight": { + "type": "static", + "content": "700" + }, + "lineHeight": { + "type": "static", + "content": "1.15" + }, + "textTransform": { + "type": "static", + "content": "none" + }, + "textDecoration": { + "type": "static", + "content": "none" + } + } + } + }, + "stateDefinitions": { + "route": { + "type": "string", + "defaultValue": "Home", + "values": [ + { + "value": "Home", + "seo": { + "title": "Eminent Selfish Seahorse", + "metaTags": [ + { + "property": "og:title", + "content": "Eminent Selfish Seahorse" + } + ] + }, + "pageOptions": { + "stateDefinitions": {}, + "propDefinitions": {} + } + }, + { + "value": "/authors/Authors", + "seo": { + "title": "Authors - Eminent Selfish Seahorse", + "metaTags": [ + { + "property": "og:title", + "content": "Authors - Eminent Selfish Seahorse" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorsEntity": { + "id": "30198fe0-cbb1-41de-828a-4d68ea8cb6f3", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": false, + "navLink": "/authors/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "718b93fe-8e02-4b80-8008-392456bb9c9a", + "params": {} + } + }, + "initialPropsData": { + "exposeAs": { + "name": "AuthorsEntity", + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "c23eb0db-6442-44c7-a9d1-f9f652370dde", + "params": {} + } + } + } + }, + { + "value": "posts/Posts", + "seo": { + "title": "Posts - Eminent Selfish Seahorse", + "metaTags": [ + { + "property": "og:title", + "content": "Posts - Eminent Selfish Seahorse" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "PostsEntities": { + "id": "1d6b9181-4673-4824-851e-c3dfb5777b39", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/posts/index", + "initialPropsData": { + "exposeAs": { + "name": "PostsEntities", + "valuePath": [ + "data" + ] + }, + "resource": { + "id": "00a954f6-0cdd-4af2-8ca3-75129aa94d26", + "params": {} + } + } + } + }, + { + "value": "posts/page/Posts", + "seo": { + "title": "Posts - Eminent Selfish Seahorse", + "metaTags": [ + { + "property": "og:title", + "content": "Posts - Eminent Selfish Seahorse" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "PostsEntities": { + "id": "1d6b9181-4673-4824-851e-c3dfb5777b39", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": false, + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "body", + "path": [ + "meta", + "pagination", + "total" + ] + } + }, + "navLink": "/posts/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "attributes" + ] + }, + "resource": { + "id": "6b75e9a5-c580-450d-9e99-60f5dd211618", + "params": {} + } + }, + "initialPropsData": { + "exposeAs": { + "name": "PostsEntities", + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "f14b03b3-b5df-4670-ace0-21485b6a5eb8", + "params": { + "start": { + "type": "expr", + "content": "(context.params.page - 1) * 10" + } + } + } + } + } + }, + { + "value": "authors/Authors1", + "seo": { + "title": "Authors1 - Eminent Selfish Seahorse", + "metaTags": [ + { + "property": "og:title", + "content": "Authors1 - Eminent Selfish Seahorse" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorsEntities": { + "id": "23be0455-e8be-4ba8-b906-f30d758361dc", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/authors/index", + "initialPropsData": { + "exposeAs": { + "name": "AuthorsEntities", + "valuePath": [ + "data" + ] + }, + "resource": { + "id": "46a5fb28-f7f5-4f28-a6d7-3dd2bc207592", + "params": {} + } + } + } + }, + { + "value": "authors/page/Authors1", + "seo": { + "title": "Authors1 - Eminent Selfish Seahorse", + "metaTags": [ + { + "property": "og:title", + "content": "Authors1 - Eminent Selfish Seahorse" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AuthorsEntities": { + "id": "23be0455-e8be-4ba8-b906-f30d758361dc", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/authors/page/[page]", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "body", + "path": [ + "meta", + "pagination", + "total" + ] + } + }, + "dynamicRouteAttribute": "page", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "attributes" + ] + }, + "resource": { + "id": "801ee32a-ffb5-4eb9-bb5e-0123b6f6b220", + "params": {} + } + }, + "initialPropsData": { + "exposeAs": { + "name": "AuthorsEntities", + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "438f8585-a4e1-4b3f-8e83-800f279dbd85", + "params": { + "start": { + "type": "expr", + "content": "(context.params.page - 1) * 10" + } + } + } + } + } + }, + { + "value": "/posts/Posts1", + "seo": { + "title": "Posts1 - Eminent Selfish Seahorse", + "metaTags": [ + { + "property": "og:title", + "content": "Posts1 - Eminent Selfish Seahorse" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "PostsEntity": { + "id": "cda97ab2-e511-4a7b-a422-c6e5a2d8b40b", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "isIndex": false, + "navLink": "/posts/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [ + "data" + ], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "f6cdeeaf-d980-4e5f-8bcf-edb3592868db", + "params": {} + } + }, + "initialPropsData": { + "exposeAs": { + "name": "PostsEntity", + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "b89cb7d2-5d51-4a66-a5c1-c8896391f176", + "params": {} + } + } + } + } + ] + } + }, + "propDefinitions": { + "AuthorsEntity": { + "id": "30198fe0-cbb1-41de-828a-4d68ea8cb6f3", + "defaultValue": [], + "type": "array" + }, + "PostsEntities": { + "id": "1d6b9181-4673-4824-851e-c3dfb5777b39", + "defaultValue": [], + "type": "array" + }, + "AuthorsEntities": { + "id": "23be0455-e8be-4ba8-b906-f30d758361dc", + "defaultValue": [], + "type": "array" + }, + "PostsEntity": { + "id": "cda97ab2-e511-4a7b-a422-c6e5a2d8b40b", + "defaultValue": [], + "type": "array" + } + }, + "node": { + "type": "element", + "content": { + "elementType": "Router", + "children": [ + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "padding": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-oneandhalfunits" + } + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "flex-start" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "justifyContent": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_gyir5", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "context_gyir5?.Name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "image", + "referencedStyles": {}, + "abilities": {}, + "attrs": { + "alt": { + "type": "static", + "content": "image" + }, + "src": { + "type": "expr", + "content": "context_gyir5?.avatar?.url" + } + }, + "style": { + "width": { + "type": "static", + "content": "83px" + }, + "height": { + "type": "static", + "content": "83px" + }, + "objectFit": { + "type": "static", + "content": "cover" + } + }, + "children": [] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ], + "resource": { + "id": "f4be3d1d-76ae-4919-b842-37f9083a2396", + "params": {} + } + } + }, + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_ika7f", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h3", + "referencedStyles": {}, + "abilities": {}, + "style": { + "marginTop": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-oneandhalfunits" + } + } + }, + "children": [ + { + "type": "expr", + "content": "context_ika7f?.Title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "context_ika7f?.slug" + } + ] + } + }, + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_9h6t8h", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h3", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "context_9h6t8h?.Name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "context_9h6t8h?.id" + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ], + "resource": { + "id": "c0f69824-51c4-4f51-bdb4-30ec0aee34b2", + "params": { + "filters[id]": { + "type": "expr", + "content": "context_ika7f?.author?.id || NaN" + } + } + } + } + } + ] + } + } + }, + "renderPropIdentifier": "context_ika7f" + } + } + ] + } + } + }, + "valuePath": [ + "data" + ], + "resource": { + "id": "1cffe72b-7869-4195-955c-abf21b2d2c62", + "params": {} + } + } + } + ] + } + }, + "value": "Home", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorsEntity" + } + }, + "renderPropIdentifier": "AuthorsEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorsEntity?.Name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorsEntity?.Linkedin" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorsEntity?.Twitter" + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/authors/Authors", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "PostsEntities" + } + }, + "renderPropIdentifier": "PostsEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PostsEntities?.Title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PostsEntities?.Title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PostsEntities?.Preview" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "PostsEntities" + } + } + ] + } + } + }, + "valuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "posts/Posts", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "PostsEntities" + } + }, + "renderPropIdentifier": "PostsEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PostsEntities?.Title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PostsEntities?.Title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PostsEntities?.Preview" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "PostsEntities" + } + } + ] + } + } + }, + "valuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "posts/page/Posts", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorsEntities" + } + }, + "renderPropIdentifier": "AuthorsEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorsEntities?.Name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorsEntities?.Name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorsEntities?.Linkedin" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "AuthorsEntities" + } + } + ] + } + } + }, + "valuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "authors/Authors1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AuthorsEntities" + } + }, + "renderPropIdentifier": "AuthorsEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorsEntities?.Name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorsEntities?.Name" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AuthorsEntities?.Linkedin" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "AuthorsEntities" + } + } + ] + } + } + }, + "valuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "authors/page/Authors1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "PostsEntity" + } + }, + "renderPropIdentifier": "PostsEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PostsEntity?.Title" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PostsEntity?.Preview" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PostsEntity?.slug" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "markdown-node", + "referencedStyles": {}, + "attrs": {}, + "style": {}, + "children": [ + { + "type": "expr", + "content": "PostsEntity?.Content" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/posts/Posts1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + } + ] + } + } + }, + "components": {}, + "resources": { + "items": { + "f4be3d1d-76ae-4919-b842-37f9083a2396": { + "id": "f4be3d1d-76ae-4919-b842-37f9083a2396", + "name": "Home", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Authors" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "populate": { + "type": "static", + "content": "*" + }, + "filters[id]": { + "type": "static", + "content": 2 + } + } + }, + "1cffe72b-7869-4195-955c-abf21b2d2c62": { + "id": "1cffe72b-7869-4195-955c-abf21b2d2c62", + "name": "Home1", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Posts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "populate": { + "type": "static", + "content": "*" + }, + "pagination[limit]": { + "type": "static", + "content": 100 + } + } + }, + "c0f69824-51c4-4f51-bdb4-30ec0aee34b2": { + "id": "c0f69824-51c4-4f51-bdb4-30ec0aee34b2", + "name": "Home2", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Authors" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "populate": { + "type": "static", + "content": "*" + }, + "filters[id]": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "filters[id]" + } + } + } + }, + "718b93fe-8e02-4b80-8008-392456bb9c9a": { + "id": "718b93fe-8e02-4b80-8008-392456bb9c9a", + "name": "Authors-page-initial-paths-718b9", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Authors" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "fields": { + "type": "static", + "content": "id" + } + } + }, + "c23eb0db-6442-44c7-a9d1-f9f652370dde": { + "id": "c23eb0db-6442-44c7-a9d1-f9f652370dde", + "name": "Authors-page-initial-props-c23eb", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Authors" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "populate": { + "type": "static", + "content": "*" + }, + "filters[id][$eq]": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + } + }, + "00a954f6-0cdd-4af2-8ca3-75129aa94d26": { + "id": "00a954f6-0cdd-4af2-8ca3-75129aa94d26", + "name": "Posts-page-initial-props-00a95", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Posts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "pagination[limit]": { + "type": "static", + "content": 10 + }, + "pagination[start]": { + "type": "static", + "content": 0 + }, + "populate": { + "type": "static", + "content": "*" + } + } + }, + "6b75e9a5-c580-450d-9e99-60f5dd211618": { + "id": "6b75e9a5-c580-450d-9e99-60f5dd211618", + "name": "Posts-page-initial-paths-6b75e", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Posts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "pagination[pageSize]": { + "type": "static", + "content": 1 + } + } + }, + "f14b03b3-b5df-4670-ace0-21485b6a5eb8": { + "id": "f14b03b3-b5df-4670-ace0-21485b6a5eb8", + "name": "Posts-page-initial-props-f14b0", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Posts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "pagination[limit]": { + "type": "static", + "content": 10 + }, + "pagination[start]": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "start" + } + }, + "populate": { + "type": "static", + "content": "*" + } + } + }, + "46a5fb28-f7f5-4f28-a6d7-3dd2bc207592": { + "id": "46a5fb28-f7f5-4f28-a6d7-3dd2bc207592", + "name": "Authors-page-initial-props-46a5f", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Authors" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "pagination[limit]": { + "type": "static", + "content": 10 + }, + "pagination[start]": { + "type": "static", + "content": 0 + }, + "populate": { + "type": "static", + "content": "*" + } + } + }, + "801ee32a-ffb5-4eb9-bb5e-0123b6f6b220": { + "id": "801ee32a-ffb5-4eb9-bb5e-0123b6f6b220", + "name": "Authors-page-initial-paths-801ee", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Authors" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "pagination[pageSize]": { + "type": "static", + "content": 1 + } + } + }, + "438f8585-a4e1-4b3f-8e83-800f279dbd85": { + "id": "438f8585-a4e1-4b3f-8e83-800f279dbd85", + "name": "Authors-page-initial-props-438f8", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Authors" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "pagination[limit]": { + "type": "static", + "content": 10 + }, + "pagination[start]": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "start" + } + }, + "populate": { + "type": "static", + "content": "*" + } + } + }, + "f6cdeeaf-d980-4e5f-8bcf-edb3592868db": { + "id": "f6cdeeaf-d980-4e5f-8bcf-edb3592868db", + "name": "Posts-page-initial-paths-f6cde", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Posts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "fields": { + "type": "static", + "content": "id" + } + } + }, + "b89cb7d2-5d51-4a66-a5c1-c8896391f176": { + "id": "b89cb7d2-5d51-4a66-a5c1-c8896391f176", + "name": "Posts-page-initial-props-b89cb", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "api/Posts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "populate": { + "type": "static", + "content": "*" + }, + "filters[id][$eq]": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + } + } + }, + "resourceMappers": { + "normalize": { + "params": [ + "response" + ], + "dependency": { + "type": "package", + "version": "github:teleporthq/teleport-cms-mappers", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "originalName": "normalize", + "importAlias": "@teleporthq/cms-mappers/strapi" + } + } + } + } + } +} diff --git a/examples/uidl-samples/wordpress.json b/examples/uidl-samples/wordpress.json new file mode 100644 index 000000000..da89037b0 --- /dev/null +++ b/examples/uidl-samples/wordpress.json @@ -0,0 +1,9417 @@ +{ + "name": "Rotating Radiant Ape", + "globals": { + "settings": { + "title": "Rotating Radiant Ape", + "language": "en" + }, + "assets": [ + { + "type": "style", + "attrs": { + "data-tag": { + "type": "static", + "content": "reset-style-sheet" + } + }, + "content": "html { line-height: 1.15;}body { margin: 0;}* { box-sizing: border-box; border-width: 0; border-style: solid;}p,li,ul,pre,div,h1,h2,h3,h4,h5,h6,figure,blockquote,figcaption { margin: 0; padding: 0;}button { background-color: transparent;}button,input,optgroup,select,textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0;}button,select { text-transform: none;}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"] { -webkit-appearance: button;}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner { border-style: none; padding: 0;}button:-moz-focus,[type=\"button\"]:-moz-focus,[type=\"reset\"]:-moz-focus,[type=\"submit\"]:-moz-focus { outline: 1px dotted ButtonText;}a { color: inherit; text-decoration: inherit;}input { padding: 2px 4px;}img { display: block;}html { scroll-behavior: smooth }" + }, + { + "type": "style", + "attrs": { + "data-tag": { + "type": "static", + "content": "default-style-sheet" + } + }, + "content": "\n html {\n font-family: Inter;\n font-size: 16px;\n }\n\n body {\n font-weight: 400;\n font-style:normal;\n text-decoration: none;\n text-transform: none;\n letter-spacing: normal;\n line-height: 1.15;\n color: var(--dl-color-gray-black);\n background-color: var(--dl-color-gray-white);\n \n }\n\n \n\n " + }, + { + "type": "font", + "path": "https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap", + "attrs": { + "data-tag": { + "type": "static", + "content": "font" + } + } + } + ], + "meta": [ + { + "name": "viewport", + "content": "width=device-width, initial-scale=1.0" + }, + { + "charSet": "utf-8" + }, + { + "property": "twitter:card", + "content": "summary_large_image" + } + ], + "customCode": { + "head": "", + "body": "" + } + }, + "root": { + "name": "App", + "designLanguage": { + "tokens": { + "--dl-space-space-fiveunits": { + "type": "static", + "content": "80px" + }, + "--dl-size-size-small": { + "type": "static", + "content": "48px" + }, + "--dl-color-success-300": { + "type": "static", + "content": "#199033" + }, + "--dl-color-gray-black": { + "type": "static", + "content": "#000000" + }, + "--dl-color-primary-100": { + "type": "static", + "content": "#003EB3" + }, + "--dl-color-danger-300": { + "type": "static", + "content": "#A22020" + }, + "--dl-size-size-xsmall": { + "type": "static", + "content": "16px" + }, + "--dl-space-space-threeunits": { + "type": "static", + "content": "48px" + }, + "--dl-color-danger-700": { + "type": "static", + "content": "#E14747" + }, + "--dl-size-size-xxlarge": { + "type": "static", + "content": "288px" + }, + "--dl-space-space-fourunits": { + "type": "static", + "content": "64px" + }, + "--dl-size-size-xlarge": { + "type": "static", + "content": "192px" + }, + "--dl-radius-radius-round": { + "type": "static", + "content": "50%" + }, + "--dl-color-gray-700": { + "type": "static", + "content": "#999999" + }, + "--dl-color-success-700": { + "type": "static", + "content": "#4CC366" + }, + "--dl-radius-radius-radius8": { + "type": "static", + "content": "8px" + }, + "--dl-color-primary-500": { + "type": "static", + "content": "#14A9FF" + }, + "--dl-size-size-large": { + "type": "static", + "content": "144px" + }, + "--dl-space-space-sixunits": { + "type": "static", + "content": "96px" + }, + "--dl-radius-radius-radius4": { + "type": "static", + "content": "4px" + }, + "--dl-color-gray-white": { + "type": "static", + "content": "#FFFFFF" + }, + "--dl-space-space-twounits": { + "type": "static", + "content": "32px" + }, + "--dl-color-gray-900": { + "type": "static", + "content": "#D9D9D9" + }, + "--dl-color-primary-700": { + "type": "static", + "content": "#85DCFF" + }, + "--dl-size-size-maxwidth": { + "type": "static", + "content": "1400px" + }, + "--dl-radius-radius-radius2": { + "type": "static", + "content": "2px" + }, + "--dl-space-space-halfunit": { + "type": "static", + "content": "8px" + }, + "--dl-color-gray-500": { + "type": "static", + "content": "#595959" + }, + "--dl-color-success-500": { + "type": "static", + "content": "#32A94C" + }, + "--dl-size-size-medium": { + "type": "static", + "content": "96px" + }, + "--dl-color-danger-500": { + "type": "static", + "content": "#BF2626" + }, + "--dl-space-space-oneandhalfunits": { + "type": "static", + "content": "24px" + }, + "--dl-color-primary-300": { + "type": "static", + "content": "#0074F0" + }, + "--dl-space-space-unit": { + "type": "static", + "content": "16px" + } + } + }, + "styleSetDefinitions": { + "button": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "display": { + "type": "static", + "content": "inline-block" + }, + "padding": { + "type": "static", + "content": "0.5rem 1rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "input": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "cursor": { + "type": "static", + "content": "auto" + }, + "padding": { + "type": "static", + "content": "0.5rem 1rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "textarea": { + "type": "reusable-project-style-map", + "content": { + "color": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "cursor": { + "type": "static", + "content": "auto" + }, + "padding": { + "type": "static", + "content": "0.5rem" + }, + "borderColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-black" + } + }, + "borderWidth": { + "type": "static", + "content": "1px" + }, + "borderRadius": { + "type": "static", + "content": "4px" + }, + "backgroundColor": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-color-gray-white" + } + } + }, + "conditions": [] + }, + "list": { + "type": "reusable-project-style-map", + "content": { + "width": { + "type": "static", + "content": "100%" + }, + "margin": { + "type": "static", + "content": "1em 0px 1em 0px" + }, + "display": { + "type": "static", + "content": "block" + }, + "padding": { + "type": "static", + "content": "0px 0px 0px 1.5rem" + }, + "listStyleType": { + "type": "static", + "content": "none" + }, + "listStylePosition": { + "type": "static", + "content": "outside" + } + }, + "conditions": [] + }, + "list-item": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "list-item" + } + }, + "conditions": [] + }, + "teleport-show": { + "type": "reusable-project-style-map", + "content": { + "display": { + "type": "static", + "content": "flex !important" + }, + "transform": { + "type": "static", + "content": "none !important" + } + }, + "conditions": [] + }, + "Heading": { + "type": "reusable-project-style-map", + "content": { + "fontSize": { + "type": "static", + "content": "32px" + }, + "fontFamily": { + "type": "static", + "content": "Inter" + }, + "fontWeight": { + "type": "static", + "content": "700" + }, + "lineHeight": { + "type": "static", + "content": "1.15" + }, + "textTransform": { + "type": "static", + "content": "none" + }, + "textDecoration": { + "type": "static", + "content": "none" + } + } + }, + "Content": { + "type": "reusable-project-style-map", + "content": { + "fontSize": { + "type": "static", + "content": "16px" + }, + "fontFamily": { + "type": "static", + "content": "Inter" + }, + "fontWeight": { + "type": "static", + "content": "400" + }, + "lineHeight": { + "type": "static", + "content": "1.15" + }, + "textTransform": { + "type": "static", + "content": "none" + }, + "textDecoration": { + "type": "static", + "content": "none" + } + } + } + }, + "stateDefinitions": { + "route": { + "type": "string", + "defaultValue": "Home", + "values": [ + { + "value": "Home", + "seo": { + "title": "Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "stateDefinitions": {}, + "propDefinitions": {} + } + }, + { + "value": "/post/Post", + "seo": { + "title": "Post - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Post - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "PostEntity": { + "id": "231a4330-e73a-4666-ad71-7ca185da6cc3", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/post/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "aa3096d9-f4e2-411a-9997-54750443c556" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "PostEntity", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "5eefb342-b801-4911-98c8-70e5a369c086", + "params": {} + } + } + } + }, + { + "value": "/book/Book", + "seo": { + "title": "Book - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Book - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BookEntity": { + "id": "52fab07f-e0ad-4492-9d04-11a92e3cf1dd", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/book/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "32b55eeb-8801-4cd6-b843-819da2f87d5f" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "BookEntity", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "e54a92eb-15ab-479e-b82d-4d9c262d2b8d", + "params": {} + } + } + } + }, + { + "value": "page/Page", + "seo": { + "title": "Page - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Page - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "PageEntities": { + "id": "654a2c18-ce07-4d0c-b02e-109d93557117", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/page/index", + "initialPropsData": { + "exposeAs": { + "name": "PageEntities", + "valuePath": [] + }, + "resource": { + "id": "45959df8-4d50-49e2-9f3a-776ba5c19c2b", + "params": {} + } + } + } + }, + { + "value": "page/page/Page", + "seo": { + "title": "Page - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Page - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "PageEntities": { + "id": "654a2c18-ce07-4d0c-b02e-109d93557117", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "headers", + "path": [ + "x-wp-total" + ] + } + }, + "navLink": "/page/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [] + }, + "resource": { + "id": "10afa804-d81c-4e25-8830-a9003048fb79" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "PageEntities", + "valuePath": [] + }, + "resource": { + "id": "b1f72aef-145b-42c0-9cf3-28315a843fbb", + "params": {} + } + } + } + }, + { + "value": "/page/Page1", + "seo": { + "title": "Page1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Page1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "PageEntity": { + "id": "e2a13630-fd46-482a-b30f-1578a4d5cb3e", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/page/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "035ac1af-5a2e-42b0-820b-5d793a4890fa" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "PageEntity", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "2dd2b67e-aa4e-4cc1-8eb3-5374e2f51593", + "params": {} + } + } + } + }, + { + "value": "/wp_navigation/Wpnavigation", + "seo": { + "title": "Wpnavigation - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Wpnavigation - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Wp_navigationEntity": { + "id": "c1bb6c0f-c320-4ad3-88b1-fa3d8137c50b", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/wp_navigation/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "ce5a65ee-2e31-4bd6-a46c-53192290467a" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "Wp_navigationEntity", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "832ccadf-8904-4907-a50f-3458447daaf1", + "params": {} + } + } + } + }, + { + "value": "wp_template/Wptemplate", + "seo": { + "title": "Wptemplate - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Wptemplate - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Wp_templateEntities": { + "id": "7bd116ba-ce03-4c97-b0b9-c6fd6b93abdd", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/wp_template/index", + "initialPropsData": { + "exposeAs": { + "name": "Wp_templateEntities", + "valuePath": [] + }, + "resource": { + "id": "6815cf9f-d235-4919-9e09-119132855698", + "params": {} + } + } + } + }, + { + "value": "wp_template/page/Wptemplate", + "seo": { + "title": "Wptemplate - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Wptemplate - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Wp_templateEntities": { + "id": "7bd116ba-ce03-4c97-b0b9-c6fd6b93abdd", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "headers", + "path": [ + "x-wp-total" + ] + } + }, + "navLink": "/wp_template/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [] + }, + "resource": { + "id": "0be53fc9-ab97-41d9-aca3-a856f46d2257" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "Wp_templateEntities", + "valuePath": [] + }, + "resource": { + "id": "dfd4e6dd-bba9-4e65-bb4b-da80573430c8", + "params": {} + } + } + } + }, + { + "value": "book/Book1", + "seo": { + "title": "Book1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Book1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BookEntities": { + "id": "7918369c-b110-4497-a2b4-104d2b5d8763", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/book/index", + "initialPropsData": { + "exposeAs": { + "name": "BookEntities", + "valuePath": [] + }, + "resource": { + "id": "8fcc2af8-0f40-48ac-a48a-1b824f0ec363", + "params": {} + } + } + } + }, + { + "value": "book/page/Book1", + "seo": { + "title": "Book1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Book1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BookEntities": { + "id": "7918369c-b110-4497-a2b4-104d2b5d8763", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "headers", + "path": [ + "x-wp-total" + ] + } + }, + "navLink": "/book/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [] + }, + "resource": { + "id": "df6c7f07-5227-4be7-98b9-d4f625af584c" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "BookEntities", + "valuePath": [] + }, + "resource": { + "id": "e4304fb5-7dc7-4ee3-b633-2fccc8d47446", + "params": {} + } + } + } + }, + { + "value": "wp_template_part/Wptemplatepart", + "seo": { + "title": "Wptemplatepart - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Wptemplatepart - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Wp_template_partEntities": { + "id": "e2a62986-f327-4819-93ac-ce467c9126d0", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/wp_template_part/index", + "initialPropsData": { + "exposeAs": { + "name": "Wp_template_partEntities", + "valuePath": [] + }, + "resource": { + "id": "2a29b4a7-cf7c-4dfe-b8d0-21317bd074cb", + "params": {} + } + } + } + }, + { + "value": "wp_template_part/page/Wptemplatepart", + "seo": { + "title": "Wptemplatepart - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Wptemplatepart - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Wp_template_partEntities": { + "id": "e2a62986-f327-4819-93ac-ce467c9126d0", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "headers", + "path": [ + "x-wp-total" + ] + } + }, + "navLink": "/wp_template_part/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [] + }, + "resource": { + "id": "f078727e-391f-4413-8b57-8ce4c4ed9a9b" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "Wp_template_partEntities", + "valuePath": [] + }, + "resource": { + "id": "7407b8ef-4b2b-4d01-ab07-5ad5a848f236", + "params": {} + } + } + } + }, + { + "value": "nav_menu_item/Navmenuitem", + "seo": { + "title": "Navmenuitem - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Navmenuitem - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Nav_menu_itemEntities": { + "id": "f6bb69ab-d1e7-4ad2-8ee3-72a71bc2ae17", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/nav_menu_item/index", + "initialPropsData": { + "exposeAs": { + "name": "Nav_menu_itemEntities", + "valuePath": [] + }, + "resource": { + "id": "4e40f914-55fe-465a-9647-65ebcbc6a47f", + "params": {} + } + } + } + }, + { + "value": "nav_menu_item/page/Navmenuitem", + "seo": { + "title": "Navmenuitem - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Navmenuitem - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Nav_menu_itemEntities": { + "id": "f6bb69ab-d1e7-4ad2-8ee3-72a71bc2ae17", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "headers", + "path": [ + "x-wp-total" + ] + } + }, + "navLink": "/nav_menu_item/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [] + }, + "resource": { + "id": "81056c01-3284-4e6c-b72b-a0c05db1c7e2" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "Nav_menu_itemEntities", + "valuePath": [] + }, + "resource": { + "id": "0f0051fb-62c1-4cb6-b0a7-0d6ec623fef0", + "params": {} + } + } + } + }, + { + "value": "tessst/Tessst", + "seo": { + "title": "Tessst - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Tessst - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "TessstEntities": { + "id": "652ab8f1-f213-478b-8d5a-e5c39da478e5", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/tessst/index", + "initialPropsData": { + "exposeAs": { + "name": "TessstEntities", + "valuePath": [] + }, + "resource": { + "id": "84dd5813-dbb7-4620-8cd9-a3cc17ce80b8", + "params": {} + } + } + } + }, + { + "value": "tessst/page/Tessst", + "seo": { + "title": "Tessst - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Tessst - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "TessstEntities": { + "id": "652ab8f1-f213-478b-8d5a-e5c39da478e5", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "headers", + "path": [ + "x-wp-total" + ] + } + }, + "navLink": "/tessst/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [] + }, + "resource": { + "id": "395019bb-f3a4-440e-b40c-2183c91d890e" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "TessstEntities", + "valuePath": [] + }, + "resource": { + "id": "3336e254-a8a1-43c6-997a-1e366f96da13", + "params": {} + } + } + } + }, + { + "value": "/wp_template_part/Wptemplatepart1", + "seo": { + "title": "Wptemplatepart1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Wptemplatepart1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Wp_template_partEntity": { + "id": "72b17045-8bda-40de-a1c4-beab1a250616", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/wp_template_part/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "deec7165-d895-469b-b208-f260de903214" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "Wp_template_partEntity", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "fa6f8620-3e84-48df-8904-1b56dbc7b9fd", + "params": {} + } + } + } + }, + { + "value": "/wp_block/Wpblock", + "seo": { + "title": "Wpblock - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Wpblock - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Wp_blockEntity": { + "id": "4238cfa0-6fe9-41ca-9cc0-2640b61b8763", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/wp_block/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "154954a7-0f66-4b90-b906-052abf53ad0a" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "Wp_blockEntity", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "e23d69d0-8799-4114-bc92-aeb0cb89ef83", + "params": {} + } + } + } + }, + { + "value": "post/Post1", + "seo": { + "title": "Post1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Post1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "PostEntities": { + "id": "f558e7fe-53be-4853-a4ac-f6c0dde7e150", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/post/index", + "initialPropsData": { + "exposeAs": { + "name": "PostEntities", + "valuePath": [] + }, + "resource": { + "id": "a5db9056-be99-400f-b3fd-f263d591ff9f", + "params": {} + } + } + } + }, + { + "value": "post/page/Post1", + "seo": { + "title": "Post1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Post1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "PostEntities": { + "id": "f558e7fe-53be-4853-a4ac-f6c0dde7e150", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "headers", + "path": [ + "x-wp-total" + ] + } + }, + "navLink": "/post/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [] + }, + "resource": { + "id": "4647dc25-e3e5-4297-97a7-bf10e9fe18c1" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "PostEntities", + "valuePath": [] + }, + "resource": { + "id": "c59790cb-6202-426c-a552-c86a7f6ceba1", + "params": {} + } + } + } + }, + { + "value": "wp_navigation/Wpnavigation1", + "seo": { + "title": "Wpnavigation1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Wpnavigation1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Wp_navigationEntities": { + "id": "47eee8c7-b049-40d9-bd13-3602efb93161", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/wp_navigation/index", + "initialPropsData": { + "exposeAs": { + "name": "Wp_navigationEntities", + "valuePath": [] + }, + "resource": { + "id": "946c0a8b-c34a-48bf-a330-063b097ad01a", + "params": {} + } + } + } + }, + { + "value": "wp_navigation/page/Wpnavigation1", + "seo": { + "title": "Wpnavigation1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Wpnavigation1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Wp_navigationEntities": { + "id": "47eee8c7-b049-40d9-bd13-3602efb93161", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "headers", + "path": [ + "x-wp-total" + ] + } + }, + "navLink": "/wp_navigation/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [] + }, + "resource": { + "id": "3c4327fa-072c-4101-91b3-6ef78a8c2241" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "Wp_navigationEntities", + "valuePath": [] + }, + "resource": { + "id": "aa1c195e-0680-47df-8701-a2b415331098", + "params": {} + } + } + } + }, + { + "value": "/bogpost/Bogpost", + "seo": { + "title": "Bogpost - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Bogpost - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BogpostEntity": { + "id": "5ff9a219-ae67-4cba-b5f4-611299a7cc87", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/bogpost/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "2771c7e6-a1d7-4007-be98-4888e95e561d" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "BogpostEntity", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "f7b1b131-dd6f-409a-8577-b618a4dc92cb", + "params": {} + } + } + } + }, + { + "value": "/wp_template/Wptemplate1", + "seo": { + "title": "Wptemplate1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Wptemplate1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Wp_templateEntity": { + "id": "295a023e-b2f4-4df7-b403-311de838cd8b", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/wp_template/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "79a49e10-df97-4fb0-9cdd-1b372605ac2f" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "Wp_templateEntity", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "7a85659b-0f32-49fb-a68b-434790dda31c", + "params": {} + } + } + } + }, + { + "value": "attachment/Attachment", + "seo": { + "title": "Attachment - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Attachment - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AttachmentEntities": { + "id": "f8e0c5cc-ff59-451c-ac23-782fb372f541", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/attachment/index", + "initialPropsData": { + "exposeAs": { + "name": "AttachmentEntities", + "valuePath": [] + }, + "resource": { + "id": "896913b7-12ce-41ae-a3d6-a08fd100d36b", + "params": {} + } + } + } + }, + { + "value": "attachment/page/Attachment", + "seo": { + "title": "Attachment - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Attachment - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AttachmentEntities": { + "id": "f8e0c5cc-ff59-451c-ac23-782fb372f541", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "headers", + "path": [ + "x-wp-total" + ] + } + }, + "navLink": "/attachment/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [] + }, + "resource": { + "id": "630bb472-946e-46a5-8ca6-827c750b35f4" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "AttachmentEntities", + "valuePath": [] + }, + "resource": { + "id": "16a49b0b-1104-425d-9673-06830e7005a1", + "params": {} + } + } + } + }, + { + "value": "/nav_menu_item/Navmenuitem1", + "seo": { + "title": "Navmenuitem1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Navmenuitem1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Nav_menu_itemEntity": { + "id": "2eb96099-9cd3-4062-abbf-cf11ffb998b3", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/nav_menu_item/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "a0fe08bb-8e67-4213-ba2b-6083b331ecd4" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "Nav_menu_itemEntity", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "fadc3187-4ddd-4cb6-a58d-9d3997bf0435", + "params": {} + } + } + } + }, + { + "value": "bogpost/Bogpost1", + "seo": { + "title": "Bogpost1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Bogpost1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BogpostEntities": { + "id": "06b3f4d1-3874-403b-a910-caa9964bc2cb", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/bogpost/index", + "initialPropsData": { + "exposeAs": { + "name": "BogpostEntities", + "valuePath": [] + }, + "resource": { + "id": "da95c615-4a57-41d5-a8eb-869fd877403b", + "params": {} + } + } + } + }, + { + "value": "bogpost/page/Bogpost1", + "seo": { + "title": "Bogpost1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Bogpost1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "BogpostEntities": { + "id": "06b3f4d1-3874-403b-a910-caa9964bc2cb", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "headers", + "path": [ + "x-wp-total" + ] + } + }, + "navLink": "/bogpost/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [] + }, + "resource": { + "id": "d521c632-9f9a-4c7b-93f9-a431f35b30ec" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "BogpostEntities", + "valuePath": [] + }, + "resource": { + "id": "fd9d3fe5-50a5-4f99-a470-225538e751ab", + "params": {} + } + } + } + }, + { + "value": "/attachment/Attachment1", + "seo": { + "title": "Attachment1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Attachment1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "AttachmentEntity": { + "id": "fc9fc5b8-d7aa-4ae3-877e-16894cf980c4", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/attachment/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "a306514a-ebb3-4f0f-9fc3-22205bfa21cb" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "AttachmentEntity", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "a15516ef-dd4e-44af-b436-0ac677f5d68a", + "params": {} + } + } + } + }, + { + "value": "/tessst/Tessst1", + "seo": { + "title": "Tessst1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Tessst1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "TessstEntity": { + "id": "dbdc9178-270b-4019-ac08-654786fbf377", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "id", + "navLink": "/tessst/[id]", + "initialPathsData": { + "exposeAs": { + "name": "id", + "valuePath": [], + "itemValuePath": [ + "id" + ] + }, + "resource": { + "id": "ebac5a69-b788-4014-8014-419d4bf373d2" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "TessstEntity", + "valuePath": [], + "itemValuePath": [ + "data" + ] + }, + "resource": { + "id": "4157ebdb-9bff-483c-bb50-436938bdf839", + "params": {} + } + } + } + }, + { + "value": "wp_block/Wpblock1", + "seo": { + "title": "Wpblock1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Wpblock1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Wp_blockEntities": { + "id": "67fd5b03-3ef9-43c4-b7e2-47f529b57b9f", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "navLink": "/wp_block/index", + "initialPropsData": { + "exposeAs": { + "name": "Wp_blockEntities", + "valuePath": [] + }, + "resource": { + "id": "cbf5b851-54c8-430e-bc61-8f4c94e7765a", + "params": {} + } + } + } + }, + { + "value": "wp_block/page/Wpblock1", + "seo": { + "title": "Wpblock1 - Rotating Radiant Ape", + "metaTags": [ + { + "property": "og:title", + "content": "Wpblock1 - Rotating Radiant Ape" + } + ] + }, + "pageOptions": { + "propDefinitions": { + "Wp_blockEntities": { + "id": "67fd5b03-3ef9-43c4-b7e2-47f529b57b9f", + "defaultValue": [], + "type": "array" + } + }, + "stateDefinitions": {}, + "dynamicRouteAttribute": "page", + "pagination": { + "attribute": "page", + "pageSize": 10, + "totalCountPath": { + "type": "headers", + "path": [ + "x-wp-total" + ] + } + }, + "navLink": "/wp_block/page/[page]", + "initialPathsData": { + "exposeAs": { + "name": "page", + "valuePath": [] + }, + "resource": { + "id": "6744a6fc-d6d1-41d5-ab92-a9d49b0e3c92" + } + }, + "initialPropsData": { + "exposeAs": { + "name": "Wp_blockEntities", + "valuePath": [] + }, + "resource": { + "id": "35286407-cad8-496a-bbd3-d18ebc6c6f3e", + "params": {} + } + } + } + }, + { + "value": "404 - Not Found", + "seo": { + "title": "404 - Not Found" + }, + "pageOptions": { + "fallback": true + } + } + ] + } + }, + "propDefinitions": { + "PostEntity": { + "id": "231a4330-e73a-4666-ad71-7ca185da6cc3", + "defaultValue": [], + "type": "array" + }, + "BookEntity": { + "id": "52fab07f-e0ad-4492-9d04-11a92e3cf1dd", + "defaultValue": [], + "type": "array" + }, + "PageEntities": { + "id": "654a2c18-ce07-4d0c-b02e-109d93557117", + "defaultValue": [], + "type": "array" + }, + "PageEntity": { + "id": "e2a13630-fd46-482a-b30f-1578a4d5cb3e", + "defaultValue": [], + "type": "array" + }, + "Wp_navigationEntity": { + "id": "c1bb6c0f-c320-4ad3-88b1-fa3d8137c50b", + "defaultValue": [], + "type": "array" + }, + "Wp_templateEntities": { + "id": "7bd116ba-ce03-4c97-b0b9-c6fd6b93abdd", + "defaultValue": [], + "type": "array" + }, + "BookEntities": { + "id": "7918369c-b110-4497-a2b4-104d2b5d8763", + "defaultValue": [], + "type": "array" + }, + "Wp_template_partEntities": { + "id": "e2a62986-f327-4819-93ac-ce467c9126d0", + "defaultValue": [], + "type": "array" + }, + "Nav_menu_itemEntities": { + "id": "f6bb69ab-d1e7-4ad2-8ee3-72a71bc2ae17", + "defaultValue": [], + "type": "array" + }, + "TessstEntities": { + "id": "652ab8f1-f213-478b-8d5a-e5c39da478e5", + "defaultValue": [], + "type": "array" + }, + "Wp_template_partEntity": { + "id": "72b17045-8bda-40de-a1c4-beab1a250616", + "defaultValue": [], + "type": "array" + }, + "Wp_blockEntity": { + "id": "4238cfa0-6fe9-41ca-9cc0-2640b61b8763", + "defaultValue": [], + "type": "array" + }, + "PostEntities": { + "id": "f558e7fe-53be-4853-a4ac-f6c0dde7e150", + "defaultValue": [], + "type": "array" + }, + "Wp_navigationEntities": { + "id": "47eee8c7-b049-40d9-bd13-3602efb93161", + "defaultValue": [], + "type": "array" + }, + "BogpostEntity": { + "id": "5ff9a219-ae67-4cba-b5f4-611299a7cc87", + "defaultValue": [], + "type": "array" + }, + "Wp_templateEntity": { + "id": "295a023e-b2f4-4df7-b403-311de838cd8b", + "defaultValue": [], + "type": "array" + }, + "AttachmentEntities": { + "id": "f8e0c5cc-ff59-451c-ac23-782fb372f541", + "defaultValue": [], + "type": "array" + }, + "Nav_menu_itemEntity": { + "id": "2eb96099-9cd3-4062-abbf-cf11ffb998b3", + "defaultValue": [], + "type": "array" + }, + "BogpostEntities": { + "id": "06b3f4d1-3874-403b-a910-caa9964bc2cb", + "defaultValue": [], + "type": "array" + }, + "AttachmentEntity": { + "id": "fc9fc5b8-d7aa-4ae3-877e-16894cf980c4", + "defaultValue": [], + "type": "array" + }, + "TessstEntity": { + "id": "dbdc9178-270b-4019-ac08-654786fbf377", + "defaultValue": [], + "type": "array" + }, + "Wp_blockEntities": { + "id": "67fd5b03-3ef9-43c4-b7e2-47f529b57b9f", + "defaultValue": [], + "type": "array" + } + }, + "node": { + "type": "element", + "content": { + "elementType": "Router", + "children": [ + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "justifyContent": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h3", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "static", + "content": "OOPS! PAGE NOT FOUND" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "justifyContent": { + "type": "static", + "content": "center" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "position": { + "type": "static", + "content": "relative" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "style": { + "fontWeight": { + "type": "static", + "content": "900" + }, + "fontSize": { + "type": "static", + "content": "252px" + }, + "letterSpacing": { + "type": "static", + "content": "-20px" + }, + "color": { + "type": "static", + "content": "rgb(38, 38, 38)" + }, + "marginTop": { + "type": "static", + "content": "-20px" + }, + "marginBottom": { + "type": "static", + "content": "-20px" + } + }, + "children": [ + { + "type": "static", + "content": "404" + } + ] + } + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "justifyContent": { + "type": "static", + "content": "center" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "width": { + "type": "static", + "content": "421px" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h2", + "referencedStyles": {}, + "abilities": {}, + "style": { + "textAlign": { + "type": "static", + "content": "center" + }, + "fontWeight": { + "type": "static", + "content": "400" + } + }, + "children": [ + { + "type": "static", + "content": "WE ARE SORRY, BUT THE PAGE YOU REQUESTED WAS NOT FOUND" + } + ] + } + } + ] + } + } + ] + } + }, + "value": "404 - Not Found", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + } + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "padding": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-threeunits" + } + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "flex-start" + }, + "flexDirection": { + "type": "static", + "content": "column" + }, + "justifyContent": { + "type": "static", + "content": "center" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "renderPropIdentifier": "context_vn4mdl", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "style": { + "marginTop": { + "type": "dynamic", + "content": { + "referenceType": "token", + "id": "--dl-space-space-oneandhalfunits" + } + } + }, + "children": [ + { + "type": "expr", + "content": "context_vn4mdl?.slug" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "children": [ + { + "type": "element", + "content": { + "elementType": "html-node", + "referencedStyles": {}, + "attrs": { + "html": { + "type": "expr", + "content": "context_vn4mdl?.content?.rendered" + } + }, + "children": [] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "context_vn4mdl" + } + } + ] + } + } + }, + "valuePath": [], + "resource": { + "id": "063aff17-8acf-4d05-80b7-88bfd307f7a5", + "params": {} + } + } + } + ] + } + }, + "value": "Home", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "PostEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "PostEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PostEntity?.title?.rendered" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "html-node", + "referencedStyles": {}, + "attrs": { + "html": { + "type": "expr", + "content": "PostEntity?.content?.rendered" + } + }, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [] + } + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/post/Post", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BookEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "BookEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntity?.title?.rendered" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "html-node", + "referencedStyles": {}, + "attrs": { + "html": { + "type": "expr", + "content": "BookEntity?.content?.rendered" + } + }, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [] + } + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/book/Book", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "PageEntities" + } + }, + "renderPropIdentifier": "PageEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PageEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "PageEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "page/Page", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "PageEntities" + } + }, + "renderPropIdentifier": "PageEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PageEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "PageEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "page/page/Page", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "PageEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "PageEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PageEntity?.title?.rendered" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "html-node", + "referencedStyles": {}, + "attrs": { + "html": { + "type": "expr", + "content": "PageEntity?.content?.rendered" + } + }, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [] + } + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/page/Page1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Wp_navigationEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "Wp_navigationEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Wp_navigationEntity?.title?.rendered" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "html-node", + "referencedStyles": {}, + "attrs": { + "html": { + "type": "expr", + "content": "Wp_navigationEntity?.content?.rendered" + } + }, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [] + } + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/wp_navigation/Wpnavigation", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Wp_templateEntities" + } + }, + "renderPropIdentifier": "Wp_templateEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Wp_templateEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "Wp_templateEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "wp_template/Wptemplate", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Wp_templateEntities" + } + }, + "renderPropIdentifier": "Wp_templateEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Wp_templateEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "Wp_templateEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "wp_template/page/Wptemplate", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BookEntities" + } + }, + "renderPropIdentifier": "BookEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.title?.rendered" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.acf?.publisher" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.acf?.description" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.acf?.richtext" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.acf?.another_rich_text" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "BookEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "book/Book1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BookEntities" + } + }, + "renderPropIdentifier": "BookEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.title?.rendered" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.acf?.publisher" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.acf?.description" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.acf?.richtext" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BookEntities?.acf?.another_rich_text" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "BookEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "book/page/Book1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Wp_template_partEntities" + } + }, + "renderPropIdentifier": "Wp_template_partEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Wp_template_partEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "Wp_template_partEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "wp_template_part/Wptemplatepart", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Wp_template_partEntities" + } + }, + "renderPropIdentifier": "Wp_template_partEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Wp_template_partEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "Wp_template_partEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "wp_template_part/page/Wptemplatepart", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Nav_menu_itemEntities" + } + }, + "renderPropIdentifier": "Nav_menu_itemEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Nav_menu_itemEntities?.title" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "Nav_menu_itemEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "nav_menu_item/Navmenuitem", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Nav_menu_itemEntities" + } + }, + "renderPropIdentifier": "Nav_menu_itemEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Nav_menu_itemEntities?.title" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "Nav_menu_itemEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "nav_menu_item/page/Navmenuitem", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "TessstEntities" + } + }, + "renderPropIdentifier": "TessstEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "TessstEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "TessstEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "tessst/Tessst", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "TessstEntities" + } + }, + "renderPropIdentifier": "TessstEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "TessstEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "TessstEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "tessst/page/Tessst", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Wp_template_partEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "Wp_template_partEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Wp_template_partEntity?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/wp_template_part/Wptemplatepart1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Wp_blockEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "Wp_blockEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Wp_blockEntity?.date" + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/wp_block/Wpblock", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "PostEntities" + } + }, + "renderPropIdentifier": "PostEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PostEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "PostEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "post/Post1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "PostEntities" + } + }, + "renderPropIdentifier": "PostEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "PostEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "PostEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "post/page/Post1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Wp_navigationEntities" + } + }, + "renderPropIdentifier": "Wp_navigationEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Wp_navigationEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "Wp_navigationEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "wp_navigation/Wpnavigation1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Wp_navigationEntities" + } + }, + "renderPropIdentifier": "Wp_navigationEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Wp_navigationEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "Wp_navigationEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "wp_navigation/page/Wpnavigation1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BogpostEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "BogpostEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BogpostEntity?.title?.rendered" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "html-node", + "referencedStyles": {}, + "attrs": { + "html": { + "type": "expr", + "content": "BogpostEntity?.content?.rendered" + } + }, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [] + } + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/bogpost/Bogpost", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Wp_templateEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "Wp_templateEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Wp_templateEntity?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/wp_template/Wptemplate1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AttachmentEntities" + } + }, + "renderPropIdentifier": "AttachmentEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AttachmentEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "AttachmentEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "attachment/Attachment", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AttachmentEntities" + } + }, + "renderPropIdentifier": "AttachmentEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AttachmentEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "AttachmentEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "attachment/page/Attachment", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Nav_menu_itemEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "Nav_menu_itemEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Nav_menu_itemEntity?.title" + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/nav_menu_item/Navmenuitem1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BogpostEntities" + } + }, + "renderPropIdentifier": "BogpostEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BogpostEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "BogpostEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "bogpost/Bogpost1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "BogpostEntities" + } + }, + "renderPropIdentifier": "BogpostEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "BogpostEntities?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "BogpostEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "bogpost/page/Bogpost1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "AttachmentEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "AttachmentEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "AttachmentEntity?.title?.rendered" + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/attachment/Attachment1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-item", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "TessstEntity" + } + }, + "entityKeyProperty": "id", + "renderPropIdentifier": "TessstEntity", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "h1", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "TessstEntity?.title?.rendered" + } + ] + } + }, + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "html-node", + "referencedStyles": {}, + "attrs": { + "html": { + "type": "expr", + "content": "TessstEntity?.content?.rendered" + } + }, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "alignSelf": { + "type": "static", + "content": "stretch" + } + }, + "children": [] + } + } + ] + } + } + ] + } + } + ] + } + } + }, + "itemValuePath": [ + "data" + ] + } + } + ] + } + }, + "value": "/tessst/Tessst1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Wp_blockEntities" + } + }, + "renderPropIdentifier": "Wp_blockEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Wp_blockEntities?.date" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "Wp_blockEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "wp_block/Wpblock1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + }, + { + "type": "conditional", + "content": { + "node": { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "overflow": { + "type": "static", + "content": "auto" + }, + "minHeight": { + "type": "static", + "content": "100vh" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "cms-list", + "content": { + "elementType": "DataProvider", + "dependency": { + "type": "package", + "path": "@teleporthq/react-components", + "version": "latest", + "meta": { + "namedImport": true + } + }, + "initialData": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "Wp_blockEntities" + } + }, + "renderPropIdentifier": "Wp_blockEntities", + "nodes": { + "success": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "cms-list-repeater", + "content": { + "elementType": "cms-list-repeater", + "nodes": { + "list": { + "type": "element", + "content": { + "elementType": "fragment", + "children": [ + { + "type": "element", + "content": { + "elementType": "container", + "semanticType": "div", + "referencedStyles": {}, + "abilities": {}, + "style": { + "gap": { + "type": "static", + "content": "12px" + }, + "width": { + "type": "static", + "content": "100%" + }, + "display": { + "type": "static", + "content": "flex" + }, + "alignItems": { + "type": "static", + "content": "center" + }, + "flexDirection": { + "type": "static", + "content": "column" + } + }, + "children": [ + { + "type": "element", + "content": { + "elementType": "text", + "semanticType": "span", + "referencedStyles": {}, + "abilities": {}, + "children": [ + { + "type": "expr", + "content": "Wp_blockEntities?.date" + } + ] + } + } + ] + } + } + ] + } + } + }, + "renderPropIdentifier": "Wp_blockEntities" + } + } + ] + } + } + }, + "valuePath": [] + } + } + ] + } + }, + "value": "wp_block/page/Wpblock1", + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "route" + } + }, + "importDefinitions": {} + } + } + ] + } + } + }, + "components": {}, + "resources": { + "items": { + "063aff17-8acf-4d05-80b7-88bfd307f7a5": { + "id": "063aff17-8acf-4d05-80b7-88bfd307f7a5", + "name": "Home", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/book" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": 100 + }, + "page": { + "type": "static", + "content": 1 + } + }, + "response": { + "type": "none" + } + }, + "aa3096d9-f4e2-411a-9997-54750443c556": { + "id": "aa3096d9-f4e2-411a-9997-54750443c556", + "name": "Post-page-initial-paths-aa309", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/posts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "100" + } + } + }, + "5eefb342-b801-4911-98c8-70e5a369c086": { + "id": "5eefb342-b801-4911-98c8-70e5a369c086", + "name": "Post-page-initial-props-5eefb", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/posts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "50" + }, + "include": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + }, + "response": { + "type": "none" + } + }, + "32b55eeb-8801-4cd6-b843-819da2f87d5f": { + "id": "32b55eeb-8801-4cd6-b843-819da2f87d5f", + "name": "Book-page-initial-paths-32b55", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/book" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "100" + } + } + }, + "e54a92eb-15ab-479e-b82d-4d9c262d2b8d": { + "id": "e54a92eb-15ab-479e-b82d-4d9c262d2b8d", + "name": "Book-page-initial-props-e54a9", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/book" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "50" + }, + "include": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + }, + "response": { + "type": "none" + } + }, + "45959df8-4d50-49e2-9f3a-776ba5c19c2b": { + "id": "45959df8-4d50-49e2-9f3a-776ba5c19c2b", + "name": "Page-page-initial-props-45959", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/pages" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "10afa804-d81c-4e25-8830-a9003048fb79": { + "id": "10afa804-d81c-4e25-8830-a9003048fb79", + "name": "Page-page-initial-paths-10afa", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/pages" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": 1 + } + }, + "response": { + "type": "headers" + } + }, + "b1f72aef-145b-42c0-9cf3-28315a843fbb": { + "id": "b1f72aef-145b-42c0-9cf3-28315a843fbb", + "name": "Page-page-initial-props-b1f72", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/pages" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "page" + } + }, + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "035ac1af-5a2e-42b0-820b-5d793a4890fa": { + "id": "035ac1af-5a2e-42b0-820b-5d793a4890fa", + "name": "Page-page-initial-paths-035ac", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/pages" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "100" + } + } + }, + "2dd2b67e-aa4e-4cc1-8eb3-5374e2f51593": { + "id": "2dd2b67e-aa4e-4cc1-8eb3-5374e2f51593", + "name": "Page-page-initial-props-2dd2b", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/pages" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "50" + }, + "include": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + }, + "response": { + "type": "none" + } + }, + "ce5a65ee-2e31-4bd6-a46c-53192290467a": { + "id": "ce5a65ee-2e31-4bd6-a46c-53192290467a", + "name": "Wp_navigation-page-initial-paths-ce5a6", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/navigation" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "100" + } + } + }, + "832ccadf-8904-4907-a50f-3458447daaf1": { + "id": "832ccadf-8904-4907-a50f-3458447daaf1", + "name": "Wp_navigation-page-initial-props-832cc", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/navigation" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "50" + }, + "include": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + }, + "response": { + "type": "none" + } + }, + "6815cf9f-d235-4919-9e09-119132855698": { + "id": "6815cf9f-d235-4919-9e09-119132855698", + "name": "Wp_template-page-initial-props-6815c", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/templates" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "0be53fc9-ab97-41d9-aca3-a856f46d2257": { + "id": "0be53fc9-ab97-41d9-aca3-a856f46d2257", + "name": "Wp_template-page-initial-paths-0be53", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/templates" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": 1 + } + }, + "response": { + "type": "headers" + } + }, + "dfd4e6dd-bba9-4e65-bb4b-da80573430c8": { + "id": "dfd4e6dd-bba9-4e65-bb4b-da80573430c8", + "name": "Wp_template-page-initial-props-dfd4e", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/templates" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "page" + } + }, + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "8fcc2af8-0f40-48ac-a48a-1b824f0ec363": { + "id": "8fcc2af8-0f40-48ac-a48a-1b824f0ec363", + "name": "Book-page-initial-props-8fcc2", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/book" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "df6c7f07-5227-4be7-98b9-d4f625af584c": { + "id": "df6c7f07-5227-4be7-98b9-d4f625af584c", + "name": "Book-page-initial-paths-df6c7", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/book" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": 1 + } + }, + "response": { + "type": "headers" + } + }, + "e4304fb5-7dc7-4ee3-b633-2fccc8d47446": { + "id": "e4304fb5-7dc7-4ee3-b633-2fccc8d47446", + "name": "Book-page-initial-props-e4304", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/book" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "page" + } + }, + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "2a29b4a7-cf7c-4dfe-b8d0-21317bd074cb": { + "id": "2a29b4a7-cf7c-4dfe-b8d0-21317bd074cb", + "name": "Wp_template_part-page-initial-props-2a29b", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/template-parts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "f078727e-391f-4413-8b57-8ce4c4ed9a9b": { + "id": "f078727e-391f-4413-8b57-8ce4c4ed9a9b", + "name": "Wp_template_part-page-initial-paths-f0787", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/template-parts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": 1 + } + }, + "response": { + "type": "headers" + } + }, + "7407b8ef-4b2b-4d01-ab07-5ad5a848f236": { + "id": "7407b8ef-4b2b-4d01-ab07-5ad5a848f236", + "name": "Wp_template_part-page-initial-props-7407b", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/template-parts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "page" + } + }, + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "4e40f914-55fe-465a-9647-65ebcbc6a47f": { + "id": "4e40f914-55fe-465a-9647-65ebcbc6a47f", + "name": "Nav_menu_item-page-initial-props-4e40f", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/menu-items" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "81056c01-3284-4e6c-b72b-a0c05db1c7e2": { + "id": "81056c01-3284-4e6c-b72b-a0c05db1c7e2", + "name": "Nav_menu_item-page-initial-paths-81056", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/menu-items" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": 1 + } + }, + "response": { + "type": "headers" + } + }, + "0f0051fb-62c1-4cb6-b0a7-0d6ec623fef0": { + "id": "0f0051fb-62c1-4cb6-b0a7-0d6ec623fef0", + "name": "Nav_menu_item-page-initial-props-0f005", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/menu-items" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "page" + } + }, + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "84dd5813-dbb7-4620-8cd9-a3cc17ce80b8": { + "id": "84dd5813-dbb7-4620-8cd9-a3cc17ce80b8", + "name": "Tessst-page-initial-props-84dd5", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/tessst" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "395019bb-f3a4-440e-b40c-2183c91d890e": { + "id": "395019bb-f3a4-440e-b40c-2183c91d890e", + "name": "Tessst-page-initial-paths-39501", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/tessst" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": 1 + } + }, + "response": { + "type": "headers" + } + }, + "3336e254-a8a1-43c6-997a-1e366f96da13": { + "id": "3336e254-a8a1-43c6-997a-1e366f96da13", + "name": "Tessst-page-initial-props-3336e", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/tessst" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "page" + } + }, + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "deec7165-d895-469b-b208-f260de903214": { + "id": "deec7165-d895-469b-b208-f260de903214", + "name": "Wp_template_part-page-initial-paths-deec7", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/template-parts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "100" + } + } + }, + "fa6f8620-3e84-48df-8904-1b56dbc7b9fd": { + "id": "fa6f8620-3e84-48df-8904-1b56dbc7b9fd", + "name": "Wp_template_part-page-initial-props-fa6f8", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/template-parts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "50" + }, + "include": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + }, + "response": { + "type": "none" + } + }, + "154954a7-0f66-4b90-b906-052abf53ad0a": { + "id": "154954a7-0f66-4b90-b906-052abf53ad0a", + "name": "Wp_block-page-initial-paths-15495", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/blocks" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "100" + } + } + }, + "e23d69d0-8799-4114-bc92-aeb0cb89ef83": { + "id": "e23d69d0-8799-4114-bc92-aeb0cb89ef83", + "name": "Wp_block-page-initial-props-e23d6", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/blocks" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "50" + }, + "include": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + }, + "response": { + "type": "none" + } + }, + "a5db9056-be99-400f-b3fd-f263d591ff9f": { + "id": "a5db9056-be99-400f-b3fd-f263d591ff9f", + "name": "Post-page-initial-props-a5db9", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/posts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "4647dc25-e3e5-4297-97a7-bf10e9fe18c1": { + "id": "4647dc25-e3e5-4297-97a7-bf10e9fe18c1", + "name": "Post-page-initial-paths-4647d", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/posts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": 1 + } + }, + "response": { + "type": "headers" + } + }, + "c59790cb-6202-426c-a552-c86a7f6ceba1": { + "id": "c59790cb-6202-426c-a552-c86a7f6ceba1", + "name": "Post-page-initial-props-c5979", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/posts" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "page" + } + }, + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "946c0a8b-c34a-48bf-a330-063b097ad01a": { + "id": "946c0a8b-c34a-48bf-a330-063b097ad01a", + "name": "Wp_navigation-page-initial-props-946c0", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/navigation" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "3c4327fa-072c-4101-91b3-6ef78a8c2241": { + "id": "3c4327fa-072c-4101-91b3-6ef78a8c2241", + "name": "Wp_navigation-page-initial-paths-3c432", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/navigation" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": 1 + } + }, + "response": { + "type": "headers" + } + }, + "aa1c195e-0680-47df-8701-a2b415331098": { + "id": "aa1c195e-0680-47df-8701-a2b415331098", + "name": "Wp_navigation-page-initial-props-aa1c1", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/navigation" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "page" + } + }, + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "2771c7e6-a1d7-4007-be98-4888e95e561d": { + "id": "2771c7e6-a1d7-4007-be98-4888e95e561d", + "name": "Bogpost-page-initial-paths-2771c", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/bogpost" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "100" + } + } + }, + "f7b1b131-dd6f-409a-8577-b618a4dc92cb": { + "id": "f7b1b131-dd6f-409a-8577-b618a4dc92cb", + "name": "Bogpost-page-initial-props-f7b1b", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/bogpost" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "50" + }, + "include": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + }, + "response": { + "type": "none" + } + }, + "79a49e10-df97-4fb0-9cdd-1b372605ac2f": { + "id": "79a49e10-df97-4fb0-9cdd-1b372605ac2f", + "name": "Wp_template-page-initial-paths-79a49", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/templates" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "100" + } + } + }, + "7a85659b-0f32-49fb-a68b-434790dda31c": { + "id": "7a85659b-0f32-49fb-a68b-434790dda31c", + "name": "Wp_template-page-initial-props-7a856", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/templates" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "50" + }, + "include": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + }, + "response": { + "type": "none" + } + }, + "896913b7-12ce-41ae-a3d6-a08fd100d36b": { + "id": "896913b7-12ce-41ae-a3d6-a08fd100d36b", + "name": "Attachment-page-initial-props-89691", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/media" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "630bb472-946e-46a5-8ca6-827c750b35f4": { + "id": "630bb472-946e-46a5-8ca6-827c750b35f4", + "name": "Attachment-page-initial-paths-630bb", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/media" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": 1 + } + }, + "response": { + "type": "headers" + } + }, + "16a49b0b-1104-425d-9673-06830e7005a1": { + "id": "16a49b0b-1104-425d-9673-06830e7005a1", + "name": "Attachment-page-initial-props-16a49", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/media" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "page" + } + }, + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "a0fe08bb-8e67-4213-ba2b-6083b331ecd4": { + "id": "a0fe08bb-8e67-4213-ba2b-6083b331ecd4", + "name": "Nav_menu_item-page-initial-paths-a0fe0", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/menu-items" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "100" + } + } + }, + "fadc3187-4ddd-4cb6-a58d-9d3997bf0435": { + "id": "fadc3187-4ddd-4cb6-a58d-9d3997bf0435", + "name": "Nav_menu_item-page-initial-props-fadc3", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/menu-items" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "50" + }, + "include": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + }, + "response": { + "type": "none" + } + }, + "da95c615-4a57-41d5-a8eb-869fd877403b": { + "id": "da95c615-4a57-41d5-a8eb-869fd877403b", + "name": "Bogpost-page-initial-props-da95c", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/bogpost" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "d521c632-9f9a-4c7b-93f9-a431f35b30ec": { + "id": "d521c632-9f9a-4c7b-93f9-a431f35b30ec", + "name": "Bogpost-page-initial-paths-d521c", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/bogpost" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": 1 + } + }, + "response": { + "type": "headers" + } + }, + "fd9d3fe5-50a5-4f99-a470-225538e751ab": { + "id": "fd9d3fe5-50a5-4f99-a470-225538e751ab", + "name": "Bogpost-page-initial-props-fd9d3", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/bogpost" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "page" + } + }, + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "a306514a-ebb3-4f0f-9fc3-22205bfa21cb": { + "id": "a306514a-ebb3-4f0f-9fc3-22205bfa21cb", + "name": "Attachment-page-initial-paths-a3065", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/media" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "100" + } + } + }, + "a15516ef-dd4e-44af-b436-0ac677f5d68a": { + "id": "a15516ef-dd4e-44af-b436-0ac677f5d68a", + "name": "Attachment-page-initial-props-a1551", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/media" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "50" + }, + "include": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + }, + "response": { + "type": "none" + } + }, + "ebac5a69-b788-4014-8014-419d4bf373d2": { + "id": "ebac5a69-b788-4014-8014-419d4bf373d2", + "name": "Tessst-page-initial-paths-ebac5", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/tessst" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "100" + } + } + }, + "4157ebdb-9bff-483c-bb50-436938bdf839": { + "id": "4157ebdb-9bff-483c-bb50-436938bdf839", + "name": "Tessst-page-initial-props-4157e", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/tessst" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "50" + }, + "include": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "id" + } + } + }, + "response": { + "type": "none" + } + }, + "cbf5b851-54c8-430e-bc61-8f4c94e7765a": { + "id": "cbf5b851-54c8-430e-bc61-8f4c94e7765a", + "name": "Wp_block-page-initial-props-cbf5b", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/blocks" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + }, + "6744a6fc-d6d1-41d5-ab92-a9d49b0e3c92": { + "id": "6744a6fc-d6d1-41d5-ab92-a9d49b0e3c92", + "name": "Wp_block-page-initial-paths-6744a", + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/blocks" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "per_page": { + "type": "static", + "content": 1 + } + }, + "response": { + "type": "headers" + } + }, + "35286407-cad8-496a-bbd3-d18ebc6c6f3e": { + "id": "35286407-cad8-496a-bbd3-d18ebc6c6f3e", + "name": "Wp_block-page-initial-props-35286", + "mappers": [ + "normalize" + ], + "path": { + "baseUrl": { + "type": "env", + "content": "CMS_URL" + }, + "route": { + "type": "static", + "content": "wp-json/wp/v2/blocks" + } + }, + "headers": { + "authToken": { + "type": "env", + "content": "CMS_ACCESS_TOKEN" + } + }, + "params": { + "page": { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "page" + } + }, + "per_page": { + "type": "static", + "content": "10" + } + }, + "response": { + "type": "none" + } + } + }, + "resourceMappers": { + "normalize": { + "params": [ + "response", + "params" + ], + "dependency": { + "type": "package", + "version": "latest", + "path": "@teleporthq/cms-mappers", + "meta": { + "namedImport": true, + "originalName": "normalize", + "importAlias": "@teleporthq/cms-mappers/wordpress" + } + } + } + } + } +} diff --git a/lerna.json b/lerna.json index 76555b4b9..17b1b8673 100644 --- a/lerna.json +++ b/lerna.json @@ -2,13 +2,14 @@ "packages": [ "packages/*" ], - "version": "0.31.6", + "version": "0.32.0", "useWorkspaces": true, "npmClient": "yarn", "command": { "version": { "allowBranch": [ "development", + "feat/better-fetch", "hotfix/*" ], "message": "chore(release): 'publish %s'" diff --git a/package.json b/package.json index a656b05e6..f3a24257f 100755 --- a/package.json +++ b/package.json @@ -1,76 +1,79 @@ { - "name": "root", - "workspaces": [ - "packages/*" - ], - "private": true, - "description": "Code generators and UIDL definition library", - "scripts": { - "lint": "tslint -p . -c tslint.json", - "clean": "lerna run clean --parallel", - "link": "lerna link", - "build": "yarn run clean && yarn run link && lerna run build ", - "dev": "yarn run link && lerna run build && node scripts/watcher.mjs", - "test": "jest", - "test:perf": "jest __tests__/performance", - "test:watch": "jest --watch --silent=false", - "test:clearcache": "jest --clearCache", - "test:coverage": "yarn run test -- --coverage --no-cache", - "upload:coverage": "codecov", - "commitizen": "git-cz", - "add-contributor": "all-contributors add", - "changelog": "lerna-changelog", - "version": "lerna version", - "publish": "lerna publish from-package --no-verify-access", - "local:adduser": "npm adduser --registry http://localhost:4873", - "local:publish": "lerna exec --bail=false -- npm publish -f --registry http://localhost:4873", - "local:unpublish": "lerna exec --bail=false -- npm unpublish -f --registry http://localhost:4873" - }, - "husky": { - "hooks": { - "pre-commit": "pretty-quick --staged && npm run lint" - } - }, - "engines": { - "node": ">=18.x" - }, - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/teleporthq/teleport-code-generators.git" - }, - "author": "teleportHQ", - "license": "MIT", - "homepage": "https://teleporthq.io/", - "devDependencies": { - "@types/babel-types": "^7.0.7", - "@types/jest": "^25.1.1", - "@types/node": "^16.11.7", - "@types/prettier": "^2.1.6", - "@types/rimraf": "^2.0.3", - "all-contributors-cli": "^6.13.0", - "chalk": "^2.4.2", - "chokidar": "^3.0.2", - "codecov": "^3.8.3", - "commitizen": "^4.2.5", - "cz-conventional-changelog": "^3.3.0", - "husky": "^3.0.4", - "jest": "^26.6.3", - "lerna": "^5.3.0", - "lerna-changelog": "^2.2.0", - "prettier": "2.3.1", - "pretty-quick": "^3.1.0", - "rimraf": "^3.0.0", - "ts-jest": "^26.5.6", - "tslint": "^6.0.0", - "tslint-config-prettier": "^1.18.0", - "typescript": "^5.0.2" - }, - "resolutions": { - "parse5": "^7.1.2" - }, - "config": { - "commitizen": { - "path": "./node_modules/cz-conventional-changelog" - } + "name": "root", + "workspaces": [ + "packages/*" + ], + "private": true, + "description": "Code generators and UIDL definition library", + "scripts": { + "lint": "tslint -p . -c tslint.json", + "clean": "lerna run clean --parallel", + "link": "lerna link", + "build": "yarn run clean && yarn run link && lerna run build ", + "dev": "yarn run link && lerna run build && node scripts/watcher.mjs", + "test": "jest", + "test:perf": "jest __tests__/performance", + "test:watch": "jest --watch --silent=false", + "test:clearcache": "jest --clearCache", + "test:coverage": "yarn run test -- --coverage --no-cache", + "upload:coverage": "codecov", + "commitizen": "git-cz", + "add-contributor": "all-contributors add", + "changelog": "lerna-changelog", + "version": "lerna version", + "many:check": "manypkg check", + "many:fix": "manypkg fix", + "publish": "lerna publish from-package --no-verify-access", + "local:adduser": "npm adduser --registry http://localhost:4873", + "local:publish": "lerna exec --bail=false -- npm publish -f --registry http://localhost:4873", + "local:unpublish": "lerna exec --bail=false -- npm unpublish -f --registry http://localhost:4873" + }, + "husky": { + "hooks": { + "pre-commit": "pretty-quick --staged && npm run lint && npm run many:check" } + }, + "engines": { + "node": ">=18.x" + }, + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/teleporthq/teleport-code-generators.git" + }, + "author": "teleportHQ", + "license": "MIT", + "homepage": "https://teleporthq.io/", + "dependencies": { + "@manypkg/cli": "^0.20.0", + "@types/babel-types": "^7.0.7", + "@types/jest": "^25.1.1", + "@types/node": "18", + "@types/prettier": "^2.1.6", + "@types/rimraf": "^2.0.3", + "all-contributors-cli": "^6.13.0", + "chalk": "^2.4.2", + "chokidar": "^3.0.2", + "codecov": "^3.8.3", + "commitizen": "^4.2.5", + "cz-conventional-changelog": "^3.3.0", + "husky": "^3.0.4", + "jest": "^26.6.3", + "lerna": "^5.3.0", + "lerna-changelog": "^2.2.0", + "prettier": "^2.3.1", + "pretty-quick": "^3.1.0", + "rimraf": "^3.0.0", + "ts-jest": "^26.5.6", + "tslint": "^6.0.0", + "tslint-config-prettier": "^1.18.0", + "typescript": "^4.3.5" + }, + "config": { + "commitizen": { + "path": "./node_modules/cz-conventional-changelog" + } + }, + "resolutions": { + "parse5": "^7.1.2" + } } diff --git a/packages/teleport-code-generator/package.json b/packages/teleport-code-generator/package.json index a966f8b05..44f802303 100644 --- a/packages/teleport-code-generator/package.json +++ b/packages/teleport-code-generator/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-code-generator", - "version": "0.31.6", + "version": "0.32.0", "description": "A standalone version of the teleport ecosystem with all the project and component generators installed", "author": "teleportHQ", "license": "MIT", @@ -23,25 +23,27 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-component-generator-angular": "^0.31.6", - "@teleporthq/teleport-component-generator-html": "^0.31.6", - "@teleporthq/teleport-component-generator-react": "^0.31.6", - "@teleporthq/teleport-component-generator-vue": "^0.31.6", - "@teleporthq/teleport-project-generator-angular": "^0.31.6", - "@teleporthq/teleport-project-generator-html": "^0.31.6", - "@teleporthq/teleport-project-generator-next": "^0.31.6", - "@teleporthq/teleport-project-generator-nuxt": "^0.31.6", - "@teleporthq/teleport-project-generator-react": "^0.31.6", - "@teleporthq/teleport-project-generator-vue": "^0.31.6", - "@teleporthq/teleport-project-packer": "^0.31.6", - "@teleporthq/teleport-publisher-codesandbox": "^0.31.4", - "@teleporthq/teleport-publisher-disk": "^0.31.0", - "@teleporthq/teleport-publisher-github": "^0.31.6", - "@teleporthq/teleport-publisher-netlify": "^0.31.0", - "@teleporthq/teleport-publisher-vercel": "^0.31.0", - "@teleporthq/teleport-publisher-zip": "^0.31.0", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-component-generator-angular": "^0.32.0", + "@teleporthq/teleport-component-generator-html": "^0.32.0", + "@teleporthq/teleport-component-generator-react": "^0.32.0", + "@teleporthq/teleport-component-generator-vue": "^0.32.0", + "@teleporthq/teleport-project-generator-angular": "^0.32.0", + "@teleporthq/teleport-project-generator-html": "^0.32.0", + "@teleporthq/teleport-project-generator-next": "^0.32.0", + "@teleporthq/teleport-project-generator-nuxt": "^0.32.0", + "@teleporthq/teleport-project-generator-react": "^0.32.0", + "@teleporthq/teleport-project-generator-vue": "^0.32.0", + "@teleporthq/teleport-project-packer": "^0.32.0", + "@teleporthq/teleport-project-plugin-api-routes": "^0.32.0", + "@teleporthq/teleport-project-plugin-inline-fetch": "^0.32.0", + "@teleporthq/teleport-publisher-codesandbox": "^0.32.0", + "@teleporthq/teleport-publisher-disk": "^0.32.0", + "@teleporthq/teleport-publisher-github": "^0.32.0", + "@teleporthq/teleport-publisher-netlify": "^0.32.0", + "@teleporthq/teleport-publisher-vercel": "^0.32.0", + "@teleporthq/teleport-publisher-zip": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-code-generator/src/index.ts b/packages/teleport-code-generator/src/index.ts index 2b5be0dc1..0598966b3 100644 --- a/packages/teleport-code-generator/src/index.ts +++ b/packages/teleport-code-generator/src/index.ts @@ -68,6 +68,7 @@ import { PlainHTMLMapping, } from '@teleporthq/teleport-component-generator-html' import { isNodeProcess } from './utils' +import { ProjectPluginInlineFetch } from '@teleporthq/teleport-project-plugin-inline-fetch' const componentGeneratorFactories: Record = { [ComponentType.REACT]: createReactComponentGenerator, @@ -154,6 +155,10 @@ export const packProject: PackProjectFunction = async ( projectGeneratorFactory.addPlugin(nuxtErrorPageMapper) } + if (projectType === ProjectType.NEXT) { + projectGeneratorFactory.addPlugin(new ProjectPluginInlineFetch({ framework: projectType })) + } + if (plugins?.length > 0) { plugins.forEach((plugin: ProjectPlugin) => { projectGeneratorFactory.addPlugin(plugin) diff --git a/packages/teleport-component-generator-angular/package.json b/packages/teleport-component-generator-angular/package.json index f21dbfeaf..22df93da5 100644 --- a/packages/teleport-component-generator-angular/package.json +++ b/packages/teleport-component-generator-angular/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-component-generator-angular", - "version": "0.31.6", + "version": "0.32.0", "description": "Component generator customization, capable of creating Angular components", "author": "teleportHQ", "homepage": "https://teleporthq.io/", @@ -24,14 +24,14 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-component-generator": "^0.31.3", - "@teleporthq/teleport-plugin-angular-base-component": "^0.31.6", - "@teleporthq/teleport-plugin-css": "^0.31.6", - "@teleporthq/teleport-plugin-import-statements": "^0.31.6", - "@teleporthq/teleport-postprocessor-prettier-html": "^0.31.3", - "@teleporthq/teleport-postprocessor-prettier-ts": "^0.31.3", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-component-generator": "^0.32.0", + "@teleporthq/teleport-plugin-angular-base-component": "^0.32.0", + "@teleporthq/teleport-plugin-css": "^0.32.0", + "@teleporthq/teleport-plugin-import-statements": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-html": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-ts": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-component-generator-html/package.json b/packages/teleport-component-generator-html/package.json index 4c9a05fc0..17cf00256 100644 --- a/packages/teleport-component-generator-html/package.json +++ b/packages/teleport-component-generator-html/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-component-generator-html", - "version": "0.31.6", + "version": "0.32.0", "description": "Component generator customization, capable of creating plain html", "author": "teleportHQ", "license": "MIT", @@ -24,12 +24,12 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-component-generator": "^0.31.3", - "@teleporthq/teleport-plugin-css": "^0.31.6", - "@teleporthq/teleport-plugin-html-base-component": "^0.31.6", - "@teleporthq/teleport-plugin-import-statements-html": "^0.31.6", - "@teleporthq/teleport-postprocessor-prettier-html": "^0.31.3", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-component-generator": "^0.32.0", + "@teleporthq/teleport-plugin-css": "^0.32.0", + "@teleporthq/teleport-plugin-html-base-component": "^0.32.0", + "@teleporthq/teleport-plugin-import-statements-html": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-html": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" } } diff --git a/packages/teleport-component-generator-html/src/plain-html-mapping.ts b/packages/teleport-component-generator-html/src/plain-html-mapping.ts index 04b6ae1d2..13499c653 100644 --- a/packages/teleport-component-generator-html/src/plain-html-mapping.ts +++ b/packages/teleport-component-generator-html/src/plain-html-mapping.ts @@ -23,6 +23,19 @@ export const PlainHTMLMapping: Mapping = { }, }, }, + 'date-time-node': { + elementType: 'date-time-primitive', + dependency: { + type: 'package', + version: '1.0.0', + path: 'date-time-primitive', + meta: { + importJustPath: true, + importAlias: + 'https://github.com/teleporthq/date-time-primitive/blob/main/dist/default/lib.umd.js', + }, + }, + }, 'lottie-node': { elementType: 'lottie-player', dependency: { diff --git a/packages/teleport-component-generator-react/package.json b/packages/teleport-component-generator-react/package.json index 74f6708ea..f5dfc422c 100644 --- a/packages/teleport-component-generator-react/package.json +++ b/packages/teleport-component-generator-react/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-component-generator-react", - "version": "0.31.6", + "version": "0.32.0", "description": "Component generator customization, capable of creating React components with a number of different style flavors", "author": "teleportHQ", "license": "MIT", @@ -24,19 +24,19 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-component-generator": "^0.31.3", - "@teleporthq/teleport-plugin-css": "^0.31.6", - "@teleporthq/teleport-plugin-css-modules": "^0.31.6", - "@teleporthq/teleport-plugin-import-statements": "^0.31.6", - "@teleporthq/teleport-plugin-jsx-inline-styles": "^0.31.6", - "@teleporthq/teleport-plugin-jsx-proptypes": "^0.31.6", - "@teleporthq/teleport-plugin-react-base-component": "^0.31.6", - "@teleporthq/teleport-plugin-react-jss": "^0.31.6", - "@teleporthq/teleport-plugin-react-styled-components": "^0.31.6", - "@teleporthq/teleport-plugin-react-styled-jsx": "^0.31.6", - "@teleporthq/teleport-postprocessor-prettier-jsx": "^0.31.3", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-component-generator": "^0.32.0", + "@teleporthq/teleport-plugin-css": "^0.32.0", + "@teleporthq/teleport-plugin-css-modules": "^0.32.0", + "@teleporthq/teleport-plugin-import-statements": "^0.32.0", + "@teleporthq/teleport-plugin-jsx-inline-styles": "^0.32.0", + "@teleporthq/teleport-plugin-jsx-proptypes": "^0.32.0", + "@teleporthq/teleport-plugin-react-base-component": "^0.32.0", + "@teleporthq/teleport-plugin-react-jss": "^0.32.0", + "@teleporthq/teleport-plugin-react-styled-components": "^0.32.0", + "@teleporthq/teleport-plugin-react-styled-jsx": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-jsx": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-component-generator-react/src/react-mapping.ts b/packages/teleport-component-generator-react/src/react-mapping.ts index aec25c627..08c7d8894 100644 --- a/packages/teleport-component-generator-react/src/react-mapping.ts +++ b/packages/teleport-component-generator-react/src/react-mapping.ts @@ -13,6 +13,33 @@ export const ReactMapping: Mapping = { }, }, }, + 'contentful-richtext-node': { + elementType: 'RichText', + dependency: { + type: 'package', + path: '@madebyconnor/rich-text-to-jsx', + version: '2.2.1', + }, + }, + 'caisy-richtext-node': { + elementType: 'RichTextRenderer', + dependency: { + type: 'package', + path: '@caisy/rich-text-react-renderer', + version: '0.7.3', + meta: { + namedImport: true, + }, + }, + }, + 'markdown-node': { + elementType: 'ReactMarkdown', + dependency: { + type: 'package', + path: 'react-markdown', + version: '8.0.7', + }, + }, 'html-node': { elementType: 'Script', dependency: { @@ -24,6 +51,17 @@ export const ReactMapping: Mapping = { }, }, }, + 'date-time-node': { + elementType: 'DateTimePrimitive', + dependency: { + type: 'package', + path: '@teleporthq/react-components', + version: 'latest', + meta: { + namedImport: true, + }, + }, + }, 'lottie-node': { elementType: 'Player', dependency: { diff --git a/packages/teleport-component-generator-vue/package.json b/packages/teleport-component-generator-vue/package.json index 2f8080660..33e749a25 100644 --- a/packages/teleport-component-generator-vue/package.json +++ b/packages/teleport-component-generator-vue/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-component-generator-vue", - "version": "0.31.6", + "version": "0.32.0", "description": "Component generator customization, capable of creating Vue components", "author": "teleportHQ", "license": "MIT", @@ -24,16 +24,16 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-component-generator": "^0.31.3", - "@teleporthq/teleport-plugin-css": "^0.31.6", - "@teleporthq/teleport-plugin-import-statements": "^0.31.6", - "@teleporthq/teleport-plugin-vue-app-routing": "^0.31.3", - "@teleporthq/teleport-plugin-vue-base-component": "^0.31.6", - "@teleporthq/teleport-postprocessor-prettier-html": "^0.31.3", - "@teleporthq/teleport-postprocessor-prettier-js": "^0.31.3", - "@teleporthq/teleport-postprocessor-vue-file": "^0.31.3", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-component-generator": "^0.32.0", + "@teleporthq/teleport-plugin-css": "^0.32.0", + "@teleporthq/teleport-plugin-import-statements": "^0.32.0", + "@teleporthq/teleport-plugin-vue-app-routing": "^0.32.0", + "@teleporthq/teleport-plugin-vue-base-component": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-html": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-js": "^0.32.0", + "@teleporthq/teleport-postprocessor-vue-file": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-component-generator-vue/src/vue-mapping.ts b/packages/teleport-component-generator-vue/src/vue-mapping.ts index caa9b8275..a4f430268 100644 --- a/packages/teleport-component-generator-vue/src/vue-mapping.ts +++ b/packages/teleport-component-generator-vue/src/vue-mapping.ts @@ -13,6 +13,17 @@ export const VueMapping: Mapping = { }, }, }, + 'date-time-node': { + elementType: 'DateTimePrimitive', + dependency: { + type: 'package', + path: '@teleporthq/react-components', + version: 'latest', + meta: { + namedImport: true, + }, + }, + }, 'lottie-node': { elementType: 'lottie-vue-player', }, diff --git a/packages/teleport-component-generator/package.json b/packages/teleport-component-generator/package.json index 700319cee..ba0612e93 100644 --- a/packages/teleport-component-generator/package.json +++ b/packages/teleport-component-generator/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-component-generator", - "version": "0.31.3", + "version": "0.32.0", "description": "Bare-bone component generator on top of which you can add plugins, mappings and post processing functions", "author": "teleportHQ", "license": "MIT", @@ -27,10 +27,10 @@ "@babel/generator": "^7.5.5", "@babel/types": "^7.5.5", "@starptech/prettyhtml-hast-to-html": "^0.10.0", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0", - "@teleporthq/teleport-uidl-resolver": "^0.31.3", - "@teleporthq/teleport-uidl-validator": "^0.31.3" + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0", + "@teleporthq/teleport-uidl-resolver": "^0.32.0", + "@teleporthq/teleport-uidl-validator": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-component-generator/src/index.ts b/packages/teleport-component-generator/src/index.ts index 4309915a7..7148e2778 100644 --- a/packages/teleport-component-generator/src/index.ts +++ b/packages/teleport-component-generator/src/index.ts @@ -44,6 +44,7 @@ const createComponentGenerator = ({ } const uidl = Parser.parseComponentJSON(cleanedUIDL) + const contentValidationResult = validator.validateComponentContent(uidl) if (!contentValidationResult.valid) { throw new Error(contentValidationResult.errorMsg) diff --git a/packages/teleport-github-gateway/package.json b/packages/teleport-github-gateway/package.json index 096c4dbf9..2e8f791cc 100644 --- a/packages/teleport-github-gateway/package.json +++ b/packages/teleport-github-gateway/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-github-gateway", - "version": "0.31.6", + "version": "0.32.0", "description": "Teleport github gateway - use this package if you require a github integration", "author": "teleportHQ", "license": "MIT", @@ -24,7 +24,7 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-types": "^0.31.0", + "@teleporthq/teleport-types": "^0.32.0", "cross-fetch": "^3.0.4", "octokit": "^3.1.2" }, diff --git a/packages/teleport-plugin-angular-base-component/package.json b/packages/teleport-plugin-angular-base-component/package.json index e9e880c41..387254fcb 100644 --- a/packages/teleport-plugin-angular-base-component/package.json +++ b/packages/teleport-plugin-angular-base-component/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-angular-base-component", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for handling the skeleton/baseline of a Angular Component", "author": "teleportHQ", "homepage": "https://teleporthq.io/", @@ -25,9 +25,9 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-plugin-angular-base-component/src/utils.ts b/packages/teleport-plugin-angular-base-component/src/utils.ts index 2c37eca3a..0a338f873 100644 --- a/packages/teleport-plugin-angular-base-component/src/utils.ts +++ b/packages/teleport-plugin-angular-base-component/src/utils.ts @@ -108,7 +108,8 @@ const constructorAST = (seo: UIDLComponentSEO, t = types) => { t.memberExpression(t.thisExpression(), t.identifier('title')), t.identifier('setTitle') ), - [t.stringLiteral(title)] + // TODO: Add support for dynamic title here + [t.stringLiteral(title as string)] ) ) ) diff --git a/packages/teleport-plugin-angular-module/package.json b/packages/teleport-plugin-angular-module/package.json index fa9373861..3b03366ca 100644 --- a/packages/teleport-plugin-angular-module/package.json +++ b/packages/teleport-plugin-angular-module/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-angular-module", - "version": "0.31.3", + "version": "0.32.0", "description": "A Plugin for generating modules for angular", "author": "teleportHQ", "homepage": "https://teleporthq.io/", @@ -25,8 +25,8 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-plugin-common/__tests__/builders/style-builders.ts b/packages/teleport-plugin-common/__tests__/builders/style-builders.ts index 07c60108b..b9a4c3808 100644 --- a/packages/teleport-plugin-common/__tests__/builders/style-builders.ts +++ b/packages/teleport-plugin-common/__tests__/builders/style-builders.ts @@ -1,4 +1,4 @@ -import { createCSSClass } from '../../src/builders/style-builders' +import { createCSSClass, createCSSClassWithSelector } from '../../src/builders/style-builders' describe('CSS Class Generation', () => { it('with empty styles', () => { @@ -13,6 +13,17 @@ describe('CSS Class Generation', () => { expect(result).toEqual(`.name { some-key: value; other-key: otherValue; +}`) + }) + + it('with subselectors', () => { + const result = createCSSClassWithSelector('name', '& h1 > h2 .ab.cd #id', { + someKey: 'value', + otherKey: 'otherValue', + }) + expect(result).toEqual(`.name h1 > h2 .ab.cd #id { + some-key: value; + other-key: otherValue; }`) }) }) diff --git a/packages/teleport-plugin-common/__tests__/node-handlers/node-to-jsx/index.ts b/packages/teleport-plugin-common/__tests__/node-handlers/node-to-jsx/index.ts index 3f95dec2d..28056ffd5 100644 --- a/packages/teleport-plugin-common/__tests__/node-handlers/node-to-jsx/index.ts +++ b/packages/teleport-plugin-common/__tests__/node-handlers/node-to-jsx/index.ts @@ -14,8 +14,8 @@ const uidl = componentUIDLSample as ComponentUIDL describe('generateJSXSyntax', () => { const params: JSXGenerationParams = { dependencies: {}, - propDefinitions: uidl.propDefinitions, - stateDefinitions: uidl.stateDefinitions, + propDefinitions: uidl.propDefinitions || {}, + stateDefinitions: uidl.stateDefinitions || {}, nodesLookup: {}, } @@ -24,6 +24,7 @@ describe('generateJSXSyntax', () => { prop: 'props', state: '', local: '', + ctx: '', }, } diff --git a/packages/teleport-plugin-common/package.json b/packages/teleport-plugin-common/package.json index 9d1784763..aca97cec3 100644 --- a/packages/teleport-plugin-common/package.json +++ b/packages/teleport-plugin-common/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-common", - "version": "0.31.6", + "version": "0.32.0", "description": "Common building and modelating functions for ASTs and HASTs", "author": "teleportHQ", "license": "MIT", @@ -24,9 +24,11 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@babel/types": "^7.14.5", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0", + "@babel/core": "^7.5.5", + "@babel/preset-react": "^7.22.5", + "@babel/types": "^7.5.5", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0", "jss": "^10.0.0", "jss-preset-default": "^10.0.0" }, diff --git a/packages/teleport-plugin-common/src/builders/style-builders.ts b/packages/teleport-plugin-common/src/builders/style-builders.ts index 3918378a0..45a9abd1c 100644 --- a/packages/teleport-plugin-common/src/builders/style-builders.ts +++ b/packages/teleport-plugin-common/src/builders/style-builders.ts @@ -57,7 +57,7 @@ export const createFontDecleration = (styleObject: Record + styleObject: Record> ) => { return jss .createRule(`@media(${mediaOffset})`, styleObject, { @@ -93,7 +93,10 @@ export const createDynamicStyleExpression = ( } export const generateMediaStyle = ( - styleMap: Record }>> + styleMap: Record< + string, + Array<{ [x: string]: Record> }> + > ) => { const styles: string[] = [] Object.keys(styleMap) @@ -119,13 +122,17 @@ export const generateMediaStyle = ( export const generateStylesFromStyleSetDefinitions = ( styleSetDefinitions: Record, cssMap: string[], - mediaStylesMap: Record }>>, + mediaStylesMap: Record< + string, + Array<{ [x: string]: Record> }> + >, className: (val: string) => string ) => { Object.keys(styleSetDefinitions).forEach((styleId) => { const style = styleSetDefinitions[styleId] const { content, conditions = [], type } = style - const name = className(styleId) + const name = className(style.className || styleId) + const subselectors = style.subselectors const { staticStyles, tokenStyles } = UIDLUtils.splitDynamicAndStaticStyles(content) const collectedStyles = { @@ -133,10 +140,14 @@ export const generateStylesFromStyleSetDefinitions = ( ...getCSSVariablesContentFromTokenStyles(tokenStyles), } as Record + // & is required by jss, otherwise the final result will be empty + const cls = subselectors + ? createCSSClassWithSelector(name, `&${subselectors}`, collectedStyles) + : createCSSClass(name, collectedStyles) if (type === 'reusable-component-style-map') { - cssMap.unshift(createCSSClass(name, collectedStyles)) + cssMap.unshift(cls) } else { - cssMap.push(createCSSClass(name, collectedStyles)) + cssMap.push(cls) } if (conditions.length === 0) { @@ -154,11 +165,19 @@ export const generateStylesFromStyleSetDefinitions = ( if (styleRef.type === 'element-state') { if (type === 'reusable-component-style-map') { cssMap.unshift( - createCSSClassWithSelector(name, `&:${styleRef.meta.state}`, collecedMediaStyles) + createCSSClassWithSelector( + name, + `&${subselectors || ''}:${styleRef.meta.state}`, + collecedMediaStyles + ) ) } else { cssMap.push( - createCSSClassWithSelector(name, `&:${styleRef.meta.state}`, collecedMediaStyles) + createCSSClassWithSelector( + name, + `&${subselectors || ''}:${styleRef.meta.state}`, + collecedMediaStyles + ) ) } } @@ -169,10 +188,14 @@ export const generateStylesFromStyleSetDefinitions = ( mediaStylesMap[String(maxWidth)] = [] } + const mediaStyleMap = subselectors + ? { [`&${subselectors}`]: collecedMediaStyles } + : collecedMediaStyles + if (type === 'reusable-component-style-map') { - mediaStylesMap[String(maxWidth)].unshift({ [name]: collecedMediaStyles }) + mediaStylesMap[String(maxWidth)].unshift({ [name]: mediaStyleMap }) } else { - mediaStylesMap[String(maxWidth)].push({ [name]: collecedMediaStyles }) + mediaStylesMap[String(maxWidth)].push({ [name]: mediaStyleMap }) } } }) diff --git a/packages/teleport-plugin-common/src/node-handlers/node-to-html/utils.ts b/packages/teleport-plugin-common/src/node-handlers/node-to-html/utils.ts index 3702072e5..3ac082d57 100644 --- a/packages/teleport-plugin-common/src/node-handlers/node-to-html/utils.ts +++ b/packages/teleport-plugin-common/src/node-handlers/node-to-html/utils.ts @@ -21,7 +21,6 @@ export const handleAttribute = ( ) => { const { dataObject } = params const dynamicAttrKey = templateSyntax.valueBinding(attrKey, node) - switch (attrValue.type) { case 'dynamic': case 'import': diff --git a/packages/teleport-plugin-common/src/node-handlers/node-to-jsx/index.ts b/packages/teleport-plugin-common/src/node-handlers/node-to-jsx/index.ts index b32414b9a..51b9912ed 100644 --- a/packages/teleport-plugin-common/src/node-handlers/node-to-jsx/index.ts +++ b/packages/teleport-plugin-common/src/node-handlers/node-to-jsx/index.ts @@ -7,9 +7,15 @@ import { UIDLDynamicReference, UIDLSlotNode, UIDLNode, + UIDLCMSListNode, + UIDLCMSItemNode, + UIDLExpressionValue, + UIDLCMSListRepeaterNode, + UIDLCMSMixedTypeNode, + UIDLElement, } from '@teleporthq/teleport-types' import { UIDLUtils, StringUtils } from '@teleporthq/teleport-shared' -import { JSXASTReturnType, NodeToJSX } from './types' +import { JSXASTReturnType, JSXGenerationOptions, NodeToJSX } from './types' import { addEventHandlerToTag, @@ -25,17 +31,20 @@ import { addDynamicAttributeToJSXTag, addRawAttributeToJSXTag, generateDynamicWindowImport, + addDynamicExpressionAttributeToJSXTag, + resolveObjectValue, } from '../../utils/ast-utils' import { createJSXTag, createSelfClosingJSXTag } from '../../builders/ast-builders' import { DEFAULT_JSX_OPTIONS } from './constants' +import { ASTBuilders, ASTUtils } from '../..' const generateElementNode: NodeToJSX = ( node, params, jsxOptions ) => { - const options = { ...DEFAULT_JSX_OPTIONS, ...jsxOptions } - const { dependencies, nodesLookup } = params + const { dependencies, nodesLookup, projectResources = {} } = params + const options = { ...DEFAULT_JSX_OPTIONS, ...jsxOptions, projectResources } const { elementType, selfClosing, children, key, attrs, dependency, events } = node.content const originalElementName = elementType || 'component' @@ -77,37 +86,7 @@ const generateElementNode: NodeToJSX = ( const elementTag = selfClosing ? createSelfClosingJSXTag(elementName) : createJSXTag(elementName) if (attrs) { - Object.keys(attrs).forEach((attrKey) => { - const attributeValue = attrs[attrKey] - - switch (attributeValue.type) { - case 'dynamic': - const { - content: { id, referenceType }, - } = attributeValue - const prefix = - options.dynamicReferencePrefixMap[referenceType as 'prop' | 'state' | 'local'] - addDynamicAttributeToJSXTag(elementTag, attrKey, id, prefix) - break - case 'import': - addDynamicAttributeToJSXTag(elementTag, attrKey, attributeValue.content.id) - break - case 'raw': - addRawAttributeToJSXTag(elementTag, attrKey, attributeValue) - break - case 'comp-style': - case 'static': - const { content } = attributeValue - addAttributeToJSXTag(elementTag, attrKey, content) - break - default: - throw new Error( - `generateElementNode could not generate code for attribute of type ${JSON.stringify( - attributeValue - )}` - ) - } - }) + addAttributesToJSXTag(attrs, elementTag, options) } if (events) { @@ -118,15 +97,16 @@ const generateElementNode: NodeToJSX = ( if (!selfClosing && children) { children.forEach((child) => { - const childTag = generateNode(child, params, options) - - if (typeof childTag === 'string') { - addChildJSXText(elementTag, childTag) - } else if (childTag.type === 'JSXExpressionContainer' || childTag.type === 'JSXElement') { - addChildJSXTag(elementTag, childTag) - } else { - addChildJSXTag(elementTag, types.jsxExpressionContainer(childTag)) - } + const childTags = generateNode(child, params, options) + childTags.forEach((childTag) => { + if (typeof childTag === 'string') { + addChildJSXText(elementTag, childTag) + } else if (childTag.type === 'JSXExpressionContainer' || childTag.type === 'JSXElement') { + addChildJSXTag(elementTag, childTag) + } else { + addChildJSXTag(elementTag, types.jsxExpressionContainer(childTag)) + } + }) }) } @@ -136,28 +116,94 @@ const generateElementNode: NodeToJSX = ( export default generateElementNode -const generateNode: NodeToJSX = (node, params, options) => { +const addAttributesToJSXTag = ( + attrs: UIDLElement['attrs'], + elementTag: types.JSXElement, + options: JSXGenerationOptions +) => { + Object.keys(attrs).forEach((attrKey) => { + const attributeValue = attrs[attrKey] + + switch (attributeValue.type) { + case 'dynamic': + const { + content: { referenceType }, + } = attributeValue + + switch (referenceType) { + default: + const prefix = + options.dynamicReferencePrefixMap[referenceType as 'prop' | 'state' | 'local'] + addDynamicAttributeToJSXTag( + elementTag, + attrKey, + (attributeValue as UIDLDynamicReference).content.id, + prefix + ) + + break + } + break + case 'import': + addDynamicAttributeToJSXTag(elementTag, attrKey, attributeValue.content.id) + break + case 'raw': + addRawAttributeToJSXTag(elementTag, attrKey, attributeValue) + break + case 'comp-style': + case 'static': + addAttributeToJSXTag(elementTag, attrKey, attributeValue.content) + break + case 'expr': + addDynamicExpressionAttributeToJSXTag(elementTag, attributeValue, attrKey) + break + default: + throw new Error( + `generateElementNode could not generate code for attribute of type ${JSON.stringify( + attributeValue + )}` + ) + } + }) +} + +const generateNode: NodeToJSX = (node, params, options) => { switch (node.type) { + case 'expr': + return [generateExpressionNode(node, params, options)] + + case 'raw': + return [ + options.domHTMLInjection + ? options.domHTMLInjection(node.content.toString()) + : node.content.toString(), + ] + case 'inject': if (node?.dependency) { /* tslint:disable:no-string-literal */ params.dependencies['Script'] = node.dependency } - return node.content.toString() - - case 'raw': - return options.domHTMLInjection - ? options.domHTMLInjection(node.content.toString()) - : node.content.toString() + return [node.content.toString()] case 'static': - return StringUtils.encode(node.content.toString()) + return [StringUtils.encode(node.content.toString())] case 'dynamic': - return createDynamicValueExpression(node, options) + return [createDynamicValueExpression(node, options, undefined)] + + case 'cms-item': + case 'cms-list': + return generateCMSNode(node, params, options) + + case 'cms-list-repeater': + return generateCMSListRepeaterNode(node, params, options) + + case 'cms-mixed-type': + return generateCMSMixedTypeNode(node, params, options) case 'element': - return generateElementNode(node, params, options) + return [generateElementNode(node, params, options)] case 'repeat': return generateRepeatNode(node, params, options) @@ -167,7 +213,7 @@ const generateNode: NodeToJSX = (node, params, optio case 'slot': if (options.slotHandling === 'native') { - return generateNativeSlotNode(node, params, options) + return [generateNativeSlotNode(node, params, options)] } else { return generatePropsSlotNode(node, params, options) } @@ -183,19 +229,273 @@ const generateNode: NodeToJSX = (node, params, optio } } -const generateRepeatNode: NodeToJSX = ( +const generateExpressionNode: NodeToJSX = ( + node +) => { + const expression = ASTUtils.getExpressionFromUIDLExpressionNode(node) + return types.jsxExpressionContainer(expression) +} + +const generateCMSMixedTypeNode: NodeToJSX = ( node, params, options ) => { - const { node: repeatContent, dataSource, meta } = node.content + const { + nodes: { error, fallback }, + elementType, + renderPropIdentifier, + mappings = {}, + attrs, + dependency, + } = node.content + const jsxTag = StringUtils.dashCaseToUpperCamelCase(elementType) + const cmsMixedNode = ASTBuilders.createJSXTag(jsxTag, [], true) + const mappingsObject: types.ObjectProperty[] = [] + + if (attrs) { + addAttributesToJSXTag(attrs, cmsMixedNode, options) + } + + if (dependency) { + params.dependencies[elementType] = dependency + } + + Object.keys(mappings).forEach((key) => { + const element = generateElementNode(mappings[key], params, options) + mappingsObject.push( + types.objectProperty( + types.identifier(key), + types.arrowFunctionExpression([types.identifier(renderPropIdentifier)], element) + ) + ) + }) + + cmsMixedNode.openingElement.attributes.push( + types.jsxAttribute( + types.jsxIdentifier('mappingConfiguration'), + types.jsxExpressionContainer(types.objectExpression(mappingsObject)) + ) + ) + + if (fallback) { + cmsMixedNode.openingElement.attributes.push( + types.jSXAttribute( + types.jsxIdentifier('renderDefault'), + types.jsxExpressionContainer( + types.arrowFunctionExpression( + [types.identifier(renderPropIdentifier)], + generateElementNode(fallback, params, options) + ) + ) + ) + ) + } + + if (error) { + cmsMixedNode.openingElement.attributes.push( + types.jSXAttribute( + types.jsxIdentifier('renderError'), + types.jsxExpressionContainer( + types.arrowFunctionExpression( + [types.identifier(renderPropIdentifier)], + generateElementNode(error, params, options) + ) + ) + ) + ) + } + + return [cmsMixedNode] +} + +const generateCMSNode: NodeToJSX = ( + node, + params, + options +) => { + const { + initialData, + key, + renderPropIdentifier, + resource: { params: resourceParams } = {}, + router, + elementType, + dependency, + } = node.content + const { loading, error, success } = node.content.nodes + const jsxTag = StringUtils.dashCaseToUpperCamelCase(elementType) + + if (router && options?.dependencyHandling === 'import') { + params.dependencies.useRouter = router + } + + if (!success) { + return [] + } + + if (dependency && options.dependencyHandling === 'import') { + params.dependencies[elementType] = dependency + } + + const cmsNode = ASTBuilders.createJSXTag(jsxTag, [], true) + + if (node.type === 'cms-item') { + cmsNode.openingElement.attributes.push( + types.jsxAttribute( + types.jsxIdentifier('renderSuccess'), + types.jsxExpressionContainer( + types.arrowFunctionExpression( + [types.identifier(renderPropIdentifier)], + generateNode(success, params, options)[0] as types.JSXElement + ) + ) + ) + ) + } + + if (node.type === 'cms-list') { + cmsNode.openingElement.attributes.push( + types.jsxAttribute( + types.jsxIdentifier('renderSuccess'), + types.jsxExpressionContainer( + types.arrowFunctionExpression( + [types.identifier('params')], + generateNode(success, params, options)[0] as types.JSXElement + ) + ) + ) + ) + } + if (dependency && options.dependencyHandling === 'import') { + params.dependencies.Repeater = dependency + } + if (loading) { + cmsNode.openingElement.attributes.push( + types.jsxAttribute( + types.jsxIdentifier('renderLoading'), + types.jsxExpressionContainer( + types.arrowFunctionExpression( + [], + generateNode(loading, params, options)[0] as types.JSXElement + ) + ) + ) + ) + } + + if (error) { + cmsNode.openingElement.attributes.push( + types.jsxAttribute( + types.jsxIdentifier('renderError'), + types.jsxExpressionContainer( + types.arrowFunctionExpression( + [], + generateNode(error, params, options)[0] as types.JSXElement + ) + ) + ) + ) + } + + if (initialData && initialData.content.referenceType === 'prop') { + cmsNode.openingElement.attributes.push( + types.jsxAttribute( + types.jsxIdentifier('initialData'), + types.jsxExpressionContainer( + types.memberExpression( + types.identifier(options.dynamicReferencePrefixMap[initialData.content.referenceType]), + types.identifier(initialData.content.id) + ) + ) + ) + ) - const contentAST = generateElementNode(repeatContent, params, options) + cmsNode.openingElement.attributes.push( + types.jsxAttribute( + types.jsxIdentifier('persistDataDuringLoading'), + types.jsxExpressionContainer(types.booleanLiteral(true)) + ) + ) + + let keyValue = 'props?.pagination?.page' + + if (node.type === 'cms-item') { + const { entityKeyProperty } = node.content + const entityName = initialData.content.id + keyValue = entityKeyProperty + ? `props?.${entityName}?.${entityKeyProperty}` + : `props?.${entityName}?.id` + } + + cmsNode.openingElement.attributes.push( + types.jsxAttribute( + types.jsxIdentifier('key'), + types.jsxExpressionContainer(types.identifier(keyValue)) + ) + ) + } + + if (Object.keys(resourceParams || {}).length > 0) { + const nodeParams: types.ObjectProperty[] = Object.keys(resourceParams).reduce( + (acc: types.ObjectProperty[], attrKey) => { + const property = resourceParams[attrKey] + + if (property.type === 'static') { + acc.push(types.objectProperty(types.stringLiteral(attrKey), resolveObjectValue(property))) + } + + if (property.type === 'expr') { + const expression = ASTUtils.getExpressionFromUIDLExpressionNode(property) + acc.push(types.objectProperty(types.stringLiteral(attrKey), expression)) + } + + if (property.type === 'dynamic') { + acc.push( + types.objectProperty( + types.stringLiteral(attrKey), + property.content.referenceType === 'prop' + ? types.memberExpression( + types.identifier( + options.dynamicReferencePrefixMap[property.content.referenceType] + ), + types.identifier(property.content.id) + ) + : types.identifier(property.content.id) + ) + ) + } + + return acc + }, + [] + ) + cmsNode.openingElement.attributes.push( + types.jsxAttribute( + types.jsxIdentifier('params'), + types.jsxExpressionContainer(types.objectExpression(nodeParams)) + ) + ) + } + + params.nodesLookup[key] = cmsNode + return [cmsNode] +} + +const generateRepeatNode: NodeToJSX = ( + node, + params, + options +) => { + const { node: repeatContent, dataSource, meta } = node.content + const contentASTs = generateNode(repeatContent, params, options) as types.JSXElement[] const { iteratorName, iteratorKey } = UIDLUtils.getRepeatIteratorNameAndKey(meta) const localIteratorPrefix = options.dynamicReferencePrefixMap.local - addDynamicAttributeToJSXTag(contentAST, 'key', iteratorKey, localIteratorPrefix) + contentASTs.forEach((contentAST) => { + addDynamicAttributeToJSXTag(contentAST, 'key', iteratorKey, localIteratorPrefix) + }) const source = getRepeatSourceIdentifier(dataSource, options) @@ -204,14 +504,16 @@ const generateRepeatNode: NodeToJSX + types.jsxExpressionContainer( + types.callExpression(types.memberExpression(source, types.identifier('map')), [ + types.arrowFunctionExpression(arrowFunctionArguments, contentAST), + ]) + ) ) } -const generateConditionalNode: NodeToJSX = ( +const generateConditionalNode: NodeToJSX = ( node, params, options @@ -219,17 +521,67 @@ const generateConditionalNode: NodeToJSX + createConditionalJSXExpression(subTree, condition, conditionIdentifier) + ) +} + +const generateCMSListRepeaterNode: NodeToJSX = ( + node, + params, + options +) => { + const jsxTag = StringUtils.dashCaseToUpperCamelCase(node.content.elementType) + const repeaterNode = ASTBuilders.createJSXTag(jsxTag, [], true) + + repeaterNode.openingElement.attributes.push( + types.jsxAttribute( + types.jsxIdentifier('items'), + types.jsxExpressionContainer(types.identifier(node.content.source ?? 'params')) + ) + ) + + repeaterNode.openingElement.attributes.push( + types.jsxAttribute( + types.jSXIdentifier('renderItem'), + types.jsxExpressionContainer( + types.arrowFunctionExpression( + [types.identifier(node.content.renderPropIdentifier)], + generateNode(node.content.nodes.list, params, options)[0] as types.JSXElement + ) + ) + ) + ) + + if ('empty' in node.content.nodes) { + repeaterNode.openingElement.attributes.push( + types.jsxAttribute( + types.jsxIdentifier('renderEmpty'), + types.jsxExpressionContainer( + types.arrowFunctionExpression( + [], + generateNode(node.content.nodes.empty, params, options)[0] as types.JSXElement + ) + ) + ) + ) + } + + if (node.content?.dependency && options.dependencyHandling === 'import') { + params.dependencies[jsxTag] = node.content.dependency + } + + return [repeaterNode] } -const generatePropsSlotNode: NodeToJSX = ( +const generatePropsSlotNode: NodeToJSX = ( node: UIDLSlotNode, params, options @@ -247,20 +599,23 @@ const generatePropsSlotNode: NodeToJSX { + const fallbackNode = + typeof fallbackContent === 'string' + ? types.stringLiteral(fallbackContent) + : (fallbackContent as types.JSXElement | types.MemberExpression) + + // props.children with fallback + return types.jsxExpressionContainer( + types.logicalExpression('||', childrenExpression, fallbackNode) + ) + }) } - return types.jsxExpressionContainer(childrenExpression) + return [types.jsxExpressionContainer(childrenExpression)] } const generateNativeSlotNode: NodeToJSX = ( @@ -275,14 +630,17 @@ const generateNativeSlotNode: NodeToJSX = ( } if (node.content.fallback) { - const fallbackContent = generateNode(node.content.fallback, params, options) - if (typeof fallbackContent === 'string') { - addChildJSXText(slotNode, fallbackContent) - } else if (fallbackContent.type === 'MemberExpression') { - addChildJSXTag(slotNode, types.jsxExpressionContainer(fallbackContent)) - } else { - addChildJSXTag(slotNode, fallbackContent as types.JSXElement) - } + const fallbackContents = generateNode(node.content.fallback, params, options) + + fallbackContents.forEach((fallbackContent) => { + if (typeof fallbackContent === 'string') { + addChildJSXText(slotNode, fallbackContent) + } else if (fallbackContent.type === 'MemberExpression') { + addChildJSXTag(slotNode, types.jsxExpressionContainer(fallbackContent)) + } else { + addChildJSXTag(slotNode, fallbackContent as types.JSXElement) + } + }) } return slotNode diff --git a/packages/teleport-plugin-common/src/node-handlers/node-to-jsx/types.ts b/packages/teleport-plugin-common/src/node-handlers/node-to-jsx/types.ts index e00163de7..c637c75fd 100644 --- a/packages/teleport-plugin-common/src/node-handlers/node-to-jsx/types.ts +++ b/packages/teleport-plugin-common/src/node-handlers/node-to-jsx/types.ts @@ -1,6 +1,11 @@ import * as types from '@babel/types' -import { UIDLPropDefinition, UIDLDependency, UIDLStateDefinition } from '@teleporthq/teleport-types' +import { + UIDLPropDefinition, + UIDLDependency, + UIDLStateDefinition, + ProjectResource, +} from '@teleporthq/teleport-types' export interface JSXGenerationParams { propDefinitions: Record @@ -8,6 +13,7 @@ export interface JSXGenerationParams { nodesLookup: Record dependencies: Record windowImports: Record + projectResources?: Record } export interface JSXGenerationOptions { diff --git a/packages/teleport-plugin-common/src/node-handlers/node-to-jsx/utils.ts b/packages/teleport-plugin-common/src/node-handlers/node-to-jsx/utils.ts index 4c71217d5..4c9970c7c 100644 --- a/packages/teleport-plugin-common/src/node-handlers/node-to-jsx/utils.ts +++ b/packages/teleport-plugin-common/src/node-handlers/node-to-jsx/utils.ts @@ -124,7 +124,9 @@ const createStateChangeStatement = ( switch (options.stateHandling) { case 'hooks': return t.expressionStatement( - t.callExpression(t.identifier(`set${StringUtils.capitalize(stateKey)}`), [newStateValue]) + t.callExpression(t.identifier(StringUtils.createStateStoringFunction(stateKey)), [ + newStateValue, + ]) ) case 'function': return t.expressionStatement( @@ -145,15 +147,22 @@ export const createDynamicValueExpression = ( options: JSXGenerationOptions, t = types ) => { - const refType = identifier.content.referenceType as 'prop' | 'state' | 'local' - const prefix = options.dynamicReferencePrefixMap[refType] || '' + const identifierContent = identifier.content + const { referenceType, id } = identifierContent + + if (referenceType === 'attr' || referenceType === 'children' || referenceType === 'token') { + throw new Error(`Dynamic reference type "${referenceType}" is not supported yet`) + } + + const prefix = + options.dynamicReferencePrefixMap[referenceType as 'prop' | 'state' | 'local'] || '' return prefix === '' - ? t.identifier(identifier.content.id) - : t.memberExpression(t.identifier(prefix), t.identifier(identifier.content.id)) + ? t.identifier(id) + : t.memberExpression(t.identifier(prefix), t.identifier(id)) } -// Prepares an identifier (from props or state) to be used as a conditional rendering identifier -// Assumes the type from the corresponding props/state definitions +// Prepares an identifier (from props or state or an expr) to be used as a conditional rendering identifier +// Assumes the type from the corresponding props/state definitions if not expr. Expressions are expected to have a boolean return here export const createConditionIdentifier = ( dynamicReference: UIDLDynamicReference, params: JSXGenerationParams, @@ -177,6 +186,11 @@ export const createConditionIdentifier = ( type: params.stateDefinitions[referenceRoot].type, prefix: options.dynamicReferencePrefixMap.state, } + case 'expr': + return { + key: id, + type: 'boolean', + } default: throw new Error( `createConditionIdentifier encountered an invalid reference type: ${JSON.stringify( diff --git a/packages/teleport-plugin-common/src/types.d.ts b/packages/teleport-plugin-common/src/types.d.ts index 182df53e4..30aa8ec81 100644 --- a/packages/teleport-plugin-common/src/types.d.ts +++ b/packages/teleport-plugin-common/src/types.d.ts @@ -1 +1,3 @@ declare module 'jss-preset-default' +declare module 'qs' +declare module '@babel/preset-react' diff --git a/packages/teleport-plugin-common/src/utils/ast-utils.ts b/packages/teleport-plugin-common/src/utils/ast-utils.ts index da3a86542..40b993010 100644 --- a/packages/teleport-plugin-common/src/utils/ast-utils.ts +++ b/packages/teleport-plugin-common/src/utils/ast-utils.ts @@ -1,7 +1,21 @@ import * as types from '@babel/types' +import { parse } from '@babel/core' import ParsedASTNode from './parsed-ast' import { StringUtils } from '@teleporthq/teleport-shared' -import { UIDLStateDefinition, UIDLPropDefinition, UIDLRawValue } from '@teleporthq/teleport-types' +import { + UIDLStateDefinition, + UIDLPropDefinition, + UIDLRawValue, + UIDLStaticValue, + UIDLResourceItem, + UIDLENVValue, + UIDLPropValue, + UIDLExpressionValue, + UIDLStateValue, +} from '@teleporthq/teleport-types' +import babelPresetReact from '@babel/preset-react' +import { ASTUtils } from '..' + /** * Adds a class definition string to an existing string of classes */ @@ -98,6 +112,50 @@ export const addDynamicAttributeToJSXTag = ( ) } +/** + * Make code expressions happen in AST + * Replace variables that are found in AST with + * the corresponding value from the contexts for now + * and in the future with other sources. + */ +export const addDynamicExpressionAttributeToJSXTag = ( + jsxASTNode: types.JSXElement, + dynamicRef: UIDLExpressionValue, + attrKey: string, + t = types +) => { + const dynamicContent = dynamicRef.content + if (dynamicRef.type !== 'expr') { + throw new Error(`This method only works with dynamic nodes that have code expressions`) + } + + const code = dynamicContent + const options = { + sourceType: 'module' as const, + } + + const ast = parse(code, options) + + if (!('program' in ast)) { + throw new Error( + `The AST does not have a program node in the expression inside addDynamicExpressionAttributeToJSXTag` + ) + } + + const theStatementOnlyWihtoutTheProgram = ast.program.body[0] + + if (theStatementOnlyWihtoutTheProgram.type !== 'ExpressionStatement') { + throw new Error(`Expr dynamic attribute only support expressions statements at the moment.`) + } + + jsxASTNode.openingElement.attributes.push( + t.jsxAttribute( + t.jsxIdentifier(attrKey), + t.jsxExpressionContainer(theStatementOnlyWihtoutTheProgram.expression) + ) + ) +} + /* Use, when we need to add a mix of dynamic and static values to the same attribute at the same time. @@ -137,22 +195,23 @@ export const addMultipleDynamicAttributesToJSXTag = ( ) } -export const stringAsTemplateLiteral = (str: string, t = types) => { - const formmattedString = ` -${str} - ` - return t.templateLiteral( - [ - t.templateElement( - { - raw: formmattedString, - cooked: formmattedString, - }, - true - ), - ], - [] - ) +export const stringAsTemplateLiteral = (str: string): types.TemplateLiteral => { + const ast = parse('', { + presets: [babelPresetReact], + sourceType: 'module', + }) + + if (!('program' in ast)) { + throw new Error( + `The AST does not have a program node in the expression inside addDynamicExpressionAttributeToJSXTag` + ) + } + + const theStatementOnlyWihtoutTheProgram = ast.program.body[0] as types.ExpressionStatement + const container = (theStatementOnlyWihtoutTheProgram.expression as types.JSXElement) + .children[0] as types.JSXExpressionContainer + + return container.expression as types.TemplateLiteral } export const addAttributeToJSXTag = ( @@ -472,7 +531,7 @@ export const createStateHookAST = ( t.variableDeclarator( t.arrayPattern([ t.identifier(stateKey), - t.identifier(`set${StringUtils.capitalize(stateKey)}`), + t.identifier(StringUtils.createStateStoringFunction(stateKey)), ]), t.callExpression(t.identifier('useState'), [defaultValueArgument]) ), @@ -496,3 +555,488 @@ export const generateDynamicWindowImport = ( export const wrapObjectPropertiesWithExpression = (properties: types.ObjectProperty[]) => types.objectExpression(properties) + +export const generateRemoteResourceASTs = (resource: UIDLResourceItem) => { + const fetchUrl = computeFetchUrl(resource) + const authHeaderAST = computeAuthorizationHeaderAST(resource?.headers) + const headersASTs = resource?.headers ? generateRESTHeadersAST(resource.headers) : [] + + const queryParams = generateURLParamsAST(resource?.params) + const fetchUrlQuasis = fetchUrl.quasis + const queryParamsQuasis = queryParams?.quasis || [types.templateElement({ raw: '', cooked: '' })] + + if (queryParams?.expressions.length > 0) { + fetchUrlQuasis[fetchUrlQuasis.length - 1].value.raw = + fetchUrlQuasis[fetchUrlQuasis.length - 1].value.raw + '?' + + fetchUrlQuasis[fetchUrlQuasis.length - 1].value.cooked = + fetchUrlQuasis[fetchUrlQuasis.length - 1].value.cooked + '?' + + queryParamsQuasis.pop() + } + + const paramsDeclerations: Array = Object.keys( + resource?.params || {} + ).reduce((acc: Array, item) => { + const prop = resource.params[item] + if (prop.type === 'static') { + acc.push(types.objectProperty(types.stringLiteral(item), ASTUtils.resolveObjectValue(prop))) + } + + if (prop.type === 'expr') { + acc.push( + types.objectProperty( + types.stringLiteral(item), + ASTUtils.getExpressionFromUIDLExpressionNode(prop) + ) + ) + } + + if (prop.type === 'dynamic') { + acc.push( + types.spreadElement( + types.logicalExpression( + '&&', + types.memberExpression( + types.identifier('params'), + types.stringLiteral(prop.content.id), + true, + false + ), + types.objectExpression([ + types.objectProperty( + types.stringLiteral(item), + types.memberExpression( + types.identifier('params'), + types.stringLiteral(prop.content.id), + true, + false + ) + ), + ]) + ) + ) + ) + } + + return acc + }, []) + + const paramsAST = types.variableDeclaration('const', [ + types.variableDeclarator( + types.identifier('urlParams'), + types.objectExpression(paramsDeclerations) + ), + ]) + + const url = queryParams?.quasis + ? types.templateLiteral( + [...fetchUrlQuasis, ...queryParamsQuasis], + [...fetchUrl.expressions.concat(queryParams.expressions)] + ) + : fetchUrl + + const method = types.objectProperty( + types.identifier('method'), + types.stringLiteral(resource.method) + ) + + let allHeaders: types.ObjectProperty[] = [] + + if (authHeaderAST) { + allHeaders.push(authHeaderAST) + } + + if (headersASTs.length) { + allHeaders = allHeaders.concat(headersASTs) + } + + const headers = types.objectProperty( + types.identifier('headers'), + types.objectExpression(allHeaders) + ) + + const fetchAST = types.variableDeclaration('const', [ + types.variableDeclarator( + types.identifier('data'), + types.awaitExpression( + types.callExpression(types.identifier('fetch'), [ + url, + types.objectExpression([method, headers]), + ]) + ) + ), + ]) + + const responseType = resource?.response?.type ?? 'json' + let responseJSONAST + + /** + * Responce types can be of json, text and we might be reading just headers + * So, with the response type of the resource. We are returning either + * - data.json() + * - data.text() + * - data.headers + * back to the caller, from the fetch response. + */ + + switch (responseType) { + case 'json': + responseJSONAST = types.variableDeclaration('const', [ + types.variableDeclarator( + types.identifier('response'), + types.awaitExpression( + types.callExpression( + types.memberExpression(types.identifier('data'), types.identifier('json'), false), + [] + ) + ) + ), + ]) + break + + case 'text': { + responseJSONAST = types.variableDeclaration('const', [ + types.variableDeclarator( + types.identifier('response'), + types.awaitExpression( + types.callExpression( + types.memberExpression(types.identifier('data'), types.identifier('text'), false), + [] + ) + ) + ), + ]) + break + } + + case 'headers': { + responseJSONAST = types.variableDeclaration('const', [ + types.variableDeclarator( + types.identifier('response'), + types.memberExpression(types.identifier('data'), types.identifier('headers')) + ), + ]) + break + } + + case 'none': { + responseJSONAST = types.variableDeclaration('const', [ + types.variableDeclarator(types.identifier('response'), types.identifier('data')), + ]) + break + } + + default: { + responseJSONAST = types.variableDeclaration('const', [ + types.variableDeclarator(types.identifier('response'), types.identifier('data')), + ]) + } + } + + return [paramsAST, fetchAST, responseJSONAST] +} + +const generateRESTHeadersAST = (headers: UIDLResourceItem['headers']): types.ObjectProperty[] => { + return Object.keys(headers) + .filter((header) => header !== 'authToken') + .map((header) => { + const headerResolved = resolveResourceValue(headers[header]) + const value = + headers[header].type === 'static' + ? types.stringLiteral(String(headerResolved)) + : types.identifier(String(headerResolved)) + return types.objectProperty(types.stringLiteral(header), value) + }) +} + +export const generateMemberExpressionASTFromBase = ( + base: types.OptionalMemberExpression | types.MemberExpression | types.Identifier, + path: string[] +): types.OptionalMemberExpression => { + if (path.length === 1) { + return types.optionalMemberExpression(base, types.identifier(path[0]), false, true) + } + + const pathClone = [...path] + pathClone.pop() + + return types.optionalMemberExpression( + generateMemberExpressionASTFromBase(base, pathClone), + types.identifier(path[path.length - 1]), + false, + true + ) +} + +export const generateMemberExpressionASTFromPath = ( + path: Array +): types.OptionalMemberExpression | types.Identifier => { + const pathClone = [...path] + if (path.length === 1) { + return types.identifier(path[0].toString()) + } + + pathClone.pop() + + const currentPath = path[path.length - 1] + if (typeof currentPath === 'number') { + return types.optionalMemberExpression( + generateMemberExpressionASTFromPath(pathClone), + types.numericLiteral(currentPath), + false, + true + ) + } + + const containsSpecial = currentPath.indexOf('.') !== -1 || currentPath.indexOf('-') !== -1 + + return types.optionalMemberExpression( + generateMemberExpressionASTFromPath(pathClone), + containsSpecial ? types.stringLiteral(currentPath) : types.identifier(currentPath), + containsSpecial, + true + ) +} + +export const generateURLParamsAST = ( + urlParams: Record +): types.TemplateLiteral | null => { + if (!urlParams) { + return null + } + + const queryString: Record = {} + Object.keys(urlParams).forEach((key) => { + resolveDynamicValuesFromUrlParams(urlParams[key], queryString, key) + }) + + return types.templateLiteral( + [ + types.templateElement({ raw: '', cooked: '' }, false), + types.templateElement({ raw: '', cooked: '' }, true), + ], + [types.newExpression(types.identifier('URLSearchParams'), [types.identifier('urlParams')])] + ) +} + +const resolveDynamicValuesFromUrlParams = ( + field: UIDLStaticValue | UIDLPropValue | UIDLStateValue | UIDLExpressionValue, + query: Record, + prefix: string = null +) => { + if (field.type === 'dynamic' || field.type === 'static') { + query[prefix] = resolveUrlParamsValue(field) + } +} + +const resolveUrlParamsValue = (urlParam: UIDLStaticValue | UIDLPropValue | UIDLStateValue) => { + if (urlParam.type === 'static') { + return types.stringLiteral(`${urlParam.content}`) + } + + if (urlParam.content.referenceType !== 'prop' && urlParam.content.referenceType !== 'state') { + throw new Error('Only prop and state references are supported for url params') + } + + const paramPath = [ + ...(urlParam.content.referenceType === 'prop' ? ['params'] : ['']), + urlParam.content.id, + ] + + const templateLiteralElements = paramPath + .map((_, index) => { + const isTail = index === paramPath.length - 1 + return types.templateElement( + { + cooked: '', + raw: '', + }, + isTail + ) + }) + .filter((el) => el) + + return types.templateLiteral(templateLiteralElements, [ + generateMemberExpressionASTFromPath(paramPath), + ]) +} + +const computeAuthorizationHeaderAST = (headers: UIDLResourceItem['headers']) => { + const authToken = resolveResourceValue(headers.authToken) + if (!authToken) { + return null + } + + const authTokenType = headers.authToken?.type + + return types.objectProperty( + types.identifier('Authorization'), + types.templateLiteral( + [ + types.templateElement( + { + cooked: authTokenType === 'static' ? `Bearer ${authToken}` : 'Bearer ', + raw: authTokenType === 'static' ? `Bearer ${authToken}` : 'Bearer ', + }, + false + ), + ...(authTokenType === 'static' + ? [] + : [ + types.templateElement( + { + cooked: '', + raw: '', + }, + true + ), + ]), + ], + [...(authTokenType === 'static' ? [] : [types.identifier(String(authToken))])] + ), + false, + false + ) +} + +const computeFetchUrl = (resource: UIDLResourceItem) => { + const { path } = resource + const fetchBaseUrl = resolveResourceValue(path.baseUrl) + const resourceRoute = resolveResourceValue(path.route) + + const baseUrlType = path.baseUrl?.type + const routeType = path.route?.type + + if (baseUrlType === 'static' && routeType === 'static') { + const stringsToJoin = [fetchBaseUrl, resourceRoute].filter((item) => item).join('/') + return types.templateLiteral( + [types.templateElement({ cooked: `${stringsToJoin}`, raw: `${stringsToJoin}` }, true)], + [] + ) + } + + if (!routeType) { + return baseUrlType === 'static' + ? types.templateLiteral( + [types.templateElement({ cooked: `${fetchBaseUrl}`, raw: `${fetchBaseUrl}` }, true)], + [] + ) + : types.templateLiteral( + [ + types.templateElement( + { + cooked: '', + raw: '', + }, + false + ), + types.templateElement( + { + cooked: '', + raw: '', + }, + true + ), + ], + [types.identifier(String(fetchBaseUrl))] + ) + } + + return types.templateLiteral( + [ + types.templateElement( + { + cooked: '', + raw: '', + }, + false + ), + types.templateElement( + { + cooked: routeType === 'static' ? `/${resourceRoute}` : '/', + raw: routeType === 'static' ? `/${resourceRoute}` : '/', + }, + false + ), + ...(routeType === 'static' + ? [] + : [ + types.templateElement( + { + cooked: '', + raw: '', + }, + false + ), + ]), + ], + [ + types.identifier(String(fetchBaseUrl)), + ...(routeType === 'static' ? [] : [types.identifier(String(resourceRoute))]), + ] + ) +} + +const resolveResourceValue = (value: UIDLStaticValue | UIDLENVValue) => { + if (!value) { + return '' + } + + if (value.type === 'static') { + return value.content + } + + return `process.env.${value.content}` +} + +export const resolveObjectValue = ( + prop: UIDLStaticValue | UIDLExpressionValue +): + | types.Identifier + | types.StringLiteral + | types.NumericLiteral + | types.BooleanLiteral + | types.ObjectExpression + | types.Expression => { + if (prop.type === 'static') { + const value = + typeof prop.content === 'string' + ? types.stringLiteral(prop.content) + : typeof prop.content === 'boolean' + ? types.booleanLiteral(prop.content) + : typeof prop.content === 'number' + ? types.numericLiteral(prop.content) + : typeof prop.content === 'object' + ? objectToObjectExpression(prop.content as unknown as Record) + : types.identifier(String(prop.content)) + + return value + } + + if (prop.type === 'expr') { + return getExpressionFromUIDLExpressionNode(prop) + } +} + +export const getExpressionFromUIDLExpressionNode = ( + node: UIDLExpressionValue +): types.Expression => { + const ast = parse(node.content, { + sourceType: 'module' as const, + }) + + if (!('program' in ast)) { + throw new Error( + `The AST does not have a program node in the expression inside addDynamicExpressionAttributeToJSXTag` + ) + } + + const theStatementOnlyWihtoutTheProgram = ast.program.body[0] + + if (theStatementOnlyWihtoutTheProgram.type !== 'ExpressionStatement') { + throw new Error(`Expr dynamic attribute only support expressions statements at the moment.`) + } + + return theStatementOnlyWihtoutTheProgram.expression +} diff --git a/packages/teleport-plugin-css-modules/package.json b/packages/teleport-plugin-css-modules/package.json index a90a9f773..f8bff59b7 100644 --- a/packages/teleport-plugin-css-modules/package.json +++ b/packages/teleport-plugin-css-modules/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-css-modules", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for handling the styles as a separate css-module file for JSX based components", "author": "teleportHQ", "license": "MIT", @@ -25,9 +25,9 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-plugin-css-modules/src/utils.ts b/packages/teleport-plugin-css-modules/src/utils.ts index 3ced2b43a..ed8f8c2ed 100644 --- a/packages/teleport-plugin-css-modules/src/utils.ts +++ b/packages/teleport-plugin-css-modules/src/utils.ts @@ -28,8 +28,19 @@ export const generateStylesFromStyleSetDefinitions = (params: { Object.keys(styleSetDefinitions).forEach((styleId) => { const style = styleSetDefinitions[styleId] const { content, conditions = [] } = style - const className = styleId - cssMap.push(StyleBuilders.createCSSClass(className, generateStyledFromStyleContent(content))) + const className = style.className || styleId + const subselectors = style.subselectors + + const cls = subselectors + ? StyleBuilders.createCSSClassWithSelector( + className, + // & is required by jss, otherwise the final result will be empty + `&${subselectors}`, + generateStyledFromStyleContent(content) + ) + : StyleBuilders.createCSSClass(className, generateStyledFromStyleContent(content)) + + cssMap.push(cls) if (conditions.length === 0) { return @@ -41,16 +52,20 @@ export const generateStylesFromStyleSetDefinitions = (params: { cssMap.push( StyleBuilders.createCSSClassWithSelector( className, - `&:${styleRef.meta.state}`, + `&${subselectors || ''}:${styleRef.meta.state}`, collectedMediaStyles ) ) } if (styleRef.type === 'screen-size') { + const mediaStyleMap = subselectors + ? { [`&${subselectors}`]: collectedMediaStyles } + : collectedMediaStyles + mediaStylesMap[styleRef.meta.maxWidth] = { ...mediaStylesMap[styleRef.meta.maxWidth], - [className]: collectedMediaStyles, + [className]: mediaStyleMap, } } }) diff --git a/packages/teleport-plugin-css/__tests__/style-sheet.ts b/packages/teleport-plugin-css/__tests__/style-sheet.ts index 9547d6403..05a0e15ba 100644 --- a/packages/teleport-plugin-css/__tests__/style-sheet.ts +++ b/packages/teleport-plugin-css/__tests__/style-sheet.ts @@ -40,6 +40,15 @@ describe('plugin-css-style-sheet', () => { color: staticNode('blue'), }, }, + someClassId: { + type: 'reusable-project-style-map', + content: { + background: staticNode('red'), + color: staticNode('blue'), + }, + className: 'secondaryButton', + subselectors: ' h1', + }, conditionalButton: { type: 'reusable-project-style-map', conditions: [ @@ -92,6 +101,7 @@ describe('plugin-css-style-sheet', () => { expect(content).toContain('.primaryButton') expect(content).toContain('secondaryButton') expect(content).toContain('.conditionalButton:hover') + expect(content).toContain('.secondaryButton h1') expect(content).toContain('@media(max-width: 991px)') expect(content).not.toContain('5ecfa1233b8e50f60ea2b64b') }) diff --git a/packages/teleport-plugin-css/package.json b/packages/teleport-plugin-css/package.json index da92af387..99682318c 100644 --- a/packages/teleport-plugin-css/package.json +++ b/packages/teleport-plugin-css/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-css", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for creating the styles into external css files", "author": "teleportHQ", "license": "MIT", @@ -25,9 +25,9 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-plugin-html-base-component/package.json b/packages/teleport-plugin-html-base-component/package.json index 420f29fdd..c9460252f 100644 --- a/packages/teleport-plugin-html-base-component/package.json +++ b/packages/teleport-plugin-html-base-component/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-html-base-component", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for handling the skeleton/baseline of a base html component", "author": "teleportHQ", "license": "MIT", @@ -24,10 +24,10 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-plugin-css": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0", - "@teleporthq/teleport-uidl-builders": "^0.31.0" + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-plugin-css": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0", + "@teleporthq/teleport-uidl-builders": "^0.32.0" } } diff --git a/packages/teleport-plugin-html-base-component/src/node-handlers.ts b/packages/teleport-plugin-html-base-component/src/node-handlers.ts index 97cb5ded0..a39e1a4af 100644 --- a/packages/teleport-plugin-html-base-component/src/node-handlers.ts +++ b/packages/teleport-plugin-html-base-component/src/node-handlers.ts @@ -123,6 +123,7 @@ const generatElementNode: NodeToHTML, propKey) => { if (attrs[propKey]) { @@ -287,6 +289,7 @@ const generateComponentContent = async ( }, {} ) + const elementNode = HASTBuilders.createHTMLNode(StringUtils.camelCaseToDashCase(elementType)) lookUpTemplates[key] = elementNode diff --git a/packages/teleport-plugin-import-statements-html/package.json b/packages/teleport-plugin-import-statements-html/package.json index 6241d5455..02af61f10 100644 --- a/packages/teleport-plugin-import-statements-html/package.json +++ b/packages/teleport-plugin-import-statements-html/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-import-statements-html", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for handling import statements in HTML", "author": "teleportHQ", "license": "MIT", @@ -24,8 +24,8 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" } } diff --git a/packages/teleport-plugin-import-statements-html/src/index.ts b/packages/teleport-plugin-import-statements-html/src/index.ts index a2f617e70..cb7f4e9c8 100644 --- a/packages/teleport-plugin-import-statements-html/src/index.ts +++ b/packages/teleport-plugin-import-statements-html/src/index.ts @@ -59,6 +59,10 @@ export const createHTMLImportStatementsPlugin = () => { const { metaTags = [], assets, title } = uidl.seo if (title) { const titleTag = HASTBuilders.createHTMLNode('title') + if (typeof title !== 'string') { + throw new Error('Unsupporder HTML title type. Only string is supported.') + } + HASTUtils.addTextNode(titleTag, StringUtils.encode(title)) tags.push(titleTag) } @@ -67,7 +71,12 @@ export const createHTMLImportStatementsPlugin = () => { metaTags.forEach((meta) => { const metaTag = HASTBuilders.createHTMLNode('meta') Object.keys(meta).forEach((key) => { - HASTUtils.addAttributeToNode(metaTag, key, meta[key]) + const value = meta[key] + if (typeof value !== 'string') { + throw new Error('Unsupporder HTML meta type. Only string is supported.') + } + + HASTUtils.addAttributeToNode(metaTag, key, value) }) tags.push(metaTag) }) diff --git a/packages/teleport-plugin-import-statements/package.json b/packages/teleport-plugin-import-statements/package.json index ea5904990..705873704 100644 --- a/packages/teleport-plugin-import-statements/package.json +++ b/packages/teleport-plugin-import-statements/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-import-statements", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for handling import statements in JavaScript code", "author": "teleportHQ", "license": "MIT", @@ -24,8 +24,8 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-plugin-import-statements/src/index.ts b/packages/teleport-plugin-import-statements/src/index.ts index 88b05a541..4bc9c24d1 100644 --- a/packages/teleport-plugin-import-statements/src/index.ts +++ b/packages/teleport-plugin-import-statements/src/index.ts @@ -34,10 +34,6 @@ export const createImportPlugin: ComponentPluginFactory = ( if (uidl?.importDefinitions) { const { importDefinitions = {} } = uidl - collectedDependencies = { - ...collectedDependencies, - ...importDefinitions, - } if (Object.keys(importDefinitions).length > 0) { Object.keys(importDefinitions).forEach((dependencyRef) => { const dependency = importDefinitions[dependencyRef] @@ -52,7 +48,7 @@ export const createImportPlugin: ComponentPluginFactory = ( dependencies[dependencyRef] = { type: 'package', - path: dependency.meta?.importJustPath ? dependency.path : dependencyRef, + path: dependency.meta?.importAlias ? dependency.meta?.importAlias : dependencyRef, version: dependency.version, meta: { importJustPath: dependency?.meta?.importJustPath, @@ -62,11 +58,17 @@ export const createImportPlugin: ComponentPluginFactory = ( } }) } + + collectedDependencies = { + ...collectedDependencies, + ...importDefinitions, + } } const libraryDependencies = groupDependenciesByPackage(collectedDependencies, 'library') const packageDependencies = groupDependenciesByPackage(collectedDependencies, 'package') const localDependencies = groupDependenciesByPackage(collectedDependencies, 'local') + addImportChunk(structure.chunks, libraryDependencies, importLibsChunkName, fileType) addImportChunk(structure.chunks, packageDependencies, importPackagesChunkName, fileType) addImportChunk(structure.chunks, localDependencies, importLocalsChunkName, fileType) @@ -96,19 +98,16 @@ const groupDependenciesByPackage = ( return } - if (dep?.meta?.importAlias) { - result[dep.meta.importAlias] = [] - } - - if (!dep?.meta?.importAlias && !result[dep.path]) { - result[dep.path] = [] // Initialize the dependencies from this path + const dependencyPath = dep?.meta?.importAlias ?? dep.path + if (!result[dependencyPath]) { + result[dependencyPath] = [] } const importJustPath = (dep.meta && dep.meta.importJustPath) || false const namedImport = !!(dep.meta && dep.meta.namedImport) const originalName = dep.meta && dep.meta.originalName ? dep.meta.originalName : key - result[dep?.meta?.importAlias ?? dep.path].push({ + result[dependencyPath].push({ identifierName: key, namedImport, originalName, diff --git a/packages/teleport-plugin-jsx-head-config/package.json b/packages/teleport-plugin-jsx-head-config/package.json index 87e9978b0..14e712077 100644 --- a/packages/teleport-plugin-jsx-head-config/package.json +++ b/packages/teleport-plugin-jsx-head-config/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-jsx-head-config", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for generating `` tags inside regular JSX-based components", "author": "teleportHQ", "license": "MIT", @@ -25,8 +25,8 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-plugin-jsx-head-config/src/index.ts b/packages/teleport-plugin-jsx-head-config/src/index.ts index e23502d16..8613013ce 100644 --- a/packages/teleport-plugin-jsx-head-config/src/index.ts +++ b/packages/teleport-plugin-jsx-head-config/src/index.ts @@ -1,4 +1,9 @@ -import { ComponentPluginFactory, ComponentPlugin } from '@teleporthq/teleport-types' +import { + ComponentPluginFactory, + ComponentPlugin, + UIDLDynamicReference, + UIDLStaticValue, +} from '@teleporthq/teleport-types' import { ASTBuilders, ASTUtils } from '@teleporthq/teleport-plugin-common' import * as types from '@babel/types' @@ -38,8 +43,7 @@ export const createJSXHeadConfigPlugin: ComponentPluginFactory { const metaAST = ASTBuilders.createSelfClosingJSXTag('meta') Object.keys(tag).forEach((key) => { - ASTUtils.addAttributeToJSXTag(metaAST, key, tag[key]) + const value = tag[key] + addAttributeToMetaTag(metaAST, key, value) }) headASTTags.push(metaAST) }) @@ -90,6 +95,68 @@ export const createJSXHeadConfigPlugin: ComponentPluginFactory { + if (typeof value === 'string') { + ASTUtils.addAttributeToJSXTag(metaTag, key, value) + return + } + + const isDynamic = value.type === 'dynamic' + if (!isDynamic) { + ASTUtils.addAttributeToJSXTag(metaTag, key, value!.content.toString()) + return + } + + if (value.content.referenceType !== 'prop') { + throw new Error(`Only prop references are supported for dynamic meta tags`) + } + + let content = `props` + value.content.refPath?.forEach((pathItem) => { + content = content.concat(`?.${pathItem}`) + }) + + metaTag.openingElement.attributes.push( + types.jsxAttribute( + types.jsxIdentifier(key), + types.jsxExpressionContainer(types.identifier(content)) + ) + ) + } + + const generateTitleAST = (title: string | UIDLStaticValue | UIDLDynamicReference) => { + const titleAST = ASTBuilders.createJSXTag('title') + + if (typeof title === 'string') { + ASTUtils.addChildJSXText(titleAST, title) + return titleAST + } + + const isDynamic = title.type === 'dynamic' + if (!isDynamic) { + ASTUtils.addChildJSXText(titleAST, title!.content.toString()) + return titleAST + } + + if (title.content.referenceType !== 'prop') { + throw new Error(`Only prop references are supported for dynamic titles`) + } + + const expresContainer = types.jsxExpressionContainer( + ASTUtils.generateMemberExpressionASTFromBase( + types.identifier('props'), + title.content.refPath || [] + ) + ) + + titleAST.children.push(expresContainer) + return titleAST + } + return jsxHeadConfigPlugin } diff --git a/packages/teleport-plugin-jsx-inline-styles/package.json b/packages/teleport-plugin-jsx-inline-styles/package.json index 5c955fa63..61974a3c8 100644 --- a/packages/teleport-plugin-jsx-inline-styles/package.json +++ b/packages/teleport-plugin-jsx-inline-styles/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-jsx-inline-styles", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for injecting the styles as inline styles inside JSX-based components", "author": "teleportHQ", "license": "MIT", @@ -25,9 +25,9 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-plugin-jsx-next-image/__tests__/index.ts b/packages/teleport-plugin-jsx-next-image/__tests__/index.ts index 1ca1f1ea2..5813532a6 100644 --- a/packages/teleport-plugin-jsx-next-image/__tests__/index.ts +++ b/packages/teleport-plugin-jsx-next-image/__tests__/index.ts @@ -26,7 +26,7 @@ describe('plugin-jsx-next-image', () => { ) element.content.key = 'container' - it(`When a local asset is having only width and height, + it(`When a local asset is having only width and height, the jsx-next-image converts it to use Image Component`, async () => { const componentChunk: ChunkDefinition = { name: 'jsx-component', diff --git a/packages/teleport-plugin-jsx-next-image/package.json b/packages/teleport-plugin-jsx-next-image/package.json index abd4840df..5f5aacfb1 100644 --- a/packages/teleport-plugin-jsx-next-image/package.json +++ b/packages/teleport-plugin-jsx-next-image/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-jsx-next-image", - "version": "0.31.3", + "version": "0.32.0", "description": "A Next-JS plugin for using next/image for images with local assets and dimensions.", "author": "teleportHQ", "license": "MIT", @@ -25,7 +25,7 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" } } diff --git a/packages/teleport-plugin-jsx-proptypes/package.json b/packages/teleport-plugin-jsx-proptypes/package.json index e1c7fb9a5..2bb27eaf8 100644 --- a/packages/teleport-plugin-jsx-proptypes/package.json +++ b/packages/teleport-plugin-jsx-proptypes/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-jsx-proptypes", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for generating prop-types according to the component specification", "author": "teleportHQ", "license": "MIT", @@ -25,9 +25,9 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-plugin-next-static-paths/package.json b/packages/teleport-plugin-next-static-paths/package.json new file mode 100644 index 000000000..f11e3adf0 --- /dev/null +++ b/packages/teleport-plugin-next-static-paths/package.json @@ -0,0 +1,32 @@ +{ + "name": "@teleporthq/teleport-plugin-next-static-paths", + "version": "0.32.0", + "description": "A plugin for adding getStaticPaths inside a nextjs page", + "author": "teleportHQ", + "license": "MIT", + "homepage": "https://teleporthq.io/", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "dist/cjs/index.d.ts", + "sideEffects": false, + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/teleporthq/teleport-code-generators.git" + }, + "bugs": { + "url": "https://github.com/teleporthq/teleport-code-generators/issues" + }, + "publishConfig": { + "access": "public" + }, + "scripts": { + "clean": "rimraf dist", + "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" + }, + "dependencies": { + "@babel/types": "^7.5.5", + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" + }, + "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" +} diff --git a/packages/teleport-plugin-next-static-paths/src/index.ts b/packages/teleport-plugin-next-static-paths/src/index.ts new file mode 100644 index 000000000..dcd94a90e --- /dev/null +++ b/packages/teleport-plugin-next-static-paths/src/index.ts @@ -0,0 +1,92 @@ +import { + ChunkType, + ComponentPlugin, + ComponentPluginFactory, + FileType, + TeleportError, + UIDLLocalResource, +} from '@teleporthq/teleport-types' +import { StringUtils } from '@teleporthq/teleport-shared' +import { generateInitialPathsAST } from './utils' + +interface StaticPropsPluginConfig { + componentChunkName?: string +} + +export const createStaticPathsPlugin: ComponentPluginFactory = ( + config +) => { + const { componentChunkName = 'jsx-component' } = config || {} + + const staticPathsPlugin: ComponentPlugin = async (structure) => { + const { uidl, chunks, options, dependencies } = structure + const { resources } = options + + if (!uidl.outputOptions?.initialPathsData) { + return structure + } + + const { resource } = uidl?.outputOptions?.initialPathsData + + const isLocalResource = 'id' in resource + const isExternalResource = 'name' in resource + /* + Name of the function that is being imported + */ + let resourceImportName: string + + if (isLocalResource) { + const usedResource = resources.items[(resource as UIDLLocalResource).id] + + if (!usedResource) { + throw new TeleportError( + `Resource ${ + (resource as UIDLLocalResource).id + } is being used, but missing from the project ressources` + ) + } + + resourceImportName = StringUtils.dashCaseToCamelCase( + StringUtils.camelCaseToDashCase(`${usedResource.name}-resource`) + ) + + const importPath = `${resources.path}${StringUtils.camelCaseToDashCase(usedResource.name)}` + + dependencies[resourceImportName] = { + type: 'local', + path: importPath, + } + } + + if (isExternalResource) { + resourceImportName = resource.name + dependencies[resource.name] = resource.dependency + } + + const componentChunk = chunks.find((chunk) => chunk.name === componentChunkName) + if (!componentChunk) { + return structure + } + + const getStaticPathsAST = generateInitialPathsAST( + uidl.outputOptions.initialPathsData, + resourceImportName, + resource, + uidl.outputOptions.pagination + ) + + chunks.push({ + name: 'getStaticPaths', + type: ChunkType.AST, + fileType: FileType.JS, + content: getStaticPathsAST, + linkAfter: [componentChunkName], + }) + + return structure + } + + return staticPathsPlugin +} + +export default createStaticPathsPlugin() diff --git a/packages/teleport-plugin-next-static-paths/src/utils.ts b/packages/teleport-plugin-next-static-paths/src/utils.ts new file mode 100644 index 000000000..e621f186c --- /dev/null +++ b/packages/teleport-plugin-next-static-paths/src/utils.ts @@ -0,0 +1,215 @@ +import * as types from '@babel/types' +import { ASTUtils } from '@teleporthq/teleport-plugin-common' +import { UIDLInitialPathsData, PagePaginationOptions } from '@teleporthq/teleport-types' + +export const generateInitialPathsAST = ( + initialData: UIDLInitialPathsData, + resourceImportName: string, + resource: UIDLInitialPathsData['resource'], + pagination?: PagePaginationOptions +) => { + const computedResourceAST = computePropsAST(initialData, resourceImportName, resource, pagination) + + return types.exportNamedDeclaration( + (() => { + const node = types.functionDeclaration( + types.identifier('getStaticPaths'), + [], + types.blockStatement([...computedResourceAST]), + false, + true + ) + + node.async = true + return node + })() + ) +} + +const computePropsAST = ( + initialData: UIDLInitialPathsData, + resourceImportName: string, + resource: UIDLInitialPathsData['resource'], + pagination?: PagePaginationOptions +) => { + const funcParams: types.ObjectProperty[] = Object.keys(resource?.params || {}).reduce( + (acc: types.ObjectProperty[], item) => { + const prop = resource.params[item] + acc.push(types.objectProperty(types.stringLiteral(item), ASTUtils.resolveObjectValue(prop))) + + return acc + }, + [] + ) + + const declerationAST = types.variableDeclaration('const', [ + types.variableDeclarator( + types.identifier('response'), + types.awaitExpression( + types.callExpression(types.identifier(resourceImportName), [ + types.objectExpression(funcParams), + ]) + ) + ), + ]) + + const paginationASTs = [] + // TODO: When pagination is used totalCountPath is mandatory + if (pagination && pagination?.totalCountPath) { + const { type, path } = pagination.totalCountPath || {} + if (type === 'headers') { + // We need to parse the headers as JSON because they are returned as a map. + const parseHeadersAST = types.variableDeclaration('const', [ + types.variableDeclarator( + types.identifier('headers'), + types.callExpression( + types.memberExpression(types.identifier('Object'), types.identifier('fromEntries')), + [types.identifier('response')] + ) + ), + ]) + paginationASTs.push(parseHeadersAST) + } + + const itemsCountAST = types.variableDeclaration('const', [ + types.variableDeclarator( + types.identifier('totalCount'), + type === 'body' + ? ASTUtils.generateMemberExpressionASTFromPath(['response', ...path]) + : ASTUtils.generateMemberExpressionASTFromPath(['headers', ...path]) + ), + ]) + + const pagesCountAST = types.variableDeclaration('const', [ + types.variableDeclarator( + types.identifier('pagesCount'), + types.callExpression( + types.memberExpression(types.identifier('Math'), types.identifier('ceil'), false), + [ + types.binaryExpression( + '/', + types.identifier('totalCount'), + types.numericLiteral(pagination.pageSize) + ), + ] + ) + ), + ]) + + paginationASTs.push(itemsCountAST) + paginationASTs.push(pagesCountAST) + } + + const returnAST = types.returnStatement( + types.objectExpression([ + types.objectProperty( + types.identifier('paths'), + pagination + ? types.callExpression( + types.memberExpression(types.identifier('Array'), types.identifier('from')), + [ + types.objectExpression([ + types.objectProperty(types.identifier('length'), types.identifier('pagesCount')), + ]), + types.arrowFunctionExpression( + [types.identifier('_'), types.identifier('i')], + types.objectExpression([ + types.objectProperty( + types.identifier('params'), + types.objectExpression([ + types.objectProperty( + types.identifier('page'), + types.callExpression( + types.memberExpression( + types.binaryExpression( + '+', + types.identifier('i'), + types.numericLiteral(1) + ), + types.identifier('toString') + ), + [] + ) + ), + ]) + ), + ]) + ), + ] + ) + : types.callExpression( + types.memberExpression( + types.logicalExpression( + '||', + ASTUtils.generateMemberExpressionASTFromPath([ + 'response', + ...(initialData.exposeAs?.valuePath || []), + ]), + types.arrayExpression() + ), + types.identifier('map'), + false + ), + [ + types.arrowFunctionExpression( + [types.identifier('item')], + types.blockStatement([ + types.returnStatement( + types.objectExpression([ + types.objectProperty( + types.identifier('params'), + types.objectExpression([ + types.objectProperty( + types.identifier(initialData.exposeAs.name), + types.callExpression( + types.memberExpression( + ASTUtils.generateMemberExpressionASTFromPath([ + 'item', + ...(initialData.exposeAs?.itemValuePath || []), + ]), + types.identifier('toString') + ), + [] + ), + false, + false + ), + ]), + false, + false + ), + ]) + ), + ]) + ), + ] + ), + false, + false + ), + types.objectProperty( + types.identifier('fallback'), + types.stringLiteral('blocking'), + false, + false + ), + ]) + ) + + return [ + types.tryStatement( + types.blockStatement([declerationAST, ...paginationASTs, returnAST]), + types.catchClause( + types.identifier('error'), + types.blockStatement([ + types.returnStatement( + types.objectExpression([ + types.objectProperty(types.identifier('paths'), types.arrayExpression([])), + types.objectProperty(types.identifier('fallback'), types.stringLiteral('blocking')), + ]) + ), + ]) + ) + ), + ] +} diff --git a/packages/teleport-plugin-next-static-paths/tsconfig.json b/packages/teleport-plugin-next-static-paths/tsconfig.json new file mode 100755 index 000000000..89ea1a3c2 --- /dev/null +++ b/packages/teleport-plugin-next-static-paths/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "outDir": "dist/esm" + }, + "include": [ + "./src" + ] +} \ No newline at end of file diff --git a/packages/teleport-plugin-next-static-props/package.json b/packages/teleport-plugin-next-static-props/package.json new file mode 100644 index 000000000..d85a17abf --- /dev/null +++ b/packages/teleport-plugin-next-static-props/package.json @@ -0,0 +1,32 @@ +{ + "name": "@teleporthq/teleport-plugin-next-static-props", + "version": "0.32.0", + "description": "A plugin for adding getStaticProps inside a nextjs page", + "author": "teleportHQ", + "license": "MIT", + "homepage": "https://teleporthq.io/", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "dist/cjs/index.d.ts", + "sideEffects": false, + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/teleporthq/teleport-code-generators.git" + }, + "bugs": { + "url": "https://github.com/teleporthq/teleport-code-generators/issues" + }, + "publishConfig": { + "access": "public" + }, + "scripts": { + "clean": "rimraf dist", + "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" + }, + "dependencies": { + "@babel/types": "^7.5.5", + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" + }, + "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" +} diff --git a/packages/teleport-plugin-next-static-props/src/index.ts b/packages/teleport-plugin-next-static-props/src/index.ts new file mode 100644 index 000000000..0e476e4f2 --- /dev/null +++ b/packages/teleport-plugin-next-static-props/src/index.ts @@ -0,0 +1,88 @@ +import { + ChunkType, + ComponentPlugin, + ComponentPluginFactory, + FileType, + TeleportError, +} from '@teleporthq/teleport-types' +import { StringUtils } from '@teleporthq/teleport-shared' +import { generateInitialPropsAST } from './utils' + +interface StaticPropsPluginConfig { + componentChunkName?: string +} + +export const createStaticPropsPlugin: ComponentPluginFactory = ( + config +) => { + const { componentChunkName = 'jsx-component' } = config || {} + + const staticPropsPlugin: ComponentPlugin = async (structure) => { + const { uidl, chunks, options, dependencies } = structure + const { resources } = options + + if (!uidl.outputOptions?.initialPropsData) { + return structure + } + + const { resource } = uidl?.outputOptions?.initialPropsData + + const isLocalResource = 'id' in resource + const isExternalResource = 'name' in resource + /* + Name of the function that is being imported + */ + let resourceImportName + + if (isLocalResource) { + const usedResource = resources.items?.[resource.id] + if (!usedResource) { + throw new TeleportError( + `Resource ${resource.id} is being used, but missing from the project ressources. Check ${uidl.name} in UIDL for more information` + ) + } + + resourceImportName = StringUtils.dashCaseToCamelCase( + StringUtils.camelCaseToDashCase(usedResource.name + 'Resource') + ) + const importPath = `${resources.path}${StringUtils.camelCaseToDashCase(usedResource.name)}` + + dependencies[resourceImportName] = { + path: importPath, + type: 'local', + } + } + + if (isExternalResource) { + dependencies[resource.name] = resource.dependency + resourceImportName = resource.name + } + + /* + itemValuePath exists only for details pages. + */ + const isDetailsPage = 'itemValuePath' in uidl.outputOptions?.initialPropsData?.exposeAs + + const getStaticPropsAST = generateInitialPropsAST( + uidl.outputOptions.initialPropsData, + isDetailsPage, + resourceImportName, + resources.cache, + uidl.outputOptions.pagination + ) + + chunks.push({ + name: 'getStaticProps', + type: ChunkType.AST, + fileType: FileType.JS, + content: getStaticPropsAST, + linkAfter: [componentChunkName], + }) + + return structure + } + + return staticPropsPlugin +} + +export default createStaticPropsPlugin() diff --git a/packages/teleport-plugin-next-static-props/src/utils.ts b/packages/teleport-plugin-next-static-props/src/utils.ts new file mode 100644 index 000000000..246a6deb6 --- /dev/null +++ b/packages/teleport-plugin-next-static-props/src/utils.ts @@ -0,0 +1,188 @@ +import * as types from '@babel/types' +import { ASTUtils } from '@teleporthq/teleport-plugin-common' +import { + UIDLInitialPropsData, + PagePaginationOptions, + UIDLResources, +} from '@teleporthq/teleport-types' +import { StringUtils } from '@teleporthq/teleport-shared' + +export const generateInitialPropsAST = ( + initialPropsData: UIDLInitialPropsData, + isDetailsPage = false, + resourceImportName: string, + globalCache: UIDLResources['cache'], + pagination?: PagePaginationOptions +) => { + const functionContentAST = types.blockStatement([ + types.tryStatement( + types.blockStatement([ + ...computePropsAST( + initialPropsData, + isDetailsPage, + resourceImportName, + globalCache, + pagination + ), + ]), + // catch clause + types.catchClause( + types.identifier('error'), + types.blockStatement([ + types.returnStatement( + types.objectExpression([ + types.objectProperty(types.identifier('notFound'), types.booleanLiteral(true)), + ]) + ), + ]) + ) + ), + ]) + + return types.exportNamedDeclaration( + (() => { + const node = types.functionDeclaration( + types.identifier('getStaticProps'), + [types.identifier('context')], + functionContentAST, + false, + true + ) + + node.async = true + return node + })() + ) +} + +const computePropsAST = ( + initialPropsData: UIDLInitialPropsData, + isDetailsPage = false, + resourceImportName: string, + globalCache: UIDLResources['cache'], + pagination?: PagePaginationOptions +) => { + const funcParams: types.ObjectProperty[] = Object.keys( + initialPropsData.resource?.params || {} + ).reduce((acc: types.ObjectProperty[], item) => { + const prop = initialPropsData.resource.params[item] + acc.push(types.objectProperty(types.stringLiteral(item), ASTUtils.resolveObjectValue(prop))) + + return acc + }, []) + + /* + Per-page cache can override the global cache. + Gobally the project don't need to have a cache. + But for a specific page, it can have a cache. + Eg: + Handling paths + - /blog-posts + - /blog-pots/${id} + + using webhook. And then letting page cache handler to do pages like + - /blog-posts/page/${id} + */ + const perPageCache = initialPropsData.cache + let cachePropertyAST: types.ObjectProperty | null = null + + if (globalCache?.revalidate && !perPageCache?.revalidate) { + cachePropertyAST = types.objectProperty( + types.identifier('revalidate'), + types.numericLiteral(globalCache.revalidate) + ) + } + + if (perPageCache?.revalidate) { + cachePropertyAST = types.objectProperty( + types.identifier('revalidate'), + types.numericLiteral(perPageCache.revalidate) + ) + } + + const declarationAST = types.variableDeclaration('const', [ + types.variableDeclarator( + types.identifier('response'), + types.awaitExpression( + types.callExpression(types.identifier(resourceImportName), [ + types.objectExpression([ + types.spreadElement( + types.optionalMemberExpression( + types.identifier('context'), + types.identifier('params'), + false, + true + ) + ), + ...funcParams, + ]), + ]) + ) + ), + ]) + + let responseMemberAST: types.Identifier | types.OptionalMemberExpression + + if (initialPropsData.exposeAs?.valuePath?.length >= 0) { + responseMemberAST = ASTUtils.generateMemberExpressionASTFromPath([ + 'response', + ...(initialPropsData.exposeAs.valuePath || []), + ]) + } + + if (initialPropsData.exposeAs?.itemValuePath?.length) { + responseMemberAST = ASTUtils.generateMemberExpressionASTFromPath([ + 'response', + ...(initialPropsData.exposeAs.itemValuePath || []), + ]) + } + + const dataWeNeedAccessorAST = + isDetailsPage && !pagination + ? types.optionalMemberExpression(responseMemberAST, types.numericLiteral(0), true, true) + : responseMemberAST + + const notFoundAST = types.ifStatement( + types.unaryExpression('!', dataWeNeedAccessorAST), + types.blockStatement([ + types.returnStatement( + types.objectExpression([ + types.objectProperty(types.identifier('notFound'), types.booleanLiteral(true)), + ]) + ), + ]) + ) + + const returnAST = types.returnStatement( + types.objectExpression( + [ + types.objectProperty( + types.identifier('props'), + types.objectExpression([ + types.objectProperty( + types.identifier( + StringUtils.createStateOrPropStoringValue(initialPropsData.exposeAs.name) + ), + dataWeNeedAccessorAST, + false, + false + ), + types.spreadElement( + types.optionalMemberExpression( + types.identifier('response'), + types.identifier('meta'), + false, + true + ) + ), + ]), + false, + false + ), + cachePropertyAST, + ].filter(Boolean) + ) + ) + + return [declarationAST, notFoundAST, returnAST] +} diff --git a/packages/teleport-plugin-next-static-props/tsconfig.json b/packages/teleport-plugin-next-static-props/tsconfig.json new file mode 100755 index 000000000..89ea1a3c2 --- /dev/null +++ b/packages/teleport-plugin-next-static-props/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "outDir": "dist/esm" + }, + "include": [ + "./src" + ] +} \ No newline at end of file diff --git a/packages/teleport-plugin-react-app-routing/package.json b/packages/teleport-plugin-react-app-routing/package.json index 39c02a299..be96b56d3 100644 --- a/packages/teleport-plugin-react-app-routing/package.json +++ b/packages/teleport-plugin-react-app-routing/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-react-app-routing", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for handling the routing file of a React project", "author": "teleportHQ", "license": "MIT", @@ -25,9 +25,9 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-plugin-react-base-component/package.json b/packages/teleport-plugin-react-base-component/package.json index 5dd250ae8..942ca79eb 100644 --- a/packages/teleport-plugin-react-base-component/package.json +++ b/packages/teleport-plugin-react-base-component/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-plugin-react-base-component", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for handling the skeleton/baseline of a React component", "author": "teleportHQ", "license": "MIT", @@ -25,9 +25,9 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-plugin-react-base-component/src/index.ts b/packages/teleport-plugin-react-base-component/src/index.ts index 3f5569013..b4f0f17f7 100644 --- a/packages/teleport-plugin-react-base-component/src/index.ts +++ b/packages/teleport-plugin-react-base-component/src/index.ts @@ -1,5 +1,5 @@ import { createDOMInjectionNode } from './utils' -import { UIDLUtils } from '@teleporthq/teleport-shared' +import { Constants, UIDLUtils } from '@teleporthq/teleport-shared' import { createJSXSyntax, JSXGenerationOptions, @@ -20,7 +20,6 @@ import { DEFAULT_EXPORT_CHUNK_NAME, DEFAULT_IMPORT_CHUNK_NAME, REACT_LIBRARY_DEPENDENCY, - USE_STATE_DEPENDENCY, } from './constants' interface ReactPluginConfig { @@ -37,13 +36,14 @@ export const createReactComponentPlugin: ComponentPluginFactory { - const { uidl, dependencies } = structure + const { uidl, dependencies, options } = structure + const { projectResources } = options const { stateDefinitions = {}, propDefinitions = {} } = uidl dependencies.React = REACT_LIBRARY_DEPENDENCY if (Object.keys(stateDefinitions).length > 0) { - dependencies.useState = USE_STATE_DEPENDENCY + dependencies.useState = Constants.USE_STATE_DEPENDENCY } // We will keep a flat mapping object from each component identifier (from the UIDL) to its correspoding JSX AST Tag @@ -56,6 +56,7 @@ export const createReactComponentPlugin: ComponentPluginFactory` tags inside regular vue components", "author": "teleportHQ", "license": "MIT", @@ -25,8 +25,8 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-plugin-vue-head-config/src/index.ts b/packages/teleport-plugin-vue-head-config/src/index.ts index 34a39349c..406d86055 100644 --- a/packages/teleport-plugin-vue-head-config/src/index.ts +++ b/packages/teleport-plugin-vue-head-config/src/index.ts @@ -25,7 +25,8 @@ export const createVueHeadConfigPlugin: ComponentPluginFactory { it('runs without crasing', async () => { const generator = createHTMLProjectGenerator() + generator.addPlugin(pluginHomeReplace) + generator.addPlugin(pluginCloneGlobals) + generator.setAssets({ mappings: { 'kitten.png': '', @@ -30,7 +33,9 @@ describe('Html Project Generator', () => { }) it('run withut crashing and appends entry things into single index.html', async () => { - const singularGenerator = createHTMLProjectGenerator({ individualEntyFile: false }) + const singularGenerator = createHTMLProjectGenerator() + singularGenerator.addPlugin(pluginHomeReplace) + singularGenerator.setAssets({ mappings: { 'kitten.png': '', @@ -64,6 +69,9 @@ describe('Html Project Generator', () => { describe('Unwinds the slot inside the component when used in page', () => { it('runs without crashing', async () => { const generator = createHTMLProjectGenerator() + generator.addPlugin(pluginHomeReplace) + generator.addPlugin(pluginCloneGlobals) + generator.setAssets({ mappings: {}, identifier: 'playground_assets', diff --git a/packages/teleport-project-generator-html/__tests__/index.ts b/packages/teleport-project-generator-html/__tests__/index.ts index 5d98a7bf8..f48b858b0 100644 --- a/packages/teleport-project-generator-html/__tests__/index.ts +++ b/packages/teleport-project-generator-html/__tests__/index.ts @@ -1,7 +1,7 @@ import { FileType } from '@teleporthq/teleport-types' import ProjectTemplate from '../src/project-template' import { htmlErrorPageMapping } from '../src/error-page-mapping' -import { createHTMLProjectGenerator } from '../src' +import { createHTMLProjectGenerator, pluginCloneGlobals, pluginHomeReplace } from '../src' import fallbackUidlSample from '../../../examples/uidl-samples/project.json' import uidlWithCompStyleOverrides from '../../../examples/test-samples/comp-style-overrides.json' import uidlWithImages from '../../../examples/test-samples/html-image-use-cases.json' @@ -9,6 +9,9 @@ import uidlWithImages from '../../../examples/test-samples/html-image-use-cases. describe('Passes the rootClass which using the component', () => { it('run without crashing while using with HTML', async () => { const generator = createHTMLProjectGenerator() + generator.addPlugin(pluginHomeReplace) + generator.addPlugin(pluginCloneGlobals) + generator.setAssets({ mappings: {}, identifier: 'playground_assets', @@ -32,6 +35,9 @@ describe('Passes the rootClass which using the component', () => { describe('Image Resolution', () => { it('resolves all local assets to be refered from public folder', async () => { const generator = createHTMLProjectGenerator() + generator.addPlugin(pluginHomeReplace) + generator.addPlugin(pluginCloneGlobals) + generator.setAssets({ mappings: { 'kitten.png': '', @@ -72,6 +78,8 @@ describe('Image Resolution', () => { it('creates a default route if a page is marked as fallback', async () => { const generator = createHTMLProjectGenerator() + generator.addPlugin(pluginHomeReplace) + generator.addPlugin(pluginCloneGlobals) generator.setAssets({ mappings: {}, @@ -90,6 +98,9 @@ describe('Image Resolution', () => { describe('Meta tags from globals', () => { it('are added to each page`s head', async () => { const generator = createHTMLProjectGenerator() + generator.addPlugin(pluginHomeReplace) + generator.addPlugin(pluginCloneGlobals) + const { files } = await generator.generateProject(fallbackUidlSample) const pages = files.filter((file) => file.fileType === 'html') diff --git a/packages/teleport-project-generator-html/package.json b/packages/teleport-project-generator-html/package.json index ad98a6d8c..a7af98d6b 100644 --- a/packages/teleport-project-generator-html/package.json +++ b/packages/teleport-project-generator-html/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-generator-html", - "version": "0.31.6", + "version": "0.32.0", "description": "Project generator for generate plain html files", "author": "teleportHQ", "license": "MIT", @@ -24,11 +24,11 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-component-generator": "^0.31.3", - "@teleporthq/teleport-component-generator-html": "^0.31.6", - "@teleporthq/teleport-plugin-css": "^0.31.6", - "@teleporthq/teleport-postprocessor-prettier-html": "^0.31.3", - "@teleporthq/teleport-project-generator": "^0.31.6", + "@teleporthq/teleport-component-generator": "^0.32.0", + "@teleporthq/teleport-component-generator-html": "^0.32.0", + "@teleporthq/teleport-plugin-css": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-html": "^0.32.0", + "@teleporthq/teleport-project-generator": "^0.32.0", "cheerio": "^1.0.0-rc.12", "path-browserify": "^1.0.1" } diff --git a/packages/teleport-project-generator-html/src/error-page-mapping.ts b/packages/teleport-project-generator-html/src/error-page-mapping.ts index 120a28b0f..e0bb8d185 100644 --- a/packages/teleport-project-generator-html/src/error-page-mapping.ts +++ b/packages/teleport-project-generator-html/src/error-page-mapping.ts @@ -14,7 +14,8 @@ class HTMLErrorPageMapping implements ProjectPlugin { } const folder = - files.get(fallback.pageOptions?.componentName) || files.get(fallback.pageOptions?.fileName) + files.get(`page-${fallback.pageOptions?.componentName}`) || + files.get(`page-${fallback.pageOptions?.fileName}`) if (!folder) { return structure } diff --git a/packages/teleport-project-generator-html/src/index.ts b/packages/teleport-project-generator-html/src/index.ts index 09c4eca88..f734184d2 100644 --- a/packages/teleport-project-generator-html/src/index.ts +++ b/packages/teleport-project-generator-html/src/index.ts @@ -8,9 +8,7 @@ import { pluginCloneGlobals, ProjectPluginCloneGlobals } from './plugin-clone-gl import { pluginHomeReplace } from './plugin-home-replace' import { htmlErrorPageMapping } from './error-page-mapping' -const createHTMLProjectGenerator = (config?: { individualEntyFile: boolean }) => { - const { individualEntyFile } = config || { individualEntyFile: true } - +const createHTMLProjectGenerator = () => { const generator = createProjectGenerator({ id: 'teleport-project-html', components: { @@ -42,11 +40,6 @@ const createHTMLProjectGenerator = (config?: { individualEntyFile: boolean }) => }, }) - generator.addPlugin(pluginHomeReplace) - if (individualEntyFile) { - generator.addPlugin(pluginCloneGlobals) - } - return generator } diff --git a/packages/teleport-project-generator-html/src/plugin-home-replace.ts b/packages/teleport-project-generator-html/src/plugin-home-replace.ts index 44696bc41..94a105aab 100644 --- a/packages/teleport-project-generator-html/src/plugin-home-replace.ts +++ b/packages/teleport-project-generator-html/src/plugin-home-replace.ts @@ -32,7 +32,7 @@ class ProjectPluginHomeReplace implements ProjectPlugin { } const component = StringUtils.dashCaseToUpperCamelCase(sanitizedName) - const homeFile = files.get(component) + const homeFile = files.get(`component-${component}`) if (!homeFile) { return structure } diff --git a/packages/teleport-project-generator-next/package.json b/packages/teleport-project-generator-next/package.json index 69f505651..cc453450f 100644 --- a/packages/teleport-project-generator-next/package.json +++ b/packages/teleport-project-generator-next/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-generator-next", - "version": "0.31.6", + "version": "0.32.0", "description": "Project generator for a standard Next.js project", "author": "teleportHQ", "license": "MIT", @@ -25,17 +25,19 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-component-generator": "^0.31.3", - "@teleporthq/teleport-component-generator-react": "^0.31.6", - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-plugin-css": "^0.31.6", - "@teleporthq/teleport-plugin-import-statements": "^0.31.6", - "@teleporthq/teleport-plugin-jsx-head-config": "^0.31.6", - "@teleporthq/teleport-plugin-jsx-next-image": "^0.31.3", - "@teleporthq/teleport-postprocessor-prettier-js": "^0.31.3", - "@teleporthq/teleport-project-generator": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-component-generator": "^0.32.0", + "@teleporthq/teleport-component-generator-react": "^0.32.0", + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-plugin-css": "^0.32.0", + "@teleporthq/teleport-plugin-import-statements": "^0.32.0", + "@teleporthq/teleport-plugin-jsx-head-config": "^0.32.0", + "@teleporthq/teleport-plugin-jsx-next-image": "^0.32.0", + "@teleporthq/teleport-plugin-next-static-paths": "^0.32.0", + "@teleporthq/teleport-plugin-next-static-props": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-js": "^0.32.0", + "@teleporthq/teleport-project-generator": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-project-generator-next/src/index.ts b/packages/teleport-project-generator-next/src/index.ts index 378cde5df..64bc36637 100644 --- a/packages/teleport-project-generator-next/src/index.ts +++ b/packages/teleport-project-generator-next/src/index.ts @@ -1,13 +1,14 @@ +import prettierJS from '@teleporthq/teleport-postprocessor-prettier-js' +import nextImagePlugin from '@teleporthq/teleport-plugin-jsx-next-image' +import importStatementsPlugin from '@teleporthq/teleport-plugin-import-statements' import { createProjectGenerator } from '@teleporthq/teleport-project-generator' import { createComponentGenerator } from '@teleporthq/teleport-component-generator' import { createReactComponentGenerator } from '@teleporthq/teleport-component-generator-react' import { createJSXHeadConfigPlugin } from '@teleporthq/teleport-plugin-jsx-head-config' -import prettierJS from '@teleporthq/teleport-postprocessor-prettier-js' +import { createStaticPropsPlugin } from '@teleporthq/teleport-plugin-next-static-props' +import { createStaticPathsPlugin } from '@teleporthq/teleport-plugin-next-static-paths' import { ReactStyleVariation, FileType } from '@teleporthq/teleport-types' import { createStyleSheetPlugin } from '@teleporthq/teleport-plugin-css' -import importStatementsPlugin from '@teleporthq/teleport-plugin-import-statements' -import nextImagePlugin from '@teleporthq/teleport-plugin-jsx-next-image' - import { createDocumentFileChunks, configContentGenerator } from './utils' import { NextProjectMapping } from './next-project-mapping' import NextTemplate from './project-template' @@ -23,6 +24,9 @@ const createNextProjectGenerator = () => { fileName: 'style', }) + const getStaticPropsPlugin = createStaticPropsPlugin() + const getStaticPathsPlugin = createStaticPathsPlugin() + const generator = createProjectGenerator({ id: 'teleport-project-next', style: ReactStyleVariation.StyledJSX, @@ -35,7 +39,7 @@ const createNextProjectGenerator = () => { pages: { generator: createReactComponentGenerator, path: ['pages'], - plugins: [nextImagePlugin, headConfigPlugin], + plugins: [nextImagePlugin, headConfigPlugin, getStaticPathsPlugin, getStaticPropsPlugin], mappings: [NextProjectMapping], options: { useFileNameForNavigation: true, @@ -69,6 +73,9 @@ const createNextProjectGenerator = () => { fileType: FileType.JS, }, }, + resources: { + path: ['resources'], + }, static: { prefix: '', path: ['public'], diff --git a/packages/teleport-project-generator-next/src/next-project-mapping.ts b/packages/teleport-project-generator-next/src/next-project-mapping.ts index 5883d0690..248bcc2e0 100644 --- a/packages/teleport-project-generator-next/src/next-project-mapping.ts +++ b/packages/teleport-project-generator-next/src/next-project-mapping.ts @@ -23,6 +23,17 @@ export const NextProjectMapping: Mapping = { }, ], }, + 'date-time-node': { + elementType: 'DateTimePrimitive', + dependency: { + type: 'package', + path: '@teleporthq/react-components', + version: 'latest', + meta: { + namedImport: true, + }, + }, + }, 'html-node': { elementType: 'Script', dependency: { @@ -46,5 +57,53 @@ export const NextProjectMapping: Mapping = { }, }, }, + 'cms-list-repeater': { + elementType: 'Repeater', + dependency: { + type: 'package', + path: '@teleporthq/react-components', + version: 'latest', + meta: { + namedImport: true, + }, + }, + }, + 'cms-item': { + elementType: 'DataProvider', + dependency: { + type: 'package', + path: '@teleporthq/react-components', + version: 'latest', + meta: { + namedImport: true, + }, + }, + }, + 'cms-list': { + elementType: 'DataProvider', + dependency: { + type: 'package', + path: '@teleporthq/react-components', + version: 'latest', + meta: { + namedImport: true, + }, + }, + }, + 'cms-mixed-type': { + elementType: 'CMSMixedType', + dependency: { + type: 'package', + path: '@teleporthq/react-components', + version: 'latest', + meta: { + namedImport: true, + }, + }, + }, + fragment: { + elementType: ' ', + semanticType: '', + }, }, } diff --git a/packages/teleport-project-generator-next/src/project-template.ts b/packages/teleport-project-generator-next/src/project-template.ts index e4918b948..813a61c8d 100644 --- a/packages/teleport-project-generator-next/src/project-template.ts +++ b/packages/teleport-project-generator-next/src/project-template.ts @@ -1,4 +1,6 @@ -export default { +import { FileType, GeneratedFolder } from '@teleporthq/teleport-types' + +const projectTemplate: GeneratedFolder = { name: 'teleport-project-next', files: [ { @@ -18,7 +20,7 @@ export default { "author": "TeleportHQ", "license": "MIT", "dependencies": { - "next": "^12.1.0", + "next": "^12.1.10", "react": "^17.0.2", "react-dom": "^17.0.2" }, @@ -26,8 +28,10 @@ export default { "node": ">=18.x" } }`, - fileType: 'json', + fileType: FileType.JSON, }, ], subFolders: [], } + +export default projectTemplate diff --git a/packages/teleport-project-generator-nuxt/package.json b/packages/teleport-project-generator-nuxt/package.json index 3d3b06398..159785344 100644 --- a/packages/teleport-project-generator-nuxt/package.json +++ b/packages/teleport-project-generator-nuxt/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-generator-nuxt", - "version": "0.31.6", + "version": "0.32.0", "description": "Project generator for a standard Nuxt.js project", "author": "teleportHQ", "license": "MIT", @@ -24,15 +24,15 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-component-generator": "^0.31.3", - "@teleporthq/teleport-component-generator-vue": "^0.31.6", - "@teleporthq/teleport-plugin-css": "^0.31.6", - "@teleporthq/teleport-plugin-vue-head-config": "^0.31.6", - "@teleporthq/teleport-postprocessor-prettier-html": "^0.31.3", - "@teleporthq/teleport-postprocessor-prettier-js": "^0.31.3", - "@teleporthq/teleport-project-generator": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-component-generator": "^0.32.0", + "@teleporthq/teleport-component-generator-vue": "^0.32.0", + "@teleporthq/teleport-plugin-css": "^0.32.0", + "@teleporthq/teleport-plugin-vue-head-config": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-html": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-js": "^0.32.0", + "@teleporthq/teleport-project-generator": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-project-generator-nuxt/src/error-page-mapping.ts b/packages/teleport-project-generator-nuxt/src/error-page-mapping.ts index 445daa509..eb3dff022 100644 --- a/packages/teleport-project-generator-nuxt/src/error-page-mapping.ts +++ b/packages/teleport-project-generator-nuxt/src/error-page-mapping.ts @@ -14,7 +14,8 @@ class NuxtErrorMappingPlugin implements ProjectPlugin { } const file = - files.get(fallback.pageOptions?.componentName) || files.get(fallback.pageOptions?.fileName) + files.get(`page-${fallback.pageOptions?.componentName}`) || + files.get(`page-${fallback.pageOptions?.fileName}`) if (!file) { return structure } diff --git a/packages/teleport-project-generator-nuxt/src/nuxt-project-mapping.ts b/packages/teleport-project-generator-nuxt/src/nuxt-project-mapping.ts index 7fc638bc0..e84b79684 100644 --- a/packages/teleport-project-generator-nuxt/src/nuxt-project-mapping.ts +++ b/packages/teleport-project-generator-nuxt/src/nuxt-project-mapping.ts @@ -19,5 +19,16 @@ export const NuxtProjectMapping: Mapping = { }, }, }, + 'date-time-node': { + elementType: 'DateTimePrimitive', + dependency: { + type: 'package', + path: '@teleporthq/react-components', + version: 'latest', + meta: { + namedImport: true, + }, + }, + }, }, } diff --git a/packages/teleport-project-generator-react/package.json b/packages/teleport-project-generator-react/package.json index e11733da0..e33d49233 100644 --- a/packages/teleport-project-generator-react/package.json +++ b/packages/teleport-project-generator-react/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-generator-react", - "version": "0.31.6", + "version": "0.32.0", "description": "Project generator using React and React-Router, on top of a standard create-react-app structure", "author": "teleportHQ", "license": "MIT", @@ -24,17 +24,17 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-component-generator": "^0.31.3", - "@teleporthq/teleport-component-generator-react": "^0.31.6", - "@teleporthq/teleport-plugin-css": "^0.31.6", - "@teleporthq/teleport-plugin-import-statements": "^0.31.6", - "@teleporthq/teleport-plugin-jsx-head-config": "^0.31.6", - "@teleporthq/teleport-plugin-react-app-routing": "^0.31.6", - "@teleporthq/teleport-postprocessor-prettier-html": "^0.31.3", - "@teleporthq/teleport-postprocessor-prettier-js": "^0.31.3", - "@teleporthq/teleport-project-generator": "^0.31.6", - "@teleporthq/teleport-types": "^0.31.0", - "@teleporthq/teleport-uidl-validator": "^0.31.3" + "@teleporthq/teleport-component-generator": "^0.32.0", + "@teleporthq/teleport-component-generator-react": "^0.32.0", + "@teleporthq/teleport-plugin-css": "^0.32.0", + "@teleporthq/teleport-plugin-import-statements": "^0.32.0", + "@teleporthq/teleport-plugin-jsx-head-config": "^0.32.0", + "@teleporthq/teleport-plugin-react-app-routing": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-html": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-js": "^0.32.0", + "@teleporthq/teleport-project-generator": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0", + "@teleporthq/teleport-uidl-validator": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-project-generator-react/src/index.ts b/packages/teleport-project-generator-react/src/index.ts index bf837d3b6..19743d05d 100644 --- a/packages/teleport-project-generator-react/src/index.ts +++ b/packages/teleport-project-generator-react/src/index.ts @@ -18,6 +18,7 @@ const createReactProjectGenerator = () => { style: ReactStyleVariation.CSS, components: { generator: createReactComponentGenerator, + plugins: [], mappings: [ReactProjectMapping], path: ['src', 'components'], }, @@ -60,6 +61,9 @@ const createReactProjectGenerator = () => { prefix: '', path: ['public'], }, + resources: { + path: ['resources'], + }, }) return generator diff --git a/packages/teleport-project-generator-react/src/project-template.ts b/packages/teleport-project-generator-react/src/project-template.ts index 0aa5061ba..78697ee25 100644 --- a/packages/teleport-project-generator-react/src/project-template.ts +++ b/packages/teleport-project-generator-react/src/project-template.ts @@ -1,4 +1,6 @@ -export default { +import { GeneratedFolder } from '@teleporthq/teleport-types' + +const projectTemplate: GeneratedFolder = { name: 'teleport-project-react', files: [ { @@ -58,5 +60,13 @@ export default { };`, }, ], - subFolders: [], + subFolders: [ + { + name: 'src', + files: [], + subFolders: [], + }, + ], } + +export default projectTemplate diff --git a/packages/teleport-project-generator-vue/package.json b/packages/teleport-project-generator-vue/package.json index 295dce9a5..08521f993 100644 --- a/packages/teleport-project-generator-vue/package.json +++ b/packages/teleport-project-generator-vue/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-generator-vue", - "version": "0.31.6", + "version": "0.32.0", "description": "Project generator using Vue and Vue-Router", "author": "teleportHQ", "license": "MIT", @@ -24,17 +24,17 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-component-generator": "^0.31.3", - "@teleporthq/teleport-component-generator-vue": "^0.31.6", - "@teleporthq/teleport-plugin-css": "^0.31.6", - "@teleporthq/teleport-plugin-import-statements": "^0.31.6", - "@teleporthq/teleport-plugin-vue-app-routing": "^0.31.3", - "@teleporthq/teleport-plugin-vue-head-config": "^0.31.6", - "@teleporthq/teleport-postprocessor-prettier-html": "^0.31.3", - "@teleporthq/teleport-postprocessor-prettier-js": "^0.31.3", - "@teleporthq/teleport-project-generator": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-component-generator": "^0.32.0", + "@teleporthq/teleport-component-generator-vue": "^0.32.0", + "@teleporthq/teleport-plugin-css": "^0.32.0", + "@teleporthq/teleport-plugin-import-statements": "^0.32.0", + "@teleporthq/teleport-plugin-vue-app-routing": "^0.32.0", + "@teleporthq/teleport-plugin-vue-head-config": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-html": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-js": "^0.32.0", + "@teleporthq/teleport-project-generator": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-project-generator-vue/src/project-template.ts b/packages/teleport-project-generator-vue/src/project-template.ts index 9887928e9..7be6662d7 100644 --- a/packages/teleport-project-generator-vue/src/project-template.ts +++ b/packages/teleport-project-generator-vue/src/project-template.ts @@ -1,4 +1,6 @@ -export default { +import { GeneratedFolder } from '@teleporthq/teleport-types' + +const projectTemplate: GeneratedFolder = { name: 'teleport-project-vue', files: [ { @@ -109,3 +111,5 @@ new Vue({ }, ], } + +export default projectTemplate diff --git a/packages/teleport-project-generator/__tests__/index.ts b/packages/teleport-project-generator/__tests__/index.ts index 201d85230..1b55e9dce 100644 --- a/packages/teleport-project-generator/__tests__/index.ts +++ b/packages/teleport-project-generator/__tests__/index.ts @@ -56,6 +56,7 @@ describe('Generic Project Generator', () => { }, designLanguage: undefined, mapping: {}, + projectResources: {}, skipValidation: true, }) ) @@ -121,6 +122,7 @@ describe('Generic Project Generator', () => { }, designLanguage: undefined, projectRouteDefinition: uidl.root.stateDefinitions.route, + projectResources: {}, mapping: {}, skipValidation: true, } @@ -140,6 +142,7 @@ describe('Generic Project Generator', () => { }, designLanguage: undefined, projectRouteDefinition: uidl.root.stateDefinitions.route, + projectResources: {}, mapping: {}, skipValidation: true, } @@ -192,12 +195,14 @@ describe('Generic Project Generator', () => { fontsFolder: 'test/static/fonts', localFonts: [], }, + projectResources: {}, designLanguage: undefined, projectRouteDefinition: uidl.root.stateDefinitions.route, mapping: {}, skipValidation: true, } ) + expect(generator.routerGenerator.generateComponent).toBeCalledTimes(1) const routerUIDL = { diff --git a/packages/teleport-project-generator/__tests__/utils.ts b/packages/teleport-project-generator/__tests__/utils.ts index bb1405810..a8122e8af 100644 --- a/packages/teleport-project-generator/__tests__/utils.ts +++ b/packages/teleport-project-generator/__tests__/utils.ts @@ -1,47 +1,43 @@ -import { - generateLocalDependenciesPrefix, - injectFilesToPath, - extractPageOptions, - prepareComponentOutputOptions, -} from '../src/utils' +import { injectFilesToPath, extractPageOptions, prepareComponentOutputOptions } from '../src/utils' import { UIDLStateDefinition } from '@teleporthq/teleport-types' import { emptyFolder, folderWithFiles, createStrategyWithCommonGenerator } from './mocks' import { component, elementNode } from '@teleporthq/teleport-uidl-builders' +import { GenericUtils } from '@teleporthq/teleport-shared' describe('generateLocalDependenciesPrefix', () => { it('works when there is a common parent', () => { const from = ['src', 'from'] const to = ['src', 'to'] - expect(generateLocalDependenciesPrefix(from, to)).toBe('../to/') + expect(GenericUtils.generateLocalDependenciesPrefix(from, to)).toBe('../to/') }) it('works when there is no common parent', () => { const from = ['dist', 'from'] const to = ['src', 'to'] - expect(generateLocalDependenciesPrefix(from, to)).toBe('../../src/to/') + expect(GenericUtils.generateLocalDependenciesPrefix(from, to)).toBe('../../src/to/') }) it('works when to is a parent of from', () => { const from = ['src', 'from'] const to = ['src'] - expect(generateLocalDependenciesPrefix(from, to)).toBe('../') + expect(GenericUtils.generateLocalDependenciesPrefix(from, to)).toBe('../') }) it('works when to is a child of from', () => { const from = ['src'] const to = ['src', 'to'] - expect(generateLocalDependenciesPrefix(from, to)).toBe('./to/') + expect(GenericUtils.generateLocalDependenciesPrefix(from, to)).toBe('./to/') }) it('works when they are identical', () => { const from = ['src', 'from'] const to = ['src', 'from'] - expect(generateLocalDependenciesPrefix(from, to)).toBe('./') + expect(GenericUtils.generateLocalDependenciesPrefix(from, to)).toBe('./') }) }) diff --git a/packages/teleport-project-generator/package.json b/packages/teleport-project-generator/package.json index 1c55ee0f7..8d21a595e 100644 --- a/packages/teleport-project-generator/package.json +++ b/packages/teleport-project-generator/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-generator", - "version": "0.31.6", + "version": "0.32.0", "description": "Generic project generator that requires a specific strategy to run on custom configurations", "author": "teleportHQ", "license": "MIT", @@ -24,13 +24,13 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-component-generator": "^0.31.3", - "@teleporthq/teleport-plugin-common": "^0.31.6", - "@teleporthq/teleport-plugin-import-statements": "^0.31.6", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0", - "@teleporthq/teleport-uidl-builders": "^0.31.0", - "@teleporthq/teleport-uidl-validator": "^0.31.3" + "@teleporthq/teleport-component-generator": "^0.32.0", + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-plugin-import-statements": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0", + "@teleporthq/teleport-uidl-builders": "^0.32.0", + "@teleporthq/teleport-uidl-validator": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-project-generator/src/constants.ts b/packages/teleport-project-generator/src/constants.ts index 92cb1111d..dc80aa01d 100644 --- a/packages/teleport-project-generator/src/constants.ts +++ b/packages/teleport-project-generator/src/constants.ts @@ -12,4 +12,5 @@ export const DEFAULT_PACKAGE_JSON = { description: 'Project generated based on a UIDL document', } +export const DEFAULT_GITIGNORE = ['node_modules', 'dist', '.env'].join('\n') export const DEFAULT_ROUTER_FILE_NAME = 'index' diff --git a/packages/teleport-project-generator/src/file-handlers.ts b/packages/teleport-project-generator/src/file-handlers.ts index 8c09918b1..5df7f0fd2 100644 --- a/packages/teleport-project-generator/src/file-handlers.ts +++ b/packages/teleport-project-generator/src/file-handlers.ts @@ -1,4 +1,4 @@ -import { UIDLUtils, StringUtils } from '@teleporthq/teleport-shared' +import { UIDLUtils, StringUtils, GenericUtils } from '@teleporthq/teleport-shared' import { HASTUtils, HASTBuilders } from '@teleporthq/teleport-plugin-common' import { GeneratedFile, @@ -16,9 +16,9 @@ import { ChunkType, ComponentGenerator, } from '@teleporthq/teleport-types' -import { DEFAULT_PACKAGE_JSON, DEFAULT_ROUTER_FILE_NAME } from './constants' +import { DEFAULT_GITIGNORE, DEFAULT_PACKAGE_JSON, DEFAULT_ROUTER_FILE_NAME } from './constants' import { PackageJSON } from './types' -import { bootstrapGenerator, generateLocalDependenciesPrefix } from './utils' +import { bootstrapGenerator } from './utils' import { createComponentGenerator } from '@teleporthq/teleport-component-generator' export const createPage = async ( @@ -44,7 +44,7 @@ export const createComponentModule = async ( ) => { const { root } = uidl const { path } = strategy.components - const componentLocalDependenciesPrefix = generateLocalDependenciesPrefix( + const componentLocalDependenciesPrefix = GenericUtils.generateLocalDependenciesPrefix( path, strategy.components.path ) @@ -83,7 +83,7 @@ export const createRouterFile = async ( ) => { const { projectStyleSheet, router } = strategy const { path: routerFilePath, fileName } = router - const routerLocalDependenciesPrefix = generateLocalDependenciesPrefix( + const routerLocalDependenciesPrefix = GenericUtils.generateLocalDependenciesPrefix( routerFilePath, strategy.pages.path ) @@ -101,7 +101,10 @@ export const createRouterFile = async ( projectStyleSet: { styleSetDefinitions: root?.styleSetDefinitions, fileName: projectStyleSheet.fileName, - path: generateLocalDependenciesPrefix(routerFilePath, strategy.projectStyleSheet.path), + path: GenericUtils.generateLocalDependenciesPrefix( + routerFilePath, + strategy.projectStyleSheet.path + ), importFile: projectStyleSheet?.importFile || false, }, } @@ -353,6 +356,37 @@ const createHTMLEntryFileChunks = ( return chunks } +export const createEnvFiles = (env: Record) => { + const envFileContent = Object.keys(env) + .map((key) => `${key}=${env[key]}`) + .join('\n') + + const envFileExampleContent = Object.keys(env) + .map((key) => `${key}=`) + .join('\n') + + return [ + { + name: '.env', + fileType: '', + content: envFileContent, + }, + { + name: '.env.example', + fileType: '', + content: envFileExampleContent, + }, + ] +} + +export const createGitIgnoreFile = () => { + return { + name: '.gitignore', + fileType: '', + content: DEFAULT_GITIGNORE, + } +} + // Creates a manifest json file with the UIDL having priority over the default values export const createManifestJSONFile = ( uidl: ProjectUIDL, diff --git a/packages/teleport-project-generator/src/index.ts b/packages/teleport-project-generator/src/index.ts index e1eff5a27..97c0cc0b5 100644 --- a/packages/teleport-project-generator/src/index.ts +++ b/packages/teleport-project-generator/src/index.ts @@ -1,4 +1,4 @@ -import { UIDLUtils } from '@teleporthq/teleport-shared' +import { GenericUtils, StringUtils, UIDLUtils } from '@teleporthq/teleport-shared' import { Validator, Parser } from '@teleporthq/teleport-uidl-validator' import { GeneratorOptions, @@ -15,6 +15,7 @@ import { GeneratorFactoryParams, HTMLComponentGenerator, ProjectGenerator as ProjectGeneratorType, + FileType, UIDLLocalFontAsset, ComponentUIDL, } from '@teleporthq/teleport-types' @@ -26,7 +27,6 @@ import { generateExternalCSSImports, fileFileAndReplaceContent, bootstrapGenerator, - generateLocalDependenciesPrefix, } from './utils' import { createManifestJSONFile, @@ -37,10 +37,16 @@ import { createEntryFile, createComponentModule, createPageModule, + createEnvFiles, + createGitIgnoreFile, } from './file-handlers' import { DEFAULT_TEMPLATE } from './constants' import ProjectAssemblyLine from './assembly-line' import { join } from 'path' +import { resourceGenerator } from './resource' +import { createComponentGenerator } from '@teleporthq/teleport-component-generator' +import prettierJS from '@teleporthq/teleport-postprocessor-prettier-js' +import importStatementsPlugin from '@teleporthq/teleport-plugin-import-statements' type UpdateGeneratorCallback = (generator: ComponentGenerator) => void @@ -159,7 +165,6 @@ export class ProjectGenerator implements ProjectGeneratorType { // Initialize output folder and other reusable structures const rootFolder = UIDLUtils.cloneObject(template || DEFAULT_TEMPLATE) - const schemaValidationResult = this.validator.validateProjectSchema(input) const { valid, projectUIDL } = schemaValidationResult if (valid && projectUIDL) { @@ -169,6 +174,8 @@ export class ProjectGenerator implements ProjectGeneratorType { } const uidl = Parser.parseProjectJSON(cleanedUIDL) + const projectResources = {} + const contentValidationResult = this.validator.validateProjectContent(uidl) if (!contentValidationResult.valid) { throw new Error(contentValidationResult.errorMsg) @@ -182,6 +189,7 @@ export class ProjectGenerator implements ProjectGeneratorType { strategy: this.strategy, dependencies: collectedDependencies, devDependencies: collectedDevDependencies, + projectResources, rootFolder, }) @@ -209,8 +217,9 @@ export class ProjectGenerator implements ProjectGeneratorType { if (this.strategy.router?.generator) { this.routerGenerator = bootstrapGenerator(this.strategy.router, this.strategy.style) } - } catch (e) { - throw new TeleportError(`Error in Generating Project after runBefore - ${e}`) + } catch (error) { + console.trace(error) + throw new TeleportError(`Error in Generating Project after runBefore`) } const { components = {} } = uidl @@ -251,12 +260,17 @@ export class ProjectGenerator implements ProjectGeneratorType { designLanguage: uidl.root?.designLanguage, mapping, skipValidation: true, + ...(uidl?.resources && + this.strategy?.resources?.path && { + ...uidl.resources, + path: this.strategy.resources.path, + }), ...(this.strategy.projectStyleSheet?.generator && this.strategy.projectStyleSheet?.path && { projectStyleSet: { styleSetDefinitions, fileName: this.strategy.projectStyleSheet?.fileName, - path: generateLocalDependenciesPrefix( + path: GenericUtils.generateLocalDependenciesPrefix( this.strategy.pages.path, this.strategy.pages.options?.createFolderForEachComponent ? ['..', ...this.strategy.projectStyleSheet.path] @@ -289,6 +303,45 @@ export class ProjectGenerator implements ProjectGeneratorType { collectedDependencies = { ...collectedDependencies, ...dependencies } } + const resources = Object.values(uidl?.resources?.items || {}) + if (this.strategy?.resources && resources.length > 0) { + const resourceCompGenerator = createComponentGenerator() + resourceCompGenerator.addPostProcessor(prettierJS) + + for (const resource of resources) { + const { chunks, dependencies } = resourceGenerator( + resource, + uidl.resources?.resourceMappers || {} + ) + const { chunks: importChunks } = await importStatementsPlugin({ + uidl: uidl.root, + dependencies, + chunks: [], + options: {}, + }) + const files = resourceCompGenerator.linkCodeChunks( + { [FileType.JS]: [...importChunks, ...chunks] }, + StringUtils.camelCaseToDashCase(resource.name) + ) + + collectedDependencies = { + ...collectedDependencies, + ...Object.keys(dependencies).reduce((acc: Record, item: string) => { + const dep = dependencies[item] + if (dep.type === 'package') { + acc[dep.path] = dep.version + } + return acc + }, {}), + } + + inMemoryFilesMap.set(`resource-${resource.name}`, { + files, + path: this.strategy.resources.path, + }) + } + } + // Handling pages for (const pageUIDL of pageUIDLs) { if (!this.strategy?.pages?.generator) { @@ -297,6 +350,26 @@ export class ProjectGenerator implements ProjectGeneratorType { ) } + const pageOptions = options + // Pages might be generated inside subfolders in the main pages folder + const relativePath = UIDLUtils.getComponentFolderPath(pageUIDL) + const path = this.strategy.pages.path.concat(relativePath) + + Object.assign(pageOptions, { + projectResources, + ...(uidl.resources && + this.strategy?.resources?.path && { + resources: { + items: uidl?.resources?.items, + cache: uidl?.resources.cache, + path: GenericUtils.generateLocalDependenciesPrefix( + path, + this.strategy.resources.path + ), + }, + }), + }) + if ('addExternalComponents' in this.pageGenerator) { ;(this.pageGenerator as unknown as HTMLComponentGenerator).addExternalComponents({ externals: Object.values(components).reduce( @@ -311,12 +384,9 @@ export class ProjectGenerator implements ProjectGeneratorType { }) } - const { files, dependencies } = await createPage(pageUIDL, this.pageGenerator, options) - // Pages might be generated inside subfolders in the main pages folder - const relativePath = UIDLUtils.getComponentFolderPath(pageUIDL) - const path = this.strategy.pages.path.concat(relativePath) + const { files, dependencies } = await createPage(pageUIDL, this.pageGenerator, pageOptions) - inMemoryFilesMap.set(pageUIDL.name, { + inMemoryFilesMap.set(`page-${pageUIDL.name}`, { path, files, }) @@ -360,6 +430,8 @@ export class ProjectGenerator implements ProjectGeneratorType { // Handling components for (const componentName of Object.keys(components)) { + Object.assign(options, { projectResources }) + if (!this.strategy?.components?.generator) { throw new TeleportError( `Component Generator is missing from the strategy - ${JSON.stringify( @@ -370,7 +442,7 @@ export class ProjectGenerator implements ProjectGeneratorType { let componentOptions = options if (this.strategy.projectStyleSheet) { - const globalStyleSheetPathForComponents = generateLocalDependenciesPrefix( + const globalStyleSheetPathForComponents = GenericUtils.generateLocalDependenciesPrefix( this.strategy.components.path, this.strategy.projectStyleSheet.path ) @@ -407,7 +479,7 @@ export class ProjectGenerator implements ProjectGeneratorType { const relativePath = UIDLUtils.getComponentFolderPath(componentUIDL) const path = this.strategy.components.path.concat(relativePath) - inMemoryFilesMap.set(componentName, { + inMemoryFilesMap.set(`component-${componentName}.`, { path, files, }) @@ -436,7 +508,7 @@ export class ProjectGenerator implements ProjectGeneratorType { ) collectedDependencies = result.dependencies - inMemoryFilesMap.set(fileName, { + inMemoryFilesMap.set(`component-${fileName}`, { path: this.strategy.framework.replace.path, files: [result.file], }) @@ -458,7 +530,7 @@ export class ProjectGenerator implements ProjectGeneratorType { fileName, fileType, globalStyles: { - path: generateLocalDependenciesPrefix( + path: GenericUtils.generateLocalDependenciesPrefix( framework.config.path, this.strategy.projectStyleSheet.path ), @@ -503,6 +575,22 @@ export class ProjectGenerator implements ProjectGeneratorType { }) } + if (uidl.globals.env) { + const envFiles = createEnvFiles(uidl.globals.env) + envFiles.forEach((file) => { + inMemoryFilesMap.set(file.name, { + path: [], + files: [file], + }) + }) + + const gitIgnoreFile = createGitIgnoreFile() + inMemoryFilesMap.set(gitIgnoreFile.name, { + path: [], + files: [gitIgnoreFile], + }) + } + // TODO: Projects which don't need a router file will miss collecting // dependencies which are specified on them @@ -564,6 +652,7 @@ export class ProjectGenerator implements ProjectGeneratorType { collectedDevDependencies = { ...collectedDevDependencies, ...runAfterResult.devDependencies } inMemoryFilesMap = runAfterResult.files } catch (e) { + console.trace(e) throw new TeleportError(`Error in generating project after runAfter - ${e}`) } diff --git a/packages/teleport-project-generator/src/resource.ts b/packages/teleport-project-generator/src/resource.ts new file mode 100644 index 000000000..5c053b0f8 --- /dev/null +++ b/packages/teleport-project-generator/src/resource.ts @@ -0,0 +1,60 @@ +import { ASTUtils } from '@teleporthq/teleport-plugin-common' +import { + ChunkDefinition, + ChunkType, + FileType, + TeleportError, + UIDLDependency, + UIDLResourceItem, + UIDLResources, +} from '@teleporthq/teleport-types' +import * as types from '@babel/types' + +export const resourceGenerator = ( + resource: UIDLResourceItem, + mappers?: UIDLResources['resourceMappers'] +): { chunks: ChunkDefinition[]; dependencies: Record } => { + const chunks: ChunkDefinition[] = [] + const dependencies: Record = {} + const ast = ASTUtils.generateRemoteResourceASTs(resource) + let returnStatement: types.Identifier | types.CallExpression = types.identifier('response') + + resource.mappers.forEach((mapper) => { + // Fallback value for returnStatement + returnStatement = types.callExpression(types.identifier(mapper), [returnStatement]) + + if (!mappers[mapper]) { + throw new TeleportError( + `Resource mapper ${mapper} is not defined in the UIDL. Check "uidl.resources.mappers"` + ) + } + + const params = mappers[mapper].params.map((param) => types.identifier(param)) + returnStatement = types.callExpression(types.identifier(mapper), [...params]) + + dependencies[mapper] = mappers[mapper].dependency + }) + + const moduleBody = [...ast, types.returnStatement(returnStatement)] + + chunks.push({ + type: ChunkType.AST, + fileType: FileType.JS, + name: 'fetch-chunk', + content: types.exportDefaultDeclaration( + types.functionDeclaration( + null, + [types.assignmentPattern(types.identifier('params'), types.objectExpression([]))], + types.blockStatement(moduleBody), + false, + true + ) + ), + linkAfter: [], + }) + + return { + chunks, + dependencies, + } +} diff --git a/packages/teleport-project-generator/src/utils.ts b/packages/teleport-project-generator/src/utils.ts index 6aadf6d9d..83335a01e 100644 --- a/packages/teleport-project-generator/src/utils.ts +++ b/packages/teleport-project-generator/src/utils.ts @@ -1,4 +1,4 @@ -import { UIDLUtils, StringUtils } from '@teleporthq/teleport-shared' +import { UIDLUtils, StringUtils, GenericUtils } from '@teleporthq/teleport-shared' import { GeneratedFile, GeneratedFolder, @@ -33,9 +33,8 @@ const createPageUIDL = ( uidl: ProjectUIDL, strategy: ProjectStrategy ): ComponentUIDL => { - const { value, node } = routeNode.content + const { value, node, importDefinitions: rootNodeImportDefinitions } = routeNode.content const pageName = value.toString() - const routeDefinition = uidl.root.stateDefinitions.route const pagesStrategyOptions = strategy.pages.options || {} @@ -49,7 +48,8 @@ const createPageUIDL = ( const pageDefinition = routeDefinition.values.find((route) => route.value === pageName) pageDefinition.pageOptions = pageOptions - const { fileName, componentName, navLink } = pageOptions + const { fileName, componentName, pagination, initialPropsData, initialPathsData, navLink } = + pageOptions // If the file name will not be used as the path (eg: next, nuxt) // And if the option to create each page in its folder is passed (eg: preact) @@ -64,7 +64,8 @@ const createPageUIDL = ( const outputOptions = createFolderForEachComponent ? { componentName, - fileName: (customComponentFileName && customComponentFileName(fileName)) || 'index', + fileName: + (customComponentFileName && customComponentFileName(fileName, pageOptions)) || 'index', styleFileName: (customStyleFileName && customStyleFileName(fileName)) || 'style', templateFileName: (customTemplateFileName && customTemplateFileName(fileName)) || 'template', @@ -72,7 +73,8 @@ const createPageUIDL = ( } : { componentName, - fileName: (customComponentFileName && customComponentFileName(fileName)) || fileName, + fileName: + (customComponentFileName && customComponentFileName(fileName, pageOptions)) || fileName, styleFileName: (customStyleFileName && customStyleFileName(fileName)) || fileName, templateFileName: (customTemplateFileName && customTemplateFileName(fileName)) || fileName, folderPath: [...navLink.split('/').slice(1, -1)], @@ -94,7 +96,14 @@ const createPageUIDL = ( const pageUIDL: ComponentUIDL = { name: componentName, node: pageContent, - outputOptions, + outputOptions: { + ...outputOptions, + initialPropsData, + initialPathsData, + pagination, + }, + propDefinitions: pageOptions.propDefinitions, + stateDefinitions: pageOptions.stateDefinitions, seo, } @@ -122,6 +131,11 @@ const createPageUIDL = ( ) } + pageUIDL.importDefinitions = { + ...pageUIDL.importDefinitions, + ...rootNodeImportDefinitions, + } + if (isHomePage && !strategy.pages?.options?.useFileNameForNavigation) { const { importDefinitions = {} } = uidl.root pageUIDL.importDefinitions = Object.keys(importDefinitions).reduce( @@ -154,7 +168,12 @@ export const extractPageOptions = ( // If no meta object is defined, the stateName is used const defaultPageName = 'AppPage' - const friendlyStateName = StringUtils.removeIllegalCharacters(routeName) || defaultPageName // remove space, leading numbers, etc. + + const splittedRouteName = routeName.split('/') + const fileName = + useFileNameForNavigation && splittedRouteName.length > 1 ? splittedRouteName.pop() : routeName + + const friendlyStateName = StringUtils.removeIllegalCharacters(fileName) || defaultPageName // remove space, leading numbers, etc. const friendlyComponentName = StringUtils.dashCaseToUpperCamelCase(friendlyStateName) // component name in UpperCamelCase const friendlyFileName = StringUtils.camelCaseToDashCase(friendlyStateName) // file name in dash-case @@ -162,6 +181,15 @@ export const extractPageOptions = ( // default values extracted from state name fileName: basename(friendlyFileName), componentName: friendlyComponentName, + ...(pageDefinition?.pageOptions?.pagination && { + pagination: pageDefinition.pageOptions.pagination, + }), + ...(pageDefinition?.pageOptions?.initialPropsData && { + initialPropsData: pageDefinition?.pageOptions?.initialPropsData, + }), + ...(pageDefinition?.pageOptions?.initialPathsData && { + initialPathsData: pageDefinition?.pageOptions?.initialPathsData, + }), navLink: pageDefinition?.pageOptions?.fallback ? '**' : '/' + (isHomePage ? '' : basename(friendlyFileName)), @@ -184,8 +212,12 @@ export const extractPageOptions = ( // In case of next/nuxt, the path dictates the file name, so this is adjusted accordingly // Also, the defaultPage has to be index, overriding any other value set if (useFileNameForNavigation) { - const fileName = pageOptions.navLink.replace('/', '') - pageOptions.fileName = pageOptions?.fallback ? '404' : isHomePage ? 'index' : basename(fileName) + const navFileName = pageOptions.navLink.replace('/', '') + pageOptions.fileName = pageOptions?.fallback + ? '404' + : isHomePage + ? 'index' + : basename(navFileName) } return { pageOptions, isHomePage } @@ -211,6 +243,7 @@ export const prepareComponentOutputOptions = ( const friendlyFileName = fileName || StringUtils.camelCaseToDashCase(friendlyName) // ex: primary-button const friendlyComponentName = componentClassName || StringUtils.dashCaseToUpperCamelCase(friendlyName) // ex: PrimaryButton + const folderPath = UIDLUtils.getComponentFolderPath(component) const { customComponentFileName, customStyleFileName, customTemplateFileName } = @@ -281,6 +314,11 @@ const deduplicatePageOptionValues = (options: UIDLPageOptions, otherOptions: UID } let fileNameSuffix = 0 + /* + With the nested routes change, the navLink also define the location in which the file is going to exist. + So, we should take that too into consideration and then chagne the file name accordingly. + Check Line:80 from the same file. + */ while ( otherOptions.some( (opt) => @@ -396,44 +434,13 @@ const setLocalDependencyPath = ( const toPath = toBasePath.concat(componentPath) const importFileName = UIDLUtils.getComponentFileName(component) - const importPath = generateLocalDependenciesPrefix(fromPath, toPath) + const importPath = GenericUtils.generateLocalDependenciesPrefix(fromPath, toPath) + element.dependency.path = `${importPath}${importFileName}` element.elementType = 'component' element.semanticType = componentClassName } -export const generateLocalDependenciesPrefix = (fromPath: string[], toPath: string[]): string => { - /* - Remove common path elements from the beginning of the - components and pages full path (if any) - - For example, having: - - fromPath = ['src', 'components'] - - toPath = ['src', 'pages'] - - If we want to have an import statement that goes from the pages folder to the - components folder, we only need to go back one step, so we are removing - the first element from both the paths ('src') and build the dependencyPrefix accordingly - */ - const [firstPath, secondPath] = removeCommonStartingPointsFromPaths([fromPath, toPath]) - - // We have to go back as many folders as there are defined in the pages path - let dependencyPrefix = '../'.repeat(firstPath.length) - - // if 'fromPath' is parent for 'toPath', the path starts from './' - if (firstPath.length === 0) { - secondPath.unshift('.') - } - - dependencyPrefix += secondPath - .map((folder) => { - return `${folder}/` - }) - .join('') - - return dependencyPrefix -} - export const fileFileAndReplaceContent = ( files: GeneratedFile[], fileName: string, @@ -473,43 +480,6 @@ export const generateExternalCSSImports = async (uidl: ComponentUIDL) => { return generator.linkCodeChunks({ imports: chunks }, 'imports') } -const removeCommonStartingPointsFromPaths = (paths: string[][]): string[][] => { - const pathsClone: string[][] = JSON.parse(JSON.stringify(paths)) - - const shortestPathLength = Math.min( - ...pathsClone.map((path) => { - return path.length - }) - ) - - let elementIndex = 0 - let elementsFromIndexAreEqual = true - - while (elementIndex < shortestPathLength && elementsFromIndexAreEqual) { - const firstPathElementsFromIndex = pathsClone.map((path: string[]) => { - return path[0] - }) - - if (elementsFromArrayAreEqual(firstPathElementsFromIndex)) { - // If the first elements from every path are equal, remove it - pathsClone.forEach((path) => { - path.shift() - }) - } else { - elementsFromIndexAreEqual = false - } - elementIndex += 1 - } - - return pathsClone -} - -const elementsFromArrayAreEqual = (arrayOfElements: string[]): boolean => { - return arrayOfElements.every((element: string) => { - return element === arrayOfElements[0] - }) -} - export const injectFilesToPath = ( rootFolder: GeneratedFolder, path: string[], diff --git a/packages/teleport-project-packer/package.json b/packages/teleport-project-packer/package.json index 9fdc800fc..f4bd8d692 100644 --- a/packages/teleport-project-packer/package.json +++ b/packages/teleport-project-packer/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-packer", - "version": "0.31.6", + "version": "0.32.0", "description": "Bare-bone project packer that accepts any project generator and publisher", "author": "teleportHQ", "license": "MIT", @@ -24,8 +24,8 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-github-gateway": "^0.31.6", - "@teleporthq/teleport-types": "^0.31.0", + "@teleporthq/teleport-github-gateway": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0", "cross-fetch": "^3.0.4" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" diff --git a/packages/teleport-project-plugin-api-routes/package.json b/packages/teleport-project-plugin-api-routes/package.json new file mode 100644 index 000000000..4a93b2af5 --- /dev/null +++ b/packages/teleport-project-plugin-api-routes/package.json @@ -0,0 +1,33 @@ +{ + "name": "@teleporthq/teleport-project-plugin-api-routes", + "version": "0.32.0", + "description": "A plugin for configuring teleportHQ projects using contexts", + "author": "teleportHQ", + "license": "MIT", + "homepage": "https://teleporthq.io/", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "dist/cjs/index.d.ts", + "sideEffects": false, + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/teleporthq/teleport-code-generators.git" + }, + "bugs": { + "url": "https://github.com/teleporthq/teleport-code-generators/issues" + }, + "publishConfig": { + "access": "public" + }, + "scripts": { + "clean": "rimraf dist", + "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" + }, + "dependencies": { + "@babel/generator": "^7.5.5", + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-js": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" + } +} diff --git a/packages/teleport-project-plugin-api-routes/src/index.ts b/packages/teleport-project-plugin-api-routes/src/index.ts new file mode 100644 index 000000000..760c85006 --- /dev/null +++ b/packages/teleport-project-plugin-api-routes/src/index.ts @@ -0,0 +1,44 @@ +import { ProjectPlugin, ProjectPluginStructure, ProjectType } from '@teleporthq/teleport-types' +import { nextAfterModifier, nextBeforeModifier } from './next' + +type SUPPORTED_FRAMEWORKS = ProjectType.NEXT + +const frameworkBeforeMap: Record< + SUPPORTED_FRAMEWORKS, + (strucutre: ProjectPluginStructure) => Promise +> = { + [ProjectType.NEXT]: nextBeforeModifier, +} + +const frameworkAfterMap: Record< + SUPPORTED_FRAMEWORKS, + (strucutre: ProjectPluginStructure) => Promise +> = { + [ProjectType.NEXT]: nextAfterModifier, +} + +export class ProjectPluginApiRoutes implements ProjectPlugin { + framework: SUPPORTED_FRAMEWORKS + + constructor(params: { framework: SUPPORTED_FRAMEWORKS }) { + this.framework = params.framework + } + + async runBefore(structure: ProjectPluginStructure) { + const beforeModifier = frameworkBeforeMap[this.framework] + if (!beforeModifier) { + return structure + } + await beforeModifier(structure) + return structure + } + + async runAfter(structure: ProjectPluginStructure) { + const afterModifier = frameworkAfterMap[this.framework] + if (!afterModifier) { + return structure + } + await afterModifier(structure) + return structure + } +} diff --git a/packages/teleport-project-plugin-api-routes/src/next.ts b/packages/teleport-project-plugin-api-routes/src/next.ts new file mode 100644 index 000000000..f5dce547f --- /dev/null +++ b/packages/teleport-project-plugin-api-routes/src/next.ts @@ -0,0 +1,112 @@ +import { CodeGenerator } from '@babel/generator' +import { FileType, ProjectPluginStructure, UIDLResourceItem } from '@teleporthq/teleport-types' +import { StringUtils } from '@teleporthq/teleport-shared' +import { ASTUtils } from '@teleporthq/teleport-plugin-common' +import prettierJS from '@teleporthq/teleport-postprocessor-prettier-js' +import * as types from '@babel/types' +import path from 'path' + +export const nextBeforeModifier = async (structure: ProjectPluginStructure) => { + const { projectResources, strategy, uidl, files } = structure + + if (strategy.id !== 'teleport-project-next' || !strategy?.resources?.path) { + throw new Error('Plugin can be used only with teleport-project-next') + } + + const { items = {} } = uidl.resources || {} + Object.keys(items).forEach((key) => { + const resource = items[key] + + const apiRouteContentAST = buildApiRouteAST(resource) + const babelGenerator = new CodeGenerator(apiRouteContentAST, { jsescOption: { minimal: true } }) + const content = prettierJS({ + [FileType.JS]: babelGenerator.generate().code, + }) + + const fileName = StringUtils.camelize(resource.name) + + projectResources[key] = { + path: path.join(...strategy.resources.path, fileName), + fileName, + } + + files.set(key, { + path: strategy.resources.path, + files: [ + { + name: fileName, + fileType: FileType.JS, + content: content[FileType.JS], + }, + ], + }) + }) + return +} + +export const nextAfterModifier = async () => { + return +} + +const buildApiRouteAST = (resource: UIDLResourceItem) => { + const resourceASTs = ASTUtils.generateRemoteResourceASTs(resource) + return types.exportDefaultDeclaration( + (() => { + const node = types.functionDeclaration( + types.identifier('handler'), + [types.identifier('req'), types.identifier('res')], + types.blockStatement([ + types.tryStatement( + types.blockStatement([ + ...resourceASTs, + types.returnStatement( + types.callExpression( + types.memberExpression( + types.callExpression( + types.memberExpression( + types.identifier('res'), + types.identifier('status'), + false + ), + [types.numericLiteral(200)] + ), + types.identifier('json'), + false + ), + [types.identifier('response')] + ) + ), + ]), + types.catchClause( + types.identifier('error'), + types.blockStatement([ + types.returnStatement( + types.callExpression( + types.memberExpression( + types.callExpression( + types.memberExpression( + types.identifier('res'), + types.identifier('status'), + false + ), + [types.numericLiteral(500)] + ), + types.identifier('send'), + false + ), + [types.stringLiteral('Something went wrong')] + ) + ), + ]) + ) + ), + ]), + false, + true + ) + + node.async = true + return node + })() + ) +} diff --git a/packages/teleport-project-plugin-api-routes/tsconfig.json b/packages/teleport-project-plugin-api-routes/tsconfig.json new file mode 100755 index 000000000..89ea1a3c2 --- /dev/null +++ b/packages/teleport-project-plugin-api-routes/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "outDir": "dist/esm" + }, + "include": [ + "./src" + ] +} \ No newline at end of file diff --git a/packages/teleport-project-plugin-css-modules/package.json b/packages/teleport-project-plugin-css-modules/package.json index a9ca84eed..eb2dd56ba 100644 --- a/packages/teleport-project-plugin-css-modules/package.json +++ b/packages/teleport-project-plugin-css-modules/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-plugin-css-modules", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for configuring teleportHQ projects using css-modules", "author": "teleportHQ", "license": "MIT", @@ -24,8 +24,8 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-plugin-css-modules": "^0.31.6", - "@teleporthq/teleport-postprocessor-prettier-js": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-css-modules": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-js": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" } } diff --git a/packages/teleport-project-plugin-custom-files/package.json b/packages/teleport-project-plugin-custom-files/package.json index 441088139..7e3b9e4cd 100644 --- a/packages/teleport-project-plugin-custom-files/package.json +++ b/packages/teleport-project-plugin-custom-files/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-plugin-custom-files", - "version": "0.31.0", + "version": "0.32.0", "description": "A plugin for injecting custom files and dependencies into a generated project", "author": "teleportHQ", "license": "MIT", @@ -24,6 +24,6 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-types": "^0.32.0" } } diff --git a/packages/teleport-project-plugin-external-embed/package.json b/packages/teleport-project-plugin-external-embed/package.json index c38181e4b..6906777f2 100644 --- a/packages/teleport-project-plugin-external-embed/package.json +++ b/packages/teleport-project-plugin-external-embed/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-plugin-external-embed", - "version": "0.31.3", + "version": "0.32.0", "description": "A plugin for extracting the html embeds into seperate files", "author": "teleportHQ", "license": "MIT", @@ -24,7 +24,7 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" } } diff --git a/packages/teleport-project-plugin-inline-fetch/package.json b/packages/teleport-project-plugin-inline-fetch/package.json new file mode 100644 index 000000000..5eed86a50 --- /dev/null +++ b/packages/teleport-project-plugin-inline-fetch/package.json @@ -0,0 +1,33 @@ +{ + "name": "@teleporthq/teleport-project-plugin-inline-fetch", + "version": "0.32.0", + "description": "A plugin for adding getStaticPaths inside a nextjs page", + "author": "teleportHQ", + "license": "MIT", + "homepage": "https://teleporthq.io/", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "dist/cjs/index.d.ts", + "sideEffects": false, + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/teleporthq/teleport-code-generators.git" + }, + "bugs": { + "url": "https://github.com/teleporthq/teleport-code-generators/issues" + }, + "publishConfig": { + "access": "public" + }, + "scripts": { + "clean": "rimraf dist", + "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" + }, + "dependencies": { + "@babel/types": "^7.5.5", + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" + }, + "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" +} diff --git a/packages/teleport-project-plugin-inline-fetch/src/index.ts b/packages/teleport-project-plugin-inline-fetch/src/index.ts new file mode 100644 index 000000000..caab241a1 --- /dev/null +++ b/packages/teleport-project-plugin-inline-fetch/src/index.ts @@ -0,0 +1,42 @@ +import { ProjectPlugin, ProjectPluginStructure, ProjectType } from '@teleporthq/teleport-types' +import projectPluginInlineFetch from './next' + +type SUPPORTED_FRAMEWORKS = ProjectType.NEXT + +const frameworkBeforeMap: Record< + SUPPORTED_FRAMEWORKS, + (strucutre: ProjectPluginStructure) => ProjectPluginStructure +> = { + [ProjectType.NEXT]: projectPluginInlineFetch.nextBeforeModifier, +} + +const frameworkAfterMap: Record< + SUPPORTED_FRAMEWORKS, + (strucutre: ProjectPluginStructure) => ProjectPluginStructure +> = { + [ProjectType.NEXT]: projectPluginInlineFetch.nextAfterModifier, +} + +export class ProjectPluginInlineFetch implements ProjectPlugin { + framework: SUPPORTED_FRAMEWORKS + + constructor(params: { framework: SUPPORTED_FRAMEWORKS }) { + this.framework = params.framework + } + + async runBefore(structure: ProjectPluginStructure) { + const beforeModifier = frameworkBeforeMap[this.framework] + if (!beforeModifier) { + return structure + } + return beforeModifier(structure) + } + + async runAfter(structure: ProjectPluginStructure) { + const afterModifier = frameworkAfterMap[this.framework] + if (!afterModifier) { + return structure + } + return afterModifier(structure) + } +} diff --git a/packages/teleport-project-plugin-inline-fetch/src/next/index.ts b/packages/teleport-project-plugin-inline-fetch/src/next/index.ts new file mode 100644 index 000000000..eb14b1925 --- /dev/null +++ b/packages/teleport-project-plugin-inline-fetch/src/next/index.ts @@ -0,0 +1,169 @@ +import { StringUtils, UIDLUtils } from '@teleporthq/teleport-shared' +import { + ProjectPluginStructure, + UIDLExternalResource, + UIDLLocalResource, + UIDLStaticValue, +} from '@teleporthq/teleport-types' +import { createNextComponentInlineFetchPlugin } from './utils' + +type Modify = Omit & R + +export type FilteredResource = + | Modify< + UIDLLocalResource, + { + params: Record + itemValuePath?: string[] + valuePath?: string[] + } + > + | Modify< + UIDLExternalResource, + { + params: Record + itemValuePath?: string[] + valuePath?: string[] + } + > + +class ProjectPluginInlineFetch { + dependencies: Record = {} + extractedResources: Record = {} + + nextBeforeModifier = (structure: ProjectPluginStructure) => { + /* + Extracting the API fetch calls of root `cms-list` or `cms-item` with static parameters + into getStaticProps + */ + const rootNode = structure.uidl.root.node.content + if (rootNode.elementType !== 'Router') { + throw new Error(`Root node is missing from the `) + } + const pages = rootNode.children + + pages.forEach((page) => { + /* + Root is always a contiditional for pages + */ + if (page.type !== 'conditional') { + return + } + + /* + Children can exist only inside a root element node + */ + if (page.content.node.type !== 'element') { + return + } + + UIDLUtils.traverseNodes(page.content.node, (nodeWithCMSResource) => { + if (nodeWithCMSResource.type !== 'cms-item' && nodeWithCMSResource.type !== 'cms-list') { + return + } + + /* + If a node already has a initialData on it. We don't need to do anything. + Because the node has already connected with getStaticProps in the page. + */ + if ('initialData' in nodeWithCMSResource.content) { + return + } + + /* + Should we fine-tune the expression check here ? + And move the expressions which don't have prop or state references ? + + Because, an expression like this can still work inside getStaticProps + - skip: (context.params.page - 1) * 4 + + For now, we are omitting all expressions and dynamic values. + */ + const isResrouceContainsAnyDynamicValues = Object.values( + nodeWithCMSResource.content.resource?.params || {} + ).some((param) => param.type === 'expr' || param.type === 'dynamic') + + if (isResrouceContainsAnyDynamicValues) { + return + } + + const propKey = StringUtils.createStateOrPropStoringValue( + nodeWithCMSResource.content.renderPropIdentifier + 'Prop' + ) + + this.extractedResources[propKey] = { + ...(nodeWithCMSResource.type === 'cms-item' && { + itemValuePath: nodeWithCMSResource.content?.itemValuePath, + }), + ...(nodeWithCMSResource.type === 'cms-list' && { + valuePath: nodeWithCMSResource.content?.valuePath, + }), + ...(nodeWithCMSResource.content.resource as FilteredResource), + } + + nodeWithCMSResource.content.initialData = { + type: 'dynamic', + content: { + referenceType: 'prop', + id: propKey, + }, + } + + /* + As the resource is extracted now, we don't need to pass it to the jsx node. + Because it is passed to `getStaticProps` + + we need this + + + we don't need this + + + Because we need props when we are loading and not when we are rendering now. + As the no call is not going to happen at runtime. + */ + delete nodeWithCMSResource.content.resource.params + }) + }) + + const pluginNextInlineFetch = createNextComponentInlineFetchPlugin({ + files: structure.files, + dependencies: this.dependencies, + extractedResources: this.extractedResources, + paths: { + resources: structure.strategy.resources.path, + pages: structure.strategy.pages.path, + }, + }) + + structure.strategy.pages.plugins.push(pluginNextInlineFetch) + structure.strategy.components.plugins.push(pluginNextInlineFetch) + + return structure + } + + nextAfterModifier = (structure: ProjectPluginStructure) => { + const { dependencies } = structure + Object.entries(this.dependencies).forEach(([packageName, version]) => { + if (!dependencies[packageName]) { + dependencies[packageName] = version + } + }) + return structure + } +} + +const projectPluginInlineFetch = new ProjectPluginInlineFetch() +export default projectPluginInlineFetch diff --git a/packages/teleport-project-plugin-inline-fetch/src/next/utils.ts b/packages/teleport-project-plugin-inline-fetch/src/next/utils.ts new file mode 100644 index 000000000..9d3103508 --- /dev/null +++ b/packages/teleport-project-plugin-inline-fetch/src/next/utils.ts @@ -0,0 +1,474 @@ +import { + ChunkDefinition, + ChunkType, + ComponentPlugin, + ComponentPluginFactory, + FileType, + InMemoryFileRecord, + UIDLCMSItemNode, + UIDLCMSItemNodeContent, + UIDLCMSListNode, + UIDLCMSListNodeContent, + UIDLLocalResource, + UIDLNode, + UIDLResourceItem, + UIDLResourceLink, +} from '@teleporthq/teleport-types' +import { GenericUtils, StringUtils, UIDLUtils } from '@teleporthq/teleport-shared' +import * as types from '@babel/types' +import { ASTUtils } from '@teleporthq/teleport-plugin-common' +import { FilteredResource } from '.' + +interface ContextPluginConfig { + componentChunkName?: string + files: Map + dependencies: Record + extractedResources: Record + paths: { + resources: string[] + pages: string[] + } +} + +export const createNextComponentInlineFetchPlugin: ComponentPluginFactory = ( + config +) => { + const { + componentChunkName = 'jsx-component', + files, + dependencies: globalDependencies, + extractedResources, + paths, + } = config || {} + + const nextComponentCMSFetchPlugin: ComponentPlugin = async (structure) => { + const { uidl, chunks, options, dependencies } = structure + const { resources } = options + + const getStaticPropsChunk = chunks.find((chunk) => chunk.name === 'getStaticProps') + const componentChunk = chunks.find((chunk) => chunk.name === componentChunkName) + if (!componentChunk) { + return structure + } + + const extractedResourceDeclerations: Record = {} + + UIDLUtils.traverseNodes(uidl.node, (node) => { + const { type, content } = node as UIDLNode + if (type !== 'cms-list' && type !== 'cms-item') { + return + } + + const { resource } = node.content as UIDLCMSListNodeContent | UIDLCMSItemNodeContent + if (!resource) { + return + } + + const propKey = StringUtils.createStateOrPropStoringValue( + content.renderPropIdentifier + 'Prop' + ) + + if (extractedResources[propKey]) { + const extractedResource = extractedResources[propKey] + let resourceName: string + let dependencyPath: string + + if ('id' in extractedResource) { + resourceName = StringUtils.dashCaseToCamelCase( + StringUtils.camelCaseToDashCase(resources.items[extractedResource.id].name + 'Resource') + ) + const resourcesPath = paths.resources + const currentPagePath = [...paths.pages, ...uidl.outputOptions.folderPath] + dependencyPath = + GenericUtils.generateLocalDependenciesPrefix(currentPagePath, resourcesPath) + + StringUtils.camelCaseToDashCase(resources.items[extractedResource.id].name) + + dependencies[resourceName] = { + type: 'local', + path: dependencyPath, + } + } + + if ('name' in extractedResource) { + resourceName = extractedResource.name + dependencies[resourceName] = extractedResource.dependency + } + + extractedResourceDeclerations[propKey] = types.variableDeclaration('const', [ + types.variableDeclarator( + types.identifier(propKey), + types.awaitExpression( + types.callExpression(types.identifier(resourceName), [ + types.objectExpression([ + types.spreadElement( + types.optionalMemberExpression( + types.identifier('context'), + types.identifier('params'), + false, + true + ) + ), + ...Object.keys(extractedResource?.params || {}).reduce( + (acc: types.ObjectProperty[], item) => { + const prop = extractedResource.params[item] + acc.push( + types.objectProperty( + types.stringLiteral(item), + ASTUtils.resolveObjectValue(prop) + ) + ) + + return acc + }, + [] + ), + ]), + ]) + ) + ), + ]) + return + } + + let resourceFileName: string + let resourceImportVariable: string + let importPath = '../../resources/' + let funcParams = '' + let isNamedImport = false + + if ('id' in resource) { + const { id = null, params = {} } = (resource as UIDLLocalResource) || {} + if (!id) { + return + } + + const usedResource = resources.items[id] + if (!usedResource) { + throw new Error(`Tried to find a resource that does not exist ${id}`) + } + + resourceImportVariable = StringUtils.dashCaseToCamelCase( + StringUtils.camelize(`${usedResource.name}-resource`) + ) + const importName = StringUtils.camelCaseToDashCase(usedResource.name) + importPath = importPath + importName + + if (Object.keys(usedResource?.params || {}).length > 0 && usedResource.method === 'GET') { + funcParams = 'req.query' + } + + if (Object.keys(usedResource?.params || {}).length > 0 && usedResource.method === 'POST') { + funcParams = 'req.body' + } + + resourceFileName = StringUtils.camelCaseToDashCase( + `${resourceImportVariable}-${importName}` + ) + + computeUseEffectAST({ + fileName: resourceFileName, + resourceType: usedResource.method, + node: node as UIDLCMSItemNode | UIDLCMSListNode, + componentChunk, + params, + }) + } + + if ('name' in resource) { + const { name, dependency } = resource + resourceImportVariable = dependency.meta?.originalName || name + importPath = dependency?.meta?.importAlias || dependency.path + resourceFileName = StringUtils.camelCaseToDashCase(resource.name) + globalDependencies[dependency.path] = dependency.version + isNamedImport = dependency?.meta?.namedImport || false + + /* + When we are calling external functions to make a request call for us. + The `fetch` that happens behind the scenes are basically encapsulated. + So, we can't derieve if the resource call is actually a GET / POST. + So, we can mark these as POST by default since we are taking data from the component. + */ + funcParams = 'req.body' + computeUseEffectAST({ + fileName: resourceFileName, + resourceType: 'POST', + node: node as UIDLCMSItemNode | UIDLCMSListNode, + componentChunk, + params: resource.params, + }) + } + + files.set(resourceFileName, { + files: [ + { + name: resourceFileName, + fileType: FileType.JS, + content: `import ${ + isNamedImport ? '{ ' + resourceImportVariable + ' }' : resourceImportVariable + } from '${importPath}' + +export default async function handler(req, res) { + try { + const response = await ${resourceImportVariable}(${funcParams}) + return res.status(200).json(response) + } catch (error) { + return res.status(500).send('Something went wrong') + } +} +`, + }, + ], + path: ['pages', 'api'], + }) + }) + + const declerations = Object.values(extractedResourceDeclerations) + if (declerations.length > 0) { + /* + For listing and details pages, the getStaticProps function is already defined. + So we just inject the newly extracted resource declerations into it. + + For other instances, we decleare a new getStaticProps function + */ + if (getStaticPropsChunk) { + const functionDecleration = (getStaticPropsChunk.content as types.ExportNamedDeclaration) + .declaration as types.FunctionDeclaration + const functionBody = functionDecleration.body.body + const tryBlock = functionBody.find( + (node) => node.type === 'TryStatement' + ) as types.TryStatement + + if (!tryBlock) { + throw new Error(`Try block not found for getStaticProps`) + } + + tryBlock.block.body.unshift(...declerations) + + const returnStatement: types.ReturnStatement = tryBlock.block.body.find( + (node) => node.type === 'ReturnStatement' + ) as types.ReturnStatement + + if (!returnStatement) { + throw new Error(`Failed to find return statement for getStatisProps`) + } + + const propsObject = (returnStatement.argument as types.ObjectExpression).properties.find( + (property) => + ((property as types.ObjectProperty).key as types.Identifier).name === 'props' + ) as types.ObjectProperty + const propsValue = propsObject.value as types.ObjectExpression + propsValue.properties.unshift( + ...computeResponseObjectForExtractedResources( + extractedResourceDeclerations, + extractedResources + ) + ) + } else { + const tryBlock = types.tryStatement( + types.blockStatement([ + ...declerations, + types.returnStatement( + types.objectExpression([ + types.objectProperty( + types.identifier('props'), + types.objectExpression( + computeResponseObjectForExtractedResources( + extractedResourceDeclerations, + extractedResources + ) + ) + ), + types.objectProperty(types.identifier('revalidate'), types.numericLiteral(60)), + ]) + ), + ]), + types.catchClause( + types.identifier('error'), + types.blockStatement([ + types.returnStatement( + types.objectExpression([ + types.objectProperty(types.identifier('notFound'), types.booleanLiteral(true)), + ]) + ), + ]) + ) + ) + const staticPropsChunk = types.exportNamedDeclaration( + types.functionDeclaration( + types.identifier('getStaticProps'), + [types.identifier('context')], + types.blockStatement([tryBlock]), + false, + true + ) + ) + + chunks.push({ + name: 'getStaticProps', + type: ChunkType.AST, + fileType: FileType.JS, + linkAfter: ['jsx-component'], + content: staticPropsChunk, + }) + } + } + + return structure + } + + return nextComponentCMSFetchPlugin +} + +const computeResponseObjectForExtractedResources = ( + extractedResourceDeclerations: Record, + extractedResources: Record +) => { + return Object.keys(extractedResourceDeclerations).map((key) => { + const extractedResource = extractedResources[key] + + let responseMemberAST: types.Identifier | types.OptionalMemberExpression + + if (extractedResource?.itemValuePath?.length) { + responseMemberAST = ASTUtils.generateMemberExpressionASTFromPath([ + key, + ...(extractedResource.itemValuePath || []), + ]) + } + + if (extractedResource?.valuePath?.length >= 0) { + responseMemberAST = ASTUtils.generateMemberExpressionASTFromPath([ + key, + ...(extractedResource.valuePath || []), + ]) + } + + if (!responseMemberAST) { + throw new Error(`Both itemValuePath and valuePath are missing. +Please check the UIDL \n ${JSON.stringify(extractedResource, null, 2)}`) + } + + const dataWeNeedAccessorAST = extractedResource?.itemValuePath?.length + ? types.optionalMemberExpression(responseMemberAST, types.numericLiteral(0), true, true) + : responseMemberAST + + return types.objectProperty(types.identifier(key), dataWeNeedAccessorAST, false, false) + }) +} + +const computeUseEffectAST = (params: { + fileName: string + resourceType: UIDLResourceItem['method'] + node: UIDLCMSItemNode | UIDLCMSListNode + componentChunk: ChunkDefinition + params: UIDLResourceLink['params'] +}) => { + const { node, fileName, componentChunk, resourceType } = params + if (node.type !== 'cms-item' && node.type !== 'cms-list') { + throw new Error('Invalid node type passed to computeUseEffectAST') + } + + const { key, itemValuePath = [], valuePath = [] } = node.content + const jsxNode = componentChunk.meta.nodesLookup[key] as types.JSXElement + let resourcePath: types.StringLiteral | types.TemplateLiteral = types.stringLiteral( + `/api/${fileName}` + ) + + const resourceParameters: types.ObjectProperty[] = [] + + if (resourceType === 'GET' && Object.keys(params).length > 0) { + resourcePath = types.templateLiteral( + [ + types.templateElement({ raw: `/api/${fileName}?`, cooked: `/api/${fileName}?` }), + types.templateElement({ raw: '', cooked: '' }), + ], + [types.newExpression(types.identifier('URLSearchParams'), [types.identifier('params')])] + ) + } + + if (resourceType === 'POST' && Object.keys(params).length > 0) { + resourceParameters.push( + types.objectProperty(types.identifier('method'), types.stringLiteral('POST')), + types.objectProperty( + types.identifier('body'), + types.callExpression( + types.memberExpression(types.identifier('JSON'), types.identifier('stringify')), + [types.identifier('params')] + ) + ) + ) + } + + const headers = types.objectProperty( + types.identifier('headers'), + types.objectExpression([ + types.objectProperty( + types.stringLiteral('Content-Type'), + types.stringLiteral('application/json') + ), + ]) + ) + + /* + For NextJS projects, we wrap the direct CMS calls with a `/api` + from Next. So, the return type is always going to be `json`. We can safely + set the return type to `.json()`. Because the actual return type is handled + in the resource itself. `/api/resource/resource.js` + */ + + const fetchAST = types.callExpression( + types.memberExpression( + types.callExpression( + types.identifier('fetch'), + [resourcePath, types.objectExpression([headers, ...resourceParameters])].filter(Boolean) + ), + types.identifier('then') + ), + [ + types.arrowFunctionExpression( + [types.identifier('res')], + types.callExpression( + types.memberExpression(types.identifier('res'), types.identifier('json')), + [] + ) + ), + ] + ) + + let responseExpression: types.OptionalMemberExpression + + if (node.type === 'cms-item') { + responseExpression = types.optionalMemberExpression( + ASTUtils.generateMemberExpressionASTFromPath([ + 'data', + ...itemValuePath, + ]) as types.OptionalMemberExpression, + types.numericLiteral(0), + true, + true + ) + } + + if (node.type === 'cms-list') { + responseExpression = ASTUtils.generateMemberExpressionASTFromPath([ + 'data', + ...valuePath, + ]) as types.OptionalMemberExpression + } + + const resourceAST = types.arrowFunctionExpression( + [types.identifier('params')], + valuePath.length || itemValuePath.length >= 0 + ? types.callExpression(types.memberExpression(fetchAST, types.identifier('then'), false), [ + types.arrowFunctionExpression([types.identifier('data')], responseExpression), + ]) + : fetchAST + ) + + jsxNode.openingElement.attributes.unshift( + types.jSXAttribute(types.jsxIdentifier('fetchData'), types.jsxExpressionContainer(resourceAST)) + ) + + return +} + +export default createNextComponentInlineFetchPlugin() diff --git a/packages/teleport-project-plugin-inline-fetch/tsconfig.json b/packages/teleport-project-plugin-inline-fetch/tsconfig.json new file mode 100644 index 000000000..a8be84e7a --- /dev/null +++ b/packages/teleport-project-plugin-inline-fetch/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "outDir": "dist/esm" + }, + "include": [ + "./src" + ] + } \ No newline at end of file diff --git a/packages/teleport-project-plugin-next-revalidate-api/package.json b/packages/teleport-project-plugin-next-revalidate-api/package.json new file mode 100644 index 000000000..4624de209 --- /dev/null +++ b/packages/teleport-project-plugin-next-revalidate-api/package.json @@ -0,0 +1,35 @@ +{ + "name": "@teleporthq/teleport-next-revalidate-api", + "version": "0.32.0", + "description": "A plugin for handling cache and enabling on demand revalidation in NextJS.", + "author": "teleportHQ", + "license": "MIT", + "homepage": "https://teleporthq.io/", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "dist/cjs/index.d.ts", + "sideEffects": false, + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/teleporthq/teleport-code-generators.git" + }, + "bugs": { + "url": "https://github.com/teleporthq/teleport-code-generators/issues" + }, + "publishConfig": { + "access": "public" + }, + "scripts": { + "clean": "rimraf dist", + "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" + }, + "dependencies": { + "@babel/types": "^7.5.5", + "@teleporthq/teleport-component-generator": "^0.32.0", + "@teleporthq/teleport-plugin-common": "^0.32.0", + "@teleporthq/teleport-plugin-import-statements": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-js": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" + }, + "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" +} diff --git a/packages/teleport-project-plugin-next-revalidate-api/src/component-plugin.ts b/packages/teleport-project-plugin-next-revalidate-api/src/component-plugin.ts new file mode 100644 index 000000000..f61f56205 --- /dev/null +++ b/packages/teleport-project-plugin-next-revalidate-api/src/component-plugin.ts @@ -0,0 +1,104 @@ +import { + ChunkType, + ComponentPlugin, + ComponentPluginFactory, + FileType, + ProjectUIDL, +} from '@teleporthq/teleport-types' +import * as types from '@babel/types' +import { generateCallbackExpression, generateResponseWithStatus } from './utils' + +interface NextCacheValidationProps { + routeMappers: Record + webhook: ProjectUIDL['resources']['cache']['webhook'] + cacheHandlerSecret?: string +} + +export const createNextCacheValidationPlugin: ComponentPluginFactory = ( + config +) => { + const { webhook, routeMappers = {}, cacheHandlerSecret } = config + + const cacheValidationPlugin: ComponentPlugin = async (structure) => { + const { dependencies, chunks } = structure + + const webhookHandlerContent: types.Statement[] = [ + types.expressionStatement( + types.awaitExpression( + types.callExpression(types.identifier(webhook.name), [ + types.identifier('req'), + generateCallbackExpression(routeMappers), + ]) + ) + ), + generateResponseWithStatus(200, true), + ] + + if (cacheHandlerSecret) { + webhookHandlerContent.unshift( + types.ifStatement( + types.binaryExpression( + '!==', + types.memberExpression( + types.memberExpression( + types.identifier('process'), + types.identifier('env'), + false, + true + ), + types.identifier(cacheHandlerSecret), + false + ), + types.memberExpression( + types.memberExpression(types.identifier('req'), types.identifier('query')), + types.stringLiteral(cacheHandlerSecret), + true, + true + ) + ), + types.blockStatement([generateResponseWithStatus(401, false)]) + ) + ) + } + + const componentChunkContent = types.exportDefaultDeclaration( + types.functionDeclaration( + types.identifier('handler'), + [types.identifier('req'), types.identifier('res')], + types.blockStatement([ + types.tryStatement( + types.blockStatement(webhookHandlerContent), + types.catchClause( + types.identifier('error'), + types.blockStatement([ + types.expressionStatement( + types.callExpression( + types.memberExpression(types.identifier('console'), types.identifier('log')), + [types.identifier('error')] + ) + ), + generateResponseWithStatus(500, false), + ]) + ) + ), + ]), + false, + true + ) + ) + + chunks.push({ + name: 'revalidateChunk', + type: ChunkType.AST, + fileType: FileType.JS, + content: componentChunkContent, + linkAfter: ['import-local', 'import-lib', 'import-pack'], + }) + + dependencies[webhook.name] = webhook.dependency + + return structure + } + + return cacheValidationPlugin +} diff --git a/packages/teleport-project-plugin-next-revalidate-api/src/index.ts b/packages/teleport-project-plugin-next-revalidate-api/src/index.ts new file mode 100644 index 000000000..71f1aa6e5 --- /dev/null +++ b/packages/teleport-project-plugin-next-revalidate-api/src/index.ts @@ -0,0 +1,73 @@ +import { ProjectPlugin, ProjectPluginStructure } from '@teleporthq/teleport-types' +import { createComponentGenerator } from '@teleporthq/teleport-component-generator' +import { createNextCacheValidationPlugin } from './component-plugin' +import importStatementsPlugin from '@teleporthq/teleport-plugin-import-statements' +import prettierJSPlugin from '@teleporthq/teleport-postprocessor-prettier-js' + +export class ProjectPluginRevalidateAPI implements ProjectPlugin { + private routeMappers: Record = {} + private cacheHandlerPath: string[] = ['pages', 'api'] + private cacheHandlerSecret: string | null = null + + constructor( + params: { + routeMappers?: Record + cacheHandlerPath?: string[] + cacheHandlerSecret?: string + } = {} + ) { + const { routeMappers, cacheHandlerPath, cacheHandlerSecret } = params + if (routeMappers) { + this.routeMappers = routeMappers + } + if (cacheHandlerPath) { + this.cacheHandlerPath = cacheHandlerPath + } + + if (cacheHandlerSecret) { + this.cacheHandlerSecret = cacheHandlerSecret + } + } + + async runAfter(structure: ProjectPluginStructure) { + const { uidl, files } = structure + if (!uidl.resources.cache?.webhook?.dependency) { + return structure + } + const generator = createComponentGenerator() + generator.addPlugin( + createNextCacheValidationPlugin({ + routeMappers: this.routeMappers, + cacheHandlerSecret: this.cacheHandlerSecret, + webhook: uidl.resources.cache.webhook, + }) + ) + generator.addPlugin(importStatementsPlugin) + generator.addPostProcessor(prettierJSPlugin) + + const { files: cacheHandlerFiles, dependencies: cacheHandlerDependencies } = + await generator.generateComponent( + { + ...uidl.root, + name: 'revalidate', + }, + { + skipValidation: true, + skipNavlinkResolver: true, + } + ) + + structure.dependencies = { ...structure.dependencies, ...cacheHandlerDependencies } + + files.set('revalidate', { + path: this.cacheHandlerPath, + files: cacheHandlerFiles, + }) + + return structure + } + + async runBefore(structure: ProjectPluginStructure) { + return structure + } +} diff --git a/packages/teleport-project-plugin-next-revalidate-api/src/utils.ts b/packages/teleport-project-plugin-next-revalidate-api/src/utils.ts new file mode 100644 index 000000000..8a7ffc80d --- /dev/null +++ b/packages/teleport-project-plugin-next-revalidate-api/src/utils.ts @@ -0,0 +1,103 @@ +import * as types from '@babel/types' +import { ASTUtils } from '@teleporthq/teleport-plugin-common' + +export const generateResponseWithStatus = ( + status: number, + revalidationStatus: boolean +): types.ReturnStatement => { + return types.returnStatement( + types.callExpression( + types.memberExpression( + types.callExpression( + types.memberExpression(types.identifier('res'), types.identifier('status')), + [types.numericLiteral(status)] + ), + types.identifier('json') + ), + [ + types.objectExpression([ + types.objectProperty( + types.identifier('revalidated'), + types.booleanLiteral(revalidationStatus) + ), + ]), + ] + ) + ) +} + +export const appendDataToObjectExpression = (expression: string): string => { + const regex = /\${(.*?)}/g + const result = expression.replace(regex, (_, p1) => `\${data.${p1}}`) + return result +} + +export const generateCallbackExpression = ( + routeMappings: Record +): types.ArrowFunctionExpression => { + const switchCases: types.SwitchCase[] = Object.entries(routeMappings).map( + ([contentType, paths]) => { + return types.switchCase(types.stringLiteral(contentType), [ + types.blockStatement([ + types.tryStatement( + types.blockStatement([ + ...paths.map((dynamicPath) => { + const expression = ASTUtils.getExpressionFromUIDLExpressionNode({ + type: 'expr', + content: '`' + appendDataToObjectExpression(dynamicPath) + '`', + }) as types.TemplateLiteral + + return types.expressionStatement( + types.awaitExpression( + types.callExpression( + types.memberExpression( + types.identifier('res'), + types.identifier('revalidate') + ), + [expression] + ) + ) + ) + }), + ]), + types.catchClause( + types.identifier('error'), + types.blockStatement([ + types.expressionStatement( + types.callExpression( + types.memberExpression(types.identifier('console'), types.identifier('log')), + [types.stringLiteral('Failed in clearing cache')] + ) + ), + types.expressionStatement( + types.callExpression( + types.memberExpression(types.identifier('console'), types.identifier('log')), + [types.identifier('error')] + ) + ), + ]) + ) + ), + types.breakStatement(), + ]), + ]) + } + ) + + switchCases.push( + types.switchCase(null, [ + types.throwStatement( + types.newExpression(types.identifier('Error'), [ + types.stringLiteral('Invalid content typ, received'), + types.identifier('contentType'), + ]) + ), + ]) + ) + + return types.arrowFunctionExpression( + [types.identifier('data'), types.identifier('contentType')], + types.blockStatement([types.switchStatement(types.identifier('contentType'), switchCases)]), + true + ) +} diff --git a/packages/teleport-project-plugin-next-revalidate-api/tsconfig.json b/packages/teleport-project-plugin-next-revalidate-api/tsconfig.json new file mode 100644 index 000000000..accc723c1 --- /dev/null +++ b/packages/teleport-project-plugin-next-revalidate-api/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "outDir": "dist/esm" + }, + "include": [ + "./src" + ] + } diff --git a/packages/teleport-project-plugin-parse-embed/package.json b/packages/teleport-project-plugin-parse-embed/package.json index 4a8b75bce..0fe9baf4f 100644 --- a/packages/teleport-project-plugin-parse-embed/package.json +++ b/packages/teleport-project-plugin-parse-embed/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-plugin-parse-embed", - "version": "0.31.3", + "version": "0.32.0", "description": "A plugin for extracting the html embeds into seperate files", "author": "teleportHQ", "license": "MIT", @@ -24,8 +24,8 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --moduleResolution node16 --outDir dist/cjs " }, "dependencies": { - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0", "hast-util-from-html": "^1.0.1", "hast-util-to-html": "^8.0.4", "hast-util-to-jsx-inline-script": "^1.1.0" diff --git a/packages/teleport-project-plugin-react-jss/package.json b/packages/teleport-project-plugin-react-jss/package.json index e03ab5bb7..81734f856 100644 --- a/packages/teleport-project-plugin-react-jss/package.json +++ b/packages/teleport-project-plugin-react-jss/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-plugin-react-jss", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for configuring projects to use react-jss", "author": "teleportHQ", "license": "MIT", @@ -24,10 +24,10 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-plugin-import-statements": "^0.31.6", - "@teleporthq/teleport-plugin-react-jss": "^0.31.6", - "@teleporthq/teleport-postprocessor-prettier-js": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0", + "@teleporthq/teleport-plugin-import-statements": "^0.32.0", + "@teleporthq/teleport-plugin-react-jss": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-js": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0", "magic-string": "^0.25.4" } } diff --git a/packages/teleport-project-plugin-styled-components/package.json b/packages/teleport-project-plugin-styled-components/package.json index e62b69176..5955a401c 100644 --- a/packages/teleport-project-plugin-styled-components/package.json +++ b/packages/teleport-project-plugin-styled-components/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-plugin-styled-components", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for configuring teleportHQ projects to use styled-components", "author": "teleportHQ", "license": "MIT", @@ -24,11 +24,11 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-plugin-import-statements": "^0.31.6", - "@teleporthq/teleport-plugin-react-app-routing": "^0.31.6", - "@teleporthq/teleport-plugin-react-styled-components": "^0.31.6", - "@teleporthq/teleport-postprocessor-prettier-js": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0", + "@teleporthq/teleport-plugin-import-statements": "^0.32.0", + "@teleporthq/teleport-plugin-react-app-routing": "^0.32.0", + "@teleporthq/teleport-plugin-react-styled-components": "^0.32.0", + "@teleporthq/teleport-postprocessor-prettier-js": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0", "magic-string": "^0.25.4" } } diff --git a/packages/teleport-project-plugin-styled-components/src/next.ts b/packages/teleport-project-plugin-styled-components/src/next.ts index 41c01e239..a3747c144 100644 --- a/packages/teleport-project-plugin-styled-components/src/next.ts +++ b/packages/teleport-project-plugin-styled-components/src/next.ts @@ -43,7 +43,7 @@ export const nextAfterModifier = async (structure: ProjectPluginStructure) => { sheet.collectStyles(), ); const styleTags = sheet.getStyleElement(); - + return { ...page, styleTags }; }\n\n` ) diff --git a/packages/teleport-project-plugin-tailwind/package.json b/packages/teleport-project-plugin-tailwind/package.json index 2eafa73c0..c3b30c605 100644 --- a/packages/teleport-project-plugin-tailwind/package.json +++ b/packages/teleport-project-plugin-tailwind/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-project-plugin-tailwind", - "version": "0.31.6", + "version": "0.32.0", "description": "A plugin for configuring teleportHQ projects to use tailwind", "author": "teleportHQ", "license": "MIT", @@ -24,9 +24,9 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-plugin-css": "^0.31.6", - "@teleporthq/teleport-plugin-import-statements": "^0.31.6", - "@teleporthq/teleport-plugin-react-app-routing": "^0.31.6", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-plugin-css": "^0.32.0", + "@teleporthq/teleport-plugin-import-statements": "^0.32.0", + "@teleporthq/teleport-plugin-react-app-routing": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" } } diff --git a/packages/teleport-publisher-codesandbox/package.json b/packages/teleport-publisher-codesandbox/package.json index f7b64bef3..0d9f3bd7e 100644 --- a/packages/teleport-publisher-codesandbox/package.json +++ b/packages/teleport-publisher-codesandbox/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-publisher-codesandbox", - "version": "0.31.4", + "version": "0.32.0", "description": "Send your generated project to codesandbox", "author": "teleportHQ", "license": "MIT", @@ -24,8 +24,8 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-publisher-zip": "^0.31.0", - "@teleporthq/teleport-types": "^0.31.0", + "@teleporthq/teleport-publisher-zip": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0", "cross-fetch": "^3.0.4" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" diff --git a/packages/teleport-publisher-disk/package.json b/packages/teleport-publisher-disk/package.json index bc6648be6..81cc7e8a4 100644 --- a/packages/teleport-publisher-disk/package.json +++ b/packages/teleport-publisher-disk/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-publisher-disk", - "version": "0.31.0", + "version": "0.32.0", "description": "Project disk publisher", "author": "teleportHQ", "license": "MIT", @@ -24,7 +24,7 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-types": "^0.31.0", + "@teleporthq/teleport-types": "^0.32.0", "cross-fetch": "^3.0.4", "path-browserify": "^1.0.1" }, diff --git a/packages/teleport-publisher-github/package.json b/packages/teleport-publisher-github/package.json index 1ce11f4ee..749f40f01 100644 --- a/packages/teleport-publisher-github/package.json +++ b/packages/teleport-publisher-github/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-publisher-github", - "version": "0.31.6", + "version": "0.32.0", "description": "Project github publisher", "author": "teleportHQ", "license": "MIT", @@ -24,8 +24,8 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-github-gateway": "^0.31.6", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-github-gateway": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-publisher-netlify/package.json b/packages/teleport-publisher-netlify/package.json index a68c36077..43302ace2 100644 --- a/packages/teleport-publisher-netlify/package.json +++ b/packages/teleport-publisher-netlify/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-publisher-netlify", - "version": "0.31.0", + "version": "0.32.0", "description": "Publishes a static site to netlify", "author": "teleportHQ", "license": "MIT", @@ -24,8 +24,8 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-publisher-zip": "^0.31.0", - "@teleporthq/teleport-types": "^0.31.0", + "@teleporthq/teleport-publisher-zip": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0", "cross-fetch": "^3.0.4" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" diff --git a/packages/teleport-publisher-vercel/package.json b/packages/teleport-publisher-vercel/package.json index de13d2bde..44d85e974 100644 --- a/packages/teleport-publisher-vercel/package.json +++ b/packages/teleport-publisher-vercel/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-publisher-vercel", - "version": "0.31.0", + "version": "0.32.0", "description": "Publishes a generated folder structure to vercel", "author": "teleportHQ", "license": "MIT", @@ -24,7 +24,7 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-types": "^0.31.0", + "@teleporthq/teleport-types": "^0.32.0", "async-retry": "^1.3.3", "async-sema": "^3.1.1", "node-fetch": "^2.6.1" diff --git a/packages/teleport-publisher-zip/package.json b/packages/teleport-publisher-zip/package.json index 9f0ca0e78..3ae5f19d5 100644 --- a/packages/teleport-publisher-zip/package.json +++ b/packages/teleport-publisher-zip/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-publisher-zip", - "version": "0.31.0", + "version": "0.32.0", "description": "Creates an in-memory zip file from the generated project", "author": "teleportHQ", "license": "MIT", @@ -24,7 +24,7 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-types": "^0.31.0", + "@teleporthq/teleport-types": "^0.32.0", "jszip": "^3.2.2" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" diff --git a/packages/teleport-shared/package.json b/packages/teleport-shared/package.json index 4de650d82..4f4540d43 100644 --- a/packages/teleport-shared/package.json +++ b/packages/teleport-shared/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-shared", - "version": "0.31.3", + "version": "0.32.0", "description": "A utility belt for the entire teleportHQ ecosystem", "author": "teleportHQ", "license": "MIT", @@ -25,7 +25,7 @@ }, "dependencies": { "@babel/types": "^7.5.5", - "@teleporthq/teleport-types": "^0.31.0", + "@teleporthq/teleport-types": "^0.32.0", "jss": "^10.0.0", "jss-preset-default": "^10.0.0" }, diff --git a/packages/teleport-shared/src/constants/index.ts b/packages/teleport-shared/src/constants/index.ts index 90e1cf781..ffba7bfa1 100644 --- a/packages/teleport-shared/src/constants/index.ts +++ b/packages/teleport-shared/src/constants/index.ts @@ -1,4 +1,4 @@ -import { PrettierFormatOptions } from '@teleporthq/teleport-types' +import { PrettierFormatOptions, UIDLDependency } from '@teleporthq/teleport-types' export const ASSETS_IDENTIFIER = 'playground_assets' export const PRETTIER_CONFIG: PrettierFormatOptions = { @@ -11,3 +11,30 @@ export const PRETTIER_CONFIG: PrettierFormatOptions = { trailingComma: 'es5', bracketSpacing: true, } + +export const USE_ROUTER_DEPENDENCY: UIDLDependency = { + type: 'library', + path: 'next/router', + version: '12.1.0', + meta: { + namedImport: true, + }, +} + +export const USE_EFFECT_DEPENDENCY: UIDLDependency = { + type: 'library', + path: 'react', + version: '16.8.3', + meta: { + namedImport: true, + }, +} + +export const USE_STATE_DEPENDENCY: UIDLDependency = { + type: 'library', + path: 'react', + version: '16.8.3', + meta: { + namedImport: true, + }, +} diff --git a/packages/teleport-shared/src/index.ts b/packages/teleport-shared/src/index.ts index 75faa5932..dd59719c6 100644 --- a/packages/teleport-shared/src/index.ts +++ b/packages/teleport-shared/src/index.ts @@ -1,5 +1,6 @@ import * as Constants from './constants' import * as StringUtils from './utils/string-utils' import * as UIDLUtils from './utils/uidl-utils' +import * as GenericUtils from './utils/generic' -export { Constants, StringUtils, UIDLUtils } +export { Constants, StringUtils, UIDLUtils, GenericUtils } diff --git a/packages/teleport-shared/src/utils/generic.ts b/packages/teleport-shared/src/utils/generic.ts new file mode 100644 index 000000000..1e1a992db --- /dev/null +++ b/packages/teleport-shared/src/utils/generic.ts @@ -0,0 +1,68 @@ +export const generateLocalDependenciesPrefix = (fromPath: string[], toPath: string[]): string => { + /* + Remove common path elements from the beginning of the + components and pages full path (if any) + + For example, having: + - fromPath = ['src', 'components'] + - toPath = ['src', 'pages'] + + If we want to have an import statement that goes from the pages folder to the + components folder, we only need to go back one step, so we are removing + the first element from both the paths ('src') and build the dependencyPrefix accordingly + */ + const [firstPath, secondPath] = removeCommonStartingPointsFromPaths([fromPath, toPath]) + + // We have to go back as many folders as there are defined in the pages path + let dependencyPrefix = '../'.repeat(firstPath.length) + + // if 'fromPath' is parent for 'toPath', the path starts from './' + if (firstPath.length === 0) { + secondPath.unshift('.') + } + + dependencyPrefix += secondPath + .map((folder) => { + return `${folder}/` + }) + .join('') + + return dependencyPrefix +} + +const removeCommonStartingPointsFromPaths = (paths: string[][]): string[][] => { + const pathsClone: string[][] = JSON.parse(JSON.stringify(paths)) + + const shortestPathLength = Math.min( + ...pathsClone.map((path) => { + return path.length + }) + ) + + let elementIndex = 0 + let elementsFromIndexAreEqual = true + + while (elementIndex < shortestPathLength && elementsFromIndexAreEqual) { + const firstPathElementsFromIndex = pathsClone.map((path: string[]) => { + return path[0] + }) + + if (elementsFromArrayAreEqual(firstPathElementsFromIndex)) { + // If the first elements from every path are equal, remove it + pathsClone.forEach((path) => { + path.shift() + }) + } else { + elementsFromIndexAreEqual = false + } + elementIndex += 1 + } + + return pathsClone +} + +const elementsFromArrayAreEqual = (arrayOfElements: string[]): boolean => { + return arrayOfElements.every((element: string) => { + return element === arrayOfElements[0] + }) +} diff --git a/packages/teleport-shared/src/utils/string-utils.ts b/packages/teleport-shared/src/utils/string-utils.ts index 71b940df8..392c7fe95 100644 --- a/packages/teleport-shared/src/utils/string-utils.ts +++ b/packages/teleport-shared/src/utils/string-utils.ts @@ -4,6 +4,7 @@ export const dashCaseToCamelCase = (str: string): string => str.replace(/[-_]+(.)?/g, (_, chr) => (chr ? chr.toUpperCase() : '')) export const capitalize = (str: string): string => str[0].toUpperCase() + str.slice(1) +export const camelize = (str: string): string => str[0].toLowerCase() + str.slice(1) export const dashCaseToUpperCamelCase = (str: string) => capitalize(dashCaseToCamelCase(str)) @@ -35,6 +36,10 @@ export const slugify = (str: string): string => { .replace(/&/g, '-and-') // Replace & with 'and' } +export const createStateOrPropStoringValue = (value: string) => camelize(dashCaseToCamelCase(value)) +export const createStateStoringFunction = (value: string) => + `set${capitalize(dashCaseToUpperCamelCase(value))}` + export const addSpacesToEachLine = (spaces: string, str: string) => { // indent the first line const respaced = spaces + str diff --git a/packages/teleport-shared/src/utils/uidl-utils.ts b/packages/teleport-shared/src/utils/uidl-utils.ts index 96b31a077..3ca8fb3d9 100644 --- a/packages/teleport-shared/src/utils/uidl-utils.ts +++ b/packages/teleport-shared/src/utils/uidl-utils.ts @@ -20,9 +20,11 @@ import { UIDLStyleSheetContent, UIDLComponentStyleReference, UIDLRootComponent, + UIDLResourceItem, GeneratorOptions, } from '@teleporthq/teleport-types' import { basename } from 'path' +import { StringUtils } from '..' export const extractRoutes = (rootComponent: UIDLRootComponent) => { // Assuming root element starts with a UIDLElementNode @@ -47,6 +49,7 @@ export const setFriendlyOutputOptions = (uidl: ComponentUIDL) => { uidl.outputOptions = uidl.outputOptions || {} const defaultComponentName = 'AppComponent' const friendlyName = removeIllegalCharacters(uidl.name) || defaultComponentName + if (!uidl.outputOptions.fileName) { uidl.outputOptions.fileName = camelCaseToDashCase(friendlyName) } @@ -128,7 +131,11 @@ export const prefixAssetsPath = ( return originalString } - if (!originalString.startsWith('/')) { + if (typeof originalString !== 'string') { + return originalString + } + + if (!originalString?.startsWith('/')) { return originalString } @@ -222,6 +229,47 @@ export const traverseNodes = ( } break + case 'cms-list': + traverseNodes(node.content.nodes.success, fn) + if (node.content.nodes.error) { + traverseNodes(node.content.nodes.error, fn) + } + if (node.content.nodes.loading) { + traverseNodes(node.content.nodes.loading, fn) + } + break + + case 'cms-list-repeater': + traverseNodes(node.content.nodes.list, fn) + if (node.content.nodes.empty) { + traverseNodes(node.content.nodes.empty, fn) + } + break + + case 'cms-item': + traverseNodes(node.content.nodes.success, fn) + if (node.content.nodes.error) { + traverseNodes(node.content.nodes.error, fn) + } + if (node.content.nodes.loading) { + traverseNodes(node.content.nodes.loading, fn) + } + break + + case 'cms-mixed-type': + if (node.content.nodes?.fallback) { + traverseNodes(node.content.nodes.fallback, fn) + } + + if (node.content.nodes?.error) { + traverseNodes(node.content.nodes.error, fn) + } + + Object.keys(node.content?.mappings || {}).forEach((key) => { + traverseNodes(node.content.mappings[key], fn) + }) + break + case 'repeat': traverseNodes(node.content.node, fn, node) traverseNodes(node.content.dataSource, fn, node) @@ -242,13 +290,97 @@ export const traverseNodes = ( case 'comp-style': case 'dynamic': case 'import': + case 'expr': case 'raw': case 'inject': break default: throw new Error( - `traverseNodes was given an unsupported node type ${JSON.stringify(node, null, 2)}` + `traverseNodes was given an unsupported node type: ${JSON.stringify(node, null, 2)}` + ) + } +} + +export const traverseResources = ( + node: UIDLNode, + fn: (node: UIDLResourceItem, parentNode: UIDLNode) => void +) => { + switch (node.type) { + case 'element': + const { children } = node.content + + if (children) { + children.forEach((child) => { + traverseResources(child, fn) + }) + } + break + + case 'cms-list': + traverseResources(node.content.nodes.success, fn) + if (node.content.nodes.error) { + traverseResources(node.content.nodes.error, fn) + } + if (node.content.nodes.loading) { + traverseResources(node.content.nodes.loading, fn) + } + break + + case 'cms-list-repeater': + traverseResources(node.content.nodes.list, fn) + if (node.content.nodes.empty) { + traverseResources(node.content.nodes.empty, fn) + } + break + + case 'cms-item': + traverseResources(node.content.nodes.success, fn) + if (node.content.nodes.error) { + traverseResources(node.content.nodes.error, fn) + } + if (node.content.nodes.loading) { + traverseResources(node.content.nodes.loading, fn) + } + break + + case 'cms-mixed-type': + if (node.content.nodes?.fallback) { + traverseResources(node.content.nodes.fallback, fn) + } + + if (node.content.nodes?.error) { + traverseResources(node.content.nodes.error, fn) + } + + Object.keys(node.content?.mappings || {}).forEach((key) => { + traverseResources(node.content.mappings[key], fn) + }) + break + + case 'repeat': + traverseResources(node.content.node, fn) + break + + case 'conditional': + traverseResources(node.content.node, fn) + break + + case 'slot': + if (node.content.fallback) { + traverseResources(node.content.fallback, fn) + } + break + + case 'static': + case 'dynamic': + case 'import': + case 'raw': + break + + default: + throw new Error( + `traverseResources was given an unsupported node type: ${JSON.stringify(node, null, 2)}` ) } } @@ -276,6 +408,48 @@ export const traverseElements = (node: UIDLNode, fn: (element: UIDLElement) => v } break + case 'cms-list': + traverseElements(node.content.nodes.success, fn) + if (node.content.nodes.error) { + traverseElements(node.content.nodes.error, fn) + } + if (node.content.nodes.loading) { + traverseElements(node.content.nodes.loading, fn) + } + break + + case 'cms-list-repeater': + traverseElements(node.content.nodes.list, fn) + if (node.content.nodes.empty) { + traverseElements(node.content.nodes.empty, fn) + } + + break + + case 'cms-item': + traverseElements(node.content.nodes.success, fn) + if (node.content.nodes.error) { + traverseElements(node.content.nodes.error, fn) + } + if (node.content.nodes.loading) { + traverseElements(node.content.nodes.loading, fn) + } + break + + case 'cms-mixed-type': + if (node.content.nodes?.fallback) { + traverseElements(node.content.nodes.fallback, fn) + } + + if (node.content.nodes?.error) { + traverseElements(node.content.nodes.error, fn) + } + + Object.keys(node.content?.mappings || {}).forEach((key) => { + traverseElements(node.content.mappings[key], fn) + }) + break + case 'repeat': traverseElements(node.content.node, fn) break @@ -294,11 +468,16 @@ export const traverseElements = (node: UIDLNode, fn: (element: UIDLElement) => v case 'dynamic': case 'inject': case 'raw': + case 'expr': break default: throw new Error( - `traverseElements was given an unsupported node type ${JSON.stringify(node, null, 2)}` + `traverseElements was given an unsupported node type : ${node.type}, ${JSON.stringify( + node, + null, + 2 + )}` ) } } @@ -314,6 +493,48 @@ export const traverseRepeats = (node: UIDLNode, fn: (element: UIDLRepeatContent) break + case 'cms-list': + traverseRepeats(node.content.nodes.success, fn) + if (node.content.nodes.error) { + traverseRepeats(node.content.nodes.error, fn) + } + if (node.content.nodes.loading) { + traverseRepeats(node.content.nodes.loading, fn) + } + break + + case 'cms-list-repeater': + traverseRepeats(node.content.nodes.list, fn) + if (node.content.nodes.empty) { + traverseRepeats(node.content.nodes.empty, fn) + } + + break + + case 'cms-item': + traverseRepeats(node.content.nodes.success, fn) + if (node.content.nodes.error) { + traverseRepeats(node.content.nodes.error, fn) + } + if (node.content.nodes.loading) { + traverseRepeats(node.content.nodes.loading, fn) + } + break + + case 'cms-mixed-type': + if (node.content.nodes?.fallback) { + traverseRepeats(node.content.nodes.fallback, fn) + } + + if (node.content.nodes?.error) { + traverseRepeats(node.content.nodes.error, fn) + } + + Object.keys(node.content?.mappings || {}).forEach((key) => { + traverseRepeats(node.content.mappings[key], fn) + }) + break + case 'repeat': fn(node.content) @@ -333,12 +554,17 @@ export const traverseRepeats = (node: UIDLNode, fn: (element: UIDLRepeatContent) case 'static': case 'dynamic': case 'raw': + case 'expr': case 'inject': break default: throw new Error( - `traverseRepeats was given an unsupported node type ${JSON.stringify(node, null, 2)}` + `traverseRepeats was given an unsupported node type: ${node.type} - ${JSON.stringify( + node, + null, + 2 + )}` ) } } @@ -468,7 +694,7 @@ export const transformStringAssignmentToJson = ( type: 'dynamic', content: { referenceType, - id: path, + id: StringUtils.createStateOrPropStoringValue(path), }, } } @@ -495,13 +721,27 @@ export const transformStylesAssignmentsToJson = ( if (!Array.isArray(styleContentAtKey) && entityType === 'object') { // if this value is already properly declared, make sure it is not - const { type } = styleContentAtKey as Record + const { type, content } = styleContentAtKey as UIDLStaticValue | UIDLDynamicReference - if (['dynamic', 'static'].indexOf(type as string) !== -1) { - acc[key] = styleContentAtKey as UIDLStyleValue + if (type === 'static') { + acc[key] = styleContentAtKey as UIDLStaticValue return acc } + if (type === 'dynamic') { + if (['state', 'prop'].includes(content?.referenceType)) { + acc[key] = { + type, + content: { + ...content, + id: StringUtils.createStateOrPropStoringValue(content.id), + }, + } + } else { + acc[key] = styleContentAtKey as UIDLDynamicReference + } + } + return acc } @@ -517,17 +757,27 @@ export const transformStylesAssignmentsToJson = ( return newStyleObject } +/* + All the props passed to the components are transformed to a unique case + to minimize the collision of using cameCalse in one place and dashCase in + another place. So, all the attrs that are being passed to the local compoenents + need to be transformed since these are basically props. +*/ + export const transformAttributesAssignmentsToJson = ( - attributesObject: Record + attributesObject: Record, + isLocalComponent = false ): Record => { - const newStyleObject: Record = {} + const newAttrObject: Record = {} Object.keys(attributesObject).reduce((acc, key) => { const attributeContent = attributesObject[key] const entityType = typeof attributeContent if (['string', 'number'].indexOf(entityType) !== -1) { - acc[key] = transformStringAssignmentToJson( + const propKey = isLocalComponent ? StringUtils.createStateOrPropStoringValue(key) : key + + acc[propKey] = transformStringAssignmentToJson( attributeContent as string | number ) as UIDLAttributeValue return acc @@ -535,9 +785,36 @@ export const transformAttributesAssignmentsToJson = ( if (!Array.isArray(attributeContent) && entityType === 'object') { // if this value is already properly declared, make sure it is not - const { type } = attributeContent as Record - if (['dynamic', 'static', 'import', 'comp-style', 'raw'].indexOf(type as string) !== -1) { - acc[key] = attributeContent as UIDLAttributeValue + const { type } = attributeContent as UIDLAttributeValue + if (['static', 'import', 'raw', 'expr'].indexOf(type as string) !== -1) { + const propKey = isLocalComponent ? StringUtils.createStateOrPropStoringValue(key) : key + acc[propKey] = attributeContent as UIDLAttributeValue + return acc + } + + if (type === 'comp-style') { + acc[key] = { + type: 'comp-style', + content: StringUtils.createStateOrPropStoringValue( + (attributeContent as UIDLComponentStyleReference).content + ), + } + return acc + } + + const { content } = attributeContent as UIDLDynamicReference + if (type === 'dynamic') { + if (['state', 'prop'].includes(content?.referenceType)) { + acc[key] = { + type, + content: { + ...content, + id: StringUtils.createStateOrPropStoringValue(content.id), + }, + } + } else { + acc[key] = attributeContent as UIDLAttributeValue + } return acc } @@ -549,17 +826,9 @@ export const transformAttributesAssignmentsToJson = ( )}` ) } + }, newAttrObject) - throw new Error( - `transformAttributesAssignmentsToJson encountered a style value that is not supported ${JSON.stringify( - attributeContent, - null, - 2 - )}` - ) - }, newStyleObject) - - return newStyleObject + return newAttrObject } export const findFirstElementNode = (node: UIDLNode): UIDLElementNode => { @@ -599,6 +868,47 @@ export const removeChildNodes = ( removeChildNodes(node.content.node, criteria) break + case 'cms-list': + removeChildNodes(node.content.nodes.success, criteria) + if (node.content.nodes.error) { + removeChildNodes(node.content.nodes.error, criteria) + } + if (node.content.nodes.loading) { + removeChildNodes(node.content.nodes.loading, criteria) + } + break + + case 'cms-list-repeater': + removeChildNodes(node.content.nodes.list, criteria) + if (node.content.nodes.empty) { + removeChildNodes(node.content.nodes.empty, criteria) + } + + break + case 'cms-item': + removeChildNodes(node.content.nodes.success, criteria) + if (node.content.nodes.error) { + removeChildNodes(node.content.nodes.error, criteria) + } + if (node.content.nodes.loading) { + removeChildNodes(node.content.nodes.loading, criteria) + } + break + + case 'cms-mixed-type': + if (node.content.nodes?.fallback) { + removeChildNodes(node.content.nodes.fallback, criteria) + } + + if (node.content.nodes?.error) { + removeChildNodes(node.content.nodes.error, criteria) + } + + Object.keys(node.content?.mappings || {}).forEach((key) => { + removeChildNodes(node.content.mappings[key], criteria) + }) + break + case 'conditional': removeChildNodes(node.content.node, criteria) break @@ -612,6 +922,7 @@ export const removeChildNodes = ( case 'static': case 'dynamic': case 'raw': + case 'expr': case 'inject': break diff --git a/packages/teleport-test/package.json b/packages/teleport-test/package.json index 6de7b510b..ed1db7323 100644 --- a/packages/teleport-test/package.json +++ b/packages/teleport-test/package.json @@ -1,7 +1,7 @@ { "name": "teleport-test", "private": true, - "version": "0.31.6", + "version": "0.32.0", "description": "A private repo used for testing the entire ecosystem locally", "author": "teleportHQ", "license": "MIT", @@ -21,25 +21,26 @@ "scripts": { "packer": "cross-env TS_NODE_FILES=true ts-node --project tsconfig.json ./src/packer.ts", "standalone": "cross-env TS_NODE_FILES=true ts-node --project tsconfig.json ./src/standalone.ts", + "cms": "cross-env TS_NODE_FILES=true ts-node --project tsconfig.json ./src/cms.ts", "comp": "cross-env TS_NODE_FILES=true ts-node --project tsconfig.json ./src/component.ts", "bundle": "webpack --config webpack.config.js" }, "dependencies": { - "@teleporthq/teleport-code-generator": "^0.31.6", - "@teleporthq/teleport-component-generator-html": "^0.31.6", - "@teleporthq/teleport-project-generator-angular": "^0.31.6", - "@teleporthq/teleport-project-generator-next": "^0.31.6", - "@teleporthq/teleport-project-generator-nuxt": "^0.31.6", - "@teleporthq/teleport-project-generator-react": "^0.31.6", - "@teleporthq/teleport-project-generator-vue": "^0.31.6", - "@teleporthq/teleport-project-packer": "^0.31.6", - "@teleporthq/teleport-project-plugin-css-modules": "^0.31.6", - "@teleporthq/teleport-project-plugin-react-jss": "^0.31.6", - "@teleporthq/teleport-project-plugin-styled-components": "^0.31.6", - "@teleporthq/teleport-project-plugin-tailwind": "^0.31.6", - "@teleporthq/teleport-publisher-codesandbox": "^0.31.4", - "@teleporthq/teleport-publisher-disk": "^0.31.0", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-code-generator": "^0.32.0", + "@teleporthq/teleport-component-generator-html": "^0.32.0", + "@teleporthq/teleport-project-generator-angular": "^0.32.0", + "@teleporthq/teleport-project-generator-next": "^0.32.0", + "@teleporthq/teleport-project-generator-nuxt": "^0.32.0", + "@teleporthq/teleport-project-generator-react": "^0.32.0", + "@teleporthq/teleport-project-generator-vue": "^0.32.0", + "@teleporthq/teleport-project-packer": "^0.32.0", + "@teleporthq/teleport-project-plugin-css-modules": "^0.32.0", + "@teleporthq/teleport-project-plugin-react-jss": "^0.32.0", + "@teleporthq/teleport-project-plugin-styled-components": "^0.32.0", + "@teleporthq/teleport-project-plugin-tailwind": "^0.32.0", + "@teleporthq/teleport-publisher-codesandbox": "^0.32.0", + "@teleporthq/teleport-publisher-disk": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "devDependencies": { "cross-env": "^7.0.2", diff --git a/packages/teleport-test/src/cms.ts b/packages/teleport-test/src/cms.ts new file mode 100644 index 000000000..e57b632e7 --- /dev/null +++ b/packages/teleport-test/src/cms.ts @@ -0,0 +1,111 @@ +import { mkdirSync, rmdirSync } from 'fs' +import chalk from 'chalk' +import { packProject } from '@teleporthq/teleport-code-generator' +import { PackerOptions, ProjectType, ProjectUIDL, PublisherType } from '@teleporthq/teleport-types' +import { performance } from 'perf_hooks' +import contentfulUIDL from '../../../examples/uidl-samples/contentful.json' +import strapiUIDL from '../../../examples/uidl-samples/strapi.json' +import wordpressUIDL from '../../../examples/uidl-samples/wordpress.json' +import caisyUIDL from '../../../examples/uidl-samples/caisy.json' +import flotiqUIDL from '../../../examples/uidl-samples/flotiq.json' + +const packerOptions: PackerOptions = { + publisher: PublisherType.DISK, + projectType: ProjectType.REACT, + publishOptions: { + outputPath: 'dist', + }, + assets: [], +} + +const log = async (cb: () => Promise) => { + const t1 = performance.now() + const framework = await cb() + const t2 = performance.now() + + const time = t2 - t1 + console.info(chalk.greenBright(`${framework} - ${time.toFixed(2)}`)) +} + +const run = async () => { + try { + if (packerOptions.publisher === PublisherType.DISK) { + try { + rmdirSync('dist', { recursive: true }) + mkdirSync('dist') + } catch /* tslint:disable no-empty */ {} + } + + let result + + /* CMS uidl */ + await log(async () => { + result = await packProject(contentfulUIDL as ProjectUIDL, { + ...packerOptions, + projectType: ProjectType.NEXT, + publishOptions: { + ...packerOptions.publishOptions, + projectSlug: 'teleport-project-contentful-cms', + }, + }) + console.info(ProjectType.NEXT, '-', result.payload) + return 'teleport-project-contentful-cms' + }) + + await log(async () => { + result = await packProject(wordpressUIDL as ProjectUIDL, { + ...packerOptions, + projectType: ProjectType.NEXT, + publishOptions: { + ...packerOptions.publishOptions, + projectSlug: 'teleport-project-wordpress-cms', + }, + }) + console.info(ProjectType.NEXT, '-', result.payload) + return 'teleport-project-wordpress-cms' + }) + + await log(async () => { + result = await packProject(strapiUIDL as ProjectUIDL, { + ...packerOptions, + projectType: ProjectType.NEXT, + publishOptions: { + ...packerOptions.publishOptions, + projectSlug: 'teleport-project-strapi-cms', + }, + }) + console.info(ProjectType.NEXT, '-', result.payload) + return 'teleport-project-strapi-cms' + }) + + await log(async () => { + result = await packProject(caisyUIDL as ProjectUIDL, { + ...packerOptions, + projectType: ProjectType.NEXT, + publishOptions: { + ...packerOptions.publishOptions, + projectSlug: 'teleport-project-caisy-cms', + }, + }) + console.info(ProjectType.NEXT, '-', result.payload) + return 'teleport-project-caisy-cms' + }) + + await log(async () => { + result = await packProject(flotiqUIDL as ProjectUIDL, { + ...packerOptions, + projectType: ProjectType.NEXT, + publishOptions: { + ...packerOptions.publishOptions, + projectSlug: 'teleport-project-flotiq-cms', + }, + }) + console.info(ProjectType.NEXT, '-', result.payload) + return 'teleport-project-flotiq-cms' + }) + } catch (e) { + console.info(e) + } +} + +run() diff --git a/packages/teleport-types/package.json b/packages/teleport-types/package.json index f228bb761..27770c810 100644 --- a/packages/teleport-types/package.json +++ b/packages/teleport-types/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-types", - "version": "0.31.0", + "version": "0.32.0", "description": "The collection of reusable types across the entire teleport ecosystem", "author": "teleportHQ", "license": "MIT", diff --git a/packages/teleport-types/src/generators.ts b/packages/teleport-types/src/generators.ts index bbc3333de..0ad3c4d23 100644 --- a/packages/teleport-types/src/generators.ts +++ b/packages/teleport-types/src/generators.ts @@ -8,6 +8,8 @@ import { UIDLDesignTokens, UIDLRootComponent, UIDLRouteDefinitions, + UIDLPageOptions, + UIDLResources, UIDLLocalFontAsset, } from './uidl' @@ -72,6 +74,7 @@ export interface ProjectPluginStructure { files: Map dependencies: Record devDependencies: Record + projectResources?: Record strategy: ProjectStrategy rootFolder: GeneratedFolder } @@ -108,6 +111,11 @@ export interface ComponentGenerator { addPostProcessor: (fn: PostProcessor) => void } +export interface ProjectResource { + fileName: string + path: string +} + export interface GeneratorOptions { localDependenciesPrefix?: string assets?: { @@ -130,9 +138,13 @@ export interface GeneratorOptions { path: string importFile?: boolean } + projectResources?: Record designLanguage?: { tokens?: UIDLDesignTokens } + resources?: { items: UIDLResources['items']; cache: UIDLResources['cache'] } & { + path: ProjectStrategy['resources']['path'] + } } export type CodeGeneratorFunction = (content: T) => string @@ -293,6 +305,9 @@ export interface ProjectStrategy { ) => { file: GeneratedFile; dependencies: Record } } } + resources?: { + path: string[] + } } export interface ConfigGeneratorResult { @@ -325,7 +340,7 @@ export interface Attribute { export interface ProjectStrategyComponentOptions { createFolderForEachComponent?: boolean - customComponentFileName?: (name?: string) => string // only used when createFolderForEachComponent is true + customComponentFileName?: (name?: string, options?: UIDLPageOptions) => string // only used when createFolderForEachComponent is true customStyleFileName?: (name?: string) => string customTemplateFileName?: (name?: string) => string } diff --git a/packages/teleport-types/src/uidl.ts b/packages/teleport-types/src/uidl.ts index f85fc7a36..12b953876 100755 --- a/packages/teleport-types/src/uidl.ts +++ b/packages/teleport-types/src/uidl.ts @@ -15,11 +15,78 @@ export interface UIDLRouteDefinitions { defaultValue: string values: UIDLStateValueDetails[] } + +export interface ContextUIDLItem { + name: string + fileName?: string +} + +export interface UIDLENVValue { + type: 'env' + content: string +} + +export interface UIDLPropValue { + type: 'dynamic' + content: { + referenceType: 'prop' + id: string + } +} + +export interface UIDLStateValue { + type: 'dynamic' + content: { + referenceType: 'state' + id: string + } +} + +export interface UIDLResourceItem { + name: string + headers?: Record + path: { + baseUrl: UIDLStaticValue | UIDLENVValue + route: UIDLStaticValue + } + method?: 'GET' | 'POST' + body?: Record + params?: Record + mappers?: string[] + response?: { + type: 'headers' | 'text' | 'json' | 'none' + } +} + +/** + * Common headers like Authorization and etc can be moved here. + * Instead of re-repeating them in every call. + * Eg: `Content-Type` + */ + +export interface UIDLResourceMapper { + params: string[] + dependency: UIDLDependency +} + +export interface UIDLResources { + resourceMappers?: Record + items?: Record + cache?: { + revalidate?: number + webhook?: { + name: string + dependency: UIDLDependency + } + } +} + export interface ProjectUIDL { name: string globals: UIDLGlobalProjectValues root: UIDLRootComponent components?: Record + resources?: UIDLResources } export interface UIDLGlobalProjectValues { @@ -31,6 +98,7 @@ export interface UIDLGlobalProjectValues { head?: string body?: string } + env?: Record meta: Array> assets: UIDLGlobalAsset[] manifest?: WebManifest @@ -119,6 +187,56 @@ export interface ComponentUIDL { } export type UIDLDesignTokens = Record + +export interface UIDLInitialPropsData { + exposeAs: { + name: string + valuePath?: string[] + itemValuePath?: string[] + } + resource: + | { + id: string + params?: Record + } + | { + name: string + dependency: UIDLExternalDependency + params?: Record + } + /* + We allow the configuration of cache strategy globally for the whole project under + uidl.resources.cache + But in the case of using a using a webhook. The cache for routes like + /blog-post/page/pageNumber can't be handled. Since the page number of the + entity changed can't be known in advance. + + This allows to set custom cache revalidation for those pages which overrides the cache that + is configured globally at uidl.resources.cache.revalidate + */ + cache?: { + revalidate: number + } +} + +export interface UIDLInitialPathsData { + exposeAs: { + name: string + valuePath?: string[] + itemValuePath?: string[] + } + resource: + | { + id: string + params?: Record + } + | { + name: string + dependency: UIDLExternalDependency + params?: Record + } +} + export interface UIDLComponentOutputOptions { componentClassName?: string // needs to be a valid class name fileName?: string // needs to be a valid file name @@ -126,20 +244,24 @@ export interface UIDLComponentOutputOptions { templateFileName?: string moduleName?: string folderPath?: string[] + pagination?: PagePaginationOptions + initialPropsData?: UIDLInitialPropsData + initialPathsData?: UIDLInitialPathsData } export interface UIDLComponentSEO { - title?: string + title?: string | UIDLStaticValue | UIDLDynamicReference metaTags?: UIDLMetaTag[] assets?: UIDLGlobalAsset[] } -export type UIDLMetaTag = Record +export type UIDLMetaTag = Record export interface UIDLPropDefinition { type: string defaultValue?: string | number | boolean | unknown[] | object | (() => void) isRequired?: boolean + id?: string meta?: { target: 'style' } @@ -156,23 +278,44 @@ export interface UIDLStateValueDetails { seo?: UIDLComponentSEO } +export interface PagePaginationOptions { + attribute: string + pageSize: number + // We're using this property in order to get the total count of items for + // a given entity. In order to get the total count, we might need to fetch at least + // one item and get the actual count from the meta that is sent together with + // the response + totalCountPath: { type: 'headers' | 'body'; path: Array } +} + export interface UIDLPageOptions { componentName?: string navLink?: string fileName?: string fallback?: boolean + pagination?: PagePaginationOptions + initialPropsData?: UIDLInitialPropsData + initialPathsData?: UIDLInitialPathsData + propDefinitions?: Record + stateDefinitions?: Record } -export type ReferenceType = 'prop' | 'state' | 'local' | 'attr' | 'children' | 'token' +export type ReferenceType = 'prop' | 'state' | 'local' | 'attr' | 'children' | 'token' | 'expr' export interface UIDLDynamicReference { type: 'dynamic' content: { referenceType: ReferenceType + refPath?: string[] id: string } } +export interface UIDLExpressionValue { + type: 'expr' + content: string +} + export interface UIDLStaticValue { type: 'static' content: string | number | boolean | unknown[] // unknown[] for data sources @@ -193,8 +336,112 @@ export interface UIDLSlotNode { type: 'slot' content: { name?: string - fallback?: UIDLElementNode | UIDLStaticValue | UIDLDynamicReference + fallback?: UIDLElementNode | UIDLStaticValue | UIDLDynamicReference | UIDLExpressionValue + } +} + +export interface UIDLCMSListNode { + type: 'cms-list' + content: UIDLCMSListNodeContent +} + +export interface UIDLCMSItemNode { + type: 'cms-item' + content: UIDLCMSItemNodeContent +} + +export interface UIDLCMSMixedTypeNode { + type: 'cms-mixed-type' + content: { + elementType: string + name: string + key: string + dependency?: UIDLDependency + attrs: Record + renderPropIdentifier: string + nodes: { + fallback?: UIDLElementNode + error?: UIDLElementNode + } + mappings?: Record + } +} + +export interface UIDLCMSListRepeaterNode { + type: 'cms-list-repeater' + content: UIDLCMSListRepeaterNodeContent +} + +/* + A cms-list node can fetch data from the remote resouce + or it can refer to a `prop` value for page list. + It can have either remote resource or prop but not both. +*/ + +export type UIDLResourceLink = UIDLLocalResource | UIDLExternalResource + +export interface UIDLLocalResource { + id: string + params?: Record +} + +export interface UIDLExternalResource { + name: string + dependency: UIDLExternalDependency + params?: Record +} + +export interface UIDLCMSListNodeContent { + elementType: string + name?: string + key: string // internal usage + attrs?: Record + dependency?: UIDLDependency + router?: UIDLDependency + nodes: { + success: UIDLElementNode + error?: UIDLElementNode + loading?: UIDLElementNode + } + renderPropIdentifier: string + valuePath?: string[] + paginationQueryParam?: UIDLStaticValue | UIDLPropValue | UIDLExpressionValue + itemValuePath?: string[] + resource?: UIDLResourceLink + initialData?: UIDLPropValue +} + +export interface UIDLCMSItemNodeContent { + elementType: string + name: string + key: string // internal usage + attrs?: Record + renderPropIdentifier: string + router?: UIDLDependency + dependency?: UIDLDependency + nodes: { + success: UIDLElementNode + error?: UIDLElementNode + loading?: UIDLElementNode } + valuePath?: string[] + itemValuePath?: string[] + resource?: UIDLResourceLink + initialData?: UIDLPropValue + entityKeyProperty?: string +} + +export interface UIDLCMSListRepeaterNodeContent { + elementType: string + name: string + key: string // internal usage + dependency?: UIDLDependency + nodes: { + list: UIDLElementNode + empty?: UIDLElementNode + } + renderPropIdentifier: string + source?: string } export interface UIDLNestedStyleDeclaration { @@ -225,6 +472,7 @@ export interface UIDLConditionalNode { content: { node: UIDLNode reference: UIDLDynamicReference + importDefinitions?: Record value?: string | number | boolean condition?: UIDLConditionalExpression } @@ -243,6 +491,11 @@ export interface UIDLElementNode { content: UIDLElement } +export interface UIDLDateTimeNode { + type: 'date-time-node' + content: UIDLElement +} + export interface UIDLElement { elementType: string semanticType?: string @@ -263,6 +516,7 @@ export interface UIDLElement { } export type UIDLNode = + | UIDLExpressionValue | UIDLDynamicReference | UIDLStaticValue | UIDLRawValue @@ -272,6 +526,11 @@ export type UIDLNode = | UIDLConditionalNode | UIDLSlotNode | UIDLImportReference + | UIDLCMSListNode + | UIDLCMSItemNode + | UIDLDateTimeNode + | UIDLCMSListRepeaterNode + | UIDLCMSMixedTypeNode export interface UIDLComponentStyleReference { type: 'comp-style' @@ -279,6 +538,7 @@ export interface UIDLComponentStyleReference { } export type UIDLAttributeValue = + | UIDLExpressionValue | UIDLDynamicReference | UIDLStaticValue | UIDLImportReference @@ -306,6 +566,11 @@ export interface UIDLURLLinkNode { } } +// for now only links will have this express +// type for dynamic content, but in the future +// all dynamic content will be handled this way +export type UIDLDynamicLinkNode = UIDLDynamicReference + export interface UIDLSectionLinkNode { type: 'section' content: { section: string } @@ -313,8 +578,11 @@ export interface UIDLSectionLinkNode { export interface UIDLNavLinkNode { type: 'navlink' - content: { routeName: string } + content: { + routeName: UIDLAttributeValue + } } + export interface UIDLMailLinkNode { type: 'mail' content: { @@ -334,6 +602,7 @@ export type UIDLLinkNode = | UIDLNavLinkNode | UIDLMailLinkNode | UIDLPhoneLinkNode + | UIDLDynamicLinkNode export interface UIDLPropCallEvent { type: 'propCall' @@ -475,6 +744,21 @@ export interface UIDLStyleSetDefinition { | 'reusable-component-style-override' conditions?: UIDLStyleSetConditions[] content: Record + /** + * A string representing the style set's root name + * e.g. for .container button > span, container would be the className + * + * For the sake of backwards compatibility, this is an optional parameter. It can be made + * mandatory in the future, but all existing UIDL will need updating. + */ + className?: string + /** + * Optional string containing all the subselectors of this style set. + * e.g. for .container button > span, ' button > span' will be the subselector. + * + * Attention! Subselectors do not have a starting space by default. + */ + subselectors?: string } export type UIDLStyleSheetContent = UIDLStaticValue | UIDLStyleSetTokenReference diff --git a/packages/teleport-types/src/vuidl.ts b/packages/teleport-types/src/vuidl.ts index 118cd4898..4bac50b06 100644 --- a/packages/teleport-types/src/vuidl.ts +++ b/packages/teleport-types/src/vuidl.ts @@ -35,16 +35,102 @@ import { UIDLCanonicalAsset, UIDLIconAsset, UIDLRootComponent, + UIDLCMSItemNode, + UIDLCMSListNode, + UIDLCMSListRepeaterNode, + UIDLDynamicLinkNode, + UIDLPropValue, + UIDLExpressionValue, + UIDLDateTimeNode, + UIDLLocalResource, + UIDLExternalResource, UIDLInjectValue, UIDLStateValueDetails, UIDLRouteDefinitions, UIDLStateDefinition, + UIDLCMSMixedTypeNode, + UIDLDependency, UIDLLocalFontAsset, } from './uidl' import { Modify } from './helper' export interface VUIDLElementNode extends Modify {} +export interface VUIDLDateTimeNode extends Modify {} + +export interface VCMSItemUIDLElementNode + extends Modify< + UIDLCMSItemNode, + { + content: { + name?: string + nodes: { + success: VUIDLElementNode + error?: VUIDLElementNode + loading?: VUIDLElementNode + } + valuePath?: string[] + itemValuePath?: string[] + resource?: UIDLLocalResource | UIDLExternalResource + initialData?: UIDLPropValue + } + } + > {} + +export interface VCMSListRepeaterElementNode + extends Modify< + UIDLCMSListRepeaterNode, + { + content: { + nodes: { + list: VUIDLElementNode + empty?: VUIDLElementNode + } + } + } + > {} + +export interface VCMSListUIDLElementNode + extends Modify< + UIDLCMSListNode, + { + content: { + elementType: string + name?: string + dependency?: UIDLDependency + nodes: { + key?: string + success: VUIDLElementNode + error?: VUIDLElementNode + loading?: VUIDLElementNode + } + valuePath?: string[] + itemValuePath?: string[] + resource?: UIDLLocalResource | UIDLExternalResource + initialData?: UIDLPropValue + } + } + > {} + +export interface VUIDLCMSMixedTypeNode + extends Modify< + UIDLCMSMixedTypeNode, + { + content: { + elementType: string + name: string + nodes: { + fallback?: VUIDLElementNode + error?: VUIDLElementNode + } + renderPropIdentifier: string + dependency?: UIDLDependency + attrs: VUIDLElement['attrs'] + mappings: Record + } + } + > {} + export type VUIDLConditionalNode = Modify< UIDLConditionalNode, { @@ -72,19 +158,31 @@ export type VUIDLNode = | UIDLDynamicReference | UIDLStaticValue | UIDLRawValue + | VUIDLDateTimeNode | VUIDLElementNode | VUIDLRepeatNode | VUIDLConditionalNode | VUIDLSlotNode + | VCMSItemUIDLElementNode + | VCMSListUIDLElementNode + | VCMSListRepeaterElementNode + | VUIDLCMSMixedTypeNode + | UIDLExpressionValue | UIDLInjectValue | string export type VUIDLElement = Modify< UIDLElement, { + elementType: string + semanticType?: string + selfClosing?: boolean + ignore?: boolean abilities?: { link?: VUIDLLinkNode } + events: UIDLElement['events'] + dependency?: UIDLDependency children?: VUIDLNode[] style?: Record attrs?: Record @@ -196,6 +294,17 @@ export type VUIDLURLLinkNode = Modify< } > +export type VUIDLNavLinkNode = Modify< + UIDLNavLinkNode, + { + content: { + routeName: string | UIDLAttributeValue + } + } +> + +export type VUIDLDynamicLinkNode = UIDLDynamicLinkNode + export type VUIDLStyleSetMediaCondition = Modify< UIDLStyleSetMediaCondition, { @@ -215,9 +324,10 @@ export type VUIDLStyleSetConditions = VUIDLStyleSetMediaCondition | VUIDLStyleSe export type VUIDLLinkNode = | VUIDLURLLinkNode | VUIDLSectionLinkNode - | UIDLNavLinkNode + | VUIDLNavLinkNode | UIDLMailLinkNode | UIDLPhoneLinkNode + | VUIDLDynamicLinkNode export type VUIDLGlobalAsset = | UIDLScriptAsset diff --git a/packages/teleport-uidl-builders/package.json b/packages/teleport-uidl-builders/package.json index 1ece3f5dd..574f1a30d 100644 --- a/packages/teleport-uidl-builders/package.json +++ b/packages/teleport-uidl-builders/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-uidl-builders", - "version": "0.31.0", + "version": "0.32.0", "description": "A set of functions used for constructing UIDL structures", "author": "teleportHQ", "license": "MIT", @@ -24,7 +24,7 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-uidl-builders/src/component-builders.ts b/packages/teleport-uidl-builders/src/component-builders.ts index e8fda716e..8b4b87ec1 100644 --- a/packages/teleport-uidl-builders/src/component-builders.ts +++ b/packages/teleport-uidl-builders/src/component-builders.ts @@ -160,7 +160,7 @@ export const conditionalNode = ( export const repeatNode = ( node: UIDLElementNode, - dataSource: UIDLAttributeValue, + dataSource: UIDLDynamicReference | UIDLStaticValue | UIDLRawValue, meta?: Record ): UIDLRepeatNode => { return { diff --git a/packages/teleport-uidl-resolver/__tests__/abilities/mocks.ts b/packages/teleport-uidl-resolver/__tests__/abilities/mocks.ts index cbd9cb2d3..6ca9a8fae 100644 --- a/packages/teleport-uidl-resolver/__tests__/abilities/mocks.ts +++ b/packages/teleport-uidl-resolver/__tests__/abilities/mocks.ts @@ -18,7 +18,10 @@ export const urlMockedDefinition = (openInNewTab: boolean = false): UIDLURLLinkN export const navlinkMockedDefinition = (): UIDLNavLinkNode => ({ type: 'navlink', content: { - routeName: 'home', + routeName: { + type: 'static', + content: 'home', + }, }, }) diff --git a/packages/teleport-uidl-resolver/__tests__/abilities/utils.ts b/packages/teleport-uidl-resolver/__tests__/abilities/utils.ts index e27dff781..fb79ddbdc 100644 --- a/packages/teleport-uidl-resolver/__tests__/abilities/utils.ts +++ b/packages/teleport-uidl-resolver/__tests__/abilities/utils.ts @@ -56,7 +56,7 @@ describe('insertLink', () => { expect(secondChildAfterInsertLinks.content.elementType).toBe('navlink') expect(secondChildAfterInsertLinks.content.attrs.transitionTo.content).toBe( - `/${navlink.content.routeName}` + `/${navlink.content.routeName.content}` ) }) diff --git a/packages/teleport-uidl-resolver/package.json b/packages/teleport-uidl-resolver/package.json index fc4d0de30..42d356ec2 100644 --- a/packages/teleport-uidl-resolver/package.json +++ b/packages/teleport-uidl-resolver/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-uidl-resolver", - "version": "0.31.3", + "version": "0.32.0", "description": "A small package that handles the transition from UIDL to HTML elements and has support for custom mappings.", "author": "teleportHQ", "license": "MIT", @@ -24,9 +24,9 @@ "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs" }, "dependencies": { - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0", - "@teleporthq/teleport-uidl-builders": "^0.31.0", + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0", + "@teleporthq/teleport-uidl-builders": "^0.32.0", "deepmerge": "^4.0.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" diff --git a/packages/teleport-uidl-resolver/src/html-mapping.ts b/packages/teleport-uidl-resolver/src/html-mapping.ts index 198c30fee..dfa84cfac 100644 --- a/packages/teleport-uidl-resolver/src/html-mapping.ts +++ b/packages/teleport-uidl-resolver/src/html-mapping.ts @@ -33,6 +33,15 @@ export const HTMLMapping: Mapping = { }, }, }, + 'date-time-node': { + elementType: 'date-time-primitive', + dependency: { + type: 'package', + version: 'github:teleporthq/date-time-primitive', + path: '@teleporthq/date-time-primitive', + meta: { importJustPath: true }, + }, + }, 'lottie-node': { elementType: 'lottie-player', dependency: { diff --git a/packages/teleport-uidl-resolver/src/resolver.ts b/packages/teleport-uidl-resolver/src/resolver.ts index 6c54ff26a..8c917a110 100644 --- a/packages/teleport-uidl-resolver/src/resolver.ts +++ b/packages/teleport-uidl-resolver/src/resolver.ts @@ -61,6 +61,7 @@ export default class Resolver { const nodesLookup = {} utils.createNodesLookup(uidl.node, nodesLookup) + utils.createCMSNodesLookup(uidl.node, nodesLookup) utils.generateUniqueKeys(uidl.node, nodesLookup) utils.ensureDataSourceUniqueness(uidl.node) diff --git a/packages/teleport-uidl-resolver/src/resolvers/abilities/utils.ts b/packages/teleport-uidl-resolver/src/resolvers/abilities/utils.ts index 78cd68efa..9147bc527 100644 --- a/packages/teleport-uidl-resolver/src/resolvers/abilities/utils.ts +++ b/packages/teleport-uidl-resolver/src/resolvers/abilities/utils.ts @@ -34,6 +34,75 @@ export const insertLinks = ( child.content.fallback = insertLinks(child.content.fallback, options, linkInNode, node) } + if (child.type === 'cms-list') { + const { + nodes: { success, error, loading }, + } = child.content + + if (success) { + insertLinks(success, options, false, node) + } + + if (error) { + insertLinks(error, options, false, node) + } + + if (loading) { + insertLinks(loading, options, false, node) + } + } + + if (child.type === 'cms-list-repeater') { + const { + nodes: { list, empty }, + } = child.content + + if (list) { + insertLinks(list, options, false, node) + } + + if (empty) { + insertLinks(empty, options, false, node) + } + } + + if (child.type === 'cms-mixed-type') { + if (child.content.mappings) { + Object.values(child.content.mappings).forEach((mapping) => { + insertLinks(mapping, options, false, node) + }) + } + + const { + nodes: { fallback, error }, + } = child.content + if (fallback) { + insertLinks(fallback, options, false, node) + } + + if (error) { + insertLinks(error, options, false, node) + } + } + + if (child.type === 'cms-item') { + const { + nodes: { success, error, loading }, + } = child.content + + if (success) { + insertLinks(success, options, false, node) + } + + if (error) { + insertLinks(error, options, false, node) + } + + if (loading) { + insertLinks(loading, options, false, node) + } + } + return child }) @@ -101,7 +170,12 @@ export const createLinkNode = (link: UIDLLinkNode, options: GeneratorOptions): U } const getLinkElementType = (link: UIDLLinkNode): string => { - return link.type === 'navlink' ? 'navlink' : 'link' + // for now I'm making all dynamic links local. + // Maybe navlinks could have a dynamic reference, + // not just a staic on in the future, but for now + // (for the CMS demo) the navlink was too robust + // to change + return link.type === 'navlink' || link.type === 'dynamic' ? 'navlink' : 'link' } const createLinkAttributes = ( @@ -136,12 +210,14 @@ const createLinkAttributes = ( } } + case 'dynamic': + return { + transitionTo: link, + } + case 'navlink': { return { - transitionTo: { - type: 'static', - content: resolveNavlink(link.content.routeName, options), - }, + transitionTo: resolveNavlink(link.content.routeName, options), } } @@ -169,32 +245,51 @@ const createLinkAttributes = ( } } -const resolveNavlink = (routeName: string, options: GeneratorOptions) => { +const resolveNavlink = ( + route: UIDLAttributeValue, + options: GeneratorOptions +): UIDLAttributeValue => { if (options.skipNavlinkResolver) { - return routeName + return route + } + + const { type, content: routeName } = route + + if (type !== 'static') { + return route } - if (routeName.startsWith('/')) { + if (routeName.toString().startsWith('/')) { // attribute was explicitly set as a custom navlink - return routeName + return route } const friendlyURL = StringUtils.camelCaseToDashCase( - StringUtils.removeIllegalCharacters(routeName) + StringUtils.removeIllegalCharacters(routeName.toString()) ) const transitionRoute = options.projectRouteDefinition - ? options.projectRouteDefinition.values.find((route) => route.value === routeName) + ? options.projectRouteDefinition.values.find((routeItem) => routeItem.value === routeName) : null if (!transitionRoute) { - return `/${friendlyURL}` + return { + type: 'static', + content: `/${friendlyURL}`, + } } if (transitionRoute?.pageOptions?.navLink === '/') { - return transitionRoute.pageOptions.navLink + return { + type: 'static', + content: transitionRoute.pageOptions.navLink, + } } const { pageOptions } = transitionRoute - return pageOptions.navLink ?? `/${friendlyURL}` + + return { + type: 'static', + content: pageOptions.navLink ?? `/${friendlyURL}`, + } } diff --git a/packages/teleport-uidl-resolver/src/utils.ts b/packages/teleport-uidl-resolver/src/utils.ts index 9ed02153c..1d97037ec 100644 --- a/packages/teleport-uidl-resolver/src/utils.ts +++ b/packages/teleport-uidl-resolver/src/utils.ts @@ -13,6 +13,7 @@ import { UIDLStyleSetTokenReference, UIDLStaticValue, UIDLDynamicReference, + UIDLConditionalNode, } from '@teleporthq/teleport-types' import deepmerge from 'deepmerge' @@ -55,7 +56,7 @@ export const resolveMetaTags = (uidl: ComponentUIDL, options: GeneratorOptions) uidl.seo.metaTags.forEach((tag) => { Object.keys(tag).forEach((key) => { - tag[key] = UIDLUtils.prefixAssetsPath(tag[key], options.assets) + tag[key] = UIDLUtils.prefixAssetsPath(tag[key] as string, options.assets) }) }) } @@ -80,9 +81,43 @@ export const resolveNode = (uidlNode: UIDLNode, options: GeneratorOptions) => { if (node.type === 'repeat') { resolveRepeat(node.content, parentNode) } + + if (node.type === 'conditional') { + resolveConditional(node, options) + } + + if (node.type === 'cms-list-repeater' || node.type === 'cms-list' || node.type === 'cms-item') { + const { + mapping: { elements: elementsMapping }, + } = options + const element: UIDLElement = node.content + const mappedElement = elementsMapping[element.elementType] || { + elementType: element.semanticType ?? element.elementType, + } + + node.content.elementType = mappedElement.elementType + node.content.name = node.content?.name || node.type + + if (element.dependency || mappedElement.dependency) { + node.content.dependency = resolveDependency( + mappedElement, + element.dependency, + options.localDependenciesPrefix + ) + } + } }) } +export const resolveConditional = (condNode: UIDLConditionalNode, options: GeneratorOptions) => { + if (condNode.content?.node) { + const { type, content } = condNode.content.node + if (type === 'element') { + resolveElement(content, options) + } + } +} + export const resolveElement = (element: UIDLElement, options: GeneratorOptions) => { const { mapping, localDependenciesPrefix } = options const { @@ -260,6 +295,25 @@ const resolveRepeat = (repeatContent: UIDLRepeatContent, parentNode: UIDLNode) = // container, container1, container2, etc. OR // container, container01, container02, ... container10, container11,... in case the number is higher export const generateUniqueKeys = (node: UIDLNode, lookup: ElementsLookup) => { + UIDLUtils.traverseNodes(node, (child) => { + if ( + child.type !== 'cms-item' && + child.type !== 'cms-list' && + child.type !== 'cms-list-repeater' + ) { + return + } + + const nodeOcurrence = lookup[child.content.name.toLowerCase()] + if (nodeOcurrence.count === 1) { + child.content.key = child.content.name + } else { + const currentKey = nodeOcurrence.nextKey + child.content.key = generateKey(child.content.name, currentKey) + nodeOcurrence.nextKey = generateNextIncrementalKey(currentKey) + } + }) + UIDLUtils.traverseElements(node, (element) => { // If a certain node name (ex: "container") is present multiple times in the component, it will be counted here // NextKey will be appended to the node name to ensure uniqueness inside the component @@ -313,6 +367,37 @@ export const createNodesLookup = (node: UIDLNode, lookup: ElementsLookup) => { }) } +export const createCMSNodesLookup = (node: UIDLNode, lookup: ElementsLookup) => { + UIDLUtils.traverseNodes(node, (child) => { + if ( + child.type !== 'cms-item' && + child.type !== 'cms-list' && + child.type !== 'cms-list-repeater' + ) { + return + } + const nodeName = child.content.name.toLowerCase() + nodeAndElementLookup(nodeName, lookup) + }) +} + +const nodeAndElementLookup = (elementName: string, lookup: ElementsLookup) => { + if (!lookup[elementName]) { + lookup[elementName] = { + count: 0, + nextKey: '0', + } + } + + lookup[elementName].count++ + const newCount = lookup[elementName].count + if (newCount > 9 && isPowerOfTen(newCount)) { + // Add a '0' each time we pass a power of ten: 10, 100, 1000, etc. + // nextKey will start either from: '0', '00', '000', etc. + lookup[elementName].nextKey = '0' + lookup[elementName].nextKey + } +} + const isPowerOfTen = (value: number) => { while (value > 9 && value % 10 === 0) { value /= 10 @@ -324,7 +409,11 @@ const isPowerOfTen = (value: number) => { export const ensureDataSourceUniqueness = (node: UIDLNode) => { let index = 0 - UIDLUtils.traverseRepeats(node, (repeat) => { + UIDLUtils.traverseRepeats(node, (repeat: UIDLRepeatContent) => { + if (!repeat.dataSource?.type) { + return + } + if (repeat.dataSource.type === 'static' && !customDataSourceIdentifierExists(repeat)) { repeat.meta = repeat.meta || {} repeat.meta.dataSourceIdentifier = index === 0 ? 'items' : `items${index}` @@ -468,7 +557,6 @@ const resolveAttributes = ( ) => { // We gather the results here uniting the mapped attributes and the uidl attributes. const resolvedAttrs: Record = {} - // This will gather all the attributes from the UIDL which are mapped using the elements-mapping // These attributes will not be added on the tag as they are, but using the elements-mapping // Such an example is the url attribute on the Link tag, which needs to be mapped in the case of html to href @@ -553,21 +641,17 @@ export const checkForIllegalNames = (uidl: ComponentUIDL, mapping: Mapping) => { uidl.outputOptions.componentClassName = `App${uidl.outputOptions.componentClassName}` } - if (uidl.propDefinitions) { - Object.keys(uidl.propDefinitions).forEach((prop) => { - if (illegalPropNames.includes(prop)) { - throw new Error(`Illegal prop key '${prop}'`) - } - }) - } + Object.keys(uidl.propDefinitions || {}).forEach((prop) => { + if (illegalPropNames.includes(prop)) { + throw new Error(`Illegal prop key '${prop}'`) + } + }) - if (uidl.stateDefinitions) { - Object.keys(uidl.stateDefinitions).forEach((state) => { - if (illegalPropNames.includes(state)) { - throw new Error(`Illegal state key '${state}'`) - } - }) - } + Object.keys(uidl.stateDefinitions || {}).forEach((state) => { + if (illegalPropNames.includes(state)) { + throw new Error(`Illegal state key '${state}'`) + } + }) } export const checkForDefaultPropsContainingAssets = ( diff --git a/packages/teleport-uidl-validator/__tests__/validator/project-sample.json b/packages/teleport-uidl-validator/__tests__/validator/project-sample.json index 42bd7b401..f3bf85314 100644 --- a/packages/teleport-uidl-validator/__tests__/validator/project-sample.json +++ b/packages/teleport-uidl-validator/__tests__/validator/project-sample.json @@ -138,7 +138,8 @@ } } } - },{ + }, + { "type": "conditional", "content": { "node": { @@ -331,7 +332,11 @@ "attrs": { "items": { "type": "static", - "content": ["angular", "react", "vue"] + "content": [ + "angular", + "react", + "vue" + ] } } } @@ -367,10 +372,12 @@ "type": "element", "content": { "elementType": "text", - "children": [{ - "type": "static", - "content": "Now you see me!" - }] + "children": [ + { + "type": "static", + "content": "Now you see me!" + } + ] } } } @@ -385,22 +392,24 @@ "content": true } }, - "children": [{ - "type": "element", - "content": { - "elementType": "source", - "attrs": { - "type": { - "type": "static", - "content": "video/mp4" - }, - "url": { - "type": "static", - "content": "https://www.quirksmode.org/html5/videos/big_buck_bunny.mp4" + "children": [ + { + "type": "element", + "content": { + "elementType": "source", + "attrs": { + "type": { + "type": "static", + "content": "video/mp4" + }, + "url": { + "type": "static", + "content": "https://www.quirksmode.org/html5/videos/big_buck_bunny.mp4" + } } } } - }] + ] } }, { @@ -466,52 +475,57 @@ "type": "element", "content": { "elementType": "text", - "children": [{ - "type": "dynamic", - "content": { - "referenceType": "prop", - "id": "title" + "children": [ + { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "title" + } } - }] + ] } }, { "type": "element", "content": { "elementType": "button", - "children": [{ - "type": "conditional", - "content": { - "node": { - "type": "static", - "content": "Hide me" - }, - "value": true, - "reference": { - "type": "dynamic", - "content": { - "referenceType": "state", - "id": "isExpanded" + "children": [ + { + "type": "conditional", + "content": { + "node": { + "type": "static", + "content": "Hide me" + }, + "value": true, + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "isExpanded" + } } } - } - },{ - "type": "conditional", - "content": { - "node": { - "type": "static", - "content": "Show me" - }, - "value": false, - "reference": { - "type": "dynamic", - "content": { - "referenceType": "state", - "id": "isExpanded" + }, + { + "type": "conditional", + "content": { + "node": { + "type": "static", + "content": "Show me" + }, + "value": false, + "reference": { + "type": "dynamic", + "content": { + "referenceType": "state", + "id": "isExpanded" + } } } } - }], + ], "events": { "click": [ { @@ -530,13 +544,15 @@ "type": "element", "content": { "elementType": "text", - "children": [{ - "type": "dynamic", - "content": { - "referenceType": "prop", - "id": "text" + "children": [ + { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "text" + } } - }] + ] } }, "value": true, @@ -571,16 +587,20 @@ "content": { "elementType": "button", "name": "openmodal", - "children": [{ - "type": "static", - "content": "Show Popup" - }], + "children": [ + { + "type": "static", + "content": "Show Popup" + } + ], "events": { - "click": [{ - "type": "stateChange", - "modifies": "isOpen", - "newState": true - }] + "click": [ + { + "type": "stateChange", + "modifies": "isOpen", + "newState": true + } + ] } } }, @@ -597,11 +617,13 @@ "type": "local" }, "events": { - "onClose": [{ - "type": "stateChange", - "modifies": "isOpen", - "newState": false - }] + "onClose": [ + { + "type": "stateChange", + "modifies": "isOpen", + "newState": false + } + ] } } }, @@ -641,35 +663,43 @@ "type": "element", "content": { "elementType": "container", - "children": [{ - "type": "dynamic", - "content": { - "referenceType": "prop", - "id": "message" - } - },{ - "type": "element", - "content": { - "elementType": "button", - "name": "close", - "children": [{ - "type": "static", - "content": "Close me" - }], - "events": { - "click": [{ - "type": "propCall", - "calls": "onClose" - },{ - "type": "stateChange", - "modifies": "fakeState", - "newState": false - }] + "children": [ + { + "type": "dynamic", + "content": { + "referenceType": "prop", + "id": "message" + } + }, + { + "type": "element", + "content": { + "elementType": "button", + "name": "close", + "children": [ + { + "type": "static", + "content": "Close me" + } + ], + "events": { + "click": [ + { + "type": "propCall", + "calls": "onClose" + }, + { + "type": "stateChange", + "modifies": "fakeState", + "newState": false + } + ] + } } } - }] + ] } } } } -} \ No newline at end of file +} diff --git a/packages/teleport-uidl-validator/package.json b/packages/teleport-uidl-validator/package.json index 935568981..65f39f158 100644 --- a/packages/teleport-uidl-validator/package.json +++ b/packages/teleport-uidl-validator/package.json @@ -1,6 +1,6 @@ { "name": "@teleporthq/teleport-uidl-validator", - "version": "0.31.3", + "version": "0.32.0", "description": "A module that offers validation and parsing for non-standard UIDL structures", "author": "teleportHQ", "license": "MIT", @@ -25,8 +25,8 @@ }, "dependencies": { "@mojotech/json-type-validation": "^3.1.0", - "@teleporthq/teleport-shared": "^0.31.3", - "@teleporthq/teleport-types": "^0.31.0" + "@teleporthq/teleport-shared": "^0.32.0", + "@teleporthq/teleport-types": "^0.32.0" }, "gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0" } diff --git a/packages/teleport-uidl-validator/src/decoders/custom-combinators.ts b/packages/teleport-uidl-validator/src/decoders/custom-combinators.ts index 9492b5370..13d7175cf 100644 --- a/packages/teleport-uidl-validator/src/decoders/custom-combinators.ts +++ b/packages/teleport-uidl-validator/src/decoders/custom-combinators.ts @@ -33,7 +33,7 @@ export class CustomCombinators { return Result.ok(link) } - const navLinkRegex = new RegExp('/[a-zA-Z0-9-_]*$') + const navLinkRegex = new RegExp('/(?:[a-zA-Z0-9-_]+|/[[a-zA-Z]+]|[/[a-zA-Z]+])*') if (navLinkRegex.test(link)) { return Result.ok(link) } @@ -44,7 +44,7 @@ export class CustomCombinators { static isValidFileName(): CustomCombinators { return new CustomCombinators((json: string) => { - const fileNameRegex = new RegExp('^[a-zA-Z0-9-_.]*$') + const fileNameRegex = new RegExp('^[[a-zA-Z0-9-_.]+]*$') if (json && typeof json === 'string' && fileNameRegex.test(json)) { return Result.ok(json) } else if (json.length === 0) { diff --git a/packages/teleport-uidl-validator/src/decoders/project-decoder.ts b/packages/teleport-uidl-validator/src/decoders/project-decoder.ts index f9545e847..c40b39e5a 100644 --- a/packages/teleport-uidl-validator/src/decoders/project-decoder.ts +++ b/packages/teleport-uidl-validator/src/decoders/project-decoder.ts @@ -1,6 +1,26 @@ -import { Decoder, object, optional, string, dict, array } from '@mojotech/json-type-validation' -import { VUIDLGlobalProjectValues, WebManifest, VProjectUIDL } from '@teleporthq/teleport-types' -import { globalAssetsDecoder } from './utils' +import { + Decoder, + object, + optional, + string, + dict, + array, + lazy, + withDefault, + number, +} from '@mojotech/json-type-validation' +import { + VUIDLGlobalProjectValues, + WebManifest, + VProjectUIDL, + UIDLResources, +} from '@teleporthq/teleport-types' +import { + globalAssetsDecoder, + resourceItemDecoder, + resourceMapperDecoder, + dependencyDecoder, +} from './utils' import { componentUIDLDecoder, rootComponentUIDLDecoder } from './component-decoder' export const webManifestDecoder: Decoder = object({ @@ -26,15 +46,37 @@ export const globalProjectValuesDecoder: Decoder = obj body: optional(string()), }) ), + env: optional(dict(string())), meta: array(dict(string())), assets: array(globalAssetsDecoder), manifest: optional(webManifestDecoder), variables: optional(dict(string())), }) +export const resourcesDecoder: Decoder = object({ + resourceMappers: optional(dict(lazy(() => resourceMapperDecoder))), + items: optional(dict(lazy(() => resourceItemDecoder))), + cache: withDefault( + { + revalidate: 60, + webhook: null, + }, + object({ + revalidate: optional(number()), + webhook: optional( + object({ + name: string(), + dependency: lazy(() => dependencyDecoder), + }) + ), + }) + ), +}) + export const projectUIDLDecoder: Decoder = object({ name: string(), globals: globalProjectValuesDecoder, root: rootComponentUIDLDecoder, components: optional(dict(componentUIDLDecoder)), + resources: optional(resourcesDecoder), }) diff --git a/packages/teleport-uidl-validator/src/decoders/utils.ts b/packages/teleport-uidl-validator/src/decoders/utils.ts index 53fd7196e..f7394eb42 100644 --- a/packages/teleport-uidl-validator/src/decoders/utils.ts +++ b/packages/teleport-uidl-validator/src/decoders/utils.ts @@ -13,6 +13,7 @@ import { oneOf, intersection, withDefault, + anyJson, } from '@mojotech/json-type-validation' import { UIDLStaticValue, @@ -27,7 +28,6 @@ import { UIDLStyleValue, UIDLAttributeValue, UIDLEventHandlerStatement, - UIDLNavLinkNode, UIDLMailLinkNode, UIDLPhoneLinkNode, UIDLRawValue, @@ -71,8 +71,27 @@ import { VUIDLElementNodeClassReferencedStyle, UIDLCompDynamicReference, UIDLComponentStyleReference, + PagePaginationOptions, + VCMSItemUIDLElementNode, + VCMSListUIDLElementNode, + UIDLInitialPathsData, + UIDLInitialPropsData, + UIDLExpressionValue, + UIDLDynamicLinkNode, + UIDLENVValue, + UIDLPropValue, + UIDLResourceItem, + VUIDLNavLinkNode, + VUIDLDateTimeNode, + UIDLStateValue, + UIDLResourceLink, + UIDLLocalResource, + UIDLExternalResource, + VCMSListRepeaterElementNode, + UIDLResourceMapper, UIDLInjectValue, VUIDLStateValueDetails, + VUIDLCMSMixedTypeNode, UIDLLocalFontAsset, } from '@teleporthq/teleport-types' import { CustomCombinators } from './custom-combinators' @@ -86,17 +105,24 @@ export const referenceTypeDecoder: Decoder = union( constant('local'), constant('attr'), constant('children'), - constant('token') + constant('token'), + constant('expr') ) export const dynamicValueDecoder: Decoder = object({ type: constant('dynamic'), content: object({ referenceType: referenceTypeDecoder, + refPath: optional(array(string())), id: string(), }), }) +export const expressionValueDecoder: Decoder = object({ + type: constant('expr'), + content: string(), +}) + export const staticValueDecoder: Decoder = object({ type: constant('static'), content: union(string(), number(), boolean(), array()), @@ -107,6 +133,96 @@ export const rawValueDecoder: Decoder = object({ content: string(), }) +export const envValueDecoder: Decoder = object({ + type: constant('env'), + content: string(), +}) + +export const dyamicFunctionParam: Decoder = object({ + type: constant('dynamic'), + content: object({ + referenceType: constant('prop'), + id: string(), + }), +}) + +export const dyamicFunctionStateParam: Decoder = object({ + type: constant('dynamic'), + content: object({ + referenceType: constant('state'), + id: string(), + }), +}) + +export const resourceItemDecoder: Decoder = object({ + name: string(), + headers: optional(dict(union(staticValueDecoder, envValueDecoder))), + path: object({ + baseUrl: union(staticValueDecoder, envValueDecoder), + route: staticValueDecoder, + }), + method: withDefault('GET', union(constant('GET'), constant('POST'))), + body: optional(dict(staticValueDecoder)), + mappers: withDefault([], array(string())), + params: optional( + dict( + union( + staticValueDecoder, + dyamicFunctionParam, + dyamicFunctionStateParam, + expressionValueDecoder + ) + ) + ), + response: optional( + object({ + type: withDefault( + 'json', + union(constant('json'), constant('headers'), constant('text'), constant('none')) + ), + }) + ), +}) + +export const initialPropsDecoder: Decoder = object({ + exposeAs: object({ + name: string(), + valuePath: optional(array(string())), + itemValuePath: optional(array(string())), + }), + resource: union( + object({ + id: string(), + params: optional(dict(union(staticValueDecoder, expressionValueDecoder))), + }), + object({ + name: string(), + dependency: lazy(() => externaldependencyDecoder), + params: optional(dict(union(staticValueDecoder, expressionValueDecoder))), + }) + ), + cache: optional(object({ revalidate: number() })), +}) + +export const initialPathsDecoder: Decoder = object({ + exposeAs: object({ + name: string(), + valuePath: optional(array(string())), + itemValuePath: optional(array(string())), + }), + resource: union( + object({ + id: string(), + params: optional(dict(union(staticValueDecoder, expressionValueDecoder))), + }), + object({ + name: string(), + dependency: lazy(() => externaldependencyDecoder), + params: optional(dict(union(staticValueDecoder, expressionValueDecoder))), + }) + ), +}) + export const injectValueDecoder: Decoder = object({ type: constant('inject'), content: string(), @@ -167,6 +283,8 @@ export const styleSetDefinitionDecoder: Decoder = object ), conditions: optional(array(projectStyleConditionsDecoder)), content: dict(union(staticValueDecoder, string(), number(), tokenReferenceDecoder)), + className: optional(string()), + subselectors: optional(string()), }) // TODO: Implement decoder for () => void @@ -178,13 +296,6 @@ export const stateOrPropDefinitionDecoder = union( object() ) -export const pageOptionsDecoder: Decoder = object({ - componentName: optional(isValidComponentName() as unknown as Decoder), - navLink: optional(isValidNavLink() as unknown as Decoder), - fileName: optional(isValidFileName() as unknown as Decoder), - fallback: optional(boolean()), -}) - export const globalAssetsDecoder: Decoder = union( lazy(() => inlineScriptAssetDecoder), lazy(() => externalScriptAssetDecoder), @@ -262,14 +373,14 @@ export const iconAssetDecoder: Decoder = object({ }) export const componentSeoDecoder: Decoder = object({ - title: optional(string()), - metaTags: optional(array(dict(string()))), + title: optional(union(string(), staticValueDecoder, dynamicValueDecoder)), + metaTags: optional(array(dict(union(string(), staticValueDecoder, dynamicValueDecoder)))), assets: optional(array(globalAssetsDecoder)), }) export const stateValueDetailsDecoder: Decoder = object({ value: union(string(), number(), boolean()), - pageOptions: optional(pageOptionsDecoder), + pageOptions: optional(lazy(() => pageOptionsDecoder)), seo: optional(componentSeoDecoder), }) @@ -285,6 +396,16 @@ export const propDefinitionsDecoder: Decoder = object({ ), defaultValue: optional(stateOrPropDefinitionDecoder), isRequired: optional(boolean()), + id: optional(string()), +}) + +export const pageOptionsPaginationDecoder: Decoder = object({ + attribute: string(), + pageSize: number(), + totalCountPath: object({ + type: union(constant('headers'), constant('body')), + path: array(union(string(), number())), + }), }) export const stateDefinitionsDecoder: Decoder = object({ @@ -300,6 +421,18 @@ export const stateDefinitionsDecoder: Decoder = object({ defaultValue: stateOrPropDefinitionDecoder, }) +export const pageOptionsDecoder: Decoder = object({ + componentName: optional(isValidComponentName() as unknown as Decoder), + navLink: optional(isValidNavLink() as unknown as Decoder), + fileName: optional(isValidFileName() as unknown as Decoder), + fallback: optional(boolean()), + pagination: optional(pageOptionsPaginationDecoder), + initialPropsData: optional(initialPropsDecoder), + initialPathsData: optional(initialPathsDecoder), + propDefinitions: optional(dict(propDefinitionsDecoder)), + stateDefinitions: optional(dict(stateDefinitionsDecoder)), +}) + export const outputOptionsDecoder: Decoder = object({ componentClassName: optional(isValidComponentName() as unknown as Decoder), fileName: optional(isValidFileName() as unknown as Decoder), @@ -339,6 +472,7 @@ export const localDependencyDecoder: Decoder = object({ namedImport: optional(boolean()), originalName: optional(string()), importJustPath: optional(boolean()), + importAlias: optional(string()), }) ), }) @@ -348,6 +482,11 @@ export const dependencyDecoder: Decoder = union( externaldependencyDecoder ) +export const resourceMapperDecoder: Decoder = object({ + params: array(string()), + dependency: dependencyDecoder, +}) + export const importReferenceDecoder: Decoder = object({ type: constant('import'), content: object({ @@ -358,6 +497,7 @@ export const importReferenceDecoder: Decoder = object({ export const attributeValueDecoder: Decoder = union( dynamicValueDecoder, staticValueDecoder, + lazy(() => expressionValueDecoder), importReferenceDecoder, rawValueDecoder, lazy(() => uidlComponentStyleReference) @@ -400,15 +540,24 @@ export const urlLinkNodeDecoder: Decoder = object({ }), }) +export const dynamicLinkDecoder: Decoder = object({ + type: constant('dynamic'), + content: object({ + referenceType: referenceTypeDecoder, + path: optional(array(string())), + id: string(), + }), +}) + export const sectionLinkNodeDecoder: Decoder = object({ type: constant('section'), content: dict(string()), }) -export const navLinkNodeDecoder: Decoder = object({ +export const navLinkNodeDecoder: Decoder = object({ type: constant('navlink'), content: object({ - routeName: string(), + routeName: union(attributeValueDecoder, string()), }), }) @@ -433,7 +582,8 @@ export const uidlLinkNodeDecoder: Decoder = union( sectionLinkNodeDecoder, navLinkNodeDecoder, uidlMailLinkNodeDecoder, - phoneLinkNodeDecoder + phoneLinkNodeDecoder, + dynamicLinkDecoder ) export const elementStateDecoder: Decoder = oneOf( @@ -516,10 +666,10 @@ export const elementDecoder: Decoder = object({ dependency: optional(dependencyDecoder), style: optional(dict(union(attributeValueDecoder, string(), number()))), attrs: optional(dict(union(attributeValueDecoder, string(), number()))), - events: optional(dict(array(eventHandlerStatementDecoder))), + events: withDefault({}, dict(array(eventHandlerStatementDecoder))), abilities: optional( object({ - link: optional(uidlLinkNodeDecoder), + link: optional(anyJson()), }) ), children: optional(array(lazy(() => uidlNodeDecoder))), @@ -574,6 +724,7 @@ export const conditionalNodeDecoder: Decoder = object({ content: object({ node: lazy(() => uidlNodeDecoder), reference: dynamicValueDecoder, + importDefinitions: optional(dict(externaldependencyDecoder)), value: union(string(), number(), boolean()), condition: optional( object({ @@ -591,10 +742,128 @@ export const elementNodeDecoder: Decoder = object({ content: elementDecoder, }) +export const dateTimeNodeDecoder: Decoder = object({ + type: constant('date-time-node'), + content: elementDecoder, +}) + +export const uidlLocalResourcerDecpder: Decoder = object({ + id: string(), + params: optional( + dict( + union( + staticValueDecoder, + dyamicFunctionParam, + expressionValueDecoder, + lazy(() => dyamicFunctionStateParam) + ) + ) + ), +}) + +export const uidlExternalResourceDecoder: Decoder = object({ + name: string(), + dependency: lazy(() => externaldependencyDecoder), + params: optional( + dict( + union( + staticValueDecoder, + dyamicFunctionParam, + expressionValueDecoder, + lazy(() => dyamicFunctionStateParam) + ) + ) + ), +}) + +export const uidlResourceLinkDecoder: Decoder = union( + uidlLocalResourcerDecpder, + uidlExternalResourceDecoder +) + +export const cmsItemNodeDecoder: Decoder = object({ + type: constant('cms-item'), + content: object({ + elementType: string(), + name: withDefault('cms-item', string()), + attrs: optional(dict(union(attributeValueDecoder, string(), number()))), + nodes: object({ + success: lazy(() => elementNodeDecoder), + error: optional(lazy(() => elementNodeDecoder)), + loading: optional(lazy(() => elementNodeDecoder)), + }), + router: optional(lazy(() => dependencyDecoder)), + dependency: optional(lazy(() => dependencyDecoder)), + renderPropIdentifier: string(), + valuePath: optional(array(string())), + itemValuePath: optional(array(string())), + resource: optional(uidlResourceLinkDecoder), + initialData: optional(lazy(() => dyamicFunctionParam)), + entityKeyProperty: optional(string()), + }), +}) + +export const cmsListNodeDecoder: Decoder = object({ + type: constant('cms-list'), + content: object({ + elementType: string(), + name: withDefault('cms-list', string()), + attrs: optional(dict(union(attributeValueDecoder, string(), number()))), + nodes: object({ + success: lazy(() => elementNodeDecoder), + error: optional(lazy(() => elementNodeDecoder)), + loading: optional(lazy(() => elementNodeDecoder)), + empty: optional(lazy(() => elementNodeDecoder)), + }), + router: optional(lazy(() => dependencyDecoder)), + dependency: optional(lazy(() => dependencyDecoder)), + renderPropIdentifier: string(), + itemValuePath: optional(array(string())), + valuePath: optional(array(string())), + resource: optional(uidlResourceLinkDecoder), + initialData: optional(lazy(() => dyamicFunctionParam)), + }), +}) + +export const cmsListRepeaterNodeDecoder: Decoder = object({ + type: constant('cms-list-repeater'), + content: object({ + elementType: string(), + name: withDefault('cms-list-repeater', string()), + nodes: object({ + list: lazy(() => elementNodeDecoder), + empty: optional(lazy(() => elementNodeDecoder)), + }), + dependency: optional(lazy(() => dependencyDecoder)), + source: optional(string()), + renderPropIdentifier: string(), + }), +}) + +export const cmsMixedTypeNodeDecoder: Decoder = object({ + type: constant('cms-mixed-type'), + content: object({ + elementType: string(), + name: withDefault('cms-mixed-type', string()), + attrs: withDefault( + {}, + lazy(() => dict(union(attributeValueDecoder, string(), number()))) + ), + renderPropIdentifier: string(), + nodes: object({ + fallback: optional(lazy(() => elementNodeDecoder)), + error: optional(lazy(() => elementNodeDecoder)), + }), + dependency: optional(lazy(() => dependencyDecoder)), + mappings: withDefault({}, dict(lazy(() => elementNodeDecoder))), + }), +}) + export const uidlNodeDecoder: Decoder = union( - union(dynamicValueDecoder, staticValueDecoder), - union(rawValueDecoder, elementNodeDecoder), - union(repeatNodeDecoder, conditionalNodeDecoder), - union(slotNodeDecoder, injectValueDecoder), - string() + elementNodeDecoder, + dynamicValueDecoder, + rawValueDecoder, + conditionalNodeDecoder, + union(staticValueDecoder, repeatNodeDecoder, slotNodeDecoder, expressionValueDecoder, string()), + union(cmsItemNodeDecoder, cmsListNodeDecoder, cmsListRepeaterNodeDecoder, cmsMixedTypeNodeDecoder) ) diff --git a/packages/teleport-uidl-validator/src/parser/index.ts b/packages/teleport-uidl-validator/src/parser/index.ts index 2d0a1493b..81516ab7c 100644 --- a/packages/teleport-uidl-validator/src/parser/index.ts +++ b/packages/teleport-uidl-validator/src/parser/index.ts @@ -1,5 +1,4 @@ -import { UIDLUtils } from '@teleporthq/teleport-shared' - +import { StringUtils, UIDLUtils } from '@teleporthq/teleport-shared' import { UIDLDynamicReference, ComponentUIDL, @@ -17,7 +16,17 @@ import { VUIDLGlobalAsset, UIDLGlobalAsset, UIDLRootComponent, - VUIDLElement, + VUIDLLinkNode, + UIDLPropDefinition, + UIDLStateDefinition, + UIDLElementNodeInlineReferencedStyle, + UIDLURLLinkNode, + UIDLCMSItemNode, + UIDLCMSListRepeaterNode, + UIDLCMSListNode, + UIDLDependency, + UIDLEventHandlerStatement, + UIDLCMSMixedTypeNode, } from '@teleporthq/teleport-types' interface ParseComponentJSONParams { @@ -30,10 +39,30 @@ export const parseComponentJSON = ( ): ComponentUIDL => { const safeInput = params.noClone ? input : UIDLUtils.cloneObject(input) - if (safeInput?.styleSetDefinitions) { - const { styleSetDefinitions } = safeInput + if (safeInput?.propDefinitions) { + safeInput.propDefinitions = Object.keys(safeInput.propDefinitions).reduce( + (acc: Record, prop) => { + const propName = StringUtils.createStateOrPropStoringValue(prop) + acc[propName] = (safeInput.propDefinitions as Record)[prop] + return acc + }, + {} + ) + } - Object.values(styleSetDefinitions).forEach((styleRef) => { + if (safeInput?.stateDefinitions) { + safeInput.stateDefinitions = Object.keys(safeInput.stateDefinitions).reduce( + (acc: Record, state) => { + const stateName = StringUtils.createStateOrPropStoringValue(state) + acc[stateName] = (safeInput.stateDefinitions as Record)[state] + return acc + }, + {} + ) + } + + if (safeInput?.styleSetDefinitions) { + Object.values(safeInput?.styleSetDefinitions).forEach((styleRef) => { const { conditions = [] } = styleRef styleRef.content = UIDLUtils.transformStylesAssignmentsToJson(styleRef.content) if (conditions.length > 0) { @@ -60,7 +89,7 @@ export const parseComponentJSON = ( } // other parsers for other sections of the component here - result.node = parseComponentNode(node) as UIDLElementNode + result.node = parseComponentNode(node, result) as UIDLElementNode return result } @@ -117,20 +146,127 @@ export const parseProjectJSON = ( return result } -const parseComponentNode = (node: Record): UIDLNode => { +const parseComponentNode = (node: Record, component: ComponentUIDL): UIDLNode => { switch ((node as unknown as UIDLNode).type) { + case 'cms-item': + case 'cms-list': { + const { + initialData, + nodes: { success, error, loading }, + resource, + } = (node as unknown as UIDLCMSItemNode).content + + if (initialData) { + initialData.content.id = StringUtils.createStateOrPropStoringValue(initialData.content.id) + } + + // TODO all this casting is really ugly, maybe we'll be able to do something about it + if (success) { + ;(node as unknown as UIDLCMSItemNode | UIDLCMSListNode).content.nodes.success = + parseComponentNode( + success as unknown as Record, + component + ) as UIDLElementNode + } + + if (error) { + ;(node as unknown as UIDLCMSItemNode | UIDLCMSListNode).content.nodes.error = + parseComponentNode( + error as unknown as Record, + component + ) as UIDLElementNode + } + + if (loading) { + ;(node as unknown as UIDLCMSItemNode | UIDLCMSListNode).content.nodes.loading = + parseComponentNode( + loading as unknown as Record, + component + ) as UIDLElementNode + } + + if (resource?.params) { + Object.values(resource?.params || {}).forEach((param) => { + if ( + param.type === 'dynamic' && + (param.content.referenceType === 'state' || param.content.referenceType === 'prop') + ) { + param.content.id = StringUtils.createStateOrPropStoringValue(param.content.id) + } + }) + } + + return node as unknown as UIDLCMSListNode | UIDLCMSItemNode + } + case 'cms-list-repeater': { + const { + nodes: { list, empty }, + } = (node as unknown as UIDLCMSListRepeaterNode).content + + if (list) { + ;(node as unknown as UIDLCMSListRepeaterNode).content.nodes.list = parseComponentNode( + list as unknown as Record, + component + ) as UIDLElementNode + } + + if (empty) { + ;(node as unknown as UIDLCMSListRepeaterNode).content.nodes.empty = parseComponentNode( + empty as unknown as Record, + component + ) as UIDLElementNode + } + + return node as unknown as UIDLCMSListRepeaterNode + } + case 'cms-mixed-type': { + const { + nodes: { fallback, error }, + dependency, + attrs, + mappings, + } = (node as unknown as UIDLCMSMixedTypeNode).content + + if (attrs) { + ;(node.content as UIDLCMSMixedTypeNode['content']).attrs = + UIDLUtils.transformAttributesAssignmentsToJson( + attrs as Record, + dependency && (dependency as UIDLDependency)?.type === 'local' + ) + } + + if (fallback) { + ;(node as unknown as UIDLCMSMixedTypeNode).content.nodes.fallback = parseComponentNode( + fallback as unknown as Record, + component + ) as UIDLElementNode + } + + if (error) { + ;(node as unknown as UIDLCMSMixedTypeNode).content.nodes.error = parseComponentNode( + error as unknown as Record, + component + ) as UIDLElementNode + } + + Object.keys(mappings).forEach((mapping) => { + ;(node.content as unknown as UIDLCMSMixedTypeNode['content']).mappings[mapping] = + parseComponentNode( + mappings[mapping] as unknown as Record, + component + ) as UIDLElementNode + }) + + return node as unknown as UIDLCMSMixedTypeNode + } case 'element': const elementContent = node.content as Record - if (elementContent?.referencedStyles) { Object.values(elementContent.referencedStyles).forEach((styleRef) => { - const { content } = styleRef - - switch (content.mapType) { + switch (styleRef.content.mapType) { case 'inlined': { - content.styles = UIDLUtils.transformStylesAssignmentsToJson( - content.styles as Record - ) + const { content } = styleRef as UIDLElementNodeInlineReferencedStyle + content.styles = UIDLUtils.transformStylesAssignmentsToJson(content.styles) break } @@ -144,18 +280,39 @@ const parseComponentNode = (node: Record): UIDLNode => { content: styleRef.content.content, } } + break } default: { throw new ParserError( - `Un-expected mapType passed in referencedStyles - ${content.mapType}` + `Un-expected mapType passed in referencedStyles - ${styleRef.content.mapType}` ) } } }) } + if (elementContent.events) { + Object.values(elementContent.events).forEach( + (eventHandler: UIDLEventHandlerStatement[]) => { + eventHandler.forEach((eventStatement) => { + if (eventStatement.type === 'stateChange') { + eventStatement.modifies = StringUtils.createStateOrPropStoringValue( + eventStatement.modifies + ) + } + + if (eventStatement.type === 'propCall') { + eventStatement.calls = StringUtils.createStateOrPropStoringValue( + eventStatement.calls + ) + } + }) + } + ) + } + if (elementContent.style) { elementContent.style = UIDLUtils.transformStylesAssignmentsToJson( elementContent.style as Record @@ -164,18 +321,36 @@ const parseComponentNode = (node: Record): UIDLNode => { if (elementContent.attrs) { elementContent.attrs = UIDLUtils.transformAttributesAssignmentsToJson( - elementContent.attrs as Record + elementContent.attrs as Record, + 'dependency' in elementContent && + (elementContent.dependency as UIDLDependency)?.type === 'local' ) } - if ( - elementContent?.abilities && - 'link' in (elementContent.abilities as unknown as VUIDLElement['abilities']) - ) { - const { content, type } = (elementContent.abilities as VUIDLElement['abilities'])?.link + if (elementContent?.abilities?.hasOwnProperty('link')) { + const { content, type } = (elementContent.abilities as { link: VUIDLLinkNode }).link + + if (type === 'navlink' && typeof content.routeName === 'string') { + const route: UIDLStaticValue = { + type: 'static', + content: content.routeName, + } + content.routeName = route + } + if (type === 'url' && typeof content.url === 'string') { content.url = UIDLUtils.transformStringAssignmentToJson(content.url) } + + if (type === 'url' && (content as UIDLURLLinkNode['content']).url.type === 'dynamic') { + ;(content as UIDLURLLinkNode['content']).url.content = { + referenceType: ((content as UIDLURLLinkNode['content']).url as UIDLDynamicReference) + .content.referenceType, + id: StringUtils.createStateOrPropStoringValue( + ((content as UIDLURLLinkNode['content']).url as UIDLDynamicReference).content.id + ), + } + } } if (Array.isArray(elementContent.children)) { @@ -183,7 +358,7 @@ const parseComponentNode = (node: Record): UIDLNode => { if (typeof child === 'string') { return UIDLUtils.transformStringAssignmentToJson(child) } else { - return parseComponentNode(child) + return parseComponentNode(child, component) } }, []) } @@ -195,7 +370,8 @@ const parseComponentNode = (node: Record): UIDLNode => { const { reference } = conditionalNode.content conditionalNode.content.node = parseComponentNode( - conditionalNode.content.node as unknown as Record + conditionalNode.content.node as unknown as Record, + component ) if (typeof reference === 'string') { @@ -211,7 +387,8 @@ const parseComponentNode = (node: Record): UIDLNode => { const { dataSource } = repeatNode.content repeatNode.content.node = parseComponentNode( - repeatNode.content.node as unknown as Record + repeatNode.content.node as unknown as Record, + component ) as UIDLElementNode if (typeof dataSource === 'string') { @@ -225,15 +402,22 @@ const parseComponentNode = (node: Record): UIDLNode => { if (slotNode.content.fallback) { slotNode.content.fallback = parseComponentNode( - slotNode.content.fallback as unknown as Record + slotNode.content.fallback as unknown as Record, + component ) as UIDLElementNode | UIDLStaticValue | UIDLDynamicReference } return slotNode case 'dynamic': + const dyamicNode = node as unknown as UIDLDynamicReference + if (['state', 'prop'].includes(dyamicNode.content.referenceType)) { + dyamicNode.content.id = StringUtils.createStateOrPropStoringValue(dyamicNode.content.id) + } + return dyamicNode case 'static': case 'raw': + case 'expr': case 'inject': return node as unknown as UIDLNode diff --git a/packages/teleport-uidl-validator/src/validator/index.ts b/packages/teleport-uidl-validator/src/validator/index.ts index 76607cd75..4817641fd 100644 --- a/packages/teleport-uidl-validator/src/validator/index.ts +++ b/packages/teleport-uidl-validator/src/validator/index.ts @@ -70,7 +70,9 @@ export default class Validator { if (errors.length > 0) { throw new ComponentValidationError( - `UIDL Component Content Validation Error. Please check the following: \n${errors}` + `UIDL Component Content Validation Error. Please check the following: \n ${errors.join( + '\n' + )}` ) } diff --git a/packages/teleport-uidl-validator/src/validator/utils.ts b/packages/teleport-uidl-validator/src/validator/utils.ts index 4d483b4fb..bcbb60f0d 100644 --- a/packages/teleport-uidl-validator/src/validator/utils.ts +++ b/packages/teleport-uidl-validator/src/validator/utils.ts @@ -99,7 +99,7 @@ export const checkDynamicDefinitions = (input: Record) => { const usedImportKeys: string[] = [] const errors: string[] = [] - UIDLUtils.traverseNodes(input.node as UIDLNode, (node) => { + UIDLUtils.traverseNodes(input.node as UIDLNode, (node, parent) => { if (node.type === 'element') { const { content } = node const compStyleReference = Object.values(content?.attrs || {}).find( @@ -121,6 +121,19 @@ export const checkDynamicDefinitions = (input: Record) => { } } + if (node.type === 'cms-item' || node.type === 'cms-list') { + Object.values(node.content?.resource?.params || {}).forEach((param) => { + if ( + param.type === 'dynamic' && + (param.content.referenceType === 'state' || param.content.referenceType === 'prop') + ) { + param.content.referenceType === 'prop' + ? usedPropKeys.push(param.content.id) + : usedStateKeys.push(param.content.id) + } + }) + } + if (node.type === 'element') { Object.keys(node.content?.events || {}).forEach((eventKey) => { node.content.events[eventKey].forEach((event) => { @@ -178,7 +191,10 @@ export const checkDynamicDefinitions = (input: Record) => { if (node.type === 'dynamic' && node.content.referenceType === 'prop') { if (!dynamicPathExistsInDefinitions(node.content.id, propKeys)) { - const errorMsg = `"${node.content.id}" is used but not defined. Please add it in propDefinitions ${input.name}` + const errorMsg = `\n "${node.content.id}" is used but not defined in ${ + input.name + } component. Please add it in propDefinitions. +Used on Node ${JSON.stringify(node)}.\nParent node is ${JSON.stringify(parent, null, 2)}` errors.push(errorMsg) } @@ -190,8 +206,9 @@ export const checkDynamicDefinitions = (input: Record) => { if (node.type === 'dynamic' && node.content.referenceType === 'state') { if (!dynamicPathExistsInDefinitions(node.content.id, stateKeys)) { - const errorMsg = `\n"${node.content.id}" is used but not defined. Please add it in stateDefinitions` - errors.push(errorMsg) + console.warn( + `\n"${node.content.id}" is used but not defined. Please add it in stateDefinitions` + ) } // for member expression we check the root diff --git a/tslint.json b/tslint.json index f70523cec..f7f6e7162 100755 --- a/tslint.json +++ b/tslint.json @@ -19,8 +19,7 @@ "error", "debug", "time", - "timeEnd", - "trace" + "timeEnd" ], "prefer-for-of": false, "no-debugger": true, diff --git a/yarn.lock b/yarn.lock index 561019f4a..e24d2cb2a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,89 +2,75 @@ # yarn lockfile v1 -"@ampproject/remapping@^2.1.0": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.1.2.tgz#4edca94973ded9630d20101cd8559cedb8d8bd34" - integrity sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg== - dependencies: - "@jridgewell/trace-mapping" "^0.3.0" - -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789" - integrity sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg== +"@ampproject/remapping@^2.2.0": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" + integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== dependencies: - "@babel/highlight" "^7.16.7" + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" -"@babel/code-frame@^7.22.13": - version "7.22.13" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e" - integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w== +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.22.13", "@babel/code-frame@^7.23.5": + version "7.23.5" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.23.5.tgz#9009b69a8c602293476ad598ff53e4562e15c244" + integrity sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA== dependencies: - "@babel/highlight" "^7.22.13" + "@babel/highlight" "^7.23.4" chalk "^2.4.2" -"@babel/compat-data@^7.16.4": - version "7.17.0" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.17.0.tgz#86850b8597ea6962089770952075dcaabb8dba34" - integrity sha512-392byTlpGWXMv4FbyWw3sAZ/FrW/DrwqLGXpy0mbyNe9Taqv1mg9yON5/o0cnr8XYCkFTZbC1eV+c+LAROgrng== - -"@babel/core@^7.1.0", "@babel/core@^7.12.3", "@babel/core@^7.7.5": - version "7.17.5" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.17.5.tgz#6cd2e836058c28f06a4ca8ee7ed955bbf37c8225" - integrity sha512-/BBMw4EvjmyquN5O+t5eh0+YqB3XXJkYD2cjKpYtWOfFy4lQ4UozNSmxAcWT8r2XtZs0ewG+zrfsqeR15i1ajA== - dependencies: - "@ampproject/remapping" "^2.1.0" - "@babel/code-frame" "^7.16.7" - "@babel/generator" "^7.17.3" - "@babel/helper-compilation-targets" "^7.16.7" - "@babel/helper-module-transforms" "^7.16.7" - "@babel/helpers" "^7.17.2" - "@babel/parser" "^7.17.3" - "@babel/template" "^7.16.7" - "@babel/traverse" "^7.17.3" - "@babel/types" "^7.17.0" - convert-source-map "^1.7.0" +"@babel/compat-data@^7.23.5": + version "7.23.5" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.23.5.tgz#ffb878728bb6bdcb6f4510aa51b1be9afb8cfd98" + integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw== + +"@babel/core@^7.1.0", "@babel/core@^7.12.3", "@babel/core@^7.5.5", "@babel/core@^7.7.5": + version "7.23.7" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.7.tgz#4d8016e06a14b5f92530a13ed0561730b5c6483f" + integrity sha512-+UpDgowcmqe36d4NwqvKsyPMlOLNGMsfMmQ5WGCu+siCe3t3dfe9njrzGfdN4qq+bcNUt0+Vw6haRxBOycs4dw== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.23.5" + "@babel/generator" "^7.23.6" + "@babel/helper-compilation-targets" "^7.23.6" + "@babel/helper-module-transforms" "^7.23.3" + "@babel/helpers" "^7.23.7" + "@babel/parser" "^7.23.6" + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.23.7" + "@babel/types" "^7.23.6" + convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" - json5 "^2.1.2" - semver "^6.3.0" + json5 "^2.2.3" + semver "^6.3.1" -"@babel/generator@^7.17.3", "@babel/generator@^7.5.5": - version "7.17.3" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.3.tgz#a2c30b0c4f89858cb87050c3ffdfd36bdf443200" - integrity sha512-+R6Dctil/MgUsZsZAkYgK+ADNSZzJRRy0TvY65T71z/CR854xHQ1EweBYXdfT+HNeN7w0cSJJEzgxZMv40pxsg== +"@babel/generator@^7.23.6", "@babel/generator@^7.5.5": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.6.tgz#9e1fca4811c77a10580d17d26b57b036133f3c2e" + integrity sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw== dependencies: - "@babel/types" "^7.17.0" - jsesc "^2.5.1" - source-map "^0.5.0" - -"@babel/generator@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.0.tgz#df5c386e2218be505b34837acbcb874d7a983420" - integrity sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g== - dependencies: - "@babel/types" "^7.23.0" + "@babel/types" "^7.23.6" "@jridgewell/gen-mapping" "^0.3.2" "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" -"@babel/helper-compilation-targets@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz#06e66c5f299601e6c7da350049315e83209d551b" - integrity sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA== +"@babel/helper-annotate-as-pure@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz#e7f06737b197d580a01edf75d97e2c8be99d3882" + integrity sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg== dependencies: - "@babel/compat-data" "^7.16.4" - "@babel/helper-validator-option" "^7.16.7" - browserslist "^4.17.5" - semver "^6.3.0" + "@babel/types" "^7.22.5" -"@babel/helper-environment-visitor@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz#ff484094a839bde9d89cd63cba017d7aae80ecd7" - integrity sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag== +"@babel/helper-compilation-targets@^7.23.6": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz#4d79069b16cbcf1461289eccfbbd81501ae39991" + integrity sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ== dependencies: - "@babel/types" "^7.16.7" + "@babel/compat-data" "^7.23.5" + "@babel/helper-validator-option" "^7.23.5" + browserslist "^4.22.2" + lru-cache "^5.1.1" + semver "^6.3.1" "@babel/helper-environment-visitor@^7.22.20": version "7.22.20" @@ -106,45 +92,35 @@ dependencies: "@babel/types" "^7.22.5" -"@babel/helper-module-imports@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz#25612a8091a999704461c8a222d0efec5d091437" - integrity sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg== +"@babel/helper-module-imports@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0" + integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== dependencies: - "@babel/types" "^7.16.7" + "@babel/types" "^7.22.15" -"@babel/helper-module-transforms@^7.16.7": - version "7.17.6" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.17.6.tgz#3c3b03cc6617e33d68ef5a27a67419ac5199ccd0" - integrity sha512-2ULmRdqoOMpdvkbT8jONrZML/XALfzxlb052bldftkicAUy8AxSCkD5trDPQcwHNmolcl7wP6ehNqMlyUw6AaA== +"@babel/helper-module-transforms@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz#d7d12c3c5d30af5b3c0fcab2a6d5217773e2d0f1" + integrity sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ== dependencies: - "@babel/helper-environment-visitor" "^7.16.7" - "@babel/helper-module-imports" "^7.16.7" - "@babel/helper-simple-access" "^7.16.7" - "@babel/helper-split-export-declaration" "^7.16.7" - "@babel/helper-validator-identifier" "^7.16.7" - "@babel/template" "^7.16.7" - "@babel/traverse" "^7.17.3" - "@babel/types" "^7.17.0" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.8.0": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz#aa3a8ab4c3cceff8e65eb9e73d87dc4ff320b2f5" - integrity sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA== + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-simple-access" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/helper-validator-identifier" "^7.22.20" -"@babel/helper-simple-access@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz#d656654b9ea08dbb9659b69d61063ccd343ff0f7" - integrity sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g== - dependencies: - "@babel/types" "^7.16.7" +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" + integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== -"@babel/helper-split-export-declaration@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz#0b648c0c42da9d3920d85ad585f2778620b8726b" - integrity sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw== +"@babel/helper-simple-access@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" + integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== dependencies: - "@babel/types" "^7.16.7" + "@babel/types" "^7.22.5" "@babel/helper-split-export-declaration@^7.22.6": version "7.22.6" @@ -153,62 +129,43 @@ dependencies: "@babel/types" "^7.22.5" -"@babel/helper-string-parser@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" - integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw== - -"@babel/helper-validator-identifier@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz#e8c602438c4a8195751243da9031d1607d247cad" - integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw== +"@babel/helper-string-parser@^7.23.4": + version "7.23.4" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz#9478c707febcbbe1ddb38a3d91a2e054ae622d83" + integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ== "@babel/helper-validator-identifier@^7.22.20": version "7.22.20" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== -"@babel/helper-validator-option@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz#b203ce62ce5fe153899b617c08957de860de4d23" - integrity sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ== - -"@babel/helpers@^7.17.2": - version "7.17.2" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.17.2.tgz#23f0a0746c8e287773ccd27c14be428891f63417" - integrity sha512-0Qu7RLR1dILozr/6M0xgj+DFPmi6Bnulgm9M8BVa9ZCWxDqlSnqt3cf8IDPB5m45sVXUZ0kuQAgUrdSFFH79fQ== - dependencies: - "@babel/template" "^7.16.7" - "@babel/traverse" "^7.17.0" - "@babel/types" "^7.17.0" +"@babel/helper-validator-option@^7.22.15", "@babel/helper-validator-option@^7.23.5": + version "7.23.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz#907a3fbd4523426285365d1206c423c4c5520307" + integrity sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw== -"@babel/highlight@^7.16.7": - version "7.16.10" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea753c227b0f570ad785aba88" - integrity sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw== +"@babel/helpers@^7.23.7": + version "7.23.8" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.8.tgz#fc6b2d65b16847fd50adddbd4232c76378959e34" + integrity sha512-KDqYz4PiOWvDFrdHLPhKtCThtIcKVy6avWD2oG4GEvyQ+XDZwHD4YQd+H2vNMnq2rkdxsDkU82T+Vk8U/WXHRQ== dependencies: - "@babel/helper-validator-identifier" "^7.16.7" - chalk "^2.0.0" - js-tokens "^4.0.0" + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.23.7" + "@babel/types" "^7.23.6" -"@babel/highlight@^7.22.13": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54" - integrity sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg== +"@babel/highlight@^7.23.4": + version "7.23.4" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.23.4.tgz#edaadf4d8232e1a961432db785091207ead0621b" + integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A== dependencies: "@babel/helper-validator-identifier" "^7.22.20" chalk "^2.4.2" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.7", "@babel/parser@^7.17.3": - version "7.17.3" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.3.tgz#b07702b982990bf6fdc1da5049a23fece4c5c3d0" - integrity sha512-7yJPvPV+ESz2IUTPbOL+YkIGyCqOyNIzdguKQuJGnH7bg1WTIifuM21YqokFt/THWh1AkCRn9IgoykTRCBVpzA== - -"@babel/parser@^7.22.15", "@babel/parser@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.0.tgz#da950e622420bf96ca0d0f2909cdddac3acd8719" - integrity sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.6": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.6.tgz#ba1c9e512bda72a47e285ae42aff9d2a635a9e3b" + integrity sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ== "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -245,6 +202,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-jsx@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz#8f2e4f8a9b5f9aa16067e142c1ac9cd9f810f473" + integrity sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" @@ -294,23 +258,59 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/runtime@^7.14.6", "@babel/runtime@^7.3.1", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.3": - version "7.17.2" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.2.tgz#66f68591605e59da47523c631416b18508779941" - integrity sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw== +"@babel/plugin-transform-react-display-name@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.23.3.tgz#70529f034dd1e561045ad3c8152a267f0d7b6200" + integrity sha512-GnvhtVfA2OAtzdX58FJxU19rhoGeQzyVndw3GgtdECQvQFXPEZIOVULHVZGAYmOgmqjXpVpfocAbSjh99V/Fqw== dependencies: - regenerator-runtime "^0.13.4" + "@babel/helper-plugin-utils" "^7.22.5" -"@babel/template@^7.16.7", "@babel/template@^7.3.3": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155" - integrity sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w== - dependencies: - "@babel/code-frame" "^7.16.7" - "@babel/parser" "^7.16.7" - "@babel/types" "^7.16.7" - -"@babel/template@^7.22.15": +"@babel/plugin-transform-react-jsx-development@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.22.5.tgz#e716b6edbef972a92165cd69d92f1255f7e73e87" + integrity sha512-bDhuzwWMuInwCYeDeMzyi7TaBgRQei6DqxhbyniL7/VG4RSS7HtSL2QbY4eESy1KJqlWt8g3xeEBGPuo+XqC8A== + dependencies: + "@babel/plugin-transform-react-jsx" "^7.22.5" + +"@babel/plugin-transform-react-jsx@^7.22.15", "@babel/plugin-transform-react-jsx@^7.22.5": + version "7.23.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.23.4.tgz#393f99185110cea87184ea47bcb4a7b0c2e39312" + integrity sha512-5xOpoPguCZCRbo/JeHlloSkTA8Bld1J/E1/kLfD1nsuiW1m8tduTA1ERCgIZokDflX/IBzKcqR3l7VlRgiIfHA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-jsx" "^7.23.3" + "@babel/types" "^7.23.4" + +"@babel/plugin-transform-react-pure-annotations@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.23.3.tgz#fabedbdb8ee40edf5da96f3ecfc6958e3783b93c" + integrity sha512-qMFdSS+TUhB7Q/3HVPnEdYJDQIk57jkntAwSuz9xfSE4n+3I+vHYCli3HoHawN1Z3RfCz/y1zXA/JXjG6cVImQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/preset-react@^7.22.5": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.23.3.tgz#f73ca07e7590f977db07eb54dbe46538cc015709" + integrity sha512-tbkHOS9axH6Ysf2OUEqoSZ6T3Fa2SrNH6WTWSPBboxKzdxNc9qOICeLXkNG0ZEwbQ1HY8liwOce4aN/Ceyuq6w== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-validator-option" "^7.22.15" + "@babel/plugin-transform-react-display-name" "^7.23.3" + "@babel/plugin-transform-react-jsx" "^7.22.15" + "@babel/plugin-transform-react-jsx-development" "^7.22.5" + "@babel/plugin-transform-react-pure-annotations" "^7.23.3" + +"@babel/runtime@^7.18.9", "@babel/runtime@^7.3.1", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.3": + version "7.23.8" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.8.tgz#8ee6fe1ac47add7122902f257b8ddf55c898f650" + integrity sha512-Y7KbAP984rn1VGMbGqKmBLio9V7y5Je9GvU4rQPCPinCyNfUcToxIXl06d59URp/F3LwinvODxab5N/G6qggkw== + dependencies: + regenerator-runtime "^0.14.0" + +"@babel/template@^7.22.15", "@babel/template@^7.3.3": version "7.22.15" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== @@ -319,36 +319,28 @@ "@babel/parser" "^7.22.15" "@babel/types" "^7.22.15" -"@babel/traverse@^7.1.0", "@babel/traverse@^7.17.0", "@babel/traverse@^7.17.3": - version "7.23.2" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.2.tgz#329c7a06735e144a506bdb2cad0268b7f46f4ad8" - integrity sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw== +"@babel/traverse@^7.1.0", "@babel/traverse@^7.23.7": + version "7.23.7" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.7.tgz#9a7bf285c928cb99b5ead19c3b1ce5b310c9c305" + integrity sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg== dependencies: - "@babel/code-frame" "^7.22.13" - "@babel/generator" "^7.23.0" + "@babel/code-frame" "^7.23.5" + "@babel/generator" "^7.23.6" "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-function-name" "^7.23.0" "@babel/helper-hoist-variables" "^7.22.5" "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.23.0" - "@babel/types" "^7.23.0" - debug "^4.1.0" + "@babel/parser" "^7.23.6" + "@babel/types" "^7.23.6" + debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.14.5", "@babel/types@^7.16.7", "@babel/types@^7.17.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.5.5": - version "7.17.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.17.0.tgz#a826e368bccb6b3d84acd76acad5c0d87342390b" - integrity sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw== - dependencies: - "@babel/helper-validator-identifier" "^7.16.7" - to-fast-properties "^2.0.0" - -"@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0": - version "7.23.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.0.tgz#8c1f020c9df0e737e4e247c0619f58c68458aaeb" - integrity sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg== +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.4", "@babel/types@^7.23.6", "@babel/types@^7.3.3", "@babel/types@^7.5.5": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.6.tgz#be33fdb151e1f5a56877d704492c240fc71c7ccd" + integrity sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg== dependencies: - "@babel/helper-string-parser" "^7.22.5" + "@babel/helper-string-parser" "^7.23.4" "@babel/helper-validator-identifier" "^7.22.20" to-fast-properties "^2.0.0" @@ -365,71 +357,59 @@ exec-sh "^0.3.2" minimist "^1.2.0" -"@commitlint/config-validator@^16.2.1": - version "16.2.1" - resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-16.2.1.tgz#794e769afd4756e4cf1bfd823b6612932e39c56d" - integrity sha512-hogSe0WGg7CKmp4IfNbdNES3Rq3UEI4XRPB8JL4EPgo/ORq5nrGTVzxJh78omibNuB8Ho4501Czb1Er1MoDWpw== +"@commitlint/config-validator@^18.4.4": + version "18.4.4" + resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-18.4.4.tgz#b1f009e4a988156c938160b17a8a619403a47433" + integrity sha512-/QI8KIg/h7O0Eus36fPcEcO3QPBcdXuGfZeCF5m15k0EB2bcU8s6pHNTNEa6xz9PrAefHCL+yzRJj7w20T6Mow== dependencies: - "@commitlint/types" "^16.2.1" - ajv "^6.12.6" + "@commitlint/types" "^18.4.4" + ajv "^8.11.0" -"@commitlint/execute-rule@^16.2.1": - version "16.2.1" - resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-16.2.1.tgz#60be73be4b9af97a41546e7ce59fdd33787c65f8" - integrity sha512-oSls82fmUTLM6cl5V3epdVo4gHhbmBFvCvQGHBRdQ50H/690Uq1Dyd7hXMuKITCIdcnr9umyDkr8r5C6HZDF3g== +"@commitlint/execute-rule@^18.4.4": + version "18.4.4" + resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-18.4.4.tgz#ade986742c1944c8162a54288747e54a8c6146b5" + integrity sha512-a37Nd3bDQydtg9PCLLWM9ZC+GO7X5i4zJvrggJv5jBhaHsXeQ9ZWdO6ODYR+f0LxBXXNYK3geYXJrCWUCP8JEg== "@commitlint/load@>6.1.1": - version "16.2.1" - resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-16.2.1.tgz#301bda1bff66b3e40a85819f854eda72538d8e24" - integrity sha512-oSpz0jTyVI/A1AIImxJINTLDOMB8YF7lWGm+Jg5wVWM0r7ucpuhyViVvpSRTgvL0z09oIxlctyFGWUQQpI42uw== - dependencies: - "@commitlint/config-validator" "^16.2.1" - "@commitlint/execute-rule" "^16.2.1" - "@commitlint/resolve-extends" "^16.2.1" - "@commitlint/types" "^16.2.1" - "@types/node" ">=12" - chalk "^4.0.0" - cosmiconfig "^7.0.0" - cosmiconfig-typescript-loader "^1.0.0" - lodash "^4.17.19" + version "18.4.4" + resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-18.4.4.tgz#1f73d1a11337c68b6cf990e111ca2a742d076041" + integrity sha512-RaDIa9qwOw2xRJ3Jr2DBXd14rmnHJIX2XdZF4kmoF1rgsg/+7cvrExLSUNAkQUNimyjCn1b/bKX2Omm+GdY0XQ== + dependencies: + "@commitlint/config-validator" "^18.4.4" + "@commitlint/execute-rule" "^18.4.4" + "@commitlint/resolve-extends" "^18.4.4" + "@commitlint/types" "^18.4.4" + chalk "^4.1.0" + cosmiconfig "^8.3.6" + cosmiconfig-typescript-loader "^5.0.0" + lodash.isplainobject "^4.0.6" + lodash.merge "^4.6.2" + lodash.uniq "^4.5.0" resolve-from "^5.0.0" - typescript "^4.4.3" -"@commitlint/resolve-extends@^16.2.1": - version "16.2.1" - resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-16.2.1.tgz#2f7833a5a3a7aa79f508e59fcb0f1d33c45ed360" - integrity sha512-NbbCMPKTFf2J805kwfP9EO+vV+XvnaHRcBy6ud5dF35dxMsvdJqke54W3XazXF1ZAxC4a3LBy4i/GNVBAthsEg== +"@commitlint/resolve-extends@^18.4.4": + version "18.4.4" + resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-18.4.4.tgz#fa2975c856d77ea1931e0e3673cf20096eb3ecc7" + integrity sha512-RRpIHSbRnFvmGifVk21Gqazf1QF/yeP+Kkg/e3PlkegcOKd/FGOXp/Kx9cvSO2K7ucSn4GD/oBvgasFoy+NCAw== dependencies: - "@commitlint/config-validator" "^16.2.1" - "@commitlint/types" "^16.2.1" + "@commitlint/config-validator" "^18.4.4" + "@commitlint/types" "^18.4.4" import-fresh "^3.0.0" - lodash "^4.17.19" + lodash.mergewith "^4.6.2" resolve-from "^5.0.0" resolve-global "^1.0.0" -"@commitlint/types@^16.2.1": - version "16.2.1" - resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-16.2.1.tgz#f25d373b88b01e51fc3fa44488101361945a61bd" - integrity sha512-7/z7pA7BM0i8XvMSBynO7xsB3mVQPUZbVn6zMIlp/a091XJ3qAXRXc+HwLYhiIdzzS5fuxxNIHZMGHVD4HJxdA== +"@commitlint/types@^18.4.4": + version "18.4.4" + resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-18.4.4.tgz#dae9e0ce6a6728a36b8982ff301af0170bbe0d38" + integrity sha512-/FykLtodD8gKs3+VNkAUwofu4LBHankclj+I8fB2jTRvG6PV7k/OUt4P+VbM7ip853qS4F0g7Z6hLNa6JeMcAQ== dependencies: - chalk "^4.0.0" - -"@cspotcode/source-map-consumer@0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz#33bf4b7b39c178821606f669bbc447a6a629786b" - integrity sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg== - -"@cspotcode/source-map-support@0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz#4789840aa859e46d2f3173727ab707c66bf344f5" - integrity sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA== - dependencies: - "@cspotcode/source-map-consumer" "0.8.0" + chalk "^4.1.0" "@discoveryjs/json-ext@^0.5.0": - version "0.5.6" - resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.6.tgz#d5e0706cf8c6acd8c6032f8d54070af261bbbb2f" - integrity sha512-ws57AidsDvREKrZKYffXddNkyaF14iHNHm8VQnZH6t99E8gczjNN0GpvcGny0imC80yQ0tHz1xVUKk/KFQSUyA== + version "0.5.7" + resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" + integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== "@gar/promisify@^1.0.1", "@gar/promisify@^1.1.3": version "1.1.3" @@ -643,16 +623,7 @@ "@types/yargs" "^15.0.0" chalk "^4.0.0" -"@jridgewell/gen-mapping@^0.3.0": - version "0.3.2" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" - integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== - dependencies: - "@jridgewell/set-array" "^1.0.1" - "@jridgewell/sourcemap-codec" "^1.4.10" - "@jridgewell/trace-mapping" "^0.3.9" - -"@jridgewell/gen-mapping@^0.3.2": +"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": version "0.3.3" resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== @@ -661,11 +632,6 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/resolve-uri@^3.0.3": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" - integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== - "@jridgewell/resolve-uri@^3.1.0": version "3.1.1" resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721" @@ -676,81 +642,60 @@ resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== -"@jridgewell/source-map@^0.3.2": - version "0.3.2" - resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.2.tgz#f45351aaed4527a298512ec72f81040c998580fb" - integrity sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw== +"@jridgewell/source-map@^0.3.3": + version "0.3.5" + resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.5.tgz#a3bb4d5c6825aab0d281268f47f6ad5853431e91" + integrity sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ== dependencies: "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/sourcemap-codec@^1.4.10": - version "1.4.14" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" - integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== - -"@jridgewell/sourcemap-codec@^1.4.14": +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": version "1.4.15" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== -"@jridgewell/trace-mapping@^0.3.0": - version "0.3.4" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz#f6a0832dffd5b8a6aaa633b7d9f8e8e94c83a0c3" - integrity sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ== - dependencies: - "@jridgewell/resolve-uri" "^3.0.3" - "@jridgewell/sourcemap-codec" "^1.4.10" - -"@jridgewell/trace-mapping@^0.3.17": - version "0.3.19" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz#f8a3249862f91be48d3127c3cfe992f79b4b8811" - integrity sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw== +"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.20", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.20" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz#72e45707cf240fa6b081d0366f8265b0cd10197f" + integrity sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q== dependencies: "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@jridgewell/trace-mapping@^0.3.9": - version "0.3.14" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz#b231a081d8f66796e475ad588a1ef473112701ed" - integrity sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ== +"@lerna/add@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/add/-/add-5.6.2.tgz#d0e25fd4900b6f8a9548f940cc016ce8a3e2d2ba" + integrity sha512-NHrm7kYiqP+EviguY7/NltJ3G9vGmJW6v2BASUOhP9FZDhYbq3O+rCDlFdoVRNtcyrSg90rZFMOWHph4KOoCQQ== dependencies: - "@jridgewell/resolve-uri" "^3.0.3" - "@jridgewell/sourcemap-codec" "^1.4.10" - -"@lerna/add@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/add/-/add-5.3.0.tgz#2e6cd5ff3d8bad2b0b36cdeaa300fc39fbae215e" - integrity sha512-MxwTO2UBxZwwuquKbBqdYa56YTqg6Lfz1MZsRQxO7F2cb2NN8NEYTcGOli/71Ee/2AoX4R4xIFTh3TnaflQ25A== - dependencies: - "@lerna/bootstrap" "5.3.0" - "@lerna/command" "5.3.0" - "@lerna/filter-options" "5.3.0" - "@lerna/npm-conf" "5.3.0" - "@lerna/validation-error" "5.3.0" + "@lerna/bootstrap" "5.6.2" + "@lerna/command" "5.6.2" + "@lerna/filter-options" "5.6.2" + "@lerna/npm-conf" "5.6.2" + "@lerna/validation-error" "5.6.2" dedent "^0.7.0" npm-package-arg "8.1.1" p-map "^4.0.0" pacote "^13.6.1" semver "^7.3.4" -"@lerna/bootstrap@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/bootstrap/-/bootstrap-5.3.0.tgz#3e0e06757ec139b4742f2bb9bc55c10fd8ddf8da" - integrity sha512-iHVjt6YOQKLY0j+ex13a6ZxjIQ1TSSXqbl6z1hVjBFaDyCh7pra/tgj0LohZDVCaouLwRKucceQfTGrb+cfo7A== - dependencies: - "@lerna/command" "5.3.0" - "@lerna/filter-options" "5.3.0" - "@lerna/has-npm-version" "5.3.0" - "@lerna/npm-install" "5.3.0" - "@lerna/package-graph" "5.3.0" - "@lerna/pulse-till-done" "5.3.0" - "@lerna/rimraf-dir" "5.3.0" - "@lerna/run-lifecycle" "5.3.0" - "@lerna/run-topologically" "5.3.0" - "@lerna/symlink-binary" "5.3.0" - "@lerna/symlink-dependencies" "5.3.0" - "@lerna/validation-error" "5.3.0" +"@lerna/bootstrap@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/bootstrap/-/bootstrap-5.6.2.tgz#a0f015ae7c30189a3064c0d5940134010ece635e" + integrity sha512-S2fMOEXbef7nrybQhzBywIGSLhuiQ5huPp1sU+v9Y6XEBsy/2IA+lb0gsZosvPqlRfMtiaFstL+QunaBhlWECA== + dependencies: + "@lerna/command" "5.6.2" + "@lerna/filter-options" "5.6.2" + "@lerna/has-npm-version" "5.6.2" + "@lerna/npm-install" "5.6.2" + "@lerna/package-graph" "5.6.2" + "@lerna/pulse-till-done" "5.6.2" + "@lerna/rimraf-dir" "5.6.2" + "@lerna/run-lifecycle" "5.6.2" + "@lerna/run-topologically" "5.6.2" + "@lerna/symlink-binary" "5.6.2" + "@lerna/symlink-dependencies" "5.6.2" + "@lerna/validation-error" "5.6.2" "@npmcli/arborist" "5.3.0" dedent "^0.7.0" get-port "^5.1.1" @@ -762,100 +707,100 @@ p-waterfall "^2.1.1" semver "^7.3.4" -"@lerna/changed@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/changed/-/changed-5.3.0.tgz#631dd147f2c86f292106fe6d891b0a2bcc5ad43b" - integrity sha512-i6ZfBDBZCpnPaSWTuNGTrnExkHNMC+/cSUuS9njaqe+tXgqE95Ja3cMxWZth9Q1uasjcEBHPU2jG0VKrU37rpA== +"@lerna/changed@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/changed/-/changed-5.6.2.tgz#96a647ed202d8146b2077bf13a682466e8607f9a" + integrity sha512-uUgrkdj1eYJHQGsXXlpH5oEAfu3x0qzeTjgvpdNrxHEdQWi7zWiW59hRadmiImc14uJJYIwVK5q/QLugrsdGFQ== dependencies: - "@lerna/collect-updates" "5.3.0" - "@lerna/command" "5.3.0" - "@lerna/listable" "5.3.0" - "@lerna/output" "5.3.0" + "@lerna/collect-updates" "5.6.2" + "@lerna/command" "5.6.2" + "@lerna/listable" "5.6.2" + "@lerna/output" "5.6.2" -"@lerna/check-working-tree@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/check-working-tree/-/check-working-tree-5.3.0.tgz#fd10158bcb62a840e343d1a4b12a0eedbc2e0146" - integrity sha512-qo6jUGWXKLVL1nU8aEECqwrGRjs9o1l1hXdD2juA4Fvzsam1cFVHJwsmw3hAXGhEPD0oalg/XR62H9rZSCLOvQ== +"@lerna/check-working-tree@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/check-working-tree/-/check-working-tree-5.6.2.tgz#dd03b0c3fe9f141c31c0c47a9a0162ee9c0f6c28" + integrity sha512-6Vf3IB6p+iNIubwVgr8A/KOmGh5xb4SyRmhFtAVqe33yWl2p3yc+mU5nGoz4ET3JLF1T9MhsePj0hNt6qyOTLQ== dependencies: - "@lerna/collect-uncommitted" "5.3.0" - "@lerna/describe-ref" "5.3.0" - "@lerna/validation-error" "5.3.0" + "@lerna/collect-uncommitted" "5.6.2" + "@lerna/describe-ref" "5.6.2" + "@lerna/validation-error" "5.6.2" -"@lerna/child-process@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/child-process/-/child-process-5.3.0.tgz#ec27b96afbb02f4c0cd2cf09db41be5312182799" - integrity sha512-4uXPNIptrgQQQVHVVAXBD8F7IqSvZL3Og0G0DHiWKH+dsSyMIUtaIGJt7sifVoL7nzex4AqEiPq/AubpmG5g4Q== +"@lerna/child-process@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/child-process/-/child-process-5.6.2.tgz#4adbd09ff5a8e43b9471f1a987ae65a7d669421b" + integrity sha512-QIOQ3jIbWdduHd5892fbo3u7/dQgbhzEBB7cvf+Ys/iCPP8UQrBECi1lfRgA4kcTKC2MyMz0SoyXZz/lFcXc3A== dependencies: chalk "^4.1.0" execa "^5.0.0" strong-log-transformer "^2.1.0" -"@lerna/clean@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/clean/-/clean-5.3.0.tgz#2a98de89c365c711040acbfaa96a52e3ca88af79" - integrity sha512-Jn+Dr7A69dch8m1dLe7l/SDVQVQT2j7zdy2gaZVEmJIgEEaXmEbfJ2t2n06vRXtckI9B85M5mubT1U3Y7KuNuA== - dependencies: - "@lerna/command" "5.3.0" - "@lerna/filter-options" "5.3.0" - "@lerna/prompt" "5.3.0" - "@lerna/pulse-till-done" "5.3.0" - "@lerna/rimraf-dir" "5.3.0" +"@lerna/clean@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/clean/-/clean-5.6.2.tgz#9611adf3e3035731af2b71aabeb850f7d16fc27d" + integrity sha512-A7j8r0Hk2pGyLUyaCmx4keNHen1L/KdcOjb4nR6X8GtTJR5AeA47a8rRKOCz9wwdyMPlo2Dau7d3RV9viv7a5g== + dependencies: + "@lerna/command" "5.6.2" + "@lerna/filter-options" "5.6.2" + "@lerna/prompt" "5.6.2" + "@lerna/pulse-till-done" "5.6.2" + "@lerna/rimraf-dir" "5.6.2" p-map "^4.0.0" p-map-series "^2.1.0" p-waterfall "^2.1.1" -"@lerna/cli@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/cli/-/cli-5.3.0.tgz#b42808b747a6b3136028e5cdc775f72805112b95" - integrity sha512-P7F3Xs98pXMEGZX+mnFfsd6gU03x8UrwQ3mElvQBICl4Ew9z6rS8NGUd3JOPFzm4/vSTjYTnPyPdWBjj6/f6sw== +"@lerna/cli@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/cli/-/cli-5.6.2.tgz#87a3dea0f066fa4b01c38ab191f316885dfe9fcd" + integrity sha512-w0NRIEqDOmYKlA5t0iyqx0hbY7zcozvApmfvwF0lhkuhf3k6LRAFSamtimGQWicC779a7J2NXw4ASuBV47Fs1Q== dependencies: - "@lerna/global-options" "5.3.0" + "@lerna/global-options" "5.6.2" dedent "^0.7.0" npmlog "^6.0.2" yargs "^16.2.0" -"@lerna/collect-uncommitted@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/collect-uncommitted/-/collect-uncommitted-5.3.0.tgz#fa031bff12ca8c7c78f8fb4584bd6289ccbba40e" - integrity sha512-Ll/mU9Nes0NQoa0pSv2TR2PTCkIomBGuDWH48OF2sKKu69NuLjrD2L0udS5nJYig9HxFewtm4QTiUdYPxfJXkQ== +"@lerna/collect-uncommitted@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/collect-uncommitted/-/collect-uncommitted-5.6.2.tgz#8f62d5a57c7800e9f5278897c7b254c1e3d425fe" + integrity sha512-i0jhxpypyOsW2PpPwIw4xg6EPh7/N3YuiI6P2yL7PynZ8nOv8DkIdoyMkhUP4gALjBfckH8Bj94eIaKMviqW4w== dependencies: - "@lerna/child-process" "5.3.0" + "@lerna/child-process" "5.6.2" chalk "^4.1.0" npmlog "^6.0.2" -"@lerna/collect-updates@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/collect-updates/-/collect-updates-5.3.0.tgz#21ec4fa7f7e836937ebc9ec7ab4d2053ad9f7bd7" - integrity sha512-fzJo/rmdXKWKYt+9IXjtenIZtSr3blMH8GEqoVKpSZ7TJGpxcFNmMe6foa60BgaTnDmmg1y7Qu6JbQJ3Ra5c5w== +"@lerna/collect-updates@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/collect-updates/-/collect-updates-5.6.2.tgz#7dc9df48183ef35a975154182d338c64de76104f" + integrity sha512-DdTK13X6PIsh9HINiMniFeiivAizR/1FBB+hDVe6tOhsXFBfjHMw1xZhXlE+mYIoFmDm1UFK7zvQSexoaxRqFA== dependencies: - "@lerna/child-process" "5.3.0" - "@lerna/describe-ref" "5.3.0" + "@lerna/child-process" "5.6.2" + "@lerna/describe-ref" "5.6.2" minimatch "^3.0.4" npmlog "^6.0.2" slash "^3.0.0" -"@lerna/command@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/command/-/command-5.3.0.tgz#0ef7a09ca5b03ff08f164500df560959893c6775" - integrity sha512-UNQQ4EGTumqLhOuDPcRA4LpdS9pcTYKSdh/8MdKPeyIRN70vCTwdeTrxqaaKsn3Jo7ycvyUQT5yfrUFmCClfoA== - dependencies: - "@lerna/child-process" "5.3.0" - "@lerna/package-graph" "5.3.0" - "@lerna/project" "5.3.0" - "@lerna/validation-error" "5.3.0" - "@lerna/write-log-file" "5.3.0" +"@lerna/command@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/command/-/command-5.6.2.tgz#6cbb42b63c40a33565a7d39302d0e171e8e0f5b6" + integrity sha512-eLVGI9TmxcaGt1M7TXGhhBZoeWOtOedMiH7NuCGHtL6TMJ9k+SCExyx+KpNmE6ImyNOzws6EvYLPLjftiqmoaA== + dependencies: + "@lerna/child-process" "5.6.2" + "@lerna/package-graph" "5.6.2" + "@lerna/project" "5.6.2" + "@lerna/validation-error" "5.6.2" + "@lerna/write-log-file" "5.6.2" clone-deep "^4.0.1" dedent "^0.7.0" execa "^5.0.0" is-ci "^2.0.0" npmlog "^6.0.2" -"@lerna/conventional-commits@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/conventional-commits/-/conventional-commits-5.3.0.tgz#64d2035648186146d6c331fd6dcbf146813b3600" - integrity sha512-9uoQ2E1J7pL0fml5PNO7FydnBNeqrNOQa53Ca1Klf5t/x4vIn51ocOZNm/YbRAc/affnrxxp+gR2/SWlN0yKqQ== +"@lerna/conventional-commits@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/conventional-commits/-/conventional-commits-5.6.2.tgz#23f1a86ab79e48609c98a572eb59a705d7f0512f" + integrity sha512-fPrJpYJhxCgY2uyOCTcAAC6+T6lUAtpEGxLbjWHWTb13oKKEygp9THoFpe6SbAD0fYMb3jeZCZCqNofM62rmuA== dependencies: - "@lerna/validation-error" "5.3.0" + "@lerna/validation-error" "5.6.2" conventional-changelog-angular "^5.0.12" conventional-changelog-core "^4.2.4" conventional-recommended-bump "^6.1.0" @@ -866,27 +811,26 @@ pify "^5.0.0" semver "^7.3.4" -"@lerna/create-symlink@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/create-symlink/-/create-symlink-5.3.0.tgz#8398ca1c099606510505ad65601b15bc4c6f0000" - integrity sha512-xIoC9m4J/u4NV/8ms4P2fiimaYgialqJvNamvMDRmgE1c3BLDSGk2nE4nVI2W5LxjgJdMTiIH9v1QpTUC9Fv+Q== +"@lerna/create-symlink@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/create-symlink/-/create-symlink-5.6.2.tgz#9bd327128e30a144ef50a45242433a2325081391" + integrity sha512-0WIs3P6ohPVh2+t5axrLZDE5Dt7fe3Kv0Auj0sBiBd6MmKZ2oS76apIl0Bspdbv8jX8+TRKGv6ib0280D0dtEw== dependencies: cmd-shim "^5.0.0" fs-extra "^9.1.0" npmlog "^6.0.2" -"@lerna/create@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/create/-/create-5.3.0.tgz#af0bd2f1da91976a91b5b8ce621b921ea3d155d0" - integrity sha512-DotTReCc3+Q9rpMA8RKAGemUK7JXT7skbxHvpqpPj7ryNkIv/dNAFC2EHglcpt9Rmyo6YbSP2zk0gfDbdiIcVA== +"@lerna/create@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/create/-/create-5.6.2.tgz#2c2e4b089cd8426cd256c6b0a0df5e676aa3503a" + integrity sha512-+Y5cMUxMNXjTTU9IHpgRYIwKo39w+blui1P+s+qYlZUSCUAew0xNpOBG8iN0Nc5X9op4U094oIdHxv7Dyz6tWQ== dependencies: - "@lerna/child-process" "5.3.0" - "@lerna/command" "5.3.0" - "@lerna/npm-conf" "5.3.0" - "@lerna/validation-error" "5.3.0" + "@lerna/child-process" "5.6.2" + "@lerna/command" "5.6.2" + "@lerna/npm-conf" "5.6.2" + "@lerna/validation-error" "5.6.2" dedent "^0.7.0" fs-extra "^9.1.0" - globby "^11.0.2" init-package-json "^3.0.2" npm-package-arg "8.1.1" p-reduce "^2.1.0" @@ -896,221 +840,220 @@ slash "^3.0.0" validate-npm-package-license "^3.0.4" validate-npm-package-name "^4.0.0" - whatwg-url "^8.4.0" yargs-parser "20.2.4" -"@lerna/describe-ref@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/describe-ref/-/describe-ref-5.3.0.tgz#5edd1d5ce314e6b51b8e2902f40dd0a7132c9daa" - integrity sha512-R+CtJcOuAF3kJ6GNQnGC3STEi+5OtpNVz2n17sAs/xqJnq79tPdzEhT+pMxB2eSEkQYlSr+cCKMpF0m/mtIPQA== +"@lerna/describe-ref@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/describe-ref/-/describe-ref-5.6.2.tgz#8beb9884b59c419c67cec935cd90c08704e4c9b0" + integrity sha512-UqU0N77aT1W8duYGir7R+Sk3jsY/c4lhcCEcnayMpFScMbAp0ETGsW04cYsHK29sgg+ZCc5zEwebBqabWhMhnA== dependencies: - "@lerna/child-process" "5.3.0" + "@lerna/child-process" "5.6.2" npmlog "^6.0.2" -"@lerna/diff@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/diff/-/diff-5.3.0.tgz#51204c112d6154becd6ffcf9320ee415a95c58bd" - integrity sha512-i6f99dtO90u1QIJEfVtKE831m4gnMHBwY+4D84GY2SJMno8uI7ZyxMRZQh1nAFtvlNozO2MgzLr1OHtNMZOIgQ== +"@lerna/diff@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/diff/-/diff-5.6.2.tgz#059f62c95e08a506574e0e66044934a395e15b11" + integrity sha512-aHKzKvUvUI8vOcshC2Za/bdz+plM3r/ycqUrPqaERzp+kc1pYHyPeXezydVdEmgmmwmyKI5hx4+2QNnzOnun2A== dependencies: - "@lerna/child-process" "5.3.0" - "@lerna/command" "5.3.0" - "@lerna/validation-error" "5.3.0" + "@lerna/child-process" "5.6.2" + "@lerna/command" "5.6.2" + "@lerna/validation-error" "5.6.2" npmlog "^6.0.2" -"@lerna/exec@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/exec/-/exec-5.3.0.tgz#c680261e484c9b3072e3c56368523d3a8cab32f5" - integrity sha512-kI/IuF1hbT+pEMZc3v4+w8BLckUIi45ipzOP0bWvXNgSKKuADAU3HLv+ifRXEjob5906C+Zc7K2IVoVS6r1TDg== - dependencies: - "@lerna/child-process" "5.3.0" - "@lerna/command" "5.3.0" - "@lerna/filter-options" "5.3.0" - "@lerna/profiler" "5.3.0" - "@lerna/run-topologically" "5.3.0" - "@lerna/validation-error" "5.3.0" +"@lerna/exec@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/exec/-/exec-5.6.2.tgz#b4edee66e26760de28bbf8472993ae8ad7508073" + integrity sha512-meZozok5stK7S0oAVn+kdbTmU+kHj9GTXjW7V8kgwG9ld+JJMTH3nKK1L3mEKyk9TFu9vFWyEOF7HNK6yEOoVg== + dependencies: + "@lerna/child-process" "5.6.2" + "@lerna/command" "5.6.2" + "@lerna/filter-options" "5.6.2" + "@lerna/profiler" "5.6.2" + "@lerna/run-topologically" "5.6.2" + "@lerna/validation-error" "5.6.2" p-map "^4.0.0" -"@lerna/filter-options@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/filter-options/-/filter-options-5.3.0.tgz#08ba418787db5ee809aecebfa4e7a4461a6a5bbb" - integrity sha512-ddgy0oDisTKIhCJ4WY5CeEhTsyrbW+zeBvZ7rVaG0oQXjSSYBried4TXRvgy67fampfHoPX+eQq5l1SYTRFPlw== +"@lerna/filter-options@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/filter-options/-/filter-options-5.6.2.tgz#0201d3aaf71eb7d7f8b1d28193218710c3220aa0" + integrity sha512-4Z0HIhPak2TabTsUqEBQaQeOqgqEt0qyskvsY0oviYvqP/nrJfJBZh4H93jIiNQF59LJCn5Ce3KJJrLExxjlzw== dependencies: - "@lerna/collect-updates" "5.3.0" - "@lerna/filter-packages" "5.3.0" + "@lerna/collect-updates" "5.6.2" + "@lerna/filter-packages" "5.6.2" dedent "^0.7.0" npmlog "^6.0.2" -"@lerna/filter-packages@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/filter-packages/-/filter-packages-5.3.0.tgz#3a5c73e01233921c50018d02809a9da9d82186db" - integrity sha512-5/2V50sQB2+JNwuCHP/UPm3y8PN2JWVY9CbNLtF3K5bymNsCkQh2KHEL9wlWZ4yfr/2ufpy4XFPaFUHNoUOGnQ== +"@lerna/filter-packages@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/filter-packages/-/filter-packages-5.6.2.tgz#1118a9318f3e08f9e21fb03d23f91e1f77f4a72a" + integrity sha512-el9V2lTEG0Bbz+Omo45hATkRVnChCTJhcTpth19cMJ6mQ4M5H4IgbWCJdFMBi/RpTnOhz9BhJxDbj95kuIvvzw== dependencies: - "@lerna/validation-error" "5.3.0" + "@lerna/validation-error" "5.6.2" multimatch "^5.0.0" npmlog "^6.0.2" -"@lerna/get-npm-exec-opts@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-5.3.0.tgz#60d4fb6d1786b051d532a2c9dc91fcac722edcfb" - integrity sha512-cYBypDo8C7f4MvVvap2nYgtk8MXAADrYU1VdECSJ3Stbe4p2vBGt8bM9xkS2uPfQFMK3YSy3YPkSZcSjVXyoGw== +"@lerna/get-npm-exec-opts@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-5.6.2.tgz#a5e1a93f62eba817961210b7be148c0768ee4eee" + integrity sha512-0RbSDJ+QC9D5UWZJh3DN7mBIU1NhBmdHOE289oHSkjDY+uEjdzMPkEUy+wZ8fCzMLFnnNQkAEqNaOAzZ7dmFLA== dependencies: npmlog "^6.0.2" -"@lerna/get-packed@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/get-packed/-/get-packed-5.3.0.tgz#e1798e1be914f5f2b5671eba4c6a7c57e983fe46" - integrity sha512-kD12w7Ko5TThuOuPF2HBLyuPsHK3oyyWyzleGBqR4DqxMtbMRgimyTQnr5o58XBOwUPCFsv1EZiqeGk+3HTGEA== +"@lerna/get-packed@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/get-packed/-/get-packed-5.6.2.tgz#cc5008008442ae00cfa5ed9484e76a44d48e37b6" + integrity sha512-pp5nNDmtrtd21aKHjwwOY5CS7XNIHxINzGa+Jholn1jMDYUtdskpN++ZqYbATGpW831++NJuiuBVyqAWi9xbXg== dependencies: fs-extra "^9.1.0" ssri "^9.0.1" tar "^6.1.0" -"@lerna/github-client@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/github-client/-/github-client-5.3.0.tgz#45b97c0daa80ea03d8cacac841ea9474c57c2b71" - integrity sha512-UqAclsWDMthmbv3Z8QE1K7D/4e93ytg31mc+nEj+UdU+xJQ0L1ypl8zWAmGNs1sFkQntIiTIB4W5zgHet5mmZw== +"@lerna/github-client@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/github-client/-/github-client-5.6.2.tgz#b40a71ddf5d40aefe178a48713aa107ef735f056" + integrity sha512-pjALazZoRZtKqfwLBwmW3HPptVhQm54PvA8s3qhCQ+3JkqrZiIFwkkxNZxs3jwzr+aaSOzfhSzCndg0urb0GXA== dependencies: - "@lerna/child-process" "5.3.0" + "@lerna/child-process" "5.6.2" "@octokit/plugin-enterprise-rest" "^6.0.1" "@octokit/rest" "^19.0.3" - git-url-parse "^12.0.0" + git-url-parse "^13.1.0" npmlog "^6.0.2" -"@lerna/gitlab-client@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/gitlab-client/-/gitlab-client-5.3.0.tgz#d24935717cd6fc2921f7fe73eac3dd70819bc4ce" - integrity sha512-otwbiaGDgvn5MGF1ypsCO48inMpdcxuiDlbxrKD6glPUwNHiGV+PU8LLCCDKimwjjQhl88ySLpL1oTm4jnZ1Aw== +"@lerna/gitlab-client@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/gitlab-client/-/gitlab-client-5.6.2.tgz#3bb3c350d28f38f719ddbba083ca28dbd353494e" + integrity sha512-TInJmbrsmYIwUyrRxytjO82KjJbRwm67F7LoZs1shAq6rMvNqi4NxSY9j+hT/939alFmEq1zssoy/caeLXHRfQ== dependencies: node-fetch "^2.6.1" npmlog "^6.0.2" - whatwg-url "^8.4.0" -"@lerna/global-options@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/global-options/-/global-options-5.3.0.tgz#d244c6ad7d117433370818e1bbfd60cbafffd243" - integrity sha512-iEoFrDSU+KtfcB+lHW5grjg3VkEqzZNTUnWnE1FCBBwj9tSLOHjgKGtWWjIQtBUJ+qcLBbusap9Stqzr7UPYpQ== +"@lerna/global-options@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/global-options/-/global-options-5.6.2.tgz#30bec81cdb4ac0bb47588e4a502ce908a982ff7c" + integrity sha512-kaKELURXTlczthNJskdOvh6GGMyt24qat0xMoJZ8plYMdofJfhz24h1OFcvB/EwCUwP/XV1+ohE5P+vdktbrEg== -"@lerna/has-npm-version@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/has-npm-version/-/has-npm-version-5.3.0.tgz#0834cc58f1e7b9515227d79f8ebaa5af52b71bcf" - integrity sha512-A/bK8e+QP/VMqZkq1wZbyOzMz/AY92tAVsBOQ5Yw2zqshdMVj99st3YHLOqJf/HTEzQo27GGI/ajmcltHS2l6A== +"@lerna/has-npm-version@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/has-npm-version/-/has-npm-version-5.6.2.tgz#5359e9870941f66fb3b859995120801800880944" + integrity sha512-kXCnSzffmTWsaK0ol30coyCfO8WH26HFbmJjRBzKv7VGkuAIcB6gX2gqRRgNLLlvI+Yrp+JSlpVNVnu15SEH2g== dependencies: - "@lerna/child-process" "5.3.0" + "@lerna/child-process" "5.6.2" semver "^7.3.4" -"@lerna/import@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/import/-/import-5.3.0.tgz#9f020c3a8f486afc3ef839e6a59079411178e98c" - integrity sha512-KjVT9oFNSp1JLdrS1LSXjDcLiu2TMSfy6tpmhF9Zxo7oKB21SgWmXVV9rcWDueW2RIxNXDeVUG0NVNj2BRGeEQ== - dependencies: - "@lerna/child-process" "5.3.0" - "@lerna/command" "5.3.0" - "@lerna/prompt" "5.3.0" - "@lerna/pulse-till-done" "5.3.0" - "@lerna/validation-error" "5.3.0" +"@lerna/import@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/import/-/import-5.6.2.tgz#7be2321fbc41fa0f7fdd233eb62571e8418fcb75" + integrity sha512-xQUE49mtcP0z3KUdXBsyvp8rGDz6phuYUoQbhcFRJ7WPcQKzMvtm0XYrER6c2YWEX7QOuDac6tU82P8zTrTBaA== + dependencies: + "@lerna/child-process" "5.6.2" + "@lerna/command" "5.6.2" + "@lerna/prompt" "5.6.2" + "@lerna/pulse-till-done" "5.6.2" + "@lerna/validation-error" "5.6.2" dedent "^0.7.0" fs-extra "^9.1.0" p-map-series "^2.1.0" -"@lerna/info@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/info/-/info-5.3.0.tgz#7e3fe690df5bf6b6f01414561b3b31cb01528ece" - integrity sha512-pyeZSM/PIpBHCXdHPrbh6sPZlngXUxhTVFb0VaIjQ5Ms585xi15s1UQDO3FvzqdyMyalx0QGzCJbNx5XeoCejg== +"@lerna/info@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/info/-/info-5.6.2.tgz#82280cdae6e08aab5b3017c359f6e496116a62ae" + integrity sha512-MPjY5Olj+fiZHgfEdwXUFRKamdEuLr9Ob/qut8JsB/oQSQ4ALdQfnrOcMT8lJIcC2R67EA5yav2lHPBIkezm8A== dependencies: - "@lerna/command" "5.3.0" - "@lerna/output" "5.3.0" + "@lerna/command" "5.6.2" + "@lerna/output" "5.6.2" envinfo "^7.7.4" -"@lerna/init@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/init/-/init-5.3.0.tgz#e1953858db749a48f7b7ebb66bf334b69db89888" - integrity sha512-y46lzEtgMdEseTJGQQqYZOjqqd7iN+e14vFh/9q5h62V4Y8nlUJRzovVo8JSeaGwKLB0B3dq3BuUn0PNywMhpA== +"@lerna/init@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/init/-/init-5.6.2.tgz#8f92868c3f9081245f5a8e0b94ce6b5979b8541e" + integrity sha512-ahU3/lgF+J8kdJAQysihFJROHthkIDXfHmvhw7AYnzf94HjxGNXj7nz6i3At1/dM/1nQhR+4/uNR1/OU4tTYYQ== dependencies: - "@lerna/child-process" "5.3.0" - "@lerna/command" "5.3.0" - "@lerna/project" "5.3.0" + "@lerna/child-process" "5.6.2" + "@lerna/command" "5.6.2" + "@lerna/project" "5.6.2" fs-extra "^9.1.0" p-map "^4.0.0" write-json-file "^4.3.0" -"@lerna/link@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/link/-/link-5.3.0.tgz#3ff49118d91c0322c47e0eb7c3fc25fc16407212" - integrity sha512-+QBwnGg3S8Zk8M8G5CA4kmGq92rkEMbmWJXaxie3jQayp+GXgSlLs6R4jwSOZlztY6xR3WawMI9sHJ0Vdu+g7w== +"@lerna/link@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/link/-/link-5.6.2.tgz#6af5addff89cd455c1837a47a36f430a2c6ae6a5" + integrity sha512-hXxQ4R3z6rUF1v2x62oIzLyeHL96u7ZBhxqYMJrm763D1VMSDcHKF9CjJfc6J9vH5Z2ZbL6CQg50Hw5mUpJbjg== dependencies: - "@lerna/command" "5.3.0" - "@lerna/package-graph" "5.3.0" - "@lerna/symlink-dependencies" "5.3.0" + "@lerna/command" "5.6.2" + "@lerna/package-graph" "5.6.2" + "@lerna/symlink-dependencies" "5.6.2" + "@lerna/validation-error" "5.6.2" p-map "^4.0.0" slash "^3.0.0" -"@lerna/list@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/list/-/list-5.3.0.tgz#c61d451ffe6054ddf5cbe5c13aba2f4b152e80c2" - integrity sha512-5RJvle3m4l2H0UmKNlwS8h2OIlNGsNTKPC4DYrJYt0+fhgzf5SEV1QKw+fuUqe3F8MziIkSGQB52HsjwPE6AWQ== +"@lerna/list@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/list/-/list-5.6.2.tgz#5fdf8c678891eacef1d90afb84fb461deb6bb662" + integrity sha512-WjE5O2tQ3TcS+8LqXUaxi0YdldhxUhNihT5+Gg4vzGdIlrPDioO50Zjo9d8jOU7i3LMIk6EzCma0sZr2CVfEGg== dependencies: - "@lerna/command" "5.3.0" - "@lerna/filter-options" "5.3.0" - "@lerna/listable" "5.3.0" - "@lerna/output" "5.3.0" + "@lerna/command" "5.6.2" + "@lerna/filter-options" "5.6.2" + "@lerna/listable" "5.6.2" + "@lerna/output" "5.6.2" -"@lerna/listable@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/listable/-/listable-5.3.0.tgz#8817193159d46fe92ff28656791b04399812c67f" - integrity sha512-RdmeV9mDeuBOgVOlF/KNH/qttyiYwHbeqHiMAw9s9AfMo/Fz3iDZaTGZuruMm84TZSkKxI7m5mjTlC0djsyKog== +"@lerna/listable@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/listable/-/listable-5.6.2.tgz#1a35e8da081f2dc286647cbf4a4a7fb3c7fb1102" + integrity sha512-8Yp49BwkY/5XqVru38Zko+6Wj/sgbwzJfIGEPy3Qu575r1NA/b9eI1gX22aMsEeXUeGOybR7nWT5ewnPQHjqvA== dependencies: - "@lerna/query-graph" "5.3.0" + "@lerna/query-graph" "5.6.2" chalk "^4.1.0" columnify "^1.6.0" -"@lerna/log-packed@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/log-packed/-/log-packed-5.3.0.tgz#93ee09897f147da67beaa41ba2d86a642c53be4e" - integrity sha512-tDuOot3vSOUSP7fNNej8UM0fah5oy8mKXe026grt4J0OP4L3rhSWxhfrDBQ3Ylh2dAjgHzscUf/vpnNC9HnhOQ== +"@lerna/log-packed@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/log-packed/-/log-packed-5.6.2.tgz#05d26f038ce64e8ce8395c1745dfeb7589f89790" + integrity sha512-O9GODG7tMtWk+2fufn2MOkIDBYMRoKBhYMHshO5Aw/VIsH76DIxpX1koMzWfUngM/C70R4uNAKcVWineX4qzIw== dependencies: byte-size "^7.0.0" columnify "^1.6.0" has-unicode "^2.0.1" npmlog "^6.0.2" -"@lerna/npm-conf@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-conf/-/npm-conf-5.3.0.tgz#41b87554fba6343aeb16012d87080b85065a7073" - integrity sha512-ejlypb90tvIsKUCb0fcOKt7wcPEjLdVK2zfbNs0M+UlRDLyRVOHUVdelJ15cRDNjQHzhBo2HBUKn5Fmm/2pcmg== +"@lerna/npm-conf@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/npm-conf/-/npm-conf-5.6.2.tgz#3b72fc528c8a1cd0acc9b277749a6153bd8de083" + integrity sha512-gWDPhw1wjXYXphk/PAghTLexO5T6abVFhXb+KOMCeem366mY0F5bM88PiorL73aErTNUoR8n+V4X29NTZzDZpQ== dependencies: config-chain "^1.1.12" pify "^5.0.0" -"@lerna/npm-dist-tag@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-dist-tag/-/npm-dist-tag-5.3.0.tgz#70c15da5d1f001e6785cf0f89b25eba4cceb2694" - integrity sha512-OPahPk9QLXQXFgtrWm22NNxajVYKavCyTh8ijMwXTGXXbMJAw+PVjokfrUuEtg7FQi+kfJSrYAcJAxxfQq2eiA== +"@lerna/npm-dist-tag@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/npm-dist-tag/-/npm-dist-tag-5.6.2.tgz#6115aa4b005b57520d76428926ee7d12030f5e53" + integrity sha512-t2RmxV6Eog4acXkUI+EzWuYVbeVVY139pANIWS9qtdajfgp4GVXZi1S8mAIb70yeHdNpCp1mhK0xpCrFH9LvGQ== dependencies: - "@lerna/otplease" "5.3.0" + "@lerna/otplease" "5.6.2" npm-package-arg "8.1.1" npm-registry-fetch "^13.3.0" npmlog "^6.0.2" -"@lerna/npm-install@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-install/-/npm-install-5.3.0.tgz#41d76cb4b74679bd41015b460573331e2976632c" - integrity sha512-scbWo8nW+P9KfitWG3y7Ep97dOs64ECfz9xfqtjagEXKYBPxG3skvwwljkfNnuxrCNs71JVD+imvcewHzih28g== +"@lerna/npm-install@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/npm-install/-/npm-install-5.6.2.tgz#d5bd1e10c1c31f69a9ca5351b0cbe72dbc288dc2" + integrity sha512-AT226zdEo+uGENd37jwYgdALKJAIJK4pNOfmXWZWzVb9oMOr8I2YSjPYvSYUNG7gOo2YJQU8x5Zd7OShv2924Q== dependencies: - "@lerna/child-process" "5.3.0" - "@lerna/get-npm-exec-opts" "5.3.0" + "@lerna/child-process" "5.6.2" + "@lerna/get-npm-exec-opts" "5.6.2" fs-extra "^9.1.0" npm-package-arg "8.1.1" npmlog "^6.0.2" signal-exit "^3.0.3" write-pkg "^4.0.0" -"@lerna/npm-publish@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-publish/-/npm-publish-5.3.0.tgz#b53f47d441a2f776ded6af045a02f42cf06f1f26" - integrity sha512-n+ocN1Dxrs6AmrSNqZl57cwhP4/VjQXdEI+QYauNnErNjMQW8Wt+tNaTlVAhZ1DnorwAo86o2uzFF/BgdUqh9A== +"@lerna/npm-publish@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/npm-publish/-/npm-publish-5.6.2.tgz#4e5e225b47589a7f8f96b7eee68b547e8ce432a2" + integrity sha512-ldSyewCfv9fAeC5xNjL0HKGSUxcC048EJoe/B+KRUmd+IPidvZxMEzRu08lSC/q3V9YeUv9ZvRnxATXOM8CffA== dependencies: - "@lerna/otplease" "5.3.0" - "@lerna/run-lifecycle" "5.3.0" + "@lerna/otplease" "5.6.2" + "@lerna/run-lifecycle" "5.6.2" fs-extra "^9.1.0" libnpmpublish "^6.0.4" npm-package-arg "8.1.1" @@ -1118,128 +1061,129 @@ pify "^5.0.0" read-package-json "^5.0.1" -"@lerna/npm-run-script@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-run-script/-/npm-run-script-5.3.0.tgz#28745ec962398ab864837155e9b0732aa119071f" - integrity sha512-2cLR1YdzeMjaMKgDuwHE+iZgVPt+Ttzb3/wFtp7Mw9TlKmNIdbHdrnfl12ABz5knPC+62CCNjB/gznfLndPp2w== +"@lerna/npm-run-script@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/npm-run-script/-/npm-run-script-5.6.2.tgz#66e3391ebdd6136312277be37a1b62ce48c12abf" + integrity sha512-MOQoWNcAyJivM8SYp0zELM7vg/Dj07j4YMdxZkey+S1UO0T4/vKBxb575o16hH4WeNzC3Pd7WBlb7C8dLOfNwQ== dependencies: - "@lerna/child-process" "5.3.0" - "@lerna/get-npm-exec-opts" "5.3.0" + "@lerna/child-process" "5.6.2" + "@lerna/get-npm-exec-opts" "5.6.2" npmlog "^6.0.2" -"@lerna/otplease@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/otplease/-/otplease-5.3.0.tgz#96b4bd0c31387811684fdedc33465a548927fddf" - integrity sha512-Xpju2VC5TiycmBP/mdp9hRstkH2MLm8/7o2NotVTCJwASWdKphRMqezhh5BX0E9i6VyrjzmTqSYEh9FNZZ9MwQ== +"@lerna/otplease@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/otplease/-/otplease-5.6.2.tgz#a94e4daf9d3d42bfc0366a6889b8809ed32dbdd0" + integrity sha512-dGS4lzkEQVTMAgji82jp8RK6UK32wlzrBAO4P4iiVHCUTuwNLsY9oeBXvVXSMrosJnl6Hbe0NOvi43mqSucGoA== dependencies: - "@lerna/prompt" "5.3.0" + "@lerna/prompt" "5.6.2" -"@lerna/output@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/output/-/output-5.3.0.tgz#bfcf7d6ada32d3b94655c39441f6aba36fc60012" - integrity sha512-fISmHDu/9PKInFmT5NXsbh8cR6aE6SUXWrteXJ6PBYK30s0f/pVcfswb9VccX0Yea8HmqMQgCHWUWifkZeXiRA== +"@lerna/output@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/output/-/output-5.6.2.tgz#fa97315d16cfe005a2891a3fc98f6f4fd3f518ed" + integrity sha512-++d+bfOQwY66yo7q1XuAvRcqtRHCG45e/awP5xQomTZ6R1rhWiZ3whWdc9Z6lF7+UtBB9toSYYffKU/xc3L0yQ== dependencies: npmlog "^6.0.2" -"@lerna/pack-directory@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/pack-directory/-/pack-directory-5.3.0.tgz#043c45b5e825dc002c3de21f00be3b192bd12b0d" - integrity sha512-dTGMUB6/GjExhmLZ8yeFaRKJuSm6M/IsfxSJdL4gFPLigUIAS4XhzXS3KnL0+Ef1ue1yaTlAE9c/czfkE0pc/w== +"@lerna/pack-directory@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/pack-directory/-/pack-directory-5.6.2.tgz#ced0287d13d8575fe928ad7d9ad92dc6554cc86d" + integrity sha512-w5Jk5fo+HkN4Le7WMOudTcmAymcf0xPd302TqAQncjXpk0cb8tZbj+5bbNHsGb58GRjOIm5icQbHXooQUxbHhA== dependencies: - "@lerna/get-packed" "5.3.0" - "@lerna/package" "5.3.0" - "@lerna/run-lifecycle" "5.3.0" - "@lerna/temp-write" "5.3.0" + "@lerna/get-packed" "5.6.2" + "@lerna/package" "5.6.2" + "@lerna/run-lifecycle" "5.6.2" + "@lerna/temp-write" "5.6.2" npm-packlist "^5.1.1" npmlog "^6.0.2" tar "^6.1.0" -"@lerna/package-graph@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/package-graph/-/package-graph-5.3.0.tgz#6a8e87ce55628d2daef31f317d7916fc05274210" - integrity sha512-UEHY7l/yknwFvQgo0RifyY+B5QdzuFutLZYSN1BMmyWttOZD9rkM263qnLNGTZ2BUE4dXDwwwOHuhLvi+xDRsA== +"@lerna/package-graph@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/package-graph/-/package-graph-5.6.2.tgz#cb0a70b83afc418c5b5363bb96746d501decdbeb" + integrity sha512-TmL61qBBvA3Tc4qICDirZzdFFwWOA6qicIXUruLiE2PblRowRmCO1bKrrP6XbDOspzwrkPef6N2F2/5gHQAnkQ== dependencies: - "@lerna/prerelease-id-from-version" "5.3.0" - "@lerna/validation-error" "5.3.0" + "@lerna/prerelease-id-from-version" "5.6.2" + "@lerna/validation-error" "5.6.2" npm-package-arg "8.1.1" npmlog "^6.0.2" semver "^7.3.4" -"@lerna/package@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/package/-/package-5.3.0.tgz#8985035bfdaa91b99b855b9d1abb86aa9cc2cc74" - integrity sha512-hsB03miiaNdvZ/UGzl0sVqxVat5x33EG9JiYgIoFqzroQPrG+WShmX3ctuO06TY1pxb4iNuHLPIbQomHEzzj8w== +"@lerna/package@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/package/-/package-5.6.2.tgz#da73b350693fdd4154cf5b19799bfaadff57442e" + integrity sha512-LaOC8moyM5J9WnRiWZkedjOninSclBOJyPqhif6mHb2kCFX6jAroNYzE8KM4cphu8CunHuhI6Ixzswtv+Dultw== dependencies: load-json-file "^6.2.0" npm-package-arg "8.1.1" write-pkg "^4.0.0" -"@lerna/prerelease-id-from-version@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.3.0.tgz#dc806da65600458c5567728e18a1b29053d9fd10" - integrity sha512-o1wsLns6hFTsmk4iqTRJNWLnFzlBBwgu17hp8T2iU4U7LUlDT2ZSKV3smGAU6GfrwX3MAp4LZ5syxgjFjrUOnw== +"@lerna/prerelease-id-from-version@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz#63002662024a261310c6fbf01a50cb5f50569ca8" + integrity sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA== dependencies: semver "^7.3.4" -"@lerna/profiler@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/profiler/-/profiler-5.3.0.tgz#42db1b4e62de7a030db3af86175ebf16f7d92533" - integrity sha512-LEZYca29EPgZR0q5E+7CJkn25Cw3OxNMQJU/CVn/HGeoWYWOpoDxujrZBl8is2bw06LHXvRbVXEUATLc+ACbqQ== +"@lerna/profiler@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/profiler/-/profiler-5.6.2.tgz#5bfd52fb666ad0506cac3b8d2839e904d0acf90a" + integrity sha512-okwkagP5zyRIOYTceu/9/esW7UZFt7lyL6q6ZgpSG3TYC5Ay+FXLtS6Xiha/FQdVdumFqKULDWTGovzUlxcwaw== dependencies: fs-extra "^9.1.0" npmlog "^6.0.2" upath "^2.0.1" -"@lerna/project@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/project/-/project-5.3.0.tgz#1727a81f4b945b491dfed5d1a0ed2ea3dc3329cc" - integrity sha512-InhIo9uwT1yod72ai5SKseJSUk8KkqG6COmwp1/45vibbawb7ZLbokpns7n46A0NdGNlmwJolamybYOuyumejw== +"@lerna/project@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/project/-/project-5.6.2.tgz#a893851cdceeace36d30fdfdbc2da9159a9e2041" + integrity sha512-kPIMcIy/0DVWM91FPMMFmXyAnCuuLm3NdhnA8NusE//VuY9wC6QC/3OwuCY39b2dbko/fPZheqKeAZkkMH6sGg== dependencies: - "@lerna/package" "5.3.0" - "@lerna/validation-error" "5.3.0" + "@lerna/package" "5.6.2" + "@lerna/validation-error" "5.6.2" cosmiconfig "^7.0.0" dedent "^0.7.0" dot-prop "^6.0.1" glob-parent "^5.1.1" globby "^11.0.2" + js-yaml "^4.1.0" load-json-file "^6.2.0" npmlog "^6.0.2" p-map "^4.0.0" resolve-from "^5.0.0" write-json-file "^4.3.0" -"@lerna/prompt@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/prompt/-/prompt-5.3.0.tgz#0565cdbb092e71d8e2ce4a18a8c44db3c5ff7c17" - integrity sha512-4bIusBdjpw665CJtFsVsaB55hLHnmKnrcOaRjna6N/MdJDl8Th6X4EM4rrfXTX/uUNR3XcV91lYqcLuLmrpm5w== +"@lerna/prompt@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/prompt/-/prompt-5.6.2.tgz#7ea10fd3543aced0bf5521741808d86ffcf4b320" + integrity sha512-4hTNmVYADEr0GJTMegWV+GW6n+dzKx1vN9v2ISqyle283Myv930WxuyO0PeYGqTrkneJsyPreCMovuEGCvZ0iQ== dependencies: inquirer "^8.2.4" npmlog "^6.0.2" -"@lerna/publish@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/publish/-/publish-5.3.0.tgz#136af3be2c0779a9994aa6fbc0d24fb15438c68e" - integrity sha512-T8T1BQdI+NnlVARKwIXzILknEuiQlZToBsDpuX06M7+45t/pp9Z+u6pVt3rrqwiUPZ/dpoZzYKI31YdNJtGMcQ== - dependencies: - "@lerna/check-working-tree" "5.3.0" - "@lerna/child-process" "5.3.0" - "@lerna/collect-updates" "5.3.0" - "@lerna/command" "5.3.0" - "@lerna/describe-ref" "5.3.0" - "@lerna/log-packed" "5.3.0" - "@lerna/npm-conf" "5.3.0" - "@lerna/npm-dist-tag" "5.3.0" - "@lerna/npm-publish" "5.3.0" - "@lerna/otplease" "5.3.0" - "@lerna/output" "5.3.0" - "@lerna/pack-directory" "5.3.0" - "@lerna/prerelease-id-from-version" "5.3.0" - "@lerna/prompt" "5.3.0" - "@lerna/pulse-till-done" "5.3.0" - "@lerna/run-lifecycle" "5.3.0" - "@lerna/run-topologically" "5.3.0" - "@lerna/validation-error" "5.3.0" - "@lerna/version" "5.3.0" +"@lerna/publish@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/publish/-/publish-5.6.2.tgz#c8a26610c4fb2c7c5a232e04852bf545b242ee65" + integrity sha512-QaW0GjMJMuWlRNjeDCjmY/vjriGSWgkLS23yu8VKNtV5U3dt5yIKA3DNGV3HgZACuu45kQxzMDsfLzgzbGNtYA== + dependencies: + "@lerna/check-working-tree" "5.6.2" + "@lerna/child-process" "5.6.2" + "@lerna/collect-updates" "5.6.2" + "@lerna/command" "5.6.2" + "@lerna/describe-ref" "5.6.2" + "@lerna/log-packed" "5.6.2" + "@lerna/npm-conf" "5.6.2" + "@lerna/npm-dist-tag" "5.6.2" + "@lerna/npm-publish" "5.6.2" + "@lerna/otplease" "5.6.2" + "@lerna/output" "5.6.2" + "@lerna/pack-directory" "5.6.2" + "@lerna/prerelease-id-from-version" "5.6.2" + "@lerna/prompt" "5.6.2" + "@lerna/pulse-till-done" "5.6.2" + "@lerna/run-lifecycle" "5.6.2" + "@lerna/run-topologically" "5.6.2" + "@lerna/validation-error" "5.6.2" + "@lerna/version" "5.6.2" fs-extra "^9.1.0" libnpmaccess "^6.0.3" npm-package-arg "8.1.1" @@ -1250,98 +1194,99 @@ pacote "^13.6.1" semver "^7.3.4" -"@lerna/pulse-till-done@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/pulse-till-done/-/pulse-till-done-5.3.0.tgz#6342a2ceb915597e909fea30769d0afc55e70524" - integrity sha512-yNvSuPLT1ZTtD2LMVOmiDhw4+9qkyf6xCpfxiUp4cGEN+qIuazWB5JicKLE49o27DBdaG8Ao4lAlb16x/gNrwQ== +"@lerna/pulse-till-done@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/pulse-till-done/-/pulse-till-done-5.6.2.tgz#061c4ba2894fa08333fe4502299f9f9f24bdb91c" + integrity sha512-eA/X1RCxU5YGMNZmbgPi+Kyfx1Q3bn4P9jo/LZy+/NRRr1po3ASXP2GJZ1auBh/9A2ELDvvKTOXCVHqczKC6rA== dependencies: npmlog "^6.0.2" -"@lerna/query-graph@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/query-graph/-/query-graph-5.3.0.tgz#596f7827b7d0ac9d1217ac5ab6d9e62ba5388a2c" - integrity sha512-t99lNj97/Vilp5Js1Be7MoyaZ5U0fbOFh0E7lnTfSLvZhTkPMK6xLvAx2M3NQqhwYCQjTFDuf9ozQ3HQtYZAmA== +"@lerna/query-graph@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/query-graph/-/query-graph-5.6.2.tgz#c507e9a9cb613c6d4d163d7d115a52ef8c1a9d3f" + integrity sha512-KRngr96yBP8XYDi9/U62fnGO+ZXqm04Qk6a2HtoTr/ha8QvO1s7Tgm0xs/G7qWXDQHZgunWIbmK/LhxM7eFQrw== dependencies: - "@lerna/package-graph" "5.3.0" + "@lerna/package-graph" "5.6.2" -"@lerna/resolve-symlink@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/resolve-symlink/-/resolve-symlink-5.3.0.tgz#6150b65905910fc34fce6c781516b89c853c394e" - integrity sha512-zKI7rV5FzzlMBfi6kjDS0ulzcdDTORvdOJ/+CHU5C2h+v+P64Nk2VhZZNCCBDoO/l4GRhgehZOB70GIamO1TSw== +"@lerna/resolve-symlink@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/resolve-symlink/-/resolve-symlink-5.6.2.tgz#51b6f4bbee36a1dcbf52634d05dcd08bb286f2cf" + integrity sha512-PDQy+7M8JEFtwIVHJgWvSxHkxJf9zXCENkvIWDB+SsoDPhw9+caewt46bTeP5iGm9pOMu3oZukaWo/TvF7sNjg== dependencies: fs-extra "^9.1.0" npmlog "^6.0.2" read-cmd-shim "^3.0.0" -"@lerna/rimraf-dir@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/rimraf-dir/-/rimraf-dir-5.3.0.tgz#765855a30d68f62b1af993e644e4d5f4224bfdb4" - integrity sha512-/QJebh0tSY3LjgEyOo+6NH/b7ZNw9IpjqiDtvnLixjtdfkgli1OKOoZTa4KrO0mJoqMRq4yAa98cjpIzyKqCqw== +"@lerna/rimraf-dir@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/rimraf-dir/-/rimraf-dir-5.6.2.tgz#219c51a46c27b94789d683fc0424539f14505fea" + integrity sha512-jgEfzz7uBUiQKteq3G8MtJiA2D2VoKmZSSY3VSiW/tPOSXYxxSHxEsClQdCeNa6+sYrDNDT8fP6MJ3lPLjDeLA== dependencies: - "@lerna/child-process" "5.3.0" + "@lerna/child-process" "5.6.2" npmlog "^6.0.2" path-exists "^4.0.0" rimraf "^3.0.2" -"@lerna/run-lifecycle@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/run-lifecycle/-/run-lifecycle-5.3.0.tgz#e884e4c5503bc7431ddec2bb457d74f0817312ad" - integrity sha512-EuBCGwm2PLgkebfyqo3yNkwfSb1EzHeo3lA8t4yld6LXWkgUPBFhc7RwRc6TsQOpjpfFvDSGoI282R01o0jPVQ== +"@lerna/run-lifecycle@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/run-lifecycle/-/run-lifecycle-5.6.2.tgz#b6954f334b40ca80caeb9e0cb7ca936222f39915" + integrity sha512-u9gGgq/50Fm8dvfcc/TSHOCAQvzLD7poVanDMhHYWOAqRDnellJEEmA1K/Yka4vZmySrzluahkry9G6jcREt+g== dependencies: - "@lerna/npm-conf" "5.3.0" + "@lerna/npm-conf" "5.6.2" "@npmcli/run-script" "^4.1.7" npmlog "^6.0.2" p-queue "^6.6.2" -"@lerna/run-topologically@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/run-topologically/-/run-topologically-5.3.0.tgz#4080a499d73c0e592331e55b219ea46a4485958f" - integrity sha512-WiFF2EiwLjAguKs0lEmcukTL7WhuWFwxNprrGWFxEkBhlGdMFk18n8BaZN8FO26xqzztzuPzSx1re/f/dEEAPg== +"@lerna/run-topologically@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/run-topologically/-/run-topologically-5.6.2.tgz#ef00aa6751b4164ae4825244917cdd4bc2562501" + integrity sha512-QQ/jGOIsVvUg3izShWsd67RlWYh9UOH2yw97Ol1zySX9+JspCMVQrn9eKq1Pk8twQOFhT87LpT/aaxbTBgREPw== dependencies: - "@lerna/query-graph" "5.3.0" + "@lerna/query-graph" "5.6.2" p-queue "^6.6.2" -"@lerna/run@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/run/-/run-5.3.0.tgz#628395f0aaf28714d002cceeb96d4a3903965043" - integrity sha512-KwoKTj1w71OmUHONNYhZME+tr5lk9Q4f+3LUr2WtWZRuOAGO5ZCRrcZc+N4Ib7zno89Ub6Ovz51fcjwltLh72w== - dependencies: - "@lerna/command" "5.3.0" - "@lerna/filter-options" "5.3.0" - "@lerna/npm-run-script" "5.3.0" - "@lerna/output" "5.3.0" - "@lerna/profiler" "5.3.0" - "@lerna/run-topologically" "5.3.0" - "@lerna/timer" "5.3.0" - "@lerna/validation-error" "5.3.0" +"@lerna/run@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/run/-/run-5.6.2.tgz#a964110d2fd13e4a3fe0fb4d752d0497651b26cb" + integrity sha512-c2kJxdFrNg5KOkrhmgwKKUOsfSrGNlFCe26EttufOJ3xfY0VnXlEw9rHOkTgwtu7969rfCdyaVP1qckMrF1Dgw== + dependencies: + "@lerna/command" "5.6.2" + "@lerna/filter-options" "5.6.2" + "@lerna/npm-run-script" "5.6.2" + "@lerna/output" "5.6.2" + "@lerna/profiler" "5.6.2" + "@lerna/run-topologically" "5.6.2" + "@lerna/timer" "5.6.2" + "@lerna/validation-error" "5.6.2" + fs-extra "^9.1.0" p-map "^4.0.0" -"@lerna/symlink-binary@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/symlink-binary/-/symlink-binary-5.3.0.tgz#21aeeff1ed8c8b611d1c722292c31d8344f34262" - integrity sha512-dIATASuGS6y512AGjacOoTpkFDPsKlhggjzL3KLdSNmxV3288nUqaFBuA7rTnnMNnBQ7jVuE1JKJupZnzPN0cA== +"@lerna/symlink-binary@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/symlink-binary/-/symlink-binary-5.6.2.tgz#f8c68273f8a4f382bc0420593815dc13027f245a" + integrity sha512-Cth+miwYyO81WAmrQbPBrLHuF+F0UUc0el5kRXLH6j5zzaRS3kMM68r40M7MmfH8m3GPi7691UARoWFEotW5jw== dependencies: - "@lerna/create-symlink" "5.3.0" - "@lerna/package" "5.3.0" + "@lerna/create-symlink" "5.6.2" + "@lerna/package" "5.6.2" fs-extra "^9.1.0" p-map "^4.0.0" -"@lerna/symlink-dependencies@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/symlink-dependencies/-/symlink-dependencies-5.3.0.tgz#ece40a7767d946c5438563fe60579418acd01768" - integrity sha512-qkq4YT/Bdrb3W22ve+d2Gy3hRTrtT/zBhjKTCukEpYsFJLwSjZ4z5vbv6J15/j6PN1Km9oTRp6vBYmdjAuARQQ== +"@lerna/symlink-dependencies@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/symlink-dependencies/-/symlink-dependencies-5.6.2.tgz#263866a869c253db805a9a385741e8919b0aa341" + integrity sha512-dUVNQLEcjVOIQiT9OlSAKt0ykjyJPy8l9i4NJDe2/0XYaUjo8PWsxJ0vrutz27jzi2aZUy07ASmowQZEmnLHAw== dependencies: - "@lerna/create-symlink" "5.3.0" - "@lerna/resolve-symlink" "5.3.0" - "@lerna/symlink-binary" "5.3.0" + "@lerna/create-symlink" "5.6.2" + "@lerna/resolve-symlink" "5.6.2" + "@lerna/symlink-binary" "5.6.2" fs-extra "^9.1.0" p-map "^4.0.0" p-map-series "^2.1.0" -"@lerna/temp-write@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/temp-write/-/temp-write-5.3.0.tgz#6c926ad21c6b1932ead202e735d3cc8a5322e4e6" - integrity sha512-AhC5Q+tV0yebEc1P2jsB4apQzztW8dgdLLc1G1Pkt46l5vezRGhZmsj+iUyCsVjpdUSO/UcAq1DbI2Xzhf5arg== +"@lerna/temp-write@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/temp-write/-/temp-write-5.6.2.tgz#724fcadfe12bfaa723c1ea0fbc14804653816db0" + integrity sha512-S5ZNVTurSwWBmc9kh5alfSjmO3+BnRT6shYtOlmVIUYqWeYVYA5C1Htj322bbU4CSNCMFK6NQl4qGKL17HMuig== dependencies: graceful-fs "^4.1.15" is-stream "^2.0.0" @@ -1349,37 +1294,38 @@ temp-dir "^1.0.0" uuid "^8.3.2" -"@lerna/timer@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/timer/-/timer-5.3.0.tgz#b3da6c71bb37eb313cf30d333eb7f0d841976e55" - integrity sha512-IeDjj1gJtbUPKl2ebpiml9u4k2kRqYF1Dbs6JuWpeC7lGxAx3JcUmkNH2RQ1BYTxk5xc9FKlgNMrZQwhq2K1Ow== +"@lerna/timer@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/timer/-/timer-5.6.2.tgz#57de5dde716539c699f295b8a8c182dd41801b2e" + integrity sha512-AjMOiLc2B+5Nzdd9hNORetAdZ/WK8YNGX/+2ypzM68TMAPfIT5C40hMlSva9Yg4RsBz22REopXgM5s2zQd5ZQA== -"@lerna/validation-error@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/validation-error/-/validation-error-5.3.0.tgz#21c2054079ab997cd9ec8fa6fde5685d5fda68a9" - integrity sha512-GVvnTxx+CNFjXCiJahAu2c/pP2R3DhGuQp4CJUyKegnzGaWK0h5PhlwRL7/LbDMPLh2zLobPOVr9kTOjwv76Nw== +"@lerna/validation-error@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/validation-error/-/validation-error-5.6.2.tgz#75310749d94395f009c67a8fd47e146a86ce2943" + integrity sha512-4WlDUHaa+RSJNyJRtX3gVIAPVzjZD2tle8AJ0ZYBfdZnZmG0VlB2pD1FIbOQPK8sY2h5m0cHLRvfLoLncqHvdQ== dependencies: npmlog "^6.0.2" -"@lerna/version@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/version/-/version-5.3.0.tgz#011d7e1fd6f286186c6c216737249fccedd8b2df" - integrity sha512-QOQSAdpeP66oQQ20nNZ4NhJS5NtZZDGyz36kP/4BeqjGK6QgtrEmto4+vmWj49w3VJUIXnrqAKHiPkhFUmJm5Q== - dependencies: - "@lerna/check-working-tree" "5.3.0" - "@lerna/child-process" "5.3.0" - "@lerna/collect-updates" "5.3.0" - "@lerna/command" "5.3.0" - "@lerna/conventional-commits" "5.3.0" - "@lerna/github-client" "5.3.0" - "@lerna/gitlab-client" "5.3.0" - "@lerna/output" "5.3.0" - "@lerna/prerelease-id-from-version" "5.3.0" - "@lerna/prompt" "5.3.0" - "@lerna/run-lifecycle" "5.3.0" - "@lerna/run-topologically" "5.3.0" - "@lerna/temp-write" "5.3.0" - "@lerna/validation-error" "5.3.0" +"@lerna/version@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/version/-/version-5.6.2.tgz#211ed1c0af3be0bb6bf6f79ef0d3e8daa1266ff0" + integrity sha512-odNSR2rTbHW++xMZSQKu/F6Syrd/sUvwDLPaMKktoOSPKmycHt/eWcuQQyACdtc43Iqeu4uQd7PCLsniqOVFrw== + dependencies: + "@lerna/check-working-tree" "5.6.2" + "@lerna/child-process" "5.6.2" + "@lerna/collect-updates" "5.6.2" + "@lerna/command" "5.6.2" + "@lerna/conventional-commits" "5.6.2" + "@lerna/github-client" "5.6.2" + "@lerna/gitlab-client" "5.6.2" + "@lerna/output" "5.6.2" + "@lerna/prerelease-id-from-version" "5.6.2" + "@lerna/prompt" "5.6.2" + "@lerna/run-lifecycle" "5.6.2" + "@lerna/run-topologically" "5.6.2" + "@lerna/temp-write" "5.6.2" + "@lerna/validation-error" "5.6.2" + "@nrwl/devkit" ">=14.8.1 < 16" chalk "^4.1.0" dedent "^0.7.0" load-json-file "^6.2.0" @@ -1393,14 +1339,60 @@ slash "^3.0.0" write-json-file "^4.3.0" -"@lerna/write-log-file@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@lerna/write-log-file/-/write-log-file-5.3.0.tgz#3aa6621c56f020e642c5c3965a33771111d14f52" - integrity sha512-cmrNAI5+9auUJSuTVrUzt2nb/KX6htgjdw7gGPMI1Tm6cdBIbs67R6LedZ8yvYOLGsXB2Se93vxv5fTgEHWfCw== +"@lerna/write-log-file@5.6.2": + version "5.6.2" + resolved "https://registry.yarnpkg.com/@lerna/write-log-file/-/write-log-file-5.6.2.tgz#a297307c80356abe4c3cfc75664febfa4658ec31" + integrity sha512-J09l18QnWQ3sXIRwuJkjXY3+KwPR2uO5NgbZGE3GXJK1V/LzOBRMvjGAIbuQHXw25uqe7vpLUpB8drtnFrubCQ== dependencies: npmlog "^6.0.2" write-file-atomic "^4.0.1" +"@manypkg/cli@^0.20.0": + version "0.20.0" + resolved "https://registry.yarnpkg.com/@manypkg/cli/-/cli-0.20.0.tgz#fe4fec8fc49e831e94fa48c9b41d8fcea1aa20e2" + integrity sha512-xOAyzHp4cF6+1VxCeVi14k4WJBbKAExuYVA+wXlCHPLoTUv64D2HQrLUOFO8bXtzW9KFhGhdP2xGFq9n9rSDiw== + dependencies: + "@manypkg/get-packages" "^2.0.0" + chalk "^2.4.2" + detect-indent "^6.0.0" + find-up "^4.1.0" + fs-extra "^8.1.0" + normalize-path "^3.0.0" + p-limit "^2.2.1" + package-json "^6.5.0" + parse-github-url "^1.0.2" + sembear "^0.5.0" + semver "^6.3.0" + spawndamnit "^2.0.0" + validate-npm-package-name "^3.0.0" + +"@manypkg/find-root@^2.2.0": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@manypkg/find-root/-/find-root-2.2.1.tgz#a7cffffdb06407967daa31f89952ebef108b27cf" + integrity sha512-34NlypD5mmTY65cFAK7QPgY5Tzt0qXR4ZRXdg97xAlkiLuwXUPBEXy5Hsqzd+7S2acsLxUz6Cs50rlDZQr4xUA== + dependencies: + "@manypkg/tools" "^1.1.0" + find-up "^4.1.0" + fs-extra "^8.1.0" + +"@manypkg/get-packages@^2.0.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@manypkg/get-packages/-/get-packages-2.2.0.tgz#268c918880f60146351e348380ab590460c1dcc4" + integrity sha512-B5p5BXMwhGZKi/syEEAP1eVg5DZ/9LP+MZr0HqfrHLgu9fq0w4ZwH8yVen4JmjrxI2dWS31dcoswYzuphLaRxg== + dependencies: + "@manypkg/find-root" "^2.2.0" + "@manypkg/tools" "^1.1.0" + +"@manypkg/tools@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@manypkg/tools/-/tools-1.1.0.tgz#730b4c0df78be7f0ce232a417f3c26023884a55c" + integrity sha512-SkAyKAByB9l93Slyg8AUHGuM2kjvWioUTCckT/03J09jYnfEzMO/wSXmEhnKGYs6qx9De8TH4yJCl0Y9lRgnyQ== + dependencies: + fs-extra "^8.1.0" + globby "^11.0.0" + jju "^1.4.0" + read-yaml-file "^1.1.0" + "@mojotech/json-type-validation@^3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@mojotech/json-type-validation/-/json-type-validation-3.1.0.tgz#13357741bce0e0d7e63369bf384fd92956cc7c99" @@ -1478,17 +1470,17 @@ semver "^7.3.5" "@npmcli/fs@^2.1.0": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-2.1.1.tgz#c0c480b03450d8b9fc086816a50cb682668a48bf" - integrity sha512-1Q0uzx6c/NVNGszePbr5Gc2riSU1zLpNlo/1YWntH+eaPmMgBssAW0qXofCVkpdj3ce4swZtlDYQu+NKiYcptg== + version "2.1.2" + resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-2.1.2.tgz#a9e2541a4a2fec2e69c29b35e6060973da79b865" + integrity sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ== dependencies: "@gar/promisify" "^1.1.3" semver "^7.3.5" "@npmcli/git@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-3.0.1.tgz#049b99b1381a2ddf7dc56ba3e91eaf76ca803a8d" - integrity sha512-UU85F/T+F1oVn3IsB/L6k9zXIMpXBuUBE25QDH0SsURwT6IOBqkC7M16uqo2vVZIyji3X1K4XH9luip7YekH1A== + version "3.0.2" + resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-3.0.2.tgz#5c5de6b4d70474cf2d09af149ce42e4e1dacb931" + integrity sha512-CAcd08y3DWBJqJDpfuVL0uijlq5oaXaOJEKHKc4wqrjd00gkvTZB+nFuLn+doOOKddaQS9JfqtNoFCO2LCvA3w== dependencies: "@npmcli/promise-spawn" "^3.0.0" lru-cache "^7.4.4" @@ -1509,9 +1501,9 @@ npm-normalize-package-bin "^1.0.1" "@npmcli/map-workspaces@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-2.0.3.tgz#2d3c75119ee53246e9aa75bc469a55281cd5f08f" - integrity sha512-X6suAun5QyupNM8iHkNPh0AHdRC2rb1W+MTdMvvA/2ixgmqZwlq5cGUBgmKHUHT2LgrkKJMAXbfAoTxOigpK8Q== + version "2.0.4" + resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-2.0.4.tgz#9e5e8ab655215a262aefabf139782b894e0504fc" + integrity sha512-bMo0aAfwhVwqoVM5UzX1DJnlvVvzDCHae821jv48L1EsrYwfOZChlqWYXEtto/+BkBXetPbEWgau++/brh4oVg== dependencies: "@npmcli/name-from-folder" "^1.0.1" glob "^8.0.1" @@ -1537,9 +1529,9 @@ rimraf "^3.0.2" "@npmcli/move-file@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-2.0.0.tgz#417f585016081a0184cef3e38902cd917a9bbd02" - integrity sha512-UR6D5f4KEGWJV6BGPH3Qb2EtgH+t+1XQ1Tt85c7qicN6cezzuHPdZwwAxqZr4JLtnQu0LZsTza/5gmNmSl8XLg== + version "2.0.1" + resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-2.0.1.tgz#26f6bdc379d87f75e55739bab89db525b06100e4" + integrity sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ== dependencies: mkdirp "^1.0.4" rimraf "^3.0.2" @@ -1568,10 +1560,10 @@ dependencies: infer-owner "^1.0.4" -"@npmcli/run-script@^4.1.0": - version "4.1.7" - resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-4.1.7.tgz#b1a2f57568eb738e45e9ea3123fb054b400a86f7" - integrity sha512-WXr/MyM4tpKA4BotB81NccGAv8B48lNH0gRoILucbcAhTQXLCoi6HflMV3KdXubIqvP9SuLsFn68Z7r4jl+ppw== +"@npmcli/run-script@^4.1.0", "@npmcli/run-script@^4.1.3", "@npmcli/run-script@^4.1.7": + version "4.2.1" + resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-4.2.1.tgz#c07c5c71bc1c70a5f2a06b0d4da976641609b946" + integrity sha512-7dqywvVudPSrRCW5nTHpHgeWnbBtz8cFkOuKrecm6ih+oO9ciydhWt6OF7HlqupRRmB8Q/gECVdB9LMfToJbRg== dependencies: "@npmcli/node-gyp" "^2.0.0" "@npmcli/promise-spawn" "^3.0.0" @@ -1579,30 +1571,75 @@ read-package-json-fast "^2.0.3" which "^2.0.2" -"@npmcli/run-script@^4.1.3", "@npmcli/run-script@^4.1.7": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-4.2.0.tgz#2c25758f80831ba138afe25225d456e89acedac3" - integrity sha512-e/QgLg7j2wSJp1/7JRl0GC8c7PMX+uYlA/1Tb+IDOLdSM4T7K1VQ9mm9IGU3WRtY5vEIObpqCLb3aCNCug18DA== +"@nrwl/cli@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-15.9.7.tgz#1db113f5cb1cfe63213097be1ece041eef33da1f" + integrity sha512-1jtHBDuJzA57My5nLzYiM372mJW0NY6rFKxlWt5a0RLsAZdPTHsd8lE3Gs9XinGC1jhXbruWmhhnKyYtZvX/zA== dependencies: - "@npmcli/node-gyp" "^2.0.0" - "@npmcli/promise-spawn" "^3.0.0" - node-gyp "^9.0.0" - read-package-json-fast "^2.0.3" - which "^2.0.2" + nx "15.9.7" -"@nrwl/cli@14.4.3": - version "14.4.3" - resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-14.4.3.tgz#3d949e0da32e3af9f285ec376ec4f06314339716" - integrity sha512-9WzOOXgdf9YJxqte5e8KNkM3NWOuBgM7hz9jEOyw53Ht1Y2H8xLDPVkqDTS9kROgcyMQxHIjIcw80wZNaZL8Mw== +"@nrwl/devkit@>=14.8.1 < 16": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-15.9.7.tgz#14d19ec82ff4209c12147a97f1cdea05d8f6c087" + integrity sha512-Sb7Am2TMT8AVq8e+vxOlk3AtOA2M0qCmhBzoM1OJbdHaPKc0g0UgSnWRml1kPGg5qfPk72tWclLoZJ5/ut0vTg== dependencies: - nx "14.4.3" + ejs "^3.1.7" + ignore "^5.0.4" + semver "7.5.4" + tmp "~0.2.1" + tslib "^2.3.0" -"@nrwl/tao@14.4.3": - version "14.4.3" - resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-14.4.3.tgz#08b86a81cb71574f491e9254104eaea1f7c6c5fd" - integrity sha512-sHlnqTlJ/XEc/lv0MIKYI1R643CWFvYL6QyZD7f38FvP1RblZ6eVqvOJcrkpwcvRWcZNEY+GrQpb1Io1ZvMEmQ== - dependencies: - nx "14.4.3" +"@nrwl/nx-darwin-arm64@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-darwin-arm64/-/nx-darwin-arm64-15.9.7.tgz#a2cb7390c782b8acf3bb8806a3002620226a933d" + integrity sha512-aBUgnhlkrgC0vu0fK6eb9Vob7eFnkuknrK+YzTjmLrrZwj7FGNAeyGXSlyo1dVokIzjVKjJg2saZZ0WQbfuCJw== + +"@nrwl/nx-darwin-x64@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-darwin-x64/-/nx-darwin-x64-15.9.7.tgz#af0437e726aeb97eb660646bfd9a7da5ba7a0a6f" + integrity sha512-L+elVa34jhGf1cmn38Z0sotQatmLovxoASCIw5r1CBZZeJ5Tg7Y9nOwjRiDixZxNN56hPKXm6xl9EKlVHVeKlg== + +"@nrwl/nx-linux-arm-gnueabihf@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-15.9.7.tgz#e29f4d31afa903bfb4d0fd7421e19be1086eae87" + integrity sha512-pqmfqqEUGFu6PmmHKyXyUw1Al0Ki8PSaR0+ndgCAb1qrekVDGDfznJfaqxN0JSLeolPD6+PFtLyXNr9ZyPFlFg== + +"@nrwl/nx-linux-arm64-gnu@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-15.9.7.tgz#eb2880a24d3268dd93583d21a6a0b9ff96bb23b4" + integrity sha512-NYOa/eRrqmM+In5g3M0rrPVIS9Z+q6fvwXJYf/KrjOHqqan/KL+2TOfroA30UhcBrwghZvib7O++7gZ2hzwOnA== + +"@nrwl/nx-linux-arm64-musl@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-arm64-musl/-/nx-linux-arm64-musl-15.9.7.tgz#5d04913c4672a96cefa78491824620d8a8bcfd7f" + integrity sha512-zyStqjEcmbvLbejdTOrLUSEdhnxNtdQXlmOuymznCzYUEGRv+4f7OAepD3yRoR0a/57SSORZmmGQB7XHZoYZJA== + +"@nrwl/nx-linux-x64-gnu@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-x64-gnu/-/nx-linux-x64-gnu-15.9.7.tgz#cf7f61fd87f35a793e6824952a6eb12242fe43fd" + integrity sha512-saNK5i2A8pKO3Il+Ejk/KStTApUpWgCxjeUz9G+T8A+QHeDloZYH2c7pU/P3jA9QoNeKwjVO9wYQllPL9loeVg== + +"@nrwl/nx-linux-x64-musl@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-x64-musl/-/nx-linux-x64-musl-15.9.7.tgz#2bec23c3696780540eb47fa1358dda780c84697f" + integrity sha512-extIUThYN94m4Vj4iZggt6hhMZWQSukBCo8pp91JHnDcryBg7SnYmnikwtY1ZAFyyRiNFBLCKNIDFGkKkSrZ9Q== + +"@nrwl/nx-win32-arm64-msvc@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-15.9.7.tgz#21b56ef3ab4190370effea71bd83fdc3e47ec69c" + integrity sha512-GSQ54hJ5AAnKZb4KP4cmBnJ1oC4ILxnrG1mekxeM65c1RtWg9NpBwZ8E0gU3xNrTv8ZNsBeKi/9UhXBxhsIh8A== + +"@nrwl/nx-win32-x64-msvc@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-win32-x64-msvc/-/nx-win32-x64-msvc-15.9.7.tgz#1677ab1dcce921706b5677dc2844e3e0027f8bd5" + integrity sha512-x6URof79RPd8AlapVbPefUD3ynJZpmah3tYaYZ9xZRMXojVtEHV8Qh5vysKXQ1rNYJiiB8Ah6evSKWLbAH60tw== + +"@nrwl/tao@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-15.9.7.tgz#c0e78c99caa6742762f7558f20d8524bc9015e97" + integrity sha512-OBnHNvQf3vBH0qh9YnvBQQWyyFZ+PWguF6dJ8+1vyQYlrLVk/XZ8nJ4ukWFb+QfPv/O8VBmqaofaOI9aFC4yTw== + dependencies: + nx "15.9.7" "@octokit/app@^14.0.2": version "14.0.2" @@ -1618,9 +1655,9 @@ "@octokit/webhooks" "^12.0.4" "@octokit/auth-app@^6.0.0": - version "6.0.1" - resolved "https://registry.yarnpkg.com/@octokit/auth-app/-/auth-app-6.0.1.tgz#7137b1af124189a979de6053da5d4c8cdb1fa4e9" - integrity sha512-tjCD4nzQNZgmLH62+PSnTF6eGerisFgV4v6euhqJik6yWV96e1ZiiGj+NXIqbgnpjLmtnBqVUrNyGKu3DoGEGA== + version "6.0.3" + resolved "https://registry.yarnpkg.com/@octokit/auth-app/-/auth-app-6.0.3.tgz#4c0ba68e8d3b1a55c34d1e68ea0ca92ef018bb7a" + integrity sha512-9N7IlBAKEJR3tJgPSubCxIDYGXSdc+2xbkjYpk9nCyqREnH8qEMoMhiEB1WgoA9yTFp91El92XNXAi+AjuKnfw== dependencies: "@octokit/auth-oauth-app" "^7.0.0" "@octokit/auth-oauth-user" "^4.0.0" @@ -1629,7 +1666,7 @@ "@octokit/types" "^12.0.0" deprecation "^2.3.1" lru-cache "^10.0.0" - universal-github-app-jwt "^1.1.1" + universal-github-app-jwt "^1.1.2" universal-user-agent "^6.0.0" "@octokit/auth-oauth-app@^7.0.0": @@ -1668,11 +1705,9 @@ universal-user-agent "^6.0.0" "@octokit/auth-token@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-3.0.0.tgz#6f22c5fc56445c496628488ba6810131558fa4a9" - integrity sha512-MDNFUBcJIptB9At7HiV7VCvU3NcL4GnfCQaP8C5lrxWrRPMJBnemYtehaKSOlaM7AYxeRyj9etenu8LVpSpVaQ== - dependencies: - "@octokit/types" "^6.0.3" + version "3.0.4" + resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-3.0.4.tgz#70e941ba742bdd2b49bdb7393e821dea8520a3db" + integrity sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ== "@octokit/auth-token@^4.0.0": version "4.0.0" @@ -1687,16 +1722,16 @@ "@octokit/request-error" "^5.0.0" "@octokit/types" "^12.0.0" -"@octokit/core@^4.0.0": - version "4.0.4" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-4.0.4.tgz#335d9b377691e3264ce57a9e5a1f6cda783e5838" - integrity sha512-sUpR/hc4Gc7K34o60bWC7WUH6Q7T6ftZ2dUmepSyJr9PRF76/qqkWjE2SOEzCqLA5W83SaISymwKtxks+96hPQ== +"@octokit/core@^4.2.1": + version "4.2.4" + resolved "https://registry.yarnpkg.com/@octokit/core/-/core-4.2.4.tgz#d8769ec2b43ff37cc3ea89ec4681a20ba58ef907" + integrity sha512-rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ== dependencies: "@octokit/auth-token" "^3.0.0" "@octokit/graphql" "^5.0.0" "@octokit/request" "^6.0.0" "@octokit/request-error" "^3.0.0" - "@octokit/types" "^6.0.3" + "@octokit/types" "^9.0.0" before-after-hook "^2.2.0" universal-user-agent "^6.0.0" @@ -1714,11 +1749,11 @@ universal-user-agent "^6.0.0" "@octokit/endpoint@^7.0.0": - version "7.0.0" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-7.0.0.tgz#be758a1236d68d6bbb505e686dd50881c327a519" - integrity sha512-Kz/mIkOTjs9rV50hf/JK9pIDl4aGwAtT8pry6Rpy+hVXkAPhXanNQRxMoq6AeRgDCZR6t/A1zKniY2V1YhrzlQ== + version "7.0.6" + resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-7.0.6.tgz#791f65d3937555141fb6c08f91d618a7d645f1e2" + integrity sha512-5L4fseVRUsDFGR00tMWD/Trdeeihn999rTMGRMC1G/Ldi1uWlWJzI98H4Iak5DB/RVvQuyMYKqSK/R6mbSOQyg== dependencies: - "@octokit/types" "^6.0.3" + "@octokit/types" "^9.0.0" is-plain-object "^5.0.0" universal-user-agent "^6.0.0" @@ -1731,12 +1766,12 @@ universal-user-agent "^6.0.0" "@octokit/graphql@^5.0.0": - version "5.0.0" - resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-5.0.0.tgz#2cc6eb3bf8e0278656df1a7d0ca0d7591599e3b3" - integrity sha512-1ZZ8tX4lUEcLPvHagfIVu5S2xpHYXAmgN0+95eAOPoaVPzCfUXJtA5vASafcpWcO86ze0Pzn30TAx72aB2aguQ== + version "5.0.6" + resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-5.0.6.tgz#9eac411ac4353ccc5d3fca7d76736e6888c5d248" + integrity sha512-Fxyxdy/JH0MnIB5h+UQ3yCoh1FG4kWXfFKkpWqjZHw/p+Kc8Y44Hu/kCgNBT6nU1shNumEchmW/sUO1JuQnPcw== dependencies: "@octokit/request" "^6.0.0" - "@octokit/types" "^6.0.3" + "@octokit/types" "^9.0.0" universal-user-agent "^6.0.0" "@octokit/graphql@^7.0.0": @@ -1778,10 +1813,10 @@ "@octokit/types" "^12.0.0" btoa-lite "^1.0.0" -"@octokit/openapi-types@^12.10.0": - version "12.10.1" - resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-12.10.1.tgz#57b5cc6c7b4e55d8642c93d06401fb1af4839899" - integrity sha512-P+SukKanjFY0ZhsK6wSVnQmxTP2eVPPE8OPSNuxaMYtgVzwJZgfGdwlYjf4RlRU4vLEw4ts2fsE2icG4nZ5ddQ== +"@octokit/openapi-types@^18.0.0": + version "18.1.1" + resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-18.1.1.tgz#09bdfdabfd8e16d16324326da5148010d765f009" + integrity sha512-VRaeH8nCDtF5aXWnjPuEMIYf1itK/s3JYyJcWFJT8X9pSNnBtriDf7wlEWsGuhPLl4QIH4xM8fqTXDwJ3Mu6sw== "@octokit/openapi-types@^19.1.0": version "19.1.0" @@ -1798,12 +1833,13 @@ resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-graphql/-/plugin-paginate-graphql-4.0.0.tgz#b26024fa454039c18b948f13bf754ff86b89e8b9" integrity sha512-7HcYW5tP7/Z6AETAPU14gp5H5KmCPT3hmJrS/5tO7HIgbwenYmgw4OY9Ma54FDySuxMwD+wsJlxtuGWwuZuItA== -"@octokit/plugin-paginate-rest@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-3.0.0.tgz#df779de686aeb21b5e776e4318defc33b0418566" - integrity sha512-fvw0Q5IXnn60D32sKeLIxgXCEZ7BTSAjJd8cFAE6QU5qUp0xo7LjFUjjX1J5D7HgN355CN4EXE4+Q1/96JaNUA== +"@octokit/plugin-paginate-rest@^6.1.2": + version "6.1.2" + resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.1.2.tgz#f86456a7a1fe9e58fec6385a85cf1b34072341f8" + integrity sha512-qhrmtQeHU/IivxucOV1bbI/xZyC/iOBhclokv7Sut5vnejAIAEXVcGQeRpQlU39E0WwK9lNvJHphHri/DB6lbQ== dependencies: - "@octokit/types" "^6.39.0" + "@octokit/tsconfig" "^1.0.2" + "@octokit/types" "^9.2.3" "@octokit/plugin-paginate-rest@^9.0.0": version "9.1.5" @@ -1824,13 +1860,12 @@ dependencies: "@octokit/types" "^12.3.0" -"@octokit/plugin-rest-endpoint-methods@^6.0.0": - version "6.1.2" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-6.1.2.tgz#bbf55cfc43acf177514441ecd1d26031006f73ed" - integrity sha512-sAfSKtLHNq0UQ2iFuI41I6m5SK6bnKFRJ5kUjDRVbmQXiRVi4aQiIcgG4cM7bt+bhSiWL4HwnTxDkWFlKeKClA== +"@octokit/plugin-rest-endpoint-methods@^7.1.2": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.2.3.tgz#37a84b171a6cb6658816c82c4082ac3512021797" + integrity sha512-I5Gml6kTAkzVlN7KCtjOM+Ruwe/rQppp0QU372K1GP7kNOYEKe8Xn5BW4sE62JAHdwpq95OQK/qGNyKQMUzVgA== dependencies: - "@octokit/types" "^6.40.0" - deprecation "^2.3.1" + "@octokit/types" "^10.0.0" "@octokit/plugin-retry@^6.0.0": version "6.0.1" @@ -1850,11 +1885,11 @@ bottleneck "^2.15.3" "@octokit/request-error@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-3.0.0.tgz#f527d178f115a3b62d76ce4804dd5bdbc0270a81" - integrity sha512-WBtpzm9lR8z4IHIMtOqr6XwfkGvMOOILNLxsWvDwtzm/n7f5AWuqJTXQXdDtOvPfTDrH4TPhEvW2qMlR4JFA2w== + version "3.0.3" + resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-3.0.3.tgz#ef3dd08b8e964e53e55d471acfe00baa892b9c69" + integrity sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ== dependencies: - "@octokit/types" "^6.0.3" + "@octokit/types" "^9.0.0" deprecation "^2.0.0" once "^1.4.0" @@ -1868,13 +1903,13 @@ once "^1.4.0" "@octokit/request@^6.0.0": - version "6.2.0" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-6.2.0.tgz#9c25606df84e6f2ccbcc2c58e1d35438e20b688b" - integrity sha512-7IAmHnaezZrgUqtRShMlByJK33MT9ZDnMRgZjnRrRV9a/jzzFwKGz0vxhFU6i7VMLraYcQ1qmcAOin37Kryq+Q== + version "6.2.8" + resolved "https://registry.yarnpkg.com/@octokit/request/-/request-6.2.8.tgz#aaf480b32ab2b210e9dadd8271d187c93171d8eb" + integrity sha512-ow4+pkVQ+6XVVsekSYBzJC0VTVvh/FCTUUgTsboGq+DTeWdyIFV8WSCdo0RIxk6wSkBTHqIK1mYuY7nOBXOchw== dependencies: "@octokit/endpoint" "^7.0.0" "@octokit/request-error" "^3.0.0" - "@octokit/types" "^6.16.1" + "@octokit/types" "^9.0.0" is-plain-object "^5.0.0" node-fetch "^2.6.7" universal-user-agent "^6.0.0" @@ -1890,14 +1925,26 @@ universal-user-agent "^6.0.0" "@octokit/rest@^19.0.3": - version "19.0.3" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-19.0.3.tgz#b9a4e8dc8d53e030d611c053153ee6045f080f02" - integrity sha512-5arkTsnnRT7/sbI4fqgSJ35KiFaN7zQm0uQiQtivNQLI8RQx8EHwJCajcTUwmaCMNDg7tdCvqAnc7uvHHPxrtQ== + version "19.0.13" + resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-19.0.13.tgz#e799393264edc6d3c67eeda9e5bd7832dcf974e4" + integrity sha512-/EzVox5V9gYGdbAI+ovYj3nXQT1TtTHRT+0eZPcuC05UFSWO3mdO9UY1C0i2eLF9Un1ONJkAk+IEtYGAC+TahA== dependencies: - "@octokit/core" "^4.0.0" - "@octokit/plugin-paginate-rest" "^3.0.0" + "@octokit/core" "^4.2.1" + "@octokit/plugin-paginate-rest" "^6.1.2" "@octokit/plugin-request-log" "^1.0.4" - "@octokit/plugin-rest-endpoint-methods" "^6.0.0" + "@octokit/plugin-rest-endpoint-methods" "^7.1.2" + +"@octokit/tsconfig@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@octokit/tsconfig/-/tsconfig-1.0.2.tgz#59b024d6f3c0ed82f00d08ead5b3750469125af7" + integrity sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA== + +"@octokit/types@^10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-10.0.0.tgz#7ee19c464ea4ada306c43f1a45d444000f419a4a" + integrity sha512-Vm8IddVmhCgU1fxC1eyinpwqzXPEYu0NrYzD3YZjlGjyftdLBTeqNblRC0jmJmgxbJIsQlyogVeGnrNaaMVzIg== + dependencies: + "@octokit/openapi-types" "^18.0.0" "@octokit/types@^12.0.0", "@octokit/types@^12.2.0", "@octokit/types@^12.3.0", "@octokit/types@^12.4.0": version "12.4.0" @@ -1906,12 +1953,12 @@ dependencies: "@octokit/openapi-types" "^19.1.0" -"@octokit/types@^6.0.3", "@octokit/types@^6.16.1", "@octokit/types@^6.39.0", "@octokit/types@^6.40.0": - version "6.40.0" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.40.0.tgz#f2e665196d419e19bb4265603cf904a820505d0e" - integrity sha512-MFZOU5r8SwgJWDMhrLUSvyJPtVsqA6VnbVI3TNbsmw+Jnvrktzvq2fYES/6RiJA/5Ykdwq4mJmtlYUfW7CGjmw== +"@octokit/types@^9.0.0", "@octokit/types@^9.2.3": + version "9.3.2" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-9.3.2.tgz#3f5f89903b69f6a2d196d78ec35f888c0013cac5" + integrity sha512-D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA== dependencies: - "@octokit/openapi-types" "^12.10.0" + "@octokit/openapi-types" "^18.0.0" "@octokit/webhooks-methods@^4.0.0": version "4.0.0" @@ -1924,9 +1971,9 @@ integrity sha512-y92CpG4kFFtBBjni8LHoV12IegJ+KFxLgKRengrVjKmGE5XMeCuGvlfRe75lTRrgXaG6XIWJlFpIDTlkoJsU8w== "@octokit/webhooks@^12.0.4": - version "12.0.10" - resolved "https://registry.yarnpkg.com/@octokit/webhooks/-/webhooks-12.0.10.tgz#3dcd3424ae4ff29b62b8fc8408b08c17b8178ece" - integrity sha512-Q8d26l7gZ3L1SSr25NFbbP0B431sovU5r0tIqcvy8Z4PrD1LBv0cJEjvDLOieouzPSTzSzufzRIeXD7S+zAESA== + version "12.0.11" + resolved "https://registry.yarnpkg.com/@octokit/webhooks/-/webhooks-12.0.11.tgz#4c7887390f506518420b96821c6304187ce59db1" + integrity sha512-YEQOb7v0TZ662nh5jsbY1CMgJyMajCEagKrHWC30LTCwCtnuIrLtEpE20vq4AtH0SuZI90+PtV66/Bnnw0jkvg== dependencies: "@octokit/request-error" "^5.0.0" "@octokit/webhooks-methods" "^4.0.0" @@ -1941,10 +1988,15 @@ node-addon-api "^3.2.1" node-gyp-build "^4.3.0" +"@sindresorhus/is@^0.14.0": + version "0.14.0" + resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" + integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== + "@sinonjs/commons@^1.7.0": - version "1.8.3" - resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d" - integrity sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ== + version "1.8.6" + resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.6.tgz#80c516a4dc264c2a69115e7578d62581ff455ed9" + integrity sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ== dependencies: type-detect "4.0.8" @@ -1973,6 +2025,13 @@ unist-util-is "^2.1.3" xtend "^4.0.1" +"@szmarczak/http-timer@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" + integrity sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA== + dependencies: + defer-to-connect "^1.0.1" + "@tootallnate/once@1": version "1.1.2" resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" @@ -1983,101 +2042,89 @@ resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== -"@tsconfig/node10@^1.0.7": - version "1.0.8" - resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.8.tgz#c1e4e80d6f964fbecb3359c43bd48b40f7cadad9" - integrity sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg== - -"@tsconfig/node12@^1.0.7": - version "1.0.9" - resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.9.tgz#62c1f6dee2ebd9aead80dc3afa56810e58e1a04c" - integrity sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw== - -"@tsconfig/node14@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.1.tgz#95f2d167ffb9b8d2068b0b235302fafd4df711f2" - integrity sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg== - -"@tsconfig/node16@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.2.tgz#423c77877d0569db20e1fc80885ac4118314010e" - integrity sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA== - "@types/async-retry@1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@types/async-retry/-/async-retry-1.3.0.tgz#9a442a89dd1708b582de214789dd2a0d2118216a" integrity sha512-2ljqDql4TPLQQee+/Z19PIWbrBEIkOohpAInlPrwi0VHbwtx4Ke6KXNmcwezwITMxX8gOYj2u+pn+3DMa4bDCg== "@types/aws-lambda@^8.10.83": - version "8.10.93" - resolved "https://registry.yarnpkg.com/@types/aws-lambda/-/aws-lambda-8.10.93.tgz#3e2c80894122477040aabf29b7320556f5702a76" - integrity sha512-Vsyi9ogDAY3REZDjYnXMRJJa62SDvxHXxJI5nGDQdZW058dDE+av/anynN2rLKbCKXDRNw3D/sQmqxVflZFi4A== + version "8.10.131" + resolved "https://registry.yarnpkg.com/@types/aws-lambda/-/aws-lambda-8.10.131.tgz#76fcd36e6a4a4666c7ea7503bf0e3e86c0a9cdb2" + integrity sha512-IWmFpqnVDvskYWnNSiu/qlRn80XlIOU0Gy5rKCl/NjhnI95pV8qIHs6L5b+bpHhyzuOSzjLgBcwgFSXrC1nZWA== "@types/babel-types@^7.0.7": - version "7.0.11" - resolved "https://registry.yarnpkg.com/@types/babel-types/-/babel-types-7.0.11.tgz#263b113fa396fac4373188d73225297fb86f19a9" - integrity sha512-pkPtJUUY+Vwv6B1inAz55rQvivClHJxc9aVEPPmaq2cbyeMLCiDpbKpcKyX4LAwpNGi+SHBv0tHv6+0gXv0P2A== + version "7.0.15" + resolved "https://registry.yarnpkg.com/@types/babel-types/-/babel-types-7.0.15.tgz#11fb1ab5a4f984d00d1c80a768f6fb8d59f96966" + integrity sha512-JUgfZHUOMbtjopxiOQaaF+Uovk5wpDqpXR+XLWiOivCWSy1FccO30lvNNpCt8geFwq8VmGT2y9OMkOpA0g5O5g== "@types/babel__core@^7.0.0", "@types/babel__core@^7.1.7": - version "7.1.18" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.18.tgz#1a29abcc411a9c05e2094c98f9a1b7da6cdf49f8" - integrity sha512-S7unDjm/C7z2A2R9NzfKCK1I+BAALDtxEmsJBwlB3EzNfb929ykjL++1CK9LO++EIp2fQrC8O+BwjKvz6UeDyQ== + version "7.20.5" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" + integrity sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA== dependencies: - "@babel/parser" "^7.1.0" - "@babel/types" "^7.0.0" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" "@types/babel__generator" "*" "@types/babel__template" "*" "@types/babel__traverse" "*" "@types/babel__generator@*": - version "7.6.4" - resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7" - integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== + version "7.6.8" + resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.8.tgz#f836c61f48b1346e7d2b0d93c6dacc5b9535d3ab" + integrity sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw== dependencies: "@babel/types" "^7.0.0" "@types/babel__template@*": - version "7.4.1" - resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" - integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== + version "7.4.4" + resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.4.tgz#5672513701c1b2199bc6dad636a9d7491586766f" + integrity sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A== dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.4", "@types/babel__traverse@^7.0.6": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.14.2.tgz#ffcd470bbb3f8bf30481678fb5502278ca833a43" - integrity sha512-K2waXdXBi2302XUdcHcR1jCeU0LL4TD9HRs/gk0N2Xvrht+G/BfJa4QObBQZfhMdxiCpV3COl5Nfq4uKTeTnJA== + version "7.20.5" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.5.tgz#7b7502be0aa80cc4ef22978846b983edaafcd4dd" + integrity sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ== dependencies: - "@babel/types" "^7.3.0" + "@babel/types" "^7.20.7" "@types/btoa-lite@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@types/btoa-lite/-/btoa-lite-1.0.0.tgz#e190a5a548e0b348adb0df9ac7fa5f1151c7cca4" - integrity sha512-wJsiX1tosQ+J5+bY5LrSahHxr2wT+uME5UDwdN1kg4frt40euqA+wzECkmq4t5QbveHiJepfdThgQrPw6KiSlg== + version "1.0.2" + resolved "https://registry.yarnpkg.com/@types/btoa-lite/-/btoa-lite-1.0.2.tgz#82bb6aab00abf7cff3ca2825abe010c0cd536ae5" + integrity sha512-ZYbcE2x7yrvNFJiU7xJGrpF/ihpkM7zKgw8bha3LNJSesvTtUNxbpzaT7WXBIryf6jovisrxTBvymxMeLLj1Mg== "@types/eslint-scope@^3.7.3": - version "3.7.3" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.3.tgz#125b88504b61e3c8bc6f870882003253005c3224" - integrity sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g== + version "3.7.7" + resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.7.tgz#3108bd5f18b0cdb277c867b3dd449c9ed7079ac5" + integrity sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg== dependencies: "@types/eslint" "*" "@types/estree" "*" "@types/eslint@*": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.4.1.tgz#c48251553e8759db9e656de3efc846954ac32304" - integrity sha512-GE44+DNEyxxh2Kc6ro/VkIj+9ma0pO0bwv9+uHSyBrikYOHr8zYcdPvnBOp1aw8s+CjRvuSx7CyWqRrNFQ59mA== + version "8.56.1" + resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56.1.tgz#988cabb39c973e9200f35fdbb29d17992965bb08" + integrity sha512-18PLWRzhy9glDQp3+wOgfLYRWlhgX0azxgJ63rdpoUHyrC9z0f5CkFburjQx4uD7ZCruw85ZtMt6K+L+R8fLJQ== dependencies: "@types/estree" "*" "@types/json-schema" "*" -"@types/estree@*", "@types/estree@^0.0.51": - version "0.0.51" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" - integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== +"@types/estree@*", "@types/estree@^1.0.0": + version "1.0.5" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" + integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== -"@types/glob@*", "@types/glob@^7.1.1": +"@types/glob@*": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@types/glob/-/glob-8.1.0.tgz#b63e70155391b0584dce44e7ea25190bbc38f2fc" + integrity sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w== + dependencies: + "@types/minimatch" "^5.1.2" + "@types/node" "*" + +"@types/glob@^7.1.1": version "7.2.0" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== @@ -2086,18 +2133,18 @@ "@types/node" "*" "@types/graceful-fs@^4.1.2": - version "4.1.5" - resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15" - integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw== + version "4.1.9" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.9.tgz#2a06bc0f68a20ab37b3e36aa238be6abdf49e8b4" + integrity sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ== dependencies: "@types/node" "*" "@types/hast@^2.0.0": - version "2.3.4" - resolved "https://registry.yarnpkg.com/@types/hast/-/hast-2.3.4.tgz#8aa5ef92c117d20d974a82bdfb6a648b08c0bafc" - integrity sha512-wLEm0QvaoawEDoTRwzTXp4b4jpwiJDvR5KMnFnVodm3scufTlBOWRD6N1OBf9TZMhjlNsSfcO5V+7AF4+Vy+9g== + version "2.3.9" + resolved "https://registry.yarnpkg.com/@types/hast/-/hast-2.3.9.tgz#a9a1b5bbce46e8a1312e977364bacabc8e93d2cf" + integrity sha512-pTHyNlaMD/oKJmS+ZZUyFUcsZeBZpC0lmGquw98CqRVNgAdJZJeD7GoeLiT6Xbx5rU9VCjSt0RwEvDgzh4obFw== dependencies: - "@types/unist" "*" + "@types/unist" "^2" "@types/html-minifier-terser@^6.0.0": version "6.1.0" @@ -2105,14 +2152,14 @@ integrity sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg== "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" - integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== + version "2.0.6" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz#7739c232a1fee9b4d3ce8985f314c0c6d33549d7" + integrity sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w== "@types/istanbul-lib-report@*": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686" - integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== + version "3.0.3" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz#53047614ae72e19fc0401d872de3ae2b4ce350bf" + integrity sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA== dependencies: "@types/istanbul-lib-coverage" "*" @@ -2125,9 +2172,9 @@ "@types/istanbul-lib-report" "*" "@types/istanbul-reports@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff" - integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== + version "3.0.4" + resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz#0f03e3d2f670fbdac586e34b433783070cc16f54" + integrity sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ== dependencies: "@types/istanbul-lib-report" "*" @@ -2140,14 +2187,9 @@ pretty-format "^25.2.1" "@types/json-schema@*", "@types/json-schema@^7.0.8": - version "7.0.9" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d" - integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ== - -"@types/json5@^0.0.29": - version "0.0.29" - resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" - integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== + version "7.0.15" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== "@types/jsonwebtoken@^9.0.0": version "9.0.5" @@ -2156,43 +2198,52 @@ dependencies: "@types/node" "*" -"@types/minimatch@*", "@types/minimatch@^3.0.3": +"@types/minimatch@*", "@types/minimatch@^5.1.2": + version "5.1.2" + resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" + integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== + +"@types/minimatch@^3.0.3": version "3.0.5" resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== "@types/minimist@^1.2.0": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" - integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== + version "1.2.5" + resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.5.tgz#ec10755e871497bcd83efe927e43ec46e8c0747e" + integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== "@types/node-fetch@^2.6.1": - version "2.6.1" - resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.1.tgz#8f127c50481db65886800ef496f20bbf15518975" - integrity sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA== + version "2.6.10" + resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.10.tgz#ff5c1ceacab782f2b7ce69957d38c1c27b0dc469" + integrity sha512-PPpPK6F9ALFTn59Ka3BaL+qGuipRfxNE8qVgkp0bVixeiR2c2/L+IVOiBdu9JhhT22sWnQEp6YyHGI2b2+CMcA== dependencies: "@types/node" "*" - form-data "^3.0.0" + form-data "^4.0.0" -"@types/node@*", "@types/node@>=12": - version "17.0.21" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.21.tgz#864b987c0c68d07b4345845c3e63b75edd143644" - integrity sha512-DBZCJbhII3r90XbQxI8Y9IjjiiOGlZ0Hr32omXIZvwwZ7p4DMMXGrKXVyPfuoBOri9XNtL0UK69jYIBIsRX3QQ== +"@types/node@*": + version "20.10.8" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.8.tgz#f1e223cbde9e25696661d167a5b93a9b2a5d57c7" + integrity sha512-f8nQs3cLxbAFc00vEU59yf9UyGUftkPaLGfvbVOIDdx2i1b8epBqj2aNGyP19fiyXWvlmZ7qC1XLjAzw/OKIeA== + dependencies: + undici-types "~5.26.4" -"@types/node@^16.11.7": - version "16.18.23" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.23.tgz#b6e934fe427eb7081d0015aad070acb3373c3c90" - integrity sha512-XAMpaw1s1+6zM+jn2tmw8MyaRDIJfXxqmIQIS0HfoGYPuf7dUWeiUKopwq13KFX9lEp1+THGtlaaYx39Nxr58g== +"@types/node@18": + version "18.19.6" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.6.tgz#537beece2c8ad4d9abdaa3b0f428e601eb57dac8" + integrity sha512-X36s5CXMrrJOs2lQCdDF68apW4Rfx9ixYMawlepwmE4Anezv/AV2LSpKD1Ub8DAc+urp5bk0BGZ6NtmBitfnsg== + dependencies: + undici-types "~5.26.4" "@types/normalize-package-data@^2.4.0": - version "2.4.1" - resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" - integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== + version "2.4.4" + resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz#56e2cc26c397c038fab0e3a917a12d5c5909e901" + integrity sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA== "@types/parse-json@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" - integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== + version "4.0.2" + resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.2.tgz#5950e50960793055845e956c427fc2b0d70c5239" + integrity sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw== "@types/parse5@^6.0.0": version "6.0.3" @@ -2200,9 +2251,9 @@ integrity sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g== "@types/prettier@^2.0.0", "@types/prettier@^2.1.6": - version "2.4.4" - resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.4.4.tgz#5d9b63132df54d8909fce1c3f8ca260fdd693e17" - integrity sha512-ReVR2rLTV1kvtlWFyuot+d1pkpG2Fw/XKE3PDAdj57rbM97ttSp9JZ2UsP+2EHTylra9cUf6JA7tGwW1INzUrA== + version "2.7.3" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.3.tgz#3e51a17e291d01d17d3fc61422015a933af7a08f" + integrity sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA== "@types/rimraf@^2.0.3": version "2.0.5" @@ -2212,165 +2263,170 @@ "@types/glob" "*" "@types/node" "*" +"@types/semver@^6.0.1": + version "6.2.7" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-6.2.7.tgz#473fb8d63ea04f7511c699fb9b96830c51e8a53d" + integrity sha512-blctEWbzUFzQx799RZjzzIdBJOXmE37YYEyDtKkx5Dg+V7o/zyyAxLPiI98A2jdTtDgxZleMdfV+7p8WbRJ1OQ== + "@types/stack-utils@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" - integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== + version "2.0.3" + resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.3.tgz#6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8" + integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== -"@types/unist@*", "@types/unist@^2.0.0": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" - integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ== +"@types/unist@^2", "@types/unist@^2.0.0": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.10.tgz#04ffa7f406ab628f7f7e97ca23e290cd8ab15efc" + integrity sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA== "@types/yargs-parser@*": - version "21.0.0" - resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" - integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== + version "21.0.3" + resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" + integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== "@types/yargs@^15.0.0": - version "15.0.14" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.14.tgz#26d821ddb89e70492160b66d10a0eb6df8f6fb06" - integrity sha512-yEJzHoxf6SyQGhBhIYGXQDSCkJjB6HohDShto7m8vaKg9Yp0Yn8+71J9eakh2bnPg6BfsH9PRMhiRTZnd4eXGQ== + version "15.0.19" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.19.tgz#328fb89e46109ecbdb70c295d96ff2f46dfd01b9" + integrity sha512-2XUaGVmyQjgyAZldf0D0c14vvo/yv0MhQBSTJcejMMaitsn3nxCB6TmH4G0ZQf+uxROOa9mpanoSm8h6SG/1ZA== dependencies: "@types/yargs-parser" "*" -"@webassemblyjs/ast@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.1.tgz#2bfd767eae1a6996f432ff7e8d7fc75679c0b6a7" - integrity sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw== +"@webassemblyjs/ast@1.11.6", "@webassemblyjs/ast@^1.11.5": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.6.tgz#db046555d3c413f8966ca50a95176a0e2c642e24" + integrity sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q== dependencies: - "@webassemblyjs/helper-numbers" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" + "@webassemblyjs/helper-numbers" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" -"@webassemblyjs/floating-point-hex-parser@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz#f6c61a705f0fd7a6aecaa4e8198f23d9dc179e4f" - integrity sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ== +"@webassemblyjs/floating-point-hex-parser@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz#dacbcb95aff135c8260f77fa3b4c5fea600a6431" + integrity sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw== -"@webassemblyjs/helper-api-error@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz#1a63192d8788e5c012800ba6a7a46c705288fd16" - integrity sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg== +"@webassemblyjs/helper-api-error@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz#6132f68c4acd59dcd141c44b18cbebbd9f2fa768" + integrity sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q== -"@webassemblyjs/helper-buffer@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz#832a900eb444884cde9a7cad467f81500f5e5ab5" - integrity sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA== +"@webassemblyjs/helper-buffer@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz#b66d73c43e296fd5e88006f18524feb0f2c7c093" + integrity sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA== -"@webassemblyjs/helper-numbers@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz#64d81da219fbbba1e3bd1bfc74f6e8c4e10a62ae" - integrity sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ== +"@webassemblyjs/helper-numbers@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz#cbce5e7e0c1bd32cf4905ae444ef64cea919f1b5" + integrity sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g== dependencies: - "@webassemblyjs/floating-point-hex-parser" "1.11.1" - "@webassemblyjs/helper-api-error" "1.11.1" + "@webassemblyjs/floating-point-hex-parser" "1.11.6" + "@webassemblyjs/helper-api-error" "1.11.6" "@xtuc/long" "4.2.2" -"@webassemblyjs/helper-wasm-bytecode@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz#f328241e41e7b199d0b20c18e88429c4433295e1" - integrity sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q== +"@webassemblyjs/helper-wasm-bytecode@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz#bb2ebdb3b83aa26d9baad4c46d4315283acd51e9" + integrity sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA== -"@webassemblyjs/helper-wasm-section@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz#21ee065a7b635f319e738f0dd73bfbda281c097a" - integrity sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg== +"@webassemblyjs/helper-wasm-section@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz#ff97f3863c55ee7f580fd5c41a381e9def4aa577" + integrity sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g== dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" -"@webassemblyjs/ieee754@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz#963929e9bbd05709e7e12243a099180812992614" - integrity sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ== +"@webassemblyjs/ieee754@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz#bb665c91d0b14fffceb0e38298c329af043c6e3a" + integrity sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg== dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/leb128@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.1.tgz#ce814b45574e93d76bae1fb2644ab9cdd9527aa5" - integrity sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw== +"@webassemblyjs/leb128@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.6.tgz#70e60e5e82f9ac81118bc25381a0b283893240d7" + integrity sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ== dependencies: "@xtuc/long" "4.2.2" -"@webassemblyjs/utf8@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.1.tgz#d1f8b764369e7c6e6bae350e854dec9a59f0a3ff" - integrity sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ== - -"@webassemblyjs/wasm-edit@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz#ad206ebf4bf95a058ce9880a8c092c5dec8193d6" - integrity sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/helper-wasm-section" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - "@webassemblyjs/wasm-opt" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - "@webassemblyjs/wast-printer" "1.11.1" - -"@webassemblyjs/wasm-gen@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz#86c5ea304849759b7d88c47a32f4f039ae3c8f76" - integrity sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/ieee754" "1.11.1" - "@webassemblyjs/leb128" "1.11.1" - "@webassemblyjs/utf8" "1.11.1" - -"@webassemblyjs/wasm-opt@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz#657b4c2202f4cf3b345f8a4c6461c8c2418985f2" - integrity sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - -"@webassemblyjs/wasm-parser@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz#86ca734534f417e9bd3c67c7a1c75d8be41fb199" - integrity sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-api-error" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/ieee754" "1.11.1" - "@webassemblyjs/leb128" "1.11.1" - "@webassemblyjs/utf8" "1.11.1" - -"@webassemblyjs/wast-printer@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz#d0c73beda8eec5426f10ae8ef55cee5e7084c2f0" - integrity sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg== - dependencies: - "@webassemblyjs/ast" "1.11.1" +"@webassemblyjs/utf8@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.6.tgz#90f8bc34c561595fe156603be7253cdbcd0fab5a" + integrity sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA== + +"@webassemblyjs/wasm-edit@^1.11.5": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz#c72fa8220524c9b416249f3d94c2958dfe70ceab" + integrity sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/helper-wasm-section" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" + "@webassemblyjs/wasm-opt" "1.11.6" + "@webassemblyjs/wasm-parser" "1.11.6" + "@webassemblyjs/wast-printer" "1.11.6" + +"@webassemblyjs/wasm-gen@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz#fb5283e0e8b4551cc4e9c3c0d7184a65faf7c268" + integrity sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/ieee754" "1.11.6" + "@webassemblyjs/leb128" "1.11.6" + "@webassemblyjs/utf8" "1.11.6" + +"@webassemblyjs/wasm-opt@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz#d9a22d651248422ca498b09aa3232a81041487c2" + integrity sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" + "@webassemblyjs/wasm-parser" "1.11.6" + +"@webassemblyjs/wasm-parser@1.11.6", "@webassemblyjs/wasm-parser@^1.11.5": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz#bb85378c527df824004812bbdb784eea539174a1" + integrity sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-api-error" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/ieee754" "1.11.6" + "@webassemblyjs/leb128" "1.11.6" + "@webassemblyjs/utf8" "1.11.6" + +"@webassemblyjs/wast-printer@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz#a7bf8dd7e362aeb1668ff43f35cb849f188eff20" + integrity sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A== + dependencies: + "@webassemblyjs/ast" "1.11.6" "@xtuc/long" "4.2.2" -"@webpack-cli/configtest@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.1.1.tgz#9f53b1b7946a6efc2a749095a4f450e2932e8356" - integrity sha512-1FBc1f9G4P/AxMqIgfZgeOTuRnwZMten8E7zap5zgpPInnCrP8D4Q81+4CWIch8i/Nf7nXjP0v6CjjbHOrXhKg== +"@webpack-cli/configtest@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.2.0.tgz#7b20ce1c12533912c3b217ea68262365fa29a6f5" + integrity sha512-4FB8Tj6xyVkyqjj1OaTqCjXYULB9FMkqQ8yGrZjRDrYh0nOE+7Lhs45WioWQQMV+ceFlE368Ukhe6xdvJM9Egg== -"@webpack-cli/info@^1.4.1": - version "1.4.1" - resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-1.4.1.tgz#2360ea1710cbbb97ff156a3f0f24556e0fc1ebea" - integrity sha512-PKVGmazEq3oAo46Q63tpMr4HipI3OPfP7LiNOEJg963RMgT0rqheag28NCML0o3GIzA3DmxP1ZIAv9oTX1CUIA== +"@webpack-cli/info@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-1.5.0.tgz#6c78c13c5874852d6e2dd17f08a41f3fe4c261b1" + integrity sha512-e8tSXZpw2hPl2uMJY6fsMswaok5FdlGNRTktvFk2sD8RjH0hE2+XistawJx1vmKteh4NmGmNUrp+Tb2w+udPcQ== dependencies: envinfo "^7.7.3" -"@webpack-cli/serve@^1.6.1": - version "1.6.1" - resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.6.1.tgz#0de2875ac31b46b6c5bb1ae0a7d7f0ba5678dffe" - integrity sha512-gNGTiTrjEVQ0OcVnzsRSqTxaBSr+dmTfm+qJsCDluky8uhdLWep7Gcr62QsAKHTMxjCS/8nEITsmFAhfIx+QSw== +"@webpack-cli/serve@^1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.7.0.tgz#e1993689ac42d2b16e9194376cfb6753f6254db1" + integrity sha512-oxnCNGj88fL+xzV+dacXs44HcDwf1ovs3AuEzvP7mqXw7fQntqIhQ1BRmynh4qEKQSSSRSWVyXRjmTbZIX9V2Q== "@xtuc/ieee754@^1.2.0": version "1.2.0" @@ -2382,6 +2438,26 @@ resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== +"@yarnpkg/lockfile@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" + integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== + +"@yarnpkg/parsers@3.0.0-rc.46": + version "3.0.0-rc.46" + resolved "https://registry.yarnpkg.com/@yarnpkg/parsers/-/parsers-3.0.0-rc.46.tgz#03f8363111efc0ea670e53b0282cd3ef62de4e01" + integrity sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q== + dependencies: + js-yaml "^3.10.0" + tslib "^2.4.0" + +"@zkochan/js-yaml@0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz#975f0b306e705e28b8068a07737fa46d3fc04826" + integrity sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg== + dependencies: + argparse "^2.0.1" + JSONStream@^1.0.4: version "1.3.5" resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" @@ -2391,11 +2467,11 @@ JSONStream@^1.0.4: through ">=2.2.7 <3" abab@^2.0.3, abab@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a" - integrity sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q== + version "2.0.6" + resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" + integrity sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA== -abbrev@1: +abbrev@1, abbrev@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== @@ -2416,30 +2492,25 @@ acorn-globals@^6.0.0: acorn "^7.1.1" acorn-walk "^7.1.1" -acorn-import-assertions@^1.7.6: - version "1.8.0" - resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz#ba2b5939ce62c238db6d93d81c9b111b29b855e9" - integrity sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw== +acorn-import-assertions@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" + integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== acorn-walk@^7.1.1: version "7.2.0" resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== -acorn-walk@^8.1.1: - version "8.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" - integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== - acorn@^7.1.1: version "7.4.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.2.4, acorn@^8.4.1, acorn@^8.5.0: - version "8.7.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.1.tgz#0197122c843d1bf6d0a5e83220a788f278f63c30" - integrity sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A== +acorn@^8.2.4, acorn@^8.7.1, acorn@^8.8.2: + version "8.11.3" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" + integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== add-stream@^1.0.0: version "1.0.0" @@ -2454,12 +2525,10 @@ agent-base@6, agent-base@^6.0.2: debug "4" agentkeepalive@^4.1.3, agentkeepalive@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.2.1.tgz#a7975cbb9f83b367f06c90cc51ff28fe7d499717" - integrity sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA== + version "4.5.0" + resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.5.0.tgz#2673ad1389b3c418c5a20c5d7364f93ca04be923" + integrity sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew== dependencies: - debug "^4.1.0" - depd "^1.1.2" humanize-ms "^1.2.1" aggregate-error@^3.0.0, aggregate-error@^3.1.0: @@ -2480,7 +2549,7 @@ ajv-keywords@^3.1.0, ajv-keywords@^3.5.2: resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== -ajv@^6.1.0, ajv@^6.12.5, ajv@^6.12.6: +ajv@^6.1.0, ajv@^6.12.5: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -2490,21 +2559,33 @@ ajv@^6.1.0, ajv@^6.12.5, ajv@^6.12.6: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ajv@^8.11.0: + version "8.12.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" + integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== + dependencies: + fast-deep-equal "^3.1.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.2.2" + all-contributors-cli@^6.13.0: - version "6.20.0" - resolved "https://registry.yarnpkg.com/all-contributors-cli/-/all-contributors-cli-6.20.0.tgz#9bc98dda38cb29cfe8afc8a78c004e14af25d2f6" - integrity sha512-trEQlL1s1u8FSWSwY2w9uL4GCG7Fo9HIW5rm5LtlE0SQHSolfXQBzJib07Qes5j52/t72wjuE6sEKkuRrwiuuQ== + version "6.26.1" + resolved "https://registry.yarnpkg.com/all-contributors-cli/-/all-contributors-cli-6.26.1.tgz#9f3358c9b9d0a7e66c8f84ffebf5a6432a859cae" + integrity sha512-Ymgo3FJACRBEd1eE653FD1J/+uD0kqpUNYfr9zNC1Qby0LgbhDBzB3EF6uvkAbYpycStkk41J+0oo37Lc02yEw== dependencies: "@babel/runtime" "^7.7.6" - async "^3.0.1" + async "^3.1.0" chalk "^4.0.0" didyoumean "^1.2.1" - inquirer "^7.0.4" - json-fixer "^1.5.1" + inquirer "^7.3.3" + json-fixer "^1.6.8" lodash "^4.11.2" node-fetch "^2.6.0" pify "^5.0.0" yargs "^15.0.1" + optionalDependencies: + prettier "^2" ansi-colors@^3.0.0: version "3.2.4" @@ -2516,11 +2597,6 @@ ansi-colors@^4.1.1: resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== -ansi-escapes@^3.2.0: - version "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.2.1: version "4.3.2" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" @@ -2536,17 +2612,12 @@ ansi-html-community@0.0.8: ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" - integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= - -ansi-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" - integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= + integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== ansi-regex@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== + version "4.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" + integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== ansi-regex@^5.0.0, ansi-regex@^5.0.1: version "5.0.1" @@ -2570,7 +2641,7 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: any-promise@^1.0.0: version "1.3.0" resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" - integrity sha1-q8av7tzqUugJzcA3au0845Y10X8= + integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== anymatch@^2.0.0: version "2.0.0" @@ -2581,9 +2652,9 @@ anymatch@^2.0.0: normalize-path "^2.1.1" anymatch@^3.0.3, anymatch@~3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" - integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== dependencies: normalize-path "^3.0.0" picomatch "^2.0.4" @@ -2594,9 +2665,9 @@ anymatch@^3.0.3, anymatch@~3.1.2: integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== are-we-there-yet@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-3.0.0.tgz#ba20bd6b553e31d62fc8c31bd23d22b95734390d" - integrity sha512-0GWpv50YSOcLXaN6/FAKY3vfRbllXWV2xvfA/oKJF8pzFhWXPV+yjhJXDBbjscDYowv7Yw1A3uigpzn5iEGTyw== + version "3.0.1" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz#679df222b278c64f2cdba1175cdc00b0d96164bd" + integrity sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg== dependencies: delegates "^1.0.0" readable-stream "^3.6.0" @@ -2621,12 +2692,12 @@ argparse@^2.0.1: argv@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab" - integrity sha1-7L0W+JSbFXGDcRsb2jNPN4QBhas= + integrity sha512-dEamhpPEwRUBpLNHeuCm/v+g0anFByHahxodVO/BbAarHVBBg2MccCwf9K+o1Pof+2btdnkJelYVUWjW/VrATw== arr-diff@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" - integrity sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA= + integrity sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA== arr-flatten@^1.1.0: version "1.1.0" @@ -2636,7 +2707,7 @@ arr-flatten@^1.1.0: arr-union@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" - integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= + integrity sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q== array-differ@^3.0.0: version "3.0.0" @@ -2646,7 +2717,7 @@ array-differ@^3.0.0: array-flatten@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" - integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= + integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== array-flatten@^2.1.0: version "2.1.2" @@ -2656,12 +2727,12 @@ array-flatten@^2.1.0: array-ify@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" - integrity sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4= + integrity sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng== array-union@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" - integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk= + integrity sha512-Dxr6QJj/RdU/hCaBjOfxW+q6lyuVE6JFWIrAUpuOOhoJJoQ99cUn3igRaHVB5P9WrgFVN0FfArM3x0cueOU8ng== dependencies: array-uniq "^1.0.1" @@ -2673,17 +2744,17 @@ array-union@^2.1.0: array-uniq@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" - integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= + integrity sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q== array-unique@^0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" - integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg= + integrity sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ== arrify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" - integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= + integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== arrify@^2.0.1: version "2.0.1" @@ -2693,7 +2764,7 @@ arrify@^2.0.1: asap@^2.0.0: version "2.0.6" resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= + integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== asn1.js@^5.2.0: version "5.4.1" @@ -2706,24 +2777,25 @@ asn1.js@^5.2.0: safer-buffer "^2.1.0" assert@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/assert/-/assert-2.0.0.tgz#95fc1c616d48713510680f2eaf2d10dd22e02d32" - integrity sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A== + version "2.1.0" + resolved "https://registry.yarnpkg.com/assert/-/assert-2.1.0.tgz#6d92a238d05dc02e7427c881fb8be81c8448b2dd" + integrity sha512-eLHpSK/Y4nhMJ07gDaAzoX/XAKS8PSaojml3M0DM4JpV1LAi5JOJ/p6H/XWrl8L+DzVEvVCW1z3vWAaB9oTsQw== dependencies: - es6-object-assign "^1.1.0" - is-nan "^1.2.1" - object-is "^1.0.1" - util "^0.12.0" + call-bind "^1.0.2" + is-nan "^1.3.2" + object-is "^1.1.5" + object.assign "^4.1.4" + util "^0.12.5" assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" - integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c= + integrity sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw== async-each@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" - integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== + version "1.0.6" + resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.6.tgz#52f1d9403818c179b7561e11a5d1b77eb2160e77" + integrity sha512-c646jH1avxr+aVpndVMeAfYw7wAa6idufrlN3LPA4PmKS0QEGp6PIC9nwz0WQkkvBGAMEki3pFdtxaF39J9vvg== async-limiter@~1.0.0: version "1.0.1" @@ -2742,22 +2814,22 @@ async-sema@^3.1.1: resolved "https://registry.yarnpkg.com/async-sema/-/async-sema-3.1.1.tgz#e527c08758a0f8f6f9f15f799a173ff3c40ea808" integrity sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg== -async@^2.6.2: +async@^2.6.4: version "2.6.4" resolved "https://registry.yarnpkg.com/async/-/async-2.6.4.tgz#706b7ff6084664cd7eae713f6f965433b5504221" integrity sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA== dependencies: lodash "^4.17.14" -async@^3.0.1: - version "3.2.3" - resolved "https://registry.yarnpkg.com/async/-/async-3.2.3.tgz#ac53dafd3f4720ee9e8a160628f18ea91df196c9" - integrity sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g== +async@^3.1.0, async@^3.2.3: + version "3.2.5" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.5.tgz#ebd52a8fdaf7a2289a24df399f8d8485c8a46b66" + integrity sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg== asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== at-least-node@^1.0.0: version "1.0.0" @@ -2774,6 +2846,15 @@ available-typed-arrays@^1.0.5: resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== +axios@^1.0.0: + version "1.6.5" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.5.tgz#2c090da14aeeab3770ad30c3a1461bc970fb0cd8" + integrity sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg== + dependencies: + follow-redirects "^1.15.4" + form-data "^4.0.0" + proxy-from-env "^1.1.0" + babel-jest@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-26.6.3.tgz#d87d25cb0037577a0c89f82e5755c5d293c01056" @@ -2861,12 +2942,12 @@ base@^0.11.1: batch@0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" - integrity sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY= + integrity sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw== before-after-hook@^2.2.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e" - integrity sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ== + version "2.2.3" + resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.3.tgz#c51e809c81a4e354084422b9b26bad88249c517c" + integrity sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ== bfj@^6.1.1: version "6.1.2" @@ -2879,13 +2960,13 @@ bfj@^6.1.1: tryer "^1.0.1" bin-links@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-3.0.1.tgz#cc70ffb481988b22c527d3e6e454787876987a49" - integrity sha512-9vx+ypzVhASvHTS6K+YSGf7nwQdANoz7v6MTC0aCtYnOEZ87YvMf81aY737EZnGZdpbRM3sfWjO9oWkKmuIvyQ== + version "3.0.3" + resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-3.0.3.tgz#3842711ef3db2cd9f16a5f404a996a12db355a6e" + integrity sha512-zKdnMPWEdh4F5INR07/eBrodC7QrF5JKvqskjz/ZZRXg5YSAZIbn8zGhbhUrElzHBZ2fvEQdOU59RHcTG3GiwA== dependencies: cmd-shim "^5.0.0" mkdirp-infer-owner "^2.0.0" - npm-normalize-package-bin "^1.0.0" + npm-normalize-package-bin "^2.0.0" read-cmd-shim "^3.0.0" rimraf "^3.0.0" write-file-atomic "^4.0.0" @@ -2926,36 +3007,33 @@ bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== -bn.js@^5.0.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002" - integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw== - -bn.js@^5.2.1: +bn.js@^5.0.0, bn.js@^5.2.1: version "5.2.1" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -body-parser@1.19.2: - version "1.19.2" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.2.tgz#4714ccd9c157d44797b8b5607d72c0b89952f26e" - integrity sha512-SAAwOxgoCKMGs9uUAUFHygfLAyaniaoun6I8mFY9pRAJL9+Kec34aU+oIjDhTycub1jozEfEwx1W1IuOYxVSFw== +body-parser@1.20.1: + version "1.20.1" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" + integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== dependencies: bytes "3.1.2" content-type "~1.0.4" debug "2.6.9" - depd "~1.1.2" - http-errors "1.8.1" + depd "2.0.0" + destroy "1.2.0" + http-errors "2.0.0" iconv-lite "0.4.24" - on-finished "~2.3.0" - qs "6.9.7" - raw-body "2.4.3" + on-finished "2.4.1" + qs "6.11.0" + raw-body "2.5.1" type-is "~1.6.18" + unpipe "1.0.0" bonjour@^3.5.0: version "3.5.0" resolved "https://registry.yarnpkg.com/bonjour/-/bonjour-3.5.0.tgz#8e890a183d8ee9a2393b3844c691a42bcf7bc9f5" - integrity sha1-jokKGD2O6aI5OzhExpGkK897yfU= + integrity sha512-RaVTblr+OnEli0r/ud8InrU7D+G0y6aJhlxaLa6Pwty4+xoxboF1BsUI45tujvRpbj9dQVoglChqonGAsjEBYg== dependencies: array-flatten "^2.1.0" deep-equal "^1.0.1" @@ -2967,7 +3045,7 @@ bonjour@^3.5.0: boolbase@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" - integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= + integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww== bottleneck@^2.15.3: version "2.19.5" @@ -3005,7 +3083,7 @@ braces@^2.3.1, braces@^2.3.2: split-string "^3.0.2" to-regex "^3.0.1" -braces@^3.0.1, braces@^3.0.2, braces@~3.0.2: +braces@^3.0.2, braces@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== @@ -3015,7 +3093,7 @@ braces@^3.0.1, braces@^3.0.2, braces@~3.0.2: brorand@^1.0.1, brorand@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" - integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== browser-process-hrtime@^1.0.0: version "1.0.0" @@ -3083,16 +3161,15 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@^4.14.5, browserslist@^4.17.5: - version "4.19.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.19.3.tgz#29b7caad327ecf2859485f696f9604214bedd383" - integrity sha512-XK3X4xtKJ+Txj8G5c30B4gsm71s69lqXlkYui4s6EkKxuv49qjYlY6oVd+IFJ73d4YymtM3+djvvt/R/iJwwDg== +browserslist@^4.14.5, browserslist@^4.22.2: + version "4.22.2" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.2.tgz#704c4943072bd81ea18997f3bd2180e89c77874b" + integrity sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A== dependencies: - caniuse-lite "^1.0.30001312" - electron-to-chromium "^1.4.71" - escalade "^3.1.1" - node-releases "^2.0.2" - picocolors "^1.0.0" + caniuse-lite "^1.0.30001565" + electron-to-chromium "^1.4.601" + node-releases "^2.0.14" + update-browserslist-db "^1.0.13" bs-logger@0.x: version "0.2.6" @@ -3111,12 +3188,12 @@ bser@2.1.1: btoa-lite@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337" - integrity sha1-M3dm2hWAEhD92VbCLpxokaudAzc= + integrity sha512-gvW7InbIyF8AicrqWoptdW08pUxuhq8BEgowNajy9RhiE86fmGAGl+bLKo6oB8QP0CkqHLowfN0oJdKC/J6LbA== buffer-equal-constant-time@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz#f8e71132f7ffe6e01a5c9697a4c6f3e48d5cc819" - integrity sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk= + integrity sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA== buffer-from@1.x, buffer-from@^1.0.0: version "1.1.2" @@ -3131,7 +3208,7 @@ buffer-indexof@^1.0.0: buffer-xor@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" - integrity sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk= + integrity sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ== buffer@^5.5.0: version "5.7.1" @@ -3152,17 +3229,17 @@ buffer@^6.0.3: builtin-modules@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" - integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8= + integrity sha512-wxXCdllwGhI2kCC0MnvTGYTMvnVZTvqgypkiTI8Pa5tcz2i6VqsqwYGgqwXji+4RgCzms6EajE4IxiUH6HH8nQ== builtin-status-codes@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" - integrity sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug= + integrity sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ== builtins@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - integrity sha1-y5T662HIaWRR2zZTThQi+U8K7og= + integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== builtins@^5.0.0: version "5.0.1" @@ -3179,7 +3256,7 @@ byte-size@^7.0.0: bytes@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" - integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg= + integrity sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw== bytes@3.1.2: version "3.1.2" @@ -3211,9 +3288,9 @@ cacache@^15.2.0: unique-filename "^1.1.1" cacache@^16.0.0, cacache@^16.0.6, cacache@^16.1.0: - version "16.1.1" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-16.1.1.tgz#4e79fb91d3efffe0630d5ad32db55cc1b870669c" - integrity sha512-VDKN+LHyCQXaaYZ7rA/qtkURU+/yYhviUdvqEv2LT6QPZU8jpyzEkEVAcKlKLt5dJ5BRp11ym8lo3NKLluEPLg== + version "16.1.3" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-16.1.3.tgz#a02b9f34ecfaf9a78c9f4bc16fceb94d5d67a38e" + integrity sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ== dependencies: "@npmcli/fs" "^2.1.0" "@npmcli/move-file" "^2.0.0" @@ -3232,7 +3309,7 @@ cacache@^16.0.0, cacache@^16.0.6, cacache@^16.1.0: rimraf "^3.0.2" ssri "^9.0.0" tar "^6.1.11" - unique-filename "^1.1.1" + unique-filename "^2.0.0" cache-base@^1.0.1: version "1.0.1" @@ -3249,42 +3326,51 @@ cache-base@^1.0.1: union-value "^1.0.0" unset-value "^1.0.0" -cachedir@2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/cachedir/-/cachedir-2.2.0.tgz#19afa4305e05d79e417566882e0c8f960f62ff0e" - integrity sha512-VvxA0xhNqIIfg0V9AmJkDg91DaJwryutH5rVEZAhcNi4iJFj9f+QxmAjgK1LT9I8OgToX27fypX6/MeCXVbBjQ== +cacheable-request@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912" + integrity sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg== + dependencies: + clone-response "^1.0.2" + get-stream "^5.1.0" + http-cache-semantics "^4.0.0" + keyv "^3.0.0" + lowercase-keys "^2.0.0" + normalize-url "^4.1.0" + responselike "^1.0.2" cachedir@2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/cachedir/-/cachedir-2.3.0.tgz#0c75892a052198f0b21c7c1804d8331edfcae0e8" integrity sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw== -call-bind@^1.0.0, call-bind@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" - integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== +call-bind@^1.0.0, call-bind@^1.0.2, call-bind@^1.0.4, call-bind@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.5.tgz#6fa2b7845ce0ea49bf4d8b9ef64727a2c2e2e513" + integrity sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ== dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" + function-bind "^1.1.2" + get-intrinsic "^1.2.1" + set-function-length "^1.1.1" caller-callsite@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134" - integrity sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ= + integrity sha512-JuG3qI4QOftFsZyOn1qq87fq5grLIyk1JYd5lJmdA+fG7aQ9pA/i3JIJGcO3q0MrRcHlOt1U+ZeHW8Dq9axALQ== dependencies: callsites "^2.0.0" caller-path@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4" - integrity sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ= + integrity sha512-MCL3sf6nCSXOwCTzvPKhN18TU7AHTvdtam8DAogxcrJ8Rjfbbg7Lgng64H9Iy+vUV6VGFClN/TyxBkAebLRR4A== dependencies: caller-callsite "^2.0.0" callsites@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" - integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= + integrity sha512-ksWePWBloaWPxJYQ8TL0JHvtci6G5QTKwQ95RcWAa/lzoAKuAOflGdAK92hpHXjkwb8zLxoLNUoNYZgVsaJzvQ== callsites@^3.0.0: version "3.1.0" @@ -3323,10 +3409,10 @@ camelcase@^6.0.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001312: - version "1.0.30001312" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001312.tgz#e11eba4b87e24d22697dae05455d5aea28550d5f" - integrity sha512-Wiz1Psk2MEK0pX3rUzWaunLTZzqS2JYZFzNKqAiJGiuxIjRPLgV6+VDPOg6lQOUxmDwhTlh198JsTTi8Hzw6aQ== +caniuse-lite@^1.0.30001565: + version "1.0.30001576" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001576.tgz#893be772cf8ee6056d6c1e2d07df365b9ec0a5c4" + integrity sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg== capture-exit@^2.0.0: version "2.0.0" @@ -3345,15 +3431,7 @@ ccount@^2.0.0: resolved "https://registry.yarnpkg.com/ccount/-/ccount-2.0.1.tgz#17a3bf82302e0870d6da43a01311a8bc02a3ecf5" integrity sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg== -chalk@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" - integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -chalk@^2.0.0, chalk@^2.3.0, chalk@^2.4.1, chalk@^2.4.2: +chalk@^2.3.0, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -3370,7 +3448,7 @@ chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: +chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -3457,7 +3535,7 @@ chokidar@^2.1.8: optionalDependencies: fsevents "^1.2.7" -chokidar@^3.0.2, chokidar@^3.5.1: +chokidar@^3.0.2: version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== @@ -3511,9 +3589,9 @@ class-utils@^0.3.5: static-extend "^0.1.1" clean-css@^5.2.2: - version "5.2.4" - resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.2.4.tgz#982b058f8581adb2ae062520808fb2429bd487a4" - integrity sha512-nKseG8wCzEuji/4yrgM/5cthL9oTDc5UOQyFMvW/Q53oP6gLH690o1NbuTh6Y18nujr7BxlsFuS7gXLnLzKJGg== + version "5.3.3" + resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.3.3.tgz#b330653cd3bd6b75009cc25c714cae7b93351ccd" + integrity sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg== dependencies: source-map "~0.6.0" @@ -3529,13 +3607,6 @@ cli-cursor@3.1.0, cli-cursor@^3.1.0: dependencies: restore-cursor "^3.1.0" -cli-cursor@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" - integrity sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU= - dependencies: - restore-cursor "^2.0.0" - cli-highlight@^2.1.11: version "2.1.11" resolved "https://registry.yarnpkg.com/cli-highlight/-/cli-highlight-2.1.11.tgz#49736fa452f0aaf4fae580e30acb26828d2dc1bf" @@ -3554,14 +3625,9 @@ cli-spinners@2.6.1: integrity sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g== cli-spinners@^2.5.0: - version "2.7.0" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.7.0.tgz#f815fd30b5f9eaac02db604c7a231ed7cb2f797a" - integrity sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw== - -cli-width@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48" - integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== + version "2.9.2" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.2.tgz#1773a8f4b9c4d6ac31563df53b3fc1d79462fe41" + integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg== cli-width@^3.0.0: version "3.0.0" @@ -3595,6 +3661,15 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" +cliui@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" + integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.1" + wrap-ansi "^7.0.0" + clone-deep@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" @@ -3604,10 +3679,17 @@ clone-deep@^4.0.1: kind-of "^6.0.2" shallow-clone "^3.0.0" +clone-response@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" + integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== + dependencies: + mimic-response "^1.0.0" + clone@^1.0.2: version "1.0.4" resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" - integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= + integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== cmd-shim@^5.0.0: version "5.0.0" @@ -3619,7 +3701,7 @@ cmd-shim@^5.0.0: co@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" - integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ= + integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== codecov@^3.8.3: version "3.8.3" @@ -3633,14 +3715,14 @@ codecov@^3.8.3: urlgrey "1.0.0" collect-v8-coverage@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" - integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== + version "1.0.2" + resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz#c0b29bcd33bcd0779a1344c2136051e6afd3d9e9" + integrity sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q== collection-visit@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" - integrity sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA= + integrity sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw== dependencies: map-visit "^1.0.0" object-visit "^1.0.0" @@ -3662,7 +3744,7 @@ color-convert@^2.0.1: color-name@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== color-name@~1.1.4: version "1.1.4" @@ -3675,9 +3757,9 @@ color-support@^1.1.3: integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== colorette@^2.0.14: - version "2.0.16" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.16.tgz#713b9af84fdb000139f04546bd4a93f62a5085da" - integrity sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g== + version "2.0.20" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" + integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== columnify@^1.6.0: version "1.6.0" @@ -3719,30 +3801,10 @@ commander@^8.3.0: resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== -commitizen@^4.0.3: - version "4.2.4" - resolved "https://registry.yarnpkg.com/commitizen/-/commitizen-4.2.4.tgz#a3e5b36bd7575f6bf6e7aa19dbbf06b0d8f37165" - integrity sha512-LlZChbDzg3Ir3O2S7jSo/cgWp5/QwylQVr59K4xayVq8S4/RdKzSyJkghAiZZHfhh5t4pxunUoyeg0ml1q/7aw== - dependencies: - cachedir "2.2.0" - cz-conventional-changelog "3.2.0" - dedent "0.7.0" - detect-indent "6.0.0" - find-node-modules "^2.1.2" - find-root "1.1.0" - fs-extra "8.1.0" - glob "7.1.4" - inquirer "6.5.2" - is-utf8 "^0.2.1" - lodash "^4.17.20" - minimist "1.2.5" - strip-bom "4.0.0" - strip-json-comments "3.0.1" - -commitizen@^4.2.5: - version "4.2.5" - resolved "https://registry.yarnpkg.com/commitizen/-/commitizen-4.2.5.tgz#48e5a5c28334c6e8ed845cc24fc9f072efd3961e" - integrity sha512-9sXju8Qrz1B4Tw7kC5KhnvwYQN88qs2zbiB8oyMsnXZyJ24PPGiNM3nHr73d32dnE3i8VJEXddBFIbOgYSEXtQ== +commitizen@^4.0.3, commitizen@^4.2.5: + version "4.3.0" + resolved "https://registry.yarnpkg.com/commitizen/-/commitizen-4.3.0.tgz#0d056c542a2d2b1f9b9aba981aa32575b2849924" + integrity sha512-H0iNtClNEhT0fotHvGV3E9tDejDeS04sN1veIebsKYGMuGscFaswRoYJKmT3eW85eIJAs0F28bG2+a/9wCOfPw== dependencies: cachedir "2.3.0" cz-conventional-changelog "3.3.0" @@ -3752,10 +3814,10 @@ commitizen@^4.2.5: find-root "1.1.0" fs-extra "9.1.0" glob "7.2.3" - inquirer "8.2.4" + inquirer "8.2.5" is-utf8 "^0.2.1" lodash "4.17.21" - minimist "1.2.6" + minimist "1.2.7" strip-bom "4.0.0" strip-json-comments "3.1.1" @@ -3773,9 +3835,9 @@ compare-func@^2.0.0: dot-prop "^5.1.0" component-emitter@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" - integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== + version "1.3.1" + resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.1.tgz#ef1d5796f7d93f135ee6fb684340b26403c97d17" + integrity sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ== compressible@~2.0.16: version "2.0.18" @@ -3800,7 +3862,7 @@ compression@^1.7.4: concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== concat-stream@^2.0.0: version "2.0.0" @@ -3838,7 +3900,7 @@ console-control-strings@^1.1.0: constants-browserify@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" - integrity sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U= + integrity sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ== content-disposition@0.5.4: version "0.5.4" @@ -3848,9 +3910,9 @@ content-disposition@0.5.4: safe-buffer "5.2.1" content-type@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" - integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== + version "1.0.5" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" + integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== conventional-changelog-angular@^5.0.12: version "5.0.13" @@ -3939,40 +4001,42 @@ conventional-recommended-bump@^6.1.0: meow "^8.0.0" q "^1.5.1" -convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" - integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== - dependencies: - safe-buffer "~5.1.1" +convert-source-map@^1.4.0, convert-source-map@^1.6.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== cookie-signature@1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" - integrity sha1-4wOogrNCzD7oylE6eZmXNNqzriw= + integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== -cookie@0.4.2: - version "0.4.2" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" - integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== +cookie@0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" + integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== copy-descriptor@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" - integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= + integrity sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw== core-util-is@~1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== -cosmiconfig-typescript-loader@^1.0.0: - version "1.0.6" - resolved "https://registry.yarnpkg.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-1.0.6.tgz#6d879cece8063b15ec8a3258f55a8e94893c7cca" - integrity sha512-2nEotziYJWtNtoTjKbchj9QrdTT6DBxCvqjNKoDKARw+e2yZmTQCa07uRrykLIZuvSgp69YXLH89UHc0WhdMfQ== +cosmiconfig-typescript-loader@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-5.0.0.tgz#0d3becfe022a871f7275ceb2397d692e06045dc8" + integrity sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA== dependencies: - cosmiconfig "^7" - ts-node "^10.6.0" + jiti "^1.19.1" cosmiconfig@^5.2.1: version "5.2.1" @@ -3984,10 +4048,10 @@ cosmiconfig@^5.2.1: js-yaml "^3.13.1" parse-json "^4.0.0" -cosmiconfig@^7, cosmiconfig@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" - integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== +cosmiconfig@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" + integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== dependencies: "@types/parse-json" "^4.0.0" import-fresh "^3.2.1" @@ -3995,6 +4059,16 @@ cosmiconfig@^7, cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" +cosmiconfig@^8.3.6: + version "8.3.6" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.3.6.tgz#060a2b871d66dba6c8538ea1118ba1ac16f5fae3" + integrity sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA== + dependencies: + import-fresh "^3.3.0" + js-yaml "^4.1.0" + parse-json "^5.2.0" + path-type "^4.0.0" + create-ecdh@^4.0.0: version "4.0.4" resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" @@ -4026,11 +4100,6 @@ create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: safe-buffer "^5.0.1" sha.js "^2.4.8" -create-require@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" - integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== - cross-env@^7.0.2: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" @@ -4039,11 +4108,20 @@ cross-env@^7.0.2: cross-spawn "^7.0.1" cross-fetch@^3.0.4: - version "3.1.5" - resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f" - integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw== + version "3.1.8" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.8.tgz#0327eba65fd68a7d119f8fb2bf9334a1a7956f82" + integrity sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg== dependencies: - node-fetch "2.6.7" + node-fetch "^2.6.12" + +cross-spawn@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" + integrity sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A== + dependencies: + lru-cache "^4.0.1" + shebang-command "^1.2.0" + which "^1.2.9" cross-spawn@^6.0.0: version "6.0.5" @@ -4083,13 +4161,13 @@ crypto-browserify@^3.12.0: randomfill "^1.0.3" css-select@^4.1.3: - version "4.2.1" - resolved "https://registry.yarnpkg.com/css-select/-/css-select-4.2.1.tgz#9e665d6ae4c7f9d65dbe69d0316e3221fb274cdd" - integrity sha512-/aUslKhzkTNCQUB2qTX84lVmfia9NyjP3WpDGtj/WxhwBzWBYUV3DgUpurHTme8UTPcPlAD1DJ+b0nN/t50zDQ== + version "4.3.0" + resolved "https://registry.yarnpkg.com/css-select/-/css-select-4.3.0.tgz#db7129b2846662fd8628cfc496abb2b59e41529b" + integrity sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ== dependencies: boolbase "^1.0.0" - css-what "^5.1.0" - domhandler "^4.3.0" + css-what "^6.0.1" + domhandler "^4.3.1" domutils "^2.8.0" nth-check "^2.0.1" @@ -4112,12 +4190,7 @@ css-vendor@^2.0.8: "@babel/runtime" "^7.8.3" is-in-browser "^1.0.2" -css-what@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-5.1.0.tgz#3f7b707aadf633baf62c2ceb8579b545bb40f7fe" - integrity sha512-arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw== - -css-what@^6.1.0: +css-what@^6.0.1, css-what@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== @@ -4140,23 +4213,9 @@ cssstyle@^2.3.0: cssom "~0.3.6" csstype@^3.0.2: - version "3.0.10" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.10.tgz#2ad3a7bed70f35b965707c092e5f30b327c290e5" - integrity sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA== - -cz-conventional-changelog@3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/cz-conventional-changelog/-/cz-conventional-changelog-3.2.0.tgz#6aef1f892d64113343d7e455529089ac9f20e477" - integrity sha512-yAYxeGpVi27hqIilG1nh4A9Bnx4J3Ov+eXy4koL3drrR+IO9GaWPsKjik20ht608Asqi8TQPf0mczhEeyAtMzg== - dependencies: - chalk "^2.4.1" - commitizen "^4.0.3" - conventional-commit-types "^3.0.0" - lodash.map "^4.5.1" - longest "^2.0.1" - word-wrap "^1.0.3" - optionalDependencies: - "@commitlint/load" ">6.1.1" + version "3.1.3" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81" + integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== cz-conventional-changelog@3.3.0, cz-conventional-changelog@^3.3.0: version "3.3.0" @@ -4198,36 +4257,29 @@ debug@2.6.9, debug@^2.2.0, debug@^2.3.3: dependencies: ms "2.0.0" -debug@4, debug@^4.1.0, debug@^4.1.1: - version "4.3.3" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" - integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== +debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.3: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== dependencies: ms "2.1.2" -debug@^3.1.1, debug@^3.2.7: +debug@^3.2.7: version "3.2.7" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== dependencies: ms "^2.1.1" -debug@^4.3.3: - version "4.3.4" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== - dependencies: - ms "2.1.2" - debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" - integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= + integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw== decamelize-keys@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.0.tgz#d171a87933252807eb3cb61dc1c1445d078df2d9" - integrity sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk= + version "1.1.1" + resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.1.tgz#04a2d523b2f18d80d0158a43b895d56dff8d19d8" + integrity sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg== dependencies: decamelize "^1.1.0" map-obj "^1.0.0" @@ -4235,44 +4287,51 @@ decamelize-keys@^1.1.0: decamelize@^1.1.0, decamelize@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= + integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== decimal.js@^10.2.1: - version "10.3.1" - resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.3.1.tgz#d8c3a444a9c6774ba60ca6ad7261c3a94fd5e783" - integrity sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ== + version "10.4.3" + resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" + integrity sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA== decode-uri-component@^0.2.0: version "0.2.2" resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== +decompress-response@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" + integrity sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA== + dependencies: + mimic-response "^1.0.0" + dedent@0.7.0, dedent@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" - integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= + integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== deep-equal@^1.0.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a" - integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g== + version "1.1.2" + resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.2.tgz#78a561b7830eef3134c7f6f3a3d6af272a678761" + integrity sha512-5tdhKF6DbU7iIzrIOa1AOUt39ZRm13cmL1cGEh//aqR8x9+tNfbywRf0n5FD/18OKMdo7DNEtrX2t22ZAkI+eg== dependencies: - is-arguments "^1.0.4" - is-date-object "^1.0.1" - is-regex "^1.0.4" - object-is "^1.0.1" + is-arguments "^1.1.1" + is-date-object "^1.0.5" + is-regex "^1.1.4" + object-is "^1.1.5" object-keys "^1.1.1" - regexp.prototype.flags "^1.2.0" + regexp.prototype.flags "^1.5.1" -deep-is@~0.1.3: - version "0.1.4" - resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" - integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== +deep-extend@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" + integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== deepmerge@^4.0.0, deepmerge@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" - integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + version "4.3.1" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" + integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== default-gateway@^4.2.0: version "4.2.0" @@ -4283,35 +4342,51 @@ default-gateway@^4.2.0: ip-regex "^2.1.0" defaults@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" - integrity sha1-xlYFHpgX2f8I7YgUd/P+QBnz730= + version "1.0.4" + resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.4.tgz#b0b02062c1e2aa62ff5d9528f0f98baa90978d7a" + integrity sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A== dependencies: clone "^1.0.2" +defer-to-connect@^1.0.1: + version "1.1.3" + resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591" + integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ== + +define-data-property@^1.0.1, define-data-property@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.1.tgz#c35f7cd0ab09883480d12ac5cb213715587800b3" + integrity sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ== + dependencies: + get-intrinsic "^1.2.1" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + define-lazy-prop@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== -define-properties@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" - integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ== +define-properties@^1.1.3, define-properties@^1.2.0, define-properties@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" + integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== dependencies: - object-keys "^1.0.12" + define-data-property "^1.0.1" + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" define-property@^0.2.5: version "0.2.5" resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" - integrity sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY= + integrity sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA== dependencies: is-descriptor "^0.1.0" define-property@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" - integrity sha1-dp66rz9KY6rTr56NMEybvnm/sOY= + integrity sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA== dependencies: is-descriptor "^1.0.0" @@ -4339,17 +4414,22 @@ del@^4.1.1: delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== delegates@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= + integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== + +depd@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" + integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== -depd@^1.1.2, depd@~1.1.2: +depd@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= + integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== deprecation@^2.0.0, deprecation@^2.3.1: version "2.3.1" @@ -4357,27 +4437,22 @@ deprecation@^2.0.0, deprecation@^2.3.1: integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== des.js@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" - integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA== + version "1.1.0" + resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.1.0.tgz#1d37f5766f3bbff4ee9638e871a8768c173b81da" + integrity sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg== dependencies: inherits "^2.0.1" minimalistic-assert "^1.0.0" -destroy@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" - integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= +destroy@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" + integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== detect-file@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" - integrity sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc= - -detect-indent@6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.0.0.tgz#0abd0f549f69fc6659a254fe96786186b6f528fd" - integrity sha512-oSyFlqaTHCItVRGK5RmrmjB+CmaMOW7IaNA/kdxqhoa6d17j/5ce9O9eWXmV/KEdRwqpQA+Vqe8a8Bsybu4YnA== + integrity sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q== detect-indent@6.1.0, detect-indent@^6.0.0: version "6.1.0" @@ -4387,7 +4462,7 @@ detect-indent@6.1.0, detect-indent@^6.0.0: detect-indent@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" - integrity sha1-OHHMCmoALow+Wzz38zYmRnXwa50= + integrity sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g== detect-newline@^3.0.0: version "3.1.0" @@ -4400,9 +4475,9 @@ detect-node@^2.0.4: integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== dezalgo@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456" - integrity sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY= + version "1.0.4" + resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" + integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== dependencies: asap "^2.0.0" wrappy "1" @@ -4446,7 +4521,7 @@ dir-glob@^3.0.1: dns-equal@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" - integrity sha1-s55/HabrCnW6nBcySzR1PEfgZU0= + integrity sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg== dns-packet@^1.3.1: version "1.3.4" @@ -4459,7 +4534,7 @@ dns-packet@^1.3.1: dns-txt@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/dns-txt/-/dns-txt-2.0.2.tgz#b91d806f5d27188e4ab3e7d107d881a1cc4642b6" - integrity sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY= + integrity sha512-Ix5PrWjphuSoUXV/Zv5gaFHjnaJtb02F2+Si3Ht9dyJ87+Z/lMmy+dpNHtTGraNK958ndXq2i+GLkWsWHcKaBQ== dependencies: buffer-indexof "^1.0.0" @@ -4471,9 +4546,9 @@ dom-converter@^0.2.0: utila "~0.4" dom-serializer@^1.0.1: - version "1.3.2" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.3.2.tgz#6206437d32ceefaec7161803230c7a20bc1b4d91" - integrity sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig== + version "1.4.1" + resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" + integrity sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag== dependencies: domelementtype "^2.0.1" domhandler "^4.2.0" @@ -4489,16 +4564,11 @@ dom-serializer@^2.0.0: entities "^4.2.0" domain-browser@^4.19.0: - version "4.22.0" - resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-4.22.0.tgz#6ddd34220ec281f9a65d3386d267ddd35c491f9f" - integrity sha512-IGBwjF7tNk3cwypFNH/7bfzBcgSCbaMOD3GsaY1AU/JRrnHnYgEM0+9kQt52iZxjNsjBtJYtao146V+f8jFZNw== - -domelementtype@^2.0.1, domelementtype@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.2.0.tgz#9a0b6c2782ed6a1c7323d42267183df9bd8b1d57" - integrity sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A== + version "4.23.0" + resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-4.23.0.tgz#427ebb91efcb070f05cffdfb8a4e9a6c25f8c94b" + integrity sha512-ArzcM/II1wCCujdCNyQjXrAFwS4mrLh4C7DZWlaI8mdh7h3BfKdNd3bKXITfl2PT9FtfQqaGvhi1vPRQPimjGA== -domelementtype@^2.3.0: +domelementtype@^2.0.1, domelementtype@^2.2.0, domelementtype@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== @@ -4510,14 +4580,14 @@ domexception@^2.0.1: dependencies: webidl-conversions "^5.0.0" -domhandler@^4.0.0, domhandler@^4.2.0, domhandler@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-4.3.0.tgz#16c658c626cf966967e306f966b431f77d4a5626" - integrity sha512-fC0aXNQXqKSFTr2wDNZDhsEYjCiYsDWl3D01kwt25hm1YIPyDGHvvi3rw+PLqHAl/m71MaiF7d5zvBr0p5UB2g== +domhandler@^4.0.0, domhandler@^4.2.0, domhandler@^4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-4.3.1.tgz#8d792033416f59d68bc03a5aa7b018c1ca89279c" + integrity sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ== dependencies: domelementtype "^2.2.0" -domhandler@^5.0.1, domhandler@^5.0.2, domhandler@^5.0.3: +domhandler@^5.0.2, domhandler@^5.0.3: version "5.0.3" resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-5.0.3.tgz#cc385f7f751f1d1fc650c21374804254538c7d31" integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w== @@ -4534,13 +4604,13 @@ domutils@^2.5.2, domutils@^2.8.0: domhandler "^4.2.0" domutils@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-3.0.1.tgz#696b3875238338cb186b6c0612bd4901c89a4f1c" - integrity sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q== + version "3.1.0" + resolved "https://registry.yarnpkg.com/domutils/-/domutils-3.1.0.tgz#c47f551278d3dc4b0b1ab8cbb42d751a6f0d824e" + integrity sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA== dependencies: dom-serializer "^2.0.0" domelementtype "^2.3.0" - domhandler "^5.0.1" + domhandler "^5.0.3" dot-case@^3.0.4: version "3.0.4" @@ -4569,6 +4639,11 @@ dotenv@~10.0.0: resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== +duplexer3@^0.1.4: + version "0.1.5" + resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.5.tgz#0b5e4d7bad5de8901ea4440624c8e1d20099217e" + integrity sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA== + duplexer@^0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" @@ -4584,17 +4659,24 @@ ecdsa-sig-formatter@1.0.11: ee-first@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" - integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= + integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== ejs@^2.6.1: version "2.7.4" resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.4.tgz#48661287573dcc53e366c7a1ae52c3a120eec9ba" integrity sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA== -electron-to-chromium@^1.4.71: - version "1.4.75" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.75.tgz#d1ad9bb46f2f1bf432118c2be21d27ffeae82fdd" - integrity sha512-LxgUNeu3BVU7sXaKjUDD9xivocQLxFtq6wgERrutdY/yIOps3ODOZExK1jg8DTEg4U8TUCb5MLGeWFOYuxjF3Q== +ejs@^3.1.7: + version "3.1.9" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.9.tgz#03c9e8777fe12686a9effcef22303ca3d8eeb361" + integrity sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ== + dependencies: + jake "^10.8.5" + +electron-to-chromium@^1.4.601: + version "1.4.626" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.626.tgz#c20e1706354a31721b65e81496800534dd04b222" + integrity sha512-f7/be56VjRRQk+Ric6PmIrEtPcIqsn3tElyAu9Sh6egha2VLJ82qwkcOdcnT06W+Pb6RUulV1ckzrGbKzVcTHg== elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" @@ -4627,7 +4709,7 @@ emoji-regex@^8.0.0: encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" - integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= + integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== encoding@^0.1.12, encoding@^0.1.13: version "0.1.13" @@ -4643,10 +4725,10 @@ end-of-stream@^1.1.0, end-of-stream@^1.4.1: dependencies: once "^1.4.0" -enhanced-resolve@^5.8.3: - version "5.9.2" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.9.2.tgz#0224dcd6a43389ebfb2d55efee517e5466772dd9" - integrity sha512-GIm3fQfwLJ8YZx2smuHpBKkXC1yOk+OBEmKckVyL0i/ea8mqDEykK3ld5dgH1QYPNyT/lIllxV2LULnxCHaHkA== +enhanced-resolve@^5.15.0: + version "5.15.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" + integrity sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" @@ -4663,10 +4745,10 @@ entities@^2.0.0: resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== -entities@^4.2.0, entities@^4.3.0, entities@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-4.4.0.tgz#97bdaba170339446495e653cfd2db78962900174" - integrity sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA== +entities@^4.2.0, entities@^4.4.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" + integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== env-paths@^2.2.0: version "2.2.1" @@ -4674,9 +4756,9 @@ env-paths@^2.2.0: integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== envinfo@^7.7.3, envinfo@^7.7.4: - version "7.8.1" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" - integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== + version "7.11.0" + resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.11.0.tgz#c3793f44284a55ff8c82faf1ffd91bc6478ea01f" + integrity sha512-G9/6xF1FPbIw0TtalAMaVPpiq2aDEuKLXM314jPVAO9r2fo2a4BLqMNkmRS7O/xPPZ+COAhGIz3ETvHEV3eUcg== err-code@^2.0.2: version "2.0.3" @@ -4697,50 +4779,10 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.18.5: - version "1.19.1" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.19.1.tgz#d4885796876916959de78edaa0df456627115ec3" - integrity sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w== - dependencies: - call-bind "^1.0.2" - es-to-primitive "^1.2.1" - function-bind "^1.1.1" - get-intrinsic "^1.1.1" - get-symbol-description "^1.0.0" - has "^1.0.3" - has-symbols "^1.0.2" - internal-slot "^1.0.3" - is-callable "^1.2.4" - is-negative-zero "^2.0.1" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.1" - is-string "^1.0.7" - is-weakref "^1.0.1" - object-inspect "^1.11.0" - object-keys "^1.1.1" - object.assign "^4.1.2" - string.prototype.trimend "^1.0.4" - string.prototype.trimstart "^1.0.4" - unbox-primitive "^1.0.1" - -es-module-lexer@^0.9.0: - version "0.9.3" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz#6f13db00cc38417137daf74366f535c8eb438f19" - integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ== - -es-to-primitive@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" - integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== - dependencies: - is-callable "^1.1.4" - is-date-object "^1.0.1" - is-symbol "^1.0.2" - -es6-object-assign@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c" - integrity sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw= +es-module-lexer@^1.2.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.4.1.tgz#41ea21b43908fe6a287ffcbe4300f790555331f5" + integrity sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w== escalade@^3.1.1: version "3.1.1" @@ -4750,12 +4792,12 @@ escalade@^3.1.1: escape-html@~1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" - integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= + integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" - integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== escape-string-regexp@^2.0.0: version "2.0.0" @@ -4763,14 +4805,13 @@ escape-string-regexp@^2.0.0: integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== escodegen@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.0.0.tgz#5e32b12833e8aa8fa35e1bf0befa89380484c7dd" - integrity sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw== + version "2.1.0" + resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.1.0.tgz#ba93bbb7a43986d29d6041f99f5262da773e2e17" + integrity sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w== dependencies: esprima "^4.0.1" estraverse "^5.2.0" esutils "^2.0.2" - optionator "^0.8.1" optionalDependencies: source-map "~0.6.1" @@ -4812,7 +4853,7 @@ esutils@^2.0.2: etag@~1.8.1: version "1.8.1" resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" - integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= + integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== eventemitter3@^4.0.0, eventemitter3@^4.0.4: version "4.0.7" @@ -4824,12 +4865,10 @@ events@^3.2.0, events@^3.3.0: resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== -eventsource@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-1.1.1.tgz#4544a35a57d7120fba4fa4c86cb4023b2c09df2f" - integrity sha512-qV5ZC0h7jYIAOhArFJgSfdyz6rALJyb270714o7ZtNnw2WSJ+eexhKtE0O8LYPRsHZHf2osHKZBxGPvm3kPkCA== - dependencies: - original "^1.0.0" +eventsource@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-2.0.2.tgz#76dfcc02930fb2ff339520b6d290da573a9e8508" + integrity sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA== evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: version "1.0.3" @@ -4890,12 +4929,12 @@ execa@^5.0.0: exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" - integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= + integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== expand-brackets@^2.1.4: version "2.1.4" resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" - integrity sha1-t3c14xXOMPa27/D4OwQVGiJEliI= + integrity sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA== dependencies: debug "^2.3.3" define-property "^0.2.5" @@ -4908,7 +4947,7 @@ expand-brackets@^2.1.4: expand-tilde@^2.0.0, expand-tilde@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" - integrity sha1-l+gBqgUt8CRU3kawK/YhZCzchQI= + integrity sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw== dependencies: homedir-polyfill "^1.0.1" @@ -4924,38 +4963,44 @@ expect@^26.6.2: jest-message-util "^26.6.2" jest-regex-util "^26.0.0" +exponential-backoff@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/exponential-backoff/-/exponential-backoff-3.1.1.tgz#64ac7526fe341ab18a39016cd22c787d01e00bf6" + integrity sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw== + express@^4.16.3, express@^4.17.1: - version "4.17.3" - resolved "https://registry.yarnpkg.com/express/-/express-4.17.3.tgz#f6c7302194a4fb54271b73a1fe7a06478c8f85a1" - integrity sha512-yuSQpz5I+Ch7gFrPCk4/c+dIBKlQUxtgwqzph132bsT6qhuzss6I8cLJQz7B3rFblzd6wtcI0ZbGltH/C4LjUg== + version "4.18.2" + resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" + integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== dependencies: accepts "~1.3.8" array-flatten "1.1.1" - body-parser "1.19.2" + body-parser "1.20.1" content-disposition "0.5.4" content-type "~1.0.4" - cookie "0.4.2" + cookie "0.5.0" cookie-signature "1.0.6" debug "2.6.9" - depd "~1.1.2" + depd "2.0.0" encodeurl "~1.0.2" escape-html "~1.0.3" etag "~1.8.1" - finalhandler "~1.1.2" + finalhandler "1.2.0" fresh "0.5.2" + http-errors "2.0.0" merge-descriptors "1.0.1" methods "~1.1.2" - on-finished "~2.3.0" + on-finished "2.4.1" parseurl "~1.3.3" path-to-regexp "0.1.7" proxy-addr "~2.0.7" - qs "6.9.7" + qs "6.11.0" range-parser "~1.2.1" safe-buffer "5.2.1" - send "0.17.2" - serve-static "1.14.2" + send "0.18.0" + serve-static "1.15.0" setprototypeof "1.2.0" - statuses "~1.5.0" + statuses "2.0.1" type-is "~1.6.18" utils-merge "1.0.1" vary "~1.1.2" @@ -4963,14 +5008,14 @@ express@^4.16.3, express@^4.17.1: extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" - integrity sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8= + integrity sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug== dependencies: is-extendable "^0.1.0" extend-shallow@^3.0.0, extend-shallow@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" - integrity sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg= + integrity sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q== dependencies: assign-symbols "^1.0.0" is-extendable "^1.0.1" @@ -5015,9 +5060,9 @@ fast-glob@3.2.7: micromatch "^4.0.4" fast-glob@^3.2.9: - version "3.2.11" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" - integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== + version "3.3.2" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" + integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -5030,27 +5075,22 @@ fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== -fast-levenshtein@~2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" - integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= - fast-url-parser@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/fast-url-parser/-/fast-url-parser-1.1.3.tgz#f4af3ea9f34d8a271cf58ad2b3759f431f0b318d" - integrity sha1-9K8+qfNNiicc9YrSs3WfQx8LMY0= + integrity sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ== dependencies: punycode "^1.3.2" fastest-levenshtein@^1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz#9990f7d3a88cc5a9ffd1f1745745251700d497e2" - integrity sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow== + version "1.0.16" + resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz#210e61b6ff181de91ea9b3d1b84fdedd47e034e5" + integrity sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg== fastq@^1.6.0: - version "1.13.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" - integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== + version "1.16.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.16.0.tgz#83b9a9375692db77a822df081edb6a9cf6839320" + integrity sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA== dependencies: reusify "^1.0.4" @@ -5062,9 +5102,9 @@ faye-websocket@^0.11.3, faye-websocket@^0.11.4: websocket-driver ">=0.5.1" fb-watchman@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85" - integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg== + version "2.0.2" + resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" + integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== dependencies: bser "2.1.1" @@ -5075,18 +5115,18 @@ figures@3.2.0, figures@^3.0.0: dependencies: escape-string-regexp "^1.0.5" -figures@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" - integrity sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI= - dependencies: - escape-string-regexp "^1.0.5" - file-uri-to-path@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== +filelist@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" + integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q== + dependencies: + minimatch "^5.0.1" + filesize@^3.6.1: version "3.6.1" resolved "https://registry.yarnpkg.com/filesize/-/filesize-3.6.1.tgz#090bb3ee01b6f801a8a8be99d31710b3422bb317" @@ -5095,7 +5135,7 @@ filesize@^3.6.1: fill-range@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" - integrity sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc= + integrity sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ== dependencies: extend-shallow "^2.0.1" is-number "^3.0.0" @@ -5114,17 +5154,17 @@ filter-obj@^2.0.2: resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-2.0.2.tgz#fff662368e505d69826abb113f0f6a98f56e9d5f" integrity sha512-lO3ttPjHZRfjMcxWKb1j1eDhTFsu4meeR3lnMcnBFhk6RuLhvEiuALu2TlfL310ph4lCYYwgF/ElIjdP739tdg== -finalhandler@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d" - integrity sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA== +finalhandler@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.2.0.tgz#7d23fe5731b207b4640e4fcd00aec1f9207a7b32" + integrity sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg== dependencies: debug "2.6.9" encodeurl "~1.0.2" escape-html "~1.0.3" - on-finished "~2.3.0" + on-finished "2.4.1" parseurl "~1.3.3" - statuses "~1.5.0" + statuses "2.0.1" unpipe "~1.0.0" find-node-modules@^2.1.2: @@ -5143,7 +5183,7 @@ find-root@1.1.0: find-up@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= + integrity sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ== dependencies: locate-path "^2.0.0" @@ -5177,20 +5217,22 @@ flat@^5.0.2: resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== -follow-redirects@^1.0.0: +follow-redirects@^1.0.0, follow-redirects@^1.15.4: version "1.15.4" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.4.tgz#cdc7d308bf6493126b17ea2191ea0ccf3e535adf" integrity sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw== +for-each@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" + integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== + dependencies: + is-callable "^1.1.3" + for-in@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" - integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= - -foreach@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" - integrity sha1-C+4AUBiusmDQo6865ljdATbsG5k= + integrity sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ== form-data@^3.0.0: version "3.0.1" @@ -5201,6 +5243,15 @@ form-data@^3.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + forwarded@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" @@ -5209,29 +5260,20 @@ forwarded@0.2.0: fragment-cache@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" - integrity sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk= + integrity sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA== dependencies: map-cache "^0.2.2" fresh@0.5.2: version "0.5.2" resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" - integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= + integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== fs-constants@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra@8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" - integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^4.0.0" - universalify "^0.1.0" - fs-extra@9.1.0, fs-extra@^9.1.0: version "9.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" @@ -5242,15 +5284,24 @@ fs-extra@9.1.0, fs-extra@^9.1.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-extra@^10.1.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" - integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== +fs-extra@^11.1.0: + version "11.2.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b" + integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw== dependencies: graceful-fs "^4.2.0" jsonfile "^6.0.1" universalify "^2.0.0" +fs-extra@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" + integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^4.0.0" + universalify "^0.1.0" + fs-minipass@^2.0.0, fs-minipass@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" @@ -5261,7 +5312,7 @@ fs-minipass@^2.0.0, fs-minipass@^2.1.0: fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== fsevents@^1.2.7: version "1.2.13" @@ -5272,14 +5323,19 @@ fsevents@^1.2.7: nan "^2.12.1" fsevents@^2.1.2, fsevents@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + +functions-have-names@^1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" + integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== gauge@^4.0.3: version "4.0.4" @@ -5305,23 +5361,15 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.2.tgz#336975123e05ad0b7ba41f152ee4aadbea6cf598" - integrity sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA== +get-intrinsic@^1.0.2, get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.2.tgz#281b7622971123e1ef4b3c90fd7539306da93f3b" + integrity sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA== dependencies: - function-bind "^1.1.1" - has "^1.0.3" + function-bind "^1.1.2" + has-proto "^1.0.1" has-symbols "^1.0.3" - -get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6" - integrity sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q== - dependencies: - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.1" + hasown "^2.0.0" get-own-enumerable-property-symbols@^3.0.0: version "3.0.2" @@ -5353,14 +5401,14 @@ get-stdin@^7.0.0: resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-7.0.0.tgz#8d5de98f15171a125c5e516643c7a6d0ea8a96f6" integrity sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ== -get-stream@^4.0.0: +get-stream@^4.0.0, get-stream@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== dependencies: pump "^3.0.0" -get-stream@^5.0.0: +get-stream@^5.0.0, get-stream@^5.1.0: version "5.2.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3" integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA== @@ -5372,18 +5420,10 @@ get-stream@^6.0.0: resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== -get-symbol-description@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" - integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.1" - get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" - integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg= + integrity sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA== git-raw-commits@^2.0.8: version "2.0.11" @@ -5399,7 +5439,7 @@ git-raw-commits@^2.0.8: git-remote-origin-url@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f" - integrity sha1-UoJlna4hBxRaERJhEq0yFuxfpl8= + integrity sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw== dependencies: gitconfiglocal "^1.0.0" pify "^2.3.0" @@ -5412,32 +5452,32 @@ git-semver-tags@^4.1.1: meow "^8.0.0" semver "^6.0.0" -git-up@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/git-up/-/git-up-6.0.0.tgz#dbd6e4eee270338be847a0601e6d0763c90b74db" - integrity sha512-6RUFSNd1c/D0xtGnyWN2sxza2bZtZ/EmI9448n6rCZruFwV/ezeEn2fJP7XnUQGwf0RAtd/mmUCbtH6JPYA2SA== +git-up@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/git-up/-/git-up-7.0.0.tgz#bace30786e36f56ea341b6f69adfd83286337467" + integrity sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ== dependencies: is-ssh "^1.4.0" - parse-url "^7.0.2" + parse-url "^8.1.0" -git-url-parse@^12.0.0: - version "12.0.0" - resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-12.0.0.tgz#4ba70bc1e99138321c57e3765aaf7428e5abb793" - integrity sha512-I6LMWsxV87vysX1WfsoglXsXg6GjQRKq7+Dgiseo+h0skmp5Hp2rzmcEIRQot9CPA+uzU7x1x7jZdqvTFGnB+Q== +git-url-parse@^13.1.0: + version "13.1.1" + resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-13.1.1.tgz#664bddf0857c6a75b3c1f0ae6239abb08a1486d4" + integrity sha512-PCFJyeSSdtnbfhSNRw9Wk96dDCNx+sogTe4YNXeXSJxt7xz5hvXekuRn9JX7m+Mf4OscCu8h+mtAl3+h5Fo8lQ== dependencies: - git-up "^6.0.0" + git-up "^7.0.0" gitconfiglocal@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b" - integrity sha1-QdBF84UaXqiPA/JMocYXgRRGS5s= + integrity sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ== dependencies: ini "^1.3.2" glob-parent@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" - integrity sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4= + integrity sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA== dependencies: is-glob "^3.1.0" path-dirname "^1.0.0" @@ -5466,7 +5506,7 @@ glob@7.1.4: once "^1.3.0" path-is-absolute "^1.0.0" -glob@7.2.3: +glob@7.2.3, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -5478,22 +5518,10 @@ glob@7.2.3: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: - version "7.2.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" - integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - glob@^8.0.1: - version "8.0.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" - integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== + version "8.1.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" + integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" @@ -5504,7 +5532,7 @@ glob@^8.0.1: global-dirs@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" - integrity sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU= + integrity sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg== dependencies: ini "^1.3.4" @@ -5520,7 +5548,7 @@ global-modules@^1.0.0: global-prefix@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" - integrity sha1-2/dDxsFJklk8ZVVoy2btMsASLr4= + integrity sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg== dependencies: expand-tilde "^2.0.2" homedir-polyfill "^1.0.1" @@ -5533,7 +5561,7 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globby@^11.0.2: +globby@^11.0.0, globby@^11.0.2: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== @@ -5548,7 +5576,7 @@ globby@^11.0.2: globby@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" - integrity sha1-9abXDoOV4hyFj7BInWTfAkJNUGw= + integrity sha512-KVbFv2TQtbzCoxAnfD6JcHZTYCzyliEaaeM/gH8qQdkKr5s0OP9scEgvdcngyk7AVdY6YVW/TJHd+lQ/Df3Daw== dependencies: array-union "^1.0.1" glob "^7.0.3" @@ -5556,20 +5584,39 @@ globby@^6.1.0: pify "^2.0.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, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.9: - version "4.2.9" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.9.tgz#041b05df45755e587a24942279b9d113146e1c96" - integrity sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ== - -graceful-fs@^4.2.6: - version "4.2.10" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" - integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + +got@^9.6.0: + version "9.6.0" + resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" + integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q== + dependencies: + "@sindresorhus/is" "^0.14.0" + "@szmarczak/http-timer" "^1.1.2" + cacheable-request "^6.0.0" + decompress-response "^3.3.0" + duplexer3 "^0.1.4" + get-stream "^4.1.0" + lowercase-keys "^1.0.1" + mimic-response "^1.0.1" + p-cancelable "^1.0.0" + to-readable-stream "^1.0.0" + url-parse-lax "^3.0.0" + +graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.5, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== growly@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" - integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE= + integrity sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw== gzip-size@^5.0.0: version "5.1.1" @@ -5585,12 +5632,12 @@ handle-thing@^2.0.0: integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg== handlebars@^4.7.7: - version "4.7.7" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" - integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA== + version "4.7.8" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9" + integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ== dependencies: minimist "^1.2.5" - neo-async "^2.6.0" + neo-async "^2.6.2" source-map "^0.6.1" wordwrap "^1.0.0" optionalDependencies: @@ -5601,22 +5648,29 @@ hard-rejection@^2.1.0: resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" integrity sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA== -has-bigints@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.1.tgz#64fe6acb020673e3b78db035a5af69aa9d07b113" - integrity sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA== - has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== has-flag@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-symbols@^1.0.1, has-symbols@^1.0.2, has-symbols@^1.0.3: +has-property-descriptors@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz#52ba30b6c5ec87fd89fa574bc1c39125c6f65340" + integrity sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg== + dependencies: + get-intrinsic "^1.2.2" + +has-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" + integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== + +has-symbols@^1.0.2, has-symbols@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== @@ -5631,12 +5685,12 @@ has-tostringtag@^1.0.0: has-unicode@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= + integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== has-value@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" - integrity sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8= + integrity sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q== dependencies: get-value "^2.0.3" has-values "^0.1.4" @@ -5645,7 +5699,7 @@ has-value@^0.3.1: has-value@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" - integrity sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc= + integrity sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw== dependencies: get-value "^2.0.6" has-values "^1.0.0" @@ -5654,23 +5708,16 @@ has-value@^1.0.0: has-values@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" - integrity sha1-bWHeldkd/Km5oCCJrThL/49it3E= + integrity sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ== has-values@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" - integrity sha1-lbC2P+whRmGab+V/51Yo1aOe/k8= + integrity sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ== dependencies: is-number "^3.0.0" kind-of "^4.0.0" -has@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - dependencies: - function-bind "^1.1.1" - hash-base@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" @@ -5688,15 +5735,23 @@ hash.js@^1.0.0, hash.js@^1.0.3: inherits "^2.0.3" minimalistic-assert "^1.0.1" +hasown@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" + integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA== + dependencies: + function-bind "^1.1.2" + hast-util-from-html@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/hast-util-from-html/-/hast-util-from-html-1.0.1.tgz#907a723b3405921efb3339a12bc6481d8ba92925" - integrity sha512-ehTy+4Lz1YAVF6enEuL9QFUHqJKRxAc8a7KACyhawY+YqTG5pLkrBHfykXELEy75N601fHDr36HIqCGSNxmgZw== + version "1.0.2" + resolved "https://registry.yarnpkg.com/hast-util-from-html/-/hast-util-from-html-1.0.2.tgz#2482fd701b2d8270b912b3909d6fb645d4a346cf" + integrity sha512-LhrTA2gfCbLOGJq2u/asp4kwuG0y6NhWTXiPKP+n0qNukKy7hc10whqqCFfyvIA1Q5U5d0sp9HhNim9gglEH4A== dependencies: "@types/hast" "^2.0.0" hast-util-from-parse5 "^7.0.0" parse5 "^7.0.0" vfile "^5.0.0" + vfile-message "^3.0.0" hast-util-from-parse5@^7.0.0: version "7.1.2" @@ -5816,7 +5871,7 @@ highlight.js@^10.7.1: hmac-drbg@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" - integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE= + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== dependencies: hash.js "^1.0.3" minimalistic-assert "^1.0.0" @@ -5854,16 +5909,16 @@ hosted-git-info@^4.0.0, hosted-git-info@^4.0.1: lru-cache "^6.0.0" hosted-git-info@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-5.0.0.tgz#df7a06678b4ebd722139786303db80fdf302ea56" - integrity sha512-rRnjWu0Bxj+nIfUOkz0695C0H6tRrN5iYIzYejb0tDEefe2AekHu/U5Kn9pEie5vsJqpNQU02az7TGSH3qpz4Q== + version "5.2.1" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-5.2.1.tgz#0ba1c97178ef91f3ab30842ae63d6a272341156f" + integrity sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw== dependencies: lru-cache "^7.5.1" hpack.js@^2.1.6: version "2.1.6" resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" - integrity sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI= + integrity sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ== dependencies: inherits "^2.0.1" obuf "^1.0.0" @@ -5911,9 +5966,9 @@ html-void-elements@^2.0.0: integrity sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A== html-webpack-plugin@^5.3.2: - version "5.5.0" - resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.5.0.tgz#c3911936f57681c1f9f4d8b68c158cd9dfe52f50" - integrity sha512-sy88PC2cRTVxvETRgUHFrL4No3UxvcH8G1NepGhqaTT+GXN2kTamqasot0inS5hXeg1cMbFDt27zzo9p35lZVw== + version "5.6.0" + resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.6.0.tgz#50a8fa6709245608cb00e811eacecb8e0d7b7ea0" + integrity sha512-iwaY4wzbe48AfKLZ/Cc8k0L+FKG6oSNRaZ8x5A/T/IVDGyXcbHncM9TdDa93wn0FsSm82FhTKW7f3vS61thXAw== dependencies: "@types/html-minifier-terser" "^6.0.0" html-minifier-terser "^6.0.2" @@ -5937,16 +5992,16 @@ htmlparser2@^6.1.0: entities "^2.0.0" htmlparser2@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-8.0.1.tgz#abaa985474fcefe269bc761a779b544d7196d010" - integrity sha512-4lVbmc1diZC7GUJQtRQ5yBAeUCL1exyMwmForWkRLnwyzWBFxN633SALPMGYaWZvKe9j1pRZJpauvmxENSp/EA== + version "8.0.2" + resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-8.0.2.tgz#f002151705b383e62433b5cf466f5b716edaec21" + integrity sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA== dependencies: domelementtype "^2.3.0" - domhandler "^5.0.2" + domhandler "^5.0.3" domutils "^3.0.1" - entities "^4.3.0" + entities "^4.4.0" -http-cache-semantics@^4.1.0: +http-cache-semantics@^4.0.0, http-cache-semantics@^4.1.0: version "4.1.1" resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== @@ -5954,23 +6009,23 @@ http-cache-semantics@^4.1.0: http-deceiver@^1.2.7: version "1.2.7" resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" - integrity sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc= + integrity sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw== -http-errors@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.8.1.tgz#7c3f28577cbc8a207388455dbd62295ed07bd68c" - integrity sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g== +http-errors@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" + integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== dependencies: - depd "~1.1.2" + depd "2.0.0" inherits "2.0.4" setprototypeof "1.2.0" - statuses ">= 1.5.0 < 2" + statuses "2.0.1" toidentifier "1.0.1" http-errors@~1.6.2: version "1.6.3" resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" - integrity sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0= + integrity sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A== dependencies: depd "~1.1.2" inherits "2.0.3" @@ -5978,9 +6033,9 @@ http-errors@~1.6.2: statuses ">= 1.4.0 < 2" http-parser-js@>=0.5.1: - version "0.5.5" - resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.5.tgz#d7c30d5d3c90d865b4a2e870181f9d6f22ac7ac5" - integrity sha512-x+JVEkO2PoM8qqpbPbOL3cqHPwerep7OwzK7Ay+sMQjKzaKCqWvjoXm5tqMP9tXWWTnTzAjIhXg+J99XYuPhPA== + version "0.5.8" + resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.8.tgz#af23090d9ac4e24573de6f6aecc9d84a48bf20e3" + integrity sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q== http-proxy-agent@^4.0.0, http-proxy-agent@^4.0.1: version "4.0.1" @@ -6022,12 +6077,12 @@ http-proxy@^1.17.0: https-browserify@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" - integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM= + integrity sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg== https-proxy-agent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" - integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA== + version "5.0.1" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" + integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== dependencies: agent-base "6" debug "4" @@ -6045,7 +6100,7 @@ human-signals@^2.1.0: humanize-ms@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - integrity sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0= + integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== dependencies: ms "^2.0.0" @@ -6105,24 +6160,24 @@ ignore-walk@^5.0.1: minimatch "^5.0.1" ignore@^5.0.4, ignore@^5.1.4, ignore@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" - integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== + version "5.3.0" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78" + integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg== immediate@~3.0.5: version "3.0.6" resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" - integrity sha1-nbHb0Pr43m++D13V5Wu2BigN5ps= + integrity sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ== import-fresh@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546" - integrity sha1-2BNVwVYS04bGH53dOSLUMEgipUY= + integrity sha512-eZ5H8rcgYazHbKC3PG4ClHNykCSxtAhxSSEM+2mb+7evD2CKF5V7c0dNum7AdpDh0ZdICwZY9sRSn8f+KH96sg== dependencies: caller-path "^2.0.0" resolve-from "^3.0.0" -import-fresh@^3.0.0, import-fresh@^3.2.1: +import-fresh@^3.0.0, import-fresh@^3.2.1, import-fresh@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== @@ -6149,7 +6204,7 @@ import-local@^3.0.2: imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== indent-string@^4.0.0: version "4.0.0" @@ -6164,7 +6219,7 @@ infer-owner@^1.0.4: inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== dependencies: once "^1.3.0" wrappy "1" @@ -6177,9 +6232,9 @@ inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, i inherits@2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= + integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== -ini@^1.3.2, ini@^1.3.4: +ini@^1.3.2, ini@^1.3.4, ini@~1.3.0: version "1.3.8" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== @@ -6197,29 +6252,10 @@ init-package-json@^3.0.2: validate-npm-package-license "^3.0.4" validate-npm-package-name "^4.0.0" -inquirer@6.5.2: - version "6.5.2" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca" - integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== - dependencies: - ansi-escapes "^3.2.0" - chalk "^2.4.2" - cli-cursor "^2.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" - run-async "^2.2.0" - rxjs "^6.4.0" - string-width "^2.1.0" - strip-ansi "^5.1.0" - through "^2.3.6" - -inquirer@8.2.4, inquirer@^8.2.4: - version "8.2.4" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.4.tgz#ddbfe86ca2f67649a67daa6f1051c128f684f0b4" - integrity sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg== +inquirer@8.2.5: + version "8.2.5" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.5.tgz#d8654a7542c35a9b9e069d27e2df4858784d54f8" + integrity sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ== dependencies: ansi-escapes "^4.2.1" chalk "^4.1.1" @@ -6237,7 +6273,7 @@ inquirer@8.2.4, inquirer@^8.2.4: through "^2.3.6" wrap-ansi "^7.0.0" -inquirer@^7.0.4: +inquirer@^7.3.3: version "7.3.3" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003" integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA== @@ -6256,6 +6292,27 @@ inquirer@^7.0.4: strip-ansi "^6.0.0" through "^2.3.6" +inquirer@^8.2.4: + version "8.2.6" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.6.tgz#733b74888195d8d400a67ac332011b5fae5ea562" + integrity sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg== + dependencies: + ansi-escapes "^4.2.1" + chalk "^4.1.1" + cli-cursor "^3.1.0" + cli-width "^3.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.21" + mute-stream "0.0.8" + ora "^5.4.1" + run-async "^2.4.0" + rxjs "^7.5.5" + string-width "^4.1.0" + strip-ansi "^6.0.0" + through "^2.3.6" + wrap-ansi "^6.0.1" + internal-ip@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/internal-ip/-/internal-ip-4.3.0.tgz#845452baad9d2ca3b69c635a137acb9a0dad0907" @@ -6264,15 +6321,6 @@ internal-ip@^4.3.0: default-gateway "^4.2.0" ipaddr.js "^1.9.0" -internal-slot@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" - integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== - dependencies: - get-intrinsic "^1.1.0" - has "^1.0.3" - side-channel "^1.0.4" - interpret@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/interpret/-/interpret-2.2.0.tgz#1a78a0b5965c40a5416d007ad6f50ad27c417df9" @@ -6281,12 +6329,12 @@ interpret@^2.2.0: ip-regex@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" - integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk= + integrity sha512-58yWmlHpp7VYfcdTwMTvwMmqx/Elfxjd9RXTDyMsbL7lLWmhMylLEqiYVLKuLzOZqVgiWXD9MfR62Vv89VRxkw== ip@^1.1.0, ip@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" - integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= + version "1.1.8" + resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.8.tgz#ae05948f6b075435ed3307acce04629da8cdbf48" + integrity sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg== ip@^2.0.0: version "2.0.0" @@ -6303,19 +6351,12 @@ is-absolute-url@^3.0.3: resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-3.0.3.tgz#96c6a22b6a23929b11ea0afb1836c36ad4a5d698" integrity sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q== -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" - integrity sha1-qeEss66Nh2cn7u84Q/igiXtcmNY= - dependencies: - kind-of "^3.0.2" - -is-accessor-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" - integrity sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ== +is-accessor-descriptor@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.1.tgz#3223b10628354644b86260db29b3e693f5ceedd4" + integrity sha512-YBUanLI8Yoihw923YeFUS5fs0fF2f5TSFTNiYAAzhhDscDa3lEqYuz1pDOEP5KvX94I9ey3vsqjJcLVFVU+3QA== dependencies: - kind-of "^6.0.0" + hasown "^2.0.0" is-alphabetical@^1.0.0: version "1.0.4" @@ -6330,7 +6371,7 @@ is-alphanumerical@^1.0.0: is-alphabetical "^1.0.0" is-decimal "^1.0.0" -is-arguments@^1.0.4: +is-arguments@^1.0.4, is-arguments@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== @@ -6341,19 +6382,12 @@ is-arguments@^1.0.4: is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= - -is-bigint@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" - integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== - dependencies: - has-bigints "^1.0.1" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== is-binary-path@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" - integrity sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg= + integrity sha512-9fRVlXc0uCxEDj1nQzaWONSpbTfx0FmJfzHF7pwlI8DkWGoHBBea4Pg5Ky0ojwwxQmnSifgbKkI06Qv0Ljgj+Q== dependencies: binary-extensions "^1.0.0" @@ -6364,14 +6398,6 @@ is-binary-path@~2.1.0: dependencies: binary-extensions "^2.0.0" -is-boolean-object@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" - integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - is-buffer@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" @@ -6382,10 +6408,10 @@ is-buffer@^2.0.0: resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== -is-callable@^1.1.4, is-callable@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" - integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== +is-callable@^1.1.3: + version "1.2.7" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" + integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== is-ci@^2.0.0: version "2.0.0" @@ -6394,28 +6420,21 @@ is-ci@^2.0.0: dependencies: ci-info "^2.0.0" -is-core-module@^2.5.0, is-core-module@^2.8.1: - version "2.8.1" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.1.tgz#f59fdfca701d5879d0a6b100a40aa1560ce27211" - integrity sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA== - dependencies: - has "^1.0.3" - -is-data-descriptor@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" - integrity sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y= +is-core-module@^2.13.0, is-core-module@^2.5.0, is-core-module@^2.8.1: + version "2.13.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" + integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== dependencies: - kind-of "^3.0.2" + hasown "^2.0.0" -is-data-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" - integrity sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ== +is-data-descriptor@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.1.tgz#2109164426166d32ea38c405c1e0945d9e6a4eeb" + integrity sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw== dependencies: - kind-of "^6.0.0" + hasown "^2.0.0" -is-date-object@^1.0.1: +is-date-object@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== @@ -6428,27 +6447,25 @@ is-decimal@^1.0.0, is-decimal@^1.0.2: integrity sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw== is-descriptor@^0.1.0: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" - integrity sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg== + version "0.1.7" + resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.7.tgz#2727eb61fd789dcd5bdf0ed4569f551d2fe3be33" + integrity sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg== dependencies: - is-accessor-descriptor "^0.1.6" - is-data-descriptor "^0.1.4" - kind-of "^5.0.0" + is-accessor-descriptor "^1.0.1" + is-data-descriptor "^1.0.1" is-descriptor@^1.0.0, is-descriptor@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" - integrity sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg== + version "1.0.3" + resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.3.tgz#92d27cb3cd311c4977a4db47df457234a13cb306" + integrity sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw== dependencies: - is-accessor-descriptor "^1.0.0" - is-data-descriptor "^1.0.0" - kind-of "^6.0.2" + is-accessor-descriptor "^1.0.1" + is-data-descriptor "^1.0.1" is-directory@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" - integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE= + integrity sha512-yVChGzahRFvbkscn2MlwGismPO12i9+znNruC5gVEntG3qu0xQMzsGg/JFbrsqDOHtHFPci+V5aP5T9I+yeKqw== is-docker@^2.0.0, is-docker@^2.1.1: version "2.2.1" @@ -6458,7 +6475,7 @@ is-docker@^2.0.0, is-docker@^2.1.1: is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" - integrity sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik= + integrity sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw== is-extendable@^1.0.1: version "1.0.1" @@ -6470,12 +6487,12 @@ is-extendable@^1.0.1: is-extglob@^2.1.0, is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== is-fullwidth-code-point@^2.0.0: version "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= + integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== is-fullwidth-code-point@^3.0.0: version "3.0.0" @@ -6497,7 +6514,7 @@ is-generator-function@^1.0.7: is-glob@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" - integrity sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo= + integrity sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw== dependencies: is-extglob "^2.1.0" @@ -6516,7 +6533,7 @@ is-hexadecimal@^1.0.0: is-in-browser@^1.0.2, is-in-browser@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/is-in-browser/-/is-in-browser-1.1.3.tgz#56ff4db683a078c6082eb95dad7dc62e1d04f835" - integrity sha1-Vv9NtoOgeMYILrldrX3GLh0E+DU= + integrity sha512-FeXIBgG/CPGd/WUxuEyvgGTEfwiG9Z4EKGxjNMRqviiIIfsmgrpnHLffEDdwUHqNva1VEW91o3xBT/m8Elgl9g== is-interactive@^1.0.0: version "1.0.0" @@ -6528,7 +6545,7 @@ is-lambda@^1.0.1: resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== -is-nan@^1.2.1: +is-nan@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/is-nan/-/is-nan-1.3.2.tgz#043a54adea31748b55b6cd4e09aadafa69bd9e1d" integrity sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w== @@ -6536,22 +6553,10 @@ is-nan@^1.2.1: call-bind "^1.0.0" define-properties "^1.1.3" -is-negative-zero@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" - integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== - -is-number-object@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.6.tgz#6a7aaf838c7f0686a50b4553f7e54a96494e89f0" - integrity sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g== - dependencies: - has-tostringtag "^1.0.0" - is-number@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" - integrity sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU= + integrity sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg== dependencies: kind-of "^3.0.2" @@ -6592,7 +6597,7 @@ is-path-inside@^2.1.0: is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" - integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= + integrity sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg== is-plain-obj@^2.0.0: version "2.1.0" @@ -6616,7 +6621,7 @@ is-potential-custom-element-name@^1.0.1: resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== -is-regex@^1.0.4, is-regex@^1.1.4: +is-regex@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== @@ -6629,11 +6634,6 @@ is-regexp@^1.0.0: resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" integrity sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA== -is-shared-array-buffer@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz#97b0c85fbdacb59c9c446fe653b82cf2b5b7cfe6" - integrity sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA== - is-ssh@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.4.0.tgz#4f8220601d2839d8fa624b3106f8e8884f01b8b2" @@ -6644,49 +6644,31 @@ is-ssh@^1.4.0: is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= + integrity sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ== is-stream@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== -is-string@^1.0.5, is-string@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" - integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== - dependencies: - has-tostringtag "^1.0.0" - -is-symbol@^1.0.2, is-symbol@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" - integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== - dependencies: - has-symbols "^1.0.2" - is-text-path@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" - integrity sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4= + integrity sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w== dependencies: text-extensions "^1.0.0" -is-typed-array@^1.1.3, is-typed-array@^1.1.7: - version "1.1.8" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.8.tgz#cbaa6585dc7db43318bc5b89523ea384a6f65e79" - integrity sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA== +is-typed-array@^1.1.3: + version "1.1.12" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.12.tgz#d0bab5686ef4a76f7a73097b95470ab199c57d4a" + integrity sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg== dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - es-abstract "^1.18.5" - foreach "^2.0.5" - has-tostringtag "^1.0.0" + which-typed-array "^1.1.11" is-typedarray@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== is-unicode-supported@^0.1.0: version "0.1.0" @@ -6696,14 +6678,7 @@ is-unicode-supported@^0.1.0: is-utf8@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" - integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI= - -is-weakref@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" - integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== - dependencies: - call-bind "^1.0.2" + integrity sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q== is-windows@^1.0.1, is-windows@^1.0.2: version "1.0.2" @@ -6713,7 +6688,7 @@ is-windows@^1.0.1, is-windows@^1.0.2: is-wsl@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" - integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= + integrity sha512-gfygJYZ2gLTDlmbWMI0CE2MwnFzSN/2SZfkMlItC4K/JBlsWVDB0bO6XhqcY13YXE7iMcAJnzTCJjPiTeJJ0Mw== is-wsl@^2.2.0: version "2.2.0" @@ -6725,29 +6700,29 @@ is-wsl@^2.2.0: isarray@1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= + integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== isobject@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" - integrity sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk= + integrity sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA== dependencies: isarray "1.0.0" isobject@^3.0.0, isobject@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= + integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" - integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== + version "3.2.2" + resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" + integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== istanbul-lib-instrument@^4.0.3: version "4.0.3" @@ -6760,9 +6735,9 @@ istanbul-lib-instrument@^4.0.3: semver "^6.3.0" istanbul-lib-instrument@^5.0.4: - version "5.1.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.1.0.tgz#7b49198b657b27a730b8e9cb601f1e1bff24c59a" - integrity sha512-czwUz525rkOFDJxfKK6mYfIs9zBKILyrZQxjz3ABhjQXhbhFsSbo1HW/BFcsDnfJYJWA6thRR5/TUY2qs5W99Q== + version "5.2.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" + integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== dependencies: "@babel/core" "^7.12.3" "@babel/parser" "^7.14.7" @@ -6771,12 +6746,12 @@ istanbul-lib-instrument@^5.0.4: semver "^6.3.0" istanbul-lib-report@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" - integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw== + version "3.0.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" + integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== dependencies: istanbul-lib-coverage "^3.0.0" - make-dir "^3.0.0" + make-dir "^4.0.0" supports-color "^7.1.0" istanbul-lib-source-maps@^4.0.0: @@ -6789,13 +6764,23 @@ istanbul-lib-source-maps@^4.0.0: source-map "^0.6.1" istanbul-reports@^3.0.2: - version "3.1.4" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.4.tgz#1b6f068ecbc6c331040aab5741991273e609e40c" - integrity sha512-r1/DshN4KSE7xWEknZLLLLDn5CJybV3nw01VTkp6D5jzLuELlcbudfj/eSQFvrKsJuTVCGnePO7ho82Nw9zzfw== + version "3.1.6" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.6.tgz#2544bcab4768154281a2f0870471902704ccaa1a" + integrity sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg== dependencies: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" +jake@^10.8.5: + version "10.8.7" + resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.7.tgz#63a32821177940c33f356e0ba44ff9d34e1c7d8f" + integrity sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w== + dependencies: + async "^3.2.3" + chalk "^4.0.2" + filelist "^1.0.4" + minimatch "^3.1.2" + jest-changed-files@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-26.6.2.tgz#f6198479e1cc66f22f9ae1e22acaa0b429c042d0" @@ -7008,9 +6993,9 @@ jest-mock@^26.6.2: "@types/node" "*" jest-pnp-resolver@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c" - integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w== + version "1.2.3" + resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" + integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== jest-regex-util@^26.0.0: version "26.0.0" @@ -7193,12 +7178,22 @@ jest@^26.6.3: import-local "^3.0.2" jest-cli "^26.6.3" +jiti@^1.19.1: + version "1.21.0" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d" + integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q== + +jju@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/jju/-/jju-1.4.0.tgz#a3abe2718af241a2b2904f84a625970f389ae32a" + integrity sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA== + js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@3.14.1, js-yaml@^3.13.1: +js-yaml@3.14.1, js-yaml@^3.10.0, js-yaml@^3.13.1, js-yaml@^3.6.1: version "3.14.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== @@ -7206,7 +7201,7 @@ js-yaml@3.14.1, js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" -js-yaml@4.1.0: +js-yaml@4.1.0, js-yaml@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== @@ -7251,16 +7246,21 @@ jsesc@^2.5.1: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== -json-fixer@^1.5.1: - version "1.6.13" - resolved "https://registry.yarnpkg.com/json-fixer/-/json-fixer-1.6.13.tgz#27d2f0e837aec54afbc9ec1cd8c1dd965bf534c9" - integrity sha512-DKQ71M+0uwAG3QsUkeVgh6XREw/OkpnTfHfM+sdmxRjHvYZ8PlcMVF4ibsHQ1ckR63NROs68qUr1I0u6yPVePQ== +json-buffer@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" + integrity sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ== + +json-fixer@^1.6.8: + version "1.6.15" + resolved "https://registry.yarnpkg.com/json-fixer/-/json-fixer-1.6.15.tgz#f1f03b6771fcb383695d458c53e50b10999fba7f" + integrity sha512-TuDuZ5KrgyjoCIppdPXBMqiGfota55+odM+j2cQ5rt/XKyKmqGB3Whz1F8SN8+60yYGy/Nu5lbRZ+rx8kBIvBw== dependencies: - "@babel/runtime" "^7.14.6" + "@babel/runtime" "^7.18.9" chalk "^4.1.2" pegjs "^0.10.0" -json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: +json-parse-better-errors@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== @@ -7275,6 +7275,11 @@ json-schema-traverse@^0.4.1: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" + integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== + json-stringify-nice@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz#2c937962b80181d3f317dd39aa323e14f5a60a67" @@ -7283,31 +7288,22 @@ json-stringify-nice@^1.1.4: json-stringify-safe@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= + integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== -json5@2.x, json5@^2.1.2: - version "2.2.0" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.0.tgz#2dfefe720c6ba525d9ebd909950f0515316c89a3" - integrity sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA== - dependencies: - minimist "^1.2.5" - -json5@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" - integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== - dependencies: - minimist "^1.2.0" +json5@2.x, json5@^2.2.2, json5@^2.2.3: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== -jsonc-parser@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.0.0.tgz#abdd785701c7e7eaca8a9ec8cf070ca51a745a22" - integrity sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA== +jsonc-parser@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" + integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== jsonfile@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= + integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg== optionalDependencies: graceful-fs "^4.1.6" @@ -7323,9 +7319,9 @@ jsonfile@^6.0.1: jsonparse@^1.2.0, jsonparse@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" - integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA= + integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== -jsonwebtoken@^9.0.0: +jsonwebtoken@^9.0.2: version "9.0.2" resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz#65ff91f4abef1784697d40952bb1998c504caaf3" integrity sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ== @@ -7341,134 +7337,134 @@ jsonwebtoken@^9.0.0: ms "^2.1.1" semver "^7.5.4" -jss-plugin-camel-case@10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-plugin-camel-case/-/jss-plugin-camel-case-10.9.0.tgz#4921b568b38d893f39736ee8c4c5f1c64670aaf7" - integrity sha512-UH6uPpnDk413/r/2Olmw4+y54yEF2lRIV8XIZyuYpgPYTITLlPOsq6XB9qeqv+75SQSg3KLocq5jUBXW8qWWww== +jss-plugin-camel-case@10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-plugin-camel-case/-/jss-plugin-camel-case-10.10.0.tgz#27ea159bab67eb4837fa0260204eb7925d4daa1c" + integrity sha512-z+HETfj5IYgFxh1wJnUAU8jByI48ED+v0fuTuhKrPR+pRBYS2EDwbusU8aFOpCdYhtRc9zhN+PJ7iNE8pAWyPw== dependencies: "@babel/runtime" "^7.3.1" hyphenate-style-name "^1.0.3" - jss "10.9.0" + jss "10.10.0" -jss-plugin-compose@10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-plugin-compose/-/jss-plugin-compose-10.9.0.tgz#4954583227db9b49bd2e29cd055dcc65b12cb19d" - integrity sha512-Q/0FEZhDwGUpf3/b7+PspmMi6MVSlN3YlTDmvrft7I6N346jUpd8MYkYP/6qM1ZMuVj4v8ky/XYqr1v2ganLLg== +jss-plugin-compose@10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-plugin-compose/-/jss-plugin-compose-10.10.0.tgz#00d7a79adf7fcfe4927a792febdf0deceb0a7cd2" + integrity sha512-F5kgtWpI2XfZ3Z8eP78tZEYFdgTIbpA/TMuX3a8vwrNolYtN1N4qJR/Ob0LAsqIwCMLojtxN7c7Oo/+Vz6THow== dependencies: "@babel/runtime" "^7.3.1" - jss "10.9.0" + jss "10.10.0" tiny-warning "^1.0.2" -jss-plugin-default-unit@10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-plugin-default-unit/-/jss-plugin-default-unit-10.9.0.tgz#bb23a48f075bc0ce852b4b4d3f7582bc002df991" - integrity sha512-7Ju4Q9wJ/MZPsxfu4T84mzdn7pLHWeqoGd/D8O3eDNNJ93Xc8PxnLmV8s8ZPNRYkLdxZqKtm1nPQ0BM4JRlq2w== +jss-plugin-default-unit@10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-plugin-default-unit/-/jss-plugin-default-unit-10.10.0.tgz#db3925cf6a07f8e1dd459549d9c8aadff9804293" + integrity sha512-SvpajxIECi4JDUbGLefvNckmI+c2VWmP43qnEy/0eiwzRUsafg5DVSIWSzZe4d2vFX1u9nRDP46WCFV/PXVBGQ== dependencies: "@babel/runtime" "^7.3.1" - jss "10.9.0" + jss "10.10.0" -jss-plugin-expand@10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-plugin-expand/-/jss-plugin-expand-10.9.0.tgz#96c902f5759fe189184f8418997659d61e927ffe" - integrity sha512-QfZ9jld0HpF1OiYU7cGWQ4q+f6+Wu93mV4X+cA1iVRssiUbSbygwdfZkUwX23UOhS1WWRJeQlLK1aJC94K8/0A== +jss-plugin-expand@10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-plugin-expand/-/jss-plugin-expand-10.10.0.tgz#5debd80554174ca2d9b9e38d85d4cb6f3e0393ab" + integrity sha512-ymT62W2OyDxBxr7A6JR87vVX9vTq2ep5jZLIdUSusfBIEENLdkkc0lL/Xaq8W9s3opUq7R0sZQpzRWELrfVYzA== dependencies: "@babel/runtime" "^7.3.1" - jss "10.9.0" + jss "10.10.0" -jss-plugin-extend@10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-plugin-extend/-/jss-plugin-extend-10.9.0.tgz#b1163ceb25d908888b326e5b5fa780aaaed4884d" - integrity sha512-xvmosUh3RsKVsm9L14ml6PL3i0Ejj5gB6eo/jTMkGW1kIy42gNXV1EthR8cD5xiowWstnvugQ3JF0pI5+QkPMg== +jss-plugin-extend@10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-plugin-extend/-/jss-plugin-extend-10.10.0.tgz#94eb450847a8941777e77ea4533a579c1c578430" + integrity sha512-sKYrcMfr4xxigmIwqTjxNcHwXJIfvhvjTNxF+Tbc1NmNdyspGW47Ey6sGH8BcQ4FFQhLXctpWCQSpDwdNmXSwg== dependencies: "@babel/runtime" "^7.3.1" - jss "10.9.0" + jss "10.10.0" tiny-warning "^1.0.2" -jss-plugin-global@10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-plugin-global/-/jss-plugin-global-10.9.0.tgz#fc07a0086ac97aca174e37edb480b69277f3931f" - integrity sha512-4G8PHNJ0x6nwAFsEzcuVDiBlyMsj2y3VjmFAx/uHk/R/gzJV+yRHICjT4MKGGu1cJq2hfowFWCyrr/Gg37FbgQ== +jss-plugin-global@10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-plugin-global/-/jss-plugin-global-10.10.0.tgz#1c55d3c35821fab67a538a38918292fc9c567efd" + integrity sha512-icXEYbMufiNuWfuazLeN+BNJO16Ge88OcXU5ZDC2vLqElmMybA31Wi7lZ3lf+vgufRocvPj8443irhYRgWxP+A== dependencies: "@babel/runtime" "^7.3.1" - jss "10.9.0" + jss "10.10.0" -jss-plugin-nested@10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-plugin-nested/-/jss-plugin-nested-10.9.0.tgz#cc1c7d63ad542c3ccc6e2c66c8328c6b6b00f4b3" - integrity sha512-2UJnDrfCZpMYcpPYR16oZB7VAC6b/1QLsRiAutOt7wJaaqwCBvNsosLEu/fUyKNQNGdvg2PPJFDO5AX7dwxtoA== +jss-plugin-nested@10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-plugin-nested/-/jss-plugin-nested-10.10.0.tgz#db872ed8925688806e77f1fc87f6e62264513219" + integrity sha512-9R4JHxxGgiZhurDo3q7LdIiDEgtA1bTGzAbhSPyIOWb7ZubrjQe8acwhEQ6OEKydzpl8XHMtTnEwHXCARLYqYA== dependencies: "@babel/runtime" "^7.3.1" - jss "10.9.0" + jss "10.10.0" tiny-warning "^1.0.2" -jss-plugin-props-sort@10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-plugin-props-sort/-/jss-plugin-props-sort-10.9.0.tgz#30e9567ef9479043feb6e5e59db09b4de687c47d" - integrity sha512-7A76HI8bzwqrsMOJTWKx/uD5v+U8piLnp5bvru7g/3ZEQOu1+PjHvv7bFdNO3DwNPC9oM0a//KwIJsIcDCjDzw== +jss-plugin-props-sort@10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-plugin-props-sort/-/jss-plugin-props-sort-10.10.0.tgz#67f4dd4c70830c126f4ec49b4b37ccddb680a5d7" + integrity sha512-5VNJvQJbnq/vRfje6uZLe/FyaOpzP/IH1LP+0fr88QamVrGJa0hpRRyAa0ea4U/3LcorJfBFVyC4yN2QC73lJg== dependencies: "@babel/runtime" "^7.3.1" - jss "10.9.0" + jss "10.10.0" -jss-plugin-rule-value-function@10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-plugin-rule-value-function/-/jss-plugin-rule-value-function-10.9.0.tgz#379fd2732c0746fe45168011fe25544c1a295d67" - integrity sha512-IHJv6YrEf8pRzkY207cPmdbBstBaE+z8pazhPShfz0tZSDtRdQua5jjg6NMz3IbTasVx9FdnmptxPqSWL5tyJg== +jss-plugin-rule-value-function@10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-plugin-rule-value-function/-/jss-plugin-rule-value-function-10.10.0.tgz#7d99e3229e78a3712f78ba50ab342e881d26a24b" + integrity sha512-uEFJFgaCtkXeIPgki8ICw3Y7VMkL9GEan6SqmT9tqpwM+/t+hxfMUdU4wQ0MtOiMNWhwnckBV0IebrKcZM9C0g== dependencies: "@babel/runtime" "^7.3.1" - jss "10.9.0" + jss "10.10.0" tiny-warning "^1.0.2" -jss-plugin-rule-value-observable@10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-plugin-rule-value-observable/-/jss-plugin-rule-value-observable-10.9.0.tgz#fc48b70f6915a913618fdadb44dedce23982b32d" - integrity sha512-/MWVPJVEn41+ofzQdsvH1GR4wusDqFqNnchh/98HVc580MxPy4NVkmUa2SAEpbHhnJ93sCoETZccW3HJKuvH4A== +jss-plugin-rule-value-observable@10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-plugin-rule-value-observable/-/jss-plugin-rule-value-observable-10.10.0.tgz#d17b28c4401156bbe4cd0c4a73a80aad70613e8b" + integrity sha512-ZLMaYrR3QE+vD7nl3oNXuj79VZl9Kp8/u6A1IbTPDcuOu8b56cFdWRZNZ0vNr8jHewooEeq2doy8Oxtymr2ZPA== dependencies: "@babel/runtime" "^7.3.1" - jss "10.9.0" + jss "10.10.0" symbol-observable "^1.2.0" -jss-plugin-template@10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-plugin-template/-/jss-plugin-template-10.9.0.tgz#27547e093e04b9dc9e900f35146e874bb196f575" - integrity sha512-lxThUvdt0drCi7xhuJWxADWTgLLy1IWCeFO5k+dtba900xJsNg0IGZplpP9w9UpaJsYS3WUwWMXw8Sxn1dobfQ== +jss-plugin-template@10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-plugin-template/-/jss-plugin-template-10.10.0.tgz#072cda74a94c91b02d3a895d9e2408fd978ce033" + integrity sha512-ocXZBIOJOA+jISPdsgkTs8wwpK6UbsvtZK5JI7VUggTD6LWKbtoxUzadd2TpfF+lEtlhUmMsCkTRNkITdPKa6w== dependencies: "@babel/runtime" "^7.3.1" - jss "10.9.0" + jss "10.10.0" tiny-warning "^1.0.2" -jss-plugin-vendor-prefixer@10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-plugin-vendor-prefixer/-/jss-plugin-vendor-prefixer-10.9.0.tgz#aa9df98abfb3f75f7ed59a3ec50a5452461a206a" - integrity sha512-MbvsaXP7iiVdYVSEoi+blrW+AYnTDvHTW6I6zqi7JcwXdc6I9Kbm234nEblayhF38EftoenbM+5218pidmC5gA== +jss-plugin-vendor-prefixer@10.10.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-plugin-vendor-prefixer/-/jss-plugin-vendor-prefixer-10.10.0.tgz#c01428ef5a89f2b128ec0af87a314d0c767931c7" + integrity sha512-UY/41WumgjW8r1qMCO8l1ARg7NHnfRVWRhZ2E2m0DMYsr2DD91qIXLyNhiX83hHswR7Wm4D+oDYNC1zWCJWtqg== dependencies: "@babel/runtime" "^7.3.1" css-vendor "^2.0.8" - jss "10.9.0" + jss "10.10.0" jss-preset-default@^10.0.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss-preset-default/-/jss-preset-default-10.9.0.tgz#20919ee04e543b3502086001c4179ab15c012153" - integrity sha512-Zdsj+R+UTn7OOJ1TFQi+l8PfEL7APSAM6vRPaU8mJywT8OrMjgslMKckFLrgq1k+qk1hJR1ePAMesvZ5aAXGOQ== + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss-preset-default/-/jss-preset-default-10.10.0.tgz#c8209449a0f6d232526c2ba3a3a6ec69ee97e023" + integrity sha512-GL175Wt2FGhjE+f+Y3aWh+JioL06/QWFgZp53CbNNq6ZkVU0TDplD8Bxm9KnkotAYn3FlplNqoW5CjyLXcoJ7Q== dependencies: "@babel/runtime" "^7.3.1" - jss "10.9.0" - jss-plugin-camel-case "10.9.0" - jss-plugin-compose "10.9.0" - jss-plugin-default-unit "10.9.0" - jss-plugin-expand "10.9.0" - jss-plugin-extend "10.9.0" - jss-plugin-global "10.9.0" - jss-plugin-nested "10.9.0" - jss-plugin-props-sort "10.9.0" - jss-plugin-rule-value-function "10.9.0" - jss-plugin-rule-value-observable "10.9.0" - jss-plugin-template "10.9.0" - jss-plugin-vendor-prefixer "10.9.0" - -jss@10.9.0, jss@^10.0.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/jss/-/jss-10.9.0.tgz#7583ee2cdc904a83c872ba695d1baab4b59c141b" - integrity sha512-YpzpreB6kUunQBbrlArlsMpXYyndt9JATbt95tajx0t4MTJJcCJdd4hdNpHmOIDiUJrF/oX5wtVFrS3uofWfGw== + jss "10.10.0" + jss-plugin-camel-case "10.10.0" + jss-plugin-compose "10.10.0" + jss-plugin-default-unit "10.10.0" + jss-plugin-expand "10.10.0" + jss-plugin-extend "10.10.0" + jss-plugin-global "10.10.0" + jss-plugin-nested "10.10.0" + jss-plugin-props-sort "10.10.0" + jss-plugin-rule-value-function "10.10.0" + jss-plugin-rule-value-observable "10.10.0" + jss-plugin-template "10.10.0" + jss-plugin-vendor-prefixer "10.10.0" + +jss@10.10.0, jss@^10.0.0: + version "10.10.0" + resolved "https://registry.yarnpkg.com/jss/-/jss-10.10.0.tgz#a75cc85b0108c7ac8c7b7d296c520a3e4fbc6ccc" + integrity sha512-cqsOTS7jqPsPMjtKYDUpdFC0AbhYFLTcuGRqymgmdJIeQ8cH7+AgX7YSgQy79wXloZq2VvATYxUOUQEvS1V/Zw== dependencies: "@babel/runtime" "^7.3.1" csstype "^3.0.2" @@ -7476,24 +7472,24 @@ jss@10.9.0, jss@^10.0.0: tiny-warning "^1.0.2" jszip@^3.2.2: - version "3.8.0" - resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.8.0.tgz#a2ac3c33fe96a76489765168213655850254d51b" - integrity sha512-cnpQrXvFSLdsR9KR5/x7zdf6c3m8IhZfZzSblFEHSqBaVwD2nvJ4CuCKLyvKvwBgZm08CgfSoiTBQLm5WW9hGw== + version "3.10.1" + resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.10.1.tgz#34aee70eb18ea1faec2f589208a157d1feb091c2" + integrity sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g== dependencies: lie "~3.3.0" pako "~1.0.2" readable-stream "~2.3.6" - set-immediate-shim "~1.0.1" + setimmediate "^1.0.5" just-diff-apply@^5.2.0: - version "5.3.1" - resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-5.3.1.tgz#30f40809ffed55ad76dccf73fa9b85a76964c867" - integrity sha512-dgFenZnMsc1xGNqgdtgnh7DK+Oy352CE3VZLbzcbQpsBs9iI2K3M0IRrdgREZ72eItTjbl0suRyvKRdVQa9GbA== + version "5.5.0" + resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-5.5.0.tgz#771c2ca9fa69f3d2b54e7c3f5c1dfcbcc47f9f0f" + integrity sha512-OYTthRfSh55WOItVqwpefPtNt2VdKsq5AnAK6apdtR6yCH8pr0CmSr710J0Mf+WdQy7K/OzMy7K2MgAfdQURDw== just-diff@^5.0.1: - version "5.0.3" - resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-5.0.3.tgz#4c9c514dec5526b25ab977590e3c39a0cf271554" - integrity sha512-a8p80xcpJ6sdurk5PxDKb4mav9MeKjA3zFKZpCWBIfvg8mznfnmb13MKZvlrwJ+Lhis0wM3uGAzE0ArhFHvIcg== + version "5.2.0" + resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-5.2.0.tgz#60dca55891cf24cd4a094e33504660692348a241" + integrity sha512-6ufhP9SHjb7jibNFrNxyFZ6od3g+An6Ai9mhGRvcYe8UJlH0prseN64M+6ZBBUoKYHZsitDP42gAJ8+eVWr3lw== jwa@^1.4.1: version "1.4.1" @@ -7517,6 +7513,13 @@ kebab-case@^1.0.0: resolved "https://registry.yarnpkg.com/kebab-case/-/kebab-case-1.0.2.tgz#5eac97d5d220acf606d40e3c0ecfea21f1f9e1eb" integrity sha512-7n6wXq4gNgBELfDCpzKc+mRrZFs7D+wgfF5WRFLNAr4DA/qtr9Js8uOAVAfHhuLMfAcQ0pRKqbpjx+TcJVdE1Q== +keyv@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" + integrity sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA== + dependencies: + json-buffer "3.0.0" + killable@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892" @@ -7525,23 +7528,18 @@ killable@^1.0.1: kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" - integrity sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ= + integrity sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ== dependencies: is-buffer "^1.1.5" kind-of@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" - integrity sha1-IIE989cSkosgc3hpGkUGb65y3Vc= + integrity sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw== dependencies: is-buffer "^1.1.5" -kind-of@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" - integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== - -kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: +kind-of@^6.0.2, kind-of@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== @@ -7566,47 +7564,43 @@ lerna-changelog@^2.2.0: yargs "^17.1.0" lerna@^5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/lerna/-/lerna-5.3.0.tgz#6e529b2cbe3d103c5b0a2f4152888b8d84501b67" - integrity sha512-0Y9xJqleVu0ExGmsw2WM/GkVmxOwtA7OLQFS5ERPKJfnsxH9roTX3a7NPaGQRI2E+tSJLJJGgNSf3WYEqinOqA== - dependencies: - "@lerna/add" "5.3.0" - "@lerna/bootstrap" "5.3.0" - "@lerna/changed" "5.3.0" - "@lerna/clean" "5.3.0" - "@lerna/cli" "5.3.0" - "@lerna/create" "5.3.0" - "@lerna/diff" "5.3.0" - "@lerna/exec" "5.3.0" - "@lerna/import" "5.3.0" - "@lerna/info" "5.3.0" - "@lerna/init" "5.3.0" - "@lerna/link" "5.3.0" - "@lerna/list" "5.3.0" - "@lerna/publish" "5.3.0" - "@lerna/run" "5.3.0" - "@lerna/version" "5.3.0" + version "5.6.2" + resolved "https://registry.yarnpkg.com/lerna/-/lerna-5.6.2.tgz#cdcdfe4e8bf07eccb4ecff1c216def9c67e62af2" + integrity sha512-Y0yMPslvnBnTZi7Nrs/gDyYZYauNf61xWNCehISHIORxZmmpoluNkcWTfcyb47is5uJQCv5QJX5xKKubbs+a6w== + dependencies: + "@lerna/add" "5.6.2" + "@lerna/bootstrap" "5.6.2" + "@lerna/changed" "5.6.2" + "@lerna/clean" "5.6.2" + "@lerna/cli" "5.6.2" + "@lerna/command" "5.6.2" + "@lerna/create" "5.6.2" + "@lerna/diff" "5.6.2" + "@lerna/exec" "5.6.2" + "@lerna/import" "5.6.2" + "@lerna/info" "5.6.2" + "@lerna/init" "5.6.2" + "@lerna/link" "5.6.2" + "@lerna/list" "5.6.2" + "@lerna/publish" "5.6.2" + "@lerna/run" "5.6.2" + "@lerna/version" "5.6.2" + "@nrwl/devkit" ">=14.8.1 < 16" import-local "^3.0.2" + inquirer "^8.2.4" npmlog "^6.0.2" - nx ">=14.4.3 < 16" + nx ">=14.8.1 < 16" + typescript "^3 || ^4" leven@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== -levn@~0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" - integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= - dependencies: - prelude-ls "~1.1.2" - type-check "~0.3.2" - libnpmaccess@^6.0.3: - version "6.0.3" - resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-6.0.3.tgz#473cc3e4aadb2bc713419d92e45d23b070d8cded" - integrity sha512-4tkfUZprwvih2VUZYMozL7EMKgQ5q9VW2NtRyxWtQWlkLTAWHRklcAvBN49CVqEkhUw7vTX2fNgB5LzgUucgYg== + version "6.0.4" + resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-6.0.4.tgz#2dd158bd8a071817e2207d3b201d37cf1ad6ae6b" + integrity sha512-qZ3wcfIyUoW0+qSFkMBovcTrSGJ3ZeyvpR7d5N9pEYv/kXs8sHP2wiqEIXBKLFrZlmM0kR0RJD7mtfLngtlLag== dependencies: aproba "^2.0.0" minipass "^3.1.1" @@ -7614,9 +7608,9 @@ libnpmaccess@^6.0.3: npm-registry-fetch "^13.0.0" libnpmpublish@^6.0.4: - version "6.0.4" - resolved "https://registry.yarnpkg.com/libnpmpublish/-/libnpmpublish-6.0.4.tgz#adb41ec6b0c307d6f603746a4d929dcefb8f1a0b" - integrity sha512-lvAEYW8mB8QblL6Q/PI/wMzKNvIrF7Kpujf/4fGS/32a2i3jzUXi04TNyIBcK6dQJ34IgywfaKGh+Jq4HYPFmg== + version "6.0.5" + resolved "https://registry.yarnpkg.com/libnpmpublish/-/libnpmpublish-6.0.5.tgz#5a894f3de2e267d62f86be2a508e362599b5a4b1" + integrity sha512-LUR08JKSviZiqrYTDfywvtnsnxr+tOvBU0BF8H+9frt7HMvc6Qn6F8Ubm72g5hDTHbq8qupKfDvDAln2TVPvFg== dependencies: normalize-package-data "^4.0.0" npm-package-arg "^9.0.1" @@ -7636,10 +7630,15 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== +lines-and-columns@~2.0.3: + version "2.0.4" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-2.0.4.tgz#d00318855905d2660d8c0822e3f5a4715855fc42" + integrity sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A== + load-json-file@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" - integrity sha1-L19Fq5HjMhYjT9U62rZo607AmTs= + integrity sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw== dependencies: graceful-fs "^4.1.2" parse-json "^4.0.0" @@ -7657,14 +7656,14 @@ load-json-file@^6.2.0: type-fest "^0.6.0" loader-runner@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.2.0.tgz#d7022380d66d14c5fb1d496b89864ebcfd478384" - integrity sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw== + version "4.3.0" + resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" + integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== locate-path@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - integrity sha1-K1aLJl7slExtnA3pw9u7ygNUzY4= + integrity sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA== dependencies: p-locate "^2.0.0" path-exists "^3.0.0" @@ -7687,54 +7686,69 @@ locate-path@^5.0.0: lodash.includes@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/lodash.includes/-/lodash.includes-4.3.0.tgz#60bb98a87cb923c68ca1e51325483314849f553f" - integrity sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8= + integrity sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w== lodash.isboolean@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6" - integrity sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY= + integrity sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg== lodash.isequal@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" - integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA= + integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ== lodash.isinteger@^4.0.4: version "4.0.4" resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343" - integrity sha1-YZwK89A/iwTDH1iChAt3sRzWg0M= + integrity sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA== lodash.ismatch@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" - integrity sha1-dWy1FQyjum8RCFp4hJZF8Yj4Xzc= + integrity sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g== lodash.isnumber@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz#3ce76810c5928d03352301ac287317f11c0b1ffc" - integrity sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w= + integrity sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw== lodash.isplainobject@^4.0.6: version "4.0.6" resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" - integrity sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs= + integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA== lodash.isstring@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" - integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE= + integrity sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw== lodash.map@^4.5.1: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3" - integrity sha1-dx7Hg540c9nEzeKLGTlMNWL09tM= + integrity sha512-worNHGKLDetmcEYDvh2stPCrrQRkP20E4l0iIS7F8EvzMqBBi7ltvFN5m1HvTf1P7Jk1txKhvFcmYsCr8O2F1Q== + +lodash.merge@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" + integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== + +lodash.mergewith@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== lodash.once@^4.0.0: version "4.1.1" resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" - integrity sha1-DdOXEhPHxW34gJd9UEyI+0cal6w= + integrity sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg== + +lodash.uniq@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" + integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== -lodash@4.17.21, lodash@4.x, lodash@^4.11.2, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0: +lodash@4.17.21, lodash@4.x, lodash@^4.11.2, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -7748,14 +7762,14 @@ log-symbols@^4.1.0: is-unicode-supported "^0.1.0" loglevel@^1.6.8: - version "1.8.0" - resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.8.0.tgz#e7ec73a57e1e7b419cb6c6ac06bf050b67356114" - integrity sha512-G6A/nJLRgWOuuwdNuA6koovfEV1YpqqAG4pRUlFaz3jj2QNZ8M4vBqnVA+HBTmU/AMNUtlOsMmSpF6NyOjztbA== + version "1.8.1" + resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.8.1.tgz#5c621f83d5b48c54ae93b6156353f555963377b4" + integrity sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg== longest@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/longest/-/longest-2.0.1.tgz#781e183296aa94f6d4d916dc335d0d17aefa23f8" - integrity sha1-eB4YMpaqlPbU2RbcM10NF676I/g= + integrity sha512-Ajzxb8CM6WAnFjgiloPsI3bF+WCxcvhdIG3KNA2KN962+tdBsHcuQ4k4qX/EcS/2CRkcc0iAkR956Nib6aXU/Q== lower-case@^2.0.2: version "2.0.2" @@ -7764,11 +7778,36 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" +lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" + integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== + +lowercase-keys@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" + integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== + lru-cache@^10.0.0: version "10.1.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.1.0.tgz#2098d41c2dc56500e6c88584aa656c84de7d0484" integrity sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag== +lru-cache@^4.0.1: + version "4.1.5" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" + integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== + dependencies: + pseudomap "^1.0.2" + yallist "^2.1.2" + +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -7777,9 +7816,9 @@ lru-cache@^6.0.0: yallist "^4.0.0" lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: - version "7.13.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.13.1.tgz#267a81fbd0881327c46a81c5922606a2cfe336c4" - integrity sha512-CHqbAq7NFlW3RSnoWXLJBxCWaZVBrfa9UEHId2M3AW8iEBurbqduNexEUCGc3SHc6iCYXNJCDi903LajSVAEPQ== + version "7.18.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.18.3.tgz#f793896e0fd0e954a59dfdd82f0773808df6aa89" + integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== magic-string@^0.25.4: version "0.25.9" @@ -7803,15 +7842,22 @@ make-dir@^3.0.0: dependencies: semver "^6.0.0" +make-dir@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" + integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== + dependencies: + semver "^7.5.3" + make-error@1.x, make-error@^1.1.1: version "1.3.6" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== make-fetch-happen@^10.0.3, make-fetch-happen@^10.0.6: - version "10.2.0" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-10.2.0.tgz#0bde3914f2f82750b5d48c6d2294d2c74f985e5b" - integrity sha512-OnEfCLofQVJ5zgKwGk55GaqosqKjaR6khQlJY3dBAA+hM25Bc5CmX5rKUfVut+rYA3uidA7zb7AvcglU87rPRg== + version "10.2.1" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz#f5e3835c5e9817b617f2770870d9492d28678164" + integrity sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w== dependencies: agentkeepalive "^4.2.1" cacache "^16.1.0" @@ -7862,12 +7908,12 @@ makeerror@1.0.12: map-cache@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" - integrity sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8= + integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg== map-obj@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" - integrity sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0= + integrity sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg== map-obj@^4.0.0: version "4.3.0" @@ -7877,7 +7923,7 @@ map-obj@^4.0.0: map-visit@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" - integrity sha1-7Nyo8TFE5mDxtb1B8S80edmN+48= + integrity sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w== dependencies: object-visit "^1.0.0" @@ -7893,12 +7939,12 @@ md5.js@^1.3.4: media-typer@0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" - integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= + integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== 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= + integrity sha512-cda4JKCxReDXFXRqOHPQscuIYg1PvxbE2S2GP45rnwfEK+vZaXC8C1OFvdHIbgw0DLzowXGVoxLaAmlgRy14GQ== dependencies: errno "^0.1.3" readable-stream "^2.0.1" @@ -7923,7 +7969,7 @@ meow@^8.0.0: merge-descriptors@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" - integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= + integrity sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w== merge-stream@^2.0.0: version "2.0.0" @@ -7943,7 +7989,7 @@ merge@^2.1.1: methods@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" - integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= + integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" @@ -7964,15 +8010,7 @@ micromatch@^3.1.10, micromatch@^3.1.4: snapdragon "^0.8.1" to-regex "^3.0.2" -micromatch@^4.0.2: - version "4.0.4" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9" - integrity sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg== - dependencies: - braces "^3.0.1" - picomatch "^2.2.3" - -micromatch@^4.0.4: +micromatch@^4.0.2, micromatch@^4.0.4: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== @@ -7988,22 +8026,17 @@ miller-rabin@^4.0.0: bn.js "^4.0.0" brorand "^1.0.1" -mime-db@1.51.0: - version "1.51.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.51.0.tgz#d9ff62451859b18342d960850dc3cfb77e63fb0c" - integrity sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g== - -"mime-db@>= 1.43.0 < 2": +mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": version "1.52.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== mime-types@^2.1.12, mime-types@^2.1.27, mime-types@~2.1.17, mime-types@~2.1.24, mime-types@~2.1.34: - version "2.1.34" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.34.tgz#5a712f9ec1503511a945803640fafe09d3793c24" - integrity sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A== + version "2.1.35" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== dependencies: - mime-db "1.51.0" + mime-db "1.52.0" mime@1.6.0: version "1.6.0" @@ -8015,16 +8048,16 @@ mime@^2.4.4: resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== -mimic-fn@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" - integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== - mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== +mimic-response@^1.0.0, mimic-response@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" + integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== + min-indent@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" @@ -8038,7 +8071,7 @@ minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: minimalistic-crypto-utils@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" - integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo= + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== minimatch@3.0.5: version "3.0.5" @@ -8047,7 +8080,7 @@ minimatch@3.0.5: dependencies: brace-expansion "^1.1.7" -minimatch@^3.0.4, minimatch@^3.1.1: +minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -8055,9 +8088,9 @@ minimatch@^3.0.4, minimatch@^3.1.1: brace-expansion "^1.1.7" minimatch@^5.0.1: - version "5.1.0" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" - integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== + version "5.1.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" + integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== dependencies: brace-expansion "^2.0.1" @@ -8070,21 +8103,16 @@ minimist-options@4.1.0: is-plain-obj "^1.1.0" kind-of "^6.0.3" -minimist@1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" - integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== - -minimist@1.2.6: - version "1.2.6" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" - integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== - -minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: +minimist@1.2.7: version "1.2.7" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== +minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + minipass-collect@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" @@ -8104,9 +8132,9 @@ minipass-fetch@^1.3.2: encoding "^0.1.12" minipass-fetch@^2.0.3: - version "2.1.0" - resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-2.1.0.tgz#ca1754a5f857a3be99a9271277246ac0b44c3ff8" - integrity sha512-H9U4UVBGXEyyWJnqYDCLp1PwD8XIkJ4akNHp1aGVI+2Ym7wQMlxDKi4IB4JbmyU+pl9pEs/cVrK6cOuvmbK4Sg== + version "2.1.2" + resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-2.1.2.tgz#95560b50c472d81a3bc76f20ede80eaed76d8add" + integrity sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA== dependencies: minipass "^3.1.6" minipass-sized "^1.0.3" @@ -8144,12 +8172,17 @@ minipass-sized@^1.0.3: minipass "^3.0.0" minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3, minipass@^3.1.6: - version "3.3.4" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.4.tgz#ca99f95dd77c43c7a76bf51e6d200025eee0ffae" - integrity sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw== + version "3.3.6" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" + integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== dependencies: yallist "^4.0.0" +minipass@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" + integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== + minizlib@^2.0.0, minizlib@^2.1.1, minizlib@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" @@ -8180,12 +8213,12 @@ mkdirp@1.x, mkdirp@^1.0.3, mkdirp@^1.0.4: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@^0.5.5: - version "0.5.5" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" - integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== +mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@^0.5.6: + version "0.5.6" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" + integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== dependencies: - minimist "^1.2.5" + minimist "^1.2.6" modify-values@^1.0.0: version "1.0.1" @@ -8200,7 +8233,7 @@ mri@^1.1.5: ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= + integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== ms@2.1.2: version "2.1.2" @@ -8215,7 +8248,7 @@ ms@2.1.3, ms@^2.0.0, ms@^2.1.1: multicast-dns-service-types@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz#899f11d9686e5e05cb91b35d5f0e63b773cfc901" - integrity sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE= + integrity sha512-cnAsSVxIDsYt0v7HmC0hWZFwwXSh+E6PgCrREDuN/EsjgLwA5XRmlMHhSiDPrt6HxY1gTivEa/Zh7GtODoLevQ== multicast-dns@^6.0.1: version "6.2.3" @@ -8247,11 +8280,6 @@ multimatch@^5.0.0: arrify "^2.0.1" minimatch "^3.0.4" -mute-stream@0.0.7: - version "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, mute-stream@~0.0.4: version "0.0.8" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" @@ -8267,9 +8295,9 @@ mz@^2.4.0: thenify-all "^1.0.0" nan@^2.12.1: - version "2.15.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.15.0.tgz#3f34a473ff18e15c1b5626b62903b5ad6e665fee" - integrity sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ== + version "2.18.0" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.18.0.tgz#26a6faae7ffbeb293a39660e88a76b82e30b7554" + integrity sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w== nanomatch@^1.2.9: version "1.2.13" @@ -8291,14 +8319,14 @@ nanomatch@^1.2.9: natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" - integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== negotiator@0.6.3, negotiator@^0.6.2, negotiator@^0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== -neo-async@^2.6.0, neo-async@^2.6.2: +neo-async@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== @@ -8321,10 +8349,10 @@ node-addon-api@^3.2.1: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== -node-fetch@2.6.7, node-fetch@^2.6.0, node-fetch@^2.6.1, node-fetch@^2.6.7: - version "2.6.7" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" - integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== +node-fetch@^2.6.0, node-fetch@^2.6.1, node-fetch@^2.6.12, node-fetch@^2.6.7: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== dependencies: whatwg-url "^5.0.0" @@ -8334,20 +8362,21 @@ node-forge@^0.10.0: integrity sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA== node-gyp-build@^4.3.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.5.0.tgz#7a64eefa0b21112f89f58379da128ac177f20e40" - integrity sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg== + version "4.8.0" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.0.tgz#3fee9c1731df4581a3f9ead74664369ff00d26dd" + integrity sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og== node-gyp@^9.0.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.1.0.tgz#c8d8e590678ea1f7b8097511dedf41fc126648f8" - integrity sha512-HkmN0ZpQJU7FLbJauJTHkHlSVAXlNGDAzH/VYFZGDOnFyn/Na3GlNJfkudmufOdS6/jNFhy88ObzL7ERz9es1g== + version "9.4.1" + resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.4.1.tgz#8a1023e0d6766ecb52764cc3a734b36ff275e185" + integrity sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ== dependencies: env-paths "^2.2.0" + exponential-backoff "^3.1.1" glob "^7.1.4" graceful-fs "^4.2.6" make-fetch-happen "^10.0.3" - nopt "^5.0.0" + nopt "^6.0.0" npmlog "^6.0.0" rimraf "^3.0.2" semver "^7.3.5" @@ -8357,7 +8386,7 @@ node-gyp@^9.0.0: node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" - integrity sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs= + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== node-notifier@^8.0.0: version "8.0.2" @@ -8401,10 +8430,10 @@ node-polyfill-webpack-plugin@^1.1.4: util "^0.12.4" vm-browserify "^1.1.2" -node-releases@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.2.tgz#7139fe71e2f4f11b47d4d2986aaf8c48699e0c01" - integrity sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg== +node-releases@^2.0.14: + version "2.0.14" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b" + integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw== nopt@^5.0.0: version "5.0.0" @@ -8413,6 +8442,13 @@ nopt@^5.0.0: dependencies: abbrev "1" +nopt@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-6.0.0.tgz#245801d8ebf409c6df22ab9d95b65e1309cdb16d" + integrity sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g== + dependencies: + abbrev "^1.0.0" + normalize-package-data@^2.3.2, normalize-package-data@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" @@ -8434,9 +8470,9 @@ normalize-package-data@^3.0.0: validate-npm-package-license "^3.0.1" normalize-package-data@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-4.0.0.tgz#1122d5359af21d4cd08718b92b058a658594177c" - integrity sha512-m+GL22VXJKkKbw62ZaBBjv8u6IE3UI4Mh5QakIqs3fWiKe0Xyi6L97hakwZK41/LD4R/2ly71Bayx0NLMwLA/g== + version "4.0.1" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-4.0.1.tgz#b46b24e0616d06cadf9d5718b29b6d445a82a62c" + integrity sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg== dependencies: hosted-git-info "^5.0.0" is-core-module "^2.8.1" @@ -8446,7 +8482,7 @@ normalize-package-data@^4.0.0: normalize-path@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" - integrity sha1-GrKLVW4Zg2Oowab35vogE3/mrtk= + integrity sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w== dependencies: remove-trailing-separator "^1.0.1" @@ -8455,18 +8491,25 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -normalize-url@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" - integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== +normalize-url@^4.1.0: + version "4.5.1" + resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a" + integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA== -npm-bundled@^1.1.1, npm-bundled@^1.1.2: +npm-bundled@^1.1.1: version "1.1.2" resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== dependencies: npm-normalize-package-bin "^1.0.1" +npm-bundled@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-2.0.1.tgz#94113f7eb342cd7a67de1e789f896b04d2c600f4" + integrity sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw== + dependencies: + npm-normalize-package-bin "^2.0.0" + npm-install-checks@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-5.0.0.tgz#5ff27d209a4e3542b8ac6b0c1db6063506248234" @@ -8474,11 +8517,16 @@ npm-install-checks@^5.0.0: dependencies: semver "^7.1.1" -npm-normalize-package-bin@^1.0.0, npm-normalize-package-bin@^1.0.1: +npm-normalize-package-bin@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== +npm-normalize-package-bin@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz#9447a1adaaf89d8ad0abe24c6c84ad614a675fff" + integrity sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ== + npm-package-arg@8.1.1: version "8.1.1" resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.1.tgz#00ebf16ac395c63318e67ce66780a06db6df1b04" @@ -8489,9 +8537,9 @@ npm-package-arg@8.1.1: validate-npm-package-name "^3.0.0" npm-package-arg@^9.0.0, npm-package-arg@^9.0.1: - version "9.1.0" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-9.1.0.tgz#a60e9f1e7c03e4e3e4e994ea87fff8b90b522987" - integrity sha512-4J0GL+u2Nh6OnhvUKXRr2ZMG4lR8qtLp+kv7UiV00Y+nGiSxtttCyIRHCt5L5BNkXQld/RceYItau3MDOoGiBw== + version "9.1.2" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-9.1.2.tgz#fc8acecb00235f42270dda446f36926ddd9ac2bc" + integrity sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg== dependencies: hosted-git-info "^5.0.0" proc-log "^2.0.1" @@ -8499,29 +8547,29 @@ npm-package-arg@^9.0.0, npm-package-arg@^9.0.1: validate-npm-package-name "^4.0.0" npm-packlist@^5.1.0, npm-packlist@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-5.1.1.tgz#79bcaf22a26b6c30aa4dd66b976d69cc286800e0" - integrity sha512-UfpSvQ5YKwctmodvPPkK6Fwk603aoVsf8AEbmVKAEECrfvL8SSe1A2YIwrJ6xmTHAITKPwwZsWo7WwEbNk0kxw== + version "5.1.3" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-5.1.3.tgz#69d253e6fd664b9058b85005905012e00e69274b" + integrity sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg== dependencies: glob "^8.0.1" ignore-walk "^5.0.1" - npm-bundled "^1.1.2" - npm-normalize-package-bin "^1.0.1" + npm-bundled "^2.0.0" + npm-normalize-package-bin "^2.0.0" npm-pick-manifest@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-7.0.1.tgz#76dda30a7cd6b99be822217a935c2f5eacdaca4c" - integrity sha512-IA8+tuv8KujbsbLQvselW2XQgmXWS47t3CB0ZrzsRZ82DbDfkcFunOaPm4X7qNuhMfq+FmV7hQT4iFVpHqV7mg== + version "7.0.2" + resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-7.0.2.tgz#1d372b4e7ea7c6712316c0e99388a73ed3496e84" + integrity sha512-gk37SyRmlIjvTfcYl6RzDbSmS9Y4TOBXfsPnoYqTHARNgWbyDiCSMLUpmALDj4jjcTZpURiEfsSHJj9k7EV4Rw== dependencies: npm-install-checks "^5.0.0" - npm-normalize-package-bin "^1.0.1" + npm-normalize-package-bin "^2.0.0" npm-package-arg "^9.0.0" semver "^7.3.5" npm-registry-fetch@^13.0.0, npm-registry-fetch@^13.0.1, npm-registry-fetch@^13.3.0: - version "13.3.0" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-13.3.0.tgz#0ce10fa4a699a1e70685ecf41bbfb4150d74231b" - integrity sha512-10LJQ/1+VhKrZjIuY9I/+gQTvumqqlgnsCufoXETHAPFTS3+M+Z5CFhZRDHGavmJ6rOye3UvNga88vl8n1r6gg== + version "13.3.1" + resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-13.3.1.tgz#bb078b5fa6c52774116ae501ba1af2a33166af7e" + integrity sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw== dependencies: make-fetch-happen "^10.0.6" minipass "^3.1.6" @@ -8534,7 +8582,7 @@ npm-registry-fetch@^13.0.0, npm-registry-fetch@^13.0.1, npm-registry-fetch@^13.3 npm-run-path@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= + integrity sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw== dependencies: path-key "^2.0.0" @@ -8556,27 +8604,30 @@ npmlog@^6.0.0, npmlog@^6.0.2: set-blocking "^2.0.0" nth-check@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.0.1.tgz#2efe162f5c3da06a28959fbd3db75dbeea9f0fc2" - integrity sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w== + version "2.1.1" + resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d" + integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w== dependencies: boolbase "^1.0.0" nwsapi@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" - integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ== + version "2.2.7" + resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.7.tgz#738e0707d3128cb750dddcfe90e4610482df0f30" + integrity sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ== -nx@14.4.3, "nx@>=14.4.3 < 16": - version "14.4.3" - resolved "https://registry.yarnpkg.com/nx/-/nx-14.4.3.tgz#27a1aea9ffaf143800c20006ed20f9a26f4610a3" - integrity sha512-XPaoEAfJI9056qdwTvkutQSwwA3iihqNDwhvk3dmgpT35j8Uzm/y67goACaCUBCjP2dIQqXfNfJVWQIpcG3MTw== +nx@15.9.7, "nx@>=14.8.1 < 16": + version "15.9.7" + resolved "https://registry.yarnpkg.com/nx/-/nx-15.9.7.tgz#f0e713cedb8637a517d9c4795c99afec4959a1b6" + integrity sha512-1qlEeDjX9OKZEryC8i4bA+twNg+lB5RKrozlNwWx/lLJHqWPUfvUTvxh+uxlPYL9KzVReQjUuxMLFMsHNqWUrA== dependencies: - "@nrwl/cli" "14.4.3" - "@nrwl/tao" "14.4.3" + "@nrwl/cli" "15.9.7" + "@nrwl/tao" "15.9.7" "@parcel/watcher" "2.0.4" - chalk "4.1.0" - chokidar "^3.5.1" + "@yarnpkg/lockfile" "^1.1.0" + "@yarnpkg/parsers" "3.0.0-rc.46" + "@zkochan/js-yaml" "0.0.6" + axios "^1.0.0" + chalk "^4.1.0" cli-cursor "3.1.0" cli-spinners "2.6.1" cliui "^7.0.2" @@ -8585,49 +8636,56 @@ nx@14.4.3, "nx@>=14.4.3 < 16": fast-glob "3.2.7" figures "3.2.0" flat "^5.0.2" - fs-extra "^10.1.0" + fs-extra "^11.1.0" glob "7.1.4" ignore "^5.0.4" js-yaml "4.1.0" - jsonc-parser "3.0.0" + jsonc-parser "3.2.0" + lines-and-columns "~2.0.3" minimatch "3.0.5" npm-run-path "^4.0.1" open "^8.4.0" - semver "7.3.4" + semver "7.5.4" string-width "^4.2.3" + strong-log-transformer "^2.1.0" tar-stream "~2.2.0" tmp "~0.2.1" - tsconfig-paths "^3.9.0" + tsconfig-paths "^4.1.2" tslib "^2.3.0" v8-compile-cache "2.3.0" - yargs "^17.4.0" - yargs-parser "21.0.1" + yargs "^17.6.2" + yargs-parser "21.1.1" + optionalDependencies: + "@nrwl/nx-darwin-arm64" "15.9.7" + "@nrwl/nx-darwin-x64" "15.9.7" + "@nrwl/nx-linux-arm-gnueabihf" "15.9.7" + "@nrwl/nx-linux-arm64-gnu" "15.9.7" + "@nrwl/nx-linux-arm64-musl" "15.9.7" + "@nrwl/nx-linux-x64-gnu" "15.9.7" + "@nrwl/nx-linux-x64-musl" "15.9.7" + "@nrwl/nx-win32-arm64-msvc" "15.9.7" + "@nrwl/nx-win32-x64-msvc" "15.9.7" object-assign@^4.0.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== object-copy@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" - integrity sha1-fn2Fi3gb18mRpBupde04EnVOmYw= + integrity sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ== dependencies: copy-descriptor "^0.1.0" define-property "^0.2.5" kind-of "^3.0.3" -object-inspect@^1.11.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0" - integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g== - object-inspect@^1.9.0: - version "1.12.2" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" - integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== + version "1.13.1" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2" + integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== -object-is@^1.0.1: +object-is@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== @@ -8635,7 +8693,7 @@ object-is@^1.0.1: call-bind "^1.0.2" define-properties "^1.1.3" -object-keys@^1.0.12, object-keys@^1.1.1: +object-keys@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== @@ -8643,24 +8701,24 @@ object-keys@^1.0.12, object-keys@^1.1.1: object-visit@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" - integrity sha1-95xEk68MU3e1n+OdOV5BBC3QRbs= + integrity sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA== dependencies: isobject "^3.0.0" -object.assign@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940" - integrity sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ== +object.assign@^4.1.4: + version "4.1.5" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.5.tgz#3a833f9ab7fdb80fc9e8d2300c803d216d8fdbb0" + integrity sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ== dependencies: - call-bind "^1.0.0" - define-properties "^1.1.3" - has-symbols "^1.0.1" + call-bind "^1.0.5" + define-properties "^1.2.1" + has-symbols "^1.0.3" object-keys "^1.1.1" object.pick@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" - integrity sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c= + integrity sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ== dependencies: isobject "^3.0.1" @@ -8685,10 +8743,10 @@ octokit@^3.1.2: "@octokit/request-error" "^5.0.0" "@octokit/types" "^12.0.0" -on-finished@~2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" - integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc= +on-finished@2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" + integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== dependencies: ee-first "1.1.1" @@ -8700,17 +8758,10 @@ on-headers@~1.0.2: once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== dependencies: wrappy "1" -onetime@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" - integrity sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ= - dependencies: - mimic-fn "^1.0.0" - onetime@^5.1.0, onetime@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" @@ -8719,9 +8770,9 @@ onetime@^5.1.0, onetime@^5.1.2: mimic-fn "^2.1.0" open@^8.4.0: - version "8.4.0" - resolved "https://registry.yarnpkg.com/open/-/open-8.4.0.tgz#345321ae18f8138f82565a910fdc6b39e8c244f8" - integrity sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q== + version "8.4.2" + resolved "https://registry.yarnpkg.com/open/-/open-8.4.2.tgz#5b5ffe2a8f793dcd2aad73e550cb87b59cb084f9" + integrity sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ== dependencies: define-lazy-prop "^2.0.0" is-docker "^2.1.1" @@ -8744,18 +8795,6 @@ opn@^5.5.0: dependencies: is-wsl "^1.1.0" -optionator@^0.8.1: - version "0.8.3" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" - integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== - dependencies: - deep-is "~0.1.3" - fast-levenshtein "~2.0.6" - levn "~0.3.0" - prelude-ls "~1.1.2" - type-check "~0.3.2" - word-wrap "~1.2.3" - ora@^5.4.1: version "5.4.1" resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" @@ -8771,22 +8810,20 @@ ora@^5.4.1: strip-ansi "^6.0.0" wcwidth "^1.0.1" -original@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/original/-/original-1.0.2.tgz#e442a61cffe1c5fd20a65f3261c26663b303f25f" - integrity sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg== - dependencies: - url-parse "^1.4.3" - os-browserify@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" - integrity sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc= + integrity sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A== os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= + integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== + +p-cancelable@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" + integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== p-each-series@^2.1.0: version "2.2.0" @@ -8796,7 +8833,7 @@ p-each-series@^2.1.0: p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" - integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= + integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== p-limit@^1.1.0: version "1.3.0" @@ -8805,7 +8842,7 @@ p-limit@^1.1.0: dependencies: p-try "^1.0.0" -p-limit@^2.0.0, p-limit@^2.2.0: +p-limit@^2.0.0, p-limit@^2.2.0, p-limit@^2.2.1: version "2.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== @@ -8815,7 +8852,7 @@ p-limit@^2.0.0, p-limit@^2.2.0: p-locate@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha1-IKAQOyIqcMj9OcwuWAaA893l7EM= + integrity sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg== dependencies: p-limit "^1.1.0" @@ -8892,7 +8929,7 @@ p-timeout@^3.2.0: p-try@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= + integrity sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww== p-try@^2.0.0: version "2.2.0" @@ -8906,10 +8943,20 @@ p-waterfall@^2.1.1: dependencies: p-reduce "^2.0.0" +package-json@^6.5.0: + version "6.5.0" + resolved "https://registry.yarnpkg.com/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0" + integrity sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ== + dependencies: + got "^9.6.0" + registry-auth-token "^4.0.0" + registry-url "^5.0.0" + semver "^6.2.0" + pacote@^13.0.3, pacote@^13.6.1: - version "13.6.1" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-13.6.1.tgz#ac6cbd9032b4c16e5c1e0c60138dfe44e4cc589d" - integrity sha512-L+2BI1ougAPsFjXRyBhcKmfT016NscRFLv6Pz5EiNf1CCFJFU0pSKKQwsZTyAQB+sTuUL4TyFyp6J1Ork3dOqw== + version "13.6.2" + resolved "https://registry.yarnpkg.com/pacote/-/pacote-13.6.2.tgz#0d444ba3618ab3e5cd330b451c22967bbd0ca48a" + integrity sha512-Gu8fU3GsvOPkak2CkbojR7vjs3k3P9cA6uazKTHdsdV0gpCEQq2opelnEv30KRQWgVzP5Vd/5umjcedma3MKtg== dependencies: "@npmcli/git" "^3.0.0" "@npmcli/installed-package-contents" "^1.0.7" @@ -8973,15 +9020,20 @@ parse-conflict-json@^2.0.1: just-diff "^5.0.1" just-diff-apply "^5.2.0" +parse-github-url@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/parse-github-url/-/parse-github-url-1.0.2.tgz#242d3b65cbcdda14bb50439e3242acf6971db395" + integrity sha512-kgBf6avCbO3Cn6+RnzRGLkUsv4ZVqv/VfAYkRsyBcgkshNvVBkRn1FEZcW0Jb+npXQWm2vHPnnOqFteZxRRGNw== + parse-json@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" - integrity sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA= + integrity sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw== dependencies: error-ex "^1.3.1" json-parse-better-errors "^1.0.1" -parse-json@^5.0.0: +parse-json@^5.0.0, parse-json@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== @@ -8994,24 +9046,21 @@ parse-json@^5.0.0: parse-passwd@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" - integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY= + integrity sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q== -parse-path@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-5.0.0.tgz#f933152f3c6d34f4cf36cfc3d07b138ac113649d" - integrity sha512-qOpH55/+ZJ4jUu/oLO+ifUKjFPNZGfnPJtzvGzKN/4oLMil5m9OH4VpOj6++9/ytJcfks4kzH2hhi87GL/OU9A== +parse-path@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-7.0.0.tgz#605a2d58d0a749c8594405d8cc3a2bf76d16099b" + integrity sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog== dependencies: protocols "^2.0.0" -parse-url@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-7.0.2.tgz#d21232417199b8d371c6aec0cedf1406fd6393f0" - integrity sha512-PqO4Z0eCiQ08Wj6QQmrmp5YTTxpYfONdOEamrtvK63AmzXpcavIVQubGHxOEwiIoDZFb8uDOoQFS0NCcjqIYQg== +parse-url@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-8.1.0.tgz#972e0827ed4b57fc85f0ea6b0d839f0d8a57a57d" + integrity sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w== dependencies: - is-ssh "^1.4.0" - normalize-url "^6.1.0" - parse-path "^5.0.0" - protocols "^2.0.1" + parse-path "^7.0.0" parse5-htmlparser2-tree-adapter@^6.0.0: version "6.0.1" @@ -9051,7 +9100,7 @@ pascal-case@^3.1.2: pascalcase@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" - integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ= + integrity sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw== path-browserify@^1.0.1: version "1.0.1" @@ -9061,12 +9110,12 @@ path-browserify@^1.0.1: path-dirname@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" - integrity sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA= + integrity sha512-ALzNPpyNq9AqXMBjeymIjFDAkAFH06mHJH/cSBHAgU0s4vfpBn6b2nf8tiRLvagKD8RbTpq2FKTBg7cl9l3c7Q== path-exists@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= + integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== path-exists@^4.0.0: version "4.0.0" @@ -9076,17 +9125,17 @@ path-exists@^4.0.0: path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== path-is-inside@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" - integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= + integrity sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w== path-key@^2.0.0, path-key@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= + integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== path-key@^3.0.0, path-key@^3.1.0: version "3.1.1" @@ -9101,7 +9150,7 @@ path-parse@^1.0.7: path-to-regexp@0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" - integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= + integrity sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ== path-type@^3.0.0: version "3.0.0" @@ -9129,7 +9178,7 @@ pbkdf2@^3.0.3: pegjs@^0.10.0: version "0.10.0" resolved "https://registry.yarnpkg.com/pegjs/-/pegjs-0.10.0.tgz#cf8bafae6eddff4b5a7efb185269eaaf4610ddbd" - integrity sha1-z4uvrm7d/0tafvsYUmnqr0YQ3b0= + integrity sha512-qI5+oFNEGi3L5HAxDwN2LA4Gg7irF70Zs25edhjld9QemOgp0CbvMtbFcMvFtEo1OityPrcCzkQFB8JP/hxgow== picocolors@^0.2.1: version "0.2.1" @@ -9141,7 +9190,7 @@ picocolors@^1.0.0: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== @@ -9149,12 +9198,12 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: pify@^2.0.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= + integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== pify@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" - integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY= + integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== pify@^4.0.1: version "4.0.1" @@ -9169,19 +9218,19 @@ pify@^5.0.0: pinkie-promise@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" - integrity sha1-ITXW36ejWMBprJsXh3YogihFD/o= + integrity sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw== dependencies: pinkie "^2.0.0" pinkie@^2.0.0: version "2.0.4" resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" - integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA= + integrity sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg== pirates@^4.0.1: - version "4.0.5" - resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" - integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== + version "4.0.6" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" + integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== pkg-dir@^3.0.0: version "3.0.0" @@ -9205,18 +9254,18 @@ please-upgrade-node@^3.2.0: semver-compare "^1.0.0" portfinder@^1.0.26: - version "1.0.28" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.28.tgz#67c4622852bd5374dd1dd900f779f53462fac778" - integrity sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA== + version "1.0.32" + resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.32.tgz#2fe1b9e58389712429dc2bea5beb2146146c7f81" + integrity sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg== dependencies: - async "^2.6.2" - debug "^3.1.1" - mkdirp "^0.5.5" + async "^2.6.4" + debug "^3.2.7" + mkdirp "^0.5.6" posix-character-classes@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" - integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= + integrity sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg== postcss-js@^2.0.3: version "2.0.3" @@ -9234,20 +9283,15 @@ postcss@^7.0.18, postcss@^7.0.39: picocolors "^0.2.1" source-map "^0.6.1" -prelude-ls@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" - integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= - -prettier@2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.1.tgz#76903c3f8c4449bc9ac597acefa24dc5ad4cbea6" - integrity sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA== +prepend-http@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" + integrity sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA== -prettier@^2.3.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a" - integrity sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg== +prettier@^2, prettier@^2.3.1: + version "2.8.8" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" + integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== pretty-error@^4.0.0: version "4.0.0" @@ -9302,7 +9346,7 @@ process-nextick-args@~2.0.0: process@^0.11.10: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" - integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= + integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A== progress@^2.0.0: version "2.0.3" @@ -9315,14 +9359,14 @@ promise-all-reject-late@^1.0.0: integrity sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw== promise-call-limit@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-call-limit/-/promise-call-limit-1.0.1.tgz#4bdee03aeb85674385ca934da7114e9bcd3c6e24" - integrity sha512-3+hgaa19jzCGLuSCbieeRsu5C2joKfYn8pY6JAuXFRVfF4IO+L7UPpFWNTeWT9pM7uhskvbPPd/oEOktCn317Q== + version "1.0.2" + resolved "https://registry.yarnpkg.com/promise-call-limit/-/promise-call-limit-1.0.2.tgz#f64b8dd9ef7693c9c7613e7dfe8d6d24de3031ea" + integrity sha512-1vTUnfI2hzui8AEIixbdAJlFY4LFDXqQswy/2eOlThAscXCY4It8FdVuI0fMJGAB2aWGbdQf/gv0skKYXmdrHA== promise-inflight@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM= + integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== promise-retry@^2.0.1: version "2.0.1" @@ -9343,7 +9387,7 @@ prompts@^2.0.1: promzard@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee" - integrity sha1-JqXW7ox97kyxIggwWs+5O6OCqe4= + integrity sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw== dependencies: read "1" @@ -9355,14 +9399,14 @@ property-information@^5.1.0, property-information@^5.5.0: xtend "^4.0.0" property-information@^6.0.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/property-information/-/property-information-6.2.0.tgz#b74f522c31c097b5149e3c3cb8d7f3defd986a1d" - integrity sha512-kma4U7AFCTwpqq5twzC1YVIDXSqg6qQK6JN0smOw8fgRy1OkMi0CYSzFmsy6dnqSenamAtj0CyXMUJ1Mf6oROg== + version "6.4.0" + resolved "https://registry.yarnpkg.com/property-information/-/property-information-6.4.0.tgz#6bc4c618b0c2d68b3bb8b552cbb97f8e300a0f82" + integrity sha512-9t5qARVofg2xQqKtytzt+lZ4d1Qvj8t5B8fEwXK6qOfgRLgH/b13QlgEyDh033NOS31nXeFbYv7CLUDG1CeifQ== proto-list@~1.2.1: version "1.2.4" resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" - integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk= + integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== protocols@^2.0.0, protocols@^2.0.1: version "2.0.1" @@ -9377,15 +9421,25 @@ proxy-addr@~2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" +proxy-from-env@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" + integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== + prr@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" - integrity sha1-0/wRS6BplaRexok/SEzrHXj19HY= + integrity sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw== + +pseudomap@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" + integrity sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ== psl@^1.1.33: - version "1.8.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24" - integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ== + version "1.9.0" + resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" + integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== public-encrypt@^4.0.0: version "4.0.3" @@ -9407,40 +9461,39 @@ pump@^3.0.0: end-of-stream "^1.1.0" once "^1.3.1" -punycode@1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" - integrity sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0= - -punycode@^1.3.2: +punycode@^1.3.2, punycode@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" - integrity sha1-wNWmOycYgArY4esPpSachN1BhF4= + integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ== punycode@^2.1.0, punycode@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" - integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== + version "2.3.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" + integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== q@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" - integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= + integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw== + +qs@6.11.0: + version "6.11.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" + integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== + dependencies: + side-channel "^1.0.4" -qs@6.9.7: - version "6.9.7" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.9.7.tgz#4610846871485e1e048f44ae3b94033f0e675afe" - integrity sha512-IhMFgUmuNpyRfxA90umL7ByLlgRXu6tIfKPpF5TmcfRLlLCckfP/g3IQmju6jjpu+Hh8rA+2p6A27ZSPOOHdKw== +qs@^6.11.2: + version "6.11.2" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.2.tgz#64bea51f12c1f5da1bc01496f48ffcff7c69d7d9" + integrity sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA== + dependencies: + side-channel "^1.0.4" querystring-es3@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" - integrity sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM= - -querystring@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" - integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= + integrity sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA== querystringify@^2.1.1: version "2.2.0" @@ -9477,16 +9530,26 @@ range-parser@^1.2.1, range-parser@~1.2.1: resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== -raw-body@2.4.3: - version "2.4.3" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.4.3.tgz#8f80305d11c2a0a545c2d9d89d7a0286fcead43c" - integrity sha512-UlTNLIcu0uzb4D2f4WltY6cVjLi+/jEN4lgEUj3E04tpMDpUlkBo/eSn6zou9hum2VMNpCCUone0O0WeJim07g== +raw-body@2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857" + integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== dependencies: bytes "3.1.2" - http-errors "1.8.1" + http-errors "2.0.0" iconv-lite "0.4.24" unpipe "1.0.0" +rc@1.2.8, rc@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" + integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== + dependencies: + deep-extend "^0.6.0" + ini "~1.3.0" + minimist "^1.2.0" + strip-json-comments "~2.0.1" + react-attr-converter@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/react-attr-converter/-/react-attr-converter-0.3.1.tgz#4a2abf6d907b7ddae4d862dfec80e489ce41ad6e" @@ -9503,9 +9566,9 @@ react-is@^17.0.1: integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== read-cmd-shim@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-3.0.0.tgz#62b8c638225c61e6cc607f8f4b779f3b8238f155" - integrity sha512-KQDVjGqhZk92PPNRj9ZEXEuqg8bUobSKRw+q0YQ3TKI5xkce7bUJobL4Z/OtiEbAAv70yEpYIXp4iQ9L8oPVog== + version "3.0.1" + resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-3.0.1.tgz#868c235ec59d1de2db69e11aec885bc095aea087" + integrity sha512-kEmDUoYf/CDy8yZbLTmhB1X9kkjf9Q80PCNsDMb7ufrGd6zZSQA1+UyjrO+pZm5K/S4OXCWJeiIt1JA8kAsa6g== read-package-json-fast@^2.0.2, read-package-json-fast@^2.0.3: version "2.0.3" @@ -9516,19 +9579,19 @@ read-package-json-fast@^2.0.2, read-package-json-fast@^2.0.3: npm-normalize-package-bin "^1.0.1" read-package-json@^5.0.0, read-package-json@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-5.0.1.tgz#1ed685d95ce258954596b13e2e0e76c7d0ab4c26" - integrity sha512-MALHuNgYWdGW3gKzuNMuYtcSSZbGQm94fAp16xt8VsYTLBjUSc55bLMKe6gzpWue0Tfi6CBgwCSdDAqutGDhMg== + version "5.0.2" + resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-5.0.2.tgz#b8779ccfd169f523b67208a89cc912e3f663f3fa" + integrity sha512-BSzugrt4kQ/Z0krro8zhTwV1Kd79ue25IhNN/VtHFy1mG/6Tluyi+msc0UpwaoQzxSHa28mntAjIZY6kEgfR9Q== dependencies: glob "^8.0.1" json-parse-even-better-errors "^2.3.1" normalize-package-data "^4.0.0" - npm-normalize-package-bin "^1.0.1" + npm-normalize-package-bin "^2.0.0" read-pkg-up@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" - integrity sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc= + integrity sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw== dependencies: find-up "^2.0.0" read-pkg "^3.0.0" @@ -9545,7 +9608,7 @@ read-pkg-up@^7.0.1: read-pkg@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" - integrity sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k= + integrity sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA== dependencies: load-json-file "^4.0.0" normalize-package-data "^2.3.2" @@ -9561,26 +9624,36 @@ read-pkg@^5.2.0: parse-json "^5.0.0" type-fest "^0.6.0" +read-yaml-file@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/read-yaml-file/-/read-yaml-file-1.1.0.tgz#9362bbcbdc77007cc8ea4519fe1c0b821a7ce0d8" + integrity sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA== + dependencies: + graceful-fs "^4.1.5" + js-yaml "^3.6.1" + pify "^4.0.1" + strip-bom "^3.0.0" + read@1, read@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" - integrity sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ= + integrity sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ== dependencies: mute-stream "~0.0.4" -readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2, readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" - integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== +readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2, readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0, readable-stream@^3.6.2: + version "3.6.2" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" + integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== dependencies: inherits "^2.0.3" string_decoder "^1.1.1" util-deprecate "^1.0.1" readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@~2.3.6: - version "2.3.7" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" - integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== + version "2.3.8" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" + integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== dependencies: core-util-is "~1.0.0" inherits "~2.0.3" @@ -9590,15 +9663,6 @@ readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@~2.3.6: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@^3.6.2: - version "3.6.2" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" - integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - readdir-scoped-modules@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" @@ -9640,10 +9704,10 @@ redent@^3.0.0: indent-string "^4.0.0" strip-indent "^3.0.0" -regenerator-runtime@^0.13.4: - version "0.13.9" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" - integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== +regenerator-runtime@^0.14.0: + version "0.14.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== regex-not@^1.0.0, regex-not@^1.0.2: version "1.0.2" @@ -9653,23 +9717,38 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexp.prototype.flags@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.1.tgz#b3f4c0059af9e47eca9f3f660e51d81307e72307" - integrity sha512-pMR7hBVUUGI7PMA37m2ofIdQCsomVnas+Jn5UPGAHQ+/LlwKm/aTLJHdasmHRzlfeZwHiAOaRSo2rbBDm3nNUQ== +regexp.prototype.flags@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz#90ce989138db209f81492edd734183ce99f9677e" + integrity sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg== dependencies: call-bind "^1.0.2" - define-properties "^1.1.3" + define-properties "^1.2.0" + set-function-name "^2.0.0" + +registry-auth-token@^4.0.0: + version "4.2.2" + resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.2.tgz#f02d49c3668884612ca031419491a13539e21fac" + integrity sha512-PC5ZysNb42zpFME6D/XlIgtNGdTl8bBOCw90xQLVMpzuuubJKYDWFAEuUNc+Cn8Z8724tg2SDhDRrkVEsqfDMg== + dependencies: + rc "1.2.8" + +registry-url@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009" + integrity sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw== + dependencies: + rc "^1.2.8" relateurl@^0.2.7: version "0.2.7" resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" - integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk= + integrity sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog== remove-trailing-separator@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" - integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8= + integrity sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw== renderkid@^3.0.0: version "3.0.0" @@ -9690,12 +9769,17 @@ repeat-element@^1.1.2: repeat-string@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" - integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= + integrity sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w== require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= + integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== + +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" + integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== require-main-filename@^2.0.0: version "2.0.0" @@ -9705,12 +9789,12 @@ require-main-filename@^2.0.0: requires-port@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= + integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== resolve-cwd@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" - integrity sha1-AKn3OHVW4nA46uIyyqNypqWbZlo= + integrity sha512-ccu8zQTrzVr954472aUVPLEcB3YpKSYR3cg/3lo1okzobPBM+1INXBbBZlDbnI/hbEocnf8j0QVo43hQKrbchg== dependencies: resolve-from "^3.0.0" @@ -9724,7 +9808,7 @@ resolve-cwd@^3.0.0: resolve-dir@^1.0.0, resolve-dir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" - integrity sha1-eaQGRMNivoLybv/nOcm7U4IEb0M= + integrity sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg== dependencies: expand-tilde "^2.0.0" global-modules "^1.0.0" @@ -9732,7 +9816,7 @@ resolve-dir@^1.0.0, resolve-dir@^1.0.1: resolve-from@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" - integrity sha1-six699nWiBvItuZTM17rywoYh0g= + integrity sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw== resolve-from@^4.0.0: version "4.0.0" @@ -9754,24 +9838,23 @@ resolve-global@^1.0.0: resolve-url@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" - integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= + integrity sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg== resolve@^1.10.0, resolve@^1.18.1, resolve@^1.3.2, resolve@^1.9.0: - version "1.22.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.0.tgz#5e0b8c67c15df57a89bdbabe603a002f21731198" - integrity sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw== + version "1.22.8" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" + integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== dependencies: - is-core-module "^2.8.1" + is-core-module "^2.13.0" path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -restore-cursor@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" - integrity sha1-n37ih/gv0ybU/RYpI9YhKe7g368= +responselike@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" + integrity sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ== dependencies: - onetime "^2.0.0" - signal-exit "^3.0.2" + lowercase-keys "^1.0.0" restore-cursor@^3.1.0: version "3.1.0" @@ -9794,7 +9877,7 @@ retry@0.13.1: retry@^0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - integrity sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs= + integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== reusify@^1.0.4: version "1.0.4" @@ -9828,7 +9911,7 @@ rsvp@^4.8.4: resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734" integrity sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA== -run-async@^2.2.0, run-async@^2.4.0: +run-async@^2.4.0: version "2.4.1" resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== @@ -9845,7 +9928,7 @@ run-parallel@^1.1.9: dependencies: queue-microtask "^1.2.2" -rxjs@^6.4.0, rxjs@^6.6.0: +rxjs@^6.6.0: version "6.6.7" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== @@ -9853,9 +9936,9 @@ rxjs@^6.4.0, rxjs@^6.6.0: tslib "^1.9.0" rxjs@^7.5.5: - version "7.5.6" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.6.tgz#0446577557862afd6903517ce7cae79ecb9662bc" - integrity sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw== + version "7.8.1" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" + integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== dependencies: tslib "^2.1.0" @@ -9872,7 +9955,7 @@ safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-regex@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" - integrity sha1-QKNmnzsHfR6UPURinhV91IAjvy4= + integrity sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg== dependencies: ret "~0.1.10" @@ -9912,10 +9995,10 @@ schema-utils@^1.0.0: ajv-errors "^1.0.0" ajv-keywords "^3.1.0" -schema-utils@^3.1.0, schema-utils@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281" - integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw== +schema-utils@^3.1.1, schema-utils@^3.2.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe" + integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg== dependencies: "@types/json-schema" "^7.0.8" ajv "^6.12.5" @@ -9924,7 +10007,7 @@ schema-utils@^3.1.0, schema-utils@^3.1.1: select-hose@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" - integrity sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo= + integrity sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg== selfsigned@^1.10.8: version "1.10.14" @@ -9933,65 +10016,66 @@ selfsigned@^1.10.8: dependencies: node-forge "^0.10.0" +sembear@^0.5.0: + version "0.5.2" + resolved "https://registry.yarnpkg.com/sembear/-/sembear-0.5.2.tgz#679da95f1cf1a39b7fcd54a1ae89cd5badedb7b3" + integrity sha512-Ij1vCAdFgWABd7zTg50Xw1/p0JgESNxuLlneEAsmBrKishA06ulTTL/SHGmNy2Zud7+rKrHTKNI6moJsn1ppAQ== + dependencies: + "@types/semver" "^6.0.1" + semver "^6.3.0" + semver-compare@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc" - integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w= + integrity sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow== "semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.5.0, semver@^5.6.0: version "5.7.2" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== -semver@7.3.4: - version "7.3.4" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97" - integrity sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw== - dependencies: - lru-cache "^6.0.0" - -semver@7.x, semver@^7.0.0, semver@^7.1.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.5.4: +semver@7.5.4, semver@7.x, semver@^7.0.0, semver@^7.1.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4: version "7.5.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== dependencies: lru-cache "^6.0.0" -semver@^6.0.0, semver@^6.3.0: +semver@^6.0.0, semver@^6.2.0, semver@^6.3.0, semver@^6.3.1: version "6.3.1" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -send@0.17.2: - version "0.17.2" - resolved "https://registry.yarnpkg.com/send/-/send-0.17.2.tgz#926622f76601c41808012c8bf1688fe3906f7820" - integrity sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww== +send@0.18.0: + version "0.18.0" + resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" + integrity sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg== dependencies: debug "2.6.9" - depd "~1.1.2" - destroy "~1.0.4" + depd "2.0.0" + destroy "1.2.0" encodeurl "~1.0.2" escape-html "~1.0.3" etag "~1.8.1" fresh "0.5.2" - http-errors "1.8.1" + http-errors "2.0.0" mime "1.6.0" ms "2.1.3" - on-finished "~2.3.0" + on-finished "2.4.1" range-parser "~1.2.1" - statuses "~1.5.0" + statuses "2.0.1" -serialize-javascript@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.0.tgz#efae5d88f45d7924141da8b5c3a7a7e663fefeb8" - integrity sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag== +serialize-javascript@^6.0.1: + version "6.0.2" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2" + integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g== dependencies: randombytes "^2.1.0" serve-index@^1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" - integrity sha1-03aNabHn2C5c4FD/9bRTvqEqkjk= + integrity sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw== dependencies: accepts "~1.3.4" batch "0.6.1" @@ -10001,25 +10085,39 @@ serve-index@^1.9.1: mime-types "~2.1.17" parseurl "~1.3.2" -serve-static@1.14.2: - version "1.14.2" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.14.2.tgz#722d6294b1d62626d41b43a013ece4598d292bfa" - integrity sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ== +serve-static@1.15.0: + version "1.15.0" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.15.0.tgz#faaef08cffe0a1a62f60cad0c4e513cff0ac9540" + integrity sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g== dependencies: encodeurl "~1.0.2" escape-html "~1.0.3" parseurl "~1.3.3" - send "0.17.2" + send "0.18.0" set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= + integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== -set-immediate-shim@~1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" - integrity sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E= +set-function-length@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.1.1.tgz#4bc39fafb0307224a33e106a7d35ca1218d659ed" + integrity sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ== + dependencies: + define-data-property "^1.1.1" + get-intrinsic "^1.2.1" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + +set-function-name@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.1.tgz#12ce38b7954310b9f61faa12701620a0c882793a" + integrity sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA== + dependencies: + define-data-property "^1.0.1" + functions-have-names "^1.2.3" + has-property-descriptors "^1.0.0" set-value@^2.0.0, set-value@^2.0.1: version "2.0.1" @@ -10031,10 +10129,10 @@ set-value@^2.0.0, set-value@^2.0.1: is-plain-object "^2.0.3" split-string "^3.0.1" -setimmediate@^1.0.4: +setimmediate@^1.0.4, setimmediate@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" - integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU= + integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA== setprototypeof@1.1.0: version "1.1.0" @@ -10064,7 +10162,7 @@ shallow-clone@^3.0.0: shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= + integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg== dependencies: shebang-regex "^1.0.0" @@ -10078,7 +10176,7 @@ shebang-command@^2.0.0: shebang-regex@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" - integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= + integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ== shebang-regex@^3.0.0: version "3.0.0" @@ -10150,12 +10248,12 @@ snapdragon@^0.8.1: use "^3.1.0" sockjs-client@^1.5.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/sockjs-client/-/sockjs-client-1.6.0.tgz#e0277b8974558edcb557eafc7d3027ef6128d865" - integrity sha512-qVHJlyfdHFht3eBFZdKEXKTlb7I4IV41xnVNo8yUKA1UHcPJwgW2SvTq9LhnjjCywSkSK7c/e4nghU0GOoMCRQ== + version "1.6.1" + resolved "https://registry.yarnpkg.com/sockjs-client/-/sockjs-client-1.6.1.tgz#350b8eda42d6d52ddc030c39943364c11dcad806" + integrity sha512-2g0tjOR+fRs0amxENLi/q5TiJTqY+WXFOzb5UwXndlK6TO3U/mirZznpx6w34HVMoc3g7cY24yC/ZMIYnDlfkw== dependencies: debug "^3.2.7" - eventsource "^1.1.0" + eventsource "^2.0.2" faye-websocket "^0.11.4" inherits "^2.0.4" url-parse "^1.5.10" @@ -10188,9 +10286,9 @@ socks-proxy-agent@^7.0.0: socks "^2.6.2" socks@^2.6.2: - version "2.7.0" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.0.tgz#f9225acdb841e874dca25f870e9130990f3913d0" - integrity sha512-scnOe9y4VuiNUULJN72GrM26BNOjVsfPXI+j+98PkyEfsIXroa5ofyjT+FzGvn/xHs73U2JtoBYAVx9Hl4quSA== + version "2.7.1" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.1.tgz#d8e651247178fde79c0663043e07240196857d55" + integrity sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ== dependencies: ip "^2.0.0" smart-buffer "^4.2.0" @@ -10198,7 +10296,7 @@ socks@^2.6.2: sort-keys@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128" - integrity sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg= + integrity sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg== dependencies: is-plain-obj "^1.0.0" @@ -10233,10 +10331,10 @@ source-map-url@^0.4.0: resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.1.tgz#0af66605a745a5a2f91cf1bbf8a7afbc283dec56" integrity sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw== -source-map@^0.5.0, source-map@^0.5.6: +source-map@^0.5.6: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= + integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: version "0.6.1" @@ -10244,9 +10342,9 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== source-map@^0.7.3: - version "0.7.3" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" - integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== + version "0.7.4" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" + integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== sourcemap-codec@^1.4.8: version "1.4.8" @@ -10263,10 +10361,18 @@ space-separated-tokens@^2.0.0: resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz#1ecd9d2350a3844572c3f4a312bceb018348859f" integrity sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q== +spawndamnit@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/spawndamnit/-/spawndamnit-2.0.0.tgz#9f762ac5c3476abb994b42ad592b5ad22bb4b0ad" + integrity sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA== + dependencies: + cross-spawn "^5.1.0" + signal-exit "^3.0.2" + spdx-correct@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9" - integrity sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w== + version "3.2.0" + resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.2.0.tgz#4f5ab0668f0059e34f9c00dce331784a12de4e9c" + integrity sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA== dependencies: spdx-expression-parse "^3.0.0" spdx-license-ids "^3.0.0" @@ -10285,9 +10391,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.11" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz#50c0d8c40a14ec1bf449bae69a0ea4685a9d9f95" - integrity sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g== + version "3.0.16" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz#a14f64e0954f6e25cc6587bd4f392522db0d998f" + integrity sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw== spdy-transport@^3.0.0: version "3.0.0" @@ -10336,7 +10442,7 @@ split@^1.0.0: sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== ssri@^8.0.0, ssri@^8.0.1: version "8.0.1" @@ -10353,24 +10459,29 @@ ssri@^9.0.0, ssri@^9.0.1: minipass "^3.1.1" stack-utils@^2.0.2: - version "2.0.5" - resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.5.tgz#d25265fca995154659dbbfba3b49254778d2fdd5" - integrity sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA== + version "2.0.6" + resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" + integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ== dependencies: escape-string-regexp "^2.0.0" static-extend@^0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" - integrity sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY= + integrity sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g== dependencies: define-property "^0.2.5" object-copy "^0.1.0" -"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2", statuses@~1.5.0: +statuses@2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" + integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== + +"statuses@>= 1.4.0 < 2": version "1.5.0" resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" - integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= + integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== stream-browserify@^3.0.0: version "3.0.0" @@ -10414,14 +10525,6 @@ string-length@^4.0.1: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -string-width@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" - integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== - dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - string-width@^3.0.0, string-width@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" @@ -10431,22 +10534,6 @@ string-width@^3.0.0, string-width@^3.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" -string.prototype.trimend@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz#e75ae90c2942c63504686c18b287b4a0b1a45f80" - integrity sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - -string.prototype.trimstart@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz#b36399af4ab2999b4c9c648bd7a3fb2bb26feeed" - integrity sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - string_decoder@^1.1.1, string_decoder@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" @@ -10501,17 +10588,10 @@ stringify-object@^3.3.0: strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= + integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== dependencies: ansi-regex "^2.0.0" -strip-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8= - dependencies: - ansi-regex "^3.0.0" - strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" @@ -10534,12 +10614,12 @@ strip-bom@4.0.0, strip-bom@^4.0.0: strip-bom@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= + integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== strip-eof@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= + integrity sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q== strip-final-newline@^2.0.0: version "2.0.0" @@ -10553,16 +10633,16 @@ strip-indent@^3.0.0: dependencies: min-indent "^1.0.0" -strip-json-comments@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7" - integrity sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw== - strip-json-comments@3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== +strip-json-comments@~2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" + integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ== + strong-log-transformer@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10" @@ -10575,7 +10655,7 @@ strong-log-transformer@^2.1.0: stubs@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/stubs/-/stubs-3.0.0.tgz#e8d2ba1fa9c90570303c030b6900f7d5f89abe5b" - integrity sha1-6NK6H6nJBXAwPAMLaQD31fiavls= + integrity sha512-PdHt7hHUJKxvTCgbKX9C1V/ftOcjJQgz8BZwNfV5c4B6dcGqlpelTbJ999jBGZ2jYiPAwcX5dP6oBwVlBlUbxw== supports-color@^5.3.0: version "5.5.0" @@ -10606,9 +10686,9 @@ supports-color@^8.0.0: has-flag "^4.0.0" supports-hyperlinks@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz#4f77b42488765891774b70c79babd87f9bd594bb" - integrity sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ== + version "2.3.0" + resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" + integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== dependencies: has-flag "^4.0.0" supports-color "^7.0.0" @@ -10645,13 +10725,13 @@ tar-stream@~2.2.0: readable-stream "^3.1.1" tar@^6.0.2, tar@^6.1.0, tar@^6.1.11, tar@^6.1.2: - version "6.1.11" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" - integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== + version "6.2.0" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.0.tgz#b14ce49a79cb1cd23bc9b016302dea5474493f73" + integrity sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" - minipass "^3.0.0" + minipass "^5.0.0" minizlib "^2.1.1" mkdirp "^1.0.3" yallist "^4.0.0" @@ -10670,7 +10750,7 @@ teeny-request@7.1.1: temp-dir@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" - integrity sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0= + integrity sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ== terminal-link@^2.0.0: version "2.1.1" @@ -10680,24 +10760,24 @@ terminal-link@^2.0.0: ansi-escapes "^4.2.1" supports-hyperlinks "^2.0.0" -terser-webpack-plugin@^5.1.3: - version "5.3.1" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz#0320dcc270ad5372c1e8993fabbd927929773e54" - integrity sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g== +terser-webpack-plugin@^5.3.7: + version "5.3.10" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz#904f4c9193c6fd2a03f693a2150c62a92f40d199" + integrity sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w== dependencies: + "@jridgewell/trace-mapping" "^0.3.20" jest-worker "^27.4.5" schema-utils "^3.1.1" - serialize-javascript "^6.0.0" - source-map "^0.6.1" - terser "^5.7.2" + serialize-javascript "^6.0.1" + terser "^5.26.0" -terser@^5.10.0, terser@^5.7.2: - version "5.14.2" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.14.2.tgz#9ac9f22b06994d736174f4091aa368db896f1c10" - integrity sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA== +terser@^5.10.0, terser@^5.26.0: + version "5.26.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.26.0.tgz#ee9f05d929f4189a9c28a0feb889d96d50126fe1" + integrity sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ== dependencies: - "@jridgewell/source-map" "^0.3.2" - acorn "^8.5.0" + "@jridgewell/source-map" "^0.3.3" + acorn "^8.8.2" commander "^2.20.0" source-map-support "~0.5.20" @@ -10718,7 +10798,7 @@ text-extensions@^1.0.0: thenify-all@^1.0.0: version "1.6.0" resolved "https://registry.yarnpkg.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" - integrity sha1-GhkY1ALY/D+Y+/I02wvMjMEOlyY= + integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== dependencies: thenify ">= 3.1.0 < 4" @@ -10752,7 +10832,7 @@ through2@^4.0.0: through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= + integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== thunky@^1.0.2: version "1.1.0" @@ -10793,19 +10873,24 @@ tmpl@1.0.5: to-fast-properties@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4= + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== to-object-path@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" - integrity sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68= + integrity sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg== dependencies: kind-of "^3.0.2" +to-readable-stream@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771" + integrity sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q== + to-regex-range@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" - integrity sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg= + integrity sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg== dependencies: is-number "^3.0.0" repeat-string "^1.6.1" @@ -10852,7 +10937,7 @@ tr46@^2.1.0: tr46@~0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== treeverse@^2.0.0: version "2.0.0" @@ -10885,25 +10970,6 @@ ts-jest@^26.5.6: semver "7.x" yargs-parser "20.x" -ts-node@^10.6.0: - version "10.6.0" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.6.0.tgz#c3f4195d5173ce3affdc8f2fd2e9a7ac8de5376a" - integrity sha512-CJen6+dfOXolxudBQXnVjRVvYTmTWbyz7cn+xq2XTsvnaXbHqr4gXSCNbS2Jj8yTZMuGwUoBESLaOkLascVVvg== - dependencies: - "@cspotcode/source-map-support" "0.7.0" - "@tsconfig/node10" "^1.0.7" - "@tsconfig/node12" "^1.0.7" - "@tsconfig/node14" "^1.0.0" - "@tsconfig/node16" "^1.0.2" - acorn "^8.4.1" - acorn-walk "^8.1.1" - arg "^4.1.0" - create-require "^1.1.0" - diff "^4.0.1" - make-error "^1.1.1" - v8-compile-cache-lib "^3.0.0" - yn "3.1.1" - ts-node@^8.6.2: version "8.10.2" resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-8.10.2.tgz#eee03764633b1234ddd37f8db9ec10b75ec7fb8d" @@ -10915,13 +10981,12 @@ ts-node@^8.6.2: source-map-support "^0.5.17" yn "3.1.1" -tsconfig-paths@^3.9.0: - version "3.14.1" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" - integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ== +tsconfig-paths@^4.1.2: + version "4.2.0" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz#ef78e19039133446d244beac0fd6a1632e2d107c" + integrity sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg== dependencies: - "@types/json5" "^0.0.29" - json5 "^1.0.1" + json5 "^2.2.2" minimist "^1.2.6" strip-bom "^3.0.0" @@ -10930,15 +10995,10 @@ tslib@^1.13.0, tslib@^1.8.1, tslib@^1.9.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.3: - version "2.3.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" - integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== - -tslib@^2.1.0, tslib@^2.3.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" - integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== +tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0: + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== tslint-config-prettier@^1.18.0: version "1.18.0" @@ -10976,13 +11036,6 @@ tty-browserify@^0.0.1: resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.1.tgz#3f05251ee17904dfd0677546670db9651682b811" integrity sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw== -type-check@~0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" - integrity sha1-WITKtRLPHTVeP7eE8wgEsrUg23I= - dependencies: - prelude-ls "~1.1.2" - type-detect@4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" @@ -11031,32 +11084,22 @@ typedarray-to-buffer@^3.1.5: typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= - -typescript@^4.4.3: - version "4.6.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.2.tgz#fe12d2727b708f4eef40f51598b3398baa9611d4" - integrity sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg== + integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@^5.0.2: - version "5.0.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b" - integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw== +"typescript@^3 || ^4", typescript@^4.3.5: + version "4.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" + integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== uglify-js@^3.1.4: - version "3.15.2" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.15.2.tgz#1ed2c976f448063b1f87adb68c741be79959f951" - integrity sha512-peeoTk3hSwYdoc9nrdiEJk+gx1ALCtTjdYuKSXMTDqq7n1W7dHPqWDdSi+BPL0ni2YMeHD7hKUSdbj3TZauY2A== + version "3.17.4" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" + integrity sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g== -unbox-primitive@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.1.tgz#085e215625ec3162574dc8859abee78a59b14471" - integrity sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw== - dependencies: - function-bind "^1.1.1" - has-bigints "^1.0.1" - has-symbols "^1.0.2" - which-boxed-primitive "^1.0.2" +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== union-value@^1.0.0: version "1.0.1" @@ -11075,6 +11118,13 @@ unique-filename@^1.1.1: dependencies: unique-slug "^2.0.0" +unique-filename@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2" + integrity sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A== + dependencies: + unique-slug "^3.0.0" + unique-slug@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" @@ -11082,6 +11132,13 @@ unique-slug@^2.0.0: dependencies: imurmurhash "^0.1.4" +unique-slug@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-3.0.0.tgz#6d347cf57c8a7a7a6044aabd0e2d74e4d76dc7c9" + integrity sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w== + dependencies: + imurmurhash "^0.1.4" + unist-util-is@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-2.1.3.tgz#459182db31f4742fceaea88d429693cbf0043d20" @@ -11125,18 +11182,18 @@ unist-util-visit@^4.0.0: unist-util-is "^5.0.0" unist-util-visit-parents "^5.1.1" -universal-github-app-jwt@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/universal-github-app-jwt/-/universal-github-app-jwt-1.1.1.tgz#d57cee49020662a95ca750a057e758a1a7190e6e" - integrity sha512-G33RTLrIBMFmlDV4u4CBF7dh71eWwykck4XgaxaIVeZKOYZRAAxvcGMRFTUclVY6xoUPQvO4Ne5wKGxYm/Yy9w== +universal-github-app-jwt@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/universal-github-app-jwt/-/universal-github-app-jwt-1.1.2.tgz#8c1867a394d7d9d42cda34f11d1bcb023797d8df" + integrity sha512-t1iB2FmLFE+yyJY9+3wMx0ejB+MQpEVkH0gQv7dR6FZyltyq+ZZO0uDpbopxhrZ3SLEO4dCEkIujOMldEQ2iOA== dependencies: "@types/jsonwebtoken" "^9.0.0" - jsonwebtoken "^9.0.0" + jsonwebtoken "^9.0.2" universal-user-agent@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" - integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w== + version "6.0.1" + resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.1.tgz#15f20f55da3c930c57bddbf1734c6654d5fd35aa" + integrity sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ== universalify@^0.1.0: version "0.1.2" @@ -11149,19 +11206,19 @@ universalify@^0.2.0: integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== universalify@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" - integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + version "2.0.1" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" + integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== unpipe@1.0.0, unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" - integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= + integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== unset-value@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" - integrity sha1-g3aHP30jNRef+x5vw6jtDfyKtVk= + integrity sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ== dependencies: has-value "^0.3.1" isobject "^3.0.0" @@ -11176,6 +11233,14 @@ upath@^2.0.1: resolved "https://registry.yarnpkg.com/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== +update-browserslist-db@^1.0.13: + version "1.0.13" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4" + integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" @@ -11186,9 +11251,16 @@ uri-js@^4.2.2: urix@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" - integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= + integrity sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg== + +url-parse-lax@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" + integrity sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ== + dependencies: + prepend-http "^2.0.0" -url-parse@^1.4.3, url-parse@^1.5.10, url-parse@^1.5.3: +url-parse@^1.5.10, url-parse@^1.5.3: version "1.5.10" resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ== @@ -11197,12 +11269,12 @@ url-parse@^1.4.3, url-parse@^1.5.10, url-parse@^1.5.3: requires-port "^1.0.0" url@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" - integrity sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE= + version "0.11.3" + resolved "https://registry.yarnpkg.com/url/-/url-0.11.3.tgz#6f495f4b935de40ce4a0a52faee8954244f3d3ad" + integrity sha512-6hxOLGfZASQK/cijlZnZJTq8OXAkt/3YGfQX45vvMYXpZoo8NdWZcY73K108Jf759lS1Bv/8wXnHDTSz17dSRw== dependencies: - punycode "1.3.2" - querystring "0.2.0" + punycode "^1.4.1" + qs "^6.11.2" urlgrey@1.0.0: version "1.0.0" @@ -11219,29 +11291,28 @@ use@^3.1.0: util-deprecate@^1.0.1, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== -util@^0.12.0, util@^0.12.4: - version "0.12.4" - resolved "https://registry.yarnpkg.com/util/-/util-0.12.4.tgz#66121a31420df8f01ca0c464be15dfa1d1850253" - integrity sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw== +util@^0.12.4, util@^0.12.5: + version "0.12.5" + resolved "https://registry.yarnpkg.com/util/-/util-0.12.5.tgz#5f17a6059b73db61a875668781a1c2b136bd6fbc" + integrity sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA== dependencies: inherits "^2.0.3" is-arguments "^1.0.4" is-generator-function "^1.0.7" is-typed-array "^1.1.3" - safe-buffer "^5.1.2" which-typed-array "^1.1.2" utila@~0.4: version "0.4.0" resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" - integrity sha1-ihagXURWV6Oupe7MWxKk+lN5dyw= + integrity sha512-Z0DbgELS9/L/75wZbro8xAnT50pBVFQZ+hUEueGDU5FN51YSCYM+jdxsfCiHjwNP/4LCDD0i/graKpeBnOXKRA== utils-merge@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" - integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= + integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== uuid@^3.3.2: version "3.4.0" @@ -11253,11 +11324,6 @@ uuid@^8.0.0, uuid@^8.3.0, uuid@^8.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== -v8-compile-cache-lib@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.0.tgz#0582bcb1c74f3a2ee46487ceecf372e46bce53e8" - integrity sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA== - v8-compile-cache@2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" @@ -11283,7 +11349,7 @@ validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: validate-npm-package-name@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - integrity sha1-X6kS2B630MdK/BQN5zF/DKffQ34= + integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw== dependencies: builtins "^1.0.3" @@ -11297,7 +11363,7 @@ validate-npm-package-name@^4.0.0: vary@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" - integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= + integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== vfile-location@^4.0.0: version "4.1.0" @@ -11356,10 +11422,10 @@ walker@^1.0.7, walker@~1.0.5: dependencies: makeerror "1.0.12" -watchpack@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.3.1.tgz#4200d9447b401156eeca7767ee610f8809bc9d25" - integrity sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA== +watchpack@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d" + integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg== dependencies: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2" @@ -11374,7 +11440,7 @@ wbuf@^1.1.0, wbuf@^1.7.3: wcwidth@^1.0.0, wcwidth@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" - integrity sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g= + integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== dependencies: defaults "^1.0.3" @@ -11386,7 +11452,7 @@ web-namespaces@^2.0.0: webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== webidl-conversions@^5.0.0: version "5.0.0" @@ -11418,17 +11484,17 @@ webpack-bundle-analyzer@^3.5.1: ws "^6.0.0" webpack-cli@^4.7.2: - version "4.9.2" - resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.9.2.tgz#77c1adaea020c3f9e2db8aad8ea78d235c83659d" - integrity sha512-m3/AACnBBzK/kMTcxWHcZFPrw/eQuY4Df1TxvIWfWM2x7mRqBQCqKEd96oCUa9jkapLBaFfRce33eGDb4Pr7YQ== + version "4.10.0" + resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.10.0.tgz#37c1d69c8d85214c5a65e589378f53aec64dab31" + integrity sha512-NLhDfH/h4O6UOy+0LSso42xvYypClINuMNBVVzX4vX98TmTaTUxwRbXdhucbFMd2qLaCTcLq/PdYrvi8onw90w== dependencies: "@discoveryjs/json-ext" "^0.5.0" - "@webpack-cli/configtest" "^1.1.1" - "@webpack-cli/info" "^1.4.1" - "@webpack-cli/serve" "^1.6.1" + "@webpack-cli/configtest" "^1.2.0" + "@webpack-cli/info" "^1.5.0" + "@webpack-cli/serve" "^1.7.0" colorette "^2.0.14" commander "^7.0.0" - execa "^5.0.0" + cross-spawn "^7.0.3" fastest-levenshtein "^1.0.12" import-local "^3.0.2" interpret "^2.2.0" @@ -11494,11 +11560,12 @@ webpack-log@^2.0.0: uuid "^3.3.2" webpack-merge@^5.7.3: - version "5.8.0" - resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.8.0.tgz#2b39dbf22af87776ad744c390223731d30a68f61" - integrity sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q== + version "5.10.0" + resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.10.0.tgz#a3ad5d773241e9c682803abf628d4cd62b8a4177" + integrity sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA== dependencies: clone-deep "^4.0.1" + flat "^5.0.2" wildcard "^2.0.0" webpack-sources@^3.2.3: @@ -11507,33 +11574,33 @@ webpack-sources@^3.2.3: integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack@^5.42.0: - version "5.69.1" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.69.1.tgz#8cfd92c192c6a52c99ab00529b5a0d33aa848dc5" - integrity sha512-+VyvOSJXZMT2V5vLzOnDuMz5GxEqLk7hKWQ56YxPW/PQRUuKimPqmEIJOx8jHYeyo65pKbapbW464mvsKbaj4A== + version "5.89.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.89.0.tgz#56b8bf9a34356e93a6625770006490bf3a7f32dc" + integrity sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw== dependencies: "@types/eslint-scope" "^3.7.3" - "@types/estree" "^0.0.51" - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/wasm-edit" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - acorn "^8.4.1" - acorn-import-assertions "^1.7.6" + "@types/estree" "^1.0.0" + "@webassemblyjs/ast" "^1.11.5" + "@webassemblyjs/wasm-edit" "^1.11.5" + "@webassemblyjs/wasm-parser" "^1.11.5" + acorn "^8.7.1" + acorn-import-assertions "^1.9.0" browserslist "^4.14.5" chrome-trace-event "^1.0.2" - enhanced-resolve "^5.8.3" - es-module-lexer "^0.9.0" + enhanced-resolve "^5.15.0" + es-module-lexer "^1.2.1" eslint-scope "5.1.1" events "^3.2.0" glob-to-regexp "^0.4.1" graceful-fs "^4.2.9" - json-parse-better-errors "^1.0.2" + json-parse-even-better-errors "^2.3.1" loader-runner "^4.2.0" mime-types "^2.1.27" neo-async "^2.6.2" - schema-utils "^3.1.0" + schema-utils "^3.2.0" tapable "^2.1.1" - terser-webpack-plugin "^5.1.3" - watchpack "^2.3.1" + terser-webpack-plugin "^5.3.7" + watchpack "^2.4.0" webpack-sources "^3.2.3" websocket-driver@>=0.5.1, websocket-driver@^0.7.4: @@ -11565,12 +11632,12 @@ whatwg-mimetype@^2.3.0: whatwg-url@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" - integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0= + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== dependencies: tr46 "~0.0.3" webidl-conversions "^3.0.0" -whatwg-url@^8.0.0, whatwg-url@^8.4.0, whatwg-url@^8.5.0: +whatwg-url@^8.0.0, whatwg-url@^8.5.0: version "8.7.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.7.0.tgz#656a78e510ff8f3937bc0bcbe9f5c0ac35941b77" integrity sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg== @@ -11579,33 +11646,21 @@ whatwg-url@^8.0.0, whatwg-url@^8.4.0, whatwg-url@^8.5.0: tr46 "^2.1.0" webidl-conversions "^6.1.0" -which-boxed-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" - integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== - dependencies: - is-bigint "^1.0.1" - is-boolean-object "^1.1.0" - is-number-object "^1.0.4" - is-string "^1.0.5" - is-symbol "^1.0.3" - which-module@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" - integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= + version "2.0.1" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" + integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== -which-typed-array@^1.1.2: - version "1.1.7" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.7.tgz#2761799b9a22d4b8660b3c1b40abaa7739691793" - integrity sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw== +which-typed-array@^1.1.11, which-typed-array@^1.1.2: + version "1.1.13" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.13.tgz#870cd5be06ddb616f504e7b039c4c24898184d36" + integrity sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow== dependencies: available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - es-abstract "^1.18.5" - foreach "^2.0.5" + call-bind "^1.0.4" + for-each "^0.3.3" + gopd "^1.0.1" has-tostringtag "^1.0.0" - is-typed-array "^1.1.7" which@^1.2.14, which@^1.2.9: version "1.3.1" @@ -11629,19 +11684,19 @@ wide-align@^1.1.5: string-width "^1.0.2 || 2 || 3 || 4" wildcard@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" - integrity sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw== + version "2.0.1" + resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.1.tgz#5ab10d02487198954836b6349f74fff961e10f67" + integrity sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ== -word-wrap@^1.0.3, word-wrap@~1.2.3: - version "1.2.4" - resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.4.tgz#cb4b50ec9aca570abd1f52f33cd45b6c61739a9f" - integrity sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA== +word-wrap@^1.0.3: + version "1.2.5" + resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" + integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== wordwrap@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus= + integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== wrap-ansi@^5.1.0: version "5.1.0" @@ -11652,7 +11707,7 @@ wrap-ansi@^5.1.0: string-width "^3.0.0" strip-ansi "^5.0.0" -wrap-ansi@^6.2.0: +wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== @@ -11673,7 +11728,7 @@ wrap-ansi@^7.0.0: wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== write-file-atomic@^2.4.2: version "2.4.3" @@ -11695,9 +11750,9 @@ write-file-atomic@^3.0.0: typedarray-to-buffer "^3.1.5" write-file-atomic@^4.0.0, write-file-atomic@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.1.tgz#9faa33a964c1c85ff6f849b80b42a88c2c537c8f" - integrity sha512-nSKUxgAbyioruk6hU87QzVbY279oYT6uiwgDoujth2ju4mJ+TZau7SQBhtbTmUyuNYTuXnSyRn66FV0+eCgcrQ== + version "4.0.2" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" + integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== dependencies: imurmurhash "^0.1.4" signal-exit "^3.0.7" @@ -11743,9 +11798,9 @@ ws@^6.0.0, ws@^6.2.1: async-limiter "~1.0.0" ws@^7.4.6: - version "7.5.7" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.7.tgz#9e0ac77ee50af70d58326ecff7e85eb3fa375e67" - integrity sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A== + version "7.5.9" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== xml-name-validator@^3.0.0: version "3.0.0" @@ -11772,6 +11827,16 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== +yallist@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" + integrity sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A== + +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + yallist@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" @@ -11792,10 +11857,10 @@ yargs-parser@20.x, yargs-parser@^20.2.2, yargs-parser@^20.2.3: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== -yargs-parser@21.0.1, yargs-parser@^21.0.0: - version "21.0.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.0.1.tgz#0267f286c877a4f0f728fceb6f8a3e4cb95c6e35" - integrity sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg== +yargs-parser@21.1.1, yargs-parser@^21.1.1: + version "21.1.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== yargs-parser@^13.1.2: version "13.1.2" @@ -11859,18 +11924,18 @@ yargs@^16.0.0, yargs@^16.2.0: y18n "^5.0.5" yargs-parser "^20.2.2" -yargs@^17.1.0, yargs@^17.4.0: - version "17.5.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.5.1.tgz#e109900cab6fcb7fd44b1d8249166feb0b36e58e" - integrity sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA== +yargs@^17.1.0, yargs@^17.6.2: + version "17.7.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" + integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== dependencies: - cliui "^7.0.2" + cliui "^8.0.1" escalade "^3.1.1" get-caller-file "^2.0.5" require-directory "^2.1.1" string-width "^4.2.3" y18n "^5.0.5" - yargs-parser "^21.0.0" + yargs-parser "^21.1.1" yn@3.1.1: version "3.1.1"