Skip to content

Commit

Permalink
Replace remark-parse dependency with remark-parse-no-trim (elastic#15…
Browse files Browse the repository at this point in the history
…1431)

(cherry picked from commit 6be491a)
  • Loading branch information
Thomas Watson committed Feb 20, 2023
1 parent 4ed6814 commit b509665
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23740,7 +23740,7 @@ remark-parse-no-trim@^8.0.4:
vfile-location "^3.0.0"
xtend "^4.0.1"

[email protected], remark-parse@^8.0.3:
[email protected]:
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==
Expand Down

0 comments on commit b509665

Please sign in to comment.