Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.1 to 3.0.0-rc.2

9

CHANGELOG.md

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

A list of unreleased changes can be found [here](https://github.com/SAP/ui5-fs/compare/v3.0.0-rc.1...HEAD).
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-fs/compare/v3.0.0-rc.2...HEAD).
<a name="v3.0.0-rc.2"></a>
## [v3.0.0-rc.2] - 2023-01-15
### Dependency Updates
- Bump minimatch from 5.1.4 to 6.1.5 [`e6b8d14`](https://github.com/SAP/ui5-fs/commit/e6b8d142517a19b138dab5fc19390ed98db425e1)
<a name="v3.0.0-rc.1"></a>

@@ -220,2 +226,3 @@ ## [v3.0.0-rc.1] - 2023-01-04

[v3.0.0-rc.2]: https://github.com/SAP/ui5-fs/compare/v3.0.0-rc.1...v3.0.0-rc.2
[v3.0.0-rc.1]: https://github.com/SAP/ui5-fs/compare/v3.0.0-rc.0...v3.0.0-rc.1

@@ -222,0 +229,0 @@ [v3.0.0-rc.0]: https://github.com/SAP/ui5-fs/compare/v3.0.0-beta.4...v3.0.0-rc.0

2

LICENSE.txt

@@ -189,3 +189,3 @@ Apache License

Copyright 2018-2021 SAP SE or an SAP affiliate company and UI5 Tooling contributors.
Copyright 2018-2023 SAP SE or an SAP affiliate company and UI5 Tooling contributors

@@ -192,0 +192,0 @@ Licensed under the Apache License, Version 2.0 (the "License");

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

@@ -45,3 +45,2 @@ "author": {

"unit-watch": "npm run unit -- --watch",
"unit-nyan": "npm run unit -- --tap | tnyan",
"unit-xunit": "rimraf test/tmp && ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\" --tap | tap-xunit --dontUseCommentsAsTestNames=true > test-results.xml",

@@ -131,3 +130,3 @@ "unit-inspect": "cross-env UI5_LOG_LVL=verbose ava debug --break",

"micromatch": "^4.0.5",
"minimatch": "^5.1.2",
"minimatch": "^6.1.5",
"pretty-hrtime": "^1.0.3",

@@ -144,4 +143,4 @@ "random-int": "^3.0.0"

"depcheck": "^1.4.3",
"docdash": "^2.0.0",
"eslint": "^8.31.0",
"docdash": "^2.0.1",
"eslint": "^8.32.0",
"eslint-config-google": "^0.14.0",

@@ -154,7 +153,6 @@ "eslint-plugin-ava": "^13.2.0",

"open-cli": "^7.1.0",
"rimraf": "^3.0.2",
"rimraf": "^4.1.1",
"sinon": "^15.0.1",
"tap-nyan": "^1.1.0",
"tap-xunit": "^2.4.1"
}
}
![UI5 icon](https://raw.githubusercontent.com/SAP/ui5-tooling/main/docs/images/UI5_logo_wide.png)
# ui5-fs
> UI5 specific file system abstraction
> UI5-specific file system abstraction
> Part of the [UI5 Tooling](https://github.com/SAP/ui5-tooling)

@@ -13,39 +13,6 @@

## Documentation
General documentation can of the UI5 Tooling can be found here: [sap.github.io/ui5-tooling](https://sap.github.io/ui5-tooling/)
UI5 FS documentation can be found here: [sap.github.io/ui5-tooling](https://sap.github.io/ui5-tooling/v3/pages/FileSystem/)
## UI5 FS
### Resources
During the build phase, a modified resource is kept in memory for further processing in other build steps.
The UI5 FS API Reference can be found here: [`@ui5/fs`](https://sap.github.io/ui5-tooling/v3/api/)
This ensures performance, as physical read and write access for a high number of resources are kept to a minimum.
The virtual file system offers an abstraction layer from the physical file system. Amongst others, it can combine a bunch of scattered file locations into a well defined, virtualized structure.
### Adapters
Adapters abstract access to different resource locations.
The [memory adapter](lib/resources/adapters/Memory.js) represents a virtual file system, which maintains respective resources inside a data structure, whereas the [file system adapter](lib/resources/adapters/FileSystem.js) has direct access to the physical file sytem.
### Resource Readers
Maps virtual to physical paths.
### Collections
Multiple resource readers can be bundled to a collection. There are multiple types of collections which differ in their capability of having read or write access and in the order of how they obtain resources.
#### Collection
The collection has only read access.
The collection takes a list of readers. Readers are accessed in parallel: the reader which returns the resource first is used.
#### Prioritized Collection
The prioritized collection has only read access.
The collection takes a list of readers.
The readers are accessed prioritized in the same order as they are passed to the collection.
#### Duplex Collection
The duplex collection has read and write access.
The collection takes a single reader or collection of readers and a writer instance for writing results.
## Contributing

@@ -52,0 +19,0 @@ Please check our [Contribution Guidelines](https://github.com/SAP/ui5-tooling/blob/main/CONTRIBUTING.md).

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