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.

24 lines
903 B
JavaScript
Raw Normal View History

2023-12-28 23:53:44 +09:00
import transformArrayFindLast from "./transform-array-find-last.js";
2024-06-18 07:00:16 +08:00
import transformArrayFindLastIndex from "./transform-array-find-last-index.js";
import transformArrayToReversed from "./transform-array-to-reversed.js";
import transformObjectHasOwnCall from "./transform-object-has-own.js";
import transformRelativeIndexing from "./transform-relative-indexing.js";
import transformStringReplaceAll from "./transform-string-replace-all.js";
2024-06-18 09:26:53 +09:00
// These transforms are like Babel and core-js
// Allow us to use JavaScript features in our source code that are not yet
// implemented in the Node.js version we support
export default [
2024-06-18 09:26:53 +09:00
// Node.js 18.0.0
2024-06-18 07:00:16 +08:00
transformArrayFindLast,
transformArrayFindLastIndex,
2024-06-18 09:26:53 +09:00
// Node.js 16.9.0
transformObjectHasOwnCall,
2024-06-18 09:26:53 +09:00
// Node.js 16.6.0
transformRelativeIndexing,
2024-06-18 09:26:53 +09:00
// Node.js 15.0.0
transformStringReplaceAll,
// Node.js 20
transformArrayToReversed,
];