diff options
Diffstat (limited to 'node_modules/lodash.templatesettings')
-rw-r--r-- | node_modules/lodash.templatesettings/LICENSE | 22 | ||||
-rw-r--r-- | node_modules/lodash.templatesettings/README.md | 18 | ||||
-rw-r--r-- | node_modules/lodash.templatesettings/index.js | 77 | ||||
-rw-r--r-- | node_modules/lodash.templatesettings/package.json | 115 |
4 files changed, 232 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/package.json b/node_modules/lodash.templatesettings/package.json new file mode 100644 index 000000000..53f418a7e --- /dev/null +++ b/node_modules/lodash.templatesettings/package.json @@ -0,0 +1,115 @@ +{ + "_args": [ + [ + { + "raw": "lodash.templatesettings@^3.0.0", + "scope": null, + "escapedName": "lodash.templatesettings", + "name": "lodash.templatesettings", + "rawSpec": "^3.0.0", + "spec": ">=3.0.0 <4.0.0", + "type": "range" + }, + "/home/dold/repos/taler/wallet-webex/node_modules/lodash.template" + ] + ], + "_from": "lodash.templatesettings@>=3.0.0 <4.0.0", + "_id": "lodash.templatesettings@3.1.1", + "_inCache": true, + "_location": "/lodash.templatesettings", + "_nodeVersion": "5.4.0", + "_npmUser": { + "name": "jdalton", + "email": "john.david.dalton@gmail.com" + }, + "_npmVersion": "2.14.15", + "_phantomChildren": {}, + "_requested": { + "raw": "lodash.templatesettings@^3.0.0", + "scope": null, + "escapedName": "lodash.templatesettings", + "name": "lodash.templatesettings", + "rawSpec": "^3.0.0", + "spec": ">=3.0.0 <4.0.0", + "type": "range" + }, + "_requiredBy": [ + "/lodash.template" + ], + "_resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-3.1.1.tgz", + "_shasum": "fb307844753b66b9f1afa54e262c745307dba8e5", + "_shrinkwrap": null, + "_spec": "lodash.templatesettings@^3.0.0", + "_where": "/home/dold/repos/taler/wallet-webex/node_modules/lodash.template", + "author": { + "name": "John-David Dalton", + "email": "john.david.dalton@gmail.com", + "url": "http://allyoucanleet.com/" + }, + "bugs": { + "url": "https://github.com/lodash/lodash/issues" + }, + "contributors": [ + { + "name": "John-David Dalton", + "email": "john.david.dalton@gmail.com", + "url": "http://allyoucanleet.com/" + }, + { + "name": "Blaine Bublitz", + "email": "blaine@iceddev.com", + "url": "https://github.com/phated" + }, + { + "name": "Mathias Bynens", + "email": "mathias@qiwi.be", + "url": "https://mathiasbynens.be/" + } + ], + "dependencies": { + "lodash._reinterpolate": "^3.0.0", + "lodash.escape": "^3.0.0" + }, + "description": "The lodash method `_.templateSettings` exported as a module.", + "devDependencies": {}, + "directories": {}, + "dist": { + "shasum": "fb307844753b66b9f1afa54e262c745307dba8e5", + "tarball": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-3.1.1.tgz" + }, + "homepage": "https://lodash.com/", + "icon": "https://lodash.com/icon.svg", + "keywords": [ + "lodash", + "lodash-modularized", + "stdlib", + "util", + "templatesettings" + ], + "license": "MIT", + "maintainers": [ + { + "name": "jdalton", + "email": "john.david.dalton@gmail.com" + }, + { + "name": "mathias", + "email": "mathias@qiwi.be" + }, + { + "name": "phated", + "email": "blaine@iceddev.com" + } + ], + "name": "lodash.templatesettings", + "optionalDependencies": {}, + "readme": "ERROR: No README data found!", + "repository": { + "type": "git", + "url": "git+https://github.com/lodash/lodash.git" + }, + "scripts": { + "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" + }, + "version": "3.1.1" +} |