aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash.templatesettings
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash.templatesettings')
-rw-r--r--node_modules/lodash.templatesettings/LICENSE22
-rw-r--r--node_modules/lodash.templatesettings/README.md18
-rw-r--r--node_modules/lodash.templatesettings/index.js77
-rw-r--r--node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/LICENSE.txt22
-rw-r--r--node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/README.md20
-rw-r--r--node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/index.js13
-rw-r--r--node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/package.json18
-rw-r--r--node_modules/lodash.templatesettings/package.json21
8 files changed, 211 insertions, 0 deletions
diff --git a/node_modules/lodash.templatesettings/LICENSE b/node_modules/lodash.templatesettings/LICENSE
new file mode 100644
index 000000000..b054ca5a3
--- /dev/null
+++ b/node_modules/lodash.templatesettings/LICENSE
@@ -0,0 +1,22 @@
+Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
+Based on Underscore.js, copyright 2009-2016 Jeremy Ashkenas,
+DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/lodash.templatesettings/README.md b/node_modules/lodash.templatesettings/README.md
new file mode 100644
index 000000000..0ca2657c7
--- /dev/null
+++ b/node_modules/lodash.templatesettings/README.md
@@ -0,0 +1,18 @@
+# lodash.templatesettings v3.1.1
+
+The [lodash](https://lodash.com/) method `_.templateSettings` exported as a [Node.js](https://nodejs.org/) module.
+
+## Installation
+
+Using npm:
+```bash
+$ {sudo -H} npm i -g npm
+$ npm i --save lodash.templatesettings
+```
+
+In Node.js:
+```js
+var templateSettings = require('lodash.templatesettings');
+```
+
+See the [documentation](https://lodash.com/docs#templateSettings) or [package source](https://github.com/lodash/lodash/blob/3.1.1-npm-packages/lodash.templatesettings) for more details.
diff --git a/node_modules/lodash.templatesettings/index.js b/node_modules/lodash.templatesettings/index.js
new file mode 100644
index 000000000..0960d5a0a
--- /dev/null
+++ b/node_modules/lodash.templatesettings/index.js
@@ -0,0 +1,77 @@
+/**
+ * lodash 3.1.1 (Custom Build) <https://lodash.com/>
+ * Build: `lodash modularize exports="npm" -o ./`
+ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
+ * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ * Available under MIT license <https://lodash.com/license>
+ */
+var escape = require('lodash.escape'),
+ reInterpolate = require('lodash._reinterpolate');
+
+/** Used to match template delimiters. */
+var reEscape = /<%-([\s\S]+?)%>/g,
+ reEvaluate = /<%([\s\S]+?)%>/g;
+
+/**
+ * By default, the template delimiters used by lodash are like those in
+ * embedded Ruby (ERB). Change the following template settings to use
+ * alternative delimiters.
+ *
+ * @static
+ * @memberOf _
+ * @type Object
+ */
+var templateSettings = {
+
+ /**
+ * Used to detect `data` property values to be HTML-escaped.
+ *
+ * @memberOf _.templateSettings
+ * @type RegExp
+ */
+ 'escape': reEscape,
+
+ /**
+ * Used to detect code to be evaluated.
+ *
+ * @memberOf _.templateSettings
+ * @type RegExp
+ */
+ 'evaluate': reEvaluate,
+
+ /**
+ * Used to detect `data` property values to inject.
+ *
+ * @memberOf _.templateSettings
+ * @type RegExp
+ */
+ 'interpolate': reInterpolate,
+
+ /**
+ * Used to reference the data object in the template text.
+ *
+ * @memberOf _.templateSettings
+ * @type string
+ */
+ 'variable': '',
+
+ /**
+ * Used to import variables into the compiled template.
+ *
+ * @memberOf _.templateSettings
+ * @type Object
+ */
+ 'imports': {
+
+ /**
+ * A reference to the `lodash` function.
+ *
+ * @memberOf _.templateSettings.imports
+ * @type Function
+ */
+ '_': { 'escape': escape }
+ }
+};
+
+module.exports = templateSettings;
diff --git a/node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/LICENSE.txt b/node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/LICENSE.txt
new file mode 100644
index 000000000..17764328c
--- /dev/null
+++ b/node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/LICENSE.txt
@@ -0,0 +1,22 @@
+Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
+Based on Underscore.js 1.7.0, copyright 2009-2015 Jeremy Ashkenas,
+DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/README.md b/node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/README.md
new file mode 100644
index 000000000..1423e502f
--- /dev/null
+++ b/node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/README.md
@@ -0,0 +1,20 @@
+# lodash._reinterpolate v3.0.0
+
+The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `reInterpolate` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
+
+## Installation
+
+Using npm:
+
+```bash
+$ {sudo -H} npm i -g npm
+$ npm i --save lodash._reinterpolate
+```
+
+In Node.js/io.js:
+
+```js
+var reInterpolate = require('lodash._reinterpolate');
+```
+
+See the [package source](https://github.com/lodash/lodash/blob/3.0.0-npm-packages/lodash._reinterpolate) for more details.
diff --git a/node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/index.js b/node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/index.js
new file mode 100644
index 000000000..5c06abcf3
--- /dev/null
+++ b/node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/index.js
@@ -0,0 +1,13 @@
+/**
+ * lodash 3.0.0 (Custom Build) <https://lodash.com/>
+ * Build: `lodash modern modularize exports="npm" -o ./`
+ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
+ * Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
+ * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ * Available under MIT license <https://lodash.com/license>
+ */
+
+/** Used to match template delimiters. */
+var reInterpolate = /<%=([\s\S]+?)%>/g;
+
+module.exports = reInterpolate;
diff --git a/node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/package.json b/node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/package.json
new file mode 100644
index 000000000..4cc9f1a53
--- /dev/null
+++ b/node_modules/lodash.templatesettings/node_modules/lodash._reinterpolate/package.json
@@ -0,0 +1,18 @@
+{
+ "name": "lodash._reinterpolate",
+ "version": "3.0.0",
+ "description": "The modern build of lodash’s internal `reInterpolate` as a module.",
+ "homepage": "https://lodash.com/",
+ "icon": "https://lodash.com/icon.svg",
+ "license": "MIT",
+ "author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)",
+ "contributors": [
+ "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)",
+ "Benjamin Tan <demoneaux@gmail.com> (https://d10.github.io/)",
+ "Blaine Bublitz <blaine@iceddev.com> (http://www.iceddev.com/)",
+ "Kit Cambridge <github@kitcambridge.be> (http://kitcambridge.be/)",
+ "Mathias Bynens <mathias@qiwi.be> (https://mathiasbynens.be/)"
+ ],
+ "repository": "lodash/lodash",
+ "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }
+}
diff --git a/node_modules/lodash.templatesettings/package.json b/node_modules/lodash.templatesettings/package.json
new file mode 100644
index 000000000..150361dfe
--- /dev/null
+++ b/node_modules/lodash.templatesettings/package.json
@@ -0,0 +1,21 @@
+{
+ "name": "lodash.templatesettings",
+ "version": "3.1.1",
+ "description": "The lodash method `_.templateSettings` exported as a module.",
+ "homepage": "https://lodash.com/",
+ "icon": "https://lodash.com/icon.svg",
+ "license": "MIT",
+ "keywords": "lodash, lodash-modularized, stdlib, util, templatesettings",
+ "author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)",
+ "contributors": [
+ "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)",
+ "Blaine Bublitz <blaine@iceddev.com> (https://github.com/phated)",
+ "Mathias Bynens <mathias@qiwi.be> (https://mathiasbynens.be/)"
+ ],
+ "repository": "lodash/lodash",
+ "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" },
+ "dependencies": {
+ "lodash._reinterpolate": "^3.0.0",
+ "lodash.escape": "^3.0.0"
+ }
+}