bianco.events
Advanced tools
Comparing version 1.0.0 to 1.1.0
10
index.js
@@ -5,6 +5,8 @@ 'use strict'; | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var domToArray = require('bianco.dom-to-array'); | ||
var domToArray = _interopDefault(require('bianco.dom-to-array')); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var domToArray__default = /*#__PURE__*/_interopDefaultLegacy(domToArray); | ||
/** | ||
@@ -29,3 +31,3 @@ * Split a string into several items separed by spaces | ||
function manageEvents(els, evList, cb, method, options) { | ||
els = domToArray(els); | ||
els = domToArray__default["default"](els); | ||
@@ -83,4 +85,4 @@ split(evList).forEach((e) => { | ||
exports.add = add; | ||
exports["default"] = index_next; | ||
exports.once = once; | ||
exports.remove = remove; | ||
exports.default = index_next; |
{ | ||
"name": "bianco.events", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Modern DOM events helpers written in es2015", | ||
@@ -8,2 +8,3 @@ "main": "index.js", | ||
"module": "index.next.js", | ||
"types": "index.d.ts", | ||
"scripts": { | ||
@@ -18,3 +19,4 @@ "prepare": "npm run build && npm test", | ||
"index.js", | ||
"index.next.js" | ||
"index.next.js", | ||
"index.d.ts" | ||
], | ||
@@ -40,12 +42,12 @@ "repository": { | ||
"@gianlucaguarini/eslint-config": "^2.0.0", | ||
"eslint": "^5.8.0", | ||
"jsdom": "12.2.0", | ||
"eslint": "^8.10.0", | ||
"jsdom": "19.0.0", | ||
"jsdom-global": "3.0.2", | ||
"mocha": "^5.2.0", | ||
"rollup": "^0.66.6", | ||
"mocha": "^9.2.1", | ||
"rollup": "^2.70.0", | ||
"rollup-plugin-node-resolve": "^3.4.0" | ||
}, | ||
"dependencies": { | ||
"bianco.dom-to-array": "^0.0.10" | ||
"bianco.dom-to-array": "^1.1.0" | ||
} | ||
} |
# bianco.events | ||
[![Build Status][travis-image]][travis-url] | ||
[![Build Status][ci-image]][ci-url] | ||
[![NPM version][npm-version-image]][npm-url] | ||
@@ -22,14 +22,11 @@ [![NPM downloads][npm-downloads-image]][npm-url] | ||
[travis-image]: https://img.shields.io/travis/biancojs/events.svg?style=flat-square | ||
[ci-image]:https://img.shields.io/github/workflow/status/biancojs/events/test?style=flat-square | ||
[ci-url]:https://github.com/biancojs/events/actions | ||
[travis-url]: https://travis-ci.org/biancojs/events | ||
[license-image]: http://img.shields.io/badge/license-MIT-000000.svg?style=flat-square | ||
[license-url]: LICENSE.txt | ||
[npm-version-image]: http://img.shields.io/npm/v/bianco.events.svg?style=flat-square | ||
[npm-downloads-image]: http://img.shields.io/npm/dm/bianco.events.svg?style=flat-square | ||
[npm-url]: https://npmjs.org/package/bianco.events | ||
@@ -36,0 +33,0 @@ |
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
13668
6
164
84
+ Addedbianco.dom-to-array@1.1.0(transitive)
- Removedbianco.dom-to-array@0.0.10(transitive)
Updatedbianco.dom-to-array@^1.1.0