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) {
|
||||
|
||||
Reference in New Issue
Block a user