Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): Bump highlight.js from 10.3.1 to 10.3.2 #2

Closed
wants to merge 302 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
302 commits
Select commit Hold shift + click to select a range
4117ba2
move smartypants, mangle, and rules to lexer
UziTech Apr 14, 2020
1f5a621
spelling
UziTech Apr 14, 2020
ad5dace
build
UziTech Apr 14, 2020
0f05860
fix example
UziTech Apr 14, 2020
dd8e549
add mangle smartypants examples
UziTech Apr 14, 2020
4aecab3
Update docs/USING_PRO.md
UziTech Apr 15, 2020
dfbb016
fix docs
UziTech Apr 15, 2020
b767ede
Merge branch 'tokenizer' of https://github.com/UziTech/marked into to…
UziTech Apr 15, 2020
904c974
Merge pull request #1637 from UziTech/tokenizer
UziTech Apr 16, 2020
cf1abaa
add marked.use
UziTech Apr 19, 2020
dd86b71
add marked.use tests
UziTech Apr 19, 2020
07510c9
update docs with marked.use
UziTech Apr 19, 2020
07f2b33
return false to use last renderer/tokenizer
UziTech Apr 19, 2020
1050460
Fix docs
UziTech Apr 19, 2020
d5de6af
add marked.use section to docs
UziTech Apr 20, 2020
1bfbd9e
Merge pull request #1646 from UziTech/use-extension
UziTech Apr 20, 2020
92998df
🗜️ build [skip ci]
Apr 20, 2020
0605472
update deps
UziTech Apr 20, 2020
5dadcba
Merge pull request #1648 from UziTech/update-deps
styfle Apr 20, 2020
5db0b8c
1.0.0
UziTech Apr 20, 2020
1787947
Merge pull request #1649 from UziTech/release-1.0.0
UziTech Apr 21, 2020
55cae08
test: inden in render code, issue #1488
Scrum Apr 15, 2020
4db2afd
perf: add helper indentCodeCompensation
Scrum Apr 15, 2020
4393783
fix: indent in render code, close issue #1488
Scrum Apr 15, 2020
1ddf982
style: after lint
Scrum Apr 15, 2020
fbbdcc8
test: add helper toDeepEqual for strict html equal
Scrum Apr 16, 2020
91a884a
test: add condition for deepEqual rules
Scrum Apr 16, 2020
62efe07
test: add deepEqual rules
Scrum Apr 16, 2020
6570c1e
fix: incorrect compare rule
Scrum Apr 16, 2020
f3eb715
test: style expected for deepEqual
Scrum Apr 16, 2020
ce80652
style: after lint
Scrum Apr 16, 2020
ad26aeb
test: perf change deepEqual to renderExtra
Scrum Apr 17, 2020
70dc21f
test: perf toRenderExact method
Scrum Apr 17, 2020
8b8ecf1
style: after lint
Scrum Apr 17, 2020
05597ab
perf: to save the contract
Scrum Apr 20, 2020
0705c62
perf: move compensation to tokenizer
Scrum Apr 21, 2020
e6fe421
perf: diff string
Scrum Apr 23, 2020
8a73726
add test
UziTech Apr 24, 2020
8b638b7
fix codespan with newline
UziTech Apr 24, 2020
9721105
update docs
UziTech Apr 24, 2020
143ae5d
fix codespan spaces
UziTech Apr 24, 2020
60d810f
test only remove one space
UziTech Apr 24, 2020
6ad20ac
add newline to space test
UziTech Apr 24, 2020
c2d6d2f
only strip spaces
UziTech Apr 24, 2020
eb71dd8
perf: after review
Scrum Apr 24, 2020
228f0a6
perf: get match indent to code
Scrum Apr 27, 2020
56bf230
perf: throw error if raw undefined
Scrum Apr 28, 2020
5c166d4
Merge pull request #1645 from Scrum/fix/render-code
styfle May 2, 2020
24dbb99
🗜️ build [skip ci]
May 2, 2020
61bc4ba
fix underscore emphasis then comma
UziTech May 2, 2020
f634282
add browser field to point to es5
UziTech May 2, 2020
bf672bb
add tokenizer to option docs
UziTech May 3, 2020
f9388f1
Merge pull request #1662 from UziTech/docs-tokenizer-option
styfle May 3, 2020
0a57e47
Merge pull request #1652 from UziTech/codespan-newline
styfle May 3, 2020
623858c
🗜️ build [skip ci]
May 3, 2020
a220ce9
Merge pull request #1660 from UziTech/fix-em-comma
UziTech May 4, 2020
5027602
🗜️ build [skip ci]
May 4, 2020
a1679fa
Merge pull request #1661 from UziTech/browser-field
styfle May 4, 2020
13b0c07
render code with and without language with the trailing newline
devoto13 May 10, 2020
31f8379
Merge pull request #1670 from devoto13/code-newline
UziTech May 11, 2020
0cd8598
🗜️ build [skip ci]
May 11, 2020
369bf41
fix loose task list with no tokens
UziTech May 12, 2020
cec5f5e
Merge pull request #1674 from UziTech/task-no-tokens
styfle May 12, 2020
a1d224d
🗜️ build [skip ci]
May 12, 2020
52b91dc
iterate over all tokens
UziTech May 4, 2020
cb42b90
add list_item type to list item token
UziTech May 4, 2020
db3b61b
add tests
UziTech May 4, 2020
a337c76
add walkTokens option
UziTech May 12, 2020
267a176
add use walkTokens tests
UziTech May 12, 2020
acc84eb
add walkTokens to docs
UziTech May 13, 2020
12d8a6e
remove return false to stop iteration
UziTech May 13, 2020
5ef872b
Merge pull request #1664 from UziTech/fix-highlight-async
UziTech May 14, 2020
05f2fd6
🗜️ build [skip ci]
May 14, 2020
085b385
update devdeps
UziTech May 16, 2020
cc8561a
1.1.0
UziTech May 16, 2020
8cfa29c
Merge pull request #1677 from UziTech/release-1.1.0
UziTech May 16, 2020
e210c87
chore(fix): Fix some problems with demo quickref
hughsw May 19, 2020
e516463
Update smiley image url
hughsw May 19, 2020
48448cc
fix image links with escaped brackets
UziTech May 19, 2020
d57c89d
fix redos
UziTech May 20, 2020
04ea199
Merge pull request #1683 from UziTech/image-links
UziTech May 20, 2020
19ebe51
🗜️ build [skip ci]
May 20, 2020
0233262
fix async highlight sync
UziTech May 21, 2020
40493bb
Follow GFM spec on Left-flanking-delimiter-runs
calculuschild May 21, 2020
ced3ff1
Merge pull request #1685 from UziTech/fix-highlight-asyncs
styfle May 22, 2020
7b3036f
🗜️ build [skip ci]
May 22, 2020
4e2ec90
Now passes several more tests
calculuschild May 29, 2020
283ab9c
Deleted an extra line while removing comments
calculuschild May 29, 2020
c38ee23
Fix Pedantic
calculuschild May 30, 2020
94bc32e
Update Tokenizer.js
jrandolf Jun 12, 2020
7118e4d
Update Tokenizer.js
jrandolf Jun 12, 2020
7c6551e
Properly handle reflinks that should be escaped
calculuschild Jun 12, 2020
bc17ded
Lint
calculuschild Jun 12, 2020
ea203cf
Lint 2
calculuschild Jun 12, 2020
556070b
Updated rules for underscore em
calculuschild Jun 12, 2020
1b3125b
add favicon to docs
UziTech Jun 16, 2020
4cbba07
Moved logic into Tokenizer. No longer injecting Reflinks
calculuschild Jun 17, 2020
c3a964d
Update Lexer-spec.js
jrandolf Jun 17, 2020
1dccde3
Update Lexer-spec.js
jrandolf Jun 17, 2020
33d3024
Update Lexer-spec.js
jrandolf Jun 17, 2020
242933e
Update Lexer-spec.js
jrandolf Jun 17, 2020
b4b909c
Update Lexer-spec.js
jrandolf Jun 17, 2020
5920cf9
Updated rules and created tests.
jrandolf Jun 17, 2020
335a660
Added fixes to Strong
calculuschild Jun 17, 2020
e926e0c
Lint...
calculuschild Jun 17, 2020
26cb01f
Merge pull request #1710 from UziTech/favicon
styfle Jun 17, 2020
1f77fb0
Update src/Tokenizer.js
jrandolf Jun 17, 2020
463f49d
Update src/rules.js
jrandolf Jun 17, 2020
fcfe15f
Fixed Example 272
jrandolf Jun 17, 2020
d8e1275
Compiled
jrandolf Jun 17, 2020
bd4757f
Merge pull request #1704 from jun-sheaf/master
styfle Jun 17, 2020
c60c9ba
Remove extra tests accidentally left in
calculuschild Jun 17, 2020
54218fe
Remove straggling "shouldfail: false"
calculuschild Jun 17, 2020
2a45677
Remove redundant regex symbols
calculuschild Jun 18, 2020
835f3a1
decode hash
UziTech Jun 19, 2020
b198b55
Merge pull request #1712 from UziTech/hash-hash
UziTech Jun 20, 2020
d233fd5
mask reflinks
UziTech Jun 20, 2020
2c4b996
more quickref.md fixes
UziTech Jun 24, 2020
56b6f5e
Merge pull request #1 from UziTech/mask-reflinks
calculuschild Jun 30, 2020
4db32dc
Links are masked only once per inline string
calculuschild Jun 30, 2020
4e7902e
Gaaaah lint
calculuschild Jun 30, 2020
bd4f8c4
Fix unrestricted "any character" for REDOS
calculuschild Jul 2, 2020
2a847e6
clarify level of support for Markdown flavors
vassudanagunta Jul 6, 2020
982b57e
Merge pull request #1720 from vassudanagunta/docs-patch-1
joshbruce Jul 6, 2020
211b9f9
Removed Lookbehinds
calculuschild Jul 8, 2020
cc778ad
Removed redundancy in "startEM" check
calculuschild Jul 8, 2020
226bbe7
Lint
calculuschild Jul 8, 2020
1fb141d
Make strEnd const
calculuschild Jul 9, 2020
ad720c1
Make emEnd const
calculuschild Jul 9, 2020
f8193ed
add npm run rules
UziTech Jun 19, 2020
a761316
Merge pull request #1726 from UziTech/show-rules
UziTech Jul 9, 2020
e27e6f9
Sorted strong and em into sub-objects
calculuschild Jul 9, 2020
6b729ed
Merge branch 'EmphasisFixes' of https://github.com/calculuschild/mark…
calculuschild Jul 9, 2020
7c35a84
add dry run capabilities to default slugger
flouc001 Jul 11, 2020
2290f67
update docs
flouc001 Jul 11, 2020
710658c
use options param, update docs, update tests
flouc001 Jul 12, 2020
dddf9ae
Merge pull request #1686 from calculuschild/EmphasisFixes
UziTech Jul 13, 2020
f36f676
🗜️ build [skip ci]
Jul 13, 2020
04ac593
update dev deps
UziTech Jul 13, 2020
0d6e056
build
UziTech Jul 13, 2020
524ae66
remove ending slash
UziTech Jul 13, 2020
f8024eb
remove ending slash
UziTech Jul 13, 2020
6f7522f
Merge pull request #1729 from UziTech/quick-ref
UziTech Jul 13, 2020
7fbee6e
Merge pull request #1730 from UziTech/update-deps
UziTech Jul 13, 2020
7e17526
1.1.1
UziTech Jul 13, 2020
1ad8e69
Merge pull request #1731 from UziTech/release-1.1.1
UziTech Jul 14, 2020
0c415fd
update docs example to be clearer
flouc001 Jul 15, 2020
014fbcf
add assertion to existing test
flouc001 Jul 15, 2020
75b2646
add sequence test
flouc001 Jul 15, 2020
ba13064
Merge pull request #1728 from flouc001/nfe/dry-run-slug
styfle Jul 15, 2020
70f096c
🗜️ build [skip ci]
Jul 15, 2020
17eef15
Regenerate lock file
styfle Jul 22, 2020
a9384ee
Merge pull request #1736 from styfle/bump-deps-lodash-4.17.19
styfle Jul 22, 2020
464045a
Added testcase and fixed #1738
xepozz Aug 6, 2020
8d07cff
Update src/rules.js
xepozz Aug 7, 2020
e39f1ef
fix inline comment and other html blocks
UziTech Aug 7, 2020
3b83580
test comment to end of doc
UziTech Aug 7, 2020
65f3107
remove test.js
UziTech Aug 7, 2020
55b2b49
Merge pull request #1739 from xepozz/fully-support-comment-blocks
styfle Aug 7, 2020
33a4176
🗜️ build [skip ci]
Aug 7, 2020
a7a9d8a
Add api dingus
styfle Aug 9, 2020
74f1ca0
Include package.json to read the version
styfle Aug 9, 2020
bad2a92
Run lint
styfle Aug 9, 2020
76184a9
Marked.js => Marked
styfle Aug 10, 2020
0dca410
Update SECURITY.md
joshbruce Aug 11, 2020
8fafd32
Update SECURITY.md
joshbruce Aug 11, 2020
96433ce
Merge pull request #1742 from styfle/babelmark-api
styfle Aug 11, 2020
fcc3de7
Merge pull request #1744 from markedjs/uzitech-to-owner
joshbruce Aug 11, 2020
902a927
Merge pull request #1743 from markedjs/styfle-to-owner
joshbruce Aug 11, 2020
52872d2
fix bug : Cannot break line well [#1537](https://github.com/markedjs/…
hubenchang0515 Aug 12, 2020
480b9f0
fix bug : Cannot break line well
hubenchang0515 Aug 12, 2020
69908c2
fix bug : Cannot break line well
hubenchang0515 Aug 12, 2020
26af9bf
Merge branch 'master' into master
UziTech Aug 12, 2020
9b20b5a
Merge pull request #1746 from hubenchang0515/master
styfle Aug 12, 2020
9095a94
🗜️ build [skip ci]
Aug 12, 2020
2e99532
fix indented tables to act like gfm
UziTech Aug 12, 2020
1d6afc1
Merge pull request #1748 from UziTech/indented-tables
styfle Aug 13, 2020
ad41278
🗜️ build [skip ci]
Aug 13, 2020
b6773fc
Delete CNAME
styfle Aug 13, 2020
3e86352
Add build script for static docs
styfle Aug 15, 2020
94ab912
Add template _document.html
styfle Aug 15, 2020
ecf9112
Rename readme to index
styfle Aug 15, 2020
6789214
Fix links to other documents
styfle Aug 15, 2020
432bb1d
Copy license to docs
styfle Aug 15, 2020
ead75af
Only convert uppercase md files
styfle Aug 17, 2020
2cf4b1b
Fix uppercase
styfle Aug 17, 2020
5e704a0
Move css to separate file
styfle Aug 17, 2020
2bf10a9
Add hightlight.js styles
styfle Aug 17, 2020
b134cf6
Fix nav selected
styfle Aug 17, 2020
c4d5785
Change build script to vercel-build
styfle Aug 17, 2020
50e1290
Add build docs
styfle Aug 17, 2020
2b1075d
Delete .vercelignore
styfle Aug 17, 2020
3a64788
npm run build:docs
styfle Aug 17, 2020
9758334
Run lint
styfle Aug 17, 2020
8a681e8
Add a title to each page
styfle Aug 17, 2020
010c95f
Use cleanUrls
styfle Aug 29, 2020
0e87266
Optimize logo svg
styfle Aug 29, 2020
f834182
Fix build script to work with images
styfle Aug 29, 2020
9bf1836
Fix logo height/width
styfle Aug 29, 2020
7846b3d
Add redirect from old URL to new URL
styfle Aug 29, 2020
ab7154a
Fix lint
styfle Aug 29, 2020
cf80141
Missed one html suffix
styfle Aug 29, 2020
a41d8f9
Merge pull request #1749 from markedjs/static-docs
styfle Aug 31, 2020
9576a98
fix underscore adjacent to asterisk
UziTech Sep 4, 2020
a317912
fix strong overlapSkip
UziTech Sep 8, 2020
79c21c2
Bump node-fetch from 2.6.0 to 2.6.1
dependabot[bot] Sep 11, 2020
9f201d3
Merge pull request #1757 from markedjs/dependabot/npm_and_yarn/node-f…
UziTech Sep 11, 2020
f4e4520
Merge pull request #1755 from UziTech/em_strong_adjacent
UziTech Sep 18, 2020
d83c9be
🗜️ build [skip ci]
Sep 18, 2020
a797e44
add Lexer.lexInline
UziTech Sep 21, 2020
163ab71
add Parser.parseInline
UziTech Sep 21, 2020
127ac84
add marked.parseInline
UziTech Sep 21, 2020
baece60
test marked.parseInline
UziTech Sep 21, 2020
5afb005
add inline markdown docs
UziTech Sep 21, 2020
c8a2b59
remove focused tests
UziTech Sep 21, 2020
c38ecb4
Update docs/INDEX.md
UziTech Sep 21, 2020
957a4f3
Update docs/INDEX.md
UziTech Sep 21, 2020
d0818b6
update docs example
UziTech Sep 21, 2020
a25952f
Merge pull request #1761 from UziTech/parseInline
joshbruce Sep 26, 2020
60f24b8
🗜️ build [skip ci]
Sep 26, 2020
4343f57
1.2.0
UziTech Sep 27, 2020
cdaf80a
Merge pull request #1765 from UziTech/release-1.2.0
UziTech Sep 28, 2020
1aba568
chore: update templates (#1775)
UziTech Oct 8, 2020
3c31a30
chore: use semantic release (#1767)
UziTech Oct 21, 2020
956abb0
chore(dev-deps): Bump jasmine from 3.6.1 to 3.6.2 (#1783)
dependabot[bot] Oct 21, 2020
68e5225
chore(dev-deps): Bump eslint from 7.10.0 to 7.11.0 (#1784)
dependabot[bot] Oct 21, 2020
0d57cf3
chore(dev-deps): Bump @babel/core from 7.11.6 to 7.12.3 (#1786)
dependabot[bot] Oct 21, 2020
69586dd
chore(deps): dependabot version increase
UziTech Oct 21, 2020
d08bb2d
chore(dev-deps): Bump uglify-js from 3.11.0 to 3.11.3 (#1787)
dependabot[bot] Oct 21, 2020
2a1eff7
chore(dev-deps): Bump highlight.js from 10.2.0 to 10.3.1 (#1785)
dependabot[bot] Oct 21, 2020
f6e9693
chore(deps-dev): Bump rollup from 2.28.2 to 2.32.1 (#1788)
dependabot[bot] Oct 21, 2020
99e3188
chore(deps-dev): Bump semantic-release from 17.1.2 to 17.2.1 (#1789)
dependabot[bot] Oct 21, 2020
f4df983
chore(deps-dev): Bump @babel/preset-env from 7.11.5 to 7.12.1 (#1790)
dependabot[bot] Oct 21, 2020
8b9a4a6
chore(deps-dev): Bump markdown-it from 11.0.1 to 12.0.1 (#1791)
dependabot[bot] Oct 21, 2020
6355ac2
fix: fix indented code in list item (#1762)
UziTech Oct 21, 2020
2108da1
🗜️ build [skip ci]
Oct 21, 2020
36f5945
chore(release): 1.1.2 [skip ci]
semantic-release-bot Oct 21, 2020
db94ee7
v1.2.0
UziTech Oct 21, 2020
61f5bd6
build
UziTech Oct 21, 2020
7183d4f
1.2.1
UziTech Oct 21, 2020
2707070
fix: remove string.repeat for ie11 (#1772)
UziTech Oct 21, 2020
2cf0421
🗜️ build [skip ci]
Oct 21, 2020
2f45eec
chore(release): 1.2.2 [skip ci]
semantic-release-bot Oct 21, 2020
ef2f9ee
chore(deps): Remove markdown dependency (#1792)
UziTech Oct 22, 2020
8e01d29
chore(deps-dev): Bump markdown-it from 12.0.1 to 12.0.2 (#1799)
dependabot[bot] Oct 26, 2020
6014717
chore(deps-dev): Bump uglify-js from 3.11.3 to 3.11.4 (#1797)
dependabot[bot] Oct 26, 2020
c5f0c2a
chore(deps-dev): Bump eslint from 7.11.0 to 7.12.0 (#1796)
dependabot[bot] Oct 26, 2020
6d246e7
chore(deps-dev): Bump eslint-plugin-standard from 4.0.1 to 4.0.2 (#1798)
dependabot[bot] Oct 26, 2020
e9b9366
update to upstream v1.2.2, can support both #, ##, ###... and #1, #2,…
vagra Nov 1, 2020
f4a4672
chore(deps-dev): Bump highlight.js from 10.3.1 to 10.3.2
dependabot[bot] Nov 1, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"one-var": "off",
"no-control-regex": "off",
"no-prototype-builtins": "off",
"no-extra-semi": "error",

"prefer-const": "error",
"no-var": "error"
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

**Markdown flavor:** Markdown.pl|CommonMark|GitHub Flavored Markdown|n/a

<!-- The NPM version or commit hash having the issue -->
<!-- The NPM version or commit hash having the issue -->

<!--
<!--

If submitting something other than a defect with Marked itself, please use the following:

Expand Down Expand Up @@ -34,7 +34,7 @@

<!-- Describe what code combination got you there -->

<!--
<!--
If error is thrown add the following:

## Call stack & console log
Expand Down
55 changes: 28 additions & 27 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
---
name: Bug report
about: Marked says it does this thing but does not

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

<!-- If possible, use the Marked Demo permalink and compare to the CommonMark Dingus permalink to demonstrate the bug -->
<!--
1. [Marked Demo](https://marked.js.org/demo/)
2. [CommonMark Demo](https://spec.commonmark.org/dingus/)
-->

<!-- If you need a specific version and options to reproduce the bug, use the following template -->
<!--
1. Install marked `npm install --save [email protected]` with the version you are using
2. Run marked with input string and options such as `marked('hello *world*', {gfm: true})`
3. Actual output (or error) is...
-->

**Expected behavior**
A clear and concise description of what you expected to happen.
---
name: Bug report
about: Marked says it does this thing but does not

---
**Marked version:**

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

<!-- If possible, use the Marked Demo permalink and compare to the CommonMark Dingus permalink to demonstrate the bug -->
<!--
1. [Marked Demo](https://marked.js.org/demo/)
2. [CommonMark Demo](https://spec.commonmark.org/dingus/)
-->

<!-- If you need a specific version and options to reproduce the bug, use the following template -->
<!--
1. Install marked `npm install --save [email protected]` with the version you are using
2. Run marked with input string and options such as `marked('hello *world*', {gfm: true})`
3. Actual output (or error) is...
-->

**Expected behavior**
A clear and concise description of what you expected to happen.
28 changes: 14 additions & 14 deletions .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
name: Feature request
about: Marked doesn't do this thing and I think it should
---
**Describe the feature**
A clear and concise description of what you would like.
**Why is this feature necessary?**
A clear and concise description of why.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
---
name: Feature request
about: Marked doesn't do this thing and I think it should

---

**Describe the feature**
A clear and concise description of what you would like.

**Why is this feature necessary?**
A clear and concise description of why.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/Proposal.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
name: Proposal
about: Marked doesn't do this thing and I think it should

---

**What pain point are you perceiving?.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
5 changes: 1 addition & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

<!--

If release PR, add ?template=release.md to the PR url to use the release PR template.

If badging PR, add ?template=badges.md to the PR url to use the badges PR template.

Otherwise, you are stating this PR fixes an issue that has been submitted; or,
Expand Down Expand Up @@ -48,6 +46,5 @@ Describe what code combination got you there

In most cases, this should be a different person than the contributor.

- [ ] Draft GitHub release notes have been updated.
- [ ] CI is green (no forced merge required).
- [ ] Merge PR
- [ ] Squash and Merge PR following [conventional commit guidelines](https://www.conventionalcommits.org/).
6 changes: 3 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE/badges.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
- [ ] Add a badge
- [ ] Remove a badge

<!--
<!--

Explain your reasoning behind tagging that person.
Explain your reasoning behind tagging that person.

Preferably by citing objective examples, like PRs, Issues, and so on.

Expand Down Expand Up @@ -47,4 +47,4 @@ within 30 days, if you have not indicated which option you are taking one of the

-->

Note: All committers must approve via review before merging, the disapproving committer can simply close the PR.
Note: All committers must approve via review before merging, the disapproving committer can simply close the PR.
25 changes: 0 additions & 25 deletions .github/PULL_REQUEST_TEMPLATE/release.md

This file was deleted.

11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "npm"
versioning-strategy: "increase"
directory: "/"
schedule:
interval: "weekly"
71 changes: 71 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"

on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: '0 9 * * 3'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
# Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language: ['javascript']
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
70 changes: 70 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: "Tests"
on:
pull_request:
push:
branches:
- master

jobs:
Test:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
node_version: ['lts/*', 'node']
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Install Node
uses: dcodeIO/setup-node-nvm@master
with:
node-version: ${{ matrix.node_version }}
- name: Install Dependencies
run: npm ci
- name: Run Unit Tests 👩🏽‍💻
run: npm run test:unit
- name: Run Spec Tests 👩🏽‍💻
run: npm run test:specs

Lint:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Install Dependencies
run: npm ci
- name: Lint ✨
run: npm run test:lint

Release:
needs: [Test, Lint]
if: |
github.ref == 'refs/heads/master' &&
github.event.repository.fork == false
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Install Dependencies
run: npm ci
- name: Build 🗜️
run: |
npm run build
if ! git diff --quiet; then
git config --global user.email "<>"
git config --global user.name "MarkedJS bot"
git commit -am "🗜️ build [skip ci]"
fi
- name: Release 🎉
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

Skip:
if: contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
steps:
- name: Skip CI 🚫
run: echo skip ci
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.DS_Store
.vercel
node_modules/
test/compiled_tests
public
docs/LICENSE.md

3 changes: 0 additions & 3 deletions .nowignore

This file was deleted.

Loading