Skip to content

Commit

Permalink
[SDPA-5279] Cheerio update (#1119)
Browse files Browse the repository at this point in the history
* update cheerio to latest to clear audit advisory

* slightly rework snapshot taking logic, update snapshot with cheerio rc.10

* add multi nbsp test, improve str replace on unicode markup plugin

* revert resolution on css-what

* revert unicode plugin change

* reinstate improved unicode replacement, update snapshot
  • Loading branch information
waitingallday authored Jan 14, 2022
1 parent 0423f8a commit 57101ba
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 93 deletions.
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ module.exports = {
'^.+\\.stories\\.js|^.+\\.mdx?$': '@storybook/addon-storyshots/injectFileName',
'^.+\\.js$': '<rootDir>/node_modules/babel-jest',
'.*\\.(vue)$': 'vue-jest',
'^.+\\.md?$': 'markdown-loader-jest'
'^.+\\.md?$': 'markdown-loader-jest',
'^.+\\.html?$': 'html-loader-jest'
},
transformIgnorePatterns: [
'node_modules/(?!(@dpc-sdp*|ol|ol-ext|@storybook*)/)'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-vue": "^7.5.0",
"html-loader-jest": "^0.2.1",
"husky": "^3.0.0",
"jest": "^24.8.0",
"jest-canvas-mock": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/Organisms/Markup/examplePlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const pluginReplaceUnicodeWhitespace = function () {
.map((i, node) => {
// Iterate through mapping and replace raw codepoint with entity
codepointMap.map(({ codepoint, entity }) => {
node.data = node.data.replace(String.fromCodePoint(codepoint), entity)
node.data = node.data.replace(new RegExp(String.fromCodePoint(codepoint), 'g'), entity)
})
})
}
Expand Down
25 changes: 1 addition & 24 deletions packages/components/Organisms/Markup/markup-transpiler.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,6 @@
import cheerio from 'cheerio'

// This is a hack to cheerio to solve the unwanted encode issue.
// https://github.com/cheeriojs/cheerio/issues/866#issuecomment-275699121
// We don't want cheerio to encode our vue template, as it will add encoded entities into Vue props.
// NOTE: Any HTML encoded entities in original HTML will be kept as it is.
const cheerioHtml = cheerio.prototype.html
cheerio.prototype.html = function wrappedHtml () {
var result = cheerioHtml.apply(this, arguments)

if (typeof result === 'string') {
result = result.replace(/&#x([0-9a-f]{1,6});/ig, function (entity, code) {
code = parseInt(code, 16)

// don't unescape ascii characters, assuming that all ascii characters
// are encoded for a good reason
if (code < 0x80) return entity

return String.fromCodePoint(code)
})
}

return result
}

// A markup transplier for converting HTML into Vue template by giving plugins.
// A markup transpiler for converting HTML into Vue template by giving plugins.
const markupTranspiler = (html, plugins = {}, options = {}) => {
const $ = cheerio.load(html, options)
const $body = $('body')
Expand Down
2 changes: 1 addition & 1 deletion packages/components/Organisms/Markup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"@dpc-sdp/ripple-embedded-video": "1.27.2",
"@dpc-sdp/ripple-global": "1.27.2",
"@dpc-sdp/ripple-link": "1.27.2",
"cheerio": "1.0.0-rc.2"
"cheerio": "1.0.0-rc.10"
}
}
2 changes: 1 addition & 1 deletion packages/ripple-nuxt-tide/lib/config/markup-plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ const pluginReplaceUnicodeWhitespace = function () {
.map((i, node) => {
// Iterate through mapping and replace raw codepoint with entity
codepointMap.map(({ codepoint, entity }) => {
node.data = node.data.replace(String.fromCodePoint(codepoint), entity)
node.data = node.data.replace(new RegExp(String.fromCodePoint(codepoint), 'g'), entity)
})
})
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* eslint-disable no-irregular-whitespace */
const html = `
<!-- Basic HTML elements -->
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<a href="http://google.com">&lt;&gt;&amp;'"©. ½ € 中文</a>
<h4>Sort out your'><&'"s finances</h4>\n\n<p><a href="https://www.test.dev/test">Here is a irregular white space</a> Another irregular white space.</p>
<p>&nbsp;</p>
<p>&nbsp; &nbsp; &nbsp;</p>
<p>Single line demonstrating a mixture of <em>inline markup</em> and the <b>19</b> different unicode​codepoints that canbe used for spaces.</p>
<img src="https://test.dev/test.jpeg" title="&quot;Needles, Knots &amp; Threads&quot;- an Exhibition of Embroidery &amp; Quilting">
<p>&nbsp;</p>
Expand Down Expand Up @@ -291,6 +289,3 @@ <h2>This is a heading 2</h2>
<!-- Callout -->
<p class="wysiwyg-callout">A callout test.</p>
<p class="wysiwyg-callout">Another callout test.</p>
`

export default html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
exports[`Markup transpiler should able transpile html into vue template with plugins 1`] = `
"<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<rpl-text-link :url=\\"linkData0.href\\" theme=\\"primary\\" :text=\\"linkData0.text\\"></rpl-text-link>
<h4>Sort out your&apos;&gt;&lt;&amp;&apos;&quot;s finances</h4>
<p><rpl-text-link :url=\\"linkData1.href\\" theme=\\"primary\\" :text=\\"linkData1.text\\"></rpl-text-link> Another irregular white space.</p>
<p> </p>
<h4>Sort out your'&gt;&lt;&amp;'\\"s finances</h4>\\\\n\\\\n<p><rpl-text-link :url=\\"linkData1.href\\" theme=\\"primary\\" :text=\\"linkData1.text\\"></rpl-text-link> Another irregular white space.</p>
<p> </p>
<p>Single line demonstrating a mixture of <em>inline markup</em> and the <b>19</b> different unicode codepoints that can be used for spaces.</p>
<img src=\\"https://test.dev/test.jpeg\\" title=\\"&quot;Needles, Knots &amp; Threads&quot;- an Exhibition of Embroidery &amp; Quilting\\">
<p> </p>
Expand All @@ -33,9 +31,9 @@ exports[`Markup transpiler should able transpile html into vue template with plu
</tbody></table></div>
<!-- pluginEmbeddedMediaVideo -->
<rpl-embedded-video width=\\"854\\" height=\\"480\\" src=\\"https://www.youtube.com/embed/Xb4ElZqit8k?autoplay=0&amp;start=0&amp;rel=0\\" class=\\"rpl-markup__embedded-video\\" variant=\\"link\\" :display-transcript=\\"true\\" :media-link=\\"embeddedMediaVideoData0.mediaLink\\" transcript=\\"Some video caption text &lt;&amp;&apos;&quot;\\"></rpl-embedded-video>
<rpl-embedded-video width=\\"854\\" height=\\"480\\" src=\\"https://www.youtube.com/embed/Xb4ElZqit8k?autoplay=0&amp;start=0&amp;rel=0\\" class=\\"rpl-markup__embedded-video\\" variant=\\"link\\" :display-transcript=\\"true\\" :media-link=\\"embeddedMediaVideoData0.mediaLink\\" transcript=\\"Some video caption text <&amp;'&quot;\\"></rpl-embedded-video>
<rpl-embedded-video width=\\"854\\" height=\\"480\\" src=\\"https://www.youtube.com/embed/aGU2la0fHds?autoplay=0&amp;start=0&amp;rel=0\\" class=\\"rpl-markup__embedded-video\\" variant=\\"link\\" :display-transcript=\\"true\\" :media-link=\\"embeddedMediaVideoData1.mediaLink\\" transcript=\\"Some video caption text &lt;&amp;&apos;&quot;\\"></rpl-embedded-video>
<rpl-embedded-video width=\\"854\\" height=\\"480\\" src=\\"https://www.youtube.com/embed/aGU2la0fHds?autoplay=0&amp;start=0&amp;rel=0\\" class=\\"rpl-markup__embedded-video\\" variant=\\"link\\" :display-transcript=\\"true\\" :media-link=\\"embeddedMediaVideoData1.mediaLink\\" transcript=\\"Some video caption text <&amp;'&quot;\\"></rpl-embedded-video>
<rpl-embedded-video width=\\"854\\" height=\\"480\\" src=\\"https://www.youtube.com/embed/aGU2la0fHds?autoplay=0&amp;start=0&amp;rel=0\\" class=\\"rpl-markup__embedded-video\\" variant=\\"full\\" :display-transcript=\\"true\\"></rpl-embedded-video>
Expand All @@ -55,20 +53,20 @@ exports[`Markup transpiler should able transpile html into vue template with plu
<article class=\\"embedded-entity embedded-entity--media embedded-entity--media--image\\">
<article class=\\"media media--type-image media--view-mode-embedded\\">
<div class=\\"field field--name-field-media-image field--type-image field--label-hidden field__item\\">
<img src=\\"https://test.dev/sites/default/files/2018-06/call-to-action.jpg\\" width=\\"275\\" height=\\"183\\" alt title=\\"A dummy call to action image (title)\\">
<img src=\\"https://test.dev/sites/default/files/2018-06/call-to-action.jpg\\" width=\\"275\\" height=\\"183\\" alt=\\"\\" title=\\"A dummy call to action image (title)\\">
</div>
</article>
</article>
<!-- pluginEmbeddedDocument -->
<rpl-document-link name=\\"test zip\\" extension=\\"zip\\" filesize=\\"787.53 KB\\" url=\\"/sites/default/files/2018-12/Screen%20Shot%202018-12-05%20at%2010.17.01%20am.zip\\" caption updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"docx\\" extension=\\"docx\\" filesize=\\"60.17 KB\\" url=\\"/sites/default/files/2018-12/180629SSP%20User%20Research%20%26%20Testing%20Playbook%20Final.docx\\" caption updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"xls\\" extension=\\"xlsx\\" filesize=\\"93 KB\\" url=\\"/sites/default/files/2018-12/list_one.xls\\" caption updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"pptx\\" extension=\\"ppt\\" filesize=\\"404.19 KB\\" url=\\"/sites/default/files/2018-12/samplepptx.pptx\\" caption updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"csv\\" extension=\\"csv\\" filesize=\\"545 bytes\\" url=\\"/sites/default/files/2018-12/C2ImportCalEventSample.csv\\" caption updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"doc\\" extension=\\"doc\\" filesize=\\"19 KB\\" url=\\"/sites/default/files/2018-12/TestWordDoc.doc\\" caption updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"xls\\" extension=\\"xlsx\\" filesize=\\"16 KB\\" url=\\"/sites/default/files/2018-12/tests-example.xls\\" caption updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"Text doc\\" extension=\\"txt\\" filesize=\\"374 bytes\\" url=\\"/sites/default/files/2018-12/Copy.txt\\" caption updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"test zip\\" extension=\\"zip\\" filesize=\\"787.53 KB\\" url=\\"/sites/default/files/2018-12/Screen%20Shot%202018-12-05%20at%2010.17.01%20am.zip\\" caption=\\"\\" updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"docx\\" extension=\\"docx\\" filesize=\\"60.17 KB\\" url=\\"/sites/default/files/2018-12/180629SSP%20User%20Research%20%26%20Testing%20Playbook%20Final.docx\\" caption=\\"\\" updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"xls\\" extension=\\"xlsx\\" filesize=\\"93 KB\\" url=\\"/sites/default/files/2018-12/list_one.xls\\" caption=\\"\\" updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"pptx\\" extension=\\"ppt\\" filesize=\\"404.19 KB\\" url=\\"/sites/default/files/2018-12/samplepptx.pptx\\" caption=\\"\\" updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"csv\\" extension=\\"csv\\" filesize=\\"545 bytes\\" url=\\"/sites/default/files/2018-12/C2ImportCalEventSample.csv\\" caption=\\"\\" updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"doc\\" extension=\\"doc\\" filesize=\\"19 KB\\" url=\\"/sites/default/files/2018-12/TestWordDoc.doc\\" caption=\\"\\" updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"xls\\" extension=\\"xlsx\\" filesize=\\"16 KB\\" url=\\"/sites/default/files/2018-12/tests-example.xls\\" caption=\\"\\" updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"Text doc\\" extension=\\"txt\\" filesize=\\"374 bytes\\" url=\\"/sites/default/files/2018-12/Copy.txt\\" caption=\\"\\" updated=\\"undefined\\"></rpl-document-link>
<rpl-document-link name=\\"ICS as Doc\\" extension=\\"ics\\" filesize=\\"24.28 KB\\" url=\\"/sites/default/files/2019-02/AAA10am%20to%201015am%20on%20weekdays%20%28AEDT%29%20_0.ics\\" caption=\\"Caption\\" updated=\\"undefined\\"></rpl-document-link>
Expand All @@ -80,20 +78,18 @@ exports[`Markup transpiler should able transpile html into vue template with plu
exports[`Markup transpiler should get same HTML with no plugins 1`] = `
"<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<a href=\\"http://google.com\\">&lt;&gt;&amp;&apos;&quot;©. ½ 中文</a>
<h4>Sort out your&apos;&gt;&lt;&amp;&apos;&quot;s finances</h4>
<p><a href=\\"https://www.test.dev/test\\">Here is a irregular white space</a> Another irregular white space.</p>
<p> </p>
<p>Single line demonstrating a mixture of <em>inline markup</em> and the <b>19</b> different unicode​codepoints that canbe used for spaces.</p>
<a href=\\"http://google.com\\">&lt;&gt;&amp;'\\"©. ½ 中文</a>
<h4>Sort out your'&gt;&lt;&amp;'\\"s finances</h4>\\\\n\\\\n<p><a href=\\"https://www.test.dev/test\\">Here is a&nbsp;irregular white space</a>&nbsp;Another irregular white space.</p>
<p>&nbsp; &nbsp; &nbsp;</p>
<p>Single&nbsp;line demonstrating a mixture of <em>inline markup</em> and the <b>19</b> different unicode​codepoints that canbe used for spaces.</p>
<img src=\\"https://test.dev/test.jpeg\\" title=\\"&quot;Needles, Knots &amp; Threads&quot;- an Exhibition of Embroidery &amp; Quilting\\">
<p> </p>
<p>&nbsp;</p>
<!-- parseForLinks -->
<h2>This is a heading 2</h2>
<!-- pluginLinks -->
<a href=\\"/test\\" title=\\"test-link\\">A test link &lt;&amp;&apos;&quot;</a>
<a href=\\"/test\\" title=\\"test-link\\">A test link &lt;&amp;'\\"</a>
<!-- pluginIframe -->
<iframe src=\\"https://ripple.sdp.vic.gov.au\\"></iframe>
Expand Down Expand Up @@ -124,7 +120,7 @@ exports[`Markup transpiler should get same HTML with no plugins 1`] = `
</div>
</article>
</div>
<figcaption>Some video caption text &lt;&amp;&apos;&quot;</figcaption>
<figcaption>Some video caption text &lt;&amp;'\\"</figcaption>
</figure>
<figure role=\\"group\\" class=\\"caption caption-div embedded-entity embedded-entity--media embedded-entity--media--embedded-video\\">
Expand All @@ -140,7 +136,7 @@ exports[`Markup transpiler should get same HTML with no plugins 1`] = `
</div>
</article>
</div>
<figcaption>Some video caption text &lt;&amp;&apos;&quot;</figcaption>
<figcaption>Some video caption text &lt;&amp;'\\"</figcaption>
</figure>
<figure role=\\"group\\" class=\\"caption caption-div embedded-entity embedded-entity--media embedded-entity--media--embedded-video\\">
Expand Down Expand Up @@ -171,7 +167,7 @@ exports[`Markup transpiler should get same HTML with no plugins 1`] = `
<article class=\\"embedded-entity embedded-entity--media embedded-entity--media--image\\">
<article class=\\"media media--type-image media--view-mode-embedded\\">
<div class=\\"field field--name-field-media-image field--type-image field--label-hidden field__item\\">
<img src=\\"https://test.dev/sites/default/files/2018-06/call-to-action.jpg\\" width=\\"275\\" height=\\"183\\" alt title=\\"A dummy call to action image (title)\\">
<img src=\\"https://test.dev/sites/default/files/2018-06/call-to-action.jpg\\" width=\\"275\\" height=\\"183\\" alt=\\"\\" title=\\"A dummy call to action image (title)\\">
</div>
</article>
</article>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import markupTranspiler from '@dpc-sdp/ripple-markup/markup-transpiler.js'
import markupPluginsLoader from '../../lib/core/markup-plugins-loader.js'
import html from './__fixtures__/markup-transpiler-html.js'
import html from './__fixtures__/markup-transpiler.html'

describe('Markup transpiler', () => {
// cheerio.js will convert `&nbsp;` to `&#xA0;` but it is ok, as they are same thing.
Expand Down
44 changes: 12 additions & 32 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9377,19 +9377,7 @@ cheerio-select@^1.5.0:
domhandler "^4.2.0"
domutils "^2.7.0"

[email protected]:
version "1.0.0-rc.2"
resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.2.tgz#4b9f53a81b27e4d5dac31c0ffd0cfa03cc6830db"
integrity sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=
dependencies:
css-select "~1.2.0"
dom-serializer "~0.1.0"
entities "~1.1.1"
htmlparser2 "^3.9.1"
lodash "^4.15.0"
parse5 "^3.0.1"

cheerio@^1.0.0-rc.10:
[email protected], cheerio@^1.0.0-rc.10:
version "1.0.0-rc.10"
resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.10.tgz#2ba3dcdfcc26e7956fc1f440e61d51c643379f3e"
integrity sha512-g0J0q/O6mW8z5zxQ3A8E8J1hUgp4SMOvEoW/x84OwyHKe/Zccz83PVT4y5Crcr530FV6NgmKI1qvGTKVl9XXVw==
Expand Down Expand Up @@ -10688,7 +10676,7 @@ css-select-base-adapter@^0.1.1:
resolved "https://registry.yarnpkg.com/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz#3b2ff4972cc362ab88561507a95408a1432135d7"
integrity sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==

css-select@^1.1.0, css-select@~1.2.0:
css-select@^1.1.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/css-select/-/css-select-1.2.0.tgz#2b3a110539c5355f1cd8d314623e870b121ec858"
integrity sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=
Expand Down Expand Up @@ -11668,14 +11656,6 @@ dom-serializer@^1.0.1, dom-serializer@^1.3.2:
domhandler "^4.2.0"
entities "^2.0.0"

dom-serializer@~0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.1.tgz#1ec4059e284babed36eec2941d4a970a189ce7c0"
integrity sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==
dependencies:
domelementtype "^1.3.0"
entities "^1.1.1"

dom-walk@^0.1.0:
version "0.1.2"
resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.2.tgz#0c548bef048f4d1f2a97249002236060daa3fd84"
Expand All @@ -11686,7 +11666,7 @@ domain-browser@^1.1.1, domain-browser@^1.2.0:
resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda"
integrity sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==

domelementtype@1, domelementtype@^1.3.0, domelementtype@^1.3.1:
domelementtype@1, domelementtype@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f"
integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==
Expand Down Expand Up @@ -12117,7 +12097,7 @@ enquirer@^2.3.5:
dependencies:
ansi-colors "^4.1.1"

entities@^1.1.1, entities@^1.1.2, entities@~1.1.1:
entities@^1.1.1, entities@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56"
integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==
Expand Down Expand Up @@ -14957,6 +14937,13 @@ html-escaper@^2.0.0:
resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453"
integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==

html-loader-jest@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/html-loader-jest/-/html-loader-jest-0.2.1.tgz#1803c2bcd9e41ccc738a0979cc6de0acbabac3f8"
integrity sha512-Sq9eDpsr/8kI+kyiQAL8jawa+aGRphANCeIeoLyU05DEfHd9vCi4Zz8AXUQTbqnF0TRGfVn9qN69/ox378kyGg==
dependencies:
html-loader "^0.5.1"

html-loader@^0.5.1:
version "0.5.5"
resolved "https://registry.yarnpkg.com/html-loader/-/html-loader-0.5.5.tgz#6356dbeb0c49756d8ebd5ca327f16ff06ab5faea"
Expand Down Expand Up @@ -15060,7 +15047,7 @@ htmlescape@^1.1.0:
resolved "https://registry.yarnpkg.com/htmlescape/-/htmlescape-1.1.1.tgz#3a03edc2214bca3b66424a3e7959349509cb0351"
integrity sha1-OgPtwiFLyjtmQko+eVk0lQnLA1E=

htmlparser2@^3.3.0, htmlparser2@^3.8.3, htmlparser2@^3.9.1:
htmlparser2@^3.3.0, htmlparser2@^3.8.3:
version "3.10.1"
resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f"
integrity sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==
Expand Down Expand Up @@ -20615,13 +20602,6 @@ [email protected]:
resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608"
integrity sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA==

parse5@^3.0.1:
version "3.0.3"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.3.tgz#042f792ffdd36851551cf4e9e066b3874ab45b5c"
integrity sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==
dependencies:
"@types/node" "*"

parse5@^5.1.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.1.tgz#f68e4e5ba1852ac2cadc00f4555fff6c2abb6178"
Expand Down

0 comments on commit 57101ba

Please sign in to comment.