@utoo/pack 1.4.18-alpha.2 → 1.4.18

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.
@@ -1,2 +1,2 @@
1
1
  export declare function isTruthyEnv(value: string | undefined): boolean;
2
- export declare function normalizeTurbopackMemoryEviction(value: false | "full" | undefined): "off" | "full";
2
+ export declare function normalizeTurbopackMemoryEviction(value: boolean | "full" | undefined): "off" | "full";
package/cjs/utils/env.js CHANGED
@@ -9,7 +9,7 @@ function normalizeTurbopackMemoryEviction(value) {
9
9
  if (value === false) {
10
10
  return "off";
11
11
  }
12
- if (value === "full") {
12
+ if (value === true || value === "full") {
13
13
  return "full";
14
14
  }
15
15
  const rawEnv = process.env.TURBO_ENGINE_EVICT_AFTER_SNAPSHOT;
@@ -1,2 +1,2 @@
1
1
  export declare function isTruthyEnv(value: string | undefined): boolean;
2
- export declare function normalizeTurbopackMemoryEviction(value: false | "full" | undefined): "off" | "full";
2
+ export declare function normalizeTurbopackMemoryEviction(value: boolean | "full" | undefined): "off" | "full";
package/esm/utils/env.js CHANGED
@@ -5,7 +5,7 @@ export function normalizeTurbopackMemoryEviction(value) {
5
5
  if (value === false) {
6
6
  return "off";
7
7
  }
8
- if (value === "full") {
8
+ if (value === true || value === "full") {
9
9
  return "full";
10
10
  }
11
11
  const rawEnv = process.env.TURBO_ENGINE_EVICT_AFTER_SNAPSHOT;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/pack",
3
- "version": "1.4.18-alpha.2",
3
+ "version": "1.4.18",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "types": "esm/index.d.ts",
@@ -41,7 +41,7 @@
41
41
  "@hono/node-server": "^1.19.11",
42
42
  "@hono/node-ws": "^1.3.0",
43
43
  "@swc/helpers": "0.5.15",
44
- "@utoo/pack-shared": "1.4.18-alpha.2",
44
+ "@utoo/pack-shared": "1.4.18",
45
45
  "domparser-rs": "^0.0.7",
46
46
  "find-up": "4.1.0",
47
47
  "get-port": "5.1.1",
@@ -96,12 +96,12 @@
96
96
  "directory": "packages/pack"
97
97
  },
98
98
  "optionalDependencies": {
99
- "@utoo/pack-darwin-arm64": "1.4.18-alpha.2",
100
- "@utoo/pack-darwin-x64": "1.4.18-alpha.2",
101
- "@utoo/pack-linux-arm64-gnu": "1.4.18-alpha.2",
102
- "@utoo/pack-linux-arm64-musl": "1.4.18-alpha.2",
103
- "@utoo/pack-linux-x64-gnu": "1.4.18-alpha.2",
104
- "@utoo/pack-linux-x64-musl": "1.4.18-alpha.2",
105
- "@utoo/pack-win32-x64-msvc": "1.4.18-alpha.2"
99
+ "@utoo/pack-darwin-arm64": "1.4.18",
100
+ "@utoo/pack-darwin-x64": "1.4.18",
101
+ "@utoo/pack-linux-arm64-gnu": "1.4.18",
102
+ "@utoo/pack-linux-arm64-musl": "1.4.18",
103
+ "@utoo/pack-linux-x64-gnu": "1.4.18",
104
+ "@utoo/pack-linux-x64-musl": "1.4.18",
105
+ "@utoo/pack-win32-x64-msvc": "1.4.18"
106
106
  }
107
107
  }