Socket
Socket
Sign inDemoInstall

react-numeric

Package Overview
Dependencies
6
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

10

package.json
{
"name": "react-numeric",
"version": "0.0.1",
"main": "index.js",
"description": "A React component for choosing dates and date ranges.",
"version": "0.0.2",
"repository": {
"type": "git",
"url": "https://github.com/mkg0/react-numeric"
},
"main": "dist/index.js",
"keywords": [

@@ -19,2 +24,3 @@ "autonumeric",

],
"author": "Mehmet Kamil Morcay <mehmetmorcay@gmail.com> (https://github.com/mkg0)",
"license": "MIT",

@@ -21,0 +27,0 @@ "dependencies": {

4

src/index.js

@@ -40,2 +40,4 @@ import React from "react";

onChange={event => this.props.onChange(event, this.getValue())}
className={this.props.className}
style={this.props.style}
/>

@@ -48,2 +50,4 @@ );

type: PropTypes.oneOf(["text", "tel", "hidden"]),
className: PropTypes.string,
style: PropTypes.object,
allowDecimalPadding: PropTypes.bool,

@@ -50,0 +54,0 @@ caretPositionOnFocus: PropTypes.number,

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