2014-02-07 00:29:19 +01:00
{
2014-06-17 01:52:19 +02:00
"name" : "kibana" ,
2018-09-17 18:46:03 +02:00
"description" : "Kibana is a browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elasticsearch." ,
2015-01-07 21:48:58 +01:00
"keywords" : [
"kibana" ,
"elasticsearch" ,
"logstash" ,
"analytics" ,
"visualizations" ,
"dashboards" ,
"dashboarding"
] ,
2018-09-17 18:46:03 +02:00
"private" : true ,
2017-08-02 02:43:42 +02:00
"version" : "7.0.0-alpha1" ,
2017-05-23 21:46:54 +02:00
"branch" : "master" ,
2015-07-29 22:11:04 +02:00
"build" : {
2015-08-31 20:14:09 +02:00
"number" : 8467 ,
"sha" : "6cb7fec4e154faa0a4a3fee4b33dfef91b9870d9"
2015-07-29 22:11:04 +02:00
} ,
2015-03-17 02:18:50 +01:00
"homepage" : "https://www.elastic.co/products/kibana" ,
2015-01-23 19:34:29 +01:00
"bugs" : {
2015-03-17 02:32:09 +01:00
"url" : "http://github.com/elastic/kibana/issues"
2015-01-23 19:34:29 +01:00
} ,
2015-03-17 02:18:50 +01:00
"author" : "Rashid Khan <rashid.khan@elastic.co>" ,
2015-01-07 21:48:58 +01:00
"scripts" : {
2018-02-08 13:40:57 +01:00
"preinstall" : "node ./preinstall_check" ,
2018-01-24 10:34:52 +01:00
"kbn" : "node scripts/kbn" ,
2018-03-20 16:30:15 +01:00
"es" : "node scripts/es" ,
"elasticsearch" : "echo 'use `yarn es snapshot -E path.data=../data/`'" ,
2016-06-21 20:23:40 +02:00
"test" : "grunt test" ,
2015-08-18 23:51:31 +02:00
"test:dev" : "grunt test:dev" ,
"test:quick" : "grunt test:quick" ,
"test:browser" : "grunt test:browser" ,
2018-07-23 21:48:27 +02:00
"test:ui" : "echo 'use `node scripts/functional_tests`' && false" ,
"test:ui:server" : "echo 'use `node scripts/functional_tests_server`' && false" ,
2017-05-09 19:53:10 +02:00
"test:ui:runner" : "echo 'use `node scripts/functional_test_runner`' && false" ,
2015-08-18 23:51:31 +02:00
"test:server" : "grunt test:server" ,
2015-08-25 02:10:21 +02:00
"test:coverage" : "grunt test:coverage" ,
2018-06-12 16:56:10 +02:00
"checkLicenses" : "grunt licenses --dev" ,
2018-04-20 21:13:37 +02:00
"build" : "node scripts/build" ,
2017-11-22 19:49:37 +01:00
"start" : "node scripts/kibana --dev" ,
2018-05-18 21:15:05 +02:00
"debug" : "node --nolazy --inspect scripts/kibana --dev" ,
"debug-break" : "node --nolazy --inspect-brk scripts/kibana --dev" ,
2017-11-20 22:22:24 +01:00
"precommit" : "node scripts/precommit_hook" ,
2015-08-29 06:42:21 +02:00
"karma" : "karma start" ,
2018-05-22 23:00:02 +02:00
"lint" : "echo 'use `node scripts/eslint` and/or `node scripts/tslint`' && false" ,
"lintroller" : "echo 'use `node scripts/eslint --fix` and/or `node scripts/tslint --fix`' && false" ,
2017-05-09 19:53:10 +02:00
"makelogs" : "echo 'use `node scripts/makelogs`' && false" ,
"mocha" : "echo 'use `node scripts/mocha`' && false" ,
2016-12-13 02:54:56 +01:00
"sterilize" : "grunt sterilize" ,
2018-03-13 18:43:39 +01:00
"uiFramework:start" : "cd packages/kbn-ui-framework && yarn docSiteStart" ,
"uiFramework:build" : "cd packages/kbn-ui-framework && yarn docSiteBuild" ,
"uiFramework:createComponent" : "cd packages/kbn-ui-framework && yarn createComponent" ,
2018-03-26 17:54:40 +02:00
"uiFramework:documentComponent" : "cd packages/kbn-ui-framework && yarn documentComponent" ,
"kbn:watch" : "node scripts/kibana --dev --logging.json=false"
2015-01-07 21:48:58 +01:00
} ,
"repository" : {
"type" : "git" ,
2015-03-17 02:18:50 +01:00
"url" : "https://github.com/elastic/kibana.git"
2015-01-07 21:48:58 +01:00
} ,
"dependencies" : {
2018-09-14 01:14:17 +02:00
"@elastic/eui" : "4.0.1" ,
2017-08-09 21:31:30 +02:00
"@elastic/filesaver" : "1.1.2" ,
2018-04-03 18:15:59 +02:00
"@elastic/numeral" : "2.3.2" ,
2017-08-09 21:31:30 +02:00
"@elastic/ui-ace" : "0.2.3" ,
2018-02-05 18:18:43 +01:00
"@kbn/babel-preset" : "link:packages/kbn-babel-preset" ,
2018-02-13 21:49:55 +01:00
"@kbn/datemath" : "link:packages/kbn-datemath" ,
2018-06-28 11:38:39 +02:00
"@kbn/i18n" : "link:packages/kbn-i18n" ,
2018-03-09 23:20:00 +01:00
"@kbn/pm" : "link:packages/kbn-pm" ,
2018-02-13 19:34:47 +01:00
"@kbn/test-subj-selector" : "link:packages/kbn-test-subj-selector" ,
2018-03-13 18:43:39 +01:00
"@kbn/ui-framework" : "link:packages/kbn-ui-framework" ,
2018-07-13 01:11:24 +02:00
"abortcontroller-polyfill" : "^1.1.9" ,
2018-04-12 17:42:45 +02:00
"angular" : "1.6.9" ,
2017-11-17 09:33:11 +01:00
"angular-aria" : "1.6.6" ,
2015-07-28 02:13:45 +02:00
"angular-elastic" : "2.5.0" ,
2018-04-05 22:58:06 +02:00
"angular-recursion" : "^1.0.5" ,
2015-10-15 15:32:20 +02:00
"angular-route" : "1.4.7" ,
2016-07-21 20:44:47 +02:00
"angular-sanitize" : "1.5.7" ,
2016-12-16 00:11:42 +01:00
"angular-sortable-view" : "0.0.15" ,
2018-08-10 23:24:14 +02:00
"autoprefixer" : "^9.1.0" ,
2017-02-09 22:48:55 +01:00
"babel-core" : "6.21.0" ,
2017-11-01 00:31:22 +01:00
"babel-loader" : "7.1.2" ,
2017-02-09 22:48:55 +01:00
"babel-polyfill" : "6.20.0" ,
"babel-register" : "6.18.0" ,
2015-09-05 10:49:36 +02:00
"bluebird" : "2.9.34" ,
2017-08-09 02:55:36 +02:00
"boom" : "5.2.0" ,
2018-05-15 22:31:26 +02:00
"brace" : "0.11.1" ,
2017-11-01 00:31:22 +01:00
"cache-loader" : "1.0.3" ,
2018-07-13 01:26:57 +02:00
"chalk" : "^2.4.1" ,
2017-03-02 21:07:28 +01:00
"color" : "1.0.3" ,
2015-09-05 10:49:36 +02:00
"commander" : "2.8.1" ,
2018-01-13 21:14:04 +01:00
"compare-versions" : "3.1.0" ,
2017-11-01 00:31:22 +01:00
"css-loader" : "0.28.7" ,
2018-01-25 15:38:16 +01:00
"custom-event-polyfill" : "^0.3.0" ,
2015-09-05 10:49:36 +02:00
"d3" : "3.5.6" ,
2016-11-21 23:03:25 +01:00
"d3-cloud" : "1.2.1" ,
2018-07-18 13:55:23 +02:00
"del" : "^3.0.0" ,
2016-05-12 11:46:34 +02:00
"dragula" : "3.7.0" ,
2018-09-17 18:48:30 +02:00
"elasticsearch" : "^15.1.1" ,
"elasticsearch-browser" : "^15.1.1" ,
2016-09-10 00:39:57 +02:00
"encode-uri-query" : "1.0.0" ,
2016-06-01 22:26:09 +02:00
"even-better" : "7.0.2" ,
2018-05-25 20:57:40 +02:00
"execa" : "^0.10.0" ,
2015-09-05 10:49:36 +02:00
"expiry-js" : "0.1.7" ,
2017-11-01 00:31:22 +01:00
"extract-text-webpack-plugin" : "3.0.1" ,
"file-loader" : "1.1.4" ,
2017-04-12 00:01:06 +02:00
"font-awesome" : "4.4.0" ,
2018-07-27 13:30:17 +02:00
"glob" : "^7.1.2" ,
"glob-all" : "^3.1.0" ,
2015-09-05 10:49:36 +02:00
"good-squeeze" : "2.1.0" ,
2016-09-13 21:20:22 +02:00
"h2o2" : "5.1.1" ,
2018-07-11 10:19:35 +02:00
"h2o2-latest" : "npm:h2o2@8.1.2" ,
2017-03-20 14:06:12 +01:00
"handlebars" : "4.0.5" ,
2016-09-13 21:20:22 +02:00
"hapi" : "14.2.0" ,
2018-07-11 10:19:35 +02:00
"hapi-latest" : "npm:hapi@17.5.0" ,
2018-01-13 21:14:04 +01:00
"hjson" : "3.1.0" ,
2018-05-01 22:52:55 +02:00
"http-proxy-agent" : "^2.1.0" ,
"https-proxy-agent" : "^2.2.1" ,
2016-09-13 21:20:22 +02:00
"inert" : "4.0.2" ,
2017-05-18 03:53:45 +02:00
"joi" : "10.4.1" ,
2018-02-02 11:53:28 +01:00
"jquery" : "^3.3.1" ,
2015-09-05 10:49:36 +02:00
"js-yaml" : "3.4.1" ,
2018-01-13 21:14:04 +01:00
"json-stringify-pretty-compact" : "1.0.4" ,
2015-09-05 10:49:36 +02:00
"json-stringify-safe" : "5.0.1" ,
"jstimezonedetect" : "1.0.5" ,
2017-08-23 01:26:30 +02:00
"leaflet" : "1.0.3" ,
"leaflet-draw" : "0.4.10" ,
"leaflet-responsive-popup" : "0.2.0" ,
2018-04-26 00:31:16 +02:00
"leaflet-vega" : "^0.8.6" ,
2018-04-09 20:08:53 +02:00
"leaflet.heat" : "0.2.0" ,
2016-12-16 00:11:42 +01:00
"less" : "2.7.1" ,
2017-11-01 00:31:22 +01:00
"less-loader" : "4.0.5" ,
2015-09-05 10:49:36 +02:00
"lodash" : "3.10.1" ,
2017-10-03 10:51:59 +02:00
"lru-cache" : "4.1.1" ,
2018-05-28 16:52:04 +02:00
"markdown-it" : "^8.4.1" ,
2018-07-27 13:30:17 +02:00
"minimatch" : "^3.0.4" ,
2015-09-05 10:49:36 +02:00
"mkdirp" : "0.5.1" ,
2018-01-31 19:16:36 +01:00
"moment" : "^2.20.1" ,
"moment-timezone" : "^0.5.14" ,
Kibana Home page - phase two (#14749)
* add tutorial directory and home promo section
* tutorial components
* use KuiCodeEditor for displaying instruction code
* move spec files to server so joi can be used. Fetch via rest API
* Adding more tutorials (#4)
* More edits on the Apache logs tutorial
* Added nginx, mysql, and sytem modules for FB
* Moved apache to apacheLogs and added an apacheMetrics tutorial
* Added mysqlMetrics, nginxMetrics, systemMetrics tutorials
* Reduce duplication in the tutorials
This uses common objects for the install and start steps for Filebeat.
Same can be done for MB.
* fix windows path for config file
* add markdown parsing
* use mustache to replace config.kibana.version with kibana version
* add image preview to tutorial introduction
* fix css class name
* add param types constants
* add docs variables
* [WIP] Logstash Netflow module tutorial (#5)
* First draft of Logstash Netflow module tutorial
* Incorporated writing style suggestions
* pass params to template replace logic
* parameter inputs
* use isReadOnly flag from ui-framework for KuiCodeEditor
* dedemorton commits on netflow
* remove trailing slash from base links
* add config.docs.logstash and fix vertical spacing between Content component and commands
* Use logstash docs config variable
* Starting to add Deb instructions
* Fix Logstash documentation link
* Make commands optional
* Refactor: extract common LS instructions
* Edits for the existing tutorials
* change schema to support three instruction types
* [Netflow tutorial] Simplify OSX instructions
* replace axios with fetch
* pass credentials to tutorial fetch
* display cloud instructions when cloud set
* RadioButtonGroup component
* update copy
* add tutorial component jest tests
* content component test
* load isCloudEnabled in home_app
* add functional test ensuring add data tutorials are fetch and displayed
* rename card btns to 'Add data', fix type in tutorial directory tab, remove 'Set up index pattern from tutorial directory'
* move parameters form to right of instruction set title
* add copy snippet button, remove line numbers from command block
* add breadcrumb to tutorial view
* update tutorial jest snapshot
* use componentDidMount and ignore async results if componenent has been unmounted
* define shape of prop for instructionVariants and params. Create NumberParameter and StringParameter components
* add bread crumb to add data directory page
* Add cloud version of the apache_logs tutorial (#16)
* Add cloud version of the apache_logs tutorial
* Added onprem-cloud version as well
* fix styling broken by EUI rebase
* add artifacts to tutorial schema
* fix styling for code block
* [Tutorials] Netflow: instructions for onPremCloud (#18)
* Extract common on-prem cloud instructions so LS and Beats can share them
* Extracting common instructions; adding onPremCloud instructions
* fix copy bug where copy would only contain previously selected text
* make string parameter input type be text
* Implementing Elastic Cloud tutorial for Netflow module (#19)
* More tutorial edits (#20)
* More tutorial edits
This updates the on prem instructions with a step that installs the GeoIP and
UA plugins in ES. It also makes the on-prem steps more consistent with the cloud
instructions which results in less redundancy in the code.
* Show config step for all variants
* More DRY in the tutorial content
* Updated screenshot for apache_logs
* wrap markdown content in markdown-body class
* use EuiFlexGroup to remove wasted space with 'copy snippet' button and instruction text
* change OSX to macOS, use Computed property names for instruction_variant DISPLAY_MAP, replace /app/kibana with kbnBaseUrl, remove unneeded if check in copy_to_clippboard, put getTutorials mixin on server instead of request
* capitilize 'C' in Elastic Cloud
* remove try/catch from copy_to_clipboard
* Removing unrelated instructions
* Copy editing fixes
* Multiply edits to the Beats tutorials (#21)
* Updated Nginx module
* Updated MySQL logs module
* Updated system logs module
* Correct the on_prem_cloud enable steps
* Updated the Nginx metrics tutorial and added screenshot
* Updated the Apache metrics module + screenshot
* Updated the MySQL metrics module + screenshot
* Updated the system metrics module + screenshot
* prevent 'Copy snippet' button text from wrapping
* [Netflow tutorial] Windows instructions (#22)
* [Netflow tutorial] Adding onPrem instructions for Windows
* Removing unrelated/superfluous instructions
* Adding Windows instructions for onPremElasticCloud and elasticCloud
* use EuiImage so tutorial images are clickable to view in full screen
* fix jest tests
* set fullScreenIconColor and alt options for EuiImage, add space between command block and instruction text
2018-01-10 15:20:38 +01:00
"mustache" : "2.3.0" ,
2018-01-10 20:26:02 +01:00
"ngreact" : "0.5.1" ,
2016-11-21 23:03:25 +01:00
"no-ui-slider" : "1.2.0" ,
2016-09-09 23:10:50 +02:00
"node-fetch" : "1.3.2" ,
"pegjs" : "0.9.0" ,
2017-11-01 00:31:22 +01:00
"postcss-loader" : "2.0.6" ,
2017-05-03 15:44:31 +02:00
"prop-types" : "15.5.8" ,
2017-08-09 21:31:30 +02:00
"proxy-from-env" : "1.0.0" ,
2018-07-27 13:21:27 +02:00
"pug" : "^2.0.3" ,
2016-09-09 23:10:50 +02:00
"querystring-browser" : "1.0.4" ,
2015-09-05 10:49:36 +02:00
"raw-loader" : "0.5.1" ,
2018-05-14 14:05:17 +02:00
"react" : "^16.3.0" ,
2018-03-16 16:59:59 +01:00
"react-addons-shallow-compare" : "15.6.2" ,
2018-03-28 21:33:17 +02:00
"react-anything-sortable" : "^1.7.4" ,
2018-01-17 10:14:12 +01:00
"react-color" : "^2.13.8" ,
2018-05-14 14:05:17 +02:00
"react-dom" : "^16.3.0" ,
2018-01-17 10:14:12 +01:00
"react-grid-layout" : "^0.16.2" ,
"react-input-range" : "^1.3.0" ,
"react-markdown" : "^3.1.4" ,
2018-08-29 13:18:46 +02:00
"react-redux" : "^5.0.7" ,
2017-11-02 19:58:46 +01:00
"react-router-dom" : "4.2.2" ,
2018-01-17 10:14:12 +01:00
"react-sizeme" : "^2.3.6" ,
2017-12-11 22:02:39 +01:00
"react-toggle" : "4.0.2" ,
"reactcss" : "1.2.3" ,
2018-08-29 13:18:46 +02:00
"redux" : "4.0.0" ,
2017-10-23 22:39:23 +02:00
"redux-actions" : "2.2.1" ,
2018-08-29 13:18:46 +02:00
"redux-thunk" : "2.3.0" ,
2017-10-25 00:45:57 +02:00
"regression" : "2.0.0" ,
2018-04-17 19:57:52 +02:00
"request" : "^2.85.0" ,
2018-03-09 17:09:54 +01:00
"reselect" : "^3.0.1" ,
2017-03-03 23:33:07 +01:00
"resize-observer-polyfill" : "1.2.1" ,
2015-09-05 10:49:36 +02:00
"rimraf" : "2.4.3" ,
2016-04-15 23:58:20 +02:00
"rison-node" : "1.0.0" ,
2018-06-25 20:04:19 +02:00
"rxjs" : "^6.2.1" ,
2017-11-01 00:31:22 +01:00
"script-loader" : "0.7.2" ,
2018-05-25 19:43:01 +02:00
"semver" : "^5.5.0" ,
2017-11-01 00:31:22 +01:00
"style-loader" : "0.19.0" ,
2015-09-05 10:49:36 +02:00
"tar" : "2.2.0" ,
2016-09-09 23:10:50 +02:00
"tinygradient" : "0.3.0" ,
2018-04-11 23:06:28 +02:00
"tinymath" : "0.2.1" ,
2018-01-16 21:30:52 +01:00
"topojson-client" : "3.0.0" ,
2016-04-05 23:56:45 +02:00
"trunc-html" : "1.0.2" ,
"trunc-text" : "1.0.2" ,
2018-09-13 23:18:13 +02:00
"tslib" : "^1.9.3" ,
2018-07-11 10:19:35 +02:00
"type-detect" : "^4.0.8" ,
2018-08-09 01:00:14 +02:00
"uglifyjs-webpack-plugin" : "^1.2.7" ,
2017-03-31 20:37:10 +02:00
"ui-select" : "0.19.6" ,
2017-11-01 00:31:22 +01:00
"url-loader" : "0.5.9" ,
2017-06-07 00:15:53 +02:00
"uuid" : "3.0.1" ,
2018-05-03 21:18:50 +02:00
"val-loader" : "^1.1.0" ,
2016-03-04 16:31:58 +01:00
"validate-npm-package-name" : "2.2.2" ,
2018-04-26 00:31:16 +02:00
"vega-lib" : "^3.3.1" ,
"vega-lite" : "^2.4.0" ,
2018-01-13 21:14:04 +01:00
"vega-schema-url-parser" : "1.0.0" ,
2018-05-18 19:54:57 +02:00
"vega-tooltip" : "^0.9.14" ,
2016-09-13 21:20:22 +02:00
"vision" : "4.1.0" ,
2017-11-01 00:31:22 +01:00
"webpack" : "3.6.0" ,
"webpack-merge" : "4.1.0" ,
2018-01-10 20:26:02 +01:00
"whatwg-fetch" : "^2.0.3" ,
2017-09-15 03:46:55 +02:00
"wreck" : "12.4.0" ,
2018-04-20 21:13:37 +02:00
"x-pack" : "link:x-pack" ,
2017-04-11 21:58:38 +02:00
"yauzl" : "2.7.0"
2015-01-07 21:48:58 +01:00
} ,
2014-02-11 00:09:04 +01:00
"devDependencies" : {
2018-09-25 13:35:31 +02:00
"@babel/parser" : "^7.1.0" ,
"@babel/types" : "^7.0.0" ,
2018-01-24 10:34:52 +01:00
"@elastic/eslint-config-kibana" : "link:packages/eslint-config-kibana" ,
"@elastic/eslint-plugin-kibana-custom" : "link:packages/eslint-plugin-kibana-custom" ,
2018-03-20 16:30:15 +01:00
"@kbn/es" : "link:packages/kbn-es" ,
2018-04-12 00:21:29 +02:00
"@kbn/eslint-import-resolver-kibana" : "link:packages/kbn-eslint-import-resolver-kibana" ,
2018-04-20 21:13:37 +02:00
"@kbn/eslint-plugin-license-header" : "link:packages/kbn-eslint-plugin-license-header" ,
2018-02-12 20:23:23 +01:00
"@kbn/plugin-generator" : "link:packages/kbn-plugin-generator" ,
2018-05-10 01:23:49 +02:00
"@kbn/test" : "link:packages/kbn-test" ,
2018-09-21 16:31:51 +02:00
"@octokit/rest" : "^15.10.0" ,
2018-06-20 11:07:44 +02:00
"@types/angular" : "^1.6.45" ,
2018-06-22 15:18:29 +02:00
"@types/babel-core" : "^6.25.5" ,
"@types/bluebird" : "^3.1.1" ,
2018-09-17 20:24:32 +02:00
"@types/boom" : "^7.2.0" ,
2018-07-11 10:19:35 +02:00
"@types/chance" : "^1.0.0" ,
2018-06-20 11:07:44 +02:00
"@types/classnames" : "^2.2.3" ,
2018-08-10 02:19:24 +02:00
"@types/dedent" : "^0.7.0" ,
2018-07-31 00:06:31 +02:00
"@types/enzyme" : "^3.1.12" ,
2018-05-22 23:00:02 +02:00
"@types/eslint" : "^4.16.2" ,
"@types/execa" : "^0.9.0" ,
2018-07-19 15:31:44 +02:00
"@types/fetch-mock" : "^5.12.2" ,
2018-05-22 23:00:02 +02:00
"@types/getopts" : "^2.0.0" ,
"@types/glob" : "^5.0.35" ,
2018-07-11 10:19:35 +02:00
"@types/hapi-latest" : "npm:@types/hapi@17.0.12" ,
"@types/has-ansi" : "^3.0.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
"@types/jest" : "^23.3.1" ,
2018-07-11 10:19:35 +02:00
"@types/joi" : "^10.4.4" ,
2018-09-11 07:38:41 +02:00
"@types/jquery" : "^3.3.6" ,
2018-07-11 10:19:35 +02:00
"@types/js-yaml" : "^3.11.1" ,
2018-05-22 23:00:02 +02:00
"@types/listr" : "^0.13.0" ,
2018-06-19 15:41:12 +02:00
"@types/lodash" : "^3.10.1" ,
2018-05-18 19:54:57 +02:00
"@types/minimatch" : "^2.0.29" ,
2018-07-11 10:19:35 +02:00
"@types/node" : "^8.10.20" ,
2018-06-19 15:41:12 +02:00
"@types/prop-types" : "^15.5.3" ,
2018-09-07 22:01:39 +02:00
"@types/puppeteer" : "^1.6.2" ,
2018-05-23 21:05:08 +02:00
"@types/react" : "^16.3.14" ,
"@types/react-dom" : "^16.0.5" ,
2018-08-29 13:18:46 +02:00
"@types/react-redux" : "^6.0.6" ,
2018-09-13 14:20:01 +02:00
"@types/react-virtualized" : "^9.18.7" ,
2018-09-17 20:24:32 +02:00
"@types/redux" : "^3.6.31" ,
2018-06-19 15:41:12 +02:00
"@types/redux-actions" : "^2.2.1" ,
2018-09-17 20:24:32 +02:00
"@types/semver" : "^5.5.0" ,
"@types/sinon" : "^5.0.1" ,
2018-07-11 10:19:35 +02:00
"@types/strip-ansi" : "^3.0.0" ,
2018-09-06 17:39:04 +02:00
"@types/supertest" : "^2.0.5" ,
2018-07-11 10:19:35 +02:00
"@types/type-detect" : "^4.0.1" ,
2018-09-17 20:24:32 +02:00
"@types/uuid" : "^3.4.4" ,
2015-10-19 15:39:34 +02:00
"angular-mocks" : "1.4.7" ,
2018-09-25 13:35:31 +02:00
"babel-eslint" : "^9.0.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-08-29 00:29:42 +02:00
"backport" : "4.4.1" ,
2016-08-15 20:29:17 +02:00
"chai" : "3.5.0" ,
2018-05-14 19:33:04 +02:00
"chance" : "1.0.10" ,
2016-11-18 18:35:30 +01:00
"cheerio" : "0.22.0" ,
2016-07-21 00:00:30 +02:00
"chokidar" : "1.6.0" ,
2018-08-15 20:31:39 +02:00
"chromedriver" : "2.41.0" ,
2016-12-13 02:54:56 +01:00
"classnames" : "2.2.5" ,
2018-04-20 21:13:37 +02:00
"dedent" : "^0.7.0" ,
2017-12-11 22:02:39 +01:00
"enzyme" : "3.2.0" ,
2018-01-17 10:14:12 +01:00
"enzyme-adapter-react-16" : "^1.1.1" ,
2018-05-14 19:33:04 +02:00
"enzyme-to-json" : "3.3.1" ,
2018-09-25 13:35:31 +02:00
"eslint" : "^5.6.0" ,
2018-02-05 18:18:43 +01:00
"eslint-config-prettier" : "^2.9.0" ,
2017-11-15 02:16:59 +01:00
"eslint-plugin-babel" : "4.1.2" ,
"eslint-plugin-import" : "2.8.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
"eslint-plugin-jest" : "^21.22.0" ,
2017-11-15 02:16:59 +01:00
"eslint-plugin-mocha" : "4.11.0" ,
2018-05-24 20:36:59 +02:00
"eslint-plugin-no-unsanitized" : "^3.0.2" ,
2017-10-10 14:50:56 +02:00
"eslint-plugin-prefer-object-spread" : "1.2.1" ,
2018-02-05 18:18:43 +01:00
"eslint-plugin-prettier" : "^2.6.0" ,
2017-12-30 10:03:28 +01:00
"eslint-plugin-react" : "7.5.1" ,
2016-04-06 22:56:23 +02:00
"event-stream" : "3.3.2" ,
2015-09-05 10:49:36 +02:00
"expect.js" : "0.3.1" ,
"faker" : "1.1.0" ,
2018-08-13 19:28:23 +02:00
"fetch-mock" : "^5.13.1" ,
2018-09-18 20:21:30 +02:00
"geckodriver" : "1.12.2" ,
2017-11-20 22:22:24 +01:00
"getopts" : "2.0.0" ,
2018-05-24 20:38:42 +02:00
"globby" : "^8.0.1" ,
2016-07-21 00:00:30 +02:00
"grunt" : "1.0.1" ,
2018-07-27 13:30:17 +02:00
"grunt-cli" : "^1.2.0" ,
2018-03-22 00:42:23 +01:00
"grunt-contrib-watch" : "^1.0.0" ,
2016-07-21 00:00:30 +02:00
"grunt-karma" : "2.0.0" ,
2018-03-22 00:42:23 +01:00
"grunt-peg" : "^2.0.1" ,
2017-06-02 16:15:45 +02:00
"grunt-run" : "0.7.0" ,
2018-04-20 21:13:37 +02:00
"gulp-babel" : "^7.0.1" ,
2016-10-13 23:09:12 +02:00
"gulp-sourcemaps" : "1.7.3" ,
2018-07-11 10:19:35 +02:00
"has-ansi" : "^3.0.0" ,
2015-09-05 10:49:36 +02:00
"husky" : "0.8.1" ,
2016-06-08 19:27:49 +02:00
"image-diff" : "1.6.0" ,
2017-11-01 00:31:22 +01:00
"istanbul-instrumenter-loader" : "3.0.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" ,
2018-06-04 17:23:59 +02:00
"jest-raw-loader" : "^1.0.1" ,
2017-12-13 19:41:40 +01:00
"jimp" : "0.2.28" ,
2018-07-17 14:56:55 +02:00
"json5" : "^1.0.1" ,
2017-05-16 01:46:52 +02:00
"karma" : "1.7.0" ,
"karma-chrome-launcher" : "2.1.1" ,
"karma-coverage" : "1.1.1" ,
"karma-firefox-launcher" : "1.0.1" ,
"karma-ie-launcher" : "1.0.0" ,
2017-12-06 01:29:48 +01:00
"karma-junit-reporter" : "1.2.0" ,
2017-05-16 01:46:52 +02:00
"karma-mocha" : "1.3.0" ,
"karma-safari-launcher" : "1.0.0" ,
2018-04-06 21:19:50 +02:00
"leadfoot" : "1.7.5" ,
2018-01-19 08:49:55 +01:00
"license-checker" : "^16.0.0" ,
2018-05-22 23:00:02 +02:00
"listr" : "^0.14.1" ,
2016-07-21 00:00:30 +02:00
"load-grunt-config" : "0.19.2" ,
2018-06-27 11:48:58 +02:00
"makelogs" : "^4.1.0" ,
2018-05-19 03:05:27 +02:00
"mocha" : "3.3.0" ,
2018-03-06 01:19:02 +01:00
"mock-fs" : "^4.4.2" ,
2016-09-02 00:02:43 +02:00
"murmurhash3js" : "3.0.1" ,
2018-07-30 16:17:57 +02:00
"mutation-observer" : "^1.0.3" ,
2016-09-06 22:10:54 +02:00
"nock" : "8.0.0" ,
2018-06-22 01:25:29 +02:00
"node-sass" : "^4.9.0" ,
2018-08-22 13:57:32 +02:00
"normalize-path" : "^3.0.0" ,
2017-08-23 01:26:30 +02:00
"pixelmatch" : "4.0.2" ,
2018-08-10 23:24:14 +02:00
"postcss" : "^7.0.2" ,
2018-07-31 15:30:36 +02:00
"prettier" : "^1.14.0" ,
2018-05-14 19:33:04 +02:00
"proxyquire" : "1.7.11" ,
2018-08-28 02:26:30 +02:00
"regenerate" : "^1.4.0" ,
2016-06-10 06:36:09 +02:00
"simple-git" : "1.37.0" ,
2018-05-22 12:13:38 +02:00
"sinon" : "^5.0.7" ,
2017-05-11 21:07:23 +02:00
"strip-ansi" : "^3.0.1" ,
2018-09-06 17:39:04 +02:00
"supertest" : "^3.1.0" ,
"supertest-as-promised" : "^4.0.2" ,
2018-05-14 19:33:04 +02:00
"tree-kill" : "^1.1.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
"ts-jest" : "^23.1.4" ,
2018-05-18 19:54:57 +02:00
"ts-loader" : "^3.5.0" ,
2018-09-11 07:38:41 +02:00
"ts-node" : "^7.0.1" ,
"tslint" : "^5.11.0" ,
"tslint-config-prettier" : "^1.15.0" ,
2018-05-22 23:00:02 +02:00
"tslint-plugin-prettier" : "^1.3.0" ,
2018-09-11 07:38:41 +02:00
"typescript" : "^3.0.3" ,
2018-04-04 18:12:44 +02:00
"vinyl-fs" : "^3.0.2" ,
2018-05-14 19:33:04 +02:00
"xml2js" : "^0.4.19" ,
2018-06-08 18:32:31 +02:00
"xmlbuilder" : "9.0.4" ,
"zlib" : "^1.0.5"
2015-06-06 01:20:49 +02:00
} ,
"engines" : {
2018-08-16 20:05:17 +02:00
"node" : "8.11.4" ,
2018-04-17 18:53:12 +02:00
"yarn" : "^1.6.0"
2015-01-07 21:48:58 +01:00
}
2014-02-07 00:29:19 +01:00
}