CARVIEW |
Select Language
HTTP/2 200
date: Mon, 21 Jul 2025 22:14:57 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/neo4j/neo4j-javascript-driver.git
etag: W/"ad4b3e3002180a9ed07e4ca2610a4e6f"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=cuf1TDkkPi5eS0VpvLtr9zyAnMOawt%2FM4gyI5gVz2fBU5FrEnI7jd1dTdp9%2BT5X1niZWjnOLr6gHRtM9IbrEi55YlSNIs%2FwVcgaqL1k9%2FpjDAIByNI%2FRwZHxY6dawkDxXkHOacrOiNGMXJaKgnhYMwko8EvSy5M3aZuVdZ8NTxHKOS8gE5%2FLH4tF6iUEKrkgQOLV0EfgrQUjRkBHZO%2FPFXm0iSDd4ps4PCpO4CEr2b8Y9JxSWKvRf8bJUQLLOWDm7AwcwM4edhOV3uZwM9D3dQ%3D%3D--jywKGQClnw5mrVcv--WdTI5iDHGY8hnvp29NPfUQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1344503584.1753136096; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 22:14:56 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 22:14:56 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C86A:7D113:96189:DA1ED:687EBBE0
Validate the ZoneId of the DateTime with ZoneId (#961) · neo4j/neo4j-javascript-driver@dca78b3 · GitHub
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/bolt/transformer.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/__snapshots__/bolt-protocol-v5x0.test.js.snap
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v1.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v2.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v3.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v4x0.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v4x1.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v4x2.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v4x3.test.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit dca78b3
Validate the ZoneId of the DateTime with ZoneId (#961)
The validation of the DateTime was only being done in the new patched protocol while unpacking the struct. This changes force any new DateTime with ZoneID to have a valid ZoneId.
This changes also treats struct unpacking errors and defers the occurred to the moment the object is manipulate. For instance, a DateTime with invalid ZoneId returned in a Record will not break the records consumption until any code try to interacts with the broken DateTime.
Co-authored-by: Robsdedude <dev@rouvenbauer.de>1 parent 551f51c commit dca78b3Copy full SHA for dca78b3
File tree
Expand file treeCollapse file tree
19 files changed
+179
-71
lines changedFilter options
- packages
- bolt-connection
- src/bolt
- test/bolt
- __snapshots__
- core/src
- internal
- neo4j-driver/test
- testkit-backend/src
- skipped-tests
Expand file treeCollapse file tree
19 files changed
+179
-71
lines changedpackages/bolt-connection/src/bolt/transformer.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/src/bolt/transformer.js+11-4Lines changed: 11 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 |
| |
22 | 25 |
| |
23 | 26 |
| |
| |||
43 | 46 |
| |
44 | 47 |
| |
45 | 48 |
| |
46 |
| - | |
47 |
| - | |
48 |
| - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
49 | 57 |
| |
50 |
| - | |
51 | 58 |
| |
52 | 59 |
| |
53 | 60 |
| |
|
packages/bolt-connection/test/bolt/__snapshots__/bolt-protocol-v5x0.test.js.snap
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/__snapshots__/bolt-protocol-v5x0.test.js.snap+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
40 | 40 |
| |
41 |
| - | |
| 41 | + | |
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
|
packages/bolt-connection/test/bolt/bolt-protocol-v1.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v1.test.js+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
568 | 568 |
| |
569 | 569 |
| |
570 | 570 |
| |
571 |
| - | |
| 571 | + | |
| 572 | + | |
572 | 573 |
| |
573 | 574 |
| |
574 | 575 |
| |
| |||
580 | 581 |
| |
581 | 582 |
| |
582 | 583 |
| |
583 |
| - | |
| 584 | + | |
584 | 585 |
| |
585 | 586 |
| |
586 | 587 |
| |
|
packages/bolt-connection/test/bolt/bolt-protocol-v2.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v2.test.js+6-5Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
154 | 154 |
| |
155 | 155 |
| |
156 | 156 |
| |
157 |
| - | |
| 157 | + | |
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
| |||
380 | 380 |
| |
381 | 381 |
| |
382 | 382 |
| |
383 |
| - | |
| 383 | + | |
384 | 384 |
| |
385 | 385 |
| |
386 | 386 |
| |
| |||
396 | 396 |
| |
397 | 397 |
| |
398 | 398 |
| |
399 |
| - | |
| 399 | + | |
| 400 | + | |
400 | 401 |
| |
401 | 402 |
| |
402 | 403 |
| |
| |||
442 | 443 |
| |
443 | 444 |
| |
444 | 445 |
| |
445 |
| - | |
446 |
| - | |
| 446 | + | |
| 447 | + | |
447 | 448 |
| |
448 | 449 |
| |
449 | 450 |
| |
|
packages/bolt-connection/test/bolt/bolt-protocol-v3.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v3.test.js+6-5Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
359 | 359 |
| |
360 | 360 |
| |
361 | 361 |
| |
362 |
| - | |
| 362 | + | |
363 | 363 |
| |
364 | 364 |
| |
365 | 365 |
| |
| |||
585 | 585 |
| |
586 | 586 |
| |
587 | 587 |
| |
588 |
| - | |
| 588 | + | |
589 | 589 |
| |
590 | 590 |
| |
591 | 591 |
| |
| |||
601 | 601 |
| |
602 | 602 |
| |
603 | 603 |
| |
604 |
| - | |
| 604 | + | |
| 605 | + | |
605 | 606 |
| |
606 | 607 |
| |
607 | 608 |
| |
| |||
647 | 648 |
| |
648 | 649 |
| |
649 | 650 |
| |
650 |
| - | |
651 |
| - | |
| 651 | + | |
| 652 | + | |
652 | 653 |
| |
653 | 654 |
| |
654 | 655 |
| |
|
packages/bolt-connection/test/bolt/bolt-protocol-v4x0.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v4x0.test.js+6-5Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
277 | 277 |
| |
278 | 278 |
| |
279 | 279 |
| |
280 |
| - | |
| 280 | + | |
281 | 281 |
| |
282 | 282 |
| |
283 | 283 |
| |
| |||
503 | 503 |
| |
504 | 504 |
| |
505 | 505 |
| |
506 |
| - | |
| 506 | + | |
507 | 507 |
| |
508 | 508 |
| |
509 | 509 |
| |
| |||
519 | 519 |
| |
520 | 520 |
| |
521 | 521 |
| |
522 |
| - | |
| 522 | + | |
| 523 | + | |
523 | 524 |
| |
524 | 525 |
| |
525 | 526 |
| |
| |||
565 | 566 |
| |
566 | 567 |
| |
567 | 568 |
| |
568 |
| - | |
569 |
| - | |
| 569 | + | |
| 570 | + | |
570 | 571 |
| |
571 | 572 |
| |
572 | 573 |
| |
|
packages/bolt-connection/test/bolt/bolt-protocol-v4x1.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v4x1.test.js+6-5Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
154 |
| - | |
| 154 | + | |
155 | 155 |
| |
156 | 156 |
| |
157 | 157 |
| |
| |||
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
380 |
| - | |
| 380 | + | |
381 | 381 |
| |
382 | 382 |
| |
383 | 383 |
| |
| |||
393 | 393 |
| |
394 | 394 |
| |
395 | 395 |
| |
396 |
| - | |
| 396 | + | |
| 397 | + | |
397 | 398 |
| |
398 | 399 |
| |
399 | 400 |
| |
| |||
439 | 440 |
| |
440 | 441 |
| |
441 | 442 |
| |
442 |
| - | |
443 |
| - | |
| 443 | + | |
| 444 | + | |
444 | 445 |
| |
445 | 446 |
| |
446 | 447 |
| |
|
packages/bolt-connection/test/bolt/bolt-protocol-v4x2.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v4x2.test.js+6-5Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
153 |
| - | |
| 153 | + | |
154 | 154 |
| |
155 | 155 |
| |
156 | 156 |
| |
| |||
376 | 376 |
| |
377 | 377 |
| |
378 | 378 |
| |
379 |
| - | |
| 379 | + | |
380 | 380 |
| |
381 | 381 |
| |
382 | 382 |
| |
| |||
392 | 392 |
| |
393 | 393 |
| |
394 | 394 |
| |
395 |
| - | |
| 395 | + | |
| 396 | + | |
396 | 397 |
| |
397 | 398 |
| |
398 | 399 |
| |
| |||
438 | 439 |
| |
439 | 440 |
| |
440 | 441 |
| |
441 |
| - | |
442 |
| - | |
| 442 | + | |
| 443 | + | |
443 | 444 |
| |
444 | 445 |
| |
445 | 446 |
| |
|
packages/bolt-connection/test/bolt/bolt-protocol-v4x3.test.js
Copy file name to clipboardExpand all lines: packages/bolt-connection/test/bolt/bolt-protocol-v4x3.test.js+14-12Lines changed: 14 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
363 | 363 |
| |
364 | 364 |
| |
365 | 365 |
| |
366 |
| - | |
| 366 | + | |
367 | 367 |
| |
368 | 368 |
| |
369 | 369 |
| |
| |||
589 | 589 |
| |
590 | 590 |
| |
591 | 591 |
| |
592 |
| - | |
| 592 | + | |
593 | 593 |
| |
594 | 594 |
| |
595 | 595 |
| |
| |||
605 | 605 |
| |
606 | 606 |
| |
607 | 607 |
| |
608 |
| - | |
| 608 | + | |
| 609 | + | |
609 | 610 |
| |
610 | 611 |
| |
611 | 612 |
| |
| |||
651 | 652 |
| |
652 | 653 |
| |
653 | 654 |
| |
654 |
| - | |
655 |
| - | |
| 655 | + | |
| 656 | + | |
656 | 657 |
| |
657 | 658 |
| |
658 | 659 |
| |
| |||
848 | 849 |
| |
849 | 850 |
| |
850 | 851 |
| |
851 |
| - | |
| 852 | + | |
852 | 853 |
| |
853 | 854 |
| |
854 | 855 |
| |
| |||
857 | 858 |
| |
858 | 859 |
| |
859 | 860 |
| |
860 |
| - | |
| 861 | + | |
| 862 | + | |
861 | 863 |
| |
862 | 864 |
| |
863 | 865 |
| |
| |||
900 | 902 |
| |
901 | 903 |
| |
902 | 904 |
| |
903 |
| - | |
| 905 | + | |
904 | 906 |
| |
905 | 907 |
| |
906 | 908 |
| |
| |||
948 | 950 |
| |
949 | 951 |
| |
950 | 952 |
| |
951 |
| - | |
| 953 | + | |
952 | 954 |
| |
953 | 955 |
| |
954 | 956 |
| |
| |||
969 | 971 |
| |
970 | 972 |
| |
971 | 973 |
| |
972 |
| - | |
973 |
| - | |
| 974 | + | |
| 975 | + | |
974 | 976 |
| |
975 | 977 |
| |
976 | 978 |
| |
| |||
984 | 986 |
| |
985 | 987 |
| |
986 | 988 |
| |
987 |
| - | |
| 989 | + | |
988 | 990 |
| |
989 | 991 |
| |
990 | 992 |
| |
|
You can’t perform that action at this time.
0 commit comments