🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

amend

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amend - npm Package Compare versions

Comparing version

to
0.3.0-beta-11

24

dist/annotate.js
// Generated by CoffeeScript 1.9.3
module.exports = function(container) {
var annotateContainer;
annotateContainer = function(container) {
var modules, noValues;
if (container == null) {
return {};
}
modules = container.getRegistrations();
modules = container._registrations;
noValues = function(i) {

@@ -16,1 +15,16 @@ return modules[i].type !== 'value';

};
module.exports = function(container) {
var annotations;
if (container == null) {
return {};
}
annotations = container._parents.map(annotateContainer);
annotations.push(annotateContainer(container));
return annotations.reduce(function(acc, item) {
Object.keys(item).forEach(function(key) {
return acc[key] = item[key];
});
return acc;
}, {});
};
{
"name": "amend",
"version": "0.3.0-beta-10",
"version": "0.3.0-beta-11",
"description": "Dependency injection module and IoC container.",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet