v4.2 write exact version of yaml.load default loader change

This commit is contained in:
amammad
2023-04-27 06:48:15 +02:00
committed by Harry Maclean
parent 40e24b6b94
commit d727d573d5

View File

@@ -79,7 +79,7 @@ module UnsafeDeserialization {
* for unsafe deserialization. The `YAML` module is an alias of `Psych` in
* recent versions of Ruby.
* the `this = yamlNode().getAMethodCall("load").getArgument(0)` is safe
* in recent versions of YAML library, so it will be removed in future.
* in psych/yaml library after [v4.0.0](https://github.com/ruby/psych/releases/tag/v4.0.0), so it will be removed in future.
*/
class YamlLoadArgument extends Sink {
YamlLoadArgument() {