New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rnx-kit/align-deps

Package Overview
Dependencies
Maintainers
7
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rnx-kit/align-deps - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

12

lib/commands/vigilant.d.ts
import type { PackageManifest } from "@rnx-kit/tools-node/package";
import type { AlignDepsConfig, Changes, ErrorCode, ManifestProfile, Options } from "../types";
type Report = {
changes: Changes;
changesCount: number;
unmanagedDependencies: [string, string][];
errors: Changes;
errorCount: number;
warnings: Changes["capabilities"];
};

@@ -24,6 +24,6 @@ /**

* @param profile The desired profile to compare against
* @param write Whether misaligned dependencies should be updated
* @param options Whether misaligned dependencies should be updated
* @returns A list of misaligned dependencies
*/
export declare function inspect(manifest: PackageManifest, profile: ManifestProfile, write: boolean): Report;
export declare function inspect(manifest: PackageManifest, profile: ManifestProfile, { noUnmanaged, write }: Pick<Options, "noUnmanaged" | "write">): Report;
/**

@@ -42,3 +42,3 @@ * Checks the specified package manifest for misaligned dependencies in place.

*/
export declare function checkPackageManifestUnconfigured(manifestPath: string, { excludePackages, noUnmanaged, write }: Options, config: AlignDepsConfig, logError?: {
export declare function checkPackageManifestUnconfigured(manifestPath: string, options: Options, config: AlignDepsConfig, logError?: {
(...data: any[]): void;

@@ -45,0 +45,0 @@ (message?: any, ...optionalParams: any[]): void;

import type { PackageManifest } from "@rnx-kit/tools-node/package";
import type { Changes } from "./types";
export declare function diff(manifest: PackageManifest, updatedManifest: PackageManifest): Changes | undefined;
export declare function stringify(allChanges: Changes, output?: string[]): string;
export declare function stringify(allChanges: Partial<Changes>, output?: string[]): string;
//# sourceMappingURL=diff.d.ts.map
import type { PackageManifest } from "@rnx-kit/tools-node/package";
export declare const dependencySections: readonly ["dependencies", "peerDependencies", "devDependencies"];
export declare function compare<T>(lhs: T, rhs: T): -1 | 0 | 1;

@@ -3,0 +4,0 @@ export declare function dropPatchFromVersion(version: string): string;

@@ -25,2 +25,7 @@ import type { Capability, KitConfig, KitType } from "@rnx-kit/config";

devDependencies: Change[];
capabilities: {
type: "unmanaged";
dependency: string;
capability: string;
}[];
};

@@ -48,3 +53,3 @@ export type Options = {

export type DependencyType = "direct" | "development" | "peer";
export type ErrorCode = "success" | "excluded" | "invalid-app-requirements" | "invalid-configuration" | "invalid-manifest" | "missing-react-native" | "not-configured" | "unmanaged-capabilities" | "unsatisfied";
export type ErrorCode = "success" | "excluded" | "invalid-app-requirements" | "invalid-configuration" | "invalid-manifest" | "missing-react-native" | "not-configured" | "unsatisfied";
export type Command = (manifest: string) => ErrorCode;

@@ -51,0 +56,0 @@ export type MetaPackage = {

{
"name": "@rnx-kit/align-deps",
"version": "2.4.0",
"version": "2.4.1",
"description": "Manage dependencies within a repository and across many repositories",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/microsoft/rnx-kit/tree/main/packages/align-deps#readme",

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