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

@maskito/kit

Package Overview
Dependencies
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maskito/kit - npm Package Compare versions

Comparing version 0.7.2 to 0.8.0

src/lib/masks/date-range/processors/min-max-range-length-postprocessor.d.ts

4

package.json
{
"name": "@maskito/kit",
"version": "0.7.2",
"version": "0.8.0",
"description": "The optional framework-agnostic Maskito's package with ready-to-use masks",

@@ -33,3 +33,3 @@ "keywords": [

"peerDependencies": {
"@maskito/core": "^0.7.2"
"@maskito/core": "^0.8.0"
},

@@ -36,0 +36,0 @@ "main": "./src/index.js",

import { maskitoPipe } from '@maskito/core';
import { CHAR_EN_DASH, CHAR_NO_BREAK_SPACE } from '../../constants';
import { createMinMaxDatePostprocessor, createValidDatePreprocessor, createZeroPlaceholdersPreprocessor, } from '../../processors';
import { createMinMaxRangeLengthPostprocessor } from './min-max-range-length-postprocessor';
import { createMinMaxRangeLengthPostprocessor } from './processors/min-max-range-length-postprocessor';
import { createSwapDatesPostprocessor } from './processors/swap-dates-postprocessor';
const DATE_RANGE_SEPARATOR = `${CHAR_NO_BREAK_SPACE}${CHAR_EN_DASH}${CHAR_NO_BREAK_SPACE}`;

@@ -29,2 +30,5 @@ export function maskitoDateRangeOptionsGenerator({ mode, separator = '.', min, max, minLength, maxLength, }) {

datesSeparator: DATE_RANGE_SEPARATOR,
}), createSwapDatesPostprocessor({
dateModeTemplate,
datesSeparator: DATE_RANGE_SEPARATOR,
})),

@@ -31,0 +35,0 @@ };

Sorry, the diff of this file is not supported yet

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