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

state-tree

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

state-tree - npm Package Compare versions

Comparing version 0.1.18 to 0.2.1

index.js

23

package.json
{
"name": "state-tree",
"version": "0.1.18",
"version": "0.2.1",
"description": "A state tree that handles reference updates and lets you flush a description of changes",
"main": "src/index.js",
"main": "index.js",
"directories": {

@@ -10,7 +10,10 @@ "test": "tests"

"scripts": {
"test": "nodeunit tests"
"pretest": "npm run build",
"test": "nodeunit tests",
"build": "tsc",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/christianalfoni/state-tree.git"
"url": "git+https://github.com/cerebral/state-tree.git"
},

@@ -21,11 +24,15 @@ "keywords": [

],
"author": "Christian Alfoni",
"author": "Christian Alfoni <christianalfoni@gmail.com>",
"contributors": [
"Aleksey Guryanov <gurianov@gmail.com>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/christianalfoni/state-tree/issues"
"url": "https://github.com/cerebral/state-tree/issues"
},
"homepage": "https://github.com/christianalfoni/state-tree#readme",
"homepage": "https://github.com/cerebral/state-tree#readme",
"devDependencies": {
"nodeunit": "^0.9.1"
"nodeunit": "^0.9.1",
"typescript": "^1.8.10"
}
}

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -3,0 +3,0 @@ function log(obj) {

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -3,0 +3,0 @@ function log(obj) {

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -3,0 +3,0 @@ function log(obj) {

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -3,0 +3,0 @@ function log(obj) {

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -45,4 +45,4 @@ function log(obj) {

test.deepEqual(lib.get('bar')['.referencePaths'], [['bar'], ['bar2']]);
test.deepEqual(lib.get('foo2')['.referencePaths'], [['foo'], ['foo2']]);
test.deepEqual(lib.get('bar2')['.referencePaths'], [['bar'], ['bar2']]);
test.equal(lib.get('foo'), lib.get('foo2'));
test.equal(lib.get('bar'), lib.get('bar2'));
test.done();

@@ -53,3 +53,2 @@ };

var obj = {foo: 'bar'};
var array = [];
var lib = Lib({

@@ -56,0 +55,0 @@ list: [{

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -3,0 +3,0 @@ function log(obj) {

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -3,0 +3,0 @@ function log(obj) {

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -3,0 +3,0 @@ function log(obj) {

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -48,3 +48,3 @@ function log(obj) {

exports['should show change on nested set'] = function (test) {
exports['should show change on nested array set'] = function (test) {
var obj = { foo: 'bar' };

@@ -51,0 +51,0 @@ var lib = Lib({

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -3,0 +3,0 @@ function log(obj) {

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -3,0 +3,0 @@ function log(obj) {

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -3,0 +3,0 @@ function log(obj) {

@@ -1,2 +0,2 @@

var Lib = require('../src');
var Lib = require('../');

@@ -3,0 +3,0 @@ function log(obj) {

Sorry, the diff of this file is not supported yet

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