Title: fix(read): reject fractional PDF page ranges by LI-Jialu · Pull Request #210 · lessweb/deepcode-cli · GitHub
Open Graph Title: fix(read): reject fractional PDF page ranges by LI-Jialu · Pull Request #210 · lessweb/deepcode-cli
X Title: fix(read): reject fractional PDF page ranges by LI-Jialu · Pull Request #210 · lessweb/deepcode-cli
Description: Summary Reject fractional PDF page ranges instead of silently truncating them. Before this change, pages: "1.9" was accepted as page 1, and pages: "2.1-3.9" was accepted as 2-3. Page ranges should be positive integers, so fractional values now return a validation error. Testing cd packages/core/src/tests && node --import tsx --test tool-handlers.test.ts npm run format:check -- packages/core/src/tools/read-handler.ts packages/core/src/tests/tool-handlers.test.ts npm run typecheck --workspace @vegamo/deepcode-core
Open Graph Description: Summary Reject fractional PDF page ranges instead of silently truncating them. Before this change, pages: "1.9" was accepted as page 1, and pages: "2.1-3.9" was accepted as 2-3....
X Description: Summary Reject fractional PDF page ranges instead of silently truncating them. Before this change, pages: "1.9" was accepted as page 1, and pages: "2.1-3.9" was ...
Opengraph URL: https://github.com/lessweb/deepcode-cli/pull/210
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e3c1d300-db0a-4d2a-ddb4-5ac64c25508f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D6C6:110179:1103508:1720C3B:6A4D67CB |
| html-safe-nonce | 0af25059ffb73b5127affa53ffacac061fcd39ea9ad04702f03be35a55d4c186 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkM2OjExMDE3OToxMTAzNTA4OjE3MjBDM0I6NkE0RDY3Q0IiLCJ2aXNpdG9yX2lkIjoiMjU2NzUzNjM0NzU5NDk3NTE3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b769b96bbe66a5d0c6b1e663f3d4998ea2a17e42844456d9c7e9bc4f619cc4aa |
| hovercard-subject-tag | pull_request:3960629087 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/lessweb/deepcode-cli/pull/210/files |
| twitter:image | https://avatars.githubusercontent.com/u/55438527?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/55438527?s=400&v=4 |
| og:image:alt | Summary Reject fractional PDF page ranges instead of silently truncating them. Before this change, pages: "1.9" was accepted as page 1, and pages: "2.1-3.9" was accepted as 2-3.... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7db3950e3f59095e20a9789440c3dd554efc62d434882ead06ae05b5815605b9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/lessweb/deepcode-cli git https://github.com/lessweb/deepcode-cli.git |
| octolytics-dimension-user_id | 118287711 |
| octolytics-dimension-user_login | lessweb |
| octolytics-dimension-repository_id | 1223512305 |
| octolytics-dimension-repository_nwo | lessweb/deepcode-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1223512305 |
| octolytics-dimension-repository_network_root_nwo | lessweb/deepcode-cli |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cd8f6a71db61d6012a0cbb134be844fdbe9b8a45 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width