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

dustjs-linkedin

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dustjs-linkedin - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

dist/dust-core-2.0.0.js

4

lib/compiler.js

@@ -46,3 +46,5 @@ var dustCompiler = (function(dust) {

literal: noop,
comment: nullify
comment: nullify,
line: nullify,
col: nullify
};

@@ -49,0 +51,0 @@

@@ -173,4 +173,7 @@ var dust = {};

while (!ctx && !cur){
//if there was a partial match, don't search further
if (i > 1) return undefined;
// i is the count of number of path elements matched. If > 1 then we have a partial match
// and do not continue to search for the rest of the path.
// Note: a falsey value at the end of a matched path also comes here.
// This returns the value or undefined if we just have a partial match.
if (i > 1) return ctx;
if (tail){

@@ -177,0 +180,0 @@ ctx = tail.head;

{
"name": "dustjs-linkedin",
"version": "2.0.0",
"version": "2.0.1",
"author": "Aleksander Williams",

@@ -22,2 +22,6 @@ "description": "Asynchronous templates for the browser and node.js ( LinkedIn fork )",

"email": "rragan@ebay.com"
},
{
"name": "Steven Foote",
"email": "sfoote@linkedin.com"
}

@@ -36,6 +40,7 @@ ],

"keywords": ["templates", "views"],
"devDependencies": {
"jasmine-node" : "1.9.x",
"cover" : "0.2.x",
"uglify-js" : "1.3.3"
"devDependencies": {
"jasmine-node" : "1.9.x",
"cover" : "0.2.x",
"uglify-js" : "1.3.3",
"pegjs" : "0.7.0"
},

@@ -42,0 +47,0 @@ "license": "MIT",

@@ -732,2 +732,10 @@ var coreTests = [

{
name: "Standard dotted path with falsey value. Issue 317",
source: "{foo.bar}",
options: {pathScope: "global"},
context: { foo: {bar: 0} },
expected: "0",
message: "should work when value at end of path is falsey"
},
{
name: "dotted path resolution up context",

@@ -734,0 +742,0 @@ source: "{#data.A.list}Aname{data.A.name}{/data.A.list}",

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

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