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

dcl

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dcl - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

2

dcl.js

@@ -54,3 +54,3 @@ /* UMD.define */ (typeof define=="function"&&define||function(d,f,m){m={module:module,require:require};module.exports=f.apply(null,d.map(function(n){return m[n]||require(n)}))})

var value = connectivity.get(base);
++value.counter;
index + 1 != array.length && ++value.counter;
if (index) {

@@ -57,0 +57,0 @@ value.links.push(array[index - 1]);

@@ -54,3 +54,3 @@ (function(_,f){window.dcl=f();})

var value = connectivity.get(base);
++value.counter;
index + 1 != array.length && ++value.counter;
if (index) {

@@ -57,0 +57,0 @@ value.links.push(array[index - 1]);

@@ -54,3 +54,3 @@ export default (function(_,f){return f();})

var value = connectivity.get(base);
++value.counter;
index + 1 != array.length && ++value.counter;
if (index) {

@@ -57,0 +57,0 @@ value.links.push(array[index - 1]);

{
"name": "dcl",
"version": "2.0.6",
"version": "2.0.7",
"description": "Elegant minimalistic implementation of OOP with mixins + AOP.",

@@ -5,0 +5,0 @@ "author": "Eugene Lazutkin <eugene.lazutkin@gmail.com> (http://lazutkin.com/)",

@@ -255,2 +255,3 @@ # `dcl`

- 2.0.7 &mdash; *A bugfix. Thx [Bill Keese](https://github.com/wkeese)!*
- 2.0.6 &mdash; *Bugfixes. Thx [Bill Keese](https://github.com/wkeese)!*

@@ -257,0 +258,0 @@ - 2.0.5 &mdash; *Regenerated ES6 distro.*

@@ -194,2 +194,17 @@ /* UMD.define */ (typeof define=="function"&&define||function(d,f,m){m={module:module,require:require};module.exports=f.apply(null,d.map(function(n){return m[n]||require(n)}))})

}
},
function test_four_classes (t) {
var A = dcl(null, {declaredClass: 'A'});
var B = dcl(null, {declaredClass: 'B'});
var C = dcl(A, {declaredClass: 'C'});
var D = dcl([B, C], {declaredClass: 'D'});
eval(t.TEST('getNames(A) === "A"'));
eval(t.TEST('getNames(B) === "B"'));
eval(t.TEST('getNames(C) === "A,C"'));
eval(t.TEST('getNames(D) === "B,A,C,D"'));
var E = dcl([D, A], {declaredClass: 'E'});
eval(t.TEST('getNames(E) === "B,A,C,D,E"'));
}

@@ -196,0 +211,0 @@ ]);

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