Title: Fix a bug that encode() and decode() are not re-entrant by gfx · Pull Request #257 · msgpack/msgpack-javascript · GitHub
Open Graph Title: Fix a bug that encode() and decode() are not re-entrant by gfx · Pull Request #257 · msgpack/msgpack-javascript
X Title: Fix a bug that encode() and decode() are not re-entrant by gfx · Pull Request #257 · msgpack/msgpack-javascript
Description: close #195
$ npx mocha test/reuse-instances-with-extensions.test.ts
reuse instances with extensions
1) should encode and decode a bigint
0 passing (5ms)
1 failing
1) reuse instances with extensions
should encode and decode a bigint:
RangeError: Extra 6 of 9 byte(s) found at buffer[3]
at Decoder.createExtraByteError (src/Decoder.ts:274:12)
at Decoder.decode (src/Decoder.ts:287:18)
at Context.
Open Graph Description: close #195 $ npx mocha test/reuse-instances-with-extensions.test.ts reuse instances with extensions 1) should encode and decode a bigint 0 passing (5ms) 1 failing 1) reuse instance...
X Description: close #195 $ npx mocha test/reuse-instances-with-extensions.test.ts reuse instances with extensions 1) should encode and decode a bigint 0 passing (5ms) 1 failing 1) reuse instance...
Opengraph URL: https://github.com/msgpack/msgpack-javascript/pull/257
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1b456f00-224f-b0c3-e7c1-7157aac334a6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C926:32419A:F5352A:1652F08:6A54B171 |
| html-safe-nonce | cdd9857702fda25a0a65be797668d4affdd982848f4cf0250a5f73f5e7d6e42b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTI2OjMyNDE5QTpGNTM1MkE6MTY1MkYwODo2QTU0QjE3MSIsInZpc2l0b3JfaWQiOiI1MDc4MDAwMzk0ODgzNjA4OTQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 390119d07b2e00748dbb83f9b9f6780d9f9ee38fa4389229d37119e2b28f4f7c |
| hovercard-subject-tag | pull_request:2317523567 |
| 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/msgpack/msgpack-javascript/pull/257/files |
| twitter:image | https://avatars.githubusercontent.com/u/101800?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/101800?s=400&v=4 |
| og:image:alt | close #195 $ npx mocha test/reuse-instances-with-extensions.test.ts reuse instances with extensions 1) should encode and decode a bigint 0 passing (5ms) 1 failing 1) reuse instance... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/msgpack/msgpack-javascript git https://github.com/msgpack/msgpack-javascript.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 2761854 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2761854 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-javascript |
| 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 | 5d343e1152573ef294b28f54e4a14fb5fdb3a5a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width