Skip to content

Commit

Permalink
Bump 2.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yomguithereal committed Jan 26, 2021
1 parent 1dbe71c commit a115031
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v2.6.1

* Fixing prototype pollution issue ([@arjunshibu](https://github.com/arjunshibu)).

## v2.6.0

* Adding TypeScript declaration files.
Expand Down
6 changes: 3 additions & 3 deletions build/baobab.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Baobab
*
* Homepage: https://github.com/Yomguithereal/baobab
* Version: 2.6.0
* Version: 2.6.1
* Author: Yomguithereal (Guillaume Plique)
* License: MIT
*/
Expand Down Expand Up @@ -1108,7 +1108,7 @@ exports.dynamic = dynamic;
/**
* Version.
*/
Baobab.VERSION = '2.6.0';
Baobab.VERSION = '2.6.1';
var VERSION = Baobab.VERSION;
/**
* Exporting.
Expand Down Expand Up @@ -2364,7 +2364,7 @@ function merger(deep) {
t = objects[i];

for (k in t) {
if (deep && _type["default"].object(t[k]) && !(t[k] instanceof _monkey.Monkey)) {
if (deep && _type["default"].object(t[k]) && !(t[k] instanceof _monkey.Monkey) && k !== '__proto__' && k !== 'constructor' && k !== 'prototype') {
o[k] = merger(true, o[k] || {}, t[k]);
} else {
o[k] = t[k];
Expand Down
4 changes: 2 additions & 2 deletions build/baobab.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "baobab",
"version": "2.6.0",
"version": "2.6.1",
"description": "JavaScript persistent data tree with cursors.",
"main": "./dist/baobab.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/baobab.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ export {Cursor, MonkeyDefinition, Monkey, type, helpers};
/**
* Version.
*/
Baobab.VERSION = '2.6.0';
Baobab.VERSION = '2.6.1';
export const VERSION = Baobab.VERSION;

/**
Expand Down

0 comments on commit a115031

Please sign in to comment.