Socket
Socket
Sign inDemoInstall

@serenity-js/core

Package Overview
Dependencies
Maintainers
1
Versions
374
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serenity-js/core - npm Package Compare versions

Comparing version 3.23.0 to 3.23.1

11

CHANGELOG.md

@@ -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 @@

2

lib/io/Path.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc