New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jeff-jangular

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jeff-jangular - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

.idea/dictionaries/christian.xml

16

lib/jangular.js

@@ -12,5 +12,6 @@ /*

patternPrefix = /^(x\-|data\-)/g, patternDelimit = /[_:]/g, patternPluralize = /\{\}/g,
patternRepeatStmt = /^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/,
JNG_STRIP_DIRECTIVES = '__jng_strip_directives__';
patternRepeatStmt = /^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/;
Jeff.JNG_STRIP_DIRECTIVES = '__jng_strip_directives__';
function setAttribute(attr) {

@@ -263,3 +264,4 @@ return function(e, val) {

break;
} else if ( currentModel[JNG_STRIP_DIRECTIVES] === true && e.attributes.hasOwnProperty(attr) ) {
} else if ( currentModel[Jeff.JNG_STRIP_DIRECTIVES] === true && e.attributes.hasOwnProperty(attr) ) {
console.log('under ui-view, need to strip ' + attr);
delete(e.attributes[attr]);

@@ -277,7 +279,7 @@ }

else if (e.children) {
currentModel[JNG_STRIP_DIRECTIVES] = needsStripping;
currentModel[Jeff.JNG_STRIP_DIRECTIVES] = needsStripping;
for( i = 0, len = e.children.length; i < len; i++ ) {
e.children[i] = angularizeNode(e.children[i]);
}
currentModel[JNG_STRIP_DIRECTIVES] = false;
currentModel[Jeff.JNG_STRIP_DIRECTIVES] = false;
}

@@ -332,4 +334,6 @@ return e;

e.attributes = e.attributes || {};
if ( model[JNG_STRIP_DIRECTIVES] !== true ) {
if ( model[Jeff.JNG_STRIP_DIRECTIVES] !== true ) {
e.attributes[name] = null;
} else {
console.log('under ui-view, stripping custom directive ' + name);
}

@@ -336,0 +340,0 @@ return e.toString(); // if we don't evaluate now, not all vars will be in scope

{
"name": "jeff-jangular",
"version": "0.0.6",
"version": "0.0.7",
"main": "lib/jangular.js",

@@ -47,4 +47,3 @@ "description": "A plugin for jeff.js that allows you to render pages from server-side jeff templates that contain angular syntax.",

"dependencies": {
"jeff-core": "^0.1.12",
"path": "^0.4.9"
"jeff-core": "^0.1.12"
},

@@ -51,0 +50,0 @@ "scripts": {

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