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

cocktail

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cocktail - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

5

lib/Cocktail.js

@@ -184,3 +184,3 @@ /*

_getDefaultClassConstructor: function (subject) {
var ctor;
var ctor, parent;

@@ -190,4 +190,5 @@ if (this._isPropertyDefinedIn('constructor', subject)) {

} else if (this._isPropertyDefinedIn('@extends', subject)) {
parent = subject['@extends'];
ctor = function(){
this.callSuper('constructor', arguments);
parent.prototype.constructor.apply(this, arguments);
};

@@ -194,0 +195,0 @@ } else {

2

package.json
{
"name": "cocktail",
"description": "CocktailJS is a small library to explore traits, talents, inheritance and annotations concepts in nodejs - Shake your objects and classes with Cocktail!",
"version": "0.4.1",
"version": "0.4.2",
"homepage": "http://cocktailjs.github.io",

@@ -6,0 +6,0 @@ "author": {

@@ -111,2 +111,12 @@ # Cocktail JS

- 0.4.2 (current master)
- status: Alpha
- Fixed issue with constructor chain parameters.
- Test added for constructor chain parameters.
- 0.4.1 (current master)
- status: Alpha
- Fixed issue with constructor chain.
- Test added for single parameter class definition constructor chain.
- 0.4.0

@@ -113,0 +123,0 @@ - status: Alpha

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