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

nature

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nature - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

test/design.groups.js

6

lib/Design.js

@@ -43,3 +43,7 @@ var Model = require("./Model2"),

Design.prototype.groups = function(){
return w.unique(w.pluck(this._attributes, "groups"));
var groups = w.pluck(this._attributes, "groups");
var flattened = groups.reduce(function(prev, curr){
return prev.concat(curr);
}, []);
return w.unique(flattened);
};

@@ -46,0 +50,0 @@ Design.prototype.where = function(expression, model){

5

package.json
{
"name": "nature",
"version": "0.5.1",
"version": "0.5.2",
"description": "Classify the things in your world and how they interact.",

@@ -16,5 +16,4 @@ "main": "lib/nature.js",

"devDependencies": {
"tap": "^0.4.9",
"tape": "^2.13.1"
"tap": "^0.4.9"
}
}

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

var test = require("tape");
var test = require("tap").test;
var Design = require("../lib/Design");

@@ -3,0 +3,0 @@ var Model = require("../lib/Model2");

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

var test = require("tape");
var test = require("tap").test;
var Design = require("../lib/Design");

@@ -3,0 +3,0 @@ var Model = require("../lib/Model2");

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

var test = require("tape");
var test = require("tap").test;
var Design = require("../lib/Design");

@@ -3,0 +3,0 @@ var Model = require("../lib/Model2");

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

var test = require("tape");
var test = require("tap").test;
var Design = require("../lib/Design");

@@ -3,0 +3,0 @@ var Model = require("../lib/Model2");

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

var test = require("tape");
var test = require("tap").test;
var Design = require("../lib/Design");

@@ -3,0 +3,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