Addnew sheets (armor, weapons, malefica) and v13 support

This commit is contained in:
2025-05-18 23:51:26 +02:00
parent 7672f861ff
commit 995d61e1c6
4478 changed files with 667857 additions and 620 deletions

44
node_modules/vinyl-fs/lib/src/resolve-symlinks.js generated vendored Normal file
View File

@@ -0,0 +1,44 @@
'use strict';
var Transform = require('streamx').Transform;
var fo = require('../file-operations');
function resolveSymlinks(optResolver) {
// A stat property is exposed on file objects as a (wanted) side effect
function resolveFile(file, callback) {
fo.reflectLinkStat(file.path, file, onReflect);
function onReflect(statErr) {
if (statErr) {
return callback(statErr);
}
if (!file.stat.isSymbolicLink()) {
return callback(null, file);
}
var resolveSymlinks = optResolver.resolve('resolveSymlinks', file);
if (!resolveSymlinks) {
return callback(null, file);
}
fo.findSymlinkHardpath(file.path, onSymlinkHardpath);
}
function onSymlinkHardpath(readlinkErr, path) {
if (readlinkErr) {
return callback(readlinkErr);
}
// Get target's stats
fo.reflectStat(path, file, onReflect);
}
}
return new Transform({
transform: resolveFile,
});
}
module.exports = resolveSymlinks;