Comparing version 0.2.2 to 0.2.3
# Change Log | ||
## [0.2.3] - 2018-01-11 | ||
### Changed | ||
* Upgraded `is-dom-node` dependency. | ||
* Upgraded `is-dom-node-list` dependency. | ||
### Fixed | ||
* Upgrades removed duplicate `is-dom-node` code. | ||
## [0.2.2] - 2018-01-11 | ||
@@ -45,2 +56,3 @@ | ||
[0.2.3]: https://github.com/jlmakes/tealight/compare/0.2.2...0.2.3 | ||
[0.2.2]: https://github.com/jlmakes/tealight/compare/0.2.1...0.2.2 | ||
@@ -47,0 +59,0 @@ [0.2.1]: https://github.com/jlmakes/tealight/compare/0.2.0...0.2.1 |
@@ -1,2 +0,2 @@ | ||
/*! @license Tealight v0.2.2 | ||
/*! @license Tealight v0.2.3 | ||
@@ -24,3 +24,3 @@ Copyright 2018 Fisssion LLC. | ||
*/ | ||
/*! @license is-dom-node v1.0.2 | ||
/*! @license is-dom-node v1.0.4 | ||
@@ -57,3 +57,3 @@ Copyright 2018 Fisssion LLC. | ||
/*! @license is-dom-node-list v1.1.0 | ||
/*! @license is-dom-node-list v1.2.1 | ||
@@ -91,3 +91,3 @@ Copyright 2018 Fisssion LLC. | ||
regex.test(prototypeToString) && | ||
(x.length === 0 || (typeof x[0] === 'object' && x[0].nodeType > 0)) | ||
(x.length === 0 || isDomNode(x[0])) | ||
} | ||
@@ -94,0 +94,0 @@ |
@@ -1,2 +0,2 @@ | ||
/*! @license Tealight v0.2.2 | ||
/*! @license Tealight v0.2.3 | ||
@@ -30,3 +30,3 @@ Copyright 2018 Fisssion LLC. | ||
/*! @license is-dom-node v1.0.2 | ||
/*! @license is-dom-node v1.0.4 | ||
@@ -63,3 +63,3 @@ Copyright 2018 Fisssion LLC. | ||
/*! @license is-dom-node-list v1.1.0 | ||
/*! @license is-dom-node-list v1.2.1 | ||
@@ -97,3 +97,3 @@ Copyright 2018 Fisssion LLC. | ||
regex.test(prototypeToString) && | ||
(x.length === 0 || (typeof x[0] === 'object' && x[0].nodeType > 0)) | ||
(x.length === 0 || isDomNode(x[0])) | ||
} | ||
@@ -100,0 +100,0 @@ |
@@ -1,2 +0,2 @@ | ||
/*! @license Tealight v0.2.2 (MIT) Copyright 2018 Fisssion LLC. */ | ||
var tealight=function(){"use strict";function t(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(e,o){if(void 0===o&&(o=document),e instanceof Array)return e.filter(t);if(t(e))return[e];if(n=e,r=Object.prototype.toString.call(n),"object"==typeof window.NodeList?n instanceof window.NodeList:null!==n&&"object"==typeof n&&"number"==typeof n.length&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(r)&&(0===n.length||"object"==typeof n[0]&&n[0].nodeType>0))return Array.prototype.slice.call(e);var n,r;if("string"==typeof e)try{var i=o.querySelectorAll(e);return Array.prototype.slice.call(i)}catch(t){return[]}return[]}}(); | ||
/*! @license Tealight v0.2.3 (MIT) Copyright 2018 Fisssion LLC. */ | ||
var tealight=function(){"use strict";function t(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(e,o){if(void 0===o&&(o=document),e instanceof Array)return e.filter(t);if(t(e))return[e];if(r=e,n=Object.prototype.toString.call(r),"object"==typeof window.NodeList?r instanceof window.NodeList:null!==r&&"object"==typeof r&&"number"==typeof r.length&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(n)&&(0===r.length||t(r[0])))return Array.prototype.slice.call(e);var r,n;if("string"==typeof e)try{var i=o.querySelectorAll(e);return Array.prototype.slice.call(i)}catch(t){return[]}return[]}}(); |
{ | ||
"name": "tealight", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Enhanced query selector API", | ||
@@ -23,4 +23,4 @@ "main": "dist/tealight.js", | ||
"dependencies": { | ||
"is-dom-node": "1.0.2", | ||
"is-dom-node-list": "1.1.0" | ||
"is-dom-node": "^1.0.4", | ||
"is-dom-node-list": "^1.2.1" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
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
15926
+ Addedis-dom-node@1.0.4(transitive)
+ Addedis-dom-node-list@1.2.1(transitive)
- Removedis-dom-node@1.0.2(transitive)
- Removedis-dom-node-list@1.1.0(transitive)
Updatedis-dom-node@^1.0.4
Updatedis-dom-node-list@^1.2.1