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

can-stache-bindings

Package Overview
Dependencies
Maintainers
6
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-stache-bindings - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

2

build.js
var stealTools = require("steal-tools");
stealTools.export({
system: {
steal: {
config: __dirname + "/package.json!npm"

@@ -6,0 +6,0 @@ },

{
"name": "can-stache-bindings",
"version": "3.0.6",
"version": "3.0.7",
"description": "Default binding syntaxes for can-stache",

@@ -31,5 +31,4 @@ "homepage": "http://canjs.com",

],
"system": {
"main": "can-stache-bindings",
"npmAlgorithm": "flat"
"steal": {
"main": "can-stache-bindings"
},

@@ -42,3 +41,3 @@ "dependencies": {

"can-types": "^1.0.1",
"can-util": "^3.1.1",
"can-util": "^3.2.2",
"can-view-callbacks": "^3.0.0",

@@ -51,3 +50,3 @@ "can-view-live": "^3.0.0",

"bit-docs": "0.0.7",
"can-define": "^1.0.1",
"can-define": "^1.0.13",
"can-list": "^3.0.1",

@@ -61,6 +60,6 @@ "can-map": "^3.0.3",

"jshint": "^2.9.1",
"steal": "^0.16.0",
"steal-qunit": "^0.1.1",
"steal-tools": "^0.16.0",
"testee": "^0.3.0"
"steal": "^1.2.9",
"steal-qunit": "^1.0.1",
"steal-tools": "^1.1.2",
"testee": "^0.3.1"
},

@@ -67,0 +66,0 @@ "bit-docs": {

@@ -70,9 +70,5 @@ require("./bindings-define-test");

stop();
setTimeout(function(){
types.DefaultMap = DefaultMap;
start();
DOCUMENT(DOC);
MUTATION_OBSERVER(MUT_OBS);
},1);
types.DefaultMap = DefaultMap;
DOCUMENT(DOC);
MUTATION_OBSERVER(MUT_OBS);
}

@@ -508,3 +504,4 @@ });

asyncTest("can-value select remove from DOM", function () {
test("can-value select remove from DOM", function () {
stop();
expect(1);

@@ -1270,14 +1267,25 @@

equal(input.value, "30", "input value set correctly");
stop();
setTimeout(function() {
start();
equal(input.value, "30", "input value set correctly");
map.attr("age", "31");
map.attr("age", "31");
equal(input.value, "31", "input value update correctly");
stop();
setTimeout(function() {
start();
equal(input.value, "31", "input value update correctly");
input.value = "32";
input.value = "32";
canEvent.trigger.call(input, "change");
canEvent.trigger.call(input, "change");
equal(map.attr("age"), "32", "updated from input");
stop();
setTimeout(function() {
start();
equal(map.attr("age"), "32", "updated from input");
}, 10);
}, 10);
}, 10);
});

@@ -1296,3 +1304,8 @@

data.attr('completed', 0);
equal(input.checked, false, 'checkbox value bound (via attr check)');
stop();
setTimeout(function() {
start();
equal(input.checked, false, 'checkbox value bound (via attr check)');
}, 10);
});

@@ -1522,8 +1535,20 @@

canEvent.trigger.call(input, 'change');
equal(input.checked, true, 'checkbox value bound (via check)');
equal(data.attr('completed'), true, 'checkbox value bound (via check)');
input.checked = false;
canEvent.trigger.call(input, 'change');
equal(input.checked, false, 'checkbox value bound (via uncheck)');
equal(data.attr('completed'), false, 'checkbox value bound (via uncheck)');
stop();
setTimeout(function() {
start();
equal(input.checked, true, 'checkbox value bound (via check)');
equal(data.attr('completed'), true, 'checkbox value bound (via check)');
input.checked = false;
canEvent.trigger.call(input, 'change');
stop();
setTimeout(function() {
start();
equal(input.checked, false, 'checkbox value bound (via uncheck)');
equal(data.attr('completed'), false, 'checkbox value bound (via uncheck)');
}, 10);
}, 10);
});

@@ -1751,13 +1776,15 @@

setTimeout(function(){
start();
equal(input.value, "Meyer", "input value set correctly if key does not exist in map");
input.value = "Lueke";
canEvent.trigger.call(input, "change");
equal(map.attr("last"), "Lueke", "updated from input");
stop();
start();
},10);
setTimeout(function() {
start();
equal(map.attr("last"), "Lueke", "updated from input");
}, 50);
}, 50);

@@ -2158,3 +2185,7 @@ });

equal(logCalls, 1, "input rendered the right number of times");
stop();
setTimeout(function() {
start();
equal(logCalls, 1, "input rendered the right number of times");
}, 10);
});

@@ -2267,4 +2298,8 @@

equal(frag.firstChild.value, "1");
equal(map.attr("age"), 1);
stop();
setTimeout(function() {
start();
equal(frag.firstChild.value, "1");
equal(map.attr("age"), 1);
}, 10);

@@ -2271,0 +2306,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