Socket
Socket
Sign inDemoInstall

@ui5/fs

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/fs - npm Package Compare versions

Comparing version 3.0.0-rc.5 to 3.0.0-rc.6

6

CHANGELOG.md

@@ -5,4 +5,7 @@ # Changelog

A list of unreleased changes can be found [here](https://github.com/SAP/ui5-fs/compare/v3.0.0-rc.5...HEAD).
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-fs/compare/v3.0.0-rc.6...HEAD).
<a name="v3.0.0-rc.6"></a>
## [v3.0.0-rc.6] - 2023-02-03
<a name="v3.0.0-rc.5"></a>

@@ -238,2 +241,3 @@ ## [v3.0.0-rc.5] - 2023-02-03

[v3.0.0-rc.6]: https://github.com/SAP/ui5-fs/compare/v3.0.0-rc.5...v3.0.0-rc.6
[v3.0.0-rc.5]: https://github.com/SAP/ui5-fs/compare/v3.0.0-rc.4...v3.0.0-rc.5

@@ -240,0 +244,0 @@ [v3.0.0-rc.4]: https://github.com/SAP/ui5-fs/compare/v3.0.0-rc.3...v3.0.0-rc.4

6

lib/adapters/FileSystem.js

@@ -108,3 +108,3 @@ import {getLogger} from "@ui5/logger";

const relPath = this._resolveVirtualPathToBase(virPath);
if (!relPath) {
if (relPath === null) {
// Match is likely outside adapter base path

@@ -158,5 +158,7 @@ log.verbose(

if (!relPath) {
if (relPath === null) {
// Neither starts with basePath, nor equals baseDirectory
if (!options.nodir && this._virBasePath.startsWith(virPath)) {
// Create virtual directories for the virtual base path (which has to exist)
// TODO: Maybe improve this by actually matching the base paths segments to the virPath
return this._createResource({

@@ -163,0 +165,0 @@ project: this._project,

@@ -111,3 +111,3 @@ import {getLogger} from "@ui5/logger";

const relPath = this._resolveVirtualPathToBase(virPath);
if (!relPath) {
if (relPath === null) {
return null;

@@ -114,0 +114,0 @@ }

{
"name": "@ui5/fs",
"version": "3.0.0-rc.5",
"version": "3.0.0-rc.6",
"description": "UI5 Tooling - File System Abstraction",

@@ -5,0 +5,0 @@ "author": {

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