Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/ganttchart/js/desktop-ganttchart.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Licensed under the MIT License
*/
jQuery.noConflict();
document.write('<script type="text/javascript" src="https://js.cybozu.com/jquery/2.1.3/jquery.min.js"></script>');
document.write('<script type="text/javascript" src="https://js.cybozu.com/jquery/3.6.4/jquery.min.js"></script>');

// ローディング画面を出す関数
const setLoading = () => {
Expand Down
8 changes: 4 additions & 4 deletions examples/ganttchart/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version":1,
"version":"2.2.4",
"version":"2.2.5",
"type":"APP",
"name":{
"ja":"ガントチャートプラグイン",
Expand All @@ -20,7 +20,7 @@
},
"desktop":{
"js":[
"https://js.cybozu.com/jquery/2.1.3/jquery.min.js",
"https://js.cybozu.com/jquery/3.6.4/jquery.min.js",
"https://js.cybozu.com/jquerygantt/20210106/jquery.fn.gantt.min.js",
"https://js.kintone.com/momentjs/2.14.1/moment.min.js",
"https://momentjs.com/downloads/moment-timezone-with-data.min.js",
Comment on lines 25 to 26
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moment.jsの2.14.1には脆弱性があるようです
https://cybozu.dev/ja/id/5eac8b3387b5abbfa1d8df21/#momentjs
最新の2.30.1に上げた方が良さそうです!

Moment Timezoneのバージョンがこのリンクからだとわからないですが、
0.5.38以前は脆弱性があるので、最新の0.6.0に上げた方が良さそうです!
https://cybozu.dev/ja/id/5eac8b3387b5abbfa1d8df21/#moment-timezone

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moment.js はバージョン上げても問題ないので UP。
Moment Timezone はバージョンがわからない。
せっかく CDN にもあるので、CDN のほうを使う。
そうすることで、バージョンが明確になる。

Expand All @@ -36,13 +36,13 @@
},
"mobile":{
"js":[
"https://js.cybozu.com/jquery/2.1.3/jquery.min.js"
"https://js.cybozu.com/jquery/3.6.4/jquery.min.js"
]
},
"config":{
"html":"html/config.html",
"js":[
"https://js.cybozu.com/jquery/2.1.3/jquery.min.js",
"https://js.cybozu.com/jquery/3.6.4/jquery.min.js",
"https://js.kintone.com/jsrender/0.9.80/jsrender.min.js",
"thirdparties/jqColorPicker.min.js",
"js/config.js"
Expand Down