New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-masked-text

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-masked-text - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

17

lib/text-input-mask.js

@@ -10,12 +10,3 @@ import React, { Component } from 'react';

let Input = TextInput
let customTextInputProps = {}
export default class TextInputMask extends BaseTextComponent {
constructor(props) {
super(props);
if (props.customTextInput) Input = props.customTextInput
if (props.customTextInputProps) customTextInputProps = props.customTextInputProps
}
getElement() {

@@ -53,2 +44,10 @@ return this.refs[INPUT_TEXT_REF];

render() {
let Input = TextInput
let customTextInputProps = {}
if (this.props.customTextInput) {
Input = this.props.customTextInput
customTextInputProps = this.props.customTextInputProps || {}
}
return (

@@ -55,0 +54,0 @@ <Input

{
"name": "react-native-masked-text",
"version": "1.6.0",
"version": "1.6.1",
"description": "Text and TextInput with mask for React Native applications",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -407,2 +407,5 @@ # react-native-masked-text

# Changelog
## 1.6.1
* Fixing duplicated custom text input component. (thanks to [Pablo](https://github.com/rochapablo))
## 1.6.0

@@ -409,0 +412,0 @@ * Add compatibility to [react-native-textinput-effects](https://github.com/halilb/react-native-textinput-effects) by using `customTextInputProps` (thanks to [Pablo](https://github.com/rochapablo))

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc