Title: #225 refactor: return default object if defined and cache is empty by thepylot · Pull Request #296 · node-cache/node-cache · GitHub
Open Graph Title: #225 refactor: return default object if defined and cache is empty by thepylot · Pull Request #296 · node-cache/node-cache
X Title: #225 refactor: return default object if defined and cache is empty by thepylot · Pull Request #296 · node-cache/node-cache
Description: Motivation: I used the library and needed the default value to prevent adding extra conditions to check undefined. This PR aims to allow default object for the empty cache. Related tests added to c...
Open Graph Description: Motivation: I used the library and needed the default value to prevent adding extra conditions to check undefined. This PR aims to allow default object for the empty cache. Related tests added to c...
X Description: Motivation: I used the library and needed the default value to prevent adding extra conditions to check undefined. This PR aims to allow default object for the empty cache. Related tests added to c...
Opengraph URL: https://github.com/node-cache/node-cache/pull/296
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:8782b9f9-6105-f6a8-c377-668fa4bdedee |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9D04:BA03C:94517C:C21E35:69648517 |
| html-safe-nonce | 059049f22d603c85a64e66eeaf119b26d68e662f187f4feffeb02ed75db807d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDA0OkJBMDNDOjk0NTE3QzpDMjFFMzU6Njk2NDg1MTciLCJ2aXNpdG9yX2lkIjoiODkxNTAyNzA5Nzk2ODQ3NzQ2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0969a80e740d8a0ec9c55528373881be27f6fade82cc7e02696e1e83286393d3 |
| hovercard-subject-tag | pull_request:1070297873 |
| 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/_view_fragments/voltron/pull_requests/show/node-cache/node-cache/296/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/faca8e0a72777f30c17aa3ae91f96c5753f30b2d68cc2cb7d243238eea080b43/node-cache/node-cache/pull/296 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/faca8e0a72777f30c17aa3ae91f96c5753f30b2d68cc2cb7d243238eea080b43/node-cache/node-cache/pull/296 |
| og:image:alt | Motivation: I used the library and needed the default value to prevent adding extra conditions to check undefined. This PR aims to allow default object for the empty cache. Related tests added to c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thepylot |
| hostname | github.com |
| expected-hostname | github.com |
| None | baa7d9900fdf7b27d604f36887af878d569cfbdcf97126832a5f4f0caf0c6ba5 |
| turbo-cache-control | no-preview |
| go-import | github.com/node-cache/node-cache git https://github.com/node-cache/node-cache.git |
| octolytics-dimension-user_id | 54621913 |
| octolytics-dimension-user_login | node-cache |
| octolytics-dimension-repository_id | 2599450 |
| octolytics-dimension-repository_nwo | node-cache/node-cache |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2599450 |
| octolytics-dimension-repository_network_root_nwo | node-cache/node-cache |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 842eff1d11f899d02b6b3b98fa3ea4860e64b34e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width