mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Update babel to v7.12 (#89006)
* bump babel version * build kbn-pm * fix integration test * remove cicular dependency between files which crashes Kibana in rutime Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
b35a4e645d
commit
1f644e44c9
7 changed files with 1371 additions and 588 deletions
48
package.json
48
package.json
|
@ -93,8 +93,8 @@
|
|||
"yarn": "^1.21.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.11.6",
|
||||
"@babel/runtime": "^7.11.2",
|
||||
"@babel/core": "^7.12.10",
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@elastic/datemath": "link:packages/elastic-datemath",
|
||||
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@^8.0.0-canary",
|
||||
"@elastic/ems-client": "7.11.0",
|
||||
|
@ -330,22 +330,22 @@
|
|||
"yauzl": "^2.10.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.10.5",
|
||||
"@babel/parser": "^7.11.2",
|
||||
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
||||
"@babel/plugin-proposal-export-namespace-from": "^7.10.4",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
|
||||
"@babel/plugin-proposal-private-methods": "^7.10.4",
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
|
||||
"@babel/plugin-transform-runtime": "^7.11.0",
|
||||
"@babel/preset-env": "^7.11.0",
|
||||
"@babel/preset-react": "^7.10.4",
|
||||
"@babel/preset-typescript": "^7.10.4",
|
||||
"@babel/register": "^7.10.5",
|
||||
"@babel/traverse": "^7.11.5",
|
||||
"@babel/types": "^7.11.0",
|
||||
"@babel/cli": "^7.12.10",
|
||||
"@babel/parser": "^7.12.11",
|
||||
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
||||
"@babel/plugin-proposal-export-namespace-from": "^7.12.1",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
|
||||
"@babel/plugin-proposal-private-methods": "^7.12.1",
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
|
||||
"@babel/plugin-transform-runtime": "^7.12.10",
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@babel/preset-typescript": "^7.12.7",
|
||||
"@babel/register": "^7.12.10",
|
||||
"@babel/traverse": "^7.12.12",
|
||||
"@babel/types": "^7.12.12",
|
||||
"@cypress/snapshot": "^2.1.7",
|
||||
"@cypress/webpack-preprocessor": "^5.5.0",
|
||||
"@elastic/apm-rum": "^5.6.1",
|
||||
|
@ -407,7 +407,7 @@
|
|||
"@types/angular": "^1.6.56",
|
||||
"@types/angular-mocks": "^1.7.0",
|
||||
"@types/archiver": "^5.1.0",
|
||||
"@types/babel__core": "^7.1.10",
|
||||
"@types/babel__core": "^7.1.12",
|
||||
"@types/base64-js": "^1.2.5",
|
||||
"@types/bluebird": "^3.1.1",
|
||||
"@types/chance": "^1.0.0",
|
||||
|
@ -580,10 +580,10 @@
|
|||
"argsplit": "^1.0.5",
|
||||
"autoprefixer": "^9.7.4",
|
||||
"axe-core": "^4.0.2",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"babel-jest": "^26.3.0",
|
||||
"babel-loader": "^8.0.6",
|
||||
"babel-plugin-add-module-exports": "^1.0.2",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-jest": "^26.6.3",
|
||||
"babel-loader": "^8.2.2",
|
||||
"babel-plugin-add-module-exports": "^1.0.4",
|
||||
"babel-plugin-istanbul": "^6.0.0",
|
||||
"babel-plugin-require-context-hook": "^1.0.0",
|
||||
"babel-plugin-styled-components": "^1.10.7",
|
||||
|
@ -629,7 +629,7 @@
|
|||
"eslint-import-resolver-node": "0.3.2",
|
||||
"eslint-import-resolver-webpack": "0.11.1",
|
||||
"eslint-module-utils": "2.5.0",
|
||||
"eslint-plugin-babel": "^5.3.0",
|
||||
"eslint-plugin-babel": "^5.3.1",
|
||||
"eslint-plugin-ban": "^1.4.0",
|
||||
"eslint-plugin-cypress": "^2.11.2",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
|
|
926
packages/kbn-pm/dist/index.js
vendored
926
packages/kbn-pm/dist/index.js
vendored
File diff suppressed because it is too large
Load diff
|
@ -7,7 +7,7 @@
|
|||
import { LevelLogger } from '../';
|
||||
import { LayoutSelectorDictionary, Size } from '../../../common/types';
|
||||
import { HeadlessChromiumDriver } from '../../browsers';
|
||||
import { Layout } from './layout';
|
||||
import type { Layout } from './layout';
|
||||
|
||||
export {
|
||||
LayoutParams,
|
||||
|
@ -17,7 +17,7 @@ export {
|
|||
Size,
|
||||
} from '../../../common/types';
|
||||
export { createLayout } from './create_layout';
|
||||
export { Layout } from './layout';
|
||||
export type { Layout } from './layout';
|
||||
export { PreserveLayout } from './preserve_layout';
|
||||
export { CanvasLayout } from './canvas_layout';
|
||||
export { PrintLayout } from './print_layout';
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import { CustomPageSize, PredefinedPageSize } from 'pdfmake/interfaces';
|
||||
import { PageSizeParams, PdfImageSize, Size } from './';
|
||||
import type { CustomPageSize, PredefinedPageSize } from 'pdfmake/interfaces';
|
||||
import type { PageSizeParams, PdfImageSize, Size } from '../../../common/types';
|
||||
|
||||
export interface ViewZoomWidthHeight {
|
||||
zoom: number;
|
||||
|
|
|
@ -9,7 +9,8 @@ import { CustomPageSize } from 'pdfmake/interfaces';
|
|||
import { getDefaultLayoutSelectors } from '../../../common';
|
||||
import { LAYOUT_TYPES } from '../../../common/constants';
|
||||
import { LayoutSelectorDictionary, PageSizeParams, Size } from '../../../common/types';
|
||||
import { Layout, LayoutInstance } from './';
|
||||
import type { LayoutInstance } from './';
|
||||
import { Layout } from './layout';
|
||||
|
||||
// We use a zoom of two to bump up the resolution of the screenshot a bit.
|
||||
const ZOOM: number = 2;
|
||||
|
|
|
@ -13,7 +13,8 @@ import { LAYOUT_TYPES } from '../../../common/constants';
|
|||
import { LayoutSelectorDictionary, Size } from '../../../common/types';
|
||||
import { HeadlessChromiumDriver } from '../../browsers';
|
||||
import { CaptureConfig } from '../../types';
|
||||
import { Layout, LayoutInstance } from './';
|
||||
import type { LayoutInstance } from './';
|
||||
import { Layout } from './layout';
|
||||
|
||||
export class PrintLayout extends Layout implements LayoutInstance {
|
||||
public readonly selectors: LayoutSelectorDictionary = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue