2025-11-03 04:54:10 +08:00
|
|
|
import transformDocModuleImports from "./transform-doc-module-imports.js";
|
2025-10-28 02:51:50 +08:00
|
|
|
import transformMethodAt from "./transform-method-at.js";
|
|
|
|
|
import transformMethodFindLast from "./transform-method-find-last.js";
|
|
|
|
|
import transformMethodFindLastIndex from "./transform-method-find-last-index.js";
|
|
|
|
|
import transformMethodReplaceAll from "./transform-method-replace-all.js";
|
|
|
|
|
import transformMethodToReversed from "./transform-method-to-reversed.js";
|
2022-11-15 18:26:06 +08:00
|
|
|
import transformObjectHasOwnCall from "./transform-object-has-own.js";
|
2025-10-27 23:24:02 +08:00
|
|
|
import transformStringRaw from "./transform-string-raw.js";
|
2024-06-18 09:26:53 +09:00
|
|
|
|
2022-11-15 18:26:06 +08:00
|
|
|
export default [
|
2024-06-18 09:26:53 +09:00
|
|
|
// Node.js 18.0.0
|
2025-10-28 02:51:50 +08:00
|
|
|
transformMethodFindLast,
|
|
|
|
|
transformMethodFindLastIndex,
|
2024-06-18 09:26:53 +09:00
|
|
|
// Node.js 16.9.0
|
2022-11-15 18:26:06 +08:00
|
|
|
transformObjectHasOwnCall,
|
2025-10-27 23:24:02 +08:00
|
|
|
// Node.js 16.6.0, and for performance
|
2025-10-28 02:51:50 +08:00
|
|
|
transformMethodAt,
|
2024-06-18 09:26:53 +09:00
|
|
|
// Node.js 15.0.0
|
2025-10-28 02:51:50 +08:00
|
|
|
transformMethodReplaceAll,
|
2025-06-05 17:23:49 +08:00
|
|
|
// Node.js 20
|
2025-10-28 02:51:50 +08:00
|
|
|
transformMethodToReversed,
|
2025-10-27 23:24:02 +08:00
|
|
|
// For performance
|
|
|
|
|
transformStringRaw,
|
2025-11-03 04:54:10 +08:00
|
|
|
// Replace imports with public doc module if possible
|
|
|
|
|
transformDocModuleImports,
|
2022-11-15 18:26:06 +08:00
|
|
|
];
|