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.2 to 0.5.3

2

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

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

@@ -27,1 +27,24 @@ var test = require("tap").test;

});
test("design.where(model, { groups: 'blah' })", function(t){
var attributes = [
{
groups: ["test1", "all"],
attributes: [
{ name: "verbose", type: Boolean },
{ name: "colour", type: String }
]
},
{
groups: ["test2", "all"],
attributes: [
{ name: "three", type: Boolean },
{ name: "four", type: Boolean }
]
}
];
var design = Design(attributes);
t.deepEqual(design.groups(), [ "test1", "all", "test2" ]);
t.end();
});
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