[8.7] Replace remark-parse dependency with remark-parse-no-trim (#151431) (#151582)

# Backport

This will backport the following commits from `main` to `8.7`:
- [Replace remark-parse dependency with remark-parse-no-trim
(#151431)](https://github.com/elastic/kibana/pull/151431)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-20T08:05:58Z","message":"Replace
remark-parse dependency with remark-parse-no-trim
(#151431)","sha":"6be491a12bf634f853a642db0527d4f277004284","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v8.8.0"],"number":151431,"url":"https://github.com/elastic/kibana/pull/151431","mergeCommit":{"message":"Replace
remark-parse dependency with remark-parse-no-trim
(#151431)","sha":"6be491a12bf634f853a642db0527d4f277004284"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/151431","number":151431,"mergeCommit":{"message":"Replace
remark-parse dependency with remark-parse-no-trim
(#151431)","sha":"6be491a12bf634f853a642db0527d4f277004284"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
This commit is contained in:
Kibana Machine 2023-02-21 06:21:53 -05:00 committed by GitHub
parent 65b4e6cd11
commit 8a8ab239a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View file

@ -80,7 +80,7 @@
"**/globule/minimatch": "^3.1.2",
"**/hoist-non-react-statics": "^3.3.2",
"**/isomorphic-fetch/node-fetch": "^2.6.7",
"**/trim": "1.0.1",
"**/remark-parse/trim": "1.0.1",
"**/typescript": "4.6.3",
"globby/fast-glob": "^3.2.11"
},
@ -611,7 +611,7 @@
"redux-thunk": "^2.4.1",
"redux-thunks": "^1.0.0",
"remark-gfm": "1.0.0",
"remark-parse": "^8.0.3",
"remark-parse-no-trim": "^8.0.4",
"remark-stringify": "^8.0.3",
"require-in-the-middle": "^6.0.0",
"reselect": "^4.1.6",

View file

@ -7,7 +7,7 @@
import { filter } from 'lodash';
import type { Node } from 'unist';
import markdown from 'remark-parse';
import markdown from 'remark-parse-no-trim';
import remarkStringify from 'remark-stringify';
import unified from 'unified';

View file

@ -7,7 +7,7 @@
import type { IRouter } from '@kbn/core/server';
import unified from 'unified';
import markdown from 'remark-parse';
import markdown from 'remark-parse-no-trim';
import { some, filter } from 'lodash';
import deepEqual from 'fast-deep-equal';
import type { ECSMappingOrUndefined } from '@kbn/osquery-io-ts-types';

View file

@ -6,7 +6,7 @@
*/
import unified from 'unified';
import markdown from 'remark-parse';
import markdown from 'remark-parse-no-trim';
import { filter, reduce } from 'lodash';
import type { ECSMapping } from '@kbn/osquery-io-ts-types';

View file

@ -23740,7 +23740,7 @@ remark-parse-no-trim@^8.0.4:
vfile-location "^3.0.0"
xtend "^4.0.1"
remark-parse@8.0.3, remark-parse@^8.0.3:
remark-parse@8.0.3:
version "8.0.3"
resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-8.0.3.tgz#9c62aa3b35b79a486454c690472906075f40c7e1"
integrity sha512-E1K9+QLGgggHxCQtLt++uXltxEprmWzNfg+MxpfHsZlrddKzZ/hZyWHDbK3/Ap8HJQqYJRXP+jHczdL6q6i85Q==