File tree Expand file tree Collapse file tree 7 files changed +5
-71
lines changed
overrides/proxyExternalRequest Expand file tree Collapse file tree 7 files changed +5
-71
lines changed Original file line number Diff line number Diff line change 1- import { isBinaryContentType } from "./binary" ;
1+ import { isBinaryContentType } from "../utils /binary" ;
22import { debug , error , warn } from "./logger" ;
33
44interface CachedFetchValue {
Original file line number Diff line number Diff line change 11import fs from "node:fs" ;
22import path from "node:path" ;
33
4- import { isBinaryContentType } from "../adapters/binary.js" ;
54import logger from "../logger.js" ;
5+ import { isBinaryContentType } from "../utils/binary.js" ;
66import * as buildHelper from "./helper.js" ;
77
88export function createStaticAssets ( options : buildHelper . BuildOptions ) {
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ import { parseHeaders } from "http/util.js";
99import type { MiddlewareManifest } from "types/next-types" ;
1010import type { InternalEvent , InternalResult } from "types/open-next.js" ;
1111
12- import { isBinaryContentType } from "../../adapters/binary.js" ;
1312import { debug , error } from "../../adapters/logger.js" ;
13+ import { isBinaryContentType } from "../../utils/binary.js" ;
1414
1515/**
1616 *
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { request } from "node:https";
33import { Readable } from "node:stream" ;
44import type { InternalEvent , InternalResult } from "types/open-next" ;
55import type { ProxyExternalRequest } from "types/overrides" ;
6- import { isBinaryContentType } from "../../adapters /binary" ;
6+ import { isBinaryContentType } from "../../utils /binary" ;
77
88function filterHeadersForProxy (
99 headers : Record < string , string | string [ ] | undefined > ,
File renamed without changes.
Original file line number Diff line number Diff line change 1- import { isBinaryContentType } from "@opennextjs/aws/adapters /binary.js" ;
1+ import { isBinaryContentType } from "@opennextjs/aws/utils /binary.js" ;
22
33describe ( "isBinaryContentType" , ( ) => {
44 const tests = [
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments