sfdx-git-delta 6.40.0 → 6.41.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.
package/README.md
CHANGED
|
@@ -201,7 +201,7 @@ FLAG DESCRIPTIONS
|
|
|
201
201
|
of a diff, in which case changes may still be picked up.
|
|
202
202
|
```
|
|
203
203
|
|
|
204
|
-
_See code: [src/commands/sgd/source/delta.ts](https://github.com/scolladon/sfdx-git-delta/blob/v6.
|
|
204
|
+
_See code: [src/commands/sgd/source/delta.ts](https://github.com/scolladon/sfdx-git-delta/blob/v6.41.0/src/commands/sgd/source/delta.ts)_
|
|
205
205
|
<!-- commandsstop -->
|
|
206
206
|
|
|
207
207
|
### Windows users
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const lazy: typeof import("../LoggingService.js").lazy;
|
|
2
2
|
declare const Logger: {
|
|
3
|
-
debug:
|
|
4
|
-
warn:
|
|
5
|
-
info:
|
|
6
|
-
error:
|
|
7
|
-
trace:
|
|
3
|
+
debug: import("vitest").Mock<(msg: unknown) => void>;
|
|
4
|
+
warn: import("vitest").Mock<(msg: unknown) => void>;
|
|
5
|
+
info: import("vitest").Mock<import("@vitest/spy").Procedure>;
|
|
6
|
+
error: import("vitest").Mock<import("@vitest/spy").Procedure>;
|
|
7
|
+
trace: import("vitest").Mock<import("@vitest/spy").Procedure>;
|
|
8
8
|
};
|
|
9
|
-
export {
|
|
9
|
+
export { Logger, lazy };
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
import { vi } from 'vitest';
|
|
2
|
+
const { lazy } = await vi.importActual('../LoggingService.js');
|
|
3
|
+
const resolve = vi.fn((msg) => {
|
|
3
4
|
if (typeof msg === 'function')
|
|
4
5
|
msg();
|
|
5
6
|
});
|
|
6
7
|
const Logger = {
|
|
7
8
|
debug: resolve,
|
|
8
9
|
warn: resolve,
|
|
9
|
-
info:
|
|
10
|
-
error:
|
|
11
|
-
trace:
|
|
10
|
+
info: vi.fn(),
|
|
11
|
+
error: vi.fn(),
|
|
12
|
+
trace: vi.fn(),
|
|
12
13
|
};
|
|
13
|
-
export {
|
|
14
|
+
export { Logger, lazy };
|
|
14
15
|
//# sourceMappingURL=LoggingService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoggingService.js","sourceRoot":"","sources":["../../../src/utils/__mocks__/LoggingService.ts"],"names":[],"mappings":"AAAA,MAAM,EAAE,IAAI,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"LoggingService.js","sourceRoot":"","sources":["../../../src/utils/__mocks__/LoggingService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAE3B,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,EAAE,CAAC,YAAY,CACpC,sBAAsB,CACvB,CAAA;AAED,MAAM,OAAO,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,GAAY,EAAE,EAAE;IACrC,IAAI,OAAO,GAAG,KAAK,UAAU;QAAG,GAAkB,EAAE,CAAA;AACtD,CAAC,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG;IACb,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE;IACb,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE;IACd,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE;CACf,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA"}
|