{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":2699072,"defaultBranch":"master","name":"libyaml","ownerLogin":"yaml","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2011-11-03T00:13:19.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/69535?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1634172629.82371","currentOid":""},"activityList":{"items":[{"before":"588eabff23ba2292f537872bbea5b64bce1e1a21","after":"840b65c40675e2d06bf40405ad3f12dec7f35923","ref":"refs/heads/master","pushedAt":"2024-05-20T13:31:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"perlpunk","name":"Tina Müller (tinita)","path":"/perlpunk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/688850?s=80&v=4"},"commit":{"message":"Fix closing flow sequence after explicit key\n\nThe fix in #295 was not correct.\n\n # cat a.yaml\n ---\n [?]\n\n # Before\n % ./tests/run-parser-test-suite --flow keep < a.yaml\n +STR\n +DOC ---\n +SEQ []\n +MAP {}\n -SEQ\n -DOC\n -STR\n\n % ./tests/run-loader a.yaml\n [1] Loading 'a.yaml': run-loader: loader.c:470: yaml_parser_load_sequence_end: Assertion `parser->document->nodes.start[index-1].type == YAML_SEQUENCE_NODE' failed.\n [1] 21446 IOT instruction (core dumped) ./tests/run-loader a.yaml\n\n # After\n % ./tests/run-parser-test-suite --flow keep < a.yaml\n +STR\n +DOC ---\n +SEQ []\n +MAP {}\n =VAL :\n =VAL :\n -MAP\n -SEQ\n -DOC\n -STR\n\n % ./tests/run-loader a.yaml\n [1] Loading 'a.yaml': SUCCESS (1 documents)","shortMessageHtmlLink":"Fix closing flow sequence after explicit key"}},{"before":"abd744ec2fb3b8e38e01796a1485c1f25f8fb5f6","after":"588eabff23ba2292f537872bbea5b64bce1e1a21","ref":"refs/heads/master","pushedAt":"2024-05-07T14:06:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"perlpunk","name":"Tina Müller (tinita)","path":"/perlpunk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/688850?s=80&v=4"},"commit":{"message":"Handle closing flow sequence after explicit key\n\nCurrently after an explicit flow key '?' in a flow sequence, an immediately\nfollowing closing ] is ignored by the parser:\n\n % echo '[ ? ]' | ./tests/run-parser-test-suite --flow keep\n +STR\n +DOC\n +SEQ []\n +MAP {}\n =VAL :\n =VAL :\n -MAP\n Parse error: did not find expected ',' or ']'\n Line: 2 Column: 1\n % echo '[ ? ] ]' | ./tests/run-parser-test-suite --flow keep\n +STR\n +DOC\n +SEQ []\n +MAP {}\n =VAL :\n =VAL :\n -MAP\n -SEQ\n -DOC\n -STR\n\nIt is read correctly by the scanner as a YAML_FLOW_SEQUENCE_END_TOKEN, and\nthe flow_level is decreased. Then it is passed to the parser where it gets\nignored.\nThis leads to invalid YAML being accepted, and valid YAML resulting in an\nerror.\n\nAlso the flow_level is incorrectly decreased, so you can nest sequences\nlike that without running in to the MAX_NESTING_LEVEL.","shortMessageHtmlLink":"Handle closing flow sequence after explicit key"}},{"before":"1e66c1e13a50577bd7ad76abec61ba436d0145bd","after":"abd744ec2fb3b8e38e01796a1485c1f25f8fb5f6","ref":"refs/heads/master","pushedAt":"2024-05-06T08:51:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"perlpunk","name":"Tina Müller (tinita)","path":"/perlpunk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/688850?s=80&v=4"},"commit":{"message":"ci: Install libtool on macOS\n\n configure.ac:56: error: possibly undefined macro: AC_PROG_LIBTOOL","shortMessageHtmlLink":"ci: Install libtool on macOS"}},{"before":"51843fe48257c6b7b6e70cdec1db634f64a40818","after":"1e66c1e13a50577bd7ad76abec61ba436d0145bd","ref":"refs/heads/master","pushedAt":"2024-04-08T16:35:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"perlpunk","name":"Tina Müller (tinita)","path":"/perlpunk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/688850?s=80&v=4"},"commit":{"message":"Fix some typos","shortMessageHtmlLink":"Fix some typos"}},{"before":"fb57d89c04aaae0b7823a35f311916ebe64f6f6b","after":"51843fe48257c6b7b6e70cdec1db634f64a40818","ref":"refs/heads/master","pushedAt":"2024-04-08T16:14:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"perlpunk","name":"Tina Müller (tinita)","path":"/perlpunk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/688850?s=80&v=4"},"commit":{"message":"Limit depth of nesting by default\n\nEach nesting level increases the stack and the number of previous\nstarting events that the parser has to check.\n\nThe default maximum is 1000 and can be set via yaml_set_max_nest_level()\n\nI also added new options to run-parser and run-parser-test-suite:\n* --max-level: you can now try out this feature on the command line\n* --show-error: By default, run-parser doesn't show errors. The new option\n helps with debugging","shortMessageHtmlLink":"Limit depth of nesting by default"}},{"before":"f8f760f7387d2cc56a2fc7b1be313a3bf3f7f58c","after":"fb57d89c04aaae0b7823a35f311916ebe64f6f6b","ref":"refs/heads/master","pushedAt":"2024-04-08T16:12:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"perlpunk","name":"Tina Müller (tinita)","path":"/perlpunk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/688850?s=80&v=4"},"commit":{"message":"Update Github actions","shortMessageHtmlLink":"Update Github actions"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAETtRQAwA","startCursor":null,"endCursor":null}},"title":"Activity · yaml/libyaml"}