Socket
Socket
Sign inDemoInstall

cnd

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cnd - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

lib/BITSNPIECES.js

30

lib/main.js
// Generated by CoffeeScript 1.8.0
(function() {
var method_count, module, name, njs_util, route, routes, rpr, value, _i, _len, _ref;
/* parent module for CND */
njs_util = require('util');
(function() {
rpr = njs_util.inspect;
method_count = 0;
routes = ['./TRM', './BITSNPIECES', './TYPES'];
for (_i = 0, _len = routes.length; _i < _len; _i++) {
route = routes[_i];
_ref = module = require(route);
for (name in _ref) {
value = _ref[name];
if (this[name] != null) {
throw new Error("duplicate name " + (rpr(name)));
}
method_count += +1;
if ((Object.prototype.toString.call(value)) === '[object Function]') {
value = value.bind(module);
}
this[name] = value;
}
}
if (module.parent == null) {
console.log("acquired " + method_count + " names from " + routes.length + " sub-modules");
this.dir(this);
}
}).call(this);

9

package.json
{
"name": "cnd",
"version": "0.1.1",
"version": "0.1.2",
"description": "a grab-bag NodeJS package mainly for functionalities that used to live in coffeenode-trm, coffeenode-bitsnpieces, and coffeenode-types",

@@ -24,3 +24,8 @@ "main": "lib/main.js",

},
"homepage": "https://github.com/loveencounterflow/cnd"
"homepage": "https://github.com/loveencounterflow/cnd",
"dependencies": {
"equals": "^1.0.0",
"lodash": "^2.4.1",
"permute": "^1.0.0"
}
}

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