{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":358373909,"defaultBranch":"main","name":"proc-log","ownerLogin":"npm","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-04-15T19:42:57.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/6078720?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1716778352.0","currentOid":""},"activityList":{"items":[{"before":"f1409b47eba5be3751c08d10c650dadb5c2180b2","after":null,"ref":"refs/heads/dependabot/npm_and_yarn/main/tap-19.0.0","pushedAt":"2024-05-27T02:52:32.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"}},{"before":null,"after":"ba2a4dfcbd649e235b1fa02f0e0dd29253e8d01c","ref":"refs/heads/dependabot/npm_and_yarn/main/tap-19.0.2","pushedAt":"2024-05-27T02:52:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"chore: bump tap from 16.3.10 to 19.0.2\n\nBumps [tap](https://github.com/tapjs/tapjs) from 16.3.10 to 19.0.2.\n- [Release notes](https://github.com/tapjs/tapjs/releases)\n- [Commits](https://github.com/tapjs/tapjs/compare/v16.3.10...tap@19.0.2)\n\n---\nupdated-dependencies:\n- dependency-name: tap\n dependency-type: direct:development\n update-type: version-update:semver-major\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"chore: bump tap from 16.3.10 to 19.0.2"}},{"before":null,"after":"f1409b47eba5be3751c08d10c650dadb5c2180b2","ref":"refs/heads/dependabot/npm_and_yarn/main/tap-19.0.0","pushedAt":"2024-05-22T02:36:46.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"---\nupdated-dependencies:\n- dependency-name: tap\n dependency-type: direct:development\n update-type: version-update:semver-major\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"---"}},{"before":"2cc3c8061994233353a449052572cf18c23515d7","after":null,"ref":"refs/heads/stafftools/update-template-oss","pushedAt":"2024-05-03T20:54:15.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"}},{"before":"e12dd15f94483daf7237468a6f4c9df96a4b523d","after":"152734a237b4285ac970958f6209a58d9333a42a","ref":"refs/heads/main","pushedAt":"2024-05-03T20:54:14.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"},"commit":{"message":"chore: postinstall for dependabot template-oss PR","shortMessageHtmlLink":"chore: postinstall for dependabot template-oss PR"}},{"before":null,"after":"2cc3c8061994233353a449052572cf18c23515d7","ref":"refs/heads/stafftools/update-template-oss","pushedAt":"2024-05-03T18:47:48.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"},"commit":{"message":"chore: postinstall for dependabot template-oss PR","shortMessageHtmlLink":"chore: postinstall for dependabot template-oss PR"}},{"before":"8096e8ea9c39fe316a806fb41e19245170b6759f","after":"25f06f9c29396fd2fc9735308a29ea59ea81e283","ref":"refs/heads/release-please--branches--main","pushedAt":"2024-04-21T16:43:53.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"chore: release 4.2.1","shortMessageHtmlLink":"chore: release 4.2.1"}},{"before":"e12dd15f94483daf7237468a6f4c9df96a4b523d","after":"8096e8ea9c39fe316a806fb41e19245170b6759f","ref":"refs/heads/release-please--branches--main","pushedAt":"2024-04-21T16:42:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"chore: release 4.2.1","shortMessageHtmlLink":"chore: release 4.2.1"}},{"before":null,"after":"e12dd15f94483daf7237468a6f4c9df96a4b523d","ref":"refs/heads/release-please--branches--main","pushedAt":"2024-04-21T16:42:51.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"chore: chore: chore: postinstall for dependabot template-oss PR","shortMessageHtmlLink":"chore: chore: chore: postinstall for dependabot template-oss PR"}},{"before":"953e6035670f9afe2ec93f6286d76db2828854d6","after":"e12dd15f94483daf7237468a6f4c9df96a4b523d","ref":"refs/heads/main","pushedAt":"2024-04-21T16:41:45.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"},"commit":{"message":"chore: chore: chore: postinstall for dependabot template-oss PR","shortMessageHtmlLink":"chore: chore: chore: postinstall for dependabot template-oss PR"}},{"before":"5474f5ea4daae713dadd96f21db2878d2a35ac17","after":null,"ref":"refs/heads/dependabot/npm_and_yarn/main/npmcli/template-oss-4.21.4","pushedAt":"2024-04-21T16:41:45.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"}},{"before":"72162971b0af2abed54fb4902734dad7f3fc4549","after":"5474f5ea4daae713dadd96f21db2878d2a35ac17","ref":"refs/heads/dependabot/npm_and_yarn/main/npmcli/template-oss-4.21.4","pushedAt":"2024-04-20T22:00:34.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"},"commit":{"message":"chore: chore: chore: postinstall for dependabot template-oss PR","shortMessageHtmlLink":"chore: chore: chore: postinstall for dependabot template-oss PR"}},{"before":"8b349c232f911537b75641167950f2529fc8016d","after":null,"ref":"refs/heads/release-please--branches--main","pushedAt":"2024-04-16T20:47:09.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"}},{"before":"4c0d3cfde92e639e81a76655df74e0204a56eec8","after":"953e6035670f9afe2ec93f6286d76db2828854d6","ref":"refs/heads/main","pushedAt":"2024-04-16T20:47:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"},"commit":{"message":"chore: release 4.2.0 (#86)\n\n:robot: I have created a release *beep* *boop*\n---\n\n\n## [4.2.0](https://github.com/npm/proc-log/compare/v4.1.0...v4.2.0)\n(2024-04-16)\n\n### Features\n\n*\n[`4c0d3cf`](https://github.com/npm/proc-log/commit/4c0d3cfde92e639e81a76655df74e0204a56eec8)\n[#85](https://github.com/npm/proc-log/pull/85) add flush method to\noutput (#85) (@lukekarrys)\n\n---\nThis PR was generated with [Release\nPlease](https://github.com/googleapis/release-please). See\n[documentation](https://github.com/googleapis/release-please#release-please).\n\nCo-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>","shortMessageHtmlLink":"chore: release 4.2.0 (#86)"}},{"before":"db3b0f6b0cab4ac15347108f334b63dcb2301838","after":"8b349c232f911537b75641167950f2529fc8016d","ref":"refs/heads/release-please--branches--main","pushedAt":"2024-04-16T20:32:55.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"chore: release 4.2.0","shortMessageHtmlLink":"chore: release 4.2.0"}},{"before":"4c0d3cfde92e639e81a76655df74e0204a56eec8","after":"db3b0f6b0cab4ac15347108f334b63dcb2301838","ref":"refs/heads/release-please--branches--main","pushedAt":"2024-04-16T20:32:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"chore: release 4.2.0","shortMessageHtmlLink":"chore: release 4.2.0"}},{"before":null,"after":"4c0d3cfde92e639e81a76655df74e0204a56eec8","ref":"refs/heads/release-please--branches--main","pushedAt":"2024-04-16T20:32:03.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"feat: add flush method to output (#85)","shortMessageHtmlLink":"feat: add flush method to output (#85)"}},{"before":"977c4822312352834626b7824ec5b2722ee6ab1f","after":null,"ref":"refs/heads/lk/flush","pushedAt":"2024-04-16T20:31:25.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"}},{"before":"66b7da736c938d1b6f50ab256e08631a7b6613de","after":"4c0d3cfde92e639e81a76655df74e0204a56eec8","ref":"refs/heads/main","pushedAt":"2024-04-16T20:31:24.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"},"commit":{"message":"feat: add flush method to output (#85)","shortMessageHtmlLink":"feat: add flush method to output (#85)"}},{"before":"ba3a36779d4dd8a11042ee574abb03278e20c336","after":null,"ref":"refs/heads/lk/add-meta","pushedAt":"2024-04-16T20:31:14.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"}},{"before":"3dbd032fc792e66ab4987265eb9c3c1bd7667386","after":"66b7da736c938d1b6f50ab256e08631a7b6613de","ref":"refs/heads/main","pushedAt":"2024-04-16T20:31:13.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"},"commit":{"message":"feat: add META symbol to exports (#84)\n\nTwo things to note:\r\n\r\n- The key is the string `'META'`\r\n- The value is `Symbol('proc-log.meta')`\r\n\r\nSo it could be used like the following. All of the following is up to\r\nproducers/consumers to implement with shared conventions. All `proc-log`\r\nis doing to allowing them to share a unique `Symbol`.\r\n\r\n```js\r\nconst { output, META } = require('../')\r\n\r\n// An example of how consumers would see if a META object\r\n// was the last argument from an event\r\nconst getMeta = (args) => {\r\n let meta = {}\r\n const last = args.at(-1)\r\n if (last && typeof last === 'object' && Object.hasOwn(last, META)) {\r\n meta = args.pop()\r\n }\r\n return [meta, ...args]\r\n}\r\n\r\nprocess.on('output', (level, ...rawArgs) => {\r\n const [{ force = false }, ...args] = getMeta(rawArgs)\r\n console.log(level, { force, args })\r\n})\r\n\r\n// in this implementation the value does not matter, just the key\r\noutput.standard('arg1', 'arg2', { [META]: null, force: true })\r\noutput.standard('arg1', 'arg2')\r\noutput.standard('arg1', null)\r\noutput.standard(null)\r\noutput.standard()\r\n\r\n// Will log the following:\r\n// standard { force: true, args: [ 'arg1', 'arg2' ] }\r\n// standard { force: false, args: [ 'arg1', 'arg2' ] }\r\n// standard { force: false, args: [ 'arg1', null ] }\r\n// standard { force: false, args: [ null ] }\r\n// standard { force: false, args: [] }\r\n```\r\n\r\nCloses: #81","shortMessageHtmlLink":"feat: add META symbol to exports (#84)"}},{"before":null,"after":"977c4822312352834626b7824ec5b2722ee6ab1f","ref":"refs/heads/lk/flush","pushedAt":"2024-04-16T20:16:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"},"commit":{"message":"feat: add flush method to output","shortMessageHtmlLink":"feat: add flush method to output"}},{"before":null,"after":"ba3a36779d4dd8a11042ee574abb03278e20c336","ref":"refs/heads/lk/add-meta","pushedAt":"2024-04-16T19:58:48.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"},"commit":{"message":"feat: add META symbol to exports","shortMessageHtmlLink":"feat: add META symbol to exports"}},{"before":null,"after":"72162971b0af2abed54fb4902734dad7f3fc4549","ref":"refs/heads/dependabot/npm_and_yarn/main/npmcli/template-oss-4.21.4","pushedAt":"2024-04-16T02:58:23.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"chore: bump @npmcli/template-oss from 4.21.3 to 4.21.4\n\nBumps [@npmcli/template-oss](https://github.com/npm/template-oss) from 4.21.3 to 4.21.4.\n- [Release notes](https://github.com/npm/template-oss/releases)\n- [Changelog](https://github.com/npm/template-oss/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/npm/template-oss/compare/v4.21.3...v4.21.4)\n\n---\nupdated-dependencies:\n- dependency-name: \"@npmcli/template-oss\"\n dependency-type: direct:development\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"chore: bump @npmcli/template-oss from 4.21.3 to 4.21.4"}},{"before":"0b501851386de9e4b85cb9c97df3783931ee8d72","after":null,"ref":"refs/heads/release-please--branches--main","pushedAt":"2024-04-15T16:34:39.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"}},{"before":"4832b21f33513ceb0482ba1757594e9776cff408","after":"3dbd032fc792e66ab4987265eb9c3c1bd7667386","ref":"refs/heads/main","pushedAt":"2024-04-15T16:34:38.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"},"commit":{"message":"chore: release 4.1.0 (#82)\n\n:robot: I have created a release *beep* *boop*\n---\n\n\n## [4.1.0](https://github.com/npm/proc-log/compare/v4.0.0...v4.1.0)\n(2024-04-15)\n\n### Features\n\n*\n[`e00086e`](https://github.com/npm/proc-log/commit/e00086ea425a9cb6a849e3853bd3ae79910b3d44)\n[#80](https://github.com/npm/proc-log/pull/80) add timers and read\n(@lukekarrys)\n\n### Bug Fixes\n\n*\n[`4832b21`](https://github.com/npm/proc-log/commit/4832b21f33513ceb0482ba1757594e9776cff408)\n[#80](https://github.com/npm/proc-log/pull/80) remove args from log\npause/resume (@lukekarrys)\n\n---\nThis PR was generated with [Release\nPlease](https://github.com/googleapis/release-please). See\n[documentation](https://github.com/googleapis/release-please#release-please).\n\nCo-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>","shortMessageHtmlLink":"chore: release 4.1.0 (#82)"}},{"before":"a93cd2b59cd4fe23b0021719359ef3db33e45b60","after":"0b501851386de9e4b85cb9c97df3783931ee8d72","ref":"refs/heads/release-please--branches--main","pushedAt":"2024-04-15T16:03:39.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"chore: release 4.1.0","shortMessageHtmlLink":"chore: release 4.1.0"}},{"before":"4832b21f33513ceb0482ba1757594e9776cff408","after":"a93cd2b59cd4fe23b0021719359ef3db33e45b60","ref":"refs/heads/release-please--branches--main","pushedAt":"2024-04-15T16:02:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"chore: release 4.1.0","shortMessageHtmlLink":"chore: release 4.1.0"}},{"before":null,"after":"4832b21f33513ceb0482ba1757594e9776cff408","ref":"refs/heads/release-please--branches--main","pushedAt":"2024-04-15T16:02:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"fix: remove args from log pause/resume","shortMessageHtmlLink":"fix: remove args from log pause/resume"}},{"before":"2669f5ac2f2cebe8c9294bb6e825b82a33559016","after":null,"ref":"refs/heads/lk/timers-and-read","pushedAt":"2024-04-15T16:01:34.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"lukekarrys","name":"Luke Karrys","path":"/lukekarrys","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/542108?s=80&v=4"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEVHJRRwA","startCursor":null,"endCursor":null}},"title":"Activity ยท npm/proc-log"}