Socket
Socket
Sign inDemoInstall

inputmask

Package Overview
Dependencies
0
Maintainers
1
Versions
185
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.8-beta.7 to 5.0.8-beta.15

CHANGELOG.md

0

bundle.js

@@ -0,0 +0,0 @@ import "./lib/extensions/inputmask.extensions";

@@ -0,0 +0,0 @@ import "./inputmask.js";

@@ -0,0 +0,0 @@ import "./inputmask.js";

@@ -0,0 +0,0 @@ const canUseDOM = !!(

@@ -0,0 +0,0 @@ import keyCode from "./keycode.json";

@@ -0,0 +0,0 @@ export default {

@@ -0,0 +0,0 @@ export default function (owner, key, value) {

@@ -0,0 +0,0 @@ import extend from "./extend";

@@ -0,0 +0,0 @@ export default function extend() {

4

lib/environment.js

@@ -5,6 +5,6 @@ import window from "./global/window";

ie = (ua.indexOf("MSIE ") > 0) || (ua.indexOf("Trident/") > 0),
mobile = "ontouchstart" in window, //not entirely correct but will currently do
mobile = window.navigator.maxTouchPoints || "ontouchstart" in window, //not entirely correct but will currently do
iemobile = /iemobile/i.test(ua),
iphone = /iphone/i.test(ua) && !iemobile;
export {ua, ie, mobile, iemobile, iphone};
export {ie, mobile, iemobile, iphone};

@@ -0,0 +0,0 @@ const escapeRegexRegex = new RegExp("(\\" + ["/", ".", "*", "+", "?", "|", "(", ")", "[", "]", "{", "}", "\\", "$", "^"].join("|\\") + ")", "gim");

@@ -190,3 +190,3 @@ import {

if (inputmask.isRTL) {
pasteValue = pasteValue.split("")
pasteValue = pasteValue.split("");
for (let c of getBufferTemplate.call(inputmask)) {

@@ -208,3 +208,3 @@ if (pasteValue[0] === c)

checkVal(input, true, false, pasteValue.toString().split(""), e);
e.preventDefault()
e.preventDefault();
},

@@ -211,0 +211,0 @@ inputFallBackEvent: function (e) { //fallback when keypress is not triggered

@@ -0,0 +0,0 @@ import Inputmask from "./inputmask";

import canUseDOM from "../canUseDOM";
export default canUseDOM ? window : {};

@@ -0,0 +0,0 @@ import keyCode from "./keycode.json";

@@ -81,5 +81,5 @@ /*

if (typeof elems === "string") {
elems = document.getElementById(elems) || document.querySelectorAll(elems);
elems = (document.getElementById(elems) || document.querySelectorAll(elems));
}
elems = elems.nodeName ? [elems] : (Array.isArray(elems) ? elems : Array.from(elems));
elems = elems.nodeName ? [elems] : (Array.isArray(elems) ? elems : [].slice.call(elems)); //[].slice as alternate for Array.from (Yandex browser)
elems.forEach(function (el, ndx) {

@@ -86,0 +86,0 @@ var scopedOpts = $.extend(true, {}, that.opts);

@@ -0,0 +0,0 @@ import window from "./global/window";

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ {

@@ -154,2 +154,3 @@ import $ from "./dependencyLibs/inputmask.dependencyLib";

optionality: maskdef.optional || false,
defOptionality: maskdef.optional || false, //indicator for an optional from the definition
newBlockMarker: (prevMatch === undefined || maskdef.optional) ? "master" : prevMatch.def !== (maskdef.definitionSymbol || element),

@@ -156,0 +157,0 @@ casing: maskdef.casing,

@@ -244,2 +244,2 @@ import keyCode from "./keycode.json";

}
}
}

@@ -0,0 +0,0 @@ export default function (isGroup, isOptional, isQuantifier, isAlternator) {

@@ -0,0 +0,0 @@ // https://tc39.github.io/ecma262/#sec-array.prototype.includes

@@ -0,0 +0,0 @@ if (typeof Object.getPrototypeOf !== "function") {

@@ -0,0 +0,0 @@ import {

@@ -593,3 +593,3 @@ export {

matches.forEach(t => {
t.match.optionality = false;
t.match.optionality = t.match.defOptionality || false;
});

@@ -596,0 +596,0 @@

@@ -0,0 +0,0 @@ import {

@@ -0,0 +0,0 @@ Copyright (c) 2010 - 2018 Robin Herbots

{
"name": "inputmask",
"version": "5.0.8-beta.7",
"version": "5.0.8-beta.15",
"description": "Inputmask is a javascript library which creates an input mask. Inputmask can run against vanilla javascript, jQuery and jqlite.",

@@ -39,6 +39,6 @@ "main": "dist/inputmask.js",

"devDependencies": {
"@babel/core": "^7.16.5",
"@babel/plugin-transform-modules-commonjs": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/preset-typescript": "^7.16.5",
"@babel/core": "^7.17.2",
"@babel/plugin-transform-modules-commonjs": "^7.16.8",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@robinherbots/grunt-available-tasks": "^0.6.4",

@@ -52,11 +52,16 @@ "@robinherbots/grunt-nuget": "^0.3.2",

"grunt-eslint": "^24.0.0",
"grunt-karma": "^4.0.2",
"grunt-release": "^0.14.0",
"grunt-webpack": "^5.0.0",
"jquery": "^3.6.0",
"karma": "^6.3.16",
"karma-browserstack-launcher": "^1.6.0",
"karma-chrome-launcher": "^3.1.0",
"karma-qunit": "^4.1.2",
"load-grunt-tasks": "^5.1.0",
"lodash": "^4.17.21",
"qunit": "^2.17.2",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1"
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2"
}
}

@@ -44,3 +44,3 @@ # Inputmask

Thanks to [Browserstack](https://www.browserstack.com) for providing a free license, so we can start automating test in different browsers and devices.
Thanks to [Browserstack](https://www.browserstack.com) for providing a free license, so we can automate testing in different browsers and devices.
<a href="https://www.browserstack.com">

@@ -47,0 +47,0 @@ <img src="https://www.browserstack.com/images/layout/browserstack-logo-600x315.png" alt="Browserstack" width="150">

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc