File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
import type { Context } from '@netlify/edge-functions'
2
- import { HTMLRewriter , init , type TextChunk } from 'https://deno.land/x/htmlrewriter@v1.0.0/src/index.ts'
2
+ import {
3
+ HTMLRewriter ,
4
+ init ,
5
+ type TextChunk ,
6
+ } from '../vendor/deno.land/x/htmlrewriter@v1.0.0/src/index.ts'
3
7
4
8
import { updateModifiedHeaders } from './headers.ts'
5
9
import type { StructuredLogger } from './logging.ts'
@@ -13,7 +17,7 @@ import {
13
17
relativizeURL ,
14
18
} from './util.ts'
15
19
16
- await init ( ) ;
20
+ await init ( )
17
21
18
22
export interface FetchEventResult {
19
23
response : Response
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ import 'https://deno.land/std@0.175.0/node/util.ts'
12
12
import 'https://deno.land/std@0.175.0/path/mod.ts'
13
13
14
14
import 'https://deno.land/x/path_to_regexp@v6.2.1/index.ts'
15
- import 'https://deno.land/x/html_rewriter@v0.1.0-pre.17 /index.ts'
15
+ import 'https://deno.land/x/htmlrewriter@v1.0.0/src /index.ts'
16
16
17
17
import 'https://v1-7-0--edge-utils.netlify.app/logger/mod.ts'
You can’t perform that action at this time.
0 commit comments