Socket
Socket
Sign inDemoInstall

@maskito/core

Package Overview
Dependencies
Maintainers
4
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maskito/core - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

4

index.cjs.js

@@ -135,3 +135,5 @@ 'use strict';

value,
selection: computedMode === 'replace' ? [from, from + newCharacters.length] : [from, to],
selection: computedMode === 'replace'
? [from, Math.max(from + newCharacters.length, to)]
: [from, to],
};

@@ -138,0 +140,0 @@ }

@@ -133,3 +133,5 @@ function getContentEditableSelection(element) {

value,
selection: computedMode === 'replace' ? [from, from + newCharacters.length] : [from, to],
selection: computedMode === 'replace'
? [from, Math.max(from + newCharacters.length, to)]
: [from, to],
};

@@ -136,0 +138,0 @@ }

{
"name": "@maskito/core",
"version": "3.0.2",
"version": "3.0.3",
"description": "The main zero-dependency and framework-agnostic Maskito's package to create an input mask",

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

Sorry, the diff of this file is not supported yet

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