Files
superset2/superset-frontend/plugins/plugin-chart-pivot-table/package.json
Claude Code e763ef86fd chore(deps): upgrade Babel to 8.x across the frontend
Upgrades all @babel/* packages from 7.x to 8.0.x in one coordinated change,
replacing the ~17 individual Dependabot PRs (Babel 8 must be adopted atomically
because @babel/core and its plugins/presets share peer ranges).

Includes the workarounds the surrounding ecosystem still requires for Babel 8:

- babel.config.js migrated for Babel 8 removals:
  - loose/spec options -> `assumptions` (setPublicClassFields,
    privateFieldsAsProperties, noDocumentAll)
  - preset-env `useBuiltIns`/`corejs` -> babel-plugin-polyfill-corejs3
  - dropped @babel/plugin-syntax-dynamic-import (removed in v8) and the
    standalone class/optional-chaining/nullish transforms (now in preset-env)
  - preset-typescript `onlyRemoveTypeImports: false` to keep eliding
    value-syntax type-only imports (the v8 default flipped to true)
  - preset-react and @emotion/babel-plugin scoped to .jsx/.tsx via `overrides`
    so their JSX syntax plugin no longer makes TS generic arrows in .ts files
    parse as JSX
  - test env uses preset-env `modules: 'commonjs'` instead of the standalone
    transform-modules-commonjs plugin (plugin/preset ordering changed in v8)

- Removed babel-plugin-lodash: it calls the removed `path.hoist`/
  `isModuleDeclaration` APIs and is unmaintained (bundle-size note in the PR).

- patch-package introduced (postinstall) to patch @emotion/babel-plugin, whose
  latest release still calls the removed NodePath#hoist. Remove once Emotion
  ships Babel 8 support.

- package.json `overrides` relax @babel/core peer ranges for ts-jest and the
  @babel/plugin-syntax-* no-op packages (via babel-preset-current-node-syntax)
  that have not yet declared Babel 8 compatibility.

Validated with `npm ci`, the production webpack build, and the Jest unit suite.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 13:50:33 -07:00

45 lines
1.1 KiB
JSON

{
"name": "@superset-ui/plugin-chart-pivot-table",
"version": "0.20.3",
"description": "Superset Chart - Pivot Table",
"sideEffects": false,
"main": "lib/index.js",
"module": "esm/index.js",
"files": [
"esm",
"lib"
],
"repository": {
"type": "git",
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/plugins/plugin-chart-pivot-table"
},
"keywords": [
"superset"
],
"author": "Superset",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/apache/superset/issues"
},
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/plugin-chart-pivot-table#readme",
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@ant-design/icons": "^5.6.1",
"@apache-superset/core": "*",
"@superset-ui/chart-controls": "*",
"@superset-ui/core": "*",
"lodash": "^4.18.1",
"prop-types": "*",
"react": "^18.3.0",
"react-dom": "^18.3.0"
},
"devDependencies": {
"@babel/types": "^8.0.0",
"@types/jest": "^30.0.0",
"jest": "^30.4.2"
}
}