Skip to content

Commit

Permalink
node >16 check
Browse files Browse the repository at this point in the history
  • Loading branch information
tagyoureit committed Mar 2, 2023
1 parent 599e4c4 commit b5c7f3b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# .npmrc
engine-strict=true
4 changes: 4 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@
"multer": "^1.4.5-lts.1",
"ts-node": "^10.7.0",
"typescript": "^4.6.4"
},
"engines": {
"npm": ">=8.0.0",
"node": ">=16.0.0"
}
}
2 changes: 1 addition & 1 deletion scripts/messages/messageList.js
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ mhelper.init();
if ((typeof msg.isValid !== 'undefined' && !msg.isValid) || (typeof msg.valid !== 'undefined' && !msg.valid)) row.addClass('invalid');

$('<span></span>').text(msg.portId).appendTo(r.cells[1]);
$('<span></span>').text(`${msg._id}${msg.tries>1?'-'+msg.tries:''}`).appendTo(r.cells[2]);
$('<span></span>').text(`${msg._id}${msg.tries>=1?'-'+msg.tries:''}`).appendTo(r.cells[2]);
var dir = $('<i></i>').addClass('fas').addClass(msg.direction === 'out' ? 'fa-arrow-circle-left' : 'fa-arrow-circle-right');
$('<span></span>').append(dir).appendTo(r.cells[3]);
var spChg = $('<span class="changed"></span>').appendTo(r.cells[4]);
Expand Down

0 comments on commit b5c7f3b

Please sign in to comment.