-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from AssemblyAI/E07417BDFEA3614F5967B1520F8B2F61
Sync from internal repo (2024/10/08)
- Loading branch information
Showing
15 changed files
with
153 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "browser", | ||
default: false, | ||
node: false, | ||
browser: true, | ||
bun: false, | ||
deno: false, | ||
workerd: false, | ||
reactNative: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "bun", | ||
default: false, | ||
node: false, | ||
browser: false, | ||
bun: true, | ||
deno: false, | ||
workerd: false, | ||
reactNative: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export type Conditions = { | ||
name: string; | ||
default: boolean; | ||
node: boolean; | ||
browser: boolean; | ||
bun: boolean; | ||
deno: boolean; | ||
workerd: boolean; | ||
reactNative: boolean; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "default", | ||
default: true, | ||
node: false, | ||
browser: false, | ||
bun: false, | ||
deno: false, | ||
workerd: false, | ||
reactNative: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "deno", | ||
default: false, | ||
node: false, | ||
browser: false, | ||
bun: false, | ||
deno: true, | ||
workerd: false, | ||
reactNative: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "node", | ||
default: false, | ||
node: true, | ||
browser: false, | ||
bun: false, | ||
deno: false, | ||
workerd: false, | ||
reactNative: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "react-native", | ||
default: false, | ||
node: false, | ||
browser: false, | ||
bun: false, | ||
deno: false, | ||
workerd: false, | ||
reactNative: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "workerd", | ||
default: false, | ||
node: false, | ||
browser: false, | ||
bun: false, | ||
deno: false, | ||
workerd: true, | ||
reactNative: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters