diff --git a/deps/streamsearch/sbmh.js b/deps/streamsearch/sbmh.js index d95546d..b967365 100644 --- a/deps/streamsearch/sbmh.js +++ b/deps/streamsearch/sbmh.js @@ -27,8 +27,8 @@ * by Hongli Lai at: https://github.com/FooBarWidget/boyer-moore-horspool */ -const EventEmitter = require('node:events').EventEmitter -const inherits = require('node:util').inherits +const { EventEmitter } = require('node:events') +const { inherits } = require('node:util') function SBMH (needle) { if (typeof needle === 'string') {