Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade minor dependencies #1954

Merged
merged 35 commits into from Sep 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
543e23e
Ensure node_modules doesn't land in LocalSourcesWatcher
kantuni Jun 14, 2020
d6be1bd
Preserve alphabetical order
kantuni Jun 14, 2020
4384d16
Merge branch 'develop' of https://github.com/streamlit/streamlit into…
kantuni Jun 23, 2020
92e4cbe
Merge branch 'develop' of https://github.com/streamlit/streamlit into…
kantuni Jun 25, 2020
484b929
Merge branch 'develop' of github.com:streamlit/streamlit into develop
kantuni Jun 30, 2020
2fd4a6c
Merge branch 'develop' of https://github.com/streamlit/streamlit into…
kantuni Jul 31, 2020
f626dd2
Upgrade minor dependencies
kantuni Sep 1, 2020
bc3ce3f
Resolve merge conflicts
kantuni Sep 1, 2020
37918a0
Make Black happy
kantuni Sep 1, 2020
f1b6042
Make ESLint happy
kantuni Sep 1, 2020
3b083c6
Fix unit tests
kantuni Sep 1, 2020
d4b46c2
Resolve merge conflicts
kantuni Sep 3, 2020
5cd2fa8
Merge branch 'develop' of https://github.com/streamlit/streamlit into…
kantuni Sep 8, 2020
50c6fdd
Add handlebars to yarn resolutions
kantuni Sep 8, 2020
75b8bc6
Merge branch 'develop' of https://github.com/streamlit/streamlit into…
kantuni Sep 8, 2020
e77f432
Pin react-scripts to 3.4.0
kantuni Sep 8, 2020
dc10364
Update yarn.lock
kantuni Sep 8, 2020
005e837
Resolve merge conflicts
kantuni Sep 10, 2020
6664c46
Make ESLint happy
kantuni Sep 11, 2020
91fc95e
Merge branch 'develop' of https://github.com/streamlit/streamlit into…
kantuni Sep 11, 2020
922ddd5
Resolve merge conflicts
kantuni Sep 21, 2020
733453e
Resolve merge conflicts
kantuni Sep 21, 2020
2602a7f
Merge branch 'develop' of https://github.com/streamlit/streamlit into…
kantuni Sep 21, 2020
915b3fb
Update snapshots
kantuni Sep 21, 2020
cd66e0f
Resolve merge conflicts
kantuni Sep 22, 2020
91b1784
Merge branch 'develop' of https://github.com/streamlit/streamlit into…
kantuni Sep 23, 2020
fe50cd9
Downgrade Cypress
kantuni Sep 23, 2020
5621bfb
Properly downgrade Cypress
kantuni Sep 23, 2020
0238608
Merge branch 'develop' of https://github.com/streamlit/streamlit into…
kantuni Sep 23, 2020
4939e4b
Fix pydeck snapshot
kantuni Sep 23, 2020
e73403a
Downgrade BaseWeb
kantuni Sep 23, 2020
6f34a00
Properly downgrade BaseWeb
kantuni Sep 23, 2020
89b5ff2
Make Black happy
kantuni Sep 23, 2020
931e482
Make Black happy (again)
kantuni Sep 23, 2020
22053f1
Revert TextInput.test.tsx
kantuni Sep 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions component-lib/declarations/apache-arrow/type.d.ts
Expand Up @@ -25,7 +25,7 @@ export declare type RowLike<
T extends {
[key: string]: DataType;
}
> = (Iterable<[string, T[keyof T]["TValue"] | null]>) &
> = Iterable<[string, T[keyof T]["TValue"] | null]> &
{
[P in keyof T]: T[P]["TValue"] | null;
} & {
Expand All @@ -40,7 +40,7 @@ export declare type MapLike<
> = {
[P in K["TValue"]]: V["TValue"] | null;
} &
(Map<K["TValue"], V["TValue"] | null>);
Map<K["TValue"], V["TValue"] | null>;
export interface DataType<
TType extends Type = Type,
TChildren extends {
Expand Down
16 changes: 6 additions & 10 deletions component-lib/declarations/apache-arrow/util/args.d.ts
Expand Up @@ -5,19 +5,15 @@ import { DataType } from "../type";
/** @ignore */
export declare const selectArgs: <T>(Ctor: any, vals: any[]) => T[];
/** @ignore */
export declare const selectColumnArgs: <
T extends {
[key: string]: DataType<import("../enum").Type, any>;
}
>(
export declare const selectColumnArgs: <T extends {
[key: string]: DataType<import("../enum").Type, any>;
}>(
args: any[]
) => Column<any>[];
/** @ignore */
export declare const selectFieldArgs: <
T extends {
[key: string]: DataType<import("../enum").Type, any>;
}
>(
export declare const selectFieldArgs: <T extends {
[key: string]: DataType<import("../enum").Type, any>;
}>(
args: any[]
) => [Field<T[keyof T]>[], (T[keyof T] | Vector<T[keyof T]>)[]];
/** @ignore */
Expand Down
1 change: 0 additions & 1 deletion e2e/scripts/st_pydeck_geo_layers.py
Expand Up @@ -37,7 +37,6 @@
pickable=True,
stroked=True,
filled=True,
extruded=False,
get_hexagon="hex",
get_fill_color="[0, 255, 0]",
get_line_color=[255, 255, 255],
Expand Down
116 changes: 58 additions & 58 deletions frontend/package.json
Expand Up @@ -35,115 +35,113 @@
},
"dependencies": {
"@bokeh/bokehjs": "2.0.0",
"@loaders.gl/core": "^2.0.2",
"@loaders.gl/csv": "^2.0.2",
"aws-sdk": "^2.524.0",
"axios": "^0.19.0",
"baseui": "^9.67.1",
"bootstrap": "^4.3.1",
"@loaders.gl/core": "^2.2.8",
"@loaders.gl/csv": "^2.2.8",
"aws-sdk": "^2.729.0",
"axios": "^0.19.2",
"baseui": "9.71.0",
"bootstrap": "^4.5.2",
"camelcase": "^5.2.0",
"classnames": "^2.2.6",
"clipboard": "^2.0.6",
"d3": "^5.12.0",
"d3": "^5.16.0",
"d3-graphviz": "^2.6.1",
"deck.gl": "^8.0.12",
"deck.gl": "^8.2.5",
"dompurify": "^2.0.12",
"hoist-non-react-statics": "^3.3.2",
"immutable": "^4.0.0-rc.12",
"katex": "^0.11.1",
"lodash": "^4.17.15",
"mapbox-gl": "^1.7.0",
"moment": "^2.22.2",
"lodash": "^4.17.19",
"mapbox-gl": "^1.11.1",
"moment": "^2.27.0",
"moment-duration-format": "^2.3.2",
"node-emoji": "^1.10.0",
"node-sass": "^4.12.0",
"numbro": "^2.1.2",
"plotly.js": "^1.54.2",
"prismjs": "^1.15.0",
"protobufjs": "^6.9.0",
"node-sass": "^4.14.1",
"numbro": "^2.3.1",
"plotly.js": "^1.54.7",
"prismjs": "^1.21.0",
"protobufjs": "~6.9.0",
"query-string": "^6.13.1",
"react": "^16.8.6",
"react": "^16.13.1",
"react-color": "^2.18.1",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.8.4",
"react-dom": "^16.13.1",
"react-feather": "^2.0.8",
"react-google-login": "^5.0.4",
"react-google-login": "^5.1.21",
"react-hotkeys": "^1.1.4",
"react-json-view": "^1.19.1",
"react-katex": "^2.0.2",
"react-map-gl": "^5.2.5",
"react-markdown": "^4.2.2",
"react-map-gl": "^5.2.7",
"react-markdown": "^4.3.1",
"react-plotly.js": "^2.4.0",
"react-scripts": "3.4.0",
"react-test-renderer": "^16.10.2",
"react-transition-group": "^4.3.0",
"react-test-renderer": "^16.13.1",
"react-transition-group": "^4.4.1",
"react-virtualized": "^9.21.2",
"react-window": "^1.8.5",
"reactstrap": "^8.0.1",
"remark-emoji": "^2.0.2",
"reactstrap": "^8.5.1",
"remark-emoji": "^2.1.0",
"remark-math": "^2.0.1",
"sprintf-js": "^1.1.2",
"styletron-engine-atomic": "^1.4.6",
"styletron-react": "^5.2.6",
"typed-signals": "^1.0.5",
"vega": "^5.10.0",
"vega-embed": "^6.5.1",
"vega-lite": "^4.7.0",
"vega": "^5.13.0",
"vega-embed": "^6.10.0",
"vega-lite": "^4.14.1",
"which-browser": "^0.5.1",
"xxhashjs": "^0.2.2"
},
"devDependencies": {
"@craco/craco": "^5.5.0",
"@deck.gl/json": "^8.0.5",
"@craco/craco": "^5.6.4",
"@deck.gl/json": "^8.2.5",
"@types/classnames": "^2.2.10",
"@types/clipboard": "^2.0.1",
"@types/d3": "^5.7.2",
"@types/d3-graphviz": "^2.6.3",
"@types/dom-mediacapture-record": "^1.0.5",
"@types/dompurify": "^2.0.2",
"@types/dom-mediacapture-record": "^1.0.7",
"@types/dompurify": "^2.0.3",
"@types/enzyme": "^3.10.5",
"@types/fetch-mock": "^7.3.2",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest": "^24.0.11",
"@types/katex": "^0.10.2",
"@types/lodash": "^4.14.150",
"@types/lodash": "^4.14.159",
"@types/mocha": "^5.2.7",
"@types/moment": "^2.13.0",
"@types/moment-duration-format": "^2.2.2",
"@types/node": "^12.7.4",
"@types/node-emoji": "^1.8.1",
"@types/numeral": "^0.0.26",
"@types/plotly.js": "^1.44.8",
"@types/prismjs": "^1.16.0",
"@types/react": "^16.9.35",
"@types/react-color": "^3.0.1",
"@types/react-copy-to-clipboard": "^4.2.6",
"@types/plotly.js": "^1.50.16",
"@types/prismjs": "^1.16.1",
"@types/react": "^16.9.45",
"@types/react-color": "^3.0.4",
"@types/react-copy-to-clipboard": "^4.3.0",
"@types/react-dom": "^16.9.8",
"@types/react-map-gl": "^5.0.1",
"@types/react-map-gl": "^5.2.6",
"@types/react-plotly.js": "^2.2.4",
"@types/react-transition-group": "^4.2.4",
"@types/react-virtualized": "^9.21.9",
"@types/react-transition-group": "^4.4.0",
"@types/react-virtualized": "^9.21.10",
"@types/react-window": "^1.8.2",
"@types/reactstrap": "^8.0.1",
"@types/reactstrap": "^8.5.0",
"@types/sprintf-js": "^1.1.2",
"@types/styletron-engine-atomic": "^1.1.0",
"@types/styletron-react": "^5.0.2",
"@types/styletron-standard": "^2.0.0",
"@types/xxhashjs": "^0.2.1",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.0",
"axios-mock-adapter": "^1.17.0",
"@types/styletron-standard": "^2.0.1",
"@types/xxhashjs": "^0.2.2",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"axios-mock-adapter": "^1.18.2",
"cypress": "4.1.0",
"cypress-file-upload": "^3.5.1",
"cypress-image-snapshot": "^3.1.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.3",
"enzyme-to-json": "^3.5.0",
"eslint-config-airbnb-typescript": "^9.0.0",
"eslint-config-prettier": "^6.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.6",
"fetch-mock": "^7.3.9",
"hard-source-webpack-plugin": "^0.13.1",
"husky": "^3.0.5",
Expand All @@ -156,16 +154,18 @@
"mochawesome-report-generator": "^4.0.1",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
"react-scripts": "3.4.0",
"scss-to-json": "^2.0.0",
"source-map-explorer": "^2.1.0",
"start-server-and-test": "^1.9.1",
"timezone-mock": "^1.1.0",
"typescript": "^3.8.3"
"source-map-explorer": "^2.4.2",
"start-server-and-test": "^1.11.2",
"timezone-mock": "^1.1.1",
"typescript": "^3.9.5"
},
"resolutions": {
"bl": "^2.2.1",
"dot-prop": "^4.2.1",
"esm": "^3.1.0",
"handlebars": "^4.4.5",
"https-proxy-agent": "^2.2.4",
"jquery": "^3.5.1",
"kind-of": "^6.0.3",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/App.tsx
Expand Up @@ -107,6 +107,7 @@ interface State {

const ELEMENT_LIST_BUFFER_TIMEOUT_MS = 10

// eslint-disable-next-line
declare global {
interface Window {
streamlitDebug: any
Expand Down
Expand Up @@ -2,6 +2,7 @@

exports[`App renders without crashing 1`] = `
<Dropdown
a11y={true}
active={false}
addonType={false}
direction="down"
Expand Down Expand Up @@ -124,6 +125,7 @@ exports[`App renders without crashing 1`] = `

exports[`App should render s4a menu items 1`] = `
<Dropdown
a11y={true}
active={false}
addonType={false}
direction="down"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/elements/Table/Table.tsx
Expand Up @@ -16,12 +16,12 @@
*/

import React, { ReactElement } from "react"
import { toFormattedString } from "lib/format"
import { Map as ImmutableMap } from "immutable"
import { range } from "lodash"
import { toFormattedString } from "lib/format"
import { dataFrameGet, dataFrameGetDimensions } from "lib/dataFrameProto"
import withFullScreenWrapper from "hocs/withFullScreenWrapper"
import "./Table.scss"
import { range } from "lodash"

type DataFrame = ImmutableMap<string, any>

Expand Down
7 changes: 3 additions & 4 deletions frontend/src/components/widgets/Button/Button.test.tsx
Expand Up @@ -87,10 +87,9 @@ describe("Button widget", () => {

wrappedUIButton.simulate("click")

expect(props.widgetMgr.setTriggerValue).toHaveBeenCalledWith(
props.element.get("id"),
{ fromUi: true }
)
expect(
props.widgetMgr.setTriggerValue
).toHaveBeenCalledWith(props.element.get("id"), { fromUi: true })
})

it("disable prop", () => {
Expand Down
12 changes: 6 additions & 6 deletions frontend/src/components/widgets/Checkbox/Checkbox.test.tsx
Expand Up @@ -48,7 +48,9 @@ describe("Checkbox widget", () => {
})

it("should set widget value on did mount", () => {
expect(props.widgetMgr.setBoolValue).toHaveBeenCalledWith(
expect(
props.widgetMgr.setBoolValue
).toHaveBeenCalledWith(
props.element.get("id"),
props.element.get("default"),
{ fromUi: false }
Expand Down Expand Up @@ -94,11 +96,9 @@ describe("Checkbox widget", () => {
},
} as EventTarget)

expect(props.widgetMgr.setBoolValue).toHaveBeenCalledWith(
props.element.get("id"),
true,
{ fromUi: true }
)
expect(
props.widgetMgr.setBoolValue
).toHaveBeenCalledWith(props.element.get("id"), true, { fromUi: true })
expect(wrapper.state("value")).toBeTruthy()
})
})
Expand Up @@ -56,7 +56,9 @@ describe("ColorPicker widget", () => {
})

it("should set widget value on did mount", () => {
expect(props.widgetMgr.setStringValue).toHaveBeenCalledWith(
expect(
props.widgetMgr.setStringValue
).toHaveBeenCalledWith(
props.element.get("id"),
props.element.get("default"),
{ fromUi: false }
Expand Down
8 changes: 6 additions & 2 deletions frontend/src/components/widgets/DateInput/DateInput.test.tsx
Expand Up @@ -54,7 +54,9 @@ describe("DateInput widget", () => {
})

it("should set widget value on did mount", () => {
expect(props.widgetMgr.setStringArrayValue).toHaveBeenCalledWith(
expect(
props.widgetMgr.setStringArrayValue
).toHaveBeenCalledWith(
props.element.get("id"),
props.element.get("default").toJS(),
{ fromUi: false }
Expand Down Expand Up @@ -101,7 +103,9 @@ describe("DateInput widget", () => {
expect(props.widgetMgr.setStringArrayValue).toHaveBeenCalledWith(
props.element.get("id"),
["2020/02/06"],
{ fromUi: true }
{
fromUi: true,
}
)
})

Expand Down
Expand Up @@ -50,7 +50,9 @@ describe("Multiselect widget", () => {
})

it("should set widget value on did mount", () => {
expect(props.widgetMgr.setIntArrayValue).toHaveBeenCalledWith(
expect(
props.widgetMgr.setIntArrayValue
).toHaveBeenCalledWith(
props.element.get("id"),
props.element.get("default").toJS(),
{ fromUi: false }
Expand Down