@utoo/pack 1.1.9 → 1.1.10-rc.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.
@@ -40,7 +40,8 @@ async function serveInternal(options, projectPath, rootPath, serverOptions) {
40
40
  if (process.env.XCODE_PROFILE) {
41
41
  await (0, xcodeProfile_1.xcodeProfilingReady)();
42
42
  }
43
- const cfgDevServer = ((_a = options.config) === null || _a === void 0 ? void 0 : _a.devServer) || {};
43
+ // FIXME: fix any type
44
+ const cfgDevServer = (((_a = options.config) === null || _a === void 0 ? void 0 : _a.devServer) || {});
44
45
  const serverOpts = {
45
46
  hostname: (serverOptions === null || serverOptions === void 0 ? void 0 : serverOptions.hostname) || cfgDevServer.host || "localhost",
46
47
  port: typeof (serverOptions === null || serverOptions === void 0 ? void 0 : serverOptions.port) !== "undefined"
@@ -26,7 +26,8 @@ async function serveInternal(options, projectPath, rootPath, serverOptions) {
26
26
  if (process.env.XCODE_PROFILE) {
27
27
  await xcodeProfilingReady();
28
28
  }
29
- const cfgDevServer = ((_a = options.config) === null || _a === void 0 ? void 0 : _a.devServer) || {};
29
+ // FIXME: fix any type
30
+ const cfgDevServer = (((_a = options.config) === null || _a === void 0 ? void 0 : _a.devServer) || {});
30
31
  const serverOpts = {
31
32
  hostname: (serverOptions === null || serverOptions === void 0 ? void 0 : serverOptions.hostname) || cfgDevServer.host || "localhost",
32
33
  port: typeof (serverOptions === null || serverOptions === void 0 ? void 0 : serverOptions.port) !== "undefined"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/pack",
3
- "version": "1.1.9",
3
+ "version": "1.1.10-rc.2",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "types": "esm/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "dependencies": {
40
40
  "@babel/code-frame": "7.22.5",
41
41
  "@swc/helpers": "0.5.15",
42
- "@utoo/pack-shared": "^1.1.9",
42
+ "@utoo/pack-shared": "1.1.10-rc.2",
43
43
  "@utoo/style-loader": "^1.0.0",
44
44
  "domparser-rs": "^0.0.5",
45
45
  "find-up": "4.1.0",
@@ -88,12 +88,12 @@
88
88
  },
89
89
  "repository": "git@github.com:utooland/utoo.git",
90
90
  "optionalDependencies": {
91
- "@utoo/pack-darwin-arm64": "1.1.9",
92
- "@utoo/pack-darwin-x64": "1.1.9",
93
- "@utoo/pack-linux-arm64-gnu": "1.1.9",
94
- "@utoo/pack-linux-arm64-musl": "1.1.9",
95
- "@utoo/pack-linux-x64-gnu": "1.1.9",
96
- "@utoo/pack-linux-x64-musl": "1.1.9",
97
- "@utoo/pack-win32-x64-msvc": "1.1.9"
91
+ "@utoo/pack-darwin-arm64": "1.1.10-rc.2",
92
+ "@utoo/pack-darwin-x64": "1.1.10-rc.2",
93
+ "@utoo/pack-linux-arm64-gnu": "1.1.10-rc.2",
94
+ "@utoo/pack-linux-arm64-musl": "1.1.10-rc.2",
95
+ "@utoo/pack-linux-x64-gnu": "1.1.10-rc.2",
96
+ "@utoo/pack-linux-x64-musl": "1.1.10-rc.2",
97
+ "@utoo/pack-win32-x64-msvc": "1.1.10-rc.2"
98
98
  }
99
99
  }