{"action":"created","issue":{"url":"https://api.github.com/repos/lodash/lodash/issues/3055","repository_url":"https://api.github.com/repos/lodash/lodash","labels_url":"https://api.github.com/repos/lodash/lodash/issues/3055/labels{/name}","comments_url":"https://api.github.com/repos/lodash/lodash/issues/3055/comments","events_url":"https://api.github.com/repos/lodash/lodash/issues/3055/events","html_url":"https://github.com/lodash/lodash/issues/3055","id":214083546,"node_id":"MDU6SXNzdWUyMTQwODM1NDY=","number":3055,"title":"Need documentation clarification on replacing value of .cache property of memoized functions","user":{"login":"Ginden","id":3824055,"node_id":"MDQ6VXNlcjM4MjQwNTU=","avatar_url":"https://avatars1.githubusercontent.com/u/3824055?v=4","gravatar_id":"","url":"https://api.github.com/users/Ginden","html_url":"https://github.com/Ginden","followers_url":"https://api.github.com/users/Ginden/followers","following_url":"https://api.github.com/users/Ginden/following{/other_user}","gists_url":"https://api.github.com/users/Ginden/gists{/gist_id}","starred_url":"https://api.github.com/users/Ginden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ginden/subscriptions","organizations_url":"https://api.github.com/users/Ginden/orgs","repos_url":"https://api.github.com/users/Ginden/repos","events_url":"https://api.github.com/users/Ginden/events{/privacy}","received_events_url":"https://api.github.com/users/Ginden/received_events","type":"User","site_admin":false},"labels":[{"id":9649680,"node_id":"MDU6TGFiZWw5NjQ5Njgw","url":"https://api.github.com/repos/lodash/lodash/labels/documentation","name":"documentation","color":"fbca04","default":false},{"id":2763157,"node_id":"MDU6TGFiZWwyNzYzMTU3","url":"https://api.github.com/repos/lodash/lodash/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-14T14:09:26Z","updated_at":"2018-12-27T13:55:52Z","closed_at":"2017-03-14T15:34:57Z","author_association":"NONE","body":"Currently we use code like:\r\n```javascript\r\nconst stripTagsMemoized = _.memoize(require('striptags'));\r\nstripTagsMemoized.cache = new WeakMap;\r\n```\r\n\r\nIt works right now ([because of this line](https://github.com/lodash/lodash/blob/4.17.4/lodash.js#L10561)), but documentation doesn't state if it's intended to work like this or is it relying on implementation detail."},"comment":{"url":"https://api.github.com/repos/lodash/lodash/issues/comments/450154922","html_url":"https://github.com/lodash/lodash/issues/3055#issuecomment-450154922","issue_url":"https://api.github.com/repos/lodash/lodash/issues/3055","id":450154922,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDE1NDkyMg==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-12-27T13:55:52Z","updated_at":"2018-12-27T13:55:52Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}