released v3.13.7 (#475)

renovate/husky-9.x v3.13.7
jaywcjlove 12 months ago
parent 1e802bdf88
commit a595c55587

@ -1,5 +1,5 @@
/**! /**!
* hotkeys-js v3.13.6 * hotkeys-js v3.13.7
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
* *
* Copyright (c) 2024 kenny wong <wowohoo@qq.com> * Copyright (c) 2024 kenny wong <wowohoo@qq.com>
@ -25,8 +25,8 @@ function addEvent(object, event, method, useCapture) {
function removeEvent(object, event, method, useCapture) { function removeEvent(object, event, method, useCapture) {
if (object.removeEventListener) { if (object.removeEventListener) {
object.removeEventListener(event, method, useCapture); object.removeEventListener(event, method, useCapture);
} else if (object.deachEvent) { } else if (object.detachEvent) {
object.deachEvent("on".concat(event), method); object.detachEvent("on".concat(event), method);
} }
} }

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/**! /**!
* hotkeys-js v3.13.6 * hotkeys-js v3.13.7
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
* *
* Copyright (c) 2024 kenny wong <wowohoo@qq.com> * Copyright (c) 2024 kenny wong <wowohoo@qq.com>
@ -23,8 +23,8 @@ function addEvent(object, event, method, useCapture) {
function removeEvent(object, event, method, useCapture) { function removeEvent(object, event, method, useCapture) {
if (object.removeEventListener) { if (object.removeEventListener) {
object.removeEventListener(event, method, useCapture); object.removeEventListener(event, method, useCapture);
} else if (object.deachEvent) { } else if (object.detachEvent) {
object.deachEvent("on".concat(event), method); object.detachEvent("on".concat(event), method);
} }
} }

6
dist/hotkeys.js vendored

@ -1,5 +1,5 @@
/**! /**!
* hotkeys-js v3.13.6 * hotkeys-js v3.13.7
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
* *
* Copyright (c) 2024 kenny wong <wowohoo@qq.com> * Copyright (c) 2024 kenny wong <wowohoo@qq.com>
@ -29,8 +29,8 @@
function removeEvent(object, event, method, useCapture) { function removeEvent(object, event, method, useCapture) {
if (object.removeEventListener) { if (object.removeEventListener) {
object.removeEventListener(event, method, useCapture); object.removeEventListener(event, method, useCapture);
} else if (object.deachEvent) { } else if (object.detachEvent) {
object.deachEvent("on".concat(event), method); object.detachEvent("on".concat(event), method);
} }
} }

File diff suppressed because one or more lines are too long

4
package-lock.json generated

@ -1,12 +1,12 @@
{ {
"name": "hotkeys-js", "name": "hotkeys-js",
"version": "3.13.3", "version": "3.13.7",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "hotkeys-js", "name": "hotkeys-js",
"version": "3.13.3", "version": "3.13.7",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@babel/eslint-parser": "^7.18.9", "@babel/eslint-parser": "^7.18.9",

@ -1,7 +1,7 @@
{ {
"name": "hotkeys-js", "name": "hotkeys-js",
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.", "description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
"version": "3.13.6", "version": "3.13.7",
"main": "index.js", "main": "index.js",
"types": "index.d.ts", "types": "index.d.ts",
"module": "dist/hotkeys.esm.js", "module": "dist/hotkeys.esm.js",

Loading…
Cancel
Save