Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@yarnpkg/core

Package Overview
Dependencies
Maintainers
6
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/core - npm Package Compare versions

Comparing version 4.0.0-rc.53 to 4.0.0

12

lib/Configuration.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc