File tree Expand file tree Collapse file tree 7 files changed +7
-14
lines changed
chatgpt-auto-continue/utils/bump
chatgpt-infinity/utils/bump
chatgpt-widescreen/utils/bump Expand file tree Collapse file tree 7 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 101101 // Collect resourcs
102102 log . working ( '\nCollecting resources...\n' )
103103 const userJScontent = fs . readFileSync ( userJSfilePath , 'utf-8' ) ,
104- reResURL = new RegExp ( regEx . jsURL . source , 'gm' ) ,
105- resURLs = [ ...userJScontent . matchAll ( reResURL ) ] . map ( match => match [ 1 ] || match [ 2 ] )
104+ resURLs = [ ...userJScontent . matchAll ( new RegExp ( regEx . jsURL . source , 'gm' ) ) ] . map ( match => match [ 1 ] )
106105 log . success ( `${ resURLs . length } potentially bumpable resource(s) found.` )
107106
108107 // Fetch latest commit hash for adamlui/ai-web-extensions
Original file line number Diff line number Diff line change 101101 // Collect resourcs
102102 log . working ( '\nCollecting resources...\n' )
103103 const userJScontent = fs . readFileSync ( userJSfilePath , 'utf-8' ) ,
104- reResURL = new RegExp ( regEx . jsURL . source , 'gm' ) ,
105- resURLs = [ ...userJScontent . matchAll ( reResURL ) ] . map ( match => match [ 1 ] || match [ 2 ] )
104+ resURLs = [ ...userJScontent . matchAll ( new RegExp ( regEx . jsURL . source , 'gm' ) ) ] . map ( match => match [ 1 ] )
106105 log . success ( `${ resURLs . length } potentially bumpable resource(s) found.` )
107106
108107 // Fetch latest commit hash for adamlui/ai-web-extensions
Original file line number Diff line number Diff line change 105105 // Collect resourcs
106106 log . working ( '\nCollecting resources...\n' )
107107 const userJScontent = fs . readFileSync ( userJSfilePath , 'utf-8' ) ,
108- reResURL = new RegExp ( regEx . jsURL . source , 'gm' ) ,
109- resURLs = [ ...userJScontent . matchAll ( reResURL ) ] . map ( match => match [ 1 ] || match [ 2 ] )
108+ resURLs = [ ...userJScontent . matchAll ( new RegExp ( regEx . jsURL . source , 'gm' ) ) ] . map ( match => match [ 1 ] )
110109 log . success ( `${ resURLs . length } potentially bumpable resource(s) found.` )
111110
112111 // Fetch latest commit hash for adamlui/ai-web-extensions
Original file line number Diff line number Diff line change 105105 // Collect resourcs
106106 log . working ( '\nCollecting resources...\n' )
107107 const userJScontent = fs . readFileSync ( userJSfilePath , 'utf-8' ) ,
108- reResURL = new RegExp ( regEx . jsURL . source , 'gm' ) ,
109- resURLs = [ ...userJScontent . matchAll ( reResURL ) ] . map ( match => match [ 1 ] || match [ 2 ] )
108+ resURLs = [ ...userJScontent . matchAll ( new RegExp ( regEx . jsURL . source , 'gm' ) ) ] . map ( match => match [ 1 ] )
110109 log . success ( `${ resURLs . length } potentially bumpable resource(s) found.` )
111110
112111 // Fetch latest commit hash for adamlui/ai-web-extensions
Original file line number Diff line number Diff line change 101101 // Collect resourcs
102102 log . working ( '\nCollecting resources...\n' )
103103 const userJScontent = fs . readFileSync ( userJSfilePath , 'utf-8' ) ,
104- reResURL = new RegExp ( regEx . jsURL . source , 'gm' ) ,
105- resURLs = [ ...userJScontent . matchAll ( reResURL ) ] . map ( match => match [ 1 ] || match [ 2 ] )
104+ resURLs = [ ...userJScontent . matchAll ( new RegExp ( regEx . jsURL . source , 'gm' ) ) ] . map ( match => match [ 1 ] )
106105 log . success ( `${ resURLs . length } potentially bumpable resource(s) found.` )
107106
108107 // Fetch latest commit hash for adamlui/ai-web-extensions
Original file line number Diff line number Diff line change 101101 // Collect resourcs
102102 log . working ( '\nCollecting resources...\n' )
103103 const userJScontent = fs . readFileSync ( userJSfilePath , 'utf-8' ) ,
104- reResURL = new RegExp ( regEx . jsURL . source , 'gm' ) ,
105- resURLs = [ ...userJScontent . matchAll ( reResURL ) ] . map ( match => match [ 1 ] || match [ 2 ] )
104+ resURLs = [ ...userJScontent . matchAll ( new RegExp ( regEx . jsURL . source , 'gm' ) ) ] . map ( match => match [ 1 ] )
106105 log . success ( `${ resURLs . length } potentially bumpable resource(s) found.` )
107106
108107 // Fetch latest commit hash for adamlui/ai-web-extensions
Original file line number Diff line number Diff line change 101101 // Collect resourcs
102102 log . working ( '\nCollecting resources...\n' )
103103 const userJScontent = fs . readFileSync ( userJSfilePath , 'utf-8' ) ,
104- reResURL = new RegExp ( regEx . jsURL . source , 'gm' ) ,
105- resURLs = [ ...userJScontent . matchAll ( reResURL ) ] . map ( match => match [ 1 ] || match [ 2 ] )
104+ resURLs = [ ...userJScontent . matchAll ( new RegExp ( regEx . jsURL . source , 'gm' ) ) ] . map ( match => match [ 1 ] )
106105 log . success ( `${ resURLs . length } potentially bumpable resource(s) found.` )
107106
108107 // Fetch latest commit hash for adamlui/ai-web-extensions
You can’t perform that action at this time.
0 commit comments