bun-types-no-globals 1.3.3-canary.20251112T140644 → 1.3.3-canary.20251114T140703

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.
Files changed (2) hide show
  1. package/lib/bun.d.ts +25 -1
  2. package/package.json +1 -1
package/lib/bun.d.ts CHANGED
@@ -4041,7 +4041,21 @@ declare module "bun" {
4041
4041
  | "browser";
4042
4042
 
4043
4043
  /** https://bun.com/docs/bundler/loaders */
4044
- type Loader = "js" | "jsx" | "ts" | "tsx" | "json" | "toml" | "file" | "napi" | "wasm" | "text" | "css" | "html";
4044
+ type Loader =
4045
+ | "js"
4046
+ | "jsx"
4047
+ | "ts"
4048
+ | "tsx"
4049
+ | "json"
4050
+ | "jsonc"
4051
+ | "toml"
4052
+ | "yaml"
4053
+ | "file"
4054
+ | "napi"
4055
+ | "wasm"
4056
+ | "text"
4057
+ | "css"
4058
+ | "html";
4045
4059
 
4046
4060
  interface PluginConstraints {
4047
4061
  /**
@@ -6430,6 +6444,16 @@ declare module "bun" {
6430
6444
  /** @see https://bun.com/docs/install/catalogs */
6431
6445
  catalogs?: Record<string, Record<string, string>>;
6432
6446
 
6447
+ /**
6448
+ * `0` / `undefined` for projects created before v1.3.2, `1` for projects created after.
6449
+ *
6450
+ * ---
6451
+ * Right now this only changes the default [install linker strategy](https://bun.com/docs/pm/cli/install#isolated-installs):
6452
+ * - With `0`, the linker is hoisted.
6453
+ * - With `1`, the linker is isolated for workspaces and hoisted for single-package projects.
6454
+ */
6455
+ configVersion?: 0 | 1;
6456
+
6433
6457
  /**
6434
6458
  * ```
6435
6459
  * INFO = { prod/dev/optional/peer dependencies, os, cpu, libc (TODO), bin, binDir }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bun-types-no-globals",
3
- "version": "1.3.3-canary.20251112T140644",
3
+ "version": "1.3.3-canary.20251114T140703",
4
4
  "main": "./generator/index.ts",
5
5
  "types": "./lib/index.d.ts",
6
6
  "description": "TypeScript type definitions for Bun without global types pollution",