-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into strict-jetstream
- Loading branch information
Showing
494 changed files
with
9,110 additions
and
12,357 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
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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
# TODO | ||
|
||
## BUGS | ||
|
||
- ObjectStore should report the number of entries in it. | ||
|
||
- no_wait for Consumer args.no_wait = opts.no_wait || false; if (args.no_wait && | ||
args.expires) { args.expires = 0; } | ||
- headers_only is needed in Consumer | ||
|
||
- add a test for next/fetch/consume where message size smaller than availablle | ||
|
||
- doc |
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 |
---|---|---|
|
@@ -13,26 +13,31 @@ | |
* limitations under the License. | ||
*/ | ||
import { cli } from "https://deno.land/x/[email protected]/mod.ts"; | ||
import { bundle } from "https://deno.land/x/[email protected]/mod.ts"; | ||
import * as esbuild from "npm:[email protected]"; | ||
// Import the Wasm build on platforms where running subprocesses is not | ||
// permitted, such as Deno Deploy, or when running without `--allow-run`. | ||
// import * as esbuild from "https://deno.land/x/[email protected]/wasm.js"; | ||
|
||
import { denoPlugins } from "jsr:@luca/esbuild-deno-loader@^0.11.0"; | ||
|
||
const root = cli({ | ||
use: "bundle javascript/typescript", | ||
run: async (_cmd, _args, flags) => { | ||
const src = flags.value<string>("src"); | ||
const out = flags.value<string>("out"); | ||
const type = flags.value<boolean>("module") ? "module" : "classic"; | ||
try { | ||
const r = URL.canParse(src) | ||
? await bundle(new URL(src), { type }) | ||
: await bundle(src, { type }); | ||
await Deno.writeTextFile(out, r.code); | ||
console.log(`wrote ${out}`); | ||
return 0; | ||
} catch (err) { | ||
console.log(`failed to bundle: ${err.message}`); | ||
console.log(err.stack); | ||
return 1; | ||
} | ||
|
||
const result = await esbuild.build({ | ||
plugins: [...denoPlugins()], | ||
entryPoints: [src], | ||
outfile: out, | ||
bundle: true, | ||
format: "esm", | ||
}); | ||
|
||
console.log(result.outputFiles || out); | ||
|
||
esbuild.stop(); | ||
return 0; | ||
}, | ||
}); | ||
|
||
|
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
Oops, something went wrong.