@@ -23,11 +23,14 @@ export enum RuntimeFamily {
23
23
* can instantiate a `Runtime` object, e.g: `new Runtime('nodejs99.99')`.
24
24
*/
25
25
export class Runtime {
26
- /** A list of all the know `` Runtime`` s. */
26
+ /** A list of all known ` Runtime`' s. */
27
27
public static readonly All = new Array < Runtime > ( ) ;
28
28
29
+ /** @deprecated Use `NodeJS810` or `NodeJS10x` */
29
30
public static readonly NodeJS = new Runtime ( 'nodejs' , RuntimeFamily . NodeJS , { supportsInlineCode : true } ) ;
31
+ /** @deprecated Use `NodeJS810` or `NodeJS10x` */
30
32
public static readonly NodeJS43 = new Runtime ( 'nodejs4.3' , RuntimeFamily . NodeJS , { supportsInlineCode : true } ) ;
33
+ /** @deprecated Use `NodeJS810` or `NodeJS10x` */
31
34
public static readonly NodeJS610 = new Runtime ( 'nodejs6.10' , RuntimeFamily . NodeJS , { supportsInlineCode : true } ) ;
32
35
public static readonly NodeJS810 = new Runtime ( 'nodejs8.10' , RuntimeFamily . NodeJS , { supportsInlineCode : true } ) ;
33
36
public static readonly NodeJS10x = new Runtime ( 'nodejs10.x' , RuntimeFamily . NodeJS , { supportsInlineCode : false } ) ;
@@ -36,6 +39,7 @@ export class Runtime {
36
39
public static readonly Python37 = new Runtime ( 'python3.7' , RuntimeFamily . Python , { supportsInlineCode : true } ) ;
37
40
public static readonly Java8 = new Runtime ( 'java8' , RuntimeFamily . Java ) ;
38
41
public static readonly DotNetCore1 = new Runtime ( 'dotnetcore1.0' , RuntimeFamily . DotNetCore ) ;
42
+ /** @deprecated Use `DotNetCore21` */
39
43
public static readonly DotNetCore2 = new Runtime ( 'dotnetcore2.0' , RuntimeFamily . DotNetCore ) ;
40
44
public static readonly DotNetCore21 = new Runtime ( 'dotnetcore2.1' , RuntimeFamily . DotNetCore ) ;
41
45
public static readonly Go1x = new Runtime ( 'go1.x' , RuntimeFamily . Go ) ;
0 commit comments