Socket
Socket
Sign inDemoInstall

rc-input-number

Package Overview
Dependencies
12
Maintainers
8
Versions
216
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.1 to 8.0.2

5

es/index.d.ts

@@ -1,3 +0,4 @@

import InputNumber, { InputNumberProps } from './InputNumber';
export type { InputNumberProps };
import type { InputNumberProps, ValueType } from './InputNumber';
import InputNumber from './InputNumber';
export type { InputNumberProps, ValueType };
export default InputNumber;

1

es/InputNumber.d.ts
import { ValueType } from '@rc-component/mini-decimal';
import * as React from 'react';
export type { ValueType };
export interface InputNumberProps<T extends ValueType = ValueType> extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'onInput' | 'onChange' | 'prefix' | 'suffix'> {

@@ -4,0 +5,0 @@ /** value will show as string */

@@ -19,3 +19,2 @@ import _extends from "@babel/runtime/helpers/esm/extends";

import useFrame from "./hooks/useFrame";
/**

@@ -22,0 +21,0 @@ * We support `stringMode` which need handle correct type when user call in onChange

@@ -1,3 +0,4 @@

import InputNumber, { InputNumberProps } from './InputNumber';
export type { InputNumberProps };
import type { InputNumberProps, ValueType } from './InputNumber';
import InputNumber from './InputNumber';
export type { InputNumberProps, ValueType };
export default InputNumber;
import { ValueType } from '@rc-component/mini-decimal';
import * as React from 'react';
export type { ValueType };
export interface InputNumberProps<T extends ValueType = ValueType> extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'onInput' | 'onChange' | 'prefix' | 'suffix'> {

@@ -4,0 +5,0 @@ /** value will show as string */

{
"name": "rc-input-number",
"version": "8.0.1",
"version": "8.0.2",
"description": "React input-number component",

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

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