From a7f88c1103b10c0eb2926c7e0fe23275dcabb51b Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Thu, 11 Feb 2021 13:09:46 -0800 Subject: [PATCH] Update to marked 2.0.0 --- webapp/package-lock.json | 19 +++++++++++++------ webapp/package.json | 4 ++-- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/webapp/package-lock.json b/webapp/package-lock.json index 656f643fb..f8dc5fdde 100644 --- a/webapp/package-lock.json +++ b/webapp/package-lock.json @@ -2008,9 +2008,9 @@ } }, "@types/marked": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@types/marked/-/marked-1.1.0.tgz", - "integrity": "sha512-j8XXj6/l9kFvCwMyVqozznqpd/nk80krrW+QiIJN60Uu9gX5Pvn4/qPJ2YngQrR3QREPwmrE1f9/EWKVTFzoEw==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@types/marked/-/marked-1.2.2.tgz", + "integrity": "sha512-wLfw1hnuuDYrFz97IzJja0pdVsC0oedtS4QsKH1/inyW9qkLQbXgMUqEQT0MVtUBx3twjWeInUfjQbhBVLECXw==", "dev": true }, "@types/nanoevents": { @@ -4538,6 +4538,13 @@ "codemirror": "^5.58.1", "codemirror-spell-checker": "1.1.2", "marked": "^1.2.0" + }, + "dependencies": { + "marked": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/marked/-/marked-1.2.9.tgz", + "integrity": "sha512-H8lIX2SvyitGX+TRdtS06m1jHMijKN/XjfH6Ooii9fvxMlh8QdqBfBDkGUpMWH2kQNrtixjzYUa3SH8ROTgRRw==" + } } }, "ecc-jsbn": { @@ -9453,9 +9460,9 @@ } }, "marked": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-1.2.0.tgz", - "integrity": "sha512-tiRxakgbNPBr301ihe/785NntvYyhxlqcL3YaC8CaxJQh7kiaEtrN9B/eK2I2943Yjkh5gw25chYFDQhOMCwMA==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-2.0.0.tgz", + "integrity": "sha512-NqRSh2+LlN2NInpqTQnS614Y/3NkVMFFU6sJlRFEpxJ/LHuK/qJECH7/fXZjk4VZstPW/Pevjil/VtSONsLc7Q==" }, "md5.js": { "version": "1.3.5", diff --git a/webapp/package.json b/webapp/package.json index d6b8f8e83..53e837045 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -22,7 +22,7 @@ }, "dependencies": { "emoji-mart": "^3.0.0", - "marked": "^1.1.1", + "marked": ">=2.0.0", "nanoevents": "^5.1.10", "react": "^16.13.1", "react-dom": "^16.13.1", @@ -53,7 +53,7 @@ "@testing-library/react": "^11.0.4", "@types/emoji-mart": "^3.0.3", "@types/jest": "^26.0.14", - "@types/marked": "^1.1.0", + "@types/marked": "^1.2.2", "@types/nanoevents": "^1.0.0", "@types/react": "^16.9.49", "@types/react-dom": "^16.9.8",