datalist-polyfill
Advanced tools
Comparing version 1.24.2 to 1.24.3
{ | ||
"name": "datalist-polyfill", | ||
"description": "Minimal and dependency-free vanilla JS datalist polyfill. Supports all standard's functionality as well as mimics other browsers behavior.", | ||
"version": "1.24.2", | ||
"version": "1.24.3", | ||
"homepage": "https://github.com/mfranzke/datalist-polyfill", | ||
@@ -6,0 +6,0 @@ "authors": [ |
@@ -14,2 +14,12 @@ # Changelog | ||
## [1.24.3] - 2020-03-22 | ||
### Changed | ||
- Updated webdriverio and prettier dependencies | ||
### Fixed | ||
- build: \*.min.js files should't get prettified | ||
## [1.24.2] - 2020-03-19 | ||
@@ -16,0 +26,0 @@ |
/* | ||
* Datalist polyfill - https://github.com/mfranzke/datalist-polyfill | ||
* @license Copyright(c) 2017 by Maximilian Franzke | ||
* Supported by Christian, Johannes, @mitchhentges, @mertenhanisch, @ailintom, @Kravimir, @mischah, @hryamzik, @ottoville, @IceCreamYou, @wlekin, @eddr, @beebee1987, @mricherzhagen, @acespace90, @damien-git, @nexces, @Sora2455, @jscho13 and @alexirion - many thanks for that ! | ||
* Supported by Christian, Johannes, @mitchhentges, @mertenhanisch, @ailintom, @Kravimir, @mischah, @hryamzik, @ottoville, @IceCreamYou, @wlekin, @eddr, @beebee1987, @mricherzhagen, @acespace90, @damien-git, @nexces, @Sora2455, @jscho13, @alexirion and @vinyfc93 - many thanks for that ! | ||
*/ | ||
@@ -6,0 +6,0 @@ /* |
/* | ||
* Datalist polyfill - https://github.com/mfranzke/datalist-polyfill | ||
* @license Copyright(c) 2017 by Maximilian Franzke | ||
* Supported by Christian, Johannes, @mitchhentges, @mertenhanisch, @ailintom, @Kravimir, @mischah, @hryamzik, @ottoville, @IceCreamYou, @wlekin, @eddr, @beebee1987, @mricherzhagen, @acespace90, @damien-git, @nexces, @Sora2455, @jscho13 and @alexirion - many thanks for that ! | ||
* Supported by Christian, Johannes, @mitchhentges, @mertenhanisch, @ailintom, @Kravimir, @mischah, @hryamzik, @ottoville, @IceCreamYou, @wlekin, @eddr, @beebee1987, @mricherzhagen, @acespace90, @damien-git, @nexces, @Sora2455, @jscho13, @alexirion and @vinyfc93 - many thanks for that ! | ||
*/ | ||
!(function() { | ||
'use strict'; | ||
var e = window.document, | ||
t = window.navigator.userAgent, | ||
i = | ||
'list' in e.createElement('input') && | ||
Boolean(e.createElement('datalist') && window.HTMLDataListElement), | ||
n = Boolean(t.match(/MSIE\s1[01]./) || t.match(/rv:11./)), | ||
a = Boolean(-1 !== t.indexOf('Edge/')); | ||
if (i && !n && !a) return !1; | ||
Element.prototype.matches || | ||
(Element.prototype.matches = Element.prototype.msMatchesSelector); | ||
var o = !1, | ||
r = ['text', 'email', 'number', 'search', 'tel', 'url']; | ||
window.addEventListener('touchstart', function e() { | ||
(o = !0), window.removeEventListener('touchstart', e); | ||
}); | ||
var l, | ||
s = window.MutationObserver || window.WebKitMutationObserver; | ||
void 0 !== s && | ||
(l = new s(function(t) { | ||
var i = !1; | ||
if ( | ||
(t.forEach(function(e) { | ||
e.target instanceof HTMLElement && | ||
'datalist' === e.target.tagName.toLowerCase() && | ||
e.addedNodes.length > 1 && | ||
(i = e.target); | ||
}), | ||
i) | ||
) { | ||
var n = e.querySelector('input[list="' + i.id + '"]'); | ||
'' !== f(n) && | ||
A(b(i, n).length, i.getElementsByClassName('polyfilling')[0]); | ||
} | ||
})); | ||
var u = function(e) { | ||
var t = e.target, | ||
i = t.list, | ||
r = 38 === e.keyCode || 40 === e.keyCode; | ||
if ('input' === t.tagName.toLowerCase() && null !== i) | ||
if (n || a) | ||
'' === f(t) || | ||
r || | ||
13 === e.keyCode || | ||
27 === e.keyCode || | ||
(!n && 'text' !== t.type) || | ||
(d(t, i), t.focus()); | ||
else { | ||
var l = !1, | ||
s = i.getElementsByClassName('polyfilling')[0] || h(t, i); | ||
if ( | ||
27 !== e.keyCode && | ||
13 !== e.keyCode && | ||
('' !== f(t) || r) && | ||
void 0 !== s | ||
) { | ||
b(i, t).length > 0 && (l = !0); | ||
var u = s.options.length - 1; | ||
o | ||
? (s.selectedIndex = 0) | ||
: r && | ||
'number' !== t.getAttribute('type') && | ||
((s.selectedIndex = 38 === e.keyCode ? u : 0), s.focus()); | ||
} | ||
A(l, s); | ||
} | ||
}, | ||
d = function(e, t) { | ||
var i = f(e); | ||
Array.prototype.slice.call(t.options, 0).forEach(function(e) { | ||
var t = e.getAttribute('data-originalvalue'), | ||
n = t || e.value; | ||
t || e.setAttribute('data-originalvalue', n), | ||
e.label || e.text || (e.label = n), | ||
(e.value = c(e, i) ? i + '###[P0LYFlLLed]###' + n.toLowerCase() : n); | ||
}); | ||
}, | ||
p = function(e) { | ||
var t = e.target, | ||
i = t.list; | ||
if (t.matches('input[list]') && t.matches('.polyfilled') && i) { | ||
var n = i.querySelector( | ||
'option[value="' + f(t).replace(/\\([\s\S])|(")/g, '\\$1$2') + '"]' | ||
); | ||
n && | ||
n.getAttribute('data-originalvalue') && | ||
g(t, n.getAttribute('data-originalvalue')); | ||
} | ||
}, | ||
c = function(e, t) { | ||
var i = e.value.toLowerCase(), | ||
n = t.toLowerCase(), | ||
a = e.getAttribute('label'), | ||
o = e.text.toLowerCase(); | ||
return Boolean( | ||
!1 === e.disabled && | ||
(('' !== i && -1 !== i.indexOf(n)) || | ||
(a && -1 !== a.toLowerCase().indexOf(n)) || | ||
('' !== o && -1 !== o.indexOf(n))) | ||
); | ||
}, | ||
v = function(e) { | ||
if (e.target.matches('input[list]')) { | ||
var t = e.target, | ||
i = t.list; | ||
if ('input' === t.tagName.toLowerCase() && null !== i) { | ||
if ( | ||
(t.matches('.polyfilled') || y(t, e.type), | ||
a && 'focusin' === e.type) | ||
) { | ||
var o = t.list.options[0]; | ||
o.value = o.value; | ||
} | ||
if (!n && !a) { | ||
var r = i.getElementsByClassName('polyfilling')[0] || h(t, i), | ||
l = | ||
r && | ||
r.querySelector('option:not(:disabled)') && | ||
(('focusin' === e.type && '' !== f(t)) || | ||
(e.relatedTarget && e.relatedTarget === r)); | ||
A(l, r); | ||
} | ||
} | ||
} | ||
}, | ||
y = function(e, t) { | ||
e.setAttribute('autocomplete', 'off'), | ||
e.setAttribute('role', 'textbox'), | ||
e.setAttribute('aria-haspopup', 'true'), | ||
e.setAttribute('aria-autocomplete', 'list'), | ||
e.setAttribute('aria-owns', e.getAttribute('list')), | ||
'focusin' === t | ||
? (e.addEventListener('keyup', u), | ||
e.addEventListener('focusout', v, !0), | ||
(n || (a && 'text' === e.type)) && e.addEventListener('input', p)) | ||
: 'blur' === t && | ||
(e.removeEventListener('keyup', u), | ||
e.removeEventListener('focusout', v, !0), | ||
(n || (a && 'text' === e.type)) && | ||
e.removeEventListener('input', p)), | ||
(e.className += ' polyfilled'); | ||
}, | ||
f = function(e) { | ||
return 'email' === e.getAttribute('type') && | ||
null !== e.getAttribute('multiple') | ||
? e.value.slice(Math.max(0, e.value.lastIndexOf(',') + 1)) | ||
: e.value; | ||
}, | ||
g = function(e, t) { | ||
var i; | ||
e.value = | ||
'email' === e.getAttribute('type') && | ||
null !== e.getAttribute('multiple') && | ||
(i = e.value.lastIndexOf(',')) > -1 | ||
? e.value.slice(0, i) + ',' + t | ||
: t; | ||
}; | ||
if ((e.addEventListener('focusin', v, !0), !n && !a)) { | ||
var m, | ||
b = function(t, i) { | ||
void 0 !== l && l.disconnect(); | ||
var n = t.getElementsByClassName('polyfilling')[0] || h(i, t), | ||
a = f(i), | ||
r = e.createDocumentFragment(), | ||
s = e.createDocumentFragment(); | ||
Array.prototype.slice | ||
.call(t.querySelectorAll('option:not(:disabled)')) | ||
.sort(function(e, t) { | ||
var n = e.value, | ||
a = t.value; | ||
return ( | ||
'url' === i.getAttribute('type') && | ||
((n = n.replace(/(^\w+:|^)\/\//, '')), | ||
(a = a.replace(/(^\w+:|^)\/\//, ''))), | ||
n.localeCompare(a) | ||
); | ||
}) | ||
.forEach(function(e) { | ||
var t = e.value, | ||
i = e.getAttribute('label'), | ||
n = e.text; | ||
if (c(e, a)) { | ||
var o = n.slice(0, t.length + ' / '.length); | ||
n && !i && n !== t && o !== t + ' / ' | ||
? (e.textContent = t + ' / ' + n) | ||
: e.text || (e.textContent = i || t), | ||
r.appendChild(e); | ||
} else s.appendChild(e); | ||
}), | ||
n.appendChild(r); | ||
var u = n.options.length; | ||
return ( | ||
(n.size = u > 10 ? 10 : u), | ||
(n.multiple = !o && u < 2), | ||
(t.getElementsByClassName('ie9_fix')[0] || t).appendChild(s), | ||
void 0 !== l && l.observe(t, { childList: !0 }), | ||
n.options | ||
); | ||
}, | ||
h = function(t, i) { | ||
if ( | ||
!( | ||
(t.getAttribute('type') && | ||
-1 === r.indexOf(t.getAttribute('type'))) || | ||
null === i | ||
) | ||
) { | ||
var n = t.getClientRects(), | ||
a = window.getComputedStyle(t), | ||
l = e.createElement('select'); | ||
if ( | ||
(l.setAttribute('class', 'polyfilling'), | ||
(l.style.position = 'absolute'), | ||
A(!1, l), | ||
l.setAttribute('tabindex', '-1'), | ||
l.setAttribute('aria-live', 'polite'), | ||
l.setAttribute('role', 'listbox'), | ||
o || l.setAttribute('aria-multiselectable', 'false'), | ||
'block' === a.getPropertyValue('display')) | ||
) | ||
l.style.marginTop = '-' + a.getPropertyValue('margin-bottom'); | ||
else { | ||
var s = | ||
'rtl' === a.getPropertyValue('direction') ? 'right' : 'left'; | ||
l.style.setProperty( | ||
'margin-' + s, | ||
'-' + | ||
(n[0].width + parseFloat(a.getPropertyValue('margin-' + s))) + | ||
'px' | ||
), | ||
(l.style.marginTop = | ||
parseInt(n[0].height + (t.offsetTop - i.offsetTop), 10) + 'px'); | ||
} | ||
if ( | ||
((l.style.borderRadius = a.getPropertyValue('border-radius')), | ||
(l.style.minWidth = n[0].width + 'px'), | ||
o) | ||
) { | ||
var u = e.createElement('option'); | ||
(u.textContent = i.title), | ||
(u.disabled = !0), | ||
u.setAttribute('class', 'message'), | ||
l.appendChild(u); | ||
} | ||
return ( | ||
i.appendChild(l), | ||
o | ||
? l.addEventListener('change', w) | ||
: l.addEventListener('click', w), | ||
l.addEventListener('blur', w), | ||
l.addEventListener('keydown', w), | ||
l.addEventListener('keypress', E), | ||
l | ||
); | ||
} | ||
}, | ||
E = function(t) { | ||
var i = t.target, | ||
n = i.parentNode, | ||
a = e.querySelector('input[list="' + n.id + '"]'); | ||
'select' === i.tagName.toLowerCase() && | ||
null !== a && | ||
(!t.key || | ||
('Backspace' !== t.key && 1 !== t.key.length) || | ||
(a.focus(), | ||
'Backspace' === t.key | ||
? ((a.value = a.value.slice(0, -1)), C(a)) | ||
: (a.value += t.key), | ||
b(n, a))); | ||
}, | ||
w = function(t) { | ||
var i = t.currentTarget, | ||
n = i.parentNode, | ||
a = e.querySelector('input[list="' + n.id + '"]'); | ||
if ('select' === i.tagName.toLowerCase() && null !== a) { | ||
var o = t.type, | ||
r = 'keydown' === o && 13 !== t.keyCode && 27 !== t.keyCode; | ||
('change' === o || | ||
'click' === o || | ||
('keydown' === o && (13 === t.keyCode || 'Tab' === t.key))) && | ||
i.value.length > 0 && | ||
i.value !== n.title | ||
? (g(a, i.value), | ||
C(a), | ||
'Tab' !== t.key && a.focus(), | ||
13 === t.keyCode && t.preventDefault(), | ||
(r = !1)) | ||
: 'keydown' === o && 27 === t.keyCode && a.focus(), | ||
A(r, i); | ||
} | ||
}, | ||
C = function(t) { | ||
var i; | ||
'function' == typeof Event | ||
? (i = new Event('input', { bubbles: !0 })) | ||
: (i = e.createEvent('Event')).initEvent('input', !0, !1), | ||
t.dispatchEvent(i); | ||
}, | ||
A = function(t, i) { | ||
t | ||
? i.removeAttribute('hidden') | ||
: i.setAttributeNode(e.createAttribute('hidden')), | ||
i.setAttribute('aria-hidden', (!t).toString()); | ||
}; | ||
(m = window.HTMLInputElement) && | ||
m.prototype && | ||
void 0 === m.prototype.list && | ||
Object.defineProperty(m.prototype, 'list', { | ||
get: function() { | ||
var t = e.getElementById(this.getAttribute('list')); | ||
return 'object' == typeof this && | ||
this instanceof m && | ||
t && | ||
t.matches('datalist') | ||
? t | ||
: null; | ||
} | ||
}), | ||
(function(e) { | ||
e && | ||
e.prototype && | ||
void 0 === e.prototype.options && | ||
Object.defineProperty(e.prototype, 'options', { | ||
get: function() { | ||
return 'object' == typeof this && this instanceof e | ||
? this.getElementsByTagName('option') | ||
: null; | ||
} | ||
}); | ||
})(window.HTMLElement); | ||
} | ||
})(); | ||
!function(){"use strict";var e=window.document,t=window.navigator.userAgent,i="list"in e.createElement("input")&&Boolean(e.createElement("datalist")&&window.HTMLDataListElement),n=Boolean(t.match(/MSIE\s1[01]./)||t.match(/rv:11./)),a=Boolean(-1!==t.indexOf("Edge/"));if(i&&!n&&!a)return!1;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector);var o=!1,r=["text","email","number","search","tel","url"];window.addEventListener("touchstart",(function e(){o=!0,window.removeEventListener("touchstart",e)}));var l,s=window.MutationObserver||window.WebKitMutationObserver;void 0!==s&&(l=new s((function(t){var i=!1;if(t.forEach((function(e){e.target instanceof HTMLElement&&"datalist"===e.target.tagName.toLowerCase()&&e.addedNodes.length>1&&(i=e.target)})),i){var n=e.querySelector('input[list="'+i.id+'"]');""!==f(n)&&A(b(i,n).length,i.getElementsByClassName("polyfilling")[0])}})));var u=function(e){var t=e.target,i=t.list,r=38===e.keyCode||40===e.keyCode;if("input"===t.tagName.toLowerCase()&&null!==i)if(n||a)""===f(t)||r||13===e.keyCode||27===e.keyCode||!n&&"text"!==t.type||(d(t,i),t.focus());else{var l=!1,s=i.getElementsByClassName("polyfilling")[0]||h(t,i);if(27!==e.keyCode&&13!==e.keyCode&&(""!==f(t)||r)&&void 0!==s){b(i,t).length>0&&(l=!0);var u=s.options.length-1;o?s.selectedIndex=0:r&&"number"!==t.getAttribute("type")&&(s.selectedIndex=38===e.keyCode?u:0,s.focus())}A(l,s)}},d=function(e,t){var i=f(e);Array.prototype.slice.call(t.options,0).forEach((function(e){var t=e.getAttribute("data-originalvalue"),n=t||e.value;t||e.setAttribute("data-originalvalue",n),e.label||e.text||(e.label=n),e.value=c(e,i)?i+"###[P0LYFlLLed]###"+n.toLowerCase():n}))},p=function(e){var t=e.target,i=t.list;if(t.matches("input[list]")&&t.matches(".polyfilled")&&i){var n=i.querySelector('option[value="'+f(t).replace(/\\([\s\S])|(")/g,"\\$1$2")+'"]');n&&n.getAttribute("data-originalvalue")&&g(t,n.getAttribute("data-originalvalue"))}},c=function(e,t){var i=e.value.toLowerCase(),n=t.toLowerCase(),a=e.getAttribute("label"),o=e.text.toLowerCase();return Boolean(!1===e.disabled&&(""!==i&&-1!==i.indexOf(n)||a&&-1!==a.toLowerCase().indexOf(n)||""!==o&&-1!==o.indexOf(n)))},v=function(e){if(e.target.matches("input[list]")){var t=e.target,i=t.list;if("input"===t.tagName.toLowerCase()&&null!==i){if(t.matches(".polyfilled")||y(t,e.type),a&&"focusin"===e.type){var o=t.list.options[0];o.value=o.value}if(!n&&!a){var r=i.getElementsByClassName("polyfilling")[0]||h(t,i),l=r&&r.querySelector("option:not(:disabled)")&&("focusin"===e.type&&""!==f(t)||e.relatedTarget&&e.relatedTarget===r);A(l,r)}}}},y=function(e,t){e.setAttribute("autocomplete","off"),e.setAttribute("role","textbox"),e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-autocomplete","list"),e.setAttribute("aria-owns",e.getAttribute("list")),"focusin"===t?(e.addEventListener("keyup",u),e.addEventListener("focusout",v,!0),(n||a&&"text"===e.type)&&e.addEventListener("input",p)):"blur"===t&&(e.removeEventListener("keyup",u),e.removeEventListener("focusout",v,!0),(n||a&&"text"===e.type)&&e.removeEventListener("input",p)),e.className+=" polyfilled"},f=function(e){return"email"===e.getAttribute("type")&&null!==e.getAttribute("multiple")?e.value.slice(Math.max(0,e.value.lastIndexOf(",")+1)):e.value},g=function(e,t){var i;e.value="email"===e.getAttribute("type")&&null!==e.getAttribute("multiple")&&(i=e.value.lastIndexOf(","))>-1?e.value.slice(0,i)+","+t:t};if(e.addEventListener("focusin",v,!0),!n&&!a){var m,b=function(t,i){void 0!==l&&l.disconnect();var n=t.getElementsByClassName("polyfilling")[0]||h(i,t),a=f(i),r=e.createDocumentFragment(),s=e.createDocumentFragment();Array.prototype.slice.call(t.querySelectorAll("option:not(:disabled)")).sort((function(e,t){var n=e.value,a=t.value;return"url"===i.getAttribute("type")&&(n=n.replace(/(^\w+:|^)\/\//,""),a=a.replace(/(^\w+:|^)\/\//,"")),n.localeCompare(a)})).forEach((function(e){var t=e.value,i=e.getAttribute("label"),n=e.text;if(c(e,a)){var o=n.slice(0,t.length+" / ".length);n&&!i&&n!==t&&o!==t+" / "?e.textContent=t+" / "+n:e.text||(e.textContent=i||t),r.appendChild(e)}else s.appendChild(e)})),n.appendChild(r);var u=n.options.length;return n.size=u>10?10:u,n.multiple=!o&&u<2,(t.getElementsByClassName("ie9_fix")[0]||t).appendChild(s),void 0!==l&&l.observe(t,{childList:!0}),n.options},h=function(t,i){if(!(t.getAttribute("type")&&-1===r.indexOf(t.getAttribute("type"))||null===i)){var n=t.getClientRects(),a=window.getComputedStyle(t),l=e.createElement("select");if(l.setAttribute("class","polyfilling"),l.style.position="absolute",A(!1,l),l.setAttribute("tabindex","-1"),l.setAttribute("aria-live","polite"),l.setAttribute("role","listbox"),o||l.setAttribute("aria-multiselectable","false"),"block"===a.getPropertyValue("display"))l.style.marginTop="-"+a.getPropertyValue("margin-bottom");else{var s="rtl"===a.getPropertyValue("direction")?"right":"left";l.style.setProperty("margin-"+s,"-"+(n[0].width+parseFloat(a.getPropertyValue("margin-"+s)))+"px"),l.style.marginTop=parseInt(n[0].height+(t.offsetTop-i.offsetTop),10)+"px"}if(l.style.borderRadius=a.getPropertyValue("border-radius"),l.style.minWidth=n[0].width+"px",o){var u=e.createElement("option");u.textContent=i.title,u.disabled=!0,u.setAttribute("class","message"),l.appendChild(u)}return i.appendChild(l),o?l.addEventListener("change",w):l.addEventListener("click",w),l.addEventListener("blur",w),l.addEventListener("keydown",w),l.addEventListener("keypress",E),l}},E=function(t){var i=t.target,n=i.parentNode,a=e.querySelector('input[list="'+n.id+'"]');"select"===i.tagName.toLowerCase()&&null!==a&&(!t.key||"Backspace"!==t.key&&1!==t.key.length||(a.focus(),"Backspace"===t.key?(a.value=a.value.slice(0,-1),C(a)):a.value+=t.key,b(n,a)))},w=function(t){var i=t.currentTarget,n=i.parentNode,a=e.querySelector('input[list="'+n.id+'"]');if("select"===i.tagName.toLowerCase()&&null!==a){var o=t.type,r="keydown"===o&&13!==t.keyCode&&27!==t.keyCode;("change"===o||"click"===o||"keydown"===o&&(13===t.keyCode||"Tab"===t.key))&&i.value.length>0&&i.value!==n.title?(g(a,i.value),C(a),"Tab"!==t.key&&a.focus(),13===t.keyCode&&t.preventDefault(),r=!1):"keydown"===o&&27===t.keyCode&&a.focus(),A(r,i)}},C=function(t){var i;"function"==typeof Event?i=new Event("input",{bubbles:!0}):(i=e.createEvent("Event")).initEvent("input",!0,!1),t.dispatchEvent(i)},A=function(t,i){t?i.removeAttribute("hidden"):i.setAttributeNode(e.createAttribute("hidden")),i.setAttribute("aria-hidden",(!t).toString())};(m=window.HTMLInputElement)&&m.prototype&&void 0===m.prototype.list&&Object.defineProperty(m.prototype,"list",{get:function(){var t=e.getElementById(this.getAttribute("list"));return"object"==typeof this&&this instanceof m&&t&&t.matches("datalist")?t:null}}),function(e){e&&e.prototype&&void 0===e.prototype.options&&Object.defineProperty(e.prototype,"options",{get:function(){return"object"==typeof this&&this instanceof e?this.getElementsByTagName("option"):null}})}(window.HTMLElement)}}(); |
{ | ||
"name": "datalist-polyfill", | ||
"version": "1.24.2", | ||
"version": "1.24.3", | ||
"description": "A minimal and dependency-free vanilla JavaScript datalist polyfill. Supports all standard's functionality as well as mimics other browsers behavior.", | ||
@@ -35,11 +35,11 @@ "main": "datalist-polyfill.js", | ||
"@commitlint/config-conventional": "^8.3.4", | ||
"@wdio/cli": "^5.22.0", | ||
"@wdio/cli": "^5.22.3", | ||
"@wdio/dot-reporter": "^5.18.6", | ||
"@wdio/local-runner": "^5.21.0", | ||
"@wdio/local-runner": "^5.22.3", | ||
"@wdio/mocha-framework": "^5.18.7", | ||
"@wdio/sync": "^5.20.1", | ||
"husky": "^4.2.3", | ||
"prettier": "^1.19.1", | ||
"prettier": "^2.0.1", | ||
"pretty-quick": "^2.0.1", | ||
"webdriverio": "^5.21.0", | ||
"webdriverio": "^5.22.3", | ||
"xo": "^0.28.0" | ||
@@ -46,0 +46,0 @@ }, |
# datalist-polyfill | ||
[![MIT license](https://img.shields.io/npm/l/datalist-polyfill.svg 'license badge')](https://opensource.org/licenses/mit-license.php) | ||
[![MIT license](https://img.shields.io/npm/l/datalist-polyfill.svg "license badge")](https://opensource.org/licenses/mit-license.php) | ||
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/datalist-polyfill)](https://bundlephobia.com/result?p=datalist-polyfill) | ||
[![Total downloads ~ Npmjs](https://img.shields.io/npm/dt/datalist-polyfill.svg 'Count of total downloads – NPM')](https://npmjs.com/package/datalist-polyfill 'datalist polyfill – on NPM') | ||
[![jsDelivr CDN downloads](https://data.jsdelivr.com/v1/package/npm/datalist-polyfill/badge 'Count of total downloads – jsDelivr')](https://www.jsdelivr.com/package/npm/datalist-polyfill 'datalist polyfill – on jsDelivr') | ||
[![Total downloads ~ Npmjs](https://img.shields.io/npm/dt/datalist-polyfill.svg "Count of total downloads – NPM")](https://npmjs.com/package/datalist-polyfill "datalist polyfill – on NPM") | ||
[![jsDelivr CDN downloads](https://data.jsdelivr.com/v1/package/npm/datalist-polyfill/badge "Count of total downloads – jsDelivr")](https://www.jsdelivr.com/package/npm/datalist-polyfill "datalist polyfill – on jsDelivr") | ||
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d1f98a2d1fd44c41b7ad5c7670d8cdcd)](https://app.codacy.com/app/mfranzke/datalist-polyfill?utm_source=github.com&utm_medium=referral&utm_content=mfranzke/datalist-polyfill&utm_campaign=badger) | ||
[![datalist-polyfill on Npmjs](https://img.shields.io/npm/v/datalist-polyfill.svg?color=rgb%28237%2C%2028%2C%2036%29 'npm version')](https://npmjs.com/package/datalist-polyfill 'datalist polyfill – on NPM') | ||
[![datalist-polyfill on Npmjs](https://img.shields.io/npm/v/datalist-polyfill.svg?color=rgb%28237%2C%2028%2C%2036%29 "npm version")](https://npmjs.com/package/datalist-polyfill "datalist polyfill – on NPM") | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/mfranzke/datalist-polyfill.svg)](https://greenkeeper.io/) | ||
[![dependencies Status](https://david-dm.org/mfranzke/datalist-polyfill/status.svg 'Count of dependencies')](https://david-dm.org/mfranzke/datalist-polyfill 'datalist polyfill – on david-dm') | ||
[![dependencies Status](https://david-dm.org/mfranzke/datalist-polyfill/status.svg "Count of dependencies")](https://david-dm.org/mfranzke/datalist-polyfill "datalist polyfill – on david-dm") | ||
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) | ||
@@ -148,3 +148,3 @@ [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) | ||
Supported by Christian, Johannes, @mitchhentges, @mertenhanisch, @ailintom, @Kravimir, @mischah, @hryamzik, @ottoville, @IceCreamYou, @wlekin, @eddr, @beebee1987, @mricherzhagen, @acespace90, @damien-git, @nexces, @Sora2455, @jscho13 and @alexirion. Thank you very much for that, highly appreciated ! | ||
Supported by Christian, Johannes, @mitchhentges, @mertenhanisch, @ailintom, @Kravimir, @mischah, @hryamzik, @ottoville, @IceCreamYou, @wlekin, @eddr, @beebee1987, @mricherzhagen, @acespace90, @damien-git, @nexces, @Sora2455, @jscho13, @alexirion and @vinyfc93. Thank you very much for that, highly appreciated ! | ||
@@ -169,3 +169,3 @@ ## Tested with | ||
[![CrossBrowserTesting](https://crossbrowsertesting.com/blog/wp-content/uploads/2017/09/cbt-wp-logo.png 'CrossBrowserTesting')][crossbrowsertestinghomepage] | ||
[![CrossBrowserTesting](https://crossbrowsertesting.com/blog/wp-content/uploads/2017/09/cbt-wp-logo.png "CrossBrowserTesting")][crossbrowsertestinghomepage] | ||
@@ -172,0 +172,0 @@ [crossbrowsertestinghomepage]: https://crossbrowsertesting.com |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9
68529
665