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

can-attribute-observable

Package Overview
Dependencies
Maintainers
9
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-attribute-observable - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

9

behaviors-test.js

@@ -70,3 +70,3 @@ var testHelpers = require("../test/helpers");

testIfRealDocument("select changes value", function(){
testIfRealDocument("select changes value", function(assert){
var html = "<select>" +

@@ -105,6 +105,7 @@ "<option value='red'>Red</option>" +

// in that it is not dispatching red.
QUnit.deepEqual(dispatchedValues,["red"], "dispatched the right events");
assert.deepEqual(dispatchedValues,["red"], "dispatched the right events");
});
testIfRealDocument("focused set at end of queues (#16)", 5, function(assert) {
testIfRealDocument("focused set at end of queues (#16)", function(assert) {
assert.expect(5);
var input = document.createElement("input");

@@ -137,3 +138,3 @@ var otherInput = document.createElement("input");

QUnit.deepEqual(eventValues,[true], "became focused once");
assert.deepEqual(eventValues,[true], "became focused once");
});

@@ -140,0 +141,0 @@

@@ -23,3 +23,3 @@ var canReflect = require("can-reflect");

// override the internal handler so it calls `QUnit.done` itself,
// override the internal handler so it calls `done` itself,
// if AttributeObservable does not teardown the handler correctly

@@ -26,0 +26,0 @@ // this test will fail with "Too many calls to the `assert.async` callback"

{
"name": "can-attribute-observable",
"version": "1.2.5",
"version": "1.2.6",
"description": "Create observables from HTML attributes.",

@@ -29,3 +29,3 @@ "main": "can-attribute-observable",

"steal": "^1.6.5",
"steal-qunit": "^1.0.1",
"steal-qunit": "^2.0.0",
"testee": "^0.9.1"

@@ -32,0 +32,0 @@ },

@@ -12,3 +12,3 @@ var globals = require("can-globals");

QUnit.module(name, {
setup: function() {
beforeEach: function() {

@@ -27,3 +27,3 @@ globals.setKeyValue("document", doc);

},
teardown: function(){
afterEach: function(assert){
if(doc !== document) {

@@ -33,3 +33,3 @@ doc.body.removeChild(this.fixture);

stop();
var done = assert.async();
helpers.afterMutation(function() {

@@ -46,3 +46,3 @@

start();
done();
});

@@ -49,0 +49,0 @@ }

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