@yarnpkg/core
Advanced tools
Comparing version 3.5.0 to 3.5.1
@@ -57,2 +57,4 @@ "use strict"; | ||
`confDir`, | ||
// "YARN_REGISTRY", read by yarn 1.x, prevents yarn 2+ installations if set | ||
`registry`, | ||
]); | ||
@@ -59,0 +61,0 @@ exports.ENVIRONMENT_PREFIX = `yarn_`; |
@@ -7,3 +7,3 @@ import { Fetcher, FetchOptions, MinimalFetchOptions } from './Fetcher'; | ||
supports(locator: Locator, opts: MinimalFetchOptions): boolean; | ||
getLocalPath(locator: Locator, opts: FetchOptions): import("../../yarnpkg-fslib/sources").PortablePath | null; | ||
getLocalPath(locator: Locator, opts: FetchOptions): import("@yarnpkg/fslib").PortablePath | null; | ||
fetch(locator: Locator, opts: FetchOptions): Promise<import("./Fetcher").FetchResult>; | ||
@@ -10,0 +10,0 @@ private tryFetcher; |
@@ -165,2 +165,4 @@ import { PortablePath } from '@yarnpkg/fslib'; | ||
private refreshWorkspaceDependencies; | ||
private deleteDescriptor; | ||
private deleteLocator; | ||
forgetResolution(descriptor: Descriptor): void; | ||
@@ -167,0 +169,0 @@ forgetResolution(locator: Locator): void; |
@@ -36,2 +36,4 @@ "use strict"; | ||
const patterns = this.manifest.workspaceDefinitions.map(({ pattern }) => pattern); | ||
if (patterns.length === 0) | ||
return; | ||
const relativeCwds = await (0, globby_1.default)(patterns, { | ||
@@ -46,8 +48,11 @@ cwd: fslib_1.npath.fromPortablePath(this.cwd), | ||
relativeCwds.sort(); | ||
for (const relativeCwd of relativeCwds) { | ||
await relativeCwds.reduce(async (previousTask, relativeCwd) => { | ||
const candidateCwd = fslib_1.ppath.resolve(this.cwd, fslib_1.npath.toPortablePath(relativeCwd)); | ||
if (fslib_1.xfs.existsSync(fslib_1.ppath.join(candidateCwd, `package.json`))) { | ||
const exists = await fslib_1.xfs.existsPromise(fslib_1.ppath.join(candidateCwd, `package.json`)); | ||
// Ensure candidateCwds are added in order | ||
await previousTask; | ||
if (exists) { | ||
this.workspacesCwds.add(candidateCwd); | ||
} | ||
} | ||
}, Promise.resolve()); | ||
} | ||
@@ -54,0 +59,0 @@ accepts(range) { |
{ | ||
"name": "@yarnpkg/core", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"license": "BSD-2-Clause", | ||
@@ -11,7 +11,7 @@ "main": "./lib/index.js", | ||
"@types/treeify": "^1.0.0", | ||
"@yarnpkg/fslib": "^2.10.2", | ||
"@yarnpkg/fslib": "^2.10.3", | ||
"@yarnpkg/json-proxy": "^2.1.1", | ||
"@yarnpkg/libzip": "^2.3.0", | ||
"@yarnpkg/parsers": "^2.5.1", | ||
"@yarnpkg/pnp": "^3.3.1", | ||
"@yarnpkg/pnp": "^3.3.2", | ||
"@yarnpkg/shell": "^3.2.5", | ||
@@ -53,7 +53,7 @@ "camelcase": "^5.3.1", | ||
"@types/tunnel": "^0.0.0", | ||
"@yarnpkg/cli": "^3.5.0", | ||
"@yarnpkg/cli": "^3.5.1", | ||
"@yarnpkg/plugin-link": "^2.2.1", | ||
"@yarnpkg/plugin-npm": "^2.7.3", | ||
"@yarnpkg/plugin-pnp": "^3.2.8", | ||
"esbuild": "npm:esbuild-wasm@^0.15.5", | ||
"@yarnpkg/plugin-pnp": "^3.2.9", | ||
"esbuild": "npm:esbuild-wasm@^0.15.15", | ||
"rollup": "^2.59.0", | ||
@@ -60,0 +60,0 @@ "rollup-plugin-esbuild": "^3.0.2", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
756967
13380
+ Added@types/node@18.19.66(transitive)
- Removed@types/node@18.19.64(transitive)
Updated@yarnpkg/fslib@^2.10.3
Updated@yarnpkg/pnp@^3.3.2