Skip to content

Commit b1c5194

Browse files
committed
fix: update deno paths to use remote urls
1 parent ca966a2 commit b1c5194

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

edge-runtime/lib/logging.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ export {
22
logger,
33
LogLevel,
44
StructuredLogger,
5-
} from '../vendor/v1-7-0--edge-utils.netlify.app/logger/mod.ts'
5+
} from 'https://v1-7-0--edge-utils.netlify.app/logger/mod.ts'

edge-runtime/lib/middleware.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Context } from '@netlify/edge-functions'
22

3-
import type { ElementHandlers } from '../../vendor/deno.land/x/[email protected]/src/index.ts'
4-
import { getCookies } from '../../vendor/deno.land/[email protected]/http/cookie.ts'
3+
import type { ElementHandlers } from 'https://deno.land/x/[email protected]/src/index.ts'
4+
import { getCookies } from 'https://deno.land/x/[email protected]/http/cookie.ts'
55

66
type NextDataTransform = <T>(data: T) => T
77

edge-runtime/lib/response.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import type { Context } from '@netlify/edge-functions'
2-
import {
3-
HTMLRewriter,
4-
type TextChunk,
5-
} from '../../vendor/deno.land/x/[email protected]/src/index.ts'
2+
import { HTMLRewriter, type TextChunk } from 'https://deno.land/x/[email protected]/src/index.ts'
63

74
import { updateModifiedHeaders } from './headers.ts'
85
import type { StructuredLogger } from './logging.ts'

edge-runtime/lib/routing.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
* Some types have been re-implemented to be more compatible with Deno or avoid chains of dependent files
66
*/
77

8-
import type { Key } from '../vendor/deno.land/x/[email protected]/index.ts'
8+
import type { Key } from 'https://deno.land/x/[email protected]/index.ts'
99

10-
import { compile, pathToRegexp } from '../vendor/deno.land/x/[email protected]/index.ts'
11-
import { getCookies } from '../vendor/deno.land/[email protected]/http/cookie.ts'
10+
import { compile, pathToRegexp } from 'https://deno.land/x/[email protected]/index.ts'
11+
import { getCookies } from 'https://deno.land/[email protected]/http/cookie.ts'
1212

1313
/*
1414
┌─────────────────────────────────────────────────────────────────────────┐

0 commit comments

Comments
 (0)