From 24b3215e5c442f884fdc64e3cb98efaabecdbadc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Miernik?= Date: Thu, 6 May 2021 16:56:20 +0200 Subject: [PATCH 1/2] Improved typings. --- package-lock.json | 1089 ++++++++--------- package.json | 4 +- packages/uniforms-antd/package.json | 2 +- packages/uniforms-antd/src/AutoField.tsx | 3 +- packages/uniforms-antd/src/BoolField.tsx | 2 +- packages/uniforms-antd/src/DateField.tsx | 2 +- packages/uniforms-antd/src/ErrorField.tsx | 5 +- packages/uniforms-antd/src/ListAddField.tsx | 5 +- packages/uniforms-antd/src/ListDelField.tsx | 5 +- packages/uniforms-antd/src/ListField.tsx | 2 +- packages/uniforms-antd/src/ListItemField.tsx | 2 +- packages/uniforms-antd/src/LongTextField.tsx | 2 +- packages/uniforms-antd/src/NestField.tsx | 2 +- packages/uniforms-antd/src/NumField.tsx | 2 +- packages/uniforms-antd/src/RadioField.tsx | 2 +- packages/uniforms-antd/src/SelectField.tsx | 2 +- packages/uniforms-antd/src/TextField.tsx | 2 +- packages/uniforms-bootstrap3/package.json | 2 +- .../uniforms-bootstrap3/src/AutoField.tsx | 3 +- .../uniforms-bootstrap3/src/BoolField.tsx | 2 +- .../uniforms-bootstrap3/src/DateField.tsx | 2 +- .../uniforms-bootstrap3/src/ErrorField.tsx | 5 +- .../uniforms-bootstrap3/src/ListAddField.tsx | 5 +- .../uniforms-bootstrap3/src/ListDelField.tsx | 5 +- .../uniforms-bootstrap3/src/ListField.tsx | 2 +- .../uniforms-bootstrap3/src/ListItemField.tsx | 4 +- .../uniforms-bootstrap3/src/LongTextField.tsx | 2 +- .../uniforms-bootstrap3/src/NestField.tsx | 2 +- packages/uniforms-bootstrap3/src/NumField.tsx | 2 +- .../uniforms-bootstrap3/src/RadioField.tsx | 2 +- .../uniforms-bootstrap3/src/SelectField.tsx | 2 +- .../uniforms-bootstrap3/src/TextField.tsx | 2 +- packages/uniforms-bootstrap4/package.json | 2 +- .../uniforms-bootstrap4/src/AutoField.tsx | 3 +- .../uniforms-bootstrap4/src/BoolField.tsx | 2 +- .../uniforms-bootstrap4/src/DateField.tsx | 2 +- .../uniforms-bootstrap4/src/ErrorField.tsx | 5 +- .../uniforms-bootstrap4/src/ListAddField.tsx | 5 +- .../uniforms-bootstrap4/src/ListDelField.tsx | 5 +- .../uniforms-bootstrap4/src/ListField.tsx | 2 +- .../uniforms-bootstrap4/src/ListItemField.tsx | 4 +- .../uniforms-bootstrap4/src/LongTextField.tsx | 2 +- .../uniforms-bootstrap4/src/NestField.tsx | 2 +- packages/uniforms-bootstrap4/src/NumField.tsx | 2 +- .../uniforms-bootstrap4/src/RadioField.tsx | 2 +- .../uniforms-bootstrap4/src/SelectField.tsx | 2 +- .../uniforms-bootstrap4/src/TextField.tsx | 2 +- packages/uniforms-bootstrap5/package.json | 2 +- .../uniforms-bootstrap5/src/AutoField.tsx | 3 +- .../uniforms-bootstrap5/src/BoolField.tsx | 2 +- .../uniforms-bootstrap5/src/DateField.tsx | 2 +- .../uniforms-bootstrap5/src/ErrorField.tsx | 5 +- .../uniforms-bootstrap5/src/ListAddField.tsx | 5 +- .../uniforms-bootstrap5/src/ListDelField.tsx | 5 +- .../uniforms-bootstrap5/src/ListField.tsx | 2 +- .../uniforms-bootstrap5/src/ListItemField.tsx | 4 +- .../uniforms-bootstrap5/src/LongTextField.tsx | 2 +- .../uniforms-bootstrap5/src/NestField.tsx | 2 +- packages/uniforms-bootstrap5/src/NumField.tsx | 2 +- .../uniforms-bootstrap5/src/RadioField.tsx | 2 +- .../uniforms-bootstrap5/src/SelectField.tsx | 2 +- .../uniforms-bootstrap5/src/TextField.tsx | 2 +- packages/uniforms-bridge-graphql/package.json | 2 +- .../uniforms-bridge-json-schema/package.json | 2 +- .../package.json | 2 +- .../__tests__/SimpleSchemaBridge.ts | 3 +- .../package.json | 2 +- packages/uniforms-material/package.json | 2 +- packages/uniforms-material/src/AutoField.tsx | 3 +- packages/uniforms-material/src/BoolField.tsx | 2 +- packages/uniforms-material/src/DateField.tsx | 2 +- packages/uniforms-material/src/ErrorField.tsx | 5 +- .../uniforms-material/src/ListAddField.tsx | 5 +- .../uniforms-material/src/ListDelField.tsx | 5 +- packages/uniforms-material/src/ListField.tsx | 2 +- .../uniforms-material/src/ListItemField.tsx | 4 +- .../uniforms-material/src/LongTextField.tsx | 2 +- packages/uniforms-material/src/NestField.tsx | 2 +- packages/uniforms-material/src/NumField.tsx | 2 +- packages/uniforms-material/src/RadioField.tsx | 2 +- .../uniforms-material/src/SelectField.tsx | 2 +- packages/uniforms-material/src/TextField.tsx | 2 +- packages/uniforms-semantic/package.json | 2 +- packages/uniforms-semantic/src/AutoField.tsx | 3 +- packages/uniforms-semantic/src/BoolField.tsx | 2 +- packages/uniforms-semantic/src/DateField.tsx | 2 +- packages/uniforms-semantic/src/ErrorField.tsx | 5 +- .../uniforms-semantic/src/ListAddField.tsx | 5 +- .../uniforms-semantic/src/ListDelField.tsx | 5 +- packages/uniforms-semantic/src/ListField.tsx | 2 +- .../uniforms-semantic/src/ListItemField.tsx | 4 +- .../uniforms-semantic/src/LongTextField.tsx | 2 +- packages/uniforms-semantic/src/NestField.tsx | 2 +- packages/uniforms-semantic/src/NumField.tsx | 2 +- packages/uniforms-semantic/src/RadioField.tsx | 2 +- .../uniforms-semantic/src/SelectField.tsx | 2 +- packages/uniforms-semantic/src/TextField.tsx | 2 +- packages/uniforms-unstyled/package.json | 2 +- packages/uniforms-unstyled/src/AutoField.tsx | 3 +- packages/uniforms-unstyled/src/BoolField.tsx | 2 +- packages/uniforms-unstyled/src/DateField.tsx | 2 +- packages/uniforms-unstyled/src/ErrorField.tsx | 5 +- .../uniforms-unstyled/src/ListAddField.tsx | 5 +- .../uniforms-unstyled/src/ListDelField.tsx | 5 +- packages/uniforms-unstyled/src/ListField.tsx | 2 +- .../uniforms-unstyled/src/ListItemField.tsx | 4 +- .../uniforms-unstyled/src/LongTextField.tsx | 2 +- packages/uniforms-unstyled/src/NestField.tsx | 2 +- packages/uniforms-unstyled/src/NumField.tsx | 2 +- packages/uniforms-unstyled/src/RadioField.tsx | 2 +- .../uniforms-unstyled/src/SelectField.tsx | 2 +- packages/uniforms-unstyled/src/TextField.tsx | 2 +- packages/uniforms/package.json | 2 +- packages/uniforms/src/connectField.tsx | 58 +- packages/uniforms/src/createAutoField.tsx | 33 +- packages/uniforms/src/filterDOMProps.ts | 9 +- website/pages-parts/Tutorial/ImageField.tsx | 6 +- 117 files changed, 773 insertions(+), 731 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6db9e0ffa..ecbc4f4f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,8 +49,8 @@ "stylelint-config-prettier": "8.0.2", "stylelint-prettier": "1.1.2", "ts-jest": "26.4.4", - "tslib": "^1.10.0", - "typescript": "4.1.3", + "tslib": "^2.2.0", + "typescript": "4.2.4", "universal-fetch": "1.0.0", "warning": "^4.0.0" }, @@ -251,29 +251,28 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.13.12.tgz", - "integrity": "sha512-3eJJ841uKxeV8dcN/2yGEUy+RfgQspPEgQat85umsE1rotuquQ2AbIub4S6j7c50a2d+4myc+zSlnXeIHrOnhQ==" + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.14.0.tgz", + "integrity": "sha512-vu9V3uMM/1o5Hl5OekMUowo3FqXLJSw+s+66nt0fSWVWTtmosdzn45JHOB3cPtZoe6CTBDzvSw0RdOY85Q37+Q==" }, "node_modules/@babel/core": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.13.10.tgz", - "integrity": "sha512-bfIYcT0BdKeAZrovpMqX2Mx5NrgAckGbwT982AkdS5GNfn3KMGiprlBAtmBcFZRUmpaufS6WZFP8trvx8ptFDw==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.0.tgz", + "integrity": "sha512-8YqpRig5NmIHlMLw09zMlPTvUVMILjqCOtVgu+TVNWEBvy9b5I3RRyhqnrV4hjgEK7n8P9OqvkWJAFmEL6Wwfw==", "dependencies": { "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.13.9", - "@babel/helper-compilation-targets": "^7.13.10", - "@babel/helper-module-transforms": "^7.13.0", - "@babel/helpers": "^7.13.10", - "@babel/parser": "^7.13.10", + "@babel/generator": "^7.14.0", + "@babel/helper-compilation-targets": "^7.13.16", + "@babel/helper-module-transforms": "^7.14.0", + "@babel/helpers": "^7.14.0", + "@babel/parser": "^7.14.0", "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.0", + "@babel/traverse": "^7.14.0", + "@babel/types": "^7.14.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.1.2", - "lodash": "^4.17.19", "semver": "^6.3.0", "source-map": "^0.5.0" }, @@ -286,11 +285,11 @@ } }, "node_modules/@babel/generator": { - "version": "7.13.9", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.13.9.tgz", - "integrity": "sha512-mHOOmY0Axl/JCTkxTU6Lf5sWOg/v8nUa+Xkt4zMTftX0wqmb6Sh7J8gvcehBw7q0AhrhAR+FDacKjCZ2X8K+Sw==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.1.tgz", + "integrity": "sha512-TMGhsXMXCP/O1WtQmZjpEYDhCYC9vFhayWZPJSZCGkPJgUqX0rF0wwtrYvnzVxIjcF80tkUertXVk5cwqi5cAQ==", "dependencies": { - "@babel/types": "^7.13.0", + "@babel/types": "^7.14.1", "jsesc": "^2.5.1", "source-map": "^0.5.0" } @@ -313,11 +312,11 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.10.tgz", - "integrity": "sha512-/Xju7Qg1GQO4mHZ/Kcs6Au7gfafgZnwm+a7sy/ow/tV1sHeraRUHbjdat8/UvDor4Tez+siGKDk6zIKtCPKVJA==", + "version": "7.13.16", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.16.tgz", + "integrity": "sha512-3gmkYIrpqsLlieFwjkGgLaSHmhnvlAYzZLlYVjlW+QwI+1zE17kGxuJGmIqDQdYp56XdmGeD+Bswx0UTyG18xA==", "dependencies": { - "@babel/compat-data": "^7.13.8", + "@babel/compat-data": "^7.13.15", "@babel/helper-validator-option": "^7.12.17", "browserslist": "^4.14.5", "semver": "^6.3.0" @@ -423,18 +422,18 @@ } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.12.tgz", - "integrity": "sha512-7zVQqMO3V+K4JOOj40kxiCrMf6xlQAkewBB0eu2b03OO/Q21ZutOzjpfD79A5gtE/2OWi1nv625MrDlGlkbknQ==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.0.tgz", + "integrity": "sha512-L40t9bxIuGOfpIGA3HNkJhU9qYrf4y5A5LUSw7rGMSn+pcG8dfJ0g6Zval6YJGd2nEjI7oP00fRdnhLKndx6bw==", "dependencies": { "@babel/helper-module-imports": "^7.13.12", "@babel/helper-replace-supers": "^7.13.12", "@babel/helper-simple-access": "^7.13.12", "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/helper-validator-identifier": "^7.12.11", + "@babel/helper-validator-identifier": "^7.14.0", "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.12" + "@babel/traverse": "^7.14.0", + "@babel/types": "^7.14.0" } }, "node_modules/@babel/helper-optimise-call-expression": { @@ -496,9 +495,9 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.12.11", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", - "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==" + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz", + "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==" }, "node_modules/@babel/helper-validator-option": { "version": "7.12.17", @@ -517,13 +516,13 @@ } }, "node_modules/@babel/helpers": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.13.10.tgz", - "integrity": "sha512-4VO883+MWPDUVRF3PhiLBUFHoX/bsLTGFpFK/HqvvfBZz2D57u9XzPVNFVBTc0PW/CWR9BXTOKt8NF4DInUHcQ==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.14.0.tgz", + "integrity": "sha512-+ufuXprtQ1D1iZTO/K9+EBRn+qPWMJjZSw/S0KlFrxCw4tkrzv9grgpDHkY9MeQTjTY8i2sp7Jep8DfU6tN9Mg==", "dependencies": { "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.0" + "@babel/traverse": "^7.14.0", + "@babel/types": "^7.14.0" } }, "node_modules/@babel/highlight": { @@ -601,9 +600,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.12.tgz", - "integrity": "sha512-4T7Pb244rxH24yR116LAuJ+adxXXnHhZaLJjegJVKSdoNCe4x1eDBaud5YIcQFcqzsaD5BHvJw5BQ0AZapdCRw==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.1.tgz", + "integrity": "sha512-muUGEKu8E/ftMTPlNp+mc6zL3E9zKWmF5sDHZ5MSsoTP9Wyz64AhEf9kD08xYJ7w6Hdcu8H550ircnPyWSIF0Q==", "bin": { "parser": "bin/babel-parser.js" }, @@ -1608,28 +1607,26 @@ } }, "node_modules/@babel/traverse": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.0.tgz", - "integrity": "sha512-xys5xi5JEhzC3RzEmSGrs/b3pJW/o87SypZ+G/PhaE7uqVQNv/jlmVIBXuoh5atqQ434LfXV+sf23Oxj0bchJQ==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.0.tgz", + "integrity": "sha512-dZ/a371EE5XNhTHomvtuLTUyx6UEoJmYX+DT5zBCQN3McHemsuIaKKYqsc/fs26BEkHs/lBZy0J571LP5z9kQA==", "dependencies": { "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.13.0", + "@babel/generator": "^7.14.0", "@babel/helper-function-name": "^7.12.13", "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/parser": "^7.13.0", - "@babel/types": "^7.13.0", + "@babel/parser": "^7.14.0", + "@babel/types": "^7.14.0", "debug": "^4.1.0", - "globals": "^11.1.0", - "lodash": "^4.17.19" + "globals": "^11.1.0" } }, "node_modules/@babel/types": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.12.tgz", - "integrity": "sha512-K4nY2xFN4QMvQwkQ+zmBDp6ANMbVNw6BbxWmYA4qNjhR9W+Lj/8ky5MEY2Me5r+B2c6/v6F53oMndG+f9s3IiA==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.1.tgz", + "integrity": "sha512-S13Qe85fzLs3gYRUnrpyeIrBJIMYv33qSTg1qoBwiG6nPKwUWAD9odSzWhEedpwOIzSEI6gbdQIWEMiCI42iBA==", "dependencies": { - "@babel/helper-validator-identifier": "^7.12.11", - "lodash": "^4.17.19", + "@babel/helper-validator-identifier": "^7.14.0", "to-fast-properties": "^2.0.0" } }, @@ -1847,9 +1844,9 @@ } }, "node_modules/@docusaurus/core/node_modules/core-js": { - "version": "3.9.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.9.1.tgz", - "integrity": "sha512-gSjRvzkxQc1zjM/5paAmL4idJBFzuJoo+jDjF1tStYFMV2ERfD02HhahhCGXUyHxQRG4yFKVSdO6g62eoRMcDg==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.12.0.tgz", + "integrity": "sha512-SaMnchL//WwU2Ot1hhkPflE8gzo7uq1FGvUJ8GKmi3TOU7rGTHIU+eir1WGf6qOtTyxdfdcp10yPdGZ59sQ3hw==", "hasInstallScript": true, "funding": { "type": "opencollective", @@ -2603,9 +2600,9 @@ } }, "node_modules/@evocateur/libnpmpublish/node_modules/ssri": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", "dependencies": { "figgy-pudding": "^3.5.1" } @@ -2783,9 +2780,9 @@ } }, "node_modules/@evocateur/pacote/node_modules/ssri": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", "dependencies": { "figgy-pudding": "^3.5.1" } @@ -4440,9 +4437,9 @@ } }, "node_modules/@lerna/get-packed/node_modules/ssri": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", "dependencies": { "figgy-pudding": "^3.5.1" } @@ -6525,9 +6522,9 @@ "peer": true }, "node_modules/@octokit/openapi-types": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-5.3.2.tgz", - "integrity": "sha512-NxF1yfYOUO92rCx3dwvA2onF30Vdlg7YUkMVXkeptqpzA3tRLplThhFleV/UKWFgh7rpKu1yYRbvNDUtzSopKA==" + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-7.0.0.tgz", + "integrity": "sha512-gV/8DJhAL/04zjTI95a7FhQwS6jlEE0W/7xeYAzuArD0KVAVWDLP2f3vi98hs3HLTczxXdRK/mF0tRoQPpolEw==" }, "node_modules/@octokit/plugin-enterprise-rest": { "version": "6.0.1", @@ -6647,11 +6644,11 @@ } }, "node_modules/@octokit/types": { - "version": "6.12.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.12.2.tgz", - "integrity": "sha512-kCkiN8scbCmSq+gwdJV0iLgHc0O/GTPY1/cffo9kECu1MvatLPh9E+qFhfRIktKfHEA6ZYvv6S1B4Wnv3bi3pA==", + "version": "6.14.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.14.2.tgz", + "integrity": "sha512-wiQtW9ZSy4OvgQ09iQOdyXYNN60GqjCL/UdMsepDr1Gr0QzpW6irIKbH3REuAHXAhxkEk9/F2a3Gcs1P6kW5jA==", "dependencies": { - "@octokit/openapi-types": "^5.3.2" + "@octokit/openapi-types": "^7.0.0" } }, "node_modules/@polka/url": { @@ -7190,9 +7187,9 @@ } }, "node_modules/@types/react/node_modules/csstype": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.7.tgz", - "integrity": "sha512-KxnUB0ZMlnUWCsx2Z8MUsr6qV6ja1w9ArPErJaJaF8a5SOWoHLIszeCTKGRGRgtLgYrs1E8CHkNSP1VZTTPc9g==" + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz", + "integrity": "sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw==" }, "node_modules/@types/sax": { "version": "1.2.1", @@ -8045,9 +8042,9 @@ "integrity": "sha1-q8av7tzqUugJzcA3au0845Y10X8=" }, "node_modules/anymatch": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", - "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -9086,15 +9083,15 @@ } }, "node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", + "version": "4.16.6", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.6.tgz", + "integrity": "sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ==", "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", + "caniuse-lite": "^1.0.30001219", + "colorette": "^1.2.2", + "electron-to-chromium": "^1.3.723", "escalade": "^3.1.1", - "node-releases": "^1.1.70" + "node-releases": "^1.1.71" }, "bin": { "browserslist": "cli.js" @@ -9373,11 +9370,6 @@ "tslib": "^2.0.3" } }, - "node_modules/camel-case/node_modules/tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - }, "node_modules/camelcase": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz", @@ -9433,9 +9425,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001204", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001204.tgz", - "integrity": "sha512-JUdjWpcxfJ9IPamy2f5JaRDCaqJOxDzOSKtbdx4rH9VivMd1vIzoPumsJa9LoMIi4Fx2BV2KZOxWhNkBjaYivQ==" + "version": "1.0.30001223", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001223.tgz", + "integrity": "sha512-k/RYs6zc/fjbxTjaWZemeSmOjO0JJV+KguOBA3NwPup8uzxM1cMhR2BD9XmO86GuqaqTCO8CgkgH9Rz//vdDiA==" }, "node_modules/capture-exit": { "version": "2.0.0", @@ -9463,9 +9455,9 @@ } }, "node_modules/chalk": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", + "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -9543,41 +9535,40 @@ "node": ">= 0.6" } }, - "node_modules/cheerio-select-tmp": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/cheerio-select-tmp/-/cheerio-select-tmp-0.1.1.tgz", - "integrity": "sha512-YYs5JvbpU19VYJyj+F7oYrIE2BOll1/hRU7rEy/5+v9BzkSo3bK81iAeeQEMI92vRIxz677m72UmJUiVwwgjfQ==", - "deprecated": "Use cheerio-select instead", + "node_modules/cheerio-select": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-1.4.0.tgz", + "integrity": "sha512-sobR3Yqz27L553Qa7cK6rtJlMDbiKPdNywtR95Sj/YgfpLfy0u6CGJuaBKe5YE/vTc23SCRKxWSdlon/w6I/Ew==", "dependencies": { - "css-select": "^3.1.2", - "css-what": "^4.0.0", - "domelementtype": "^2.1.0", - "domhandler": "^4.0.0", - "domutils": "^2.4.4" + "css-select": "^4.1.2", + "css-what": "^5.0.0", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0", + "domutils": "^2.6.0" }, "funding": { "url": "https://github.com/sponsors/fb55" } }, - "node_modules/cheerio-select-tmp/node_modules/css-select": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-3.1.2.tgz", - "integrity": "sha512-qmss1EihSuBNWNNhHjxzxSfJoFBM/lERB/Q4EnsJQQC62R2evJDW481091oAdOr9uh46/0n4nrg0It5cAnj1RA==", + "node_modules/cheerio-select/node_modules/css-select": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.1.2.tgz", + "integrity": "sha512-nu5ye2Hg/4ISq4XqdLY2bEatAcLIdt3OYGFc9Tm9n7VSlFBcfRv0gBNksHRgSdUDQGtN3XrZ94ztW+NfzkFSUw==", "dependencies": { "boolbase": "^1.0.0", - "css-what": "^4.0.0", - "domhandler": "^4.0.0", - "domutils": "^2.4.3", + "css-what": "^5.0.0", + "domhandler": "^4.2.0", + "domutils": "^2.6.0", "nth-check": "^2.0.0" }, "funding": { "url": "https://github.com/sponsors/fb55" } }, - "node_modules/cheerio-select-tmp/node_modules/css-what": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-4.0.0.tgz", - "integrity": "sha512-teijzG7kwYfNVsUh2H/YN62xW3KK9YhXEgSlbxMlcyjPNvdKJqFx5lrwlJgoFP1ZHlB89iGDlo/JyshKeRhv5A==", + "node_modules/cheerio-select/node_modules/css-what": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-5.0.0.tgz", + "integrity": "sha512-qxyKHQvgKwzwDWC/rGbT821eJalfupxYW2qbSJSAtdSTimsr/MlaGONoNLllaUPZWf8QnbcKM/kPVYUQuEKAFA==", "engines": { "node": ">= 6" }, @@ -9585,10 +9576,10 @@ "url": "https://github.com/sponsors/fb55" } }, - "node_modules/cheerio-select-tmp/node_modules/dom-serializer": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.2.0.tgz", - "integrity": "sha512-n6kZFH/KlCrqs/1GHMOd5i2fd/beQHuehKdWvNNffbGHTr/almdhuVvTVFb3V7fglz+nC50fFusu3lY33h12pA==", + "node_modules/cheerio-select/node_modules/dom-serializer": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.1.tgz", + "integrity": "sha512-Pv2ZluG5ife96udGgEDovOOOA5UELkltfJpnIExPrAk1LTvecolUGn6lIaoLh86d83GiB86CjzciMd9BuRB71Q==", "dependencies": { "domelementtype": "^2.0.1", "domhandler": "^4.0.0", @@ -9598,10 +9589,10 @@ "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" } }, - "node_modules/cheerio-select-tmp/node_modules/domelementtype": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.1.0.tgz", - "integrity": "sha512-LsTgx/L5VpD+Q8lmsXSHW2WpA+eBlZ9HPf3erD1IoPF00/3JKHZ3BknUVA2QGDNu69ZNmyFmCWBSO45XjYKC5w==", + "node_modules/cheerio-select/node_modules/domelementtype": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", "funding": [ { "type": "github", @@ -9609,12 +9600,12 @@ } ] }, - "node_modules/cheerio-select-tmp/node_modules/domhandler": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.0.0.tgz", - "integrity": "sha512-KPTbnGQ1JeEMQyO1iYXoagsI6so/C96HZiFyByU3T6iAzpXn8EGEvct6unm1ZGoed8ByO2oirxgwxBmqKF9haA==", + "node_modules/cheerio-select/node_modules/domhandler": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", + "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", "dependencies": { - "domelementtype": "^2.1.0" + "domelementtype": "^2.2.0" }, "engines": { "node": ">= 4" @@ -9623,20 +9614,20 @@ "url": "https://github.com/fb55/domhandler?sponsor=1" } }, - "node_modules/cheerio-select-tmp/node_modules/domutils": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.5.0.tgz", - "integrity": "sha512-Ho16rzNMOFk2fPwChGh3D2D9OEHAfG19HgmRR2l+WLSsIstNsAYBzePH412bL0y5T44ejABIVfTHQ8nqi/tBCg==", + "node_modules/cheerio-select/node_modules/domutils": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.6.0.tgz", + "integrity": "sha512-y0BezHuy4MDYxh6OvolXYsH+1EMGmFbwv5FKW7ovwMG6zTPWqNPq3WF9ayZssFq+UlKdffGLbOEaghNdaOm1WA==", "dependencies": { "dom-serializer": "^1.0.1", - "domelementtype": "^2.0.1", - "domhandler": "^4.0.0" + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" }, "funding": { "url": "https://github.com/fb55/domutils?sponsor=1" } }, - "node_modules/cheerio-select-tmp/node_modules/entities": { + "node_modules/cheerio-select/node_modules/entities": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", @@ -9644,7 +9635,7 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, - "node_modules/cheerio-select-tmp/node_modules/nth-check": { + "node_modules/cheerio-select/node_modules/nth-check": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.0.tgz", "integrity": "sha512-i4sc/Kj8htBrAiH1viZ0TgU8Y5XqCaV/FziYK6TBczxmeKm3AEFWqqF3195yKudrarqy7Zu80Ra5dobFjn9X/Q==", @@ -9694,6 +9685,11 @@ "node": ">=6.0" } }, + "node_modules/chrome-trace-event/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/ci-info": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", @@ -12306,9 +12302,9 @@ } }, "node_modules/csso/node_modules/css-tree": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.2.tgz", - "integrity": "sha512-wCoWush5Aeo48GLhfHPbmvZs59Z+M7k5+B1xDnXbdWNcEF423DoFdqSWE0PM5aNk5nI5cp1q7ms36zGApY/sKQ==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", + "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", "dependencies": { "mdn-data": "2.0.14", "source-map": "^0.6.1" @@ -12352,9 +12348,9 @@ "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==" }, "node_modules/csstype": { - "version": "2.6.16", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.16.tgz", - "integrity": "sha512-61FBWoDHp/gRtsoDkq/B1nWrCUG/ok1E3tUrcNbZjsE9Cxd9yzUirjS3+nAATB8U4cTtaQmAHbNndoFz5L6C9Q==" + "version": "2.6.17", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.17.tgz", + "integrity": "sha512-u1wmTI1jJGzCJzWndZo8mk4wnPTZd1eOIYTYvuEyOQGfmDl3TrabCCfKnOC86FZwW/9djqTl933UF/cS425i9A==" }, "node_modules/currently-unhandled": { "version": "0.4.1", @@ -12983,9 +12979,9 @@ } }, "node_modules/dom-helpers/node_modules/csstype": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.7.tgz", - "integrity": "sha512-KxnUB0ZMlnUWCsx2Z8MUsr6qV6ja1w9ArPErJaJaF8a5SOWoHLIszeCTKGRGRgtLgYrs1E8CHkNSP1VZTTPc9g==" + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz", + "integrity": "sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw==" }, "node_modules/dom-serializer": { "version": "0.1.1", @@ -13055,11 +13051,6 @@ "tslib": "^2.0.3" } }, - "node_modules/dot-case/node_modules/tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - }, "node_modules/dot-prop": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.1.tgz", @@ -13121,9 +13112,9 @@ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, "node_modules/electron-to-chromium": { - "version": "1.3.654", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.654.tgz", - "integrity": "sha512-Zy2gc/c8KYFg2GkNr7Ruzh5tPEZpFm7EyXqZTFasm1YRDJtpyBRGaOuM0H3t6SuIP53qX4kNmtO9t0WjhBjE9A==" + "version": "1.3.727", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.727.tgz", + "integrity": "sha512-Mfz4FIB4FSvEwBpDfdipRIrwd6uo8gUDoRDF4QEYb4h4tSuI3ov594OrjU6on042UlFHouIJpClDODGkPcBSbg==" }, "node_modules/elliptic": { "version": "6.5.4", @@ -13332,26 +13323,25 @@ } }, "node_modules/enzyme/node_modules/cheerio": { - "version": "1.0.0-rc.5", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.5.tgz", - "integrity": "sha512-yoqps/VCaZgN4pfXtenwHROTp8NG6/Hlt4Jpz2FEP0ZJQ+ZUkVDd0hAPDNKhj3nakpfPt/CNs57yEtxD1bXQiw==", + "version": "1.0.0-rc.6", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.6.tgz", + "integrity": "sha512-hjx1XE1M/D5pAtMgvWwE21QClmAEeGHOIDfycgmndisdNgI6PE1cGRQkMGBcsbUbmEQyWu5PJLUcAOjtQS8DWw==", "dependencies": { - "cheerio-select-tmp": "^0.1.0", - "dom-serializer": "~1.2.0", - "domhandler": "^4.0.0", - "entities": "~2.1.0", - "htmlparser2": "^6.0.0", - "parse5": "^6.0.0", - "parse5-htmlparser2-tree-adapter": "^6.0.0" + "cheerio-select": "^1.3.0", + "dom-serializer": "^1.3.1", + "domhandler": "^4.1.0", + "htmlparser2": "^6.1.0", + "parse5": "^6.0.1", + "parse5-htmlparser2-tree-adapter": "^6.0.1" }, "engines": { "node": ">= 0.12" } }, "node_modules/enzyme/node_modules/dom-serializer": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.2.0.tgz", - "integrity": "sha512-n6kZFH/KlCrqs/1GHMOd5i2fd/beQHuehKdWvNNffbGHTr/almdhuVvTVFb3V7fglz+nC50fFusu3lY33h12pA==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.1.tgz", + "integrity": "sha512-Pv2ZluG5ife96udGgEDovOOOA5UELkltfJpnIExPrAk1LTvecolUGn6lIaoLh86d83GiB86CjzciMd9BuRB71Q==", "dependencies": { "domelementtype": "^2.0.1", "domhandler": "^4.0.0", @@ -13362,9 +13352,9 @@ } }, "node_modules/enzyme/node_modules/domelementtype": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.1.0.tgz", - "integrity": "sha512-LsTgx/L5VpD+Q8lmsXSHW2WpA+eBlZ9HPf3erD1IoPF00/3JKHZ3BknUVA2QGDNu69ZNmyFmCWBSO45XjYKC5w==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", "funding": [ { "type": "github", @@ -13373,11 +13363,11 @@ ] }, "node_modules/enzyme/node_modules/domhandler": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.0.0.tgz", - "integrity": "sha512-KPTbnGQ1JeEMQyO1iYXoagsI6so/C96HZiFyByU3T6iAzpXn8EGEvct6unm1ZGoed8ByO2oirxgwxBmqKF9haA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", + "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", "dependencies": { - "domelementtype": "^2.1.0" + "domelementtype": "^2.2.0" }, "engines": { "node": ">= 4" @@ -13387,30 +13377,30 @@ } }, "node_modules/enzyme/node_modules/domutils": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.5.0.tgz", - "integrity": "sha512-Ho16rzNMOFk2fPwChGh3D2D9OEHAfG19HgmRR2l+WLSsIstNsAYBzePH412bL0y5T44ejABIVfTHQ8nqi/tBCg==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.6.0.tgz", + "integrity": "sha512-y0BezHuy4MDYxh6OvolXYsH+1EMGmFbwv5FKW7ovwMG6zTPWqNPq3WF9ayZssFq+UlKdffGLbOEaghNdaOm1WA==", "dependencies": { "dom-serializer": "^1.0.1", - "domelementtype": "^2.0.1", - "domhandler": "^4.0.0" + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" }, "funding": { "url": "https://github.com/fb55/domutils?sponsor=1" } }, "node_modules/enzyme/node_modules/entities": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz", - "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", "funding": { "url": "https://github.com/fb55/entities?sponsor=1" } }, "node_modules/enzyme/node_modules/htmlparser2": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.0.1.tgz", - "integrity": "sha512-GDKPd+vk4jvSuvCbyuzx/unmXkk090Azec7LovXP8as1Hn8q9p3hbjmDGbUqqhknw0ajwit6LiiWqfiTUPMK7w==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.1.0.tgz", + "integrity": "sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==", "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", { @@ -13421,7 +13411,7 @@ "dependencies": { "domelementtype": "^2.0.1", "domhandler": "^4.0.0", - "domutils": "^2.4.4", + "domutils": "^2.5.2", "entities": "^2.0.0" } }, @@ -13998,9 +13988,9 @@ } }, "node_modules/eslint-visitor-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz", - "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "peer": true, "engines": { "node": ">=10" @@ -14240,9 +14230,9 @@ } }, "node_modules/execa/node_modules/get-stream": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.0.tgz", - "integrity": "sha512-A1B3Bh1UmL0bidM/YX2NsCOTnGJePL9rO/M+Mw3m9f2gUpfokS0hi5Eah0WSUEWZdZhIZtMjkIYS7mDfOqNHbg==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "engines": { "node": ">=10" }, @@ -16848,9 +16838,9 @@ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, "node_modules/hosted-git-info": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", - "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==" + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" }, "node_modules/hpack.js": { "version": "2.1.6", @@ -19164,9 +19154,9 @@ } }, "node_modules/jss/node_modules/csstype": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.7.tgz", - "integrity": "sha512-KxnUB0ZMlnUWCsx2Z8MUsr6qV6ja1w9ArPErJaJaF8a5SOWoHLIszeCTKGRGRgtLgYrs1E8CHkNSP1VZTTPc9g==" + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz", + "integrity": "sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw==" }, "node_modules/jsx-ast-utils": { "version": "3.2.0", @@ -19848,11 +19838,6 @@ "tslib": "^2.0.3" } }, - "node_modules/lower-case/node_modules/tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - }, "node_modules/lowercase-keys": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", @@ -19975,9 +19960,9 @@ } }, "node_modules/make-fetch-happen/node_modules/ssri": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", "dependencies": { "figgy-pudding": "^3.5.1" } @@ -20004,9 +19989,9 @@ } }, "node_modules/map-obj": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.2.0.tgz", - "integrity": "sha512-NAq0fCmZYGz9UFEQyndp7sisrow4GroyGeKluyKC/chuITZsPyOyC1UJZPJlVFImhXdROIP5xqouRLThT3BbpQ==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.2.1.tgz", + "integrity": "sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ==", "engines": { "node": ">=8" }, @@ -20204,9 +20189,9 @@ } }, "node_modules/meow/node_modules/hosted-git-info": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.1.tgz", - "integrity": "sha512-eT7NrxAsppPRQEBSwKSosReE+v8OzABwEScQYk5d4uxaEPlzxTIku7LINXtBGalthkLhJnq5lBI89PfK43zAKg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", + "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -20267,9 +20252,9 @@ } }, "node_modules/meow/node_modules/read-pkg/node_modules/hosted-git-info": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", - "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==" + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" }, "node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data": { "version": "2.5.0", @@ -20382,15 +20367,15 @@ } }, "node_modules/micromatch": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", - "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", "dependencies": { "braces": "^3.0.1", - "picomatch": "^2.0.5" + "picomatch": "^2.2.3" }, "engines": { - "node": ">=8" + "node": ">=8.6" } }, "node_modules/miller-rabin": { @@ -20422,19 +20407,19 @@ } }, "node_modules/mime-db": { - "version": "1.46.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.46.0.tgz", - "integrity": "sha512-svXaP8UQRZ5K7or+ZmfNhg2xX3yKDMUzqadsSqi4NCH/KomcH75MAMYAGVlvXn4+b/xOPhS3I2uHKRUzvjY7BQ==", + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", + "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==", "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { - "version": "2.1.29", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.29.tgz", - "integrity": "sha512-Y/jMt/S5sR9OaqteJtslsFZKWOIIqMACsJSiHghlCAyhf7jfVYjKBmLiX8OgpWeW+fjJ2b+Az69aPFPkUOY6xQ==", + "version": "2.1.30", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", + "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", "dependencies": { - "mime-db": "1.46.0" + "mime-db": "1.47.0" }, "engines": { "node": ">= 0.6" @@ -21009,11 +20994,6 @@ "tslib": "^2.0.3" } }, - "node_modules/no-case/node_modules/tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - }, "node_modules/node-emoji": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.10.0.tgz", @@ -21252,9 +21232,9 @@ } }, "node_modules/node-releases": { - "version": "1.1.70", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.70.tgz", - "integrity": "sha512-Slf2s69+2/uAD79pVVQo8uSiC34+g8GWY8UH2Qtqv34ZfhYrxpYpfzs9Js9d6O0mbDmALuxaTlplnBTnSELcrw==" + "version": "1.1.71", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.71.tgz", + "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==" }, "node_modules/nopt": { "version": "4.0.3", @@ -22159,11 +22139,6 @@ "tslib": "^2.0.3" } }, - "node_modules/param-case/node_modules/tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -22330,11 +22305,6 @@ "tslib": "^2.0.3" } }, - "node_modules/pascal-case/node_modules/tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - }, "node_modules/pascalcase": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", @@ -22421,9 +22391,9 @@ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" }, "node_modules/picomatch": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", - "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", + "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", "engines": { "node": ">=8.6" }, @@ -22669,12 +22639,12 @@ } }, "node_modules/postcss": { - "version": "8.2.8", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.8.tgz", - "integrity": "sha512-1F0Xb2T21xET7oQV9eKuctbM9S7BC0fetoHCc4H13z0PT6haiRLP4T0ZY4XWh7iLP0usgqykT6p9B2RtOf4FPw==", + "version": "8.2.14", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.14.tgz", + "integrity": "sha512-+jD0ZijcvyCqPQo/m/CW0UcARpdFylq04of+Q7RKX6f/Tu+dvpUI/9Sp81+i6/vJThnOBX09Quw0ZLOVwpzX3w==", "dependencies": { "colorette": "^1.2.2", - "nanoid": "^3.1.20", + "nanoid": "^3.1.22", "source-map": "^0.6.1" }, "engines": { @@ -30041,13 +30011,11 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.4.tgz", - "integrity": "sha512-gjMeXBempyInaBqpp8gODmwZ52WaYsVOsfr4L4lDQ7n3ncD6mEyySiDtgzCT+NYC0mmeOLvtsF8iaEf0YT6dBw==", + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.5.tgz", + "integrity": "sha512-aFYPoYmXbZ1V6HZaSvat08M97A8HqO6Pjz+PiNpw/DhuRrC72XWAdp3hL6wusDCN31sSmcZyMGa2hZEuX+Xfhg==", "dependencies": { "cssesc": "^3.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1", "util-deprecate": "^1.0.2" }, "engines": { @@ -33377,6 +33345,11 @@ "npm": ">=2.0.0" } }, + "node_modules/rxjs/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", @@ -36073,9 +36046,9 @@ } }, "node_modules/terser-webpack-plugin/node_modules/terser": { - "version": "5.6.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.6.1.tgz", - "integrity": "sha512-yv9YLFQQ+3ZqgWCUk+pvNJwgUTdlIxUk1WTN+RnaFJe2L7ipG2csPT0ra2XRm7Cs8cxN7QXmK1rFzEwYEQkzXw==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.7.0.tgz", + "integrity": "sha512-HP5/9hp2UaZt5fYkuhNBR8YyRcT8juw8+uFbAme53iN9hblvKnLUTKkmwJG6ocWpIKf8UK4DoeWG4ty0J6S6/g==", "dependencies": { "commander": "^2.20.0", "source-map": "~0.7.2", @@ -36535,9 +36508,9 @@ } }, "node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", + "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==" }, "node_modules/tsutils": { "version": "3.20.0", @@ -36554,6 +36527,12 @@ "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" } }, + "node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "peer": true + }, "node_modules/tty-browserify": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", @@ -36629,9 +36608,9 @@ } }, "node_modules/typescript": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.3.tgz", - "integrity": "sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz", + "integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -37917,9 +37896,9 @@ } }, "node_modules/webpack-bundle-analyzer/node_modules/acorn": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.1.0.tgz", - "integrity": "sha512-LWCF/Wn0nfHOmJ9rzQApGnxnvgfROzGilS8936rqN/lfcYkY9MYZzdMqN+2NJ4SlTc+m5HiSa+kNfDtI64dwUA==", + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.2.4.tgz", + "integrity": "sha512-Ibt84YwBDDA890eDiDCEqcbwvHlBvzzDkU2cGBBDDI1QWT12jTiXIOn2CIw5KK4i6N5Z2HUxwYjzriDyqaqqZg==", "bin": { "acorn": "bin/acorn" }, @@ -37928,9 +37907,9 @@ } }, "node_modules/webpack-bundle-analyzer/node_modules/acorn-walk": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.0.2.tgz", - "integrity": "sha512-+bpA9MJsHdZ4bgfDcpk0ozQyhhVct7rzOmO0s1IIr0AGGgKBljss8n2zp11rRP2wid5VGeh04CgeKzgat5/25A==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.1.0.tgz", + "integrity": "sha512-mjmzmv12YIG/G8JQdQuz2MUDShEJ6teYpT5bmWA4q7iwoGen8xtt3twF3OvzIUl+Q06aWIjvnwQUKvQ6TtMRjg==", "engines": { "node": ">=0.4.0" } @@ -39132,9 +39111,9 @@ } }, "node_modules/webpack/node_modules/ssri": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", "dependencies": { "figgy-pudding": "^3.5.1" } @@ -39234,11 +39213,11 @@ "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==" }, "node_modules/whatwg-url": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.4.0.tgz", - "integrity": "sha512-vwTUFf6V4zhcPkWp/4CQPr1TW9Ml6SF4lVyaIMBdJw5i6qUUJ1QWM4Z6YYVkfka0OUIzVo/0aNtGVGk256IKWw==", + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.5.0.tgz", + "integrity": "sha512-fy+R77xWv0AiqfLl4nuGUlQ3/6b5uNfQ4WAbGQVMYshCTCCPK9psC1nWh3XHuxGVCtlcDDQPQW1csmmIQo+fwg==", "dependencies": { - "lodash.sortby": "^4.7.0", + "lodash": "^4.7.0", "tr46": "^2.0.2", "webidl-conversions": "^6.1.0" }, @@ -39652,9 +39631,9 @@ } }, "node_modules/ws": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.4.tgz", - "integrity": "sha512-Qm8k8ojNQIMx7S+Zp8u/uHOx7Qazv3Yv4q68MiWWWOJhiwG5W3x7iqmRtJo8xxrciZUY4vRxUTJCKuRnF28ZZw==", + "version": "7.4.5", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz", + "integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==", "engines": { "node": ">=8.3.0" }, @@ -39980,39 +39959,38 @@ } }, "@babel/compat-data": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.13.12.tgz", - "integrity": "sha512-3eJJ841uKxeV8dcN/2yGEUy+RfgQspPEgQat85umsE1rotuquQ2AbIub4S6j7c50a2d+4myc+zSlnXeIHrOnhQ==" + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.14.0.tgz", + "integrity": "sha512-vu9V3uMM/1o5Hl5OekMUowo3FqXLJSw+s+66nt0fSWVWTtmosdzn45JHOB3cPtZoe6CTBDzvSw0RdOY85Q37+Q==" }, "@babel/core": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.13.10.tgz", - "integrity": "sha512-bfIYcT0BdKeAZrovpMqX2Mx5NrgAckGbwT982AkdS5GNfn3KMGiprlBAtmBcFZRUmpaufS6WZFP8trvx8ptFDw==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.0.tgz", + "integrity": "sha512-8YqpRig5NmIHlMLw09zMlPTvUVMILjqCOtVgu+TVNWEBvy9b5I3RRyhqnrV4hjgEK7n8P9OqvkWJAFmEL6Wwfw==", "requires": { "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.13.9", - "@babel/helper-compilation-targets": "^7.13.10", - "@babel/helper-module-transforms": "^7.13.0", - "@babel/helpers": "^7.13.10", - "@babel/parser": "^7.13.10", + "@babel/generator": "^7.14.0", + "@babel/helper-compilation-targets": "^7.13.16", + "@babel/helper-module-transforms": "^7.14.0", + "@babel/helpers": "^7.14.0", + "@babel/parser": "^7.14.0", "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.0", + "@babel/traverse": "^7.14.0", + "@babel/types": "^7.14.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.1.2", - "lodash": "^4.17.19", "semver": "^6.3.0", "source-map": "^0.5.0" } }, "@babel/generator": { - "version": "7.13.9", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.13.9.tgz", - "integrity": "sha512-mHOOmY0Axl/JCTkxTU6Lf5sWOg/v8nUa+Xkt4zMTftX0wqmb6Sh7J8gvcehBw7q0AhrhAR+FDacKjCZ2X8K+Sw==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.1.tgz", + "integrity": "sha512-TMGhsXMXCP/O1WtQmZjpEYDhCYC9vFhayWZPJSZCGkPJgUqX0rF0wwtrYvnzVxIjcF80tkUertXVk5cwqi5cAQ==", "requires": { - "@babel/types": "^7.13.0", + "@babel/types": "^7.14.1", "jsesc": "^2.5.1", "source-map": "^0.5.0" } @@ -40035,11 +40013,11 @@ } }, "@babel/helper-compilation-targets": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.10.tgz", - "integrity": "sha512-/Xju7Qg1GQO4mHZ/Kcs6Au7gfafgZnwm+a7sy/ow/tV1sHeraRUHbjdat8/UvDor4Tez+siGKDk6zIKtCPKVJA==", + "version": "7.13.16", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.16.tgz", + "integrity": "sha512-3gmkYIrpqsLlieFwjkGgLaSHmhnvlAYzZLlYVjlW+QwI+1zE17kGxuJGmIqDQdYp56XdmGeD+Bswx0UTyG18xA==", "requires": { - "@babel/compat-data": "^7.13.8", + "@babel/compat-data": "^7.13.15", "@babel/helper-validator-option": "^7.12.17", "browserslist": "^4.14.5", "semver": "^6.3.0" @@ -40133,18 +40111,18 @@ } }, "@babel/helper-module-transforms": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.12.tgz", - "integrity": "sha512-7zVQqMO3V+K4JOOj40kxiCrMf6xlQAkewBB0eu2b03OO/Q21ZutOzjpfD79A5gtE/2OWi1nv625MrDlGlkbknQ==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.0.tgz", + "integrity": "sha512-L40t9bxIuGOfpIGA3HNkJhU9qYrf4y5A5LUSw7rGMSn+pcG8dfJ0g6Zval6YJGd2nEjI7oP00fRdnhLKndx6bw==", "requires": { "@babel/helper-module-imports": "^7.13.12", "@babel/helper-replace-supers": "^7.13.12", "@babel/helper-simple-access": "^7.13.12", "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/helper-validator-identifier": "^7.12.11", + "@babel/helper-validator-identifier": "^7.14.0", "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.12" + "@babel/traverse": "^7.14.0", + "@babel/types": "^7.14.0" } }, "@babel/helper-optimise-call-expression": { @@ -40206,9 +40184,9 @@ } }, "@babel/helper-validator-identifier": { - "version": "7.12.11", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", - "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==" + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz", + "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==" }, "@babel/helper-validator-option": { "version": "7.12.17", @@ -40227,13 +40205,13 @@ } }, "@babel/helpers": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.13.10.tgz", - "integrity": "sha512-4VO883+MWPDUVRF3PhiLBUFHoX/bsLTGFpFK/HqvvfBZz2D57u9XzPVNFVBTc0PW/CWR9BXTOKt8NF4DInUHcQ==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.14.0.tgz", + "integrity": "sha512-+ufuXprtQ1D1iZTO/K9+EBRn+qPWMJjZSw/S0KlFrxCw4tkrzv9grgpDHkY9MeQTjTY8i2sp7Jep8DfU6tN9Mg==", "requires": { "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.0" + "@babel/traverse": "^7.14.0", + "@babel/types": "^7.14.0" } }, "@babel/highlight": { @@ -40298,9 +40276,9 @@ } }, "@babel/parser": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.12.tgz", - "integrity": "sha512-4T7Pb244rxH24yR116LAuJ+adxXXnHhZaLJjegJVKSdoNCe4x1eDBaud5YIcQFcqzsaD5BHvJw5BQ0AZapdCRw==" + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.1.tgz", + "integrity": "sha512-muUGEKu8E/ftMTPlNp+mc6zL3E9zKWmF5sDHZ5MSsoTP9Wyz64AhEf9kD08xYJ7w6Hdcu8H550ircnPyWSIF0Q==" }, "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { "version": "7.13.12", @@ -41082,28 +41060,26 @@ } }, "@babel/traverse": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.0.tgz", - "integrity": "sha512-xys5xi5JEhzC3RzEmSGrs/b3pJW/o87SypZ+G/PhaE7uqVQNv/jlmVIBXuoh5atqQ434LfXV+sf23Oxj0bchJQ==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.0.tgz", + "integrity": "sha512-dZ/a371EE5XNhTHomvtuLTUyx6UEoJmYX+DT5zBCQN3McHemsuIaKKYqsc/fs26BEkHs/lBZy0J571LP5z9kQA==", "requires": { "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.13.0", + "@babel/generator": "^7.14.0", "@babel/helper-function-name": "^7.12.13", "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/parser": "^7.13.0", - "@babel/types": "^7.13.0", + "@babel/parser": "^7.14.0", + "@babel/types": "^7.14.0", "debug": "^4.1.0", - "globals": "^11.1.0", - "lodash": "^4.17.19" + "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.12.tgz", - "integrity": "sha512-K4nY2xFN4QMvQwkQ+zmBDp6ANMbVNw6BbxWmYA4qNjhR9W+Lj/8ky5MEY2Me5r+B2c6/v6F53oMndG+f9s3IiA==", + "version": "7.14.1", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.1.tgz", + "integrity": "sha512-S13Qe85fzLs3gYRUnrpyeIrBJIMYv33qSTg1qoBwiG6nPKwUWAD9odSzWhEedpwOIzSEI6gbdQIWEMiCI42iBA==", "requires": { - "@babel/helper-validator-identifier": "^7.12.11", - "lodash": "^4.17.19", + "@babel/helper-validator-identifier": "^7.14.0", "to-fast-properties": "^2.0.0" } }, @@ -41274,9 +41250,9 @@ "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==" }, "core-js": { - "version": "3.9.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.9.1.tgz", - "integrity": "sha512-gSjRvzkxQc1zjM/5paAmL4idJBFzuJoo+jDjF1tStYFMV2ERfD02HhahhCGXUyHxQRG4yFKVSdO6g62eoRMcDg==" + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.12.0.tgz", + "integrity": "sha512-SaMnchL//WwU2Ot1hhkPflE8gzo7uq1FGvUJ8GKmi3TOU7rGTHIU+eir1WGf6qOtTyxdfdcp10yPdGZ59sQ3hw==" }, "semver": { "version": "7.3.5", @@ -41855,9 +41831,9 @@ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" }, "ssri": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", "requires": { "figgy-pudding": "^3.5.1" } @@ -42016,9 +41992,9 @@ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" }, "ssri": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", "requires": { "figgy-pudding": "^3.5.1" } @@ -43368,9 +43344,9 @@ } }, "ssri": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", "requires": { "figgy-pudding": "^3.5.1" } @@ -45024,9 +45000,9 @@ } }, "@octokit/openapi-types": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-5.3.2.tgz", - "integrity": "sha512-NxF1yfYOUO92rCx3dwvA2onF30Vdlg7YUkMVXkeptqpzA3tRLplThhFleV/UKWFgh7rpKu1yYRbvNDUtzSopKA==" + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-7.0.0.tgz", + "integrity": "sha512-gV/8DJhAL/04zjTI95a7FhQwS6jlEE0W/7xeYAzuArD0KVAVWDLP2f3vi98hs3HLTczxXdRK/mF0tRoQPpolEw==" }, "@octokit/plugin-enterprise-rest": { "version": "6.0.1", @@ -45152,11 +45128,11 @@ } }, "@octokit/types": { - "version": "6.12.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.12.2.tgz", - "integrity": "sha512-kCkiN8scbCmSq+gwdJV0iLgHc0O/GTPY1/cffo9kECu1MvatLPh9E+qFhfRIktKfHEA6ZYvv6S1B4Wnv3bi3pA==", + "version": "6.14.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.14.2.tgz", + "integrity": "sha512-wiQtW9ZSy4OvgQ09iQOdyXYNN60GqjCL/UdMsepDr1Gr0QzpW6irIKbH3REuAHXAhxkEk9/F2a3Gcs1P6kW5jA==", "requires": { - "@octokit/openapi-types": "^5.3.2" + "@octokit/openapi-types": "^7.0.0" } }, "@polka/url": { @@ -45566,9 +45542,9 @@ }, "dependencies": { "csstype": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.7.tgz", - "integrity": "sha512-KxnUB0ZMlnUWCsx2Z8MUsr6qV6ja1w9ArPErJaJaF8a5SOWoHLIszeCTKGRGRgtLgYrs1E8CHkNSP1VZTTPc9g==" + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz", + "integrity": "sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw==" } } }, @@ -46262,9 +46238,9 @@ "integrity": "sha1-q8av7tzqUugJzcA3au0845Y10X8=" }, "anymatch": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", - "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", "requires": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -47099,15 +47075,15 @@ } }, "browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", + "version": "4.16.6", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.6.tgz", + "integrity": "sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ==", "requires": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", + "caniuse-lite": "^1.0.30001219", + "colorette": "^1.2.2", + "electron-to-chromium": "^1.3.723", "escalade": "^3.1.1", - "node-releases": "^1.1.70" + "node-releases": "^1.1.71" } }, "bs-logger": { @@ -47326,13 +47302,6 @@ "requires": { "pascal-case": "^3.1.2", "tslib": "^2.0.3" - }, - "dependencies": { - "tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - } } }, "camelcase": { @@ -47374,9 +47343,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001204", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001204.tgz", - "integrity": "sha512-JUdjWpcxfJ9IPamy2f5JaRDCaqJOxDzOSKtbdx4rH9VivMd1vIzoPumsJa9LoMIi4Fx2BV2KZOxWhNkBjaYivQ==" + "version": "1.0.30001223", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001223.tgz", + "integrity": "sha512-k/RYs6zc/fjbxTjaWZemeSmOjO0JJV+KguOBA3NwPup8uzxM1cMhR2BD9XmO86GuqaqTCO8CgkgH9Rz//vdDiA==" }, "capture-exit": { "version": "2.0.0", @@ -47397,9 +47366,9 @@ "integrity": "sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg==" }, "chalk": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", + "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -47453,39 +47422,39 @@ "lodash.some": "^4.4.0" } }, - "cheerio-select-tmp": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/cheerio-select-tmp/-/cheerio-select-tmp-0.1.1.tgz", - "integrity": "sha512-YYs5JvbpU19VYJyj+F7oYrIE2BOll1/hRU7rEy/5+v9BzkSo3bK81iAeeQEMI92vRIxz677m72UmJUiVwwgjfQ==", + "cheerio-select": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-1.4.0.tgz", + "integrity": "sha512-sobR3Yqz27L553Qa7cK6rtJlMDbiKPdNywtR95Sj/YgfpLfy0u6CGJuaBKe5YE/vTc23SCRKxWSdlon/w6I/Ew==", "requires": { - "css-select": "^3.1.2", - "css-what": "^4.0.0", - "domelementtype": "^2.1.0", - "domhandler": "^4.0.0", - "domutils": "^2.4.4" + "css-select": "^4.1.2", + "css-what": "^5.0.0", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0", + "domutils": "^2.6.0" }, "dependencies": { "css-select": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-3.1.2.tgz", - "integrity": "sha512-qmss1EihSuBNWNNhHjxzxSfJoFBM/lERB/Q4EnsJQQC62R2evJDW481091oAdOr9uh46/0n4nrg0It5cAnj1RA==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.1.2.tgz", + "integrity": "sha512-nu5ye2Hg/4ISq4XqdLY2bEatAcLIdt3OYGFc9Tm9n7VSlFBcfRv0gBNksHRgSdUDQGtN3XrZ94ztW+NfzkFSUw==", "requires": { "boolbase": "^1.0.0", - "css-what": "^4.0.0", - "domhandler": "^4.0.0", - "domutils": "^2.4.3", + "css-what": "^5.0.0", + "domhandler": "^4.2.0", + "domutils": "^2.6.0", "nth-check": "^2.0.0" } }, "css-what": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-4.0.0.tgz", - "integrity": "sha512-teijzG7kwYfNVsUh2H/YN62xW3KK9YhXEgSlbxMlcyjPNvdKJqFx5lrwlJgoFP1ZHlB89iGDlo/JyshKeRhv5A==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-5.0.0.tgz", + "integrity": "sha512-qxyKHQvgKwzwDWC/rGbT821eJalfupxYW2qbSJSAtdSTimsr/MlaGONoNLllaUPZWf8QnbcKM/kPVYUQuEKAFA==" }, "dom-serializer": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.2.0.tgz", - "integrity": "sha512-n6kZFH/KlCrqs/1GHMOd5i2fd/beQHuehKdWvNNffbGHTr/almdhuVvTVFb3V7fglz+nC50fFusu3lY33h12pA==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.1.tgz", + "integrity": "sha512-Pv2ZluG5ife96udGgEDovOOOA5UELkltfJpnIExPrAk1LTvecolUGn6lIaoLh86d83GiB86CjzciMd9BuRB71Q==", "requires": { "domelementtype": "^2.0.1", "domhandler": "^4.0.0", @@ -47493,26 +47462,26 @@ } }, "domelementtype": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.1.0.tgz", - "integrity": "sha512-LsTgx/L5VpD+Q8lmsXSHW2WpA+eBlZ9HPf3erD1IoPF00/3JKHZ3BknUVA2QGDNu69ZNmyFmCWBSO45XjYKC5w==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" }, "domhandler": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.0.0.tgz", - "integrity": "sha512-KPTbnGQ1JeEMQyO1iYXoagsI6so/C96HZiFyByU3T6iAzpXn8EGEvct6unm1ZGoed8ByO2oirxgwxBmqKF9haA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", + "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", "requires": { - "domelementtype": "^2.1.0" + "domelementtype": "^2.2.0" } }, "domutils": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.5.0.tgz", - "integrity": "sha512-Ho16rzNMOFk2fPwChGh3D2D9OEHAfG19HgmRR2l+WLSsIstNsAYBzePH412bL0y5T44ejABIVfTHQ8nqi/tBCg==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.6.0.tgz", + "integrity": "sha512-y0BezHuy4MDYxh6OvolXYsH+1EMGmFbwv5FKW7ovwMG6zTPWqNPq3WF9ayZssFq+UlKdffGLbOEaghNdaOm1WA==", "requires": { "dom-serializer": "^1.0.1", - "domelementtype": "^2.0.1", - "domhandler": "^4.0.0" + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" } }, "entities": { @@ -47556,6 +47525,13 @@ "integrity": "sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ==", "requires": { "tslib": "^1.9.0" + }, + "dependencies": { + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + } } }, "ci-info": { @@ -49573,9 +49549,9 @@ }, "dependencies": { "css-tree": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.2.tgz", - "integrity": "sha512-wCoWush5Aeo48GLhfHPbmvZs59Z+M7k5+B1xDnXbdWNcEF423DoFdqSWE0PM5aNk5nI5cp1q7ms36zGApY/sKQ==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", + "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", "requires": { "mdn-data": "2.0.14", "source-map": "^0.6.1" @@ -49614,9 +49590,9 @@ } }, "csstype": { - "version": "2.6.16", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.16.tgz", - "integrity": "sha512-61FBWoDHp/gRtsoDkq/B1nWrCUG/ok1E3tUrcNbZjsE9Cxd9yzUirjS3+nAATB8U4cTtaQmAHbNndoFz5L6C9Q==" + "version": "2.6.17", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.17.tgz", + "integrity": "sha512-u1wmTI1jJGzCJzWndZo8mk4wnPTZd1eOIYTYvuEyOQGfmDl3TrabCCfKnOC86FZwW/9djqTl933UF/cS425i9A==" }, "currently-unhandled": { "version": "0.4.1", @@ -50113,9 +50089,9 @@ }, "dependencies": { "csstype": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.7.tgz", - "integrity": "sha512-KxnUB0ZMlnUWCsx2Z8MUsr6qV6ja1w9ArPErJaJaF8a5SOWoHLIszeCTKGRGRgtLgYrs1E8CHkNSP1VZTTPc9g==" + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz", + "integrity": "sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw==" } } }, @@ -50177,13 +50153,6 @@ "requires": { "no-case": "^3.0.4", "tslib": "^2.0.3" - }, - "dependencies": { - "tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - } } }, "dot-prop": { @@ -50246,9 +50215,9 @@ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, "electron-to-chromium": { - "version": "1.3.654", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.654.tgz", - "integrity": "sha512-Zy2gc/c8KYFg2GkNr7Ruzh5tPEZpFm7EyXqZTFasm1YRDJtpyBRGaOuM0H3t6SuIP53qX4kNmtO9t0WjhBjE9A==" + "version": "1.3.727", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.727.tgz", + "integrity": "sha512-Mfz4FIB4FSvEwBpDfdipRIrwd6uo8gUDoRDF4QEYb4h4tSuI3ov594OrjU6on042UlFHouIJpClDODGkPcBSbg==" }, "elliptic": { "version": "6.5.4", @@ -50411,23 +50380,22 @@ }, "dependencies": { "cheerio": { - "version": "1.0.0-rc.5", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.5.tgz", - "integrity": "sha512-yoqps/VCaZgN4pfXtenwHROTp8NG6/Hlt4Jpz2FEP0ZJQ+ZUkVDd0hAPDNKhj3nakpfPt/CNs57yEtxD1bXQiw==", + "version": "1.0.0-rc.6", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.6.tgz", + "integrity": "sha512-hjx1XE1M/D5pAtMgvWwE21QClmAEeGHOIDfycgmndisdNgI6PE1cGRQkMGBcsbUbmEQyWu5PJLUcAOjtQS8DWw==", "requires": { - "cheerio-select-tmp": "^0.1.0", - "dom-serializer": "~1.2.0", - "domhandler": "^4.0.0", - "entities": "~2.1.0", - "htmlparser2": "^6.0.0", - "parse5": "^6.0.0", - "parse5-htmlparser2-tree-adapter": "^6.0.0" + "cheerio-select": "^1.3.0", + "dom-serializer": "^1.3.1", + "domhandler": "^4.1.0", + "htmlparser2": "^6.1.0", + "parse5": "^6.0.1", + "parse5-htmlparser2-tree-adapter": "^6.0.1" } }, "dom-serializer": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.2.0.tgz", - "integrity": "sha512-n6kZFH/KlCrqs/1GHMOd5i2fd/beQHuehKdWvNNffbGHTr/almdhuVvTVFb3V7fglz+nC50fFusu3lY33h12pA==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.1.tgz", + "integrity": "sha512-Pv2ZluG5ife96udGgEDovOOOA5UELkltfJpnIExPrAk1LTvecolUGn6lIaoLh86d83GiB86CjzciMd9BuRB71Q==", "requires": { "domelementtype": "^2.0.1", "domhandler": "^4.0.0", @@ -50435,41 +50403,41 @@ } }, "domelementtype": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.1.0.tgz", - "integrity": "sha512-LsTgx/L5VpD+Q8lmsXSHW2WpA+eBlZ9HPf3erD1IoPF00/3JKHZ3BknUVA2QGDNu69ZNmyFmCWBSO45XjYKC5w==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" }, "domhandler": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.0.0.tgz", - "integrity": "sha512-KPTbnGQ1JeEMQyO1iYXoagsI6so/C96HZiFyByU3T6iAzpXn8EGEvct6unm1ZGoed8ByO2oirxgwxBmqKF9haA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", + "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", "requires": { - "domelementtype": "^2.1.0" + "domelementtype": "^2.2.0" } }, "domutils": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.5.0.tgz", - "integrity": "sha512-Ho16rzNMOFk2fPwChGh3D2D9OEHAfG19HgmRR2l+WLSsIstNsAYBzePH412bL0y5T44ejABIVfTHQ8nqi/tBCg==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.6.0.tgz", + "integrity": "sha512-y0BezHuy4MDYxh6OvolXYsH+1EMGmFbwv5FKW7ovwMG6zTPWqNPq3WF9ayZssFq+UlKdffGLbOEaghNdaOm1WA==", "requires": { "dom-serializer": "^1.0.1", - "domelementtype": "^2.0.1", - "domhandler": "^4.0.0" + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" } }, "entities": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz", - "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==" }, "htmlparser2": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.0.1.tgz", - "integrity": "sha512-GDKPd+vk4jvSuvCbyuzx/unmXkk090Azec7LovXP8as1Hn8q9p3hbjmDGbUqqhknw0ajwit6LiiWqfiTUPMK7w==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.1.0.tgz", + "integrity": "sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==", "requires": { "domelementtype": "^2.0.1", "domhandler": "^4.0.0", - "domutils": "^2.4.4", + "domutils": "^2.5.2", "entities": "^2.0.0" } } @@ -50950,9 +50918,9 @@ } }, "eslint-visitor-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz", - "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "peer": true }, "espree": { @@ -51088,9 +51056,9 @@ }, "dependencies": { "get-stream": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.0.tgz", - "integrity": "sha512-A1B3Bh1UmL0bidM/YX2NsCOTnGJePL9rO/M+Mw3m9f2gUpfokS0hi5Eah0WSUEWZdZhIZtMjkIYS7mDfOqNHbg==" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==" }, "human-signals": { "version": "2.1.0", @@ -53127,9 +53095,9 @@ } }, "hosted-git-info": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", - "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==" + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" }, "hpack.js": { "version": "2.1.6", @@ -54828,9 +54796,9 @@ }, "dependencies": { "csstype": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.7.tgz", - "integrity": "sha512-KxnUB0ZMlnUWCsx2Z8MUsr6qV6ja1w9ArPErJaJaF8a5SOWoHLIszeCTKGRGRgtLgYrs1E8CHkNSP1VZTTPc9g==" + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz", + "integrity": "sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw==" } } }, @@ -55449,13 +55417,6 @@ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", "requires": { "tslib": "^2.0.3" - }, - "dependencies": { - "tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - } } }, "lowercase-keys": { @@ -55556,9 +55517,9 @@ } }, "ssri": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", "requires": { "figgy-pudding": "^3.5.1" } @@ -55584,9 +55545,9 @@ "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=" }, "map-obj": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.2.0.tgz", - "integrity": "sha512-NAq0fCmZYGz9UFEQyndp7sisrow4GroyGeKluyKC/chuITZsPyOyC1UJZPJlVFImhXdROIP5xqouRLThT3BbpQ==" + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.2.1.tgz", + "integrity": "sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ==" }, "map-visit": { "version": "1.0.0", @@ -55736,9 +55697,9 @@ }, "dependencies": { "hosted-git-info": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.1.tgz", - "integrity": "sha512-eT7NrxAsppPRQEBSwKSosReE+v8OzABwEScQYk5d4uxaEPlzxTIku7LINXtBGalthkLhJnq5lBI89PfK43zAKg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", + "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==", "requires": { "lru-cache": "^6.0.0" } @@ -55766,9 +55727,9 @@ }, "dependencies": { "hosted-git-info": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", - "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==" + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" }, "normalize-package-data": { "version": "2.5.0", @@ -55868,12 +55829,12 @@ } }, "micromatch": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", - "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", "requires": { "braces": "^3.0.1", - "picomatch": "^2.0.5" + "picomatch": "^2.2.3" } }, "miller-rabin": { @@ -55898,16 +55859,16 @@ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" }, "mime-db": { - "version": "1.46.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.46.0.tgz", - "integrity": "sha512-svXaP8UQRZ5K7or+ZmfNhg2xX3yKDMUzqadsSqi4NCH/KomcH75MAMYAGVlvXn4+b/xOPhS3I2uHKRUzvjY7BQ==" + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", + "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==" }, "mime-types": { - "version": "2.1.29", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.29.tgz", - "integrity": "sha512-Y/jMt/S5sR9OaqteJtslsFZKWOIIqMACsJSiHghlCAyhf7jfVYjKBmLiX8OgpWeW+fjJ2b+Az69aPFPkUOY6xQ==", + "version": "2.1.30", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", + "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", "requires": { - "mime-db": "1.46.0" + "mime-db": "1.47.0" } }, "mimic-fn": { @@ -56367,13 +56328,6 @@ "requires": { "lower-case": "^2.0.2", "tslib": "^2.0.3" - }, - "dependencies": { - "tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - } } }, "node-emoji": { @@ -56581,9 +56535,9 @@ } }, "node-releases": { - "version": "1.1.70", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.70.tgz", - "integrity": "sha512-Slf2s69+2/uAD79pVVQo8uSiC34+g8GWY8UH2Qtqv34ZfhYrxpYpfzs9Js9d6O0mbDmALuxaTlplnBTnSELcrw==" + "version": "1.1.71", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.71.tgz", + "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==" }, "nopt": { "version": "4.0.3", @@ -57275,13 +57229,6 @@ "requires": { "dot-case": "^3.0.4", "tslib": "^2.0.3" - }, - "dependencies": { - "tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - } } }, "parent-module": { @@ -57418,13 +57365,6 @@ "requires": { "no-case": "^3.0.4", "tslib": "^2.0.3" - }, - "dependencies": { - "tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" - } } }, "pascalcase": { @@ -57495,9 +57435,9 @@ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" }, "picomatch": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", - "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==" + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", + "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==" }, "pify": { "version": "4.0.1", @@ -57680,12 +57620,12 @@ "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=" }, "postcss": { - "version": "8.2.8", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.8.tgz", - "integrity": "sha512-1F0Xb2T21xET7oQV9eKuctbM9S7BC0fetoHCc4H13z0PT6haiRLP4T0ZY4XWh7iLP0usgqykT6p9B2RtOf4FPw==", + "version": "8.2.14", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.14.tgz", + "integrity": "sha512-+jD0ZijcvyCqPQo/m/CW0UcARpdFylq04of+Q7RKX6f/Tu+dvpUI/9Sp81+i6/vJThnOBX09Quw0ZLOVwpzX3w==", "requires": { "colorette": "^1.2.2", - "nanoid": "^3.1.20", + "nanoid": "^3.1.22", "source-map": "^0.6.1" }, "dependencies": { @@ -63313,13 +63253,11 @@ } }, "postcss-selector-parser": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.4.tgz", - "integrity": "sha512-gjMeXBempyInaBqpp8gODmwZ52WaYsVOsfr4L4lDQ7n3ncD6mEyySiDtgzCT+NYC0mmeOLvtsF8iaEf0YT6dBw==", + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.5.tgz", + "integrity": "sha512-aFYPoYmXbZ1V6HZaSvat08M97A8HqO6Pjz+PiNpw/DhuRrC72XWAdp3hL6wusDCN31sSmcZyMGa2hZEuX+Xfhg==", "requires": { "cssesc": "^3.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1", "util-deprecate": "^1.0.2" } }, @@ -65859,6 +65797,13 @@ "integrity": "sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ==", "requires": { "tslib": "^1.9.0" + }, + "dependencies": { + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + } } }, "safe-buffer": { @@ -68026,9 +67971,9 @@ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, "terser": { - "version": "5.6.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.6.1.tgz", - "integrity": "sha512-yv9YLFQQ+3ZqgWCUk+pvNJwgUTdlIxUk1WTN+RnaFJe2L7ipG2csPT0ra2XRm7Cs8cxN7QXmK1rFzEwYEQkzXw==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.7.0.tgz", + "integrity": "sha512-HP5/9hp2UaZt5fYkuhNBR8YyRcT8juw8+uFbAme53iN9hblvKnLUTKkmwJG6ocWpIKf8UK4DoeWG4ty0J6S6/g==", "requires": { "commander": "^2.20.0", "source-map": "~0.7.2", @@ -68372,9 +68317,9 @@ } }, "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", + "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==" }, "tsutils": { "version": "3.20.0", @@ -68383,6 +68328,14 @@ "peer": true, "requires": { "tslib": "^1.8.1" + }, + "dependencies": { + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "peer": true + } } }, "tty-browserify": { @@ -68445,9 +68398,9 @@ } }, "typescript": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.3.tgz", - "integrity": "sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==" + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.4.tgz", + "integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==" }, "ua-parser-js": { "version": "0.7.25", @@ -69689,9 +69642,9 @@ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, "ssri": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", "requires": { "figgy-pudding": "^3.5.1" } @@ -69745,14 +69698,14 @@ }, "dependencies": { "acorn": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.1.0.tgz", - "integrity": "sha512-LWCF/Wn0nfHOmJ9rzQApGnxnvgfROzGilS8936rqN/lfcYkY9MYZzdMqN+2NJ4SlTc+m5HiSa+kNfDtI64dwUA==" + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.2.4.tgz", + "integrity": "sha512-Ibt84YwBDDA890eDiDCEqcbwvHlBvzzDkU2cGBBDDI1QWT12jTiXIOn2CIw5KK4i6N5Z2HUxwYjzriDyqaqqZg==" }, "acorn-walk": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.0.2.tgz", - "integrity": "sha512-+bpA9MJsHdZ4bgfDcpk0ozQyhhVct7rzOmO0s1IIr0AGGgKBljss8n2zp11rRP2wid5VGeh04CgeKzgat5/25A==" + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.1.0.tgz", + "integrity": "sha512-mjmzmv12YIG/G8JQdQuz2MUDShEJ6teYpT5bmWA4q7iwoGen8xtt3twF3OvzIUl+Q06aWIjvnwQUKvQ6TtMRjg==" }, "commander": { "version": "6.2.1", @@ -70460,11 +70413,11 @@ "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==" }, "whatwg-url": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.4.0.tgz", - "integrity": "sha512-vwTUFf6V4zhcPkWp/4CQPr1TW9Ml6SF4lVyaIMBdJw5i6qUUJ1QWM4Z6YYVkfka0OUIzVo/0aNtGVGk256IKWw==", + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.5.0.tgz", + "integrity": "sha512-fy+R77xWv0AiqfLl4nuGUlQ3/6b5uNfQ4WAbGQVMYshCTCCPK9psC1nWh3XHuxGVCtlcDDQPQW1csmmIQo+fwg==", "requires": { - "lodash.sortby": "^4.7.0", + "lodash": "^4.7.0", "tr46": "^2.0.2", "webidl-conversions": "^6.1.0" } @@ -70787,9 +70740,9 @@ } }, "ws": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.4.tgz", - "integrity": "sha512-Qm8k8ojNQIMx7S+Zp8u/uHOx7Qazv3Yv4q68MiWWWOJhiwG5W3x7iqmRtJo8xxrciZUY4vRxUTJCKuRnF28ZZw==", + "version": "7.4.5", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz", + "integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==", "requires": {} }, "xdg-basedir": { diff --git a/package.json b/package.json index d58765693..e89a58e58 100644 --- a/package.json +++ b/package.json @@ -59,8 +59,8 @@ "stylelint-config-prettier": "8.0.2", "stylelint-prettier": "1.1.2", "ts-jest": "26.4.4", - "tslib": "^1.10.0", - "typescript": "4.1.3", + "tslib": "^2.2.0", + "typescript": "4.2.4", "universal-fetch": "1.0.0", "warning": "^4.0.0" }, diff --git a/packages/uniforms-antd/package.json b/packages/uniforms-antd/package.json index 93a6eccd1..b21adb8ec 100644 --- a/packages/uniforms-antd/package.json +++ b/packages/uniforms-antd/package.json @@ -39,7 +39,7 @@ "dependencies": { "invariant": "^2.0.0", "lodash": "^4.0.0", - "tslib": "^1.10.0", + "tslib": "^2.2.0", "uniforms": "^3.4.0", "warning": "^4.0.0" } diff --git a/packages/uniforms-antd/src/AutoField.tsx b/packages/uniforms-antd/src/AutoField.tsx index 33e2d1ea8..6c06f2a05 100644 --- a/packages/uniforms-antd/src/AutoField.tsx +++ b/packages/uniforms-antd/src/AutoField.tsx @@ -1,5 +1,6 @@ import invariant from 'invariant'; import { createAutoField } from 'uniforms'; +export { AutoFieldProps } from 'uniforms'; import BoolField from './BoolField'; import DateField from './DateField'; @@ -10,8 +11,6 @@ import RadioField from './RadioField'; import SelectField from './SelectField'; import TextField from './TextField'; -export type AutoFieldProps = Parameters[0]; - const AutoField = createAutoField(props => { if (props.allowedValues) { return props.checkboxes && props.fieldType !== Array diff --git a/packages/uniforms-antd/src/BoolField.tsx b/packages/uniforms-antd/src/BoolField.tsx index 2230c5e30..c4eb05714 100644 --- a/packages/uniforms-antd/src/BoolField.tsx +++ b/packages/uniforms-antd/src/BoolField.tsx @@ -47,4 +47,4 @@ function Bool({ ); } -export default connectField(Bool, { kind: 'leaf' }); +export default connectField(Bool, { kind: 'leaf' }); diff --git a/packages/uniforms-antd/src/DateField.tsx b/packages/uniforms-antd/src/DateField.tsx index d59a651da..e730cad49 100644 --- a/packages/uniforms-antd/src/DateField.tsx +++ b/packages/uniforms-antd/src/DateField.tsx @@ -41,4 +41,4 @@ function Date({ ); } -export default connectField(Date, { kind: 'leaf' }); +export default connectField(Date, { kind: 'leaf' }); diff --git a/packages/uniforms-antd/src/ErrorField.tsx b/packages/uniforms-antd/src/ErrorField.tsx index 13893efbd..35f65681e 100644 --- a/packages/uniforms-antd/src/ErrorField.tsx +++ b/packages/uniforms-antd/src/ErrorField.tsx @@ -30,4 +30,7 @@ function Error({ ); } -export default connectField(Error, { initialValue: false, kind: 'leaf' }); +export default connectField(Error, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-antd/src/ListAddField.tsx b/packages/uniforms-antd/src/ListAddField.tsx index 16ab02a8e..1bca2c250 100644 --- a/packages/uniforms-antd/src/ListAddField.tsx +++ b/packages/uniforms-antd/src/ListAddField.tsx @@ -57,4 +57,7 @@ function ListAdd({ ); } -export default connectField(ListAdd, { initialValue: false, kind: 'leaf' }); +export default connectField(ListAdd, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-antd/src/ListDelField.tsx b/packages/uniforms-antd/src/ListDelField.tsx index 29375e721..bb7eddc3f 100644 --- a/packages/uniforms-antd/src/ListDelField.tsx +++ b/packages/uniforms-antd/src/ListDelField.tsx @@ -52,4 +52,7 @@ function ListDel({ ); } -export default connectField(ListDel, { initialValue: false, kind: 'leaf' }); +export default connectField(ListDel, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-antd/src/ListField.tsx b/packages/uniforms-antd/src/ListField.tsx index c9d5648c6..d8df4ca60 100644 --- a/packages/uniforms-antd/src/ListField.tsx +++ b/packages/uniforms-antd/src/ListField.tsx @@ -97,4 +97,4 @@ function List({ ); } -export default connectField(List); +export default connectField(List); diff --git a/packages/uniforms-antd/src/ListItemField.tsx b/packages/uniforms-antd/src/ListItemField.tsx index 492284803..16bc520aa 100644 --- a/packages/uniforms-antd/src/ListItemField.tsx +++ b/packages/uniforms-antd/src/ListItemField.tsx @@ -42,4 +42,4 @@ function ListItem({ ); } -export default connectField(ListItem); +export default connectField(ListItem); diff --git a/packages/uniforms-antd/src/LongTextField.tsx b/packages/uniforms-antd/src/LongTextField.tsx index ae8a4503e..7075ced59 100644 --- a/packages/uniforms-antd/src/LongTextField.tsx +++ b/packages/uniforms-antd/src/LongTextField.tsx @@ -28,4 +28,4 @@ function LongText({ rows = 5, ...props }: LongTextFieldProps) { ); } -export default connectField(LongText, { kind: 'leaf' }); +export default connectField(LongText, { kind: 'leaf' }); diff --git a/packages/uniforms-antd/src/NestField.tsx b/packages/uniforms-antd/src/NestField.tsx index 61e1f1ff0..7903c350a 100644 --- a/packages/uniforms-antd/src/NestField.tsx +++ b/packages/uniforms-antd/src/NestField.tsx @@ -33,4 +33,4 @@ function Nest({ ); } -export default connectField(Nest); +export default connectField(Nest); diff --git a/packages/uniforms-antd/src/NumField.tsx b/packages/uniforms-antd/src/NumField.tsx index 091e5acda..10824472c 100644 --- a/packages/uniforms-antd/src/NumField.tsx +++ b/packages/uniforms-antd/src/NumField.tsx @@ -35,4 +35,4 @@ function Num(props: NumFieldProps) { ); } -export default connectField(Num, { kind: 'leaf' }); +export default connectField(Num, { kind: 'leaf' }); diff --git a/packages/uniforms-antd/src/RadioField.tsx b/packages/uniforms-antd/src/RadioField.tsx index 9fd51b266..3bdd731bd 100644 --- a/packages/uniforms-antd/src/RadioField.tsx +++ b/packages/uniforms-antd/src/RadioField.tsx @@ -35,4 +35,4 @@ function Radio(props: RadioFieldProps) { ); } -export default connectField(Radio, { kind: 'leaf' }); +export default connectField(Radio, { kind: 'leaf' }); diff --git a/packages/uniforms-antd/src/SelectField.tsx b/packages/uniforms-antd/src/SelectField.tsx index 7e3164f4f..f61e9630d 100644 --- a/packages/uniforms-antd/src/SelectField.tsx +++ b/packages/uniforms-antd/src/SelectField.tsx @@ -106,4 +106,4 @@ function Select(props: SelectFieldProps) { ); } -export default connectField(Select, { kind: 'leaf' }); +export default connectField(Select, { kind: 'leaf' }); diff --git a/packages/uniforms-antd/src/TextField.tsx b/packages/uniforms-antd/src/TextField.tsx index 9116837a0..80f417b0a 100644 --- a/packages/uniforms-antd/src/TextField.tsx +++ b/packages/uniforms-antd/src/TextField.tsx @@ -27,4 +27,4 @@ function Text(props: TextFieldProps) { ); } -export default connectField(Text, { kind: 'leaf' }); +export default connectField(Text, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap3/package.json b/packages/uniforms-bootstrap3/package.json index 30621668a..c5890f56b 100644 --- a/packages/uniforms-bootstrap3/package.json +++ b/packages/uniforms-bootstrap3/package.json @@ -34,7 +34,7 @@ "classnames": "^2.0.0", "invariant": "^2.0.0", "lodash": "^4.0.0", - "tslib": "^1.10.0", + "tslib": "^2.2.0", "uniforms": "^3.4.0", "warning": "^4.0.0" } diff --git a/packages/uniforms-bootstrap3/src/AutoField.tsx b/packages/uniforms-bootstrap3/src/AutoField.tsx index 33e2d1ea8..6c06f2a05 100644 --- a/packages/uniforms-bootstrap3/src/AutoField.tsx +++ b/packages/uniforms-bootstrap3/src/AutoField.tsx @@ -1,5 +1,6 @@ import invariant from 'invariant'; import { createAutoField } from 'uniforms'; +export { AutoFieldProps } from 'uniforms'; import BoolField from './BoolField'; import DateField from './DateField'; @@ -10,8 +11,6 @@ import RadioField from './RadioField'; import SelectField from './SelectField'; import TextField from './TextField'; -export type AutoFieldProps = Parameters[0]; - const AutoField = createAutoField(props => { if (props.allowedValues) { return props.checkboxes && props.fieldType !== Array diff --git a/packages/uniforms-bootstrap3/src/BoolField.tsx b/packages/uniforms-bootstrap3/src/BoolField.tsx index 8f8dde849..80b1447f4 100644 --- a/packages/uniforms-bootstrap3/src/BoolField.tsx +++ b/packages/uniforms-bootstrap3/src/BoolField.tsx @@ -56,4 +56,4 @@ function Bool(props: BoolFieldProps) { ); } -export default connectField(Bool, { kind: 'leaf' }); +export default connectField(Bool, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap3/src/DateField.tsx b/packages/uniforms-bootstrap3/src/DateField.tsx index 0d378d9cf..de359fe71 100644 --- a/packages/uniforms-bootstrap3/src/DateField.tsx +++ b/packages/uniforms-bootstrap3/src/DateField.tsx @@ -64,4 +64,4 @@ function Date({ ); } -export default connectField(Date, { kind: 'leaf' }); +export default connectField(Date, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap3/src/ErrorField.tsx b/packages/uniforms-bootstrap3/src/ErrorField.tsx index 233a7a6dd..4739b1451 100644 --- a/packages/uniforms-bootstrap3/src/ErrorField.tsx +++ b/packages/uniforms-bootstrap3/src/ErrorField.tsx @@ -32,4 +32,7 @@ function Error({ ); } -export default connectField(Error, { initialValue: false, kind: 'leaf' }); +export default connectField(Error, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-bootstrap3/src/ListAddField.tsx b/packages/uniforms-bootstrap3/src/ListAddField.tsx index 48d4a6c4d..8b90f9a04 100644 --- a/packages/uniforms-bootstrap3/src/ListAddField.tsx +++ b/packages/uniforms-bootstrap3/src/ListAddField.tsx @@ -66,4 +66,7 @@ ListAdd.defaultProps = { addIcon: , }; -export default connectField(ListAdd, { initialValue: false, kind: 'leaf' }); +export default connectField(ListAdd, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-bootstrap3/src/ListDelField.tsx b/packages/uniforms-bootstrap3/src/ListDelField.tsx index 151653ece..5b3bdfda9 100644 --- a/packages/uniforms-bootstrap3/src/ListDelField.tsx +++ b/packages/uniforms-bootstrap3/src/ListDelField.tsx @@ -67,4 +67,7 @@ ListDel.defaultProps = { removeIcon: , }; -export default connectField(ListDel, { initialValue: false, kind: 'leaf' }); +export default connectField(ListDel, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-bootstrap3/src/ListField.tsx b/packages/uniforms-bootstrap3/src/ListField.tsx index fa8e13f4c..f6091dec9 100644 --- a/packages/uniforms-bootstrap3/src/ListField.tsx +++ b/packages/uniforms-bootstrap3/src/ListField.tsx @@ -78,4 +78,4 @@ function List({ ); } -export default connectField(List); +export default connectField(List); diff --git a/packages/uniforms-bootstrap3/src/ListItemField.tsx b/packages/uniforms-bootstrap3/src/ListItemField.tsx index 1fe838a33..06713d84d 100644 --- a/packages/uniforms-bootstrap3/src/ListItemField.tsx +++ b/packages/uniforms-bootstrap3/src/ListItemField.tsx @@ -25,4 +25,6 @@ function ListItem({ ); } -export default connectField(ListItem, { initialValue: false }); +export default connectField(ListItem, { + initialValue: false, +}); diff --git a/packages/uniforms-bootstrap3/src/LongTextField.tsx b/packages/uniforms-bootstrap3/src/LongTextField.tsx index 10b5fe5bd..2a2157a29 100644 --- a/packages/uniforms-bootstrap3/src/LongTextField.tsx +++ b/packages/uniforms-bootstrap3/src/LongTextField.tsx @@ -29,4 +29,4 @@ function LongText(props: LongTextFieldProps) { />, ); } -export default connectField(LongText, { kind: 'leaf' }); +export default connectField(LongText, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap3/src/NestField.tsx b/packages/uniforms-bootstrap3/src/NestField.tsx index cad80a4c7..eb7d8382e 100644 --- a/packages/uniforms-bootstrap3/src/NestField.tsx +++ b/packages/uniforms-bootstrap3/src/NestField.tsx @@ -38,4 +38,4 @@ const Nest = ({ ); -export default connectField(Nest); +export default connectField(Nest); diff --git a/packages/uniforms-bootstrap3/src/NumField.tsx b/packages/uniforms-bootstrap3/src/NumField.tsx index 76d6611b2..bf317c445 100644 --- a/packages/uniforms-bootstrap3/src/NumField.tsx +++ b/packages/uniforms-bootstrap3/src/NumField.tsx @@ -41,4 +41,4 @@ function Num(props: NumFieldProps) { ); } -export default connectField(Num, { kind: 'leaf' }); +export default connectField(Num, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap3/src/RadioField.tsx b/packages/uniforms-bootstrap3/src/RadioField.tsx index d7299c996..08e661847 100644 --- a/packages/uniforms-bootstrap3/src/RadioField.tsx +++ b/packages/uniforms-bootstrap3/src/RadioField.tsx @@ -52,4 +52,4 @@ function Radio(props: RadioFieldProps) { ); } -export default connectField(Radio, { kind: 'leaf' }); +export default connectField(Radio, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap3/src/SelectField.tsx b/packages/uniforms-bootstrap3/src/SelectField.tsx index 7d70bd999..b5766368d 100644 --- a/packages/uniforms-bootstrap3/src/SelectField.tsx +++ b/packages/uniforms-bootstrap3/src/SelectField.tsx @@ -116,4 +116,4 @@ function Select({ ); } -export default connectField(Select, { kind: 'leaf' }); +export default connectField(Select, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap3/src/TextField.tsx b/packages/uniforms-bootstrap3/src/TextField.tsx index 288bc4582..02a948f71 100644 --- a/packages/uniforms-bootstrap3/src/TextField.tsx +++ b/packages/uniforms-bootstrap3/src/TextField.tsx @@ -32,4 +32,4 @@ function Text(props: TextFieldProps) { ); } -export default connectField(Text, { kind: 'leaf' }); +export default connectField(Text, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap4/package.json b/packages/uniforms-bootstrap4/package.json index 85a5a1abf..473ba9847 100644 --- a/packages/uniforms-bootstrap4/package.json +++ b/packages/uniforms-bootstrap4/package.json @@ -34,7 +34,7 @@ "classnames": "^2.0.0", "invariant": "^2.0.0", "lodash": "^4.0.0", - "tslib": "^1.10.0", + "tslib": "^2.2.0", "uniforms": "^3.4.0", "warning": "^4.0.0" } diff --git a/packages/uniforms-bootstrap4/src/AutoField.tsx b/packages/uniforms-bootstrap4/src/AutoField.tsx index 33e2d1ea8..6c06f2a05 100644 --- a/packages/uniforms-bootstrap4/src/AutoField.tsx +++ b/packages/uniforms-bootstrap4/src/AutoField.tsx @@ -1,5 +1,6 @@ import invariant from 'invariant'; import { createAutoField } from 'uniforms'; +export { AutoFieldProps } from 'uniforms'; import BoolField from './BoolField'; import DateField from './DateField'; @@ -10,8 +11,6 @@ import RadioField from './RadioField'; import SelectField from './SelectField'; import TextField from './TextField'; -export type AutoFieldProps = Parameters[0]; - const AutoField = createAutoField(props => { if (props.allowedValues) { return props.checkboxes && props.fieldType !== Array diff --git a/packages/uniforms-bootstrap4/src/BoolField.tsx b/packages/uniforms-bootstrap4/src/BoolField.tsx index 6bee81777..0cce2d508 100644 --- a/packages/uniforms-bootstrap4/src/BoolField.tsx +++ b/packages/uniforms-bootstrap4/src/BoolField.tsx @@ -59,4 +59,4 @@ function Bool({ onChange, ...props }: BoolFieldProps) { ); } -export default connectField(Bool, { kind: 'leaf' }); +export default connectField(Bool, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap4/src/DateField.tsx b/packages/uniforms-bootstrap4/src/DateField.tsx index 43e875b73..efabfa73d 100644 --- a/packages/uniforms-bootstrap4/src/DateField.tsx +++ b/packages/uniforms-bootstrap4/src/DateField.tsx @@ -64,4 +64,4 @@ function Date({ ); } -export default connectField(Date, { kind: 'leaf' }); +export default connectField(Date, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap4/src/ErrorField.tsx b/packages/uniforms-bootstrap4/src/ErrorField.tsx index 26d2e6edb..6b17498f4 100644 --- a/packages/uniforms-bootstrap4/src/ErrorField.tsx +++ b/packages/uniforms-bootstrap4/src/ErrorField.tsx @@ -26,4 +26,7 @@ function Error({ ); } -export default connectField(Error, { initialValue: false, kind: 'leaf' }); +export default connectField(Error, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-bootstrap4/src/ListAddField.tsx b/packages/uniforms-bootstrap4/src/ListAddField.tsx index 2702c15fd..c0529c3c8 100644 --- a/packages/uniforms-bootstrap4/src/ListAddField.tsx +++ b/packages/uniforms-bootstrap4/src/ListAddField.tsx @@ -61,4 +61,7 @@ function ListAdd({ ListAdd.defaultProps = { addIcon: }; -export default connectField(ListAdd, { initialValue: false, kind: 'leaf' }); +export default connectField(ListAdd, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-bootstrap4/src/ListDelField.tsx b/packages/uniforms-bootstrap4/src/ListDelField.tsx index 1a13a4190..31d8eef9d 100644 --- a/packages/uniforms-bootstrap4/src/ListDelField.tsx +++ b/packages/uniforms-bootstrap4/src/ListDelField.tsx @@ -68,4 +68,7 @@ ListDel.defaultProps = { removeIcon: , }; -export default connectField(ListDel, { initialValue: false, kind: 'leaf' }); +export default connectField(ListDel, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-bootstrap4/src/ListField.tsx b/packages/uniforms-bootstrap4/src/ListField.tsx index 01018cc7e..4e3622950 100644 --- a/packages/uniforms-bootstrap4/src/ListField.tsx +++ b/packages/uniforms-bootstrap4/src/ListField.tsx @@ -74,4 +74,4 @@ function List({ ); } -export default connectField(List); +export default connectField(List); diff --git a/packages/uniforms-bootstrap4/src/ListItemField.tsx b/packages/uniforms-bootstrap4/src/ListItemField.tsx index 1792c4059..71f556e4f 100644 --- a/packages/uniforms-bootstrap4/src/ListItemField.tsx +++ b/packages/uniforms-bootstrap4/src/ListItemField.tsx @@ -25,4 +25,6 @@ function ListItem({ ); } -export default connectField(ListItem, { initialValue: false }); +export default connectField(ListItem, { + initialValue: false, +}); diff --git a/packages/uniforms-bootstrap4/src/LongTextField.tsx b/packages/uniforms-bootstrap4/src/LongTextField.tsx index 2515a7cad..c30542f68 100644 --- a/packages/uniforms-bootstrap4/src/LongTextField.tsx +++ b/packages/uniforms-bootstrap4/src/LongTextField.tsx @@ -31,4 +31,4 @@ function LongText(props: LongTextFieldProps) { ); } -export default connectField(LongText, { kind: 'leaf' }); +export default connectField(LongText, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap4/src/NestField.tsx b/packages/uniforms-bootstrap4/src/NestField.tsx index dd36313b6..2e4413a31 100644 --- a/packages/uniforms-bootstrap4/src/NestField.tsx +++ b/packages/uniforms-bootstrap4/src/NestField.tsx @@ -40,4 +40,4 @@ function Nest({ ); } -export default connectField(Nest); +export default connectField(Nest); diff --git a/packages/uniforms-bootstrap4/src/NumField.tsx b/packages/uniforms-bootstrap4/src/NumField.tsx index 131c882ad..071331362 100644 --- a/packages/uniforms-bootstrap4/src/NumField.tsx +++ b/packages/uniforms-bootstrap4/src/NumField.tsx @@ -42,4 +42,4 @@ function Num(props: NumFieldProps) { ); } -export default connectField(Num, { kind: 'leaf' }); +export default connectField(Num, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap4/src/RadioField.tsx b/packages/uniforms-bootstrap4/src/RadioField.tsx index 41e2401b2..b74248171 100644 --- a/packages/uniforms-bootstrap4/src/RadioField.tsx +++ b/packages/uniforms-bootstrap4/src/RadioField.tsx @@ -57,4 +57,4 @@ function Radio(props: RadioFieldProps) { ); } -export default connectField(Radio, { kind: 'leaf' }); +export default connectField(Radio, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap4/src/SelectField.tsx b/packages/uniforms-bootstrap4/src/SelectField.tsx index dded11785..1281f9901 100644 --- a/packages/uniforms-bootstrap4/src/SelectField.tsx +++ b/packages/uniforms-bootstrap4/src/SelectField.tsx @@ -126,4 +126,4 @@ function Select({ ); } -export default connectField(Select, { kind: 'leaf' }); +export default connectField(Select, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap4/src/TextField.tsx b/packages/uniforms-bootstrap4/src/TextField.tsx index 7c99dac4d..bc7464690 100644 --- a/packages/uniforms-bootstrap4/src/TextField.tsx +++ b/packages/uniforms-bootstrap4/src/TextField.tsx @@ -33,4 +33,4 @@ function Text(props: TextFieldProps) { ); } -export default connectField(Text, { kind: 'leaf' }); +export default connectField(Text, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap5/package.json b/packages/uniforms-bootstrap5/package.json index 5a8a8fcf8..f74dfbbf9 100644 --- a/packages/uniforms-bootstrap5/package.json +++ b/packages/uniforms-bootstrap5/package.json @@ -34,7 +34,7 @@ "classnames": "^2.0.0", "invariant": "^2.0.0", "lodash": "^4.0.0", - "tslib": "^1.10.0", + "tslib": "^2.2.0", "uniforms": "^3.4.0", "warning": "^4.0.0" } diff --git a/packages/uniforms-bootstrap5/src/AutoField.tsx b/packages/uniforms-bootstrap5/src/AutoField.tsx index 33e2d1ea8..6c06f2a05 100644 --- a/packages/uniforms-bootstrap5/src/AutoField.tsx +++ b/packages/uniforms-bootstrap5/src/AutoField.tsx @@ -1,5 +1,6 @@ import invariant from 'invariant'; import { createAutoField } from 'uniforms'; +export { AutoFieldProps } from 'uniforms'; import BoolField from './BoolField'; import DateField from './DateField'; @@ -10,8 +11,6 @@ import RadioField from './RadioField'; import SelectField from './SelectField'; import TextField from './TextField'; -export type AutoFieldProps = Parameters[0]; - const AutoField = createAutoField(props => { if (props.allowedValues) { return props.checkboxes && props.fieldType !== Array diff --git a/packages/uniforms-bootstrap5/src/BoolField.tsx b/packages/uniforms-bootstrap5/src/BoolField.tsx index 60f749435..0c5990720 100644 --- a/packages/uniforms-bootstrap5/src/BoolField.tsx +++ b/packages/uniforms-bootstrap5/src/BoolField.tsx @@ -58,4 +58,4 @@ function Bool({ onChange, ...props }: BoolFieldProps) { ); } -export default connectField(Bool, { kind: 'leaf' }); +export default connectField(Bool, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap5/src/DateField.tsx b/packages/uniforms-bootstrap5/src/DateField.tsx index 43e875b73..efabfa73d 100644 --- a/packages/uniforms-bootstrap5/src/DateField.tsx +++ b/packages/uniforms-bootstrap5/src/DateField.tsx @@ -64,4 +64,4 @@ function Date({ ); } -export default connectField(Date, { kind: 'leaf' }); +export default connectField(Date, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap5/src/ErrorField.tsx b/packages/uniforms-bootstrap5/src/ErrorField.tsx index 26d2e6edb..6b17498f4 100644 --- a/packages/uniforms-bootstrap5/src/ErrorField.tsx +++ b/packages/uniforms-bootstrap5/src/ErrorField.tsx @@ -26,4 +26,7 @@ function Error({ ); } -export default connectField(Error, { initialValue: false, kind: 'leaf' }); +export default connectField(Error, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-bootstrap5/src/ListAddField.tsx b/packages/uniforms-bootstrap5/src/ListAddField.tsx index 763ac4f6b..2388f811c 100644 --- a/packages/uniforms-bootstrap5/src/ListAddField.tsx +++ b/packages/uniforms-bootstrap5/src/ListAddField.tsx @@ -61,4 +61,7 @@ function ListAdd({ ListAdd.defaultProps = { addIcon: }; -export default connectField(ListAdd, { initialValue: false, kind: 'leaf' }); +export default connectField(ListAdd, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-bootstrap5/src/ListDelField.tsx b/packages/uniforms-bootstrap5/src/ListDelField.tsx index 60de2702f..3de075031 100644 --- a/packages/uniforms-bootstrap5/src/ListDelField.tsx +++ b/packages/uniforms-bootstrap5/src/ListDelField.tsx @@ -68,4 +68,7 @@ ListDel.defaultProps = { removeIcon: , }; -export default connectField(ListDel, { initialValue: false, kind: 'leaf' }); +export default connectField(ListDel, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-bootstrap5/src/ListField.tsx b/packages/uniforms-bootstrap5/src/ListField.tsx index 01018cc7e..4e3622950 100644 --- a/packages/uniforms-bootstrap5/src/ListField.tsx +++ b/packages/uniforms-bootstrap5/src/ListField.tsx @@ -74,4 +74,4 @@ function List({ ); } -export default connectField(List); +export default connectField(List); diff --git a/packages/uniforms-bootstrap5/src/ListItemField.tsx b/packages/uniforms-bootstrap5/src/ListItemField.tsx index 1792c4059..71f556e4f 100644 --- a/packages/uniforms-bootstrap5/src/ListItemField.tsx +++ b/packages/uniforms-bootstrap5/src/ListItemField.tsx @@ -25,4 +25,6 @@ function ListItem({ ); } -export default connectField(ListItem, { initialValue: false }); +export default connectField(ListItem, { + initialValue: false, +}); diff --git a/packages/uniforms-bootstrap5/src/LongTextField.tsx b/packages/uniforms-bootstrap5/src/LongTextField.tsx index 2515a7cad..c30542f68 100644 --- a/packages/uniforms-bootstrap5/src/LongTextField.tsx +++ b/packages/uniforms-bootstrap5/src/LongTextField.tsx @@ -31,4 +31,4 @@ function LongText(props: LongTextFieldProps) { ); } -export default connectField(LongText, { kind: 'leaf' }); +export default connectField(LongText, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap5/src/NestField.tsx b/packages/uniforms-bootstrap5/src/NestField.tsx index dd36313b6..2e4413a31 100644 --- a/packages/uniforms-bootstrap5/src/NestField.tsx +++ b/packages/uniforms-bootstrap5/src/NestField.tsx @@ -40,4 +40,4 @@ function Nest({ ); } -export default connectField(Nest); +export default connectField(Nest); diff --git a/packages/uniforms-bootstrap5/src/NumField.tsx b/packages/uniforms-bootstrap5/src/NumField.tsx index 131c882ad..071331362 100644 --- a/packages/uniforms-bootstrap5/src/NumField.tsx +++ b/packages/uniforms-bootstrap5/src/NumField.tsx @@ -42,4 +42,4 @@ function Num(props: NumFieldProps) { ); } -export default connectField(Num, { kind: 'leaf' }); +export default connectField(Num, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap5/src/RadioField.tsx b/packages/uniforms-bootstrap5/src/RadioField.tsx index c80fed06f..e43c4cb92 100644 --- a/packages/uniforms-bootstrap5/src/RadioField.tsx +++ b/packages/uniforms-bootstrap5/src/RadioField.tsx @@ -57,4 +57,4 @@ function Radio(props: RadioFieldProps) { ); } -export default connectField(Radio, { kind: 'leaf' }); +export default connectField(Radio, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap5/src/SelectField.tsx b/packages/uniforms-bootstrap5/src/SelectField.tsx index 6a308fac6..580edf1e4 100644 --- a/packages/uniforms-bootstrap5/src/SelectField.tsx +++ b/packages/uniforms-bootstrap5/src/SelectField.tsx @@ -126,4 +126,4 @@ function Select({ ); } -export default connectField(Select, { kind: 'leaf' }); +export default connectField(Select, { kind: 'leaf' }); diff --git a/packages/uniforms-bootstrap5/src/TextField.tsx b/packages/uniforms-bootstrap5/src/TextField.tsx index 7c99dac4d..bc7464690 100644 --- a/packages/uniforms-bootstrap5/src/TextField.tsx +++ b/packages/uniforms-bootstrap5/src/TextField.tsx @@ -33,4 +33,4 @@ function Text(props: TextFieldProps) { ); } -export default connectField(Text, { kind: 'leaf' }); +export default connectField(Text, { kind: 'leaf' }); diff --git a/packages/uniforms-bridge-graphql/package.json b/packages/uniforms-bridge-graphql/package.json index 3c42ff8bd..323d1637b 100644 --- a/packages/uniforms-bridge-graphql/package.json +++ b/packages/uniforms-bridge-graphql/package.json @@ -29,7 +29,7 @@ "graphql": "^15.0.0", "invariant": "^2.0.0", "lodash": "^4.0.0", - "tslib": "^1.10.0", + "tslib": "^2.2.0", "uniforms": "^3.4.0" } } diff --git a/packages/uniforms-bridge-json-schema/package.json b/packages/uniforms-bridge-json-schema/package.json index ede386df5..ba3dc0a4c 100644 --- a/packages/uniforms-bridge-json-schema/package.json +++ b/packages/uniforms-bridge-json-schema/package.json @@ -28,7 +28,7 @@ "dependencies": { "invariant": "^2.0.0", "lodash": "^4.0.0", - "tslib": "^1.10.0", + "tslib": "^2.2.0", "uniforms": "^3.4.0" } } diff --git a/packages/uniforms-bridge-simple-schema-2/package.json b/packages/uniforms-bridge-simple-schema-2/package.json index 7121264ec..1b37870a8 100644 --- a/packages/uniforms-bridge-simple-schema-2/package.json +++ b/packages/uniforms-bridge-simple-schema-2/package.json @@ -36,7 +36,7 @@ "invariant": "^2.0.0", "lodash": "^4.0.0", "simpl-schema": "^1.0.0 || ^0.0.4", - "tslib": "^1.10.0", + "tslib": "^2.2.0", "uniforms": "^3.4.0" } } diff --git a/packages/uniforms-bridge-simple-schema/__tests__/SimpleSchemaBridge.ts b/packages/uniforms-bridge-simple-schema/__tests__/SimpleSchemaBridge.ts index 91423928c..e47624666 100644 --- a/packages/uniforms-bridge-simple-schema/__tests__/SimpleSchemaBridge.ts +++ b/packages/uniforms-bridge-simple-schema/__tests__/SimpleSchemaBridge.ts @@ -10,8 +10,7 @@ describe('SimpleSchemaBridge', () => { // Simulate SimpleSchema. name = name.replace(/\d+/g, '$'); - // @ts-expect-error: Dynamic `name`. - const field = { + const field: Record | undefined = { a: { type: Object, label: name }, 'a.b': { type: Object, label: name }, 'a.b.c': { type: String, label: name }, diff --git a/packages/uniforms-bridge-simple-schema/package.json b/packages/uniforms-bridge-simple-schema/package.json index 6b74b3c82..ab8ea0c20 100644 --- a/packages/uniforms-bridge-simple-schema/package.json +++ b/packages/uniforms-bridge-simple-schema/package.json @@ -35,7 +35,7 @@ "dependencies": { "invariant": "^2.0.0", "lodash": "^4.0.0", - "tslib": "^1.10.0", + "tslib": "^2.2.0", "uniforms": "^3.4.0" } } diff --git a/packages/uniforms-material/package.json b/packages/uniforms-material/package.json index 715990f70..a6e975699 100644 --- a/packages/uniforms-material/package.json +++ b/packages/uniforms-material/package.json @@ -34,7 +34,7 @@ "dependencies": { "invariant": "^2.0.0", "lodash": "^4.0.0", - "tslib": "^1.10.0", + "tslib": "^2.2.0", "uniforms": "^3.4.0" } } diff --git a/packages/uniforms-material/src/AutoField.tsx b/packages/uniforms-material/src/AutoField.tsx index 33e2d1ea8..6c06f2a05 100644 --- a/packages/uniforms-material/src/AutoField.tsx +++ b/packages/uniforms-material/src/AutoField.tsx @@ -1,5 +1,6 @@ import invariant from 'invariant'; import { createAutoField } from 'uniforms'; +export { AutoFieldProps } from 'uniforms'; import BoolField from './BoolField'; import DateField from './DateField'; @@ -10,8 +11,6 @@ import RadioField from './RadioField'; import SelectField from './SelectField'; import TextField from './TextField'; -export type AutoFieldProps = Parameters[0]; - const AutoField = createAutoField(props => { if (props.allowedValues) { return props.checkboxes && props.fieldType !== Array diff --git a/packages/uniforms-material/src/BoolField.tsx b/packages/uniforms-material/src/BoolField.tsx index 1a524b3d5..07c82eedc 100644 --- a/packages/uniforms-material/src/BoolField.tsx +++ b/packages/uniforms-material/src/BoolField.tsx @@ -66,4 +66,4 @@ function Bool(props: BoolFieldProps) { ); } -export default connectField(Bool, { kind: 'leaf' }); +export default connectField(Bool, { kind: 'leaf' }); diff --git a/packages/uniforms-material/src/DateField.tsx b/packages/uniforms-material/src/DateField.tsx index 452c5bf15..cab649724 100644 --- a/packages/uniforms-material/src/DateField.tsx +++ b/packages/uniforms-material/src/DateField.tsx @@ -61,4 +61,4 @@ function Date({ ); } -export default connectField(Date, { kind: 'leaf' }); +export default connectField(Date, { kind: 'leaf' }); diff --git a/packages/uniforms-material/src/ErrorField.tsx b/packages/uniforms-material/src/ErrorField.tsx index 50f6a34db..f01658d34 100644 --- a/packages/uniforms-material/src/ErrorField.tsx +++ b/packages/uniforms-material/src/ErrorField.tsx @@ -33,4 +33,7 @@ function Error({ ); } -export default connectField(Error, { initialValue: false, kind: 'leaf' }); +export default connectField(Error, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-material/src/ListAddField.tsx b/packages/uniforms-material/src/ListAddField.tsx index cc948c14a..1330f4802 100644 --- a/packages/uniforms-material/src/ListAddField.tsx +++ b/packages/uniforms-material/src/ListAddField.tsx @@ -61,4 +61,7 @@ function ListAdd({ ); } -export default connectField(ListAdd, { initialValue: false, kind: 'leaf' }); +export default connectField(ListAdd, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-material/src/ListDelField.tsx b/packages/uniforms-material/src/ListDelField.tsx index e0acc0595..e157c92ef 100644 --- a/packages/uniforms-material/src/ListDelField.tsx +++ b/packages/uniforms-material/src/ListDelField.tsx @@ -50,4 +50,7 @@ function ListDel({ ); } -export default connectField(ListDel, { initialValue: false, kind: 'leaf' }); +export default connectField(ListDel, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-material/src/ListField.tsx b/packages/uniforms-material/src/ListField.tsx index 20f4091ff..32d013c2b 100644 --- a/packages/uniforms-material/src/ListField.tsx +++ b/packages/uniforms-material/src/ListField.tsx @@ -54,4 +54,4 @@ function List({ ); } -export default connectField(List); +export default connectField(List); diff --git a/packages/uniforms-material/src/ListItemField.tsx b/packages/uniforms-material/src/ListItemField.tsx index 092c4ea29..c844e23a0 100644 --- a/packages/uniforms-material/src/ListItemField.tsx +++ b/packages/uniforms-material/src/ListItemField.tsx @@ -33,4 +33,6 @@ function ListItem({ ); } -export default connectField(ListItem, { initialValue: false }); +export default connectField(ListItem, { + initialValue: false, +}); diff --git a/packages/uniforms-material/src/LongTextField.tsx b/packages/uniforms-material/src/LongTextField.tsx index 407f404e8..a791f27ad 100644 --- a/packages/uniforms-material/src/LongTextField.tsx +++ b/packages/uniforms-material/src/LongTextField.tsx @@ -39,4 +39,4 @@ const LongText = ({ /> ); -export default connectField(LongText, { kind: 'leaf' }); +export default connectField(LongText, { kind: 'leaf' }); diff --git a/packages/uniforms-material/src/NestField.tsx b/packages/uniforms-material/src/NestField.tsx index cd27f772a..dca32b486 100644 --- a/packages/uniforms-material/src/NestField.tsx +++ b/packages/uniforms-material/src/NestField.tsx @@ -31,4 +31,4 @@ function Nest({ ); } -export default connectField(Nest); +export default connectField(Nest); diff --git a/packages/uniforms-material/src/NumField.tsx b/packages/uniforms-material/src/NumField.tsx index d48cf7ba7..2f1351535 100644 --- a/packages/uniforms-material/src/NumField.tsx +++ b/packages/uniforms-material/src/NumField.tsx @@ -58,4 +58,4 @@ function Num({ ); } -export default connectField(Num, { kind: 'leaf' }); +export default connectField(Num, { kind: 'leaf' }); diff --git a/packages/uniforms-material/src/RadioField.tsx b/packages/uniforms-material/src/RadioField.tsx index ea54840c0..3c3889ccb 100644 --- a/packages/uniforms-material/src/RadioField.tsx +++ b/packages/uniforms-material/src/RadioField.tsx @@ -71,4 +71,4 @@ function Radio({ ); } -export default connectField(Radio, { kind: 'leaf' }); +export default connectField(Radio, { kind: 'leaf' }); diff --git a/packages/uniforms-material/src/SelectField.tsx b/packages/uniforms-material/src/SelectField.tsx index ca4d1a962..696b1a3d4 100644 --- a/packages/uniforms-material/src/SelectField.tsx +++ b/packages/uniforms-material/src/SelectField.tsx @@ -229,4 +229,4 @@ function Select(props: SelectFieldProps) { ); } -export default connectField(Select, { kind: 'leaf' }); +export default connectField(Select, { kind: 'leaf' }); diff --git a/packages/uniforms-material/src/TextField.tsx b/packages/uniforms-material/src/TextField.tsx index 76b11d9c1..7c320c500 100644 --- a/packages/uniforms-material/src/TextField.tsx +++ b/packages/uniforms-material/src/TextField.tsx @@ -40,4 +40,4 @@ function Text({ ); } -export default connectField(Text, { kind: 'leaf' }); +export default connectField(Text, { kind: 'leaf' }); diff --git a/packages/uniforms-semantic/package.json b/packages/uniforms-semantic/package.json index 5acbf7f66..9e189adf8 100644 --- a/packages/uniforms-semantic/package.json +++ b/packages/uniforms-semantic/package.json @@ -34,7 +34,7 @@ "classnames": "^2.0.0", "invariant": "^2.0.0", "lodash": "^4.0.0", - "tslib": "^1.10.0", + "tslib": "^2.2.0", "uniforms": "^3.4.0" } } diff --git a/packages/uniforms-semantic/src/AutoField.tsx b/packages/uniforms-semantic/src/AutoField.tsx index 33e2d1ea8..6c06f2a05 100644 --- a/packages/uniforms-semantic/src/AutoField.tsx +++ b/packages/uniforms-semantic/src/AutoField.tsx @@ -1,5 +1,6 @@ import invariant from 'invariant'; import { createAutoField } from 'uniforms'; +export { AutoFieldProps } from 'uniforms'; import BoolField from './BoolField'; import DateField from './DateField'; @@ -10,8 +11,6 @@ import RadioField from './RadioField'; import SelectField from './SelectField'; import TextField from './TextField'; -export type AutoFieldProps = Parameters[0]; - const AutoField = createAutoField(props => { if (props.allowedValues) { return props.checkboxes && props.fieldType !== Array diff --git a/packages/uniforms-semantic/src/BoolField.tsx b/packages/uniforms-semantic/src/BoolField.tsx index 10ef1d2fa..ebc47404e 100644 --- a/packages/uniforms-semantic/src/BoolField.tsx +++ b/packages/uniforms-semantic/src/BoolField.tsx @@ -64,4 +64,4 @@ function Bool({ ); } -export default connectField(Bool, { kind: 'leaf' }); +export default connectField(Bool, { kind: 'leaf' }); diff --git a/packages/uniforms-semantic/src/DateField.tsx b/packages/uniforms-semantic/src/DateField.tsx index b1932c747..84ceed0e1 100644 --- a/packages/uniforms-semantic/src/DateField.tsx +++ b/packages/uniforms-semantic/src/DateField.tsx @@ -91,4 +91,4 @@ function Date({ ); } -export default connectField(Date, { kind: 'leaf' }); +export default connectField(Date, { kind: 'leaf' }); diff --git a/packages/uniforms-semantic/src/ErrorField.tsx b/packages/uniforms-semantic/src/ErrorField.tsx index 0e0ecdf30..61e7a44a9 100644 --- a/packages/uniforms-semantic/src/ErrorField.tsx +++ b/packages/uniforms-semantic/src/ErrorField.tsx @@ -24,4 +24,7 @@ function Error({ ); } -export default connectField(Error, { initialValue: false, kind: 'leaf' }); +export default connectField(Error, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-semantic/src/ListAddField.tsx b/packages/uniforms-semantic/src/ListAddField.tsx index f8f1b9191..8db27fdcd 100644 --- a/packages/uniforms-semantic/src/ListAddField.tsx +++ b/packages/uniforms-semantic/src/ListAddField.tsx @@ -60,4 +60,7 @@ function ListAdd({ ); } -export default connectField(ListAdd, { initialValue: false, kind: 'leaf' }); +export default connectField(ListAdd, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-semantic/src/ListDelField.tsx b/packages/uniforms-semantic/src/ListDelField.tsx index 3899be485..bc7c3a45a 100644 --- a/packages/uniforms-semantic/src/ListDelField.tsx +++ b/packages/uniforms-semantic/src/ListDelField.tsx @@ -60,4 +60,7 @@ function ListDel({ disabled, name, readOnly, ...props }: ListDelFieldProps) { ); } -export default connectField(ListDel, { initialValue: false, kind: 'leaf' }); +export default connectField(ListDel, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-semantic/src/ListField.tsx b/packages/uniforms-semantic/src/ListField.tsx index a51e976fe..4d833bd21 100644 --- a/packages/uniforms-semantic/src/ListField.tsx +++ b/packages/uniforms-semantic/src/ListField.tsx @@ -70,4 +70,4 @@ function List({ ); } -export default connectField(List); +export default connectField(List); diff --git a/packages/uniforms-semantic/src/ListItemField.tsx b/packages/uniforms-semantic/src/ListItemField.tsx index 4469ec210..7235ba06e 100644 --- a/packages/uniforms-semantic/src/ListItemField.tsx +++ b/packages/uniforms-semantic/src/ListItemField.tsx @@ -23,4 +23,6 @@ function ListItem({ ); } -export default connectField(ListItem, { initialValue: false }); +export default connectField(ListItem, { + initialValue: false, +}); diff --git a/packages/uniforms-semantic/src/LongTextField.tsx b/packages/uniforms-semantic/src/LongTextField.tsx index 550f188bc..79e95e9ae 100644 --- a/packages/uniforms-semantic/src/LongTextField.tsx +++ b/packages/uniforms-semantic/src/LongTextField.tsx @@ -50,4 +50,4 @@ function LongText({ ); } -export default connectField(LongText, { kind: 'leaf' }); +export default connectField(LongText, { kind: 'leaf' }); diff --git a/packages/uniforms-semantic/src/NestField.tsx b/packages/uniforms-semantic/src/NestField.tsx index 1eac14802..1f3bed937 100644 --- a/packages/uniforms-semantic/src/NestField.tsx +++ b/packages/uniforms-semantic/src/NestField.tsx @@ -48,4 +48,4 @@ function Nest({ Nest.defaultProps = { grouped: true }; -export default connectField(Nest); +export default connectField(Nest); diff --git a/packages/uniforms-semantic/src/NumField.tsx b/packages/uniforms-semantic/src/NumField.tsx index de5bf2d61..9b3b7f4f2 100644 --- a/packages/uniforms-semantic/src/NumField.tsx +++ b/packages/uniforms-semantic/src/NumField.tsx @@ -86,4 +86,4 @@ function Num({ ); } -export default connectField(Num, { kind: 'leaf' }); +export default connectField(Num, { kind: 'leaf' }); diff --git a/packages/uniforms-semantic/src/RadioField.tsx b/packages/uniforms-semantic/src/RadioField.tsx index 76aa99100..8d35830c5 100644 --- a/packages/uniforms-semantic/src/RadioField.tsx +++ b/packages/uniforms-semantic/src/RadioField.tsx @@ -77,4 +77,4 @@ function Radio({ ); } -export default connectField(Radio, { kind: 'leaf' }); +export default connectField(Radio, { kind: 'leaf' }); diff --git a/packages/uniforms-semantic/src/SelectField.tsx b/packages/uniforms-semantic/src/SelectField.tsx index e6d3ce9fb..e1048e093 100644 --- a/packages/uniforms-semantic/src/SelectField.tsx +++ b/packages/uniforms-semantic/src/SelectField.tsx @@ -120,4 +120,4 @@ function Select({ ); } -export default connectField(Select, { kind: 'leaf' }); +export default connectField(Select, { kind: 'leaf' }); diff --git a/packages/uniforms-semantic/src/TextField.tsx b/packages/uniforms-semantic/src/TextField.tsx index 586044865..2f8371873 100644 --- a/packages/uniforms-semantic/src/TextField.tsx +++ b/packages/uniforms-semantic/src/TextField.tsx @@ -79,4 +79,4 @@ function Text({ Text.defaultProps = { type: 'text' }; -export default connectField(Text, { kind: 'leaf' }); +export default connectField(Text, { kind: 'leaf' }); diff --git a/packages/uniforms-unstyled/package.json b/packages/uniforms-unstyled/package.json index 708b8ca07..fefd1c3a2 100644 --- a/packages/uniforms-unstyled/package.json +++ b/packages/uniforms-unstyled/package.json @@ -32,7 +32,7 @@ "dependencies": { "invariant": "^2.0.0", "lodash": "^4.0.0", - "tslib": "^1.10.0", + "tslib": "^2.2.0", "uniforms": "^3.4.0" } } diff --git a/packages/uniforms-unstyled/src/AutoField.tsx b/packages/uniforms-unstyled/src/AutoField.tsx index 33e2d1ea8..6c06f2a05 100644 --- a/packages/uniforms-unstyled/src/AutoField.tsx +++ b/packages/uniforms-unstyled/src/AutoField.tsx @@ -1,5 +1,6 @@ import invariant from 'invariant'; import { createAutoField } from 'uniforms'; +export { AutoFieldProps } from 'uniforms'; import BoolField from './BoolField'; import DateField from './DateField'; @@ -10,8 +11,6 @@ import RadioField from './RadioField'; import SelectField from './SelectField'; import TextField from './TextField'; -export type AutoFieldProps = Parameters[0]; - const AutoField = createAutoField(props => { if (props.allowedValues) { return props.checkboxes && props.fieldType !== Array diff --git a/packages/uniforms-unstyled/src/BoolField.tsx b/packages/uniforms-unstyled/src/BoolField.tsx index 48f665a79..154a93ac9 100644 --- a/packages/uniforms-unstyled/src/BoolField.tsx +++ b/packages/uniforms-unstyled/src/BoolField.tsx @@ -35,4 +35,4 @@ function Bool({ ); } -export default connectField(Bool, { kind: 'leaf' }); +export default connectField(Bool, { kind: 'leaf' }); diff --git a/packages/uniforms-unstyled/src/DateField.tsx b/packages/uniforms-unstyled/src/DateField.tsx index 70c5b1d9c..6b9255ccd 100644 --- a/packages/uniforms-unstyled/src/DateField.tsx +++ b/packages/uniforms-unstyled/src/DateField.tsx @@ -53,4 +53,4 @@ function Date({ ); } -export default connectField(Date, { kind: 'leaf' }); +export default connectField(Date, { kind: 'leaf' }); diff --git a/packages/uniforms-unstyled/src/ErrorField.tsx b/packages/uniforms-unstyled/src/ErrorField.tsx index 436b65fe9..925a65aad 100644 --- a/packages/uniforms-unstyled/src/ErrorField.tsx +++ b/packages/uniforms-unstyled/src/ErrorField.tsx @@ -12,4 +12,7 @@ function Error({ children, error, errorMessage, ...props }: ErrorFieldProps) { ); } -export default connectField(Error, { initialValue: false, kind: 'leaf' }); +export default connectField(Error, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-unstyled/src/ListAddField.tsx b/packages/uniforms-unstyled/src/ListAddField.tsx index 449e73101..d53fffe07 100644 --- a/packages/uniforms-unstyled/src/ListAddField.tsx +++ b/packages/uniforms-unstyled/src/ListAddField.tsx @@ -55,4 +55,7 @@ function ListAdd({ ); } -export default connectField(ListAdd, { initialValue: false, kind: 'leaf' }); +export default connectField(ListAdd, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-unstyled/src/ListDelField.tsx b/packages/uniforms-unstyled/src/ListDelField.tsx index 4971d2057..32fe6da78 100644 --- a/packages/uniforms-unstyled/src/ListDelField.tsx +++ b/packages/uniforms-unstyled/src/ListDelField.tsx @@ -51,4 +51,7 @@ function ListDel({ disabled, name, readOnly, ...props }: ListDelFieldProps) { ); } -export default connectField(ListDel, { initialValue: false, kind: 'leaf' }); +export default connectField(ListDel, { + initialValue: false, + kind: 'leaf', +}); diff --git a/packages/uniforms-unstyled/src/ListField.tsx b/packages/uniforms-unstyled/src/ListField.tsx index a54619800..417e4ec01 100644 --- a/packages/uniforms-unstyled/src/ListField.tsx +++ b/packages/uniforms-unstyled/src/ListField.tsx @@ -42,4 +42,4 @@ function List({ ); } -export default connectField(List); +export default connectField(List); diff --git a/packages/uniforms-unstyled/src/ListItemField.tsx b/packages/uniforms-unstyled/src/ListItemField.tsx index 423b29d64..b7612571d 100644 --- a/packages/uniforms-unstyled/src/ListItemField.tsx +++ b/packages/uniforms-unstyled/src/ListItemField.tsx @@ -17,4 +17,6 @@ function ListItem({ ); } -export default connectField(ListItem, { initialValue: false }); +export default connectField(ListItem, { + initialValue: false, +}); diff --git a/packages/uniforms-unstyled/src/LongTextField.tsx b/packages/uniforms-unstyled/src/LongTextField.tsx index aa4208529..b93fa8fbc 100644 --- a/packages/uniforms-unstyled/src/LongTextField.tsx +++ b/packages/uniforms-unstyled/src/LongTextField.tsx @@ -37,4 +37,4 @@ function LongText({ ); } -export default connectField(LongText, { kind: 'leaf' }); +export default connectField(LongText, { kind: 'leaf' }); diff --git a/packages/uniforms-unstyled/src/NestField.tsx b/packages/uniforms-unstyled/src/NestField.tsx index 40ec7af8d..e92eaa79f 100644 --- a/packages/uniforms-unstyled/src/NestField.tsx +++ b/packages/uniforms-unstyled/src/NestField.tsx @@ -27,4 +27,4 @@ function Nest({ ); } -export default connectField(Nest); +export default connectField(Nest); diff --git a/packages/uniforms-unstyled/src/NumField.tsx b/packages/uniforms-unstyled/src/NumField.tsx index 8dcc917b5..2005ac41c 100644 --- a/packages/uniforms-unstyled/src/NumField.tsx +++ b/packages/uniforms-unstyled/src/NumField.tsx @@ -49,4 +49,4 @@ function Num({ ); } -export default connectField(Num, { kind: 'leaf' }); +export default connectField(Num, { kind: 'leaf' }); diff --git a/packages/uniforms-unstyled/src/RadioField.tsx b/packages/uniforms-unstyled/src/RadioField.tsx index d9f937178..11d7027ba 100644 --- a/packages/uniforms-unstyled/src/RadioField.tsx +++ b/packages/uniforms-unstyled/src/RadioField.tsx @@ -58,4 +58,4 @@ function Radio({ ); } -export default connectField(Radio, { kind: 'leaf' }); +export default connectField(Radio, { kind: 'leaf' }); diff --git a/packages/uniforms-unstyled/src/SelectField.tsx b/packages/uniforms-unstyled/src/SelectField.tsx index 6023e7746..fba11664d 100644 --- a/packages/uniforms-unstyled/src/SelectField.tsx +++ b/packages/uniforms-unstyled/src/SelectField.tsx @@ -102,4 +102,4 @@ function Select({ ); } -export default connectField(Select, { kind: 'leaf' }); +export default connectField(Select, { kind: 'leaf' }); diff --git a/packages/uniforms-unstyled/src/TextField.tsx b/packages/uniforms-unstyled/src/TextField.tsx index c20bcc270..4edc99130 100644 --- a/packages/uniforms-unstyled/src/TextField.tsx +++ b/packages/uniforms-unstyled/src/TextField.tsx @@ -43,4 +43,4 @@ function Text({ Text.defaultProps = { type: 'text' }; -export default connectField(Text, { kind: 'leaf' }); +export default connectField(Text, { kind: 'leaf' }); diff --git a/packages/uniforms/package.json b/packages/uniforms/package.json index 038d06d9b..8eebbde7b 100644 --- a/packages/uniforms/package.json +++ b/packages/uniforms/package.json @@ -39,6 +39,6 @@ "dependencies": { "invariant": "^2.0.0", "lodash": "^4.0.0", - "tslib": "^1.10.0" + "tslib": "^2.2.0" } } diff --git a/packages/uniforms/src/connectField.tsx b/packages/uniforms/src/connectField.tsx index 8e4245a28..2ed0ca4ee 100644 --- a/packages/uniforms/src/connectField.tsx +++ b/packages/uniforms/src/connectField.tsx @@ -6,32 +6,50 @@ import { context as contextReference } from './context'; import { GuaranteedProps, Override } from './types'; import { useField } from './useField'; +/** @internal */ +export type ConnectFieldOptions = { + initialValue?: boolean; + kind?: 'leaf' | 'node'; +}; + +/** @internal */ +export type ConnectedFieldProps< + Props extends Record, + Value = Props['value'] +> = Override< + Props, + Override< + Partial>, + { + label?: Props['label'] | boolean | null | string; + name: string; + placeholder?: Props['placeholder'] | boolean | null | string; + } + > +>; + +/** @internal */ +export type ConnectedField< + Props extends Record, + Value = Props['value'] +> = FunctionComponent> & { + Component: ComponentType; + options?: ConnectFieldOptions; +}; + export function connectField< - Props extends Partial>, + Props extends Record, Value = Props['value'] >( Component: ComponentType, - options?: { initialValue?: boolean; kind?: 'leaf' | 'node' }, -) { - type FieldProps = Override< - Props, - Override< - Partial>, - { - label?: Props['label'] | boolean | null | string; - name: string; - placeholder?: Props['placeholder'] | boolean | null | string; - } - > - >; - - function Field(props: FieldProps) { + options?: ConnectFieldOptions, +): ConnectedField { + function Field(props: ConnectedFieldProps) { const [fieldProps, context] = useField(props.name, props, options); const hasChainName = props.name !== ''; const anyFlowingPropertySet = some( context.state, - // @ts-expect-error: `props` has no index signature. (_, key) => props[key] !== null && props[key] !== undefined, ); @@ -42,7 +60,6 @@ export function connectField< const nextContext = { ...context }; if (anyFlowingPropertySet) { nextContext.state = mapValues(nextContext.state, (value, key) => - // @ts-expect-error: `props` has no index signature. props[key] !== null && props[key] !== undefined ? !!props[key] : value, ); } @@ -60,8 +77,5 @@ export function connectField< Field.displayName = `${Component.displayName || Component.name}Field`; - return Object.assign(Field as FunctionComponent, { - Component, - options, - }); + return Object.assign(Field, { Component, options }); } diff --git a/packages/uniforms/src/createAutoField.tsx b/packages/uniforms/src/createAutoField.tsx index 43f55d7fd..7215c3eb6 100644 --- a/packages/uniforms/src/createAutoField.tsx +++ b/packages/uniforms/src/createAutoField.tsx @@ -1,18 +1,25 @@ import invariant from 'invariant'; -import { ComponentType, createContext, createElement, useContext } from 'react'; +import { + ComponentType, + ReactElement, + createContext, + createElement, + useContext, +} from 'react'; import { connectField } from './connectField'; -import { Context, Override } from './types'; +import { Context } from './types'; import { useField } from './useField'; -type AutoFieldProps = Override< - Record, - { component?: Component; name: string } ->; +export type AutoFieldProps = { + component?: Component; + name: string; + [prop: string]: unknown; +}; -type Component = ComponentType | ReturnType; +export type Component = ComponentType | ReturnType; -type ComponentDetector = ( +export type ComponentDetector = ( props: ReturnType[0], uniforms: Context, ) => Component; @@ -20,7 +27,7 @@ type ComponentDetector = ( export function createAutoField(defaultComponentDetector: ComponentDetector) { const context = createContext(defaultComponentDetector); - function AutoField(rawProps: AutoFieldProps) { + function AutoField(rawProps: AutoFieldProps): ReactElement { const [props, uniforms] = useField(rawProps.name, rawProps); const componentDetector = useContext(context); const component = props.component ?? componentDetector(props, uniforms); @@ -32,8 +39,8 @@ export function createAutoField(defaultComponentDetector: ComponentDetector) { : createElement(component, rawProps); } - AutoField.componentDetectorContext = context; - AutoField.defaultComponentDetector = defaultComponentDetector; - - return AutoField; + return Object.assign(AutoField, { + componentDetectorContext: context, + defaultComponentDetector, + }); } diff --git a/packages/uniforms/src/filterDOMProps.ts b/packages/uniforms/src/filterDOMProps.ts index c6ef302cd..e2474eff9 100644 --- a/packages/uniforms/src/filterDOMProps.ts +++ b/packages/uniforms/src/filterDOMProps.ts @@ -1,15 +1,16 @@ import { FilterDOMProps } from '.'; -type FilterDOMPropsKeys = keyof FilterDOMProps; +/** @internal */ +export type FilterDOMPropsKeys = keyof FilterDOMProps; const registered: FilterDOMPropsKeys[] = []; -const registeredCache = new Set(); +const registeredCache = new Set(); export const filterDOMProps = Object.assign( function filterDOMProps(props: T) { const filteredProps = { ...props }; for (const prop in props) { - if (registeredCache.has(prop)) { + if (registeredCache.has(prop as FilterDOMPropsKeys)) { delete filteredProps[prop]; } } @@ -25,7 +26,7 @@ export const filterDOMProps = Object.assign( } }); - props.sort(); + registered.sort(); }, registered: registered as readonly FilterDOMPropsKeys[], }, diff --git a/website/pages-parts/Tutorial/ImageField.tsx b/website/pages-parts/Tutorial/ImageField.tsx index 865fe3084..fef1de1b9 100644 --- a/website/pages-parts/Tutorial/ImageField.tsx +++ b/website/pages-parts/Tutorial/ImageField.tsx @@ -1,9 +1,9 @@ import React from 'react'; import { HTMLFieldProps, connectField } from 'uniforms'; -type ImageProps = HTMLFieldProps; +export type ImageFieldProps = HTMLFieldProps; -function Image({ onChange, value }: ImageProps) { +function Image({ onChange, value }: ImageFieldProps) { return (