-
-
Notifications
You must be signed in to change notification settings - Fork 2
Update 1 NuGet dependencies #144
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
Update 1 NuGet dependencies #144
Conversation
Bumps nanoFramework.Logging from 1.1.156 to 1.1.157</br> [version update] ###⚠️ This is an automated update.⚠️
WalkthroughThe change updates the Changes
Sequence Diagram(s)No sequence diagram is necessary for this change, as it only updates a package version without affecting control flow or feature logic. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (2)
nanoFramework.System.Text.RegularExpression.Benchmark/nanoFramework.System.Text.RegularExpression.Benchmark.nfproj
is excluded by none and included by nonenanoFramework.System.Text.RegularExpression.Benchmark/packages.config
is excluded by none and included by none
📒 Files selected for processing (1)
nanoFramework.System.Text.RegularExpression.Benchmark/packages.lock.json
(1 hunks)
"requested": "[1.1.157, 1.1.157]", | ||
"resolved": "1.1.157", | ||
"contentHash": "x+NjFgtfz9vFSuhkvSftvvZ4t6h82pUKZo/yAn8M1KSFKhOzy3x12wyRGqOoIzGdY9XobpnBO2V80Rv8huoj3Q==" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Verify updated nanoFramework.Logging version and contentHash
The dependency has been bumped from 1.1.156
to 1.1.157
and the contentHash
updated. Please confirm that version 1.1.157
is published on NuGet and that the contentHash
correctly reflects the package contents to avoid any lock‐file inconsistencies.
🏁 Script executed:
#!/bin/bash
# Verify that nanoFramework.Logging 1.1.157 is available in the NuGet feed
if curl -s https://api.nuget.org/v3-flatcontainer/nanoframework.logging/index.json | grep -q '"1.1.157"'; then
echo "✅ Version 1.1.157 exists on NuGet."
else
echo "❌ Error: Version 1.1.157 not found in NuGet feed."
exit 1
fi
Length of output: 182
🏁 Script executed:
#!/bin/bash
set -e
# Download the nupkg for nanoFramework.Logging 1.1.157
curl -sL -o pkg.nupkg https://api.nuget.org/v3-flatcontainer/nanoframework.logging/1.1.157/nanoframework.logging.1.1.157.nupkg
# Compute SHA-512 hash and Base64‐encode it
computed_hash=$(python3 - << 'EOF'
import hashlib, base64, sys
data = open('pkg.nupkg', 'rb').read()
print(base64.b64encode(hashlib.sha512(data).digest()).decode())
EOF
)
expected_hash="x+NjFgtfz9vFSuhkvSftvvZ4t6h82pUKZo/yAn8M1KSFKhOzy3x12wyRGqOoIzGdY9XobpnBO2V80Rv8huoj3Q=="
if [ "$computed_hash" = "$expected_hash" ]; then
echo "✅ contentHash matches expected value."
else
echo "❌ contentHash mismatch: computed $computed_hash"
exit 1
fi
Length of output: 812
Incorrect contentHash for nanoFramework.Logging 1.1.157
The computed SHA-512 Base64 of the downloaded 1.1.157 nupkg (oCK20uudtK6z52iu5/3Vm+jWYP+gbg4R4+Op8Tb06iTnY813AzGHgrM92pHiPCDRg+u5frDWGQ6x/RbldckMMg==
) does not match the lock‐file’s current contentHash
. Please update it:
- nanoFramework.System.Text.RegularExpression.Benchmark/packages.lock.json (line 21)
- "contentHash": "x+NjFgtfz9vFSuhkvSftvvZ4t6h82pUKZo/yAn8M1KSFKhOzy3x12wyRGqOoIzGdY9XobpnBO2V80Rv8huoj3Q=="
+ "contentHash": "oCK20uudtK6z52iu5/3Vm+jWYP+gbg4R4+Op8Tb06iTnY813AzGHgrM92pHiPCDRg+u5frDWGQ6x/RbldckMMg=="
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
"requested": "[1.1.157, 1.1.157]", | |
"resolved": "1.1.157", | |
"contentHash": "x+NjFgtfz9vFSuhkvSftvvZ4t6h82pUKZo/yAn8M1KSFKhOzy3x12wyRGqOoIzGdY9XobpnBO2V80Rv8huoj3Q==" | |
"requested": "[1.1.157, 1.1.157]", | |
"resolved": "1.1.157", | |
- "contentHash": "x+NjFgtfz9vFSuhkvSftvvZ4t6h82pUKZo/yAn8M1KSFKhOzy3x12wyRGqOoIzGdY9XobpnBO2V80Rv8huoj3Q==" | |
+ "contentHash": "oCK20uudtK6z52iu5/3Vm+jWYP+gbg4R4+Op8Tb06iTnY813AzGHgrM92pHiPCDRg+u5frDWGQ6x/RbldckMMg==" |
|
Bumps nanoFramework.Logging from 1.1.156 to 1.1.157
[version update]
Summary by CodeRabbit