@alwatr/node-fs
Advanced tools
Comparing version 1.0.13 to 1.1.0
@@ -6,2 +6,28 @@ # Change Log | ||
## [1.1.0](https://github.com/Alwatr/nanolib/compare/@alwatr/node-fs@1.0.13...@alwatr/node-fs@1.1.0) (2024-09-29) | ||
### Features | ||
* **node-fs/write-file:** support buffer as content ([3cce9e9](https://github.com/Alwatr/nanolib/commit/3cce9e937209bfb39aee1b981370ca4a76114e62)) by @njfamirm | ||
* use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @mohammadhonarvar | ||
### Bug Fixes | ||
* all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @mohammadhonarvar | ||
### Code Refactoring | ||
* **node-fs:** remove unused import from common module ([496a338](https://github.com/Alwatr/nanolib/commit/496a338a6366aa12dc32bbed07a3e14bd5315bd2)) by @AliMD | ||
* **node-fs:** Update logger import and initialization ([0f89c0f](https://github.com/Alwatr/nanolib/commit/0f89c0f7bc24e79c20d3d5d3fc3f906f12cf7161)) by @AliMD | ||
* use new type-helper global types and remove all import types ([08b5d08](https://github.com/Alwatr/nanolib/commit/08b5d08c03c7c315382337239de0426462f384b8)) by @AliMD | ||
### Miscellaneous Chores | ||
* **node-fs:** change the license to AGPL-3.0 ([9728276](https://github.com/Alwatr/nanolib/commit/97282764bfdb15ef1de25704012f1628a5d0c112)) by @ArmanAsadian | ||
* Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @AliMD | ||
### Dependencies update | ||
* bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @dependabot[bot] | ||
## [1.0.13](https://github.com/Alwatr/nanolib/compare/@alwatr/node-fs@1.0.12...@alwatr/node-fs@1.0.13) (2024-09-21) | ||
@@ -8,0 +34,0 @@ |
@@ -1,2 +0,1 @@ | ||
import type { JsonValue } from '@alwatr/type-helper'; | ||
/** | ||
@@ -3,0 +2,0 @@ * Parse json string. |
@@ -1,2 +0,1 @@ | ||
import type { JsonValue, MaybePromise } from '@alwatr/type-helper'; | ||
/** | ||
@@ -3,0 +2,0 @@ * Enhanced read json file (async). |
@@ -16,3 +16,3 @@ /** | ||
*/ | ||
export declare function writeFileSync(path: string, content: string): void; | ||
export declare function writeFileSync(path: string, content: Buffer | string): void; | ||
/** | ||
@@ -33,3 +33,3 @@ * Enhanced write file (Asynchronous). | ||
*/ | ||
export declare function writeFile(path: string, content: string): Promise<void>; | ||
export declare function writeFile(path: string, content: Buffer | string): Promise<void>; | ||
//# sourceMappingURL=write-file.d.ts.map |
@@ -1,2 +0,1 @@ | ||
import type { JsonValue, MaybePromise } from '@alwatr/type-helper'; | ||
/** | ||
@@ -3,0 +2,0 @@ * Enhanced write json file (Asynchronous). |
{ | ||
"name": "@alwatr/node-fs", | ||
"version": "1.0.13", | ||
"version": "1.1.0", | ||
"description": "Enhanced file system operations in Node.js with asynchronous queue to prevent parallel writes.", | ||
@@ -43,3 +43,3 @@ "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>", | ||
}, | ||
"license": "MIT", | ||
"license": "AGPL-3.0-only", | ||
"files": [ | ||
@@ -68,3 +68,3 @@ "**/*.{js,mjs,cjs,map,d.ts,html,md}", | ||
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings", | ||
"build": "yarn run build:ts & yarn run build:es", | ||
"build": "yarn run build:ts && yarn run build:es", | ||
"build:es": "nano-build --preset=module", | ||
@@ -78,15 +78,16 @@ "build:ts": "tsc --build", | ||
"dependencies": { | ||
"@alwatr/async-queue": "^1.2.11", | ||
"@alwatr/flat-string": "^1.0.23", | ||
"@alwatr/logger": "^3.2.14" | ||
"@alwatr/async-queue": "^1.3.0", | ||
"@alwatr/flat-string": "^1.1.0", | ||
"@alwatr/logger": "^4.0.0", | ||
"@alwatr/package-tracer": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@alwatr/nano-build": "^1.3.10", | ||
"@alwatr/prettier-config": "^1.0.4", | ||
"@alwatr/tsconfig-base": "^1.2.0", | ||
"@alwatr/type-helper": "^1.2.6", | ||
"@types/node": "^22.5.5", | ||
"@alwatr/nano-build": "^1.4.0", | ||
"@alwatr/prettier-config": "^1.0.5", | ||
"@alwatr/tsconfig-base": "^1.3.0", | ||
"@alwatr/type-helper": "^2.0.0", | ||
"@types/node": "^22.7.4", | ||
"typescript": "^5.6.2" | ||
}, | ||
"gitHead": "6d82461cfdee936b30cbc67473a5a5048773255a" | ||
"gitHead": "cc1ea8b688232dcc60e9ebc904ec5566bc25c1ac" | ||
} |
@@ -38,1 +38,15 @@ # Node FS | ||
``` | ||
## Sponsors | ||
The following companies, organizations, and individuals support Nitrobase ongoing maintenance and development. Become a Sponsor to get your logo on our README and website. | ||
[![Exir Studio](https://avatars.githubusercontent.com/u/181194967?s=200&v=4)](https://exirstudio.com) | ||
### Contributing | ||
Contributions are welcome! Please read our [contribution guidelines](https://github.com/Alwatr/.github/blob/next/CONTRIBUTING.md) before submitting a pull request. | ||
### License | ||
This project is licensed under the [AGPL-3.0 License](LICENSE). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
88389
52
4
3
70
201
+ Added@alwatr/logger@4.0.8(transitive)
- Removed@alwatr/dedupe@1.1.8(transitive)
- Removed@alwatr/global-this@1.0.3(transitive)
- Removed@alwatr/logger@3.2.14(transitive)
- Removed@alwatr/polyfill-has-own@1.1.8(transitive)
Updated@alwatr/async-queue@^1.3.0
Updated@alwatr/flat-string@^1.1.0
Updated@alwatr/logger@^4.0.0