@yarnpkg/core
Advanced tools
Comparing version 4.0.0-rc.53 to 4.0.0
@@ -182,2 +182,3 @@ /// <reference types="node" /> | ||
export type PackageExtensionData = miscUtils.MapValueToObjectValue<miscUtils.MapValue<ConfigurationValueMap['packageExtensions']>>; | ||
export type PackageExtensions = Map<IdentHash, Array<[string, Array<PackageExtension>]>>; | ||
type SimpleDefinitionForType<T> = SimpleSettingsDefinition & { | ||
@@ -225,3 +226,2 @@ type: (T extends boolean ? SettingsType.BOOLEAN : never) | (T extends number ? SettingsType.NUMBER : never) | (T extends PortablePath ? SettingsType.ABSOLUTE_PATH : never) | (T extends string ? SettingsType.LOCATOR | SettingsType.LOCATOR_LOOSE | SettingsType.SECRET | SettingsType.STRING : never) | SettingsType.ANY; | ||
env: Record<string, string | undefined>; | ||
packageExtensions: Map<IdentHash, Array<[string, Array<PackageExtension>]>>; | ||
limits: Map<string, Limit>; | ||
@@ -316,7 +316,13 @@ /** | ||
getSupportedArchitectures(): nodeUtils.ArchitectureSet; | ||
refreshPackageExtensions(): Promise<void>; | ||
private packageExtensions; | ||
/** | ||
* Computes and caches the package extensions. | ||
*/ | ||
getPackageExtensions(): Promise<PackageExtensions>; | ||
normalizeLocator(locator: Locator): Locator; | ||
normalizeDependency(dependency: Descriptor): Descriptor; | ||
normalizeDependencyMap<TKey>(dependencyMap: Map<TKey, Descriptor>): Map<TKey, Descriptor>; | ||
normalizePackage(original: Package): Package; | ||
normalizePackage(original: Package, { packageExtensions }: { | ||
packageExtensions: PackageExtensions; | ||
}): Package; | ||
getLimit<K extends miscUtils.FilterKeys<ConfigurationValueMap, number>>(key: K): Limit; | ||
@@ -323,0 +329,0 @@ triggerHook<U extends Array<any>, V, HooksDefinition = Hooks>(get: (hooks: HooksDefinition) => ((...args: U) => V) | undefined, ...args: U): Promise<void>; |
@@ -16,3 +16,3 @@ import * as execUtils from './execUtils'; | ||
export { Configuration, FormatType, SettingsType, WindowsLinkType } from './Configuration'; | ||
export type { PluginConfiguration, SettingsDefinition, PackageExtensionData } from './Configuration'; | ||
export type { PluginConfiguration, SettingsDefinition, PackageExtensionData, PackageExtensions } from './Configuration'; | ||
export type { ConfigurationValueMap, ConfigurationDefinitionMap } from './Configuration'; | ||
@@ -19,0 +19,0 @@ export type { Fetcher, FetchOptions, FetchResult, MinimalFetchOptions } from './Fetcher'; |
@@ -66,3 +66,3 @@ /// <reference types="node" /> | ||
hasTitle: boolean; | ||
setTitle: import("lodash").DebouncedFunc<(title: string) => void>; | ||
setTitle: (title: string) => void; | ||
}; | ||
@@ -69,0 +69,0 @@ startProgressPromise<T, P extends ProgressIterable>(progressIt: P, cb: (progressIt: P) => Promise<T>): Promise<T>; |
{ | ||
"name": "@yarnpkg/core", | ||
"version": "4.0.0-rc.53", | ||
"stableVersion": "3.5.4", | ||
"version": "4.0.0", | ||
"license": "BSD-2-Clause", | ||
@@ -16,6 +15,6 @@ "main": "./lib/index.js", | ||
"@types/treeify": "^1.0.0", | ||
"@yarnpkg/fslib": "^3.0.0-rc.53", | ||
"@yarnpkg/libzip": "^3.0.0-rc.53", | ||
"@yarnpkg/parsers": "^3.0.0-rc.53", | ||
"@yarnpkg/shell": "^4.0.0-rc.53", | ||
"@yarnpkg/fslib": "^3.0.0", | ||
"@yarnpkg/libzip": "^3.0.0", | ||
"@yarnpkg/parsers": "^3.0.0", | ||
"@yarnpkg/shell": "^4.0.0", | ||
"camelcase": "^5.3.1", | ||
@@ -53,6 +52,6 @@ "chalk": "^3.0.0", | ||
"@types/tunnel": "^0.0.0", | ||
"@yarnpkg/cli": "^4.0.0-rc.53", | ||
"@yarnpkg/plugin-link": "^3.0.0-rc.53", | ||
"@yarnpkg/plugin-npm": "^3.0.0-rc.53", | ||
"@yarnpkg/plugin-pnp": "^4.0.0-rc.53", | ||
"@yarnpkg/cli": "^4.0.0", | ||
"@yarnpkg/plugin-link": "^3.0.0", | ||
"@yarnpkg/plugin-npm": "^3.0.0", | ||
"@yarnpkg/plugin-pnp": "^4.0.0", | ||
"comment-json": "^2.2.0", | ||
@@ -59,0 +58,0 @@ "esbuild": "npm:esbuild-wasm@^0.15.15", |
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
800359
14701
2
Updated@yarnpkg/fslib@^3.0.0
Updated@yarnpkg/libzip@^3.0.0
Updated@yarnpkg/parsers@^3.0.0
Updated@yarnpkg/shell@^4.0.0