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

Deprecate markdown-toolbar-element #87

Closed
wants to merge 274 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
274 commits
Select commit Hold shift + click to select a range
c1c5ba9
Update link button to convert email addresses to email markdown
alex-ju May 10, 2019
2bce08e
Updates dist
alex-ju May 10, 2019
5e133e4
Don't add email markdown to emails prefixed with http(s)://
1pretz1 May 13, 2019
4f5d031
Merge pull request #8 from alphagov/update-link-to-support-email
alex-ju May 15, 2019
d0c392c
Release v0.2.0
alex-ju May 15, 2019
c580b22
Merge pull request #9 from alphagov/release-v0.2.0
alex-ju May 15, 2019
263a958
Add npm installation instructions and update usage example
alex-ju May 31, 2019
bd1a75f
Merge pull request #10 from alphagov/add-npm-install
alex-ju May 31, 2019
06a603b
Update eslint and karma using npm audit
alex-ju May 31, 2019
6f10916
Remove md-link-email and reorder
alex-ju May 31, 2019
86a7953
Merge pull request #11 from alphagov/fix-npm-vulnerabilities
alex-ju May 31, 2019
ae50f86
Merge pull request #12 from alphagov/update-example
alex-ju May 31, 2019
f37411e
Bump eslint-utils from 1.3.1 to 1.4.2
dependabot[bot] Oct 11, 2019
6f83f20
Bump lodash from 4.17.11 to 4.17.15
dependabot[bot] Oct 11, 2019
6cdf819
Bump mixin-deep from 1.3.1 to 1.3.2
dependabot[bot] Oct 11, 2019
bb0e120
Merge pull request #13 from alphagov/dependabot/npm_and_yarn/eslint-u…
alex-ju Feb 7, 2020
3bcd7f6
Merge pull request #14 from alphagov/dependabot/npm_and_yarn/lodash-4…
alex-ju Feb 7, 2020
4ad8c6d
Merge pull request #15 from alphagov/dependabot/npm_and_yarn/mixin-de…
alex-ju Feb 7, 2020
cae7411
Use dpl v2
alex-ju Feb 7, 2020
4d5ff3d
Merge pull request #16 from alphagov/update-travis-to-use-dpl-v2
alex-ju Feb 7, 2020
c6fae66
[Security] Bump acorn from 6.1.1 to 6.4.1
dependabot-preview[bot] Mar 16, 2020
483c6a7
Bump mocha from 5.2.0 to 7.1.0
dependabot-preview[bot] Mar 16, 2020
ff164e5
Bump chai from 4.1.2 to 4.2.0
dependabot-preview[bot] Mar 16, 2020
f9f8d3d
Bump karma-chrome-launcher from 2.2.0 to 3.1.0
dependabot-preview[bot] Mar 16, 2020
2116141
Bump karma from 4.1.0 to 4.4.1
dependabot-preview[bot] Mar 16, 2020
63392d7
Merge pull request #17 from alphagov/dependabot/npm_and_yarn/acorn-6.4.1
alex-ju Mar 17, 2020
3237527
Bump eslint from 5.16.0 to 6.8.0
dependabot-preview[bot] Mar 17, 2020
8402fc6
Merge pull request #18 from alphagov/dependabot/npm_and_yarn/eslint-6…
alex-ju Mar 17, 2020
9494130
Merge pull request #22 from alphagov/dependabot/npm_and_yarn/karma-4.4.1
alex-ju Mar 17, 2020
560af0d
Merge pull request #21 from alphagov/dependabot/npm_and_yarn/karma-ch…
alex-ju Mar 17, 2020
5459615
Merge pull request #20 from alphagov/dependabot/npm_and_yarn/chai-4.2.0
alex-ju Mar 17, 2020
c66076c
Merge pull request #19 from alphagov/dependabot/npm_and_yarn/mocha-7.1.0
alex-ju Mar 17, 2020
54b8730
Bump mocha from 7.1.0 to 7.1.1
dependabot-preview[bot] Mar 19, 2020
933de31
Merge pull request #23 from alphagov/dependabot/npm_and_yarn/mocha-7.1.1
alex-ju Apr 3, 2020
978612b
Bump karma from 4.4.1 to 5.0.1
dependabot-preview[bot] Apr 10, 2020
359b82f
Merge pull request #24 from alphagov/dependabot/npm_and_yarn/karma-5.0.1
alex-ju Apr 13, 2020
8e80a68
Bump karma-mocha from 1.3.0 to 2.0.1
dependabot-preview[bot] Apr 30, 2020
9e1efbd
Bump karma from 5.0.1 to 5.0.4
dependabot-preview[bot] May 1, 2020
eba5483
Bump eslint-plugin-github from 1.2.1 to 3.4.1
dependabot-preview[bot] May 4, 2020
286f263
Merge pull request #31 from alphagov/dependabot/npm_and_yarn/eslint-p…
alex-ju May 6, 2020
828b774
Merge pull request #30 from alphagov/dependabot/npm_and_yarn/karma-5.0.4
alex-ju May 6, 2020
8704190
Merge pull request #28 from alphagov/dependabot/npm_and_yarn/karma-mo…
alex-ju May 6, 2020
5e3edc0
Bump mocha from 7.1.1 to 7.1.2
dependabot-preview[bot] May 6, 2020
ea42832
Merge pull request #27 from alphagov/dependabot/npm_and_yarn/mocha-7.1.2
alex-ju May 6, 2020
98af251
Bump mocha from 7.1.2 to 8.0.1
dependabot-preview[bot] Jun 11, 2020
8b50938
Bump karma from 5.0.4 to 5.1.0
dependabot-preview[bot] Jun 12, 2020
b759e09
Merge pull request #39 from alphagov/dependabot/npm_and_yarn/mocha-8.0.1
alex-ju Jun 19, 2020
cec9379
Merge pull request #40 from alphagov/dependabot/npm_and_yarn/karma-5.1.0
alex-ju Jun 19, 2020
e4ef6d6
Bump eslint from 6.8.0 to 7.2.0
dependabot-preview[bot] Jun 19, 2020
fdde046
Merge pull request #41 from alphagov/dependabot/npm_and_yarn/eslint-7…
alex-ju Jun 19, 2020
a456790
Bump eslint-plugin-github from 3.4.1 to 4.0.1
dependabot-preview[bot] Jun 19, 2020
dc6c5bf
Merge pull request #38 from alphagov/dependabot/npm_and_yarn/eslint-p…
alex-ju Jun 19, 2020
cf05060
Bump eslint from 7.2.0 to 7.22.0
dependabot-preview[bot] Mar 15, 2021
37b0ebd
Bump chai from 4.2.0 to 4.3.4
dependabot-preview[bot] Mar 15, 2021
f04a29d
Bump mocha from 8.0.1 to 8.3.2
dependabot-preview[bot] Mar 15, 2021
6d42898
Merge pull request #103 from alphagov/dependabot/npm_and_yarn/mocha-8…
alex-ju Mar 15, 2021
b0afea0
Merge pull request #102 from alphagov/dependabot/npm_and_yarn/chai-4.3.4
alex-ju Mar 15, 2021
2cc744a
Merge pull request #101 from alphagov/dependabot/npm_and_yarn/eslint-…
alex-ju Mar 15, 2021
53ff29e
Bump karma from 5.1.0 to 6.2.0
dependabot-preview[bot] Mar 15, 2021
27b179a
Merge pull request #100 from alphagov/dependabot/npm_and_yarn/karma-6…
alex-ju Mar 15, 2021
99c9327
[Security] Bump lodash from 4.17.15 to 4.17.21
dependabot-preview[bot] Mar 15, 2021
b6a5383
Bump npm-watch from 0.6.0 to 0.9.0
dependabot-preview[bot] Mar 15, 2021
1e77c30
Merge pull request #104 from alphagov/dependabot/npm_and_yarn/npm-wat…
alex-ju Mar 18, 2021
85def3a
[Security] Bump ini from 1.3.5 to 1.3.7
dependabot-preview[bot] Mar 18, 2021
f6d68ce
Bump eslint-plugin-github from 4.0.1 to 4.1.2
dependabot-preview[bot] Mar 18, 2021
e4342a2
Bump eslint from 7.22.0 to 7.25.0
dependabot-preview[bot] Apr 26, 2021
deb183a
Upgrade to GitHub-native Dependabot
dependabot-preview[bot] Apr 28, 2021
1d8632f
Merge pull request #76 from alphagov/dependabot/npm_and_yarn/ini-1.3.7
alex-ju May 4, 2021
b88570f
Merge pull request #93 from alphagov/dependabot/npm_and_yarn/lodash-4…
alex-ju May 4, 2021
bac2c59
Merge pull request #97 from alphagov/dependabot/npm_and_yarn/eslint-p…
alex-ju May 4, 2021
ef98c44
Merge pull request #110 from alphagov/dependabot/npm_and_yarn/eslint-…
alex-ju May 4, 2021
606bc55
Bump karma from 6.2.0 to 6.3.2
dependabot-preview[bot] May 4, 2021
d63b8ff
Merge pull request #108 from alphagov/dependabot/npm_and_yarn/karma-6…
alex-ju May 4, 2021
17b3d92
Merge pull request #111 from alphagov/dependabot/add-v2-config-file
alex-ju May 4, 2021
be9b074
Bump eslint-plugin-github from 4.1.2 to 4.1.3
dependabot[bot] May 4, 2021
2dda62e
Merge pull request #113 from alphagov/dependabot/npm_and_yarn/eslint-…
alex-ju May 4, 2021
8a4cd8c
Bump eslint from 7.25.0 to 7.26.0
dependabot[bot] May 10, 2021
d0d50d4
Bump mocha from 8.3.2 to 8.4.0
dependabot[bot] May 10, 2021
3725c8d
Merge pull request #115 from alphagov/dependabot/npm_and_yarn/mocha-8…
alex-ju May 13, 2021
083c3e8
Merge pull request #114 from alphagov/dependabot/npm_and_yarn/eslint-…
alex-ju May 13, 2021
a10bc0f
Bump normalize-url from 4.5.0 to 4.5.1
dependabot[bot] Jun 12, 2021
6c81043
Bump karma from 6.3.2 to 6.3.4
dependabot[bot] Jun 15, 2021
5ee690a
Bump mocha from 8.4.0 to 9.0.2
dependabot[bot] Jul 5, 2021
8b263d5
Bump eslint from 7.26.0 to 7.31.0
dependabot[bot] Jul 19, 2021
81b5c52
Bump eslint-plugin-github from 4.1.3 to 4.1.5
dependabot[bot] Jul 19, 2021
a2ae17a
Merge pull request #129 from alphagov/dependabot/npm_and_yarn/eslint-…
alex-ju Jul 19, 2021
b2129ea
Merge pull request #128 from alphagov/dependabot/npm_and_yarn/eslint-…
alex-ju Jul 19, 2021
054cdfc
Merge pull request #126 from alphagov/dependabot/npm_and_yarn/mocha-9…
alex-ju Jul 19, 2021
1b8833e
Merge pull request #123 from alphagov/dependabot/npm_and_yarn/karma-6…
alex-ju Jul 19, 2021
59d84dd
Merge pull request #121 from alphagov/dependabot/npm_and_yarn/normali…
alex-ju Jul 19, 2021
59e2862
Bump npm-watch from 0.9.0 to 0.10.0
dependabot[bot] Jul 19, 2021
af65bf0
Merge pull request #122 from alphagov/dependabot/npm_and_yarn/npm-wat…
alex-ju Jul 19, 2021
442cc97
Bump eslint from 7.31.0 to 7.32.0
dependabot[bot] Aug 2, 2021
adca942
Bump npm-watch from 0.10.0 to 0.11.0
dependabot[bot] Aug 2, 2021
436651d
Bump eslint-plugin-github from 4.1.5 to 4.2.0
dependabot[bot] Aug 12, 2021
61faada
Bump mocha from 9.0.2 to 9.1.1
dependabot[bot] Aug 30, 2021
918aae8
Merge pull request #131 from alphagov/dependabot/npm_and_yarn/eslint-…
alex-ju Sep 6, 2021
82c74a3
Merge pull request #132 from alphagov/dependabot/npm_and_yarn/npm-wat…
alex-ju Sep 6, 2021
7fdc850
Merge pull request #133 from alphagov/dependabot/npm_and_yarn/eslint-…
alex-ju Sep 6, 2021
eb70558
Merge pull request #135 from alphagov/dependabot/npm_and_yarn/mocha-9…
alex-ju Sep 6, 2021
00fd8e1
Bump eslint-plugin-github from 4.2.0 to 4.3.0
dependabot[bot] Sep 10, 2021
4d493f1
Bump mocha from 9.1.1 to 9.1.2
dependabot[bot] Sep 27, 2021
2541057
Merge pull request #136 from alphagov/dependabot/npm_and_yarn/eslint-…
kevindew Sep 27, 2021
4c21e6a
Merge pull request #137 from alphagov/dependabot/npm_and_yarn/mocha-9…
kevindew Sep 27, 2021
7b90783
Bump eslint-plugin-github from 4.3.0 to 4.3.2
dependabot[bot] Oct 7, 2021
0af7087
Merge pull request #139 from alphagov/dependabot/npm_and_yarn/eslint-…
kevindew Oct 7, 2021
42076c3
Replace Travis with GitHub Actions
kevindew Sep 27, 2021
e96d2b5
Copy dist files into examples directory
kevindew Oct 8, 2021
3165998
Merge pull request #138 from alphagov/switch-to-github-actions
kevindew Oct 8, 2021
1d806ba
Bump mocha from 9.1.2 to 9.1.3
dependabot[bot] Oct 18, 2021
f68132e
Bump karma from 6.3.4 to 6.3.7
dependabot[bot] Nov 2, 2021
069b1bf
Merge pull request #140 from alphagov/dependabot/npm_and_yarn/mocha-9…
alex-ju Nov 2, 2021
b0fdee1
Merge pull request #143 from alphagov/dependabot/npm_and_yarn/karma-6…
alex-ju Nov 2, 2021
438e551
Build(deps-dev): bump karma from 6.3.7 to 6.3.9
dependabot[bot] Nov 17, 2021
49347c8
Merge pull request #145 from alphagov/dependabot/npm_and_yarn/karma-6…
alex-ju Nov 23, 2021
3246f35
Build(deps): bump follow-redirects from 1.14.5 to 1.14.7
dependabot[bot] Jan 13, 2022
554ce49
Build(deps-dev): bump karma from 6.3.9 to 6.3.11
dependabot[bot] Jan 14, 2022
42bfe6c
Merge pull request #147 from alphagov/dependabot/npm_and_yarn/follow-…
alex-ju Jan 14, 2022
1194039
Merge pull request #148 from alphagov/dependabot/npm_and_yarn/karma-6…
alex-ju Jan 14, 2022
b42ac2e
Build(deps-dev): bump mocha from 9.1.3 to 9.2.0
dependabot[bot] Jan 25, 2022
bb63bcc
Build(deps-dev): bump chai from 4.3.4 to 4.3.6
dependabot[bot] Jan 27, 2022
3063d5b
Build(deps-dev): bump karma from 6.3.11 to 6.3.15
dependabot[bot] Feb 7, 2022
cb05da5
Merge pull request #156 from alphagov/dependabot/npm_and_yarn/karma-6…
alex-ju Feb 7, 2022
788deb8
Merge pull request #154 from alphagov/dependabot/npm_and_yarn/chai-4.3.6
alex-ju Feb 7, 2022
0f3d36d
Build(deps): bump tar from 4.4.8 to 4.4.19
dependabot[bot] Feb 7, 2022
113d4b4
Merge pull request #152 from alphagov/dependabot/npm_and_yarn/mocha-9…
alex-ju Feb 7, 2022
f75b091
Merge pull request #157 from alphagov/dependabot/npm_and_yarn/tar-4.4.19
alex-ju Feb 7, 2022
771b628
Build(deps-dev): bump karma from 6.3.15 to 6.3.16
dependabot[bot] Feb 11, 2022
f7576fc
Build(deps): bump follow-redirects from 1.14.7 to 1.14.8
dependabot[bot] Feb 12, 2022
cde96c7
Merge pull request #159 from alphagov/dependabot/npm_and_yarn/follow-…
alex-ju Feb 14, 2022
356aec4
Merge pull request #158 from alphagov/dependabot/npm_and_yarn/karma-6…
alex-ju Feb 14, 2022
04c85be
Allow the GITHUB_TOKEN write permission on release
kevindew Feb 17, 2022
a66c1f5
Merge pull request #160 from alphagov/kevindew-patch-1
kevindew Feb 18, 2022
931f82e
Build(deps-dev): bump mocha from 9.2.0 to 9.2.1
dependabot[bot] Feb 21, 2022
19b1e41
Merge pull request #161 from alphagov/dependabot/npm_and_yarn/mocha-9…
alex-ju Feb 21, 2022
ad5c6d2
Build(deps-dev): bump karma from 6.3.16 to 6.3.17
dependabot[bot] Mar 1, 2022
4fc7346
Merge pull request #162 from alphagov/dependabot/npm_and_yarn/karma-6…
alex-ju Mar 2, 2022
b600ed7
Build(deps-dev): bump karma-chrome-launcher from 3.1.0 to 3.1.1
dependabot[bot] Mar 10, 2022
c0afa87
Merge pull request #163 from alphagov/dependabot/npm_and_yarn/karma-c…
alex-ju Mar 11, 2022
a82fd1d
Build(deps-dev): bump mocha from 9.2.1 to 9.2.2
dependabot[bot] Mar 14, 2022
f50a8ff
Merge pull request #164 from alphagov/dependabot/npm_and_yarn/mocha-9…
alex-ju Mar 22, 2022
079b850
Build(deps-dev): bump chai from 4.3.6 to 4.3.7
dependabot[bot] Nov 8, 2022
cb412f4
Build(deps-dev): bump mocha from 9.2.2 to 10.2.0
dependabot[bot] Dec 12, 2022
4865cba
Build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1
dependabot[bot] Feb 3, 2023
7f4f390
Build(deps): bump minimatch from 3.0.4 to 3.1.2
dependabot[bot] Apr 13, 2023
c3dc691
Build(deps-dev): bump karma from 6.3.17 to 6.4.2
dependabot[bot] Apr 24, 2023
2e22184
Merge pull request #172 from alphagov/dependabot/npm_and_yarn/chai-4.3.7
minhngocd Jun 19, 2023
aef6304
Merge pull request #175 from alphagov/dependabot/npm_and_yarn/mocha-1…
minhngocd Jun 19, 2023
849334d
Merge pull request #182 from alphagov/dependabot/npm_and_yarn/karma-6…
minhngocd Jun 19, 2023
eba73d1
Build(deps-dev): bump karma-chrome-launcher from 3.1.1 to 3.2.0
dependabot[bot] Jun 20, 2023
f7251b1
Merge pull request #177 from alphagov/dependabot/npm_and_yarn/http-ca…
beccapearce Jun 26, 2023
9d3786d
Build(deps): bump socket.io-parser from 4.2.2 to 4.2.4
dependabot[bot] Jun 26, 2023
8b78b9d
Merge pull request #185 from alphagov/dependabot/npm_and_yarn/socket.…
beccapearce Jun 26, 2023
3e4fb8f
Build(deps): bump engine.io from 6.4.1 to 6.4.2
dependabot[bot] Jun 26, 2023
6723ffc
Merge pull request #186 from alphagov/dependabot/npm_and_yarn/engine.…
beccapearce Jun 26, 2023
6f8258a
Merge pull request #180 from alphagov/dependabot/npm_and_yarn/minimat…
beccapearce Jun 26, 2023
28eec47
Merge pull request #184 from alphagov/dependabot/npm_and_yarn/karma-c…
beccapearce Jun 28, 2023
0a79a69
Build(deps): bump got and nodemon
dependabot[bot] Jul 7, 2023
9cf5040
Merge pull request #181 from alphagov/dependabot/npm_and_yarn/got-and…
ollietreend Jul 7, 2023
7bb99b1
Build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 18, 2023
fc6b344
Merge pull request #187 from alphagov/dependabot/npm_and_yarn/word-wr…
ollietreend Jul 20, 2023
71044ea
Build(deps-dev): bump chai from 4.3.7 to 4.3.8
dependabot[bot] Aug 25, 2023
fd78f56
Merge pull request #188 from alphagov/dependabot/npm_and_yarn/chai-4.3.8
dnkrj Aug 30, 2023
39bb72d
Build(deps-dev): bump eslint from 7.32.0 to 8.48.0
dependabot[bot] Sep 7, 2023
2e6d4cc
Merge pull request #189 from alphagov/dependabot/npm_and_yarn/eslint-…
baisa Sep 7, 2023
b21e563
Build(deps-dev): bump eslint-plugin-github from 4.3.2 to 4.10.0
dependabot[bot] Sep 8, 2023
100b649
Build(deps-dev): bump eslint from 8.48.0 to 8.49.0
dependabot[bot] Sep 11, 2023
3adab98
Merge pull request #191 from alphagov/dependabot/npm_and_yarn/eslint-…
beccapearce Sep 11, 2023
f879889
Merge pull request #190 from alphagov/dependabot/npm_and_yarn/eslint-…
baisa Sep 21, 2023
12338f9
Build(deps-dev): bump eslint from 8.49.0 to 8.50.0
dependabot[bot] Sep 25, 2023
09b5b3d
Merge pull request #192 from alphagov/dependabot/npm_and_yarn/eslint-…
beccapearce Sep 26, 2023
8e3c269
Build(deps-dev): bump eslint-plugin-github from 4.10.0 to 4.10.1
dependabot[bot] Sep 27, 2023
94784e6
Build(deps-dev): bump chai from 4.3.8 to 4.3.9
dependabot[bot] Sep 28, 2023
de9feb5
Merge pull request #194 from alphagov/dependabot/npm_and_yarn/chai-4.3.9
ollietreend Sep 28, 2023
f7c9154
Merge pull request #193 from alphagov/dependabot/npm_and_yarn/eslint-…
ollietreend Sep 28, 2023
8a70fad
Build(deps-dev): bump chai from 4.3.9 to 4.3.10
dependabot[bot] Sep 29, 2023
ea4cf83
Merge pull request #195 from alphagov/dependabot/npm_and_yarn/chai-4.…
dnkrj Sep 29, 2023
6612834
Build(deps-dev): bump eslint from 8.50.0 to 8.51.0
dependabot[bot] Oct 9, 2023
f5b841e
Merge pull request #196 from alphagov/dependabot/npm_and_yarn/eslint-…
ryanb-gds Oct 9, 2023
f20af78
Build(deps-dev): bump eslint from 8.51.0 to 8.52.0
dependabot[bot] Oct 23, 2023
6eef580
Merge pull request #198 from alphagov/dependabot/npm_and_yarn/eslint-…
ryanb-gds Oct 24, 2023
9275ade
Build(deps-dev): bump eslint from 8.52.0 to 8.53.0
dependabot[bot] Nov 6, 2023
ac5b81c
Merge pull request #199 from alphagov/dependabot/npm_and_yarn/eslint-…
beccapearce Nov 9, 2023
1bd7841
Build(deps-dev): bump eslint from 8.53.0 to 8.54.0
dependabot[bot] Nov 20, 2023
9cce929
Add CodeQL (SAST) scan and Dependency Review (SCA) scan to CI pipeline
MuriloDalRi Nov 24, 2023
a1bed40
Merge pull request #200 from alphagov/dependabot/npm_and_yarn/eslint-…
beccapearce Nov 27, 2023
b7be033
Merge pull request #201 from alphagov/add-sca-sast-scans
beccapearce Nov 27, 2023
382aa75
Build(deps-dev): bump eslint from 8.54.0 to 8.55.0
dependabot[bot] Dec 4, 2023
f8d0c8f
Merge pull request #202 from alphagov/dependabot/npm_and_yarn/eslint-…
baisa Dec 11, 2023
f33f537
Build(deps-dev): bump fsevents from 1.2.9 to 1.2.13
dependabot[bot] Dec 13, 2023
b7f8d82
Regenerated lockfile
davidgisbey Dec 13, 2023
fdc628d
Merge pull request #197 from alphagov/dependabot/npm_and_yarn/fsevent…
minhngocd Dec 18, 2023
ab0420a
Build(deps-dev): bump eslint from 8.55.0 to 8.56.0
dependabot[bot] Dec 18, 2023
d5c628f
Merge pull request #203 from alphagov/dependabot/npm_and_yarn/eslint-…
minhngocd Dec 18, 2023
2fc3d17
Add Snyk scans to CI pipeline
MuriloDalRi Dec 28, 2023
1dae5a0
Merge pull request #204 from alphagov/add-snyk-scans
ChrisBAshton Dec 29, 2023
149c41b
Build(deps-dev): bump follow-redirects from 1.15.3 to 1.15.4
dependabot[bot] Jan 11, 2024
23b980a
Merge pull request #206 from alphagov/dependabot/npm_and_yarn/follow-…
baisa Jan 11, 2024
441df6a
Build(deps-dev): bump mocha from 10.2.0 to 10.3.0
dependabot[bot] Feb 9, 2024
14fe5b3
Merge pull request #208 from alphagov/dependabot/npm_and_yarn/mocha-1…
lauraghiorghisor-tw Feb 19, 2024
5d8babb
Build(deps-dev): bump karma from 6.4.2 to 6.4.3
dependabot[bot] Feb 26, 2024
4c3cb83
Build(deps-dev): bump eslint from 8.56.0 to 8.57.0
dependabot[bot] Feb 26, 2024
945607e
Merge pull request #211 from alphagov/dependabot/npm_and_yarn/eslint-…
lauraghiorghisor-tw Feb 27, 2024
51730cc
Merge pull request #210 from alphagov/dependabot/npm_and_yarn/karma-6…
lauraghiorghisor-tw Feb 27, 2024
8f951c3
Build(deps-dev): bump eslint-plugin-github from 4.10.1 to 4.10.2
dependabot[bot] Mar 1, 2024
cca4364
Merge pull request #212 from alphagov/dependabot/npm_and_yarn/eslint-…
baisa Mar 4, 2024
b13f0c3
Add required permissions for integrating snyk with code scanning
MahmudH Mar 13, 2024
11e3033
Build(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6
dependabot[bot] Mar 16, 2024
7bfe3a9
Merge pull request #214 from alphagov/dependabot/npm_and_yarn/follow-…
baisa Mar 20, 2024
11e5df7
Merge pull request #213 from alphagov/update-snyk-permissions
MahmudH Mar 20, 2024
baa0938
Build(deps-dev): bump mocha from 10.3.0 to 10.4.0
dependabot[bot] Mar 27, 2024
3c8b438
Merge pull request #215 from alphagov/dependabot/npm_and_yarn/mocha-1…
baisa Mar 27, 2024
b1178e9
Build(deps-dev): bump npm-watch from 0.11.0 to 0.12.0
dependabot[bot] Apr 29, 2024
f1ff494
Merge pull request #216 from alphagov/dependabot/npm_and_yarn/npm-wat…
dnkrj Apr 29, 2024
63a6fc3
Build(deps-dev): bump npm-watch from 0.12.0 to 0.13.0
dependabot[bot] May 10, 2024
d461284
Remove Snyk job from workflow
MuriloDalRi May 16, 2024
8990be8
Merge pull request #218 from alphagov/dependabot/npm_and_yarn/npm-wat…
ChrisBAshton May 16, 2024
02d7a1b
Merge pull request #219 from alphagov/remove-snyk
MuriloDalRi May 16, 2024
e3e3cf7
Build(deps-dev): bump eslint-plugin-github from 4.10.2 to 5.0.0
dependabot[bot] Jun 4, 2024
b353a95
Build(deps-dev): bump chai from 4.3.10 to 4.4.1
dependabot[bot] Jun 4, 2024
cecf9f8
Merge pull request #221 from alphagov/dependabot/npm_and_yarn/chai-4.4.1
ChrisBAshton Jun 4, 2024
4d5bcbe
Merge pull request #220 from alphagov/dependabot/npm_and_yarn/eslint-…
ChrisBAshton Jun 4, 2024
9050071
Build(deps-dev): bump eslint-plugin-github from 5.0.0 to 5.0.1
dependabot[bot] Jun 5, 2024
8de297b
Merge pull request #222 from alphagov/dependabot/npm_and_yarn/eslint-…
lauraghiorghisor-tw Jun 7, 2024
c9fd6cf
Build(deps): bump ws, engine.io and socket.io-adapter
dependabot[bot] Jun 23, 2024
44de7d9
Merge pull request #223 from alphagov/dependabot/npm_and_yarn/multi-e…
lauraghiorghisor-tw Jun 24, 2024
c9f9f0b
Build(deps-dev): bump mocha from 10.4.0 to 10.5.0
dependabot[bot] Jun 25, 2024
fc10715
Merge pull request #224 from alphagov/dependabot/npm_and_yarn/mocha-1…
lauraghiorghisor-tw Jun 25, 2024
527c5e2
Build(deps-dev): bump mocha from 10.5.0 to 10.5.2
dependabot[bot] Jun 27, 2024
bb6d438
Merge pull request #226 from alphagov/dependabot/npm_and_yarn/mocha-1…
lauraghiorghisor-tw Jul 1, 2024
f5fc313
Build(deps-dev): bump mocha from 10.5.2 to 10.6.0
dependabot[bot] Jul 3, 2024
a7d08b3
Merge pull request #227 from alphagov/dependabot/npm_and_yarn/mocha-1…
minhngocd Jul 4, 2024
a06cf35
Build(deps-dev): bump mocha from 10.6.0 to 10.7.0
dependabot[bot] Jul 22, 2024
9660b13
Merge pull request #228 from alphagov/dependabot/npm_and_yarn/mocha-1…
ChrisBAshton Jul 22, 2024
1b54583
Build(deps-dev): bump chai from 4.4.1 to 4.5.0
dependabot[bot] Jul 26, 2024
d957179
Build(deps-dev): bump karma from 6.4.3 to 6.4.4
dependabot[bot] Jul 30, 2024
d555983
Build(deps-dev): bump mocha from 10.7.0 to 10.7.3
dependabot[bot] Aug 12, 2024
ba4a80f
Merge pull request #229 from alphagov/dependabot/npm_and_yarn/chai-4.5.0
ChrisBAshton Aug 16, 2024
4604639
Merge pull request #230 from alphagov/dependabot/npm_and_yarn/karma-6…
ChrisBAshton Aug 16, 2024
289391f
Merge pull request #231 from alphagov/dependabot/npm_and_yarn/mocha-1…
ChrisBAshton Aug 16, 2024
c69a451
Build(deps-dev): bump eslint-plugin-github from 5.0.1 to 5.0.2
dependabot[bot] Sep 12, 2024
fee57b3
Merge pull request #232 from alphagov/dependabot/npm_and_yarn/eslint-…
lauraghiorghisor-tw Sep 12, 2024
3c393de
Build(deps): bump body-parser from 1.20.2 to 1.20.3
dependabot[bot] Sep 12, 2024
ffda4f6
Merge pull request #233 from alphagov/dependabot/npm_and_yarn/body-pa…
lauraghiorghisor-tw Sep 13, 2024
ad92e33
Build(deps-dev): bump eslint from 8.57.0 to 8.57.1
dependabot[bot] Sep 17, 2024
44d0539
Merge pull request #234 from alphagov/dependabot/npm_and_yarn/eslint-…
lauraghiorghisor-tw Sep 18, 2024
0619027
Build(deps): bump cookie and socket.io
dependabot[bot] Oct 10, 2024
68cb3a1
Merge pull request #235 from alphagov/dependabot/npm_and_yarn/multi-8…
ChrisBAshton Oct 21, 2024
1e1cf24
Disable all Dependabot PRs except for security ones
ChrisBAshton Nov 15, 2024
d08a8af
Add deprecation notice to README
ChrisBAshton Nov 15, 2024
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
51 changes: 51 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "03:00"
open-pull-requests-limit: 0
ignore:
- dependency-name: eslint
versions:
- 7.18.0
- 7.19.0
- 7.20.0
- 7.21.0
- 7.23.0
- 7.24.0
- dependency-name: karma
versions:
- 6.0.3
- 6.0.4
- 6.1.0
- 6.1.1
- 6.1.2
- 6.3.0
- 6.3.1
- dependency-name: mocha
versions:
- 8.2.1
- 8.3.0
- 8.3.1
- dependency-name: chai
versions:
- 4.3.0
- 4.3.1
- 4.3.3
- dependency-name: socket.io
versions:
- 2.4.1
- dependency-name: dot-prop
versions:
- 4.2.1
- dependency-name: npm-watch
versions:
- 0.7.0
- dependency-name: lodash
versions:
- 4.17.20
- dependency-name: eslint-plugin-github
versions:
- 4.1.1
61 changes: 61 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
on: [push, pull_request]
jobs:
codeql-sast:
name: CodeQL SAST scan
uses: alphagov/govuk-infrastructure/.github/workflows/codeql-analysis.yml@main
permissions:
security-events: write

dependency-review:
name: Dependency Review scan
uses: alphagov/govuk-infrastructure/.github/workflows/dependency-review.yml@main

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: lts/*
cache: npm
- run: npm ci
- run: npm run test
- run: npm run build

release:
needs: test
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: lts/*
cache: npm
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@0f24da7de3e7e135102609a4c9633b025be8411b
with:
branch: gh-pages
folder: examples
- name: Establish version
run: |
LOCAL=$(node -p "require('./package.json').version")
echo "::set-output name=local::${LOCAL}"
echo "::set-output name=remote::$(npm view markdown-toolbar-element version)"
if git ls-remote --tags --exit-code origin ${LOCAL}; then
echo "::set-output name=tagged::yes"
fi
id: version
- name: Tag version
if: ${{ steps.version.outputs.tagged != 'yes' }}
run: git tag ${{ steps.version.outputs.local }} && git push --tags
- name: Release to NPM
if: ${{ steps.version.outputs.local != steps.version.outputs.remote }}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.ALPHAGOV_NPM_AUTOMATION_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dist
node_modules
examples/dist
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Changelog

- We use [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Mark breaking changes with `BREAKING:`. Be sure to include instructions on
how applications should be upgraded.
- Include a link to your pull request.
- Don't include changes that are purely internal. The CHANGELOG should be a
useful summary for people upgrading their application, not a replication
of the commit log.

## 0.2.0

- Update link button to render email markdown (PR #8)
- Expose `insertText` and `newlinesToSurroundSelectedText` as public (PR #4)
- Fix ordered and unordered list injector (PR #3)
- Remove `contenteditable` attribute as it blocks users from editing the textarea after injecting markdown on IE11 (PR #2)
- Add the following govpseak injectors: H2, H3, H4, CTA (call to action), email and address (PR #1)

## 0.1.0

- Initial release forked from [github/markdown-toolbar-element](https://github.com/github/markdown-toolbar-element/releases/tag/v0.1.0)
16 changes: 9 additions & 7 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
Copyright (c) 2017-2018 GitHub, Inc.
The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Copyright (C) 2017 Crown Copyright (Government Digital Service)

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Expand Down
25 changes: 10 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,27 @@
# <markdown-toolbar> element
# <markdown-toolbar> element (DEPRECATED)

> **NOTE**: This project is deprecated and is [planned to be retired](https://trello.com/c/v6AT6hNR/88-remove-markdown-toolbar-element-from-content-publisher).

---

Markdown formatting buttons for text inputs.

## Installation

```
$ npm install --save @github/markdown-toolbar-element
npm install --save markdown-toolbar-element
```

## Usage

```js
import '@github/markdown-toolbar-element'
```

```html
<markdown-toolbar for="textarea_id">
<md-bold>bold</md-bold>
<md-header>header</md-header>
<md-italic>italic</md-italic>
<md-quote>quote</md-quote>
<md-code>code</md-code>
<md-header-2>heading 2</md-header-2>
<md-header-3>heading 3</md-header-3>
<md-link>link</md-link>
<md-unordered-list>unordered-list</md-unordered-list>
<md-quote>quote</md-quote>
<md-ordered-list>ordered-list</md-ordered-list>
<md-task-list>task-list</md-task-list>
<md-mention>mention</md-mention>
<md-ref>ref</md-ref>
<md-unordered-list>unordered-list</md-unordered-list>
</markdown-toolbar>
<textarea id="textarea_id"></textarea>
```
Expand Down
Loading