From dd390defcf21549e950036b4542d0a149128e759 Mon Sep 17 00:00:00 2001 From: KHMakoto Date: Fri, 14 Aug 2020 15:03:27 -0700 Subject: [PATCH 1/4] @uifabric/example-app-base: Updating dependencies to resolve security issues. --- packages/example-app-base/package.json | 4 +- .../components/CodeSnippet/CodeSnippet.tsx | 2 +- yarn.lock | 71 +++++++++++++++++-- 3 files changed, 68 insertions(+), 9 deletions(-) diff --git a/packages/example-app-base/package.json b/packages/example-app-base/package.json index 31a68bf1d11fb..8026bed73a984 100644 --- a/packages/example-app-base/package.json +++ b/packages/example-app-base/package.json @@ -48,11 +48,11 @@ "@uifabric/set-version": "^7.0.21", "@uifabric/tsx-editor": "^0.11.129", "color-check": "0.0.2", - "markdown-to-jsx": "6.6.1", + "markdown-to-jsx": "6.11.4", "office-ui-fabric-core": "^11.0.0", "office-ui-fabric-react": "^7.128.1", "react-custom-scrollbars": "^4.2.1", - "react-syntax-highlighter": "^10.1.3", + "react-syntax-highlighter": "^13.3.1", "tslib": "^1.10.0" } } diff --git a/packages/example-app-base/src/components/CodeSnippet/CodeSnippet.tsx b/packages/example-app-base/src/components/CodeSnippet/CodeSnippet.tsx index b1a5dd46f906b..e96553d05ef08 100644 --- a/packages/example-app-base/src/components/CodeSnippet/CodeSnippet.tsx +++ b/packages/example-app-base/src/components/CodeSnippet/CodeSnippet.tsx @@ -15,7 +15,7 @@ const xml = require('react-syntax-highlighter/dist/esm/languages/hljs/xml') /* eslint-enable @typescript-eslint/no-explicit-any */ // Import SyntaxHighlighter styles -const style: { [key: string]: IRawStyle } = require('react-syntax-highlighter/dist/styles/hljs/github').default; +const style: { [key: string]: IRawStyle } = require('react-syntax-highlighter/dist/esm/styles/hljs/github').default; // Register languages SyntaxHighlighter.registerLanguage('typescript', ts); diff --git a/yarn.lock b/yarn.lock index f004f9ec1c8be..490a812ed14b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10738,6 +10738,13 @@ fastq@^1.6.0: dependencies: reusify "^1.0.0" +fault@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/fault/-/fault-1.0.4.tgz#eafcfc0a6d214fc94601e170df29954a4f842f13" + integrity sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA== + dependencies: + format "^0.2.0" + fault@^1.0.1, fault@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/fault/-/fault-1.0.3.tgz#4da88cf979b6b792b4e13c7ec836767725170b7e" @@ -11301,7 +11308,7 @@ form-data@~2.3.1, form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" -format@^0.2.2: +format@^0.2.0, format@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b" integrity sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs= @@ -12503,6 +12510,11 @@ header-case@^1.0.0: no-case "^2.2.0" upper-case "^1.1.3" +highlight.js@^10.1.1, highlight.js@~10.1.0: + version "10.1.2" + resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.1.2.tgz#c20db951ba1c22c055010648dfffd7b2a968e00c" + integrity sha512-Q39v/Mn5mfBlMff9r+zzA+gWxRsCRKwEMvYTiisLr/XUiFI/4puWt0Ojdko3R3JCNWGdOWaA5g/Yxqa23kC5AA== + highlight.js@~9.13.0: version "9.13.1" resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.13.1.tgz#054586d53a6863311168488a0f58d6c505ce641e" @@ -16038,6 +16050,14 @@ lowercase-keys@^2.0.0: resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== +lowlight@^1.14.0: + version "1.14.0" + resolved "https://registry.yarnpkg.com/lowlight/-/lowlight-1.14.0.tgz#83ebc143fec0f9e6c0d3deffe01be129ce56b108" + integrity sha512-N2E7zTM7r1CwbzwspPxJvmjAbxljCPThTFawEX2Z7+P3NGrrvY54u8kyU16IY4qWfoVIxY8SYCS8jTkuG7TqYA== + dependencies: + fault "^1.0.0" + highlight.js "~10.1.0" + lowlight@~1.11.0: version "1.11.0" resolved "https://registry.yarnpkg.com/lowlight/-/lowlight-1.11.0.tgz#1304d83005126d4e8b1dc0f07981e9b689ec2efc" @@ -16234,12 +16254,12 @@ markdown-table@^2.0.0: dependencies: repeat-string "^1.0.0" -markdown-to-jsx@6.6.1: - version "6.6.1" - resolved "https://registry.yarnpkg.com/markdown-to-jsx/-/markdown-to-jsx-6.6.1.tgz#858b37f8a92526b1f3407593ff77c95927720bef" - integrity sha1-hYs3+KklJrHzQHWT/3fJWSdyC+8= +markdown-to-jsx@6.11.4: + version "6.11.4" + resolved "https://registry.yarnpkg.com/markdown-to-jsx/-/markdown-to-jsx-6.11.4.tgz#b4528b1ab668aef7fe61c1535c27e837819392c5" + integrity sha512-3lRCD5Sh+tfA52iGgfs/XZiw33f7fFX9Bn55aNnVNUd2GzLDkOWyKYYD8Yju2B1Vn+feiEdgJs8T6Tg0xNokPw== dependencies: - prop-types "^15.5.10" + prop-types "^15.6.2" unquote "^1.1.0" markdown-to-jsx@^6.9.1, markdown-to-jsx@^6.9.3: @@ -18361,6 +18381,18 @@ parse-entities@^1.1.0, parse-entities@^1.1.2: is-decimal "^1.0.0" is-hexadecimal "^1.0.0" +parse-entities@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-2.0.0.tgz#53c6eb5b9314a1f4ec99fa0fdf7ce01ecda0cbe8" + integrity sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ== + dependencies: + character-entities "^1.0.0" + character-entities-legacy "^1.0.0" + character-reference-invalid "^1.0.0" + is-alphanumerical "^1.0.0" + is-decimal "^1.0.0" + is-hexadecimal "^1.0.0" + parse-filepath@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" @@ -19096,6 +19128,13 @@ prismjs@^1.16.0, prismjs@^1.9.0: optionalDependencies: clipboard "^2.0.0" +prismjs@^1.21.0, prismjs@~1.21.0: + version "1.21.0" + resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.21.0.tgz#36c086ec36b45319ec4218ee164c110f9fc015a3" + integrity sha512-uGdSIu1nk3kej2iZsLyDoJ7e9bnPzIgY0naW/HdknGj61zScaprVEVGHrPoXqI+M9sP0NDnTK2jpkvmldpuqDw== + optionalDependencies: + clipboard "^2.0.0" + prismjs@^1.8.4, prismjs@~1.16.0: version "1.16.0" resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.16.0.tgz#406eb2c8aacb0f5f0f1167930cb83835d10a4308" @@ -19939,6 +19978,17 @@ react-syntax-highlighter@^11.0.2: prismjs "^1.8.4" refractor "^2.4.1" +react-syntax-highlighter@^13.3.1: + version "13.3.1" + resolved "https://registry.yarnpkg.com/react-syntax-highlighter/-/react-syntax-highlighter-13.3.1.tgz#80cf556902859238628b1b9c2d6e28d5d396adb8" + integrity sha512-GfIduBKlc7oebsEU4dpJPo04kVTEhSxe9F9hGWrzYVgGssJ06Kmf74LVOPp6pzj0Tj5pr5en8SKI8H2al4XeRA== + dependencies: + "@babel/runtime" "^7.3.1" + highlight.js "^10.1.1" + lowlight "^1.14.0" + prismjs "^1.21.0" + refractor "^3.0.0" + react-table@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/react-table/-/react-table-7.1.0.tgz#c975cd67e917c54190b6c9df29f085285b0c3f4e" @@ -20384,6 +20434,15 @@ refractor@^2.4.1: parse-entities "^1.1.2" prismjs "~1.16.0" +refractor@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/refractor/-/refractor-3.1.0.tgz#b05a43c8a1b4fccb30001ffcbd5cd781f7f06f78" + integrity sha512-bN8GvY6hpeXfC4SzWmYNQGLLF2ZakRDNBkgCL0vvl5hnpMrnyURk8Mv61v6pzn4/RBHzSWLp44SzMmVHqMGNww== + dependencies: + hastscript "^5.0.0" + parse-entities "^2.0.0" + prismjs "~1.21.0" + regenerate-unicode-properties@^8.2.0: version "8.2.0" resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz#e5de7111d655e7ba60c057dbe9ff37c87e65cdec" From 52f4bb7bf5670b8b61dcf056bf4a368c031458b4 Mon Sep 17 00:00:00 2001 From: KHMakoto Date: Fri, 14 Aug 2020 15:05:32 -0700 Subject: [PATCH 2/4] Change files --- ...e-app-base-2020-08-14-15-05-32-exampleAppBaseDeps.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 change/@uifabric-example-app-base-2020-08-14-15-05-32-exampleAppBaseDeps.json diff --git a/change/@uifabric-example-app-base-2020-08-14-15-05-32-exampleAppBaseDeps.json b/change/@uifabric-example-app-base-2020-08-14-15-05-32-exampleAppBaseDeps.json new file mode 100644 index 0000000000000..749e657a2d50d --- /dev/null +++ b/change/@uifabric-example-app-base-2020-08-14-15-05-32-exampleAppBaseDeps.json @@ -0,0 +1,8 @@ +{ + "type": "patch", + "comment": "@uifabric/example-app-base: Updating dependencies to resolve security issues.", + "packageName": "@uifabric/example-app-base", + "email": "humbertomakotomorimoto@gmail.com", + "dependentChangeType": "patch", + "date": "2020-08-14T22:05:32.209Z" +} From 5ea6dc285559e4aea7de91c8dc98207e1941fdd9 Mon Sep 17 00:00:00 2001 From: KHMakoto Date: Fri, 14 Aug 2020 16:00:13 -0700 Subject: [PATCH 3/4] Updating tsx-editor as wel. --- packages/example-app-base/package.json | 2 +- packages/tsx-editor/package.json | 4 +-- .../src/components/TypeScriptSnippet.tsx | 2 +- yarn.lock | 28 ++++--------------- 4 files changed, 9 insertions(+), 27 deletions(-) diff --git a/packages/example-app-base/package.json b/packages/example-app-base/package.json index 8026bed73a984..274d4c98a64d6 100644 --- a/packages/example-app-base/package.json +++ b/packages/example-app-base/package.json @@ -24,7 +24,7 @@ "@fluentui/eslint-plugin": "^0.53.4", "@types/color-check": "0.0.0", "@types/jest": "~24.9.0", - "@types/markdown-to-jsx": "6.9.0", + "@types/markdown-to-jsx": "6.11.0", "@types/react": "16.8.25", "@types/react-custom-scrollbars": "^4.0.5", "@types/react-dom": "16.8.4", diff --git a/packages/tsx-editor/package.json b/packages/tsx-editor/package.json index 28fb811141946..d1b95302e349e 100644 --- a/packages/tsx-editor/package.json +++ b/packages/tsx-editor/package.json @@ -28,7 +28,7 @@ "@types/node": "^10.3.2", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@types/react-syntax-highlighter": "^10.2.1", + "@types/react-syntax-highlighter": "^11.0.4", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", "react": "16.8.6", @@ -43,7 +43,7 @@ "@uifabric/react-hooks": "^7.8.2", "office-ui-fabric-react": "^7.128.1", "raw-loader": "^0.5.1", - "react-syntax-highlighter": "^10.1.3", + "react-syntax-highlighter": "^13.3.1", "tslib": "^1.10.0", "typescript": "3.7.2" }, diff --git a/packages/tsx-editor/src/components/TypeScriptSnippet.tsx b/packages/tsx-editor/src/components/TypeScriptSnippet.tsx index a33374ae120b3..eac69c6911fec 100644 --- a/packages/tsx-editor/src/components/TypeScriptSnippet.tsx +++ b/packages/tsx-editor/src/components/TypeScriptSnippet.tsx @@ -10,7 +10,7 @@ const SyntaxHighlighter = require<{ default: React.ComponentType & { registerLanguage: (lang: string, func: any) => void }; }>('react-syntax-highlighter/dist/esm/prism-light').default; const ts = require('react-syntax-highlighter/dist/esm/languages/prism/tsx').default; -const style: { [key: string]: IRawStyle } = require('react-syntax-highlighter/dist/styles/prism/vs').default; +const style: { [key: string]: IRawStyle } = require('react-syntax-highlighter/dist/esm/styles/prism/vs').default; /* eslint-enable @typescript-eslint/no-explicit-any */ // Register languages diff --git a/yarn.lock b/yarn.lock index 490a812ed14b8..1d235e5152404 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4177,10 +4177,10 @@ resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440" integrity sha512-ijGqzZt/b7BfzcK9vTrS6MFljQRPn5BFWOx8oE0GYxribu6uV+aA9zZuXI1zc/etK9E8nrgdoF2+LgUw7+9tJQ== -"@types/markdown-to-jsx@6.9.0": - version "6.9.0" - resolved "https://registry.yarnpkg.com/@types/markdown-to-jsx/-/markdown-to-jsx-6.9.0.tgz#799fb134f91ffe585dba826f3029101910750de4" - integrity sha512-LO/oxz+ZfwBDciiVGqLhhdyeWt196kgICe0QS88K1a2u/FgUF1QkeMAm4zdnAo1kNgo2KgFP1Uqy2IiPJLWppA== +"@types/markdown-to-jsx@6.11.0": + version "6.11.0" + resolved "https://registry.yarnpkg.com/@types/markdown-to-jsx/-/markdown-to-jsx-6.11.0.tgz#a19e458a9415763859f2c92c4c5b07a80bea8c14" + integrity sha512-OFFHQ3LK+g8lSfwdqjXBbrGFdgH/MYXhzIYSOJ5xapT++eEhRx7wOfY3xxtktVtQyQtsB7Wljs7IDGgKfurm2A== dependencies: "@types/react" "*" @@ -4362,20 +4362,13 @@ dependencies: "@types/react" "*" -"@types/react-syntax-highlighter@11.0.4": +"@types/react-syntax-highlighter@11.0.4", "@types/react-syntax-highlighter@^11.0.4": version "11.0.4" resolved "https://registry.yarnpkg.com/@types/react-syntax-highlighter/-/react-syntax-highlighter-11.0.4.tgz#d86d17697db62f98046874f62fdb3e53a0bbc4cd" integrity sha512-9GfTo3a0PHwQeTVoqs0g5bS28KkSY48pp5659wA+Dp4MqceDEa8EHBqrllJvvtyusszyJhViUEap0FDvlk/9Zg== dependencies: "@types/react" "*" -"@types/react-syntax-highlighter@^10.2.1": - version "10.2.1" - resolved "https://registry.yarnpkg.com/@types/react-syntax-highlighter/-/react-syntax-highlighter-10.2.1.tgz#b0f75c22cbe7d12104581648348d91d3cd7f13fa" - integrity sha512-M2BAOiiQ2KDkCiuhO1UxAsSNfrSegUfXL1MabRggOoqJoPpaoSuTxGF+TgLuAjMEVW8dJDtp7WpBjjRLMxWgrQ== - dependencies: - "@types/react" "*" - "@types/react-table@^7.0.19": version "7.0.19" resolved "https://registry.yarnpkg.com/@types/react-table/-/react-table-7.0.19.tgz#a70603ac0ffdeaf399fc6919aacb32fc42e9dd40" @@ -19956,17 +19949,6 @@ react-source-render@4.0.0-1: react-fast-compare "^2.0.4" react-is "^16.6.3" -react-syntax-highlighter@^10.1.3: - version "10.3.5" - resolved "https://registry.yarnpkg.com/react-syntax-highlighter/-/react-syntax-highlighter-10.3.5.tgz#3b3e2d1eba92fb7988c3b50d22d2c74ae0263fdd" - integrity sha512-KR4YE7Q91bHEhvIxuvs/J3tJWfxTyBAAMS4fcMOR9h0C6SoCZIr1OUkVamHOqHMDEck4tdS9gp0D/vlAyPLftA== - dependencies: - "@babel/runtime" "^7.3.1" - highlight.js "~9.13.0" - lowlight "~1.11.0" - prismjs "^1.8.4" - refractor "^2.4.1" - react-syntax-highlighter@^11.0.2: version "11.0.2" resolved "https://registry.yarnpkg.com/react-syntax-highlighter/-/react-syntax-highlighter-11.0.2.tgz#4e3f376e752b20d2f54e4c55652fd663149e4029" From 361afcb1b626070522157fdc1773c35949cab031 Mon Sep 17 00:00:00 2001 From: KHMakoto Date: Fri, 14 Aug 2020 16:31:15 -0700 Subject: [PATCH 4/4] Removing changes for react-syntax-highlighter dependency. --- packages/example-app-base/package.json | 2 +- .../components/CodeSnippet/CodeSnippet.tsx | 2 +- packages/tsx-editor/package.json | 4 +- .../src/components/TypeScriptSnippet.tsx | 2 +- yarn.lock | 81 +++++-------------- 5 files changed, 25 insertions(+), 66 deletions(-) diff --git a/packages/example-app-base/package.json b/packages/example-app-base/package.json index 274d4c98a64d6..64b7094450266 100644 --- a/packages/example-app-base/package.json +++ b/packages/example-app-base/package.json @@ -52,7 +52,7 @@ "office-ui-fabric-core": "^11.0.0", "office-ui-fabric-react": "^7.128.1", "react-custom-scrollbars": "^4.2.1", - "react-syntax-highlighter": "^13.3.1", + "react-syntax-highlighter": "^10.1.3", "tslib": "^1.10.0" } } diff --git a/packages/example-app-base/src/components/CodeSnippet/CodeSnippet.tsx b/packages/example-app-base/src/components/CodeSnippet/CodeSnippet.tsx index e96553d05ef08..b1a5dd46f906b 100644 --- a/packages/example-app-base/src/components/CodeSnippet/CodeSnippet.tsx +++ b/packages/example-app-base/src/components/CodeSnippet/CodeSnippet.tsx @@ -15,7 +15,7 @@ const xml = require('react-syntax-highlighter/dist/esm/languages/hljs/xml') /* eslint-enable @typescript-eslint/no-explicit-any */ // Import SyntaxHighlighter styles -const style: { [key: string]: IRawStyle } = require('react-syntax-highlighter/dist/esm/styles/hljs/github').default; +const style: { [key: string]: IRawStyle } = require('react-syntax-highlighter/dist/styles/hljs/github').default; // Register languages SyntaxHighlighter.registerLanguage('typescript', ts); diff --git a/packages/tsx-editor/package.json b/packages/tsx-editor/package.json index d1b95302e349e..28fb811141946 100644 --- a/packages/tsx-editor/package.json +++ b/packages/tsx-editor/package.json @@ -28,7 +28,7 @@ "@types/node": "^10.3.2", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@types/react-syntax-highlighter": "^11.0.4", + "@types/react-syntax-highlighter": "^10.2.1", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", "react": "16.8.6", @@ -43,7 +43,7 @@ "@uifabric/react-hooks": "^7.8.2", "office-ui-fabric-react": "^7.128.1", "raw-loader": "^0.5.1", - "react-syntax-highlighter": "^13.3.1", + "react-syntax-highlighter": "^10.1.3", "tslib": "^1.10.0", "typescript": "3.7.2" }, diff --git a/packages/tsx-editor/src/components/TypeScriptSnippet.tsx b/packages/tsx-editor/src/components/TypeScriptSnippet.tsx index eac69c6911fec..a33374ae120b3 100644 --- a/packages/tsx-editor/src/components/TypeScriptSnippet.tsx +++ b/packages/tsx-editor/src/components/TypeScriptSnippet.tsx @@ -10,7 +10,7 @@ const SyntaxHighlighter = require<{ default: React.ComponentType & { registerLanguage: (lang: string, func: any) => void }; }>('react-syntax-highlighter/dist/esm/prism-light').default; const ts = require('react-syntax-highlighter/dist/esm/languages/prism/tsx').default; -const style: { [key: string]: IRawStyle } = require('react-syntax-highlighter/dist/esm/styles/prism/vs').default; +const style: { [key: string]: IRawStyle } = require('react-syntax-highlighter/dist/styles/prism/vs').default; /* eslint-enable @typescript-eslint/no-explicit-any */ // Register languages diff --git a/yarn.lock b/yarn.lock index 1d235e5152404..9a0409a7c061f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4362,13 +4362,20 @@ dependencies: "@types/react" "*" -"@types/react-syntax-highlighter@11.0.4", "@types/react-syntax-highlighter@^11.0.4": +"@types/react-syntax-highlighter@11.0.4": version "11.0.4" resolved "https://registry.yarnpkg.com/@types/react-syntax-highlighter/-/react-syntax-highlighter-11.0.4.tgz#d86d17697db62f98046874f62fdb3e53a0bbc4cd" integrity sha512-9GfTo3a0PHwQeTVoqs0g5bS28KkSY48pp5659wA+Dp4MqceDEa8EHBqrllJvvtyusszyJhViUEap0FDvlk/9Zg== dependencies: "@types/react" "*" +"@types/react-syntax-highlighter@^10.2.1": + version "10.2.1" + resolved "https://registry.yarnpkg.com/@types/react-syntax-highlighter/-/react-syntax-highlighter-10.2.1.tgz#b0f75c22cbe7d12104581648348d91d3cd7f13fa" + integrity sha512-M2BAOiiQ2KDkCiuhO1UxAsSNfrSegUfXL1MabRggOoqJoPpaoSuTxGF+TgLuAjMEVW8dJDtp7WpBjjRLMxWgrQ== + dependencies: + "@types/react" "*" + "@types/react-table@^7.0.19": version "7.0.19" resolved "https://registry.yarnpkg.com/@types/react-table/-/react-table-7.0.19.tgz#a70603ac0ffdeaf399fc6919aacb32fc42e9dd40" @@ -10731,13 +10738,6 @@ fastq@^1.6.0: dependencies: reusify "^1.0.0" -fault@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/fault/-/fault-1.0.4.tgz#eafcfc0a6d214fc94601e170df29954a4f842f13" - integrity sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA== - dependencies: - format "^0.2.0" - fault@^1.0.1, fault@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/fault/-/fault-1.0.3.tgz#4da88cf979b6b792b4e13c7ec836767725170b7e" @@ -11301,7 +11301,7 @@ form-data@~2.3.1, form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" -format@^0.2.0, format@^0.2.2: +format@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b" integrity sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs= @@ -12503,11 +12503,6 @@ header-case@^1.0.0: no-case "^2.2.0" upper-case "^1.1.3" -highlight.js@^10.1.1, highlight.js@~10.1.0: - version "10.1.2" - resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.1.2.tgz#c20db951ba1c22c055010648dfffd7b2a968e00c" - integrity sha512-Q39v/Mn5mfBlMff9r+zzA+gWxRsCRKwEMvYTiisLr/XUiFI/4puWt0Ojdko3R3JCNWGdOWaA5g/Yxqa23kC5AA== - highlight.js@~9.13.0: version "9.13.1" resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.13.1.tgz#054586d53a6863311168488a0f58d6c505ce641e" @@ -16043,14 +16038,6 @@ lowercase-keys@^2.0.0: resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== -lowlight@^1.14.0: - version "1.14.0" - resolved "https://registry.yarnpkg.com/lowlight/-/lowlight-1.14.0.tgz#83ebc143fec0f9e6c0d3deffe01be129ce56b108" - integrity sha512-N2E7zTM7r1CwbzwspPxJvmjAbxljCPThTFawEX2Z7+P3NGrrvY54u8kyU16IY4qWfoVIxY8SYCS8jTkuG7TqYA== - dependencies: - fault "^1.0.0" - highlight.js "~10.1.0" - lowlight@~1.11.0: version "1.11.0" resolved "https://registry.yarnpkg.com/lowlight/-/lowlight-1.11.0.tgz#1304d83005126d4e8b1dc0f07981e9b689ec2efc" @@ -18374,18 +18361,6 @@ parse-entities@^1.1.0, parse-entities@^1.1.2: is-decimal "^1.0.0" is-hexadecimal "^1.0.0" -parse-entities@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-2.0.0.tgz#53c6eb5b9314a1f4ec99fa0fdf7ce01ecda0cbe8" - integrity sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ== - dependencies: - character-entities "^1.0.0" - character-entities-legacy "^1.0.0" - character-reference-invalid "^1.0.0" - is-alphanumerical "^1.0.0" - is-decimal "^1.0.0" - is-hexadecimal "^1.0.0" - parse-filepath@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" @@ -19121,13 +19096,6 @@ prismjs@^1.16.0, prismjs@^1.9.0: optionalDependencies: clipboard "^2.0.0" -prismjs@^1.21.0, prismjs@~1.21.0: - version "1.21.0" - resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.21.0.tgz#36c086ec36b45319ec4218ee164c110f9fc015a3" - integrity sha512-uGdSIu1nk3kej2iZsLyDoJ7e9bnPzIgY0naW/HdknGj61zScaprVEVGHrPoXqI+M9sP0NDnTK2jpkvmldpuqDw== - optionalDependencies: - clipboard "^2.0.0" - prismjs@^1.8.4, prismjs@~1.16.0: version "1.16.0" resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.16.0.tgz#406eb2c8aacb0f5f0f1167930cb83835d10a4308" @@ -19949,6 +19917,17 @@ react-source-render@4.0.0-1: react-fast-compare "^2.0.4" react-is "^16.6.3" +react-syntax-highlighter@^10.1.3: + version "10.3.5" + resolved "https://registry.yarnpkg.com/react-syntax-highlighter/-/react-syntax-highlighter-10.3.5.tgz#3b3e2d1eba92fb7988c3b50d22d2c74ae0263fdd" + integrity sha512-KR4YE7Q91bHEhvIxuvs/J3tJWfxTyBAAMS4fcMOR9h0C6SoCZIr1OUkVamHOqHMDEck4tdS9gp0D/vlAyPLftA== + dependencies: + "@babel/runtime" "^7.3.1" + highlight.js "~9.13.0" + lowlight "~1.11.0" + prismjs "^1.8.4" + refractor "^2.4.1" + react-syntax-highlighter@^11.0.2: version "11.0.2" resolved "https://registry.yarnpkg.com/react-syntax-highlighter/-/react-syntax-highlighter-11.0.2.tgz#4e3f376e752b20d2f54e4c55652fd663149e4029" @@ -19960,17 +19939,6 @@ react-syntax-highlighter@^11.0.2: prismjs "^1.8.4" refractor "^2.4.1" -react-syntax-highlighter@^13.3.1: - version "13.3.1" - resolved "https://registry.yarnpkg.com/react-syntax-highlighter/-/react-syntax-highlighter-13.3.1.tgz#80cf556902859238628b1b9c2d6e28d5d396adb8" - integrity sha512-GfIduBKlc7oebsEU4dpJPo04kVTEhSxe9F9hGWrzYVgGssJ06Kmf74LVOPp6pzj0Tj5pr5en8SKI8H2al4XeRA== - dependencies: - "@babel/runtime" "^7.3.1" - highlight.js "^10.1.1" - lowlight "^1.14.0" - prismjs "^1.21.0" - refractor "^3.0.0" - react-table@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/react-table/-/react-table-7.1.0.tgz#c975cd67e917c54190b6c9df29f085285b0c3f4e" @@ -20416,15 +20384,6 @@ refractor@^2.4.1: parse-entities "^1.1.2" prismjs "~1.16.0" -refractor@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/refractor/-/refractor-3.1.0.tgz#b05a43c8a1b4fccb30001ffcbd5cd781f7f06f78" - integrity sha512-bN8GvY6hpeXfC4SzWmYNQGLLF2ZakRDNBkgCL0vvl5hnpMrnyURk8Mv61v6pzn4/RBHzSWLp44SzMmVHqMGNww== - dependencies: - hastscript "^5.0.0" - parse-entities "^2.0.0" - prismjs "~1.21.0" - regenerate-unicode-properties@^8.2.0: version "8.2.0" resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz#e5de7111d655e7ba60c057dbe9ff37c87e65cdec"