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

react-otpcode-input

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-otpcode-input - npm Package Compare versions

Comparing version 0.1.22 to 0.1.23

19

index.js

@@ -55,3 +55,3 @@ "use strict";

// import { SingleOTPInputProps } from "./lib/types";
var SingleOTPInput = _styledComponents["default"].input.attrs(_templateObject(), function (props) {
var SingleOTPInput = _styledComponents["default"].input(_templateObject(), function (props) {
return props.active ? "#2b2b2b" : "#e6e8ec";

@@ -82,12 +82,9 @@ });

}, identifiers.map(function (val, i) {
return _react["default"].createElement(_rebass.Box, {
key: i
}, "0") // <SingleOTPInput
// key={i}
// id={`otp_${i}`}
// value={otpValues[i] || ""}
// active={i === active}
// // autoFocus={i === active}
// />
;
return _react["default"].createElement(SingleOTPInput, {
key: i,
id: "otp_".concat(i),
value: otpValues[i] || "",
active: i === active // autoFocus={i === active}
});
})));

@@ -94,0 +91,0 @@ };

{
"name": "react-otpcode-input",
"version": "0.1.22",
"version": "0.1.23",
"description": "OTP Input Component",

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

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