2018-04-20 21:13:37 +02:00
|
|
|
{
|
|
|
|
"name": "x-pack",
|
|
|
|
"version": "7.0.0-alpha1",
|
|
|
|
"author": "Elastic",
|
|
|
|
"private": true,
|
|
|
|
"license": "Elastic-License",
|
|
|
|
"scripts": {
|
|
|
|
"preinstall": "node ../preinstall_check",
|
|
|
|
"kbn": "node ../scripts/kbn",
|
|
|
|
"start": "gulp dev",
|
|
|
|
"build": "gulp build",
|
|
|
|
"testonly": "gulp testonly",
|
|
|
|
"test": "gulp test",
|
|
|
|
"test:browser:dev": "gulp testbrowser-dev",
|
|
|
|
"test:browser": "gulp testbrowser",
|
|
|
|
"test:server": "gulp testserver"
|
|
|
|
},
|
|
|
|
"kibana": {
|
|
|
|
"build": {
|
|
|
|
"intermediateBuildDirectory": "build/plugin/kibana/x-pack"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@kbn/dev-utils": "link:../packages/kbn-dev-utils",
|
2018-05-10 01:23:49 +02:00
|
|
|
"@kbn/es": "link:../packages/kbn-es",
|
2018-04-20 21:13:37 +02:00
|
|
|
"@kbn/plugin-helpers": "link:../packages/kbn-plugin-helpers",
|
2018-05-10 01:23:49 +02:00
|
|
|
"@kbn/test": "link:../packages/kbn-test",
|
Upgrade to Jest 23.5.0 (#22791)
I'd really like to upgrade to Typescript 3 for its `unknown` type, but we need to upgrade to `jest@23` to support a recent version of `ts-jest@23`.
The [jest changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) breaks down the breaking changes in 23.x, but I found it to be slightly incomplete so I've broken down the changes that actually caused breaks for us here, and addressed each in individual commits to make review a little easier:
- the `testURL` config default was changed from `about:blank` to `http://localhost`
- this cause some XHR requests powered by JSdom to start failing. It seems these requests just do nothing in master but start to fail when JSdom is initialized with an actual URL... I think we would ideally stop sending meaningless XHR requests in the tests, but it was a lot easier to just set the config to `about:blank` for now, and we can worry about cleanup later if necessary
- `expect(...).toThrow()` only passes if an actual error was thrown.
- In two places in the index pattern code we were throwing strings, which broke the assertions. Fortunately/Unfortunately the errors are not being consumed by anything, so I was able to wrap them in `new Error()` without causing any issues.
- snapshots of mock functions now include a `results` array, detailing the return values of the function
- React fragments are now serialized as `<React.Fragment>` instead of `<UNDEFINED>`
- undefined props in React components are now stripped from snapshots
- minor changes to the ordering of mocks, imports resolution, and before hooks caused the uiSettings API tests to start breaking, but I'm replacing them with totally new tests in #22694 so I just deleted them here
- mocks created with `jest.spyOn()` that are restored now have their `mock.calls` reset, so some of the kbn-pm tests stated failing. This was fixed by restoring them with `jest.restoreAllMocks()` rather than trying to do it before the assertions
2018-09-08 03:36:13 +02:00
|
|
|
"@types/jest": "^23.3.1",
|
2018-06-22 15:18:29 +02:00
|
|
|
"@types/pngjs": "^3.3.1",
|
2018-04-20 21:13:37 +02:00
|
|
|
"abab": "^1.0.4",
|
2018-09-07 18:43:17 +02:00
|
|
|
"ansi-colors": "^3.0.5",
|
2018-04-20 21:13:37 +02:00
|
|
|
"ansicolors": "0.3.2",
|
|
|
|
"aws-sdk": "2.2.33",
|
|
|
|
"axios": "^0.18.0",
|
Upgrade to Jest 23.5.0 (#22791)
I'd really like to upgrade to Typescript 3 for its `unknown` type, but we need to upgrade to `jest@23` to support a recent version of `ts-jest@23`.
The [jest changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) breaks down the breaking changes in 23.x, but I found it to be slightly incomplete so I've broken down the changes that actually caused breaks for us here, and addressed each in individual commits to make review a little easier:
- the `testURL` config default was changed from `about:blank` to `http://localhost`
- this cause some XHR requests powered by JSdom to start failing. It seems these requests just do nothing in master but start to fail when JSdom is initialized with an actual URL... I think we would ideally stop sending meaningless XHR requests in the tests, but it was a lot easier to just set the config to `about:blank` for now, and we can worry about cleanup later if necessary
- `expect(...).toThrow()` only passes if an actual error was thrown.
- In two places in the index pattern code we were throwing strings, which broke the assertions. Fortunately/Unfortunately the errors are not being consumed by anything, so I was able to wrap them in `new Error()` without causing any issues.
- snapshots of mock functions now include a `results` array, detailing the return values of the function
- React fragments are now serialized as `<React.Fragment>` instead of `<UNDEFINED>`
- undefined props in React components are now stripped from snapshots
- minor changes to the ordering of mocks, imports resolution, and before hooks caused the uiSettings API tests to start breaking, but I'm replacing them with totally new tests in #22694 so I just deleted them here
- mocks created with `jest.spyOn()` that are restored now have their `mock.calls` reset, so some of the kbn-pm tests stated failing. This was fixed by restoring them with `jest.restoreAllMocks()` rather than trying to do it before the assertions
2018-09-08 03:36:13 +02:00
|
|
|
"babel-jest": "^23.4.2",
|
2018-07-13 01:26:57 +02:00
|
|
|
"chalk": "^2.4.1",
|
2018-04-20 21:13:37 +02:00
|
|
|
"chance": "1.0.10",
|
|
|
|
"checksum": "0.1.1",
|
|
|
|
"commander": "2.12.2",
|
2018-06-08 18:32:31 +02:00
|
|
|
"del": "^3.0.0",
|
2018-04-20 21:13:37 +02:00
|
|
|
"dotenv": "2.0.0",
|
|
|
|
"enzyme": "3.2.0",
|
2018-05-14 19:33:04 +02:00
|
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
2018-04-20 21:13:37 +02:00
|
|
|
"enzyme-to-json": "3.3.1",
|
|
|
|
"expect.js": "0.3.1",
|
2018-09-07 18:43:17 +02:00
|
|
|
"fancy-log": "^1.3.2",
|
2018-07-24 21:33:15 +02:00
|
|
|
"fetch-mock": "^5.13.1",
|
2018-04-20 21:13:37 +02:00
|
|
|
"gulp": "3.9.1",
|
|
|
|
"gulp-mocha": "2.2.0",
|
|
|
|
"hapi": "14.2.0",
|
Upgrade to Jest 23.5.0 (#22791)
I'd really like to upgrade to Typescript 3 for its `unknown` type, but we need to upgrade to `jest@23` to support a recent version of `ts-jest@23`.
The [jest changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) breaks down the breaking changes in 23.x, but I found it to be slightly incomplete so I've broken down the changes that actually caused breaks for us here, and addressed each in individual commits to make review a little easier:
- the `testURL` config default was changed from `about:blank` to `http://localhost`
- this cause some XHR requests powered by JSdom to start failing. It seems these requests just do nothing in master but start to fail when JSdom is initialized with an actual URL... I think we would ideally stop sending meaningless XHR requests in the tests, but it was a lot easier to just set the config to `about:blank` for now, and we can worry about cleanup later if necessary
- `expect(...).toThrow()` only passes if an actual error was thrown.
- In two places in the index pattern code we were throwing strings, which broke the assertions. Fortunately/Unfortunately the errors are not being consumed by anything, so I was able to wrap them in `new Error()` without causing any issues.
- snapshots of mock functions now include a `results` array, detailing the return values of the function
- React fragments are now serialized as `<React.Fragment>` instead of `<UNDEFINED>`
- undefined props in React components are now stripped from snapshots
- minor changes to the ordering of mocks, imports resolution, and before hooks caused the uiSettings API tests to start breaking, but I'm replacing them with totally new tests in #22694 so I just deleted them here
- mocks created with `jest.spyOn()` that are restored now have their `mock.calls` reset, so some of the kbn-pm tests stated failing. This was fixed by restoring them with `jest.restoreAllMocks()` rather than trying to do it before the assertions
2018-09-08 03:36:13 +02:00
|
|
|
"jest": "^23.5.0",
|
|
|
|
"jest-cli": "^23.5.0",
|
|
|
|
"jest-styled-components": "^6.1.1",
|
2018-05-19 03:05:27 +02:00
|
|
|
"mocha": "3.3.0",
|
2018-04-26 17:44:31 +02:00
|
|
|
"mustache": "^2.3.0",
|
2018-07-30 16:17:57 +02:00
|
|
|
"mutation-observer": "^1.0.3",
|
2018-04-20 21:13:37 +02:00
|
|
|
"node-fetch": "^2.1.2",
|
2018-08-30 02:16:06 +02:00
|
|
|
"pdf-image": "2.0.0",
|
|
|
|
"pdfjs-dist": "^2.0.489",
|
2018-04-20 21:13:37 +02:00
|
|
|
"pixelmatch": "4.0.2",
|
|
|
|
"proxyquire": "1.7.11",
|
|
|
|
"react-test-renderer": "^16.2.0",
|
|
|
|
"redux-test-utils": "0.2.2",
|
|
|
|
"rsync": "0.4.0",
|
|
|
|
"run-sequence": "^2.2.1",
|
2018-05-14 19:33:04 +02:00
|
|
|
"simple-git": "1.37.0",
|
2018-05-22 12:13:38 +02:00
|
|
|
"sinon": "^5.0.7",
|
2018-09-06 17:39:04 +02:00
|
|
|
"supertest": "^3.1.0",
|
|
|
|
"supertest-as-promised": "^4.0.2",
|
2018-04-20 21:13:37 +02:00
|
|
|
"tmp": "0.0.31",
|
|
|
|
"tree-kill": "^1.1.0",
|
2018-09-11 07:38:41 +02:00
|
|
|
"typescript": "^3.0.3",
|
2018-05-14 19:33:04 +02:00
|
|
|
"vinyl-fs": "^3.0.2",
|
2018-04-20 21:13:37 +02:00
|
|
|
"xml-crypto": "^0.10.1",
|
|
|
|
"xml2js": "^0.4.19",
|
|
|
|
"yargs": "4.7.1"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-09-13 14:20:01 +02:00
|
|
|
"@elastic/eui": "3.11.0",
|
2018-04-20 21:13:37 +02:00
|
|
|
"@elastic/node-crypto": "0.1.2",
|
|
|
|
"@elastic/node-phantom-simple": "2.2.4",
|
|
|
|
"@elastic/numeral": "2.3.2",
|
|
|
|
"@kbn/datemath": "link:../packages/kbn-datemath",
|
2018-08-17 10:25:47 +02:00
|
|
|
"@kbn/i18n": "link:../packages/kbn-i18n",
|
2018-04-20 21:13:37 +02:00
|
|
|
"@kbn/ui-framework": "link:../packages/kbn-ui-framework",
|
2018-06-22 15:18:29 +02:00
|
|
|
"@samverschueren/stream-to-observable": "^0.3.0",
|
2018-05-23 01:02:04 +02:00
|
|
|
"@slack/client": "^4.2.2",
|
2018-09-11 23:16:07 +02:00
|
|
|
"@types/moment-timezone": "^0.5.8",
|
2018-04-20 21:13:37 +02:00
|
|
|
"angular-paging": "2.2.1",
|
|
|
|
"angular-resource": "1.4.9",
|
|
|
|
"angular-sanitize": "1.4.9",
|
|
|
|
"angular-ui-ace": "0.2.3",
|
|
|
|
"babel-core": "^6.26.0",
|
|
|
|
"babel-preset-es2015": "^6.24.1",
|
|
|
|
"babel-runtime": "^6.26.0",
|
|
|
|
"bluebird": "3.1.1",
|
|
|
|
"boom": "3.1.1",
|
2018-06-14 17:00:33 +02:00
|
|
|
"brace": "0.11.1",
|
2018-04-20 21:13:37 +02:00
|
|
|
"classnames": "2.2.5",
|
|
|
|
"concat-stream": "1.5.1",
|
|
|
|
"d3": "3.5.6",
|
|
|
|
"d3-scale": "1.0.6",
|
|
|
|
"dedent": "^0.7.0",
|
|
|
|
"dragselect": "1.7.17",
|
2018-07-16 16:42:49 +02:00
|
|
|
"elasticsearch": "^14.1.0",
|
2018-04-20 21:13:37 +02:00
|
|
|
"extract-zip": "1.5.0",
|
|
|
|
"font-awesome": "4.4.0",
|
|
|
|
"get-port": "2.1.0",
|
|
|
|
"getos": "^3.1.0",
|
|
|
|
"glob": "6.0.4",
|
|
|
|
"hapi-auth-cookie": "6.1.1",
|
|
|
|
"history": "4.7.2",
|
|
|
|
"humps": "2.0.1",
|
|
|
|
"icalendar": "0.7.1",
|
|
|
|
"isomorphic-fetch": "2.2.1",
|
|
|
|
"joi": "6.10.1",
|
|
|
|
"jquery": "^3.3.1",
|
|
|
|
"jstimezonedetect": "1.0.5",
|
|
|
|
"lodash": "3.10.1",
|
|
|
|
"lodash.mean": "^4.1.0",
|
|
|
|
"lodash.orderby": "4.6.0",
|
|
|
|
"mkdirp": "0.5.1",
|
|
|
|
"moment": "^2.20.1",
|
|
|
|
"moment-duration-format": "^1.3.0",
|
|
|
|
"moment-timezone": "^0.5.14",
|
|
|
|
"ngreact": "^0.5.1",
|
2018-05-23 01:02:04 +02:00
|
|
|
"nodemailer": "^4.6.4",
|
2018-04-20 21:13:37 +02:00
|
|
|
"pdfmake": "0.1.33",
|
|
|
|
"pivotal-ui": "13.0.1",
|
|
|
|
"pluralize": "3.1.0",
|
|
|
|
"pngjs": "3.3.1",
|
2018-07-10 21:00:54 +02:00
|
|
|
"polished": "^1.9.2",
|
2018-04-20 21:13:37 +02:00
|
|
|
"prop-types": "^15.6.0",
|
|
|
|
"puid": "1.0.5",
|
2018-08-30 02:16:06 +02:00
|
|
|
"puppeteer-core": "^1.7.0",
|
2018-05-14 14:05:17 +02:00
|
|
|
"react": "^16.3.0",
|
2018-04-20 21:13:37 +02:00
|
|
|
"react-clipboard.js": "^1.1.2",
|
2018-05-14 14:05:17 +02:00
|
|
|
"react-dom": "^16.3.0",
|
2018-04-20 21:13:37 +02:00
|
|
|
"react-markdown-renderer": "^1.4.0",
|
|
|
|
"react-portal": "^3.2.0",
|
2018-06-28 15:35:29 +02:00
|
|
|
"react-redux": "^5.0.7",
|
2018-07-27 10:43:11 +02:00
|
|
|
"react-redux-request": "^1.5.6",
|
2018-04-20 21:13:37 +02:00
|
|
|
"react-router-breadcrumbs-hoc": "1.1.2",
|
|
|
|
"react-router-dom": "^4.2.2",
|
|
|
|
"react-select": "^1.2.1",
|
|
|
|
"react-sticky": "^6.0.1",
|
|
|
|
"react-syntax-highlighter": "^5.7.0",
|
|
|
|
"react-vis": "^1.8.1",
|
2018-06-28 15:35:29 +02:00
|
|
|
"redux": "4.0.0",
|
2018-04-20 21:13:37 +02:00
|
|
|
"redux-actions": "2.2.1",
|
2018-06-28 15:35:29 +02:00
|
|
|
"redux-thunk": "2.3.0",
|
2018-04-20 21:13:37 +02:00
|
|
|
"request": "^2.85.0",
|
|
|
|
"reselect": "3.0.1",
|
|
|
|
"rimraf": "^2.6.2",
|
|
|
|
"rison-node": "0.3.1",
|
2018-06-25 20:04:19 +02:00
|
|
|
"rxjs": "^6.2.1",
|
2018-04-20 21:13:37 +02:00
|
|
|
"semver": "5.1.0",
|
2018-07-01 22:58:12 +02:00
|
|
|
"styled-components": "3.3.3",
|
2018-04-20 21:13:37 +02:00
|
|
|
"tar-fs": "1.13.0",
|
|
|
|
"tinycolor2": "1.3.0",
|
2018-09-13 23:18:13 +02:00
|
|
|
"tslib": "^1.9.3",
|
2018-04-20 21:13:37 +02:00
|
|
|
"ui-select": "0.19.4",
|
|
|
|
"unbzip2-stream": "1.0.9",
|
|
|
|
"uuid": "3.0.1",
|
|
|
|
"venn.js": "0.2.9",
|
|
|
|
"xregexp": "3.2.0"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"yarn": "^1.6.0"
|
|
|
|
}
|
2018-09-07 18:43:17 +02:00
|
|
|
}
|