@gitlab/ui 137.2.1 → 137.2.2

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.
@@ -178,7 +178,8 @@ var script = {
178
178
  }
179
179
 
180
180
  // By process of elimination, chunk must be a plain placeholder
181
- vnodes.push(has(slots, tagName) ? slots[tagName]() : chunk);
181
+ // Pass an empty object as slot props so scoped slots never receive `undefined`
182
+ vnodes.push(has(slots, tagName) ? slots[tagName]({}) : chunk);
182
183
  continue;
183
184
  }
184
185
  return vnodes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "137.2.1",
3
+ "version": "137.2.2",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -156,8 +156,8 @@
156
156
  "mockdate": "^3.0.5",
157
157
  "module-alias": "^2.3.4",
158
158
  "pikaday": "^1.8.0",
159
- "playwright": "^1.62.1",
160
- "playwright-core": "^1.62.1",
159
+ "playwright": "^1.63.0",
160
+ "playwright-core": "^1.63.0",
161
161
  "postcss": "8.5.28",
162
162
  "postcss-loader": "8.2.1",
163
163
  "postcss-scss": "4.0.9",
@@ -129,7 +129,8 @@ export default {
129
129
  }
130
130
 
131
131
  // By process of elimination, chunk must be a plain placeholder
132
- vnodes.push(has(slots, tagName) ? slots[tagName]() : chunk);
132
+ // Pass an empty object as slot props so scoped slots never receive `undefined`
133
+ vnodes.push(has(slots, tagName) ? slots[tagName]({}) : chunk);
133
134
  continue;
134
135
  }
135
136