You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

can-construct

Package Overview
Dependencies
Maintainers
12
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-construct - npm Package Compare versions

Comparing version

to
3.5.4

11

can-construct.js

@@ -5,2 +5,6 @@ "use strict";

var namespace = require('can-namespace');
var canSymbol = require("can-symbol");
var inSetupSymbol = canSymbol.for("can.initializing");
//!steal-remove-start

@@ -296,2 +300,8 @@ if(process.env.NODE_ENV !== 'production') {

});
Object.defineProperty(inst, inSetupSymbol, {
configurable: true,
enumerable: false,
value: true,
writable: true
});
args = inst.setup.apply(inst, arguments);

@@ -302,2 +312,3 @@ if (args instanceof Construct.ReturnValue){

inst.__inSetup = false;
inst[inSetupSymbol] = false;
}

@@ -304,0 +315,0 @@ // Call `init` if there is an `init`

5

package.json
{
"name": "can-construct",
"version": "3.5.3",
"version": "3.5.4",
"description": "easy constructor functions",

@@ -40,3 +40,4 @@ "homepage": "http://canjs.com",

"can-reflect": "^1.16.1",
"can-string": "<2.0.0"
"can-string": "<2.0.0",
"can-symbol": "^1.6.4"
},

@@ -43,0 +44,0 @@ "devDependencies": {