@modern-js/plugin-state 1.2.7 → 1.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @modern-js/plugin-state
2
2
 
3
+ ## 1.2.10
4
+
5
+ ### Patch Changes
6
+
7
+ - a1198d509: feat: bump babel 7.18.0
8
+
9
+ ## 1.2.9
10
+
11
+ ### Patch Changes
12
+
13
+ - 37250cb8f: feat: supply `AppConfig` types
14
+
15
+ ## 1.2.8
16
+
17
+ ### Patch Changes
18
+
19
+ - f7cbc771: chore(plugin-state): bump @modern-js-reduck/plugin-devtools 1.0.3 to fix the deprecatetion warning
20
+
3
21
  ## 1.2.7
4
22
 
5
23
  ### Patch Changes
@@ -11,7 +11,7 @@ declare module '@modern-js/runtime-core' {
11
11
  storeState: any;
12
12
  }
13
13
  }
14
- declare type PluginProps = Parameters<typeof createStore>[0];
15
- declare const state: (config: PluginProps) => Plugin;
14
+ export declare type StateConfig = Parameters<typeof createStore>[0];
15
+ declare const state: (config: StateConfig) => Plugin;
16
16
  export default state;
17
17
  export * from '../plugins';
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.7",
14
+ "version": "1.2.10",
15
15
  "jsnext:source": "./src/runtime/index.tsx",
16
16
  "types": "./dist/types/runtime/index.d.ts",
17
17
  "main": "./dist/js/node/runtime/index.js",
@@ -56,9 +56,9 @@
56
56
  }
57
57
  },
58
58
  "dependencies": {
59
- "@babel/runtime": "^7",
59
+ "@babel/runtime": "^7.18.0",
60
60
  "@modern-js-reduck/plugin-auto-actions": "^1.0.2",
61
- "@modern-js-reduck/plugin-devtools": "^1.0.2",
61
+ "@modern-js-reduck/plugin-devtools": "^1.0.3",
62
62
  "@modern-js-reduck/plugin-effects": "^1.0.2",
63
63
  "@modern-js-reduck/plugin-immutable": "^1.0.1",
64
64
  "@modern-js-reduck/react": "^1.0.1",
@@ -68,10 +68,10 @@
68
68
  "redux-logger": "^3.0.6"
69
69
  },
70
70
  "devDependencies": {
71
- "@modern-js/core": "1.10.2",
72
- "@modern-js/plugin": "1.3.4",
73
- "@modern-js/runtime-core": "1.4.6",
74
- "@modern-js/utils": "1.7.3",
71
+ "@modern-js/core": "1.11.2",
72
+ "@modern-js/plugin": "1.3.6",
73
+ "@modern-js/runtime-core": "1.4.9",
74
+ "@modern-js/utils": "1.7.6",
75
75
  "@scripts/build": "0.0.0",
76
76
  "@scripts/jest-config": "0.0.0",
77
77
  "@types/hoist-non-react-statics": "^3.3.1",
@@ -109,7 +109,8 @@
109
109
  "files": [
110
110
  "src/**/*",
111
111
  "tsconfig.json",
112
- "package.json"
112
+ "package.json",
113
+ "tests/**/*"
113
114
  ],
114
115
  "output": []
115
116
  }