@concretecms/bedrock 1.4.9 → 1.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88,11 +88,11 @@ export default {
88
88
  render: {
89
89
  option: function (item, escape) {
90
90
  return (typeof (my.$parent.renderOption) === 'function')
91
- ? my.$parent.renderOption(item) : my.renderOption(item)
91
+ ? my.$parent.renderOption(item, escape) : my.renderOption(item, escape)
92
92
  },
93
93
  item: function (item, escape) {
94
94
  return (typeof (my.$parent.renderItem) === 'function')
95
- ? my.$parent.renderItem(item) : my.renderItem(item)
95
+ ? my.$parent.renderItem(item, escape) : my.renderItem(item, escape)
96
96
  }
97
97
  }
98
98
  }
@@ -162,11 +162,11 @@ export default {
162
162
  formData.append('accessToken', this.accessToken)
163
163
  return formData
164
164
  },
165
- renderOption(item) {
166
- return `<div>${(item.primary_label)}</div>`
165
+ renderOption(item, escape) {
166
+ return `<div>${escape(item.primary_label)}</div>`
167
167
  },
168
- renderItem(item) {
169
- return `<div>${(item.primary_label)}</div>`
168
+ renderItem(item, escape) {
169
+ return `<div>${escape(item.primary_label)}</div>`
170
170
  }
171
171
  }
172
172
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@concretecms/bedrock",
3
- "version": "1.4.9",
3
+ "version": "1.4.11",
4
4
  "description": "The asset framework and dependencies for Concrete CMS.",
5
5
  "scripts": {
6
6
  "lint": "standardx \"**/*.{js,vue}\" && stylelint assets/**/*.{scss,vue}",
@@ -18,7 +18,7 @@
18
18
  "backstretch": "^1.2.2",
19
19
  "blueimp-file-upload": "^10.31.0",
20
20
  "bootbox": "github:makeusabrew/bootbox#master",
21
- "bootstrap": "^5.2.0",
21
+ "bootstrap": "5.2.3",
22
22
  "bootstrap-select": "github:snapappointments/bootstrap-select",
23
23
  "bootstrap-tourist": "git+https://git@github.com/concrete5/bootstrap-tourist.git",
24
24
  "check-password-strength": "^2.0.7",