diff --git a/package-lock.json b/package-lock.json index f51b309bf..2215be54b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,7 +45,7 @@ "eslint-plugin-react": "^7.0.0", "eslint-plugin-react-hooks": "^4.0.0", "eslint-plugin-security": "^1.0.0", - "estree-util-value-to-estree": "^1.0.0", + "estree-util-value-to-estree": "^2.0.0", "globby": "^13.0.0", "hast-to-hyperscript": "^10.0.0", "hast-util-select": "^5.0.0", @@ -111,7 +111,7 @@ "xast-util-feed": "^1.0.0", "xast-util-sitemap": "^1.0.0", "xast-util-to-xml": "^3.0.0", - "xo": "^0.51.0" + "xo": "^0.52.0" }, "funding": { "type": "opencollective", @@ -4458,9 +4458,9 @@ } }, "node_modules/eslint-config-xo": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.41.0.tgz", - "integrity": "sha512-cyTc182COQVdalOi5105h0Cw/Qb52IRGyIZLmUICIauANm9Upmv81UEsuFkdKnvwr4NtU95qjdk3g4/kNspA6g==", + "version": "0.42.0", + "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.42.0.tgz", + "integrity": "sha512-HIfd+AM6tHFoaZ/NXYDV3Mr/CJrAj/DoP6IOYt1/v+90XtCwVYOfW7LXbRDYDmhQMzT16h7eqPRcex72waRqdA==", "dev": true, "dependencies": { "confusing-browser-globals": "1.0.11" @@ -5594,15 +5594,16 @@ } }, "node_modules/estree-util-value-to-estree": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/estree-util-value-to-estree/-/estree-util-value-to-estree-1.3.0.tgz", - "integrity": "sha512-Y+ughcF9jSUJvncXwqRageavjrNPAI+1M/L3BI3PyLp1nmgYTGUXU6t5z1Y7OWuThoDdhPME07bQU+d5LxdJqw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/estree-util-value-to-estree/-/estree-util-value-to-estree-2.0.0.tgz", + "integrity": "sha512-FkLnkL5INXOWAXYxO3zNxaODCPbkpdB96WJKhNKmesT4ZEGuGRQ+oGfDyJXMCLvoVCDn2UV5M1svA/uZkizGNQ==", "dev": true, "dependencies": { - "is-plain-obj": "^3.0.0" + "@types/estree": "^1.0.0", + "is-plain-obj": "^4.0.0" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" } }, "node_modules/estree-util-visit": { @@ -7388,12 +7389,11 @@ } }, "node_modules/is-plain-obj": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", - "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", - "dev": true, + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", "engines": { - "node": ">=10" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -14753,6 +14753,30 @@ "node": ">=14.0.0" } }, + "node_modules/remark-mdx-frontmatter/node_modules/estree-util-value-to-estree": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/estree-util-value-to-estree/-/estree-util-value-to-estree-1.3.0.tgz", + "integrity": "sha512-Y+ughcF9jSUJvncXwqRageavjrNPAI+1M/L3BI3PyLp1nmgYTGUXU6t5z1Y7OWuThoDdhPME07bQU+d5LxdJqw==", + "dev": true, + "dependencies": { + "is-plain-obj": "^3.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/remark-mdx-frontmatter/node_modules/is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/remark-mdx-frontmatter/node_modules/yaml": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.1.1.tgz", @@ -16705,18 +16729,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/unified-args/node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/unified-args/node_modules/lines-and-columns": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz", @@ -16854,18 +16866,6 @@ "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==", "dev": true }, - "node_modules/unified-engine/node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/unified-engine/node_modules/lines-and-columns": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz", @@ -16956,17 +16956,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/unified/node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/unist-builder": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/unist-builder/-/unist-builder-3.0.0.tgz", @@ -17775,9 +17764,9 @@ } }, "node_modules/xo": { - "version": "0.51.0", - "resolved": "https://registry.npmjs.org/xo/-/xo-0.51.0.tgz", - "integrity": "sha512-T9VTOsiCzJJZKNBVWbPFCaVdo/TebfXHjzozCSUq1LZnpMUXLzcAyeNOekKG4/b2CvKoCC5jeSQlyylXzAKq6Q==", + "version": "0.52.4", + "resolved": "https://registry.npmjs.org/xo/-/xo-0.52.4.tgz", + "integrity": "sha512-5K+2bSy+nPO1fE6TS5KydgqhZ5pyXvO1P6Rw98aflxHi2LFWoShLmDpJOCxSpIP5867LVOCdH/WO+7iXk6/WVQ==", "bundleDependencies": [ "@typescript-eslint/eslint-plugin", "@typescript-eslint/parser", @@ -17791,20 +17780,20 @@ "arrify": "^3.0.0", "cosmiconfig": "^7.0.1", "define-lazy-prop": "^3.0.0", - "eslint": "^8.17.0", + "eslint": "^8.22.0", "eslint-config-prettier": "^8.5.0", - "eslint-config-xo": "^0.41.0", + "eslint-config-xo": "^0.42.0", "eslint-config-xo-typescript": "*", "eslint-formatter-pretty": "^4.1.0", "eslint-import-resolver-webpack": "^0.13.2", "eslint-plugin-ava": "^13.2.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.26.0", - "eslint-plugin-n": "^15.2.2", + "eslint-plugin-n": "^15.2.5", "eslint-plugin-no-use-extend-native": "^0.5.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-unicorn": "^42.0.0", - "esm-utils": "^4.0.0", + "esm-utils": "^4.1.0", "find-cache-dir": "^3.3.2", "find-up": "^6.3.0", "get-stdin": "^9.0.0", @@ -17874,16 +17863,15 @@ "license": "MIT" }, "node_modules/xo/node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.30.7", + "version": "5.39.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "5.30.7", - "@typescript-eslint/type-utils": "5.30.7", - "@typescript-eslint/utils": "5.30.7", + "@typescript-eslint/scope-manager": "5.39.0", + "@typescript-eslint/type-utils": "5.39.0", + "@typescript-eslint/utils": "5.39.0", "debug": "^4.3.4", - "functional-red-black-tree": "^1.0.1", "ignore": "^5.2.0", "regexpp": "^3.2.0", "semver": "^7.3.7", @@ -17907,14 +17895,14 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/parser": { - "version": "5.30.7", + "version": "5.39.0", "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "5.30.7", - "@typescript-eslint/types": "5.30.7", - "@typescript-eslint/typescript-estree": "5.30.7", + "@typescript-eslint/scope-manager": "5.39.0", + "@typescript-eslint/types": "5.39.0", + "@typescript-eslint/typescript-estree": "5.39.0", "debug": "^4.3.4" }, "engines": { @@ -17934,13 +17922,13 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/scope-manager": { - "version": "5.30.7", + "version": "5.39.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.30.7", - "@typescript-eslint/visitor-keys": "5.30.7" + "@typescript-eslint/types": "5.39.0", + "@typescript-eslint/visitor-keys": "5.39.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -17951,12 +17939,13 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/type-utils": { - "version": "5.30.7", + "version": "5.39.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "@typescript-eslint/utils": "5.30.7", + "@typescript-eslint/typescript-estree": "5.39.0", + "@typescript-eslint/utils": "5.39.0", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -17977,7 +17966,7 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/types": { - "version": "5.30.7", + "version": "5.39.0", "dev": true, "inBundle": true, "license": "MIT", @@ -17990,13 +17979,13 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.30.7", + "version": "5.39.0", "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "5.30.7", - "@typescript-eslint/visitor-keys": "5.30.7", + "@typescript-eslint/types": "5.39.0", + "@typescript-eslint/visitor-keys": "5.39.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -18046,15 +18035,15 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/utils": { - "version": "5.30.7", + "version": "5.39.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.30.7", - "@typescript-eslint/types": "5.30.7", - "@typescript-eslint/typescript-estree": "5.30.7", + "@typescript-eslint/scope-manager": "5.39.0", + "@typescript-eslint/types": "5.39.0", + "@typescript-eslint/typescript-estree": "5.39.0", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" }, @@ -18070,12 +18059,12 @@ } }, "node_modules/xo/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.30.7", + "version": "5.39.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.30.7", + "@typescript-eslint/types": "5.39.0", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -18143,7 +18132,7 @@ } }, "node_modules/xo/node_modules/eslint-config-xo-typescript": { - "version": "0.51.1", + "version": "0.53.0", "dev": true, "inBundle": true, "license": "MIT", @@ -18154,7 +18143,8 @@ "url": "https://github.com/sponsors/sindresorhus" }, "peerDependencies": { - "@typescript-eslint/eslint-plugin": ">=5.22.0", + "@typescript-eslint/eslint-plugin": ">=5.31.0", + "@typescript-eslint/parser": ">=5.31.0", "eslint": ">=8.0.0", "typescript": ">=4.4" } @@ -18239,7 +18229,7 @@ } }, "node_modules/xo/node_modules/fast-glob": { - "version": "3.2.11", + "version": "3.2.12", "dev": true, "inBundle": true, "license": "MIT", @@ -18291,12 +18281,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/xo/node_modules/functional-red-black-tree": { - "version": "1.0.1", - "dev": true, - "inBundle": true, - "license": "MIT" - }, "node_modules/xo/node_modules/glob-parent": { "version": "5.1.2", "dev": true, @@ -18730,6 +18714,7 @@ } }, "packages/esbuild": { + "name": "@mdx-js/esbuild", "version": "2.1.3", "license": "MIT", "dependencies": { @@ -18789,6 +18774,7 @@ } }, "packages/loader": { + "name": "@mdx-js/loader", "version": "2.1.3", "license": "MIT", "dependencies": { @@ -18852,6 +18838,7 @@ } }, "packages/mdx": { + "name": "@mdx-js/mdx", "version": "2.1.3", "license": "MIT", "dependencies": { @@ -18930,6 +18917,7 @@ } }, "packages/node-loader": { + "name": "@mdx-js/node-loader", "version": "2.1.3", "license": "MIT", "dependencies": { @@ -18982,6 +18970,7 @@ } }, "packages/preact": { + "name": "@mdx-js/preact", "version": "2.1.3", "license": "MIT", "dependencies": { @@ -19001,6 +18990,7 @@ } }, "packages/react": { + "name": "@mdx-js/react", "version": "2.1.3", "license": "MIT", "dependencies": { @@ -19057,6 +19047,7 @@ } }, "packages/register": { + "name": "@mdx-js/register", "version": "2.1.3", "license": "MIT", "dependencies": { @@ -19131,6 +19122,7 @@ } }, "packages/rollup": { + "name": "@mdx-js/rollup", "version": "2.1.3", "license": "MIT", "dependencies": { @@ -19189,6 +19181,7 @@ } }, "packages/vue": { + "name": "@mdx-js/vue", "version": "2.1.3", "license": "MIT", "devDependencies": { @@ -23036,9 +23029,9 @@ "dev": true }, "eslint-config-xo": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.41.0.tgz", - "integrity": "sha512-cyTc182COQVdalOi5105h0Cw/Qb52IRGyIZLmUICIauANm9Upmv81UEsuFkdKnvwr4NtU95qjdk3g4/kNspA6g==", + "version": "0.42.0", + "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.42.0.tgz", + "integrity": "sha512-HIfd+AM6tHFoaZ/NXYDV3Mr/CJrAj/DoP6IOYt1/v+90XtCwVYOfW7LXbRDYDmhQMzT16h7eqPRcex72waRqdA==", "dev": true, "requires": { "confusing-browser-globals": "1.0.11" @@ -23695,12 +23688,13 @@ } }, "estree-util-value-to-estree": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/estree-util-value-to-estree/-/estree-util-value-to-estree-1.3.0.tgz", - "integrity": "sha512-Y+ughcF9jSUJvncXwqRageavjrNPAI+1M/L3BI3PyLp1nmgYTGUXU6t5z1Y7OWuThoDdhPME07bQU+d5LxdJqw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/estree-util-value-to-estree/-/estree-util-value-to-estree-2.0.0.tgz", + "integrity": "sha512-FkLnkL5INXOWAXYxO3zNxaODCPbkpdB96WJKhNKmesT4ZEGuGRQ+oGfDyJXMCLvoVCDn2UV5M1svA/uZkizGNQ==", "dev": true, "requires": { - "is-plain-obj": "^3.0.0" + "@types/estree": "^1.0.0", + "is-plain-obj": "^4.0.0" } }, "estree-util-visit": { @@ -24969,10 +24963,9 @@ } }, "is-plain-obj": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", - "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", - "dev": true + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" }, "is-proto-prop": { "version": "2.0.0", @@ -30244,6 +30237,21 @@ "yaml": "^2.0.0" }, "dependencies": { + "estree-util-value-to-estree": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/estree-util-value-to-estree/-/estree-util-value-to-estree-1.3.0.tgz", + "integrity": "sha512-Y+ughcF9jSUJvncXwqRageavjrNPAI+1M/L3BI3PyLp1nmgYTGUXU6t5z1Y7OWuThoDdhPME07bQU+d5LxdJqw==", + "dev": true, + "requires": { + "is-plain-obj": "^3.0.0" + } + }, + "is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "dev": true + }, "yaml": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.1.1.tgz", @@ -31654,13 +31662,6 @@ "is-plain-obj": "^4.0.0", "trough": "^2.0.0", "vfile": "^5.0.0" - }, - "dependencies": { - "is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" - } } }, "unified-args": { @@ -31720,12 +31721,6 @@ "integrity": "sha512-yG9pxkWJVTy4cmRsNWE3ztFdtFuYIV8G4N+cbCkO8b+qngkLyIUhxQFuZ0qJm67+0nUOxjMPT7nfksPKza1v2g==", "dev": true }, - "is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "dev": true - }, "lines-and-columns": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz", @@ -31838,12 +31833,6 @@ "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==", "dev": true }, - "is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "dev": true - }, "lines-and-columns": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz", @@ -32499,9 +32488,9 @@ } }, "xo": { - "version": "0.51.0", - "resolved": "https://registry.npmjs.org/xo/-/xo-0.51.0.tgz", - "integrity": "sha512-T9VTOsiCzJJZKNBVWbPFCaVdo/TebfXHjzozCSUq1LZnpMUXLzcAyeNOekKG4/b2CvKoCC5jeSQlyylXzAKq6Q==", + "version": "0.52.4", + "resolved": "https://registry.npmjs.org/xo/-/xo-0.52.4.tgz", + "integrity": "sha512-5K+2bSy+nPO1fE6TS5KydgqhZ5pyXvO1P6Rw98aflxHi2LFWoShLmDpJOCxSpIP5867LVOCdH/WO+7iXk6/WVQ==", "dev": true, "requires": { "@eslint/eslintrc": "^1.3.0", @@ -32510,20 +32499,20 @@ "arrify": "^3.0.0", "cosmiconfig": "^7.0.1", "define-lazy-prop": "^3.0.0", - "eslint": "^8.17.0", + "eslint": "^8.22.0", "eslint-config-prettier": "^8.5.0", - "eslint-config-xo": "^0.41.0", + "eslint-config-xo": "^0.42.0", "eslint-config-xo-typescript": "*", "eslint-formatter-pretty": "^4.1.0", "eslint-import-resolver-webpack": "^0.13.2", "eslint-plugin-ava": "^13.2.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.26.0", - "eslint-plugin-n": "^15.2.2", + "eslint-plugin-n": "^15.2.5", "eslint-plugin-no-use-extend-native": "^0.5.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-unicorn": "^42.0.0", - "esm-utils": "^4.0.0", + "esm-utils": "^4.1.0", "find-cache-dir": "^3.3.2", "find-up": "^6.3.0", "get-stdin": "^9.0.0", @@ -32571,15 +32560,14 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.30.7", + "version": "5.39.0", "bundled": true, "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.30.7", - "@typescript-eslint/type-utils": "5.30.7", - "@typescript-eslint/utils": "5.30.7", + "@typescript-eslint/scope-manager": "5.39.0", + "@typescript-eslint/type-utils": "5.39.0", + "@typescript-eslint/utils": "5.39.0", "debug": "^4.3.4", - "functional-red-black-tree": "^1.0.1", "ignore": "^5.2.0", "regexpp": "^3.2.0", "semver": "^7.3.7", @@ -32587,47 +32575,48 @@ } }, "@typescript-eslint/parser": { - "version": "5.30.7", + "version": "5.39.0", "bundled": true, "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.30.7", - "@typescript-eslint/types": "5.30.7", - "@typescript-eslint/typescript-estree": "5.30.7", + "@typescript-eslint/scope-manager": "5.39.0", + "@typescript-eslint/types": "5.39.0", + "@typescript-eslint/typescript-estree": "5.39.0", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.30.7", + "version": "5.39.0", "bundled": true, "dev": true, "requires": { - "@typescript-eslint/types": "5.30.7", - "@typescript-eslint/visitor-keys": "5.30.7" + "@typescript-eslint/types": "5.39.0", + "@typescript-eslint/visitor-keys": "5.39.0" } }, "@typescript-eslint/type-utils": { - "version": "5.30.7", + "version": "5.39.0", "bundled": true, "dev": true, "requires": { - "@typescript-eslint/utils": "5.30.7", + "@typescript-eslint/typescript-estree": "5.39.0", + "@typescript-eslint/utils": "5.39.0", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.30.7", + "version": "5.39.0", "bundled": true, "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "5.30.7", + "version": "5.39.0", "bundled": true, "dev": true, "requires": { - "@typescript-eslint/types": "5.30.7", - "@typescript-eslint/visitor-keys": "5.30.7", + "@typescript-eslint/types": "5.39.0", + "@typescript-eslint/visitor-keys": "5.39.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -32656,24 +32645,24 @@ } }, "@typescript-eslint/utils": { - "version": "5.30.7", + "version": "5.39.0", "bundled": true, "dev": true, "requires": { "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.30.7", - "@typescript-eslint/types": "5.30.7", - "@typescript-eslint/typescript-estree": "5.30.7", + "@typescript-eslint/scope-manager": "5.39.0", + "@typescript-eslint/types": "5.39.0", + "@typescript-eslint/typescript-estree": "5.39.0", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" } }, "@typescript-eslint/visitor-keys": { - "version": "5.30.7", + "version": "5.39.0", "bundled": true, "dev": true, "requires": { - "@typescript-eslint/types": "5.30.7", + "@typescript-eslint/types": "5.39.0", "eslint-visitor-keys": "^3.3.0" } }, @@ -32714,7 +32703,7 @@ } }, "eslint-config-xo-typescript": { - "version": "0.51.1", + "version": "0.53.0", "bundled": true, "dev": true }, @@ -32768,7 +32757,7 @@ "dev": true }, "fast-glob": { - "version": "3.2.11", + "version": "3.2.12", "bundled": true, "dev": true, "requires": { @@ -32805,11 +32794,6 @@ "path-exists": "^5.0.0" } }, - "functional-red-black-tree": { - "version": "1.0.1", - "bundled": true, - "dev": true - }, "glob-parent": { "version": "5.1.2", "bundled": true, diff --git a/package.json b/package.json index a3684d2f8..c40a72cc5 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "eslint-plugin-react": "^7.0.0", "eslint-plugin-react-hooks": "^4.0.0", "eslint-plugin-security": "^1.0.0", - "estree-util-value-to-estree": "^1.0.0", + "estree-util-value-to-estree": "^2.0.0", "globby": "^13.0.0", "hast-to-hyperscript": "^10.0.0", "hast-util-select": "^5.0.0", @@ -114,7 +114,7 @@ "xast-util-feed": "^1.0.0", "xast-util-sitemap": "^1.0.0", "xast-util-to-xml": "^3.0.0", - "xo": "^0.51.0" + "xo": "^0.52.0" }, "scripts": { "postinstall": "patch-package", diff --git a/packages/loader/index.d.ts b/packages/loader/index.d.ts index 073e57543..c9d05356e 100644 --- a/packages/loader/index.d.ts +++ b/packages/loader/index.d.ts @@ -1,18 +1,17 @@ import type {ProcessorOptions} from '@mdx-js/mdx/lib/core.js' - -type LoaderContext = import('webpack').LoaderContext +import type {LoaderContext} from 'webpack' /** * A Webpack loader to compile MDX to JavaScript. * * [Reference for Loader API](https://webpack.js.org/api/loaders/) * - * @this {LoaderContext} + * @this {LoaderContext} * @param {string} value * The original module source code. * @returns {void} */ -declare function mdxLoader(this: LoaderContext, value: string): void +declare function mdxLoader(this: LoaderContext, value: string): void export default mdxLoader