Comparing version 3.0.5 to 4.0.0
@@ -5,4 +5,25 @@ # Changelog | ||
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-fs/compare/v3.0.5...HEAD). | ||
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-fs/compare/v4.0.0...HEAD). | ||
<a name="v4.0.0"></a> | ||
## [v4.0.0] - 2024-07-23 | ||
### Breaking Changes | ||
- Drop node v21 support [`2d2f125`](https://github.com/SAP/ui5-fs/commit/2d2f125a6031361172ee820ae5f5abc6a6636f0b) | ||
- Require Node.js 20.11.x/>=21.2.0 and npm >=10 [`b98bd9a`](https://github.com/SAP/ui5-fs/commit/b98bd9ababc1e0b6be8a50a1e97706265a4f805e) | ||
- **DuplexCollection:** remove byGlobSource method ([#552](https://github.com/SAP/ui5-fs/issues/552)) [`e26338b`](https://github.com/SAP/ui5-fs/commit/e26338bf6c8fa3139fc9c06a8dff53d192d8feea) | ||
### Dependency Updates | ||
- Bump minimatch from 9.0.5 to 10.0.1 [`7de313a`](https://github.com/SAP/ui5-fs/commit/7de313a139de63cef2d43daea01efa4ff7e778f3) | ||
- Bump globby from 13.2.2 to 14.0.1 [`465638d`](https://github.com/SAP/ui5-fs/commit/465638d6d8b30fe8e2588b7b928fb8acd98960f2) | ||
### BREAKING CHANGE | ||
`byGlobSource` method is removed from `DuplexCollection` | ||
JIRA: CPOUI5FOUNDATION-802 | ||
Relates to: https://github.com/SAP/ui5-tooling/issues/701 | ||
Support for older Node.js and npm releases has been dropped. | ||
Only Node.js 20.11.x and >=21.2.0 as well as npm v10 or higher are supported. | ||
<a name="v3.0.5"></a> | ||
@@ -183,2 +204,3 @@ ## [v3.0.5] - 2023-10-09 | ||
- **AbstractAdapter:** Fix normalization of globstar [`6d484e8`](https://github.com/SAP/ui5-fs/commit/6d484e847b62aa0829641f25a76dcc89b0840d44) | ||
[v4.0.0]: https://github.com/SAP/ui5-fs/compare/v3.0.5...v4.0.0 | ||
[v3.0.5]: https://github.com/SAP/ui5-fs/compare/v3.0.4...v3.0.5 | ||
@@ -185,0 +207,0 @@ [v3.0.4]: https://github.com/SAP/ui5-fs/compare/v3.0.3...v3.0.4 |
@@ -30,3 +30,3 @@ { | ||
"type": "website", | ||
"image": "https://sap.github.io/ui5-tooling/v3/images/UI5_logo_wide.png", | ||
"image": "https://sap.github.io/ui5-tooling/v4/images/UI5_logo_wide.png", | ||
"site_name": "UI5 Tooling - API Reference", | ||
@@ -33,0 +33,0 @@ "url": "https://sap.github.io/ui5-tooling/" |
@@ -59,21 +59,2 @@ import AbstractReaderWriter from "./AbstractReaderWriter.js"; | ||
/** | ||
* Locates resources by glob from source reader only. | ||
* For found resources that are also available in the writer, the writer resource will be returned. | ||
* | ||
* @param {string} virPattern glob pattern for virtual directory structure | ||
* @param {object} [options] glob options | ||
* @param {boolean} [options.nodir=true] Do not match directories | ||
* @returns {Promise<@ui5/fs/Resource[]>} Promise resolving to list of resources | ||
*/ | ||
byGlobSource(virPattern, options = {nodir: true}) { | ||
return this._reader.byGlob(virPattern, options).then((resources) => { | ||
return Promise.all(resources.map((readerResource) => { | ||
return this._writer.byPath(readerResource.getPath()).then((writerResource) => { | ||
return writerResource || readerResource; | ||
}); | ||
})); | ||
}); | ||
} | ||
/** | ||
* Locates resources by path. | ||
@@ -80,0 +61,0 @@ * |
@@ -189,3 +189,3 @@ Apache License | ||
Copyright 2018-2023 SAP SE or an SAP affiliate company and UI5 Tooling contributors | ||
Copyright 2018-2024 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.5", | ||
"version": "4.0.0", | ||
"description": "UI5 Tooling - File System Abstraction", | ||
@@ -35,3 +35,3 @@ "author": { | ||
"engines": { | ||
"node": "^16.18.0 || >=18.12.0", | ||
"node": "^20.11.0 || >=22.0.0", | ||
"npm": ">= 8" | ||
@@ -54,4 +54,4 @@ }, | ||
"preversion": "npm test", | ||
"version": "git-chglog --sort semver --next-tag v$npm_package_version -o CHANGELOG.md v3.0.0.. && git add CHANGELOG.md", | ||
"postversion": "git push --follow-tags", | ||
"version": "git-chglog --sort semver --next-tag v$npm_package_version -o CHANGELOG.md v4.0.0.. && git add CHANGELOG.md", | ||
"prepublishOnly": "git push --follow-tags", | ||
"release-note": "git-chglog --sort semver -c .chglog/release-config.yml v$npm_package_version", | ||
@@ -72,5 +72,7 @@ "depcheck": "depcheck --ignores @ui5/fs,docdash,@istanbuljs/esm-loader-hook" | ||
], | ||
"ignoredByWatcher": [ | ||
"test/tmp/**" | ||
], | ||
"watchMode": { | ||
"ignoreChanges": [ | ||
"test/tmp/**" | ||
] | ||
}, | ||
"nodeArguments": [ | ||
@@ -127,9 +129,9 @@ "--loader=esmock", | ||
"dependencies": { | ||
"@ui5/logger": "^3.0.0", | ||
"@ui5/logger": "^4.0.0", | ||
"clone": "^2.1.2", | ||
"escape-string-regexp": "^5.0.0", | ||
"globby": "^13.2.2", | ||
"globby": "^14.0.2", | ||
"graceful-fs": "^4.2.11", | ||
"micromatch": "^4.0.5", | ||
"minimatch": "^9.0.3", | ||
"micromatch": "^4.0.7", | ||
"minimatch": "^10.0.1", | ||
"pretty-hrtime": "^1.0.3", | ||
@@ -140,21 +142,19 @@ "random-int": "^3.0.0" | ||
"@istanbuljs/esm-loader-hook": "^0.2.0", | ||
"ava": "^5.3.1", | ||
"chai": "^4.3.10", | ||
"chai-fs": "^2.0.0", | ||
"ava": "^6.1.3", | ||
"chokidar-cli": "^3.0.0", | ||
"cross-env": "^7.0.3", | ||
"depcheck": "^1.4.6", | ||
"depcheck": "^1.4.7", | ||
"docdash": "^2.0.2", | ||
"eslint": "^8.51.0", | ||
"eslint": "^8.57.0", | ||
"eslint-config-google": "^0.14.0", | ||
"eslint-plugin-ava": "^14.0.0", | ||
"eslint-plugin-jsdoc": "^46.8.2", | ||
"esmock": "^2.5.2", | ||
"jsdoc": "^4.0.2", | ||
"nyc": "^15.1.0", | ||
"open-cli": "^7.2.0", | ||
"rimraf": "^5.0.5", | ||
"sinon": "^16.1.0", | ||
"eslint-plugin-jsdoc": "^48.8.3", | ||
"esmock": "^2.6.7", | ||
"jsdoc": "^4.0.3", | ||
"nyc": "^17.0.0", | ||
"open-cli": "^8.0.0", | ||
"rimraf": "^6.0.1", | ||
"sinon": "^18.0.0", | ||
"tap-xunit": "^2.4.1" | ||
} | ||
} |
@@ -13,5 +13,5 @@ ![UI5 icon](https://raw.githubusercontent.com/SAP/ui5-tooling/main/docs/images/UI5_logo_wide.png) | ||
## Documentation | ||
UI5 FS documentation can be found here: [sap.github.io/ui5-tooling](https://sap.github.io/ui5-tooling/v3/pages/FileSystem/) | ||
UI5 FS documentation can be found here: [sap.github.io/ui5-tooling](https://sap.github.io/ui5-tooling/v4/pages/FileSystem/) | ||
The UI5 FS API Reference can be found here: [`@ui5/fs`](https://sap.github.io/ui5-tooling/v3/api/) | ||
The UI5 FS API Reference can be found here: [`@ui5/fs`](https://sap.github.io/ui5-tooling/v4/api/) | ||
@@ -18,0 +18,0 @@ ## Contributing |
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
137190
17
2915
+ Added@sindresorhus/merge-streams@2.3.0(transitive)
+ Added@ui5/logger@4.0.1(transitive)
+ Addedfigures@6.1.0(transitive)
+ Addedglobby@14.0.2(transitive)
+ Addedis-unicode-supported@2.0.0(transitive)
+ Addedminimatch@10.0.1(transitive)
+ Addedpath-type@5.0.0(transitive)
+ Addedslash@5.1.0(transitive)
+ Addedunicorn-magic@0.1.0(transitive)
- Removed@ui5/logger@3.0.0(transitive)
- Removeddir-glob@3.0.1(transitive)
- Removedfigures@5.0.0(transitive)
- Removedglobby@13.2.2(transitive)
- Removedis-unicode-supported@1.3.0(transitive)
- Removedminimatch@9.0.5(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedslash@4.0.0(transitive)
Updated@ui5/logger@^4.0.0
Updatedglobby@^14.0.2
Updatedmicromatch@^4.0.7
Updatedminimatch@^10.0.1