Comparing version 0.3.5 to 0.3.6
# Change Log | ||
## [0.3.6] - 2018-08-11 | ||
### Fixed | ||
- Consolidate overloaded declarations. | ||
## [0.3.5] - 2018-08-11 | ||
@@ -4,0 +10,0 @@ |
@@ -1,2 +0,2 @@ | ||
/*! @license Tealight v0.3.5 | ||
/*! @license Tealight v0.3.6 | ||
@@ -3,0 +3,0 @@ Copyright 2018 Fisssion LLC. |
@@ -1,2 +0,2 @@ | ||
/*! @license Tealight v0.3.5 | ||
/*! @license Tealight v0.3.6 | ||
@@ -3,0 +3,0 @@ Copyright 2018 Fisssion LLC. |
@@ -1,2 +0,2 @@ | ||
/*! @license Tealight v0.3.5 (MIT) Copyright 2018 Fisssion LLC. */ | ||
/*! @license Tealight v0.3.6 (MIT) Copyright 2018 Fisssion LLC. */ | ||
var tealight=function(){"use strict";function i(t){return"object"==typeof window.Node?t instanceof window.Node:null!==t&&"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName}return function(t,e){if(void 0===e&&(e=document),t instanceof Array)return t.filter(i);if(i(t))return[t];if(o=t,r=Object.prototype.toString.call(o),"object"==typeof window.NodeList?o instanceof window.NodeList:null!==o&&"object"==typeof o&&"number"==typeof o.length&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(r)&&(0===o.length||i(o[0])))return Array.prototype.slice.call(t);var o,r;if("string"==typeof t)try{var n=e.querySelectorAll(t);return Array.prototype.slice.call(n)}catch(t){return[]}return[]}}(); |
{ | ||
"name": "tealight", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "DOM queries that always return an array", | ||
@@ -5,0 +5,0 @@ "types": "src/index.d.ts", |
@@ -6,19 +6,4 @@ export as namespace tealight; | ||
declare function tealight( | ||
target: Array<any>, | ||
target: string | HTMLElement | HTMLCollection | Array<any>, | ||
context?: HTMLElement | ||
): Array<HTMLElement>; | ||
declare function tealight( | ||
target: string, | ||
context?: HTMLElement | ||
): Array<HTMLElement>; | ||
declare function tealight( | ||
target: HTMLElement, | ||
context?: HTMLElement | ||
): Array<HTMLElement>; | ||
declare function tealight( | ||
target: HTMLCollection, | ||
context?: HTMLElement | ||
): Array<HTMLElement>; |
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
16778
141