diff --git a/Directory.Packages.props b/Directory.Packages.props
index c09283af..c6728e7e 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -4,29 +4,29 @@
false
-
-
+
+
-
-
+
+
-
+
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/global.json b/global.json
deleted file mode 100644
index 989a69ca..00000000
--- a/global.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "sdk": {
- "version": "8.0.100",
- "rollForward": "latestMinor"
- }
-}
\ No newline at end of file
diff --git a/samples/Esprima.Benchmark/Esprima.Benchmark.csproj b/samples/Esprima.Benchmark/Esprima.Benchmark.csproj
index bef385c4..31156999 100644
--- a/samples/Esprima.Benchmark/Esprima.Benchmark.csproj
+++ b/samples/Esprima.Benchmark/Esprima.Benchmark.csproj
@@ -3,7 +3,7 @@
Esprima.Benchmark
Exe
false
- net462;net6.0
+ net462;net8.0
latest
../../src/Esprima.snk
true
diff --git a/samples/Esprima.Sample/Esprima.Sample.csproj b/samples/Esprima.Sample/Esprima.Sample.csproj
index dd6df1fa..0e7dd518 100644
--- a/samples/Esprima.Sample/Esprima.Sample.csproj
+++ b/samples/Esprima.Sample/Esprima.Sample.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
esprimatest
Esprima.Sample
Exe
diff --git a/test/Esprima.Tests.SourceGenerators/Esprima.Tests.SourceGenerators.csproj b/test/Esprima.Tests.SourceGenerators/Esprima.Tests.SourceGenerators.csproj
index 450488c2..57f7d5ba 100644
--- a/test/Esprima.Tests.SourceGenerators/Esprima.Tests.SourceGenerators.csproj
+++ b/test/Esprima.Tests.SourceGenerators/Esprima.Tests.SourceGenerators.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
latest
diff --git a/test/Esprima.Tests.Test262/Esprima.Tests.Test262.csproj b/test/Esprima.Tests.Test262/Esprima.Tests.Test262.csproj
index 0047b3ed..a69cad12 100644
--- a/test/Esprima.Tests.Test262/Esprima.Tests.Test262.csproj
+++ b/test/Esprima.Tests.Test262/Esprima.Tests.Test262.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
false
Generated
diff --git a/test/Esprima.Tests/Esprima.Tests.csproj b/test/Esprima.Tests/Esprima.Tests.csproj
index 1dd1b21b..7fdecc12 100644
--- a/test/Esprima.Tests/Esprima.Tests.csproj
+++ b/test/Esprima.Tests/Esprima.Tests.csproj
@@ -1,6 +1,6 @@
- net6.0
+ net8.0
net462;$(TargetFrameworks)
Esprima.Tests
Esprima.Tests
diff --git a/test/Esprima.Tests/JavaScriptParserTests.cs b/test/Esprima.Tests/JavaScriptParserTests.cs
index 51f20ea0..7ada9c25 100644
--- a/test/Esprima.Tests/JavaScriptParserTests.cs
+++ b/test/Esprima.Tests/JavaScriptParserTests.cs
@@ -14,7 +14,7 @@ public void CanHandleDeepNestingWithoutStackOverflow()
#if DEBUG
const int Depth = 205;
#else
- const int Depth = 450;
+ const int Depth = 385;
#endif
var input = $"if ({new string('(', Depth)}true{new string(')', Depth)}) {{ }}";
parser.ParseScript(input);