From 8234801a1260fa70cf17cc95bf5962f84fbe9bdf Mon Sep 17 00:00:00 2001
From: Tim Neutkens
- {decoded.map((entry, index) => (
+ {decoded.map((entry: any, index: any) => (
= function Terminal({
return (
- {decoded.map((entry, index) => (
+ {decoded.map((entry: any, index: any) => (
Date: Mon, 22 Jan 2024 10:06:14 +0100
Subject: [PATCH 02/11] Use precompiled picocolors
---
packages/react-dev-overlay/src/internal/helpers/launchEditor.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts b/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts
index f9821947e1a1b..ca78f902d25a3 100644
--- a/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts
+++ b/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts
@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
-import pc from 'picocolors'
+import pc from 'next/dist/lib/picocolors'
import child_process from 'child_process'
import fs from 'fs'
import os from 'os'
From 744c990fa2a4483225e1c563be8c4913d23771f2 Mon Sep 17 00:00:00 2001
From: Tim Neutkens
Date: Mon, 22 Jan 2024 10:07:09 +0100
Subject: [PATCH 03/11] Update package.json
---
packages/react-dev-overlay/package.json | 1 -
1 file changed, 1 deletion(-)
diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json
index 3cb2f05e08345..0524ff46b090e 100644
--- a/packages/react-dev-overlay/package.json
+++ b/packages/react-dev-overlay/package.json
@@ -19,7 +19,6 @@
},
"dependencies": {
"data-uri-to-buffer": "3.0.1",
- "picocolors": "1.0.0",
"shell-quote": "1.7.3",
"stacktrace-parser": "0.1.10",
"strip-ansi": "6.0.1"
From 0690a54b085d7d19524c6d9cae734801eff16e77 Mon Sep 17 00:00:00 2001
From: Tim Neutkens
Date: Mon, 22 Jan 2024 10:09:38 +0100
Subject: [PATCH 04/11] Precompiled data-uri-to-buffer
---
packages/next/taskfile.js | 2 ++
packages/react-dev-overlay/package.json | 1 -
.../src/internal/helpers/getRawSourceMap.ts | 6 +++---
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/packages/next/taskfile.js b/packages/next/taskfile.js
index 44ed9a649d31f..0f9a809fa354c 100644
--- a/packages/next/taskfile.js
+++ b/packages/next/taskfile.js
@@ -266,6 +266,8 @@ export async function ncc_node_stacktrace_parser(task, opts) {
}
externals['data-uri-to-buffer'] = 'next/dist/compiled/data-uri-to-buffer'
+externals['next/dist/compiled/data-uri-to-buffer'] =
+ 'next/dist/compiled/data-uri-to-buffer'
export async function ncc_node_data_uri_to_buffer(task, opts) {
await task
.source(relative(__dirname, require.resolve('data-uri-to-buffer')))
diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json
index 0524ff46b090e..85af82e508ecd 100644
--- a/packages/react-dev-overlay/package.json
+++ b/packages/react-dev-overlay/package.json
@@ -18,7 +18,6 @@
"typescript": "tsec --noEmit -p tsconfig.json"
},
"dependencies": {
- "data-uri-to-buffer": "3.0.1",
"shell-quote": "1.7.3",
"stacktrace-parser": "0.1.10",
"strip-ansi": "6.0.1"
diff --git a/packages/react-dev-overlay/src/internal/helpers/getRawSourceMap.ts b/packages/react-dev-overlay/src/internal/helpers/getRawSourceMap.ts
index 6812a0f76c6a9..f74ebe98847ea 100644
--- a/packages/react-dev-overlay/src/internal/helpers/getRawSourceMap.ts
+++ b/packages/react-dev-overlay/src/internal/helpers/getRawSourceMap.ts
@@ -1,5 +1,5 @@
-import type { MimeBuffer } from 'data-uri-to-buffer'
-import dataUriToBuffer from 'data-uri-to-buffer'
+// @ts-ignore Package Exists
+import dataUriToBuffer from 'next/dist/compiled/data-uri-to-buffer'
import { getSourceMapUrl } from './getSourceMapUrl'
export function getRawSourceMap(fileContents: string): unknown | null {
@@ -8,7 +8,7 @@ export function getRawSourceMap(fileContents: string): unknown | null {
return null
}
- let buffer: MimeBuffer
+ let buffer
try {
buffer = dataUriToBuffer(sourceUrl)
} catch (err) {
From e041ba57a0a85c6b23593d39fd276d1b75edfe70 Mon Sep 17 00:00:00 2001
From: Tim Neutkens
Date: Mon, 22 Jan 2024 10:12:09 +0100
Subject: [PATCH 05/11] Precompiled stacktrace-parser
---
packages/next/taskfile.js | 2 ++
packages/react-dev-overlay/package.json | 1 -
packages/react-dev-overlay/src/internal/bus.ts | 2 +-
.../src/internal/components/CodeFrame/CodeFrame.tsx | 3 ++-
.../src/internal/container/RuntimeError.tsx | 3 ++-
.../src/internal/helpers/nodeStackFrames.ts | 6 ++++--
.../react-dev-overlay/src/internal/helpers/parseStack.ts | 8 +++++---
.../react-dev-overlay/src/internal/helpers/stack-frame.ts | 3 ++-
packages/react-dev-overlay/src/middleware.ts | 3 ++-
9 files changed, 20 insertions(+), 11 deletions(-)
diff --git a/packages/next/taskfile.js b/packages/next/taskfile.js
index 0f9a809fa354c..caffe456fa4ab 100644
--- a/packages/next/taskfile.js
+++ b/packages/next/taskfile.js
@@ -258,6 +258,8 @@ export async function ncc_node_anser(task, opts) {
}
externals['stacktrace-parser'] = 'next/dist/compiled/stacktrace-parser'
+externals['next/dist/compiled/stacktrace-parser'] =
+ 'next/dist/compiled/stacktrace-parser'
export async function ncc_node_stacktrace_parser(task, opts) {
await task
.source(relative(__dirname, require.resolve('stacktrace-parser')))
diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json
index 85af82e508ecd..4a68ba2644420 100644
--- a/packages/react-dev-overlay/package.json
+++ b/packages/react-dev-overlay/package.json
@@ -19,7 +19,6 @@
},
"dependencies": {
"shell-quote": "1.7.3",
- "stacktrace-parser": "0.1.10",
"strip-ansi": "6.0.1"
},
"peerDependencies": {
diff --git a/packages/react-dev-overlay/src/internal/bus.ts b/packages/react-dev-overlay/src/internal/bus.ts
index 75bbfa0ca01aa..7ede905a18918 100644
--- a/packages/react-dev-overlay/src/internal/bus.ts
+++ b/packages/react-dev-overlay/src/internal/bus.ts
@@ -1,4 +1,4 @@
-import type { StackFrame } from 'stacktrace-parser'
+import type { StackFrame } from 'next/dist/compiled/stacktrace-parser'
export const TYPE_BUILD_OK = 'build-ok'
export const TYPE_BUILD_ERROR = 'build-error'
diff --git a/packages/react-dev-overlay/src/internal/components/CodeFrame/CodeFrame.tsx b/packages/react-dev-overlay/src/internal/components/CodeFrame/CodeFrame.tsx
index 9a883d7a2639b..9bc1b89e95bc5 100644
--- a/packages/react-dev-overlay/src/internal/components/CodeFrame/CodeFrame.tsx
+++ b/packages/react-dev-overlay/src/internal/components/CodeFrame/CodeFrame.tsx
@@ -1,7 +1,8 @@
// @ts-ignore Package exists
import Anser from 'next/dist/compiled/anser'
import * as React from 'react'
-import type { StackFrame } from 'stacktrace-parser'
+// @ts-ignore Package Exists
+import type { StackFrame } from 'next/dist/compiled/stacktrace-parser'
import stripAnsi from 'strip-ansi'
import { getFrameSource } from '../../helpers/stack-frame'
diff --git a/packages/react-dev-overlay/src/internal/container/RuntimeError.tsx b/packages/react-dev-overlay/src/internal/container/RuntimeError.tsx
index 0cbc3aaa005c3..e35cab953769e 100644
--- a/packages/react-dev-overlay/src/internal/container/RuntimeError.tsx
+++ b/packages/react-dev-overlay/src/internal/container/RuntimeError.tsx
@@ -1,5 +1,6 @@
import * as React from 'react'
-import type { StackFrame } from 'stacktrace-parser'
+// @ts-ignore Package Exists
+import type { StackFrame } from 'next/dist/compiled/stacktrace-parser'
import { CodeFrame } from '../components/CodeFrame'
import type { ReadyRuntimeError } from '../helpers/getErrorByType'
import { noop as css } from '../helpers/noop-template'
diff --git a/packages/react-dev-overlay/src/internal/helpers/nodeStackFrames.ts b/packages/react-dev-overlay/src/internal/helpers/nodeStackFrames.ts
index e63b1f5ae332c..80e20a53dc3e1 100644
--- a/packages/react-dev-overlay/src/internal/helpers/nodeStackFrames.ts
+++ b/packages/react-dev-overlay/src/internal/helpers/nodeStackFrames.ts
@@ -1,5 +1,7 @@
-import type { StackFrame } from 'stacktrace-parser'
-import { parse } from 'stacktrace-parser'
+// @ts-ignore Package Exists
+import type { StackFrame } from 'next/dist/compiled/stacktrace-parser'
+// @ts-ignore Package Exists
+import { parse } from 'next/dist/compiled/stacktrace-parser'
export function getFilesystemFrame(frame: StackFrame): StackFrame {
const f: StackFrame = { ...frame }
diff --git a/packages/react-dev-overlay/src/internal/helpers/parseStack.ts b/packages/react-dev-overlay/src/internal/helpers/parseStack.ts
index 853022a0abca1..f8a4156d02a7c 100644
--- a/packages/react-dev-overlay/src/internal/helpers/parseStack.ts
+++ b/packages/react-dev-overlay/src/internal/helpers/parseStack.ts
@@ -1,11 +1,13 @@
-import type { StackFrame } from 'stacktrace-parser'
-import { parse } from 'stacktrace-parser'
+// @ts-ignore Package Exists
+import type { StackFrame } from 'next/dist/compiled/stacktrace-parser'
+// @ts-ignore Package Exists
+import { parse } from 'next/dist/compiled/stacktrace-parser'
const regexNextStatic = /\/_next(\/static\/.+)/
export function parseStack(stack: string): StackFrame[] {
const frames = parse(stack)
- return frames.map((frame) => {
+ return frames.map((frame: any) => {
try {
const url = new URL(frame.file!)
const res = regexNextStatic.exec(url.pathname)
diff --git a/packages/react-dev-overlay/src/internal/helpers/stack-frame.ts b/packages/react-dev-overlay/src/internal/helpers/stack-frame.ts
index 94e50933a85a1..c3c60ba001e16 100644
--- a/packages/react-dev-overlay/src/internal/helpers/stack-frame.ts
+++ b/packages/react-dev-overlay/src/internal/helpers/stack-frame.ts
@@ -1,4 +1,5 @@
-import type { StackFrame } from 'stacktrace-parser'
+// @ts-ignore Package Exists
+import type { StackFrame } from 'next/dist/compiled/stacktrace-parser'
import type { OriginalStackFrameResponse } from '../../middleware'
export type OriginalStackFrame =
diff --git a/packages/react-dev-overlay/src/middleware.ts b/packages/react-dev-overlay/src/middleware.ts
index 973f9e027d4b1..896559d96f0bb 100644
--- a/packages/react-dev-overlay/src/middleware.ts
+++ b/packages/react-dev-overlay/src/middleware.ts
@@ -5,7 +5,8 @@ import type { IncomingMessage, ServerResponse } from 'http'
import path from 'path'
// @ts-ignore Package exists
import { SourceMapConsumer } from 'next/dist/compiled/source-map08'
-import type { StackFrame } from 'stacktrace-parser'
+// @ts-ignore Package exists
+import type { StackFrame } from 'next/dist/compiled/stacktrace-parser'
import url from 'url'
// @ts-ignore
// eslint-disable-next-line import/no-extraneous-dependencies
From ebb808c2ed9997901330732e87e3b480a18a5384 Mon Sep 17 00:00:00 2001
From: Tim Neutkens
Date: Mon, 22 Jan 2024 10:14:17 +0100
Subject: [PATCH 06/11] Update bus.ts
---
packages/react-dev-overlay/src/internal/bus.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/packages/react-dev-overlay/src/internal/bus.ts b/packages/react-dev-overlay/src/internal/bus.ts
index 7ede905a18918..7b437429b836a 100644
--- a/packages/react-dev-overlay/src/internal/bus.ts
+++ b/packages/react-dev-overlay/src/internal/bus.ts
@@ -1,3 +1,4 @@
+// @ts-ignore Package Exists
import type { StackFrame } from 'next/dist/compiled/stacktrace-parser'
export const TYPE_BUILD_OK = 'build-ok'
From 6696c29f98c5556700718ae82c98e168492b4403 Mon Sep 17 00:00:00 2001
From: Tim Neutkens
Date: Mon, 22 Jan 2024 10:14:35 +0100
Subject: [PATCH 07/11] Precompiled strip-ansi
---
packages/next/taskfile.js | 1 +
packages/react-dev-overlay/package.json | 3 +--
.../src/internal/components/CodeFrame/CodeFrame.tsx | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/packages/next/taskfile.js b/packages/next/taskfile.js
index caffe456fa4ab..0616f282bc49d 100644
--- a/packages/next/taskfile.js
+++ b/packages/next/taskfile.js
@@ -1951,6 +1951,7 @@ export async function ncc_string_hash(task, opts) {
}
// eslint-disable-next-line camelcase
externals['strip-ansi'] = 'next/dist/compiled/strip-ansi'
+externals['next/dist/compiled/strip-ansi'] = 'next/dist/compiled/strip-ansi'
export async function ncc_strip_ansi(task, opts) {
await task
.source(relative(__dirname, require.resolve('strip-ansi')))
diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json
index 4a68ba2644420..f866d8fd07ec5 100644
--- a/packages/react-dev-overlay/package.json
+++ b/packages/react-dev-overlay/package.json
@@ -18,8 +18,7 @@
"typescript": "tsec --noEmit -p tsconfig.json"
},
"dependencies": {
- "shell-quote": "1.7.3",
- "strip-ansi": "6.0.1"
+ "shell-quote": "1.7.3"
},
"peerDependencies": {
"react": "^17.0.2",
diff --git a/packages/react-dev-overlay/src/internal/components/CodeFrame/CodeFrame.tsx b/packages/react-dev-overlay/src/internal/components/CodeFrame/CodeFrame.tsx
index 9bc1b89e95bc5..f631f6d334733 100644
--- a/packages/react-dev-overlay/src/internal/components/CodeFrame/CodeFrame.tsx
+++ b/packages/react-dev-overlay/src/internal/components/CodeFrame/CodeFrame.tsx
@@ -3,7 +3,8 @@ import Anser from 'next/dist/compiled/anser'
import * as React from 'react'
// @ts-ignore Package Exists
import type { StackFrame } from 'next/dist/compiled/stacktrace-parser'
-import stripAnsi from 'strip-ansi'
+// @ts-ignore Package Exists
+import stripAnsi from 'next/dist/compiled/strip-ansi'
import { getFrameSource } from '../../helpers/stack-frame'
export type CodeFrameProps = { stackFrame: StackFrame; codeFrame: string }
From d766c33df096f082670946d9e6a82a470a6a9486 Mon Sep 17 00:00:00 2001
From: Tim Neutkens
Date: Mon, 22 Jan 2024 10:15:58 +0100
Subject: [PATCH 08/11] Precompiled shell-quote
---
packages/next/taskfile.js | 1 +
packages/react-dev-overlay/package.json | 4 +---
.../react-dev-overlay/src/internal/helpers/launchEditor.ts | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/packages/next/taskfile.js b/packages/next/taskfile.js
index 0616f282bc49d..54cb437c74475 100644
--- a/packages/next/taskfile.js
+++ b/packages/next/taskfile.js
@@ -287,6 +287,7 @@ export async function ncc_node_cssescape(task, opts) {
}
externals['shell-quote'] = 'next/dist/compiled/shell-quote'
+externals['next/dist/compiled/shell-quote'] = 'next/dist/compiled/shell-quote'
export async function ncc_node_shell_quote(task, opts) {
await task
.source(relative(__dirname, require.resolve('shell-quote')))
diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json
index f866d8fd07ec5..ecd9a4ef67891 100644
--- a/packages/react-dev-overlay/package.json
+++ b/packages/react-dev-overlay/package.json
@@ -17,9 +17,7 @@
"dev": "tsc -d -w -p tsconfig.json",
"typescript": "tsec --noEmit -p tsconfig.json"
},
- "dependencies": {
- "shell-quote": "1.7.3"
- },
+ "dependencies": {},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2",
diff --git a/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts b/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts
index ca78f902d25a3..93ea2272fc38a 100644
--- a/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts
+++ b/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts
@@ -27,7 +27,7 @@ import fs from 'fs'
import os from 'os'
import path from 'path'
// @ts-ignore
-import shellQuote from 'shell-quote'
+import shellQuote from 'next/dist/compiled/shell-quote'
function isTerminalEditor(editor: string) {
switch (editor) {
From 45cc7a1e5dcfd693c3c0aecd962d0a2afa12c5f0 Mon Sep 17 00:00:00 2001
From: Tim Neutkens
Date: Mon, 22 Jan 2024 10:16:20 +0100
Subject: [PATCH 09/11] Update nodeStackFrames.ts
---
.../react-dev-overlay/src/internal/helpers/nodeStackFrames.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/react-dev-overlay/src/internal/helpers/nodeStackFrames.ts b/packages/react-dev-overlay/src/internal/helpers/nodeStackFrames.ts
index 80e20a53dc3e1..932283e321acf 100644
--- a/packages/react-dev-overlay/src/internal/helpers/nodeStackFrames.ts
+++ b/packages/react-dev-overlay/src/internal/helpers/nodeStackFrames.ts
@@ -51,7 +51,7 @@ export function getServerError(error: Error, type: ErrorType): Error {
try {
n.stack = `${n.toString()}\n${parse(error.stack!)
.map(getFilesystemFrame)
- .map((f) => {
+ .map((f: any) => {
let str = ` at ${f.methodName}`
if (f.file) {
let loc = f.file
From b88095d20b353b44ce547cd01d61766d32b9b86c Mon Sep 17 00:00:00 2001
From: Tim Neutkens
Date: Mon, 22 Jan 2024 10:20:00 +0100
Subject: [PATCH 10/11] Update pnpm-lock.yaml
---
pnpm-lock.yaml | 43 ++++++++-----------------------------------
1 file changed, 8 insertions(+), 35 deletions(-)
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ce4e5a2a69297..a981527e1ae91 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1540,42 +1540,12 @@ importers:
packages/react-dev-overlay:
dependencies:
- '@babel/code-frame':
- specifier: 7.22.5
- version: 7.22.5
- '@types/babel__code-frame':
- specifier: 7.0.3
- version: 7.0.3
- anser:
- specifier: 1.4.9
- version: 1.4.9
- css.escape:
- specifier: 1.5.1
- version: 1.5.1
- data-uri-to-buffer:
- specifier: 3.0.1
- version: 3.0.1
- picocolors:
- specifier: 1.0.0
- version: 1.0.0
- platform:
- specifier: 1.3.6
- version: 1.3.6
react:
specifier: ^17.0.2
version: 17.0.2
react-dom:
specifier: ^17.0.2
version: 17.0.2(react@17.0.2)
- shell-quote:
- specifier: 1.7.3
- version: 1.7.3
- stacktrace-parser:
- specifier: 0.1.10
- version: 0.1.10
- strip-ansi:
- specifier: 6.0.1
- version: 6.0.1
webpack:
specifier: 5.86.0
version: 5.86.0(@swc/core@1.3.85)
@@ -6687,10 +6657,6 @@ packages:
resolution: {integrity: sha512-imO+jT/yjOKOAS5GQZ8SDtwiIloAGGr6OaZDKB0V5JVaSfGZLat5K5/ZRtyKW6R60XHV3RHYPTFfhYb+wDKyKg==}
dev: true
- /@types/babel__code-frame@7.0.3:
- resolution: {integrity: sha512-2TN6oiwtNjOezilFVl77zwdNPwQWaDBBCCWWxyo1ctiO3vAtd7H/aB/CBJdw9+kqq3+latD0SXoedIuHySSZWw==}
- dev: false
-
/@types/babel__core@7.1.12:
resolution: {integrity: sha512-wMTHiiTiBAAPebqaPiPDLFA4LYPKr6Ph0Xq/6rq1Ur3v66HXyG+clfR9CNETkD7MQS8ZHvpQOtA53DLws5WAEQ==}
dependencies:
@@ -7977,6 +7943,7 @@ packages:
/anser@1.4.9:
resolution: {integrity: sha512-AI+BjTeGt2+WFk4eWcqbQ7snZpDBt8SaLlj0RT2h5xfdWaiy51OjYvqwMrNzJLGy8iOAL6nKDITWO+rd4MkYEA==}
+ dev: true
/ansi-align@3.0.0:
resolution: {integrity: sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw==}
@@ -10340,6 +10307,7 @@ packages:
/css.escape@1.5.1:
resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==}
+ dev: true
/css@3.0.0:
resolution: {integrity: sha512-DG9pFfwOrzc+hawpmqX/dHYHJG+Bsdb0klhyi1sDneOgGOXy9wQIC8hzyVp1e4NRYDBdxcylvywPkkXCHAzTyQ==}
@@ -10574,6 +10542,7 @@ packages:
/data-uri-to-buffer@3.0.1:
resolution: {integrity: sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==}
engines: {node: '>= 6'}
+ dev: true
/data-urls@3.0.2:
resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==}
@@ -19401,6 +19370,7 @@ packages:
/platform@1.3.6:
resolution: {integrity: sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg==}
+ dev: true
/playwright-chromium@1.35.1:
resolution: {integrity: sha512-bPuWIk/DYWtrg10ajcc9cZLo5s9XQrs6JF6wwiieqZ73rCG3PLVEm0RX8fCUzziuEAhYsoL09UNuKSKv7pKz9A==}
@@ -22577,6 +22547,7 @@ packages:
/shell-quote@1.7.3:
resolution: {integrity: sha512-Vpfqwm4EnqGdlsBFNmHhxhElJYrdfcxPThu+ryKS5J8L/fhAwLazFZtq+S+TWZ9ANj2piSQLGj6NQg+lKPmxrw==}
+ dev: true
/shelljs@0.8.4:
resolution: {integrity: sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==}
@@ -22974,6 +22945,7 @@ packages:
engines: {node: '>=6'}
dependencies:
type-fest: 0.7.1
+ dev: true
/state-toggle@1.0.2:
resolution: {integrity: sha512-8LpelPGR0qQM4PnfLiplOQNJcIN1/r2Gy0xKB2zKnIW2YzPMt2sR4I/+gtPjhN7Svh9kw+zqEg2SFwpBO9iNiw==}
@@ -23063,7 +23035,7 @@ packages:
engines: {node: '>=10'}
dependencies:
char-regex: 1.0.2
- strip-ansi: 6.0.1
+ strip-ansi: 6.0.0
dev: true
/string-width@1.0.2:
@@ -24254,6 +24226,7 @@ packages:
/type-fest@0.7.1:
resolution: {integrity: sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==}
engines: {node: '>=8'}
+ dev: true
/type-fest@0.8.1:
resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==}
From c38146112553d33cee55f79de53fc75e4370bd27 Mon Sep 17 00:00:00 2001
From: Tim Neutkens
Date: Mon, 22 Jan 2024 10:25:18 +0100
Subject: [PATCH 11/11] Update launchEditor.ts
---
packages/react-dev-overlay/src/internal/helpers/launchEditor.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts b/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts
index 93ea2272fc38a..ef9b6420be69d 100644
--- a/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts
+++ b/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts
@@ -21,6 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
+// @ts-ignore Package Exists
import pc from 'next/dist/lib/picocolors'
import child_process from 'child_process'
import fs from 'fs'