@grafana/create-plugin 4.10.0 → 4.10.1

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v4.10.1 (Tue May 07 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Create Plugin: polyfill `TextEncoder` for Jest tests in scaffolded plugins [#899](https://github.com/grafana/plugin-tools/pull/899) ([@leventebalogh](https://github.com/leventebalogh))
6
+
7
+ #### Authors: 1
8
+
9
+ - Levente Balogh ([@leventebalogh](https://github.com/leventebalogh))
10
+
11
+ ---
12
+
1
13
  # v4.10.0 (Mon May 06 2024)
2
14
 
3
15
  #### 🚀 Enhancement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "4.10.0",
3
+ "version": "4.10.1",
4
4
  "repository": {
5
5
  "directory": "packages/create-plugin",
6
6
  "url": "https://github.com/grafana/plugin-tools"
@@ -87,5 +87,5 @@
87
87
  "engines": {
88
88
  "node": ">=20"
89
89
  },
90
- "gitHead": "86d9d0de52b0d0fccb13b6977810daef1b484015"
90
+ "gitHead": "da0bc90af045afd866abaf477faf3f3a207b594b"
91
91
  }
@@ -6,6 +6,9 @@
6
6
  */
7
7
 
8
8
  import '@testing-library/jest-dom';
9
+ import { TextEncoder, TextDecoder } from 'util';
10
+
11
+ Object.assign(global, { TextDecoder, TextEncoder });
9
12
 
10
13
  // https://jestjs.io/docs/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom
11
14
  Object.defineProperty(global, 'matchMedia', {