add node modules

This commit is contained in:
2025-11-24 21:27:19 +01:00
parent 4e2ff6abc8
commit 3e17a6df59
574 changed files with 441158 additions and 1 deletions

19
node_modules/before-after-hook/lib/remove.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
module.exports = removeHook;
function removeHook(state, name, method) {
if (!state.registry[name]) {
return;
}
var index = state.registry[name]
.map(function (registered) {
return registered.orig;
})
.indexOf(method);
if (index === -1) {
return;
}
state.registry[name].splice(index, 1);
}