File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @hawk.so/javascript" ,
33 "type" : " commonjs" ,
4- "version" : " 3.2.2 " ,
4+ "version" : " 3.2.3 " ,
55 "description" : " JavaScript errors tracking for Hawk.so" ,
66 "files" : [
77 " dist"
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export default class StackParser {
8080 * In some cases column number of the error stack trace frame would be less then 200, but source code is minified
8181 * For this cases we need to check, that all of the lines to collect have length less than 200 too
8282 */
83- for ( const lineToCheck in lines . slice ( lineFrom , lineTo ) ) {
83+ lines . slice ( lineFrom , lineTo ) . forEach ( ( lineToCheck ) => {
8484 if ( lineToCheck . length > minifiedSourceCodeThreshold ) {
8585 return null ;
8686 } else {
@@ -91,7 +91,7 @@ export default class StackParser {
9191
9292 extractedLineIndex += 1 ;
9393 }
94- }
94+ } ) ;
9595
9696 return sourceCodeLines ;
9797 } catch ( e ) {
You can’t perform that action at this time.
0 commit comments