From dee24bd567b8447ac69d7fbc13fee34be11e68ce Mon Sep 17 00:00:00 2001 From: Stanislav A Date: Fri, 21 Oct 2022 12:44:49 +0300 Subject: [PATCH] fix imports and injections order --- src/scriptlets/trusted-replace-xhr-response.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/scriptlets/trusted-replace-xhr-response.js b/src/scriptlets/trusted-replace-xhr-response.js index d97d2e84..e77fc282 100644 --- a/src/scriptlets/trusted-replace-xhr-response.js +++ b/src/scriptlets/trusted-replace-xhr-response.js @@ -2,13 +2,13 @@ import { hit, objectToString, getWildcardSymbol, - parseMatchProps, - validateParsedData, - getMatchPropsData, matchRequestProps, getXhrData, // following helpers should be imported and injected // because they are used by helpers above + getMatchPropsData, + validateParsedData, + parseMatchProps, toRegExp, isValidStrPattern, escapeRegExp, @@ -213,11 +213,11 @@ trustedReplaceXhrResponse.injections = [ hit, objectToString, getWildcardSymbol, - parseMatchProps, matchRequestProps, getXhrData, - validateParsedData, getMatchPropsData, + validateParsedData, + parseMatchProps, toRegExp, isValidStrPattern, escapeRegExp,