New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

amend

Package Overview
Dependencies
Maintainers
1
Versions
59
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 0.3.0-beta-10 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

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