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

lodash.template

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.template - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

10

index.js
/**
* @license
* Lo-Dash 2.0.0 <http://lodash.com/>
* Lo-Dash 2.1.0 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize modern exports="npm" -o ./npm`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>

@@ -97,4 +97,4 @@ * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>

* // using the `imports` option to import jQuery
* var list = '<% $.each(people, function(name) { %><li><%= name %></li><% }); %>';
* _.template(list, { 'people': ['moe', 'larry'] }, { 'imports': { '$': jQuery });
* var list = '<% $.each(people, function(name) { %><li><%- name %></li><% }); %>';
* _.template(list, { 'people': ['moe', 'larry'] }, { 'imports': { '$': jQuery } });
* // => '<li>moe</li><li>larry</li>'

@@ -213,3 +213,3 @@ *

}
// provide the compiled function's source via its `toString` method, in
// provide the compiled function's source by its `toString` method, in
// supported environments, or the `source` property as a convenience for

@@ -216,0 +216,0 @@ // inlining compiled templates during the build process

{
"name": "lodash.template",
"version": "2.0.0",
"version": "2.1.0",
"description": "The Lo-Dash function `_.template` as a Node.js module generated by lodash-cli.",
"homepage": "http://lodash.com/custom-builds",
"license": "MIT",
"keywords": ["customize", "functional", "lodash", "performance", "speed", "util"],
"keywords": ["functional", "lodash", "lodash-modularized", "performance", "speed", "util"],
"author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)",

@@ -18,10 +18,10 @@ "contributors": [

"dependencies": {
"lodash.defaults": "~2.0.0",
"lodash.escape": "~2.0.0",
"lodash._escapestringchar": "~2.0.0",
"lodash.keys": "~2.0.0",
"lodash._reinterpolate": "~2.0.0",
"lodash.templatesettings": "~2.0.0",
"lodash.values": "~2.0.0"
"lodash.defaults": "~2.1.0",
"lodash.escape": "~2.1.0",
"lodash._escapestringchar": "~2.1.0",
"lodash.keys": "~2.1.0",
"lodash._reinterpolate": "~2.1.0",
"lodash.templatesettings": "~2.1.0",
"lodash.values": "~2.1.0"
}
}

@@ -1,2 +0,2 @@

# lodash.template v2.0.0
# lodash.template v2.1.0

@@ -3,0 +3,0 @@ The Lo-Dash function `_.template` as a Node.js module generated by lodash-cli.

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