File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa
44
55## Master
66
7+ - Prevent infinite loop when parsing corrupted lockfile with unterminated string
8+
9+ [ #4965 ] ( https://github.com/yarnpkg/yarn/pull/4965 ) - [ ** Ryan Hendrickson** ] ( https://github.com/rhendric )
10+
711- Environment variables now have to ** start** with ` YARN_ ` (instead of just contain it) to be considered
812
913 [ #6518 ] ( https://github.com/yarnpkg/yarn/pull/6518 ) - [ ** Michael Gmelin** ] ( https://blog.grem.de )
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ function* tokenise(input: string): Iterator<Token> {
9494 }
9595 } else if ( input [ 0 ] === '"' ) {
9696 let i = 1 ;
97- for ( ; ; i ++ ) {
97+ for ( ; i < input . length ; i ++ ) {
9898 if ( input [ i ] === '"' ) {
9999 const isEscaped = input [ i - 1 ] === '\\' && input [ i - 2 ] !== '\\' ;
100100 if ( ! isEscaped ) {
You can’t perform that action at this time.
0 commit comments