summaryrefslogtreecommitdiff
path: root/package.json (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-11-11Use our fork of CodeMirrorDavid Mehren1-1/+1
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-11Revert "Adjust webpack config to new code mirror version"David Mehren1-1/+1
It turned out that we can't directly use the codemirror source files and actually need to run their build script manually. This reverts commit 0ec180de Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-10Upgrade `archiver` to v5David Mehren1-1/+1
Breaking changes only include dropping node <8 and glob patterns. Signed-off-by: David Mehren <git@herrmehren.de> Co-authored-by: Yannick Bungers <git@innay.de>
2020-11-10Upgrade meta-markedDavid Mehren1-1/+1
Signed-off-by: David Mehren <git@herrmehren.de> Co-authored-by: Yannick Bungers <git@innay.de>
2020-11-10Use npm-release of raphaelDavid Mehren1-1/+1
Other dependencies already depend on npm-releases of this, so it does not seem to make sense to get this via Git. Signed-off-by: David Mehren <git@herrmehren.de> Co-authored-by: Yannick Bungers <git@innay.de>
2020-11-10Always use `~` to allow minor upgrades of dependenciesDavid Mehren1-11/+11
Signed-off-by: David Mehren <git@herrmehren.de> Co-authored-by: Yannick Bungers <git@innay.de>
2020-11-10Remove unneeded `style-loader` dependencyDavid Mehren1-1/+0
Signed-off-by: David Mehren <git@herrmehren.de> Co-authored-by: Yannick Bungers <git@innay.de>
2020-11-10Set minimum required Node version to 10.13David Mehren1-1/+1
This was computed based on our dependencies using `installed-check`. Node 10 is supported until April 2021. Signed-off-by: David Mehren <git@herrmehren.de> Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-31Adjust webpack config to new code mirror versionTilman Vatteroth1-1/+1
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-19Update copy-webpack-plugin, css-loader, html-webpack-plugin, style-loader, ↵David Mehren1-1/+1
webpack and webpack-cli Signed-off-by: David Mehren <git@herrmehren.de>
2020-08-17fix: package.json & yarn.lock to reduce vulnerabilitiessnyk-bot1-1/+1
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-LODASH-590103
2020-08-10fix: package.json & yarn.lock to reduce vulnerabilitiessnyk-bot1-1/+1
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-PRISMJS-597628
2020-07-10fix: package.json & yarn.lock to reduce vulnerabilitiessnyk-bot1-1/+1
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-LODASH-567746
2020-07-02feat: add remark-lint dependencies and scriptoupala1-0/+3
Add remark-lint dependencies as dev dependencies, and an npm script alias to launch markdown linting with `npm run markdownlint`. Signed-off-by: oupala <oupala@users.noreply.github.com>
2020-06-09Upgrade pg to fix node version 14 compatibilitySheogorath1-1/+1
As @davidmehren figured out, the problem that NodeJS version 14 gets stuck while CodiMD is starting, was due to the outdated postgres dependency. The old pg version doesn't work with node version 14 due to an undocumented API change in the `readyState` in the socket API. This patch updates the required dependency and this way resolves the issue. Reference: https://github.com/sequelize/sequelize/issues/12158 https://github.com/brianc/node-postgres/commit/149f48232445da0fb3022044e4f1c53509040ad3 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2020-05-27Update to mermaid 8.5.1Nick Hahn1-1/+1
Signed-off-by: Nick Hahn <nick.hahn@posteo.de>
2020-05-26Upgrade jquery to 3.5.1Sheogorath1-1/+1
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2020-04-14fix: package.json & yarn.lock to reduce vulnerabilitiessnyk-bot1-1/+1
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-JQUERY-565129
2020-02-18Release version 1.6.0Sheogorath1-1/+1
Thanks for all contributions, this community is awesome.
2020-02-10Update mermaidAntoine Aflalo1-1/+1
Signed-off-by: Antoine Aflalo <antoine@warrantymaster.com>
2020-02-01Update RevealJS to version 3.9.2Sheogorath1-1/+1
This update of revealJS helps us to get rid of the headjs depedency integration using webpack. It updates reveal.js to 3.9.2 and updates the csp hash accordingly for using the slide mode. Background for this update is the critical security vulnerability described by snyk in their disclosure: https://snyk.io/vuln/SNYK-JS-REVEALJS-543841 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-11-23Upgrade webpack & pluginsDavid Mehren1-13/+13
Signed-off-by: David Mehren <dmehren1@gmail.com>
2019-11-16fix: package.json to reduce vulnerabilitiessnyk-bot1-1/+1
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478
2019-10-28Upgrade all ORM/database related packagesSheogorath1-6/+7
This patch provides some major upgrades to all database backend library. It also fixes an issues that appears since the change from sequelize v3 to v5 where mariadb was originally handled by mysql2 and is now handled by an own mariadb library. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-10-25Remove unused webpack plugins from package.jsonDavid Mehren1-5/+1
Signed-off-by: David Mehren <dmehren1@gmail.com>
2019-10-25Fix compatibility with MathJax 2.7.6David Mehren1-1/+1
Signed-off-by: David Mehren <dmehren1@gmail.com>
2019-10-10fix: package.json to reduce vulnerabilitiessnyk-bot1-1/+1
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MARKDOWNIT-459438
2019-09-30fix: package.json to reduce vulnerabilitiessnyk-bot1-1/+1
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-HELMETCSP-469436
2019-09-26fix: package.json to reduce vulnerabilitiessnyk-bot1-1/+1
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-HANDLEBARS-469063
2019-09-06Move sequelize-cli from devDependencies to dependencies, because it is ↵Tobias Kremer1-1/+1
needed to run migrations at run-time Signed-off-by: Tobias Kremer <tobias.kremer@gmail.com>
2019-08-20fix: package.json to reduce vulnerabilitiessnyk-test1-2/+2
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AUTOLINKER-73494 - https://snyk.io/vuln/SNYK-JS-SEQUELIZE-459751
2019-08-15Release version 1.5.0Sheogorath1-1/+1
2019-08-15Switch mysql library to mysql2Sheogorath1-1/+1
The recent sequelize upgrade introduced some other dependencies, this is one of them. This patch replaces the old `mysql` library with `mysql2`. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-08-15Update meta-marked to latest versionSheogorath1-2/+2
Meta-marked 0.4.4 which we used from our git repository contains a RegexDOS attack in the marked dependency. The dependency was already updated in our meta-marked repository, but not updated in yarn. This made us still vulnerable to this ReDOS which was able to cause a DOS attack on the server when updating a note. For Details: https://github.com/markedjs/marked/releases/tag/v0.7.0 https://github.com/markedjs/marked/pull/1515 What is a ReDOS? A ReDOS attack is a DOS attack where an attacker targets a not-well-written Regular Expression. Regular expressions try to build a tree of all possibilities it can match in order to figure out if the given statement is valid or not. A ReDOS attack abuses this concept by providing a statement that doesn't match but causes extremly huge trees that simply lead to exhausting CPU usage. For more details see: https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS Credit: Huge thanks to @bitinerant for finding this and handling it with a responsible disclosure. Also thanks to the `marked`-team for fixing things already. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-07-24fix: package.json to reduce vulnerabilitiessnyk-test1-1/+1
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MERMAID-174698
2019-06-22Update sequelize to latest versionSheogorath1-1/+1
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-06-11fix: upgrade sequelize to latest version to fix CVEBoHong Li1-3/+3
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-31Release version 1.4.0Sheogorath1-1/+1
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-05-31Fix eslint warningsSheogorath1-1/+1
Since we are about to release it's time to finally fix our linting. This patch basically runs eslint --fix and does some further manual fixes. Also it sets up eslint to fail on every warning on order to make warnings visable in the CI process. There should no functional change be introduced. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-05-13drop node 6 supportClaudius1-2/+2
We will no longer test on node6 and instead focus on 8+. This won't break node6 immediately, but we will no longer go out of our way supporting a version that does not receive security updates. Signed-off-by: Claudius <opensource@amenthes.de>
2019-05-13polyfilling scrypt for node 8.5+Claudius1-0/+1
Signed-off-by: Claudius <opensource@amenthes.de>
2019-05-13asyncified setting and verifying the passwordClaudius1-2/+2
Signed-off-by: Claudius <opensource@amenthes.de>
2019-05-13Adding the first few lines of user model testClaudius1-1/+2
Signed-off-by: Claudius <opensource@amenthes.de>
2019-05-06Update jQuery to version 3.4.1Sheogorath1-1/+1
2019-04-16fix: package.json to reduce vulnerabilitiessnyk-bot1-1/+1
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-HANDLEBARS-174183
2019-04-16Replace js-url with wurlSheogorath1-1/+1
js-url is outdated and wurl is it's successor. This will fix some vulnerabilities in the dependencies and also optimize the build process by removing the external library toward internal tooling. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-04-16Fix stored XSS in the graphviz error message rendering [Security Issue]Max Wu1-0/+1
Signed-off-by: Max Wu <jackymaxj@gmail.com> Co-Authored-By: Sheogorath <sheogorath@shivering-isles.com>
2019-04-10Update meta-marked to fix possible vulnerabilitiesSheogorath1-1/+1
Snyk informed us about possible vulnerabilities in meta-marked. It seems like at least some of them were already address by HackMD around a year ago but never pushed upstream to CodiMD. This patch provides a fix by using an up-to-date dependency from our own repository with CI integration. Details: https://app.snyk.io/vuln/SNYK-JS-JSYAML-174129 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-04-10Add lutim supportDylan Dervaux1-0/+1
Signed-off-by: Dylan Dervaux <dylanderv05@gmail.com>
2019-04-10Fix broken dependency js-sequence-diagramsSheogorath1-1/+1
A few days ago the dependency was removed from npm. this causes various setups to fail and blocks deployments and development. This patch should fix the dependency and allow CodiMD to move forward. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>