Skip to content

Commit

Permalink
chore(dev-deps): Bump dev dependencies to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Nov 24, 2021
1 parent 2c94bba commit 67e3785
Show file tree
Hide file tree
Showing 6 changed files with 316 additions and 366 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@
"@babel/plugin-transform-typescript": "^7.16.1",
"@mlaursen/eslint-config": "^1.2.0",
"@testing-library/dom": "^8.11.1",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/jest-dom": "^5.15.1",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "13.5.0",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/jest": "^27.0.3",
"@types/lodash": "^4.14.177",
"@types/node": "^16.11.9",
"@types/node": "^16.11.10",
"@types/prettier": "^2.4.2",
"@types/reach__router": "^1.3.9",
"@types/react": "^17.0.36",
Expand Down
8 changes: 5 additions & 3 deletions packages/dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,25 @@
"lodash": "^4.17.21",
"loglevel": "^1.8.0",
"markdown-toc": "^1.2.0",
"marked": "^4.0.4",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.9",
"postcss": "^8.4.0",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-preset-env": "^6.7.0",
"postcss-preset-env": "^7.0.1",
"prettier": "^2.4.1",
"pretty-ms": "^7.0.0",
"prompts": "^2.4.2",
"rimraf": "^3.0.2",
"sass": "^1.43.4",
"sassdoc": "^2.7.2",
"ts-morph": "^13.0.0",
"ts-morph": "^13.0.2",
"typedoc": "^0.22.9",
"typescript": "^4.5.2"
},
"devDependencies": {
"@types/cssnano": "^4.0.1",
"@types/he": "^1.1.2",
"@types/marked": "^4.0.1",
"@types/prompts": "^2.0.14",
"@types/sass": "^1.43.0",
"chokidar-cli": "^3.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/dev-utils/src/indexer/parseMarkdown.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { decode } from "he";
import { parse, Renderer } from "marked";
import { marked, Renderer } from "marked";

import { getPackages } from "../utils";
import { TOCAnchor } from "./types";
Expand Down Expand Up @@ -106,7 +106,7 @@ export function parseMarkdown(markdown: string): MarkdownResult {
/#customizing-your-theme/g,
"[customizing your theme](/guides/customizing-your-theme)"
);
parse(updated, { renderer });
marked.parse(updated, { renderer });

return {
anchors,
Expand Down
10 changes: 5 additions & 5 deletions packages/documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"codesandbox": "^2.2.3",
"date-fns": "^2.26.0",
"filesize": "^8.0.6",
"formidable": "^1.2.2",
"formidable": "^2.0.1",
"fuse.js": "6.4.6",
"js-cookie": "^3.0.1",
"lodash": "^4.17.21",
Expand All @@ -35,7 +35,7 @@
"react": "^17.0.2",
"react-dom": "^17.0.1",
"react-hook-form": "^7.20.2",
"react-marked-renderer": "^0.2.1",
"react-marked-renderer": "^1.0.0",
"react-md": "^3.1.1",
"react-router-dom": "^5.3.0",
"react-swipeable": "^6.2.0",
Expand All @@ -46,8 +46,8 @@
"devDependencies": {
"@babel/core": "^7.16.0",
"@react-md/dev-utils": "^3.1.0",
"@types/formidable": "^1.2.4",
"@types/gtag.js": "^0.0.7",
"@types/formidable": "^2.0.0",
"@types/gtag.js": "^0.0.8",
"@types/js-cookie": "^3.0.1",
"@types/prismjs": "^1.16.6",
"@types/qs": "^6.9.7",
Expand All @@ -57,7 +57,7 @@
"npm-run-all": "^4.1.5",
"raw-loader": "^4.0.2",
"typescript": "^4.5.2",
"webpack": "^5.64.2"
"webpack": "^5.64.3"
},
"browerlist": [
"not ie 11",
Expand Down
4 changes: 2 additions & 2 deletions packages/documentation/src/pages/api/devnull.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function parse(req: NextApiRequest): Promise<readonly File[]> {
}

const list = Object.values(files).reduce<File[]>((list, fileOrFiles) => {
if ("path" in fileOrFiles) {
if ("filepath" in fileOrFiles) {
list.push(fileOrFiles);
} else {
list.push(...fileOrFiles);
Expand Down Expand Up @@ -53,7 +53,7 @@ export default async function devnull(
const errors: NodeJS.ErrnoException[] = [];
await Promise.all(
files.map((file) =>
fs.unlink(file.path).catch((error) => {
fs.unlink(file.filepath).catch((error) => {
errors.push(error);
})
)
Expand Down

0 comments on commit 67e3785

Please sign in to comment.