File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import { compression } from './mod.ts'
2- import { Server } from 'https://deno.land/std@0.136 .0/http/server.ts'
2+ import { Server } from 'https://deno.land/std@0.148 .0/http/server.ts'
33
44const s = new Server ( {
55 handler : async ( req ) => {
Original file line number Diff line number Diff line change 11import { compress as brotli } from 'https://deno.land/x/[email protected] /mod.ts' 22import { deflate , gzip } from 'https://deno.land/x/[email protected] /mod.ts' 33import { Accepts } from 'https://deno.land/x/[email protected] /mod.ts' 4- import { readAll } from 'https://deno.land/std@0.136 .0/streams/conversion.ts'
4+ import { readAll } from 'https://deno.land/std@0.148 .0/streams/conversion.ts'
55
66const funcs = {
77 br : brotli ,
@@ -46,7 +46,7 @@ export type CompressionOptions = {
4646 *
4747 * @example
4848 * ```ts
49- *import { serve } from 'https://deno.land/std@0.136 .0/http/server.ts'
49+ *import { serve } from 'https://deno.land/std@0.148 .0/http/server.ts'
5050 *import { compression } from 'https://deno.land/x/compression/brotli.ts'
5151 *
5252 *const s = serve({ port: 3000 })
You can’t perform that action at this time.
0 commit comments