Socket
Socket
Sign inDemoInstall

@definitelytyped/header-parser

Package Overview
Dependencies
122
Maintainers
8
Versions
227
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.1 to 0.2.2

6

CHANGELOG.md
# @definitelytyped/header-parser
## 0.2.2
### Patch Changes
- 4216821: Add @arethetypeswrong/cli run
## 0.2.1

@@ -4,0 +10,0 @@

2

dist/index.d.ts
import { AllTypeScriptVersion, TypeScriptVersion } from "@definitelytyped/typescript-versions";
export interface Header {
readonly nonNpm: boolean;
readonly nonNpm: boolean | "conflict";
readonly nonNpmDescription?: string;

@@ -5,0 +5,0 @@ readonly name: string;

@@ -197,4 +197,4 @@ "use strict";

if (packageJson.nonNpm !== undefined) {
if (packageJson.nonNpm !== true) {
errors.push(`${typesDirectoryName}'s package.json has bad "nonNpm": must be true if present.`);
if (packageJson.nonNpm !== true && packageJson.nonNpm !== "conflict") {
errors.push(`${typesDirectoryName}'s package.json has bad "nonNpm": must be true or "conflict" if present.`);
}

@@ -208,3 +208,3 @@ else if (!packageJson.nonNpmDescription) {

else {
return true;
return packageJson.nonNpm;
}

@@ -211,0 +211,0 @@ return { errors };

{
"name": "@definitelytyped/header-parser",
"version": "0.2.1",
"version": "0.2.2",
"description": "",

@@ -5,0 +5,0 @@ "author": "Nathan Shively-Sanders <nathansa@microsoft.com>",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc