From a42d07c0ed48ad54dc77bd4dabbf0766e1a5a014 Mon Sep 17 00:00:00 2001 From: Felix <188768+fb55@users.noreply.github.com> Date: Sun, 13 Aug 2023 18:11:40 +0100 Subject: [PATCH] refactor(querying): Don't flatten node stack The node stack in query methods is now an array of arrays. --- src/helpers/querying.ts | 82 +++++++++++++++++++++++++++++++---------- 1 file changed, 62 insertions(+), 20 deletions(-) diff --git a/src/helpers/querying.ts b/src/helpers/querying.ts index baf0c15b..83e2a3af 100644 --- a/src/helpers/querying.ts +++ b/src/helpers/querying.ts @@ -4,7 +4,6 @@ import type { InternalOptions, Predicate, Adapter } from "../types.js"; * Find all elements matching the query. If not in XML mode, the query will ignore * the contents of `