File tree Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Original file line number Diff line number Diff line change
1
+ ### 0.174.0 / 2023.01.25
2
+
3
+ - feat(fmt/printf): add formatter i/I (Deno.inspect) (#3100 )
4
+ - fix(encoding/csv): escape cells containing newlines (LFs) (#3128 )
5
+
1
6
### 0.173.0 / 2023.01.16
2
7
3
8
- fix(fs): change globstar default to true for expandGlob and expandGlobSync
Original file line number Diff line number Diff line change 2
2
3
3
// This module implements 'child_process' module of Node.JS API.
4
4
// ref: https://nodejs.org/api/child_process.html
5
+ import { core } from "./_core.ts" ;
5
6
import {
6
7
ChildProcess ,
7
8
ChildProcessOptions ,
@@ -139,8 +140,7 @@ export function fork(
139
140
options . shell = false ;
140
141
141
142
Object . assign ( options . env ??= { } , {
142
- // deno-lint-ignore no-explicit-any
143
- DENO_DONT_USE_INTERNAL_NODE_COMPAT_STATE : ( Deno as any ) . core . ops
143
+ DENO_DONT_USE_INTERNAL_NODE_COMPAT_STATE : core . ops
144
144
. op_npm_process_state ( ) ,
145
145
} ) ;
146
146
Original file line number Diff line number Diff line change @@ -40,16 +40,27 @@ Deno.test("global", async (t) => {
40
40
fn : ( t : Deno . TestContext ) => void | Promise < void > ,
41
41
) : Promise < boolean > ;
42
42
async step (
43
- tOrName : Deno . TestStepDefinition | string ,
43
+ fn : ( t : Deno . TestContext ) => void | Promise < void > ,
44
+ ) : Promise < boolean > ;
45
+ async step (
46
+ tOrNameOrFn :
47
+ | Deno . TestStepDefinition
48
+ | string
49
+ | ( ( t : Deno . TestContext ) => void | Promise < void > ) ,
44
50
fn ?: ( t : Deno . TestContext ) => void | Promise < void > ,
45
51
) : Promise < boolean > {
46
52
let ignore = false ;
47
- if ( typeof tOrName === "object" ) {
48
- ignore = tOrName . ignore ?? false ;
49
- fn = tOrName . fn ;
53
+ if ( typeof tOrNameOrFn === "function" ) {
54
+ ignore = false ;
55
+ fn = tOrNameOrFn ;
56
+ } else if ( typeof tOrNameOrFn === "object" ) {
57
+ ignore = tOrNameOrFn . ignore ?? false ;
58
+ fn = tOrNameOrFn . fn ;
50
59
}
51
60
52
- const name = typeof tOrName === "string" ? tOrName : tOrName . name ;
61
+ const name = typeof tOrNameOrFn === "string"
62
+ ? tOrNameOrFn
63
+ : tOrNameOrFn . name ;
53
64
const context = new TestContext ( name ) ;
54
65
this . steps . push ( context ) ;
55
66
if ( ! ignore ) {
Original file line number Diff line number Diff line change 5
5
* the cli's API is stable. In the future when std becomes stable, likely we
6
6
* will match versions with cli as we have in the past.
7
7
*/
8
- export const VERSION = "0.173 .0" ;
8
+ export const VERSION = "0.174 .0" ;
You can’t perform that action at this time.
0 commit comments