type-git 0.6.0 → 0.7.0

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.
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkBRFWPLJ7cjs = require('./chunk-BRFWPLJ7.cjs');
8
+ var _chunkNBX6BNQFcjs = require('./chunk-NBX6BNQF.cjs');
9
9
 
10
10
  // src/adapters/node/exec.ts
11
11
  var _child_process = require('child_process');
@@ -134,7 +134,7 @@ var NodeExecAdapter = class {
134
134
  exitSignal = sig;
135
135
  }
136
136
  resolve({
137
- stdout: binary ? _chunkBRFWPLJ7cjs.joinBytes.call(void 0, stdoutChunks) : stdout,
137
+ stdout: binary ? _chunkNBX6BNQFcjs.joinBytes.call(void 0, stdoutChunks) : stdout,
138
138
  stderr,
139
139
  exitCode: _nullishCoalesce(code, () => ( -1)),
140
140
  signal: exitSignal,
@@ -273,7 +273,7 @@ var NodeFsAdapter = (_class = class {constructor() { _class.prototype.__init.cal
273
273
  sleep: (ms) => new Promise((resolve) => setTimeout(resolve, ms))
274
274
  };
275
275
  try {
276
- await _chunkBRFWPLJ7cjs.runTailPolling.call(void 0, { adapter, signal, pollInterval, onLine });
276
+ await _chunkNBX6BNQFcjs.runTailPolling.call(void 0, { adapter, signal, pollInterval, onLine });
277
277
  } finally {
278
278
  if (state.file) {
279
279
  await state.file.close();
@@ -330,7 +330,7 @@ var NodeFsAdapter = (_class = class {constructor() { _class.prototype.__init.cal
330
330
  },
331
331
  sleep: (ms) => new Promise((resolve) => setTimeout(resolve, ms))
332
332
  };
333
- const polling = _chunkBRFWPLJ7cjs.createTailPolling.call(void 0, { adapter, signal, pollInterval });
333
+ const polling = _chunkNBX6BNQFcjs.createTailPolling.call(void 0, { adapter, signal, pollInterval });
334
334
  const closeFileHandle = async () => {
335
335
  if (state.file) {
336
336
  await state.file.close().catch(() => {
@@ -368,18 +368,18 @@ function splitOptions(options) {
368
368
  adapters: createNodeAdapters(windowsHide === void 0 ? void 0 : { windowsHide })
369
369
  };
370
370
  }
371
- var TypeGit = class _TypeGit extends _chunkBRFWPLJ7cjs.GitClient {
371
+ var TypeGit = class _TypeGit extends _chunkNBX6BNQFcjs.GitClient {
372
372
  /**
373
373
  * Create a client after checking the installed Git version. Node adapter options such as
374
374
  * `windowsHide` are passed to the execution adapter.
375
375
  */
376
376
  static async create(options) {
377
- return new _TypeGit(await _chunkBRFWPLJ7cjs.createGit.call(void 0, splitOptions(options)));
377
+ return new _TypeGit(await _chunkNBX6BNQFcjs.createGit.call(void 0, splitOptions(options)));
378
378
  }
379
379
  /** Wrap an existing Git instance, or create one from options without the version check. */
380
380
  constructor(optionsOrGit) {
381
381
  super(
382
- optionsOrGit && "open" in optionsOrGit ? optionsOrGit : _chunkBRFWPLJ7cjs.createGitSync.call(void 0, splitOptions(optionsOrGit))
382
+ optionsOrGit && "open" in optionsOrGit ? optionsOrGit : _chunkNBX6BNQFcjs.createGitSync.call(void 0, splitOptions(optionsOrGit))
383
383
  );
384
384
  }
385
385
  };