Update checked-in dependencies
This commit is contained in:
parent
7fdbca3ba3
commit
357e0ceaa9
360 changed files with 25673 additions and 917 deletions
15
node_modules/@open-draft/until/lib/index.mjs
generated
vendored
Normal file
15
node_modules/@open-draft/until/lib/index.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// src/until.ts
|
||||
var until = async (promise) => {
|
||||
try {
|
||||
const data = await promise().catch((error) => {
|
||||
throw error;
|
||||
});
|
||||
return { error: null, data };
|
||||
} catch (error) {
|
||||
return { error, data: null };
|
||||
}
|
||||
};
|
||||
export {
|
||||
until
|
||||
};
|
||||
//# sourceMappingURL=index.mjs.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue