Update to v0.24.1.
Add missing skeletons fragment file. Update yarn.
This commit is contained in:
@@ -1039,16 +1039,16 @@ function convertToBigIntStats(stats) {
|
||||
if (Object.hasOwn(stats, key)) {
|
||||
const element = stats[key];
|
||||
if (typeof element === `number`) {
|
||||
bigintStats[key] = BigInt(element);
|
||||
bigintStats[key] = BigInt(Math.floor(element));
|
||||
} else if (nodeUtils__namespace.types.isDate(element)) {
|
||||
bigintStats[key] = new Date(element);
|
||||
}
|
||||
}
|
||||
}
|
||||
bigintStats.atimeNs = bigintStats.atimeMs * BigInt(1e6);
|
||||
bigintStats.mtimeNs = bigintStats.mtimeMs * BigInt(1e6);
|
||||
bigintStats.ctimeNs = bigintStats.ctimeMs * BigInt(1e6);
|
||||
bigintStats.birthtimeNs = bigintStats.birthtimeMs * BigInt(1e6);
|
||||
bigintStats.atimeNs = bigintStats.atimeMs * BigInt(1e6) + BigInt(Math.floor(stats.atimeMs % 1 * 1e3)) * BigInt(1e3);
|
||||
bigintStats.mtimeNs = bigintStats.mtimeMs * BigInt(1e6) + BigInt(Math.floor(stats.mtimeMs % 1 * 1e3)) * BigInt(1e3);
|
||||
bigintStats.ctimeNs = bigintStats.ctimeMs * BigInt(1e6) + BigInt(Math.floor(stats.ctimeMs % 1 * 1e3)) * BigInt(1e3);
|
||||
bigintStats.birthtimeNs = bigintStats.birthtimeMs * BigInt(1e6) + BigInt(Math.floor(stats.birthtimeMs % 1 * 1e3)) * BigInt(1e3);
|
||||
return bigintStats;
|
||||
}
|
||||
function areStatsEqual(a, b) {
|
||||
@@ -6536,7 +6536,7 @@ function getPathForDisplay(p) {
|
||||
return npath.normalize(npath.fromPortablePath(p));
|
||||
}
|
||||
|
||||
const [major, minor] = process.versions.node.split(`.`).map((value) => parseInt(value, 10));
|
||||
const [major, minor, patch] = process.versions.node.split(`.`).map((value) => parseInt(value, 10));
|
||||
const WATCH_MODE_MESSAGE_USES_ARRAYS = major > 19 || major === 19 && minor >= 2 || major === 18 && minor >= 13;
|
||||
|
||||
function readPackageScope(checkPath) {
|
||||
@@ -6571,9 +6571,9 @@ Instead change the require of ${basename} in ${parentPath} to a dynamic import()
|
||||
err.code = `ERR_REQUIRE_ESM`;
|
||||
return err;
|
||||
}
|
||||
function reportRequiredFilesToWatchMode(files) {
|
||||
function reportRequiredFilesToWatchMode(paths) {
|
||||
if (process.env.WATCH_REPORT_DEPENDENCIES && process.send) {
|
||||
files = files.map((filename) => npath.fromPortablePath(VirtualFS.resolveVirtual(npath.toPortablePath(filename))));
|
||||
const files = paths.map((filename) => npath.fromPortablePath(VirtualFS.resolveVirtual(filename)));
|
||||
if (WATCH_MODE_MESSAGE_USES_ARRAYS) {
|
||||
process.send({ "watch:require": files });
|
||||
} else {
|
||||
@@ -8216,9 +8216,10 @@ Required by: ${issuerLocator.name}@${issuerLocator.reference} (via ${issuerForDi
|
||||
const candidates = [];
|
||||
const qualifiedPath = applyNodeExtensionResolution(unqualifiedPath, candidates, { extensions });
|
||||
if (qualifiedPath) {
|
||||
reportRequiredFilesToWatchMode([qualifiedPath]);
|
||||
return ppath.normalize(qualifiedPath);
|
||||
} else {
|
||||
reportRequiredFilesToWatchMode(candidates.map((candidate) => npath.fromPortablePath(candidate)));
|
||||
reportRequiredFilesToWatchMode(candidates);
|
||||
const unqualifiedPathForDisplay = getPathForDisplay(unqualifiedPath);
|
||||
const containingPackage = findPackageLocator(unqualifiedPath);
|
||||
if (containingPackage) {
|
||||
|
||||
Generated
+5
-2
@@ -1428,11 +1428,12 @@ class VirtualFS extends ProxiedFS {
|
||||
|
||||
const URL = Number(process.versions.node.split('.', 1)[0]) < 20 ? URL$1 : globalThis.URL;
|
||||
|
||||
const [major, minor] = process.versions.node.split(`.`).map((value) => parseInt(value, 10));
|
||||
const [major, minor, patch] = process.versions.node.split(`.`).map((value) => parseInt(value, 10));
|
||||
const WATCH_MODE_MESSAGE_USES_ARRAYS = major > 19 || major === 19 && minor >= 2 || major === 18 && minor >= 13;
|
||||
const HAS_LAZY_LOADED_TRANSLATORS = major === 20 && minor < 6 || major === 19 && minor >= 3;
|
||||
const SUPPORTS_IMPORT_ATTRIBUTES = major >= 21 || major === 20 && minor >= 10 || major === 18 && minor >= 20;
|
||||
const SUPPORTS_IMPORT_ATTRIBUTES_ONLY = major >= 22;
|
||||
const HAS_BROKEN_FSTAT_FOR_ZIP_FDS = major === 26 && minor < 1 || major === 25 && minor >= 7 || major === 24 && minor === 15 || major === 22 && (minor > 22 || minor === 22 && patch >= 3);
|
||||
|
||||
function readPackageScope(checkPath) {
|
||||
const rootSeparatorIndex = checkPath.indexOf(npath.sep);
|
||||
@@ -1549,9 +1550,11 @@ async function load$1(urlString, context, nextLoad) {
|
||||
"watch:import": WATCH_MODE_MESSAGE_USES_ARRAYS ? [pathToSend] : pathToSend
|
||||
});
|
||||
}
|
||||
const shouldReadSource = format === `commonjs` && HAS_BROKEN_FSTAT_FOR_ZIP_FDS && filePath.includes(`.zip/`);
|
||||
const source = format !== `commonjs` || shouldReadSource ? await fs.promises.readFile(filePath, `utf8`) : void 0;
|
||||
return {
|
||||
format,
|
||||
source: format === `commonjs` ? void 0 : await fs.promises.readFile(filePath, `utf8`),
|
||||
source,
|
||||
shortCircuit: true
|
||||
};
|
||||
}
|
||||
|
||||
Binary file not shown.
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "planar-vagabond",
|
||||
"version": "0.24.0",
|
||||
"version": "0.24.1",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@@ -20,5 +20,5 @@
|
||||
"devDependencies": {
|
||||
"web-weevr": "git+ssh://git@git.itsericwoodward.com:eric/web-weevr.git"
|
||||
},
|
||||
"packageManager": "yarn@4.12.0"
|
||||
"packageManager": "yarn@4.18.1"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
- Always attack.
|
||||
- Takes double damage from blunt weapons.
|
||||
- Takes half damage from edged weapons.
|
||||
Reference in New Issue
Block a user