Skip to content

Commit

Permalink
Bump yargs-parser to v13.1.2+ (elastic#77009)
Browse files Browse the repository at this point in the history
# Conflicts:
#	yarn.lock
  • Loading branch information
watson committed Sep 14, 2020
1 parent 384e79c commit d8c77d1
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 243 deletions.
2 changes: 1 addition & 1 deletion packages/kbn-config-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"typescript": "4.0.2",
"tsd": "^0.7.4"
"tsd": "^0.13.1"
},
"peerDependencies": {
"lodash": "^4.17.15",
Expand Down
4 changes: 2 additions & 2 deletions packages/kbn-utility-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"utility-types": "^3.10.0"
},
"devDependencies": {
"del-cli": "^3.0.0",
"tsd": "^0.7.4"
"del-cli": "^3.0.1",
"tsd": "^0.13.1"
}
}
4 changes: 2 additions & 2 deletions packages/kbn-utility-types/test-d/union_to_intersection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
* under the License.
*/

import { expectType } from 'tsd';
import { expectAssignable } from 'tsd';
import { UnionToIntersection } from '../index';

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

expectType<INTERSECTED>({
expectAssignable<INTERSECTED>({
foo: 'bar',
baz: 'qux',
});
4 changes: 2 additions & 2 deletions packages/kbn-utility-types/test-d/unwrap_observable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* under the License.
*/

import { expectType } from 'tsd';
import { expectAssignable } from 'tsd';
import { UnwrapObservable, ObservableLike } from '../index';

type STRING = UnwrapObservable<ObservableLike<string>>;

expectType<STRING>('adf');
expectAssignable<STRING>('adf');
6 changes: 3 additions & 3 deletions packages/kbn-utility-types/test-d/unwrap_promise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
* under the License.
*/

import { expectType } from 'tsd';
import { expectAssignable } from 'tsd';
import { UnwrapPromise } from '../index';

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

expectType<STRING>('adf');
expectType<TUPLE>([1, 2]);
expectAssignable<STRING>('adf');
expectAssignable<TUPLE>([1, 2]);
14 changes: 7 additions & 7 deletions packages/kbn-utility-types/test-d/values.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@
* under the License.
*/

import { expectType } from 'tsd';
import { expectAssignable } from 'tsd';
import { Values } from '../index';

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

expectType<STRING>('adf');
expectType<ASDF_FOO>('asdf');
expectType<ASDF_FOO>('foo');
expectAssignable<STRING>('adf');
expectAssignable<ASDF_FOO>('asdf');
expectAssignable<ASDF_FOO>('foo');

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

expectType<STRING2>('adf');
expectType<FOO>('foo');
expectType<BAR>('bar');
expectAssignable<STRING2>('adf');
expectAssignable<FOO>('foo');
expectAssignable<BAR>('bar');
4 changes: 2 additions & 2 deletions x-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
"mocha": "^7.1.1",
"mocha-junit-reporter": "^1.23.1",
"mochawesome": "^4.1.0",
"mochawesome-merge": "^2.0.1",
"mochawesome-merge": "^4.1.0",
"mustache": "^2.3.0",
"mutation-observer": "^1.0.3",
"node-fetch": "^2.6.0",
Expand Down Expand Up @@ -268,7 +268,7 @@
"vinyl-fs": "^3.0.3",
"whatwg-fetch": "^3.0.0",
"xml-crypto": "^1.4.0",
"yargs": "4.8.1"
"yargs": "^15.4.1"
},
"dependencies": {
"@babel/core": "^7.11.1",
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/security_solution/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build-graphql-types": "node scripts/generate_types_from_graphql.js",
"cypress:open": "cypress open --config-file ./cypress/cypress.json",
"cypress:open-as-ci": "node ../../../scripts/functional_tests --config ../../test/security_solution_cypress/visual_config.ts",
"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;",
"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;",
"cypress:run-as-ci": "node ../../../scripts/functional_tests --config ../../test/security_solution_cypress/cli_config.ts",
"test:generate": "node scripts/endpoint/resolver_generator"
},
Expand Down
Loading

0 comments on commit d8c77d1

Please sign in to comment.