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

comb

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comb - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

lib/plugins/MethodMissing.js

6

History.md

@@ -0,1 +1,7 @@

0.0.8 / 2012-02-9
===
* Added new MethodMissing plugin
* Bug fixes
* Changed inflections to underscore between word boundaries and numbers and vice versa with camelize.
0.0.7 / 2012-02-04

@@ -2,0 +8,0 @@ ==================

4

lib/base/inflections.js

@@ -13,4 +13,4 @@ /*

var UNDERSCORE = '_';
var UNDERSCORE_CONVERT_REGEXP1 = /([A-Z]+)([A-Z][a-z])/g;
var UNDERSCORE_CONVERT_REGEXP2 = /([a-z\d])([A-Z])/g;
var UNDERSCORE_CONVERT_REGEXP1 = /([A-Z]+)(\d+|[A-Z][a-z])/g;
var UNDERSCORE_CONVERT_REGEXP2 = /(\d+|[a-z])(\d+|[A-Z])/g;
var UNDERSCORE_CONVERT_REPLACE = '$1_$2';

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

@@ -87,5 +87,9 @@ var Proxy = require("node-proxy"), object = require("./object"), merge = object.merge, functions = require("./functions"), misc = require("./misc");

*/
comb.handlerProxy = function (obj, opts) {
comb.handlerProxy = function (obj, opts, proto) {
opts = opts || {};
return Proxy.create(merge(handlerMaker(obj), opts));
if (misc.isUndefined(proto)) {
return Proxy.create(merge(handlerMaker(obj), opts));
} else {
return Proxy.create(merge(handlerMaker(obj), opts), object.isHash(proto) ? proto : proto.prototype);
}
};

@@ -92,0 +96,0 @@

@@ -513,3 +513,3 @@ var base = require("./base/object");

if (typeof ret.init === "function") {
ret.init();
ret = ret.init() || ret;
}

@@ -556,3 +556,3 @@ return ret;

if (typeof ret.init === "function") {
ret.init();
ret = ret.init() || ret;
}

@@ -559,0 +559,0 @@ return ret;

@@ -5,3 +5,4 @@ var comb = exports;

Broadcaster : require("./Broadcaster"),
Middleware : require("./Middleware")
Middleware : require("./Middleware"),
MethodMissing : require("./MethodMissing")
};
{
"name": "comb",
"description": "A framework for node",
"version": "0.0.7",
"version": "0.0.8",
"keywords" : ["OO", "Object Oriented", "Collections", "Tree", "HashTable", "Pool", "Logging", "Promise", "Promises", "Proxy"],

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

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