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

facet

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

facet - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

5

History.md
0.2.0 / 2012-10-13
==================
* support for initless objects
0.1.0 / 2012-10-04

@@ -3,0 +8,0 @@ ==================

8

lib/facet.js

@@ -58,8 +58,9 @@ /*!

proto.set = function (key, value) {
var settings = this.settings || (this.settings = {});
if (1 === arguments.length) {
for (var name in key) {
this.settings[name] = key[name];
settings[name] = key[name];
}
} else {
this.settings[key] = value;
settings[key] = value;
}

@@ -81,3 +82,4 @@

proto.get = function (key) {
return this.settings[key];
var settings = this.settings || (this.settings = {});
return settings[key];
};

@@ -84,0 +86,0 @@

{
"name": "facet"
, "version": "0.1.0"
, "version": "0.2.0"
, "description": "Configuration mixin for javascript constructors."

@@ -5,0 +5,0 @@ , "author": "Jake Luer <jake@alogicalpardox.com> (http://alogicalparadox.com)"

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