chore: fix tests for CI

This commit is contained in:
Estevao Soares dos Santos 2022-03-09 15:19:34 +00:00
parent 54a54271ec
commit f87cf01282
4 changed files with 48 additions and 12 deletions

46
package-lock.json generated
View File

@ -10,7 +10,8 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"commander": "^9.0.0", "commander": "^9.0.0",
"jsdom": "^19.0.0" "jsdom": "^19.0.0",
"semver-sort": "^1.0.0"
}, },
"bin": { "bin": {
"showdown": "bin/showdown.js" "showdown": "bin/showdown.js"
@ -4798,7 +4799,6 @@
"version": "5.7.1", "version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
"dev": true,
"bin": { "bin": {
"semver": "bin/semver" "semver": "bin/semver"
} }
@ -4812,6 +4812,29 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/semver-sort": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/semver-sort/-/semver-sort-1.0.0.tgz",
"integrity": "sha512-JicVlQKz/C//4BiPmbHEDou6HihXxo5xqB/8Hm9FaLJ6HHkRRvYgCECq4u/z0XF8kyJQ/KAZt++A/kYz/oOSSg==",
"dependencies": {
"semver": "^5.0.3",
"semver-regex": "^3.1.2"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/semver-sort/node_modules/semver-regex": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-3.1.3.tgz",
"integrity": "sha512-Aqi54Mk9uYTjVexLnR67rTyBusmwd04cLkHy9hNvk3+G3nT2Oyg7E0l4XVbOaNwIvQ3hHeYxGcyEy+mKreyBFQ==",
"engines": {
"node": ">=8"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/serialize-javascript": { "node_modules/serialize-javascript": {
"version": "6.0.0", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz",
@ -9249,8 +9272,7 @@
"semver": { "semver": {
"version": "5.7.1", "version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
"dev": true
}, },
"semver-regex": { "semver-regex": {
"version": "1.0.0", "version": "1.0.0",
@ -9258,6 +9280,22 @@
"integrity": "sha1-kqSWkGX5xwxpR1PVUkj8aPj2Usk=", "integrity": "sha1-kqSWkGX5xwxpR1PVUkj8aPj2Usk=",
"dev": true "dev": true
}, },
"semver-sort": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/semver-sort/-/semver-sort-1.0.0.tgz",
"integrity": "sha512-JicVlQKz/C//4BiPmbHEDou6HihXxo5xqB/8Hm9FaLJ6HHkRRvYgCECq4u/z0XF8kyJQ/KAZt++A/kYz/oOSSg==",
"requires": {
"semver": "^5.0.3",
"semver-regex": "^3.1.2"
},
"dependencies": {
"semver-regex": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-3.1.3.tgz",
"integrity": "sha512-Aqi54Mk9uYTjVexLnR67rTyBusmwd04cLkHy9hNvk3+G3nT2Oyg7E0l4XVbOaNwIvQ3hHeYxGcyEy+mKreyBFQ=="
}
}
},
"serialize-javascript": { "serialize-javascript": {
"version": "6.0.0", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz",

View File

@ -26,8 +26,8 @@
"Estevão Santos" "Estevão Santos"
], ],
"funding": { "funding": {
"type" : "individual", "type": "individual",
"url" : "https://www.paypal.me/tiviesantos" "url": "https://www.paypal.me/tiviesantos"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -63,10 +63,11 @@
"performance-now": "^2.1.0", "performance-now": "^2.1.0",
"quiet-grunt": "^0.2.0", "quiet-grunt": "^0.2.0",
"sinon": "*", "sinon": "*",
"source-map-support": "^0.5.21" "source-map-support": "^0.5.21",
"semver-sort": "^1.0.0"
}, },
"dependencies": { "dependencies": {
"jsdom": "^19.0.0", "commander": "^9.0.0",
"commander": "^9.0.0" "jsdom": "^19.0.0"
} }
} }

View File

@ -1,2 +1 @@
<h1 id="sometitle">some title</h1> <h1 id="sometitle">some title</h1>
<p>Test <strong>bold</strong> and <em>italic</em></p>

View File

@ -1,3 +1 @@
# some title # some title
Test **bold** and _italic_