File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 strategy :
1212 matrix :
13- node : [10, 12, 14]
13+ node : [12, 14, 16 ]
1414 steps :
1515 - uses : actions/checkout@v1
1616 - uses : actions/setup-node@v1
8686 - uses : actions/checkout@v2
8787 - uses : actions/setup-node@v1
8888 with :
89- node-version : 14
89+ node-version : 16
9090 - run : cd test/tscc && npm install && npx @tscc/tscc
9191 - run : cd test/tscc && node out.js
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { YargsParser } from './yargs-parser.js'
1818// version support policy. The YARGS_MIN_NODE_VERSION is used for testing only.
1919const minNodeVersion = ( process && process . env && process . env . YARGS_MIN_NODE_VERSION )
2020 ? Number ( process . env . YARGS_MIN_NODE_VERSION )
21- : 10
21+ : 12
2222if ( process && process . version ) {
2323 const major = Number ( process . version . match ( / v ( [ ^ . ] + ) / ) ! [ 1 ] )
2424 if ( major < minNodeVersion ) {
Original file line number Diff line number Diff line change @@ -681,7 +681,7 @@ export class YargsParser {
681681 }
682682
683683 setConfigObject ( config )
684- } catch ( ex ) {
684+ } catch ( ex : any ) {
685685 // Deno will receive a PermissionDenied error if an attempt is
686686 // made to load config without the --allow-read flag:
687687 if ( ex . name === 'PermissionDenied' ) error = ex
@@ -759,7 +759,7 @@ export class YargsParser {
759759 argv [ ali ] = value
760760 } )
761761 } catch ( err ) {
762- error = err
762+ error = err as Error
763763 }
764764 }
765765 }
Original file line number Diff line number Diff line change 7777 " !*.d.ts"
7878 ],
7979 "engines" : {
80- "node" : " >=10 "
80+ "node" : " >=12 "
8181 },
8282 "standardx" : {
8383 "ignore" : [
Original file line number Diff line number Diff line change 22 "name" : " optimized-test" ,
33 "version" : " 0.0.0" ,
44 "dependencies" : {
5- "@tscc/tscc" : " ^0.6 .4" ,
5+ "@tscc/tscc" : " ^0.7 .4" ,
66 "@types/node" : " ^10.0.3"
77 }
88}
You can’t perform that action at this time.
0 commit comments