Skip to content

Commit 03ae9de

Browse files
authored
Minimise use of parser (#1071)
* Upgrade dependencies * avoid parsing an extra time if the last parsed version matches the inferred version * caching the parser for multiple calls to the parser * using the new parser for ImportDirective tests * fixing the parser possibly being undefined * remove the non-deterministic behaviour when the cached parser is used to infer a document with no pragmas * small performance improvement by having the query array set as a constant instead of creating the array in every call
1 parent 2bf85b9 commit 03ae9de

File tree

5 files changed

+325
-266
lines changed

5 files changed

+325
-266
lines changed

0 commit comments

Comments
 (0)