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

bottlejs

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bottlejs - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

4

dist/bottle.js
;(function(undefined) {
'use strict';
/**
* BottleJS v0.5.0 - 2014-10-12
* BottleJS v0.6.0 - 2014-10-19
* A powerful, extensible dependency injection micro container

@@ -396,3 +396,3 @@ *

this.id = id++;
this.container = {};
this.container = { $register : register.bind(this) };
};

@@ -399,0 +399,0 @@

{
"name": "bottlejs",
"version": "0.5.0",
"version": "0.6.0",
"description": "A powerful, extensible dependency injection micro container",

@@ -5,0 +5,0 @@ "main": "dist/bottle.js",

@@ -252,4 +252,5 @@

#### register(Obj)
#### container.$register(Obj)
Used to register a service, factory, provider, or value based on properties of the Obj.
Used to register a service, factory, provider, or value based on properties of the Obj. `bottle.container.$register` is an alias of `bottle.register`; this allows factories and providers to register multiple services on the container without needing access to the bottle instance itself.

@@ -256,0 +257,0 @@ Param | Type | Details

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