w: upgrade deps

This commit is contained in:
undefined committed 2022-05-12 00:09:52 +08:00
1 parent 6567c739b6
commit 67ec4cea0c
26 files changed
+120 -149

No files matched your search

+2 -3
View File
@@ -2,7 +2,7 @@ import { Action, AnyAction, Reducer } from 'redux';
export default async function loadReactRedux<S, A extends Action = AnyAction>(storeReducer: Reducer<S, A>) {
const React = await import('react');
const { render, unmountComponentAtNode } = await import('react-dom');
const { createRoot } = await import('react-dom/client');
const { Provider } = await import('react-redux');
const { createStore, applyMiddleware } = await import('redux');
const { default: reduxThunk } = await import('redux-thunk');
@@ -24,8 +24,7 @@ export default async function loadReactRedux<S, A extends Action = AnyAction>(st
return {
React,
render,
unmountComponentAtNode,
createRoot,
Provider,
store,
};
-8
View File
@@ -1,8 +0,0 @@
// eslint-disable-next-line import/no-unresolved
import yaml, { Schema } from 'real-js-yaml';
Schema.create = (arg1, arg2) => new Schema(arg1, arg2);
// eslint-disable-next-line import/no-unresolved
export * from 'real-js-yaml';
export default yaml;