WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 44b6413

Browse files
Version release (#2591)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent d0e6778 commit 44b6413

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.changeset/two-parents-crash.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/mobx/CHANGELOG.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# mobx
22

3+
## 6.0.3
4+
5+
### Patch Changes
6+
7+
- [`d0e6778d`](https://github.com/mobxjs/mobx/commit/d0e6778de73f6dfad61283c04103049732b2aea2) - Create ESM bundles with NODE_ENV correctly replaced so it can be used in browser (#2564)
8+
39
## 6.0.2
410

511
### Patch Changes
@@ -979,7 +985,7 @@ A deprecation message will now be printed if creating computed properties while
979985

980986
```javascript
981987
const x = observable({
982-
computedProp: function () {
988+
computedProp: function() {
983989
return someComputation
984990
}
985991
})
@@ -1004,7 +1010,7 @@ or alternatively:
10041010

10051011
```javascript
10061012
observable({
1007-
computedProp: computed(function () {
1013+
computedProp: computed(function() {
10081014
return someComputation
10091015
})
10101016
})
@@ -1022,7 +1028,7 @@ N.B. If you want to introduce actions on an observable that modify its state, us
10221028
```javascript
10231029
observable({
10241030
counter: 0,
1025-
increment: action(function () {
1031+
increment: action(function() {
10261032
this.counter++
10271033
})
10281034
})
@@ -1148,10 +1154,10 @@ function Square() {
11481154
extendObservable(this, {
11491155
length: 2,
11501156
squared: computed(
1151-
function () {
1157+
function() {
11521158
return this.squared * this.squared
11531159
},
1154-
function (surfaceSize) {
1160+
function(surfaceSize) {
11551161
this.length = Math.sqrt(surfaceSize)
11561162
}
11571163
)

packages/mobx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mobx",
3-
"version": "6.0.2",
3+
"version": "6.0.3",
44
"description": "Simple, scalable state management.",
55
"main": "dist/index.js",
66
"module": "dist/mobx.esm.js",

0 commit comments

Comments
 (0)