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

bump npm dependencies and lock file format #103639

Merged
merged 7 commits into from
Jun 27, 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
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,7 @@ await server.AcceptConnectionAsync(async connection =>
});
}

[Theory]
[ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotNodeJS))]
[MemberData(nameof(Interim1xxStatusCode))]
public async Task SendAsync_Unexpected1xxResponses_DropAllInterimResponses(HttpStatusCode responseStatusCode)
{
Expand Down Expand Up @@ -1910,7 +1910,7 @@ await connection.ReadRequestHeaderAndSendCustomResponseAsync(
});
}

[Theory]
[ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotNodeJS))]
[InlineData(false, false)]
[InlineData(false, true)]
[InlineData(true, false)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<WasmExtraFilesToDeploy Include="package.json" />
<WasmExtraFilesToDeploy Include="package-lock.json" />

<NodeNpmModule Include="ws" Alias="WebSocket" />
<NodeNpmModule Include="ws" />
<NodeNpmModule Include="node-fetch" />
<NodeNpmModule Include="node-abort-controller" />

Expand Down
197 changes: 133 additions & 64 deletions src/libraries/System.Net.Http/tests/FunctionalTests/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"private": true,
"type": "module",
"dependencies": {
"node-abort-controller": "3.0.1",
"node-fetch": "2.6.7",
"ws": "8.4.0"
"node-abort-controller": "3.1.1",
"node-fetch": "3.3.2",
"ws": "8.17.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<WasmExtraFilesToDeploy Include="package.json" />
<WasmExtraFilesToDeploy Include="package-lock.json" />

<NodeNpmModule Include="ws" Alias="WebSocket" />
<NodeNpmModule Include="ws" />
</ItemGroup>

<!-- Do not reference these assemblies from the TargetingPack since we are building part of the source code for tests. -->
Expand Down
24 changes: 7 additions & 17 deletions src/libraries/System.Net.WebSockets.Client/tests/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/libraries/System.Net.WebSockets.Client/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"private": true,
"type": "module",
"dependencies": {
"ws": "8.4.0"
"ws": "8.17.1"
}
}
}
Loading
Loading