cross-spawn-cb 2.4.3 → 2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import type { ChildProcess } from 'child_process';
2
- import type { Enoent, Parsed, SpawnOptions, SpawnResult, SpawnSyncOptions } from './types.ts';
2
+ import type { Enoent, Parsed, SpawnOptions, SpawnResult, SpawnSyncOptions } from './types.js';
3
3
  declare function spawn(command: string, args: string[], options?: SpawnOptions): ChildProcess;
4
4
  declare namespace spawn {
5
5
  var sync: (command: string, args: string[], options?: SpawnSyncOptions) => SpawnResult;
@@ -1,5 +1,5 @@
1
1
  import type { ChildProcess } from 'child_process';
2
- import type { Enoent, Parsed, SpawnOptions, SpawnResult, SpawnSyncOptions } from './types.ts';
2
+ import type { Enoent, Parsed, SpawnOptions, SpawnResult, SpawnSyncOptions } from './types.js';
3
3
  declare function spawn(command: string, args: string[], options?: SpawnOptions): ChildProcess;
4
4
  declare namespace spawn {
5
5
  var sync: (command: string, args: string[], options?: SpawnSyncOptions) => SpawnResult;
@@ -1,4 +1,4 @@
1
- export { default as crossSpawn } from './crossSpawn.ts';
2
- export { default, default as spawn } from './spawn.ts';
3
- export { default as sync } from './spawnSync.ts';
4
- export type * from './types.ts';
1
+ export { default as crossSpawn } from './crossSpawn.js';
2
+ export { default, default as spawn } from './spawn.js';
3
+ export { default as sync } from './spawnSync.js';
4
+ export type * from './types.js';
@@ -1,4 +1,4 @@
1
- export { default as crossSpawn } from './crossSpawn.ts';
2
- export { default, default as spawn } from './spawn.ts';
3
- export { default as sync } from './spawnSync.ts';
4
- export type * from './types.ts';
1
+ export { default as crossSpawn } from './crossSpawn.js';
2
+ export { default, default as spawn } from './spawn.js';
3
+ export { default as sync } from './spawnSync.js';
4
+ export type * from './types.js';
@@ -1,9 +1,9 @@
1
- import spawnSync from './spawnSync.ts';
2
- import type { SpawnCallback, SpawnOptions, SpawnResult } from './types.ts';
1
+ import spawnSync from './spawnSync.js';
2
+ import type { SpawnCallback, SpawnOptions, SpawnResult } from './types.js';
3
3
  declare function spawn(command: string, args: string[], options?: SpawnOptions | SpawnCallback, callback?: SpawnCallback): undefined | Promise<SpawnResult>;
4
4
  declare namespace spawn {
5
- var worker: typeof import("./workers/async.ts").default;
5
+ var worker: typeof import("./workers/async.js").default;
6
6
  var sync: typeof spawnSync;
7
- var crossSpawn: typeof import("./crossSpawn.ts").default;
7
+ var crossSpawn: typeof import("./crossSpawn.js").default;
8
8
  }
9
9
  export default spawn;
@@ -1,9 +1,9 @@
1
- import spawnSync from './spawnSync.ts';
2
- import type { SpawnCallback, SpawnOptions, SpawnResult } from './types.ts';
1
+ import spawnSync from './spawnSync.js';
2
+ import type { SpawnCallback, SpawnOptions, SpawnResult } from './types.js';
3
3
  declare function spawn(command: string, args: string[], options?: SpawnOptions | SpawnCallback, callback?: SpawnCallback): undefined | Promise<SpawnResult>;
4
4
  declare namespace spawn {
5
- var worker: typeof import("./workers/async.ts").default;
5
+ var worker: typeof import("./workers/async.js").default;
6
6
  var sync: typeof spawnSync;
7
- var crossSpawn: typeof import("./crossSpawn.ts").default;
7
+ var crossSpawn: typeof import("./crossSpawn.js").default;
8
8
  }
9
9
  export default spawn;
@@ -1,6 +1,6 @@
1
- import type { SpawnResult, SpawnSyncOptions } from './types.ts';
1
+ import type { SpawnResult, SpawnSyncOptions } from './types.js';
2
2
  declare function spawnSync(command: string, args: string[], options?: SpawnSyncOptions): SpawnResult;
3
3
  declare namespace spawnSync {
4
- var worker: typeof import("./workers/sync.ts").default;
4
+ var worker: typeof import("./workers/sync.js").default;
5
5
  }
6
6
  export default spawnSync;
@@ -1,6 +1,6 @@
1
- import type { SpawnResult, SpawnSyncOptions } from './types.ts';
1
+ import type { SpawnResult, SpawnSyncOptions } from './types.js';
2
2
  declare function spawnSync(command: string, args: string[], options?: SpawnSyncOptions): SpawnResult;
3
3
  declare namespace spawnSync {
4
- var worker: typeof import("./workers/sync.ts").default;
4
+ var worker: typeof import("./workers/sync.js").default;
5
5
  }
6
6
  export default spawnSync;
@@ -1,2 +1,2 @@
1
- import type { ChildProcess, SpawnCallback, SpawnOptions } from '../types.ts';
1
+ import type { ChildProcess, SpawnCallback, SpawnOptions } from '../types.js';
2
2
  export default function worker(cp: ChildProcess, options?: SpawnOptions | SpawnCallback, callback?: SpawnCallback): void;
@@ -1,2 +1,2 @@
1
- import type { ChildProcess, SpawnCallback, SpawnOptions } from '../types.ts';
1
+ import type { ChildProcess, SpawnCallback, SpawnOptions } from '../types.js';
2
2
  export default function worker(cp: ChildProcess, options?: SpawnOptions | SpawnCallback, callback?: SpawnCallback): void;
@@ -1,2 +1,2 @@
1
- import type { SpawnOptions, SpawnResult } from '../types.ts';
1
+ import type { SpawnOptions, SpawnResult } from '../types.js';
2
2
  export default function worker(res: SpawnResult, options?: SpawnOptions): SpawnResult;
@@ -1,2 +1,2 @@
1
- import type { SpawnOptions, SpawnResult } from '../types.ts';
1
+ import type { SpawnOptions, SpawnResult } from '../types.js';
2
2
  export default function worker(res: SpawnResult, options?: SpawnOptions): SpawnResult;
@@ -1,5 +1,5 @@
1
1
  import type { ChildProcess } from 'child_process';
2
- import type { Enoent, Parsed, SpawnOptions, SpawnResult, SpawnSyncOptions } from './types.ts';
2
+ import type { Enoent, Parsed, SpawnOptions, SpawnResult, SpawnSyncOptions } from './types.js';
3
3
  declare function spawn(command: string, args: string[], options?: SpawnOptions): ChildProcess;
4
4
  declare namespace spawn {
5
5
  var sync: (command: string, args: string[], options?: SpawnSyncOptions) => SpawnResult;
@@ -1,4 +1,4 @@
1
- export { default as crossSpawn } from './crossSpawn.ts';
2
- export { default, default as spawn } from './spawn.ts';
3
- export { default as sync } from './spawnSync.ts';
4
- export type * from './types.ts';
1
+ export { default as crossSpawn } from './crossSpawn.js';
2
+ export { default, default as spawn } from './spawn.js';
3
+ export { default as sync } from './spawnSync.js';
4
+ export type * from './types.js';
@@ -1,9 +1,9 @@
1
- import spawnSync from './spawnSync.ts';
2
- import type { SpawnCallback, SpawnOptions, SpawnResult } from './types.ts';
1
+ import spawnSync from './spawnSync.js';
2
+ import type { SpawnCallback, SpawnOptions, SpawnResult } from './types.js';
3
3
  declare function spawn(command: string, args: string[], options?: SpawnOptions | SpawnCallback, callback?: SpawnCallback): undefined | Promise<SpawnResult>;
4
4
  declare namespace spawn {
5
- var worker: typeof import("./workers/async.ts").default;
5
+ var worker: typeof import("./workers/async.js").default;
6
6
  var sync: typeof spawnSync;
7
- var crossSpawn: typeof import("./crossSpawn.ts").default;
7
+ var crossSpawn: typeof import("./crossSpawn.js").default;
8
8
  }
9
9
  export default spawn;
@@ -1,6 +1,6 @@
1
- import type { SpawnResult, SpawnSyncOptions } from './types.ts';
1
+ import type { SpawnResult, SpawnSyncOptions } from './types.js';
2
2
  declare function spawnSync(command: string, args: string[], options?: SpawnSyncOptions): SpawnResult;
3
3
  declare namespace spawnSync {
4
- var worker: typeof import("./workers/sync.ts").default;
4
+ var worker: typeof import("./workers/sync.js").default;
5
5
  }
6
6
  export default spawnSync;
@@ -1,2 +1,2 @@
1
- import type { ChildProcess, SpawnCallback, SpawnOptions } from '../types.ts';
1
+ import type { ChildProcess, SpawnCallback, SpawnOptions } from '../types.js';
2
2
  export default function worker(cp: ChildProcess, options?: SpawnOptions | SpawnCallback, callback?: SpawnCallback): void;
@@ -1,2 +1,2 @@
1
- import type { SpawnOptions, SpawnResult } from '../types.ts';
1
+ import type { SpawnOptions, SpawnResult } from '../types.js';
2
2
  export default function worker(res: SpawnResult, options?: SpawnOptions): SpawnResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cross-spawn-cb",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
4
4
  "description": "Cross spawn with a completion callback",
5
5
  "keywords": [
6
6
  "cross-spawn",