-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: mongo deprecated warning (#649)
- Loading branch information
Showing
14 changed files
with
47 additions
and
19 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,6 +73,6 @@ onMounted(() => { | |
|
||
<!-- Twikoo --> | ||
<div id="twikoo"></div> | ||
<component :is="'script'" src="https://cdn.jsdelivr.net/npm/[email protected].30/dist/twikoo.min.js" ref="twikooJs"></component> | ||
<component :is="'script'" src="https://cdn.jsdelivr.net/npm/[email protected].31/dist/twikoo.min.js" ref="twikooJs"></component> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,7 +85,7 @@ twikoo: | |
|
||
``` html | ||
<div id="tcomment"></div> | ||
<script src="https://cdn.staticfile.org/twikoo/1.6.30/twikoo.all.min.js"></script> | ||
<script src="https://cdn.staticfile.org/twikoo/1.6.31/twikoo.all.min.js"></script> | ||
<script> | ||
twikoo.init({ | ||
envId: '您的环境id', // 腾讯云环境填 envId;Vercel 环境填地址(https://xxx.vercel.app) | ||
|
@@ -103,10 +103,10 @@ twikoo.init({ | |
|
||
如果遇到默认 CDN 加载速度缓慢,可更换其他 CDN 镜像。以下为可供选择的公共 CDN,其中一些 CDN 可能需要数天时间同步最新版本: | ||
|
||
* `https://cdn.staticfile.org/twikoo/1.6.30/twikoo.all.min.js` | ||
* `https://lib.baomitu.com/twikoo/1.6.30/twikoo.all.min.js` | ||
* `https://cdn.bootcdn.net/ajax/libs/twikoo/1.6.30/twikoo.all.min.js` | ||
* `https://cdn.jsdelivr.net/npm/[email protected].30/dist/twikoo.all.min.js` | ||
* `https://cdn.staticfile.org/twikoo/1.6.31/twikoo.all.min.js` | ||
* `https://lib.baomitu.com/twikoo/1.6.31/twikoo.all.min.js` | ||
* `https://cdn.bootcdn.net/ajax/libs/twikoo/1.6.31/twikoo.all.min.js` | ||
* `https://cdn.jsdelivr.net/npm/[email protected].31/dist/twikoo.all.min.js` | ||
|
||
## 开启管理面板(腾讯云环境) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const version = '1.6.30' | ||
const version = '1.6.31' | ||
|
||
export { version } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "twikoo-func", | ||
"version": "1.6.30", | ||
"version": "1.6.31", | ||
"description": "A simple comment system.", | ||
"author": "imaegoo <[email protected]> (https://github.com/imaegoo)", | ||
"license": "MIT", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "twikoo-netlify", | ||
"version": "1.6.30", | ||
"version": "1.6.31", | ||
"description": "A simple comment system.", | ||
"author": "imaegoo <[email protected]> (https://github.com/imaegoo)", | ||
"license": "MIT", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "twikoo-vercel", | ||
"version": "1.6.30", | ||
"version": "1.6.31", | ||
"description": "A simple comment system.", | ||
"author": "imaegoo <[email protected]> (https://github.com/imaegoo)", | ||
"license": "MIT", | ||
|
@@ -13,7 +13,7 @@ | |
"dependencies": { | ||
"get-user-ip": "^1.0.1", | ||
"mongodb": "^6.3.0", | ||
"twikoo-func": "1.6.30", | ||
"twikoo-func": "1.6.31", | ||
"uuid": "^8.3.2" | ||
} | ||
} |