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-2 to 0.3.0-beta-3

8

dist/container.js

@@ -76,14 +76,12 @@ // Generated by CoffeeScript 1.8.0

Container.prototype._registeredAt = function(name) {
var i, p, parentIndex, _i, _len, _ref;
var p, parentIndex, _i, _len, _ref;
if (this._registrations[name] != null) {
return 'local';
} else {
i = 0;
_ref = this._parents;
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
p = _ref[_i];
if (p._registeredAt(name) === 'local') {
parentIndex = i;
if (p._registeredAt(name) != null) {
parentIndex = _i;
}
i++;
}

@@ -90,0 +88,0 @@ return parentIndex;

{
"name": "amend",
"version": "0.3.0-beta-2",
"version": "0.3.0-beta-3",
"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