Files
test-repo/scripts/build/transform/transforms/index.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
1000 B
JavaScript
Raw Normal View History

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";
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
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
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,
// 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,
];