Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tealight

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tealight - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

7

CHANGELOG.md
# Change Log
## [0.3.1] - 2018-07-25
### Changed
* Rename default function export.
## [0.3.0] - 2018-01-12

@@ -63,2 +69,3 @@

[0.3.1]: https://github.com/jlmakes/tealight/compare/0.3.0...0.3.1
[0.3.0]: https://github.com/jlmakes/tealight/compare/0.2.3...0.3.0

@@ -65,0 +72,0 @@ [0.2.3]: https://github.com/jlmakes/tealight/compare/0.2.2...0.2.3

6

dist/tealight.es.js

@@ -1,2 +0,2 @@

/*! @license Tealight v0.3.0
/*! @license Tealight v0.3.1

@@ -27,3 +27,3 @@ Copyright 2018 Fisssion LLC.

function index(target, context) {
function tealight(target, context) {
if ( context === void 0 ) context = document;

@@ -45,2 +45,2 @@

export default index;
export default tealight;

@@ -1,2 +0,2 @@

/*! @license Tealight v0.3.0
/*! @license Tealight v0.3.1

@@ -98,3 +98,3 @@ Copyright 2018 Fisssion LLC.

function index(target, context) {
function tealight(target, context) {
if ( context === void 0 ) context = document;

@@ -116,4 +116,4 @@

return index;
return tealight;
})));

@@ -1,2 +0,2 @@

/*! @license Tealight v0.3.0 (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[]}}();
/*! @license Tealight v0.3.1 (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.0",
"version": "0.3.1",
"description": "Enhanced query selector API",

@@ -8,3 +8,5 @@ "main": "dist/tealight.js",

"jsnext:main": "dist/tealight.es.js",
"files": ["dist"],
"files": [
"dist"
],
"scripts": {

@@ -22,3 +24,10 @@ "prebuild": "rm -rf dist/*",

"repository": "jlmakes/tealight",
"keywords": ["html", "dom", "element", "utility", "query", "selector"],
"keywords": [
"html",
"dom",
"element",
"utility",
"query",
"selector"
],
"dependencies": {

@@ -25,0 +34,0 @@ "is-dom-node": "^1.0.4",

@@ -12,3 +12,3 @@ # tealight

<p align="center">
<a href="https://saucelabs.com/u/tealight"I’m creating a sustainable space to take on digital product startups>
<a href="https://saucelabs.com/u/tealight">
<img src="https://saucelabs.com/browser-matrix/tealight.svg" alt="Browser compatibility matrix" width="100%">

@@ -132,4 +132,2 @@ </a>

> Even though `.cookie` is a valid selector that _could_ match elements in our DOM, it is pruned from the source node array just like any other foreign types (i.e. `null` in this case as well); no matter what is implied, **if it's not a `Node`, it will be removed.**
<br>

@@ -136,0 +134,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc