can-construct
Advanced tools
Comparing version 3.5.6 to 3.5.7
@@ -222,2 +222,5 @@ "use strict"; | ||
constructorExtends: true, | ||
// This is a hook for adding legacy behaviors | ||
_created: function(){}, | ||
/** | ||
@@ -604,3 +607,3 @@ * @function can-construct.newInstance newInstance | ||
klass = shortName; | ||
shortName = null; | ||
name = shortName = null; | ||
} | ||
@@ -711,2 +714,6 @@ if (!proto) { | ||
defineNonEnumerable(Constructor.prototype, "constructor", Constructor); | ||
// Global callback for legacy behaviors | ||
Construct._created(name, Constructor); | ||
// Call the class `setup` and `init` | ||
@@ -713,0 +720,0 @@ var t = [_super_class].concat(Array.prototype.slice.call(arguments)), |
{ | ||
"name": "can-construct", | ||
"version": "3.5.6", | ||
"version": "3.5.7", | ||
"description": "easy constructor functions", | ||
@@ -5,0 +5,0 @@ "homepage": "http://canjs.com", |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
48985
1195
4