Socket
Socket
Sign inDemoInstall

lodash.template

Package Overview
Dependencies
7
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.0 to 2.4.0

8

index.js
/**
* Lo-Dash 2.3.0 (Custom Build) <http://lodash.com/>
* Lo-Dash 2.4.0 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize modern exports="npm" -o ./npm/`

@@ -24,3 +24,3 @@ * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>

* Used to match ES6 template delimiters
* http://people.mozilla.org/~jorendorff/es6-draft.html#sec-7.8.6
* http://people.mozilla.org/~jorendorff/es6-draft.html#sec-literals-string-literals
*/

@@ -95,4 +95,4 @@ var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;

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

@@ -99,0 +99,0 @@ *

{
"name": "lodash.template",
"version": "2.3.0",
"version": "2.4.0",
"description": "The Lo-Dash function `_.template` as a Node.js module generated by lodash-cli.",

@@ -18,10 +18,10 @@ "homepage": "http://lodash.com/custom-builds",

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

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

# lodash.template v2.3.0
# lodash.template v2.4.0

@@ -3,0 +3,0 @@ The [Lo-Dash](http://lodash.com/) function [`_.template`](http://lodash.com/docs#template) as a [Node.js](http://nodejs.org/) module generated by [lodash-cli](https://npmjs.org/package/lodash-cli).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc