Socket
Socket
Sign inDemoInstall

@types/normalize-package-data

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.4.0 to 2.4.1

42

normalize-package-data/index.d.ts

@@ -16,5 +16,5 @@ // Type definitions for normalize-package-data 2.4

interface Person {
name?: string;
email?: string;
url?: string;
name?: string | undefined;
email?: string | undefined;
url?: string | undefined;
}

@@ -26,20 +26,20 @@

version: string;
files?: string[];
bin?: {[k: string]: string };
man?: string[];
keywords?: string[];
author?: Person;
maintainers?: Person[];
contributors?: Person[];
bundleDependencies?: {[name: string]: string; };
dependencies?: {[name: string]: string; };
devDependencies?: {[name: string]: string; };
optionalDependencies?: {[name: string]: string; };
description?: string;
engines?: {[type: string]: string };
license?: string;
repository?: { type: string, url: string };
bugs?: { url: string, email?: string } | { url?: string, email: string };
homepage?: string;
scripts?: {[k: string]: string};
files?: string[] | undefined;
bin?: {[k: string]: string } | undefined;
man?: string[] | undefined;
keywords?: string[] | undefined;
author?: Person | undefined;
maintainers?: Person[] | undefined;
contributors?: Person[] | undefined;
bundleDependencies?: {[name: string]: string; } | undefined;
dependencies?: {[name: string]: string; } | undefined;
devDependencies?: {[name: string]: string; } | undefined;
optionalDependencies?: {[name: string]: string; } | undefined;
description?: string | undefined;
engines?: {[type: string]: string } | undefined;
license?: string | undefined;
repository?: { type: string, url: string } | undefined;
bugs?: { url: string, email?: string | undefined } | { url?: string | undefined, email: string } | undefined;
homepage?: string | undefined;
scripts?: {[k: string]: string} | undefined;
readme: string;

@@ -46,0 +46,0 @@ _id: string;

{
"name": "@types/normalize-package-data",
"version": "2.4.0",
"version": "2.4.1",
"description": "TypeScript definitions for normalize-package-data",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/normalize-package-data",
"license": "MIT",

@@ -14,10 +15,12 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/normalize-package-data"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "5d2101e9e55c73e1d649a6c311e0d40bdfaa25bb06bb75ea6f3bb0d149c1303b",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "10653410655e204616118acfbe2900dc09227bc3a80c532a93d44b46be54db36",
"typeScriptVersion": "3.6"
}

@@ -8,6 +8,56 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/normalize-package-data
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/normalize-package-data.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/normalize-package-data/index.d.ts)
````ts
// Type definitions for normalize-package-data 2.4
// Project: https://github.com/npm/normalize-package-data#readme
// Definitions by: Jeff Dickey <https://github.com/jdxcode>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Sun, 07 Jan 2018 07:34:38 GMT
export = normalize;
declare function normalize(data: normalize.Input, warn?: normalize.WarnFn, strict?: boolean): void;
declare function normalize(data: normalize.Input, strict?: boolean): void;
declare namespace normalize {
type WarnFn = (msg: string) => void;
interface Input {[k: string]: any; }
interface Person {
name?: string | undefined;
email?: string | undefined;
url?: string | undefined;
}
interface Package {
[k: string]: any;
name: string;
version: string;
files?: string[] | undefined;
bin?: {[k: string]: string } | undefined;
man?: string[] | undefined;
keywords?: string[] | undefined;
author?: Person | undefined;
maintainers?: Person[] | undefined;
contributors?: Person[] | undefined;
bundleDependencies?: {[name: string]: string; } | undefined;
dependencies?: {[name: string]: string; } | undefined;
devDependencies?: {[name: string]: string; } | undefined;
optionalDependencies?: {[name: string]: string; } | undefined;
description?: string | undefined;
engines?: {[type: string]: string } | undefined;
license?: string | undefined;
repository?: { type: string, url: string } | undefined;
bugs?: { url: string, email?: string | undefined } | { url?: string | undefined, email: string } | undefined;
homepage?: string | undefined;
scripts?: {[k: string]: string} | undefined;
readme: string;
_id: string;
}
}
````
### Additional Details
* Last updated: Wed, 07 Jul 2021 16:31:34 GMT
* Dependencies: none

@@ -17,2 +67,2 @@ * Global values: none

# Credits
These definitions were written by Jeff Dickey <https://github.com/jdxcode>.
These definitions were written by [Jeff Dickey](https://github.com/jdxcode).

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