This commit is contained in:
arnaucode
2017-02-03 08:56:51 +01:00
parent c4b7414770
commit 112745d6fa
1585 changed files with 450241 additions and 0 deletions

2
server/node_modules/escape-html/.npmignore generated vendored Normal file
View File

@@ -0,0 +1,2 @@
components
build

11
server/node_modules/escape-html/Makefile generated vendored Normal file
View File

@@ -0,0 +1,11 @@
build: components index.js
@component build
components:
@Component install
clean:
rm -fr build components template.js
.PHONY: clean

15
server/node_modules/escape-html/Readme.md generated vendored Normal file
View File

@@ -0,0 +1,15 @@
# escape-html
Escape HTML entities
## Example
```js
var escape = require('escape-html');
escape(str);
```
## License
MIT

10
server/node_modules/escape-html/component.json generated vendored Normal file
View File

@@ -0,0 +1,10 @@
{
"name": "escape-html",
"description": "Escape HTML entities",
"version": "1.0.1",
"keywords": ["escape", "html", "utility"],
"dependencies": {},
"scripts": [
"index.js"
]
}

16
server/node_modules/escape-html/index.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
/**
* Escape special characters in the given string of html.
*
* @param {String} html
* @return {String}
* @api private
*/
module.exports = function(html) {
return String(html)
.replace(/&/g, '&')
.replace(/"/g, '"')
.replace(/'/g, ''')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;');
}

83
server/node_modules/escape-html/package.json generated vendored Normal file
View File

@@ -0,0 +1,83 @@
{
"_args": [
[
{
"raw": "escape-html@1.0.1",
"scope": null,
"escapedName": "escape-html",
"name": "escape-html",
"rawSpec": "1.0.1",
"spec": "1.0.1",
"type": "version"
},
"/home/nau/MEGA/CODI/githubRepos/colspace/node_modules/express"
]
],
"_from": "escape-html@1.0.1",
"_id": "escape-html@1.0.1",
"_inCache": true,
"_location": "/escape-html",
"_npmUser": {
"name": "tjholowaychuk",
"email": "tj@vision-media.ca"
},
"_npmVersion": "1.3.15",
"_phantomChildren": {},
"_requested": {
"raw": "escape-html@1.0.1",
"scope": null,
"escapedName": "escape-html",
"name": "escape-html",
"rawSpec": "1.0.1",
"spec": "1.0.1",
"type": "version"
},
"_requiredBy": [
"/express",
"/finalhandler",
"/send",
"/serve-static"
],
"_resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz",
"_shasum": "181a286ead397a39a92857cfb1d43052e356bff0",
"_shrinkwrap": null,
"_spec": "escape-html@1.0.1",
"_where": "/home/nau/MEGA/CODI/githubRepos/colspace/node_modules/express",
"bugs": {
"url": "https://github.com/component/escape-html/issues"
},
"component": {
"scripts": {
"escape-html/index.js": "index.js"
}
},
"dependencies": {},
"description": "Escape HTML entities",
"devDependencies": {},
"directories": {},
"dist": {
"shasum": "181a286ead397a39a92857cfb1d43052e356bff0",
"tarball": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz"
},
"homepage": "https://github.com/component/escape-html",
"keywords": [
"escape",
"html",
"utility"
],
"main": "index.js",
"maintainers": [
{
"name": "tjholowaychuk",
"email": "tj@vision-media.ca"
}
],
"name": "escape-html",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+https://github.com/component/escape-html.git"
},
"version": "1.0.1"
}