Skip to content

Commit d15f5a0

Browse files
committed
🔖 Release v1.17.12 [skip ci]
1 parent a9e57b9 commit d15f5a0

File tree

4 files changed

+32
-7
lines changed

4 files changed

+32
-7
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## [v1.17.12] - 2022-04-25
2+
3+
[Release notes](https://github.com/betahuhn/repo-file-sync-action/releases/tag/v1.17.12) · [Compare](https://github.com/betahuhn/repo-file-sync-action/compare/v1.17.11...v1.17.12) · [Tag](https://github.com/betahuhn/repo-file-sync-action/tree/v1.17.12) · Archive ([zip](https://github.com/betahuhn/repo-file-sync-action/archive/v1.17.12.zip) · [tar.gz](https://github.com/betahuhn/repo-file-sync-action/archive/v1.17.12.tar.gz))
4+
5+
### Dependency updates
6+
7+
- [`d999148`](https://github.com/betahuhn/repo-file-sync-action/commit/d999148) Bump fs-extra from 10.0.1 to 10.1.0
8+
19
## [v1.17.11] - 2022-04-18
210

311
[Release notes](https://github.com/betahuhn/repo-file-sync-action/releases/tag/v1.17.11) · [Compare](https://github.com/betahuhn/repo-file-sync-action/compare/v1.17.10...v1.17.11) · [Tag](https://github.com/betahuhn/repo-file-sync-action/tree/v1.17.11) · Archive ([zip](https://github.com/betahuhn/repo-file-sync-action/archive/v1.17.11.zip) · [tar.gz](https://github.com/betahuhn/repo-file-sync-action/archive/v1.17.11.tar.gz))

dist/index.js

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9285,8 +9285,11 @@ function copySync (src, dest, opts) {
92859285

92869286
// Warn about using preserveTimestamps on 32-bit node
92879287
if (opts.preserveTimestamps && process.arch === 'ia32') {
9288-
console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n
9289-
see https://github.com/jprichardson/node-fs-extra/issues/269`)
9288+
process.emitWarning(
9289+
'Using the preserveTimestamps option in 32-bit node is not recommended;\n\n' +
9290+
'\tsee https://github.com/jprichardson/node-fs-extra/issues/269',
9291+
'Warning', 'fs-extra-WARN0002'
9292+
)
92909293
}
92919294

92929295
const { srcStat, destStat } = stat.checkPathsSync(src, dest, 'copy', opts)
@@ -9465,8 +9468,11 @@ function copy (src, dest, opts, cb) {
94659468

94669469
// Warn about using preserveTimestamps on 32-bit node
94679470
if (opts.preserveTimestamps && process.arch === 'ia32') {
9468-
console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n
9469-
see https://github.com/jprichardson/node-fs-extra/issues/269`)
9471+
process.emitWarning(
9472+
'Using the preserveTimestamps option in 32-bit node is not recommended;\n\n' +
9473+
'\tsee https://github.com/jprichardson/node-fs-extra/issues/269',
9474+
'Warning', 'fs-extra-WARN0001'
9475+
)
94709476
}
94719477

94729478
stat.checkPaths(src, dest, 'copy', opts, (err, stats) => {
@@ -10214,7 +10220,6 @@ Object.assign(exports, fs)
1021410220
api.forEach(method => {
1021510221
exports[method] = u(fs[method])
1021610222
})
10217-
exports.realpath.native = u(fs.realpath.native)
1021810223

1021910224
// We differ from mz/fs in that we still ship the old, broken, fs.exists()
1022010225
// since we are a drop-in replacement for the native module
@@ -10278,6 +10283,16 @@ if (typeof fs.writev === 'function') {
1027810283
}
1027910284
}
1028010285

10286+
// fs.realpath.native sometimes not available if fs is monkey-patched
10287+
if (typeof fs.realpath.native === 'function') {
10288+
exports.realpath.native = u(fs.realpath.native)
10289+
} else {
10290+
process.emitWarning(
10291+
'fs.realpath.native is not a function. Is fs being monkey-patched?',
10292+
'Warning', 'fs-extra-WARN0003'
10293+
)
10294+
}
10295+
1028110296

1028210297
/***/ }),
1028310298

@@ -10571,6 +10586,8 @@ function move (src, dest, opts, cb) {
1057110586
opts = {}
1057210587
}
1057310588

10589+
opts = opts || {}
10590+
1057410591
const overwrite = opts.overwrite || opts.clobber || false
1057510592

1057610593
stat.checkPaths(src, dest, 'move', opts, (err, stats) => {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "repo-file-sync-action",
3-
"version": "1.17.11",
3+
"version": "1.17.12",
44
"description": "GitHub Action to keep files like Action workflows or entire directories in sync between multiple repositories.",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)