Socket
Socket
Sign inDemoInstall

can-construct

Package Overview
Dependencies
5
Maintainers
13
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.5.6 to 3.5.7

9

can-construct.js

@@ -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)),

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc