Skip to content

Commit

Permalink
[browser] bump npm dependencies and lock file format (#103639)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelsavara committed Jun 27, 2024
1 parent 2fc4bba commit 51176f0
Show file tree
Hide file tree
Showing 46 changed files with 2,148 additions and 13,308 deletions.
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

0 comments on commit 51176f0

Please sign in to comment.