Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @netlify/build to ^29.33.5 #2392

Merged
merged 3 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37,154 changes: 16,928 additions & 20,226 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.16.0",
"@delucis/if-env": "^1.1.2",
"@netlify/build": "^29.30.0",
"@netlify/build": "^29.33.5",
"@netlify/eslint-config-node": "^7.0.1",
"@testing-library/cypress": "^9.0.0",
"@types/fs-extra": "^9.0.13",
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"devDependencies": {
"@delucis/if-env": "^1.1.2",
"@netlify/build": "^29.30.0",
"@netlify/build": "^29.33.5",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.1",
"@types/merge-stream": "^1.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/src/helpers/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { NetlifyConfig } from '@netlify/build/types'
import type { NetlifyConfig } from '@netlify/build'
import destr from 'destr'
import { readJSON, writeJSON } from 'fs-extra'
import type { Header } from 'next/dist/lib/load-custom-routes'
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/src/helpers/dev.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { resolve } from 'path'

import type { OnPreBuild } from '@netlify/build/types'
import type { OnPreBuild } from '@netlify/build'
import execa from 'execa'

import { writeDevEdgeFunction } from './edge'
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/src/helpers/edge.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { promises as fs, existsSync } from 'fs'
import { resolve, join } from 'path'

import type { NetlifyConfig, NetlifyPluginConstants } from '@netlify/build/types'
import type { NetlifyConfig, NetlifyPluginConstants } from '@netlify/build'
import { greenBright } from 'chalk'
import destr from 'destr'
import { copy, copyFile, emptyDir, ensureDir, readJSON, writeJSON, writeJson } from 'fs-extra'
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/src/helpers/files.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { cpus } from 'os'

import type { Blobs } from '@netlify/blobs'
import type { NetlifyConfig } from '@netlify/build/types'
import type { NetlifyConfig } from '@netlify/build'
import { yellowBright } from 'chalk'
import { existsSync, readJson, move, copy, writeJson, ensureDir, readFileSync, remove, readFile } from 'fs-extra'
import globby from 'globby'
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/src/helpers/functions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { NetlifyConfig, NetlifyPluginConstants } from '@netlify/build/types'
import type { NetlifyConfig, NetlifyPluginConstants } from '@netlify/build'
import bridgeFile from '@vercel/node-bridge'
import chalk from 'chalk'
import destr from 'destr'
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/src/helpers/redirects.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { NetlifyConfig } from '@netlify/build/types'
import type { NetlifyConfig } from '@netlify/build'
import { yellowBright } from 'chalk'
import destr from 'destr'
import { readJSON } from 'fs-extra'
Expand Down
5 changes: 2 additions & 3 deletions packages/runtime/src/helpers/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { NetlifyConfig } from '@netlify/build/types'
import type { Header } from '@netlify/build/types/config/netlify_config'
import type { NetlifyConfig } from '@netlify/build'
import globby from 'globby'
import type { ExperimentalConfig } from 'next/dist/server/config-shared'
import type { ImageConfigComplete, RemotePattern } from 'next/dist/shared/lib/image-config'
Expand Down Expand Up @@ -292,7 +291,7 @@ export const isNextAuthInstalled = (): boolean => {
}
}

export const getCustomImageResponseHeaders = (headers: Header[]): Record<string, string> | null => {
export const getCustomImageResponseHeaders = (headers: NetlifyConfig['headers']): Record<string, string> | null => {
const customImageResponseHeaders = headers.find((header) => header.for?.startsWith('/_next/image/'))

if (customImageResponseHeaders) {
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/src/helpers/verification.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { existsSync, promises } from 'fs'
import path, { relative, join } from 'path'

import type { NetlifyConfig, NetlifyPluginUtils } from '@netlify/build/types'
import type { NetlifyConfig, NetlifyPluginUtils } from '@netlify/build'
import { yellowBright, greenBright, blueBright, reset } from 'chalk'
import { async as StreamZip } from 'node-stream-zip'
import { outdent } from 'outdent'
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { join, relative } from 'path'

import type { NetlifyPlugin, NetlifyPluginConstants, NetlifyPluginOptions } from '@netlify/build/types'
import type { NetlifyPlugin, NetlifyPluginConstants, NetlifyPluginOptions } from '@netlify/build'
import { bold, redBright } from 'chalk'
import destr from 'destr'
import { existsSync, readFileSync } from 'fs-extra'
Expand Down
2 changes: 1 addition & 1 deletion test/helpers/config.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { NetlifyPluginOptions } from '@netlify/build/types'
import type { NetlifyPluginOptions } from '@netlify/build'

import { generateCustomHeaders, NextConfig } from '../../packages/runtime/src/helpers/config'

Expand Down
2 changes: 1 addition & 1 deletion test/helpers/verification.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { NetlifyPluginOptions, NetlifyPluginUtils } from '@netlify/build/types'
import type { NetlifyPluginOptions, NetlifyPluginUtils } from '@netlify/build'
import Chance from 'chance'
import { outdent } from 'outdent'

Expand Down
2 changes: 1 addition & 1 deletion test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import os from 'os'
import path, { resolve } from 'path'
import process from 'process'

import type { NetlifyPluginOptions } from '@netlify/build/types'
import type { NetlifyPluginOptions } from '@netlify/build'
import Chance from 'chance'
import { writeJSON, unlink, existsSync, readFileSync, ensureDir, readJson, pathExists, writeFile, move } from 'fs-extra'
import { join, relative } from 'pathe'
Expand Down
Loading