@oclif/plugin-command-snapshot 3.3.1 → 3.3.3
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.
|
@@ -7,7 +7,7 @@ export type SchemaComparison = Array<{
|
|
|
7
7
|
}>;
|
|
8
8
|
export default class SchemaCompare extends SnapshotCommand {
|
|
9
9
|
static flags: {
|
|
10
|
-
filepath: import("@oclif/core/lib/interfaces").OptionFlag<string,
|
|
10
|
+
filepath: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
11
11
|
};
|
|
12
12
|
run(): Promise<SchemaComparison>;
|
|
13
13
|
private readExistingSchema;
|
|
@@ -37,7 +37,7 @@ export declare class SchemaGenerator {
|
|
|
37
37
|
}
|
|
38
38
|
export default class SchemaGenerate extends SnapshotCommand {
|
|
39
39
|
static flags: {
|
|
40
|
-
filepath: import("@oclif/core/lib/interfaces").OptionFlag<string,
|
|
40
|
+
filepath: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
41
41
|
singlefile: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
42
42
|
ignorevoid: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
43
43
|
};
|
|
@@ -17,7 +17,7 @@ export type CompareResponse = {
|
|
|
17
17
|
};
|
|
18
18
|
export default class Compare extends SnapshotCommand {
|
|
19
19
|
static flags: {
|
|
20
|
-
filepath: import("@oclif/core/lib/interfaces").OptionFlag<string,
|
|
20
|
+
filepath: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
23
|
* Compare a snapshot with the current commands
|
|
@@ -2,7 +2,7 @@ import { SnapshotCommand, SnapshotEntry } from '../../snapshot-command';
|
|
|
2
2
|
export type Snapshots = SnapshotEntry[];
|
|
3
3
|
export default class Generate extends SnapshotCommand {
|
|
4
4
|
static flags: {
|
|
5
|
-
filepath: import("@oclif/core/lib/interfaces").OptionFlag<string,
|
|
5
|
+
filepath: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
6
6
|
};
|
|
7
7
|
run(): Promise<Snapshots>;
|
|
8
8
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/plugin-command-snapshot",
|
|
3
3
|
"description": "generates and compares OCLIF plugins snapshot files",
|
|
4
|
-
"version": "3.3.
|
|
4
|
+
"version": "3.3.3",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/plugin-command-snapshot/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "^2.0.
|
|
8
|
+
"@oclif/core": "^2.0.8",
|
|
9
9
|
"chalk": "^4.1.2",
|
|
10
10
|
"just-diff": "^5.2.0",
|
|
11
11
|
"lodash": "^4.17.21",
|
|
12
12
|
"semver": "^7.3.8",
|
|
13
13
|
"ts-json-schema-generator": "^1.2.0",
|
|
14
|
-
"tslib": "^2.
|
|
14
|
+
"tslib": "^2.5.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@commitlint/config-conventional": "^12.1.4",
|
|
18
|
-
"@oclif/plugin-help": "^5.
|
|
19
|
-
"@oclif/test": "^2.3.
|
|
18
|
+
"@oclif/plugin-help": "^5.2.2",
|
|
19
|
+
"@oclif/test": "^2.3.4",
|
|
20
20
|
"@types/chai": "^4.3.4",
|
|
21
21
|
"@types/mocha": "^8",
|
|
22
22
|
"@types/node": "^15",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"husky": "6",
|
|
30
30
|
"mocha": "^8",
|
|
31
31
|
"nyc": "^15",
|
|
32
|
-
"oclif": "^3.6.
|
|
32
|
+
"oclif": "^3.6.1",
|
|
33
33
|
"sinon": "^11.1.2",
|
|
34
34
|
"ts-node": "^10",
|
|
35
35
|
"typescript": "^4.9.4"
|
package/yarn.lock
CHANGED
|
@@ -655,44 +655,10 @@
|
|
|
655
655
|
widest-line "^3.1.0"
|
|
656
656
|
wrap-ansi "^7.0.0"
|
|
657
657
|
|
|
658
|
-
"@oclif/core@^2.0.2
|
|
659
|
-
version "2.0.
|
|
660
|
-
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-2.0.
|
|
661
|
-
integrity sha512-
|
|
662
|
-
dependencies:
|
|
663
|
-
"@types/cli-progress" "^3.11.0"
|
|
664
|
-
ansi-escapes "^4.3.2"
|
|
665
|
-
ansi-styles "^4.3.0"
|
|
666
|
-
cardinal "^2.1.1"
|
|
667
|
-
chalk "^4.1.2"
|
|
668
|
-
clean-stack "^3.0.1"
|
|
669
|
-
cli-progress "^3.10.0"
|
|
670
|
-
debug "^4.3.4"
|
|
671
|
-
ejs "^3.1.6"
|
|
672
|
-
fs-extra "^9.1.0"
|
|
673
|
-
get-package-type "^0.1.0"
|
|
674
|
-
globby "^11.1.0"
|
|
675
|
-
hyperlinker "^1.0.0"
|
|
676
|
-
indent-string "^4.0.0"
|
|
677
|
-
is-wsl "^2.2.0"
|
|
678
|
-
js-yaml "^3.14.1"
|
|
679
|
-
natural-orderby "^2.0.3"
|
|
680
|
-
object-treeify "^1.1.33"
|
|
681
|
-
password-prompt "^1.1.2"
|
|
682
|
-
semver "^7.3.7"
|
|
683
|
-
string-width "^4.2.3"
|
|
684
|
-
strip-ansi "^6.0.1"
|
|
685
|
-
supports-color "^8.1.1"
|
|
686
|
-
supports-hyperlinks "^2.2.0"
|
|
687
|
-
tslib "^2.4.1"
|
|
688
|
-
widest-line "^3.1.0"
|
|
689
|
-
wordwrap "^1.0.0"
|
|
690
|
-
wrap-ansi "^7.0.0"
|
|
691
|
-
|
|
692
|
-
"@oclif/core@^2.0.3":
|
|
693
|
-
version "2.0.3"
|
|
694
|
-
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-2.0.3.tgz#ce71efbfc6e4c2655579ce81adce6471be2bc799"
|
|
695
|
-
integrity sha512-Dr6tghg32KKEivcWYqrx9bgC8FDE4i47FLR1wjnLg3jNJWf+blTYorj6aHize2WF0wiwkvB28Cr5TUNBooB4AQ==
|
|
658
|
+
"@oclif/core@^2.0.3", "@oclif/core@^2.0.7", "@oclif/core@^2.0.8":
|
|
659
|
+
version "2.0.8"
|
|
660
|
+
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-2.0.8.tgz#81c79f051ffb326b7c9999463ae9547a7e799316"
|
|
661
|
+
integrity sha512-jt06vEZfpazkR0C8vYuVMKmsxjky52y1B1oFGPnCa6/17qH+PByd5knQP6/QbRoE5OT9RAf4zzpxx2wcihVslw==
|
|
696
662
|
dependencies:
|
|
697
663
|
"@types/cli-progress" "^3.11.0"
|
|
698
664
|
ansi-escapes "^4.3.2"
|
|
@@ -728,12 +694,12 @@
|
|
|
728
694
|
resolved "https://registry.npmjs.org/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91"
|
|
729
695
|
integrity sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw==
|
|
730
696
|
|
|
731
|
-
"@oclif/plugin-help@^5.1.19", "@oclif/plugin-help@^5.
|
|
732
|
-
version "5.2.
|
|
733
|
-
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-5.2.
|
|
734
|
-
integrity sha512-
|
|
697
|
+
"@oclif/plugin-help@^5.1.19", "@oclif/plugin-help@^5.2.2":
|
|
698
|
+
version "5.2.2"
|
|
699
|
+
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-5.2.2.tgz#f00e60b1349c4ec62c1d6a98d3a424899373c5ad"
|
|
700
|
+
integrity sha512-ok8gS2phqA4MiGkjCrZPFvhNIHIp35WsvNNVUn4GL8WZYQ5mk1cZuu+IIqTZxBFZ4QDUZLVkumrhsqx3oNId9A==
|
|
735
701
|
dependencies:
|
|
736
|
-
"@oclif/core" "^2.0.
|
|
702
|
+
"@oclif/core" "^2.0.7"
|
|
737
703
|
|
|
738
704
|
"@oclif/plugin-not-found@^2.3.7":
|
|
739
705
|
version "2.3.15"
|
|
@@ -763,13 +729,13 @@
|
|
|
763
729
|
resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-3.0.4.tgz#663db0ecaf23f3184e7f01886ed578060e4a7f1c"
|
|
764
730
|
integrity sha512-IMsTN1dXEXaOSre27j/ywGbBjrzx0FNd1XmuhCWCB9NTPrhWI1Ifbz+YLSEcstfQfocYsrbrIessxXb2oon4lA==
|
|
765
731
|
|
|
766
|
-
"@oclif/test@^2.3.
|
|
767
|
-
version "2.3.
|
|
768
|
-
resolved "https://registry.yarnpkg.com/@oclif/test/-/test-2.3.
|
|
769
|
-
integrity sha512-
|
|
732
|
+
"@oclif/test@^2.3.4":
|
|
733
|
+
version "2.3.4"
|
|
734
|
+
resolved "https://registry.yarnpkg.com/@oclif/test/-/test-2.3.4.tgz#eddeda4e13a5665c9fd65e06f34cd2faca14caee"
|
|
735
|
+
integrity sha512-sIuDKKw108NQxPbo+j/TY6HBe1j2tbtjEOJ9aHpU7U+hwsTL3/zyU1YZgiGekdQ/OA0PULz3VLafSs+IioWHmw==
|
|
770
736
|
dependencies:
|
|
771
|
-
"@oclif/core" "^2.0.
|
|
772
|
-
fancy-test "^2.0.
|
|
737
|
+
"@oclif/core" "^2.0.7"
|
|
738
|
+
fancy-test "^2.0.12"
|
|
773
739
|
|
|
774
740
|
"@octokit/auth-token@^2.4.4":
|
|
775
741
|
version "2.5.0"
|
|
@@ -2486,10 +2452,10 @@ external-editor@^3.0.3:
|
|
|
2486
2452
|
iconv-lite "^0.4.24"
|
|
2487
2453
|
tmp "^0.0.33"
|
|
2488
2454
|
|
|
2489
|
-
fancy-test@^2.0.
|
|
2490
|
-
version "2.0.
|
|
2491
|
-
resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-2.0.
|
|
2492
|
-
integrity sha512-
|
|
2455
|
+
fancy-test@^2.0.12:
|
|
2456
|
+
version "2.0.12"
|
|
2457
|
+
resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-2.0.12.tgz#a93cd92ffc23f70b069c39f19940d34f64c6ca67"
|
|
2458
|
+
integrity sha512-S7qVQNaViLTMzn71huZvrUCV59ldq+enQ1EQOkdNbl4q4Om97gwqbYKvZoglsnzCWRRFaFP+qHynpdqaLdiZqg==
|
|
2493
2459
|
dependencies:
|
|
2494
2460
|
"@types/chai" "*"
|
|
2495
2461
|
"@types/lodash" "*"
|
|
@@ -2497,7 +2463,7 @@ fancy-test@^2.0.11:
|
|
|
2497
2463
|
"@types/sinon" "*"
|
|
2498
2464
|
lodash "^4.17.13"
|
|
2499
2465
|
mock-stdin "^1.0.0"
|
|
2500
|
-
nock "^13.
|
|
2466
|
+
nock "^13.3.0"
|
|
2501
2467
|
stdout-stderr "^0.1.9"
|
|
2502
2468
|
|
|
2503
2469
|
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
|
|
@@ -3634,11 +3600,6 @@ lodash.merge@^4.6.2:
|
|
|
3634
3600
|
resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
|
|
3635
3601
|
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
|
|
3636
3602
|
|
|
3637
|
-
lodash.set@^4.3.2:
|
|
3638
|
-
version "4.3.2"
|
|
3639
|
-
resolved "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23"
|
|
3640
|
-
integrity sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM=
|
|
3641
|
-
|
|
3642
3603
|
lodash.truncate@^4.4.2:
|
|
3643
3604
|
version "4.4.2"
|
|
3644
3605
|
resolved "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193"
|
|
@@ -4042,14 +4003,14 @@ nise@^5.1.0:
|
|
|
4042
4003
|
just-extend "^4.0.2"
|
|
4043
4004
|
path-to-regexp "^1.7.0"
|
|
4044
4005
|
|
|
4045
|
-
nock@^13.
|
|
4046
|
-
version "13.
|
|
4047
|
-
resolved "https://registry.
|
|
4048
|
-
integrity sha512-
|
|
4006
|
+
nock@^13.3.0:
|
|
4007
|
+
version "13.3.0"
|
|
4008
|
+
resolved "https://registry.yarnpkg.com/nock/-/nock-13.3.0.tgz#b13069c1a03f1ad63120f994b04bfd2556925768"
|
|
4009
|
+
integrity sha512-HHqYQ6mBeiMc+N038w8LkMpDCRquCHWeNmN3v6645P3NhN2+qXOBqvPqo7Rt1VyCMzKhJ733wZqw5B7cQVFNPg==
|
|
4049
4010
|
dependencies:
|
|
4050
4011
|
debug "^4.1.0"
|
|
4051
4012
|
json-stringify-safe "^5.0.1"
|
|
4052
|
-
lodash
|
|
4013
|
+
lodash "^4.17.21"
|
|
4053
4014
|
propagate "^2.0.0"
|
|
4054
4015
|
|
|
4055
4016
|
node-fetch@^2.6.7:
|
|
@@ -4259,12 +4220,12 @@ object-treeify@^1.1.33:
|
|
|
4259
4220
|
resolved "https://registry.npmjs.org/object-treeify/-/object-treeify-1.1.33.tgz#f06fece986830a3cba78ddd32d4c11d1f76cdf40"
|
|
4260
4221
|
integrity sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A==
|
|
4261
4222
|
|
|
4262
|
-
oclif@^3.6.
|
|
4263
|
-
version "3.6.
|
|
4264
|
-
resolved "https://registry.yarnpkg.com/oclif/-/oclif-3.6.
|
|
4265
|
-
integrity sha512-
|
|
4223
|
+
oclif@^3.6.1:
|
|
4224
|
+
version "3.6.1"
|
|
4225
|
+
resolved "https://registry.yarnpkg.com/oclif/-/oclif-3.6.1.tgz#157ac35f1e634af745879a55c3fa39bf724a5e69"
|
|
4226
|
+
integrity sha512-zedbQqxAzC8WlH/T2D/CbGCTWIXHMV7wGs2av+M3KPG4SfB9/lwn1zXGjft/3NNy3X6KCEoGCYWqYYMZOf2Fgg==
|
|
4266
4227
|
dependencies:
|
|
4267
|
-
"@oclif/core" "^2.0.
|
|
4228
|
+
"@oclif/core" "^2.0.3"
|
|
4268
4229
|
"@oclif/plugin-help" "^5.1.19"
|
|
4269
4230
|
"@oclif/plugin-not-found" "^2.3.7"
|
|
4270
4231
|
"@oclif/plugin-warn-if-update-available" "^2.0.14"
|
|
@@ -5464,10 +5425,10 @@ tslib@^1.8.1:
|
|
|
5464
5425
|
resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
|
|
5465
5426
|
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
|
|
5466
5427
|
|
|
5467
|
-
tslib@^2, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.1:
|
|
5468
|
-
version "2.
|
|
5469
|
-
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.
|
|
5470
|
-
integrity sha512-
|
|
5428
|
+
tslib@^2, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.1, tslib@^2.5.0:
|
|
5429
|
+
version "2.5.0"
|
|
5430
|
+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf"
|
|
5431
|
+
integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==
|
|
5471
5432
|
|
|
5472
5433
|
tsutils@^3.21.0:
|
|
5473
5434
|
version "3.21.0"
|