deps: install xmlhttprequest

This commit is contained in:
peaceiris 2019-09-16 03:54:38 +09:00
parent c697c41ad2
commit 8b02a56ca6
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,5 @@
const XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest;
function getLatestVersion() {
return new Promise((resolve, reject) => {
// if (typeof milliseconds !== "number") {

5
package-lock.json generated
View File

@ -5354,6 +5354,11 @@
"integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==",
"dev": true
},
"xmlhttprequest": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
"integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw="
},
"y18n": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",

View File

@ -27,7 +27,8 @@
"dependencies": {
"@actions/core": "^1.1.0",
"@actions/io": "^1.0.1",
"@actions/tool-cache": "^1.1.1"
"@actions/tool-cache": "^1.1.1",
"xmlhttprequest": "^1.8.0"
},
"devDependencies": {
"eslint": "^6.3.0",