slint-ui 1.8.0-nightly.2024091220 → 1.8.0-nightly.2024091418

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/Cargo.toml CHANGED
@@ -40,10 +40,10 @@ accessibility = ["slint-interpreter/accessibility"]
40
40
  [dependencies]
41
41
  napi = { version = "2.14.0", default-features = false, features = ["napi8"] }
42
42
  napi-derive = "2.14.0"
43
- i-slint-compiler = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "eed03345b5d02dd4dc5aee01d83198fcda3e5e79", version = "=1.8.0", default-features = false }
44
- i-slint-core = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "eed03345b5d02dd4dc5aee01d83198fcda3e5e79", version = "=1.8.0", default-features = false }
45
- i-slint-backend-selector = { git = "https://github.com/slint-ui/slint", rev = "eed03345b5d02dd4dc5aee01d83198fcda3e5e79", version = "=1.8.0", default-features = false }
46
- slint-interpreter = { default-features = false , features = ["display-diagnostics", "internal", "compat-1-2"] , git = "https://github.com/slint-ui/slint", rev = "eed03345b5d02dd4dc5aee01d83198fcda3e5e79", version = "=1.8.0"}
43
+ i-slint-compiler = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "890e63d35204b6a116d4592ca6201bc04546dd50", version = "=1.8.0", default-features = false }
44
+ i-slint-core = { features = ["default"] , git = "https://github.com/slint-ui/slint", rev = "890e63d35204b6a116d4592ca6201bc04546dd50", version = "=1.8.0", default-features = false }
45
+ i-slint-backend-selector = { git = "https://github.com/slint-ui/slint", rev = "890e63d35204b6a116d4592ca6201bc04546dd50", version = "=1.8.0", default-features = false }
46
+ slint-interpreter = { default-features = false , features = ["display-diagnostics", "internal", "compat-1-2"] , git = "https://github.com/slint-ui/slint", rev = "890e63d35204b6a116d4592ca6201bc04546dd50", version = "=1.8.0"}
47
47
  spin_on = { version = "0.1" }
48
48
  css-color-parser2 = { version = "1.0.1" }
49
49
  itertools = { version = "0.13" }
package/biome.json CHANGED
@@ -5,31 +5,24 @@
5
5
  "ignore": ["*/rust-module.d.ts"]
6
6
  },
7
7
  "linter": {
8
- "ignore": ["rust-module.d.ts"],
8
+ "ignore": ["rust-module.d.ts", "rust-module.cjs"],
9
9
  "rules": {
10
10
  "complexity": {
11
11
  "useArrowFunction": "off",
12
- "noForEach": "off",
13
- "noUselessConstructor": "off",
14
- "noBannedTypes": "warn"
12
+ "noForEach": "off"
15
13
  },
16
14
  "style": {
17
15
  "noNonNullAssertion": "off",
18
16
  "noUnusedTemplateLiteral": "off",
19
- "useConst": "off",
20
17
  "useTemplate": "off",
21
18
  "noArguments": "off",
22
19
  "noVar": "off",
23
20
  "noInferrableTypes": "off",
24
- "useImportType": "off",
25
- "useNodejsImportProtocol": "off",
26
21
  "noParameterAssign": "off"
27
22
  },
28
23
  "suspicious": {
29
24
  "noExplicitAny": "off",
30
- "noAssignInExpressions": "off",
31
- "noImplicitAnyLet": "off",
32
- "noRedundantUseStrict": "off"
25
+ "noAssignInExpressions": "off"
33
26
  }
34
27
  }
35
28
  }
@@ -5,7 +5,7 @@
5
5
  // builds slint if no binary was found.
6
6
 
7
7
  import { Worker } from "node:worker_threads";
8
- import { spawn } from "child_process";
8
+ import { spawn } from "node:child_process";
9
9
 
10
10
  const worker = new Worker("./rust-module.cjs");
11
11
  // Define dummy error handler to prevent node from aborting on errors
package/index.js CHANGED
@@ -714,7 +714,6 @@ class EventLoop {
714
714
  #quit_loop = false;
715
715
  #terminationPromise = null;
716
716
  #terminateResolveFn;
717
- constructor() { }
718
717
  start(running_callback, quitOnLastWindowClosed = true) {
719
718
  if (this.#terminationPromise != null) {
720
719
  return this.#terminationPromise;
package/index.ts CHANGED
@@ -1065,8 +1065,6 @@ class EventLoop {
1065
1065
  #terminationPromise: Promise<unknown> | null = null;
1066
1066
  #terminateResolveFn: ((_value: unknown) => void) | null;
1067
1067
 
1068
- constructor() {}
1069
-
1070
1068
  start(
1071
1069
  running_callback?: Function,
1072
1070
  quitOnLastWindowClosed: boolean = true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slint-ui",
3
- "version": "1.8.0-nightly.2024091220",
3
+ "version": "1.8.0-nightly.2024091418",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "homepage": "https://github.com/slint-ui/slint",
@@ -65,10 +65,10 @@
65
65
  "@napi-rs/cli": "^2.16.5"
66
66
  },
67
67
  "optionalDependencies": {
68
- "@slint-ui/slint-ui-binary-linux-x64-gnu": "1.8.0-nightly.2024091220",
69
- "@slint-ui/slint-ui-binary-darwin-x64": "1.8.0-nightly.2024091220",
70
- "@slint-ui/slint-ui-binary-darwin-arm64": "1.8.0-nightly.2024091220",
71
- "@slint-ui/slint-ui-binary-win32-x64-msvc": "1.8.0-nightly.2024091220",
72
- "@slint-ui/slint-ui-binary-win32-ia32-msvc": "1.8.0-nightly.2024091220"
68
+ "@slint-ui/slint-ui-binary-linux-x64-gnu": "1.8.0-nightly.2024091418",
69
+ "@slint-ui/slint-ui-binary-darwin-x64": "1.8.0-nightly.2024091418",
70
+ "@slint-ui/slint-ui-binary-darwin-arm64": "1.8.0-nightly.2024091418",
71
+ "@slint-ui/slint-ui-binary-win32-x64-msvc": "1.8.0-nightly.2024091418",
72
+ "@slint-ui/slint-ui-binary-win32-ia32-msvc": "1.8.0-nightly.2024091418"
73
73
  }
74
74
  }