Skip to content

Commit

Permalink
Release 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Jul 25, 2017
1 parent 14bbbcc commit ce2b831
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

2.3.1 / 2017-07-25
==================

* fix: skip regExp & Function property (#77)

2.3.0 / 2017-07-25
==================

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hessian.js",
"version": "2.3.0",
"version": "2.3.1",
"description": "Hessian Serialization written by pure JavaScript, support all kind of types in Java.",
"main": "index.js",
"files": [
Expand Down
6 changes: 3 additions & 3 deletions test/object.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ describe('object.test.js', function () {
obj.set(key, 'hello');
var buf = hessian.encode(obj);
var rs = hessian.decode(buf);
rs.should.eql({ 'KEY': 'hello' });
assert.deepEqual(rs, { 'KEY': 'hello' });
});

it('use obj when name property missing', function() {
Expand All @@ -750,7 +750,7 @@ describe('object.test.js', function () {
obj.set(key, 'hello');
var buf = hessian.encode(obj);
var rs = hessian.decode(buf);
rs.should.eql({ '[object Object]': 'hello' });
assert.deepEqual(rs, { '[object Object]': 'hello' });
});

it('enum should use name v2', function() {
Expand All @@ -764,7 +764,7 @@ describe('object.test.js', function () {
obj.set(key, 'hello');
var buf = hessian.encode(obj, '2.0');
var rs = hessian.decode(buf, '2.0');
rs.should.eql({ 'KEY': 'hello' });
assert.deepEqual(rs, { 'KEY': 'hello' });
});

});
Expand Down

0 comments on commit ce2b831

Please sign in to comment.