Ryan Zimmerman
e2615e501e
Fix git URL in package.json ( #1062 )
2025-12-18 15:20:58 -05:00
Ryan Zimmerman
1de81e98a8
11.3.3
11.3.3
2025-12-18 12:24:36 -05:00
Matt Haynie
ddc46f7cb9
Fix symlink copy failing when source and dest symlinks point to same target ( #1060 )
...
Fixes #1019
Fixes #1027
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: mhaynie <mhaynie@pazer.us>
2025-12-17 19:19:07 -05:00
Ryan Zimmerman
5023c22431
Use macos-15-intel runner ( #1061 )
2025-12-15 14:17:04 -05:00
Ryan Zimmerman
403e8aaf19
11.3.2
11.3.2
2025-09-15 14:05:10 -04:00
Ryan Zimmerman
47f1095d4b
Fix UnhandledPromiseRejectionWarning in copy ( #1058 )
2025-09-15 11:11:57 -04:00
Ryan Zimmerman
5e62bb79e6
11.3.1
11.3.1
2025-08-05 11:20:46 -04:00
Jia Zhai
b897b36648
fix incorrect identical result for windows node v22+ ( #1050 )
...
Co-authored-by: jayzhai <jayzhai@global.tencent.com>
2025-08-04 10:56:14 -04:00
Ryan Zimmerman
22583f7bbe
Test on more modern Node versions ( #1051 )
...
* Test on more modern Node versions
* Fix tests and note that deprecated constants are not exported
Since https://github.com/nodejs/node/pull/49686 , they are not
enumerable properties, so Object.assign doesn't re-export them.
Attempting to directly export them would trigger the deprecation
warning.
2025-08-04 10:55:19 -04:00
Ryan Zimmerman
83ff8ca965
Do not mutate args in ensure symlink tests ( #1052 )
2025-08-01 10:46:18 -04:00
Ryan Zimmerman
176ad6a6db
11.3.0
11.3.0
2025-01-15 13:04:59 -05:00
Ryan Zimmerman
e75b9bf3a0
Add promise support for missing fs methods ( #1045 )
...
* Add promise support for missing fs methods
Fixes #1044
* Try specifying macOS runner explicitly
2025-01-14 11:52:45 -05:00
SlavaRa
d96f2655f1
Update copyright year ( #1036 )
...
* Update README.md
* Update LICENSE
2024-03-06 13:57:14 -05:00
Sukka
1d931c88b2
Refactor copy to use opendir ( #1028 )
...
* refactor(copy): backport https://github.com/nodejs/node/pull/41351
* perf(copy): parallel copy
* perf(copy): run filter in parallel as well
2024-02-10 13:11:25 -05:00
Thomas Kaul
acf5585558
Fix wording in copy-sync-dir.test.js ( #1031 )
2023-12-15 17:11:41 -05:00
Ryan Zimmerman
5d4bf0b1b9
11.2.0
11.2.0
2023-11-27 19:45:50 -05:00
Sukka
d293448717
perf: copy dir contents in parallel ( #1026 )
2023-11-27 19:40:02 -05:00
Sukka
a277cbbdf6
Refactor move API to async/await ( #1025 )
2023-10-26 10:32:00 -04:00
Sukka
40c516134d
Refactor copy API to async/await ( #1021 )
2023-10-24 18:34:29 -04:00
Sukka
6f2b2bc995
Refactor create*/ensure* API to async/await ( #1023 )
...
* Refactor `createFile`
* Refactor `createLink`
* Refactor `createSymlink`
2023-10-24 18:32:43 -04:00
Sukka
426bb46067
Refactor outputFile API to async/await ( #1024 )
2023-10-24 18:31:58 -04:00
Mikhail
47bc43d036
Simplify reduce for checking match ( #1016 )
2023-09-20 13:41:36 -04:00
Ryan Zimmerman
cc7b3b22a9
11.1.1
11.1.1
2023-03-20 10:53:11 -04:00
Ryan Zimmerman
055e0b8a09
Unify cross-device move test configuration/logic ( #1001 )
2023-03-16 14:43:21 -04:00
Kostiantyn Popovych
0e7de32aac
Preserve timestamp when moving across devices ( #994 )
...
Fixes #992
Co-authored-by: Ryan Zimmerman <opensrc@ryanzim.com>
2023-03-06 13:43:10 -05:00
Dimitri B
f3a7f0beeb
Fix build status badge ( #991 )
...
Fix breaking change as described in https://github.com/badges/shields/issues/8671
2023-01-09 13:51:58 -05:00
Alex
2b5c083b6f
Harden ci.yml permissions ( #985 )
2022-12-08 16:21:59 -05:00
Ryan Zimmerman
0e76a72154
11.1.0
11.1.0
2022-11-29 18:38:59 -05:00
Manoah Tervoort
ab86a8aabc
Re-add package.json main field for TypeScript support ( #981 )
...
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
2022-11-29 18:33:16 -05:00
Ryan Zimmerman
8e7793b053
Update action versions ( #978 )
2022-11-28 14:24:40 -05:00
Ryan Zimmerman
4daff17445
11.0.0
11.0.0
2022-11-28 14:10:53 -05:00
Ryan Zimmerman
fd50986b4c
BREAKING: ESM support ( #974 )
...
* Remove process.cwd() trick from test files
* BREAKING: Switch from main to exports
* Add fs-extra/esm ESM named import module, with just fs-extra methods
Fixes #746
2022-11-28 13:50:33 -05:00
Ryan Zimmerman
1a3205db94
Remove unneeded and buggy stats check ( #976 )
...
As per https://github.com/nodejs/node/pull/39372#discussion_r1001179295
Resolves https://github.com/jprichardson/node-fs-extra/issues/918
2022-11-19 13:09:05 -05:00
Ryan Zimmerman
b3146f0655
Run copy*() filter before running fs.stat() on items ( #971 )
...
Fixes #965
2022-10-31 15:06:31 -04:00
Ryan Zimmerman
1d1622be96
Upgrade devDeps ( #975 )
...
* Upgrade standard
* Upgrade mocha
2022-10-31 15:04:54 -04:00
Ryan Zimmerman
9dbf173f75
Add promise support for fs.readv ( #970 )
2022-10-31 14:25:13 -04:00
Ryan Zimmerman
5623ba3d5b
BREAKING: Drop Node v12 support; require v14.14+ ( #969 )
...
Resolves #968
2022-10-31 14:19:52 -04:00
Leandro Facchinetti
656545c2b3
Remove sketchy citebite links in documentation ( #973 )
...
I tried to follow these links, and they led me to really sketchy websites that have nothing to do with Node.js at all.
2022-10-21 14:10:31 -04:00
Ryan Zimmerman
0220eac966
10.1.0
10.1.0
2022-04-16 14:46:01 -04:00
Lam Wei Li
baa9934b79
refactor: replace console.warn with process.emitWarning ( #954 )
...
Signed-off-by: Lam Wei Li <peteriman@mail.com>
2022-04-16 13:15:34 -04:00
Ryan Zimmerman
5cadd767cc
Allow passing undefined opts to move() ( #955 )
...
Fixes #947
Closes #948
2022-04-16 13:00:34 -04:00
Lam Wei Li
7bb0120cec
Check and warn for the absence of fs.realpath.native ( #953 )
...
* Revert "Remove check for fs.realpath.native support, since it's everywhere (#887 )"
This reverts commit f4a880d29c3a699c0695755fe8533d786c55f65f.
* Added warning and fallback support for missing fs.realpath.native
Signed-off-by: Lam Wei Li <peteriman@mail.com>
* Removed NodeJS check and fs.realpath.native fallback
Signed-off-by: Lam Wei Li <peteriman@mail.com>
* Leaving original listener intact during test and better phasing for warning
Signed-off-by: Lam Wei Li <peteriman@mail.com>
* Using done() for proper async test
Signed-off-by: Lam Wei Li <peteriman@mail.com>
* Updated comments for clarity
Co-authored-by: Ryan Zimmerman <17342435+RyanZim@users.noreply.github.com>
Co-authored-by: Ryan Zimmerman <17342435+RyanZim@users.noreply.github.com>
2022-04-16 13:00:15 -04:00
CommanderRoot
e0d298d297
refactor: replace deprecated String.prototype.substr() ( #950 )
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-28 13:16:59 -04:00
Ryan Zimmerman
69eb896462
10.0.1
10.0.1
2022-02-22 10:19:39 -05:00
Ryan Zimmerman
ec8ebf0a65
Test on Node 17
2022-02-22 10:18:25 -05:00
Jacob Ebey
9568a6936f
Add "sideEffects": false to package.json ( #941 )
...
Add `"sideEffects": false` to package.json to allow frameworks that mix client and server code in the same files to tree-shake out fs-extra from client bundles.
2022-02-21 17:41:33 -05:00
Richard
7edcb16a06
Fixed typo in readJson.md ( #940 )
2022-02-02 15:27:56 -05:00
Ryan Zimmerman
a84ef6dd89
Upgrade standard linter ( #923 )
2021-09-29 12:55:51 -04:00
Ryan Zimmerman
cbf2a49325
Remove old broken CI tooling; run nyc as part of normal tests ( #924 )
...
* Remove old broken CI tooling; now that we've switched to GH Actions
Refs https://github.com/jprichardson/node-fs-extra/issues/874
* Run nyc as part of normal tests
2021-09-22 20:37:47 -04:00
Ryan Zimmerman
8f79dcd221
Refactor folder structure ( #922 )
...
* Rename lib/output/ to lib/output-file/
* Refactor lib/ensure/index.js
* Collapse copy-sync/ and move-sync/ into the async folders
2021-09-22 20:37:35 -04:00