diff --git a/LICENSE b/LICENSE
index 31530487d..261eeb9e9 100644
--- a/LICENSE
+++ b/LICENSE
@@ -178,7 +178,7 @@
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "{}"
+ boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
@@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright 2017, The YMFE Team.
+ Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/client/components/Notify/Notify.js b/client/components/Notify/Notify.js
index 3fb84ddfc..005f46a44 100644
--- a/client/components/Notify/Notify.js
+++ b/client/components/Notify/Notify.js
@@ -23,7 +23,7 @@ export default class Notify extends Component {
}
render() {
- const isShow = this.state.newVersion !== this.state.version;
+ const isShow = this.state.newVersion > this.state.version;
return (
{isShow && (
diff --git a/package-lock.json b/package-lock.json
index b289f8f3a..c43536a98 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -157,16 +157,16 @@
},
"@types/mkdirp": {
"version": "0.5.2",
- "resolved": "https://registry.npmmirror.com/@types/mkdirp/-/mkdirp-0.5.2.tgz",
- "integrity": "sha512-U5icWpv7YnZYGsN4/cmh3WD2onMY0aJIiTE6+51TwJCttdHvtCYmkBNOobHlXwrJRL0nkH9jH4kD+1FAdMN4Tg==",
+ "resolved": "https://repo.corp.qunar.com/artifactory/api/npm/npm-qunar/@types/mkdirp/download/@types/mkdirp-0.5.2.tgz",
+ "integrity": "sha1-UDqs/lzCcD1UhDJrGyfvpnoznB8=",
"requires": {
"@types/node": "*"
}
},
"@types/mz": {
"version": "0.0.32",
- "resolved": "https://registry.npmmirror.com/@types/mz/-/mz-0.0.32.tgz",
- "integrity": "sha512-cy3yebKhrHuOcrJGkfwNHhpTXQLgmXSv1BX+4p32j+VUQ6aP2eJ5cL7OvGcAQx75fCTFaAIIAKewvqL+iwSd4g==",
+ "resolved": "https://repo.corp.qunar.com/artifactory/api/npm/npm-qunar/@types/mz/download/@types/mz-0.0.32.tgz",
+ "integrity": "sha1-6CSLTkFCTAUu3Bcl3TNlDDE6Nlk=",
"requires": {
"@types/node": "*"
}
@@ -6281,6 +6281,11 @@
"randombytes": "^2.0.0"
}
},
+ "dify": {
+ "version": "1.0.6",
+ "resolved": "http://registry.npm.taobao.org/dify/download/dify-1.0.6.tgz",
+ "integrity": "sha1-LpsBVOwTCrklVyasTOzrnXM4zwM="
+ },
"dir-glob": {
"version": "2.0.0",
"resolved": "http://registry.npm.taobao.org/dir-glob/download/dir-glob-2.0.0.tgz",
@@ -16058,9 +16063,12 @@
}
},
"ntils": {
- "version": "4.2.0",
- "resolved": "https://registry.npmmirror.com/ntils/-/ntils-4.2.0.tgz",
- "integrity": "sha512-0hkj8o0r2AWTfdg9l+s2x0EYEVgTGxXMHWoCXhPfWaOsjL+79fImaLRIGbgTPBfI1p8zCg/zSP3AXy6iy2qghQ=="
+ "version": "4.1.0",
+ "resolved": "https://repo.corp.qunar.com/artifactory/api/npm/npm-qunar/ntils/download/ntils-4.1.0.tgz",
+ "integrity": "sha1-T70d0UrBfeHMNa2G6a/QGEtrMFc=",
+ "requires": {
+ "dify": "^1.0.2"
+ }
},
"num2fraction": {
"version": "1.2.2",
@@ -22119,8 +22127,8 @@
},
"safeify": {
"version": "5.0.5",
- "resolved": "https://registry.npmmirror.com/safeify/-/safeify-5.0.5.tgz",
- "integrity": "sha512-ZDSsl4qA1fWe+/F/diGIPg58fDhwPUaANlZBOiEMVzW4ZmdUr9W4ED05A23X9gMyQEPiKmKMa7t+2sL5cR2ewg==",
+ "resolved": "https://repo.corp.qunar.com/artifactory/api/npm/npm-qunar/safeify/download/safeify-5.0.5.tgz",
+ "integrity": "sha1-jTS/53q45WHKE2TBgPXijD+SFhc=",
"requires": {
"@types/mkdirp": "^0.5.2",
"@types/mz": "^0.0.32",
@@ -22623,8 +22631,8 @@
},
"shify": {
"version": "3.0.6",
- "resolved": "https://registry.npmmirror.com/shify/-/shify-3.0.6.tgz",
- "integrity": "sha512-BtQxYyIx5plcMSoZZYMQafh8Go8wRRlOdWXehdli7YfMsg3SLtYqnLk8PB8tMIXWrZdE8e0gBCfY4JSa9BiA+w==",
+ "resolved": "https://repo.corp.qunar.com/artifactory/api/npm/npm-qunar/shify/download/shify-3.0.6.tgz",
+ "integrity": "sha1-TfJ+e4W66IRGmkdouI8vJ4QFEDs=",
"requires": {
"ntils": "^2.1.2",
"stp": "^0.0.4"
@@ -22632,8 +22640,8 @@
"dependencies": {
"ntils": {
"version": "2.1.2",
- "resolved": "https://registry.npmmirror.com/ntils/-/ntils-2.1.2.tgz",
- "integrity": "sha512-DUFVS/SIHTvwG9zSRHfajruSaydSdhu871tN2F6+KjnOi9pzjjXZ/IpoZbAjPthLDKedOHS/6COy/drTyzt+AA=="
+ "resolved": "https://repo.corp.qunar.com/artifactory/api/npm/npm-qunar/ntils/download/ntils-2.1.2.tgz",
+ "integrity": "sha1-d9PWWD6PycuzydjlsX+RpV2EKq8="
}
}
},
@@ -23517,8 +23525,8 @@
},
"stp": {
"version": "0.0.4",
- "resolved": "https://registry.npmmirror.com/stp/-/stp-0.0.4.tgz",
- "integrity": "sha512-Skret+kXnxeIcxzt3WK0Ub60st6NhVDvCBTJqYgYrNzF8MuBym3aPLIE8NQp0J2KfDofTD1oAw9luHz7ce4ZGQ=="
+ "resolved": "https://repo.corp.qunar.com/artifactory/api/npm/npm-qunar/stp/download/stp-0.0.4.tgz",
+ "integrity": "sha1-72vVDhs6Ec96+m7BZeJH3+DBeYI="
},
"stream-browserify": {
"version": "2.0.1",
@@ -24576,8 +24584,8 @@
},
"tslib": {
"version": "1.8.0",
- "resolved": "https://registry.npmmirror.com/tslib/-/tslib-1.8.0.tgz",
- "integrity": "sha512-ymKWWZJST0/CkgduC2qkzjMOWr4bouhuURNXCn/inEX0L57BnRG6FhX76o7FOnsjHazCjfU2LKeSrlS2sIKQJg=="
+ "resolved": "http://npmrepo.corp.qunar.com/tslib/-/tslib-1.8.0.tgz",
+ "integrity": "sha1-3GBOutZLy/aW1hPabJVKoOfqHrY="
},
"tty-browserify": {
"version": "0.0.0",