Skip to content

Commit

Permalink
Web console: bump dependencies including d3 and typescript (apache#17381
Browse files Browse the repository at this point in the history
)

* bump deps including d3

* better clean script
  • Loading branch information
vogievetsky authored Oct 21, 2024
1 parent 187e21a commit 6cf372a
Show file tree
Hide file tree
Showing 27 changed files with 1,210 additions and 931 deletions.
102 changes: 41 additions & 61 deletions licenses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5083,7 +5083,7 @@ license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Palantir Technologies
version: 5.1.1
version: 5.1.2

---

Expand All @@ -5092,7 +5092,7 @@ license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Palantir Technologies
version: 5.10.5
version: 5.13.1

---

Expand All @@ -5101,7 +5101,7 @@ license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Palantir Technologies
version: 2.3.7
version: 2.3.11

---

Expand All @@ -5110,7 +5110,7 @@ license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Palantir Technologies
version: 5.3.7
version: 5.3.11

---

Expand All @@ -5119,7 +5119,7 @@ license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Palantir Technologies
version: 5.10.0
version: 5.13.0

---

Expand All @@ -5128,7 +5128,7 @@ license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Palantir Technologies
version: 5.2.1
version: 5.2.5

---

Expand All @@ -5137,7 +5137,7 @@ license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Imply Data
version: 0.22.22
version: 0.22.23

---

Expand Down Expand Up @@ -5236,7 +5236,7 @@ license_category: binary
module: web-console
license_name: SIL Open Font License 1.1
copyright: Google Inc.
version: 5.0.28
version: 5.1.0
license_file_path: licenses/bin/@fontsource-open-sans.OFL

---
Expand Down Expand Up @@ -5286,27 +5286,17 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: Microsoft Corporation.
version: 18.2.42
version: 18.3.11
license_file_path: licenses/bin/@types-react.MIT

---

name: "@types/scheduler"
license_category: binary
module: web-console
license_name: MIT License
copyright: Microsoft Corporation.
version: 0.16.8
license_file_path: licenses/bin/@types-scheduler.MIT

---

name: "ace-builds"
license_category: binary
module: web-console
license_name: BSD-3-Clause License
copyright: Ajax.org B.V.
version: 1.4.14
version: 1.5.3
license_file_path: licenses/bin/ace-builds.BSD3

---
Expand Down Expand Up @@ -5336,7 +5326,7 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: Matt Zabriskie
version: 1.7.4
version: 1.7.7
license_file_path: licenses/bin/axios.MIT

---
Expand Down Expand Up @@ -5475,7 +5465,7 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: TJ Holowaychuk
version: 2.20.0
version: 7.2.0
license_file_path: licenses/bin/commander.MIT

---
Expand Down Expand Up @@ -5505,21 +5495,11 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: sudodoki
version: 3.2.0
version: 3.3.3
license_file_path: licenses/bin/copy-to-clipboard.MIT

---

name: "core-js"
license_category: binary
module: web-console
license_name: MIT License
copyright: Denis Pushkarev
version: 3.10.1
license_file_path: licenses/bin/core-js.MIT

---

name: "cosmiconfig"
license_category: binary
module: web-console
Expand Down Expand Up @@ -5563,30 +5543,30 @@ license_file_path: licenses/bin/d3-array.BSD3
name: "d3-axis"
license_category: binary
module: web-console
license_name: BSD-3-Clause License
license_name: ISC License
copyright: Mike Bostock
version: 2.1.0
license_file_path: licenses/bin/d3-axis.BSD3
version: 3.0.0
license_file_path: licenses/bin/d3-axis.ISC

---

name: "d3-color"
license_category: binary
module: web-console
license_name: BSD-3-Clause License
license_name: ISC License
copyright: Mike Bostock
version: 2.0.0
license_file_path: licenses/bin/d3-color.BSD3
version: 3.1.0
license_file_path: licenses/bin/d3-color.ISC

---

name: "d3-dsv"
license_category: binary
module: web-console
license_name: BSD-3-Clause License
license_name: ISC License
copyright: Mike Bostock
version: 2.0.0
license_file_path: licenses/bin/d3-dsv.BSD3
version: 3.0.1
license_file_path: licenses/bin/d3-dsv.ISC

---

Expand All @@ -5603,10 +5583,10 @@ license_file_path: licenses/bin/d3-format.BSD3
name: "d3-interpolate"
license_category: binary
module: web-console
license_name: BSD-3-Clause License
license_name: ISC License
copyright: Mike Bostock
version: 2.0.1
license_file_path: licenses/bin/d3-interpolate.BSD3
version: 3.0.1
license_file_path: licenses/bin/d3-interpolate.ISC

---

Expand All @@ -5623,20 +5603,20 @@ license_file_path: licenses/bin/d3-scale-chromatic.ISC
name: "d3-scale"
license_category: binary
module: web-console
license_name: BSD-3-Clause License
license_name: ISC License
copyright: Mike Bostock
version: 3.3.0
license_file_path: licenses/bin/d3-scale.BSD3
version: 4.0.2
license_file_path: licenses/bin/d3-scale.ISC

---

name: "d3-selection"
license_category: binary
module: web-console
license_name: BSD-3-Clause License
license_name: ISC License
copyright: Mike Bostock
version: 2.0.0
license_file_path: licenses/bin/d3-selection.BSD3
version: 3.0.0
license_file_path: licenses/bin/d3-selection.ISC

---

Expand Down Expand Up @@ -5734,7 +5714,7 @@ license_category: binary
module: web-console
license_name: Apache License version 2.0
copyright: Apache Software Foundation
version: 5.4.3
version: 5.5.1

---

Expand Down Expand Up @@ -5893,7 +5873,7 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: Alexander Shtuchkin
version: 0.4.24
version: 0.6.3
license_file_path: licenses/bin/iconv-lite.MIT

---
Expand Down Expand Up @@ -6062,7 +6042,7 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: Alex Reardon
version: 5.1.1
version: 5.2.1
license_file_path: licenses/bin/memoize-one.MIT

---
Expand Down Expand Up @@ -6291,7 +6271,7 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: Facebook, Inc. and its affiliates.
version: 18.2.0
version: 18.3.1
license_file_path: licenses/bin/react-dom.MIT

---
Expand Down Expand Up @@ -6401,7 +6381,7 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: Facebook, Inc. and its affiliates.
version: 18.2.0
version: 18.3.1
license_file_path: licenses/bin/react.MIT

---
Expand Down Expand Up @@ -6481,7 +6461,7 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: Facebook, Inc. and its affiliates.
version: 0.23.0
version: 0.23.2
license_file_path: licenses/bin/scheduler.MIT

---
Expand Down Expand Up @@ -6611,7 +6591,7 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: Facebook, Inc. and its affiliates.
version: 1.2.0
version: 1.2.2
license_file_path: licenses/bin/use-sync-external-store.MIT

---
Expand All @@ -6621,7 +6601,7 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: Robert Kieffer and other contributors
version: 7.0.2
version: 7.0.3
license_file_path: licenses/bin/uuid.MIT

---
Expand Down Expand Up @@ -6661,7 +6641,7 @@ license_category: binary
module: web-console
license_name: BSD-3-Clause License
copyright: Baidu Inc.
version: 5.4.4
version: 5.6.0
license_file_path: licenses/bin/zrender.BSD3

---
Expand All @@ -6671,6 +6651,6 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: Paul Henschel
version: 4.3.2
version: 4.5.5
license_file_path: licenses/bin/zustand.MIT
# Web console modules end
2 changes: 1 addition & 1 deletion web-console/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ coordinator-console/
pages/
/index.html

lib/sql-docs.js
lib/sql-docs.*

.tscache
tscommand-*.tmp.txt
Expand Down
12 changes: 6 additions & 6 deletions web-console/jest.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* limitations under the License.
*/

const { createJsWithTsPreset } = require('ts-jest');

module.exports = {
preset: 'ts-jest',
globals: {
'ts-jest': {
tsconfig: './tsconfig.test.json',
},
},
testEnvironment: 'jsdom',
transformIgnorePatterns: ['/node_modules/(?!(d3-.+)/)'],
...createJsWithTsPreset({
tsconfig: './tsconfig.test.json',
}),
};
File renamed without changes.
22 changes: 0 additions & 22 deletions web-console/lib/keywords.d.ts

This file was deleted.

8 changes: 4 additions & 4 deletions web-console/lib/keywords.js → web-console/lib/keywords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

// Hand picked from https://druid.apache.org/docs/latest/querying/sql.html

exports.SQL_KEYWORDS = [
export const SQL_KEYWORDS = [
'EXPLAIN PLAN FOR',
'WITH',
'AS',
Expand Down Expand Up @@ -75,7 +75,7 @@ exports.SQL_KEYWORDS = [
'UNPIVOT',
];

exports.SQL_EXPRESSION_PARTS = [
export const SQL_EXPRESSION_PARTS = [
'FILTER',
'END',
'ELSE',
Expand Down Expand Up @@ -114,9 +114,9 @@ exports.SQL_EXPRESSION_PARTS = [
'CSV',
];

exports.SQL_CONSTANTS = ['NULL', 'FALSE', 'TRUE'];
export const SQL_CONSTANTS = ['NULL', 'FALSE', 'TRUE'];

exports.SQL_DYNAMICS = [
export const SQL_DYNAMICS = [
'CURRENT_TIMESTAMP',
'CURRENT_DATE',
'LOCALTIME',
Expand Down
Loading

0 comments on commit 6cf372a

Please sign in to comment.