Skip to content

Commit d722ec6

Browse files
authored
Bump yargs-parser to v13.1.2+ (#77009)
1 parent 61951a5 commit d722ec6

File tree

9 files changed

+54
-243
lines changed

9 files changed

+54
-243
lines changed

packages/kbn-config-schema/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"devDependencies": {
1313
"typescript": "4.0.2",
14-
"tsd": "^0.7.4"
14+
"tsd": "^0.13.1"
1515
},
1616
"peerDependencies": {
1717
"lodash": "^4.17.15",

packages/kbn-utility-types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"utility-types": "^3.10.0"
1717
},
1818
"devDependencies": {
19-
"del-cli": "^3.0.0",
20-
"tsd": "^0.7.4"
19+
"del-cli": "^3.0.1",
20+
"tsd": "^0.13.1"
2121
}
2222
}

packages/kbn-utility-types/test-d/union_to_intersection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
* under the License.
1818
*/
1919

20-
import { expectType } from 'tsd';
20+
import { expectAssignable } from 'tsd';
2121
import { UnionToIntersection } from '../index';
2222

2323
type INTERSECTED = UnionToIntersection<{ foo: 'bar' } | { baz: 'qux' }>;
2424

25-
expectType<INTERSECTED>({
25+
expectAssignable<INTERSECTED>({
2626
foo: 'bar',
2727
baz: 'qux',
2828
});

packages/kbn-utility-types/test-d/unwrap_observable.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
* under the License.
1818
*/
1919

20-
import { expectType } from 'tsd';
20+
import { expectAssignable } from 'tsd';
2121
import { UnwrapObservable, ObservableLike } from '../index';
2222

2323
type STRING = UnwrapObservable<ObservableLike<string>>;
2424

25-
expectType<STRING>('adf');
25+
expectAssignable<STRING>('adf');

packages/kbn-utility-types/test-d/unwrap_promise.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
* under the License.
1818
*/
1919

20-
import { expectType } from 'tsd';
20+
import { expectAssignable } from 'tsd';
2121
import { UnwrapPromise } from '../index';
2222

2323
type STRING = UnwrapPromise<Promise<string>>;
2424
type TUPLE = UnwrapPromise<Promise<[number, number]>>;
2525

26-
expectType<STRING>('adf');
27-
expectType<TUPLE>([1, 2]);
26+
expectAssignable<STRING>('adf');
27+
expectAssignable<TUPLE>([1, 2]);

packages/kbn-utility-types/test-d/values.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@
1717
* under the License.
1818
*/
1919

20-
import { expectType } from 'tsd';
20+
import { expectAssignable } from 'tsd';
2121
import { Values } from '../index';
2222

2323
// Arrays
2424
type STRING = Values<string[]>;
2525
type ASDF_FOO = Values<Array<'asdf' | 'foo'>>;
2626

27-
expectType<STRING>('adf');
28-
expectType<ASDF_FOO>('asdf');
29-
expectType<ASDF_FOO>('foo');
27+
expectAssignable<STRING>('adf');
28+
expectAssignable<ASDF_FOO>('asdf');
29+
expectAssignable<ASDF_FOO>('foo');
3030

3131
// Objects
3232
type STRING2 = Values<Record<number, string>>;
3333
type FOO = Values<Record<number, 'foo'>>;
3434
type BAR = Values<{ foo: 'bar' }>;
3535

36-
expectType<STRING2>('adf');
37-
expectType<FOO>('foo');
38-
expectType<BAR>('bar');
36+
expectAssignable<STRING2>('adf');
37+
expectAssignable<FOO>('foo');
38+
expectAssignable<BAR>('bar');

x-pack/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
"mocha": "^7.1.1",
208208
"mocha-junit-reporter": "^1.23.1",
209209
"mochawesome": "^4.1.0",
210-
"mochawesome-merge": "^2.0.1",
210+
"mochawesome-merge": "^4.1.0",
211211
"mustache": "^2.3.0",
212212
"mutation-observer": "^1.0.3",
213213
"node-fetch": "^2.6.0",
@@ -268,7 +268,7 @@
268268
"vinyl-fs": "^3.0.3",
269269
"whatwg-fetch": "^3.0.0",
270270
"xml-crypto": "^1.4.0",
271-
"yargs": "4.8.1"
271+
"yargs": "^15.4.1"
272272
},
273273
"dependencies": {
274274
"@babel/core": "^7.11.1",

x-pack/plugins/security_solution/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build-graphql-types": "node scripts/generate_types_from_graphql.js",
1010
"cypress:open": "cypress open --config-file ./cypress/cypress.json",
1111
"cypress:open-as-ci": "node ../../../scripts/functional_tests --config ../../test/security_solution_cypress/visual_config.ts",
12-
"cypress:run": "cypress run --browser chrome --headless --spec ./cypress/integration/**/*.spec.ts --config-file ./cypress/cypress.json --reporter ../../node_modules/cypress-multi-reporters --reporter-options configFile=./cypress/reporter_config.json; status=$?; ../../node_modules/.bin/mochawesome-merge --reportDir ../../../target/kibana-security-solution/cypress/results > ../../../target/kibana-security-solution/cypress/results/output.json; ../../../node_modules/.bin/marge ../../../target/kibana-security-solution/cypress/results/output.json --reportDir ../../../target/kibana-security-solution/cypress/results; mkdir -p ../../../target/junit && cp ../../../target/kibana-security-solution/cypress/results/*.xml ../../../target/junit/ && exit $status;",
12+
"cypress:run": "cypress run --browser chrome --headless --spec ./cypress/integration/**/*.spec.ts --config-file ./cypress/cypress.json --reporter ../../node_modules/cypress-multi-reporters --reporter-options configFile=./cypress/reporter_config.json; status=$?; ../../node_modules/.bin/mochawesome-merge ../../../target/kibana-security-solution/cypress/results/mochawesome*.json > ../../../target/kibana-security-solution/cypress/results/output.json; ../../../node_modules/.bin/marge ../../../target/kibana-security-solution/cypress/results/output.json --reportDir ../../../target/kibana-security-solution/cypress/results; mkdir -p ../../../target/junit && cp ../../../target/kibana-security-solution/cypress/results/*.xml ../../../target/junit/ && exit $status;",
1313
"cypress:run-as-ci": "node ../../../scripts/functional_tests --config ../../test/security_solution_cypress/cli_config.ts",
1414
"test:generate": "node scripts/endpoint/resolver_generator"
1515
},

0 commit comments

Comments
 (0)