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

Upgrade to Esprima 3.0.0 #1630

Merged
merged 1 commit into from
Sep 3, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion Jint/EsprimaExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ or Nodes.YieldExpression
return type
is Nodes.FunctionExpression
or Nodes.ArrowFunctionExpression
or Nodes.ArrowParameterPlaceHolder
or Nodes.ClassExpression;
}

Expand Down
1 change: 0 additions & 1 deletion Jint/HoistingScope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ public void Visit(Node node, Node? parent)

if (childType != Nodes.FunctionDeclaration
&& childType != Nodes.ArrowFunctionExpression
&& childType != Nodes.ArrowParameterPlaceHolder
&& childType != Nodes.FunctionExpression
&& !childNode.ChildNodes.IsEmpty())
{
Expand Down
2 changes: 1 addition & 1 deletion Jint/Jint.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Esprima" Version="3.0.0-rc-04" />
<PackageReference Include="Esprima" Version="3.0.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
<PackageReference Include="Nullable" Version="1.3.1" PrivateAssets="all" />
<PackageReference Include="PolySharp" Version="1.13.2">
Expand Down