From: Ben Beltran Date: Sat, 18 Apr 2020 10:27:24 +0000 (+0200) Subject: Merge branch 'master' of gitlab.com:rbdr/generador-de-insultos X-Git-Url: https://git.r.bdr.sh/rbdr/generador-de-insultos/commitdiff_plain/e865f21be5685ef2fbc57e36460f8d6819e0fe34?hp=ecf7a1adea29df153a302effa79c3f2a8018c1e6 Merge branch 'master' of gitlab.com:rbdr/generador-de-insultos --- diff --git a/README.md b/README.md index 44da4bd..2a04847 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # generador-de-insultos Insult generator in spanish, stop using those dumb popular curse words: make your own (or have them made by us) +## How To Run + +You can call `npm start` to start the server + ## TODO * Proper pluralizer. This is in lazy mode. * Vet words diff --git a/bin/server.js b/bin/server.js index 2dbcc1d..00c23bb 100755 --- a/bin/server.js +++ b/bin/server.js @@ -33,6 +33,12 @@ server.route({ }); server.route({ + config: { + cors: { + origin: ['*'], + additionalHeaders: ['cache-control', 'x-requested-with'] + } + }, method: 'GET', path:'/raw', handler: function (request, reply) { diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..31c38f5 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,810 @@ +{ + "name": "generador-de-insultos", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "asn1": { + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz", + "integrity": "sha1-VZvhg3bQik7E2+gId9J4GGObLfc=" + }, + "assert-plus": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.5.tgz", + "integrity": "sha1-7nQAlBMALYTOxyGcasgRgS5yMWA=" + }, + "async": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "requires": { + "lodash": "^4.17.14" + }, + "dependencies": { + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + } + } + }, + "aws-sign2": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.5.0.tgz", + "integrity": "sha1-xXED96F/wDfwLXwuZLYC6iI/fWM=" + }, + "bl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/bl/-/bl-1.0.3.tgz", + "integrity": "sha1-/FQhoo/UImA2w7OJGmaiW8ZNIm4=", + "requires": { + "readable-stream": "~2.0.5" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "readable-stream": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz", + "integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "~1.0.0", + "process-nextick-args": "~1.0.6", + "string_decoder": "~0.10.x", + "util-deprecate": "~1.0.1" + } + } + } + }, + "bluebird": { + "version": "2.9.34", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-2.9.34.tgz", + "integrity": "sha1-L3tOyAIWMoqf3evfacjUlC/v99g=" + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=" + }, + "boom": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", + "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", + "requires": { + "hoek": "2.x.x" + } + }, + "caseless": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", + "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=" + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "cheerio": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.19.0.tgz", + "integrity": "sha1-dy5wFfLuKZZQltcepBdbdas1SSU=", + "requires": { + "css-select": "~1.0.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "~3.8.1", + "lodash": "^3.2.0" + } + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "commander": { + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz", + "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "cryptiles": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", + "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", + "requires": { + "boom": "2.x.x" + } + }, + "css-select": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.0.0.tgz", + "integrity": "sha1-sRIcpRhI3SZOIkTQWM7iVN7rRLA=", + "requires": { + "boolbase": "~1.0.0", + "css-what": "1.0", + "domutils": "1.4", + "nth-check": "~1.0.0" + } + }, + "css-what": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-1.0.0.tgz", + "integrity": "sha1-18wt9FGAZm+Z0rFEYmOUaeAPc2w=" + }, + "ctype": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/ctype/-/ctype-0.5.3.tgz", + "integrity": "sha1-gsGMJGH3QRTvFsE1IkrQuRRMoS8=" + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "dom-serializer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz", + "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==", + "requires": { + "domelementtype": "^1.3.0", + "entities": "^1.1.1" + } + }, + "domelementtype": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==" + }, + "domhandler": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.3.0.tgz", + "integrity": "sha1-LeWaCCLVAn+r/28DLCsloqir5zg=", + "requires": { + "domelementtype": "1" + } + }, + "domutils": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.4.3.tgz", + "integrity": "sha1-CGVRN5bGswYDGFDhdVFrr4C3Km8=", + "requires": { + "domelementtype": "1" + } + }, + "entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + }, + "form-data": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-1.0.1.tgz", + "integrity": "sha1-rjFduaSQf6BlUCMEpm13M0de43w=", + "requires": { + "async": "^2.0.1", + "combined-stream": "^1.0.5", + "mime-types": "^2.1.11" + } + }, + "generate-function": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.3.1.tgz", + "integrity": "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==", + "requires": { + "is-property": "^1.0.2" + } + }, + "generate-object-property": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", + "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", + "requires": { + "is-property": "^1.0.0" + } + }, + "hapi": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/hapi/-/hapi-9.2.0.tgz", + "integrity": "sha1-aBa1nThwEup84c4zZlWwK0YK40Y=", + "requires": { + "accept": "1.x.x", + "ammo": "1.x.x", + "boom": "^2.5.x", + "call": "2.x.x", + "catbox": "6.x.x", + "catbox-memory": "1.x.x", + "cryptiles": "2.x.x", + "heavy": "3.x.x", + "hoek": "^2.14.x", + "iron": "2.x.x", + "items": "1.x.x", + "joi": "6.x.x", + "kilt": "^1.1.x", + "mimos": "2.x.x", + "peekaboo": "1.x.x", + "qs": "4.x.x", + "shot": "1.x.x", + "statehood": "2.x.x", + "subtext": "2.x.x", + "topo": "1.x.x" + }, + "dependencies": { + "accept": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/accept/-/accept-1.1.0.tgz", + "integrity": "sha1-x7VWfJmt5Kx8k38qm8HFZhYKMLU=", + "requires": { + "boom": "2.x.x", + "hoek": "2.x.x" + } + }, + "ammo": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ammo/-/ammo-1.0.1.tgz", + "integrity": "sha1-j4rdFM1Jve3jurOj4OvK8h0D3os=", + "requires": { + "boom": "2.x.x", + "hoek": "2.x.x" + } + }, + "boom": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/boom/-/boom-2.8.0.tgz", + "integrity": "sha1-MXvf1HAY/n3Xmw6dpz7+JEEZ/fE=", + "requires": { + "hoek": "2.x.x" + } + }, + "call": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/call/-/call-2.0.2.tgz", + "integrity": "sha1-nJgxq9B2lIb97oOkEUm4KbMtBsA=", + "requires": { + "boom": "2.x.x", + "hoek": "2.x.x" + } + }, + "catbox": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/catbox/-/catbox-6.0.0.tgz", + "integrity": "sha1-6i8pT6Bemvx+IhDTI/XeU6OAQ+c=", + "requires": { + "boom": "2.x.x", + "hoek": "2.x.x", + "joi": "6.x.x" + } + }, + "catbox-memory": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/catbox-memory/-/catbox-memory-1.1.2.tgz", + "integrity": "sha1-M8kYOjKzGUXuikhNDjw8u4Lq7Bo=", + "requires": { + "hoek": "2.x.x" + } + }, + "cryptiles": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.4.tgz", + "integrity": "sha1-CeoXdbnhx95+YKmdQqtvCM4aEoU=", + "requires": { + "boom": "2.x.x" + } + }, + "heavy": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/heavy/-/heavy-3.0.0.tgz", + "integrity": "sha1-/QEIdiExYy+IVIontVQSws9SKwA=", + "requires": { + "boom": "2.x.x", + "hoek": "2.x.x", + "joi": "5.x.x" + } + }, + "hoek": { + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.14.0.tgz", + "integrity": "sha1-gSEWkfUqWoNa5J7b8eickANHaqQ=" + }, + "iron": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/iron/-/iron-2.1.3.tgz", + "integrity": "sha1-cbjzV9gGquA6kKdFuaqv/sfi3eQ=", + "requires": { + "boom": "2.x.x", + "cryptiles": "2.x.x", + "hoek": "2.x.x" + } + }, + "items": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/items/-/items-1.1.0.tgz", + "integrity": "sha1-rZ1VhAsimGDLPRYLMidMLUvZ4mI=" + }, + "joi": { + "version": "6.6.1", + "resolved": "https://registry.npmjs.org/joi/-/joi-6.6.1.tgz", + "integrity": "sha1-NXR2aGFCb4xBGb9qgLU9C0ib9Qc=", + "requires": { + "hoek": "^2.2.x", + "isemail": "1.x.x", + "moment": "2.x.x", + "topo": "1.x.x" + }, + "dependencies": { + "isemail": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/isemail/-/isemail-1.1.1.tgz", + "integrity": "sha1-4Mj23D9HCX53dzlcaJYnGqJWw7U=" + }, + "moment": { + "version": "2.10.6", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.10.6.tgz", + "integrity": "sha1-bLIZZ8ecunsMpeZmRPFzZis++nc=" + } + } + }, + "kilt": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/kilt/-/kilt-1.1.1.tgz", + "integrity": "sha1-d7SmFjyn+lshN6iMFzNCFuwj1ds=", + "requires": { + "hoek": "2.x.x" + } + }, + "mimos": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/mimos/-/mimos-2.0.2.tgz", + "integrity": "sha1-wyQXF+dblZkr54esfdbbGptTmx4=", + "requires": { + "hoek": "2.x.x", + "mime-db": "1.x.x" + }, + "dependencies": { + "mime-db": { + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.18.0.tgz", + "integrity": "sha1-UxfigiTAivHUhPYJc904a6jzieA=" + } + } + }, + "peekaboo": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/peekaboo/-/peekaboo-1.0.0.tgz", + "integrity": "sha1-wNspJq1lTSygH3ymUKtFkadk/EI=" + }, + "qs": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-4.0.0.tgz", + "integrity": "sha1-wx2bdOwn33XlQ6hseHKO2NRiNgc=" + }, + "shot": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/shot/-/shot-1.6.0.tgz", + "integrity": "sha1-jIo2fgyIyI/O1d6y7aWUW0avErI=", + "requires": { + "hoek": "2.x.x" + } + }, + "statehood": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/statehood/-/statehood-2.1.1.tgz", + "integrity": "sha1-AfFwtmxeklqvZ5qdMiulkYb8AAk=", + "requires": { + "boom": "2.x.x", + "cryptiles": "2.x.x", + "hoek": "2.x.x", + "iron": "2.x.x", + "items": "1.x.x", + "joi": "6.x.x" + } + }, + "subtext": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/subtext/-/subtext-2.0.0.tgz", + "integrity": "sha1-I5lQ6SCBQ/FUirJeHJV5vbaNiU4=", + "requires": { + "boom": "2.x.x", + "content": "1.x.x", + "hoek": "2.x.x", + "pez": "1.x.x", + "qs": "4.x.x", + "wreck": "6.x.x" + }, + "dependencies": { + "content": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/content/-/content-1.0.2.tgz", + "integrity": "sha1-y37fMq/vF8SKz9vSH/mMIzFa6CQ=", + "requires": { + "boom": "2.x.x", + "hoek": "2.x.x" + } + }, + "pez": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/pez/-/pez-1.0.0.tgz", + "integrity": "sha1-hEMYpc5wku7d/6KV4YB5rHefoBg=", + "requires": { + "b64": "2.x.x", + "boom": "2.x.x", + "content": "1.x.x", + "hoek": "2.x.x", + "nigel": "1.x.x" + }, + "dependencies": { + "b64": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/b64/-/b64-2.0.0.tgz", + "integrity": "sha1-tZlbJPR+v9nxMQF6bntdZHVvtvM=", + "requires": { + "hoek": "2.x.x" + } + }, + "nigel": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/nigel/-/nigel-1.0.1.tgz", + "integrity": "sha1-RjmJr4gSePuqHTzJOCPb0XtDYKE=", + "requires": { + "hoek": "2.x.x", + "vise": "1.x.x" + }, + "dependencies": { + "vise": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/vise/-/vise-1.0.0.tgz", + "integrity": "sha1-KDRb5N5aNB4V/SgW/Z6j5zA+jfM=", + "requires": { + "hoek": "2.x.x" + } + } + } + } + } + }, + "wreck": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/wreck/-/wreck-6.1.0.tgz", + "integrity": "sha1-DLV9Jkk8LGN91Dkizv5xLGmVSM8=", + "requires": { + "boom": "2.x.x", + "hoek": "2.x.x" + } + } + } + }, + "topo": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/topo/-/topo-1.0.3.tgz", + "integrity": "sha1-576uXqSQZ9dp5Sjn40ZC7e1/Llo=", + "requires": { + "hoek": "2.x.x" + } + } + } + }, + "har-validator": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-1.8.0.tgz", + "integrity": "sha1-2DhCsOtMQ1lgrrEIoGejqpTA7rI=", + "requires": { + "bluebird": "^2.9.30", + "chalk": "^1.0.0", + "commander": "^2.8.1", + "is-my-json-valid": "^2.12.0" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "hawk": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", + "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", + "requires": { + "boom": "2.x.x", + "cryptiles": "2.x.x", + "hoek": "2.x.x", + "sntp": "1.x.x" + } + }, + "hoek": { + "version": "2.16.3", + "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", + "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=" + }, + "htmlparser2": { + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz", + "integrity": "sha1-mWwosZFRaovoZQGn15dX5ccMEGg=", + "requires": { + "domelementtype": "1", + "domhandler": "2.3", + "domutils": "1.5", + "entities": "1.0", + "readable-stream": "1.1" + }, + "dependencies": { + "domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", + "requires": { + "dom-serializer": "0", + "domelementtype": "1" + } + }, + "entities": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.0.0.tgz", + "integrity": "sha1-sph6o4ITR/zeZCsk/fyeT7cSvyY=" + } + } + }, + "http-signature": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-0.11.0.tgz", + "integrity": "sha1-F5bPZ6ABrVzWhJ3KCZFIXwkIn+Y=", + "requires": { + "asn1": "0.1.11", + "assert-plus": "^0.1.5", + "ctype": "0.5.3" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "ip-regex": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz", + "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=" + }, + "is-my-ip-valid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-my-ip-valid/-/is-my-ip-valid-1.0.0.tgz", + "integrity": "sha512-gmh/eWXROncUzRnIa1Ubrt5b8ep/MGSnfAUI3aRp+sqTCs1tv1Isl8d8F6JmkN3dXKc3ehZMrtiPN9eL03NuaQ==" + }, + "is-my-json-valid": { + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.20.0.tgz", + "integrity": "sha512-XTHBZSIIxNsIsZXg7XB5l8z/OBFosl1Wao4tXLpeC7eKU4Vm/kdop2azkPqULwnfGQjmeDIyey9g7afMMtdWAA==", + "requires": { + "generate-function": "^2.0.0", + "generate-object-property": "^1.1.0", + "is-my-ip-valid": "^1.0.0", + "jsonpointer": "^4.0.0", + "xtend": "^4.0.0" + } + }, + "is-property": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", + "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=" + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "jsonpointer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", + "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=" + }, + "lodash": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", + "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=" + }, + "mime-db": { + "version": "1.40.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz", + "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==" + }, + "mime-types": { + "version": "2.1.24", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz", + "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==", + "requires": { + "mime-db": "1.40.0" + } + }, + "neon": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/neon/-/neon-2.0.0.tgz", + "integrity": "sha1-63AJLFf7A+IgHDaCrtW1SrntExY=" + }, + "node-uuid": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.8.tgz", + "integrity": "sha1-sEDrCSOWivq/jTL7HxfxFn/auQc=" + }, + "nth-check": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", + "requires": { + "boolbase": "~1.0.0" + } + }, + "oauth-sign": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", + "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=" + }, + "process-nextick-args": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", + "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=" + }, + "psl": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.2.0.tgz", + "integrity": "sha512-GEn74ZffufCmkDDLNcl3uuyF/aSD6exEyh1v/ZSdAomB82t6G9hzJVRx0jBmLDW+VfZqks3aScmMw9DszwUalA==" + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, + "qs": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-4.0.0.tgz", + "integrity": "sha1-wx2bdOwn33XlQ6hseHKO2NRiNgc=" + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "request": { + "version": "2.61.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.61.0.tgz", + "integrity": "sha1-aXPLKslIhfAmk/VU7sZEgdYBP58=", + "requires": { + "aws-sign2": "~0.5.0", + "bl": "~1.0.0", + "caseless": "~0.11.0", + "combined-stream": "~1.0.1", + "extend": "~3.0.0", + "forever-agent": "~0.6.0", + "form-data": "~1.0.0-rc1", + "har-validator": "^1.6.1", + "hawk": "~3.1.0", + "http-signature": "~0.11.0", + "isstream": "~0.1.1", + "json-stringify-safe": "~5.0.0", + "mime-types": "~2.1.2", + "node-uuid": "~1.4.0", + "oauth-sign": "~0.8.0", + "qs": "~4.0.0", + "stringstream": "~0.0.4", + "tough-cookie": ">=0.12.0", + "tunnel-agent": "~0.4.0" + } + }, + "sntp": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", + "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", + "requires": { + "hoek": "2.x.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" + }, + "stringstream": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz", + "integrity": "sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA==" + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + }, + "tough-cookie": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.1.tgz", + "integrity": "sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==", + "requires": { + "ip-regex": "^2.1.0", + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + }, + "tunnel-agent": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", + "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=" + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" + } + } +} diff --git a/package.json b/package.json index e69a4dd..db0decf 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "generador-de-insultos": "server.js" }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "start": "node bin/server.js" }, "repository": { "type": "git",