Skip to content

Commit

Permalink
fix imports and injections order
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-atr committed Oct 21, 2022
1 parent 3a1c7a0 commit dee24bd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/scriptlets/trusted-replace-xhr-response.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -213,11 +213,11 @@ trustedReplaceXhrResponse.injections = [
hit,
objectToString,
getWildcardSymbol,
parseMatchProps,
matchRequestProps,
getXhrData,
validateParsedData,
getMatchPropsData,
validateParsedData,
parseMatchProps,
toRegExp,
isValidStrPattern,
escapeRegExp,
Expand Down

0 comments on commit dee24bd

Please sign in to comment.