sliftutils 1.8.14 → 1.8.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sliftutils",
3
- "version": "1.8.14",
3
+ "version": "1.8.16",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -78,7 +78,7 @@
78
78
  "node-forge": "https://github.com/sliftist/forge#e618181b469b07bdc70b968b0391beb8ef5fecd6",
79
79
  "preact-old-types": "^10.28.1",
80
80
  "shell-quote": "^1.8.3",
81
- "socket-function": "^1.3.3",
81
+ "socket-function": "^1.3.5",
82
82
  "typenode": "^6.6.1",
83
83
  "typesafecss": "*",
84
84
  "ws": "^8.18.3",
@@ -216,7 +216,11 @@ export class InputLabel extends preact.Component<InputLabelProps> {
216
216
  if (props.edit) {
217
217
  this.synced.editInputValue = e.currentTarget.value;
218
218
  }
219
- props.onInput?.(e);
219
+ if (props.onInput) {
220
+ props.onInput(e);
221
+ } else if (props.hot) {
222
+ props.onChange?.(e);
223
+ }
220
224
  }}
221
225
  />;
222
226
 
package/yarn.lock CHANGED
@@ -1937,10 +1937,10 @@ slash@^3.0.0:
1937
1937
  resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
1938
1938
  integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
1939
1939
 
1940
- socket-function@^1.3.3:
1941
- version "1.3.3"
1942
- resolved "https://registry.yarnpkg.com/socket-function/-/socket-function-1.3.3.tgz#da9ab9dd01c7aad248e86d42330b4a2ee01318e7"
1943
- integrity sha512-RLU1T5mENV8AatoiGBgHSWhmQEpjeLlTIn/SjT74VZTE4ICx72a3TOXF2zfFC1lsyGd0Ikp5luEQ1LOreCvwhA==
1940
+ socket-function@^1.3.5:
1941
+ version "1.3.5"
1942
+ resolved "https://registry.yarnpkg.com/socket-function/-/socket-function-1.3.5.tgz#79e0bbf119c06ae321a0f6917c3405dad42cdaea"
1943
+ integrity sha512-x7lypbyXMZwieEYWTwWZJJZX85VgpVo+76i9waJHSgZ/DPYZpqT6umh14pmTTL6kXB9hVLy47B1JMQ8Nn3AOBQ==
1944
1944
  dependencies:
1945
1945
  "@types/pako" "^2.0.3"
1946
1946
  "@types/ws" "^8.5.3"