Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jb-date-input

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jb-date-input - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

3

dist/JBDateInput.js

@@ -165,2 +165,3 @@ import 'jb-calendar';

let minDate;
debugger;
//create min date base on input value type

@@ -204,2 +205,3 @@ if (this.valueType == "GREGORIAN") {

inputChar(char, pos) {
this.inputRegex.lastIndex = 0;
let newValueArr = this._inputValue.split('');

@@ -209,3 +211,2 @@ newValueArr[pos] = char;

const res = this.inputRegex.test(newValue);
this.inputRegex.lastIndex = 0;
if (res) {

@@ -212,0 +213,0 @@ this._inputValue = newValue;

@@ -200,2 +200,3 @@ /* eslint-disable no-redeclare */

inputChar(char, pos) {
this.inputRegex.lastIndex = 0;
let newValueArr = this._inputValue.split('');

@@ -205,3 +206,2 @@ newValueArr[pos] = char;

const res = this.inputRegex.test(newValue);
this.inputRegex.lastIndex = 0;
if (res) {

@@ -208,0 +208,0 @@ this._inputValue = newValue;

@@ -18,3 +18,3 @@ {

],
"version": "1.0.4",
"version": "1.0.5",
"bugs": "https://github.com/javadbat/jb-date-input/issues",

@@ -21,0 +21,0 @@ "license": "MIT",

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