Skip to content

Commit

Permalink
Upgrade modules
Browse files Browse the repository at this point in the history
  • Loading branch information
kmalakoff committed Dec 11, 2024
1 parent 86e27ce commit 63c5115
Show file tree
Hide file tree
Showing 30 changed files with 3,976 additions and 3,075 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- run: git config --global user.email "[email protected]"
- run: npm uninstall node-version-use -g
- run: npm install node-version-use -g
- run: npm ci
- run: nvu 22 npm ci
- run: npm run version
- run: npm run build
- run: npm run test
Expand Down
4 changes: 2 additions & 2 deletions dist/cjs/FSIterator.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ var FSIterator = /*#__PURE__*/ function(StackBaseIterator) {
withFileTypes: _fs.default.Dirent && !options.alwaysStat
};
_this.options.stat = {
bigint: process.platform === 'win32'
bigint: process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE)
};
_this.options.error = options.error || function defaultError(err) {
return ~FSIterator.EXPECTED_ERRORS.indexOf(err.code); // skip known issues
Expand Down Expand Up @@ -127,4 +127,4 @@ FSIterator.EXPECTED_ERRORS = [
'EACCES',
'ELOOP'
];
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/FSIterator.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/PathStack.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ PathStack.prototype.last = function last() {
return this.stack.last();
};
var _default = PathStack;
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/depthFirst/createEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ function createEntry(iterator, item) {
entry.fullPath = join(iterator.root, entry.path);
return entry;
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/depthFirst/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ function filter(iterator, entry, callback) {
callback(null, true);
});
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/depthFirst/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ function path(item, iterator, callback) {
});
});
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/depthFirst/stat.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ function stat(iterator, entry, callback) {
});
});
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fifoRemove.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ function fifoRemove(fifo, value) {
}
return false;
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fs-compat/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ var _default = {
realpath: _realpath.default,
stat: _stat.default
};
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fs-compat/lstat.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ function lstatAddOptions(path, _options, callback) {
return _fs.default.lstat(path, callback);
}
var _default = _fs.default.lstat.length === 3 ? _fs.default.lstat : lstatAddOptions;
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fs-compat/lstatReal.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ function lstatReal(path, options, callback) {
(0, _lstat.default)(realpath, options, callback);
});
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fs-compat/readdir.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ function readdirAddOptions(path, _options, callback) {
return readdir(path, callback);
}
var _default = _fs.default.readdir.length === 3 ? _fs.default.readdir : readdirAddOptions;
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fs-compat/realpath.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ function _interop_require_default(obj) {
};
}
var _default = _fsrealpath.default;
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fs-compat/stat.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ function statAddOptions(path, _options, callback) {
return _fs.default.stat(path, callback);
}
var _default = _fs.default.stat.length === 3 ? _fs.default.stat : statAddOptions;
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ function _interop_require_default(obj) {
};
}
var _default = _FSIterator.default;
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/lifoFromArray.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ function lifoFromArray(array) {
array.forEach(fifo.unshift.bind(fifo));
return fifo;
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/esm/FSIterator.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let FSIterator = class FSIterator extends StackBaseIterator {
withFileTypes: fs.Dirent && !options.alwaysStat
};
this.options.stat = {
bigint: process.platform === 'win32'
bigint: process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE)
};
this.options.error = options.error || function defaultError(err) {
return ~FSIterator.EXPECTED_ERRORS.indexOf(err.code); // skip known issues
Expand Down
Loading

0 comments on commit 63c5115

Please sign in to comment.