Skip to content

Commit b6a0199

Browse files
author
root
committed
chore: cherry-pick upstream #159 and #164
- #159: Bump lodash 4.17.21 → 4.17.23 (Prototype Pollution fix, SNYK-JS-LODASH-15053838) - #164: Read versionString from plugin.json manifest instead of hardcoding Cherry-picked from mattermost/mattermost-plugin-boards
1 parent 94592c9 commit b6a0199

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

webapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"emoji-mart": "^3.0.1",
4747
"fullcalendar": "^5.10.2",
4848
"immutable": "3.7.6",
49-
"lodash": "^4.17.21",
49+
"lodash": "^4.17.23",
5050
"marked": "^4.0.12",
5151
"mattermost-redux": "10.8.0",
5252
"moment": "^2.29.1",

webapp/src/constants.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// See LICENSE.txt for license information.
33

44

5+
import {version} from './manifest'
6+
57
import {TelemetryActions} from './telemetry/telemetryClient'
68

79
enum Permission {
@@ -38,7 +40,7 @@ class Constants {
3840
static readonly titleColumnId = '__title'
3941
static readonly badgesColumnId = '__badges'
4042

41-
static readonly versionString = '9.2.2'
43+
static readonly versionString = version
4244

4345
static readonly archiveHelpPage = 'https://docs.mattermost.com/boards/migrate-to-boards.html'
4446
static readonly imports = [

0 commit comments

Comments
 (0)