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.4 to 0.3.5

7

CHANGELOG.md
# 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

2

dist/tealight.es.js

@@ -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>;
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