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

npm-package-json-lint

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-package-json-lint - npm Package Compare versions

Comparing version 5.2.3 to 5.2.4

21

index.d.ts

@@ -23,5 +23,20 @@ interface LintIssue {

type Severity = 'error' | 'warning' | 'off';
type RuleConfig = Severity | [Severity, ...any[]];
type RuleSet = Record<string, RuleConfig>;
interface NpmPackageJsonLintConfig {
extends?: string | string[];
rules?: RuleSet;
overrides: {
patterns: string[];
rules: RuleSet;
}[];
}
type NpmPackageJsonLintOptions = {
cwd?: string;
config?: object;
config?: NpmPackageJsonLintConfig;
configFile?: string;

@@ -55,3 +70,5 @@ configBaseDirectory?: string;

LinterResult,
LintIssue
LintIssue,
Severity,
NpmPackageJsonLintConfig
};

2

package.json
{
"name": "npm-package-json-lint",
"version": "5.2.3",
"version": "5.2.4",
"description": "Configurable linter for package.json files.",

@@ -5,0 +5,0 @@ "keywords": [

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