From 9e339fdd1ffa485653e1986def90b7c70b0d5ba6 Mon Sep 17 00:00:00 2001 From: chemicalkosek Date: Sat, 6 Nov 2021 06:55:55 +0100 Subject: [PATCH] Update remark and remark-html dependencies (#31051) That example errors out on ``` TypeError: (0 , remark__WEBPACK_IMPORTED_MODULE_0__.remark) is not a function ``` Updating those dependencies fixes the problem. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint` --- examples/cms-strapi/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/cms-strapi/package.json b/examples/cms-strapi/package.json index 25960e6c0732..147d835ceb42 100644 --- a/examples/cms-strapi/package.json +++ b/examples/cms-strapi/package.json @@ -11,8 +11,8 @@ "next": "latest", "react": "^17.0.2", "react-dom": "^17.0.2", - "remark": "12.0.0", - "remark-html": "11.0.2" + "remark": "^14.0.1", + "remark-html": "^15.0.0" }, "devDependencies": { "autoprefixer": "10.2.6",