Socket
Socket
Sign inDemoInstall

react-imask

Package Overview
Dependencies
7
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.6.2 to 6.6.3

5

dist/react-imask.js

@@ -138,6 +138,9 @@ (function (global, factory) {

_extractNonMaskProps(props) {
const cloneProps = Object.assign({}, (_objectDestructuringEmpty(props), props));
const _ref = props,
cloneProps = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
MASK_PROPS_NAMES.forEach(maskProp => {
delete cloneProps[maskProp];
});
if (!('defaultValue' in cloneProps)) cloneProps.defaultValue = props.mask ? '' : cloneProps.value;
delete cloneProps.value;
return cloneProps;

@@ -144,0 +147,0 @@ }

@@ -115,6 +115,9 @@ import { a as _objectDestructuringEmpty } from './_rollupPluginBabelHelpers-2cac7098.js';

_extractNonMaskProps(props) {
const cloneProps = Object.assign({}, (_objectDestructuringEmpty(props), props));
const _ref = props,
cloneProps = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
MASK_PROPS_NAMES.forEach(maskProp => {
delete cloneProps[maskProp];
});
if (!('defaultValue' in cloneProps)) cloneProps.defaultValue = props.mask ? '' : cloneProps.value;
delete cloneProps.value;
return cloneProps;

@@ -121,0 +124,0 @@ }

6

package.json
{
"name": "react-imask",
"version": "6.6.2",
"version": "6.6.3",
"license": "MIT",

@@ -23,3 +23,3 @@ "author": "Alexey Kryazhev",

"dependencies": {
"imask": "^6.6.2",
"imask": "^6.6.3",
"prop-types": "^15.8.1"

@@ -33,3 +33,3 @@ },

},
"gitHead": "1d54172d7ba720e80be6c95470a5a13b839fa7ba",
"gitHead": "39b147d9b1d457804409ff8c636f476ed8b5f916",
"devDependencies": {

@@ -36,0 +36,0 @@ "@types/react": "^18.0.20",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc