fix: invalid identifier in manifest (#2070)

This commit is contained in:
Marvin Hagemeister
2023-11-27 11:20:40 +01:00
committed by GitHub
parent 81e71adad6
commit 9d5e916e4c
9 changed files with 40 additions and 11 deletions
+4
View File
@@ -26,3 +26,7 @@ export {
assertEquals,
assertThrows,
} from "https://deno.land/std@0.205.0/assert/mod.ts";
export {
isIdentifierChar,
isIdentifierStart,
} from "https://esm.sh/@babel/helper-validator-identifier@7.22.20";
+2 -5
View File
@@ -1,9 +1,6 @@
import { PARTIAL_SEARCH_PARAM } from "$fresh/src/constants.ts";
import { PARTIAL_SEARCH_PARAM } from "../constants.ts";
import { BaseRoute, ErrorHandlerContext, ServeHandlerInfo } from "./types.ts";
import {
isIdentifierChar,
isIdentifierStart,
} from "https://esm.sh/@babel/helper-validator-identifier@7.22.20";
import { isIdentifierChar, isIdentifierStart } from "./deps.ts";
type HandlerContext<T = unknown> = T & ServeHandlerInfo & {
isPartial: boolean;