object-manage
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -463,3 +463,3 @@ 'use strict'; | ||
*/ | ||
Object.prototype.merge = ObjectManage.prototype.objectMerge | ||
ObjectManage.prototype.merge = ObjectManage.prototype.objectMerge | ||
@@ -466,0 +466,0 @@ /** |
@@ -6,3 +6,3 @@ { | ||
"bugs": "https://github.com/snailjs/object-manage/issues", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"author": "Bryan Tong <contact@nullivex.com>", | ||
@@ -9,0 +9,0 @@ "license": "MIT", |
@@ -405,2 +405,5 @@ object-manage [![Build Status](https://travis-ci.org/snailjs/object-manage.png?branch=master)](https://travis-ci.org/snailjs/object-manage) | ||
### 0.5.1 | ||
* Fixed small prototype issue with .merge being set to Object instead of ObjectManage | ||
### 0.5.0 | ||
@@ -407,0 +410,0 @@ * ObjectManage is now an event emitter that fires events for watching data see README for event types |
@@ -9,2 +9,9 @@ 'use strict'; | ||
describe('Prototype',function(){ | ||
it('should have a merge function',function(){ | ||
expect(ObjectManage.prototype.hasOwnProperty('merge')).to.equal(true) | ||
expect(ObjectManage.prototype.merge).to.be.a('function') | ||
}) | ||
}) | ||
describe('Construction',function(){ | ||
@@ -11,0 +18,0 @@ it('should accept data to the constructor',function(){ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
40543
887
453
0