fix: package.json & package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534988
This commit is contained in:
snyk-bot 2019-11-21 03:25:33 +00:00
parent 8ce1306b05
commit 468e93ed4a
2 changed files with 83 additions and 80 deletions

161
package-lock.json generated
View file

@ -126,9 +126,9 @@
"integrity": "sha1-O7xCdd1YTMGxCAm4nU6LY6aednU=" "integrity": "sha1-O7xCdd1YTMGxCAm4nU6LY6aednU="
}, },
"asap": { "asap": {
"version": "1.0.0", "version": "2.0.6",
"resolved": "https://registry.npmjs.org/asap/-/asap-1.0.0.tgz", "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
"integrity": "sha1-sqRdpf36ILBJb8N2jMJ8EvqRan0=" "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY="
}, },
"asn1": { "asn1": {
"version": "0.2.4", "version": "0.2.4",
@ -1759,6 +1759,14 @@
"integrity": "sha1-xPp8lUBKF6nD6Mp+FTcxK3NjMKw=", "integrity": "sha1-xPp8lUBKF6nD6Mp+FTcxK3NjMKw=",
"dev": true "dev": true
}, },
"define-properties": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
"integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
"requires": {
"object-keys": "^1.0.12"
}
},
"define-property": { "define-property": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",
@ -2203,21 +2211,21 @@
} }
}, },
"express-handlebars": { "express-handlebars": {
"version": "2.0.1", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/express-handlebars/-/express-handlebars-2.0.1.tgz", "resolved": "https://registry.npmjs.org/express-handlebars/-/express-handlebars-3.0.0.tgz",
"integrity": "sha1-l1Zh/+vW55RjIwukyODKXNBSL7E=", "integrity": "sha1-gKBwu4GbCeSvLKbQeA91zgXnXC8=",
"requires": { "requires": {
"glob": "^5.0.0", "glob": "^6.0.4",
"graceful-fs": "^3.0.2", "graceful-fs": "^4.1.2",
"handlebars": "^3.0.0", "handlebars": "^4.0.5",
"object.assign": "^1.1.1", "object.assign": "^4.0.3",
"promise": "^6.0.0" "promise": "^7.0.0"
}, },
"dependencies": { "dependencies": {
"glob": { "glob": {
"version": "5.0.15", "version": "6.0.4",
"resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz",
"integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=",
"requires": { "requires": {
"inflight": "^1.0.4", "inflight": "^1.0.4",
"inherits": "2", "inherits": "2",
@ -2225,14 +2233,6 @@
"once": "^1.3.0", "once": "^1.3.0",
"path-is-absolute": "^1.0.0" "path-is-absolute": "^1.0.0"
} }
},
"graceful-fs": {
"version": "3.0.11",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.11.tgz",
"integrity": "sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg=",
"requires": {
"natives": "^1.1.0"
}
} }
} }
}, },
@ -2451,7 +2451,8 @@
}, },
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"bundled": true "bundled": true,
"optional": true
}, },
"aproba": { "aproba": {
"version": "1.2.0", "version": "1.2.0",
@ -2816,7 +2817,8 @@
}, },
"safe-buffer": { "safe-buffer": {
"version": "5.1.1", "version": "5.1.1",
"bundled": true "bundled": true,
"optional": true
}, },
"safer-buffer": { "safer-buffer": {
"version": "2.1.2", "version": "2.1.2",
@ -2864,6 +2866,7 @@
"strip-ansi": { "strip-ansi": {
"version": "3.0.1", "version": "3.0.1",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"ansi-regex": "^2.0.0" "ansi-regex": "^2.0.0"
} }
@ -2902,14 +2905,21 @@
}, },
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true "bundled": true,
"optional": true
}, },
"yallist": { "yallist": {
"version": "3.0.2", "version": "3.0.2",
"bundled": true "bundled": true,
"optional": true
} }
} }
}, },
"function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
},
"get-value": { "get-value": {
"version": "2.0.6", "version": "2.0.6",
"resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",
@ -3020,22 +3030,20 @@
"integrity": "sha1-Sy3sjZB+k9szZiTc7AGDUC+MlCg=" "integrity": "sha1-Sy3sjZB+k9szZiTc7AGDUC+MlCg="
}, },
"handlebars": { "handlebars": {
"version": "3.0.3", "version": "4.5.3",
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-3.0.3.tgz", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz",
"integrity": "sha1-DgllGi8Ps8lJFgWDcQ1VH5Lm0q0=", "integrity": "sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA==",
"requires": { "requires": {
"neo-async": "^2.6.0",
"optimist": "^0.6.1", "optimist": "^0.6.1",
"source-map": "^0.1.40", "source-map": "^0.6.1",
"uglify-js": "~2.3" "uglify-js": "^3.1.4"
}, },
"dependencies": { "dependencies": {
"source-map": { "source-map": {
"version": "0.1.43", "version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
"requires": {
"amdefine": ">=0.0.4"
}
} }
} }
}, },
@ -3081,6 +3089,11 @@
"resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz", "resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz",
"integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=" "integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk="
}, },
"has-symbols": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
},
"has-value": { "has-value": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",
@ -4238,11 +4251,6 @@
} }
} }
}, },
"natives": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/natives/-/natives-1.1.6.tgz",
"integrity": "sha1-pgO0pJirdxc2ErnqGs3sTZgPALs="
},
"ncp": { "ncp": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz", "resolved": "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz",
@ -4253,6 +4261,11 @@
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
"integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=" "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk="
}, },
"neo-async": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",
"integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw=="
},
"nested-error-stacks": { "nested-error-stacks": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-1.0.2.tgz", "resolved": "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-1.0.2.tgz",
@ -4567,9 +4580,9 @@
} }
}, },
"object-keys": { "object-keys": {
"version": "1.0.12", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
"integrity": "sha1-CcU4VTd1dTEMymL1W7M0q/97PtI=" "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
}, },
"object-visit": { "object-visit": {
"version": "1.0.1", "version": "1.0.1",
@ -4587,11 +4600,14 @@
} }
}, },
"object.assign": { "object.assign": {
"version": "1.1.1", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/object.assign/-/object.assign-1.1.1.tgz", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
"integrity": "sha1-8ilnQnP5T8sjDQLBlYqLlOye+Vw=", "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
"requires": { "requires": {
"object-keys": "~1.0.1" "define-properties": "^1.1.2",
"function-bind": "^1.1.1",
"has-symbols": "^1.0.0",
"object-keys": "^1.0.11"
} }
}, },
"object.omit": { "object.omit": {
@ -4830,11 +4846,11 @@
"integrity": "sha1-o31zL0JxtKsa0HDTVQjoKQeI/6o=" "integrity": "sha1-o31zL0JxtKsa0HDTVQjoKQeI/6o="
}, },
"promise": { "promise": {
"version": "6.1.0", "version": "7.3.1",
"resolved": "https://registry.npmjs.org/promise/-/promise-6.1.0.tgz", "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
"integrity": "sha1-LOcp9rlLRcJoka0GAsXJDgTG7vY=", "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
"requires": { "requires": {
"asap": "~1.0.0" "asap": "~2.0.3"
} }
}, },
"proxy-addr": { "proxy-addr": {
@ -6369,39 +6385,26 @@
"integrity": "sha1-lBUb5MCn+x0AGvcCL9rKRkJlnks=" "integrity": "sha1-lBUb5MCn+x0AGvcCL9rKRkJlnks="
}, },
"uglify-js": { "uglify-js": {
"version": "2.3.6", "version": "3.6.9",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.3.6.tgz", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.9.tgz",
"integrity": "sha1-+gmEdwtCi3qbKoBY9GNV0U/vIRo=", "integrity": "sha512-pcnnhaoG6RtrvHJ1dFncAe8Od6Nuy30oaJ82ts6//sGSXOP5UjBMEthiProjXmMNHOfd93sqlkztifFMcb+4yw==",
"optional": true, "optional": true,
"requires": { "requires": {
"async": "~0.2.6", "commander": "~2.20.3",
"optimist": "~0.3.5", "source-map": "~0.6.1"
"source-map": "~0.1.7"
}, },
"dependencies": { "dependencies": {
"async": { "commander": {
"version": "0.2.10", "version": "2.20.3",
"resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
"integrity": "sha1-trvgsGdLnXGXCMo43owjfLUmw9E=", "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
"optional": true "optional": true
}, },
"optimist": {
"version": "0.3.7",
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz",
"integrity": "sha1-yQlBrVnkJzMokjB00s8ufLxuwNk=",
"optional": true,
"requires": {
"wordwrap": "~0.0.2"
}
},
"source-map": { "source-map": {
"version": "0.1.43", "version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"optional": true, "optional": true
"requires": {
"amdefine": ">=0.0.4"
}
} }
} }
}, },

View file

@ -42,7 +42,7 @@
"css-brunch": ">= 1.0 < 1.8", "css-brunch": ">= 1.0 < 1.8",
"discord.js": "^11.1.0", "discord.js": "^11.1.0",
"express": "~4.15.5", "express": "~4.15.5",
"express-handlebars": "~2.0.1", "express-handlebars": "~3.0.0",
"extend": "~3.0.0", "extend": "~3.0.0",
"howler": "~1.1.28", "howler": "~1.1.28",
"javascript-brunch": ">= 1.0 < 1.8", "javascript-brunch": ">= 1.0 < 1.8",