From d3e1aff9640fcc49a81f6e620022cb3bfcff01a2 Mon Sep 17 00:00:00 2001 From: Nick Colley Date: Fri, 18 Nov 2022 15:47:32 +0000 Subject: [PATCH] fix(reporter): ensure all reports are logged Reporters like vfile-reporter dont console log by default so we need to rearrange things to ensure that happens --- package-lock.json | 784 ++++++++++++++++++++++++++++++++++++++------- package.json | 4 +- src/rehype.js | 5 +- test/index.test.js | 53 ++- 4 files changed, 726 insertions(+), 120 deletions(-) diff --git a/package-lock.json b/package-lock.json index de3cc34..e93a27a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,9 @@ "remark-slug": "^7.0.1", "retext-repeated-words": "^4.2.0", "semantic-release": "^19.0.5", - "unist-util-visit": "^4.1.1" + "to-mock": "^1.6.2", + "unist-util-visit": "^4.1.1", + "vfile-reporter": "^7.0.4" }, "engines": { "node": ">= 16" @@ -1500,6 +1502,12 @@ "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", "dev": true }, + "node_modules/@types/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@types/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-dPWnWsf+kzIG140B8z2w3fr5D03TLWbOAFQl45xUpI3vcizeXriNR5VYkWZ+WTMsUHqZ9Xlt3hrxGNANFyNQfw==", + "dev": true + }, "node_modules/@types/unist": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz", @@ -7543,24 +7551,29 @@ }, "node_modules/npm/node_modules/@colors/colors": { "version": "1.5.0", + "dev": true, "inBundle": true, "license": "MIT", + "optional": true, "engines": { "node": ">=0.1.90" } }, "node_modules/npm/node_modules/@gar/promisify": { "version": "1.1.3", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/@isaacs/string-locale-compare": { "version": "1.1.0", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/@npmcli/arborist": { "version": "5.6.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7610,6 +7623,7 @@ }, "node_modules/npm/node_modules/@npmcli/ci-detect": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -7618,6 +7632,7 @@ }, "node_modules/npm/node_modules/@npmcli/config": { "version": "4.2.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7636,6 +7651,7 @@ }, "node_modules/npm/node_modules/@npmcli/disparity-colors": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7647,6 +7663,7 @@ }, "node_modules/npm/node_modules/@npmcli/fs": { "version": "2.1.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7659,6 +7676,7 @@ }, "node_modules/npm/node_modules/@npmcli/git": { "version": "3.0.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7678,6 +7696,7 @@ }, "node_modules/npm/node_modules/@npmcli/installed-package-contents": { "version": "1.0.7", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7693,6 +7712,7 @@ }, "node_modules/npm/node_modules/@npmcli/installed-package-contents/node_modules/npm-bundled": { "version": "1.1.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7701,6 +7721,7 @@ }, "node_modules/npm/node_modules/@npmcli/map-workspaces": { "version": "2.0.4", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7715,6 +7736,7 @@ }, "node_modules/npm/node_modules/@npmcli/metavuln-calculator": { "version": "3.1.1", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7729,6 +7751,7 @@ }, "node_modules/npm/node_modules/@npmcli/move-file": { "version": "2.0.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -7741,11 +7764,13 @@ }, "node_modules/npm/node_modules/@npmcli/name-from-folder": { "version": "1.0.1", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/@npmcli/node-gyp": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -7754,6 +7779,7 @@ }, "node_modules/npm/node_modules/@npmcli/package-json": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7765,6 +7791,7 @@ }, "node_modules/npm/node_modules/@npmcli/promise-spawn": { "version": "3.0.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7776,6 +7803,7 @@ }, "node_modules/npm/node_modules/@npmcli/query": { "version": "1.2.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7789,6 +7817,7 @@ }, "node_modules/npm/node_modules/@npmcli/run-script": { "version": "4.2.1", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7804,6 +7833,7 @@ }, "node_modules/npm/node_modules/@tootallnate/once": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -7812,11 +7842,13 @@ }, "node_modules/npm/node_modules/abbrev": { "version": "1.1.1", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/agent-base": { "version": "6.0.2", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -7828,6 +7860,7 @@ }, "node_modules/npm/node_modules/agentkeepalive": { "version": "4.2.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -7841,6 +7874,7 @@ }, "node_modules/npm/node_modules/aggregate-error": { "version": "3.1.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -7853,6 +7887,7 @@ }, "node_modules/npm/node_modules/ansi-regex": { "version": "5.0.1", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -7861,6 +7896,7 @@ }, "node_modules/npm/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -7875,16 +7911,19 @@ }, "node_modules/npm/node_modules/aproba": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/archy": { "version": "1.0.0", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/are-we-there-yet": { "version": "3.0.1", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7897,16 +7936,19 @@ }, "node_modules/npm/node_modules/asap": { "version": "2.0.6", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/balanced-match": { "version": "1.0.2", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/bin-links": { "version": "3.0.3", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7923,6 +7965,7 @@ }, "node_modules/npm/node_modules/bin-links/node_modules/npm-normalize-package-bin": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -7931,6 +7974,7 @@ }, "node_modules/npm/node_modules/binary-extensions": { "version": "2.2.0", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -7939,6 +7983,7 @@ }, "node_modules/npm/node_modules/brace-expansion": { "version": "2.0.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -7947,6 +7992,7 @@ }, "node_modules/npm/node_modules/builtins": { "version": "5.0.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -7955,6 +8001,7 @@ }, "node_modules/npm/node_modules/cacache": { "version": "16.1.3", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -7983,6 +8030,7 @@ }, "node_modules/npm/node_modules/chalk": { "version": "4.1.2", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -7998,6 +8046,7 @@ }, "node_modules/npm/node_modules/chownr": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -8006,6 +8055,7 @@ }, "node_modules/npm/node_modules/cidr-regex": { "version": "3.1.1", + "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { @@ -8017,6 +8067,7 @@ }, "node_modules/npm/node_modules/clean-stack": { "version": "2.2.0", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -8025,6 +8076,7 @@ }, "node_modules/npm/node_modules/cli-columns": { "version": "4.0.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8037,6 +8089,7 @@ }, "node_modules/npm/node_modules/cli-table3": { "version": "0.6.2", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8051,6 +8104,7 @@ }, "node_modules/npm/node_modules/clone": { "version": "1.0.4", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -8059,6 +8113,7 @@ }, "node_modules/npm/node_modules/cmd-shim": { "version": "5.0.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8070,6 +8125,7 @@ }, "node_modules/npm/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8081,11 +8137,13 @@ }, "node_modules/npm/node_modules/color-name": { "version": "1.1.4", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/color-support": { "version": "1.1.3", + "dev": true, "inBundle": true, "license": "ISC", "bin": { @@ -8094,6 +8152,7 @@ }, "node_modules/npm/node_modules/columnify": { "version": "1.6.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8106,21 +8165,25 @@ }, "node_modules/npm/node_modules/common-ancestor-path": { "version": "1.0.1", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/concat-map": { "version": "0.0.1", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/console-control-strings": { "version": "1.1.0", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/cssesc": { "version": "3.0.0", + "dev": true, "inBundle": true, "license": "MIT", "bin": { @@ -8132,6 +8195,7 @@ }, "node_modules/npm/node_modules/debug": { "version": "4.3.4", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8148,11 +8212,13 @@ }, "node_modules/npm/node_modules/debug/node_modules/ms": { "version": "2.1.2", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/debuglog": { "version": "1.0.1", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -8161,6 +8227,7 @@ }, "node_modules/npm/node_modules/defaults": { "version": "1.0.3", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8169,11 +8236,13 @@ }, "node_modules/npm/node_modules/delegates": { "version": "1.0.0", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/depd": { "version": "1.1.2", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -8182,6 +8251,7 @@ }, "node_modules/npm/node_modules/dezalgo": { "version": "1.0.4", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8191,6 +8261,7 @@ }, "node_modules/npm/node_modules/diff": { "version": "5.1.0", + "dev": true, "inBundle": true, "license": "BSD-3-Clause", "engines": { @@ -8199,19 +8270,23 @@ }, "node_modules/npm/node_modules/emoji-regex": { "version": "8.0.0", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/encoding": { "version": "0.1.13", + "dev": true, "inBundle": true, "license": "MIT", + "optional": true, "dependencies": { "iconv-lite": "^0.6.2" } }, "node_modules/npm/node_modules/env-paths": { "version": "2.2.1", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -8220,16 +8295,19 @@ }, "node_modules/npm/node_modules/err-code": { "version": "2.0.3", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/fastest-levenshtein": { "version": "1.0.12", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/fs-minipass": { "version": "2.1.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8241,16 +8319,19 @@ }, "node_modules/npm/node_modules/fs.realpath": { "version": "1.0.0", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/function-bind": { "version": "1.1.1", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/gauge": { "version": "4.0.4", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8269,6 +8350,7 @@ }, "node_modules/npm/node_modules/glob": { "version": "8.0.3", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8287,11 +8369,13 @@ }, "node_modules/npm/node_modules/graceful-fs": { "version": "4.2.10", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/has": { "version": "1.0.3", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8303,6 +8387,7 @@ }, "node_modules/npm/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -8311,11 +8396,13 @@ }, "node_modules/npm/node_modules/has-unicode": { "version": "2.0.1", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/hosted-git-info": { "version": "5.1.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8327,11 +8414,13 @@ }, "node_modules/npm/node_modules/http-cache-semantics": { "version": "4.1.0", + "dev": true, "inBundle": true, "license": "BSD-2-Clause" }, "node_modules/npm/node_modules/http-proxy-agent": { "version": "5.0.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8345,6 +8434,7 @@ }, "node_modules/npm/node_modules/https-proxy-agent": { "version": "5.0.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8357,6 +8447,7 @@ }, "node_modules/npm/node_modules/humanize-ms": { "version": "1.2.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8365,8 +8456,10 @@ }, "node_modules/npm/node_modules/iconv-lite": { "version": "0.6.3", + "dev": true, "inBundle": true, "license": "MIT", + "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -8376,6 +8469,7 @@ }, "node_modules/npm/node_modules/ignore-walk": { "version": "5.0.1", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8387,6 +8481,7 @@ }, "node_modules/npm/node_modules/imurmurhash": { "version": "0.1.4", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -8395,6 +8490,7 @@ }, "node_modules/npm/node_modules/indent-string": { "version": "4.0.0", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -8403,11 +8499,13 @@ }, "node_modules/npm/node_modules/infer-owner": { "version": "1.0.4", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/inflight": { "version": "1.0.6", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8417,11 +8515,13 @@ }, "node_modules/npm/node_modules/inherits": { "version": "2.0.4", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/ini": { "version": "3.0.1", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -8430,6 +8530,7 @@ }, "node_modules/npm/node_modules/init-package-json": { "version": "3.0.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8447,11 +8548,13 @@ }, "node_modules/npm/node_modules/ip": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/ip-regex": { "version": "4.3.0", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -8460,6 +8563,7 @@ }, "node_modules/npm/node_modules/is-cidr": { "version": "4.0.2", + "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { @@ -8471,6 +8575,7 @@ }, "node_modules/npm/node_modules/is-core-module": { "version": "2.10.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8482,6 +8587,7 @@ }, "node_modules/npm/node_modules/is-fullwidth-code-point": { "version": "3.0.0", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -8490,21 +8596,25 @@ }, "node_modules/npm/node_modules/is-lambda": { "version": "1.0.1", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/isexe": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/json-parse-even-better-errors": { "version": "2.3.1", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/json-stringify-nice": { "version": "1.1.4", + "dev": true, "inBundle": true, "license": "ISC", "funding": { @@ -8513,6 +8623,7 @@ }, "node_modules/npm/node_modules/jsonparse": { "version": "1.3.1", + "dev": true, "engines": [ "node >= 0.2.0" ], @@ -8521,16 +8632,19 @@ }, "node_modules/npm/node_modules/just-diff": { "version": "5.1.1", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/just-diff-apply": { "version": "5.4.1", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/libnpmaccess": { "version": "6.0.4", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8545,6 +8659,7 @@ }, "node_modules/npm/node_modules/libnpmdiff": { "version": "4.0.5", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8563,6 +8678,7 @@ }, "node_modules/npm/node_modules/libnpmexec": { "version": "4.0.13", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8587,6 +8703,7 @@ }, "node_modules/npm/node_modules/libnpmfund": { "version": "3.0.4", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8598,6 +8715,7 @@ }, "node_modules/npm/node_modules/libnpmhook": { "version": "8.0.4", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8610,6 +8728,7 @@ }, "node_modules/npm/node_modules/libnpmorg": { "version": "4.0.4", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8622,6 +8741,7 @@ }, "node_modules/npm/node_modules/libnpmpack": { "version": "4.1.3", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8635,6 +8755,7 @@ }, "node_modules/npm/node_modules/libnpmpublish": { "version": "6.0.5", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8650,6 +8771,7 @@ }, "node_modules/npm/node_modules/libnpmsearch": { "version": "5.0.4", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8661,6 +8783,7 @@ }, "node_modules/npm/node_modules/libnpmteam": { "version": "4.0.4", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8673,6 +8796,7 @@ }, "node_modules/npm/node_modules/libnpmversion": { "version": "3.0.7", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8688,6 +8812,7 @@ }, "node_modules/npm/node_modules/lru-cache": { "version": "7.13.2", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -8696,6 +8821,7 @@ }, "node_modules/npm/node_modules/make-fetch-happen": { "version": "10.2.1", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8722,6 +8848,7 @@ }, "node_modules/npm/node_modules/minimatch": { "version": "5.1.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8733,6 +8860,7 @@ }, "node_modules/npm/node_modules/minipass": { "version": "3.3.4", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8744,6 +8872,7 @@ }, "node_modules/npm/node_modules/minipass-collect": { "version": "1.0.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8755,6 +8884,7 @@ }, "node_modules/npm/node_modules/minipass-fetch": { "version": "2.1.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8771,6 +8901,7 @@ }, "node_modules/npm/node_modules/minipass-flush": { "version": "1.0.5", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8782,6 +8913,7 @@ }, "node_modules/npm/node_modules/minipass-json-stream": { "version": "1.0.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8791,6 +8923,7 @@ }, "node_modules/npm/node_modules/minipass-pipeline": { "version": "1.2.4", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8802,6 +8935,7 @@ }, "node_modules/npm/node_modules/minipass-sized": { "version": "1.0.3", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8813,6 +8947,7 @@ }, "node_modules/npm/node_modules/minizlib": { "version": "2.1.2", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8825,6 +8960,7 @@ }, "node_modules/npm/node_modules/mkdirp": { "version": "1.0.4", + "dev": true, "inBundle": true, "license": "MIT", "bin": { @@ -8836,6 +8972,7 @@ }, "node_modules/npm/node_modules/mkdirp-infer-owner": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8849,16 +8986,19 @@ }, "node_modules/npm/node_modules/ms": { "version": "2.1.3", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/mute-stream": { "version": "0.0.8", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/negotiator": { "version": "0.6.3", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -8867,6 +9007,7 @@ }, "node_modules/npm/node_modules/node-gyp": { "version": "9.1.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8890,6 +9031,7 @@ }, "node_modules/npm/node_modules/node-gyp/node_modules/brace-expansion": { "version": "1.1.11", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -8899,6 +9041,7 @@ }, "node_modules/npm/node_modules/node-gyp/node_modules/glob": { "version": "7.2.3", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8918,6 +9061,7 @@ }, "node_modules/npm/node_modules/node-gyp/node_modules/minimatch": { "version": "3.1.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8929,6 +9073,7 @@ }, "node_modules/npm/node_modules/node-gyp/node_modules/nopt": { "version": "5.0.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8943,6 +9088,7 @@ }, "node_modules/npm/node_modules/nopt": { "version": "6.0.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8957,6 +9103,7 @@ }, "node_modules/npm/node_modules/normalize-package-data": { "version": "4.0.1", + "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { @@ -8971,6 +9118,7 @@ }, "node_modules/npm/node_modules/npm-audit-report": { "version": "3.0.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8982,6 +9130,7 @@ }, "node_modules/npm/node_modules/npm-bundled": { "version": "2.0.1", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -8993,6 +9142,7 @@ }, "node_modules/npm/node_modules/npm-bundled/node_modules/npm-normalize-package-bin": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -9001,6 +9151,7 @@ }, "node_modules/npm/node_modules/npm-install-checks": { "version": "5.0.0", + "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { @@ -9012,11 +9163,13 @@ }, "node_modules/npm/node_modules/npm-normalize-package-bin": { "version": "1.0.1", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/npm-package-arg": { "version": "9.1.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9031,6 +9184,7 @@ }, "node_modules/npm/node_modules/npm-packlist": { "version": "5.1.3", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9048,6 +9202,7 @@ }, "node_modules/npm/node_modules/npm-packlist/node_modules/npm-normalize-package-bin": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -9056,6 +9211,7 @@ }, "node_modules/npm/node_modules/npm-pick-manifest": { "version": "7.0.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9070,6 +9226,7 @@ }, "node_modules/npm/node_modules/npm-pick-manifest/node_modules/npm-normalize-package-bin": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -9078,6 +9235,7 @@ }, "node_modules/npm/node_modules/npm-profile": { "version": "6.2.1", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9090,6 +9248,7 @@ }, "node_modules/npm/node_modules/npm-registry-fetch": { "version": "13.3.1", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9107,11 +9266,13 @@ }, "node_modules/npm/node_modules/npm-user-validate": { "version": "1.0.1", + "dev": true, "inBundle": true, "license": "BSD-2-Clause" }, "node_modules/npm/node_modules/npmlog": { "version": "6.0.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9126,6 +9287,7 @@ }, "node_modules/npm/node_modules/once": { "version": "1.4.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9134,6 +9296,7 @@ }, "node_modules/npm/node_modules/opener": { "version": "1.5.2", + "dev": true, "inBundle": true, "license": "(WTFPL OR MIT)", "bin": { @@ -9142,6 +9305,7 @@ }, "node_modules/npm/node_modules/p-map": { "version": "4.0.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9156,6 +9320,7 @@ }, "node_modules/npm/node_modules/pacote": { "version": "13.6.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9190,6 +9355,7 @@ }, "node_modules/npm/node_modules/parse-conflict-json": { "version": "2.0.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9203,6 +9369,7 @@ }, "node_modules/npm/node_modules/path-is-absolute": { "version": "1.0.1", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -9211,6 +9378,7 @@ }, "node_modules/npm/node_modules/postcss-selector-parser": { "version": "6.0.10", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9223,6 +9391,7 @@ }, "node_modules/npm/node_modules/proc-log": { "version": "2.0.1", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -9231,6 +9400,7 @@ }, "node_modules/npm/node_modules/promise-all-reject-late": { "version": "1.0.1", + "dev": true, "inBundle": true, "license": "ISC", "funding": { @@ -9239,6 +9409,7 @@ }, "node_modules/npm/node_modules/promise-call-limit": { "version": "1.0.1", + "dev": true, "inBundle": true, "license": "ISC", "funding": { @@ -9247,11 +9418,13 @@ }, "node_modules/npm/node_modules/promise-inflight": { "version": "1.0.1", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/promise-retry": { "version": "2.0.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9264,6 +9437,7 @@ }, "node_modules/npm/node_modules/promzard": { "version": "0.3.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9272,6 +9446,7 @@ }, "node_modules/npm/node_modules/qrcode-terminal": { "version": "0.12.0", + "dev": true, "inBundle": true, "bin": { "qrcode-terminal": "bin/qrcode-terminal.js" @@ -9279,6 +9454,7 @@ }, "node_modules/npm/node_modules/read": { "version": "1.0.7", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9290,6 +9466,7 @@ }, "node_modules/npm/node_modules/read-cmd-shim": { "version": "3.0.0", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -9298,6 +9475,7 @@ }, "node_modules/npm/node_modules/read-package-json": { "version": "5.0.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9312,6 +9490,7 @@ }, "node_modules/npm/node_modules/read-package-json-fast": { "version": "2.0.3", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9324,6 +9503,7 @@ }, "node_modules/npm/node_modules/read-package-json/node_modules/npm-normalize-package-bin": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -9332,6 +9512,7 @@ }, "node_modules/npm/node_modules/readable-stream": { "version": "3.6.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9345,6 +9526,7 @@ }, "node_modules/npm/node_modules/readdir-scoped-modules": { "version": "1.1.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9356,6 +9538,7 @@ }, "node_modules/npm/node_modules/retry": { "version": "0.12.0", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -9364,6 +9547,7 @@ }, "node_modules/npm/node_modules/rimraf": { "version": "3.0.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9378,6 +9562,7 @@ }, "node_modules/npm/node_modules/rimraf/node_modules/brace-expansion": { "version": "1.1.11", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9387,6 +9572,7 @@ }, "node_modules/npm/node_modules/rimraf/node_modules/glob": { "version": "7.2.3", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9406,6 +9592,7 @@ }, "node_modules/npm/node_modules/rimraf/node_modules/minimatch": { "version": "3.1.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9417,6 +9604,7 @@ }, "node_modules/npm/node_modules/safe-buffer": { "version": "5.2.1", + "dev": true, "funding": [ { "type": "github", @@ -9436,11 +9624,14 @@ }, "node_modules/npm/node_modules/safer-buffer": { "version": "2.1.2", + "dev": true, "inBundle": true, - "license": "MIT" + "license": "MIT", + "optional": true }, "node_modules/npm/node_modules/semver": { "version": "7.3.7", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9455,6 +9646,7 @@ }, "node_modules/npm/node_modules/semver/node_modules/lru-cache": { "version": "6.0.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9466,16 +9658,19 @@ }, "node_modules/npm/node_modules/set-blocking": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/signal-exit": { "version": "3.0.7", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/smart-buffer": { "version": "4.2.0", + "dev": true, "inBundle": true, "license": "MIT", "engines": { @@ -9485,6 +9680,7 @@ }, "node_modules/npm/node_modules/socks": { "version": "2.7.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9498,6 +9694,7 @@ }, "node_modules/npm/node_modules/socks-proxy-agent": { "version": "7.0.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9511,6 +9708,7 @@ }, "node_modules/npm/node_modules/spdx-correct": { "version": "3.1.1", + "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { @@ -9520,11 +9718,13 @@ }, "node_modules/npm/node_modules/spdx-exceptions": { "version": "2.3.0", + "dev": true, "inBundle": true, "license": "CC-BY-3.0" }, "node_modules/npm/node_modules/spdx-expression-parse": { "version": "3.0.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9534,11 +9734,13 @@ }, "node_modules/npm/node_modules/spdx-license-ids": { "version": "3.0.11", + "dev": true, "inBundle": true, "license": "CC0-1.0" }, "node_modules/npm/node_modules/ssri": { "version": "9.0.1", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9550,6 +9752,7 @@ }, "node_modules/npm/node_modules/string_decoder": { "version": "1.3.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9558,6 +9761,7 @@ }, "node_modules/npm/node_modules/string-width": { "version": "4.2.3", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9571,6 +9775,7 @@ }, "node_modules/npm/node_modules/strip-ansi": { "version": "6.0.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9582,6 +9787,7 @@ }, "node_modules/npm/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9593,6 +9799,7 @@ }, "node_modules/npm/node_modules/tar": { "version": "6.1.11", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9609,16 +9816,19 @@ }, "node_modules/npm/node_modules/text-table": { "version": "0.2.0", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/tiny-relative-date": { "version": "1.3.0", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/treeverse": { "version": "2.0.0", + "dev": true, "inBundle": true, "license": "ISC", "engines": { @@ -9627,6 +9837,7 @@ }, "node_modules/npm/node_modules/unique-filename": { "version": "2.0.1", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9638,6 +9849,7 @@ }, "node_modules/npm/node_modules/unique-slug": { "version": "3.0.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9649,11 +9861,13 @@ }, "node_modules/npm/node_modules/util-deprecate": { "version": "1.0.2", + "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/validate-npm-package-license": { "version": "3.0.4", + "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { @@ -9663,6 +9877,7 @@ }, "node_modules/npm/node_modules/validate-npm-package-name": { "version": "4.0.0", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9674,11 +9889,13 @@ }, "node_modules/npm/node_modules/walk-up-path": { "version": "1.0.0", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/wcwidth": { "version": "1.0.1", + "dev": true, "inBundle": true, "license": "MIT", "dependencies": { @@ -9687,6 +9904,7 @@ }, "node_modules/npm/node_modules/which": { "version": "2.0.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9701,6 +9919,7 @@ }, "node_modules/npm/node_modules/wide-align": { "version": "1.1.5", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9709,11 +9928,13 @@ }, "node_modules/npm/node_modules/wrappy": { "version": "1.0.2", + "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/write-file-atomic": { "version": "4.0.2", + "dev": true, "inBundle": true, "license": "ISC", "dependencies": { @@ -9726,6 +9947,7 @@ }, "node_modules/npm/node_modules/yallist": { "version": "4.0.0", + "dev": true, "inBundle": true, "license": "ISC" }, @@ -12690,6 +12912,12 @@ "node": ">=4" } }, + "node_modules/to-mock": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/to-mock/-/to-mock-1.6.2.tgz", + "integrity": "sha512-HAK5Kn4JdPnZbTEPFL6hK+KEPP6KU6JUYLJZVjjF+bvF3kRROa4TOtYMHlOkBXM4OyK59C6hDK2UCuPIAMtWKA==", + "dev": true + }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -13184,41 +13412,97 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/void-elements": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz", - "integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==", + "node_modules/vfile-reporter": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/vfile-reporter/-/vfile-reporter-7.0.4.tgz", + "integrity": "sha512-4cWalUnLrEnbeUQ+hARG5YZtaHieVK3Jp4iG5HslttkVl+MHunSGNAIrODOTLbtjWsNZJRMCkL66AhvZAYuJ9A==", "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/web-namespaces": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz", - "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==", + "dependencies": { + "@types/supports-color": "^8.0.0", + "string-width": "^5.0.0", + "supports-color": "^9.0.0", + "unist-util-stringify-position": "^3.0.0", + "vfile-sort": "^3.0.0", + "vfile-statistics": "^2.0.0" + }, "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" + "type": "opencollective", + "url": "https://opencollective.com/unified" } }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true - }, - "node_modules/well-known-symbols": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/well-known-symbols/-/well-known-symbols-2.0.0.tgz", - "integrity": "sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==", + "node_modules/vfile-reporter/node_modules/supports-color": { + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-9.2.3.tgz", + "integrity": "sha512-aszYUX/DVK/ed5rFLb/dDinVJrQjG/vmU433wtqVSD800rYsJNWxh2R3USV90aLSU+UsyQkbNeffVLzc6B6foA==", "dev": true, "engines": { - "node": ">=6" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/whatwg-url": { - "version": "5.0.0", + "node_modules/vfile-sort": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/vfile-sort/-/vfile-sort-3.0.0.tgz", + "integrity": "sha512-fJNctnuMi3l4ikTVcKpxTbzHeCgvDhnI44amA3NVDvA6rTC6oKCFpCVyT5n2fFMr3ebfr+WVQZedOCd73rzSxg==", + "dev": true, + "dependencies": { + "vfile-message": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-statistics": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/vfile-statistics/-/vfile-statistics-2.0.0.tgz", + "integrity": "sha512-foOWtcnJhKN9M2+20AOTlWi2dxNfAoeNIoxD5GXcO182UJyId4QrXa41fWrgcfV3FWTjdEDy3I4cpLVcQscIMA==", + "dev": true, + "dependencies": { + "vfile-message": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/void-elements": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz", + "integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/web-namespaces": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz", + "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true + }, + "node_modules/well-known-symbols": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/well-known-symbols/-/well-known-symbols-2.0.0.tgz", + "integrity": "sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/whatwg-url": { + "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", "dev": true, @@ -14666,6 +14950,12 @@ "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", "dev": true }, + "@types/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@types/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-dPWnWsf+kzIG140B8z2w3fr5D03TLWbOAFQl45xUpI3vcizeXriNR5VYkWZ+WTMsUHqZ9Xlt3hrxGNANFyNQfw==", + "dev": true + }, "@types/unist": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz", @@ -19025,19 +19315,24 @@ "dependencies": { "@colors/colors": { "version": "1.5.0", - "bundled": true + "bundled": true, + "dev": true, + "optional": true }, "@gar/promisify": { "version": "1.1.3", - "bundled": true + "bundled": true, + "dev": true }, "@isaacs/string-locale-compare": { "version": "1.1.0", - "bundled": true + "bundled": true, + "dev": true }, "@npmcli/arborist": { "version": "5.6.2", "bundled": true, + "dev": true, "requires": { "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/installed-package-contents": "^1.0.7", @@ -19079,11 +19374,13 @@ }, "@npmcli/ci-detect": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true }, "@npmcli/config": { "version": "4.2.2", "bundled": true, + "dev": true, "requires": { "@npmcli/map-workspaces": "^2.0.2", "ini": "^3.0.0", @@ -19098,6 +19395,7 @@ "@npmcli/disparity-colors": { "version": "2.0.0", "bundled": true, + "dev": true, "requires": { "ansi-styles": "^4.3.0" } @@ -19105,6 +19403,7 @@ "@npmcli/fs": { "version": "2.1.2", "bundled": true, + "dev": true, "requires": { "@gar/promisify": "^1.1.3", "semver": "^7.3.5" @@ -19113,6 +19412,7 @@ "@npmcli/git": { "version": "3.0.2", "bundled": true, + "dev": true, "requires": { "@npmcli/promise-spawn": "^3.0.0", "lru-cache": "^7.4.4", @@ -19128,6 +19428,7 @@ "@npmcli/installed-package-contents": { "version": "1.0.7", "bundled": true, + "dev": true, "requires": { "npm-bundled": "^1.1.1", "npm-normalize-package-bin": "^1.0.1" @@ -19136,6 +19437,7 @@ "npm-bundled": { "version": "1.1.2", "bundled": true, + "dev": true, "requires": { "npm-normalize-package-bin": "^1.0.1" } @@ -19145,6 +19447,7 @@ "@npmcli/map-workspaces": { "version": "2.0.4", "bundled": true, + "dev": true, "requires": { "@npmcli/name-from-folder": "^1.0.1", "glob": "^8.0.1", @@ -19155,6 +19458,7 @@ "@npmcli/metavuln-calculator": { "version": "3.1.1", "bundled": true, + "dev": true, "requires": { "cacache": "^16.0.0", "json-parse-even-better-errors": "^2.3.1", @@ -19165,6 +19469,7 @@ "@npmcli/move-file": { "version": "2.0.1", "bundled": true, + "dev": true, "requires": { "mkdirp": "^1.0.4", "rimraf": "^3.0.2" @@ -19172,15 +19477,18 @@ }, "@npmcli/name-from-folder": { "version": "1.0.1", - "bundled": true + "bundled": true, + "dev": true }, "@npmcli/node-gyp": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true }, "@npmcli/package-json": { "version": "2.0.0", "bundled": true, + "dev": true, "requires": { "json-parse-even-better-errors": "^2.3.1" } @@ -19188,6 +19496,7 @@ "@npmcli/promise-spawn": { "version": "3.0.0", "bundled": true, + "dev": true, "requires": { "infer-owner": "^1.0.4" } @@ -19195,6 +19504,7 @@ "@npmcli/query": { "version": "1.2.0", "bundled": true, + "dev": true, "requires": { "npm-package-arg": "^9.1.0", "postcss-selector-parser": "^6.0.10", @@ -19204,6 +19514,7 @@ "@npmcli/run-script": { "version": "4.2.1", "bundled": true, + "dev": true, "requires": { "@npmcli/node-gyp": "^2.0.0", "@npmcli/promise-spawn": "^3.0.0", @@ -19214,15 +19525,18 @@ }, "@tootallnate/once": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true }, "abbrev": { "version": "1.1.1", - "bundled": true + "bundled": true, + "dev": true }, "agent-base": { "version": "6.0.2", "bundled": true, + "dev": true, "requires": { "debug": "4" } @@ -19230,6 +19544,7 @@ "agentkeepalive": { "version": "4.2.1", "bundled": true, + "dev": true, "requires": { "debug": "^4.1.0", "depd": "^1.1.2", @@ -19239,6 +19554,7 @@ "aggregate-error": { "version": "3.1.0", "bundled": true, + "dev": true, "requires": { "clean-stack": "^2.0.0", "indent-string": "^4.0.0" @@ -19246,26 +19562,31 @@ }, "ansi-regex": { "version": "5.0.1", - "bundled": true + "bundled": true, + "dev": true }, "ansi-styles": { "version": "4.3.0", "bundled": true, + "dev": true, "requires": { "color-convert": "^2.0.1" } }, "aproba": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true }, "archy": { "version": "1.0.0", - "bundled": true + "bundled": true, + "dev": true }, "are-we-there-yet": { "version": "3.0.1", "bundled": true, + "dev": true, "requires": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -19273,15 +19594,18 @@ }, "asap": { "version": "2.0.6", - "bundled": true + "bundled": true, + "dev": true }, "balanced-match": { "version": "1.0.2", - "bundled": true + "bundled": true, + "dev": true }, "bin-links": { "version": "3.0.3", "bundled": true, + "dev": true, "requires": { "cmd-shim": "^5.0.0", "mkdirp-infer-owner": "^2.0.0", @@ -19293,17 +19617,20 @@ "dependencies": { "npm-normalize-package-bin": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true } } }, "binary-extensions": { "version": "2.2.0", - "bundled": true + "bundled": true, + "dev": true }, "brace-expansion": { "version": "2.0.1", "bundled": true, + "dev": true, "requires": { "balanced-match": "^1.0.0" } @@ -19311,6 +19638,7 @@ "builtins": { "version": "5.0.1", "bundled": true, + "dev": true, "requires": { "semver": "^7.0.0" } @@ -19318,6 +19646,7 @@ "cacache": { "version": "16.1.3", "bundled": true, + "dev": true, "requires": { "@npmcli/fs": "^2.1.0", "@npmcli/move-file": "^2.0.0", @@ -19342,6 +19671,7 @@ "chalk": { "version": "4.1.2", "bundled": true, + "dev": true, "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -19349,22 +19679,26 @@ }, "chownr": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true }, "cidr-regex": { "version": "3.1.1", "bundled": true, + "dev": true, "requires": { "ip-regex": "^4.1.0" } }, "clean-stack": { "version": "2.2.0", - "bundled": true + "bundled": true, + "dev": true }, "cli-columns": { "version": "4.0.0", "bundled": true, + "dev": true, "requires": { "string-width": "^4.2.3", "strip-ansi": "^6.0.1" @@ -19373,6 +19707,7 @@ "cli-table3": { "version": "0.6.2", "bundled": true, + "dev": true, "requires": { "@colors/colors": "1.5.0", "string-width": "^4.2.0" @@ -19380,11 +19715,13 @@ }, "clone": { "version": "1.0.4", - "bundled": true + "bundled": true, + "dev": true }, "cmd-shim": { "version": "5.0.0", "bundled": true, + "dev": true, "requires": { "mkdirp-infer-owner": "^2.0.0" } @@ -19392,21 +19729,25 @@ "color-convert": { "version": "2.0.1", "bundled": true, + "dev": true, "requires": { "color-name": "~1.1.4" } }, "color-name": { "version": "1.1.4", - "bundled": true + "bundled": true, + "dev": true }, "color-support": { "version": "1.1.3", - "bundled": true + "bundled": true, + "dev": true }, "columnify": { "version": "1.6.0", "bundled": true, + "dev": true, "requires": { "strip-ansi": "^6.0.1", "wcwidth": "^1.0.0" @@ -19414,55 +19755,66 @@ }, "common-ancestor-path": { "version": "1.0.1", - "bundled": true + "bundled": true, + "dev": true }, "concat-map": { "version": "0.0.1", - "bundled": true + "bundled": true, + "dev": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true + "bundled": true, + "dev": true }, "cssesc": { "version": "3.0.0", - "bundled": true + "bundled": true, + "dev": true }, "debug": { "version": "4.3.4", "bundled": true, + "dev": true, "requires": { "ms": "2.1.2" }, "dependencies": { "ms": { "version": "2.1.2", - "bundled": true + "bundled": true, + "dev": true } } }, "debuglog": { "version": "1.0.1", - "bundled": true + "bundled": true, + "dev": true }, "defaults": { "version": "1.0.3", "bundled": true, + "dev": true, "requires": { "clone": "^1.0.2" } }, "delegates": { "version": "1.0.0", - "bundled": true + "bundled": true, + "dev": true }, "depd": { "version": "1.1.2", - "bundled": true + "bundled": true, + "dev": true }, "dezalgo": { "version": "1.0.4", "bundled": true, + "dev": true, "requires": { "asap": "^2.0.0", "wrappy": "1" @@ -19470,49 +19822,60 @@ }, "diff": { "version": "5.1.0", - "bundled": true + "bundled": true, + "dev": true }, "emoji-regex": { "version": "8.0.0", - "bundled": true + "bundled": true, + "dev": true }, "encoding": { "version": "0.1.13", "bundled": true, + "dev": true, + "optional": true, "requires": { "iconv-lite": "^0.6.2" } }, "env-paths": { "version": "2.2.1", - "bundled": true + "bundled": true, + "dev": true }, "err-code": { "version": "2.0.3", - "bundled": true + "bundled": true, + "dev": true }, "fastest-levenshtein": { "version": "1.0.12", - "bundled": true + "bundled": true, + "dev": true }, "fs-minipass": { "version": "2.1.0", "bundled": true, + "dev": true, "requires": { "minipass": "^3.0.0" } }, "fs.realpath": { "version": "1.0.0", - "bundled": true + "bundled": true, + "dev": true }, "function-bind": { "version": "1.1.1", - "bundled": true + "bundled": true, + "dev": true }, "gauge": { "version": "4.0.4", "bundled": true, + "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -19527,6 +19890,7 @@ "glob": { "version": "8.0.3", "bundled": true, + "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -19537,37 +19901,44 @@ }, "graceful-fs": { "version": "4.2.10", - "bundled": true + "bundled": true, + "dev": true }, "has": { "version": "1.0.3", "bundled": true, + "dev": true, "requires": { "function-bind": "^1.1.1" } }, "has-flag": { "version": "4.0.0", - "bundled": true + "bundled": true, + "dev": true }, "has-unicode": { "version": "2.0.1", - "bundled": true + "bundled": true, + "dev": true }, "hosted-git-info": { "version": "5.1.0", "bundled": true, + "dev": true, "requires": { "lru-cache": "^7.5.1" } }, "http-cache-semantics": { "version": "4.1.0", - "bundled": true + "bundled": true, + "dev": true }, "http-proxy-agent": { "version": "5.0.0", "bundled": true, + "dev": true, "requires": { "@tootallnate/once": "2", "agent-base": "6", @@ -19577,6 +19948,7 @@ "https-proxy-agent": { "version": "5.0.1", "bundled": true, + "dev": true, "requires": { "agent-base": "6", "debug": "4" @@ -19585,6 +19957,7 @@ "humanize-ms": { "version": "1.2.1", "bundled": true, + "dev": true, "requires": { "ms": "^2.0.0" } @@ -19592,6 +19965,8 @@ "iconv-lite": { "version": "0.6.3", "bundled": true, + "dev": true, + "optional": true, "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" } @@ -19599,25 +19974,30 @@ "ignore-walk": { "version": "5.0.1", "bundled": true, + "dev": true, "requires": { "minimatch": "^5.0.1" } }, "imurmurhash": { "version": "0.1.4", - "bundled": true + "bundled": true, + "dev": true }, "indent-string": { "version": "4.0.0", - "bundled": true + "bundled": true, + "dev": true }, "infer-owner": { "version": "1.0.4", - "bundled": true + "bundled": true, + "dev": true }, "inflight": { "version": "1.0.6", "bundled": true, + "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -19625,15 +20005,18 @@ }, "inherits": { "version": "2.0.4", - "bundled": true + "bundled": true, + "dev": true }, "ini": { "version": "3.0.1", - "bundled": true + "bundled": true, + "dev": true }, "init-package-json": { "version": "3.0.2", "bundled": true, + "dev": true, "requires": { "npm-package-arg": "^9.0.1", "promzard": "^0.3.0", @@ -19646,15 +20029,18 @@ }, "ip": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true }, "ip-regex": { "version": "4.3.0", - "bundled": true + "bundled": true, + "dev": true }, "is-cidr": { "version": "4.0.2", "bundled": true, + "dev": true, "requires": { "cidr-regex": "^3.1.1" } @@ -19662,45 +20048,55 @@ "is-core-module": { "version": "2.10.0", "bundled": true, + "dev": true, "requires": { "has": "^1.0.3" } }, "is-fullwidth-code-point": { "version": "3.0.0", - "bundled": true + "bundled": true, + "dev": true }, "is-lambda": { "version": "1.0.1", - "bundled": true + "bundled": true, + "dev": true }, "isexe": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true }, "json-parse-even-better-errors": { "version": "2.3.1", - "bundled": true + "bundled": true, + "dev": true }, "json-stringify-nice": { "version": "1.1.4", - "bundled": true + "bundled": true, + "dev": true }, "jsonparse": { "version": "1.3.1", - "bundled": true + "bundled": true, + "dev": true }, "just-diff": { "version": "5.1.1", - "bundled": true + "bundled": true, + "dev": true }, "just-diff-apply": { "version": "5.4.1", - "bundled": true + "bundled": true, + "dev": true }, "libnpmaccess": { "version": "6.0.4", "bundled": true, + "dev": true, "requires": { "aproba": "^2.0.0", "minipass": "^3.1.1", @@ -19711,6 +20107,7 @@ "libnpmdiff": { "version": "4.0.5", "bundled": true, + "dev": true, "requires": { "@npmcli/disparity-colors": "^2.0.0", "@npmcli/installed-package-contents": "^1.0.7", @@ -19725,6 +20122,7 @@ "libnpmexec": { "version": "4.0.13", "bundled": true, + "dev": true, "requires": { "@npmcli/arborist": "^5.6.2", "@npmcli/ci-detect": "^2.0.0", @@ -19745,6 +20143,7 @@ "libnpmfund": { "version": "3.0.4", "bundled": true, + "dev": true, "requires": { "@npmcli/arborist": "^5.6.2" } @@ -19752,6 +20151,7 @@ "libnpmhook": { "version": "8.0.4", "bundled": true, + "dev": true, "requires": { "aproba": "^2.0.0", "npm-registry-fetch": "^13.0.0" @@ -19760,6 +20160,7 @@ "libnpmorg": { "version": "4.0.4", "bundled": true, + "dev": true, "requires": { "aproba": "^2.0.0", "npm-registry-fetch": "^13.0.0" @@ -19768,6 +20169,7 @@ "libnpmpack": { "version": "4.1.3", "bundled": true, + "dev": true, "requires": { "@npmcli/run-script": "^4.1.3", "npm-package-arg": "^9.0.1", @@ -19777,6 +20179,7 @@ "libnpmpublish": { "version": "6.0.5", "bundled": true, + "dev": true, "requires": { "normalize-package-data": "^4.0.0", "npm-package-arg": "^9.0.1", @@ -19788,6 +20191,7 @@ "libnpmsearch": { "version": "5.0.4", "bundled": true, + "dev": true, "requires": { "npm-registry-fetch": "^13.0.0" } @@ -19795,6 +20199,7 @@ "libnpmteam": { "version": "4.0.4", "bundled": true, + "dev": true, "requires": { "aproba": "^2.0.0", "npm-registry-fetch": "^13.0.0" @@ -19803,6 +20208,7 @@ "libnpmversion": { "version": "3.0.7", "bundled": true, + "dev": true, "requires": { "@npmcli/git": "^3.0.0", "@npmcli/run-script": "^4.1.3", @@ -19813,11 +20219,13 @@ }, "lru-cache": { "version": "7.13.2", - "bundled": true + "bundled": true, + "dev": true }, "make-fetch-happen": { "version": "10.2.1", "bundled": true, + "dev": true, "requires": { "agentkeepalive": "^4.2.1", "cacache": "^16.1.0", @@ -19840,6 +20248,7 @@ "minimatch": { "version": "5.1.0", "bundled": true, + "dev": true, "requires": { "brace-expansion": "^2.0.1" } @@ -19847,6 +20256,7 @@ "minipass": { "version": "3.3.4", "bundled": true, + "dev": true, "requires": { "yallist": "^4.0.0" } @@ -19854,6 +20264,7 @@ "minipass-collect": { "version": "1.0.2", "bundled": true, + "dev": true, "requires": { "minipass": "^3.0.0" } @@ -19861,6 +20272,7 @@ "minipass-fetch": { "version": "2.1.1", "bundled": true, + "dev": true, "requires": { "encoding": "^0.1.13", "minipass": "^3.1.6", @@ -19871,6 +20283,7 @@ "minipass-flush": { "version": "1.0.5", "bundled": true, + "dev": true, "requires": { "minipass": "^3.0.0" } @@ -19878,6 +20291,7 @@ "minipass-json-stream": { "version": "1.0.1", "bundled": true, + "dev": true, "requires": { "jsonparse": "^1.3.1", "minipass": "^3.0.0" @@ -19886,6 +20300,7 @@ "minipass-pipeline": { "version": "1.2.4", "bundled": true, + "dev": true, "requires": { "minipass": "^3.0.0" } @@ -19893,6 +20308,7 @@ "minipass-sized": { "version": "1.0.3", "bundled": true, + "dev": true, "requires": { "minipass": "^3.0.0" } @@ -19900,6 +20316,7 @@ "minizlib": { "version": "2.1.2", "bundled": true, + "dev": true, "requires": { "minipass": "^3.0.0", "yallist": "^4.0.0" @@ -19907,11 +20324,13 @@ }, "mkdirp": { "version": "1.0.4", - "bundled": true + "bundled": true, + "dev": true }, "mkdirp-infer-owner": { "version": "2.0.0", "bundled": true, + "dev": true, "requires": { "chownr": "^2.0.0", "infer-owner": "^1.0.4", @@ -19920,19 +20339,23 @@ }, "ms": { "version": "2.1.3", - "bundled": true + "bundled": true, + "dev": true }, "mute-stream": { "version": "0.0.8", - "bundled": true + "bundled": true, + "dev": true }, "negotiator": { "version": "0.6.3", - "bundled": true + "bundled": true, + "dev": true }, "node-gyp": { "version": "9.1.0", "bundled": true, + "dev": true, "requires": { "env-paths": "^2.2.0", "glob": "^7.1.4", @@ -19949,6 +20372,7 @@ "brace-expansion": { "version": "1.1.11", "bundled": true, + "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -19957,6 +20381,7 @@ "glob": { "version": "7.2.3", "bundled": true, + "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -19969,6 +20394,7 @@ "minimatch": { "version": "3.1.2", "bundled": true, + "dev": true, "requires": { "brace-expansion": "^1.1.7" } @@ -19976,6 +20402,7 @@ "nopt": { "version": "5.0.0", "bundled": true, + "dev": true, "requires": { "abbrev": "1" } @@ -19985,6 +20412,7 @@ "nopt": { "version": "6.0.0", "bundled": true, + "dev": true, "requires": { "abbrev": "^1.0.0" } @@ -19992,6 +20420,7 @@ "normalize-package-data": { "version": "4.0.1", "bundled": true, + "dev": true, "requires": { "hosted-git-info": "^5.0.0", "is-core-module": "^2.8.1", @@ -20002,6 +20431,7 @@ "npm-audit-report": { "version": "3.0.0", "bundled": true, + "dev": true, "requires": { "chalk": "^4.0.0" } @@ -20009,30 +20439,35 @@ "npm-bundled": { "version": "2.0.1", "bundled": true, + "dev": true, "requires": { "npm-normalize-package-bin": "^2.0.0" }, "dependencies": { "npm-normalize-package-bin": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true } } }, "npm-install-checks": { "version": "5.0.0", "bundled": true, + "dev": true, "requires": { "semver": "^7.1.1" } }, "npm-normalize-package-bin": { "version": "1.0.1", - "bundled": true + "bundled": true, + "dev": true }, "npm-package-arg": { "version": "9.1.0", "bundled": true, + "dev": true, "requires": { "hosted-git-info": "^5.0.0", "proc-log": "^2.0.1", @@ -20043,6 +20478,7 @@ "npm-packlist": { "version": "5.1.3", "bundled": true, + "dev": true, "requires": { "glob": "^8.0.1", "ignore-walk": "^5.0.1", @@ -20052,13 +20488,15 @@ "dependencies": { "npm-normalize-package-bin": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true } } }, "npm-pick-manifest": { "version": "7.0.2", "bundled": true, + "dev": true, "requires": { "npm-install-checks": "^5.0.0", "npm-normalize-package-bin": "^2.0.0", @@ -20068,13 +20506,15 @@ "dependencies": { "npm-normalize-package-bin": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true } } }, "npm-profile": { "version": "6.2.1", "bundled": true, + "dev": true, "requires": { "npm-registry-fetch": "^13.0.1", "proc-log": "^2.0.0" @@ -20083,6 +20523,7 @@ "npm-registry-fetch": { "version": "13.3.1", "bundled": true, + "dev": true, "requires": { "make-fetch-happen": "^10.0.6", "minipass": "^3.1.6", @@ -20095,11 +20536,13 @@ }, "npm-user-validate": { "version": "1.0.1", - "bundled": true + "bundled": true, + "dev": true }, "npmlog": { "version": "6.0.2", "bundled": true, + "dev": true, "requires": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -20110,17 +20553,20 @@ "once": { "version": "1.4.0", "bundled": true, + "dev": true, "requires": { "wrappy": "1" } }, "opener": { "version": "1.5.2", - "bundled": true + "bundled": true, + "dev": true }, "p-map": { "version": "4.0.0", "bundled": true, + "dev": true, "requires": { "aggregate-error": "^3.0.0" } @@ -20128,6 +20574,7 @@ "pacote": { "version": "13.6.2", "bundled": true, + "dev": true, "requires": { "@npmcli/git": "^3.0.0", "@npmcli/installed-package-contents": "^1.0.7", @@ -20155,6 +20602,7 @@ "parse-conflict-json": { "version": "2.0.2", "bundled": true, + "dev": true, "requires": { "json-parse-even-better-errors": "^2.3.1", "just-diff": "^5.0.1", @@ -20163,11 +20611,13 @@ }, "path-is-absolute": { "version": "1.0.1", - "bundled": true + "bundled": true, + "dev": true }, "postcss-selector-parser": { "version": "6.0.10", "bundled": true, + "dev": true, "requires": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -20175,23 +20625,28 @@ }, "proc-log": { "version": "2.0.1", - "bundled": true + "bundled": true, + "dev": true }, "promise-all-reject-late": { "version": "1.0.1", - "bundled": true + "bundled": true, + "dev": true }, "promise-call-limit": { "version": "1.0.1", - "bundled": true + "bundled": true, + "dev": true }, "promise-inflight": { "version": "1.0.1", - "bundled": true + "bundled": true, + "dev": true }, "promise-retry": { "version": "2.0.1", "bundled": true, + "dev": true, "requires": { "err-code": "^2.0.2", "retry": "^0.12.0" @@ -20200,28 +20655,33 @@ "promzard": { "version": "0.3.0", "bundled": true, + "dev": true, "requires": { "read": "1" } }, "qrcode-terminal": { "version": "0.12.0", - "bundled": true + "bundled": true, + "dev": true }, "read": { "version": "1.0.7", "bundled": true, + "dev": true, "requires": { "mute-stream": "~0.0.4" } }, "read-cmd-shim": { "version": "3.0.0", - "bundled": true + "bundled": true, + "dev": true }, "read-package-json": { "version": "5.0.2", "bundled": true, + "dev": true, "requires": { "glob": "^8.0.1", "json-parse-even-better-errors": "^2.3.1", @@ -20231,13 +20691,15 @@ "dependencies": { "npm-normalize-package-bin": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true } } }, "read-package-json-fast": { "version": "2.0.3", "bundled": true, + "dev": true, "requires": { "json-parse-even-better-errors": "^2.3.0", "npm-normalize-package-bin": "^1.0.1" @@ -20246,6 +20708,7 @@ "readable-stream": { "version": "3.6.0", "bundled": true, + "dev": true, "requires": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -20255,6 +20718,7 @@ "readdir-scoped-modules": { "version": "1.1.0", "bundled": true, + "dev": true, "requires": { "debuglog": "^1.0.1", "dezalgo": "^1.0.0", @@ -20264,11 +20728,13 @@ }, "retry": { "version": "0.12.0", - "bundled": true + "bundled": true, + "dev": true }, "rimraf": { "version": "3.0.2", "bundled": true, + "dev": true, "requires": { "glob": "^7.1.3" }, @@ -20276,6 +20742,7 @@ "brace-expansion": { "version": "1.1.11", "bundled": true, + "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -20284,6 +20751,7 @@ "glob": { "version": "7.2.3", "bundled": true, + "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -20296,6 +20764,7 @@ "minimatch": { "version": "3.1.2", "bundled": true, + "dev": true, "requires": { "brace-expansion": "^1.1.7" } @@ -20304,15 +20773,19 @@ }, "safe-buffer": { "version": "5.2.1", - "bundled": true + "bundled": true, + "dev": true }, "safer-buffer": { "version": "2.1.2", - "bundled": true + "bundled": true, + "dev": true, + "optional": true }, "semver": { "version": "7.3.7", "bundled": true, + "dev": true, "requires": { "lru-cache": "^6.0.0" }, @@ -20320,6 +20793,7 @@ "lru-cache": { "version": "6.0.0", "bundled": true, + "dev": true, "requires": { "yallist": "^4.0.0" } @@ -20328,19 +20802,23 @@ }, "set-blocking": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true }, "signal-exit": { "version": "3.0.7", - "bundled": true + "bundled": true, + "dev": true }, "smart-buffer": { "version": "4.2.0", - "bundled": true + "bundled": true, + "dev": true }, "socks": { "version": "2.7.0", "bundled": true, + "dev": true, "requires": { "ip": "^2.0.0", "smart-buffer": "^4.2.0" @@ -20349,6 +20827,7 @@ "socks-proxy-agent": { "version": "7.0.0", "bundled": true, + "dev": true, "requires": { "agent-base": "^6.0.2", "debug": "^4.3.3", @@ -20358,6 +20837,7 @@ "spdx-correct": { "version": "3.1.1", "bundled": true, + "dev": true, "requires": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" @@ -20365,11 +20845,13 @@ }, "spdx-exceptions": { "version": "2.3.0", - "bundled": true + "bundled": true, + "dev": true }, "spdx-expression-parse": { "version": "3.0.1", "bundled": true, + "dev": true, "requires": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -20377,11 +20859,13 @@ }, "spdx-license-ids": { "version": "3.0.11", - "bundled": true + "bundled": true, + "dev": true }, "ssri": { "version": "9.0.1", "bundled": true, + "dev": true, "requires": { "minipass": "^3.1.1" } @@ -20389,6 +20873,7 @@ "string_decoder": { "version": "1.3.0", "bundled": true, + "dev": true, "requires": { "safe-buffer": "~5.2.0" } @@ -20396,6 +20881,7 @@ "string-width": { "version": "4.2.3", "bundled": true, + "dev": true, "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -20405,6 +20891,7 @@ "strip-ansi": { "version": "6.0.1", "bundled": true, + "dev": true, "requires": { "ansi-regex": "^5.0.1" } @@ -20412,6 +20899,7 @@ "supports-color": { "version": "7.2.0", "bundled": true, + "dev": true, "requires": { "has-flag": "^4.0.0" } @@ -20419,6 +20907,7 @@ "tar": { "version": "6.1.11", "bundled": true, + "dev": true, "requires": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -20430,19 +20919,23 @@ }, "text-table": { "version": "0.2.0", - "bundled": true + "bundled": true, + "dev": true }, "tiny-relative-date": { "version": "1.3.0", - "bundled": true + "bundled": true, + "dev": true }, "treeverse": { "version": "2.0.0", - "bundled": true + "bundled": true, + "dev": true }, "unique-filename": { "version": "2.0.1", "bundled": true, + "dev": true, "requires": { "unique-slug": "^3.0.0" } @@ -20450,17 +20943,20 @@ "unique-slug": { "version": "3.0.0", "bundled": true, + "dev": true, "requires": { "imurmurhash": "^0.1.4" } }, "util-deprecate": { "version": "1.0.2", - "bundled": true + "bundled": true, + "dev": true }, "validate-npm-package-license": { "version": "3.0.4", "bundled": true, + "dev": true, "requires": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" @@ -20469,17 +20965,20 @@ "validate-npm-package-name": { "version": "4.0.0", "bundled": true, + "dev": true, "requires": { "builtins": "^5.0.0" } }, "walk-up-path": { "version": "1.0.0", - "bundled": true + "bundled": true, + "dev": true }, "wcwidth": { "version": "1.0.1", "bundled": true, + "dev": true, "requires": { "defaults": "^1.0.3" } @@ -20487,6 +20986,7 @@ "which": { "version": "2.0.2", "bundled": true, + "dev": true, "requires": { "isexe": "^2.0.0" } @@ -20494,17 +20994,20 @@ "wide-align": { "version": "1.1.5", "bundled": true, + "dev": true, "requires": { "string-width": "^1.0.2 || 2 || 3 || 4" } }, "wrappy": { "version": "1.0.2", - "bundled": true + "bundled": true, + "dev": true }, "write-file-atomic": { "version": "4.0.2", "bundled": true, + "dev": true, "requires": { "imurmurhash": "^0.1.4", "signal-exit": "^3.0.7" @@ -20512,7 +21015,8 @@ }, "yallist": { "version": "4.0.0", - "bundled": true + "bundled": true, + "dev": true } } }, @@ -22788,6 +23292,12 @@ "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", "dev": true }, + "to-mock": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/to-mock/-/to-mock-1.6.2.tgz", + "integrity": "sha512-HAK5Kn4JdPnZbTEPFL6hK+KEPP6KU6JUYLJZVjjF+bvF3kRROa4TOtYMHlOkBXM4OyK59C6hDK2UCuPIAMtWKA==", + "dev": true + }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -23124,6 +23634,46 @@ "unist-util-stringify-position": "^3.0.0" } }, + "vfile-reporter": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/vfile-reporter/-/vfile-reporter-7.0.4.tgz", + "integrity": "sha512-4cWalUnLrEnbeUQ+hARG5YZtaHieVK3Jp4iG5HslttkVl+MHunSGNAIrODOTLbtjWsNZJRMCkL66AhvZAYuJ9A==", + "dev": true, + "requires": { + "@types/supports-color": "^8.0.0", + "string-width": "^5.0.0", + "supports-color": "^9.0.0", + "unist-util-stringify-position": "^3.0.0", + "vfile-sort": "^3.0.0", + "vfile-statistics": "^2.0.0" + }, + "dependencies": { + "supports-color": { + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-9.2.3.tgz", + "integrity": "sha512-aszYUX/DVK/ed5rFLb/dDinVJrQjG/vmU433wtqVSD800rYsJNWxh2R3USV90aLSU+UsyQkbNeffVLzc6B6foA==", + "dev": true + } + } + }, + "vfile-sort": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/vfile-sort/-/vfile-sort-3.0.0.tgz", + "integrity": "sha512-fJNctnuMi3l4ikTVcKpxTbzHeCgvDhnI44amA3NVDvA6rTC6oKCFpCVyT5n2fFMr3ebfr+WVQZedOCd73rzSxg==", + "dev": true, + "requires": { + "vfile-message": "^3.0.0" + } + }, + "vfile-statistics": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/vfile-statistics/-/vfile-statistics-2.0.0.tgz", + "integrity": "sha512-foOWtcnJhKN9M2+20AOTlWi2dxNfAoeNIoxD5GXcO182UJyId4QrXa41fWrgcfV3FWTjdEDy3I4cpLVcQscIMA==", + "dev": true, + "requires": { + "vfile-message": "^3.0.0" + } + }, "void-elements": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz", diff --git a/package.json b/package.json index ce8a4b2..df84810 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,9 @@ "remark-slug": "^7.0.1", "retext-repeated-words": "^4.2.0", "semantic-release": "^19.0.5", - "unist-util-visit": "^4.1.1" + "to-mock": "^1.6.2", + "unist-util-visit": "^4.1.1", + "vfile-reporter": "^7.0.4" }, "release": { "branches": [ diff --git a/src/rehype.js b/src/rehype.js index 9533f4e..be81472 100644 --- a/src/rehype.js +++ b/src/rehype.js @@ -69,7 +69,10 @@ export default async function rehype( output?.messages.length > 0 ) { output.path = pageContext.inputPath; - retextReporter(output); + const report = retextReporter(output); + if (typeof report !== "undefined") { + console.log(report); + } } return String(output); diff --git a/test/index.test.js b/test/index.test.js index e15bd85..f0839c6 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -1,4 +1,5 @@ import test from "ava"; +import { toMock } from "to-mock"; import index from "../src/index.cjs"; test("is a function", (assert) => { @@ -66,7 +67,7 @@ test("addTransform › parses and renders html", async (assert) => { }); }); -test("addTransform › duplicate words are reported via retext", async (assert) => { +test("reporter › duplicate words are reported via retext", async (assert) => { await new Promise((resolve) => { const eleventyConfig = { addTransform: async (type, render) => { @@ -83,3 +84,53 @@ test("addTransform › duplicate words are reported via retext", async (assert) }); }); }); + +test.serial("reporter › console.logs", async (assert) => { + await new Promise((resolve) => { + const MockedConsole = toMock(global.console); + const RealConsole = global.console; + MockedConsole.log = (log) => { + assert.is(log, "Expected `and` once, not twice"); + global.console = RealConsole; + resolve(); + }; + const eleventyConfig = { + addTransform: async (type, render) => { + const context = { inputPath: "index.md", outputPath: "index.html" }; + await render.call(context, "

and and

"); + }, + }; + + global.console = MockedConsole; + index(eleventyConfig, { + reporter: (file) => { + return file.messages[0].message; + }, + textTransforms: ["retext-repeated-words"], + }); + }); +}); + +test.serial("reporter › vfile-reporter", async (assert) => { + await new Promise((resolve) => { + const MockedConsole = toMock(global.console); + const RealConsole = global.console; + MockedConsole.log = (log) => { + assert.truthy(log.includes("once, not twice")); + global.console = RealConsole; + resolve(); + }; + const eleventyConfig = { + addTransform: async (type, render) => { + const context = { inputPath: "index.md", outputPath: "index.html" }; + await render.call(context, "

and and

"); + }, + }; + + global.console = MockedConsole; + index(eleventyConfig, { + reporter: "vfile-reporter", + textTransforms: ["retext-repeated-words"], + }); + }); +});