-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from sensebox/chore/deps
Update dependencies
- Loading branch information
Showing
11 changed files
with
1,124 additions
and
547 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,25 +2,26 @@ | |
"name": "blockly-remote-compiler", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"type": "module", | ||
"author": "Gerald Pape <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
"start": "node src/index.js", | ||
"test": "mocha --exit --timeout 60000 --reporter mocha-multi-reporters --reporter-options configFile=mocha-reporters.json" | ||
}, | ||
"dependencies": { | ||
"body-parser": "^1.18.2", | ||
"body-parser": "^1.20.3", | ||
"connect": "^3.6.6", | ||
"morgan": "^1.9.1", | ||
"response-time": "^2.3.2", | ||
"rimraf": "^3.0.2", | ||
"response-time": "^2.3.3", | ||
"rimraf": "^6.0.1", | ||
"spawn-promise": "^0.1.8", | ||
"tempy": "^0.2.1" | ||
"tempy": "^3.1.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.2.0", | ||
"chai-http": "^4.2.0", | ||
"mocha": "^5.2.0", | ||
"chai": "^5.1.2", | ||
"chai-http": "^5.1.1", | ||
"mocha": "^11.0.1", | ||
"mocha-ctrf-json-reporter": "^0.0.6", | ||
"mocha-multi-reporters": "^1.5.1" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,6 @@ | ||
const util = require("util"); | ||
const rimraf = require("rimraf"); | ||
const rimraf_promise = util.promisify(rimraf); | ||
|
||
const HTTPError = function HTTPError({ code = 500, error = "" }) { | ||
export function HTTPError({ code = 500, error = "" }) { | ||
const err = new Error(error); | ||
err.statusCode = code; | ||
|
||
return err; | ||
}; | ||
|
||
module.exports = { | ||
HTTPError, | ||
rimraf_promise, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.