Instructions to import/update jmespath library into Moodle:

Update jmespath library
1. Download the latest jmespath.php library package from https://github.com/jmespath/jmespath.php/releases
2. Remove the lib/jmespath/src folder
3. Copy the src directory to lib/jmespath/ folder
4. Copy the associated following files to the jmespath directory:
     - CHANGELOG.md
     - composer.json
     - LICENSE
     - README.md

Moodle customisations
----------------------
This copy of the library is NOT a vanilla drop-in of an upstream release.
A security fix has been hand-applied on top of the vendored version (see
MDL-89609), so this library is intentionally no longer tracked as a
pinned dependency in the root composer.json - re-add a pinned entry there
only once this library is back to matching a vanilla upstream release.

Apply the following patches when re-importing a future release:
- src/TreeCompiler.php: the function name written into the compiled
  runtime string must be safely escaped rather than interpolated
  unescaped (see MDL-89609).
