Merge branch 'Youzini-afk:main' into main

This commit is contained in:
Hao19911125
2026-04-11 21:55:40 +08:00
committed by GitHub
2 changed files with 9 additions and 2 deletions

View File

@@ -6,6 +6,6 @@
"js": "index.js",
"css": "style.css",
"author": "Youzini",
"version": "4.6.1",
"version": "4.6.2",
"homePage": "https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology"
}

View File

@@ -1,4 +1,11 @@
import { register, registerHooks } from "node:module";
import * as nodeModule from "node:module";
const register =
typeof nodeModule.register === "function" ? nodeModule.register : undefined;
const registerHooks =
typeof nodeModule.registerHooks === "function"
? nodeModule.registerHooks
: undefined;
const DEFAULT_REGEX_ENGINE_HOOK_ENTRIES = Object.freeze([
{