@serenity-js/core
Advanced tools
Comparing version 3.23.0 to 3.23.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [3.23.1](https://github.com/serenity-js/serenity-js/compare/v3.23.0...v3.23.1) (2024-05-20) | ||
### Bug Fixes | ||
* **core:** allow relative Path to resolve to '.' ([be527a2](https://github.com/serenity-js/serenity-js/commit/be527a258cd1d6f797ef3ffdcc9a6b0118e8d2fa)) | ||
# [3.23.0](https://github.com/serenity-js/serenity-js/compare/v3.22.4...v3.23.0) (2024-05-12) | ||
@@ -8,0 +19,0 @@ |
@@ -105,3 +105,3 @@ "use strict"; | ||
relative(another) { | ||
return new Path(upath_1.default.relative(this.value, another.value)); | ||
return new Path(upath_1.default.relative(this.value, another.value) || '.'); | ||
} | ||
@@ -108,0 +108,0 @@ directory() { |
{ | ||
"name": "@serenity-js/core", | ||
"version": "3.23.0", | ||
"version": "3.23.1", | ||
"description": "Serenity/JS Screenplay, reporting engine and core interfaces.", | ||
@@ -74,3 +74,3 @@ "author": { | ||
}, | ||
"gitHead": "be1bb276388c295df01146eb8589a003b3d8214c" | ||
"gitHead": "6bb08ce04a5590660704eed74334396ccca42a33" | ||
} |
@@ -106,3 +106,3 @@ import filenamify from 'filenamify'; | ||
relative(another: Path): Path { | ||
return new Path(path.relative(this.value, another.value)); | ||
return new Path(path.relative(this.value, another.value) || '.'); | ||
} | ||
@@ -109,0 +109,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1417812