mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 20:07:33 -07:00
[yarn] Update version to 4.3.1
This commit is contained in:
parent
ac535a5f0d
commit
5966778b95
2 changed files with 9 additions and 3 deletions
10
.pnp.loader.mjs
generated
10
.pnp.loader.mjs
generated
|
@ -6,7 +6,7 @@ import { URL as URL$1, fileURLToPath, pathToFileURL } from 'url';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { createHash } from 'crypto';
|
import { createHash } from 'crypto';
|
||||||
import { EOL } from 'os';
|
import { EOL } from 'os';
|
||||||
import moduleExports, { isBuiltin } from 'module';
|
import esmModule, { createRequire, isBuiltin } from 'module';
|
||||||
import assert from 'assert';
|
import assert from 'assert';
|
||||||
|
|
||||||
const SAFE_TIME = 456789e3;
|
const SAFE_TIME = 456789e3;
|
||||||
|
@ -1975,6 +1975,13 @@ function packageImportsResolve({ name, base, conditions, readFileSyncFn }) {
|
||||||
throwImportNotDefined(name, packageJSONUrl, base);
|
throwImportNotDefined(name, packageJSONUrl, base);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let findPnpApi = esmModule.findPnpApi;
|
||||||
|
if (!findPnpApi) {
|
||||||
|
const require = createRequire(import.meta.url);
|
||||||
|
const pnpApi = require(`./.pnp.cjs`);
|
||||||
|
pnpApi.setup();
|
||||||
|
findPnpApi = esmModule.findPnpApi;
|
||||||
|
}
|
||||||
const pathRegExp = /^(?![a-zA-Z]:[\\/]|\\\\|\.{0,2}(?:\/|$))((?:node:)?(?:@[^/]+\/)?[^/]+)\/*(.*|)$/;
|
const pathRegExp = /^(?![a-zA-Z]:[\\/]|\\\\|\.{0,2}(?:\/|$))((?:node:)?(?:@[^/]+\/)?[^/]+)\/*(.*|)$/;
|
||||||
const isRelativeRegexp = /^\.{0,2}\//;
|
const isRelativeRegexp = /^\.{0,2}\//;
|
||||||
function tryReadFile(filePath) {
|
function tryReadFile(filePath) {
|
||||||
|
@ -2002,7 +2009,6 @@ async function resolvePrivateRequest(specifier, issuer, context, nextResolve) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async function resolve$1(originalSpecifier, context, nextResolve) {
|
async function resolve$1(originalSpecifier, context, nextResolve) {
|
||||||
const { findPnpApi } = moduleExports;
|
|
||||||
if (!findPnpApi || isBuiltin(originalSpecifier))
|
if (!findPnpApi || isBuiltin(originalSpecifier))
|
||||||
return nextResolve(originalSpecifier, context, nextResolve);
|
return nextResolve(originalSpecifier, context, nextResolve);
|
||||||
let specifier = originalSpecifier;
|
let specifier = originalSpecifier;
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
"typescript": "5.1.6",
|
"typescript": "5.1.6",
|
||||||
"yaml": "^2.3.4"
|
"yaml": "^2.3.4"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.2.2",
|
"packageManager": "yarn@4.3.1",
|
||||||
"dependenciesMeta": {
|
"dependenciesMeta": {
|
||||||
"@discordapp/twemoji@14.1.2": {
|
"@discordapp/twemoji@14.1.2": {
|
||||||
"unplugged": true
|
"unplugged": true
|
||||||
|
|
Loading…
Reference in a new issue