New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@types/react-file-reader-input

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-file-reader-input - npm Package Compare versions

Comparing version
1.1.4
to
2.0.0
+8
-6
react-file-reader-input/index.d.ts

@@ -1,6 +0,8 @@

// Type definitions for react-file-reader-input 1.1
// Type definitions for react-file-reader-input 2.0
// Project: https://github.com/ngokevin/react-file-reader-input
// Definitions by: Dmitry Rogozhny <https://github.com/dmitryrogozhny>, Ali Taheri <https://github.com/alitaheri>
// Definitions by: Dmitry Rogozhny <https://github.com/dmitryrogozhny>,
// Ali Taheri <https://github.com/alitaheri>,
// bjoluc <https://github.com/bjoluc>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
// TypeScript Version: 3.5

@@ -16,3 +18,3 @@ import * as React from 'react';

interface Props {
interface Props extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
/**

@@ -27,3 +29,3 @@ * what format the `FileReader` should read the file as

/**
* Callback function called when the files are choosen by the user.
* Callback function called when the files are chosen by the user.
*

@@ -45,3 +47,3 @@ * Results will be an array of arrays, the size of which depending

*/
onChange(event: React.SyntheticEvent<any>, results: Result[]): void;
onChange(event: React.ChangeEvent<HTMLInputElement>, results: Result[]): void;
}

@@ -48,0 +50,0 @@ }

MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "@types/react-file-reader-input",
"version": "1.1.4",
"version": "2.0.0",
"description": "TypeScript definitions for react-file-reader-input",

@@ -16,9 +16,15 @@ "license": "MIT",

"githubUsername": "alitaheri"
},
{
"name": "bjoluc",
"url": "https://github.com/bjoluc",
"githubUsername": "bjoluc"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/react-file-reader-input"
},

@@ -29,4 +35,4 @@ "scripts": {},

},
"typesPublisherContentHash": "8a9649bece118337f549ffcd599041e445ce3897bc4f8f27ca6e5104a210f7d9",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "174ff462e6301ace9b6eb7afd1d36c52ac31d911e8d357ca7aecc14fb20c0b81",
"typeScriptVersion": "3.5"
}

@@ -5,13 +5,13 @@ # Installation

# Summary
This package contains type definitions for react-file-reader-input ( https://github.com/ngokevin/react-file-reader-input ).
This package contains type definitions for react-file-reader-input (https://github.com/ngokevin/react-file-reader-input).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-file-reader-input
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-file-reader-input.
Additional Details
* Last updated: Wed, 13 Feb 2019 21:04:55 GMT
* Dependencies: @types/react
### Additional Details
* Last updated: Wed, 10 Jun 2020 14:58:39 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)
* Global values: none
# Credits
These definitions were written by Dmitry Rogozhny <https://github.com/dmitryrogozhny>, Ali Taheri <https://github.com/alitaheri>.
These definitions were written by [Dmitry Rogozhny](https://github.com/dmitryrogozhny), [Ali Taheri](https://github.com/alitaheri), and [bjoluc](https://github.com/bjoluc).