Skip to content

Commit

Permalink
Remove old jquery versions from gridstack dist
Browse files Browse the repository at this point in the history
to close #833
  • Loading branch information
dceejay committed Mar 12, 2024
1 parent 65f7260 commit 380ee8c
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

### 3.6.3: Maintenance Release

- Remove old jquery versons from gridstack dist dir to stop vuln triggering. Issue #833

### 3.6.2: Maintenance Release

- Fix colour picker floating in front of dropdown list. Issue #821
Expand Down
4 changes: 2 additions & 2 deletions dist/dashboard.appcache
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CACHE MANIFEST
# Time: Wed Dec 06 2023 11:54:35 GMT+0000 (Greenwich Mean Time)
# Time: Tue Mar 12 2024 15:31:00 GMT+0000 (Greenwich Mean Time)

CACHE:
i18n.js
Expand All @@ -26,4 +26,4 @@ loading.html
NETWORK:
*

# hash: a65e8fb4038eaddf287988387fedf7a23d04f9258992cd758af6acf35799ae55
# hash: 87be8dffba3951bcf42145449686dd474231b08260117d82c7fe94178f6cddc9
2 changes: 1 addition & 1 deletion dist/js/app.min.js

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions fixfa.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,13 @@ fs.readFile('src/gridstack-extra.scss', 'utf8', function (err, file) {
});
}
});

// Remove jquery old versions from gridstack dist
try { fs.unlinkSync('node_modules/gridstack/dist/jquery-ui.js'); }
catch(e) {};
try { fs.unlinkSync('node_modules/gridstack/dist/jquery-ui.min.js');}
catch(e) {};
try { fs.unlinkSync('node_modules/gridstack/dist/jquery.js'); }
catch(e) {};
try { fs.unlinkSync('node_modules/gridstack/dist/jquery.min.js'); }
catch(e) {};
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-dashboard",
"version": "3.6.2",
"version": "3.6.3",
"description": "A set of dashboard nodes for Node-RED",
"keywords": [
"node-red"
Expand Down Expand Up @@ -88,7 +88,7 @@
"compression": "^1.7.4",
"gridstack": "^0.6.4",
"serve-static": "^1.15.0",
"socket.io": "^4.7.2"
"socket.io": "^4.7.4"
},
"devDependencies": {
"angular": "~1.8.3",
Expand Down Expand Up @@ -130,12 +130,12 @@
"less": "^3.13.1",
"map-stream": "^0.0.7",
"material-design-icons-iconfont": "^6.7.0",
"moment": "~2.29.4",
"sass": "^1.69.5",
"moment": "~2.30.1",
"sass": "^1.71.1",
"sprintf-js": "^1.1.3",
"streamqueue": "~1.1.2",
"svg-morpheus": "^0.3.0",
"terser": "^5.25.0",
"terser": "^5.29.1",
"tinycolor2": "^1.6.0",
"weather-icons-lite": "^1.6.1"
},
Expand Down

0 comments on commit 380ee8c

Please sign in to comment.