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 1.6.0 to 1.6.1

11

dist/bottle.js
;(function(undefined) {
'use strict';
/**
* BottleJS v1.6.0 - 2017-02-22
* BottleJS v1.6.1 - 2017-05-17
* A powerful dependency injection micro container

@@ -476,8 +476,9 @@ *

return factory.call(this, name, function GenericFactory() {
var ServiceCopy = Service;
if (deps) {
deps = deps.map(getNestedService, bottle.container);
deps.unshift(Service);
Service = Service.bind.apply(Service, deps);
var args = deps.map(getNestedService, bottle.container);
args.unshift(Service);
ServiceCopy = Service.bind.apply(Service, args);
}
return new Service();
return new ServiceCopy();
});

@@ -484,0 +485,0 @@ };

{
"name": "bottlejs",
"version": "1.6.0",
"version": "1.6.1",
"description": "A powerful dependency injection micro container",

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

@@ -46,3 +46,3 @@

```
Replace `VERSION` in the above URL with a valid BottleJS version, e.g. `https://cdnjs.cloudflare.com/ajax/libs/bottlejs/1.5.0/bottle.min.js`
Replace `VERSION` in the above URL with a valid BottleJS version, e.g. `https://cdnjs.cloudflare.com/ajax/libs/bottlejs/1.6.1/bottle.min.js`

@@ -133,3 +133,3 @@ ## Simple Example

if (waterNotSupported) {
Beer.pollyfillWater();
Beer.polyfillWater();
}

@@ -136,0 +136,0 @@

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