summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/_util/std_testing_diff.ts
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2024-01-11 07:37:25 +0900
committerGitHub <noreply@github.com>2024-01-10 15:37:25 -0700
commit515a34b4de222e35c7ade1b92614d746e73d4c2e (patch)
tree8284201fc826a33f12597959a8a8be14e0f524bd /ext/node/polyfills/_util/std_testing_diff.ts
parentd4893eb51a01c5a692d8ca74a3b8ff95c5fd1d9f (diff)
refactor: use `core.ensureFastOps()` (#21888)
Diffstat (limited to 'ext/node/polyfills/_util/std_testing_diff.ts')
-rw-r--r--ext/node/polyfills/_util/std_testing_diff.ts27
1 files changed, 14 insertions, 13 deletions
diff --git a/ext/node/polyfills/_util/std_testing_diff.ts b/ext/node/polyfills/_util/std_testing_diff.ts
index 878e21f0b..74e396b0c 100644
--- a/ext/node/polyfills/_util/std_testing_diff.ts
+++ b/ext/node/polyfills/_util/std_testing_diff.ts
@@ -2,15 +2,6 @@
// This file was vendored from std/testing/_diff.ts
import { primordials } from "ext:core/mod.js";
-import {
- bgGreen,
- bgRed,
- bold,
- gray,
- green,
- red,
- white,
-} from "ext:deno_node/_util/std_fmt_colors.ts";
const {
ArrayFrom,
ArrayPrototypeFilter,
@@ -23,19 +14,29 @@ const {
ArrayPrototypeReverse,
ArrayPrototypeShift,
ArrayPrototypeSlice,
- ArrayPrototypeSplice,
ArrayPrototypeSome,
+ ArrayPrototypeSplice,
ArrayPrototypeUnshift,
+ MathMin,
+ ObjectFreeze,
SafeArrayIterator,
SafeRegExp,
- StringPrototypeSplit,
StringPrototypeReplace,
+ StringPrototypeSplit,
StringPrototypeTrim,
- MathMin,
- ObjectFreeze,
Uint32Array,
} = primordials;
+import {
+ bgGreen,
+ bgRed,
+ bold,
+ gray,
+ green,
+ red,
+ white,
+} from "ext:deno_node/_util/std_fmt_colors.ts";
+
interface FarthestPoint {
y: number;
id: number;