[yarn] Update version to 4.1.0
This commit is contained in:
parent
a0acc7ef83
commit
827370c9df
6 changed files with 2164 additions and 2183 deletions
48
.pnp.cjs
generated
48
.pnp.cjs
generated
|
@ -26350,8 +26350,7 @@ async function copyImpl(prelayout, postlayout, destinationFs, destination, sourc
|
||||||
updated = await copySymlink(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts);
|
updated = await copySymlink(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default: {
|
||||||
{
|
|
||||||
throw new Error(`Unsupported file type (${sourceStat.mode})`);
|
throw new Error(`Unsupported file type (${sourceStat.mode})`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26416,7 +26415,10 @@ async function copyFolder(prelayout, postlayout, destinationFs, destination, des
|
||||||
}
|
}
|
||||||
async function copyFileViaIndex(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts, linkStrategy) {
|
async function copyFileViaIndex(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts, linkStrategy) {
|
||||||
const sourceHash = await sourceFs.checksumFilePromise(source, { algorithm: `sha1` });
|
const sourceHash = await sourceFs.checksumFilePromise(source, { algorithm: `sha1` });
|
||||||
const indexPath = destinationFs.pathUtils.join(linkStrategy.indexPath, sourceHash.slice(0, 2), `${sourceHash}.dat`);
|
const defaultMode = 420;
|
||||||
|
const sourceMode = sourceStat.mode & 511;
|
||||||
|
const indexFileName = `${sourceHash}${sourceMode !== defaultMode ? sourceMode.toString(8) : ``}`;
|
||||||
|
const indexPath = destinationFs.pathUtils.join(linkStrategy.indexPath, sourceHash.slice(0, 2), `${indexFileName}.dat`);
|
||||||
let AtomicBehavior;
|
let AtomicBehavior;
|
||||||
((AtomicBehavior2) => {
|
((AtomicBehavior2) => {
|
||||||
AtomicBehavior2[AtomicBehavior2["Lock"] = 0] = "Lock";
|
AtomicBehavior2[AtomicBehavior2["Lock"] = 0] = "Lock";
|
||||||
|
@ -26472,8 +26474,12 @@ async function copyFileViaIndex(prelayout, postlayout, destinationFs, destinatio
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
postlayout.push(async () => {
|
postlayout.push(async () => {
|
||||||
if (!indexStat)
|
if (!indexStat) {
|
||||||
await destinationFs.lutimesPromise(indexPath, defaultTime, defaultTime);
|
await destinationFs.lutimesPromise(indexPath, defaultTime, defaultTime);
|
||||||
|
if (sourceMode !== defaultMode) {
|
||||||
|
await destinationFs.chmodPromise(indexPath, sourceMode);
|
||||||
|
}
|
||||||
|
}
|
||||||
if (tempPath && !tempPathCleaned) {
|
if (tempPath && !tempPathCleaned) {
|
||||||
await destinationFs.unlinkPromise(tempPath);
|
await destinationFs.unlinkPromise(tempPath);
|
||||||
}
|
}
|
||||||
|
@ -28677,6 +28683,8 @@ class VirtualFS extends ProxiedFS {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const URL = Number(process.versions.node.split('.', 1)[0]) < 20 ? url.URL : globalThis.URL;
|
||||||
|
|
||||||
class NodePathFS extends ProxiedFS {
|
class NodePathFS extends ProxiedFS {
|
||||||
constructor(baseFs) {
|
constructor(baseFs) {
|
||||||
super(npath);
|
super(npath);
|
||||||
|
@ -28688,7 +28696,7 @@ class NodePathFS extends ProxiedFS {
|
||||||
mapToBase(path) {
|
mapToBase(path) {
|
||||||
if (typeof path === `string`)
|
if (typeof path === `string`)
|
||||||
return path;
|
return path;
|
||||||
if (path instanceof url.URL)
|
if (path instanceof URL)
|
||||||
return url.fileURLToPath(path);
|
return url.fileURLToPath(path);
|
||||||
if (Buffer.isBuffer(path)) {
|
if (Buffer.isBuffer(path)) {
|
||||||
const str = path.toString();
|
const str = path.toString();
|
||||||
|
@ -30254,8 +30262,10 @@ class ZipFS extends BasePortableFakeFS {
|
||||||
throw new Error(`Incomplete read`);
|
throw new Error(`Incomplete read`);
|
||||||
else if (rc > size)
|
else if (rc > size)
|
||||||
throw new Error(`Overread`);
|
throw new Error(`Overread`);
|
||||||
const memory = this.libzip.HEAPU8.subarray(buffer, buffer + size);
|
let result = Buffer.from(this.libzip.HEAPU8.subarray(buffer, buffer + size));
|
||||||
return Buffer.from(memory);
|
if (process.env.YARN_IS_TEST_ENV && process.env.YARN_ZIP_DATA_EPILOGUE)
|
||||||
|
result = Buffer.concat([result, Buffer.from(process.env.YARN_ZIP_DATA_EPILOGUE)]);
|
||||||
|
return result;
|
||||||
} finally {
|
} finally {
|
||||||
this.libzip.free(buffer);
|
this.libzip.free(buffer);
|
||||||
}
|
}
|
||||||
|
@ -31313,7 +31323,7 @@ function applyPatch(pnpapi, opts) {
|
||||||
process.versions.pnp = String(pnpapi.VERSIONS.std);
|
process.versions.pnp = String(pnpapi.VERSIONS.std);
|
||||||
const moduleExports = require$$0__default.default;
|
const moduleExports = require$$0__default.default;
|
||||||
moduleExports.findPnpApi = (lookupSource) => {
|
moduleExports.findPnpApi = (lookupSource) => {
|
||||||
const lookupPath = lookupSource instanceof url.URL ? url.fileURLToPath(lookupSource) : lookupSource;
|
const lookupPath = lookupSource instanceof URL ? url.fileURLToPath(lookupSource) : lookupSource;
|
||||||
const apiPath = opts.manager.findApiPathFor(lookupPath);
|
const apiPath = opts.manager.findApiPathFor(lookupPath);
|
||||||
if (apiPath === null)
|
if (apiPath === null)
|
||||||
return null;
|
return null;
|
||||||
|
@ -31735,28 +31745,6 @@ function getPackageScopeConfig(resolved, readFileSyncFn) {
|
||||||
return packageConfig;
|
return packageConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
@license
|
|
||||||
Copyright Node.js contributors. All rights reserved.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to
|
|
||||||
deal in the Software without restriction, including without limitation the
|
|
||||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
||||||
IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
function throwImportNotDefined(specifier, packageJSONUrl, base) {
|
function throwImportNotDefined(specifier, packageJSONUrl, base) {
|
||||||
throw new ERR_PACKAGE_IMPORT_NOT_DEFINED(
|
throw new ERR_PACKAGE_IMPORT_NOT_DEFINED(
|
||||||
specifier,
|
specifier,
|
||||||
|
|
40
.pnp.loader.mjs
generated
40
.pnp.loader.mjs
generated
|
@ -109,8 +109,7 @@ async function copyImpl(prelayout, postlayout, destinationFs, destination, sourc
|
||||||
updated = await copySymlink(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts);
|
updated = await copySymlink(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default: {
|
||||||
{
|
|
||||||
throw new Error(`Unsupported file type (${sourceStat.mode})`);
|
throw new Error(`Unsupported file type (${sourceStat.mode})`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -175,7 +174,10 @@ async function copyFolder(prelayout, postlayout, destinationFs, destination, des
|
||||||
}
|
}
|
||||||
async function copyFileViaIndex(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts, linkStrategy) {
|
async function copyFileViaIndex(prelayout, postlayout, destinationFs, destination, destinationStat, sourceFs, source, sourceStat, opts, linkStrategy) {
|
||||||
const sourceHash = await sourceFs.checksumFilePromise(source, { algorithm: `sha1` });
|
const sourceHash = await sourceFs.checksumFilePromise(source, { algorithm: `sha1` });
|
||||||
const indexPath = destinationFs.pathUtils.join(linkStrategy.indexPath, sourceHash.slice(0, 2), `${sourceHash}.dat`);
|
const defaultMode = 420;
|
||||||
|
const sourceMode = sourceStat.mode & 511;
|
||||||
|
const indexFileName = `${sourceHash}${sourceMode !== defaultMode ? sourceMode.toString(8) : ``}`;
|
||||||
|
const indexPath = destinationFs.pathUtils.join(linkStrategy.indexPath, sourceHash.slice(0, 2), `${indexFileName}.dat`);
|
||||||
let AtomicBehavior;
|
let AtomicBehavior;
|
||||||
((AtomicBehavior2) => {
|
((AtomicBehavior2) => {
|
||||||
AtomicBehavior2[AtomicBehavior2["Lock"] = 0] = "Lock";
|
AtomicBehavior2[AtomicBehavior2["Lock"] = 0] = "Lock";
|
||||||
|
@ -231,8 +233,12 @@ async function copyFileViaIndex(prelayout, postlayout, destinationFs, destinatio
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
postlayout.push(async () => {
|
postlayout.push(async () => {
|
||||||
if (!indexStat)
|
if (!indexStat) {
|
||||||
await destinationFs.lutimesPromise(indexPath, defaultTime, defaultTime);
|
await destinationFs.lutimesPromise(indexPath, defaultTime, defaultTime);
|
||||||
|
if (sourceMode !== defaultMode) {
|
||||||
|
await destinationFs.chmodPromise(indexPath, sourceMode);
|
||||||
|
}
|
||||||
|
}
|
||||||
if (tempPath && !tempPathCleaned) {
|
if (tempPath && !tempPathCleaned) {
|
||||||
await destinationFs.unlinkPromise(tempPath);
|
await destinationFs.unlinkPromise(tempPath);
|
||||||
}
|
}
|
||||||
|
@ -1392,6 +1398,8 @@ 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] = 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 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 HAS_LAZY_LOADED_TRANSLATORS = major === 20 && minor < 6 || major === 19 && minor >= 3;
|
||||||
|
@ -1432,7 +1440,7 @@ async function tryReadFile$1(path2) {
|
||||||
}
|
}
|
||||||
function tryParseURL(str, base) {
|
function tryParseURL(str, base) {
|
||||||
try {
|
try {
|
||||||
return new URL$1(str, base);
|
return new URL(str, base);
|
||||||
} catch {
|
} catch {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -1676,28 +1684,6 @@ function getPackageScopeConfig(resolved, readFileSyncFn) {
|
||||||
return packageConfig;
|
return packageConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
@license
|
|
||||||
Copyright Node.js contributors. All rights reserved.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to
|
|
||||||
deal in the Software without restriction, including without limitation the
|
|
||||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
||||||
IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
function throwImportNotDefined(specifier, packageJSONUrl, base) {
|
function throwImportNotDefined(specifier, packageJSONUrl, base) {
|
||||||
throw new ERR_PACKAGE_IMPORT_NOT_DEFINED(
|
throw new ERR_PACKAGE_IMPORT_NOT_DEFINED(
|
||||||
specifier,
|
specifier,
|
||||||
|
|
BIN
.yarn/cache/@swc-core-android-arm64-npm-1.3.11-907d2c4730-8fd67b4985.zip
(Stored with Git LFS)
vendored
Normal file
BIN
.yarn/cache/@swc-core-android-arm64-npm-1.3.11-907d2c4730-8fd67b4985.zip
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
|
@ -1,7 +1,8 @@
|
||||||
compressionLevel: mixed
|
compressionLevel: mixed
|
||||||
|
|
||||||
enableGlobalCache: false
|
enableGlobalCache: false
|
||||||
|
|
||||||
nodeLinker: pnp
|
nodeLinker: pnp
|
||||||
pnpMode: strict
|
|
||||||
|
|
||||||
npmScopes:
|
npmScopes:
|
||||||
iceshrimp:
|
iceshrimp:
|
||||||
|
@ -10,8 +11,8 @@ npmScopes:
|
||||||
packageExtensions:
|
packageExtensions:
|
||||||
consolidate@^0.16.0:
|
consolidate@^0.16.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
pug: 3.0.2
|
|
||||||
ejs: ^3.1.7
|
ejs: ^3.1.7
|
||||||
|
pug: 3.0.2
|
||||||
debug@*:
|
debug@*:
|
||||||
dependencies:
|
dependencies:
|
||||||
supports-color: ^8.0.0
|
supports-color: ^8.0.0
|
||||||
|
@ -25,6 +26,8 @@ packageExtensions:
|
||||||
dependencies:
|
dependencies:
|
||||||
bufferutil: ^4.0.1
|
bufferutil: ^4.0.1
|
||||||
|
|
||||||
|
pnpMode: strict
|
||||||
|
|
||||||
supportedArchitectures:
|
supportedArchitectures:
|
||||||
cpu:
|
cpu:
|
||||||
- current
|
- current
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
"typescript": "5.1.6",
|
"typescript": "5.1.6",
|
||||||
"yaml": "^2.3.4"
|
"yaml": "^2.3.4"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.0.2",
|
"packageManager": "yarn@4.1.0",
|
||||||
"dependenciesMeta": {
|
"dependenciesMeta": {
|
||||||
"@discordapp/twemoji@14.1.2": {
|
"@discordapp/twemoji@14.1.2": {
|
||||||
"unplugged": true
|
"unplugged": true
|
||||||
|
|
Loading…
Reference in a new issue