From 4628515901d813df9e8703b135b85f5c542970c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrg=C3=BCn=20Day=C4=B1o=C4=9Flu?= Date: Sat, 16 Mar 2024 21:45:50 +0100 Subject: [PATCH] imports --- deps/streamsearch/sbmh.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') {