@zcomponent/core 1.8.0-beta → 1.8.1-beta

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/lib/observable.js CHANGED
@@ -113,7 +113,7 @@ export class Observable extends Emitter {
113
113
  this._emitValue();
114
114
  return;
115
115
  }
116
- this._value = this._wrap(v);
116
+ this._value = this._wrap(Array.isArray(v) ? [...v] : v);
117
117
  this._emitValue();
118
118
  }
119
119
  addListener(fn, priority = 0, callImmediately = true) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zcomponent/core",
3
- "version": "1.8.0-beta",
3
+ "version": "1.8.1-beta",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",