From a0d2ecee6c0286057a7047e5cbc7043eedddec07 Mon Sep 17 00:00:00 2001 From: Sam Brown Date: Tue, 10 Jan 2023 14:04:09 +0000 Subject: [PATCH] Update several dependencies, improve safety, add test script (#119) * Update several dependencies * Update badges * Various safety and lint improvements These are required to satisfy some new dependencies which exposed some safety and linting issues that were previously being overlooked * Update test expectations, add script to automate that --- CONTRIBUTING.md | 6 + generated/avg-maintainability.svg | 8 +- generated/worst-maintainability.svg | 8 +- package.json | 12 +- samples/contains-some-bad-code/expected.json | 239 +- samples/react-component-flow/expected.json | 112 +- .../react-component-typescript/expected.json | 150 +- samples/react-component/expected.json | 123 +- samples/simple-class/expected.json | 62 +- samples/simple-es6-imports/expected.json | 146 +- samples/sweetalert/expected.json | 5506 ++++++++++------- src/analyze.ts | 6 +- src/badge.ts | 2 +- src/codehawk.test.ts | 38 +- src/codehawk.ts | 13 +- src/dependencies.ts | 12 +- src/options.ts | 23 +- src/traverseProject.ts | 2 +- src/types/codehawk.ts | 5 + src/updateExpectedOutputs.ts | 23 + src/utils/blocklist.ts | 24 +- src/utils/entities.ts | 13 +- src/utils/tree.ts | 5 +- tsconfig.json | 28 +- yarn.lock | 1796 +++--- 25 files changed, 4997 insertions(+), 3365 deletions(-) create mode 100644 src/updateExpectedOutputs.ts diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dd489c6..3cf2c4a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -62,6 +62,12 @@ Note: the badges for codehawk-cli are tracked in git because - There is currently no 3rd party API that can fetch codehawk results remotely - There are no plans to expose codehawk results outside of a project +# Updating tests when changes result in materially different outputs + +There is now a script to update all the static `expected.json` files: `yarn run test:updateexpectations`. + +Note that this script runs "blind", i.e. assumes that the output is correct, and writes it to file, discarding whatever was there before. It's up to you to ensure that the changes are correct / valid. + ## Releasing new versions Note: currently, only the project owner (sgb-io) has access to publish new versions to npm. diff --git a/generated/avg-maintainability.svg b/generated/avg-maintainability.svg index 9bb7f78..694f881 100644 --- a/generated/avg-maintainability.svg +++ b/generated/avg-maintainability.svg @@ -1,5 +1,5 @@ - - maintainability (avg): 56.26 + + maintainability (avg): 58.30 @@ -13,8 +13,8 @@ \ No newline at end of file diff --git a/generated/worst-maintainability.svg b/generated/worst-maintainability.svg index 523df7e..73149a9 100644 --- a/generated/worst-maintainability.svg +++ b/generated/worst-maintainability.svg @@ -1,5 +1,5 @@ - - maintainability (worst): 46.65 + + maintainability (worst): 46.73 @@ -13,8 +13,8 @@ \ No newline at end of file diff --git a/package.json b/package.json index d5e9cb8..9a51f69 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "test:coverage": "jest --coverage", "test:watch": "jest --watch", "test": "jest --testTimeout 15000", - "verify": "yarn build && yarn test && yarn lint && yarn prettier && yarn reflect && yarn isclean" + "verify": "yarn build && yarn test && yarn lint && yarn prettier && yarn reflect && yarn isclean", + "test:updateexpectations": "ts-node --files src/updateExpectedOutputs.ts" }, "author": "Sam Brown (https://github.com/sgb-io)", "repository": { @@ -30,8 +31,8 @@ }, "license": "MIT", "dependencies": { - "@babel/core": "^7.18.6", - "@babel/plugin-transform-typescript": "^7.18.6", + "@babel/core": "^7.20.12", + "@babel/plugin-transform-typescript": "^7.20.7", "badgen": "^3.2.2", "flow-remove-types": "^2.111.3", "is-dotdir": "^1.0.1", @@ -57,10 +58,11 @@ "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-promise": "4", "eslint-plugin-standard": "4", - "jest": "^28.1.2", + "jest": "^28.1.3", "np": "^7.6.2", "prettier": "^2.7.1", - "ts-jest": "^28.0.5", + "ts-jest": "^28.0.8", + "ts-node": "^10.9.1", "typescript": "^4.7.4" }, "files": [ diff --git a/samples/contains-some-bad-code/expected.json b/samples/contains-some-bad-code/expected.json index 589ce42..76a8508 100644 --- a/samples/contains-some-bad-code/expected.json +++ b/samples/contains-some-bad-code/expected.json @@ -1,97 +1,142 @@ -{ - "summary": { - "average": 58.93321508519464, - "median": 58.93321508519464, - "worst": 58.93321508519464 - }, - "resultsList": [ - { - "fullPath": "/samples/contains-some-bad-code/good-code.ts", - "filename": "good-code.ts", - "shouldAnalyze": true, - "path": "/samples/contains-some-bad-code", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 11, - "cyclomaticDensity": 37.931, - "halstead": { - "bugs": 0.217, - "difficulty": 35.889, - "effort": 23378.702, - "length": 127, - "time": 1298.817, - "vocabulary": 35, - "volume": 651.419, - "operands": { "distinct": 18, "total": 76 }, - "operators": { "distinct": 17, "total": 51 } - }, - "paramCount": 9, - "sloc": { "logical": 29, "physical": 50 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 50, - "lineStart": 1, - "maintainability": 108.234, - "codehawkScore": 58.93321508519464, - "coverage": "0" - }, - "timesDependedOn": 0 - } - ], - "fullResultsTree": [ - { - "fullPath": "/samples/contains-some-bad-code/bad-code.ts", - "filename": "bad-code.ts", - "shouldAnalyze": true, - "path": "/samples/contains-some-bad-code", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/contains-some-bad-code/expected.json", - "filename": "expected.json", - "shouldAnalyze": false, - "path": "/samples/contains-some-bad-code", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/contains-some-bad-code/good-code.ts", - "filename": "good-code.ts", - "shouldAnalyze": true, - "path": "/samples/contains-some-bad-code", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 11, - "cyclomaticDensity": 37.931, - "halstead": { - "bugs": 0.217, - "difficulty": 35.889, - "effort": 23378.702, - "length": 127, - "time": 1298.817, - "vocabulary": 35, - "volume": 651.419, - "operands": { "distinct": 18, "total": 76 }, - "operators": { "distinct": 17, "total": 51 } - }, - "paramCount": 9, - "sloc": { "logical": 29, "physical": 50 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 50, - "lineStart": 1, - "maintainability": 108.234, - "codehawkScore": 58.93321508519464, - "coverage": "0" - }, - "timesDependedOn": 0 - } - ] -} +{ + "options": { + "badgesDirectory": [ + "/generated" + ], + "extensions": [ + ".js", + ".jsx", + ".ts", + ".tsx" + ], + "excludeDirectories": [ + "/dist", + "/bin", + "/build" + ], + "excludeExact": [], + "excludeFilenames": [ + ".d.ts", + ".min.js", + ".bundle.js" + ], + "skipDirectories": [ + "/node_modules", + "/flow-typed", + "/coverage" + ], + "minimumThreshold": 10, + "cliOutputLimit": 25 + }, + "summary": { + "average": 60.8132766099468, + "median": 60.8132766099468, + "worst": 60.8132766099468 + }, + "resultsList": [ + { + "fullPath": "/samples/contains-some-bad-code/good-code.ts", + "filename": "good-code.ts", + "shouldAnalyze": true, + "path": "/samples/contains-some-bad-code", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 11, + "cyclomaticDensity": 37.931, + "halstead": { + "bugs": 0.217, + "difficulty": 35.889, + "effort": 23378.702, + "length": 127, + "time": 1298.817, + "vocabulary": 35, + "volume": 651.419, + "operands": { + "distinct": 18, + "total": 76 + }, + "operators": { + "distinct": 17, + "total": 51 + } + }, + "paramCount": 9, + "sloc": { + "logical": 29, + "physical": 41 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 41, + "lineStart": 1, + "maintainability": 108.234, + "codehawkScore": 60.8132766099468, + "coverage": "0" + }, + "timesDependedOn": 0 + } + ], + "fullResultsTree": [ + { + "fullPath": "/samples/contains-some-bad-code/bad-code.ts", + "filename": "bad-code.ts", + "shouldAnalyze": true, + "path": "/samples/contains-some-bad-code", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/contains-some-bad-code/expected.json", + "filename": "expected.json", + "shouldAnalyze": false, + "path": "/samples/contains-some-bad-code", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/contains-some-bad-code/good-code.ts", + "filename": "good-code.ts", + "shouldAnalyze": true, + "path": "/samples/contains-some-bad-code", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 11, + "cyclomaticDensity": 37.931, + "halstead": { + "bugs": 0.217, + "difficulty": 35.889, + "effort": 23378.702, + "length": 127, + "time": 1298.817, + "vocabulary": 35, + "volume": 651.419, + "operands": { + "distinct": 18, + "total": 76 + }, + "operators": { + "distinct": 17, + "total": 51 + } + }, + "paramCount": 9, + "sloc": { + "logical": 29, + "physical": 41 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 41, + "lineStart": 1, + "maintainability": 108.234, + "codehawkScore": 60.8132766099468, + "coverage": "0" + }, + "timesDependedOn": 0 + } + ] +} \ No newline at end of file diff --git a/samples/react-component-flow/expected.json b/samples/react-component-flow/expected.json index 24ee0a9..354ffdd 100644 --- a/samples/react-component-flow/expected.json +++ b/samples/react-component-flow/expected.json @@ -1,4 +1,34 @@ { + "options": { + "badgesDirectory": [ + "/generated" + ], + "enableFlow": true, + "extensions": [ + ".js", + ".jsx", + ".ts", + ".tsx" + ], + "excludeDirectories": [ + "/dist", + "/bin", + "/build" + ], + "excludeExact": [], + "excludeFilenames": [ + ".d.ts", + ".min.js", + ".bundle.js" + ], + "skipDirectories": [ + "/node_modules", + "/flow-typed", + "/coverage" + ], + "minimumThreshold": 10, + "cliOutputLimit": 25 + }, "summary": { "average": 53.68354105285161, "median": 53.68354105285161, @@ -23,17 +53,42 @@ "time": 826.224, "vocabulary": 62, "volume": 994.351, - "operands": { "distinct": 46, "total": 86 }, - "operators": { "distinct": 16, "total": 81 } + "operands": { + "distinct": 46, + "total": 86 + }, + "operators": { + "distinct": 16, + "total": 81 + } }, "paramCount": 5, - "sloc": { "logical": 41, "physical": 74 } + "sloc": { + "logical": 41, + "physical": 74 + } }, "dependencies": [ - { "line": 3, "path": "react", "type": "esm" }, - { "line": 4, "path": "lodash/pick", "type": "esm" }, - { "line": 5, "path": "../../../utils/classcaded", "type": "esm" }, - { "line": 6, "path": "./Button.css", "type": "esm" } + { + "line": 3, + "path": "react", + "type": "esm" + }, + { + "line": 4, + "path": "lodash/pick", + "type": "esm" + }, + { + "line": 5, + "path": "../../../utils/classcaded", + "type": "esm" + }, + { + "line": 6, + "path": "./Button.css", + "type": "esm" + } ], "errors": [], "lineEnd": 74, @@ -52,7 +107,6 @@ "shouldAnalyze": false, "path": "/samples/react-component-flow", "type": "file", - "complexityReport": null, "timesDependedOn": 0 }, { @@ -73,17 +127,42 @@ "time": 826.224, "vocabulary": 62, "volume": 994.351, - "operands": { "distinct": 46, "total": 86 }, - "operators": { "distinct": 16, "total": 81 } + "operands": { + "distinct": 46, + "total": 86 + }, + "operators": { + "distinct": 16, + "total": 81 + } }, "paramCount": 5, - "sloc": { "logical": 41, "physical": 74 } + "sloc": { + "logical": 41, + "physical": 74 + } }, "dependencies": [ - { "line": 3, "path": "react", "type": "esm" }, - { "line": 4, "path": "lodash/pick", "type": "esm" }, - { "line": 5, "path": "../../../utils/classcaded", "type": "esm" }, - { "line": 6, "path": "./Button.css", "type": "esm" } + { + "line": 3, + "path": "react", + "type": "esm" + }, + { + "line": 4, + "path": "lodash/pick", + "type": "esm" + }, + { + "line": 5, + "path": "../../../utils/classcaded", + "type": "esm" + }, + { + "line": 6, + "path": "./Button.css", + "type": "esm" + } ], "errors": [], "lineEnd": 74, @@ -100,8 +179,7 @@ "shouldAnalyze": false, "path": "/samples/react-component-flow", "type": "file", - "complexityReport": null, "timesDependedOn": 0 } ] -} +} \ No newline at end of file diff --git a/samples/react-component-typescript/expected.json b/samples/react-component-typescript/expected.json index e1446a0..52b63bf 100644 --- a/samples/react-component-typescript/expected.json +++ b/samples/react-component-typescript/expected.json @@ -1,8 +1,37 @@ { + "options": { + "badgesDirectory": [ + "/generated" + ], + "extensions": [ + ".js", + ".jsx", + ".ts", + ".tsx" + ], + "excludeDirectories": [ + "/dist", + "/bin", + "/build" + ], + "excludeExact": [], + "excludeFilenames": [ + ".d.ts", + ".min.js", + ".bundle.js" + ], + "skipDirectories": [ + "/node_modules", + "/flow-typed", + "/coverage" + ], + "minimumThreshold": 10, + "cliOutputLimit": 25 + }, "summary": { - "average": 77.48005258780282, - "median": 77.48005258780282, - "worst": 60.67773631010033 + "average": 77.91761042000238, + "median": 77.91761042000238, + "worst": 61.55285197449942 }, "resultsList": [ { @@ -23,18 +52,33 @@ "time": 238.908, "vocabulary": 33, "volume": 332.93, - "operands": { "distinct": 18, "total": 31 }, - "operators": { "distinct": 15, "total": 35 } + "operands": { + "distinct": 18, + "total": 31 + }, + "operators": { + "distinct": 15, + "total": 35 + } }, "paramCount": 2, - "sloc": { "logical": 20, "physical": 34 } + "sloc": { + "logical": 20, + "physical": 31 + } }, - "dependencies": [{ "line": 1, "path": "react", "type": "esm" }], + "dependencies": [ + { + "line": 1, + "path": "react", + "type": "esm" + } + ], "errors": [], - "lineEnd": 34, + "lineEnd": 31, "lineStart": 1, "maintainability": 125.251, - "codehawkScore": 60.67773631010033, + "codehawkScore": 61.55285197449942, "coverage": "0" }, "timesDependedOn": 1 @@ -57,18 +101,35 @@ "time": 3.016, "vocabulary": 6, "volume": 18.095, - "operands": { "distinct": 2, "total": 3 }, - "operators": { "distinct": 4, "total": 4 } + "operands": { + "distinct": 2, + "total": 3 + }, + "operators": { + "distinct": 4, + "total": 4 + } }, "paramCount": 0, - "sloc": { "logical": 3, "physical": 11 } + "sloc": { + "logical": 3, + "physical": 9 + } }, "dependencies": [ - { "line": 1, "path": "react", "type": "esm" }, - { "line": 2, "path": "./Modal", "type": "esm" } + { + "line": 1, + "path": "react", + "type": "esm" + }, + { + "line": 2, + "path": "./Modal", + "type": "esm" + } ], "errors": [], - "lineEnd": 11, + "lineEnd": 9, "lineStart": 1, "maintainability": 153.142, "codehawkScore": 94.28236886550532, @@ -96,18 +157,35 @@ "time": 3.016, "vocabulary": 6, "volume": 18.095, - "operands": { "distinct": 2, "total": 3 }, - "operators": { "distinct": 4, "total": 4 } + "operands": { + "distinct": 2, + "total": 3 + }, + "operators": { + "distinct": 4, + "total": 4 + } }, "paramCount": 0, - "sloc": { "logical": 3, "physical": 11 } + "sloc": { + "logical": 3, + "physical": 9 + } }, "dependencies": [ - { "line": 1, "path": "react", "type": "esm" }, - { "line": 2, "path": "./Modal", "type": "esm" } + { + "line": 1, + "path": "react", + "type": "esm" + }, + { + "line": 2, + "path": "./Modal", + "type": "esm" + } ], "errors": [], - "lineEnd": 11, + "lineEnd": 9, "lineStart": 1, "maintainability": 153.142, "codehawkScore": 94.28236886550532, @@ -121,7 +199,6 @@ "shouldAnalyze": false, "path": "/samples/react-component-typescript", "type": "file", - "complexityReport": null, "timesDependedOn": 0 }, { @@ -142,21 +219,36 @@ "time": 238.908, "vocabulary": 33, "volume": 332.93, - "operands": { "distinct": 18, "total": 31 }, - "operators": { "distinct": 15, "total": 35 } + "operands": { + "distinct": 18, + "total": 31 + }, + "operators": { + "distinct": 15, + "total": 35 + } }, "paramCount": 2, - "sloc": { "logical": 20, "physical": 34 } + "sloc": { + "logical": 20, + "physical": 31 + } }, - "dependencies": [{ "line": 1, "path": "react", "type": "esm" }], + "dependencies": [ + { + "line": 1, + "path": "react", + "type": "esm" + } + ], "errors": [], - "lineEnd": 34, + "lineEnd": 31, "lineStart": 1, "maintainability": 125.251, - "codehawkScore": 60.67773631010033, + "codehawkScore": 61.55285197449942, "coverage": "0" }, "timesDependedOn": 1 } ] -} +} \ No newline at end of file diff --git a/samples/react-component/expected.json b/samples/react-component/expected.json index 1f55ede..d6695cb 100644 --- a/samples/react-component/expected.json +++ b/samples/react-component/expected.json @@ -1,4 +1,33 @@ { + "options": { + "badgesDirectory": [ + "/generated" + ], + "extensions": [ + ".js", + ".jsx", + ".ts", + ".tsx" + ], + "excludeDirectories": [ + "/dist", + "/bin", + "/build" + ], + "excludeExact": [], + "excludeFilenames": [ + ".d.ts", + ".min.js", + ".bundle.js" + ], + "skipDirectories": [ + "/node_modules", + "/flow-typed", + "/coverage" + ], + "minimumThreshold": 10, + "cliOutputLimit": 25 + }, "summary": { "average": 43.79279497729058, "median": 43.79279497729058, @@ -23,18 +52,47 @@ "time": 8455.359, "vocabulary": 130, "volume": 3988.705, - "operands": { "distinct": 102, "total": 278 }, - "operators": { "distinct": 28, "total": 290 } + "operands": { + "distinct": 102, + "total": 278 + }, + "operators": { + "distinct": 28, + "total": 290 + } }, "paramCount": 12, - "sloc": { "logical": 136, "physical": 170 } + "sloc": { + "logical": 136, + "physical": 170 + } }, "dependencies": [ - { "line": 1, "path": "./PopoutMenu.css", "type": "esm" }, - { "line": 2, "path": "react", "type": "esm" }, - { "line": 3, "path": "prop-types", "type": "esm" }, - { "line": 4, "path": "../../../utils/classcaded", "type": "esm" }, - { "line": 5, "path": "../Icon/Icon", "type": "esm" } + { + "line": 1, + "path": "./PopoutMenu.css", + "type": "esm" + }, + { + "line": 2, + "path": "react", + "type": "esm" + }, + { + "line": 3, + "path": "prop-types", + "type": "esm" + }, + { + "line": 4, + "path": "../../../utils/classcaded", + "type": "esm" + }, + { + "line": 5, + "path": "../Icon/Icon", + "type": "esm" + } ], "errors": [], "lineEnd": 170, @@ -53,7 +111,6 @@ "shouldAnalyze": false, "path": "/samples/react-component", "type": "file", - "complexityReport": null, "timesDependedOn": 0 }, { @@ -62,7 +119,6 @@ "shouldAnalyze": false, "path": "/samples/react-component", "type": "file", - "complexityReport": null, "timesDependedOn": 0 }, { @@ -83,18 +139,47 @@ "time": 8455.359, "vocabulary": 130, "volume": 3988.705, - "operands": { "distinct": 102, "total": 278 }, - "operators": { "distinct": 28, "total": 290 } + "operands": { + "distinct": 102, + "total": 278 + }, + "operators": { + "distinct": 28, + "total": 290 + } }, "paramCount": 12, - "sloc": { "logical": 136, "physical": 170 } + "sloc": { + "logical": 136, + "physical": 170 + } }, "dependencies": [ - { "line": 1, "path": "./PopoutMenu.css", "type": "esm" }, - { "line": 2, "path": "react", "type": "esm" }, - { "line": 3, "path": "prop-types", "type": "esm" }, - { "line": 4, "path": "../../../utils/classcaded", "type": "esm" }, - { "line": 5, "path": "../Icon/Icon", "type": "esm" } + { + "line": 1, + "path": "./PopoutMenu.css", + "type": "esm" + }, + { + "line": 2, + "path": "react", + "type": "esm" + }, + { + "line": 3, + "path": "prop-types", + "type": "esm" + }, + { + "line": 4, + "path": "../../../utils/classcaded", + "type": "esm" + }, + { + "line": 5, + "path": "../Icon/Icon", + "type": "esm" + } ], "errors": [], "lineEnd": 170, @@ -106,4 +191,4 @@ "timesDependedOn": 0 } ] -} +} \ No newline at end of file diff --git a/samples/simple-class/expected.json b/samples/simple-class/expected.json index 9e919b0..2d9c3f6 100644 --- a/samples/simple-class/expected.json +++ b/samples/simple-class/expected.json @@ -1,4 +1,33 @@ { + "options": { + "badgesDirectory": [ + "/generated" + ], + "extensions": [ + ".js", + ".jsx", + ".ts", + ".tsx" + ], + "excludeDirectories": [ + "/dist", + "/bin", + "/build" + ], + "excludeExact": [], + "excludeFilenames": [ + ".d.ts", + ".min.js", + ".bundle.js" + ], + "skipDirectories": [ + "/node_modules", + "/flow-typed", + "/coverage" + ], + "minimumThreshold": 10, + "cliOutputLimit": 25 + }, "summary": { "average": 55.998178735563855, "median": 55.998178735563855, @@ -23,11 +52,20 @@ "time": 1127.798, "vocabulary": 54, "volume": 955.311, - "operands": { "distinct": 36, "total": 85 }, - "operators": { "distinct": 18, "total": 81 } + "operands": { + "distinct": 36, + "total": 85 + }, + "operators": { + "distinct": 18, + "total": 81 + } }, "paramCount": 5, - "sloc": { "logical": 42, "physical": 65 } + "sloc": { + "logical": 42, + "physical": 65 + } }, "dependencies": [], "errors": [], @@ -47,7 +85,6 @@ "shouldAnalyze": false, "path": "/samples/simple-class", "type": "file", - "complexityReport": null, "timesDependedOn": 0 }, { @@ -68,11 +105,20 @@ "time": 1127.798, "vocabulary": 54, "volume": 955.311, - "operands": { "distinct": 36, "total": 85 }, - "operators": { "distinct": 18, "total": 81 } + "operands": { + "distinct": 36, + "total": 85 + }, + "operators": { + "distinct": 18, + "total": 81 + } }, "paramCount": 5, - "sloc": { "logical": 42, "physical": 65 } + "sloc": { + "logical": 42, + "physical": 65 + } }, "dependencies": [], "errors": [], @@ -85,4 +131,4 @@ "timesDependedOn": 0 } ] -} +} \ No newline at end of file diff --git a/samples/simple-es6-imports/expected.json b/samples/simple-es6-imports/expected.json index b2ab161..858eff8 100644 --- a/samples/simple-es6-imports/expected.json +++ b/samples/simple-es6-imports/expected.json @@ -1,4 +1,33 @@ { + "options": { + "badgesDirectory": [ + "/generated" + ], + "extensions": [ + ".js", + ".jsx", + ".ts", + ".tsx" + ], + "excludeDirectories": [ + "/dist", + "/bin", + "/build" + ], + "excludeExact": [], + "excludeFilenames": [ + ".d.ts", + ".min.js", + ".bundle.js" + ], + "skipDirectories": [ + "/node_modules", + "/flow-typed", + "/coverage" + ], + "minimumThreshold": 10, + "cliOutputLimit": 25 + }, "summary": { "average": 74.98316839015082, "median": 66.5583293243497, @@ -23,11 +52,20 @@ "time": 184.709, "vocabulary": 28, "volume": 274.019, - "operands": { "distinct": 15, "total": 28 }, - "operators": { "distinct": 13, "total": 29 } + "operands": { + "distinct": 15, + "total": 28 + }, + "operators": { + "distinct": 13, + "total": 29 + } }, "paramCount": 3, - "sloc": { "logical": 19, "physical": 23 } + "sloc": { + "logical": 19, + "physical": 23 + } }, "dependencies": [], "errors": [], @@ -57,15 +95,32 @@ "time": 60.086, "vocabulary": 17, "volume": 147.149, - "operands": { "distinct": 10, "total": 21 }, - "operators": { "distinct": 7, "total": 15 } + "operands": { + "distinct": 10, + "total": 21 + }, + "operators": { + "distinct": 7, + "total": 15 + } }, "paramCount": 2, - "sloc": { "logical": 12, "physical": 18 } + "sloc": { + "logical": 12, + "physical": 18 + } }, "dependencies": [ - { "line": 1, "path": "./sample-es6-constants", "type": "esm" }, - { "line": 2, "path": "./utils", "type": "esm" } + { + "line": 1, + "path": "./sample-es6-constants", + "type": "esm" + }, + { + "line": 2, + "path": "./utils", + "type": "esm" + } ], "errors": [], "lineEnd": 18, @@ -94,11 +149,20 @@ "time": 2.953, "vocabulary": 10, "volume": 53.151, - "operands": { "distinct": 8, "total": 8 }, - "operators": { "distinct": 2, "total": 8 } + "operands": { + "distinct": 8, + "total": 8 + }, + "operators": { + "distinct": 2, + "total": 8 + } }, "paramCount": 0, - "sloc": { "logical": 4, "physical": 5 } + "sloc": { + "logical": 4, + "physical": 5 + } }, "dependencies": [], "errors": [], @@ -136,11 +200,20 @@ "time": 184.709, "vocabulary": 28, "volume": 274.019, - "operands": { "distinct": 15, "total": 28 }, - "operators": { "distinct": 13, "total": 29 } + "operands": { + "distinct": 15, + "total": 28 + }, + "operators": { + "distinct": 13, + "total": 29 + } }, "paramCount": 3, - "sloc": { "logical": 19, "physical": 23 } + "sloc": { + "logical": 19, + "physical": 23 + } }, "dependencies": [], "errors": [], @@ -160,7 +233,6 @@ "shouldAnalyze": false, "path": "/samples/simple-es6-imports", "type": "file", - "complexityReport": null, "timesDependedOn": 0 }, { @@ -181,11 +253,20 @@ "time": 2.953, "vocabulary": 10, "volume": 53.151, - "operands": { "distinct": 8, "total": 8 }, - "operators": { "distinct": 2, "total": 8 } + "operands": { + "distinct": 8, + "total": 8 + }, + "operators": { + "distinct": 2, + "total": 8 + } }, "paramCount": 0, - "sloc": { "logical": 4, "physical": 5 } + "sloc": { + "logical": 4, + "physical": 5 + } }, "dependencies": [], "errors": [], @@ -215,15 +296,32 @@ "time": 60.086, "vocabulary": 17, "volume": 147.149, - "operands": { "distinct": 10, "total": 21 }, - "operators": { "distinct": 7, "total": 15 } + "operands": { + "distinct": 10, + "total": 21 + }, + "operators": { + "distinct": 7, + "total": 15 + } }, "paramCount": 2, - "sloc": { "logical": 12, "physical": 18 } + "sloc": { + "logical": 12, + "physical": 18 + } }, "dependencies": [ - { "line": 1, "path": "./sample-es6-constants", "type": "esm" }, - { "line": 2, "path": "./utils", "type": "esm" } + { + "line": 1, + "path": "./sample-es6-constants", + "type": "esm" + }, + { + "line": 2, + "path": "./utils", + "type": "esm" + } ], "errors": [], "lineEnd": 18, @@ -235,4 +333,4 @@ "timesDependedOn": 0 } ] -} +} \ No newline at end of file diff --git a/samples/sweetalert/expected.json b/samples/sweetalert/expected.json index 7e7c112..a05b4fc 100644 --- a/samples/sweetalert/expected.json +++ b/samples/sweetalert/expected.json @@ -1,2274 +1,3232 @@ -{ - "options": { - "badgesDirectory": ["/generated"], - "enableFlow": false, - "extensions": [".js", ".jsx", ".ts", ".tsx"], - "excludeDirectories": ["/dist", "/bin", "/build"], - "excludeExact": [], - "excludeFilenames": [".d.ts", ".min.js", ".bundle.js"], - "skipDirectories": [ - "/node_modules", - "/flow-typed", - "/coverage", - "/samples/sweetalert/docs", - "/samples/sweetalert/docs-src", - "/samples/sweetalert/typings" - ], - "minimumThreshold": 10, - "cliOutputLimit": 25 - }, - "summary": { - "average": 66.43759137724325, - "median": 58.89252972007756, - "worst": 44.90727094909405 - }, - "resultsList": [ - { - "fullPath": "/samples/sweetalert/webpack.config.js", - "filename": "webpack.config.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 4, - "cyclomaticDensity": 6.452, - "halstead": { - "bugs": 0.494, - "difficulty": 10.092, - "effort": 14966.016, - "length": 229, - "time": 831.445, - "vocabulary": 89, - "volume": 1482.943, - "operands": { "distinct": 76, "total": 118 }, - "operators": { "distinct": 13, "total": 111 } - }, - "paramCount": 2, - "sloc": { "logical": 62, "physical": 104 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 104, - "lineStart": 1, - "maintainability": 84.169, - "codehawkScore": 44.90727094909405, - "coverage": "0" - }, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/modules/options/index.ts", - "filename": "index.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/options", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 27, - "cyclomaticDensity": 25.234, - "halstead": { - "bugs": 0.848, - "difficulty": 35.015, - "effort": 89106.207, - "length": 392, - "time": 4950.345, - "vocabulary": 90, - "volume": 2544.806, - "operands": { "distinct": 67, "total": 204 }, - "operators": { "distinct": 23, "total": 188 } - }, - "paramCount": 17, - "sloc": { "logical": 107, "physical": 150 } - }, - "dependencies": [ - { "line": 1, "path": "../utils", "type": "esm" }, - { "line": 2, "path": "./buttons", "type": "esm" }, - { "line": 3, "path": "./content", "type": "esm" }, - { "line": 4, "path": "./deprecations", "type": "esm" } - ], - "errors": [], - "lineEnd": 150, - "lineStart": 1, - "maintainability": 102.469, - "codehawkScore": 46.51449814838432, - "coverage": "0" - }, - "timesDependedOn": 1 - }, - { - "fullPath": "/samples/sweetalert/src/modules/options/buttons.ts", - "filename": "buttons.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/options", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 20, - "cyclomaticDensity": 17.544, - "halstead": { - "bugs": 0.793, - "difficulty": 43.615, - "effort": 103824.695, - "length": 381, - "time": 5768.039, - "vocabulary": 76, - "volume": 2380.46, - "operands": { "distinct": 52, "total": 189 }, - "operators": { "distinct": 24, "total": 192 } - }, - "paramCount": 6, - "sloc": { "logical": 114, "physical": 150 } - }, - "dependencies": [{ "line": 1, "path": "../utils", "type": "esm" }], - "errors": [], - "lineEnd": 150, - "lineStart": 1, - "maintainability": 88.721, - "codehawkScore": 47.06570281407246, - "coverage": "0" - }, - "timesDependedOn": 7 - }, - { - "fullPath": "/samples/sweetalert/src/modules/event-listeners.ts", - "filename": "event-listeners.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 32, - "cyclomaticDensity": 29.358, - "halstead": { - "bugs": 0.75, - "difficulty": 27.708, - "effort": 62356.211, - "length": 357, - "time": 3464.234, - "vocabulary": 79, - "volume": 2250.45, - "operands": { "distinct": 60, "total": 175 }, - "operators": { "distinct": 19, "total": 182 } - }, - "paramCount": 11, - "sloc": { "logical": 109, "physical": 141 } - }, - "dependencies": [ - { "line": 1, "path": "./state", "type": "esm" }, - { "line": 2, "path": "./actions", "type": "esm" }, - { "line": 3, "path": "./utils", "type": "esm" }, - { "line": 4, "path": "./options/buttons", "type": "esm" }, - { "line": 5, "path": "./class-list", "type": "esm" } - ], - "errors": [], - "lineEnd": 141, - "lineStart": 1, - "maintainability": 110.946, - "codehawkScore": 47.300787024008535, - "coverage": "0" - }, - "timesDependedOn": 1 - }, - { - "fullPath": "/samples/sweetalert/src/modules/options/deprecations.ts", - "filename": "deprecations.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/options", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 6, - "cyclomaticDensity": 8, - "halstead": { - "bugs": 0.545, - "difficulty": 17.024, - "effort": 27820.387, - "length": 260, - "time": 1545.577, - "vocabulary": 78, - "volume": 1634.205, - "operands": { "distinct": 63, "total": 143 }, - "operators": { "distinct": 15, "total": 117 } - }, - "paramCount": 1, - "sloc": { "logical": 75, "physical": 105 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 105, - "lineStart": 1, - "maintainability": 78.559, - "codehawkScore": 47.379394934117734, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/polyfills.js", - "filename": "polyfills.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 24, - "cyclomaticDensity": 42.857, - "halstead": { - "bugs": 0.537, - "difficulty": 37.278, - "effort": 60044.654, - "length": 250, - "time": 3335.814, - "vocabulary": 87, - "volume": 1610.736, - "operands": { "distinct": 54, "total": 122 }, - "operators": { "distinct": 33, "total": 128 } - }, - "paramCount": 8, - "sloc": { "logical": 56, "physical": 110 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 110, - "lineStart": 1, - "maintainability": 105.106, - "codehawkScore": 49.61465132219012, - "coverage": "0" - }, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/buttons.ts", - "filename": "buttons.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 12, - "cyclomaticDensity": 26.087, - "halstead": { - "bugs": 0.387, - "difficulty": 17.867, - "effort": 20735.479, - "length": 192, - "time": 1151.971, - "vocabulary": 66, - "volume": 1160.524, - "operands": { "distinct": 49, "total": 103 }, - "operators": { "distinct": 17, "total": 89 } - }, - "paramCount": 10, - "sloc": { "logical": 46, "physical": 81 } - }, - "dependencies": [ - { "line": 1, "path": "../utils", "type": "esm" }, - { "line": 2, "path": "./modal", "type": "esm" }, - { "line": 3, "path": "../class-list", "type": "esm" }, - { "line": 8, "path": "../options/buttons", "type": "esm" }, - { "line": 9, "path": "../markup", "type": "esm" }, - { "line": 10, "path": "../actions", "type": "esm" }, - { "line": 11, "path": "../state", "type": "esm" } - ], - "errors": [], - "lineEnd": 81, - "lineStart": 1, - "maintainability": 109.444, - "codehawkScore": 52.63715061303356, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/modules/actions.ts", - "filename": "actions.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 8, - "cyclomaticDensity": 18.182, - "halstead": { - "bugs": 0.34, - "difficulty": 19.8, - "effort": 20181.916, - "length": 174, - "time": 1121.218, - "vocabulary": 58, - "volume": 1019.289, - "operands": { "distinct": 40, "total": 88 }, - "operators": { "distinct": 18, "total": 86 } - }, - "paramCount": 1, - "sloc": { "logical": 44, "physical": 67 } - }, - "dependencies": [ - { "line": 1, "path": "./utils", "type": "esm" }, - { "line": 2, "path": "./options/buttons", "type": "esm" }, - { "line": 3, "path": "./class-list", "type": "esm" }, - { "line": 10, "path": "./state", "type": "esm" } - ], - "errors": [], - "lineEnd": 67, - "lineStart": 1, - "maintainability": 110.662, - "codehawkScore": 53.67817875674, - "coverage": "0" - }, - "timesDependedOn": 4 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/content.ts", - "filename": "content.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 11, - "cyclomaticDensity": 25.581, - "halstead": { - "bugs": 0.308, - "difficulty": 18.308, - "effort": 16904.763, - "length": 159, - "time": 939.154, - "vocabulary": 56, - "volume": 923.369, - "operands": { "distinct": 39, "total": 84 }, - "operators": { "distinct": 17, "total": 75 } - }, - "paramCount": 7, - "sloc": { "logical": 43, "physical": 72 } - }, - "dependencies": [ - { "line": 1, "path": "../options/buttons", "type": "esm" }, - { "line": 2, "path": "./modal", "type": "esm" }, - { "line": 3, "path": "../markup", "type": "esm" }, - { "line": 4, "path": "../state", "type": "esm" }, - { "line": 5, "path": "../actions", "type": "esm" }, - { "line": 6, "path": "../class-list", "type": "esm" } - ], - "errors": [], - "lineEnd": 72, - "lineStart": 1, - "maintainability": 114.5, - "codehawkScore": 54.049450575135026, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/modal.ts", - "filename": "modal.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 7, - "cyclomaticDensity": 17.949, - "halstead": { - "bugs": 0.243, - "difficulty": 8.97, - "effort": 6535.564, - "length": 136, - "time": 363.087, - "vocabulary": 41, - "volume": 728.627, - "operands": { "distinct": 33, "total": 74 }, - "operators": { "distinct": 8, "total": 62 } - }, - "paramCount": 5, - "sloc": { "logical": 39, "physical": 65 } - }, - "dependencies": [ - { "line": 1, "path": "../utils", "type": "esm" }, - { "line": 2, "path": "../markup", "type": "esm" }, - { "line": 3, "path": "../class-list", "type": "esm" }, - { "line": 8, "path": "./icon", "type": "esm" }, - { "line": 9, "path": "./text", "type": "esm" }, - { "line": 10, "path": "./buttons", "type": "esm" }, - { "line": 11, "path": "./content", "type": "esm" } - ], - "errors": [], - "lineEnd": 65, - "lineStart": 1, - "maintainability": 116.606, - "codehawkScore": 54.52583298958849, - "coverage": "0" - }, - "timesDependedOn": 6 - }, - { - "fullPath": "/samples/sweetalert/src/modules/utils.ts", - "filename": "utils.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 16, - "cyclomaticDensity": 34.043, - "halstead": { - "bugs": 0.419, - "difficulty": 15.316, - "effort": 19270.654, - "length": 202, - "time": 1070.592, - "vocabulary": 75, - "volume": 1258.221, - "operands": { "distinct": 57, "total": 97 }, - "operators": { "distinct": 18, "total": 105 } - }, - "paramCount": 8, - "sloc": { "logical": 47, "physical": 61 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 61, - "lineStart": 1, - "maintainability": 114.99, - "codehawkScore": 55.43471610919461, - "coverage": "0" - }, - "timesDependedOn": 10 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/icon.ts", - "filename": "icon.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 7, - "cyclomaticDensity": 19.444, - "halstead": { - "bugs": 0.252, - "difficulty": 14.703, - "effort": 11116.5, - "length": 132, - "time": 617.583, - "vocabulary": 53, - "volume": 756.086, - "operands": { "distinct": 37, "total": 68 }, - "operators": { "distinct": 16, "total": 64 } - }, - "paramCount": 5, - "sloc": { "logical": 36, "physical": 47 } - }, - "dependencies": [ - { "line": 2, "path": "./modal", "type": "esm" }, - { "line": 3, "path": "../markup", "type": "esm" }, - { "line": 4, "path": "../class-list", "type": "esm" } - ], - "errors": [], - "lineEnd": 47, - "lineStart": 1, - "maintainability": 107.725, - "codehawkScore": 56.81690867438252, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/modules/state.ts", - "filename": "state.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 7, - "cyclomaticDensity": 25, - "halstead": { - "bugs": 0.205, - "difficulty": 19.773, - "effort": 12154.602, - "length": 118, - "time": 675.256, - "vocabulary": 37, - "volume": 614.715, - "operands": { "distinct": 22, "total": 58 }, - "operators": { "distinct": 15, "total": 60 } - }, - "paramCount": 6, - "sloc": { "logical": 28, "physical": 51 } - }, - "dependencies": [ - { "line": 1, "path": "./options/buttons", "type": "esm" } - ], - "errors": [], - "lineEnd": 51, - "lineStart": 1, - "maintainability": 116.092, - "codehawkScore": 57.1359500207509, - "coverage": "0" - }, - "timesDependedOn": 5 - }, - { - "fullPath": "/samples/sweetalert/src/modules/markup/icons.ts", - "filename": "icons.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/markup", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 4, - "cyclomaticDensity": 25, - "halstead": { - "bugs": 0.163, - "difficulty": 6.86, - "effort": 3361.4, - "length": 98, - "time": 186.744, - "vocabulary": 32, - "volume": 490, - "operands": { "distinct": 25, "total": 49 }, - "operators": { "distinct": 7, "total": 49 } - }, - "paramCount": 0, - "sloc": { "logical": 16, "physical": 33 } - }, - "dependencies": [{ "line": 1, "path": "../class-list", "type": "esm" }], - "errors": [], - "lineEnd": 33, - "lineStart": 1, - "maintainability": 125.512, - "codehawkScore": 58.89252972007756, - "coverage": "0" - }, - "timesDependedOn": 6 - }, - { - "fullPath": "/samples/sweetalert/src/core.ts", - "filename": "core.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 5, - "cyclomaticDensity": 25, - "halstead": { - "bugs": 0.114, - "difficulty": 11.7, - "effort": 4013.32, - "length": 68, - "time": 222.962, - "vocabulary": 33, - "volume": 343.019, - "operands": { "distinct": 20, "total": 36 }, - "operators": { "distinct": 13, "total": 32 } - }, - "paramCount": 3, - "sloc": { "logical": 20, "physical": 34 } - }, - "dependencies": [ - { "line": 6, "path": "./modules/init", "type": "esm" }, - { "line": 7, "path": "./modules/actions", "type": "esm" }, - { "line": 8, "path": "./modules/state", "type": "esm" }, - { "line": 9, "path": "./modules/options", "type": "esm" } - ], - "errors": [], - "lineEnd": 34, - "lineStart": 1, - "maintainability": 121.068, - "codehawkScore": 59.79558895081384, - "coverage": "0" - }, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/text.ts", - "filename": "text.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 9, - "cyclomaticDensity": 29.032, - "halstead": { - "bugs": 0.214, - "difficulty": 7.75, - "effort": 4979.738, - "length": 117, - "time": 276.652, - "vocabulary": 45, - "volume": 642.547, - "operands": { "distinct": 36, "total": 62 }, - "operators": { "distinct": 9, "total": 55 } - }, - "paramCount": 6, - "sloc": { "logical": 31, "physical": 38 } - }, - "dependencies": [ - { "line": 1, "path": "../markup", "type": "esm" }, - { "line": 2, "path": "./modal", "type": "esm" } - ], - "errors": [], - "lineEnd": 38, - "lineStart": 1, - "maintainability": 117.244, - "codehawkScore": 60.20995227958394, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/index.ts", - "filename": "index.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 4, - "cyclomaticDensity": 30.769, - "halstead": { - "bugs": 0.058, - "difficulty": 5.714, - "effort": 993.816, - "length": 39, - "time": 55.212, - "vocabulary": 22, - "volume": 173.918, - "operands": { "distinct": 14, "total": 20 }, - "operators": { "distinct": 8, "total": 19 } - }, - "paramCount": 1, - "sloc": { "logical": 13, "physical": 30 } - }, - "dependencies": [ - { "line": 1, "path": "../utils", "type": "esm" }, - { "line": 2, "path": "../class-list", "type": "esm" }, - { "line": 6, "path": "./modal", "type": "esm" }, - { "line": 7, "path": "./overlay", "type": "esm" }, - { "line": 8, "path": "../event-listeners", "type": "esm" }, - { "line": 9, "path": "../utils", "type": "esm" } - ], - "errors": [], - "lineEnd": 30, - "lineStart": 1, - "maintainability": 118.751, - "codehawkScore": 60.934886942256135, - "coverage": "0" - }, - "timesDependedOn": 1 - }, - { - "fullPath": "/samples/sweetalert/src/modules/options/content.ts", - "filename": "content.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/options", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 5, - "cyclomaticDensity": 29.412, - "halstead": { - "bugs": 0.078, - "difficulty": 9.857, - "effort": 2316.645, - "length": 50, - "time": 128.703, - "vocabulary": 26, - "volume": 235.022, - "operands": { "distinct": 14, "total": 23 }, - "operators": { "distinct": 12, "total": 27 } - }, - "paramCount": 1, - "sloc": { "logical": 17, "physical": 27 } - }, - "dependencies": [{ "line": 1, "path": "../utils", "type": "esm" }], - "errors": [], - "lineEnd": 27, - "lineStart": 1, - "maintainability": 111.287, - "codehawkScore": 62.70448988147212, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/modules/class-list/index.ts", - "filename": "index.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/class-list", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 5, - "halstead": { - "bugs": 0.15, - "difficulty": 4.273, - "effort": 1919.562, - "length": 85, - "time": 106.642, - "vocabulary": 39, - "volume": 449.259, - "operands": { "distinct": 33, "total": 47 }, - "operators": { "distinct": 6, "total": 38 } - }, - "paramCount": 0, - "sloc": { "logical": 20, "physical": 28 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 28, - "lineStart": 1, - "maintainability": 96.614, - "codehawkScore": 88.72484177785137, - "coverage": "0" - }, - "timesDependedOn": 13 - }, - { - "fullPath": "/samples/sweetalert/postcss.config.js", - "filename": "postcss.config.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 12.5, - "halstead": { - "bugs": 0.042, - "difficulty": 4.773, - "effort": 597.057, - "length": 30, - "time": 33.17, - "vocabulary": 18, - "volume": 125.098, - "operands": { "distinct": 11, "total": 15 }, - "operators": { "distinct": 7, "total": 15 } - }, - "paramCount": 0, - "sloc": { "logical": 8, "physical": 10 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 10, - "lineStart": 1, - "maintainability": 115.452, - "codehawkScore": 91.07606249060817, - "coverage": "0" - }, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/sweetalert.js", - "filename": "sweetalert.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 2, - "cyclomaticDensity": 33.333, - "halstead": { - "bugs": 0.033, - "difficulty": 4.55, - "effort": 446.351, - "length": 24, - "time": 24.797, - "vocabulary": 17, - "volume": 98.099, - "operands": { "distinct": 10, "total": 13 }, - "operators": { "distinct": 7, "total": 11 } - }, - "paramCount": 0, - "sloc": { "logical": 6, "physical": 15 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 15, - "lineStart": 1, - "maintainability": 120.415, - "codehawkScore": 91.1153746262618, - "coverage": "0" - }, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/modules/markup/index.ts", - "filename": "index.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/markup", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 11.111, - "halstead": { - "bugs": 0.06, - "difficulty": 5.208, - "effort": 936.71, - "length": 44, - "time": 52.039, - "vocabulary": 17, - "volume": 179.848, - "operands": { "distinct": 12, "total": 25 }, - "operators": { "distinct": 5, "total": 19 } - }, - "paramCount": 0, - "sloc": { "logical": 9, "physical": 22 } - }, - "dependencies": [{ "line": 6, "path": "../class-list", "type": "esm" }], - "errors": [], - "lineEnd": 22, - "lineStart": 1, - "maintainability": 112.004, - "codehawkScore": 91.24987755023842, - "coverage": "0" - }, - "timesDependedOn": 6 - }, - { - "fullPath": "/samples/sweetalert/src/modules/markup/buttons.ts", - "filename": "buttons.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/markup", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 20, - "halstead": { - "bugs": 0.03, - "difficulty": 4.167, - "effort": 380.735, - "length": 24, - "time": 21.152, - "vocabulary": 14, - "volume": 91.377, - "operands": { "distinct": 9, "total": 15 }, - "operators": { "distinct": 5, "total": 9 } - }, - "paramCount": 0, - "sloc": { "logical": 5, "physical": 21 } - }, - "dependencies": [{ "line": 1, "path": "../class-list", "type": "esm" }], - "errors": [], - "lineEnd": 21, - "lineStart": 1, - "maintainability": 124.605, - "codehawkScore": 91.84029350058518, - "coverage": "0" - }, - "timesDependedOn": 6 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/overlay.ts", - "filename": "overlay.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 2, - "cyclomaticDensity": 40, - "halstead": { - "bugs": 0.022, - "difficulty": 3.214, - "effort": 207.416, - "length": 18, - "time": 11.523, - "vocabulary": 12, - "volume": 64.529, - "operands": { "distinct": 7, "total": 9 }, - "operators": { "distinct": 5, "total": 9 } - }, - "paramCount": 0, - "sloc": { "logical": 5, "physical": 9 } - }, - "dependencies": [ - { "line": 1, "path": "../utils", "type": "esm" }, - { "line": 2, "path": "../markup", "type": "esm" } - ], - "errors": [], - "lineEnd": 9, - "lineStart": 1, - "maintainability": 140.282, - "codehawkScore": 92.17455287783764, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/modules/markup/modal.ts", - "filename": "modal.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/markup", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 33.333, - "halstead": { - "bugs": 0.022, - "difficulty": 4.5, - "effort": 290.382, - "length": 18, - "time": 16.132, - "vocabulary": 12, - "volume": 64.529, - "operands": { "distinct": 6, "total": 9 }, - "operators": { "distinct": 6, "total": 9 } - }, - "paramCount": 0, - "sloc": { "logical": 3, "physical": 12 } - }, - "dependencies": [{ "line": 1, "path": "../class-list", "type": "esm" }], - "errors": [], - "lineEnd": 12, - "lineStart": 1, - "maintainability": 133.807, - "codehawkScore": 92.30905580181427, - "coverage": "0" - }, - "timesDependedOn": 6 - }, - { - "fullPath": "/samples/sweetalert/src/modules/markup/content.ts", - "filename": "content.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/markup", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 33.333, - "halstead": { - "bugs": 0.016, - "difficulty": 3.5, - "effort": 162.774, - "length": 14, - "time": 9.043, - "vocabulary": 10, - "volume": 46.507, - "operands": { "distinct": 5, "total": 7 }, - "operators": { "distinct": 5, "total": 7 } - }, - "paramCount": 0, - "sloc": { "logical": 3, "physical": 9 } - }, - "dependencies": [{ "line": 1, "path": "../class-list", "type": "esm" }], - "errors": [], - "lineEnd": 9, - "lineStart": 1, - "maintainability": 135.787, - "codehawkScore": 92.8634839277374, - "coverage": "0" - }, - "timesDependedOn": 6 - }, - { - "fullPath": "/samples/sweetalert/src/modules/markup/overlay.ts", - "filename": "overlay.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/markup", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 33.333, - "halstead": { - "bugs": 0.017, - "difficulty": 4, - "effort": 199.316, - "length": 15, - "time": 11.073, - "vocabulary": 10, - "volume": 49.829, - "operands": { "distinct": 5, "total": 8 }, - "operators": { "distinct": 5, "total": 7 } - }, - "paramCount": 0, - "sloc": { "logical": 3, "physical": 9 } - }, - "dependencies": [{ "line": 1, "path": "../class-list", "type": "esm" }], - "errors": [], - "lineEnd": 9, - "lineStart": 1, - "maintainability": 135.094, - "codehawkScore": 92.8634839277374, - "coverage": "0" - }, - "timesDependedOn": 6 - } - ], - "fullResultsTree": [ - { - "fullPath": "/samples/sweetalert/assets", - "filename": "assets", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/assets/logotype.png", - "filename": "logotype.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/assets", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/assets/swal.gif", - "filename": "swal.gif", - "shouldAnalyze": false, - "path": "/samples/sweetalert/assets", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] - }, - { - "fullPath": "/samples/sweetalert/docs", - "filename": "docs", - "shouldAnalyze": true, - "type": "dir", - "files": [] - }, - { - "fullPath": "/samples/sweetalert/docs-src", - "filename": "docs-src", - "shouldAnalyze": true, - "type": "dir", - "files": [] - }, - { - "fullPath": "/samples/sweetalert/src", - "filename": "src", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/src/css", - "filename": "css", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/src/css/icons", - "filename": "icons", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/src/css/icons/error.css", - "filename": "error.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/src/css/icons", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/css/icons/info.css", - "filename": "info.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/src/css/icons", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/css/icons/success.css", - "filename": "success.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/src/css/icons", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/css/icons/warning.css", - "filename": "warning.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/src/css/icons", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] - }, - { - "fullPath": "/samples/sweetalert/src/css/button-loader.css", - "filename": "button-loader.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/src/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/css/buttons.css", - "filename": "buttons.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/src/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/css/content.css", - "filename": "content.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/src/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/css/icons.css", - "filename": "icons.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/src/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/css/text.css", - "filename": "text.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/src/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] - }, - { - "fullPath": "/samples/sweetalert/src/modules", - "filename": "modules", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/src/modules/class-list", - "filename": "class-list", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/src/modules/class-list/index.ts", - "filename": "index.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/class-list", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 5, - "halstead": { - "bugs": 0.15, - "difficulty": 4.273, - "effort": 1919.562, - "length": 85, - "time": 106.642, - "vocabulary": 39, - "volume": 449.259, - "operands": { "distinct": 33, "total": 47 }, - "operators": { "distinct": 6, "total": 38 } - }, - "paramCount": 0, - "sloc": { "logical": 20, "physical": 28 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 28, - "lineStart": 1, - "maintainability": 96.614, - "codehawkScore": 88.72484177785137, - "coverage": "0" - }, - "timesDependedOn": 13 - } - ] - }, - { - "fullPath": "/samples/sweetalert/src/modules/init", - "filename": "init", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/src/modules/init/buttons.ts", - "filename": "buttons.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 12, - "cyclomaticDensity": 26.087, - "halstead": { - "bugs": 0.387, - "difficulty": 17.867, - "effort": 20735.479, - "length": 192, - "time": 1151.971, - "vocabulary": 66, - "volume": 1160.524, - "operands": { "distinct": 49, "total": 103 }, - "operators": { "distinct": 17, "total": 89 } - }, - "paramCount": 10, - "sloc": { "logical": 46, "physical": 81 } - }, - "dependencies": [ - { "line": 1, "path": "../utils", "type": "esm" }, - { "line": 2, "path": "./modal", "type": "esm" }, - { "line": 3, "path": "../class-list", "type": "esm" }, - { - "line": 8, - "path": "../options/buttons", - "type": "esm" - }, - { "line": 9, "path": "../markup", "type": "esm" }, - { "line": 10, "path": "../actions", "type": "esm" }, - { "line": 11, "path": "../state", "type": "esm" } - ], - "errors": [], - "lineEnd": 81, - "lineStart": 1, - "maintainability": 109.444, - "codehawkScore": 52.63715061303356, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/content.ts", - "filename": "content.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 11, - "cyclomaticDensity": 25.581, - "halstead": { - "bugs": 0.308, - "difficulty": 18.308, - "effort": 16904.763, - "length": 159, - "time": 939.154, - "vocabulary": 56, - "volume": 923.369, - "operands": { "distinct": 39, "total": 84 }, - "operators": { "distinct": 17, "total": 75 } - }, - "paramCount": 7, - "sloc": { "logical": 43, "physical": 72 } - }, - "dependencies": [ - { - "line": 1, - "path": "../options/buttons", - "type": "esm" - }, - { "line": 2, "path": "./modal", "type": "esm" }, - { "line": 3, "path": "../markup", "type": "esm" }, - { "line": 4, "path": "../state", "type": "esm" }, - { "line": 5, "path": "../actions", "type": "esm" }, - { "line": 6, "path": "../class-list", "type": "esm" } - ], - "errors": [], - "lineEnd": 72, - "lineStart": 1, - "maintainability": 114.5, - "codehawkScore": 54.049450575135026, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/icon.ts", - "filename": "icon.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 7, - "cyclomaticDensity": 19.444, - "halstead": { - "bugs": 0.252, - "difficulty": 14.703, - "effort": 11116.5, - "length": 132, - "time": 617.583, - "vocabulary": 53, - "volume": 756.086, - "operands": { "distinct": 37, "total": 68 }, - "operators": { "distinct": 16, "total": 64 } - }, - "paramCount": 5, - "sloc": { "logical": 36, "physical": 47 } - }, - "dependencies": [ - { "line": 2, "path": "./modal", "type": "esm" }, - { "line": 3, "path": "../markup", "type": "esm" }, - { "line": 4, "path": "../class-list", "type": "esm" } - ], - "errors": [], - "lineEnd": 47, - "lineStart": 1, - "maintainability": 107.725, - "codehawkScore": 56.81690867438252, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/index.ts", - "filename": "index.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 4, - "cyclomaticDensity": 30.769, - "halstead": { - "bugs": 0.058, - "difficulty": 5.714, - "effort": 993.816, - "length": 39, - "time": 55.212, - "vocabulary": 22, - "volume": 173.918, - "operands": { "distinct": 14, "total": 20 }, - "operators": { "distinct": 8, "total": 19 } - }, - "paramCount": 1, - "sloc": { "logical": 13, "physical": 30 } - }, - "dependencies": [ - { "line": 1, "path": "../utils", "type": "esm" }, - { "line": 2, "path": "../class-list", "type": "esm" }, - { "line": 6, "path": "./modal", "type": "esm" }, - { "line": 7, "path": "./overlay", "type": "esm" }, - { - "line": 8, - "path": "../event-listeners", - "type": "esm" - }, - { "line": 9, "path": "../utils", "type": "esm" } - ], - "errors": [], - "lineEnd": 30, - "lineStart": 1, - "maintainability": 118.751, - "codehawkScore": 60.934886942256135, - "coverage": "0" - }, - "timesDependedOn": 1 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/modal.ts", - "filename": "modal.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 7, - "cyclomaticDensity": 17.949, - "halstead": { - "bugs": 0.243, - "difficulty": 8.97, - "effort": 6535.564, - "length": 136, - "time": 363.087, - "vocabulary": 41, - "volume": 728.627, - "operands": { "distinct": 33, "total": 74 }, - "operators": { "distinct": 8, "total": 62 } - }, - "paramCount": 5, - "sloc": { "logical": 39, "physical": 65 } - }, - "dependencies": [ - { "line": 1, "path": "../utils", "type": "esm" }, - { "line": 2, "path": "../markup", "type": "esm" }, - { "line": 3, "path": "../class-list", "type": "esm" }, - { "line": 8, "path": "./icon", "type": "esm" }, - { "line": 9, "path": "./text", "type": "esm" }, - { "line": 10, "path": "./buttons", "type": "esm" }, - { "line": 11, "path": "./content", "type": "esm" } - ], - "errors": [], - "lineEnd": 65, - "lineStart": 1, - "maintainability": 116.606, - "codehawkScore": 54.52583298958849, - "coverage": "0" - }, - "timesDependedOn": 6 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/overlay.ts", - "filename": "overlay.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 2, - "cyclomaticDensity": 40, - "halstead": { - "bugs": 0.022, - "difficulty": 3.214, - "effort": 207.416, - "length": 18, - "time": 11.523, - "vocabulary": 12, - "volume": 64.529, - "operands": { "distinct": 7, "total": 9 }, - "operators": { "distinct": 5, "total": 9 } - }, - "paramCount": 0, - "sloc": { "logical": 5, "physical": 9 } - }, - "dependencies": [ - { "line": 1, "path": "../utils", "type": "esm" }, - { "line": 2, "path": "../markup", "type": "esm" } - ], - "errors": [], - "lineEnd": 9, - "lineStart": 1, - "maintainability": 140.282, - "codehawkScore": 92.17455287783764, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/modules/init/text.ts", - "filename": "text.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/init", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 9, - "cyclomaticDensity": 29.032, - "halstead": { - "bugs": 0.214, - "difficulty": 7.75, - "effort": 4979.738, - "length": 117, - "time": 276.652, - "vocabulary": 45, - "volume": 642.547, - "operands": { "distinct": 36, "total": 62 }, - "operators": { "distinct": 9, "total": 55 } - }, - "paramCount": 6, - "sloc": { "logical": 31, "physical": 38 } - }, - "dependencies": [ - { "line": 1, "path": "../markup", "type": "esm" }, - { "line": 2, "path": "./modal", "type": "esm" } - ], - "errors": [], - "lineEnd": 38, - "lineStart": 1, - "maintainability": 117.244, - "codehawkScore": 60.20995227958394, - "coverage": "0" - }, - "timesDependedOn": 2 - } - ] - }, - { - "fullPath": "/samples/sweetalert/src/modules/markup", - "filename": "markup", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/src/modules/markup/buttons.ts", - "filename": "buttons.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/markup", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 20, - "halstead": { - "bugs": 0.03, - "difficulty": 4.167, - "effort": 380.735, - "length": 24, - "time": 21.152, - "vocabulary": 14, - "volume": 91.377, - "operands": { "distinct": 9, "total": 15 }, - "operators": { "distinct": 5, "total": 9 } - }, - "paramCount": 0, - "sloc": { "logical": 5, "physical": 21 } - }, - "dependencies": [ - { "line": 1, "path": "../class-list", "type": "esm" } - ], - "errors": [], - "lineEnd": 21, - "lineStart": 1, - "maintainability": 124.605, - "codehawkScore": 91.84029350058518, - "coverage": "0" - }, - "timesDependedOn": 6 - }, - { - "fullPath": "/samples/sweetalert/src/modules/markup/content.ts", - "filename": "content.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/markup", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 33.333, - "halstead": { - "bugs": 0.016, - "difficulty": 3.5, - "effort": 162.774, - "length": 14, - "time": 9.043, - "vocabulary": 10, - "volume": 46.507, - "operands": { "distinct": 5, "total": 7 }, - "operators": { "distinct": 5, "total": 7 } - }, - "paramCount": 0, - "sloc": { "logical": 3, "physical": 9 } - }, - "dependencies": [ - { "line": 1, "path": "../class-list", "type": "esm" } - ], - "errors": [], - "lineEnd": 9, - "lineStart": 1, - "maintainability": 135.787, - "codehawkScore": 92.8634839277374, - "coverage": "0" - }, - "timesDependedOn": 6 - }, - { - "fullPath": "/samples/sweetalert/src/modules/markup/icons.ts", - "filename": "icons.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/markup", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 4, - "cyclomaticDensity": 25, - "halstead": { - "bugs": 0.163, - "difficulty": 6.86, - "effort": 3361.4, - "length": 98, - "time": 186.744, - "vocabulary": 32, - "volume": 490, - "operands": { "distinct": 25, "total": 49 }, - "operators": { "distinct": 7, "total": 49 } - }, - "paramCount": 0, - "sloc": { "logical": 16, "physical": 33 } - }, - "dependencies": [ - { "line": 1, "path": "../class-list", "type": "esm" } - ], - "errors": [], - "lineEnd": 33, - "lineStart": 1, - "maintainability": 125.512, - "codehawkScore": 58.89252972007756, - "coverage": "0" - }, - "timesDependedOn": 6 - }, - { - "fullPath": "/samples/sweetalert/src/modules/markup/index.ts", - "filename": "index.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/markup", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 11.111, - "halstead": { - "bugs": 0.06, - "difficulty": 5.208, - "effort": 936.71, - "length": 44, - "time": 52.039, - "vocabulary": 17, - "volume": 179.848, - "operands": { "distinct": 12, "total": 25 }, - "operators": { "distinct": 5, "total": 19 } - }, - "paramCount": 0, - "sloc": { "logical": 9, "physical": 22 } - }, - "dependencies": [ - { "line": 6, "path": "../class-list", "type": "esm" } - ], - "errors": [], - "lineEnd": 22, - "lineStart": 1, - "maintainability": 112.004, - "codehawkScore": 91.24987755023842, - "coverage": "0" - }, - "timesDependedOn": 6 - }, - { - "fullPath": "/samples/sweetalert/src/modules/markup/modal.ts", - "filename": "modal.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/markup", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 33.333, - "halstead": { - "bugs": 0.022, - "difficulty": 4.5, - "effort": 290.382, - "length": 18, - "time": 16.132, - "vocabulary": 12, - "volume": 64.529, - "operands": { "distinct": 6, "total": 9 }, - "operators": { "distinct": 6, "total": 9 } - }, - "paramCount": 0, - "sloc": { "logical": 3, "physical": 12 } - }, - "dependencies": [ - { "line": 1, "path": "../class-list", "type": "esm" } - ], - "errors": [], - "lineEnd": 12, - "lineStart": 1, - "maintainability": 133.807, - "codehawkScore": 92.30905580181427, - "coverage": "0" - }, - "timesDependedOn": 6 - }, - { - "fullPath": "/samples/sweetalert/src/modules/markup/overlay.ts", - "filename": "overlay.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/markup", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 33.333, - "halstead": { - "bugs": 0.017, - "difficulty": 4, - "effort": 199.316, - "length": 15, - "time": 11.073, - "vocabulary": 10, - "volume": 49.829, - "operands": { "distinct": 5, "total": 8 }, - "operators": { "distinct": 5, "total": 7 } - }, - "paramCount": 0, - "sloc": { "logical": 3, "physical": 9 } - }, - "dependencies": [ - { "line": 1, "path": "../class-list", "type": "esm" } - ], - "errors": [], - "lineEnd": 9, - "lineStart": 1, - "maintainability": 135.094, - "codehawkScore": 92.8634839277374, - "coverage": "0" - }, - "timesDependedOn": 6 - } - ] - }, - { - "fullPath": "/samples/sweetalert/src/modules/options", - "filename": "options", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/src/modules/options/buttons.ts", - "filename": "buttons.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/options", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 20, - "cyclomaticDensity": 17.544, - "halstead": { - "bugs": 0.793, - "difficulty": 43.615, - "effort": 103824.695, - "length": 381, - "time": 5768.039, - "vocabulary": 76, - "volume": 2380.46, - "operands": { "distinct": 52, "total": 189 }, - "operators": { "distinct": 24, "total": 192 } - }, - "paramCount": 6, - "sloc": { "logical": 114, "physical": 150 } - }, - "dependencies": [ - { "line": 1, "path": "../utils", "type": "esm" } - ], - "errors": [], - "lineEnd": 150, - "lineStart": 1, - "maintainability": 88.721, - "codehawkScore": 47.06570281407246, - "coverage": "0" - }, - "timesDependedOn": 7 - }, - { - "fullPath": "/samples/sweetalert/src/modules/options/content.ts", - "filename": "content.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/options", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 5, - "cyclomaticDensity": 29.412, - "halstead": { - "bugs": 0.078, - "difficulty": 9.857, - "effort": 2316.645, - "length": 50, - "time": 128.703, - "vocabulary": 26, - "volume": 235.022, - "operands": { "distinct": 14, "total": 23 }, - "operators": { "distinct": 12, "total": 27 } - }, - "paramCount": 1, - "sloc": { "logical": 17, "physical": 27 } - }, - "dependencies": [ - { "line": 1, "path": "../utils", "type": "esm" } - ], - "errors": [], - "lineEnd": 27, - "lineStart": 1, - "maintainability": 111.287, - "codehawkScore": 62.70448988147212, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/modules/options/deprecations.ts", - "filename": "deprecations.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/options", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 6, - "cyclomaticDensity": 8, - "halstead": { - "bugs": 0.545, - "difficulty": 17.024, - "effort": 27820.387, - "length": 260, - "time": 1545.577, - "vocabulary": 78, - "volume": 1634.205, - "operands": { "distinct": 63, "total": 143 }, - "operators": { "distinct": 15, "total": 117 } - }, - "paramCount": 1, - "sloc": { "logical": 75, "physical": 105 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 105, - "lineStart": 1, - "maintainability": 78.559, - "codehawkScore": 47.379394934117734, - "coverage": "0" - }, - "timesDependedOn": 2 - }, - { - "fullPath": "/samples/sweetalert/src/modules/options/index.ts", - "filename": "index.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules/options", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 27, - "cyclomaticDensity": 25.234, - "halstead": { - "bugs": 0.848, - "difficulty": 35.015, - "effort": 89106.207, - "length": 392, - "time": 4950.345, - "vocabulary": 90, - "volume": 2544.806, - "operands": { "distinct": 67, "total": 204 }, - "operators": { "distinct": 23, "total": 188 } - }, - "paramCount": 17, - "sloc": { "logical": 107, "physical": 150 } - }, - "dependencies": [ - { "line": 1, "path": "../utils", "type": "esm" }, - { "line": 2, "path": "./buttons", "type": "esm" }, - { "line": 3, "path": "./content", "type": "esm" }, - { "line": 4, "path": "./deprecations", "type": "esm" } - ], - "errors": [], - "lineEnd": 150, - "lineStart": 1, - "maintainability": 102.469, - "codehawkScore": 46.51449814838432, - "coverage": "0" - }, - "timesDependedOn": 1 - } - ] - }, - { - "fullPath": "/samples/sweetalert/src/modules/actions.ts", - "filename": "actions.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 8, - "cyclomaticDensity": 18.182, - "halstead": { - "bugs": 0.34, - "difficulty": 19.8, - "effort": 20181.916, - "length": 174, - "time": 1121.218, - "vocabulary": 58, - "volume": 1019.289, - "operands": { "distinct": 40, "total": 88 }, - "operators": { "distinct": 18, "total": 86 } - }, - "paramCount": 1, - "sloc": { "logical": 44, "physical": 67 } - }, - "dependencies": [ - { "line": 1, "path": "./utils", "type": "esm" }, - { "line": 2, "path": "./options/buttons", "type": "esm" }, - { "line": 3, "path": "./class-list", "type": "esm" }, - { "line": 10, "path": "./state", "type": "esm" } - ], - "errors": [], - "lineEnd": 67, - "lineStart": 1, - "maintainability": 110.662, - "codehawkScore": 53.67817875674, - "coverage": "0" - }, - "timesDependedOn": 4 - }, - { - "fullPath": "/samples/sweetalert/src/modules/event-listeners.ts", - "filename": "event-listeners.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 32, - "cyclomaticDensity": 29.358, - "halstead": { - "bugs": 0.75, - "difficulty": 27.708, - "effort": 62356.211, - "length": 357, - "time": 3464.234, - "vocabulary": 79, - "volume": 2250.45, - "operands": { "distinct": 60, "total": 175 }, - "operators": { "distinct": 19, "total": 182 } - }, - "paramCount": 11, - "sloc": { "logical": 109, "physical": 141 } - }, - "dependencies": [ - { "line": 1, "path": "./state", "type": "esm" }, - { "line": 2, "path": "./actions", "type": "esm" }, - { "line": 3, "path": "./utils", "type": "esm" }, - { "line": 4, "path": "./options/buttons", "type": "esm" }, - { "line": 5, "path": "./class-list", "type": "esm" } - ], - "errors": [], - "lineEnd": 141, - "lineStart": 1, - "maintainability": 110.946, - "codehawkScore": 47.300787024008535, - "coverage": "0" - }, - "timesDependedOn": 1 - }, - { - "fullPath": "/samples/sweetalert/src/modules/state.ts", - "filename": "state.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 7, - "cyclomaticDensity": 25, - "halstead": { - "bugs": 0.205, - "difficulty": 19.773, - "effort": 12154.602, - "length": 118, - "time": 675.256, - "vocabulary": 37, - "volume": 614.715, - "operands": { "distinct": 22, "total": 58 }, - "operators": { "distinct": 15, "total": 60 } - }, - "paramCount": 6, - "sloc": { "logical": 28, "physical": 51 } - }, - "dependencies": [ - { "line": 1, "path": "./options/buttons", "type": "esm" } - ], - "errors": [], - "lineEnd": 51, - "lineStart": 1, - "maintainability": 116.092, - "codehawkScore": 57.1359500207509, - "coverage": "0" - }, - "timesDependedOn": 5 - }, - { - "fullPath": "/samples/sweetalert/src/modules/utils.ts", - "filename": "utils.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src/modules", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 16, - "cyclomaticDensity": 34.043, - "halstead": { - "bugs": 0.419, - "difficulty": 15.316, - "effort": 19270.654, - "length": 202, - "time": 1070.592, - "vocabulary": 75, - "volume": 1258.221, - "operands": { "distinct": 57, "total": 97 }, - "operators": { "distinct": 18, "total": 105 } - }, - "paramCount": 8, - "sloc": { "logical": 47, "physical": 61 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 61, - "lineStart": 1, - "maintainability": 114.99, - "codehawkScore": 55.43471610919461, - "coverage": "0" - }, - "timesDependedOn": 10 - } - ] - }, - { - "fullPath": "/samples/sweetalert/src/core.ts", - "filename": "core.ts", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 5, - "cyclomaticDensity": 25, - "halstead": { - "bugs": 0.114, - "difficulty": 11.7, - "effort": 4013.32, - "length": 68, - "time": 222.962, - "vocabulary": 33, - "volume": 343.019, - "operands": { "distinct": 20, "total": 36 }, - "operators": { "distinct": 13, "total": 32 } - }, - "paramCount": 3, - "sloc": { "logical": 20, "physical": 34 } - }, - "dependencies": [ - { "line": 6, "path": "./modules/init", "type": "esm" }, - { "line": 7, "path": "./modules/actions", "type": "esm" }, - { "line": 8, "path": "./modules/state", "type": "esm" }, - { "line": 9, "path": "./modules/options", "type": "esm" } - ], - "errors": [], - "lineEnd": 34, - "lineStart": 1, - "maintainability": 121.068, - "codehawkScore": 59.79558895081384, - "coverage": "0" - }, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/polyfills.js", - "filename": "polyfills.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 24, - "cyclomaticDensity": 42.857, - "halstead": { - "bugs": 0.537, - "difficulty": 37.278, - "effort": 60044.654, - "length": 250, - "time": 3335.814, - "vocabulary": 87, - "volume": 1610.736, - "operands": { "distinct": 54, "total": 122 }, - "operators": { "distinct": 33, "total": 128 } - }, - "paramCount": 8, - "sloc": { "logical": 56, "physical": 110 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 110, - "lineStart": 1, - "maintainability": 105.106, - "codehawkScore": 49.61465132219012, - "coverage": "0" - }, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/sweetalert.css", - "filename": "sweetalert.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/src", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/sweetalert.d.ts", - "filename": "sweetalert.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/src", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/src/sweetalert.js", - "filename": "sweetalert.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert/src", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 2, - "cyclomaticDensity": 33.333, - "halstead": { - "bugs": 0.033, - "difficulty": 4.55, - "effort": 446.351, - "length": 24, - "time": 24.797, - "vocabulary": 17, - "volume": 98.099, - "operands": { "distinct": 10, "total": 13 }, - "operators": { "distinct": 7, "total": 11 } - }, - "paramCount": 0, - "sloc": { "logical": 6, "physical": 15 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 15, - "lineStart": 1, - "maintainability": 120.415, - "codehawkScore": 91.1153746262618, - "coverage": "0" - }, - "timesDependedOn": 0 - } - ] - }, - { - "fullPath": "/samples/sweetalert/typings", - "filename": "typings", - "shouldAnalyze": true, - "type": "dir", - "files": [] - }, - { - "fullPath": "/samples/sweetalert/expected.json", - "filename": "expected.json", - "shouldAnalyze": false, - "path": "/samples/sweetalert", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/LICENSE.md", - "filename": "LICENSE.md", - "shouldAnalyze": false, - "path": "/samples/sweetalert", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/postcss.config.js", - "filename": "postcss.config.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 12.5, - "halstead": { - "bugs": 0.042, - "difficulty": 4.773, - "effort": 597.057, - "length": 30, - "time": 33.17, - "vocabulary": 18, - "volume": 125.098, - "operands": { "distinct": 11, "total": 15 }, - "operators": { "distinct": 7, "total": 15 } - }, - "paramCount": 0, - "sloc": { "logical": 8, "physical": 10 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 10, - "lineStart": 1, - "maintainability": 115.452, - "codehawkScore": 91.07606249060817, - "coverage": "0" - }, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/README.md", - "filename": "README.md", - "shouldAnalyze": false, - "path": "/samples/sweetalert", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/tsconfig.json", - "filename": "tsconfig.json", - "shouldAnalyze": false, - "path": "/samples/sweetalert", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/tslint.json", - "filename": "tslint.json", - "shouldAnalyze": false, - "path": "/samples/sweetalert", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/webpack.config.js", - "filename": "webpack.config.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 4, - "cyclomaticDensity": 6.452, - "halstead": { - "bugs": 0.494, - "difficulty": 10.092, - "effort": 14966.016, - "length": 229, - "time": 831.445, - "vocabulary": 89, - "volume": 1482.943, - "operands": { "distinct": 76, "total": 118 }, - "operators": { "distinct": 13, "total": 111 } - }, - "paramCount": 2, - "sloc": { "logical": 62, "physical": 104 } - }, - "dependencies": [], - "errors": [], - "lineEnd": 104, - "lineStart": 1, - "maintainability": 84.169, - "codehawkScore": 44.90727094909405, - "coverage": "0" - }, - "timesDependedOn": 0 - } - ] -} +{ + "options": { + "badgesDirectory": [ + "/generated" + ], + "extensions": [ + ".js", + ".jsx", + ".ts", + ".tsx" + ], + "excludeDirectories": [ + "/dist", + "/bin", + "/build" + ], + "excludeExact": [], + "excludeFilenames": [ + ".d.ts", + ".min.js", + ".bundle.js" + ], + "skipDirectories": [ + "/node_modules", + "/flow-typed", + "/coverage", + "/samples/sweetalert/docs", + "/samples/sweetalert/docs-src", + "/samples/sweetalert/typings" + ], + "minimumThreshold": 10, + "cliOutputLimit": 25 + }, + "summary": { + "average": 66.87672729626027, + "median": 58.89252972007756, + "worst": 44.90727094909405 + }, + "resultsList": [ + { + "fullPath": "/samples/sweetalert/webpack.config.js", + "filename": "webpack.config.js", + "shouldAnalyze": true, + "path": "/samples/sweetalert", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 4, + "cyclomaticDensity": 6.452, + "halstead": { + "bugs": 0.494, + "difficulty": 10.092, + "effort": 14966.016, + "length": 229, + "time": 831.445, + "vocabulary": 89, + "volume": 1482.943, + "operands": { + "distinct": 76, + "total": 118 + }, + "operators": { + "distinct": 13, + "total": 111 + } + }, + "paramCount": 2, + "sloc": { + "logical": 62, + "physical": 104 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 104, + "lineStart": 1, + "maintainability": 84.169, + "codehawkScore": 44.90727094909405, + "coverage": "0" + }, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/modules/options/index.ts", + "filename": "index.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/options", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 27, + "cyclomaticDensity": 25.234, + "halstead": { + "bugs": 0.848, + "difficulty": 35.015, + "effort": 89106.207, + "length": 392, + "time": 4950.345, + "vocabulary": 90, + "volume": 2544.806, + "operands": { + "distinct": 67, + "total": 204 + }, + "operators": { + "distinct": 23, + "total": 188 + } + }, + "paramCount": 17, + "sloc": { + "logical": 107, + "physical": 143 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + }, + { + "line": 2, + "path": "./buttons", + "type": "esm" + }, + { + "line": 3, + "path": "./content", + "type": "esm" + }, + { + "line": 4, + "path": "./deprecations", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 143, + "lineStart": 1, + "maintainability": 102.469, + "codehawkScore": 46.9672518057813, + "coverage": "0" + }, + "timesDependedOn": 1 + }, + { + "fullPath": "/samples/sweetalert/src/modules/options/deprecations.ts", + "filename": "deprecations.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/options", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 6, + "cyclomaticDensity": 8, + "halstead": { + "bugs": 0.545, + "difficulty": 17.024, + "effort": 27820.387, + "length": 260, + "time": 1545.577, + "vocabulary": 78, + "volume": 1634.205, + "operands": { + "distinct": 63, + "total": 143 + }, + "operators": { + "distinct": 15, + "total": 117 + } + }, + "paramCount": 1, + "sloc": { + "logical": 75, + "physical": 102 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 102, + "lineStart": 1, + "maintainability": 78.559, + "codehawkScore": 47.65401370449591, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/options/buttons.ts", + "filename": "buttons.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/options", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 20, + "cyclomaticDensity": 17.544, + "halstead": { + "bugs": 0.793, + "difficulty": 43.615, + "effort": 103824.695, + "length": 381, + "time": 5768.039, + "vocabulary": 76, + "volume": 2380.46, + "operands": { + "distinct": 52, + "total": 189 + }, + "operators": { + "distinct": 24, + "total": 192 + } + }, + "paramCount": 6, + "sloc": { + "logical": 114, + "physical": 131 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 131, + "lineStart": 1, + "maintainability": 88.721, + "codehawkScore": 48.34879938044713, + "coverage": "0" + }, + "timesDependedOn": 7 + }, + { + "fullPath": "/samples/sweetalert/src/modules/event-listeners.ts", + "filename": "event-listeners.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 32, + "cyclomaticDensity": 29.358, + "halstead": { + "bugs": 0.75, + "difficulty": 27.708, + "effort": 62356.211, + "length": 357, + "time": 3464.234, + "vocabulary": 79, + "volume": 2250.45, + "operands": { + "distinct": 60, + "total": 175 + }, + "operators": { + "distinct": 19, + "total": 182 + } + }, + "paramCount": 11, + "sloc": { + "logical": 109, + "physical": 118 + } + }, + "dependencies": [ + { + "line": 1, + "path": "./state", + "type": "esm" + }, + { + "line": 2, + "path": "./actions", + "type": "esm" + }, + { + "line": 3, + "path": "./utils", + "type": "esm" + }, + { + "line": 4, + "path": "./options/buttons", + "type": "esm" + }, + { + "line": 5, + "path": "./class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 118, + "lineStart": 1, + "maintainability": 110.946, + "codehawkScore": 48.98781585896909, + "coverage": "0" + }, + "timesDependedOn": 1 + }, + { + "fullPath": "/samples/sweetalert/src/polyfills.js", + "filename": "polyfills.js", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 24, + "cyclomaticDensity": 42.857, + "halstead": { + "bugs": 0.537, + "difficulty": 37.278, + "effort": 60044.654, + "length": 250, + "time": 3335.814, + "vocabulary": 87, + "volume": 1610.736, + "operands": { + "distinct": 54, + "total": 122 + }, + "operators": { + "distinct": 33, + "total": 128 + } + }, + "paramCount": 8, + "sloc": { + "logical": 56, + "physical": 110 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 110, + "lineStart": 1, + "maintainability": 105.106, + "codehawkScore": 49.61465132219012, + "coverage": "0" + }, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/buttons.ts", + "filename": "buttons.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 12, + "cyclomaticDensity": 26.087, + "halstead": { + "bugs": 0.387, + "difficulty": 17.867, + "effort": 20735.479, + "length": 192, + "time": 1151.971, + "vocabulary": 66, + "volume": 1160.524, + "operands": { + "distinct": 49, + "total": 103 + }, + "operators": { + "distinct": 17, + "total": 89 + } + }, + "paramCount": 10, + "sloc": { + "logical": 46, + "physical": 73 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + }, + { + "line": 2, + "path": "./modal", + "type": "esm" + }, + { + "line": 3, + "path": "../class-list", + "type": "esm" + }, + { + "line": 8, + "path": "../options/buttons", + "type": "esm" + }, + { + "line": 9, + "path": "../markup", + "type": "esm" + }, + { + "line": 10, + "path": "../actions", + "type": "esm" + }, + { + "line": 11, + "path": "../state", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 73, + "lineStart": 1, + "maintainability": 109.444, + "codehawkScore": 53.62231632010348, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/actions.ts", + "filename": "actions.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 8, + "cyclomaticDensity": 18.182, + "halstead": { + "bugs": 0.34, + "difficulty": 19.8, + "effort": 20181.916, + "length": 174, + "time": 1121.218, + "vocabulary": 58, + "volume": 1019.289, + "operands": { + "distinct": 40, + "total": 88 + }, + "operators": { + "distinct": 18, + "total": 86 + } + }, + "paramCount": 1, + "sloc": { + "logical": 44, + "physical": 62 + } + }, + "dependencies": [ + { + "line": 1, + "path": "./utils", + "type": "esm" + }, + { + "line": 2, + "path": "./options/buttons", + "type": "esm" + }, + { + "line": 3, + "path": "./class-list", + "type": "esm" + }, + { + "line": 10, + "path": "./state", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 62, + "lineStart": 1, + "maintainability": 110.662, + "codehawkScore": 54.41294097685882, + "coverage": "0" + }, + "timesDependedOn": 4 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/content.ts", + "filename": "content.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 11, + "cyclomaticDensity": 25.581, + "halstead": { + "bugs": 0.308, + "difficulty": 18.308, + "effort": 16904.763, + "length": 159, + "time": 939.154, + "vocabulary": 56, + "volume": 923.369, + "operands": { + "distinct": 39, + "total": 84 + }, + "operators": { + "distinct": 17, + "total": 75 + } + }, + "paramCount": 7, + "sloc": { + "logical": 43, + "physical": 67 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../options/buttons", + "type": "esm" + }, + { + "line": 2, + "path": "./modal", + "type": "esm" + }, + { + "line": 3, + "path": "../markup", + "type": "esm" + }, + { + "line": 4, + "path": "../state", + "type": "esm" + }, + { + "line": 5, + "path": "../actions", + "type": "esm" + }, + { + "line": 6, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 67, + "lineStart": 1, + "maintainability": 114.5, + "codehawkScore": 54.731304782109554, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/modal.ts", + "filename": "modal.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 7, + "cyclomaticDensity": 17.949, + "halstead": { + "bugs": 0.243, + "difficulty": 8.97, + "effort": 6535.564, + "length": 136, + "time": 363.087, + "vocabulary": 41, + "volume": 728.627, + "operands": { + "distinct": 33, + "total": 74 + }, + "operators": { + "distinct": 8, + "total": 62 + } + }, + "paramCount": 5, + "sloc": { + "logical": 39, + "physical": 60 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + }, + { + "line": 2, + "path": "../markup", + "type": "esm" + }, + { + "line": 3, + "path": "../class-list", + "type": "esm" + }, + { + "line": 8, + "path": "./icon", + "type": "esm" + }, + { + "line": 9, + "path": "./text", + "type": "esm" + }, + { + "line": 10, + "path": "./buttons", + "type": "esm" + }, + { + "line": 11, + "path": "./content", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 60, + "lineStart": 1, + "maintainability": 116.606, + "codehawkScore": 55.28413232544305, + "coverage": "0" + }, + "timesDependedOn": 6 + }, + { + "fullPath": "/samples/sweetalert/src/modules/utils.ts", + "filename": "utils.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 16, + "cyclomaticDensity": 34.043, + "halstead": { + "bugs": 0.419, + "difficulty": 15.316, + "effort": 19270.654, + "length": 202, + "time": 1070.592, + "vocabulary": 75, + "volume": 1258.221, + "operands": { + "distinct": 57, + "total": 97 + }, + "operators": { + "distinct": 18, + "total": 105 + } + }, + "paramCount": 8, + "sloc": { + "logical": 47, + "physical": 57 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 57, + "lineStart": 1, + "maintainability": 114.99, + "codehawkScore": 56.077245969246036, + "coverage": "0" + }, + "timesDependedOn": 10 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/icon.ts", + "filename": "icon.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 7, + "cyclomaticDensity": 19.444, + "halstead": { + "bugs": 0.252, + "difficulty": 14.703, + "effort": 11116.5, + "length": 132, + "time": 617.583, + "vocabulary": 53, + "volume": 756.086, + "operands": { + "distinct": 37, + "total": 68 + }, + "operators": { + "distinct": 16, + "total": 64 + } + }, + "paramCount": 5, + "sloc": { + "logical": 36, + "physical": 42 + } + }, + "dependencies": [ + { + "line": 2, + "path": "./modal", + "type": "esm" + }, + { + "line": 3, + "path": "../markup", + "type": "esm" + }, + { + "line": 4, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 42, + "lineStart": 1, + "maintainability": 107.725, + "codehawkScore": 57.88248957000378, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/state.ts", + "filename": "state.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 7, + "cyclomaticDensity": 25, + "halstead": { + "bugs": 0.205, + "difficulty": 19.773, + "effort": 12154.602, + "length": 118, + "time": 675.256, + "vocabulary": 37, + "volume": 614.715, + "operands": { + "distinct": 22, + "total": 58 + }, + "operators": { + "distinct": 15, + "total": 60 + } + }, + "paramCount": 6, + "sloc": { + "logical": 28, + "physical": 47 + } + }, + "dependencies": [ + { + "line": 1, + "path": "./options/buttons", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 47, + "lineStart": 1, + "maintainability": 116.092, + "codehawkScore": 57.90974189351764, + "coverage": "0" + }, + "timesDependedOn": 5 + }, + { + "fullPath": "/samples/sweetalert/src/modules/markup/icons.ts", + "filename": "icons.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/markup", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 4, + "cyclomaticDensity": 25, + "halstead": { + "bugs": 0.163, + "difficulty": 6.86, + "effort": 3361.4, + "length": 98, + "time": 186.744, + "vocabulary": 32, + "volume": 490, + "operands": { + "distinct": 25, + "total": 49 + }, + "operators": { + "distinct": 7, + "total": 49 + } + }, + "paramCount": 0, + "sloc": { + "logical": 16, + "physical": 33 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 33, + "lineStart": 1, + "maintainability": 125.512, + "codehawkScore": 58.89252972007756, + "coverage": "0" + }, + "timesDependedOn": 6 + }, + { + "fullPath": "/samples/sweetalert/src/core.ts", + "filename": "core.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 5, + "cyclomaticDensity": 25, + "halstead": { + "bugs": 0.114, + "difficulty": 11.7, + "effort": 4013.32, + "length": 68, + "time": 222.962, + "vocabulary": 33, + "volume": 343.019, + "operands": { + "distinct": 20, + "total": 36 + }, + "operators": { + "distinct": 13, + "total": 32 + } + }, + "paramCount": 3, + "sloc": { + "logical": 20, + "physical": 34 + } + }, + "dependencies": [ + { + "line": 7, + "path": "./modules/init", + "type": "esm" + }, + { + "line": 8, + "path": "./modules/actions", + "type": "esm" + }, + { + "line": 9, + "path": "./modules/state", + "type": "esm" + }, + { + "line": 10, + "path": "./modules/options", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 34, + "lineStart": 1, + "maintainability": 121.068, + "codehawkScore": 59.79558895081384, + "coverage": "0" + }, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/text.ts", + "filename": "text.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 9, + "cyclomaticDensity": 29.032, + "halstead": { + "bugs": 0.214, + "difficulty": 7.75, + "effort": 4979.738, + "length": 117, + "time": 276.652, + "vocabulary": 45, + "volume": 642.547, + "operands": { + "distinct": 36, + "total": 62 + }, + "operators": { + "distinct": 9, + "total": 55 + } + }, + "paramCount": 6, + "sloc": { + "logical": 31, + "physical": 38 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../markup", + "type": "esm" + }, + { + "line": 2, + "path": "./modal", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 38, + "lineStart": 1, + "maintainability": 117.244, + "codehawkScore": 60.20995227958394, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/index.ts", + "filename": "index.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 4, + "cyclomaticDensity": 30.769, + "halstead": { + "bugs": 0.058, + "difficulty": 5.714, + "effort": 993.816, + "length": 39, + "time": 55.212, + "vocabulary": 22, + "volume": 173.918, + "operands": { + "distinct": 14, + "total": 20 + }, + "operators": { + "distinct": 8, + "total": 19 + } + }, + "paramCount": 1, + "sloc": { + "logical": 13, + "physical": 27 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + }, + { + "line": 2, + "path": "../class-list", + "type": "esm" + }, + { + "line": 6, + "path": "./modal", + "type": "esm" + }, + { + "line": 7, + "path": "./overlay", + "type": "esm" + }, + { + "line": 8, + "path": "../event-listeners", + "type": "esm" + }, + { + "line": 9, + "path": "../utils", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 27, + "lineStart": 1, + "maintainability": 118.751, + "codehawkScore": 61.9330391958566, + "coverage": "0" + }, + "timesDependedOn": 1 + }, + { + "fullPath": "/samples/sweetalert/src/modules/options/content.ts", + "filename": "content.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/options", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 5, + "cyclomaticDensity": 29.412, + "halstead": { + "bugs": 0.078, + "difficulty": 9.857, + "effort": 2316.645, + "length": 50, + "time": 128.703, + "vocabulary": 26, + "volume": 235.022, + "operands": { + "distinct": 14, + "total": 23 + }, + "operators": { + "distinct": 12, + "total": 27 + } + }, + "paramCount": 1, + "sloc": { + "logical": 17, + "physical": 23 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 23, + "lineStart": 1, + "maintainability": 111.287, + "codehawkScore": 64.2235255137633, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/class-list/index.ts", + "filename": "index.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/class-list", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 5, + "halstead": { + "bugs": 0.15, + "difficulty": 4.273, + "effort": 1919.562, + "length": 85, + "time": 106.642, + "vocabulary": 39, + "volume": 449.259, + "operands": { + "distinct": 33, + "total": 47 + }, + "operators": { + "distinct": 6, + "total": 38 + } + }, + "paramCount": 0, + "sloc": { + "logical": 20, + "physical": 29 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 29, + "lineStart": 1, + "maintainability": 96.614, + "codehawkScore": 88.72484177785137, + "coverage": "0" + }, + "timesDependedOn": 13 + }, + { + "fullPath": "/samples/sweetalert/postcss.config.js", + "filename": "postcss.config.js", + "shouldAnalyze": true, + "path": "/samples/sweetalert", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 12.5, + "halstead": { + "bugs": 0.042, + "difficulty": 4.773, + "effort": 597.057, + "length": 30, + "time": 33.17, + "vocabulary": 18, + "volume": 125.098, + "operands": { + "distinct": 11, + "total": 15 + }, + "operators": { + "distinct": 7, + "total": 15 + } + }, + "paramCount": 0, + "sloc": { + "logical": 8, + "physical": 10 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 10, + "lineStart": 1, + "maintainability": 115.452, + "codehawkScore": 91.07606249060817, + "coverage": "0" + }, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/sweetalert.js", + "filename": "sweetalert.js", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 2, + "cyclomaticDensity": 33.333, + "halstead": { + "bugs": 0.033, + "difficulty": 4.55, + "effort": 446.351, + "length": 24, + "time": 24.797, + "vocabulary": 17, + "volume": 98.099, + "operands": { + "distinct": 10, + "total": 13 + }, + "operators": { + "distinct": 7, + "total": 11 + } + }, + "paramCount": 0, + "sloc": { + "logical": 6, + "physical": 15 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 15, + "lineStart": 1, + "maintainability": 120.415, + "codehawkScore": 91.1153746262618, + "coverage": "0" + }, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/modules/markup/index.ts", + "filename": "index.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/markup", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 11.111, + "halstead": { + "bugs": 0.06, + "difficulty": 5.208, + "effort": 936.71, + "length": 44, + "time": 52.039, + "vocabulary": 17, + "volume": 179.848, + "operands": { + "distinct": 12, + "total": 25 + }, + "operators": { + "distinct": 5, + "total": 19 + } + }, + "paramCount": 0, + "sloc": { + "logical": 9, + "physical": 22 + } + }, + "dependencies": [ + { + "line": 6, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 22, + "lineStart": 1, + "maintainability": 112.004, + "codehawkScore": 91.24987755023842, + "coverage": "0" + }, + "timesDependedOn": 6 + }, + { + "fullPath": "/samples/sweetalert/src/modules/markup/buttons.ts", + "filename": "buttons.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/markup", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 20, + "halstead": { + "bugs": 0.03, + "difficulty": 4.167, + "effort": 380.735, + "length": 24, + "time": 21.152, + "vocabulary": 14, + "volume": 91.377, + "operands": { + "distinct": 9, + "total": 15 + }, + "operators": { + "distinct": 5, + "total": 9 + } + }, + "paramCount": 0, + "sloc": { + "logical": 5, + "physical": 21 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 21, + "lineStart": 1, + "maintainability": 124.605, + "codehawkScore": 91.84029350058518, + "coverage": "0" + }, + "timesDependedOn": 6 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/overlay.ts", + "filename": "overlay.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 2, + "cyclomaticDensity": 40, + "halstead": { + "bugs": 0.022, + "difficulty": 3.214, + "effort": 207.416, + "length": 18, + "time": 11.523, + "vocabulary": 12, + "volume": 64.529, + "operands": { + "distinct": 7, + "total": 9 + }, + "operators": { + "distinct": 5, + "total": 9 + } + }, + "paramCount": 0, + "sloc": { + "logical": 5, + "physical": 7 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + }, + { + "line": 2, + "path": "../markup", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 7, + "lineStart": 1, + "maintainability": 140.282, + "codehawkScore": 92.17455287783764, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/markup/modal.ts", + "filename": "modal.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/markup", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 33.333, + "halstead": { + "bugs": 0.022, + "difficulty": 4.5, + "effort": 290.382, + "length": 18, + "time": 16.132, + "vocabulary": 12, + "volume": 64.529, + "operands": { + "distinct": 6, + "total": 9 + }, + "operators": { + "distinct": 6, + "total": 9 + } + }, + "paramCount": 0, + "sloc": { + "logical": 3, + "physical": 18 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 18, + "lineStart": 1, + "maintainability": 133.807, + "codehawkScore": 92.30905580181427, + "coverage": "0" + }, + "timesDependedOn": 6 + }, + { + "fullPath": "/samples/sweetalert/src/modules/markup/content.ts", + "filename": "content.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/markup", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 33.333, + "halstead": { + "bugs": 0.016, + "difficulty": 3.5, + "effort": 162.774, + "length": 14, + "time": 9.043, + "vocabulary": 10, + "volume": 46.507, + "operands": { + "distinct": 5, + "total": 7 + }, + "operators": { + "distinct": 5, + "total": 7 + } + }, + "paramCount": 0, + "sloc": { + "logical": 3, + "physical": 9 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 9, + "lineStart": 1, + "maintainability": 135.787, + "codehawkScore": 92.8634839277374, + "coverage": "0" + }, + "timesDependedOn": 6 + }, + { + "fullPath": "/samples/sweetalert/src/modules/markup/overlay.ts", + "filename": "overlay.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/markup", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 33.333, + "halstead": { + "bugs": 0.017, + "difficulty": 4, + "effort": 199.316, + "length": 15, + "time": 11.073, + "vocabulary": 10, + "volume": 49.829, + "operands": { + "distinct": 5, + "total": 8 + }, + "operators": { + "distinct": 5, + "total": 7 + } + }, + "paramCount": 0, + "sloc": { + "logical": 3, + "physical": 9 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 9, + "lineStart": 1, + "maintainability": 135.094, + "codehawkScore": 92.8634839277374, + "coverage": "0" + }, + "timesDependedOn": 6 + } + ], + "fullResultsTree": [ + { + "fullPath": "/samples/sweetalert/assets", + "filename": "assets", + "shouldAnalyze": true, + "type": "dir", + "files": [ + { + "fullPath": "/samples/sweetalert/assets/logotype.png", + "filename": "logotype.png", + "shouldAnalyze": false, + "path": "/samples/sweetalert/assets", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/assets/swal.gif", + "filename": "swal.gif", + "shouldAnalyze": false, + "path": "/samples/sweetalert/assets", + "type": "file", + "timesDependedOn": 0 + } + ] + }, + { + "fullPath": "/samples/sweetalert/docs", + "filename": "docs", + "shouldAnalyze": true, + "type": "dir", + "files": [] + }, + { + "fullPath": "/samples/sweetalert/docs-src", + "filename": "docs-src", + "shouldAnalyze": true, + "type": "dir", + "files": [] + }, + { + "fullPath": "/samples/sweetalert/src", + "filename": "src", + "shouldAnalyze": true, + "type": "dir", + "files": [ + { + "fullPath": "/samples/sweetalert/src/css", + "filename": "css", + "shouldAnalyze": true, + "type": "dir", + "files": [ + { + "fullPath": "/samples/sweetalert/src/css/icons", + "filename": "icons", + "shouldAnalyze": true, + "type": "dir", + "files": [ + { + "fullPath": "/samples/sweetalert/src/css/icons/error.css", + "filename": "error.css", + "shouldAnalyze": false, + "path": "/samples/sweetalert/src/css/icons", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/css/icons/info.css", + "filename": "info.css", + "shouldAnalyze": false, + "path": "/samples/sweetalert/src/css/icons", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/css/icons/success.css", + "filename": "success.css", + "shouldAnalyze": false, + "path": "/samples/sweetalert/src/css/icons", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/css/icons/warning.css", + "filename": "warning.css", + "shouldAnalyze": false, + "path": "/samples/sweetalert/src/css/icons", + "type": "file", + "timesDependedOn": 0 + } + ] + }, + { + "fullPath": "/samples/sweetalert/src/css/button-loader.css", + "filename": "button-loader.css", + "shouldAnalyze": false, + "path": "/samples/sweetalert/src/css", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/css/buttons.css", + "filename": "buttons.css", + "shouldAnalyze": false, + "path": "/samples/sweetalert/src/css", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/css/content.css", + "filename": "content.css", + "shouldAnalyze": false, + "path": "/samples/sweetalert/src/css", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/css/icons.css", + "filename": "icons.css", + "shouldAnalyze": false, + "path": "/samples/sweetalert/src/css", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/css/text.css", + "filename": "text.css", + "shouldAnalyze": false, + "path": "/samples/sweetalert/src/css", + "type": "file", + "timesDependedOn": 0 + } + ] + }, + { + "fullPath": "/samples/sweetalert/src/modules", + "filename": "modules", + "shouldAnalyze": true, + "type": "dir", + "files": [ + { + "fullPath": "/samples/sweetalert/src/modules/class-list", + "filename": "class-list", + "shouldAnalyze": true, + "type": "dir", + "files": [ + { + "fullPath": "/samples/sweetalert/src/modules/class-list/index.ts", + "filename": "index.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/class-list", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 5, + "halstead": { + "bugs": 0.15, + "difficulty": 4.273, + "effort": 1919.562, + "length": 85, + "time": 106.642, + "vocabulary": 39, + "volume": 449.259, + "operands": { + "distinct": 33, + "total": 47 + }, + "operators": { + "distinct": 6, + "total": 38 + } + }, + "paramCount": 0, + "sloc": { + "logical": 20, + "physical": 29 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 29, + "lineStart": 1, + "maintainability": 96.614, + "codehawkScore": 88.72484177785137, + "coverage": "0" + }, + "timesDependedOn": 13 + } + ] + }, + { + "fullPath": "/samples/sweetalert/src/modules/init", + "filename": "init", + "shouldAnalyze": true, + "type": "dir", + "files": [ + { + "fullPath": "/samples/sweetalert/src/modules/init/buttons.ts", + "filename": "buttons.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 12, + "cyclomaticDensity": 26.087, + "halstead": { + "bugs": 0.387, + "difficulty": 17.867, + "effort": 20735.479, + "length": 192, + "time": 1151.971, + "vocabulary": 66, + "volume": 1160.524, + "operands": { + "distinct": 49, + "total": 103 + }, + "operators": { + "distinct": 17, + "total": 89 + } + }, + "paramCount": 10, + "sloc": { + "logical": 46, + "physical": 73 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + }, + { + "line": 2, + "path": "./modal", + "type": "esm" + }, + { + "line": 3, + "path": "../class-list", + "type": "esm" + }, + { + "line": 8, + "path": "../options/buttons", + "type": "esm" + }, + { + "line": 9, + "path": "../markup", + "type": "esm" + }, + { + "line": 10, + "path": "../actions", + "type": "esm" + }, + { + "line": 11, + "path": "../state", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 73, + "lineStart": 1, + "maintainability": 109.444, + "codehawkScore": 53.62231632010348, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/content.ts", + "filename": "content.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 11, + "cyclomaticDensity": 25.581, + "halstead": { + "bugs": 0.308, + "difficulty": 18.308, + "effort": 16904.763, + "length": 159, + "time": 939.154, + "vocabulary": 56, + "volume": 923.369, + "operands": { + "distinct": 39, + "total": 84 + }, + "operators": { + "distinct": 17, + "total": 75 + } + }, + "paramCount": 7, + "sloc": { + "logical": 43, + "physical": 67 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../options/buttons", + "type": "esm" + }, + { + "line": 2, + "path": "./modal", + "type": "esm" + }, + { + "line": 3, + "path": "../markup", + "type": "esm" + }, + { + "line": 4, + "path": "../state", + "type": "esm" + }, + { + "line": 5, + "path": "../actions", + "type": "esm" + }, + { + "line": 6, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 67, + "lineStart": 1, + "maintainability": 114.5, + "codehawkScore": 54.731304782109554, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/icon.ts", + "filename": "icon.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 7, + "cyclomaticDensity": 19.444, + "halstead": { + "bugs": 0.252, + "difficulty": 14.703, + "effort": 11116.5, + "length": 132, + "time": 617.583, + "vocabulary": 53, + "volume": 756.086, + "operands": { + "distinct": 37, + "total": 68 + }, + "operators": { + "distinct": 16, + "total": 64 + } + }, + "paramCount": 5, + "sloc": { + "logical": 36, + "physical": 42 + } + }, + "dependencies": [ + { + "line": 2, + "path": "./modal", + "type": "esm" + }, + { + "line": 3, + "path": "../markup", + "type": "esm" + }, + { + "line": 4, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 42, + "lineStart": 1, + "maintainability": 107.725, + "codehawkScore": 57.88248957000378, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/index.ts", + "filename": "index.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 4, + "cyclomaticDensity": 30.769, + "halstead": { + "bugs": 0.058, + "difficulty": 5.714, + "effort": 993.816, + "length": 39, + "time": 55.212, + "vocabulary": 22, + "volume": 173.918, + "operands": { + "distinct": 14, + "total": 20 + }, + "operators": { + "distinct": 8, + "total": 19 + } + }, + "paramCount": 1, + "sloc": { + "logical": 13, + "physical": 27 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + }, + { + "line": 2, + "path": "../class-list", + "type": "esm" + }, + { + "line": 6, + "path": "./modal", + "type": "esm" + }, + { + "line": 7, + "path": "./overlay", + "type": "esm" + }, + { + "line": 8, + "path": "../event-listeners", + "type": "esm" + }, + { + "line": 9, + "path": "../utils", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 27, + "lineStart": 1, + "maintainability": 118.751, + "codehawkScore": 61.9330391958566, + "coverage": "0" + }, + "timesDependedOn": 1 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/modal.ts", + "filename": "modal.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 7, + "cyclomaticDensity": 17.949, + "halstead": { + "bugs": 0.243, + "difficulty": 8.97, + "effort": 6535.564, + "length": 136, + "time": 363.087, + "vocabulary": 41, + "volume": 728.627, + "operands": { + "distinct": 33, + "total": 74 + }, + "operators": { + "distinct": 8, + "total": 62 + } + }, + "paramCount": 5, + "sloc": { + "logical": 39, + "physical": 60 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + }, + { + "line": 2, + "path": "../markup", + "type": "esm" + }, + { + "line": 3, + "path": "../class-list", + "type": "esm" + }, + { + "line": 8, + "path": "./icon", + "type": "esm" + }, + { + "line": 9, + "path": "./text", + "type": "esm" + }, + { + "line": 10, + "path": "./buttons", + "type": "esm" + }, + { + "line": 11, + "path": "./content", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 60, + "lineStart": 1, + "maintainability": 116.606, + "codehawkScore": 55.28413232544305, + "coverage": "0" + }, + "timesDependedOn": 6 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/overlay.ts", + "filename": "overlay.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 2, + "cyclomaticDensity": 40, + "halstead": { + "bugs": 0.022, + "difficulty": 3.214, + "effort": 207.416, + "length": 18, + "time": 11.523, + "vocabulary": 12, + "volume": 64.529, + "operands": { + "distinct": 7, + "total": 9 + }, + "operators": { + "distinct": 5, + "total": 9 + } + }, + "paramCount": 0, + "sloc": { + "logical": 5, + "physical": 7 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + }, + { + "line": 2, + "path": "../markup", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 7, + "lineStart": 1, + "maintainability": 140.282, + "codehawkScore": 92.17455287783764, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/init/text.ts", + "filename": "text.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/init", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 9, + "cyclomaticDensity": 29.032, + "halstead": { + "bugs": 0.214, + "difficulty": 7.75, + "effort": 4979.738, + "length": 117, + "time": 276.652, + "vocabulary": 45, + "volume": 642.547, + "operands": { + "distinct": 36, + "total": 62 + }, + "operators": { + "distinct": 9, + "total": 55 + } + }, + "paramCount": 6, + "sloc": { + "logical": 31, + "physical": 38 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../markup", + "type": "esm" + }, + { + "line": 2, + "path": "./modal", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 38, + "lineStart": 1, + "maintainability": 117.244, + "codehawkScore": 60.20995227958394, + "coverage": "0" + }, + "timesDependedOn": 2 + } + ] + }, + { + "fullPath": "/samples/sweetalert/src/modules/markup", + "filename": "markup", + "shouldAnalyze": true, + "type": "dir", + "files": [ + { + "fullPath": "/samples/sweetalert/src/modules/markup/buttons.ts", + "filename": "buttons.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/markup", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 20, + "halstead": { + "bugs": 0.03, + "difficulty": 4.167, + "effort": 380.735, + "length": 24, + "time": 21.152, + "vocabulary": 14, + "volume": 91.377, + "operands": { + "distinct": 9, + "total": 15 + }, + "operators": { + "distinct": 5, + "total": 9 + } + }, + "paramCount": 0, + "sloc": { + "logical": 5, + "physical": 21 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 21, + "lineStart": 1, + "maintainability": 124.605, + "codehawkScore": 91.84029350058518, + "coverage": "0" + }, + "timesDependedOn": 6 + }, + { + "fullPath": "/samples/sweetalert/src/modules/markup/content.ts", + "filename": "content.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/markup", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 33.333, + "halstead": { + "bugs": 0.016, + "difficulty": 3.5, + "effort": 162.774, + "length": 14, + "time": 9.043, + "vocabulary": 10, + "volume": 46.507, + "operands": { + "distinct": 5, + "total": 7 + }, + "operators": { + "distinct": 5, + "total": 7 + } + }, + "paramCount": 0, + "sloc": { + "logical": 3, + "physical": 9 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 9, + "lineStart": 1, + "maintainability": 135.787, + "codehawkScore": 92.8634839277374, + "coverage": "0" + }, + "timesDependedOn": 6 + }, + { + "fullPath": "/samples/sweetalert/src/modules/markup/icons.ts", + "filename": "icons.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/markup", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 4, + "cyclomaticDensity": 25, + "halstead": { + "bugs": 0.163, + "difficulty": 6.86, + "effort": 3361.4, + "length": 98, + "time": 186.744, + "vocabulary": 32, + "volume": 490, + "operands": { + "distinct": 25, + "total": 49 + }, + "operators": { + "distinct": 7, + "total": 49 + } + }, + "paramCount": 0, + "sloc": { + "logical": 16, + "physical": 33 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 33, + "lineStart": 1, + "maintainability": 125.512, + "codehawkScore": 58.89252972007756, + "coverage": "0" + }, + "timesDependedOn": 6 + }, + { + "fullPath": "/samples/sweetalert/src/modules/markup/index.ts", + "filename": "index.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/markup", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 11.111, + "halstead": { + "bugs": 0.06, + "difficulty": 5.208, + "effort": 936.71, + "length": 44, + "time": 52.039, + "vocabulary": 17, + "volume": 179.848, + "operands": { + "distinct": 12, + "total": 25 + }, + "operators": { + "distinct": 5, + "total": 19 + } + }, + "paramCount": 0, + "sloc": { + "logical": 9, + "physical": 22 + } + }, + "dependencies": [ + { + "line": 6, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 22, + "lineStart": 1, + "maintainability": 112.004, + "codehawkScore": 91.24987755023842, + "coverage": "0" + }, + "timesDependedOn": 6 + }, + { + "fullPath": "/samples/sweetalert/src/modules/markup/modal.ts", + "filename": "modal.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/markup", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 33.333, + "halstead": { + "bugs": 0.022, + "difficulty": 4.5, + "effort": 290.382, + "length": 18, + "time": 16.132, + "vocabulary": 12, + "volume": 64.529, + "operands": { + "distinct": 6, + "total": 9 + }, + "operators": { + "distinct": 6, + "total": 9 + } + }, + "paramCount": 0, + "sloc": { + "logical": 3, + "physical": 18 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 18, + "lineStart": 1, + "maintainability": 133.807, + "codehawkScore": 92.30905580181427, + "coverage": "0" + }, + "timesDependedOn": 6 + }, + { + "fullPath": "/samples/sweetalert/src/modules/markup/overlay.ts", + "filename": "overlay.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/markup", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 33.333, + "halstead": { + "bugs": 0.017, + "difficulty": 4, + "effort": 199.316, + "length": 15, + "time": 11.073, + "vocabulary": 10, + "volume": 49.829, + "operands": { + "distinct": 5, + "total": 8 + }, + "operators": { + "distinct": 5, + "total": 7 + } + }, + "paramCount": 0, + "sloc": { + "logical": 3, + "physical": 9 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 9, + "lineStart": 1, + "maintainability": 135.094, + "codehawkScore": 92.8634839277374, + "coverage": "0" + }, + "timesDependedOn": 6 + } + ] + }, + { + "fullPath": "/samples/sweetalert/src/modules/options", + "filename": "options", + "shouldAnalyze": true, + "type": "dir", + "files": [ + { + "fullPath": "/samples/sweetalert/src/modules/options/buttons.ts", + "filename": "buttons.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/options", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 20, + "cyclomaticDensity": 17.544, + "halstead": { + "bugs": 0.793, + "difficulty": 43.615, + "effort": 103824.695, + "length": 381, + "time": 5768.039, + "vocabulary": 76, + "volume": 2380.46, + "operands": { + "distinct": 52, + "total": 189 + }, + "operators": { + "distinct": 24, + "total": 192 + } + }, + "paramCount": 6, + "sloc": { + "logical": 114, + "physical": 131 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 131, + "lineStart": 1, + "maintainability": 88.721, + "codehawkScore": 48.34879938044713, + "coverage": "0" + }, + "timesDependedOn": 7 + }, + { + "fullPath": "/samples/sweetalert/src/modules/options/content.ts", + "filename": "content.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/options", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 5, + "cyclomaticDensity": 29.412, + "halstead": { + "bugs": 0.078, + "difficulty": 9.857, + "effort": 2316.645, + "length": 50, + "time": 128.703, + "vocabulary": 26, + "volume": 235.022, + "operands": { + "distinct": 14, + "total": 23 + }, + "operators": { + "distinct": 12, + "total": 27 + } + }, + "paramCount": 1, + "sloc": { + "logical": 17, + "physical": 23 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 23, + "lineStart": 1, + "maintainability": 111.287, + "codehawkScore": 64.2235255137633, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/options/deprecations.ts", + "filename": "deprecations.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/options", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 6, + "cyclomaticDensity": 8, + "halstead": { + "bugs": 0.545, + "difficulty": 17.024, + "effort": 27820.387, + "length": 260, + "time": 1545.577, + "vocabulary": 78, + "volume": 1634.205, + "operands": { + "distinct": 63, + "total": 143 + }, + "operators": { + "distinct": 15, + "total": 117 + } + }, + "paramCount": 1, + "sloc": { + "logical": 75, + "physical": 102 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 102, + "lineStart": 1, + "maintainability": 78.559, + "codehawkScore": 47.65401370449591, + "coverage": "0" + }, + "timesDependedOn": 2 + }, + { + "fullPath": "/samples/sweetalert/src/modules/options/index.ts", + "filename": "index.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules/options", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 27, + "cyclomaticDensity": 25.234, + "halstead": { + "bugs": 0.848, + "difficulty": 35.015, + "effort": 89106.207, + "length": 392, + "time": 4950.345, + "vocabulary": 90, + "volume": 2544.806, + "operands": { + "distinct": 67, + "total": 204 + }, + "operators": { + "distinct": 23, + "total": 188 + } + }, + "paramCount": 17, + "sloc": { + "logical": 107, + "physical": 143 + } + }, + "dependencies": [ + { + "line": 1, + "path": "../utils", + "type": "esm" + }, + { + "line": 2, + "path": "./buttons", + "type": "esm" + }, + { + "line": 3, + "path": "./content", + "type": "esm" + }, + { + "line": 4, + "path": "./deprecations", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 143, + "lineStart": 1, + "maintainability": 102.469, + "codehawkScore": 46.9672518057813, + "coverage": "0" + }, + "timesDependedOn": 1 + } + ] + }, + { + "fullPath": "/samples/sweetalert/src/modules/actions.ts", + "filename": "actions.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 8, + "cyclomaticDensity": 18.182, + "halstead": { + "bugs": 0.34, + "difficulty": 19.8, + "effort": 20181.916, + "length": 174, + "time": 1121.218, + "vocabulary": 58, + "volume": 1019.289, + "operands": { + "distinct": 40, + "total": 88 + }, + "operators": { + "distinct": 18, + "total": 86 + } + }, + "paramCount": 1, + "sloc": { + "logical": 44, + "physical": 62 + } + }, + "dependencies": [ + { + "line": 1, + "path": "./utils", + "type": "esm" + }, + { + "line": 2, + "path": "./options/buttons", + "type": "esm" + }, + { + "line": 3, + "path": "./class-list", + "type": "esm" + }, + { + "line": 10, + "path": "./state", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 62, + "lineStart": 1, + "maintainability": 110.662, + "codehawkScore": 54.41294097685882, + "coverage": "0" + }, + "timesDependedOn": 4 + }, + { + "fullPath": "/samples/sweetalert/src/modules/event-listeners.ts", + "filename": "event-listeners.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 32, + "cyclomaticDensity": 29.358, + "halstead": { + "bugs": 0.75, + "difficulty": 27.708, + "effort": 62356.211, + "length": 357, + "time": 3464.234, + "vocabulary": 79, + "volume": 2250.45, + "operands": { + "distinct": 60, + "total": 175 + }, + "operators": { + "distinct": 19, + "total": 182 + } + }, + "paramCount": 11, + "sloc": { + "logical": 109, + "physical": 118 + } + }, + "dependencies": [ + { + "line": 1, + "path": "./state", + "type": "esm" + }, + { + "line": 2, + "path": "./actions", + "type": "esm" + }, + { + "line": 3, + "path": "./utils", + "type": "esm" + }, + { + "line": 4, + "path": "./options/buttons", + "type": "esm" + }, + { + "line": 5, + "path": "./class-list", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 118, + "lineStart": 1, + "maintainability": 110.946, + "codehawkScore": 48.98781585896909, + "coverage": "0" + }, + "timesDependedOn": 1 + }, + { + "fullPath": "/samples/sweetalert/src/modules/state.ts", + "filename": "state.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 7, + "cyclomaticDensity": 25, + "halstead": { + "bugs": 0.205, + "difficulty": 19.773, + "effort": 12154.602, + "length": 118, + "time": 675.256, + "vocabulary": 37, + "volume": 614.715, + "operands": { + "distinct": 22, + "total": 58 + }, + "operators": { + "distinct": 15, + "total": 60 + } + }, + "paramCount": 6, + "sloc": { + "logical": 28, + "physical": 47 + } + }, + "dependencies": [ + { + "line": 1, + "path": "./options/buttons", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 47, + "lineStart": 1, + "maintainability": 116.092, + "codehawkScore": 57.90974189351764, + "coverage": "0" + }, + "timesDependedOn": 5 + }, + { + "fullPath": "/samples/sweetalert/src/modules/utils.ts", + "filename": "utils.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src/modules", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 16, + "cyclomaticDensity": 34.043, + "halstead": { + "bugs": 0.419, + "difficulty": 15.316, + "effort": 19270.654, + "length": 202, + "time": 1070.592, + "vocabulary": 75, + "volume": 1258.221, + "operands": { + "distinct": 57, + "total": 97 + }, + "operators": { + "distinct": 18, + "total": 105 + } + }, + "paramCount": 8, + "sloc": { + "logical": 47, + "physical": 57 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 57, + "lineStart": 1, + "maintainability": 114.99, + "codehawkScore": 56.077245969246036, + "coverage": "0" + }, + "timesDependedOn": 10 + } + ] + }, + { + "fullPath": "/samples/sweetalert/src/core.ts", + "filename": "core.ts", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 5, + "cyclomaticDensity": 25, + "halstead": { + "bugs": 0.114, + "difficulty": 11.7, + "effort": 4013.32, + "length": 68, + "time": 222.962, + "vocabulary": 33, + "volume": 343.019, + "operands": { + "distinct": 20, + "total": 36 + }, + "operators": { + "distinct": 13, + "total": 32 + } + }, + "paramCount": 3, + "sloc": { + "logical": 20, + "physical": 34 + } + }, + "dependencies": [ + { + "line": 7, + "path": "./modules/init", + "type": "esm" + }, + { + "line": 8, + "path": "./modules/actions", + "type": "esm" + }, + { + "line": 9, + "path": "./modules/state", + "type": "esm" + }, + { + "line": 10, + "path": "./modules/options", + "type": "esm" + } + ], + "errors": [], + "lineEnd": 34, + "lineStart": 1, + "maintainability": 121.068, + "codehawkScore": 59.79558895081384, + "coverage": "0" + }, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/polyfills.js", + "filename": "polyfills.js", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 24, + "cyclomaticDensity": 42.857, + "halstead": { + "bugs": 0.537, + "difficulty": 37.278, + "effort": 60044.654, + "length": 250, + "time": 3335.814, + "vocabulary": 87, + "volume": 1610.736, + "operands": { + "distinct": 54, + "total": 122 + }, + "operators": { + "distinct": 33, + "total": 128 + } + }, + "paramCount": 8, + "sloc": { + "logical": 56, + "physical": 110 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 110, + "lineStart": 1, + "maintainability": 105.106, + "codehawkScore": 49.61465132219012, + "coverage": "0" + }, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/sweetalert.css", + "filename": "sweetalert.css", + "shouldAnalyze": false, + "path": "/samples/sweetalert/src", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/sweetalert.d.ts", + "filename": "sweetalert.d.ts", + "shouldAnalyze": false, + "path": "/samples/sweetalert/src", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/src/sweetalert.js", + "filename": "sweetalert.js", + "shouldAnalyze": true, + "path": "/samples/sweetalert/src", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 2, + "cyclomaticDensity": 33.333, + "halstead": { + "bugs": 0.033, + "difficulty": 4.55, + "effort": 446.351, + "length": 24, + "time": 24.797, + "vocabulary": 17, + "volume": 98.099, + "operands": { + "distinct": 10, + "total": 13 + }, + "operators": { + "distinct": 7, + "total": 11 + } + }, + "paramCount": 0, + "sloc": { + "logical": 6, + "physical": 15 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 15, + "lineStart": 1, + "maintainability": 120.415, + "codehawkScore": 91.1153746262618, + "coverage": "0" + }, + "timesDependedOn": 0 + } + ] + }, + { + "fullPath": "/samples/sweetalert/typings", + "filename": "typings", + "shouldAnalyze": true, + "type": "dir", + "files": [] + }, + { + "fullPath": "/samples/sweetalert/expected.json", + "filename": "expected.json", + "shouldAnalyze": false, + "path": "/samples/sweetalert", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/LICENSE.md", + "filename": "LICENSE.md", + "shouldAnalyze": false, + "path": "/samples/sweetalert", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/postcss.config.js", + "filename": "postcss.config.js", + "shouldAnalyze": true, + "path": "/samples/sweetalert", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 12.5, + "halstead": { + "bugs": 0.042, + "difficulty": 4.773, + "effort": 597.057, + "length": 30, + "time": 33.17, + "vocabulary": 18, + "volume": 125.098, + "operands": { + "distinct": 11, + "total": 15 + }, + "operators": { + "distinct": 7, + "total": 15 + } + }, + "paramCount": 0, + "sloc": { + "logical": 8, + "physical": 10 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 10, + "lineStart": 1, + "maintainability": 115.452, + "codehawkScore": 91.07606249060817, + "coverage": "0" + }, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/README.md", + "filename": "README.md", + "shouldAnalyze": false, + "path": "/samples/sweetalert", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/tsconfig.json", + "filename": "tsconfig.json", + "shouldAnalyze": false, + "path": "/samples/sweetalert", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/tslint.json", + "filename": "tslint.json", + "shouldAnalyze": false, + "path": "/samples/sweetalert", + "type": "file", + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/sweetalert/webpack.config.js", + "filename": "webpack.config.js", + "shouldAnalyze": true, + "path": "/samples/sweetalert", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 4, + "cyclomaticDensity": 6.452, + "halstead": { + "bugs": 0.494, + "difficulty": 10.092, + "effort": 14966.016, + "length": 229, + "time": 831.445, + "vocabulary": 89, + "volume": 1482.943, + "operands": { + "distinct": 76, + "total": 118 + }, + "operators": { + "distinct": 13, + "total": 111 + } + }, + "paramCount": 2, + "sloc": { + "logical": 62, + "physical": 104 + } + }, + "dependencies": [], + "errors": [], + "lineEnd": 104, + "lineStart": 1, + "maintainability": 84.169, + "codehawkScore": 44.90727094909405, + "coverage": "0" + }, + "timesDependedOn": 0 + } + ] +} \ No newline at end of file diff --git a/src/analyze.ts b/src/analyze.ts index a7b106d..289ee96 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -27,7 +27,7 @@ export const transpileFileSource = ( ], ], }) - contents = transformed.code || '' + contents = transformed?.code ?? '' } else { // Assume no other static type systems exist // Stripping flow types should be safe, even if it's not strictly flow @@ -44,7 +44,7 @@ export const calculateComplexity = ( fileExtension: string, isTypescript: boolean, enableFlow: boolean -): CodehawkComplexityResult => { +): CodehawkComplexityResult | null => { return escomplexReporter( transpileFileSource(sourceCode, fileExtension, isTypescript, enableFlow) ) @@ -54,7 +54,7 @@ export const analyzeFile = ( dirPath: string, file: FileWithContents, projectCoverage: CoverageMapping[] -): CompleteCodehawkComplexityResult => { +): CompleteCodehawkComplexityResult | null => { // Handle cases where a file was intended to be analyzed, but the source could not be parsed if (!file.rawSource) { return null diff --git a/src/badge.ts b/src/badge.ts index 4a97a68..d1ac6c6 100644 --- a/src/badge.ts +++ b/src/badge.ts @@ -18,7 +18,7 @@ const getBadgeColor = (percent: number): string => { export const generateBadge = (results: Results): void => { const { average, worst } = results.summary const { badgesDirectory } = results.options - const badgesPath = badgesDirectory[0] || '' // Fall back to root + const badgesPath = badgesDirectory?.length ? badgesDirectory[0] : '' // Fall back to root const actualPath = slash(process.cwd()) + badgesPath if (badgesPath !== '' && !fs.existsSync(actualPath)) { diff --git a/src/codehawk.test.ts b/src/codehawk.test.ts index d0ac17d..73317a0 100644 --- a/src/codehawk.test.ts +++ b/src/codehawk.test.ts @@ -13,7 +13,7 @@ const outputMatchesResult = (projectPath: string): void => { ) const expected = JSON.parse(expectedRaw) - expect(output.fullResultsTree).toEqual(expected.fullResultsTree) + expect(expected.fullResultsTree).toEqual(output.fullResultsTree) generateBadge(output) expect('generateBadge did not throw').toBeTruthy() @@ -57,12 +57,12 @@ describe('codehawk-cli', () => { paramCount: 1, sloc: { logical: 4, - physical: 5, + physical: 4, }, }, dependencies: [], // TS removes the lodash dep because it's fake i.e. it resolves to undefined errors: [], - lineEnd: 5, + lineEnd: 4, lineStart: 1, maintainability: 144.217, codehawkScore: 92.43914887804003, @@ -113,30 +113,30 @@ describe('codehawk-cli', () => { | File | # of Lines | Times Used/Depended On | Maintainability (higher is better) | | -------------------------------------------------- | ---------- | ---------------------- | ---------------------------------- | | /samples/sweetalert/webpack.config.js | 104 | 1 | 44.91 (Needs improvement) | - | /samples/sweetalert/src/modules/options/index.ts | 150 | 2 | 46.51 (Needs improvement) | - | /samples/sweetalert/src/modules/options/buttons.ts | 150 | 8 | 47.07 (Needs improvement) | - | /samples/sweetalert/src/modules/event-listeners.ts | 141 | 2 | 47.3 (Needs improvement) | - | .../sweetalert/src/modules/options/deprecations.ts | 105 | 3 | 47.38 (Needs improvement) | + | /samples/sweetalert/src/modules/options/index.ts | 143 | 2 | 46.97 (Needs improvement) | + | .../sweetalert/src/modules/options/deprecations.ts | 102 | 3 | 47.65 (Needs improvement) | + | /samples/sweetalert/src/modules/options/buttons.ts | 131 | 8 | 48.35 (Needs improvement) | + | /samples/sweetalert/src/modules/event-listeners.ts | 118 | 2 | 48.99 (Needs improvement) | | /samples/sweetalert/src/polyfills.js | 110 | 1 | 49.61 (Needs improvement) | - | /samples/sweetalert/src/modules/init/buttons.ts | 81 | 3 | 52.64 (Could be better) | - | /samples/sweetalert/src/modules/actions.ts | 67 | 5 | 53.68 (Could be better) | - | /samples/sweetalert/src/modules/init/content.ts | 72 | 3 | 54.05 (Could be better) | - | /samples/sweetalert/src/modules/init/modal.ts | 65 | 7 | 54.53 (Could be better) | - | /samples/sweetalert/src/modules/utils.ts | 61 | 11 | 55.43 (Could be better) | - | /samples/sweetalert/src/modules/init/icon.ts | 47 | 3 | 56.82 (Could be better) | - | /samples/sweetalert/src/modules/state.ts | 51 | 6 | 57.14 (Could be better) | + | /samples/sweetalert/src/modules/init/buttons.ts | 73 | 3 | 53.62 (Could be better) | + | /samples/sweetalert/src/modules/actions.ts | 62 | 5 | 54.41 (Could be better) | + | /samples/sweetalert/src/modules/init/content.ts | 67 | 3 | 54.73 (Could be better) | + | /samples/sweetalert/src/modules/init/modal.ts | 60 | 7 | 55.28 (Could be better) | + | /samples/sweetalert/src/modules/utils.ts | 57 | 11 | 56.08 (Could be better) | + | /samples/sweetalert/src/modules/init/icon.ts | 42 | 3 | 57.88 (Could be better) | + | /samples/sweetalert/src/modules/state.ts | 47 | 6 | 57.91 (Could be better) | | /samples/sweetalert/src/modules/markup/icons.ts | 33 | 7 | 58.89 (Could be better) | | /samples/sweetalert/src/core.ts | 34 | 1 | 59.8 (Could be better) | | /samples/sweetalert/src/modules/init/text.ts | 38 | 3 | 60.21 OK | - | /samples/sweetalert/src/modules/init/index.ts | 30 | 2 | 60.93 OK | - | /samples/sweetalert/src/modules/options/content.ts | 27 | 3 | 62.7 OK | - | ...ples/sweetalert/src/modules/class-list/index.ts | 28 | 14 | 88.72 OK | + | /samples/sweetalert/src/modules/init/index.ts | 27 | 2 | 61.93 OK | + | /samples/sweetalert/src/modules/options/content.ts | 23 | 3 | 64.22 OK | + | ...ples/sweetalert/src/modules/class-list/index.ts | 29 | 14 | 88.72 OK | | /samples/sweetalert/postcss.config.js | 10 | 1 | 91.08 OK | | /samples/sweetalert/src/sweetalert.js | 15 | 1 | 91.12 OK | | /samples/sweetalert/src/modules/markup/index.ts | 22 | 7 | 91.25 OK | | /samples/sweetalert/src/modules/markup/buttons.ts | 21 | 7 | 91.84 OK | - | /samples/sweetalert/src/modules/init/overlay.ts | 9 | 3 | 92.17 OK | - | /samples/sweetalert/src/modules/markup/modal.ts | 12 | 7 | 92.31 OK | + | /samples/sweetalert/src/modules/init/overlay.ts | 7 | 3 | 92.17 OK | + | /samples/sweetalert/src/modules/markup/modal.ts | 18 | 7 | 92.31 OK | ` it('generates the expected table output', () => { diff --git a/src/codehawk.ts b/src/codehawk.ts index fdc0221..882d4c8 100644 --- a/src/codehawk.ts +++ b/src/codehawk.ts @@ -56,7 +56,10 @@ const analyzeProject = (rawPath: string, isCliContext?: boolean): Results => { let fileContents try { if (file.shouldAnalyze) { - fileContents = getFileContents(file.fullPath, options.enableFlow) + fileContents = getFileContents( + file.fullPath, + options.enableFlow ?? false + ) } } catch (error) { console.error( @@ -78,7 +81,7 @@ const analyzeProject = (rawPath: string, isCliContext?: boolean): Results => { return { ...file, - complexityReport, + complexityReport: complexityReport ?? undefined, fullPath: file.fullPath.replace(cwd, ''), path: file.path.replace(cwd, ''), } @@ -133,7 +136,11 @@ const analyzeProject = (rawPath: string, isCliContext?: boolean): Results => { const summary = getResultsSummary(resultsAsList) // When in a CLI context, exit if the worst case fails to meet the minimum threshold - if (isCliContext && summary.worst < options.minimumThreshold) { + if ( + options.minimumThreshold && + isCliContext && + summary.worst < options.minimumThreshold + ) { console.error( `[codehawk-cli] Worst case (${summary.worst}) was below the minimum threshold (${options.minimumThreshold})` ) diff --git a/src/dependencies.ts b/src/dependencies.ts index 756c305..a9e6f7b 100644 --- a/src/dependencies.ts +++ b/src/dependencies.ts @@ -1,6 +1,7 @@ import path from 'path' import slash from 'slash' import { flattenEntireTree } from './utils' + import type { AnalyzedEntity, AnalyzedFile } from './types' // Gathers all the dependencies as a flat array of strings across all analyzed files @@ -12,9 +13,12 @@ export const getProjectDeps = (firstRunResults: AnalyzedEntity[]): string[] => { const item = flatItems[i] if (item.complexityReport) { for (let n = 0; n < item.complexityReport.dependencies.length; n += 1) { - const dep = flatItems[i].complexityReport.dependencies[n] - const depPath = path.resolve(item.path, dep.path) - allAbsoluteDeps.push(depPath) + const report = flatItems[i].complexityReport + if (report) { + const dep = report.dependencies[n] + const depPath = path.resolve(item.path, dep.path) + allAbsoluteDeps.push(depPath) + } } } } @@ -47,7 +51,7 @@ export const getTimesDependedOn = ( ) const namedImportMatch = new RegExp(`${cleanD}/`, 'i') const indexMatch = - filePath.match(defaultImportMatch) || filePath.match(namedImportMatch) + filePath.match(defaultImportMatch) ?? filePath.match(namedImportMatch) return fullMatch || indexMatch }) diff --git a/src/options.ts b/src/options.ts index 720bb8b..adb5651 100644 --- a/src/options.ts +++ b/src/options.ts @@ -99,27 +99,30 @@ export const buildOptions = ( Object.keys(baseOptions).forEach((optionKey: AllOptionKeys) => { const option = baseOptions[optionKey] - let val = option.default + const projectOption = projectOptions[optionKey] + let val = option?.default - if (projectOptions[optionKey]) { + if (option && projectOption) { // Project options can either be added to the defaults, or replace them. if (option.replaceDefault) { // Mutate options by replacing (we assume project config is valid!) - val = projectOptions[optionKey] + val = projectOption } else { // Mutate options by mixing in project options to defaults val = option.type === 'stringArray' && Array.isArray(val) - ? val.concat(projectOptions[optionKey] as string[]) - : (val = projectOptions[optionKey]) + ? val.concat(projectOption as string[]) + : (val = projectOption) } } - assembledOptions = injectOptionValues({ - existingOptions: assembledOptions, - optionKey, - val, - }) + if (val) { + assembledOptions = injectOptionValues({ + existingOptions: assembledOptions, + optionKey, + val, + }) + } }) return assembledOptions diff --git a/src/traverseProject.ts b/src/traverseProject.ts index 232816a..570dae4 100644 --- a/src/traverseProject.ts +++ b/src/traverseProject.ts @@ -48,7 +48,7 @@ export const walkSync = ( }), } - if (entity.isDirectory()) { + if (entity?.isDirectory()) { fileList.push({ ...baseParsedEntity, type: 'dir', diff --git a/src/types/codehawk.ts b/src/types/codehawk.ts index d811139..375dbd3 100644 --- a/src/types/codehawk.ts +++ b/src/types/codehawk.ts @@ -107,6 +107,11 @@ export interface AnalyzedFile extends ParsedFile { complexityReport?: CompleteCodehawkComplexityResult } +// For when we have a guarantee of a complexity report +export interface AnalyzedFileWithReport extends ParsedFile { + complexityReport: CompleteCodehawkComplexityResult +} + export interface AnalyzedDirectory extends BaseEntity { type: 'dir' files: AnalyzedFile[] diff --git a/src/updateExpectedOutputs.ts b/src/updateExpectedOutputs.ts new file mode 100644 index 0000000..67ed153 --- /dev/null +++ b/src/updateExpectedOutputs.ts @@ -0,0 +1,23 @@ +import fs from 'fs' +import path from 'path' +import { analyzeProject } from './codehawk' + +const SAMPLES = [ + 'react-component', + 'react-component-flow', + 'simple-class', + 'simple-es6-imports', + 'react-component-typescript', + 'contains-some-bad-code', + 'sweetalert', +] + +SAMPLES.forEach((sample) => { + const samplePath = path.resolve(__dirname, '..', 'samples', sample) + const output = analyzeProject(samplePath) + const expectedPath = samplePath + path.sep + 'expected.json' + fs.writeFileSync(expectedPath, JSON.stringify(output, null, 2)) + console.log(`Wrote ${expectedPath}.`) +}) + +console.log('Complete.') diff --git a/src/utils/blocklist.ts b/src/utils/blocklist.ts index 561a88f..4758759 100644 --- a/src/utils/blocklist.ts +++ b/src/utils/blocklist.ts @@ -8,23 +8,29 @@ export const isBlocklisted = ( const { excludeDirectories, excludeFilenames, excludeExact } = options // Check for blocklisted directories - for (let i = 0; i < excludeDirectories.length; i += 1) { - if (relativeDir.startsWith(excludeDirectories[i])) { - return true + if (excludeDirectories) { + for (let i = 0; i < excludeDirectories.length; i += 1) { + if (relativeDir.startsWith(excludeDirectories[i])) { + return true + } } } // Check for blocklisted filename matches - for (let i = 0; i < excludeFilenames.length; i += 1) { - if (filename.includes(excludeFilenames[i])) { - return true + if (excludeFilenames) { + for (let i = 0; i < excludeFilenames.length; i += 1) { + if (filename.includes(excludeFilenames[i])) { + return true + } } } // Check for exact matches - for (let i = 0; i < excludeExact.length; i += 1) { - if (excludeExact[i] === `${relativeDir}/${filename}`) { - return true + if (excludeExact) { + for (let i = 0; i < excludeExact.length; i += 1) { + if (excludeExact[i] === `${relativeDir}/${filename}`) { + return true + } } } diff --git a/src/utils/entities.ts b/src/utils/entities.ts index cb1cdcd..6472cd8 100644 --- a/src/utils/entities.ts +++ b/src/utils/entities.ts @@ -51,7 +51,7 @@ export const shouldSeeEntity = ({ relativeDir, }: { dir: string - entity: fs.Stats + entity: fs.Stats | null filename: string fullPath: string options: AssembledOptions @@ -68,7 +68,7 @@ export const shouldSeeEntity = ({ } // Is a directory? - if (entity.isDirectory()) { + if (entity.isDirectory() && options.skipDirectories) { return !shouldSkipDir(relativeDir, options.skipDirectories) } @@ -78,7 +78,10 @@ export const shouldSeeEntity = ({ } // Is it a file in a directory that should be skipped? - if (shouldSkipDir(relativeDir, options.skipDirectories)) { + if ( + options.skipDirectories && + shouldSkipDir(relativeDir, options.skipDirectories) + ) { return false } @@ -93,7 +96,7 @@ export const shouldAnalyzeEntity = ({ options, relativeDir, }: { - entity: fs.Stats + entity: fs.Stats | null filename: string fullPath: string options: AssembledOptions @@ -117,7 +120,7 @@ export const shouldAnalyzeEntity = ({ } // Is the extension included in the options? - if (!options.extensions.includes(extension)) { + if (options.extensions && !options.extensions.includes(extension)) { return false } diff --git a/src/utils/tree.ts b/src/utils/tree.ts index 33955ae..11a725a 100644 --- a/src/utils/tree.ts +++ b/src/utils/tree.ts @@ -1,5 +1,6 @@ import type { AnalyzedEntity, + AnalyzedFileWithReport, AnyAnalyzedFile, FullyAnalyzedEntity, FullyAnalyzedFile, @@ -32,8 +33,8 @@ export const getResultsAsList = ( // Sort by codehawk score, ascending (most complex files are first in the list) .sort((entityA, entityB) => { return ( - entityA.complexityReport.codehawkScore - - entityB.complexityReport.codehawkScore + (entityA as AnalyzedFileWithReport).complexityReport.codehawkScore - + (entityB as AnalyzedFileWithReport).complexityReport.codehawkScore ) }) diff --git a/tsconfig.json b/tsconfig.json index 2002401..92f5018 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,15 +1,13 @@ -{ - "compilerOptions": { - "target": "ES2018", - "module": "CommonJS", - "noImplicitAny": true, - "outDir": "build", - "esModuleInterop": true, - "declaration": true - }, - "include": ["src/**/*"], - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts" - ] -} +{ + "compilerOptions": { + "target": "ES2018", + "module": "CommonJS", + "noImplicitAny": true, + "outDir": "build", + "esModuleInterop": true, + "declaration": true, + "strictNullChecks": true + }, + "include": ["src/**/*"], + "exclude": ["**/*.spec.ts", "**/*.test.ts"] +} diff --git a/yarn.lock b/yarn.lock index 39c0661..b2bdc2c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24,38 +24,38 @@ dependencies: "@babel/highlight" "^7.18.6" -"@babel/compat-data@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.18.6.tgz#8b37d24e88e8e21c499d4328db80577d8882fa53" - integrity sha512-tzulrgDT0QD6U7BJ4TKVk2SDDg7wlP39P9yAx1RfLy7vP/7rsDRlWVfbWxElslu56+r7QOhB2NSDsabYYruoZQ== +"@babel/compat-data@^7.20.5": + version "7.20.10" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.10.tgz#9d92fa81b87542fff50e848ed585b4212c1d34ec" + integrity sha512-sEnuDPpOJR/fcafHMjpcpGN5M2jbUGUHwmuWKM/YdPzeEDJg8bgmbcWQFUfE32MQjti1koACvoPVsDe8Uq+idg== -"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.18.6.tgz#54a107a3c298aee3fe5e1947a6464b9b6faca03d" - integrity sha512-cQbWBpxcbbs/IUredIPkHiAGULLV8iwgNRMFzvbhEXISp4f3rUUXE5+TIw6KwUWUR3DwyI6gmBRnmAtYaWehwQ== +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.20.12": + version "7.20.12" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.20.12.tgz#7930db57443c6714ad216953d1356dac0eb8496d" + integrity sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg== dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.18.6" - "@babel/helper-compilation-targets" "^7.18.6" - "@babel/helper-module-transforms" "^7.18.6" - "@babel/helpers" "^7.18.6" - "@babel/parser" "^7.18.6" - "@babel/template" "^7.18.6" - "@babel/traverse" "^7.18.6" - "@babel/types" "^7.18.6" + "@babel/generator" "^7.20.7" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-module-transforms" "^7.20.11" + "@babel/helpers" "^7.20.7" + "@babel/parser" "^7.20.7" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.12" + "@babel/types" "^7.20.7" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" - json5 "^2.2.1" + json5 "^2.2.2" semver "^6.3.0" -"@babel/generator@^7.18.6", "@babel/generator@^7.7.2": - version "7.18.7" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.18.7.tgz#2aa78da3c05aadfc82dbac16c99552fc802284bd" - integrity sha512-shck+7VLlY72a2w9c3zYWuE1pwOKEiQHV7GTUbSnhyl5eu3i04t30tBY82ZRWrDfo3gkakCFtevExnxbkf2a3A== +"@babel/generator@^7.20.7", "@babel/generator@^7.7.2": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.7.tgz#f8ef57c8242665c5929fe2e8d82ba75460187b4a" + integrity sha512-7wqMOJq8doJMZmP4ApXTzLxSr7+oO2jroJURrVEp6XShrQUObV8Tq/D0NCcoYg2uHqUrjzO0zwBjoYzelxK+sw== dependencies: - "@babel/types" "^7.18.7" + "@babel/types" "^7.20.7" "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" @@ -66,41 +66,43 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-compilation-targets@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.6.tgz#18d35bfb9f83b1293c22c55b3d576c1315b6ed96" - integrity sha512-vFjbfhNCzqdeAtZflUFrG5YIFqGTqsctrtkZ1D/NB0mDW9TwW3GmmUepYY4G9wCET5rY5ugz4OGTcLd614IzQg== +"@babel/helper-compilation-targets@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb" + integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ== dependencies: - "@babel/compat-data" "^7.18.6" + "@babel/compat-data" "^7.20.5" "@babel/helper-validator-option" "^7.18.6" - browserslist "^4.20.2" + browserslist "^4.21.3" + lru-cache "^5.1.1" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.6.tgz#6f15f8459f3b523b39e00a99982e2c040871ed72" - integrity sha512-YfDzdnoxHGV8CzqHGyCbFvXg5QESPFkXlHtvdCkesLjjVMT2Adxe4FGUR5ChIb3DxSaXO12iIOCWoXdsUVwnqw== +"@babel/helper-create-class-features-plugin@^7.20.7": + version "7.20.12" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.20.12.tgz#4349b928e79be05ed2d1643b20b99bb87c503819" + integrity sha512-9OunRkbT0JQcednL0UFvbfXpAsUXiGjUk0a7sN8fUXX7Mue79cUSMjHGDRRi/Vz9vYlpIhLV5fMD5dKoMhhsNQ== dependencies: "@babel/helper-annotate-as-pure" "^7.18.6" - "@babel/helper-environment-visitor" "^7.18.6" - "@babel/helper-function-name" "^7.18.6" - "@babel/helper-member-expression-to-functions" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" + "@babel/helper-member-expression-to-functions" "^7.20.7" "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/helper-replace-supers" "^7.18.6" + "@babel/helper-replace-supers" "^7.20.7" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" "@babel/helper-split-export-declaration" "^7.18.6" -"@babel/helper-environment-visitor@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.6.tgz#b7eee2b5b9d70602e59d1a6cad7dd24de7ca6cd7" - integrity sha512-8n6gSfn2baOY+qlp+VSzsosjCVGFqWKmDF0cCWOybh52Dw3SEyoWR1KrhMJASjLwIEkkAufZ0xvr+SxLHSpy2Q== +"@babel/helper-environment-visitor@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" + integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== -"@babel/helper-function-name@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.18.6.tgz#8334fecb0afba66e6d87a7e8c6bb7fed79926b83" - integrity sha512-0mWMxV1aC97dhjCah5U5Ua7668r5ZmSC2DLfH2EZnf9c3/dHZKiFa5pRLMH5tjSl471tY6496ZWk/kjNONBxhw== +"@babel/helper-function-name@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz#941574ed5390682e872e52d3f38ce9d1bef4648c" + integrity sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w== dependencies: - "@babel/template" "^7.18.6" - "@babel/types" "^7.18.6" + "@babel/template" "^7.18.10" + "@babel/types" "^7.19.0" "@babel/helper-hoist-variables@^7.18.6": version "7.18.6" @@ -109,12 +111,12 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-member-expression-to-functions@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.6.tgz#44802d7d602c285e1692db0bad9396d007be2afc" - integrity sha512-CeHxqwwipekotzPDUuJOfIMtcIHBuc7WAzLmTYWctVigqS5RktNMQ5bEwQSuGewzYnCtTWa3BARXeiLxDTv+Ng== +"@babel/helper-member-expression-to-functions@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.20.7.tgz#a6f26e919582275a93c3aa6594756d71b0bb7f05" + integrity sha512-9J0CxJLq315fEdi4s7xK5TQaNYjZw+nDVpVqr1axNGKzdrdwYBD5b4uKv3n75aABG0rCCTK8Im8Ww7eYfMrZgw== dependencies: - "@babel/types" "^7.18.6" + "@babel/types" "^7.20.7" "@babel/helper-module-imports@^7.18.6": version "7.18.6" @@ -123,19 +125,19 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-module-transforms@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.18.6.tgz#57e3ca669e273d55c3cda55e6ebf552f37f483c8" - integrity sha512-L//phhB4al5uucwzlimruukHB3jRd5JGClwRMD/ROrVjXfLqovYnvQrK/JK36WYyVwGGO7OD3kMyVTjx+WVPhw== +"@babel/helper-module-transforms@^7.20.11": + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz#df4c7af713c557938c50ea3ad0117a7944b2f1b0" + integrity sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg== dependencies: - "@babel/helper-environment-visitor" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" "@babel/helper-module-imports" "^7.18.6" - "@babel/helper-simple-access" "^7.18.6" + "@babel/helper-simple-access" "^7.20.2" "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/helper-validator-identifier" "^7.18.6" - "@babel/template" "^7.18.6" - "@babel/traverse" "^7.18.6" - "@babel/types" "^7.18.6" + "@babel/helper-validator-identifier" "^7.19.1" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.10" + "@babel/types" "^7.20.7" "@babel/helper-optimise-call-expression@^7.18.6": version "7.18.6" @@ -144,28 +146,36 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.8.0": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.6.tgz#9448974dd4fb1d80fefe72e8a0af37809cd30d6d" - integrity sha512-gvZnm1YAAxh13eJdkb9EWHBnF3eAub3XTLCZEehHT2kWxiKVRL64+ae5Y6Ivne0mVHmMYKT+xWgZO+gQhuLUBg== +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.8.0": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629" + integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ== -"@babel/helper-replace-supers@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.18.6.tgz#efedf51cfccea7b7b8c0f00002ab317e7abfe420" - integrity sha512-fTf7zoXnUGl9gF25fXCWE26t7Tvtyn6H4hkLSYhATwJvw2uYxd3aoXplMSe0g9XbwK7bmxNes7+FGO0rB/xC0g== +"@babel/helper-replace-supers@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.20.7.tgz#243ecd2724d2071532b2c8ad2f0f9f083bcae331" + integrity sha512-vujDMtB6LVfNW13jhlCrp48QNslK6JXi7lQG736HVbHz/mbf4Dc7tIRh1Xf5C0rF7BP8iiSxGMCmY6Ci1ven3A== dependencies: - "@babel/helper-environment-visitor" "^7.18.6" - "@babel/helper-member-expression-to-functions" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-member-expression-to-functions" "^7.20.7" "@babel/helper-optimise-call-expression" "^7.18.6" - "@babel/traverse" "^7.18.6" - "@babel/types" "^7.18.6" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.7" + "@babel/types" "^7.20.7" -"@babel/helper-simple-access@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz#d6d8f51f4ac2978068df934b569f08f29788c7ea" - integrity sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g== +"@babel/helper-simple-access@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" + integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== dependencies: - "@babel/types" "^7.18.6" + "@babel/types" "^7.20.2" + +"@babel/helper-skip-transparent-expression-wrappers@^7.20.0": + version "7.20.0" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz#fbe4c52f60518cab8140d77101f0e63a8a230684" + integrity sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg== + dependencies: + "@babel/types" "^7.20.0" "@babel/helper-split-export-declaration@^7.18.6": version "7.18.6" @@ -174,24 +184,29 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-validator-identifier@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz#9c97e30d31b2b8c72a1d08984f2ca9b574d7a076" - integrity sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g== +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== "@babel/helper-validator-option@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8" integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== -"@babel/helpers@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.18.6.tgz#4c966140eaa1fcaa3d5a8c09d7db61077d4debfd" - integrity sha512-vzSiiqbQOghPngUYt/zWGvK3LAsPhz55vc9XNN0xAl2gV4ieShI2OQli5duxWHD+72PZPTKAcfcZDE1Cwc5zsQ== +"@babel/helpers@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.7.tgz#04502ff0feecc9f20ecfaad120a18f011a8e6dce" + integrity sha512-PBPjs5BppzsGaxHQCDKnZ6Gd9s6xl8bBCluz3vEInLGRJmnZan4F6BYCeqtyXqkk4W5IlPmjK4JlOuZkpJ3xZA== dependencies: - "@babel/template" "^7.18.6" - "@babel/traverse" "^7.18.6" - "@babel/types" "^7.18.6" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.7" + "@babel/types" "^7.20.7" "@babel/highlight@^7.10.4", "@babel/highlight@^7.18.6": version "7.18.6" @@ -202,10 +217,10 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.18.6.tgz#845338edecad65ebffef058d3be851f1d28a63bc" - integrity sha512-uQVSa9jJUe/G/304lXspfWVpKpK4euFLgGiMQFOCpM/bgcAdeoHwi/OQz23O9GK2osz26ZiXRRV9aV+Yl1O8tw== +"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.7.tgz#66fe23b3c8569220817d5feb8b9dcdc95bb4f71b" + integrity sha512-T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg== "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -291,53 +306,54 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-typescript@^7.18.6", "@babel/plugin-syntax-typescript@^7.7.2": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz#1c09cd25795c7c2b8a4ba9ae49394576d4133285" - integrity sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA== +"@babel/plugin-syntax-typescript@^7.20.0", "@babel/plugin-syntax-typescript@^7.7.2": + version "7.20.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.20.0.tgz#4e9a0cfc769c85689b77a2e642d24e9f697fc8c7" + integrity sha512-rd9TkG+u1CExzS4SM1BlMEhMXwFLKVjOAFFCDx9PbX5ycJWDoWMcwdJH9RhkPu1dOgn5TrxLot/Gx6lWFuAUNQ== dependencies: - "@babel/helper-plugin-utils" "^7.18.6" + "@babel/helper-plugin-utils" "^7.19.0" -"@babel/plugin-transform-typescript@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.18.6.tgz#8f4ade1a9cf253e5cf7c7c20173082c2c08a50a7" - integrity sha512-ijHNhzIrLj5lQCnI6aaNVRtGVuUZhOXFLRVFs7lLrkXTHip4FKty5oAuQdk4tywG0/WjXmjTfQCWmuzrvFer1w== +"@babel/plugin-transform-typescript@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.20.7.tgz#673f49499cd810ae32a1ea5f3f8fab370987e055" + integrity sha512-m3wVKEvf6SoszD8pu4NZz3PvfKRCMgk6D6d0Qi9hNnlM5M6CFS92EgF4EiHVLKbU0r/r7ty1hg7NPZwE7WRbYw== dependencies: - "@babel/helper-create-class-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - "@babel/plugin-syntax-typescript" "^7.18.6" + "@babel/helper-create-class-features-plugin" "^7.20.7" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-typescript" "^7.20.0" -"@babel/template@^7.18.6", "@babel/template@^7.3.3": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.18.6.tgz#1283f4993e00b929d6e2d3c72fdc9168a2977a31" - integrity sha512-JoDWzPe+wgBsTTgdnIma3iHNFC7YVJoPssVBDjiHfNlyt4YcunDtcDOUmfVDfCK5MfdsaIoX9PkijPhjH3nYUw== +"@babel/template@^7.18.10", "@babel/template@^7.20.7", "@babel/template@^7.3.3": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" + integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== dependencies: "@babel/code-frame" "^7.18.6" - "@babel/parser" "^7.18.6" - "@babel/types" "^7.18.6" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" -"@babel/traverse@^7.18.6", "@babel/traverse@^7.7.2": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.18.6.tgz#a228562d2f46e89258efa4ddd0416942e2fd671d" - integrity sha512-zS/OKyqmD7lslOtFqbscH6gMLFYOfG1YPqCKfAW5KrTeolKqvB8UelR49Fpr6y93kYkW2Ik00mT1LOGiAGvizw== +"@babel/traverse@^7.20.10", "@babel/traverse@^7.20.12", "@babel/traverse@^7.20.7", "@babel/traverse@^7.7.2": + version "7.20.12" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.12.tgz#7f0f787b3a67ca4475adef1f56cb94f6abd4a4b5" + integrity sha512-MsIbFN0u+raeja38qboyF8TIT7K0BFzz/Yd/77ta4MsUsmP2RAnidIlwq7d5HFQrH/OZJecGV6B71C4zAgpoSQ== dependencies: "@babel/code-frame" "^7.18.6" - "@babel/generator" "^7.18.6" - "@babel/helper-environment-visitor" "^7.18.6" - "@babel/helper-function-name" "^7.18.6" + "@babel/generator" "^7.20.7" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.19.0" "@babel/helper-hoist-variables" "^7.18.6" "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.18.6" - "@babel/types" "^7.18.6" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.18.7", "@babel/types@^7.3.0", "@babel/types@^7.3.3": - version "7.18.7" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.18.7.tgz#a4a2c910c15040ea52cdd1ddb1614a65c8041726" - integrity sha512-QG3yxTcTIBoAcQmkCs+wAPYZhu7Dk9rXKacINfNbdJDNERTbLQbHGyVG8q/YGMPeCJRIhSY0+fTc5+xuh6WPSQ== +"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.19.0", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.20.7", "@babel/types@^7.3.0", "@babel/types@^7.3.3": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f" + integrity sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg== dependencies: - "@babel/helper-validator-identifier" "^7.18.6" + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" "@bcoe/v8-coverage@^0.2.3": @@ -345,6 +361,13 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@cspotcode/source-map-support@^0.8.0": + version "0.8.1" + resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" + integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== + dependencies: + "@jridgewell/trace-mapping" "0.3.9" + "@eslint/eslintrc@^0.4.3": version "0.4.3" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c" @@ -390,109 +413,109 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== -"@jest/console@^28.1.1": - version "28.1.1" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-28.1.1.tgz#305f8ca50b6e70413839f54c0e002b60a0f2fd7d" - integrity sha512-0RiUocPVFEm3WRMOStIHbRWllG6iW6E3/gUPnf4lkrVFyXIIDeCe+vlKeYyFOMhB2EPE6FLFCNADSOOQMaqvyA== +"@jest/console@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-28.1.3.tgz#2030606ec03a18c31803b8a36382762e447655df" + integrity sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw== dependencies: - "@jest/types" "^28.1.1" + "@jest/types" "^28.1.3" "@types/node" "*" chalk "^4.0.0" - jest-message-util "^28.1.1" - jest-util "^28.1.1" + jest-message-util "^28.1.3" + jest-util "^28.1.3" slash "^3.0.0" -"@jest/core@^28.1.2": - version "28.1.2" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-28.1.2.tgz#eac519b9acbd154313854b8823a47b5c645f785a" - integrity sha512-Xo4E+Sb/nZODMGOPt2G3cMmCBqL4/W2Ijwr7/mrXlq4jdJwcFQ/9KrrJZT2adQRk2otVBXXOz1GRQ4Z5iOgvRQ== - dependencies: - "@jest/console" "^28.1.1" - "@jest/reporters" "^28.1.2" - "@jest/test-result" "^28.1.1" - "@jest/transform" "^28.1.2" - "@jest/types" "^28.1.1" +"@jest/core@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-28.1.3.tgz#0ebf2bd39840f1233cd5f2d1e6fc8b71bd5a1ac7" + integrity sha512-CIKBrlaKOzA7YG19BEqCw3SLIsEwjZkeJzf5bdooVnW4bH5cktqe3JX+G2YV1aK5vP8N9na1IGWFzYaTp6k6NA== + dependencies: + "@jest/console" "^28.1.3" + "@jest/reporters" "^28.1.3" + "@jest/test-result" "^28.1.3" + "@jest/transform" "^28.1.3" + "@jest/types" "^28.1.3" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" ci-info "^3.2.0" exit "^0.1.2" graceful-fs "^4.2.9" - jest-changed-files "^28.0.2" - jest-config "^28.1.2" - jest-haste-map "^28.1.1" - jest-message-util "^28.1.1" + jest-changed-files "^28.1.3" + jest-config "^28.1.3" + jest-haste-map "^28.1.3" + jest-message-util "^28.1.3" jest-regex-util "^28.0.2" - jest-resolve "^28.1.1" - jest-resolve-dependencies "^28.1.2" - jest-runner "^28.1.2" - jest-runtime "^28.1.2" - jest-snapshot "^28.1.2" - jest-util "^28.1.1" - jest-validate "^28.1.1" - jest-watcher "^28.1.1" + jest-resolve "^28.1.3" + jest-resolve-dependencies "^28.1.3" + jest-runner "^28.1.3" + jest-runtime "^28.1.3" + jest-snapshot "^28.1.3" + jest-util "^28.1.3" + jest-validate "^28.1.3" + jest-watcher "^28.1.3" micromatch "^4.0.4" - pretty-format "^28.1.1" + pretty-format "^28.1.3" rimraf "^3.0.0" slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^28.1.2": - version "28.1.2" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-28.1.2.tgz#94a052c0c5f9f8c8e6d13ea6da78dbc5d7d9b85b" - integrity sha512-I0CR1RUMmOzd0tRpz10oUfaChBWs+/Hrvn5xYhMEF/ZqrDaaeHwS8yDBqEWCrEnkH2g+WE/6g90oBv3nKpcm8Q== +"@jest/environment@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-28.1.3.tgz#abed43a6b040a4c24fdcb69eab1f97589b2d663e" + integrity sha512-1bf40cMFTEkKyEf585R9Iz1WayDjHoHqvts0XFYEqyKM3cFWDpeMoqKKTAF9LSYQModPUlh8FKptoM2YcMWAXA== dependencies: - "@jest/fake-timers" "^28.1.2" - "@jest/types" "^28.1.1" + "@jest/fake-timers" "^28.1.3" + "@jest/types" "^28.1.3" "@types/node" "*" - jest-mock "^28.1.1" + jest-mock "^28.1.3" -"@jest/expect-utils@^28.1.1": - version "28.1.1" - resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-28.1.1.tgz#d84c346025b9f6f3886d02c48a6177e2b0360587" - integrity sha512-n/ghlvdhCdMI/hTcnn4qV57kQuV9OTsZzH1TTCVARANKhl6hXJqLKUkwX69ftMGpsbpt96SsDD8n8LD2d9+FRw== +"@jest/expect-utils@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-28.1.3.tgz#58561ce5db7cd253a7edddbc051fb39dda50f525" + integrity sha512-wvbi9LUrHJLn3NlDW6wF2hvIMtd4JUl2QNVrjq+IBSHirgfrR3o9RnVtxzdEGO2n9JyIWwHnLfby5KzqBGg2YA== dependencies: jest-get-type "^28.0.2" -"@jest/expect@^28.1.2": - version "28.1.2" - resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-28.1.2.tgz#0b25acedff46e1e1e5606285306c8a399c12534f" - integrity sha512-HBzyZBeFBiOelNbBKN0pilWbbrGvwDUwAqMC46NVJmWm8AVkuE58NbG1s7DR4cxFt4U5cVLxofAoHxgvC5MyOw== +"@jest/expect@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-28.1.3.tgz#9ac57e1d4491baca550f6bdbd232487177ad6a72" + integrity sha512-lzc8CpUbSoE4dqT0U+g1qODQjBRHPpCPXissXD4mS9+sWQdmmpeJ9zSH1rS1HEkrsMN0fb7nKrJ9giAR1d3wBw== dependencies: - expect "^28.1.1" - jest-snapshot "^28.1.2" + expect "^28.1.3" + jest-snapshot "^28.1.3" -"@jest/fake-timers@^28.1.2": - version "28.1.2" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-28.1.2.tgz#d49e8ee4e02ba85a6e844a52a5e7c59c23e3b76f" - integrity sha512-xSYEI7Y0D5FbZN2LsCUj/EKRR1zfQYmGuAUVh6xTqhx7V5JhjgMcK5Pa0iR6WIk0GXiHDe0Ke4A+yERKE9saqg== +"@jest/fake-timers@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-28.1.3.tgz#230255b3ad0a3d4978f1d06f70685baea91c640e" + integrity sha512-D/wOkL2POHv52h+ok5Oj/1gOG9HSywdoPtFsRCUmlCILXNn5eIWmcnd3DIiWlJnpGvQtmajqBP95Ei0EimxfLw== dependencies: - "@jest/types" "^28.1.1" + "@jest/types" "^28.1.3" "@sinonjs/fake-timers" "^9.1.2" "@types/node" "*" - jest-message-util "^28.1.1" - jest-mock "^28.1.1" - jest-util "^28.1.1" + jest-message-util "^28.1.3" + jest-mock "^28.1.3" + jest-util "^28.1.3" -"@jest/globals@^28.1.2": - version "28.1.2" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-28.1.2.tgz#92fab296e337c7309c25e4202fb724f62249d83f" - integrity sha512-cz0lkJVDOtDaYhvT3Fv2U1B6FtBnV+OpEyJCzTHM1fdoTsU4QNLAt/H4RkiwEUU+dL4g/MFsoTuHeT2pvbo4Hg== +"@jest/globals@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-28.1.3.tgz#a601d78ddc5fdef542728309894895b4a42dc333" + integrity sha512-XFU4P4phyryCXu1pbcqMO0GSQcYe1IsalYCDzRNyhetyeyxMcIxa11qPNDpVNLeretItNqEmYYQn1UYz/5x1NA== dependencies: - "@jest/environment" "^28.1.2" - "@jest/expect" "^28.1.2" - "@jest/types" "^28.1.1" + "@jest/environment" "^28.1.3" + "@jest/expect" "^28.1.3" + "@jest/types" "^28.1.3" -"@jest/reporters@^28.1.2": - version "28.1.2" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-28.1.2.tgz#0327be4ce4d0d9ae49e7908656f89669d0c2a260" - integrity sha512-/whGLhiwAqeCTmQEouSigUZJPVl7sW8V26EiboImL+UyXznnr1a03/YZ2BX8OlFw0n+Zlwu+EZAITZtaeRTxyA== +"@jest/reporters@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-28.1.3.tgz#9adf6d265edafc5fc4a434cfb31e2df5a67a369a" + integrity sha512-JuAy7wkxQZVNU/V6g9xKzCGC5LVXx9FDcABKsSXp5MiKPEE2144a/vXTEDoyzjUpZKfVwp08Wqg5A4WfTMAzjg== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^28.1.1" - "@jest/test-result" "^28.1.1" - "@jest/transform" "^28.1.2" - "@jest/types" "^28.1.1" + "@jest/console" "^28.1.3" + "@jest/test-result" "^28.1.3" + "@jest/transform" "^28.1.3" + "@jest/types" "^28.1.3" "@jridgewell/trace-mapping" "^0.3.13" "@types/node" "*" chalk "^4.0.0" @@ -505,21 +528,21 @@ istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.1.3" - jest-message-util "^28.1.1" - jest-util "^28.1.1" - jest-worker "^28.1.1" + jest-message-util "^28.1.3" + jest-util "^28.1.3" + jest-worker "^28.1.3" slash "^3.0.0" string-length "^4.0.1" strip-ansi "^6.0.0" terminal-link "^2.0.0" v8-to-istanbul "^9.0.1" -"@jest/schemas@^28.0.2": - version "28.0.2" - resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-28.0.2.tgz#08c30df6a8d07eafea0aef9fb222c5e26d72e613" - integrity sha512-YVDJZjd4izeTDkij00vHHAymNXQ6WWsdChFRK86qck6Jpr3DCL5W3Is3vslviRlP+bLuMYRLbdp98amMvqudhA== +"@jest/schemas@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-28.1.3.tgz#ad8b86a66f11f33619e3d7e1dcddd7f2d40ff905" + integrity sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg== dependencies: - "@sinclair/typebox" "^0.23.3" + "@sinclair/typebox" "^0.24.1" "@jest/source-map@^28.1.2": version "28.1.2" @@ -530,53 +553,53 @@ callsites "^3.0.0" graceful-fs "^4.2.9" -"@jest/test-result@^28.1.1": - version "28.1.1" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-28.1.1.tgz#c6f18d1bbb01aa88925dd687872a75f8414b317a" - integrity sha512-hPmkugBktqL6rRzwWAtp1JtYT4VHwv8OQ+9lE5Gymj6dHzubI/oJHMUpPOt8NrdVWSrz9S7bHjJUmv2ggFoUNQ== +"@jest/test-result@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-28.1.3.tgz#5eae945fd9f4b8fcfce74d239e6f725b6bf076c5" + integrity sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg== dependencies: - "@jest/console" "^28.1.1" - "@jest/types" "^28.1.1" + "@jest/console" "^28.1.3" + "@jest/types" "^28.1.3" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^28.1.1": - version "28.1.1" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-28.1.1.tgz#f594ee2331df75000afe0d1ae3237630ecec732e" - integrity sha512-nuL+dNSVMcWB7OOtgb0EGH5AjO4UBCt68SLP08rwmC+iRhyuJWS9MtZ/MpipxFwKAlHFftbMsydXqWre8B0+XA== +"@jest/test-sequencer@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-28.1.3.tgz#9d0c283d906ac599c74bde464bc0d7e6a82886c3" + integrity sha512-NIMPEqqa59MWnDi1kvXXpYbqsfQmSJsIbnd85mdVGkiDfQ9WQQTXOLsvISUfonmnBT+w85WEgneCigEEdHDFxw== dependencies: - "@jest/test-result" "^28.1.1" + "@jest/test-result" "^28.1.3" graceful-fs "^4.2.9" - jest-haste-map "^28.1.1" + jest-haste-map "^28.1.3" slash "^3.0.0" -"@jest/transform@^28.1.2": - version "28.1.2" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-28.1.2.tgz#b367962c53fd53821269bde050ce373e111327c1" - integrity sha512-3o+lKF6iweLeJFHBlMJysdaPbpoMmtbHEFsjzSv37HIq/wWt5ijTeO2Yf7MO5yyczCopD507cNwNLeX8Y/CuIg== +"@jest/transform@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-28.1.3.tgz#59d8098e50ab07950e0f2fc0fc7ec462371281b0" + integrity sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA== dependencies: "@babel/core" "^7.11.6" - "@jest/types" "^28.1.1" + "@jest/types" "^28.1.3" "@jridgewell/trace-mapping" "^0.3.13" babel-plugin-istanbul "^6.1.1" chalk "^4.0.0" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" graceful-fs "^4.2.9" - jest-haste-map "^28.1.1" + jest-haste-map "^28.1.3" jest-regex-util "^28.0.2" - jest-util "^28.1.1" + jest-util "^28.1.3" micromatch "^4.0.4" pirates "^4.0.4" slash "^3.0.0" write-file-atomic "^4.0.1" -"@jest/types@^28.1.1": - version "28.1.1" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-28.1.1.tgz#d059bbc80e6da6eda9f081f293299348bd78ee0b" - integrity sha512-vRXVqSg1VhDnB8bWcmvLzmg0Bt9CRKVgHPXqYwvWMX3TvAjeO+nRuK6+VdTKCtWOvYlmkF/HqNAL/z+N3B53Kw== +"@jest/types@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-28.1.3.tgz#b05de80996ff12512bc5ceb1d208285a7d11748b" + integrity sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ== dependencies: - "@jest/schemas" "^28.0.2" + "@jest/schemas" "^28.1.3" "@types/istanbul-lib-coverage" "^2.0.0" "@types/istanbul-reports" "^3.0.0" "@types/node" "*" @@ -600,29 +623,37 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/resolve-uri@^3.0.3": - version "3.0.8" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.0.8.tgz#687cc2bbf243f4e9a868ecf2262318e2658873a1" - integrity sha512-YK5G9LaddzGbcucK4c8h5tWFmMPBvRZ/uyWmN1/SbBdIvqGUdWGkJ5BAaccgs6XbzVLsqbPJrBSFwKv3kT9i7w== +"@jridgewell/resolve-uri@3.1.0", "@jridgewell/resolve-uri@^3.0.3": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== "@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": version "1.1.2" resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== -"@jridgewell/sourcemap-codec@^1.4.10": +"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10": version "1.4.14" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.14" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz#b231a081d8f66796e475ad588a1ef473112701ed" - integrity sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ== +"@jridgewell/trace-mapping@0.3.9": + version "0.3.9" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" + integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== dependencies: "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.17" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985" + integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -651,10 +682,10 @@ dependencies: any-observable "^0.3.0" -"@sinclair/typebox@^0.23.3": - version "0.23.5" - resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.23.5.tgz#93f7b9f4e3285a7a9ade7557d9a8d36809cbc47d" - integrity sha512-AFBVi/iT4g20DHoujvMH1aEDn8fGJh4xsRGCP6d8RpLPMqsNPvW01Jcn0QysXTsg++/xj25NmJsGyH9xug/wKg== +"@sinclair/typebox@^0.24.1": + version "0.24.51" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" + integrity sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA== "@sindresorhus/is@^0.14.0": version "0.14.0" @@ -672,9 +703,9 @@ integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw== "@sinonjs/commons@^1.7.0": - version "1.8.3" - resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d" - integrity sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ== + version "1.8.6" + resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.6.tgz#80c516a4dc264c2a69115e7578d62581ff455ed9" + integrity sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ== dependencies: type-detect "4.0.8" @@ -699,10 +730,30 @@ dependencies: defer-to-connect "^2.0.0" +"@tsconfig/node10@^1.0.7": + version "1.0.9" + resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2" + integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA== + +"@tsconfig/node12@^1.0.7": + version "1.0.11" + resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d" + integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag== + +"@tsconfig/node14@^1.0.0": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1" + integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow== + +"@tsconfig/node16@^1.0.2": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.3.tgz#472eaab5f15c1ffdd7f8628bd4c4f753995ec79e" + integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ== + "@types/babel__core@^7.1.14", "@types/babel__core@^7.1.8": - version "7.1.19" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.19.tgz#7b497495b7d1b4812bdb9d02804d0576f43ee460" - integrity sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw== + version "7.1.20" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.20.tgz#e168cdd612c92a2d335029ed62ac94c95b362359" + integrity sha512-PVb6Bg2QuscZ30FvOU7z4guG6c926D9YRvOxEaelzndpMsvP+YM74Q/dAFASpg2l6+XLalxSGxcq/lrgYWZtyQ== dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" @@ -726,21 +777,21 @@ "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": - version "7.17.1" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.17.1.tgz#1a0e73e8c28c7e832656db372b779bfd2ef37314" - integrity sha512-kVzjari1s2YVi77D3w1yuvohV2idweYXMCDzqBiVNN63TcDWrIlTVOYpqVrvbbyOE/IyzBoTKF0fdnLPEORFxA== + version "7.18.3" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.18.3.tgz#dfc508a85781e5698d5b33443416b6268c4b3e8d" + integrity sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w== dependencies: "@babel/types" "^7.3.0" "@types/cacheable-request@^6.0.1": - version "6.0.2" - resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.2.tgz#c324da0197de0a98a2312156536ae262429ff6b9" - integrity sha512-B3xVo+dlKM6nnKTcmm5ZtY/OL8bOAOd2Olee9M1zft65ox50OzjEHW91sDiU9j6cvW8Ejg1/Qkf4xd2kugApUA== + version "6.0.3" + resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.3.tgz#a430b3260466ca7b5ca5bfd735693b36e7a9d183" + integrity sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw== dependencies: "@types/http-cache-semantics" "*" - "@types/keyv" "*" + "@types/keyv" "^3.1.4" "@types/node" "*" - "@types/responselike" "*" + "@types/responselike" "^1.0.0" "@types/eslint-visitor-keys@^1.0.0": version "1.0.0" @@ -748,9 +799,9 @@ integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag== "@types/graceful-fs@^4.1.3": - version "4.1.5" - resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15" - integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw== + version "4.1.6" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.6.tgz#e14b2576a1c25026b7f02ede1de3b84c3a1efeae" + integrity sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw== dependencies: "@types/node" "*" @@ -789,18 +840,13 @@ "@types/istanbul-lib-report" "*" "@types/jest@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-28.1.3.tgz#52f3f3e50ce59191ff5fbb1084896cc0cf30c9ce" - integrity sha512-Tsbjk8Y2hkBaY/gJsataeb4q9Mubw9EOz7+4RjPkzD5KjTvHHs7cpws22InaoXxAVAhF5HfFbzJjo6oKWqSZLw== + version "28.1.8" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-28.1.8.tgz#6936409f3c9724ea431efd412ea0238a0f03b09b" + integrity sha512-8TJkV++s7B6XqnDrzR1m/TT0A0h948Pnl/097veySPN67VRAgQ4gZ7n2KfJo2rVq6njQjdxU3GCCyDvAeuHoiw== dependencies: - jest-matcher-utils "^28.0.0" + expect "^28.0.0" pretty-format "^28.0.0" -"@types/json-buffer@~3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/json-buffer/-/json-buffer-3.0.0.tgz#85c1ff0f0948fc159810d4b5be35bf8c20875f64" - integrity sha512-3YP80IxxFJB4b5tYC2SUPwkg0XQLiu0nWvhRgEatgjf+29IcWO9X1k8xRv5DGssJ/lCrjYTjQPcobJr2yWIVuQ== - "@types/json-schema@^7.0.3", "@types/json-schema@^7.0.9": version "7.0.11" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" @@ -811,7 +857,7 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== -"@types/keyv@*", "@types/keyv@^3.1.1": +"@types/keyv@^3.1.1", "@types/keyv@^3.1.4": version "3.1.4" resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6" integrity sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg== @@ -824,14 +870,14 @@ integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== "@types/node@*": - version "18.0.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.0.0.tgz#67c7b724e1bcdd7a8821ce0d5ee184d3b4dd525a" - integrity sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA== + version "18.11.18" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" + integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== "@types/node@^14.0.11": - version "14.18.21" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.21.tgz#0155ee46f6be28b2ff0342ca1a9b9fd4468bef41" - integrity sha512-x5W9s+8P4XteaxT/jKF0PSb7XEvo5VmqEWgsMlyeY4ZlLK8I6aH6g5TPPyDlLAep+GYf4kefb7HFyc7PAO3m+Q== + version "14.18.36" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.36.tgz#c414052cb9d43fab67d679d5f3c641be911f5835" + integrity sha512-FXKWbsJ6a1hIrRxv+FoukuHnGTgEzKYGi7kilfMae96AL9UNkPFNWJEEYWzdRI9ooIkbr4AKldyuSTLql06vLQ== "@types/normalize-package-data@^2.4.0": version "2.4.1" @@ -844,17 +890,22 @@ integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== "@types/prettier@^2.1.5": - version "2.6.3" - resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.6.3.tgz#68ada76827b0010d0db071f739314fa429943d0a" - integrity sha512-ymZk3LEC/fsut+/Q5qejp6R9O1rMxz3XaRHDV6kX8MrGAhOSPqVARbDi+EZvInBpw+BnCX3TD240byVkOfQsHg== + version "2.7.2" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.2.tgz#6c2324641cc4ba050a8c710b2b251b377581fbf0" + integrity sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg== -"@types/responselike@*": +"@types/responselike@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" integrity sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA== dependencies: "@types/node" "*" +"@types/semver@^7.3.12": + version "7.3.13" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91" + integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw== + "@types/stack-utils@^2.0.0": version "2.0.1" resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" @@ -866,30 +917,30 @@ integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== "@types/yargs@^15.0.12": - version "15.0.14" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.14.tgz#26d821ddb89e70492160b66d10a0eb6df8f6fb06" - integrity sha512-yEJzHoxf6SyQGhBhIYGXQDSCkJjB6HohDShto7m8vaKg9Yp0Yn8+71J9eakh2bnPg6BfsH9PRMhiRTZnd4eXGQ== + version "15.0.15" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.15.tgz#e609a2b1ef9e05d90489c2f5f45bbfb2be092158" + integrity sha512-IziEYMU9XoVj8hWg7k+UJrXALkGFjWJhn5QFEv9q4p+v40oZhSuC135M38st8XPjICL7Ey4TV64ferBGUoJhBg== dependencies: "@types/yargs-parser" "*" "@types/yargs@^17.0.8": - version "17.0.10" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.10.tgz#591522fce85d8739bca7b8bb90d048e4478d186a" - integrity sha512-gmEaFwpj/7f/ROdtIlci1R1VYU1J4j95m8T+Tj3iBgiBFKg1foE/PSl93bBd5T9LDXNPo8UlNN6W0qwD8O5OaA== + version "17.0.19" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.19.tgz#8dbecdc9ab48bee0cb74f6e3327de3fa0d0c98ae" + integrity sha512-cAx3qamwaYX9R0fzOIZAlFpo4A+1uBVCxqpKz9D26uTF4srRXaGTTsikQmaotCtNdbhzyUH7ft6p9ktz9s6UNQ== dependencies: "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.30.0.tgz#524a11e15c09701733033c96943ecf33f55d9ca1" - integrity sha512-lvhRJ2pGe2V9MEU46ELTdiHgiAFZPKtLhiU5wlnaYpMc2+c1R8fh8i80ZAa665drvjHKUJyRRGg3gEm1If54ow== + version "5.48.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.48.1.tgz#deee67e399f2cb6b4608c935777110e509d8018c" + integrity sha512-9nY5K1Rp2ppmpb9s9S2aBiF3xo5uExCehMDmYmmFqqyxgenbHJ3qbarcLt4ITgaD6r/2ypdlcFRdcuVPnks+fQ== dependencies: - "@typescript-eslint/scope-manager" "5.30.0" - "@typescript-eslint/type-utils" "5.30.0" - "@typescript-eslint/utils" "5.30.0" + "@typescript-eslint/scope-manager" "5.48.1" + "@typescript-eslint/type-utils" "5.48.1" + "@typescript-eslint/utils" "5.48.1" debug "^4.3.4" - functional-red-black-tree "^1.0.1" ignore "^5.2.0" + natural-compare-lite "^1.4.0" regexpp "^3.2.0" semver "^7.3.7" tsutils "^3.21.0" @@ -917,29 +968,30 @@ eslint-visitor-keys "^1.1.0" "@typescript-eslint/parser@^5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.30.0.tgz#a2184fb5f8ef2bf1db0ae61a43907e2e32aa1b8f" - integrity sha512-2oYYUws5o2liX6SrFQ5RB88+PuRymaM2EU02/9Ppoyu70vllPnHVO7ioxDdq/ypXHA277R04SVjxvwI8HmZpzA== + version "5.48.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.48.1.tgz#d0125792dab7e232035434ab8ef0658154db2f10" + integrity sha512-4yg+FJR/V1M9Xoq56SF9Iygqm+r5LMXvheo6DQ7/yUWynQ4YfCRnsKuRgqH4EQ5Ya76rVwlEpw4Xu+TgWQUcdA== dependencies: - "@typescript-eslint/scope-manager" "5.30.0" - "@typescript-eslint/types" "5.30.0" - "@typescript-eslint/typescript-estree" "5.30.0" + "@typescript-eslint/scope-manager" "5.48.1" + "@typescript-eslint/types" "5.48.1" + "@typescript-eslint/typescript-estree" "5.48.1" debug "^4.3.4" -"@typescript-eslint/scope-manager@5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.30.0.tgz#bf585ee801ab4ad84db2f840174e171a6bb002c7" - integrity sha512-3TZxvlQcK5fhTBw5solQucWSJvonXf5yua5nx8OqK94hxdrT7/6W3/CS42MLd/f1BmlmmbGEgQcTHHCktUX5bQ== +"@typescript-eslint/scope-manager@5.48.1": + version "5.48.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.48.1.tgz#39c71e4de639f5fe08b988005beaaf6d79f9d64d" + integrity sha512-S035ueRrbxRMKvSTv9vJKIWgr86BD8s3RqoRZmsSh/s8HhIs90g6UlK8ZabUSjUZQkhVxt7nmZ63VJ9dcZhtDQ== dependencies: - "@typescript-eslint/types" "5.30.0" - "@typescript-eslint/visitor-keys" "5.30.0" + "@typescript-eslint/types" "5.48.1" + "@typescript-eslint/visitor-keys" "5.48.1" -"@typescript-eslint/type-utils@5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.30.0.tgz#98f3af926a5099153f092d4dad87148df21fbaae" - integrity sha512-GF8JZbZqSS+azehzlv/lmQQ3EU3VfWYzCczdZjJRxSEeXDQkqFhCBgFhallLDbPwQOEQ4MHpiPfkjKk7zlmeNg== +"@typescript-eslint/type-utils@5.48.1": + version "5.48.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.48.1.tgz#5d94ac0c269a81a91ad77c03407cea2caf481412" + integrity sha512-Hyr8HU8Alcuva1ppmqSYtM/Gp0q4JOp1F+/JH5D1IZm/bUBrV0edoewQZiEc1r6I8L4JL21broddxK8HAcZiqQ== dependencies: - "@typescript-eslint/utils" "5.30.0" + "@typescript-eslint/typescript-estree" "5.48.1" + "@typescript-eslint/utils" "5.48.1" debug "^4.3.4" tsutils "^3.21.0" @@ -948,10 +1000,10 @@ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-3.10.1.tgz#1d7463fa7c32d8a23ab508a803ca2fe26e758727" integrity sha512-+3+FCUJIahE9q0lDi1WleYzjCwJs5hIsbugIgnbB+dSCYUxl8L6PwmsyOPFZde2hc1DlTo/xnkOgiTLSyAbHiQ== -"@typescript-eslint/types@5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.30.0.tgz#db7d81d585a3da3801432a9c1d2fafbff125e110" - integrity sha512-vfqcBrsRNWw/LBXyncMF/KrUTYYzzygCSsVqlZ1qGu1QtGs6vMkt3US0VNSQ05grXi5Yadp3qv5XZdYLjpp8ag== +"@typescript-eslint/types@5.48.1": + version "5.48.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.48.1.tgz#efd1913a9aaf67caf8a6e6779fd53e14e8587e14" + integrity sha512-xHyDLU6MSuEEdIlzrrAerCGS3T7AA/L8Hggd0RCYBi0w3JMvGYxlLlXHeg50JI9Tfg5MrtsfuNxbS/3zF1/ATg== "@typescript-eslint/typescript-estree@3.10.1": version "3.10.1" @@ -967,30 +1019,32 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/typescript-estree@5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.30.0.tgz#4565ee8a6d2ac368996e20b2344ea0eab1a8f0bb" - integrity sha512-hDEawogreZB4n1zoqcrrtg/wPyyiCxmhPLpZ6kmWfKF5M5G0clRLaEexpuWr31fZ42F96SlD/5xCt1bT5Qm4Nw== +"@typescript-eslint/typescript-estree@5.48.1": + version "5.48.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.1.tgz#9efa8ee2aa471c6ab62e649f6e64d8d121bc2056" + integrity sha512-Hut+Osk5FYr+sgFh8J/FHjqX6HFcDzTlWLrFqGoK5kVUN3VBHF/QzZmAsIXCQ8T/W9nQNBTqalxi1P3LSqWnRA== dependencies: - "@typescript-eslint/types" "5.30.0" - "@typescript-eslint/visitor-keys" "5.30.0" + "@typescript-eslint/types" "5.48.1" + "@typescript-eslint/visitor-keys" "5.48.1" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/utils@5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.30.0.tgz#1dac771fead5eab40d31860716de219356f5f754" - integrity sha512-0bIgOgZflLKIcZsWvfklsaQTM3ZUbmtH0rJ1hKyV3raoUYyeZwcjQ8ZUJTzS7KnhNcsVT1Rxs7zeeMHEhGlltw== +"@typescript-eslint/utils@5.48.1": + version "5.48.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.48.1.tgz#20f2f4e88e9e2a0961cbebcb47a1f0f7da7ba7f9" + integrity sha512-SmQuSrCGUOdmGMwivW14Z0Lj8dxG1mOFZ7soeJ0TQZEJcs3n5Ndgkg0A4bcMFzBELqLJ6GTHnEU+iIoaD6hFGA== dependencies: "@types/json-schema" "^7.0.9" - "@typescript-eslint/scope-manager" "5.30.0" - "@typescript-eslint/types" "5.30.0" - "@typescript-eslint/typescript-estree" "5.30.0" + "@types/semver" "^7.3.12" + "@typescript-eslint/scope-manager" "5.48.1" + "@typescript-eslint/types" "5.48.1" + "@typescript-eslint/typescript-estree" "5.48.1" eslint-scope "^5.1.1" eslint-utils "^3.0.0" + semver "^7.3.7" "@typescript-eslint/visitor-keys@3.10.1": version "3.10.1" @@ -999,12 +1053,12 @@ dependencies: eslint-visitor-keys "^1.1.0" -"@typescript-eslint/visitor-keys@5.30.0": - version "5.30.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.30.0.tgz#07721d23daca2ec4c2da7f1e660d41cd78bacac3" - integrity sha512-6WcIeRk2DQ3pHKxU1Ni0qMXJkjO/zLjBymlYBy/53qxe7yjEFSvzKLDToJjURUhSl2Fzhkl4SMXQoETauF74cw== +"@typescript-eslint/visitor-keys@5.48.1": + version "5.48.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.1.tgz#79fd4fb9996023ef86849bf6f904f33eb6c8fccb" + integrity sha512-Ns0XBwmfuX7ZknznfXozgnydyR8F6ev/KEGePP4i74uL3ArsKbEhJ7raeKr1JSa997DBDwol/4a0Y+At82c9dA== dependencies: - "@typescript-eslint/types" "5.30.0" + "@typescript-eslint/types" "5.48.1" eslint-visitor-keys "^3.3.0" "@typhonjs/babel-parser@^0.2.0": @@ -1020,11 +1074,21 @@ acorn-jsx@^5.3.1: resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== +acorn-walk@^8.1.1: + version "8.2.0" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" + integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== + acorn@^7.4.0: version "7.4.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== +acorn@^8.4.1: + version "8.8.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73" + integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA== + aggregate-error@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" @@ -1044,9 +1108,9 @@ ajv@^6.10.0, ajv@^6.12.4: uri-js "^4.2.2" ajv@^8.0.1: - version "8.11.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.11.0.tgz#977e91dd96ca669f54a11e23e378e33b884a565f" - integrity sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg== + version "8.12.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" + integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" @@ -1132,13 +1196,18 @@ any-observable@^0.5.1: integrity sha512-8zv01bgDOp9PTmRTNCAHTw64TFP2rvlX4LvtNJLachaXY+AjmIvLT47fABNPCiIe89hKiSCo2n5zmPqI9CElPA== anymatch@^3.0.3: - version "3.1.2" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" - integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== dependencies: normalize-path "^3.0.0" picomatch "^2.0.4" +arg@^4.1.0: + version "4.1.3" + resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" + integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== + argparse@^1.0.7: version "1.0.10" resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" @@ -1147,14 +1216,14 @@ argparse@^1.0.7: sprintf-js "~1.0.2" array-includes@^3.1.4: - version "3.1.5" - resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.5.tgz#2c320010db8d31031fd2a5f6b3bbd4b1aad31bdb" - integrity sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ== + version "3.1.6" + resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.6.tgz#9e9e720e194f198266ba9e18c29e6a9b0e4b225f" + integrity sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw== dependencies: call-bind "^1.0.2" define-properties "^1.1.4" - es-abstract "^1.19.5" - get-intrinsic "^1.1.1" + es-abstract "^1.20.4" + get-intrinsic "^1.1.3" is-string "^1.0.7" array-union@^2.1.0: @@ -1163,13 +1232,13 @@ array-union@^2.1.0: integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== array.prototype.flat@^1.2.5: - version "1.3.0" - resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz#0b0c1567bf57b38b56b4c97b8aa72ab45e4adc7b" - integrity sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw== + version "1.3.1" + resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz#ffc6576a7ca3efc2f46a143b9d1dda9b4b3cf5e2" + integrity sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA== dependencies: call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" es-shim-unscopables "^1.0.0" arrify@^1.0.1: @@ -1187,15 +1256,20 @@ async-exit-hook@^2.0.1: resolved "https://registry.yarnpkg.com/async-exit-hook/-/async-exit-hook-2.0.1.tgz#8bd8b024b0ec9b1c01cccb9af9db29bd717dfaf3" integrity sha512-NW2cX8m1Q7KPA7a5M2ULQeZ2wR5qI5PAbw5L0UOMxdioVk9PMZ0h1TmyZEkPYrCvYjDlFICusOu1dlEKAAeXBw== -babel-jest@^28.1.2: - version "28.1.2" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-28.1.2.tgz#2b37fb81439f14d34d8b2cc4a4bd7efabf9acbfe" - integrity sha512-pfmoo6sh4L/+5/G2OOfQrGJgvH7fTa1oChnuYH2G/6gA+JwDvO8PELwvwnofKBMNrQsam0Wy/Rw+QSrBNewq2Q== +available-typed-arrays@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" + integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== + +babel-jest@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-28.1.3.tgz#c1187258197c099072156a0a121c11ee1e3917d5" + integrity sha512-epUaPOEWMk3cWX0M/sPvCHHCe9fMFAa/9hXEgKP8nFfNl/jlGkE9ucq9NqkZGXLDduCJYS0UvSlPUwC0S+rH6Q== dependencies: - "@jest/transform" "^28.1.2" + "@jest/transform" "^28.1.3" "@types/babel__core" "^7.1.14" babel-plugin-istanbul "^6.1.1" - babel-preset-jest "^28.1.1" + babel-preset-jest "^28.1.3" chalk "^4.0.0" graceful-fs "^4.2.9" slash "^3.0.0" @@ -1211,10 +1285,10 @@ babel-plugin-istanbul@^6.1.1: istanbul-lib-instrument "^5.0.4" test-exclude "^6.0.0" -babel-plugin-jest-hoist@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-28.1.1.tgz#5e055cdcc47894f28341f87f5e35aad2df680b11" - integrity sha512-NovGCy5Hn25uMJSAU8FaHqzs13cFoOI4lhIujiepssjCKRsAo3TA734RDWSGxuFTsUJXerYOqQQodlxgmtqbzw== +babel-plugin-jest-hoist@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-28.1.3.tgz#1952c4d0ea50f2d6d794353762278d1d8cca3fbe" + integrity sha512-Ys3tUKAmfnkRUpPdpa98eYrAR0nV+sSFUZZEGuQ2EbFd1y4SOLtD5QDNHAq+bb9a+bbXvYQC4b+ID/THIMcU6Q== dependencies: "@babel/template" "^7.3.3" "@babel/types" "^7.3.3" @@ -1239,12 +1313,12 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-28.1.1.tgz#5b6e5e69f963eb2d70f739c607b8f723c0ee75e4" - integrity sha512-FCq9Oud0ReTeWtcneYf/48981aTfXYuB9gbU4rBNNJVBSQ6ssv7E6v/qvbBxtOWwZFXjLZwpg+W3q7J6vhH25g== +babel-preset-jest@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-28.1.3.tgz#5dfc20b99abed5db994406c2b9ab94c73aaa419d" + integrity sha512-L+fupJvlWAHbQfn74coNX3zf60LXMJsezNvvx8eIh7iOR1luJ1poxYgQk1F8PYtNq/6QODDHCqsSnTFSWC491A== dependencies: - babel-plugin-jest-hoist "^28.1.1" + babel-plugin-jest-hoist "^28.1.3" babel-preset-current-node-syntax "^1.0.0" babel-runtime@^6.0.0: @@ -1301,15 +1375,15 @@ braces@^3.0.2: dependencies: fill-range "^7.0.1" -browserslist@^4.20.2: - version "4.21.1" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.1.tgz#c9b9b0a54c7607e8dc3e01a0d311727188011a00" - integrity sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ== +browserslist@^4.21.3: + version "4.21.4" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" + integrity sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw== dependencies: - caniuse-lite "^1.0.30001359" - electron-to-chromium "^1.4.172" - node-releases "^2.0.5" - update-browserslist-db "^1.0.4" + caniuse-lite "^1.0.30001400" + electron-to-chromium "^1.4.251" + node-releases "^2.0.6" + update-browserslist-db "^1.0.9" bs-logger@0.x: version "0.2.6" @@ -1401,10 +1475,10 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001359: - version "1.0.30001361" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001361.tgz#ba2adb2527566fb96f3ac7c67698ae7fc495a28d" - integrity sha512-ybhCrjNtkFji1/Wto6SSJKkWk6kZgVQsDq5QI83SafsF6FXv2JB4df9eEdH6g8sdGgqTXrFLjAxqBGgYoU3azQ== +caniuse-lite@^1.0.30001400: + version "1.0.30001442" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001442.tgz#40337f1cf3be7c637b061e2f78582dc1daec0614" + integrity sha512-239m03Pqy0hwxYPYR5JwOIxRJfLTWtle9FV8zosfV5pHg+/51uD4nxcUlM8+mWWGfwKtt8lJNHnD3cWw9VZ6ow== chalk@^1.0.0, chalk@^1.1.3: version "1.1.3" @@ -1450,9 +1524,9 @@ ci-info@^2.0.0: integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== ci-info@^3.2.0: - version "3.3.2" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.2.tgz#6d2967ffa407466481c6c90b6e16b3098f080128" - integrity sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg== + version "3.7.1" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.7.1.tgz#708a6cdae38915d597afdf3b145f2f8e1ff55f3f" + integrity sha512-4jYS4MOAaCIStSRwiuxc4B8MYhIe676yO1sYGzARnjXkWpmzZMMYxY6zu8WYWDhSuth5zhrQ1rhNSibyyvv4/w== cjs-module-lexer@^1.0.0: version "1.2.2" @@ -1510,10 +1584,19 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" +cliui@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" + integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.1" + wrap-ansi "^7.0.0" + clone-response@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b" - integrity sha512-yjLXh88P599UOyPTFX0POsd7WxnbsVsGohcwzHOLspIhhpalPw1BcqED8NblyZLKcGrL8dTgMlcaZxV2jAD41Q== + version "1.0.3" + resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" + integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== dependencies: mimic-response "^1.0.0" @@ -1561,14 +1644,6 @@ commander@^2.0.0: resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -compress-brotli@^1.3.8: - version "1.3.8" - resolved "https://registry.yarnpkg.com/compress-brotli/-/compress-brotli-1.3.8.tgz#0c0a60c97a989145314ec381e84e26682e7b38db" - integrity sha512-lVcQsjhxhIXsuupfy9fmZUFtAIdBmXA7EGY6GBdgZ++qkM9zG4YFT8iU7FoBxzryNDMOpD1HIFHUSX4D87oqhQ== - dependencies: - "@types/json-buffer" "~3.0.0" - json-buffer "~3.0.1" - concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -1587,11 +1662,9 @@ configstore@^5.0.1: xdg-basedir "^4.0.0" convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" - integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== - dependencies: - safe-buffer "~5.1.1" + version "1.9.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== core-js@^2.4.0: version "2.6.12" @@ -1599,9 +1672,9 @@ core-js@^2.4.0: integrity sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ== cosmiconfig@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" - integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + version "7.1.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" + integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== dependencies: "@types/parse-json" "^4.0.0" import-fresh "^3.2.1" @@ -1609,6 +1682,11 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" +create-require@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" + integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== + cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -1650,9 +1728,9 @@ debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.4: ms "2.1.2" decamelize-keys@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.0.tgz#d171a87933252807eb3cb61dc1c1445d078df2d9" - integrity sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg== + version "1.1.1" + resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.1.tgz#04a2d523b2f18d80d0158a43b895d56dff8d19d8" + integrity sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg== dependencies: decamelize "^1.1.0" map-obj "^1.0.0" @@ -1738,6 +1816,11 @@ diff-sequences@^28.1.1: resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-28.1.1.tgz#9989dc731266dc2903457a70e996f3a041913ac6" integrity sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw== +diff@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" + integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -1784,14 +1867,14 @@ dotfile-regex@^0.1.2: integrity sha512-/aYlowqO6BnhSQC+snSjl7pdlDRngDVx69cr03Wv3oTJM4k+9L453pPsMeGRKwm0HmwNG+TncX2OZenSIF14iw== duplexer3@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" - integrity sha512-CEj8FwwNA4cVH2uFCoHUrmojhYh1vmCdOaneKJXwkeY1i9jnlslVo9dx+hQ5Hl9GnH/Bwy/IjxAyOePyPKYnzA== + version "0.1.5" + resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.5.tgz#0b5e4d7bad5de8901ea4440624c8e1d20099217e" + integrity sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA== -electron-to-chromium@^1.4.172: - version "1.4.173" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.173.tgz#48f128dda49cd7f6317e65ac0085bd3a6b9b6e3b" - integrity sha512-Qo3LnVW6JRNhD32viSdPebxKI7K+3WeBDjU1+Q2yZS83zAh8C2LyPpzTimlciv6U74KpY9n/0ESAhUByRke0jw== +electron-to-chromium@^1.4.251: + version "1.4.284" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz#61046d1e4cab3a25238f6bf7413795270f125592" + integrity sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA== elegant-spinner@^1.0.1: version "1.0.1" @@ -1829,34 +1912,52 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.19.2, es-abstract@^1.19.5: - version "1.20.1" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.20.1.tgz#027292cd6ef44bd12b1913b828116f54787d1814" - integrity sha512-WEm2oBhfoI2sImeM4OF2zE2V3BYdSF+KnSi9Sidz51fQHd7+JuF8Xgcj9/0o+OWeIeIS/MiuNnlruQrJf16GQA== +es-abstract@^1.19.0, es-abstract@^1.20.4: + version "1.21.0" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.0.tgz#dd1b69ea5bfc3c27199c9753efd4de015102c252" + integrity sha512-GUGtW7eXQay0c+PRq0sGIKSdaBorfVqsCMhGHo4elP7YVqZu9nCZS4UkK4gv71gOWNMra/PaSKD3ao1oWExO0g== dependencies: call-bind "^1.0.2" + es-set-tostringtag "^2.0.0" es-to-primitive "^1.2.1" function-bind "^1.1.1" function.prototype.name "^1.1.5" - get-intrinsic "^1.1.1" + get-intrinsic "^1.1.3" get-symbol-description "^1.0.0" + globalthis "^1.0.3" + gopd "^1.0.1" has "^1.0.3" has-property-descriptors "^1.0.0" + has-proto "^1.0.1" has-symbols "^1.0.3" - internal-slot "^1.0.3" - is-callable "^1.2.4" + internal-slot "^1.0.4" + is-array-buffer "^3.0.0" + is-callable "^1.2.7" is-negative-zero "^2.0.2" is-regex "^1.1.4" is-shared-array-buffer "^1.0.2" is-string "^1.0.7" + is-typed-array "^1.1.10" is-weakref "^1.0.2" - object-inspect "^1.12.0" + object-inspect "^1.12.2" object-keys "^1.1.1" - object.assign "^4.1.2" + object.assign "^4.1.4" regexp.prototype.flags "^1.4.3" - string.prototype.trimend "^1.0.5" - string.prototype.trimstart "^1.0.5" + safe-regex-test "^1.0.0" + string.prototype.trimend "^1.0.6" + string.prototype.trimstart "^1.0.6" + typed-array-length "^1.0.4" unbox-primitive "^1.0.2" + which-typed-array "^1.1.9" + +es-set-tostringtag@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8" + integrity sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg== + dependencies: + get-intrinsic "^1.1.3" + has "^1.0.3" + has-tostringtag "^1.0.0" es-shim-unscopables@^1.0.0: version "1.0.0" @@ -1960,12 +2061,11 @@ eslint-import-resolver-node@^0.3.6: resolve "^1.20.0" eslint-module-utils@^2.7.3: - version "2.7.3" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.3.tgz#ad7e3a10552fdd0642e1e55292781bd6e34876ee" - integrity sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ== + version "2.7.4" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz#4f3e41116aaf13a20792261e61d3a2e7e0583974" + integrity sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA== dependencies: debug "^3.2.7" - find-up "^2.1.0" eslint-plugin-es@^3.0.0: version "3.0.1" @@ -2169,16 +2269,16 @@ exit@^0.1.2: resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== -expect@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/expect/-/expect-28.1.1.tgz#ca6fff65f6517cf7220c2e805a49c19aea30b420" - integrity sha512-/AANEwGL0tWBwzLNOvO0yUdy2D52jVdNXppOqswC49sxMN2cPWsGCQdzuIf9tj6hHoBQzNvx75JUYuQAckPo3w== +expect@^28.0.0, expect@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/expect/-/expect-28.1.3.tgz#90a7c1a124f1824133dd4533cce2d2bdcb6603ec" + integrity sha512-eEh0xn8HlsuOBxFgIss+2mX85VAS4Qy3OSkjV7rlBWljtA4oWH37glVGyOZSZvErDT/yBywZdPGwCXuTvSG85g== dependencies: - "@jest/expect-utils" "^28.1.1" + "@jest/expect-utils" "^28.1.3" jest-get-type "^28.0.2" - jest-matcher-utils "^28.1.1" - jest-message-util "^28.1.1" - jest-util "^28.1.1" + jest-matcher-utils "^28.1.3" + jest-message-util "^28.1.3" + jest-util "^28.1.3" external-editor@^3.0.3: version "3.1.0" @@ -2200,9 +2300,9 @@ fast-diff@^1.1.2: integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== fast-glob@^3.2.9: - version "3.2.11" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" - integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== + version "3.2.12" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" + integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -2221,16 +2321,16 @@ fast-levenshtein@^2.0.6: integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== fastq@^1.6.0: - version "1.13.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" - integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== + version "1.15.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a" + integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw== dependencies: reusify "^1.0.4" fb-watchman@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85" - integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg== + version "2.0.2" + resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" + integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== dependencies: bser "2.1.1" @@ -2270,13 +2370,6 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" -find-up@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ== - dependencies: - locate-path "^2.0.0" - find-up@^4.0.0, find-up@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" @@ -2302,24 +2395,31 @@ flat-cache@^3.0.4: rimraf "^3.0.2" flatted@^3.1.0: - version "3.2.6" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.6.tgz#022e9218c637f9f3fc9c35ab9c9193f05add60b2" - integrity sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ== + version "3.2.7" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" + integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== -flow-parser@^0.181.1: - version "0.181.1" - resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.181.1.tgz#bb6bd5afbc8399a690570dd47083d27dabe31c3e" - integrity sha512-+Mx87/GkmF5+FHk8IXc5WppD/oC4wB+05MuIv7qmIMgThND3RhOBGl7Npyc2L7NLVenme00ZlwEKVieiMz4bqA== +flow-parser@^0.196.3: + version "0.196.3" + resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.196.3.tgz#dd923f29a6c194770a4f999f8026ef1da79d428b" + integrity sha512-R8wj12eHW6og+IBWeRS6aihkdac1Prh4zw1bfxtt/aeu8r5OFmQEZjnmINcjO/5Q+OKvI4Eg367ygz2SHvtH+w== flow-remove-types@^2.111.3: - version "2.181.1" - resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.181.1.tgz#68d07431a1b24b07ed50ce3f43182305e1144276" - integrity sha512-drARygLnZmM/d5a1CQZ1oilwv8xKvDBwAR5ZlV0WNgH/twlD+vVU0JVvsMC0N5iQp4JzHTtLrkra8dCtrsjLzg== + version "2.196.3" + resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.196.3.tgz#665ef6e80bfb656c2e170a848ccb252bbcd248b0" + integrity sha512-tunXyUd/jttmYafqPNV0S6+wAIhGbqNhDQHX4UFoJ7Wbwqq6utFQUcAgbn5aHz9RxA5pPI2L3f4R2I6OE8wy2A== dependencies: - flow-parser "^0.181.1" + flow-parser "^0.196.3" pirates "^3.0.2" vlq "^0.2.1" +for-each@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" + integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== + dependencies: + is-callable "^1.1.3" + fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -2365,10 +2465,10 @@ get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.2.tgz#336975123e05ad0b7ba41f152ee4aadbea6cf598" - integrity sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA== +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385" + integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A== dependencies: function-bind "^1.1.1" has "^1.0.3" @@ -2438,9 +2538,9 @@ global-dirs@^2.0.1: ini "1.3.7" global-dirs@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-3.0.0.tgz#70a76fe84ea315ab37b1f5576cbde7d48ef72686" - integrity sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA== + version "3.0.1" + resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-3.0.1.tgz#0c488971f066baceda21447aecb1a8b911d22485" + integrity sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA== dependencies: ini "2.0.0" @@ -2450,12 +2550,19 @@ globals@^11.1.0: integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== globals@^13.6.0, globals@^13.9.0: - version "13.15.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.15.0.tgz#38113218c907d2f7e98658af246cef8b77e90bac" - integrity sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog== + version "13.19.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.19.0.tgz#7a42de8e6ad4f7242fbcca27ea5b23aca367b5c8" + integrity sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ== dependencies: type-fest "^0.20.2" +globalthis@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + globby@^11.0.1, globby@^11.1.0: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" @@ -2468,6 +2575,13 @@ globby@^11.0.1, globby@^11.1.0: merge2 "^1.4.1" slash "^3.0.0" +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + got@^10.6.0: version "10.7.0" resolved "https://registry.yarnpkg.com/got/-/got-10.7.0.tgz#62889dbcd6cca32cd6a154cc2d0c6895121d091f" @@ -2545,7 +2659,12 @@ has-property-descriptors@^1.0.0: dependencies: get-intrinsic "^1.1.1" -has-symbols@^1.0.1, has-symbols@^1.0.2, has-symbols@^1.0.3: +has-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" + integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== + +has-symbols@^1.0.2, has-symbols@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== @@ -2623,9 +2742,9 @@ ignore@^4.0.6: integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== ignore@^5.1.1, ignore@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" - integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== + version "5.2.4" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" + integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0" @@ -2738,15 +2857,24 @@ inquirer@^7.0.0, inquirer@^7.3.3: strip-ansi "^6.0.0" through "^2.3.6" -internal-slot@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" - integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== +internal-slot@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.4.tgz#8551e7baf74a7a6ba5f749cfb16aa60722f0d6f3" + integrity sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ== dependencies: - get-intrinsic "^1.1.0" + get-intrinsic "^1.1.3" has "^1.0.3" side-channel "^1.0.4" +is-array-buffer@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.1.tgz#deb1db4fcae48308d54ef2442706c0393997052a" + integrity sha512-ASfLknmY8Xa2XtB4wmbz13Wu202baeA18cJBCeCy0wXUHZF0IPyVEXqKEcd+t2fNSLLL1vC6k7lxZEojNbISXQ== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.3" + is-typed-array "^1.1.10" + is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" @@ -2767,10 +2895,10 @@ is-boolean-object@^1.1.0: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-callable@^1.1.4, is-callable@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" - integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== +is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" + integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== is-ci@^2.0.0: version "2.0.0" @@ -2780,9 +2908,9 @@ is-ci@^2.0.0: ci-info "^2.0.0" is-core-module@^2.5.0, is-core-module@^2.8.1, is-core-module@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.9.0.tgz#e1c34429cd51c6dd9e09e0799e396e27b19a9c69" - integrity sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A== + version "2.11.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== dependencies: has "^1.0.3" @@ -2967,6 +3095,17 @@ is-symbol@^1.0.2, is-symbol@^1.0.3: dependencies: has-symbols "^1.0.2" +is-typed-array@^1.1.10, is-typed-array@^1.1.9: + version "1.1.10" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f" + integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.0" + is-typedarray@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" @@ -3017,9 +3156,9 @@ istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.0.tgz#31d18bdd127f825dd02ea7bfdfd906f8ab840e9f" - integrity sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A== + version "5.2.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" + integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== dependencies: "@babel/core" "^7.12.3" "@babel/parser" "^7.14.7" @@ -3046,101 +3185,101 @@ istanbul-lib-source-maps@^4.0.0: source-map "^0.6.1" istanbul-reports@^3.1.3: - version "3.1.4" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.4.tgz#1b6f068ecbc6c331040aab5741991273e609e40c" - integrity sha512-r1/DshN4KSE7xWEknZLLLLDn5CJybV3nw01VTkp6D5jzLuELlcbudfj/eSQFvrKsJuTVCGnePO7ho82Nw9zzfw== + version "3.1.5" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.5.tgz#cc9a6ab25cb25659810e4785ed9d9fb742578bae" + integrity sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w== dependencies: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -jest-changed-files@^28.0.2: - version "28.0.2" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-28.0.2.tgz#7d7810660a5bd043af9e9cfbe4d58adb05e91531" - integrity sha512-QX9u+5I2s54ZnGoMEjiM2WeBvJR2J7w/8ZUmH2um/WLAuGAYFQcsVXY9+1YL6k0H/AGUdH8pXUAv6erDqEsvIA== +jest-changed-files@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-28.1.3.tgz#d9aeee6792be3686c47cb988a8eaf82ff4238831" + integrity sha512-esaOfUWJXk2nfZt9SPyC8gA1kNfdKLkQWyzsMlqq8msYSlNKfmZxfRgZn4Cd4MGVUF+7v6dBs0d5TOAKa7iIiA== dependencies: execa "^5.0.0" - throat "^6.0.1" + p-limit "^3.1.0" -jest-circus@^28.1.2: - version "28.1.2" - resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-28.1.2.tgz#0d5a5623eccb244efe87d1edc365696e4fcf80ce" - integrity sha512-E2vdPIJG5/69EMpslFhaA46WkcrN74LI5V/cSJ59L7uS8UNoXbzTxmwhpi9XrIL3zqvMt5T0pl5k2l2u2GwBNQ== +jest-circus@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-28.1.3.tgz#d14bd11cf8ee1a03d69902dc47b6bd4634ee00e4" + integrity sha512-cZ+eS5zc79MBwt+IhQhiEp0OeBddpc1n8MBo1nMB8A7oPMKEO+Sre+wHaLJexQUj9Ya/8NOBY0RESUgYjB6fow== dependencies: - "@jest/environment" "^28.1.2" - "@jest/expect" "^28.1.2" - "@jest/test-result" "^28.1.1" - "@jest/types" "^28.1.1" + "@jest/environment" "^28.1.3" + "@jest/expect" "^28.1.3" + "@jest/test-result" "^28.1.3" + "@jest/types" "^28.1.3" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" dedent "^0.7.0" is-generator-fn "^2.0.0" - jest-each "^28.1.1" - jest-matcher-utils "^28.1.1" - jest-message-util "^28.1.1" - jest-runtime "^28.1.2" - jest-snapshot "^28.1.2" - jest-util "^28.1.1" - pretty-format "^28.1.1" + jest-each "^28.1.3" + jest-matcher-utils "^28.1.3" + jest-message-util "^28.1.3" + jest-runtime "^28.1.3" + jest-snapshot "^28.1.3" + jest-util "^28.1.3" + p-limit "^3.1.0" + pretty-format "^28.1.3" slash "^3.0.0" stack-utils "^2.0.3" - throat "^6.0.1" -jest-cli@^28.1.2: - version "28.1.2" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-28.1.2.tgz#b89012e5bad14135e71b1628b85475d3773a1bbc" - integrity sha512-l6eoi5Do/IJUXAFL9qRmDiFpBeEJAnjJb1dcd9i/VWfVWbp3mJhuH50dNtX67Ali4Ecvt4eBkWb4hXhPHkAZTw== +jest-cli@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-28.1.3.tgz#558b33c577d06de55087b8448d373b9f654e46b2" + integrity sha512-roY3kvrv57Azn1yPgdTebPAXvdR2xfezaKKYzVxZ6It/5NCxzJym6tUI5P1zkdWhfUYkxEI9uZWcQdaFLo8mJQ== dependencies: - "@jest/core" "^28.1.2" - "@jest/test-result" "^28.1.1" - "@jest/types" "^28.1.1" + "@jest/core" "^28.1.3" + "@jest/test-result" "^28.1.3" + "@jest/types" "^28.1.3" chalk "^4.0.0" exit "^0.1.2" graceful-fs "^4.2.9" import-local "^3.0.2" - jest-config "^28.1.2" - jest-util "^28.1.1" - jest-validate "^28.1.1" + jest-config "^28.1.3" + jest-util "^28.1.3" + jest-validate "^28.1.3" prompts "^2.0.1" yargs "^17.3.1" -jest-config@^28.1.2: - version "28.1.2" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-28.1.2.tgz#ba00ad30caf62286c86e7c1099e915218a0ac8c6" - integrity sha512-g6EfeRqddVbjPVBVY4JWpUY4IvQoFRIZcv4V36QkqzE0IGhEC/VkugFeBMAeUE7PRgC8KJF0yvJNDeQRbamEVA== +jest-config@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-28.1.3.tgz#e315e1f73df3cac31447eed8b8740a477392ec60" + integrity sha512-MG3INjByJ0J4AsNBm7T3hsuxKQqFIiRo/AUqb1q9LRKI5UU6Aar9JHbr9Ivn1TVwfUD9KirRoM/T6u8XlcQPHQ== dependencies: "@babel/core" "^7.11.6" - "@jest/test-sequencer" "^28.1.1" - "@jest/types" "^28.1.1" - babel-jest "^28.1.2" + "@jest/test-sequencer" "^28.1.3" + "@jest/types" "^28.1.3" + babel-jest "^28.1.3" chalk "^4.0.0" ci-info "^3.2.0" deepmerge "^4.2.2" glob "^7.1.3" graceful-fs "^4.2.9" - jest-circus "^28.1.2" - jest-environment-node "^28.1.2" + jest-circus "^28.1.3" + jest-environment-node "^28.1.3" jest-get-type "^28.0.2" jest-regex-util "^28.0.2" - jest-resolve "^28.1.1" - jest-runner "^28.1.2" - jest-util "^28.1.1" - jest-validate "^28.1.1" + jest-resolve "^28.1.3" + jest-runner "^28.1.3" + jest-util "^28.1.3" + jest-validate "^28.1.3" micromatch "^4.0.4" parse-json "^5.2.0" - pretty-format "^28.1.1" + pretty-format "^28.1.3" slash "^3.0.0" strip-json-comments "^3.1.1" -jest-diff@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-28.1.1.tgz#1a3eedfd81ae79810931c63a1d0f201b9120106c" - integrity sha512-/MUUxeR2fHbqHoMMiffe/Afm+U8U4olFRJ0hiVG2lZatPJcnGxx292ustVu7bULhjV65IYMxRdploAKLbcrsyg== +jest-diff@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-28.1.3.tgz#948a192d86f4e7a64c5264ad4da4877133d8792f" + integrity sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw== dependencies: chalk "^4.0.0" diff-sequences "^28.1.1" jest-get-type "^28.0.2" - pretty-format "^28.1.1" + pretty-format "^28.1.3" jest-docblock@^28.1.1: version "28.1.1" @@ -3149,267 +3288,267 @@ jest-docblock@^28.1.1: dependencies: detect-newline "^3.0.0" -jest-each@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-28.1.1.tgz#ba5238dacf4f31d9fe23ddc2c44c01e7c23885c4" - integrity sha512-A042rqh17ZvEhRceDMi784ppoXR7MWGDEKTXEZXb4svt0eShMZvijGxzKsx+yIjeE8QYmHPrnHiTSQVhN4nqaw== +jest-each@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-28.1.3.tgz#bdd1516edbe2b1f3569cfdad9acd543040028f81" + integrity sha512-arT1z4sg2yABU5uogObVPvSlSMQlDA48owx07BDPAiasW0yYpYHYOo4HHLz9q0BVzDVU4hILFjzJw0So9aCL/g== dependencies: - "@jest/types" "^28.1.1" + "@jest/types" "^28.1.3" chalk "^4.0.0" jest-get-type "^28.0.2" - jest-util "^28.1.1" - pretty-format "^28.1.1" + jest-util "^28.1.3" + pretty-format "^28.1.3" -jest-environment-node@^28.1.2: - version "28.1.2" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-28.1.2.tgz#3e2eb47f6d173b0648d5f7c717cb1c26651d5c8a" - integrity sha512-oYsZz9Qw27XKmOgTtnl0jW7VplJkN2oeof+SwAwKFQacq3CLlG9u4kTGuuLWfvu3J7bVutWlrbEQMOCL/jughw== +jest-environment-node@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-28.1.3.tgz#7e74fe40eb645b9d56c0c4b70ca4357faa349be5" + integrity sha512-ugP6XOhEpjAEhGYvp5Xj989ns5cB1K6ZdjBYuS30umT4CQEETaxSiPcZ/E1kFktX4GkrcM4qu07IIlDYX1gp+A== dependencies: - "@jest/environment" "^28.1.2" - "@jest/fake-timers" "^28.1.2" - "@jest/types" "^28.1.1" + "@jest/environment" "^28.1.3" + "@jest/fake-timers" "^28.1.3" + "@jest/types" "^28.1.3" "@types/node" "*" - jest-mock "^28.1.1" - jest-util "^28.1.1" + jest-mock "^28.1.3" + jest-util "^28.1.3" jest-get-type@^28.0.2: version "28.0.2" resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-28.0.2.tgz#34622e628e4fdcd793d46db8a242227901fcf203" integrity sha512-ioj2w9/DxSYHfOm5lJKCdcAmPJzQXmbM/Url3rhlghrPvT3tt+7a/+oXc9azkKmLvoiXjtV83bEWqi+vs5nlPA== -jest-haste-map@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-28.1.1.tgz#471685f1acd365a9394745bb97c8fc16289adca3" - integrity sha512-ZrRSE2o3Ezh7sb1KmeLEZRZ4mgufbrMwolcFHNRSjKZhpLa8TdooXOOFlSwoUzlbVs1t0l7upVRW2K7RWGHzbQ== +jest-haste-map@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-28.1.3.tgz#abd5451129a38d9841049644f34b034308944e2b" + integrity sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA== dependencies: - "@jest/types" "^28.1.1" + "@jest/types" "^28.1.3" "@types/graceful-fs" "^4.1.3" "@types/node" "*" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.9" jest-regex-util "^28.0.2" - jest-util "^28.1.1" - jest-worker "^28.1.1" + jest-util "^28.1.3" + jest-worker "^28.1.3" micromatch "^4.0.4" walker "^1.0.8" optionalDependencies: fsevents "^2.3.2" -jest-leak-detector@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-28.1.1.tgz#537f37afd610a4b3f4cab15e06baf60484548efb" - integrity sha512-4jvs8V8kLbAaotE+wFR7vfUGf603cwYtFf1/PYEsyX2BAjSzj8hQSVTP6OWzseTl0xL6dyHuKs2JAks7Pfubmw== +jest-leak-detector@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-28.1.3.tgz#a6685d9b074be99e3adee816ce84fd30795e654d" + integrity sha512-WFVJhnQsiKtDEo5lG2mM0v40QWnBM+zMdHHyJs8AWZ7J0QZJS59MsyKeJHWhpBZBH32S48FOVvGyOFT1h0DlqA== dependencies: jest-get-type "^28.0.2" - pretty-format "^28.1.1" + pretty-format "^28.1.3" -jest-matcher-utils@^28.0.0, jest-matcher-utils@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-28.1.1.tgz#a7c4653c2b782ec96796eb3088060720f1e29304" - integrity sha512-NPJPRWrbmR2nAJ+1nmnfcKKzSwgfaciCCrYZzVnNoxVoyusYWIjkBMNvu0RHJe7dNj4hH3uZOPZsQA+xAYWqsw== +jest-matcher-utils@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-28.1.3.tgz#5a77f1c129dd5ba3b4d7fc20728806c78893146e" + integrity sha512-kQeJ7qHemKfbzKoGjHHrRKH6atgxMk8Enkk2iPQ3XwO6oE/KYD8lMYOziCkeSB9G4adPM4nR1DE8Tf5JeWH6Bw== dependencies: chalk "^4.0.0" - jest-diff "^28.1.1" + jest-diff "^28.1.3" jest-get-type "^28.0.2" - pretty-format "^28.1.1" + pretty-format "^28.1.3" -jest-message-util@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-28.1.1.tgz#60aa0b475cfc08c8a9363ed2fb9108514dd9ab89" - integrity sha512-xoDOOT66fLfmTRiqkoLIU7v42mal/SqwDKvfmfiWAdJMSJiU+ozgluO7KbvoAgiwIrrGZsV7viETjc8GNrA/IQ== +jest-message-util@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-28.1.3.tgz#232def7f2e333f1eecc90649b5b94b0055e7c43d" + integrity sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g== dependencies: "@babel/code-frame" "^7.12.13" - "@jest/types" "^28.1.1" + "@jest/types" "^28.1.3" "@types/stack-utils" "^2.0.0" chalk "^4.0.0" graceful-fs "^4.2.9" micromatch "^4.0.4" - pretty-format "^28.1.1" + pretty-format "^28.1.3" slash "^3.0.0" stack-utils "^2.0.3" -jest-mock@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-28.1.1.tgz#37903d269427fa1ef5b2447be874e1c62a39a371" - integrity sha512-bDCb0FjfsmKweAvE09dZT59IMkzgN0fYBH6t5S45NoJfd2DHkS3ySG2K+hucortryhO3fVuXdlxWcbtIuV/Skw== +jest-mock@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-28.1.3.tgz#d4e9b1fc838bea595c77ab73672ebf513ab249da" + integrity sha512-o3J2jr6dMMWYVH4Lh/NKmDXdosrsJgi4AviS8oXLujcjpCMBb1FMsblDnOXKZKfSiHLxYub1eS0IHuRXsio9eA== dependencies: - "@jest/types" "^28.1.1" + "@jest/types" "^28.1.3" "@types/node" "*" jest-pnp-resolver@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c" - integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w== + version "1.2.3" + resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" + integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== jest-regex-util@^28.0.2: version "28.0.2" resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-28.0.2.tgz#afdc377a3b25fb6e80825adcf76c854e5bf47ead" integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw== -jest-resolve-dependencies@^28.1.2: - version "28.1.2" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-28.1.2.tgz#ca528858e0c6642d5a1dda8fc7cda10230c275bc" - integrity sha512-OXw4vbOZuyRTBi3tapWBqdyodU+T33ww5cPZORuTWkg+Y8lmsxQlVu3MWtJh6NMlKRTHQetF96yGPv01Ye7Mbg== +jest-resolve-dependencies@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-28.1.3.tgz#8c65d7583460df7275c6ea2791901fa975c1fe66" + integrity sha512-qa0QO2Q0XzQoNPouMbCc7Bvtsem8eQgVPNkwn9LnS+R2n8DaVDPL/U1gngC0LTl1RYXJU0uJa2BMC2DbTfFrHA== dependencies: jest-regex-util "^28.0.2" - jest-snapshot "^28.1.2" + jest-snapshot "^28.1.3" -jest-resolve@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-28.1.1.tgz#bc2eaf384abdcc1aaf3ba7c50d1adf01e59095e5" - integrity sha512-/d1UbyUkf9nvsgdBildLe6LAD4DalgkgZcKd0nZ8XUGPyA/7fsnaQIlKVnDiuUXv/IeZhPEDrRJubVSulxrShA== +jest-resolve@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-28.1.3.tgz#cfb36100341ddbb061ec781426b3c31eb51aa0a8" + integrity sha512-Z1W3tTjE6QaNI90qo/BJpfnvpxtaFTFw5CDgwpyE/Kz8U/06N1Hjf4ia9quUhCh39qIGWF1ZuxFiBiJQwSEYKQ== dependencies: chalk "^4.0.0" graceful-fs "^4.2.9" - jest-haste-map "^28.1.1" + jest-haste-map "^28.1.3" jest-pnp-resolver "^1.2.2" - jest-util "^28.1.1" - jest-validate "^28.1.1" + jest-util "^28.1.3" + jest-validate "^28.1.3" resolve "^1.20.0" resolve.exports "^1.1.0" slash "^3.0.0" -jest-runner@^28.1.2: - version "28.1.2" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-28.1.2.tgz#f293409592a62234285a71237e38499a3554e350" - integrity sha512-6/k3DlAsAEr5VcptCMdhtRhOoYClZQmxnVMZvZ/quvPGRpN7OBQYPIC32tWSgOnbgqLXNs5RAniC+nkdFZpD4A== - dependencies: - "@jest/console" "^28.1.1" - "@jest/environment" "^28.1.2" - "@jest/test-result" "^28.1.1" - "@jest/transform" "^28.1.2" - "@jest/types" "^28.1.1" +jest-runner@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-28.1.3.tgz#5eee25febd730b4713a2cdfd76bdd5557840f9a1" + integrity sha512-GkMw4D/0USd62OVO0oEgjn23TM+YJa2U2Wu5zz9xsQB1MxWKDOlrnykPxnMsN0tnJllfLPinHTka61u0QhaxBA== + dependencies: + "@jest/console" "^28.1.3" + "@jest/environment" "^28.1.3" + "@jest/test-result" "^28.1.3" + "@jest/transform" "^28.1.3" + "@jest/types" "^28.1.3" "@types/node" "*" chalk "^4.0.0" emittery "^0.10.2" graceful-fs "^4.2.9" jest-docblock "^28.1.1" - jest-environment-node "^28.1.2" - jest-haste-map "^28.1.1" - jest-leak-detector "^28.1.1" - jest-message-util "^28.1.1" - jest-resolve "^28.1.1" - jest-runtime "^28.1.2" - jest-util "^28.1.1" - jest-watcher "^28.1.1" - jest-worker "^28.1.1" + jest-environment-node "^28.1.3" + jest-haste-map "^28.1.3" + jest-leak-detector "^28.1.3" + jest-message-util "^28.1.3" + jest-resolve "^28.1.3" + jest-runtime "^28.1.3" + jest-util "^28.1.3" + jest-watcher "^28.1.3" + jest-worker "^28.1.3" + p-limit "^3.1.0" source-map-support "0.5.13" - throat "^6.0.1" -jest-runtime@^28.1.2: - version "28.1.2" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-28.1.2.tgz#d68f34f814a848555a345ceda23289f14d59a688" - integrity sha512-i4w93OsWzLOeMXSi9epmakb2+3z0AchZtUQVF1hesBmcQQy4vtaql5YdVe9KexdJaVRyPDw8DoBR0j3lYsZVYw== +jest-runtime@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-28.1.3.tgz#a57643458235aa53e8ec7821949e728960d0605f" + integrity sha512-NU+881ScBQQLc1JHG5eJGU7Ui3kLKrmwCPPtYsJtBykixrM2OhVQlpMmFWJjMyDfdkGgBMNjXCGB/ebzsgNGQw== dependencies: - "@jest/environment" "^28.1.2" - "@jest/fake-timers" "^28.1.2" - "@jest/globals" "^28.1.2" + "@jest/environment" "^28.1.3" + "@jest/fake-timers" "^28.1.3" + "@jest/globals" "^28.1.3" "@jest/source-map" "^28.1.2" - "@jest/test-result" "^28.1.1" - "@jest/transform" "^28.1.2" - "@jest/types" "^28.1.1" + "@jest/test-result" "^28.1.3" + "@jest/transform" "^28.1.3" + "@jest/types" "^28.1.3" chalk "^4.0.0" cjs-module-lexer "^1.0.0" collect-v8-coverage "^1.0.0" execa "^5.0.0" glob "^7.1.3" graceful-fs "^4.2.9" - jest-haste-map "^28.1.1" - jest-message-util "^28.1.1" - jest-mock "^28.1.1" + jest-haste-map "^28.1.3" + jest-message-util "^28.1.3" + jest-mock "^28.1.3" jest-regex-util "^28.0.2" - jest-resolve "^28.1.1" - jest-snapshot "^28.1.2" - jest-util "^28.1.1" + jest-resolve "^28.1.3" + jest-snapshot "^28.1.3" + jest-util "^28.1.3" slash "^3.0.0" strip-bom "^4.0.0" -jest-snapshot@^28.1.2: - version "28.1.2" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-28.1.2.tgz#93d31b87b11b384f5946fe0767541496135f8d52" - integrity sha512-wzrieFttZYfLvrCVRJxX+jwML2YTArOUqFpCoSVy1QUapx+LlV9uLbV/mMEhYj4t7aMeE9aSQFHSvV/oNoDAMA== +jest-snapshot@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-28.1.3.tgz#17467b3ab8ddb81e2f605db05583d69388fc0668" + integrity sha512-4lzMgtiNlc3DU/8lZfmqxN3AYD6GGLbl+72rdBpXvcV+whX7mDrREzkPdp2RnmfIiWBg1YbuFSkXduF2JcafJg== dependencies: "@babel/core" "^7.11.6" "@babel/generator" "^7.7.2" "@babel/plugin-syntax-typescript" "^7.7.2" "@babel/traverse" "^7.7.2" "@babel/types" "^7.3.3" - "@jest/expect-utils" "^28.1.1" - "@jest/transform" "^28.1.2" - "@jest/types" "^28.1.1" + "@jest/expect-utils" "^28.1.3" + "@jest/transform" "^28.1.3" + "@jest/types" "^28.1.3" "@types/babel__traverse" "^7.0.6" "@types/prettier" "^2.1.5" babel-preset-current-node-syntax "^1.0.0" chalk "^4.0.0" - expect "^28.1.1" + expect "^28.1.3" graceful-fs "^4.2.9" - jest-diff "^28.1.1" + jest-diff "^28.1.3" jest-get-type "^28.0.2" - jest-haste-map "^28.1.1" - jest-matcher-utils "^28.1.1" - jest-message-util "^28.1.1" - jest-util "^28.1.1" + jest-haste-map "^28.1.3" + jest-matcher-utils "^28.1.3" + jest-message-util "^28.1.3" + jest-util "^28.1.3" natural-compare "^1.4.0" - pretty-format "^28.1.1" + pretty-format "^28.1.3" semver "^7.3.5" -jest-util@^28.0.0, jest-util@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-28.1.1.tgz#ff39e436a1aca397c0ab998db5a51ae2b7080d05" - integrity sha512-FktOu7ca1DZSyhPAxgxB6hfh2+9zMoJ7aEQA759Z6p45NuO8mWcqujH+UdHlCm/V6JTWwDztM2ITCzU1ijJAfw== +jest-util@^28.0.0, jest-util@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-28.1.3.tgz#f4f932aa0074f0679943220ff9cbba7e497028b0" + integrity sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ== dependencies: - "@jest/types" "^28.1.1" + "@jest/types" "^28.1.3" "@types/node" "*" chalk "^4.0.0" ci-info "^3.2.0" graceful-fs "^4.2.9" picomatch "^2.2.3" -jest-validate@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-28.1.1.tgz#59b7b339b3c85b5144bd0c06ad3600f503a4acc8" - integrity sha512-Kpf6gcClqFCIZ4ti5++XemYJWUPCFUW+N2gknn+KgnDf549iLul3cBuKVe1YcWRlaF8tZV8eJCap0eECOEE3Ug== +jest-validate@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-28.1.3.tgz#e322267fd5e7c64cea4629612c357bbda96229df" + integrity sha512-SZbOGBWEsaTxBGCOpsRWlXlvNkvTkY0XxRfh7zYmvd8uL5Qzyg0CHAXiXKROflh801quA6+/DsT4ODDthOC/OA== dependencies: - "@jest/types" "^28.1.1" + "@jest/types" "^28.1.3" camelcase "^6.2.0" chalk "^4.0.0" jest-get-type "^28.0.2" leven "^3.1.0" - pretty-format "^28.1.1" + pretty-format "^28.1.3" -jest-watcher@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-28.1.1.tgz#533597fb3bfefd52b5cd115cd916cffd237fb60c" - integrity sha512-RQIpeZ8EIJMxbQrXpJQYIIlubBnB9imEHsxxE41f54ZwcqWLysL/A0ZcdMirf+XsMn3xfphVQVV4EW0/p7i7Ug== +jest-watcher@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-28.1.3.tgz#c6023a59ba2255e3b4c57179fc94164b3e73abd4" + integrity sha512-t4qcqj9hze+jviFPUN3YAtAEeFnr/azITXQEMARf5cMwKY2SMBRnCQTXLixTl20OR6mLh9KLMrgVJgJISym+1g== dependencies: - "@jest/test-result" "^28.1.1" - "@jest/types" "^28.1.1" + "@jest/test-result" "^28.1.3" + "@jest/types" "^28.1.3" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" emittery "^0.10.2" - jest-util "^28.1.1" + jest-util "^28.1.3" string-length "^4.0.1" -jest-worker@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-28.1.1.tgz#3480c73247171dfd01eda77200f0063ab6a3bf28" - integrity sha512-Au7slXB08C6h+xbJPp7VIb6U0XX5Kc9uel/WFc6/rcTzGiaVCBRngBExSYuXSLFPULPSYU3cJ3ybS988lNFQhQ== +jest-worker@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-28.1.3.tgz#7e3c4ce3fa23d1bb6accb169e7f396f98ed4bb98" + integrity sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g== dependencies: "@types/node" "*" merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^28.1.2: - version "28.1.2" - resolved "https://registry.yarnpkg.com/jest/-/jest-28.1.2.tgz#451ff24081ce31ca00b07b60c61add13aa96f8eb" - integrity sha512-Tuf05DwLeCh2cfWCQbcz9UxldoDyiR1E9Igaei5khjonKncYdc6LDfynKCEWozK0oLE3GD+xKAo2u8x/0s6GOg== +jest@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest/-/jest-28.1.3.tgz#e9c6a7eecdebe3548ca2b18894a50f45b36dfc6b" + integrity sha512-N4GT5on8UkZgH0O5LUavMRV1EDEhNTL0KEfRmDIeZHSV7p2XgLoY9t9VDUgL6o+yfdgYHVxuz81G8oB9VG5uyA== dependencies: - "@jest/core" "^28.1.2" - "@jest/types" "^28.1.1" + "@jest/core" "^28.1.3" + "@jest/types" "^28.1.3" import-local "^3.0.2" - jest-cli "^28.1.2" + jest-cli "^28.1.3" js-tokens@^4.0.0: version "4.0.0" @@ -3434,7 +3573,7 @@ json-buffer@3.0.0: resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" integrity sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ== -json-buffer@3.0.1, json-buffer@~3.0.1: +json-buffer@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== @@ -3460,16 +3599,16 @@ json-stable-stringify-without-jsonify@^1.0.1: integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== json5@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" - integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== + version "1.0.2" + resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" + integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== dependencies: minimist "^1.2.0" -json5@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c" - integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== +json5@^2.2.1, json5@^2.2.2: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== keyv@^3.0.0: version "3.1.0" @@ -3479,11 +3618,10 @@ keyv@^3.0.0: json-buffer "3.0.0" keyv@^4.0.0: - version "4.3.2" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.3.2.tgz#e839df676a0c7ee594c8835e7c1c83742558e5c2" - integrity sha512-kn8WmodVBe12lmHpA6W8OY7SNh6wVR+Z+wZESF4iF5FCazaVXGWOtnbnvX0tMQ1bO+/TmOD9LziuYMvrIIs0xw== + version "4.5.2" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.2.tgz#0e310ce73bf7851ec702f2eaf46ec4e3805cce56" + integrity sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g== dependencies: - compress-brotli "^1.3.8" json-buffer "3.0.1" kind-of@^6.0.3: @@ -3575,14 +3713,6 @@ listr@^0.14.3: p-map "^2.0.0" rxjs "^6.3.3" -locate-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - integrity sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA== - dependencies: - p-locate "^2.0.0" - path-exists "^3.0.0" - locate-path@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" @@ -3661,6 +3791,13 @@ lowercase-keys@^2.0.0: resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -3675,7 +3812,7 @@ make-dir@^3.0.0: dependencies: semver "^6.0.0" -make-error@1.x: +make-error@1.x, make-error@^1.1.1: version "1.3.6" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== @@ -3786,9 +3923,9 @@ minimist-options@4.1.0: kind-of "^6.0.3" minimist@^1.2.0, minimist@^1.2.6: - version "1.2.6" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" - integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== + version "1.2.7" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" + integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== ms@2.0.0: version "2.0.0" @@ -3815,6 +3952,11 @@ mute-stream@0.0.8: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== +natural-compare-lite@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" + integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g== + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -3837,10 +3979,10 @@ node-modules-regexp@^1.0.0: resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40" integrity sha512-JMaRS9L4wSRIR+6PTVEikTrq/lMGEZR43a48ETeilY0Q0iMwVnccMFrUM1k+tNzmYuIU0Vh710bCUqHX+/+ctQ== -node-releases@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.5.tgz#280ed5bc3eba0d96ce44897d8aee478bfb3d9666" - integrity sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q== +node-releases@^2.0.6: + version "2.0.8" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.8.tgz#0f349cdc8fcfa39a92ac0be9bc48b7706292b9ae" + integrity sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A== normalize-package-data@^2.5.0: version "2.5.0" @@ -3878,9 +4020,9 @@ normalize-url@^6.0.1: integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== np@^7.6.2: - version "7.6.2" - resolved "https://registry.yarnpkg.com/np/-/np-7.6.2.tgz#02650c024b232cb8c958846c44f672c2f8951b7c" - integrity sha512-gExmKGKixh7ITc4Q+Lv7nfCby0CVKvzri9zN8970oKD8976T4L5dw8QWUtMcXcIjhFF6h5lbvztao/NurDbmxQ== + version "7.6.3" + resolved "https://registry.yarnpkg.com/np/-/np-7.6.3.tgz#da3eeb750fa8d583f658b02a16f1199a11c9e10f" + integrity sha512-GTFNvIhu/cZqzUhil/AlISCiipYeAUVx0JtyjtmumFJvWogSewUSAshFi5MSMc6BOj9C98s8NAFZiqlHb2wQPQ== dependencies: "@samverschueren/stream-to-observable" "^0.3.1" any-observable "^0.5.1" @@ -3954,7 +4096,7 @@ object-assign@^4.1.0: resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== -object-inspect@^1.12.0, object-inspect@^1.9.0: +object-inspect@^1.12.2, object-inspect@^1.9.0: version "1.12.2" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== @@ -3964,24 +4106,24 @@ object-keys@^1.1.1: resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== -object.assign@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940" - integrity sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ== +object.assign@^4.1.4: + version "4.1.4" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" + integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== dependencies: - call-bind "^1.0.0" - define-properties "^1.1.3" - has-symbols "^1.0.1" + call-bind "^1.0.2" + define-properties "^1.1.4" + has-symbols "^1.0.3" object-keys "^1.1.1" object.values@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.5.tgz#959f63e3ce9ef108720333082131e4a459b716ac" - integrity sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg== + version "1.1.6" + resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d" + integrity sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw== dependencies: call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" + define-properties "^1.1.4" + es-abstract "^1.20.4" once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" @@ -4073,13 +4215,6 @@ p-finally@^1.0.0: resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== -p-limit@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" - integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== - dependencies: - p-try "^1.0.0" - p-limit@^2.2.0, p-limit@^2.2.2: version "2.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" @@ -4087,20 +4222,13 @@ p-limit@^2.2.0, p-limit@^2.2.2: dependencies: p-try "^2.0.0" -p-limit@^3.0.2: +p-limit@^3.0.2, p-limit@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== dependencies: yocto-queue "^0.1.0" -p-locate@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg== - dependencies: - p-limit "^1.1.0" - p-locate@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" @@ -4168,11 +4296,6 @@ p-timeout@^4.1.0: resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-4.1.0.tgz#788253c0452ab0ffecf18a62dff94ff1bd09ca0a" integrity sha512-+/wmHtzJuWii1sXn3HCuH/FTwGhrp4tmJTxSKJbfS+vkipci6osxXM5mY0jUiRzWKMTgUT8l7HFbeSwZAynqHw== -p-try@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww== - p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" @@ -4205,11 +4328,6 @@ parse-json@^5.0.0, parse-json@^5.2.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== - path-exists@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" @@ -4289,16 +4407,16 @@ prettier-linter-helpers@^1.0.0: fast-diff "^1.1.2" prettier@^2.7.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" - integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== + version "2.8.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.2.tgz#c4ea1b5b454d7c4b59966db2e06ed7eec5dfd160" + integrity sha512-BtRV9BcncDyI2tsuS19zzhzoxD8Dh8LiCx7j7tHzrkz8GFXAexeWFdi22mjE1d16dftH2qNaytVxqiRTGlMfpw== -pretty-format@^28.0.0, pretty-format@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-28.1.1.tgz#f731530394e0f7fcd95aba6b43c50e02d86b95cb" - integrity sha512-wwJbVTGFHeucr5Jw2bQ9P+VYHyLdAqedFLEkdQUVaBF/eiidDwH5OpilINq4mEfhbCjLnirt6HTTDhv1HaTIQw== +pretty-format@^28.0.0, pretty-format@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-28.1.3.tgz#c9fba8cedf99ce50963a11b27d982a9ae90970d5" + integrity sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q== dependencies: - "@jest/schemas" "^28.0.2" + "@jest/schemas" "^28.1.3" ansi-regex "^5.0.1" ansi-styles "^5.0.0" react-is "^18.0.0" @@ -4470,9 +4588,9 @@ responselike@^1.0.2: lowercase-keys "^1.0.0" responselike@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.0.tgz#26391bcc3174f750f9a79eacc40a12a5c42d7723" - integrity sha512-xH48u3FTB9VsZw7R+vvgaKeLKzT6jOogbQhEe/jewwnZgzPcnyWui2Av6JpoYZF/91uueC+lqhWqeURw5/qhCw== + version "2.0.1" + resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.1.tgz#9a0bc8fdc252f3fb1cca68b016591059ba1422bc" + integrity sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw== dependencies: lowercase-keys "^2.0.0" @@ -4523,10 +4641,14 @@ rxjs@^6.3.3, rxjs@^6.4.0, rxjs@^6.5.3, rxjs@^6.6.0, rxjs@^6.6.3: dependencies: tslib "^1.9.0" -safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== +safe-regex-test@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" + integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.3" + is-regex "^1.1.4" "safer-buffer@>= 2.1.2 < 3": version "2.1.2" @@ -4551,9 +4673,9 @@ semver-diff@^3.1.1: integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== semver@7.x, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: - version "7.3.7" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" - integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== + version "7.3.8" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== dependencies: lru-cache "^6.0.0" @@ -4647,9 +4769,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.11" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz#50c0d8c40a14ec1bf449bae69a0ea4685a9d9f95" - integrity sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g== + version "3.0.12" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz#69077835abe2710b65f03969898b6637b505a779" + integrity sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA== split@^1.0.1: version "1.0.1" @@ -4664,9 +4786,9 @@ sprintf-js@~1.0.2: integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== stack-utils@^2.0.3: - version "2.0.5" - resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.5.tgz#d25265fca995154659dbbfba3b49254778d2fdd5" - integrity sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA== + version "2.0.6" + resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" + integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ== dependencies: escape-string-regexp "^2.0.0" @@ -4704,23 +4826,23 @@ string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2 is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -string.prototype.trimend@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz#914a65baaab25fbdd4ee291ca7dde57e869cb8d0" - integrity sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog== +string.prototype.trimend@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz#c4a27fa026d979d79c04f17397f250a462944533" + integrity sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ== dependencies: call-bind "^1.0.2" define-properties "^1.1.4" - es-abstract "^1.19.5" + es-abstract "^1.20.4" -string.prototype.trimstart@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz#5466d93ba58cfa2134839f81d7f42437e8c01fef" - integrity sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg== +string.prototype.trimstart@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz#e90ab66aa8e4007d92ef591bbf3cd422c56bdcf4" + integrity sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA== dependencies: call-bind "^1.0.2" define-properties "^1.1.4" - es-abstract "^1.19.5" + es-abstract "^1.20.4" strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" @@ -4809,9 +4931,9 @@ supports-color@^8.0.0: has-flag "^4.0.0" supports-hyperlinks@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz#4f77b42488765891774b70c79babd87f9bd594bb" - integrity sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ== + version "2.3.0" + resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" + integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== dependencies: has-flag "^4.0.0" supports-color "^7.0.0" @@ -4832,9 +4954,9 @@ symbol-observable@^3.0.0: integrity sha512-6tDOXSHiVjuCaasQSWTmHUWn4PuG7qa3+1WT031yTc/swT7+rLiw3GOrFxaH1E3lLP09dH3bVuVDf2gK5rxG3Q== table@^6.0.9: - version "6.8.0" - resolved "https://registry.yarnpkg.com/table/-/table-6.8.0.tgz#87e28f14fa4321c3377ba286f07b79b281a3b3ca" - integrity sha512-s/fitrbVeEyHKFa7mFdkuQMWlH1Wgw/yEXMt5xACT4ZpzWFluehAxRtUUQKPuWhaLAWhFcVx6w3oC8VKaUfPGA== + version "6.8.1" + resolved "https://registry.yarnpkg.com/table/-/table-6.8.1.tgz#ea2b71359fe03b017a5fbc296204471158080bdf" + integrity sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA== dependencies: ajv "^8.0.1" lodash.truncate "^4.4.2" @@ -4864,11 +4986,6 @@ text-table@^0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== -throat@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.1.tgz#d514fedad95740c12c2d7fc70ea863eb51ade375" - integrity sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w== - through@2, through@^2.3.6, through@^2.3.8: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" @@ -4913,10 +5030,10 @@ trim-newlines@^3.0.0: resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== -ts-jest@^28.0.5: - version "28.0.5" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-28.0.5.tgz#31776f768fba6dfc8c061d488840ed0c8eeac8b9" - integrity sha512-Sx9FyP9pCY7pUzQpy4FgRZf2bhHY3za576HMKJFs+OnQ9jS96Du5vNsDKkyedQkik+sEabbKAnCliv9BEsHZgQ== +ts-jest@^28.0.8: + version "28.0.8" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-28.0.8.tgz#cd204b8e7a2f78da32cf6c95c9a6165c5b99cc73" + integrity sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg== dependencies: bs-logger "0.x" fast-json-stable-stringify "2.x" @@ -4927,6 +5044,25 @@ ts-jest@^28.0.5: semver "7.x" yargs-parser "^21.0.1" +ts-node@^10.9.1: + version "10.9.1" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" + integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw== + dependencies: + "@cspotcode/source-map-support" "^0.8.0" + "@tsconfig/node10" "^1.0.7" + "@tsconfig/node12" "^1.0.7" + "@tsconfig/node14" "^1.0.0" + "@tsconfig/node16" "^1.0.2" + acorn "^8.4.1" + acorn-walk "^8.1.1" + arg "^4.1.0" + create-require "^1.1.0" + diff "^4.0.1" + make-error "^1.1.1" + v8-compile-cache-lib "^3.0.1" + yn "3.1.1" + tsconfig-paths@^3.14.1: version "3.14.1" resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" @@ -4996,6 +5132,15 @@ type-fest@^0.8.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== +typed-array-length@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb" + integrity sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng== + dependencies: + call-bind "^1.0.2" + for-each "^0.3.3" + is-typed-array "^1.1.9" + typedarray-to-buffer@^3.1.5: version "3.1.5" resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" @@ -5004,9 +5149,9 @@ typedarray-to-buffer@^3.1.5: is-typedarray "^1.0.0" typescript@^4.7.4: - version "4.7.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" - integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== + version "4.9.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78" + integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== typhonjs-ast-walker@^0.2.0: version "0.2.1" @@ -5082,10 +5227,10 @@ unique-string@^2.0.0: dependencies: crypto-random-string "^2.0.0" -update-browserslist-db@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.4.tgz#dbfc5a789caa26b1db8990796c2c8ebbce304824" - integrity sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA== +update-browserslist-db@^1.0.9: + version "1.0.10" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" + integrity sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ== dependencies: escalade "^3.1.1" picocolors "^1.0.0" @@ -5124,6 +5269,11 @@ url-parse-lax@^3.0.0: dependencies: prepend-http "^2.0.0" +v8-compile-cache-lib@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" + integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== + v8-compile-cache@^2.0.3: version "2.3.0" resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" @@ -5181,6 +5331,18 @@ which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" +which-typed-array@^1.1.9: + version "1.1.9" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" + integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.0" + is-typed-array "^1.1.10" + which@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" @@ -5233,9 +5395,9 @@ write-file-atomic@^3.0.0: typedarray-to-buffer "^3.1.5" write-file-atomic@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.1.tgz#9faa33a964c1c85ff6f849b80b42a88c2c537c8f" - integrity sha512-nSKUxgAbyioruk6hU87QzVbY279oYT6uiwgDoujth2ju4mJ+TZau7SQBhtbTmUyuNYTuXnSyRn66FV0+eCgcrQ== + version "4.0.2" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" + integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== dependencies: imurmurhash "^0.1.4" signal-exit "^3.0.7" @@ -5250,6 +5412,11 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + yallist@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" @@ -5265,10 +5432,10 @@ yargs-parser@^20.2.2, yargs-parser@^20.2.3: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== -yargs-parser@^21.0.0, yargs-parser@^21.0.1: - version "21.0.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.0.1.tgz#0267f286c877a4f0f728fceb6f8a3e4cb95c6e35" - integrity sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg== +yargs-parser@^21.0.1, yargs-parser@^21.1.1: + version "21.1.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== yargs@^16.2.0: version "16.2.0" @@ -5284,17 +5451,22 @@ yargs@^16.2.0: yargs-parser "^20.2.2" yargs@^17.3.1: - version "17.5.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.5.1.tgz#e109900cab6fcb7fd44b1d8249166feb0b36e58e" - integrity sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA== + version "17.6.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.2.tgz#2e23f2944e976339a1ee00f18c77fedee8332541" + integrity sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw== dependencies: - cliui "^7.0.2" + cliui "^8.0.1" escalade "^3.1.1" get-caller-file "^2.0.5" require-directory "^2.1.1" string-width "^4.2.3" y18n "^5.0.5" - yargs-parser "^21.0.0" + yargs-parser "^21.1.1" + +yn@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" + integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== yocto-queue@^0.1.0: version "0.1.0"