Skip to content

Commit ac223d0

Browse files
committed
update denpendence and add yuque link
1 parent 7c3aed1 commit ac223d0

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,25 @@
1717
"gh-pages": "npm run dist && sleep 3 && git add dist/ && git commit -m \"build dist\" && git push origin `git subtree split --prefix dist HEAD`:gh-pages --force"
1818
},
1919
"devDependencies": {
20-
"@babel/core": "^7.3.3",
21-
"@babel/plugin-proposal-class-properties": "^7.3.3",
20+
"@babel/core": "^7.5.5",
21+
"@babel/plugin-proposal-class-properties": "^7.5.5",
2222
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
23-
"@babel/preset-env": "^7.3.1",
23+
"@babel/preset-env": "^7.5.5",
2424
"@babel/preset-react": "^7.0.0",
2525
"ansi-colors": "^2.0.5",
2626
"babel-eslint": "^8.2.6",
27-
"babel-loader": "^8.0.5",
28-
"browser-sync": "^2.26.3",
27+
"babel-loader": "^8.0.6",
28+
"browser-sync": "^2.26.7",
2929
"css-loader": "^1.0.1",
3030
"cssnano": "^4.1.10",
3131
"del": "^3.0.0",
32-
"eslint": "^5.14.0",
33-
"eslint-plugin-react": "^7.12.4",
34-
"eslint-plugin-react-hooks": "^1.0.2",
32+
"eslint": "^5.16.0",
33+
"eslint-plugin-react": "^7.14.3",
34+
"eslint-plugin-react-hooks": "^1.7.0",
3535
"fancy-log": "^1.3.3",
3636
"gulp": "^3.9.1",
3737
"gulp-autoprefixer": "^5.0.0",
38-
"gulp-babel-minify": "^0.5.0",
38+
"gulp-babel-minify": "^0.5.1",
3939
"gulp-cachebust": "0.0.10",
4040
"gulp-cached": "^1.1.1",
4141
"gulp-concat": "^2.6.1",
@@ -45,39 +45,39 @@
4545
"gulp-htmlmin": "^4.0.0",
4646
"gulp-if": "^2.0.2",
4747
"gulp-imagemin": "^4.1.0",
48-
"gulp-load-plugins": "^1.5.0",
48+
"gulp-load-plugins": "^1.6.0",
4949
"gulp-replace": "^1.0.0",
5050
"gulp-sass": "^4.0.2",
5151
"gulp-sass-lint": "^1.4.0",
5252
"gulp-size": "^3.0.0",
5353
"gulp-watch": "^5.0.1",
5454
"imagemin-pngquant": "^6.0.1",
5555
"minimist": "^1.2.0",
56-
"node-sass": "^4.11.0",
56+
"node-sass": "^4.12.0",
5757
"plugin-error": "^1.0.1",
5858
"require-dir": "^1.2.0",
5959
"run-sequence": "^2.2.1",
60-
"sass-loader": "^7.1.0",
60+
"sass-loader": "^7.3.1",
6161
"serve-index": "^1.9.1",
6262
"through2": "^3.0.0",
63-
"webpack": "^4.29.4",
64-
"webpack-cli": "^3.2.3",
65-
"webpack-dev-server": "^3.1.10",
66-
"webpack-hot-middleware": "^2.24.3",
67-
"webpack-merge": "^4.2.1"
63+
"webpack": "^4.39.3",
64+
"webpack-cli": "^3.3.7",
65+
"webpack-dev-server": "^3.8.0",
66+
"webpack-hot-middleware": "^2.25.0",
67+
"webpack-merge": "^4.2.2"
6868
},
6969
"dependencies": {
70-
"@babel/polyfill": "^7.2.3",
71-
"animate.css": "^3.7.0",
70+
"@babel/polyfill": "^7.4.4",
71+
"animate.css": "^3.7.2",
7272
"clipboard": "^2.0.4",
7373
"code-prettify": "^0.1.0",
7474
"events": "^3.0.0",
75-
"file-saver": "^2.0.0",
76-
"lodash": "^4.17.11",
75+
"file-saver": "^2.0.2",
76+
"lodash": "^4.17.15",
7777
"mark.js": "^8.11.1",
7878
"nprogress": "^0.2.0",
79-
"react": "^16.8.2",
80-
"react-dom": "^16.8.2",
79+
"react": "^16.9.0",
80+
"react-dom": "^16.9.0",
8181
"react-router-dom": "^4.3.1",
8282
"semantic-ui-css": "^2.4.1",
8383
"semantic-ui-react": "^0.82.5",

src/components/Donate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react';
33
export default function Donate (props) {
44
let text = <h4 className='lang'>Buy <a href='https://twitter.com/unbug' rel='noopener noreferrer' target='_blank'>@unbug</a> a drink</h4>;
55
if (props.isZH) {
6-
text = <h4 className='lang cn'>给作者 <a href='https://weibo.com/unbug/' rel='noopener noreferrer' target='_blank'>@听奏</a> 打赏个小红包吧</h4>;
6+
text = <h4 className='lang cn'>给作者 <a href='https://weibo.com/unbug/' rel='noopener noreferrer' target='_blank'>@听奏</a> 打赏个红包吧</h4>;
77
}
88
return (
99
<div className='donate'>

src/containers/NoticeContainer.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect, useRef } from 'react';
2-
import {Icon} from 'semantic-ui-react';
2+
import { Icon } from 'semantic-ui-react';
33

44
export default function NoticeContainer() {
55
const listEl = useRef(null);
@@ -8,22 +8,22 @@ export default function NoticeContainer() {
88
return (
99
<div className='notice-container' ref={listEl}>
1010
<a className='animated fadeIn show' target='_blank' rel='noopener noreferrer'
11-
href='https://github.com/unbug/snts'>
12-
<Icon name='heartbeat'/> SAY NO TO SUICIDE PUBLIC LICENSE
11+
href='https://www.yuque.com/?CODELF'>
12+
[语雀] 阿里技术团队打造的专业云知识库
13+
</a>
14+
<a className='animated fadeIn' target='_blank' rel='noopener noreferrer'
15+
href='https://github.com/unbug/snts'>
16+
<Icon name='heartbeat' /> SAY NO TO SUICIDE PUBLIC LICENSE
1317
</a>
1418
<a className='animated fadeIn' target='_blank' rel='noopener noreferrer' href='//mihtool.com/'>
15-
<Icon name='code'/> [MIHTool] iOS 上调试和优化页面的工具
19+
<Icon name='code' /> [MIHTool] iOS 上调试和优化页面的工具
1620
</a>
1721
<a className='animated fadeIn' target='_blank' rel='noopener noreferrer' href='https://www.wasmrocks.com/'>
18-
<Icon name='hand rock'/> WebAssembly Rocks
19-
</a>
20-
<a className='animated fadeIn' target='_blank' rel='noopener noreferrer'
21-
href='https://github.com/unbug/react-native-train/blob/master/README.md'>
22-
<Icon name='video'/> [开源] React Native 开发培训资料和视频
22+
<Icon name='hand rock' /> WebAssembly Rocks
2323
</a>
2424
<a className='animated fadeIn' target='_blank' rel='noopener noreferrer'
25-
href='https://www.zhihu.com/question/27097399/answer/78619944'>
26-
[知乎] 编程的时候命名方法或变量词穷了怎么办?
25+
href='https://github.com/unbug/react-native-train/blob/master/README.md'>
26+
<Icon name='video' /> [开源] React Native 开发培训资料和视频
2727
</a>
2828
</div>
2929
)

0 commit comments

Comments
 (0)