Skip to content

Choose a tag to compare

@github-actions github-actions released this 21 May 04:57
· 27 commits to main since this release
4ea00c5

Minor Changes

  • 8a32a09: Add a true path sanitizer to the base World object

    BREAKING CHANGE:

    The base world object no longer has a public projectRoot property.
    Instead of constructing paths that way, developers should use the
    world.fullPath() method to get the full path to a file or subfolder.
    This should ensure that only files below the projectRoot are accessed.

    Playwright and Browser world constructors no longer have the
    sanitizeFilepath method. Instead, there is a new "sanitizePath"
    method on the base World, which should be relatively safe even
    for user input, avoiding path traversal and the like.