mobx-react 10.0.1 → 10.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/package.json +8 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # mobx-react
2
2
 
3
+ ## 10.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1442c8bbb04c8aa8073acd6aeb8b7ecb001b44a8`](https://github.com/mobxjs/mobx/commit/1442c8bbb04c8aa8073acd6aeb8b7ecb001b44a8) [#4754](https://github.com/mobxjs/mobx/pull/4754) Thanks [@jzhan-canva](https://github.com/jzhan-canva)! - Remove `"type": "commonjs"` from the package manifests. The `react-native` and `module` entries point at the ESM `dist/*.esm.js` builds, and the field made bundlers that honour it, such as webpack, Rspack and Re.Pack, parse those files as CommonJS and fail on their `import`/`export` statements.
8
+
9
+ - Updated dependencies [[`1442c8bbb04c8aa8073acd6aeb8b7ecb001b44a8`](https://github.com/mobxjs/mobx/commit/1442c8bbb04c8aa8073acd6aeb8b7ecb001b44a8)]:
10
+ - mobx-react-lite@5.1.2
11
+
12
+ ## 10.0.2
13
+
14
+ ### Patch Changes
15
+
16
+ - [`6f002b8e543ca39d3ee23681e28848d7f1724fae`](https://github.com/mobxjs/mobx/commit/6f002b8e543ca39d3ee23681e28848d7f1724fae) [#4696](https://github.com/mobxjs/mobx/pull/4696) Thanks [@gesposito](https://github.com/gesposito)! - perf: add a `node` export condition that routes Node and Bun to the existing `dist/index.js` entry, which picks the prebaked development or production CJS build once at require time. `import`ing mobx in Node no longer executes the env-agnostic `dist/mobx.mjs` with per-call `NODE_ENV` checks, and mixing `import` and `require` in one Node app now yields a single mobx instance.
17
+
18
+ - Updated dependencies [[`6f002b8e543ca39d3ee23681e28848d7f1724fae`](https://github.com/mobxjs/mobx/commit/6f002b8e543ca39d3ee23681e28848d7f1724fae)]:
19
+ - mobx-react-lite@5.0.3
20
+
3
21
  ## 10.0.1
4
22
 
5
23
  ### Patch Changes
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "mobx-react",
3
- "version": "10.0.1",
3
+ "version": "10.0.3",
4
4
  "description": "React bindings for MobX. Create fully reactive components.",
5
5
  "source": "src/index.ts",
6
- "type": "commonjs",
7
6
  "main": "dist/index.js",
8
7
  "umd:main": "dist/mobxreact.umd.production.min.js",
9
8
  "unpkg": "dist/mobxreact.umd.production.min.js",
@@ -20,6 +19,10 @@
20
19
  "types": "./dist/index.d.ts",
21
20
  "default": "./dist/mobxreact.esm.js"
22
21
  },
22
+ "node": {
23
+ "types": "./dist/index.d.ts",
24
+ "default": "./dist/index.js"
25
+ },
23
26
  "import": {
24
27
  "types": "./dist/index.d.ts",
25
28
  "default": "./dist/mobxreact.mjs"
@@ -55,15 +58,15 @@
55
58
  },
56
59
  "homepage": "https://mobx.js.org",
57
60
  "dependencies": {
58
- "mobx-react-lite": "^5.0.2"
61
+ "mobx-react-lite": "^5.1.2"
59
62
  },
60
63
  "peerDependencies": {
61
64
  "mobx": "^7.0.0",
62
65
  "react": "^18 || ^19"
63
66
  },
64
67
  "devDependencies": {
65
- "mobx": "^7.0.2",
66
- "mobx-react-lite": "^5.0.2"
68
+ "mobx": "^7.1.2",
69
+ "mobx-react-lite": "^5.1.2"
67
70
  },
68
71
  "keywords": [
69
72
  "mobx",