Skip to content

Commit 013ee9a

Browse files
committed
chore: upgrade dependency
Signed-off-by: BoHong Li <a60814billy@gmail.com>
1 parent 9d7413d commit 013ee9a

File tree

2 files changed

+622
-801
lines changed

2 files changed

+622
-801
lines changed

package.json

Lines changed: 166 additions & 172 deletions
Original file line numberDiff line numberDiff line change
@@ -2,149 +2,192 @@
22
"name": "codimd",
33
"version": "1.3.1",
44
"description": "Realtime collaborative markdown notes on all platforms.",
5-
"main": "app.js",
5+
"keywords": [
6+
"Collaborative",
7+
"Markdown",
8+
"Notes"
9+
],
10+
"bugs": "https://github.com/hackmdio/codimd/issues",
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/hackmdio/codimd.git"
14+
},
615
"license": "AGPL-3.0",
16+
"main": "app.js",
717
"scripts": {
8-
"test": "npm run-script eslint && npm run-script jsonlint && mocha",
9-
"eslint": "node_modules/.bin/eslint lib public test app.js",
10-
"jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' -o -type f -name '*.json.example' | while read json; do echo $json ; jq . $json; done",
11-
"standard": "echo 'standard is no longer being used, use `npm run eslint` instead!' && exit 1",
12-
"dev": "webpack --config webpack.dev.js --progress --colors --watch",
1318
"build": "webpack --config webpack.prod.js --progress --colors --bail",
19+
"dev": "webpack --config webpack.dev.js --progress --colors --watch",
20+
"doctoc": "doctoc --title='# Table of Contents' README.md",
21+
"eslint": "eslint lib public test app.js",
1422
"postinstall": "bin/heroku",
23+
"jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' -o -type f -name '*.json.example' | while read json; do echo $json ; jq . $json; done",
24+
"standard": "echo 'standard is no longer being used, use `npm run eslint` instead!' && exit 1",
1525
"start": "sequelize db:migrate && node app.js",
16-
"doctoc": "doctoc --title='# Table of Contents' README.md"
26+
"test": "npm run-script eslint && npm run-script jsonlint && mocha"
1727
},
1828
"dependencies": {
19-
"@hackmd/codemirror": "^5.41.2",
20-
"@hackmd/diff-match-patch": "^1.1.1",
21-
"@hackmd/idle-js": "^1.0.1",
22-
"@hackmd/imgur": "^0.4.1",
23-
"@hackmd/js-sequence-diagrams": "^0.0.1-alpha.2",
24-
"@hackmd/lz-string": "1.4.4",
25-
"@passport-next/passport-openid": "^1.0.0",
26-
"archiver": "^2.1.1",
27-
"async": "^2.1.4",
28-
"aws-sdk": "^2.345.0",
29-
"azure-storage": "^2.7.0",
30-
"base64url": "^3.0.0",
31-
"body-parser": "^1.15.2",
32-
"bootstrap": "^3.4.0",
33-
"bootstrap-validator": "^0.11.8",
34-
"chance": "^1.0.4",
35-
"cheerio": "^0.22.0",
36-
"compression": "^1.6.2",
37-
"connect-flash": "^0.1.1",
38-
"connect-session-sequelize": "^6.0.0",
39-
"cookie": "0.3.1",
40-
"cookie-parser": "1.4.3",
41-
"deep-freeze": "^0.0.1",
42-
"ejs": "^2.5.5",
29+
"@hackmd/codemirror": "~5.41.2",
30+
"@hackmd/diff-match-patch": "~1.1.1",
31+
"@hackmd/idle-js": "~1.0.1",
32+
"@hackmd/imgur": "~0.4.1",
33+
"@hackmd/js-sequence-diagrams": "~0.0.1-alpha.2",
34+
"@hackmd/lz-string": "~1.4.4",
35+
"@hackmd/meta-marked": "~0.4.4",
36+
"@passport-next/passport-openid": "~1.0.0",
37+
"archiver": "~2.1.1",
38+
"async": "~2.1.4",
39+
"aws-sdk": "~2.345.0",
40+
"azure-storage": "~2.10.2",
41+
"base64url": "~3.0.0",
42+
"body-parser": "~1.18.3",
43+
"bootstrap": "~3.4.0",
44+
"bootstrap-validator": "~0.11.8",
45+
"chance": "~1.0.4",
46+
"cheerio": "~0.22.0",
47+
"compression": "~1.7.4",
48+
"connect-flash": "~0.1.1",
49+
"connect-session-sequelize": "~6.0.0",
50+
"cookie": "~0.3.1",
51+
"cookie-parser": "~1.4.3",
52+
"deep-freeze": "~0.0.1",
53+
"ejs": "~2.5.5",
4354
"emojify.js": "~1.1.0",
44-
"express": ">=4.14",
45-
"express-session": "^1.14.2",
46-
"file-saver": "^1.3.3",
47-
"flowchart.js": "^1.6.4",
48-
"fork-awesome": "^1.1.3",
49-
"formidable": "^1.0.17",
55+
"express": "~4.16.4",
56+
"express-session": "~1.16.1",
57+
"file-saver": "~1.3.3",
58+
"flowchart.js": "~1.6.4",
59+
"fork-awesome": "~1.1.3",
60+
"formidable": "~1.2.1",
5061
"gist-embed": "~2.6.0",
51-
"graceful-fs": "^4.1.11",
52-
"handlebars": "^4.0.13",
53-
"helmet": "^3.13.0",
62+
"graceful-fs": "~4.1.11",
63+
"handlebars": "~4.0.13",
64+
"helmet": "~3.13.0",
5465
"highlight.js": "~9.12.0",
55-
"i18n": "^0.8.3",
66+
"i18n": "~0.8.3",
5667
"ionicons": "~2.0.1",
57-
"jquery": "^3.1.1",
58-
"jquery-mousewheel": "^3.1.13",
59-
"jquery-ui": "^1.12.1",
60-
"js-cookie": "^2.1.3",
61-
"js-yaml": "^3.7.0",
62-
"jsdom-nogyp": "^0.8.3",
63-
"keymaster": "^1.6.2",
64-
"list.js": "^1.5.0",
65-
"lodash": "^4.17.11",
66-
"markdown-it": "^8.2.2",
67-
"markdown-it-abbr": "^1.0.4",
68-
"markdown-it-container": "^2.0.0",
69-
"markdown-it-deflist": "^2.0.1",
70-
"markdown-it-emoji": "^1.3.0",
71-
"markdown-it-footnote": "^3.0.1",
72-
"markdown-it-imsize": "^2.0.1",
73-
"markdown-it-ins": "^2.0.0",
74-
"markdown-it-mark": "^2.0.0",
75-
"markdown-it-mathjax": "^2.0.0",
76-
"markdown-it-regexp": "^0.4.0",
77-
"markdown-it-sub": "^1.0.0",
78-
"markdown-it-sup": "^1.0.0",
79-
"markdown-pdf": "^9.0.0",
68+
"jquery": "~3.1.1",
69+
"jquery-mousewheel": "~3.1.13",
70+
"jquery-ui": "~1.12.1",
71+
"js-cookie": "~2.1.3",
72+
"js-yaml": "~3.13.1",
73+
"jsdom-nogyp": "~0.8.3",
74+
"keymaster": "~1.6.2",
75+
"list.js": "~1.5.0",
76+
"lodash": "~4.17.11",
77+
"markdown-it": "~8.2.2",
78+
"markdown-it-abbr": "~1.0.4",
79+
"markdown-it-container": "~2.0.0",
80+
"markdown-it-deflist": "~2.0.1",
81+
"markdown-it-emoji": "~1.3.0",
82+
"markdown-it-footnote": "~3.0.1",
83+
"markdown-it-imsize": "~2.0.1",
84+
"markdown-it-ins": "~2.0.0",
85+
"markdown-it-mark": "~2.0.0",
86+
"markdown-it-mathjax": "~2.0.0",
87+
"markdown-it-regexp": "~0.4.0",
88+
"markdown-it-sub": "~1.0.0",
89+
"markdown-it-sup": "~1.0.0",
90+
"markdown-pdf": "~9.0.0",
8091
"mathjax": "~2.7.0",
81-
"mattermost": "^3.4.0",
92+
"mattermost": "~3.4.0",
8293
"mermaid": "~7.1.0",
83-
"meta-marked": "^0.4.2",
84-
"method-override": "^2.3.7",
85-
"minimist": "^1.2.0",
86-
"minio": "^6.0.0",
87-
"moment": "^2.17.1",
88-
"morgan": "^1.7.0",
89-
"mysql": "^2.12.0",
90-
"passport": "^0.4.0",
91-
"passport-dropbox-oauth2": "^1.1.0",
92-
"passport-facebook": "^2.1.1",
93-
"passport-github": "^1.1.0",
94-
"passport-gitlab2": "^4.0.0",
95-
"passport-google-oauth20": "^1.0.0",
96-
"passport-ldapauth": "^2.0.0",
97-
"passport-local": "^1.0.0",
98-
"passport-oauth2": "^1.4.0",
99-
"passport-saml": "^1.0.0",
100-
"passport-twitter": "^1.0.4",
101-
"passport.socketio": "^3.7.0",
102-
"pdfobject": "^2.0.201604172",
103-
"pg": "^6.1.2",
104-
"pg-hstore": "^2.3.2",
105-
"prismjs": "^1.6.0",
106-
"randomcolor": "^0.5.3",
107-
"raphael": "^2.2.8",
108-
"readline-sync": "^1.4.7",
109-
"request": "^2.88.0",
94+
"method-override": "~2.3.7",
95+
"minimist": "~1.2.0",
96+
"minio": "~6.0.0",
97+
"moment": "~2.24.0",
98+
"morgan": "~1.9.1",
99+
"mysql": "~2.16.0",
100+
"passport": "~0.4.0",
101+
"passport-dropbox-oauth2": "~1.1.0",
102+
"passport-facebook": "~2.1.1",
103+
"passport-github": "~1.1.0",
104+
"passport-gitlab2": "~4.0.0",
105+
"passport-google-oauth20": "~1.0.0",
106+
"passport-ldapauth": "~2.1.3",
107+
"passport-local": "~1.0.0",
108+
"passport-oauth2": "~1.4.0",
109+
"passport-saml": "~1.0.0",
110+
"passport-twitter": "~1.0.4",
111+
"passport.socketio": "~3.7.0",
112+
"pdfobject": "~2.0.201604172",
113+
"pg": "~6.1.2",
114+
"pg-hstore": "~2.3.2",
115+
"prismjs": "~1.6.0",
116+
"randomcolor": "~0.5.3",
117+
"raphael": "~2.2.8",
118+
"readline-sync": "~1.4.7",
119+
"request": "~2.88.0",
110120
"reveal.js": "~3.7.0",
111-
"scrypt": "^6.0.3",
112-
"select2": "^3.5.2-browserify",
113-
"sequelize": "5.3.2",
114-
"shortid": "2.2.8",
121+
"scrypt": "~6.0.3",
122+
"select2": "~3.5.2-browserify",
123+
"sequelize": "5.3.5",
124+
"shortid": "~2.2.8",
115125
"socket.io": "~2.1.1",
116126
"socket.io-client": "~2.1.1",
117-
"spin.js": "^2.3.2",
118-
"sqlite3": "^4.0.1",
119-
"store": "^2.0.12",
120-
"tedious": "^1.14.0",
121-
"toobusy-js": "^0.5.1",
122-
"turndown": "^5.0.1",
123-
"uuid": "^3.1.0",
124-
"validator": "^10.4.0",
125-
"velocity-animate": "^1.4.0",
126-
"visibilityjs": "^1.2.4",
127-
"viz.js": "^1.7.0",
128-
"winston": "^3.1.0",
129-
"ws": "^6.0.0",
130-
"wurl": "^2.5.3",
131-
"xss": "^1.0.3"
127+
"spin.js": "~2.3.2",
128+
"sqlite3": "~4.0.1",
129+
"store": "~2.0.12",
130+
"tedious": "~6.1.0",
131+
"toobusy-js": "~0.5.1",
132+
"turndown": "~5.0.1",
133+
"uuid": "~3.1.0",
134+
"validator": "~10.4.0",
135+
"velocity-animate": "~1.4.0",
136+
"visibilityjs": "~1.2.4",
137+
"viz.js": "~1.7.0",
138+
"winston": "~3.1.0",
139+
"ws": "~6.0.0",
140+
"wurl": "~2.5.3",
141+
"xss": "~1.0.3"
132142
},
133-
"resolutions": {
134-
"**/tough-cookie": "~2.4.0",
135-
"**/minimatch": "^3.0.2",
136-
"**/request": "^2.88.0"
143+
"devDependencies": {
144+
"acorn": "~6.1.1",
145+
"babel-core": "~6.26.3",
146+
"babel-loader": "~7.1.4",
147+
"babel-plugin-transform-runtime": "~6.23.0",
148+
"babel-polyfill": "~6.26.0",
149+
"babel-preset-env": "~1.7.0",
150+
"babel-runtime": "~6.26.0",
151+
"copy-webpack-plugin": "~4.5.2",
152+
"css-loader": "~1.0.0",
153+
"doctoc": "~1.4.0",
154+
"ejs-loader": "~0.3.1",
155+
"eslint": "~5.16.0",
156+
"eslint-config-standard": "~12.0.0",
157+
"eslint-plugin-import": "~2.17.1",
158+
"eslint-plugin-node": "~8.0.1",
159+
"eslint-plugin-promise": "~4.1.1",
160+
"eslint-plugin-standard": "~4.0.0",
161+
"exports-loader": "~0.7.0",
162+
"expose-loader": "~0.7.5",
163+
"file-loader": "~2.0.0",
164+
"html-webpack-plugin": "~4.0.0-beta.2",
165+
"imports-loader": "~0.8.0",
166+
"jsonlint": "~1.6.2",
167+
"less": "~3.9.0",
168+
"less-loader": "~4.1.0",
169+
"mini-css-extract-plugin": "~0.4.1",
170+
"mocha": "~5.2.0",
171+
"mock-require": "~3.0.3",
172+
"optimize-css-assets-webpack-plugin": "~5.0.0",
173+
"script-loader": "~0.7.2",
174+
"sequelize-cli": "~5.4.0",
175+
"string-loader": "~0.0.1",
176+
"style-loader": "~0.21.0",
177+
"uglifyjs-webpack-plugin": "~1.2.7",
178+
"url-loader": "~1.0.1",
179+
"webpack": "~4.30.0",
180+
"webpack-cli": "~3.3.0",
181+
"webpack-merge": "~4.1.4",
182+
"webpack-parallel-uglify-plugin": "~1.1.0"
183+
},
184+
"optionalDependencies": {
185+
"bufferutil": "~4.0.0",
186+
"utf-8-validate": "~5.0.1"
137187
},
138188
"engines": {
139189
"node": ">=8.0.0"
140190
},
141-
"bugs": "https://github.com/hackmdio/codimd/issues",
142-
"keywords": [
143-
"Collaborative",
144-
"Markdown",
145-
"Notes"
146-
],
147-
"homepage": "https://codimd.org",
148191
"maintainers": [
149192
{
150193
"name": "Max Wu",
@@ -154,54 +197,5 @@
154197
"name": "Christoph (Sheogorath) Kern",
155198
"email": "codimd@sheogorath.shivering-isles.com"
156199
}
157-
],
158-
"repository": {
159-
"type": "git",
160-
"url": "https://github.com/hackmdio/codimd.git"
161-
},
162-
"devDependencies": {
163-
"babel-cli": "^6.26.0",
164-
"babel-core": "^6.26.3",
165-
"babel-loader": "^7.1.4",
166-
"babel-plugin-transform-runtime": "^6.23.0",
167-
"babel-polyfill": "^6.26.0",
168-
"babel-preset-env": "^1.7.0",
169-
"babel-runtime": "^6.26.0",
170-
"copy-webpack-plugin": "^4.5.2",
171-
"css-loader": "^1.0.0",
172-
"doctoc": "^1.4.0",
173-
"ejs-loader": "^0.3.1",
174-
"eslint": "^5.9.0",
175-
"eslint-config-standard": "^12.0.0",
176-
"eslint-plugin-import": "^2.14.0",
177-
"eslint-plugin-node": "^8.0.0",
178-
"eslint-plugin-promise": "^4.0.1",
179-
"eslint-plugin-standard": "^4.0.0",
180-
"exports-loader": "^0.7.0",
181-
"expose-loader": "^0.7.5",
182-
"file-loader": "^2.0.0",
183-
"html-webpack-plugin": "4.0.0-beta.2",
184-
"imports-loader": "^0.8.0",
185-
"jsonlint": "^1.6.2",
186-
"less": "^3.9.0",
187-
"less-loader": "^4.1.0",
188-
"mini-css-extract-plugin": "^0.4.1",
189-
"mocha": "^5.2.0",
190-
"mock-require": "^3.0.3",
191-
"optimize-css-assets-webpack-plugin": "^5.0.0",
192-
"script-loader": "^0.7.2",
193-
"sequelize-cli": "^5.4.0",
194-
"string-loader": "^0.0.1",
195-
"style-loader": "^0.21.0",
196-
"uglifyjs-webpack-plugin": "^1.2.7",
197-
"url-loader": "^1.0.1",
198-
"webpack": "^4.14.0",
199-
"webpack-cli": "^3.1.0",
200-
"webpack-merge": "^4.1.4",
201-
"webpack-parallel-uglify-plugin": "^1.1.0"
202-
},
203-
"optionalDependencies": {
204-
"bufferutil": "^4.0.0",
205-
"utf-8-validate": "^5.0.1"
206-
}
200+
]
207201
}

0 commit comments

Comments
 (0)