@modern-js/plugin-state 1.2.2 → 1.2.3

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,11 @@
1
1
  # @modern-js/plugin-state
2
2
 
3
+ ## 1.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - bebb39b6: chore: improve devDependencies and peerDependencies
8
+
3
9
  ## 1.2.2
4
10
 
5
11
  ### Patch Changes
@@ -4,7 +4,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
4
4
 
5
5
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
6
 
7
- // eslint-disable-next-line filenames/match-exported
8
7
  import { useContext } from 'react';
9
8
  import { RuntimeReactContext } from '@modern-js/runtime-core';
10
9
  import { createStore } from '@modern-js-reduck/store';
@@ -4,7 +4,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
4
4
 
5
5
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
6
 
7
- // eslint-disable-next-line filenames/match-exported
8
7
  import { useContext } from 'react';
9
8
  import { RuntimeReactContext } from '@modern-js/runtime-core';
10
9
  import { createStore } from '@modern-js-reduck/store';
package/jest.config.js CHANGED
@@ -2,7 +2,6 @@ const sharedConfig = require('@scripts/jest-config');
2
2
 
3
3
  /** @type {import('@jest/types').Config.InitialOptions} */
4
4
  module.exports = {
5
- // eslint-disable-next-line node/no-unsupported-features/es-syntax
6
5
  ...sharedConfig,
7
6
  rootDir: __dirname,
8
7
  };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.2",
14
+ "version": "1.2.3",
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",
@@ -68,10 +68,10 @@
68
68
  "hoist-non-react-statics": "^3.3.2"
69
69
  },
70
70
  "devDependencies": {
71
- "@modern-js/core": "^1.6.0",
71
+ "@modern-js/core": "1.6.1",
72
72
  "@modern-js/plugin": "^1.3.2",
73
- "@modern-js/runtime-core": "^1.4.0",
74
- "@modern-js/utils": "^1.3.6",
73
+ "@modern-js/runtime-core": "1.4.0",
74
+ "@modern-js/utils": "^1.3.7",
75
75
  "@types/hoist-non-react-statics": "^3.3.1",
76
76
  "@types/jest": "^26",
77
77
  "@types/node": "^14",