diff --git a/.gitignore b/.gitignore index 0778cfe..1987c6a 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ # production /build bin +generated # misc .DS_Store diff --git a/.prettierignore b/.prettierignore index 714e576..4dde25e 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,5 +5,4 @@ coverage bin # Types -src/types/ -src/types.ts \ No newline at end of file +src/types/* \ No newline at end of file diff --git a/README.md b/README.md index c6be0bd..9713dfe 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,21 @@ Top 4 files ## Advanced usage +Analyze an entire directory: + +```javascript +const { analyzeProject } = require('codehawk-cli') + +const output = analyzeProject('/path/to/project') // returns a Results object + +// Get summary maintainability scores +const { + average, + median, + worst, +} = output.summary +``` + Analyze a single piece of code: ```javascript @@ -64,18 +79,6 @@ console.log(metrics) // Inspect the full metrics ``` -Analyze an entire directory: - -```javascript -const { analyzeProject } = require('codehawk-cli') - -const output = analyzeProject('/path/to/project') // FullyAnalyzedEntity[] - -// Output contains a tree structure of your directory, -// with all supported files containing a 'complexityReport' -// (see above for example) -``` - ## More information Codehawk depends on `typhonjs-escomplex` for low level complexity metrics. diff --git a/package.json b/package.json index afa002b..24e3c65 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "Static analysis tool for JavaScript projects", "scripts": { "test": "jest --testTimeout 15000", + "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/*.**", "lint:fix": "eslint --fix src/*.**", @@ -25,6 +26,7 @@ "dependencies": { "@babel/core": "^7.7.2", "@babel/plugin-transform-typescript": "^7.7.2", + "badgen": "^3.2.2", "flow-remove-types": "^2.111.3", "is-dotdir": "^1.0.1", "is-dotfile": "^2.0.0", @@ -46,14 +48,18 @@ "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-promise": "4", "eslint-plugin-standard": "4", - "jest": "^26.0.1", + "jest": "^26.6.3", "prettier": "^2.0.5", - "typescript": "^3.9.5" + "typescript": "^4.1.3" }, "bin": { "codehawk": "build/index.js", "codehawk-cli": "build/index.js" }, "main": "build/codehawk.js", - "types": "build/codehawk.d.ts" + "types": "build/codehawk.d.ts", + "engines": { + "npm": "please-use-yarn", + "node": ">=10" + } } diff --git a/samples/react-component-flow/expected.json b/samples/react-component-flow/expected.json index f958fc6..24ee0a9 100644 --- a/samples/react-component-flow/expected.json +++ b/samples/react-component-flow/expected.json @@ -1,86 +1,107 @@ { - "results": [ - { - "type": "file", - "fullPath": "/samples/react-component-flow/Button.css", - "path": "/samples/react-component-flow", - "filename": "Button.css", - "shouldAnalyze": false, - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "type": "file", - "fullPath": "/samples/react-component-flow/Button.jsx", - "path": "/samples/react-component-flow", - "filename": "Button.jsx", - "shouldAnalyze": true, - "complexityReport": { - "aggregate": { - "cyclomatic": 12, - "cyclomaticDensity": 29.268, - "halstead": { - "bugs": 0.331, - "difficulty": 14.957, - "effort": 14872.029, - "length": 167, - "time": 826.224, - "vocabulary": 62, - "volume": 994.351, - "operands": { - "distinct": 46, - "total": 86 - }, - "operators": { - "distinct": 16, - "total": 81 - } - }, - "paramCount": 5, - "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" - } - ], - "errors": [], - "lineEnd": 74, - "lineStart": 1, - "maintainability": 120.805, - "codehawkScore": 53.68354105285161, - "coverage": "0" - }, - "timesDependedOn": 0 - }, - { - "type": "file", - "fullPath": "/samples/react-component-flow/expected.json", - "path": "/samples/react-component-flow", - "filename": "expected.json", - "shouldAnalyze": false, - "complexityReport": null, - "timesDependedOn": 0 - } - ] -} \ No newline at end of file + "summary": { + "average": 53.68354105285161, + "median": 53.68354105285161, + "worst": 53.68354105285161 + }, + "resultsList": [ + { + "fullPath": "/samples/react-component-flow/Button.jsx", + "filename": "Button.jsx", + "shouldAnalyze": true, + "path": "/samples/react-component-flow", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 12, + "cyclomaticDensity": 29.268, + "halstead": { + "bugs": 0.331, + "difficulty": 14.957, + "effort": 14872.029, + "length": 167, + "time": 826.224, + "vocabulary": 62, + "volume": 994.351, + "operands": { "distinct": 46, "total": 86 }, + "operators": { "distinct": 16, "total": 81 } + }, + "paramCount": 5, + "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" } + ], + "errors": [], + "lineEnd": 74, + "lineStart": 1, + "maintainability": 120.805, + "codehawkScore": 53.68354105285161, + "coverage": "0" + }, + "timesDependedOn": 0 + } + ], + "fullResultsTree": [ + { + "fullPath": "/samples/react-component-flow/Button.css", + "filename": "Button.css", + "shouldAnalyze": false, + "path": "/samples/react-component-flow", + "type": "file", + "complexityReport": null, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/react-component-flow/Button.jsx", + "filename": "Button.jsx", + "shouldAnalyze": true, + "path": "/samples/react-component-flow", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 12, + "cyclomaticDensity": 29.268, + "halstead": { + "bugs": 0.331, + "difficulty": 14.957, + "effort": 14872.029, + "length": 167, + "time": 826.224, + "vocabulary": 62, + "volume": 994.351, + "operands": { "distinct": 46, "total": 86 }, + "operators": { "distinct": 16, "total": 81 } + }, + "paramCount": 5, + "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" } + ], + "errors": [], + "lineEnd": 74, + "lineStart": 1, + "maintainability": 120.805, + "codehawkScore": 53.68354105285161, + "coverage": "0" + }, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/react-component-flow/expected.json", + "filename": "expected.json", + "shouldAnalyze": false, + "path": "/samples/react-component-flow", + "type": "file", + "complexityReport": null, + "timesDependedOn": 0 + } + ] +} diff --git a/samples/react-component-typescript/expected.json b/samples/react-component-typescript/expected.json index 2423778..e1446a0 100644 --- a/samples/react-component-typescript/expected.json +++ b/samples/react-component-typescript/expected.json @@ -1,116 +1,162 @@ { - "results": [ - { - "fullPath": "/samples/react-component-typescript/App.tsx", - "filename": "App.tsx", - "shouldAnalyze": true, - "path": "/samples/react-component-typescript", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 2, - "cyclomaticDensity": 66.667, - "halstead": { - "bugs": 0.006, - "difficulty": 3, - "effort": 54.284, - "length": 7, - "time": 3.016, - "vocabulary": 6, - "volume": 18.095, - "operands": { - "distinct": 2, - "total": 3 - }, - "operators": { - "distinct": 4, - "total": 4 - } - }, - "paramCount": 0, - "sloc": { - "logical": 3, - "physical": 11 - } - }, - "dependencies": [ - { - "line": 1, - "path": "react", - "type": "esm" - }, - { - "line": 2, - "path": "./Modal", - "type": "esm" - } - ], - "errors": [], - "lineEnd": 11, - "lineStart": 1, - "maintainability": 153.142, - "codehawkScore": 94.28236886550532, - "coverage": "0" - }, - "timesDependedOn": 0 + "summary": { + "average": 77.48005258780282, + "median": 77.48005258780282, + "worst": 60.67773631010033 + }, + "resultsList": [ + { + "fullPath": "/samples/react-component-typescript/Modal.tsx", + "filename": "Modal.tsx", + "shouldAnalyze": true, + "path": "/samples/react-component-typescript", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 6, + "cyclomaticDensity": 30, + "halstead": { + "bugs": 0.111, + "difficulty": 12.917, + "effort": 4300.346, + "length": 66, + "time": 238.908, + "vocabulary": 33, + "volume": 332.93, + "operands": { "distinct": 18, "total": 31 }, + "operators": { "distinct": 15, "total": 35 } + }, + "paramCount": 2, + "sloc": { "logical": 20, "physical": 34 } }, - { - "fullPath": "/samples/react-component-typescript/expected.json", - "filename": "expected.json", - "shouldAnalyze": false, - "path": "/samples/react-component-typescript", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 + "dependencies": [{ "line": 1, "path": "react", "type": "esm" }], + "errors": [], + "lineEnd": 34, + "lineStart": 1, + "maintainability": 125.251, + "codehawkScore": 60.67773631010033, + "coverage": "0" + }, + "timesDependedOn": 1 + }, + { + "fullPath": "/samples/react-component-typescript/App.tsx", + "filename": "App.tsx", + "shouldAnalyze": true, + "path": "/samples/react-component-typescript", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 2, + "cyclomaticDensity": 66.667, + "halstead": { + "bugs": 0.006, + "difficulty": 3, + "effort": 54.284, + "length": 7, + "time": 3.016, + "vocabulary": 6, + "volume": 18.095, + "operands": { "distinct": 2, "total": 3 }, + "operators": { "distinct": 4, "total": 4 } + }, + "paramCount": 0, + "sloc": { "logical": 3, "physical": 11 } }, - { - "fullPath": "/samples/react-component-typescript/Modal.tsx", - "filename": "Modal.tsx", - "shouldAnalyze": true, - "path": "/samples/react-component-typescript", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 6, - "cyclomaticDensity": 30, - "halstead": { - "bugs": 0.111, - "difficulty": 12.917, - "effort": 4300.346, - "length": 66, - "time": 238.908, - "vocabulary": 33, - "volume": 332.93, - "operands": { - "distinct": 18, - "total": 31 - }, - "operators": { - "distinct": 15, - "total": 35 - } - }, - "paramCount": 2, - "sloc": { - "logical": 20, - "physical": 34 - } - }, - "dependencies": [ - { - "line": 1, - "path": "react", - "type": "esm" - } - ], - "errors": [], - "lineEnd": 34, - "lineStart": 1, - "maintainability": 125.251, - "codehawkScore": 60.67773631010033, - "coverage": "0" - }, - "timesDependedOn": 1 - } - ] -} \ No newline at end of file + "dependencies": [ + { "line": 1, "path": "react", "type": "esm" }, + { "line": 2, "path": "./Modal", "type": "esm" } + ], + "errors": [], + "lineEnd": 11, + "lineStart": 1, + "maintainability": 153.142, + "codehawkScore": 94.28236886550532, + "coverage": "0" + }, + "timesDependedOn": 0 + } + ], + "fullResultsTree": [ + { + "fullPath": "/samples/react-component-typescript/App.tsx", + "filename": "App.tsx", + "shouldAnalyze": true, + "path": "/samples/react-component-typescript", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 2, + "cyclomaticDensity": 66.667, + "halstead": { + "bugs": 0.006, + "difficulty": 3, + "effort": 54.284, + "length": 7, + "time": 3.016, + "vocabulary": 6, + "volume": 18.095, + "operands": { "distinct": 2, "total": 3 }, + "operators": { "distinct": 4, "total": 4 } + }, + "paramCount": 0, + "sloc": { "logical": 3, "physical": 11 } + }, + "dependencies": [ + { "line": 1, "path": "react", "type": "esm" }, + { "line": 2, "path": "./Modal", "type": "esm" } + ], + "errors": [], + "lineEnd": 11, + "lineStart": 1, + "maintainability": 153.142, + "codehawkScore": 94.28236886550532, + "coverage": "0" + }, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/react-component-typescript/expected.json", + "filename": "expected.json", + "shouldAnalyze": false, + "path": "/samples/react-component-typescript", + "type": "file", + "complexityReport": null, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/react-component-typescript/Modal.tsx", + "filename": "Modal.tsx", + "shouldAnalyze": true, + "path": "/samples/react-component-typescript", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 6, + "cyclomaticDensity": 30, + "halstead": { + "bugs": 0.111, + "difficulty": 12.917, + "effort": 4300.346, + "length": 66, + "time": 238.908, + "vocabulary": 33, + "volume": 332.93, + "operands": { "distinct": 18, "total": 31 }, + "operators": { "distinct": 15, "total": 35 } + }, + "paramCount": 2, + "sloc": { "logical": 20, "physical": 34 } + }, + "dependencies": [{ "line": 1, "path": "react", "type": "esm" }], + "errors": [], + "lineEnd": 34, + "lineStart": 1, + "maintainability": 125.251, + "codehawkScore": 60.67773631010033, + "coverage": "0" + }, + "timesDependedOn": 1 + } + ] +} diff --git a/samples/react-component/expected.json b/samples/react-component/expected.json index ea1ab7c..1f55ede 100644 --- a/samples/react-component/expected.json +++ b/samples/react-component/expected.json @@ -1,91 +1,109 @@ { - "results": [ - { - "type": "file", - "fullPath": "/samples/react-component/expected.json", - "path": "/samples/react-component", - "filename": "expected.json", - "shouldAnalyze": false, - "complexityReport": null, - "timesDependedOn": 0 + "summary": { + "average": 43.79279497729058, + "median": 43.79279497729058, + "worst": 43.79279497729058 + }, + "resultsList": [ + { + "fullPath": "/samples/react-component/PopoutMenu.jsx", + "filename": "PopoutMenu.jsx", + "shouldAnalyze": true, + "path": "/samples/react-component", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 36, + "cyclomaticDensity": 26.471, + "halstead": { + "bugs": 1.33, + "difficulty": 38.157, + "effort": 152196.466, + "length": 568, + "time": 8455.359, + "vocabulary": 130, + "volume": 3988.705, + "operands": { "distinct": 102, "total": 278 }, + "operators": { "distinct": 28, "total": 290 } + }, + "paramCount": 12, + "sloc": { "logical": 136, "physical": 170 } }, - { - "type": "file", - "fullPath": "/samples/react-component/PopoutMenu.css", - "path": "/samples/react-component", - "filename": "PopoutMenu.css", - "shouldAnalyze": false, - "complexityReport": null, - "timesDependedOn": 0 + "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" } + ], + "errors": [], + "lineEnd": 170, + "lineStart": 1, + "maintainability": 111.675, + "codehawkScore": 43.79279497729058, + "coverage": "0" + }, + "timesDependedOn": 0 + } + ], + "fullResultsTree": [ + { + "fullPath": "/samples/react-component/expected.json", + "filename": "expected.json", + "shouldAnalyze": false, + "path": "/samples/react-component", + "type": "file", + "complexityReport": null, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/react-component/PopoutMenu.css", + "filename": "PopoutMenu.css", + "shouldAnalyze": false, + "path": "/samples/react-component", + "type": "file", + "complexityReport": null, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/react-component/PopoutMenu.jsx", + "filename": "PopoutMenu.jsx", + "shouldAnalyze": true, + "path": "/samples/react-component", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 36, + "cyclomaticDensity": 26.471, + "halstead": { + "bugs": 1.33, + "difficulty": 38.157, + "effort": 152196.466, + "length": 568, + "time": 8455.359, + "vocabulary": 130, + "volume": 3988.705, + "operands": { "distinct": 102, "total": 278 }, + "operators": { "distinct": 28, "total": 290 } + }, + "paramCount": 12, + "sloc": { "logical": 136, "physical": 170 } }, - { - "type": "file", - "fullPath": "/samples/react-component/PopoutMenu.jsx", - "path": "/samples/react-component", - "filename": "PopoutMenu.jsx", - "shouldAnalyze": true, - "complexityReport": { - "aggregate": { - "cyclomatic": 36, - "cyclomaticDensity": 26.471, - "halstead": { - "bugs": 1.33, - "difficulty": 38.157, - "effort": 152196.466, - "length": 568, - "time": 8455.359, - "vocabulary": 130, - "volume": 3988.705, - "operands": { - "distinct": 102, - "total": 278 - }, - "operators": { - "distinct": 28, - "total": 290 - } - }, - "paramCount": 12, - "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" - } - ], - "errors": [], - "lineEnd": 170, - "lineStart": 1, - "maintainability": 111.675, - "codehawkScore": 43.79279497729058, - "coverage": "0" - }, - "timesDependedOn": 0 - } - ] -} \ No newline at end of file + "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" } + ], + "errors": [], + "lineEnd": 170, + "lineStart": 1, + "maintainability": 111.675, + "codehawkScore": 43.79279497729058, + "coverage": "0" + }, + "timesDependedOn": 0 + } + ] +} diff --git a/samples/simple-class/expected.json b/samples/simple-class/expected.json index 4fd9886..9e919b0 100644 --- a/samples/simple-class/expected.json +++ b/samples/simple-class/expected.json @@ -1,56 +1,88 @@ { - "results": [ - { - "type": "file", - "fullPath": "/samples/simple-class/expected.json", - "path": "/samples/simple-class", - "filename": "expected.json", - "shouldAnalyze": false, - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "type": "file", - "fullPath": "/samples/simple-class/simple-class.js", - "path": "/samples/simple-class", - "filename": "simple-class.js", - "shouldAnalyze": true, - "complexityReport": { - "aggregate": { - "cyclomatic": 19, - "cyclomaticDensity": 45.238, - "halstead": { - "bugs": 0.318, - "difficulty": 21.25, - "effort": 20300.366, - "length": 166, - "time": 1127.798, - "vocabulary": 54, - "volume": 955.311, - "operands": { - "distinct": 36, - "total": 85 - }, - "operators": { - "distinct": 18, - "total": 81 - } - }, - "paramCount": 5, - "sloc": { - "logical": 42, - "physical": 65 - } - }, - "dependencies": [], - "errors": [], - "lineEnd": 65, - "lineStart": 1, - "maintainability": 106.771, - "codehawkScore": 55.998178735563855, - "coverage": "0" - }, - "timesDependedOn": 0 - } - ] -} \ No newline at end of file + "summary": { + "average": 55.998178735563855, + "median": 55.998178735563855, + "worst": 55.998178735563855 + }, + "resultsList": [ + { + "fullPath": "/samples/simple-class/simple-class.js", + "filename": "simple-class.js", + "shouldAnalyze": true, + "path": "/samples/simple-class", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 19, + "cyclomaticDensity": 45.238, + "halstead": { + "bugs": 0.318, + "difficulty": 21.25, + "effort": 20300.366, + "length": 166, + "time": 1127.798, + "vocabulary": 54, + "volume": 955.311, + "operands": { "distinct": 36, "total": 85 }, + "operators": { "distinct": 18, "total": 81 } + }, + "paramCount": 5, + "sloc": { "logical": 42, "physical": 65 } + }, + "dependencies": [], + "errors": [], + "lineEnd": 65, + "lineStart": 1, + "maintainability": 106.771, + "codehawkScore": 55.998178735563855, + "coverage": "0" + }, + "timesDependedOn": 0 + } + ], + "fullResultsTree": [ + { + "fullPath": "/samples/simple-class/expected.json", + "filename": "expected.json", + "shouldAnalyze": false, + "path": "/samples/simple-class", + "type": "file", + "complexityReport": null, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/simple-class/simple-class.js", + "filename": "simple-class.js", + "shouldAnalyze": true, + "path": "/samples/simple-class", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 19, + "cyclomaticDensity": 45.238, + "halstead": { + "bugs": 0.318, + "difficulty": 21.25, + "effort": 20300.366, + "length": 166, + "time": 1127.798, + "vocabulary": 54, + "volume": 955.311, + "operands": { "distinct": 36, "total": 85 }, + "operators": { "distinct": 18, "total": 81 } + }, + "paramCount": 5, + "sloc": { "logical": 42, "physical": 65 } + }, + "dependencies": [], + "errors": [], + "lineEnd": 65, + "lineStart": 1, + "maintainability": 106.771, + "codehawkScore": 55.998178735563855, + "coverage": "0" + }, + "timesDependedOn": 0 + } + ] +} diff --git a/samples/simple-es6-imports/expected.json b/samples/simple-es6-imports/expected.json index 579634a..b2ab161 100644 --- a/samples/simple-es6-imports/expected.json +++ b/samples/simple-es6-imports/expected.json @@ -1,161 +1,238 @@ { - "results": [ - { - "type": "dir", - "fullPath": "/samples/simple-es6-imports/utils", - "filename": "utils", - "files": [ - { - "type": "file", - "fullPath": "/samples/simple-es6-imports/utils/utils.js", - "path": "/samples/simple-es6-imports/utils", - "filename": "utils.js", - "shouldAnalyze": true, - "complexityReport": { - "aggregate": { - "cyclomatic": 7, - "cyclomaticDensity": 36.842, - "halstead": { - "bugs": 0.091, - "difficulty": 12.133, - "effort": 3324.767, - "length": 57, - "time": 184.709, - "vocabulary": 28, - "volume": 274.019, - "operands": { - "distinct": 15, - "total": 28 - }, - "operators": { - "distinct": 13, - "total": 29 - } - }, - "paramCount": 3, - "sloc": { - "logical": 19, - "physical": 23 - } - }, - "dependencies": [], - "errors": [], - "lineEnd": 23, - "lineStart": 1, - "maintainability": 116.274, - "codehawkScore": 65.52769191836538, - "coverage": "0" - }, - "timesDependedOn": 1 - } - ], - "shouldAnalyze": true + "summary": { + "average": 74.98316839015082, + "median": 66.5583293243497, + "worst": 65.52769191836538 + }, + "resultsList": [ + { + "fullPath": "/samples/simple-es6-imports/utils/utils.js", + "filename": "utils.js", + "shouldAnalyze": true, + "path": "/samples/simple-es6-imports/utils", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 7, + "cyclomaticDensity": 36.842, + "halstead": { + "bugs": 0.091, + "difficulty": 12.133, + "effort": 3324.767, + "length": 57, + "time": 184.709, + "vocabulary": 28, + "volume": 274.019, + "operands": { "distinct": 15, "total": 28 }, + "operators": { "distinct": 13, "total": 29 } + }, + "paramCount": 3, + "sloc": { "logical": 19, "physical": 23 } }, - { - "type": "file", - "fullPath": "/samples/simple-es6-imports/expected.json", - "path": "/samples/simple-es6-imports", - "filename": "expected.json", - "shouldAnalyze": false, - "complexityReport": null, - "timesDependedOn": 0 + "dependencies": [], + "errors": [], + "lineEnd": 23, + "lineStart": 1, + "maintainability": 116.274, + "codehawkScore": 65.52769191836538, + "coverage": "0" + }, + "timesDependedOn": 1 + }, + { + "fullPath": "/samples/simple-es6-imports/simple-es6-imports.js", + "filename": "simple-es6-imports.js", + "shouldAnalyze": true, + "path": "/samples/simple-es6-imports", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 4, + "cyclomaticDensity": 33.333, + "halstead": { + "bugs": 0.049, + "difficulty": 7.35, + "effort": 1081.543, + "length": 36, + "time": 60.086, + "vocabulary": 17, + "volume": 147.149, + "operands": { "distinct": 10, "total": 21 }, + "operators": { "distinct": 7, "total": 15 } + }, + "paramCount": 2, + "sloc": { "logical": 12, "physical": 18 } }, - { - "type": "file", - "fullPath": "/samples/simple-es6-imports/sample-es6-constants.js", - "path": "/samples/simple-es6-imports", - "filename": "sample-es6-constants.js", - "shouldAnalyze": true, - "complexityReport": { - "aggregate": { - "cyclomatic": 1, - "cyclomaticDensity": 25, - "halstead": { - "bugs": 0.018, - "difficulty": 1, - "effort": 53.151, - "length": 16, - "time": 2.953, - "vocabulary": 10, - "volume": 53.151, - "operands": { - "distinct": 8, - "total": 8 - }, - "operators": { - "distinct": 2, - "total": 8 - } - }, - "paramCount": 0, - "sloc": { - "logical": 4, - "physical": 5 - } - }, - "dependencies": [], - "errors": [], - "lineEnd": 5, - "lineStart": 1, - "maintainability": 134.954, - "codehawkScore": 92.8634839277374, - "coverage": "0" - }, - "timesDependedOn": 1 + "dependencies": [ + { "line": 1, "path": "./sample-es6-constants", "type": "esm" }, + { "line": 2, "path": "./utils", "type": "esm" } + ], + "errors": [], + "lineEnd": 18, + "lineStart": 1, + "maintainability": 119.758, + "codehawkScore": 66.5583293243497, + "coverage": "0" + }, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/simple-es6-imports/sample-es6-constants.js", + "filename": "sample-es6-constants.js", + "shouldAnalyze": true, + "path": "/samples/simple-es6-imports", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 25, + "halstead": { + "bugs": 0.018, + "difficulty": 1, + "effort": 53.151, + "length": 16, + "time": 2.953, + "vocabulary": 10, + "volume": 53.151, + "operands": { "distinct": 8, "total": 8 }, + "operators": { "distinct": 2, "total": 8 } + }, + "paramCount": 0, + "sloc": { "logical": 4, "physical": 5 } }, + "dependencies": [], + "errors": [], + "lineEnd": 5, + "lineStart": 1, + "maintainability": 134.954, + "codehawkScore": 92.8634839277374, + "coverage": "0" + }, + "timesDependedOn": 1 + } + ], + "fullResultsTree": [ + { + "fullPath": "/samples/simple-es6-imports/utils", + "filename": "utils", + "shouldAnalyze": true, + "type": "dir", + "files": [ { - "type": "file", - "fullPath": "/samples/simple-es6-imports/simple-es6-imports.js", - "path": "/samples/simple-es6-imports", - "filename": "simple-es6-imports.js", - "shouldAnalyze": true, - "complexityReport": { - "aggregate": { - "cyclomatic": 4, - "cyclomaticDensity": 33.333, - "halstead": { - "bugs": 0.049, - "difficulty": 7.35, - "effort": 1081.543, - "length": 36, - "time": 60.086, - "vocabulary": 17, - "volume": 147.149, - "operands": { - "distinct": 10, - "total": 21 - }, - "operators": { - "distinct": 7, - "total": 15 - } - }, - "paramCount": 2, - "sloc": { - "logical": 12, - "physical": 18 - } - }, - "dependencies": [ - { - "line": 1, - "path": "./sample-es6-constants", - "type": "esm" - }, - { - "line": 2, - "path": "./utils", - "type": "esm" - } - ], - "errors": [], - "lineEnd": 18, - "lineStart": 1, - "maintainability": 119.758, - "codehawkScore": 66.5583293243497, - "coverage": "0" + "fullPath": "/samples/simple-es6-imports/utils/utils.js", + "filename": "utils.js", + "shouldAnalyze": true, + "path": "/samples/simple-es6-imports/utils", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 7, + "cyclomaticDensity": 36.842, + "halstead": { + "bugs": 0.091, + "difficulty": 12.133, + "effort": 3324.767, + "length": 57, + "time": 184.709, + "vocabulary": 28, + "volume": 274.019, + "operands": { "distinct": 15, "total": 28 }, + "operators": { "distinct": 13, "total": 29 } + }, + "paramCount": 3, + "sloc": { "logical": 19, "physical": 23 } }, - "timesDependedOn": 0 + "dependencies": [], + "errors": [], + "lineEnd": 23, + "lineStart": 1, + "maintainability": 116.274, + "codehawkScore": 65.52769191836538, + "coverage": "0" + }, + "timesDependedOn": 1 } - ] -} \ No newline at end of file + ] + }, + { + "fullPath": "/samples/simple-es6-imports/expected.json", + "filename": "expected.json", + "shouldAnalyze": false, + "path": "/samples/simple-es6-imports", + "type": "file", + "complexityReport": null, + "timesDependedOn": 0 + }, + { + "fullPath": "/samples/simple-es6-imports/sample-es6-constants.js", + "filename": "sample-es6-constants.js", + "shouldAnalyze": true, + "path": "/samples/simple-es6-imports", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 1, + "cyclomaticDensity": 25, + "halstead": { + "bugs": 0.018, + "difficulty": 1, + "effort": 53.151, + "length": 16, + "time": 2.953, + "vocabulary": 10, + "volume": 53.151, + "operands": { "distinct": 8, "total": 8 }, + "operators": { "distinct": 2, "total": 8 } + }, + "paramCount": 0, + "sloc": { "logical": 4, "physical": 5 } + }, + "dependencies": [], + "errors": [], + "lineEnd": 5, + "lineStart": 1, + "maintainability": 134.954, + "codehawkScore": 92.8634839277374, + "coverage": "0" + }, + "timesDependedOn": 1 + }, + { + "fullPath": "/samples/simple-es6-imports/simple-es6-imports.js", + "filename": "simple-es6-imports.js", + "shouldAnalyze": true, + "path": "/samples/simple-es6-imports", + "type": "file", + "complexityReport": { + "aggregate": { + "cyclomatic": 4, + "cyclomaticDensity": 33.333, + "halstead": { + "bugs": 0.049, + "difficulty": 7.35, + "effort": 1081.543, + "length": 36, + "time": 60.086, + "vocabulary": 17, + "volume": 147.149, + "operands": { "distinct": 10, "total": 21 }, + "operators": { "distinct": 7, "total": 15 } + }, + "paramCount": 2, + "sloc": { "logical": 12, "physical": 18 } + }, + "dependencies": [ + { "line": 1, "path": "./sample-es6-constants", "type": "esm" }, + { "line": 2, "path": "./utils", "type": "esm" } + ], + "errors": [], + "lineEnd": 18, + "lineStart": 1, + "maintainability": 119.758, + "codehawkScore": 66.5583293243497, + "coverage": "0" + }, + "timesDependedOn": 0 + } + ] +} diff --git a/samples/sweetalert/codehawk.json b/samples/sweetalert/codehawk.json index 0967ef4..e13eafe 100644 --- a/samples/sweetalert/codehawk.json +++ b/samples/sweetalert/codehawk.json @@ -1 +1,3 @@ -{} +{ + "skipDirectories": ["/samples/sweetalert/docs", "/samples/sweetalert/docs-src", "/samples/sweetalert/typings"] +} diff --git a/samples/sweetalert/docs/assets/js/add-preview-buttons.js b/samples/sweetalert/docs/assets/js/add-preview-buttons.js index 6c34c9d..39e20cc 100644 --- a/samples/sweetalert/docs/assets/js/add-preview-buttons.js +++ b/samples/sweetalert/docs/assets/js/add-preview-buttons.js @@ -40010,7 +40010,7 @@ return /******/ (function(modules) { // webpackBootstrap exports.call = call; exports._call = _call; - exports.isBlacklisted = isBlacklisted; + exports.isBlocklisted = isBlocklisted; exports.visit = visit; exports.skip = skip; exports.skipKey = skipKey; @@ -40088,7 +40088,7 @@ return /******/ (function(modules) { // webpackBootstrap return false; } - function isBlacklisted() { + function isBlocklisted() { var blacklist = this.opts.blacklist; return blacklist && blacklist.indexOf(this.node.type) > -1; } @@ -40098,7 +40098,7 @@ return /******/ (function(modules) { // webpackBootstrap return false; } - if (this.isBlacklisted()) { + if (this.isBlocklisted()) { return false; } diff --git a/samples/sweetalert/docs/assets/js/index.js b/samples/sweetalert/docs/assets/js/index.js index 000a0e3..7aa429c 100644 --- a/samples/sweetalert/docs/assets/js/index.js +++ b/samples/sweetalert/docs/assets/js/index.js @@ -40582,7 +40582,7 @@ return /******/ (function(modules) { // webpackBootstrap exports.call = call; exports._call = _call; - exports.isBlacklisted = isBlacklisted; + exports.isBlocklisted = isBlocklisted; exports.visit = visit; exports.skip = skip; exports.skipKey = skipKey; @@ -40660,7 +40660,7 @@ return /******/ (function(modules) { // webpackBootstrap return false; } - function isBlacklisted() { + function isBlocklisted() { var blacklist = this.opts.blacklist; return blacklist && blacklist.indexOf(this.node.type) > -1; } @@ -40670,7 +40670,7 @@ return /******/ (function(modules) { // webpackBootstrap return false; } - if (this.isBlacklisted()) { + if (this.isBlocklisted()) { return false; } diff --git a/samples/sweetalert/expected.json b/samples/sweetalert/expected.json index b842d45..ba1ec92 100644 --- a/samples/sweetalert/expected.json +++ b/samples/sweetalert/expected.json @@ -1,955 +1,1125 @@ { - "results": [ + "summary": { + "average": 66.43759137724325, + "median": 58.89252972007756, + "worst": 44.90727094909405 + }, + "resultsList": [ { - "fullPath": "/samples/sweetalert/assets", - "filename": "assets", + "fullPath": "/samples/sweetalert/webpack.config.js", + "filename": "webpack.config.js", "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 + "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 } }, - { - "fullPath": "/samples/sweetalert/assets/swal.gif", - "filename": "swal.gif", - "shouldAnalyze": false, - "path": "/samples/sweetalert/assets", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] + "dependencies": [], + "errors": [], + "lineEnd": 104, + "lineStart": 1, + "maintainability": 84.169, + "codehawkScore": 44.90727094909405, + "coverage": "0" + }, + "timesDependedOn": 0 }, { - "fullPath": "/samples/sweetalert/docs", - "filename": "docs", + "fullPath": "/samples/sweetalert/src/modules/options/index.ts", + "filename": "index.ts", "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs/assets", - "filename": "assets", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs/assets/css", - "filename": "css", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs/assets/css/app.css", - "filename": "app.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/css/guide.css", - "filename": "guide.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/css/header.css", - "filename": "header.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/css/highlight.css", - "filename": "highlight.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/css/index.css", - "filename": "index.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/css/normalize.css", - "filename": "normalize.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/css/table.css", - "filename": "table.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/css/variables.css", - "filename": "variables.css", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images", - "filename": "images", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs/assets/images/github.svg", - "filename": "github.svg", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/heart-icon.svg", - "filename": "heart-icon.svg", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/logo-small.svg", - "filename": "logo-small.svg", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/logo.svg", - "filename": "logo.svg", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/modal-examples.png", - "filename": "modal-examples.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/modal-examples@2x.png", - "filename": "modal-examples@2x.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/modal-fb-example@2x.png", - "filename": "modal-fb-example@2x.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/mood-happy.png", - "filename": "mood-happy.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/mood-neutral.png", - "filename": "mood-neutral.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/mood-sad.png", - "filename": "mood-sad.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/pattern.png", - "filename": "pattern.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/pattern@2x.png", - "filename": "pattern@2x.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/transition-top.svg", - "filename": "transition-top.svg", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/images/vs.svg", - "filename": "vs.svg", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] - }, - { - "fullPath": "/samples/sweetalert/docs/assets/js", - "filename": "js", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs/assets/js/add-preview-buttons.js", - "filename": "add-preview-buttons.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert/docs/assets/js", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 13705, - "cyclomaticDensity": 26.567, - "halstead": { - "bugs": 991.85, - "difficulty": 371.219, - "effort": 1104581424.464, - "length": 222239, - "time": 61365634.692, - "vocabulary": 10727, - "volume": 2975548.867, - "operands": { - "distinct": 10657, - "total": 113031 - }, - "operators": { - "distinct": 70, - "total": 109208 - } - }, - "paramCount": 6075, - "sloc": { - "logical": 51587, - "physical": 61774 - } - }, - "dependencies": [], - "errors": [], - "lineEnd": 61774, - "lineStart": 1, - "maintainability": 85.713, - "codehawkScore": 0, - "coverage": "0" - }, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/js/index.js", - "filename": "index.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert/docs/assets/js", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 18944, - "cyclomaticDensity": 27.105, - "halstead": { - "bugs": 1386.377, - "difficulty": 391.106, - "effort": 1626660155.833, - "length": 299741, - "time": 90370008.657, - "vocabulary": 15032, - "volume": 4159130.986, - "operands": { - "distinct": 14956, - "total": 153931 - }, - "operators": { - "distinct": 76, - "total": 145810 - } - }, - "paramCount": 8999, - "sloc": { - "logical": 69892, - "physical": 85317 - } - }, - "dependencies": [], - "errors": [], - "lineEnd": 85317, - "lineStart": 1, - "maintainability": 86.406, - "codehawkScore": 0, - "coverage": "0" - }, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/js/landing-text-rotater.js", - "filename": "landing-text-rotater.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert/docs/assets/js", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 27, - "cyclomaticDensity": 27.273, - "halstead": { - "bugs": 0.963, - "difficulty": 32.056, - "effort": 92596.665, - "length": 432, - "time": 5144.259, - "vocabulary": 103, - "volume": 2888.568, - "operands": { - "distinct": 80, - "total": 223 - }, - "operators": { - "distinct": 23, - "total": 209 - } - }, - "paramCount": 16, - "sloc": { - "logical": 99, - "physical": 93 - } - }, - "dependencies": [], - "errors": [], - "lineEnd": 93, - "lineStart": 1, - "maintainability": 107.041, - "codehawkScore": 50.63297740113278, - "coverage": "0" - }, - "timesDependedOn": 0 - } - ] - }, - { - "fullPath": "/samples/sweetalert/docs/assets/sweetalert", - "filename": "sweetalert", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs/assets/sweetalert/sweetalert.js.map", - "filename": "sweetalert.js.map", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/sweetalert", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs/assets/sweetalert/sweetalert.min.js", - "filename": "sweetalert.min.js", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/assets/sweetalert", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] - } - ] + "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 } }, - { - "fullPath": "/samples/sweetalert/docs/docs", - "filename": "docs", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs/docs/index.html", - "filename": "index.html", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/docs", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] + "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 } }, - { - "fullPath": "/samples/sweetalert/docs/guides", - "filename": "guides", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs/guides/index.html", - "filename": "index.html", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs/guides", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] + "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 } }, - { - "fullPath": "/samples/sweetalert/docs/CNAME", - "filename": "CNAME", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 + "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 } }, - { - "fullPath": "/samples/sweetalert/docs/index.html", - "filename": "index.html", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] + "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/docs-src", - "filename": "docs-src", + "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/docs-src/assets", - "filename": "assets", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs-src/assets/css", - "filename": "css", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs-src/assets/css/app.styl", - "filename": "app.styl", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/css/guide.styl", - "filename": "guide.styl", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/css/header.styl", - "filename": "header.styl", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/css/highlight.styl", - "filename": "highlight.styl", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/css/index.styl", - "filename": "index.styl", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/css/normalize.styl", - "filename": "normalize.styl", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/css/table.styl", - "filename": "table.styl", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/css/variables.styl", - "filename": "variables.styl", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/css", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images", - "filename": "images", - "shouldAnalyze": true, - "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/github.svg", - "filename": "github.svg", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/heart-icon.svg", - "filename": "heart-icon.svg", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/logo-small.svg", - "filename": "logo-small.svg", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/logo.svg", - "filename": "logo.svg", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/modal-examples.png", - "filename": "modal-examples.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/modal-examples@2x.png", - "filename": "modal-examples@2x.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/modal-fb-example@2x.png", - "filename": "modal-fb-example@2x.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/mood-happy.png", - "filename": "mood-happy.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/mood-neutral.png", - "filename": "mood-neutral.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/mood-sad.png", - "filename": "mood-sad.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/pattern.png", - "filename": "pattern.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/pattern@2x.png", - "filename": "pattern@2x.png", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/transition-top.svg", - "filename": "transition-top.svg", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/images/vs.svg", - "filename": "vs.svg", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets/images", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] + "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/assets", + "filename": "assets", + "shouldAnalyze": true, + "type": "dir", + "files": [ + { + "fullPath": "/samples/sweetalert/docs/assets/css", + "filename": "css", + "shouldAnalyze": true, + "type": "dir", + "files": [] }, { - "fullPath": "/samples/sweetalert/docs-src/assets/js", + "fullPath": "/samples/sweetalert/docs/assets/images", + "filename": "images", + "shouldAnalyze": true, + "type": "dir", + "files": [] + }, + { + "fullPath": "/samples/sweetalert/docs/assets/js", "filename": "js", "shouldAnalyze": true, "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs-src/assets/js/add-preview-buttons.js", - "filename": "add-preview-buttons.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert/docs-src/assets/js", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 11, - "cyclomaticDensity": 15.493, - "halstead": { - "bugs": 0.564, - "difficulty": 12.812, - "effort": 21665.8, - "length": 266, - "time": 1203.656, - "vocabulary": 82, - "volume": 1691.109, - "operands": { - "distinct": 69, - "total": 136 - }, - "operators": { - "distinct": 13, - "total": 130 - } - }, - "paramCount": 6, - "sloc": { - "logical": 71, - "physical": 80 - } - }, - "dependencies": [], - "errors": [], - "lineEnd": 80, - "lineStart": 1, - "maintainability": 110.71, - "codehawkScore": 51.89158411454548, - "coverage": "0" - }, - "timesDependedOn": 1 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/js/index.js", - "filename": "index.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert/docs-src/assets/js", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 11, - "cyclomaticDensity": 22.917, - "halstead": { - "bugs": 0.339, - "difficulty": 12.9, - "effort": 13129.364, - "length": 169, - "time": 729.409, - "vocabulary": 65, - "volume": 1017.78, - "operands": { - "distinct": 50, - "total": 86 - }, - "operators": { - "distinct": 15, - "total": 83 - } - }, - "paramCount": 6, - "sloc": { - "logical": 48, - "physical": 120 - } - }, - "dependencies": [ - { - "line": 2, - "path": "whatwg-fetch", - "type": "esm" - }, - { - "line": 5, - "path": "nodelist-foreach-polyfill", - "type": "esm" - }, - { - "line": 7, - "path": "./add-preview-buttons", - "type": "esm" - }, - { - "line": 9, - "path": "./landing-text-rotater", - "type": "esm" - }, - { - "line": 13, - "path": "react", - "type": "esm" - }, - { - "line": 14, - "path": "react-dom", - "type": "esm" - }, - { - "line": 15, - "path": "@sweetalert/with-react", - "type": "esm" - } - ], - "errors": [], - "lineEnd": 120, - "lineStart": 1, - "maintainability": 122.903, - "codehawkScore": 48.7568423197879, - "coverage": "0" - }, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/assets/js/landing-text-rotater.js", - "filename": "landing-text-rotater.js", - "shouldAnalyze": true, - "path": "/samples/sweetalert/docs-src/assets/js", - "type": "file", - "complexityReport": { - "aggregate": { - "cyclomatic": 14, - "cyclomaticDensity": 20.588, - "halstead": { - "bugs": 0.511, - "difficulty": 20.76, - "effort": 31829.465, - "length": 251, - "time": 1768.304, - "vocabulary": 69, - "volume": 1533.24, - "operands": { - "distinct": 52, - "total": 127 - }, - "operators": { - "distinct": 17, - "total": 124 - } - }, - "paramCount": 7, - "sloc": { - "logical": 68, - "physical": 91 - } - }, - "dependencies": [], - "errors": [], - "lineEnd": 91, - "lineStart": 1, - "maintainability": 109.853, - "codehawkScore": 51.70032457731847, - "coverage": "0" - }, - "timesDependedOn": 1 - } - ] + "files": [] }, { - "fullPath": "/samples/sweetalert/docs-src/assets/sweetalert", + "fullPath": "/samples/sweetalert/docs/assets/sweetalert", "filename": "sweetalert", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/assets", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 + "shouldAnalyze": true, + "type": "dir", + "files": [] } ] }, { - "fullPath": "/samples/sweetalert/docs-src/docs", + "fullPath": "/samples/sweetalert/docs/docs", "filename": "docs", "shouldAnalyze": true, "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/docs-src/docs/index.md", - "filename": "index.md", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/docs", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] + "files": [] }, { - "fullPath": "/samples/sweetalert/docs-src/guides", + "fullPath": "/samples/sweetalert/docs/guides", "filename": "guides", "shouldAnalyze": true, "type": "dir", + "files": [] + } + ] + }, + { + "fullPath": "/samples/sweetalert/docs-src", + "filename": "docs-src", + "shouldAnalyze": true, + "type": "dir", + "files": [ + { + "fullPath": "/samples/sweetalert/docs-src/assets", + "filename": "assets", + "shouldAnalyze": true, + "type": "dir", "files": [ { - "fullPath": "/samples/sweetalert/docs-src/guides/index.md", - "filename": "index.md", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src/guides", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 + "fullPath": "/samples/sweetalert/docs-src/assets/css", + "filename": "css", + "shouldAnalyze": true, + "type": "dir", + "files": [] + }, + { + "fullPath": "/samples/sweetalert/docs-src/assets/images", + "filename": "images", + "shouldAnalyze": true, + "type": "dir", + "files": [] + }, + { + "fullPath": "/samples/sweetalert/docs-src/assets/js", + "filename": "js", + "shouldAnalyze": true, + "type": "dir", + "files": [] } ] }, { - "fullPath": "/samples/sweetalert/docs-src/index.hbs", - "filename": "index.hbs", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/layout-docs.hbs", - "filename": "layout-docs.hbs", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/docs-src/layout-guides.hbs", - "filename": "layout-guides.hbs", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 + "fullPath": "/samples/sweetalert/docs-src/docs", + "filename": "docs", + "shouldAnalyze": true, + "type": "dir", + "files": [] }, { - "fullPath": "/samples/sweetalert/docs-src/layout.hbs", - "filename": "layout.hbs", - "shouldAnalyze": false, - "path": "/samples/sweetalert/docs-src", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 + "fullPath": "/samples/sweetalert/docs-src/guides", + "filename": "guides", + "shouldAnalyze": true, + "type": "dir", + "files": [] } ] }, @@ -1086,20 +1256,11 @@ "time": 106.642, "vocabulary": 39, "volume": 449.259, - "operands": { - "distinct": 33, - "total": 47 - }, - "operators": { - "distinct": 6, - "total": 38 - } + "operands": { "distinct": 33, "total": 47 }, + "operators": { "distinct": 6, "total": 38 } }, "paramCount": 0, - "sloc": { - "logical": 20, - "physical": 28 - } + "sloc": { "logical": 20, "physical": 28 } }, "dependencies": [], "errors": [], @@ -1137,57 +1298,24 @@ "time": 1151.971, "vocabulary": 66, "volume": 1160.524, - "operands": { - "distinct": 49, - "total": 103 - }, - "operators": { - "distinct": 17, - "total": 89 - } + "operands": { "distinct": 49, "total": 103 }, + "operators": { "distinct": 17, "total": 89 } }, "paramCount": 10, - "sloc": { - "logical": 46, - "physical": 81 - } + "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": 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" - } + { "line": 9, "path": "../markup", "type": "esm" }, + { "line": 10, "path": "../actions", "type": "esm" }, + { "line": 11, "path": "../state", "type": "esm" } ], "errors": [], "lineEnd": 81, @@ -1216,20 +1344,11 @@ "time": 939.154, "vocabulary": 56, "volume": 923.369, - "operands": { - "distinct": 39, - "total": 84 - }, - "operators": { - "distinct": 17, - "total": 75 - } + "operands": { "distinct": 39, "total": 84 }, + "operators": { "distinct": 17, "total": 75 } }, "paramCount": 7, - "sloc": { - "logical": 43, - "physical": 72 - } + "sloc": { "logical": 43, "physical": 72 } }, "dependencies": [ { @@ -1237,31 +1356,11 @@ "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" - } + { "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, @@ -1290,37 +1389,16 @@ "time": 617.583, "vocabulary": 53, "volume": 756.086, - "operands": { - "distinct": 37, - "total": 68 - }, - "operators": { - "distinct": 16, - "total": 64 - } + "operands": { "distinct": 37, "total": 68 }, + "operators": { "distinct": 16, "total": 64 } }, "paramCount": 5, - "sloc": { - "logical": 36, - "physical": 47 - } + "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" - } + { "line": 2, "path": "./modal", "type": "esm" }, + { "line": 3, "path": "../markup", "type": "esm" }, + { "line": 4, "path": "../class-list", "type": "esm" } ], "errors": [], "lineEnd": 47, @@ -1344,57 +1422,28 @@ "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" + "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" - } + { "line": 9, "path": "../utils", "type": "esm" } ], "errors": [], "lineEnd": 30, @@ -1423,57 +1472,20 @@ "time": 363.087, "vocabulary": 41, "volume": 728.627, - "operands": { - "distinct": 33, - "total": 74 - }, - "operators": { - "distinct": 8, - "total": 62 - } + "operands": { "distinct": 33, "total": 74 }, + "operators": { "distinct": 8, "total": 62 } }, "paramCount": 5, - "sloc": { - "logical": 39, - "physical": 65 - } + "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" - } + { "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, @@ -1502,32 +1514,15 @@ "time": 11.523, "vocabulary": 12, "volume": 64.529, - "operands": { - "distinct": 7, - "total": 9 - }, - "operators": { - "distinct": 5, - "total": 9 - } + "operands": { "distinct": 7, "total": 9 }, + "operators": { "distinct": 5, "total": 9 } }, "paramCount": 0, - "sloc": { - "logical": 5, - "physical": 9 - } + "sloc": { "logical": 5, "physical": 9 } }, "dependencies": [ - { - "line": 1, - "path": "../utils", - "type": "esm" - }, - { - "line": 2, - "path": "../markup", - "type": "esm" - } + { "line": 1, "path": "../utils", "type": "esm" }, + { "line": 2, "path": "../markup", "type": "esm" } ], "errors": [], "lineEnd": 9, @@ -1556,32 +1551,15 @@ "time": 276.652, "vocabulary": 45, "volume": 642.547, - "operands": { - "distinct": 36, - "total": 62 - }, - "operators": { - "distinct": 9, - "total": 55 - } + "operands": { "distinct": 36, "total": 62 }, + "operators": { "distinct": 9, "total": 55 } }, "paramCount": 6, - "sloc": { - "logical": 31, - "physical": 38 - } + "sloc": { "logical": 31, "physical": 38 } }, "dependencies": [ - { - "line": 1, - "path": "../markup", - "type": "esm" - }, - { - "line": 2, - "path": "./modal", - "type": "esm" - } + { "line": 1, "path": "../markup", "type": "esm" }, + { "line": 2, "path": "./modal", "type": "esm" } ], "errors": [], "lineEnd": 38, @@ -1618,27 +1596,14 @@ "time": 21.152, "vocabulary": 14, "volume": 91.377, - "operands": { - "distinct": 9, - "total": 15 - }, - "operators": { - "distinct": 5, - "total": 9 - } + "operands": { "distinct": 9, "total": 15 }, + "operators": { "distinct": 5, "total": 9 } }, "paramCount": 0, - "sloc": { - "logical": 5, - "physical": 21 - } + "sloc": { "logical": 5, "physical": 21 } }, "dependencies": [ - { - "line": 1, - "path": "../class-list", - "type": "esm" - } + { "line": 1, "path": "../class-list", "type": "esm" } ], "errors": [], "lineEnd": 21, @@ -1667,27 +1632,14 @@ "time": 9.043, "vocabulary": 10, "volume": 46.507, - "operands": { - "distinct": 5, - "total": 7 - }, - "operators": { - "distinct": 5, - "total": 7 - } + "operands": { "distinct": 5, "total": 7 }, + "operators": { "distinct": 5, "total": 7 } }, "paramCount": 0, - "sloc": { - "logical": 3, - "physical": 9 - } + "sloc": { "logical": 3, "physical": 9 } }, "dependencies": [ - { - "line": 1, - "path": "../class-list", - "type": "esm" - } + { "line": 1, "path": "../class-list", "type": "esm" } ], "errors": [], "lineEnd": 9, @@ -1716,27 +1668,14 @@ "time": 186.744, "vocabulary": 32, "volume": 490, - "operands": { - "distinct": 25, - "total": 49 - }, - "operators": { - "distinct": 7, - "total": 49 - } + "operands": { "distinct": 25, "total": 49 }, + "operators": { "distinct": 7, "total": 49 } }, "paramCount": 0, - "sloc": { - "logical": 16, - "physical": 33 - } + "sloc": { "logical": 16, "physical": 33 } }, "dependencies": [ - { - "line": 1, - "path": "../class-list", - "type": "esm" - } + { "line": 1, "path": "../class-list", "type": "esm" } ], "errors": [], "lineEnd": 33, @@ -1765,27 +1704,14 @@ "time": 52.039, "vocabulary": 17, "volume": 179.848, - "operands": { - "distinct": 12, - "total": 25 - }, - "operators": { - "distinct": 5, - "total": 19 - } + "operands": { "distinct": 12, "total": 25 }, + "operators": { "distinct": 5, "total": 19 } }, "paramCount": 0, - "sloc": { - "logical": 9, - "physical": 22 - } + "sloc": { "logical": 9, "physical": 22 } }, "dependencies": [ - { - "line": 6, - "path": "../class-list", - "type": "esm" - } + { "line": 6, "path": "../class-list", "type": "esm" } ], "errors": [], "lineEnd": 22, @@ -1814,27 +1740,14 @@ "time": 16.132, "vocabulary": 12, "volume": 64.529, - "operands": { - "distinct": 6, - "total": 9 - }, - "operators": { - "distinct": 6, - "total": 9 - } + "operands": { "distinct": 6, "total": 9 }, + "operators": { "distinct": 6, "total": 9 } }, "paramCount": 0, - "sloc": { - "logical": 3, - "physical": 12 - } + "sloc": { "logical": 3, "physical": 12 } }, "dependencies": [ - { - "line": 1, - "path": "../class-list", - "type": "esm" - } + { "line": 1, "path": "../class-list", "type": "esm" } ], "errors": [], "lineEnd": 12, @@ -1863,27 +1776,14 @@ "time": 11.073, "vocabulary": 10, "volume": 49.829, - "operands": { - "distinct": 5, - "total": 8 - }, - "operators": { - "distinct": 5, - "total": 7 - } + "operands": { "distinct": 5, "total": 8 }, + "operators": { "distinct": 5, "total": 7 } }, "paramCount": 0, - "sloc": { - "logical": 3, - "physical": 9 - } + "sloc": { "logical": 3, "physical": 9 } }, "dependencies": [ - { - "line": 1, - "path": "../class-list", - "type": "esm" - } + { "line": 1, "path": "../class-list", "type": "esm" } ], "errors": [], "lineEnd": 9, @@ -1920,27 +1820,14 @@ "time": 5768.039, "vocabulary": 76, "volume": 2380.46, - "operands": { - "distinct": 52, - "total": 189 - }, - "operators": { - "distinct": 24, - "total": 192 - } + "operands": { "distinct": 52, "total": 189 }, + "operators": { "distinct": 24, "total": 192 } }, "paramCount": 6, - "sloc": { - "logical": 114, - "physical": 150 - } + "sloc": { "logical": 114, "physical": 150 } }, "dependencies": [ - { - "line": 1, - "path": "../utils", - "type": "esm" - } + { "line": 1, "path": "../utils", "type": "esm" } ], "errors": [], "lineEnd": 150, @@ -1969,27 +1856,14 @@ "time": 128.703, "vocabulary": 26, "volume": 235.022, - "operands": { - "distinct": 14, - "total": 23 - }, - "operators": { - "distinct": 12, - "total": 27 - } + "operands": { "distinct": 14, "total": 23 }, + "operators": { "distinct": 12, "total": 27 } }, "paramCount": 1, - "sloc": { - "logical": 17, - "physical": 27 - } + "sloc": { "logical": 17, "physical": 27 } }, "dependencies": [ - { - "line": 1, - "path": "../utils", - "type": "esm" - } + { "line": 1, "path": "../utils", "type": "esm" } ], "errors": [], "lineEnd": 27, @@ -2018,20 +1892,11 @@ "time": 1545.577, "vocabulary": 78, "volume": 1634.205, - "operands": { - "distinct": 63, - "total": 143 - }, - "operators": { - "distinct": 15, - "total": 117 - } + "operands": { "distinct": 63, "total": 143 }, + "operators": { "distinct": 15, "total": 117 } }, "paramCount": 1, - "sloc": { - "logical": 75, - "physical": 105 - } + "sloc": { "logical": 75, "physical": 105 } }, "dependencies": [], "errors": [], @@ -2061,42 +1926,17 @@ "time": 4950.345, "vocabulary": 90, "volume": 2544.806, - "operands": { - "distinct": 67, - "total": 204 - }, - "operators": { - "distinct": 23, - "total": 188 - } + "operands": { "distinct": 67, "total": 204 }, + "operators": { "distinct": 23, "total": 188 } }, "paramCount": 17, - "sloc": { - "logical": 107, - "physical": 150 - } + "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" - } + { "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, @@ -2127,42 +1967,17 @@ "time": 1121.218, "vocabulary": 58, "volume": 1019.289, - "operands": { - "distinct": 40, - "total": 88 - }, - "operators": { - "distinct": 18, - "total": 86 - } + "operands": { "distinct": 40, "total": 88 }, + "operators": { "distinct": 18, "total": 86 } }, "paramCount": 1, - "sloc": { - "logical": 44, - "physical": 67 - } + "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" - } + { "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, @@ -2191,47 +2006,18 @@ "time": 3464.234, "vocabulary": 79, "volume": 2250.45, - "operands": { - "distinct": 60, - "total": 175 - }, - "operators": { - "distinct": 19, - "total": 182 - } + "operands": { "distinct": 60, "total": 175 }, + "operators": { "distinct": 19, "total": 182 } }, "paramCount": 11, - "sloc": { - "logical": 109, - "physical": 141 - } + "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" - } + { "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, @@ -2260,27 +2046,14 @@ "time": 675.256, "vocabulary": 37, "volume": 614.715, - "operands": { - "distinct": 22, - "total": 58 - }, - "operators": { - "distinct": 15, - "total": 60 - } + "operands": { "distinct": 22, "total": 58 }, + "operators": { "distinct": 15, "total": 60 } }, "paramCount": 6, - "sloc": { - "logical": 28, - "physical": 51 - } + "sloc": { "logical": 28, "physical": 51 } }, "dependencies": [ - { - "line": 1, - "path": "./options/buttons", - "type": "esm" - } + { "line": 1, "path": "./options/buttons", "type": "esm" } ], "errors": [], "lineEnd": 51, @@ -2309,20 +2082,11 @@ "time": 1070.592, "vocabulary": 75, "volume": 1258.221, - "operands": { - "distinct": 57, - "total": 97 - }, - "operators": { - "distinct": 18, - "total": 105 - } + "operands": { "distinct": 57, "total": 97 }, + "operators": { "distinct": 18, "total": 105 } }, "paramCount": 8, - "sloc": { - "logical": 47, - "physical": 61 - } + "sloc": { "logical": 47, "physical": 61 } }, "dependencies": [], "errors": [], @@ -2354,42 +2118,17 @@ "time": 222.962, "vocabulary": 33, "volume": 343.019, - "operands": { - "distinct": 20, - "total": 36 - }, - "operators": { - "distinct": 13, - "total": 32 - } + "operands": { "distinct": 20, "total": 36 }, + "operators": { "distinct": 13, "total": 32 } }, "paramCount": 3, - "sloc": { - "logical": 20, - "physical": 34 - } + "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" - } + { "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, @@ -2418,20 +2157,11 @@ "time": 3335.814, "vocabulary": 87, "volume": 1610.736, - "operands": { - "distinct": 54, - "total": 122 - }, - "operators": { - "distinct": 33, - "total": 128 - } + "operands": { "distinct": 54, "total": 122 }, + "operators": { "distinct": 33, "total": 128 } }, "paramCount": 8, - "sloc": { - "logical": 56, - "physical": 110 - } + "sloc": { "logical": 56, "physical": 110 } }, "dependencies": [], "errors": [], @@ -2479,20 +2209,11 @@ "time": 24.797, "vocabulary": 17, "volume": 98.099, - "operands": { - "distinct": 10, - "total": 13 - }, - "operators": { - "distinct": 7, - "total": 11 - } + "operands": { "distinct": 10, "total": 13 }, + "operators": { "distinct": 7, "total": 11 } }, "paramCount": 0, - "sloc": { - "logical": 6, - "physical": 15 - } + "sloc": { "logical": 6, "physical": 15 } }, "dependencies": [], "errors": [], @@ -2523,250 +2244,30 @@ "filename": "class-list", "shouldAnalyze": true, "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/typings/modules/class-list/index.d.ts", - "filename": "index.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/class-list", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] + "files": [] }, { "fullPath": "/samples/sweetalert/typings/modules/init", "filename": "init", "shouldAnalyze": true, "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/typings/modules/init/buttons.d.ts", - "filename": "buttons.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/init", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/init/content.d.ts", - "filename": "content.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/init", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/init/icon.d.ts", - "filename": "icon.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/init", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/init/index.d.ts", - "filename": "index.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/init", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/init/modal.d.ts", - "filename": "modal.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/init", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/init/overlay.d.ts", - "filename": "overlay.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/init", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/init/text.d.ts", - "filename": "text.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/init", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] + "files": [] }, { "fullPath": "/samples/sweetalert/typings/modules/markup", "filename": "markup", "shouldAnalyze": true, "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/typings/modules/markup/buttons.d.ts", - "filename": "buttons.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/markup", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/markup/content.d.ts", - "filename": "content.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/markup", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/markup/icons.d.ts", - "filename": "icons.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/markup", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/markup/index.d.ts", - "filename": "index.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/markup", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/markup/modal.d.ts", - "filename": "modal.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/markup", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/markup/overlay.d.ts", - "filename": "overlay.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/markup", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] + "files": [] }, { "fullPath": "/samples/sweetalert/typings/modules/options", "filename": "options", "shouldAnalyze": true, "type": "dir", - "files": [ - { - "fullPath": "/samples/sweetalert/typings/modules/options/buttons.d.ts", - "filename": "buttons.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/options", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/options/content.d.ts", - "filename": "content.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/options", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/options/deprecations.d.ts", - "filename": "deprecations.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/options", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/options/index.d.ts", - "filename": "index.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules/options", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - } - ] - }, - { - "fullPath": "/samples/sweetalert/typings/modules/actions.d.ts", - "filename": "actions.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/event-listeners.d.ts", - "filename": "event-listeners.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/state.d.ts", - "filename": "state.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/modules/utils.d.ts", - "filename": "utils.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings/modules", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 + "files": [] } ] - }, - { - "fullPath": "/samples/sweetalert/typings/core.d.ts", - "filename": "core.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 - }, - { - "fullPath": "/samples/sweetalert/typings/sweetalert.d.ts", - "filename": "sweetalert.d.ts", - "shouldAnalyze": false, - "path": "/samples/sweetalert/typings", - "type": "file", - "complexityReport": null, - "timesDependedOn": 0 } ] }, @@ -2806,20 +2307,11 @@ "time": 33.17, "vocabulary": 18, "volume": 125.098, - "operands": { - "distinct": 11, - "total": 15 - }, - "operators": { - "distinct": 7, - "total": 15 - } + "operands": { "distinct": 11, "total": 15 }, + "operators": { "distinct": 7, "total": 15 } }, "paramCount": 0, - "sloc": { - "logical": 8, - "physical": 10 - } + "sloc": { "logical": 8, "physical": 10 } }, "dependencies": [], "errors": [], @@ -2876,20 +2368,11 @@ "time": 831.445, "vocabulary": 89, "volume": 1482.943, - "operands": { - "distinct": 76, - "total": 118 - }, - "operators": { - "distinct": 13, - "total": 111 - } + "operands": { "distinct": 76, "total": 118 }, + "operators": { "distinct": 13, "total": 111 } }, "paramCount": 2, - "sloc": { - "logical": 62, - "physical": 104 - } + "sloc": { "logical": 62, "physical": 104 } }, "dependencies": [], "errors": [], diff --git a/src/analyze.ts b/src/analyze.ts index 53c8116..b1dc21b 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -1,7 +1,7 @@ import { transformSync } from '@babel/core' import flowRemoveTypes from 'flow-remove-types' import escomplexReporter from './reporters/escomplex' -import { +import type { CoverageMapping, FileWithContents, CompleteCodehawkComplexityResult, diff --git a/src/badge.ts b/src/badge.ts new file mode 100644 index 0000000..405fd18 --- /dev/null +++ b/src/badge.ts @@ -0,0 +1,46 @@ +import { badgen } from 'badgen' +import fs from 'fs' +import type { ResultsSummary } from './codehawk' + +const getBadgeColor = (percent: number): string => { + let color = 'e05d44' // 'red'; + + if (percent > 15) color = 'fe7d37' // 'orange'; + if (percent > 30) color = 'dfb317' // 'yellow'; + if (percent > 40) color = 'a4a61d' // 'yellowgreen'; + if (percent > 55) color = '97ca00' // 'green'; + if (percent > 65) color = '4c1' // 'brightgreen'; + + return color +} + +export const generateBadge = (resultsSummary: ResultsSummary): void => { + const { average, worst } = resultsSummary + try { + fs.writeFileSync( + 'generated/avg-maintainability.svg', + badgen({ + label: 'maintainability (avg)', + status: `${average.toFixed(2)}`, + color: getBadgeColor(average), + }), + 'utf8' + ) + } catch (error) { + console.error(error) + } + + try { + fs.writeFileSync( + 'generated/worst-maintainability.svg', + badgen({ + label: 'maintainability (worst)', + status: `${worst.toFixed(2)}`, + color: getBadgeColor(worst), + }), + 'utf8' + ) + } catch (error) { + console.error(error) + } +} diff --git a/src/cli-util.ts b/src/cli-util.ts index aa4b635..0a10ce1 100644 --- a/src/cli-util.ts +++ b/src/cli-util.ts @@ -1,4 +1,4 @@ -import { FullyAnalyzedFile } from './types' +import type { FullyAnalyzedFile } from './types' const colLengths = { filename: 30, diff --git a/src/codehawk.ts b/src/codehawk.ts index 6efb767..cfb226c 100644 --- a/src/codehawk.ts +++ b/src/codehawk.ts @@ -4,7 +4,7 @@ import { getCoverage } from './coverage' import { analyzeFile, calculateComplexity } from './analyze' import { getFileContents, walkSync } from './traverseProject' import { getTimesDependedOn, getProjectDeps } from './dependencies' -import { +import type { ParsedEntity, ParsedFile, AnalyzedFile, @@ -15,23 +15,24 @@ import { FullyAnalyzedDirectory, } from './types' import { buildOptions, getConfiguration } from './options' -import { formatResultsAsTable } from './cli-util' import { flattenEntireTree } from './util' +import { generateBadge } from './badge' -interface Results { - results: FullyAnalyzedEntity[] +export interface ResultsSummary { + average: number + median: number + worst: number } -const cwd = slash(process.cwd()) - -export * from './types' +export interface Results { + resultsList: FullyAnalyzedFile[] + fullResultsTree: FullyAnalyzedEntity[] + summary: ResultsSummary +} -export { calculateComplexity } +const cwd = slash(process.cwd()) -export const analyzeProject = ( - rawPath: string, - isCliContext?: boolean -): Results => { +const analyzeProject = (rawPath: string, isCliContext?: boolean): Results => { // When using CLI, execute from the cwd rather than a relative path const actualRoot = isCliContext ? cwd : rawPath const projectOptions = getConfiguration(actualRoot) @@ -106,27 +107,75 @@ export const analyzeProject = ( const projectDeps = getProjectDeps(firstRunResults) const secondRunResults = addDependencyCounts(projectDeps, firstRunResults) + const resultsAsList = getResultsAsList(secondRunResults) + return { - results: secondRunResults, + summary: getResultsSummary(resultsAsList), + resultsList: resultsAsList, + fullResultsTree: secondRunResults, } } -export const resultsAsTable = ( - analyzedEntities: FullyAnalyzedEntity[] -): string => { +export const getResultsAsList = ( + analyzedEntities: FullyAnalyzedEntity[], + limit?: number +): FullyAnalyzedFile[] => { const flatFileResults: FullyAnalyzedFile[] = flattenEntireTree< FullyAnalyzedFile >(analyzedEntities) .filter((entity) => { return entity.type === 'file' && !!entity.complexityReport }) + // Sort by codehawk score, ascending (most complex files are first in the list) .sort((entityA, entityB) => { return ( entityA.complexityReport.codehawkScore - entityB.complexityReport.codehawkScore ) }) - .slice(0, 20) - return formatResultsAsTable(flatFileResults) + return limit ? flatFileResults.slice(0, limit) : flatFileResults +} + +const getMedian = (numbers: number[]): number => { + const sorted = numbers.slice().sort((a, b) => a - b) + const middle = Math.floor(sorted.length / 2) + + if (sorted.length % 2 === 0) { + return (sorted[middle - 1] + sorted[middle]) / 2 + } + + return sorted[middle] } + +const getResultsSummary = ( + resultsAsList: FullyAnalyzedFile[] +): ResultsSummary => { + const allScores: number[] = resultsAsList.reduce((arr: number[], current) => { + if (current.complexityReport) { + arr.push(current.complexityReport.codehawkScore) + } + return arr + }, []) + const total = allScores.reduce((total: number, score) => { + return total + score + }, 0) + const worst = allScores.reduce((worst: number, score) => { + if (score < worst) { + return score + } + return worst + }, 100) // Start with max maintainability, work downwards + + const average = total / allScores.length + const median = getMedian(allScores) + + return { + average, + median, + worst, + } +} + +// Public APIs +export { calculateComplexity, analyzeProject, generateBadge } diff --git a/src/coverage.ts b/src/coverage.ts index a9af081..b4ba71f 100644 --- a/src/coverage.ts +++ b/src/coverage.ts @@ -1,5 +1,5 @@ import fs from 'fs' -import { CoverageMapping, CoverageSummary } from './types' +import type { CoverageMapping, CoverageSummary } from './types' export const getCoverage = (dirPath: string): CoverageMapping[] => { let coverage: CoverageMapping[] = [] diff --git a/src/dependencies.ts b/src/dependencies.ts index 315a14e..b2972a5 100644 --- a/src/dependencies.ts +++ b/src/dependencies.ts @@ -1,7 +1,7 @@ import path from 'path' import slash from 'slash' import { flattenEntireTree } from './util' -import { AnalyzedEntity, AnalyzedFile } from './types' +import type { AnalyzedEntity, AnalyzedFile } from './types' // Gathers all the dependencies as a flat array of strings across all analyzed files // Note: duplicates are not removed (intentional) diff --git a/src/index.ts b/src/index.ts index b9b5090..c5b0b26 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,13 +1,23 @@ #!/usr/bin/env node -import { analyzeProject, resultsAsTable } from './codehawk' +import { analyzeProject, getResultsAsList, generateBadge } from './codehawk' +import { formatResultsAsTable } from './cli-util' // Sample CLI usage: `codehawk src` const scanDir = process.argv.slice(2)[0] if (scanDir && scanDir !== '') { const output = analyzeProject(`${process.cwd()}/${scanDir}`, true) - console.log(resultsAsTable(output.results)) + const resultsAsList = getResultsAsList(output.fullResultsTree) + const formattedAsTable = resultsAsList.slice(0, 25) + console.log(formatResultsAsTable(formattedAsTable)) + + try { + console.log('[codehawk-cli] Generating maintainability badge...') + generateBadge(output.summary) + } catch (e) { + console.warn('[codehawk-cli] Badge was not generated') + } } else { console.error( '[codehawk-cli] Unable to parse, please ensure you provide a directory e.g. "codehawk src"' diff --git a/src/options.ts b/src/options.ts index fa116ff..6d945b8 100644 --- a/src/options.ts +++ b/src/options.ts @@ -2,7 +2,7 @@ import { existsSync, readFileSync } from 'fs' import { resolve as pathResolve } from 'path' import { NO_CONFIGURATION_FOUND } from './consts/errors' -import { CodehawkOptions, AllOptionKeys, AssembledOptions } from './types' +import type { CodehawkOptions, AllOptionKeys, AssembledOptions } from './types' const baseOptions: CodehawkOptions = { enableFlow: { @@ -35,7 +35,7 @@ const baseOptions: CodehawkOptions = { export const buildOptions = ( projectOptions: AssembledOptions ): AssembledOptions => { - const assembledOptions = {} as AssembledOptions + const assembledOptions: AssembledOptions = {} Object.keys(baseOptions).forEach((optionKey: AllOptionKeys) => { const option = baseOptions[optionKey] diff --git a/src/reporters/escomplex.ts b/src/reporters/escomplex.ts index 99b1ebc..8ca8216 100644 --- a/src/reporters/escomplex.ts +++ b/src/reporters/escomplex.ts @@ -1,5 +1,5 @@ import escomplex from 'typhonjs-escomplex' -import { CodehawkComplexityResult } from '../types' +import type { CodehawkComplexityResult } from '../types' // The following hack is taken from Plato // ref. https://github.com/es-analysis/plato/blob/master/lib/reporters/complexity/index.js @ ad8a294 diff --git a/src/traverseProject.ts b/src/traverseProject.ts index db0fc25..b03479f 100644 --- a/src/traverseProject.ts +++ b/src/traverseProject.ts @@ -2,7 +2,7 @@ import * as fs from 'fs' import * as path from 'path' import slash from 'slash' import { getFsEntity, shouldSeeEntity, shouldAnalyzeEntity } from './util' -import { +import type { AssembledOptions, ParsedEntity, ParsedDirectory, diff --git a/src/types.ts b/src/types/codehawk.ts similarity index 100% rename from src/types.ts rename to src/types/codehawk.ts diff --git a/src/types/index.ts b/src/types/index.ts new file mode 100644 index 0000000..65523af --- /dev/null +++ b/src/types/index.ts @@ -0,0 +1 @@ +export * from './codehawk' diff --git a/src/util.ts b/src/util.ts index bf9e138..40a0c45 100644 --- a/src/util.ts +++ b/src/util.ts @@ -3,7 +3,7 @@ import * as path from 'path' import slash from 'slash' import isDotfile from 'is-dotfile' import isDotdir from 'is-dotdir' -import { AssembledOptions, AnalyzedEntity, AnyAnalyzedFile } from './types' +import type { AssembledOptions, AnalyzedEntity, AnyAnalyzedFile } from './types' const shouldSkip = ( relativeDir: string, @@ -18,7 +18,7 @@ const shouldSkip = ( return false } -const isBlacklisted = ( +const isBlocklisted = ( relativeDir: string, filename: string, options: AssembledOptions @@ -155,7 +155,7 @@ export const shouldAnalyzeEntity = ( return false } - const blacklisted = isBlacklisted(relativeDir, filename, options) + const blacklisted = isBlocklisted(relativeDir, filename, options) if (blacklisted) { return false } diff --git a/test/codehawk.test.js b/test/codehawk.test.js index d670b39..6f8ab72 100644 --- a/test/codehawk.test.js +++ b/test/codehawk.test.js @@ -1,5 +1,5 @@ const fs = require('fs') -const { analyzeProject, calculateComplexity, resultsAsTable } = require('../build/codehawk') +const { analyzeProject, calculateComplexity, generateBadge } = require('../build/codehawk') const cwd = process.cwd() const outputMatchesResult = (projectPath) => { @@ -9,10 +9,10 @@ const outputMatchesResult = (projectPath) => { const expectedRaw = fs.readFileSync(`${cwd}/${projectPath}/expected.json`) const expected = JSON.parse(expectedRaw) - expect(output.results).toEqual(expected.results) + expect(output.fullResultsTree).toEqual(expected.fullResultsTree) - const asTable = resultsAsTable(output.results); - console.log(asTable); + generateBadge(output.summary) + expect('generateBadge did not throw').toBeTruthy() } const STATIC_SAMPLE = ` diff --git a/yarn.lock b/yarn.lock index 4d1c5ae..b1746fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -108,6 +108,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.1.tgz#ec5a5cf0eec925b66c60580328b122c01230a127" integrity sha512-fvoGeXt0bJc7VMWZGCAEBEMo/HAjW2mP8apF5eXK0wSqwLAVHAISCWRoLMBMUs2kqeaG77jltVqu4Hn8Egl3nA== +"@babel/helper-plugin-utils@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375" + integrity sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg== + "@babel/helper-replace-supers@^7.10.1": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.10.1.tgz#ec6859d20c5d8087f6a2dc4e014db7228975f13d" @@ -182,6 +187,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.1" +"@babel/plugin-syntax-import-meta@^7.8.3": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" + integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" @@ -231,6 +243,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-top-level-await@^7.8.3": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.12.1.tgz#dd6c0b357ac1bb142d98537450a319625d13d2a0" + integrity sha512-i7ooMZFS+a/Om0crxZodrTzNEPJHZrlMVGMTEpFAj6rYY/bKCddB0Dk/YxfPuYXOopuhKk/e1jV6h+WUU9XN3A== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-typescript@^7.10.1": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.10.1.tgz#5e82bc27bb4202b93b949b029e699db536733810" @@ -309,169 +328,174 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw== -"@jest/console@^26.0.1": - version "26.0.1" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-26.0.1.tgz#62b3b2fa8990f3cbffbef695c42ae9ddbc8f4b39" - integrity sha512-9t1KUe/93coV1rBSxMmBAOIK3/HVpwxArCA1CxskKyRiv6o8J70V8C/V3OJminVCTa2M0hQI9AWRd5wxu2dAHw== +"@jest/console@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-26.6.2.tgz#4e04bc464014358b03ab4937805ee36a0aeb98f2" + integrity sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g== dependencies: - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" + "@types/node" "*" chalk "^4.0.0" - jest-message-util "^26.0.1" - jest-util "^26.0.1" + jest-message-util "^26.6.2" + jest-util "^26.6.2" slash "^3.0.0" -"@jest/core@^26.0.1": - version "26.0.1" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-26.0.1.tgz#aa538d52497dfab56735efb00e506be83d841fae" - integrity sha512-Xq3eqYnxsG9SjDC+WLeIgf7/8KU6rddBxH+SCt18gEpOhAGYC/Mq+YbtlNcIdwjnnT+wDseXSbU0e5X84Y4jTQ== +"@jest/core@^26.6.3": + version "26.6.3" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-26.6.3.tgz#7639fcb3833d748a4656ada54bde193051e45fad" + integrity sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw== dependencies: - "@jest/console" "^26.0.1" - "@jest/reporters" "^26.0.1" - "@jest/test-result" "^26.0.1" - "@jest/transform" "^26.0.1" - "@jest/types" "^26.0.1" + "@jest/console" "^26.6.2" + "@jest/reporters" "^26.6.2" + "@jest/test-result" "^26.6.2" + "@jest/transform" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" exit "^0.1.2" graceful-fs "^4.2.4" - jest-changed-files "^26.0.1" - jest-config "^26.0.1" - jest-haste-map "^26.0.1" - jest-message-util "^26.0.1" + jest-changed-files "^26.6.2" + jest-config "^26.6.3" + jest-haste-map "^26.6.2" + jest-message-util "^26.6.2" jest-regex-util "^26.0.0" - jest-resolve "^26.0.1" - jest-resolve-dependencies "^26.0.1" - jest-runner "^26.0.1" - jest-runtime "^26.0.1" - jest-snapshot "^26.0.1" - jest-util "^26.0.1" - jest-validate "^26.0.1" - jest-watcher "^26.0.1" + jest-resolve "^26.6.2" + jest-resolve-dependencies "^26.6.3" + jest-runner "^26.6.3" + jest-runtime "^26.6.3" + jest-snapshot "^26.6.2" + jest-util "^26.6.2" + jest-validate "^26.6.2" + jest-watcher "^26.6.2" micromatch "^4.0.2" p-each-series "^2.1.0" rimraf "^3.0.0" slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^26.0.1": - version "26.0.1" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-26.0.1.tgz#82f519bba71959be9b483675ee89de8c8f72a5c8" - integrity sha512-xBDxPe8/nx251u0VJ2dFAFz2H23Y98qdIaNwnMK6dFQr05jc+Ne/2np73lOAx+5mSBO/yuQldRrQOf6hP1h92g== +"@jest/environment@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-26.6.2.tgz#ba364cc72e221e79cc8f0a99555bf5d7577cf92c" + integrity sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA== dependencies: - "@jest/fake-timers" "^26.0.1" - "@jest/types" "^26.0.1" - jest-mock "^26.0.1" + "@jest/fake-timers" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" + jest-mock "^26.6.2" -"@jest/fake-timers@^26.0.1": - version "26.0.1" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-26.0.1.tgz#f7aeff13b9f387e9d0cac9a8de3bba538d19d796" - integrity sha512-Oj/kCBnTKhm7CR+OJSjZty6N1bRDr9pgiYQr4wY221azLz5PHi08x/U+9+QpceAYOWheauLP8MhtSVFrqXQfhg== +"@jest/fake-timers@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-26.6.2.tgz#459c329bcf70cee4af4d7e3f3e67848123535aad" + integrity sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA== dependencies: - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" "@sinonjs/fake-timers" "^6.0.1" - jest-message-util "^26.0.1" - jest-mock "^26.0.1" - jest-util "^26.0.1" + "@types/node" "*" + jest-message-util "^26.6.2" + jest-mock "^26.6.2" + jest-util "^26.6.2" -"@jest/globals@^26.0.1": - version "26.0.1" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-26.0.1.tgz#3f67b508a7ce62b6e6efc536f3d18ec9deb19a9c" - integrity sha512-iuucxOYB7BRCvT+TYBzUqUNuxFX1hqaR6G6IcGgEqkJ5x4htNKo1r7jk1ji9Zj8ZMiMw0oB5NaA7k5Tx6MVssA== +"@jest/globals@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-26.6.2.tgz#5b613b78a1aa2655ae908eba638cc96a20df720a" + integrity sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA== dependencies: - "@jest/environment" "^26.0.1" - "@jest/types" "^26.0.1" - expect "^26.0.1" + "@jest/environment" "^26.6.2" + "@jest/types" "^26.6.2" + expect "^26.6.2" -"@jest/reporters@^26.0.1": - version "26.0.1" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-26.0.1.tgz#14ae00e7a93e498cec35b0c00ab21c375d9b078f" - integrity sha512-NWWy9KwRtE1iyG/m7huiFVF9YsYv/e+mbflKRV84WDoJfBqUrNRyDbL/vFxQcYLl8IRqI4P3MgPn386x76Gf2g== +"@jest/reporters@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-26.6.2.tgz#1f518b99637a5f18307bd3ecf9275f6882a667f6" + integrity sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^26.0.1" - "@jest/test-result" "^26.0.1" - "@jest/transform" "^26.0.1" - "@jest/types" "^26.0.1" + "@jest/console" "^26.6.2" + "@jest/test-result" "^26.6.2" + "@jest/transform" "^26.6.2" + "@jest/types" "^26.6.2" chalk "^4.0.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" glob "^7.1.2" graceful-fs "^4.2.4" istanbul-lib-coverage "^3.0.0" - istanbul-lib-instrument "^4.0.0" + istanbul-lib-instrument "^4.0.3" istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.0.2" - jest-haste-map "^26.0.1" - jest-resolve "^26.0.1" - jest-util "^26.0.1" - jest-worker "^26.0.0" + jest-haste-map "^26.6.2" + jest-resolve "^26.6.2" + jest-util "^26.6.2" + jest-worker "^26.6.2" slash "^3.0.0" source-map "^0.6.0" string-length "^4.0.1" terminal-link "^2.0.0" - v8-to-istanbul "^4.1.3" + v8-to-istanbul "^7.0.0" optionalDependencies: - node-notifier "^7.0.0" + node-notifier "^8.0.0" -"@jest/source-map@^26.0.0": - version "26.0.0" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-26.0.0.tgz#fd7706484a7d3faf7792ae29783933bbf48a4749" - integrity sha512-S2Z+Aj/7KOSU2TfW0dyzBze7xr95bkm5YXNUqqCek+HE0VbNNSNzrRwfIi5lf7wvzDTSS0/ib8XQ1krFNyYgbQ== +"@jest/source-map@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-26.6.2.tgz#29af5e1e2e324cafccc936f218309f54ab69d535" + integrity sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA== dependencies: callsites "^3.0.0" graceful-fs "^4.2.4" source-map "^0.6.0" -"@jest/test-result@^26.0.1": - version "26.0.1" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-26.0.1.tgz#1ffdc1ba4bc289919e54b9414b74c9c2f7b2b718" - integrity sha512-oKwHvOI73ICSYRPe8WwyYPTtiuOAkLSbY8/MfWF3qDEd/sa8EDyZzin3BaXTqufir/O/Gzea4E8Zl14XU4Mlyg== +"@jest/test-result@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-26.6.2.tgz#55da58b62df134576cc95476efa5f7949e3f5f18" + integrity sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ== dependencies: - "@jest/console" "^26.0.1" - "@jest/types" "^26.0.1" + "@jest/console" "^26.6.2" + "@jest/types" "^26.6.2" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^26.0.1": - version "26.0.1" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-26.0.1.tgz#b0563424728f3fe9e75d1442b9ae4c11da73f090" - integrity sha512-ssga8XlwfP8YjbDcmVhwNlrmblddMfgUeAkWIXts1V22equp2GMIHxm7cyeD5Q/B0ZgKPK/tngt45sH99yLLGg== +"@jest/test-sequencer@^26.6.3": + version "26.6.3" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz#98e8a45100863886d074205e8ffdc5a7eb582b17" + integrity sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw== dependencies: - "@jest/test-result" "^26.0.1" + "@jest/test-result" "^26.6.2" graceful-fs "^4.2.4" - jest-haste-map "^26.0.1" - jest-runner "^26.0.1" - jest-runtime "^26.0.1" + jest-haste-map "^26.6.2" + jest-runner "^26.6.3" + jest-runtime "^26.6.3" -"@jest/transform@^26.0.1": - version "26.0.1" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-26.0.1.tgz#0e3ecbb34a11cd4b2080ed0a9c4856cf0ceb0639" - integrity sha512-pPRkVkAQ91drKGbzCfDOoHN838+FSbYaEAvBXvKuWeeRRUD8FjwXkqfUNUZL6Ke48aA/1cqq/Ni7kVMCoqagWA== +"@jest/transform@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-26.6.2.tgz#5ac57c5fa1ad17b2aae83e73e45813894dcf2e4b" + integrity sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA== dependencies: "@babel/core" "^7.1.0" - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" babel-plugin-istanbul "^6.0.0" chalk "^4.0.0" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" graceful-fs "^4.2.4" - jest-haste-map "^26.0.1" + jest-haste-map "^26.6.2" jest-regex-util "^26.0.0" - jest-util "^26.0.1" + jest-util "^26.6.2" micromatch "^4.0.2" pirates "^4.0.1" slash "^3.0.0" source-map "^0.6.1" write-file-atomic "^3.0.0" -"@jest/types@^26.0.1": - version "26.0.1" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-26.0.1.tgz#b78333fbd113fa7aec8d39de24f88de8686dac67" - integrity sha512-IbtjvqI9+eS1qFnOIEL7ggWmT+iK/U+Vde9cGWtYb/b6XgKb3X44ZAe/z9YZzoAAZ/E92m0DqrilF934IGNnQA== +"@jest/types@^26.6.2": + version "26.6.2" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-26.6.2.tgz#bef5a532030e1d88a2f5a6d933f84e97226ed48e" + integrity sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ== dependencies: "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^1.1.1" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" "@types/yargs" "^15.0.0" chalk "^4.0.0" @@ -489,6 +513,17 @@ dependencies: "@sinonjs/commons" "^1.7.0" +"@types/babel__core@^7.0.0": + version "7.1.12" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.12.tgz#4d8e9e51eb265552a7e4f1ff2219ab6133bdfb2d" + integrity sha512-wMTHiiTiBAAPebqaPiPDLFA4LYPKr6Ph0Xq/6rq1Ur3v66HXyG+clfR9CNETkD7MQS8ZHvpQOtA53DLws5WAEQ== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + "@types/babel__generator" "*" + "@types/babel__template" "*" + "@types/babel__traverse" "*" + "@types/babel__core@^7.1.7", "@types/babel__core@^7.1.8": version "7.1.8" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.8.tgz#057f725aca3641f49fc11c7a87a9de5ec588a5d7" @@ -522,6 +557,13 @@ dependencies: "@babel/types" "^7.3.0" +"@types/babel__traverse@^7.0.4": + version "7.11.0" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.11.0.tgz#b9a1efa635201ba9bc850323a8793ee2d36c04a0" + integrity sha512-kSjgDMZONiIfSH1Nxcr5JIRMwUetDki63FSQfpTCz8ogF3Ulqm8+mr5f78dUYs6vMiB6gBusQqfQmBvHZj/lwg== + dependencies: + "@babel/types" "^7.3.0" + "@types/color-name@^1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" @@ -561,12 +603,11 @@ dependencies: "@types/istanbul-lib-coverage" "*" -"@types/istanbul-reports@^1.1.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-1.1.2.tgz#e875cc689e47bce549ec81f3df5e6f6f11cfaeb2" - integrity sha512-P/W9yOX/3oPZSpaYOCQzGqgCQRXn0FFO/V8bWrCQs+wLmvVVxk6CRBXALEvNs9OHIatlnlFokfhuDo2ug01ciw== +"@types/istanbul-reports@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.0.tgz#508b13aa344fa4976234e75dddcc34925737d821" + integrity sha512-nwKNbvnwJ2/mndE9ItP/zc2TCzw6uuodnF4EHYWD+gCQDVBuRQL5UzbZD0/ezy1iKsFU2ZQiDqg4M9dN4+wZgA== dependencies: - "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" "@types/json-schema@^7.0.3": @@ -594,10 +635,10 @@ resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.0.1.tgz#b6e98083f13faa1e5231bfa3bdb1b0feff536b6d" integrity sha512-boy4xPNEtiw6N3abRhBi/e7hNvy3Tt8E9ZRAQrwAGzoCGZS/1wjo9KY7JHhnfnEsG5wSjDbymCozUM9a3ea7OQ== -"@types/stack-utils@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e" - integrity sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw== +"@types/stack-utils@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.0.tgz#7036640b4e21cc2f259ae826ce843d277dad8cff" + integrity sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw== "@types/yargs-parser@*": version "15.0.0" @@ -835,16 +876,16 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.10.0.tgz#a17b3a8ea811060e74d47d306122400ad4497ae2" integrity sha512-3YDiu347mtVtjpyV3u5kVqQLP242c06zwDOgpeRnybmXlYYsLbtTrUBUm8i8srONt+FWobl5aibnU1030PeeuA== -babel-jest@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-26.0.1.tgz#450139ce4b6c17174b136425bda91885c397bc46" - integrity sha512-Z4GGmSNQ8pX3WS1O+6v3fo41YItJJZsVxG5gIQ+HuB/iuAQBJxMTHTwz292vuYws1LnHfwSRgoqI+nxdy/pcvw== +babel-jest@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-26.6.3.tgz#d87d25cb0037577a0c89f82e5755c5d293c01056" + integrity sha512-pl4Q+GAVOHwvjrck6jKjvmGhnO3jHX/xuB9d27f+EJZ/6k+6nMuPjorrYp7s++bKKdANwzElBWnLWaObvTnaZA== dependencies: - "@jest/transform" "^26.0.1" - "@jest/types" "^26.0.1" + "@jest/transform" "^26.6.2" + "@jest/types" "^26.6.2" "@types/babel__core" "^7.1.7" babel-plugin-istanbul "^6.0.0" - babel-preset-jest "^26.0.0" + babel-preset-jest "^26.6.2" chalk "^4.0.0" graceful-fs "^4.2.4" slash "^3.0.0" @@ -860,23 +901,25 @@ babel-plugin-istanbul@^6.0.0: istanbul-lib-instrument "^4.0.0" test-exclude "^6.0.0" -babel-plugin-jest-hoist@^26.0.0: - version "26.0.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.0.0.tgz#fd1d35f95cf8849fc65cb01b5e58aedd710b34a8" - integrity sha512-+AuoehOrjt9irZL7DOt2+4ZaTM6dlu1s5TTS46JBa0/qem4dy7VNW3tMb96qeEqcIh20LD73TVNtmVEeymTG7w== +babel-plugin-jest-hoist@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.6.2.tgz#8185bd030348d254c6d7dd974355e6a28b21e62d" + integrity sha512-PO9t0697lNTmcEHH69mdtYiOIkkOlj9fySqfO3K1eCcdISevLAE0xY59VLLUj0SoiPiTX/JU2CYFpILydUa5Lw== dependencies: "@babel/template" "^7.3.3" "@babel/types" "^7.3.3" + "@types/babel__core" "^7.0.0" "@types/babel__traverse" "^7.0.6" -babel-preset-current-node-syntax@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.2.tgz#fb4a4c51fe38ca60fede1dc74ab35eb843cb41d6" - integrity sha512-u/8cS+dEiK1SFILbOC8/rUI3ml9lboKuuMvZ/4aQnQmhecQAgPw5ew066C1ObnEAUmlx7dv/s2z52psWEtLNiw== +babel-preset-current-node-syntax@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" + integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== dependencies: "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-bigint" "^7.8.3" "@babel/plugin-syntax-class-properties" "^7.8.3" + "@babel/plugin-syntax-import-meta" "^7.8.3" "@babel/plugin-syntax-json-strings" "^7.8.3" "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" @@ -884,14 +927,15 @@ babel-preset-current-node-syntax@^0.1.2: "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^26.0.0: - version "26.0.0" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-26.0.0.tgz#1eac82f513ad36c4db2e9263d7c485c825b1faa6" - integrity sha512-9ce+DatAa31DpR4Uir8g4Ahxs5K4W4L8refzt+qHWQANb6LhGcAEfIFgLUwk67oya2cCUd6t4eUMtO/z64ocNw== +babel-preset-jest@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-26.6.2.tgz#747872b1171df032252426586881d62d31798fee" + integrity sha512-YvdtlVm9t3k777c5NPQIv6cxFFFapys25HiUmuSgHwIZhfifweR5c5Sf5nwE3MAbfu327CYSvps8Yx6ANLyleQ== dependencies: - babel-plugin-jest-hoist "^26.0.0" - babel-preset-current-node-syntax "^0.1.2" + babel-plugin-jest-hoist "^26.6.2" + babel-preset-current-node-syntax "^1.0.0" babel-runtime@^6.0.0: version "6.26.0" @@ -908,6 +952,11 @@ backbone-esnext-events@<1.0.0: dependencies: babel-runtime "^6.0.0" +badgen@^3.2.2: + version "3.2.2" + resolved "https://registry.yarnpkg.com/badgen/-/badgen-3.2.2.tgz#7556b520055c4952ee46229c57d7a1cc71a85748" + integrity sha512-MfBNhOzp+qbTg/3BAeaK1g+VE3uZ0CRfqMyrfyI3JUBz7b+DwxrZbYQdz5JQnibRih9YOVzXuVJl3A3xaWXfFQ== + balanced-match@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" @@ -1063,6 +1112,11 @@ ci-info@^2.0.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== +cjs-module-lexer@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz#4186fcca0eae175970aee870b9fe2d6cf8d5655f" + integrity sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw== + class-utils@^0.3.5: version "0.3.6" resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" @@ -1316,10 +1370,10 @@ detect-newline@^3.0.0: resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== -diff-sequences@^26.0.0: - version "26.0.0" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.0.0.tgz#0760059a5c287637b842bd7085311db7060e88a6" - integrity sha512-JC/eHYEC3aSS0vZGjuoc4vHA0yAQTzhQQldXMeMF+JlxLGJlCO38Gma82NV9gk1jGFz8mDzUMeaKXvjRRdJ2dg== +diff-sequences@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.6.2.tgz#48ba99157de1923412eed41db6b6d4aa9ca7c0b1" + integrity sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q== doctrine@1.5.0: version "1.5.0" @@ -1361,6 +1415,11 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" +emittery@^0.7.1: + version "0.7.2" + resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.7.2.tgz#25595908e13af0f5674ab419396e2fb394cdfa82" + integrity sha512-A8OG5SR/ij3SsJdWDJdkkSYUjQdCUx6APQXem0SaEePBSRg4eymGYwBkKo1Y6DU+af/Jn2dBQqDBvjnr9Vi8nQ== + emoji-regex@^7.0.1: version "7.0.3" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" @@ -1708,16 +1767,16 @@ expand-brackets@^2.1.4: snapdragon "^0.8.1" to-regex "^3.0.1" -expect@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/expect/-/expect-26.0.1.tgz#18697b9611a7e2725e20ba3ceadda49bc9865421" - integrity sha512-QcCy4nygHeqmbw564YxNbHTJlXh47dVID2BUP52cZFpLU9zHViMFK6h07cC1wf7GYCTIigTdAXhVua8Yl1FkKg== +expect@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/expect/-/expect-26.6.2.tgz#c6b996bf26bf3fe18b67b2d0f51fc981ba934417" + integrity sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA== dependencies: - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" ansi-styles "^4.0.0" - jest-get-type "^26.0.0" - jest-matcher-utils "^26.0.1" - jest-message-util "^26.0.1" + jest-get-type "^26.3.0" + jest-matcher-utils "^26.6.2" + jest-message-util "^26.6.2" jest-regex-util "^26.0.0" extend-shallow@^2.0.1: @@ -2210,6 +2269,13 @@ is-ci@^2.0.0: dependencies: ci-info "^2.0.0" +is-core-module@^2.1.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a" + integrity sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ== + dependencies: + has "^1.0.3" + is-data-descriptor@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" @@ -2368,7 +2434,7 @@ is-windows@^1.0.2: resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== -is-wsl@^2.1.1: +is-wsl@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== @@ -2407,7 +2473,7 @@ istanbul-lib-coverage@^3.0.0: resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz#f5944a37c70b550b02a78a5c3b2055b280cec8ec" integrity sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg== -istanbul-lib-instrument@^4.0.0: +istanbul-lib-instrument@^4.0.0, istanbul-lib-instrument@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz#873c6fff897450118222774696a3f28902d77c1d" integrity sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ== @@ -2443,67 +2509,67 @@ istanbul-reports@^3.0.2: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -jest-changed-files@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-26.0.1.tgz#1334630c6a1ad75784120f39c3aa9278e59f349f" - integrity sha512-q8LP9Sint17HaE2LjxQXL+oYWW/WeeXMPE2+Op9X3mY8IEGFVc14xRxFjUuXUbcPAlDLhtWdIEt59GdQbn76Hw== +jest-changed-files@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-26.6.2.tgz#f6198479e1cc66f22f9ae1e22acaa0b429c042d0" + integrity sha512-fDS7szLcY9sCtIip8Fjry9oGf3I2ht/QT21bAHm5Dmf0mD4X3ReNUf17y+bO6fR8WgbIZTlbyG1ak/53cbRzKQ== dependencies: - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" execa "^4.0.0" throat "^5.0.0" -jest-cli@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-26.0.1.tgz#3a42399a4cbc96a519b99ad069a117d955570cac" - integrity sha512-pFLfSOBcbG9iOZWaMK4Een+tTxi/Wcm34geqZEqrst9cZDkTQ1LZ2CnBrTlHWuYAiTMFr0EQeK52ScyFU8wK+w== +jest-cli@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-26.6.3.tgz#43117cfef24bc4cd691a174a8796a532e135e92a" + integrity sha512-GF9noBSa9t08pSyl3CY4frMrqp+aQXFGFkf5hEPbh/pIUFYWMK6ZLTfbmadxJVcJrdRoChlWQsA2VkJcDFK8hg== dependencies: - "@jest/core" "^26.0.1" - "@jest/test-result" "^26.0.1" - "@jest/types" "^26.0.1" + "@jest/core" "^26.6.3" + "@jest/test-result" "^26.6.2" + "@jest/types" "^26.6.2" chalk "^4.0.0" exit "^0.1.2" graceful-fs "^4.2.4" import-local "^3.0.2" is-ci "^2.0.0" - jest-config "^26.0.1" - jest-util "^26.0.1" - jest-validate "^26.0.1" + jest-config "^26.6.3" + jest-util "^26.6.2" + jest-validate "^26.6.2" prompts "^2.0.1" - yargs "^15.3.1" + yargs "^15.4.1" -jest-config@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-26.0.1.tgz#096a3d4150afadf719d1fab00e9a6fb2d6d67507" - integrity sha512-9mWKx2L1LFgOXlDsC4YSeavnblN6A4CPfXFiobq+YYLaBMymA/SczN7xYTSmLaEYHZOcB98UdoN4m5uNt6tztg== +jest-config@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-26.6.3.tgz#64f41444eef9eb03dc51d5c53b75c8c71f645349" + integrity sha512-t5qdIj/bCj2j7NFVHb2nFB4aUdfucDn3JRKgrZnplb8nieAirAzRSHP8uDEd+qV6ygzg9Pz4YG7UTJf94LPSyg== dependencies: "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^26.0.1" - "@jest/types" "^26.0.1" - babel-jest "^26.0.1" + "@jest/test-sequencer" "^26.6.3" + "@jest/types" "^26.6.2" + babel-jest "^26.6.3" chalk "^4.0.0" deepmerge "^4.2.2" glob "^7.1.1" graceful-fs "^4.2.4" - jest-environment-jsdom "^26.0.1" - jest-environment-node "^26.0.1" - jest-get-type "^26.0.0" - jest-jasmine2 "^26.0.1" + jest-environment-jsdom "^26.6.2" + jest-environment-node "^26.6.2" + jest-get-type "^26.3.0" + jest-jasmine2 "^26.6.3" jest-regex-util "^26.0.0" - jest-resolve "^26.0.1" - jest-util "^26.0.1" - jest-validate "^26.0.1" + jest-resolve "^26.6.2" + jest-util "^26.6.2" + jest-validate "^26.6.2" micromatch "^4.0.2" - pretty-format "^26.0.1" + pretty-format "^26.6.2" -jest-diff@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-26.0.1.tgz#c44ab3cdd5977d466de69c46929e0e57f89aa1de" - integrity sha512-odTcHyl5X+U+QsczJmOjWw5tPvww+y9Yim5xzqxVl/R1j4z71+fHW4g8qu1ugMmKdFdxw+AtQgs5mupPnzcIBQ== +jest-diff@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-26.6.2.tgz#1aa7468b52c3a68d7d5c5fdcdfcd5e49bd164394" + integrity sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA== dependencies: chalk "^4.0.0" - diff-sequences "^26.0.0" - jest-get-type "^26.0.0" - pretty-format "^26.0.1" + diff-sequences "^26.6.2" + jest-get-type "^26.3.0" + pretty-format "^26.6.2" jest-docblock@^26.0.0: version "26.0.0" @@ -2512,296 +2578,309 @@ jest-docblock@^26.0.0: dependencies: detect-newline "^3.0.0" -jest-each@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-26.0.1.tgz#633083061619302fc90dd8f58350f9d77d67be04" - integrity sha512-OTgJlwXCAR8NIWaXFL5DBbeS4QIYPuNASkzSwMCJO+ywo9BEa6TqkaSWsfR7VdbMLdgYJqSfQcIyjJCNwl5n4Q== +jest-each@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-26.6.2.tgz#02526438a77a67401c8a6382dfe5999952c167cb" + integrity sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A== dependencies: - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" chalk "^4.0.0" - jest-get-type "^26.0.0" - jest-util "^26.0.1" - pretty-format "^26.0.1" - -jest-environment-jsdom@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-26.0.1.tgz#217690852e5bdd7c846a4e3b50c8ffd441dfd249" - integrity sha512-u88NJa3aptz2Xix2pFhihRBAatwZHWwSiRLBDBQE1cdJvDjPvv7ZGA0NQBxWwDDn7D0g1uHqxM8aGgfA9Bx49g== - dependencies: - "@jest/environment" "^26.0.1" - "@jest/fake-timers" "^26.0.1" - "@jest/types" "^26.0.1" - jest-mock "^26.0.1" - jest-util "^26.0.1" - jsdom "^16.2.2" - -jest-environment-node@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-26.0.1.tgz#584a9ff623124ff6eeb49e0131b5f7612b310b13" - integrity sha512-4FRBWcSn5yVo0KtNav7+5NH5Z/tEgDLp7VRQVS5tCouWORxj+nI+1tOLutM07Zb2Qi7ja+HEDoOUkjBSWZg/IQ== - dependencies: - "@jest/environment" "^26.0.1" - "@jest/fake-timers" "^26.0.1" - "@jest/types" "^26.0.1" - jest-mock "^26.0.1" - jest-util "^26.0.1" - -jest-get-type@^26.0.0: - version "26.0.0" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-26.0.0.tgz#381e986a718998dbfafcd5ec05934be538db4039" - integrity sha512-zRc1OAPnnws1EVfykXOj19zo2EMw5Hi6HLbFCSjpuJiXtOWAYIjNsHVSbpQ8bDX7L5BGYGI8m+HmKdjHYFF0kg== + jest-get-type "^26.3.0" + jest-util "^26.6.2" + pretty-format "^26.6.2" + +jest-environment-jsdom@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz#78d09fe9cf019a357009b9b7e1f101d23bd1da3e" + integrity sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q== + dependencies: + "@jest/environment" "^26.6.2" + "@jest/fake-timers" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" + jest-mock "^26.6.2" + jest-util "^26.6.2" + jsdom "^16.4.0" + +jest-environment-node@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-26.6.2.tgz#824e4c7fb4944646356f11ac75b229b0035f2b0c" + integrity sha512-zhtMio3Exty18dy8ee8eJ9kjnRyZC1N4C1Nt/VShN1apyXc8rWGtJ9lI7vqiWcyyXS4BVSEn9lxAM2D+07/Tag== + dependencies: + "@jest/environment" "^26.6.2" + "@jest/fake-timers" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" + jest-mock "^26.6.2" + jest-util "^26.6.2" + +jest-get-type@^26.3.0: + version "26.3.0" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-26.3.0.tgz#e97dc3c3f53c2b406ca7afaed4493b1d099199e0" + integrity sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig== -jest-haste-map@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-26.0.1.tgz#40dcc03c43ac94d25b8618075804d09cd5d49de7" - integrity sha512-J9kBl/EdjmDsvyv7CiyKY5+DsTvVOScenprz/fGqfLg/pm1gdjbwwQ98nW0t+OIt+f+5nAVaElvn/6wP5KO7KA== +jest-haste-map@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-26.6.2.tgz#dd7e60fe7dc0e9f911a23d79c5ff7fb5c2cafeaa" + integrity sha512-easWIJXIw71B2RdR8kgqpjQrbMRWQBgiBwXYEhtGUTaX+doCjBheluShdDMeR8IMfJiTqH4+zfhtg29apJf/8w== dependencies: - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" "@types/graceful-fs" "^4.1.2" + "@types/node" "*" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.4" - jest-serializer "^26.0.0" - jest-util "^26.0.1" - jest-worker "^26.0.0" + jest-regex-util "^26.0.0" + jest-serializer "^26.6.2" + jest-util "^26.6.2" + jest-worker "^26.6.2" micromatch "^4.0.2" sane "^4.0.3" walker "^1.0.7" - which "^2.0.2" optionalDependencies: fsevents "^2.1.2" -jest-jasmine2@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-26.0.1.tgz#947c40ee816636ba23112af3206d6fa7b23c1c1c" - integrity sha512-ILaRyiWxiXOJ+RWTKupzQWwnPaeXPIoLS5uW41h18varJzd9/7I0QJGqg69fhTT1ev9JpSSo9QtalriUN0oqOg== +jest-jasmine2@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz#adc3cf915deacb5212c93b9f3547cd12958f2edd" + integrity sha512-kPKUrQtc8aYwBV7CqBg5pu+tmYXlvFlSFYn18ev4gPFtrRzB15N2gW/Roew3187q2w2eHuu0MU9TJz6w0/nPEg== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^26.0.1" - "@jest/source-map" "^26.0.0" - "@jest/test-result" "^26.0.1" - "@jest/types" "^26.0.1" + "@jest/environment" "^26.6.2" + "@jest/source-map" "^26.6.2" + "@jest/test-result" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" chalk "^4.0.0" co "^4.6.0" - expect "^26.0.1" + expect "^26.6.2" is-generator-fn "^2.0.0" - jest-each "^26.0.1" - jest-matcher-utils "^26.0.1" - jest-message-util "^26.0.1" - jest-runtime "^26.0.1" - jest-snapshot "^26.0.1" - jest-util "^26.0.1" - pretty-format "^26.0.1" + jest-each "^26.6.2" + jest-matcher-utils "^26.6.2" + jest-message-util "^26.6.2" + jest-runtime "^26.6.3" + jest-snapshot "^26.6.2" + jest-util "^26.6.2" + pretty-format "^26.6.2" throat "^5.0.0" -jest-leak-detector@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-26.0.1.tgz#79b19ab3f41170e0a78eb8fa754a116d3447fb8c" - integrity sha512-93FR8tJhaYIWrWsbmVN1pQ9ZNlbgRpfvrnw5LmgLRX0ckOJ8ut/I35CL7awi2ecq6Ca4lL59bEK9hr7nqoHWPA== +jest-leak-detector@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz#7717cf118b92238f2eba65054c8a0c9c653a91af" + integrity sha512-i4xlXpsVSMeKvg2cEKdfhh0H39qlJlP5Ex1yQxwF9ubahboQYMgTtz5oML35AVA3B4Eu+YsmwaiKVev9KCvLxg== dependencies: - jest-get-type "^26.0.0" - pretty-format "^26.0.1" + jest-get-type "^26.3.0" + pretty-format "^26.6.2" -jest-matcher-utils@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-26.0.1.tgz#12e1fc386fe4f14678f4cc8dbd5ba75a58092911" - integrity sha512-PUMlsLth0Azen8Q2WFTwnSkGh2JZ8FYuwijC8NR47vXKpsrKmA1wWvgcj1CquuVfcYiDEdj985u5Wmg7COEARw== +jest-matcher-utils@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz#8e6fd6e863c8b2d31ac6472eeb237bc595e53e7a" + integrity sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw== dependencies: chalk "^4.0.0" - jest-diff "^26.0.1" - jest-get-type "^26.0.0" - pretty-format "^26.0.1" + jest-diff "^26.6.2" + jest-get-type "^26.3.0" + pretty-format "^26.6.2" -jest-message-util@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-26.0.1.tgz#07af1b42fc450b4cc8e90e4c9cef11b33ce9b0ac" - integrity sha512-CbK8uQREZ8umUfo8+zgIfEt+W7HAHjQCoRaNs4WxKGhAYBGwEyvxuK81FXa7VeB9pwDEXeeKOB2qcsNVCAvB7Q== +jest-message-util@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-26.6.2.tgz#58173744ad6fc0506b5d21150b9be56ef001ca07" + integrity sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA== dependencies: "@babel/code-frame" "^7.0.0" - "@jest/types" "^26.0.1" - "@types/stack-utils" "^1.0.1" + "@jest/types" "^26.6.2" + "@types/stack-utils" "^2.0.0" chalk "^4.0.0" graceful-fs "^4.2.4" micromatch "^4.0.2" + pretty-format "^26.6.2" slash "^3.0.0" stack-utils "^2.0.2" -jest-mock@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-26.0.1.tgz#7fd1517ed4955397cf1620a771dc2d61fad8fd40" - integrity sha512-MpYTBqycuPYSY6xKJognV7Ja46/TeRbAZept987Zp+tuJvMN0YBWyyhG9mXyYQaU3SBI0TUlSaO5L3p49agw7Q== +jest-mock@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-26.6.2.tgz#d6cb712b041ed47fe0d9b6fc3474bc6543feb302" + integrity sha512-YyFjePHHp1LzpzYcmgqkJ0nm0gg/lJx2aZFzFy1S6eUqNjXsOqTK10zNRff2dNfssgokjkG65OlWNcIlgd3zew== dependencies: - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" + "@types/node" "*" -jest-pnp-resolver@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.1.tgz#ecdae604c077a7fbc70defb6d517c3c1c898923a" - integrity sha512-pgFw2tm54fzgYvc/OHrnysABEObZCUNFnhjoRjaVOCN8NYc032/gVjPaHD4Aq6ApkSieWtfKAFQtmDKAmhupnQ== +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== jest-regex-util@^26.0.0: version "26.0.0" resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-26.0.0.tgz#d25e7184b36e39fd466c3bc41be0971e821fee28" integrity sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A== -jest-resolve-dependencies@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-26.0.1.tgz#607ba7ccc32151d185a477cff45bf33bce417f0b" - integrity sha512-9d5/RS/ft0vB/qy7jct/qAhzJsr6fRQJyGAFigK3XD4hf9kIbEH5gks4t4Z7kyMRhowU6HWm/o8ILqhaHdSqLw== +jest-resolve-dependencies@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz#6680859ee5d22ee5dcd961fe4871f59f4c784fb6" + integrity sha512-pVwUjJkxbhe4RY8QEWzN3vns2kqyuldKpxlxJlzEYfKSvY6/bMvxoFrYYzUO1Gx28yKWN37qyV7rIoIp2h8fTg== dependencies: - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" jest-regex-util "^26.0.0" - jest-snapshot "^26.0.1" + jest-snapshot "^26.6.2" -jest-resolve@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-26.0.1.tgz#21d1ee06f9ea270a343a8893051aeed940cde736" - integrity sha512-6jWxk0IKZkPIVTvq6s72RH735P8f9eCJW3IM5CX/SJFeKq1p2cZx0U49wf/SdMlhaB/anann5J2nCJj6HrbezQ== +jest-resolve@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-26.6.2.tgz#a3ab1517217f469b504f1b56603c5bb541fbb507" + integrity sha512-sOxsZOq25mT1wRsfHcbtkInS+Ek7Q8jCHUB0ZUTP0tc/c41QHriU/NunqMfCUWsL4H3MHpvQD4QR9kSYhS7UvQ== dependencies: - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" chalk "^4.0.0" graceful-fs "^4.2.4" - jest-pnp-resolver "^1.2.1" - jest-util "^26.0.1" + jest-pnp-resolver "^1.2.2" + jest-util "^26.6.2" read-pkg-up "^7.0.1" - resolve "^1.17.0" + resolve "^1.18.1" slash "^3.0.0" -jest-runner@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-26.0.1.tgz#ea03584b7ae4bacfb7e533d680a575a49ae35d50" - integrity sha512-CApm0g81b49Znm4cZekYQK67zY7kkB4umOlI2Dx5CwKAzdgw75EN+ozBHRvxBzwo1ZLYZ07TFxkaPm+1t4d8jA== +jest-runner@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-26.6.3.tgz#2d1fed3d46e10f233fd1dbd3bfaa3fe8924be159" + integrity sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ== dependencies: - "@jest/console" "^26.0.1" - "@jest/environment" "^26.0.1" - "@jest/test-result" "^26.0.1" - "@jest/types" "^26.0.1" + "@jest/console" "^26.6.2" + "@jest/environment" "^26.6.2" + "@jest/test-result" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" chalk "^4.0.0" + emittery "^0.7.1" exit "^0.1.2" graceful-fs "^4.2.4" - jest-config "^26.0.1" + jest-config "^26.6.3" jest-docblock "^26.0.0" - jest-haste-map "^26.0.1" - jest-jasmine2 "^26.0.1" - jest-leak-detector "^26.0.1" - jest-message-util "^26.0.1" - jest-resolve "^26.0.1" - jest-runtime "^26.0.1" - jest-util "^26.0.1" - jest-worker "^26.0.0" + jest-haste-map "^26.6.2" + jest-leak-detector "^26.6.2" + jest-message-util "^26.6.2" + jest-resolve "^26.6.2" + jest-runtime "^26.6.3" + jest-util "^26.6.2" + jest-worker "^26.6.2" source-map-support "^0.5.6" throat "^5.0.0" -jest-runtime@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-26.0.1.tgz#a121a6321235987d294168e282d52b364d7d3f89" - integrity sha512-Ci2QhYFmANg5qaXWf78T2Pfo6GtmIBn2rRaLnklRyEucmPccmCKvS9JPljcmtVamsdMmkyNkVFb9pBTD6si9Lw== - dependencies: - "@jest/console" "^26.0.1" - "@jest/environment" "^26.0.1" - "@jest/fake-timers" "^26.0.1" - "@jest/globals" "^26.0.1" - "@jest/source-map" "^26.0.0" - "@jest/test-result" "^26.0.1" - "@jest/transform" "^26.0.1" - "@jest/types" "^26.0.1" +jest-runtime@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-26.6.3.tgz#4f64efbcfac398331b74b4b3c82d27d401b8fa2b" + integrity sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw== + dependencies: + "@jest/console" "^26.6.2" + "@jest/environment" "^26.6.2" + "@jest/fake-timers" "^26.6.2" + "@jest/globals" "^26.6.2" + "@jest/source-map" "^26.6.2" + "@jest/test-result" "^26.6.2" + "@jest/transform" "^26.6.2" + "@jest/types" "^26.6.2" "@types/yargs" "^15.0.0" chalk "^4.0.0" + cjs-module-lexer "^0.6.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" glob "^7.1.3" graceful-fs "^4.2.4" - jest-config "^26.0.1" - jest-haste-map "^26.0.1" - jest-message-util "^26.0.1" - jest-mock "^26.0.1" + jest-config "^26.6.3" + jest-haste-map "^26.6.2" + jest-message-util "^26.6.2" + jest-mock "^26.6.2" jest-regex-util "^26.0.0" - jest-resolve "^26.0.1" - jest-snapshot "^26.0.1" - jest-util "^26.0.1" - jest-validate "^26.0.1" + jest-resolve "^26.6.2" + jest-snapshot "^26.6.2" + jest-util "^26.6.2" + jest-validate "^26.6.2" slash "^3.0.0" strip-bom "^4.0.0" - yargs "^15.3.1" + yargs "^15.4.1" -jest-serializer@^26.0.0: - version "26.0.0" - resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-26.0.0.tgz#f6c521ddb976943b93e662c0d4d79245abec72a3" - integrity sha512-sQGXLdEGWFAE4wIJ2ZaIDb+ikETlUirEOBsLXdoBbeLhTHkZUJwgk3+M8eyFizhM6le43PDCCKPA1hzkSDo4cQ== +jest-serializer@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-26.6.2.tgz#d139aafd46957d3a448f3a6cdabe2919ba0742d1" + integrity sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g== dependencies: + "@types/node" "*" graceful-fs "^4.2.4" -jest-snapshot@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-26.0.1.tgz#1baa942bd83d47b837a84af7fcf5fd4a236da399" - integrity sha512-jxd+cF7+LL+a80qh6TAnTLUZHyQoWwEHSUFJjkw35u3Gx+BZUNuXhYvDqHXr62UQPnWo2P6fvQlLjsU93UKyxA== +jest-snapshot@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-26.6.2.tgz#f3b0af1acb223316850bd14e1beea9837fb39c84" + integrity sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og== dependencies: "@babel/types" "^7.0.0" - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" + "@types/babel__traverse" "^7.0.4" "@types/prettier" "^2.0.0" chalk "^4.0.0" - expect "^26.0.1" + expect "^26.6.2" graceful-fs "^4.2.4" - jest-diff "^26.0.1" - jest-get-type "^26.0.0" - jest-matcher-utils "^26.0.1" - jest-message-util "^26.0.1" - jest-resolve "^26.0.1" - make-dir "^3.0.0" + jest-diff "^26.6.2" + jest-get-type "^26.3.0" + jest-haste-map "^26.6.2" + jest-matcher-utils "^26.6.2" + jest-message-util "^26.6.2" + jest-resolve "^26.6.2" natural-compare "^1.4.0" - pretty-format "^26.0.1" + pretty-format "^26.6.2" semver "^7.3.2" -jest-util@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-26.0.1.tgz#72c4c51177b695fdd795ca072a6f94e3d7cef00a" - integrity sha512-byQ3n7ad1BO/WyFkYvlWQHTsomB6GIewBh8tlGtusiylAlaxQ1UpS0XYH0ngOyhZuHVLN79Qvl6/pMiDMSSG1g== +jest-util@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-26.6.2.tgz#907535dbe4d5a6cb4c47ac9b926f6af29576cbc1" + integrity sha512-MDW0fKfsn0OI7MS7Euz6h8HNDXVQ0gaM9uW6RjfDmd1DAFcaxX9OqIakHIqhbnmF08Cf2DLDG+ulq8YQQ0Lp0Q== dependencies: - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" + "@types/node" "*" chalk "^4.0.0" graceful-fs "^4.2.4" is-ci "^2.0.0" - make-dir "^3.0.0" + micromatch "^4.0.2" -jest-validate@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-26.0.1.tgz#a62987e1da5b7f724130f904725e22f4e5b2e23c" - integrity sha512-u0xRc+rbmov/VqXnX3DlkxD74rHI/CfS5xaV2VpeaVySjbb1JioNVOyly5b56q2l9ZKe7bVG5qWmjfctkQb0bA== +jest-validate@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-26.6.2.tgz#23d380971587150467342911c3d7b4ac57ab20ec" + integrity sha512-NEYZ9Aeyj0i5rQqbq+tpIOom0YS1u2MVu6+euBsvpgIme+FOfRmoC4R5p0JiAUpaFvFy24xgrpMknarR/93XjQ== dependencies: - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" camelcase "^6.0.0" chalk "^4.0.0" - jest-get-type "^26.0.0" + jest-get-type "^26.3.0" leven "^3.1.0" - pretty-format "^26.0.1" + pretty-format "^26.6.2" -jest-watcher@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-26.0.1.tgz#5b5e3ebbdf10c240e22a98af66d645631afda770" - integrity sha512-pdZPydsS8475f89kGswaNsN3rhP6lnC3/QDCppP7bg1L9JQz7oU9Mb/5xPETk1RHDCWeqmVC47M4K5RR7ejxFw== +jest-watcher@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-26.6.2.tgz#a5b683b8f9d68dbcb1d7dae32172d2cca0592975" + integrity sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ== dependencies: - "@jest/test-result" "^26.0.1" - "@jest/types" "^26.0.1" + "@jest/test-result" "^26.6.2" + "@jest/types" "^26.6.2" + "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" - jest-util "^26.0.1" + jest-util "^26.6.2" string-length "^4.0.1" -jest-worker@^26.0.0: - version "26.0.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.0.0.tgz#4920c7714f0a96c6412464718d0c58a3df3fb066" - integrity sha512-pPaYa2+JnwmiZjK9x7p9BoZht+47ecFCDFA/CJxspHzeDvQcfVBLWzCiWyo+EGrSiQMWZtCFo9iSvMZnAAo8vw== +jest-worker@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" + integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ== dependencies: + "@types/node" "*" merge-stream "^2.0.0" supports-color "^7.0.0" -jest@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/jest/-/jest-26.0.1.tgz#5c51a2e58dff7525b65f169721767173bf832694" - integrity sha512-29Q54kn5Bm7ZGKIuH2JRmnKl85YRigp0o0asTc6Sb6l2ch1DCXIeZTLLFy9ultJvhkTqbswF5DEx4+RlkmCxWg== +jest@^26.6.3: + version "26.6.3" + resolved "https://registry.yarnpkg.com/jest/-/jest-26.6.3.tgz#40e8fdbe48f00dfa1f0ce8121ca74b88ac9148ef" + integrity sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q== dependencies: - "@jest/core" "^26.0.1" + "@jest/core" "^26.6.3" import-local "^3.0.2" - jest-cli "^26.0.1" + jest-cli "^26.6.3" js-tokens@^4.0.0: version "4.0.0" @@ -2821,10 +2900,10 @@ jsbn@~0.1.0: resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= -jsdom@^16.2.2: - version "16.2.2" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.2.2.tgz#76f2f7541646beb46a938f5dc476b88705bedf2b" - integrity sha512-pDFQbcYtKBHxRaP55zGXCJWgFHkDAYbKcsXEK/3Icu9nKYZkutUXfLBwbD+09XDutkYSHcgfQLZ0qvpAAm9mvg== +jsdom@^16.4.0: + version "16.4.0" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.4.0.tgz#36005bde2d136f73eee1a830c6d45e55408edddb" + integrity sha512-lYMm3wYdgPhrl7pDcRmvzPhhrGVBeVhPIqeHjzeiHN3DFmD1RBpbExbi8vU7BJdH8VAZYovR8DMt0PNNDM7k8w== dependencies: abab "^2.0.3" acorn "^7.1.1" @@ -2846,7 +2925,7 @@ jsdom@^16.2.2: tough-cookie "^3.0.1" w3c-hr-time "^1.0.2" w3c-xmlserializer "^2.0.0" - webidl-conversions "^6.0.0" + webidl-conversions "^6.1.0" whatwg-encoding "^1.0.5" whatwg-mimetype "^2.3.0" whatwg-url "^8.0.0" @@ -3151,16 +3230,16 @@ node-modules-regexp@^1.0.0: resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40" integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA= -node-notifier@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-7.0.1.tgz#a355e33e6bebacef9bf8562689aed0f4230ca6f9" - integrity sha512-VkzhierE7DBmQEElhTGJIoiZa1oqRijOtgOlsXg32KrJRXsPy0NXFBqWGW/wTswnJlDCs5viRYaqWguqzsKcmg== +node-notifier@^8.0.0: + version "8.0.1" + resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-8.0.1.tgz#f86e89bbc925f2b068784b31f382afdc6ca56be1" + integrity sha512-BvEXF+UmsnAfYfoapKM9nGxnP+Wn7P91YfXmrKnfcYCx6VBeoN5Ez5Ogck6I8Bi5k4RlpqRYaw75pAwzX9OphA== dependencies: growly "^1.3.0" - is-wsl "^2.1.1" - semver "^7.2.1" + is-wsl "^2.2.0" + semver "^7.3.2" shellwords "^0.1.1" - uuid "^7.0.3" + uuid "^8.3.0" which "^2.0.2" normalize-package-data@^2.3.2, normalize-package-data@^2.5.0: @@ -3494,15 +3573,15 @@ prettier@^2.0.5: resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4" integrity sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg== -pretty-format@^26.0.1: - version "26.0.1" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.0.1.tgz#a4fe54fe428ad2fd3413ca6bbd1ec8c2e277e197" - integrity sha512-SWxz6MbupT3ZSlL0Po4WF/KujhQaVehijR2blyRDCzk9e45EaYMVhMBn49fnRuHxtkSpXTes1GxNpVmH86Bxfw== +pretty-format@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93" + integrity sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg== dependencies: - "@jest/types" "^26.0.1" + "@jest/types" "^26.6.2" ansi-regex "^5.0.0" ansi-styles "^4.0.0" - react-is "^16.12.0" + react-is "^17.0.1" progress@^2.0.0: version "2.0.3" @@ -3540,10 +3619,10 @@ qs@~6.5.2: resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== -react-is@^16.12.0: - version "16.13.1" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" - integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== +react-is@^17.0.1: + version "17.0.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.1.tgz#5b3531bd76a645a4c9fb6e693ed36419e3301339" + integrity sha512-NAnt2iGDXohE5LI7uBnLnqvLQMtzhkiAOLXTmv+qnF9Ky7xAPcX8Up/xWIhxvLVGJvuLiNc4xQLtuqDRzb4fSA== read-pkg-up@^2.0.0: version "2.0.0" @@ -3695,6 +3774,14 @@ resolve@^1.10.0, resolve@^1.10.1, resolve@^1.13.1, resolve@^1.17.0, resolve@^1.3 dependencies: path-parse "^1.0.6" +resolve@^1.18.1: + version "1.19.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c" + integrity sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg== + dependencies: + is-core-module "^2.1.0" + path-parse "^1.0.6" + restore-cursor@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" @@ -4306,10 +4393,10 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@^3.9.5: - version "3.9.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.5.tgz#586f0dba300cde8be52dd1ac4f7e1009c1b13f36" - integrity sha512-hSAifV3k+i6lEoCJ2k6R2Z/rp/H3+8sdmcn5NrS3/3kE7+RyZXm9aqvxWqjEXHAd8b0pShatpcdMTvEdvAJltQ== +typescript@^4.1.3: + version "4.1.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7" + integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg== typhonjs-ast-walker@^0.2.0: version "0.2.1" @@ -4408,20 +4495,20 @@ uuid@^3.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== -uuid@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-7.0.3.tgz#c5c9f2c8cf25dc0a372c4df1441c41f5bd0c680b" - integrity sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg== +uuid@^8.3.0: + version "8.3.2" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" + integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== v8-compile-cache@^2.0.3: version "2.1.1" resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz#54bc3cdd43317bca91e35dcaf305b1a7237de745" integrity sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ== -v8-to-istanbul@^4.1.3: - version "4.1.4" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-4.1.4.tgz#b97936f21c0e2d9996d4985e5c5156e9d4e49cd6" - integrity sha512-Rw6vJHj1mbdK8edjR7+zuJrpDtKIgNdAvTSAcpYfgMIw+u2dPDntD3dgN4XQFLU2/fvFQdzj+EeSGfd/jnY5fQ== +v8-to-istanbul@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-7.1.0.tgz#5b95cef45c0f83217ec79f8fc7ee1c8b486aee07" + integrity sha512-uXUVqNUCLa0AH1vuVxzi+MI4RfxEOKt9pBgKwHbgH7st8Kv2P1m+jvWNnektzBh5QShF3ODgKmUFCf38LnVz1g== dependencies: "@types/istanbul-lib-coverage" "^2.0.1" convert-source-map "^1.6.0" @@ -4475,7 +4562,7 @@ webidl-conversions@^5.0.0: resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff" integrity sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA== -webidl-conversions@^6.0.0: +webidl-conversions@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514" integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== @@ -4576,7 +4663,7 @@ y18n@^4.0.0: resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== -yargs-parser@^18.1.1: +yargs-parser@^18.1.2: version "18.1.3" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== @@ -4584,10 +4671,10 @@ yargs-parser@^18.1.1: camelcase "^5.0.0" decamelize "^1.2.0" -yargs@^15.3.1: - version "15.3.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.3.1.tgz#9505b472763963e54afe60148ad27a330818e98b" - integrity sha512-92O1HWEjw27sBfgmXiixJWT5hRBp2eobqXicLtPBIDBhYB+1HpwZlXmbW2luivBJHBzki+7VyCLRtAkScbTBQA== +yargs@^15.4.1: + version "15.4.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" + integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== dependencies: cliui "^6.0.0" decamelize "^1.2.0" @@ -4599,4 +4686,4 @@ yargs@^15.3.1: string-width "^4.2.0" which-module "^2.0.0" y18n "^4.0.0" - yargs-parser "^18.1.1" + yargs-parser "^18.1.2"