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" ;
2
2
import { debug , error , warn } from "./logger" ;
3
3
4
4
interface CachedFetchValue {
Original file line number Diff line number Diff line change 1
1
import fs from "node:fs" ;
2
2
import path from "node:path" ;
3
3
4
- import { isBinaryContentType } from "../adapters/binary.js" ;
5
4
import logger from "../logger.js" ;
5
+ import { isBinaryContentType } from "../utils/binary.js" ;
6
6
import * as buildHelper from "./helper.js" ;
7
7
8
8
export 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";
9
9
import type { MiddlewareManifest } from "types/next-types" ;
10
10
import type { InternalEvent , InternalResult } from "types/open-next.js" ;
11
11
12
- import { isBinaryContentType } from "../../adapters/binary.js" ;
13
12
import { debug , error } from "../../adapters/logger.js" ;
13
+ import { isBinaryContentType } from "../../utils/binary.js" ;
14
14
15
15
/**
16
16
*
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { request } from "node:https";
3
3
import { Readable } from "node:stream" ;
4
4
import type { InternalEvent , InternalResult } from "types/open-next" ;
5
5
import type { ProxyExternalRequest } from "types/overrides" ;
6
- import { isBinaryContentType } from "../../adapters /binary" ;
6
+ import { isBinaryContentType } from "../../utils /binary" ;
7
7
8
8
function filterHeadersForProxy (
9
9
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" ;
2
2
3
3
describe ( "isBinaryContentType" , ( ) => {
4
4
const tests = [
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments