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.3 to 0.3.4

src/index.d.ts

15

CHANGELOG.md
# Change Log
## [0.3.4] - 2018-08-10
### Changed
- Include type declaration file in published files.
### Fixed
- Typo in readme
## [0.3.3] - 2018-08-10

@@ -7,3 +17,3 @@

- Typo in type definition file path.
- Typo in type declaration file path.

@@ -14,3 +24,3 @@ ## [0.3.2] - 2018-08-10

- Add module function type definition.
- Add module function type declaration.

@@ -83,2 +93,3 @@ ## [0.3.1] - 2018-07-25

[0.3.4]: https://github.com/jlmakes/tealight/compare/0.3.3...0.3.4
[0.3.3]: https://github.com/jlmakes/tealight/compare/0.3.2...0.3.3

@@ -85,0 +96,0 @@ [0.3.2]: https://github.com/jlmakes/tealight/compare/0.3.1...0.3.2

2

dist/tealight.es.js

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

/*! @license Tealight v0.3.3
/*! @license Tealight v0.3.4

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

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

/*! @license Tealight v0.3.3
/*! @license Tealight v0.3.4

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

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

/*! @license Tealight v0.3.3 (MIT) Copyright 2018 Fisssion LLC. */
/*! @license Tealight v0.3.4 (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.3",
"version": "0.3.4",
"description": "DOM queries that always return an array",

@@ -10,3 +10,4 @@ "types": "src/index.d.ts",

"files": [
"dist"
"dist",
"src/index.d.ts"
],

@@ -13,0 +14,0 @@ "scripts": {

@@ -37,3 +37,3 @@ <p align="center">

But we all want to look over the returned elements. So in practice, we’ve got to do a little more work, particularly converting the resulting `NodeList` to an array, e.g:
But we all want to loop over the returned elements. So in practice, we’ve got to do a little more work, particularly converting the resulting `NodeList` to an array, e.g:

@@ -40,0 +40,0 @@ ```js

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