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

can-stache-bindings

Package Overview
Dependencies
Maintainers
10
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.3.0 to 3.4.0-pre.0

20

can-stache-bindings.js

@@ -21,3 +21,3 @@ // # can-stache-bindings.js

var compute = require('can-compute');
var observeReader = require('can-observation/reader/reader');
var observeReader = require('can-stache-key');
var Observation = require('can-observation');

@@ -85,2 +85,12 @@ var CID = require('can-cid');

function setPriority(observable, priority){
if(observable instanceof Observation) {
observable.compute._primaryDepth = priority;
} else if(observable.computeInstance) {
observable.computeInstance.setPrimaryDepth(priority);
} else if(observable.observation) {
observable.observation.compute._primaryDepth = priority;
}
}
var throwOnlyOneTypeOfBindingError = function(){

@@ -976,8 +986,8 @@ throw new Error("can-stache-bindings - you can not have contextual bindings ( {this}='value' ) and key bindings ( {prop}='value' ) on one element.");

if(bindingData.nodeList) {
if(parentObservable && parentObservable.computeInstance) {
parentObservable.computeInstance.setPrimaryDepth(bindingData.nodeList.nesting+1);
if(parentObservable) {
setPriority(parentObservable, bindingData.nodeList.nesting+1);
}
if(childObservable && childObservable.computeInstance) {
childObservable.computeInstance.setPrimaryDepth(bindingData.nodeList.nesting+1);
if(childObservable) {
setPriority(childObservable, bindingData.nodeList.nesting+1);
}

@@ -984,0 +994,0 @@ }

{
"name": "can-stache-bindings",
"version": "3.3.0",
"version": "3.4.0-pre.0",
"description": "Default binding syntaxes for can-stache",

@@ -35,23 +35,24 @@ "homepage": "http://canjs.com",

"can-cid": "^1.0.3",
"can-compute": "^3.1.0",
"can-compute": "^3.3.0-pre.1",
"can-event": "^3.5.0",
"can-event-dom-enter": "^1.0.0",
"can-event-dom-radiochange": "^1.0.0",
"can-observation": "^3.2.0",
"can-reflect": "^1.0.2",
"can-simple-map": "^3.2.0",
"can-stache": "^3.1.0",
"can-observation": "^3.3.0-pre.1",
"can-reflect": "^1.1.0-pre.3",
"can-simple-map": "^3.3.0-pre.2",
"can-stache": "^3.2.0-pre.0",
"can-symbol": "^1.0.0",
"can-types": "^1.1.0",
"can-util": "^3.9.0",
"can-view-callbacks": "^3.1.0",
"can-view-live": "^3.1.0",
"can-view-model": "^3.3.0",
"can-view-scope": "^3.2.0"
"can-view-callbacks": "^3.2.0-pre.0",
"can-view-live": "^3.2.0-pre.0",
"can-view-model": "^3.4.0-pre.0",
"can-view-scope": "^3.3.0-pre.3",
"can-stache-key": "^0.0.2"
},
"devDependencies": {
"bit-docs": "0.0.7",
"can-define": "^1.2.0",
"can-list": "^3.1.0",
"can-map": "^3.1.0",
"can-define": "^1.3.0-pre.1",
"can-list": "^3.2.0-pre.1",
"can-map": "^3.3.0-pre.1",
"can-vdom": "^3.1.0",

@@ -64,19 +65,3 @@ "can-view-nodelist": "^3.1.0",

"testee": "^0.6.1"
},
"bit-docs": {
"dependencies": {
"bit-docs-glob-finder": "^0.0.5",
"bit-docs-dev": "^0.0.3",
"bit-docs-js": "^0.0.3",
"bit-docs-generate-readme": "^0.0.8"
},
"glob": {
"pattern": "**/*.{js,md}",
"ignore": "node_modules/**/*"
},
"readme": {
"apis": "./docs/apis.json"
},
"parent": "can-stache-bindings"
}
}

Sorry, the diff of this file is too big to display

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