Socket
Socket
Sign inDemoInstall

react-native-confirmation-code-field

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-confirmation-code-field - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Change Log

## 2.0.4
- Fix Flow.js types
- Fix spread non-iterable instance [#24](https://github.com/retyui/react-native-confirmation-code-field/pull/24)
## 2.0.1

@@ -7,0 +12,0 @@

2

package.json
{
"name": "react-native-confirmation-code-field",
"version": "2.0.3",
"version": "2.0.4",
"main": "src/components/ConfirmationCodeInput/index.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -216,3 +216,6 @@ // @flow

const newCodeSymbols = this.normalizeNewCode([...codeSymbols, ...text]);
const newCodeSymbols = this.normalizeNewCode([
...codeSymbols,
...text.split(''),
]);
const currentIndex = this.getCurrentIndex(newCodeSymbols);

@@ -219,0 +222,0 @@

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