Comparing version 0.3.4 to 0.3.5
# Change Log | ||
## [0.3.5] - 2018-08-11 | ||
### Fixed | ||
- Update type declaration for optional second argument. | ||
## [0.3.4] - 2018-08-10 | ||
@@ -91,2 +97,3 @@ | ||
[0.3.5]: https://github.com/jlmakes/tealight/compare/0.3.4...0.3.5 | ||
[0.3.4]: https://github.com/jlmakes/tealight/compare/0.3.3...0.3.4 | ||
@@ -93,0 +100,0 @@ [0.3.3]: https://github.com/jlmakes/tealight/compare/0.3.2...0.3.3 |
@@ -1,2 +0,2 @@ | ||
/*! @license Tealight v0.3.4 | ||
/*! @license Tealight v0.3.5 | ||
@@ -3,0 +3,0 @@ Copyright 2018 Fisssion LLC. |
@@ -1,2 +0,2 @@ | ||
/*! @license Tealight v0.3.4 | ||
/*! @license Tealight v0.3.5 | ||
@@ -3,0 +3,0 @@ Copyright 2018 Fisssion LLC. |
@@ -1,2 +0,2 @@ | ||
/*! @license Tealight v0.3.4 (MIT) Copyright 2018 Fisssion LLC. */ | ||
/*! @license Tealight v0.3.5 (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.4", | ||
"version": "0.3.5", | ||
"description": "DOM queries that always return an array", | ||
@@ -5,0 +5,0 @@ "types": "src/index.d.ts", |
@@ -7,3 +7,3 @@ export as namespace tealight; | ||
target: Array<any>, | ||
context: HTMLElement | ||
context?: HTMLElement | ||
): Array<HTMLElement>; | ||
@@ -13,3 +13,3 @@ | ||
target: string, | ||
context: HTMLElement | ||
context?: HTMLElement | ||
): Array<HTMLElement>; | ||
@@ -19,3 +19,3 @@ | ||
target: HTMLElement, | ||
context: HTMLElement | ||
context?: HTMLElement | ||
): Array<HTMLElement>; | ||
@@ -25,3 +25,3 @@ | ||
target: HTMLCollection, | ||
context: HTMLElement | ||
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
16954