@semantic-ui/query
Advanced tools
Comparing version 0.0.16 to 0.0.17
{ | ||
"name": "@semantic-ui/query", | ||
"version": "0.0.16", | ||
"type": "module", | ||
@@ -13,4 +12,5 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@semantic-ui/utils": "^0.0.16" | ||
} | ||
"@semantic-ui/utils": "^0.0.17" | ||
}, | ||
"version": "0.0.17" | ||
} |
@@ -463,3 +463,3 @@ import { describe, beforeEach, expect, it, vi } from 'vitest'; | ||
const eventHandler = $('div').on('click', () => {}); | ||
const eventHandler = $('div').on('click', () => {}, { returnHandler: true }); | ||
expect(eventHandler).toBeInstanceOf(Object); | ||
@@ -473,3 +473,3 @@ }); | ||
const eventHandler = $('div').on('click', callback); | ||
const eventHandler = $('div').on('click', callback, { returnHandler: true }); | ||
div.click(); | ||
@@ -511,3 +511,3 @@ eventHandler.abort(); | ||
const eventHandler = $('div').on('click', 'span', callback); | ||
const eventHandler = $('div').on('click', 'span', callback, { returnHandler: true }); | ||
expect(eventHandler.delegated).toBe(true); | ||
@@ -521,3 +521,3 @@ }); | ||
const eventHandler = $('div').on('click', 'span', callback); | ||
const eventHandler = $('div').on('click', 'span', callback, { returnHandler: true }); | ||
expect(eventHandler.delegated).toBe(true); | ||
@@ -530,3 +530,3 @@ }); | ||
document.body.appendChild(div); | ||
const eventHandler = $('div').on('click', callback); | ||
const eventHandler = $('div').on('click', callback, { returnHandler: true }); | ||
div.removeEventListener('click', eventHandler.eventListener); | ||
@@ -585,3 +585,3 @@ div.click(); | ||
const eventHandler = $('div').on('click', callback); | ||
const eventHandler = $('div').on('click', callback, { returnHandler: true }); | ||
@@ -614,3 +614,3 @@ div.removeEventListener('click', callback); | ||
const event = $('div').on('click', 'span', callback); | ||
const event = $('div').on('click', 'span', callback, { returnHandler: true }); | ||
$('div').off('click', event); | ||
@@ -617,0 +617,0 @@ span.click(); |
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
68691
+ Added@semantic-ui/utils@0.0.17(transitive)
- Removed@semantic-ui/utils@0.0.16(transitive)
Updated@semantic-ui/utils@^0.0.17