Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

baobab

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baobab - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

TODO.md

2

bower.json
{
"name": "baobab",
"main": "build/baobab.min.js",
"version": "1.1.1",
"version": "1.1.2",
"homepage": "https://github.com/Yomguithereal/baobab",

@@ -6,0 +6,0 @@ "author": {

# Changelog
## v1.1.2
* Fixing problems concerning dynamic cursors.
* Fixing recursive facets (**@tschwecke**).
## v1.1.1

@@ -4,0 +9,0 @@

@@ -14,3 +14,3 @@ /**

Object.defineProperty(Baobab, 'version', {
value: '1.1.1'
value: '1.1.2'
});

@@ -17,0 +17,0 @@

{
"name": "baobab",
"version": "1.1.1",
"version": "1.1.2",
"description": "JavaScript persistent data tree with cursors.",

@@ -17,2 +17,3 @@ "main": "index.js",

"gulp-mocha": "^2.0.0",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.3",

@@ -19,0 +20,0 @@ "gulp-uglify": "^1.0.2",

@@ -505,3 +505,6 @@ [![Build Status](https://travis-ci.org/Yomguithereal/baobab.svg)](https://travis-ci.org/Yomguithereal/baobab)

listCursor.select(1).down().left().get();
listCursor.select(1).down().right().get();
>>> 4
listCursor.select(1).down().right().left().get();
>>> 3

@@ -508,0 +511,0 @@

@@ -76,3 +76,3 @@ /**

// Solving path if needed
if (self.complexPath)
if (self.complex)
self.solvedPath = helpers.solvePath(self.tree.data, self.path, self.tree);

@@ -126,3 +126,3 @@

if (this.complexPath)
if (this.complex)
this._lazyBind();

@@ -243,2 +243,6 @@ }

Cursor.prototype.get = function(path) {
if (!this.solvedPath)
return;
var skipEvent = false;

@@ -346,2 +350,5 @@

if (!this.solvedPath)
throw Error('baobab.Cursor.update: could not solve the cursor\'s dynamic path.');
this.tree.stack(helpers.pathObject(this.solvedPath, spec), skipMerge);

@@ -348,0 +355,0 @@ return this;

@@ -142,3 +142,3 @@ /**

var paths = Object.keys(facets).map(function(k) {
return cursorsPaths(facets[k].cursors);
return cursorsPaths(facets[k].cursors).concat(facetsPaths(facets[k].facets));
});

@@ -145,0 +145,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc