Skip to content

Commit

Permalink
Update immer to ^9.0.1 (bp #1027) (#1039)
Browse files Browse the repository at this point in the history
* Update immer to ^9.0.1 (#1027)

(cherry picked from commit 21cdd50)

# Conflicts:
#	common/config/rush/pnpm-lock.yaml
#	full-stack-tests/presentation/package.json
#	presentation/components/package.json
#	ui/components/package.json
#	ui/framework/package.json
#	ui/ninezone/package.json

* Resolve merge conflicts

Co-authored-by: Robert Lukasonok <70327485+roluk@users.noreply.github.com>
Co-authored-by: Caleb Shafer <31107829+calebmshafer@users.noreply.github.com>
  • Loading branch information
3 people committed Mar 26, 2021
1 parent 3f224a3 commit a67e616
Show file tree
Hide file tree
Showing 12 changed files with 85 additions and 37 deletions.
10 changes: 5 additions & 5 deletions common/api/summary/ui-framework.exports.csv
Expand Up @@ -186,7 +186,7 @@ public;ElementTooltipChangedEventArgs
alpha;EmphasizeElementsChangedArgs
beta;ExpandableSection
beta;ExpandableSectionProps
internal;expandWidget:
internal;expandWidget: (base:
beta;ExtensibleToolbarProps
beta;featureOverridesActiveStateFunc(state: Readonly
alpha;FocusToolSettings
Expand Down Expand Up @@ -457,19 +457,19 @@ beta;SessionStateActionsProps
beta;SessionStateActionsUnion = ActionsUnion
beta;sessionStateMapDispatchToProps:
beta;SessionStateReducer(state: SessionState | undefined, action: SessionStateActionsUnion): DeepReadonly
internal;setPanelSize:
internal;setPanelSize: (base:
beta;SettingsModalFrontstage
internal;settingsStatusToUiSettingsStatus(status: SettingsStatus): UiSettingsStatus
internal;setWidgetLabel:
internal;setWidgetState:
internal;setWidgetLabel: (base:
internal;setWidgetState: (base:
alpha;SheetCard
alpha;SheetCardProps
alpha;SheetData
alpha;SheetNavigationAid
alpha;SheetNavigationAidControl
alpha;SheetNavigationProps
alpha;SheetsModalFrontstage
internal;showWidget:
internal;showWidget: (base:
public;SignIn
public;SignInProps
public;SignOutModalFrontstage
Expand Down
20 changes: 10 additions & 10 deletions common/api/ui-framework.api.md
Expand Up @@ -1869,7 +1869,7 @@ export interface ExpandableSectionProps extends CommonProps {
}

// @internal (undocumented)
export const expandWidget: <Base extends {
export const expandWidget: (base: {
readonly draggedTab: {
readonly tabId: string;
readonly position: {
Expand Down Expand Up @@ -1982,7 +1982,7 @@ export const expandWidget: <Base extends {
readonly width: number;
readonly height: number;
};
}>(base: Base, id: string) => Base;
}, id: string) => import("immer/dist/internal").WritableDraft<NineZoneState>;

// @beta
export interface ExtensibleToolbarProps {
Expand Down Expand Up @@ -4656,7 +4656,7 @@ export const sessionStateMapDispatchToProps: {
export function SessionStateReducer(state: SessionState | undefined, action: SessionStateActionsUnion): DeepReadonly<SessionState>;

// @internal (undocumented)
export const setPanelSize: <Base extends {
export const setPanelSize: (base: {
readonly draggedTab: {
readonly tabId: string;
readonly position: {
Expand Down Expand Up @@ -4769,7 +4769,7 @@ export const setPanelSize: <Base extends {
readonly width: number;
readonly height: number;
};
}>(base: Base, side: PanelSide, size: number | undefined) => Base;
}, side: PanelSide, size: number | undefined) => import("immer/dist/internal").WritableDraft<NineZoneState>;

// @beta
export class SettingsModalFrontstage implements ModalFrontstageInfo {
Expand All @@ -4794,7 +4794,7 @@ export class SettingsModalFrontstage implements ModalFrontstageInfo {
export function settingsStatusToUiSettingsStatus(status: SettingsStatus): UiSettingsStatus;

// @internal (undocumented)
export const setWidgetLabel: <Base extends {
export const setWidgetLabel: (base: {
readonly draggedTab: {
readonly tabId: string;
readonly position: {
Expand Down Expand Up @@ -4907,10 +4907,10 @@ export const setWidgetLabel: <Base extends {
readonly width: number;
readonly height: number;
};
}>(base: Base, id: string, label: string) => Base;
}, id: string, label: string) => import("immer/dist/internal").WritableDraft<NineZoneState>;

// @internal (undocumented)
export const setWidgetState: <Base extends {
export const setWidgetState: (base: {
readonly draggedTab: {
readonly tabId: string;
readonly position: {
Expand Down Expand Up @@ -5023,7 +5023,7 @@ export const setWidgetState: <Base extends {
readonly width: number;
readonly height: number;
};
}>(base: Base, widgetDef: WidgetDef, state: WidgetState_2) => Base;
}, widgetDef: WidgetDef, state: WidgetState_2) => import("immer/dist/internal").WritableDraft<NineZoneState>;

// @alpha
export class SheetCard extends React.Component<SheetCardProps, SheetCardState> {
Expand Down Expand Up @@ -5090,7 +5090,7 @@ export class SheetsModalFrontstage implements ModalFrontstageInfo {
}

// @internal (undocumented)
export const showWidget: <Base extends {
export const showWidget: (base: {
readonly draggedTab: {
readonly tabId: string;
readonly position: {
Expand Down Expand Up @@ -5203,7 +5203,7 @@ export const showWidget: <Base extends {
readonly width: number;
readonly height: number;
};
}>(base: Base, id: string) => Base;
}, id: string) => import("immer/dist/internal").WritableDraft<NineZoneState>;

// @public
export class SignIn extends React.PureComponent<SignInProps> {
Expand Down
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@bentley/presentation-components",
"comment": "",
"type": "none"
}
],
"packageName": "@bentley/presentation-components",
"email": "70327485+roluk@users.noreply.github.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@bentley/ui-components",
"comment": "",
"type": "none"
}
],
"packageName": "@bentley/ui-components",
"email": "70327485+roluk@users.noreply.github.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@bentley/ui-framework",
"comment": "",
"type": "none"
}
],
"packageName": "@bentley/ui-framework",
"email": "70327485+roluk@users.noreply.github.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@bentley/ui-ninezone",
"comment": "",
"type": "none"
}
],
"packageName": "@bentley/ui-ninezone",
"email": "70327485+roluk@users.noreply.github.com"
}
28 changes: 16 additions & 12 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions full-stack-tests/presentation/package.json
Expand Up @@ -59,7 +59,7 @@
"cpx": "^1.5.0",
"deep-equal": "^1",
"faker": "^4.1.0",
"immer": "^8.0.1",
"immer": "^9.0.1",
"mocha": "^5.2.0",
"react": "^16.8.0",
"react-dom": "^16.8.0",
Expand Down Expand Up @@ -92,4 +92,4 @@
],
"extends": "plugin:@bentley/imodeljs-recommended"
}
}
}
4 changes: 2 additions & 2 deletions presentation/components/package.json
Expand Up @@ -98,7 +98,7 @@
"eslint": "^6.8.0",
"faker": "^4.1.0",
"ignore-styles": "^5.0.1",
"immer": "^8.0.1",
"immer": "^9.0.1",
"jsdom-global": "3.0.2",
"mocha": "^5.2.0",
"nyc": "^14.0.0",
Expand Down Expand Up @@ -135,4 +135,4 @@
],
"extends": "plugin:@bentley/ui"
}
}
}
4 changes: 2 additions & 2 deletions ui/components/package.json
Expand Up @@ -124,7 +124,7 @@
"callable-instance2": "1.0.0",
"classnames": "^2.2.5",
"eventemitter2": "^5.0.1",
"immer": "^8.0.1",
"immer": "^9.0.1",
"immutable": "^3.8.2",
"inspire-tree": "^5.0.1",
"linkify-it": "~2.2.0",
Expand Down Expand Up @@ -166,4 +166,4 @@
"plugin:@bentley/jsdoc"
]
}
}
}
4 changes: 2 additions & 2 deletions ui/framework/package.json
Expand Up @@ -142,7 +142,7 @@
"@bentley/icons-generic-webfont": "^1.0.15",
"@bentley/presentation-components": "2.14.0-dev.26",
"classnames": "^2.2.5",
"immer": "^8.0.1",
"immer": "^9.0.1",
"lodash": "^4.17.10",
"react-dnd": "^11.1.3",
"react-dnd-html5-backend": "^11.1.3",
Expand Down Expand Up @@ -174,4 +174,4 @@
"plugin:@bentley/jsdoc"
]
}
}
}
4 changes: 2 additions & 2 deletions ui/ninezone/package.json
Expand Up @@ -91,7 +91,7 @@
],
"dependencies": {
"classnames": "^2.2.5",
"immer": "^8.0.1",
"immer": "^9.0.1",
"uuid": "^7.0.3"
},
"nyc": {
Expand All @@ -118,4 +118,4 @@
"plugin:@bentley/jsdoc"
]
}
}
}

0 comments on commit a67e616

Please sign in to comment.