@backstage/plugin-kubernetes 0.10.3-next.3 → 0.10.3
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 +21 -0
- package/dist/index.esm.js +17 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @backstage/plugin-kubernetes
|
|
2
2
|
|
|
3
|
+
## 0.10.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0ad36158d980: Loosened the type of the `auth` field in the body of requests to the `retrieveObjectsByServiceId` endpoint. Now any JSON object is allowed, which should make it easier for integrators to write their own custom auth strategies for Kubernetes.
|
|
8
|
+
- 7032c214f3b4: Add pod exec terminal to Container Card
|
|
9
|
+
- 406b786a2a2c: Mark package as being free of side effects, allowing more optimized Webpack builds.
|
|
10
|
+
- 6ddeade58b4c: Avoid eager use of `TextEncoder` in order not to break tests.
|
|
11
|
+
- 6a5e04e20e6e: fix logs dialog min height
|
|
12
|
+
- 8cec7664e146: Removed `@types/node` dependency
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
- @backstage/plugin-kubernetes-common@0.6.6
|
|
15
|
+
- @backstage/plugin-catalog-react@1.8.4
|
|
16
|
+
- @backstage/core-components@0.13.5
|
|
17
|
+
- @backstage/config@1.1.0
|
|
18
|
+
- @backstage/catalog-model@1.4.2
|
|
19
|
+
- @backstage/core-plugin-api@1.6.0
|
|
20
|
+
- @backstage/errors@1.2.2
|
|
21
|
+
- @backstage/theme@0.4.2
|
|
22
|
+
- @backstage/types@1.1.1
|
|
23
|
+
|
|
3
24
|
## 0.10.3-next.3
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/index.esm.js
CHANGED
|
@@ -1065,16 +1065,30 @@ const useMatchingErrors = (matcher) => {
|
|
|
1065
1065
|
});
|
|
1066
1066
|
};
|
|
1067
1067
|
|
|
1068
|
-
|
|
1068
|
+
var __accessCheck = (obj, member, msg) => {
|
|
1069
|
+
if (!member.has(obj))
|
|
1070
|
+
throw TypeError("Cannot " + msg);
|
|
1071
|
+
};
|
|
1072
|
+
var __privateGet = (obj, member, getter) => {
|
|
1073
|
+
__accessCheck(obj, member, "read from private field");
|
|
1074
|
+
return getter ? getter.call(obj) : member.get(obj);
|
|
1075
|
+
};
|
|
1076
|
+
var __privateAdd = (obj, member, value) => {
|
|
1077
|
+
if (member.has(obj))
|
|
1078
|
+
throw TypeError("Cannot add the same private member more than once");
|
|
1079
|
+
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
1080
|
+
};
|
|
1081
|
+
var _textEncoder;
|
|
1069
1082
|
class PodExecTerminalAttachAddon extends AttachAddon {
|
|
1070
1083
|
constructor(socket, options) {
|
|
1071
1084
|
super(socket, options);
|
|
1085
|
+
__privateAdd(this, _textEncoder, new TextEncoder());
|
|
1072
1086
|
const thisAddon = this;
|
|
1073
1087
|
thisAddon._sendBinary = (data) => {
|
|
1074
1088
|
if (!thisAddon._checkOpenSocket()) {
|
|
1075
1089
|
return;
|
|
1076
1090
|
}
|
|
1077
|
-
const buffer = Uint8Array.from([0, ...
|
|
1091
|
+
const buffer = Uint8Array.from([0, ...__privateGet(this, _textEncoder).encode(data)]);
|
|
1078
1092
|
thisAddon._socket.send(buffer);
|
|
1079
1093
|
};
|
|
1080
1094
|
thisAddon._sendData = (data) => {
|
|
@@ -1085,6 +1099,7 @@ class PodExecTerminalAttachAddon extends AttachAddon {
|
|
|
1085
1099
|
};
|
|
1086
1100
|
}
|
|
1087
1101
|
}
|
|
1102
|
+
_textEncoder = new WeakMap();
|
|
1088
1103
|
|
|
1089
1104
|
const hasSocketProtocol = (url) => /wss?:\/\//.test(url.toString());
|
|
1090
1105
|
const PodExecTerminal = (props) => {
|