hmpo-stubber
Advanced tools
Comparing version 2.0.2 to 3.0.0
{ | ||
"name": "hmpo-stubber", | ||
"version": "2.0.2", | ||
"version": "3.0.0", | ||
"description": "Create dynamic stub API services using a simple JSON configuration", | ||
@@ -10,6 +10,7 @@ "main": "./lib", | ||
"scripts": { | ||
"test": "npm run test:lint && npm run test:unit && npm run test:cover && npm audit --production", | ||
"test": "npm run test:lint && npm run test:unit && npm run test:cover", | ||
"test:lint": "eslint .", | ||
"test:unit": "nyc --reporter=lcov --reporter=text-summary _mocha test/unit/ --recursive --require test/unit/helper", | ||
"test:cover": "nyc check-coverage" | ||
"test:cover": "nyc check-coverage", | ||
"prepare": "husky" | ||
}, | ||
@@ -32,3 +33,3 @@ "bin": { | ||
"engines": { | ||
"node": ">=14" | ||
"node": "20.x || 22.x" | ||
}, | ||
@@ -40,5 +41,5 @@ "bugs": { | ||
"dependencies": { | ||
"body-parser": "^1.20.2", | ||
"debug": "^4.3.6", | ||
"express": "^4.19.2", | ||
"body-parser": "^1.20.3", | ||
"debug": "^4.3.7", | ||
"express": "^4.21.1", | ||
"optionator": "^0.9.4", | ||
@@ -49,9 +50,12 @@ "underscore": "^1.13.7" | ||
"chai": "^4.5.0", | ||
"eslint": "^8.57.0", | ||
"mocha": "^10.7.0", | ||
"nyc": "^17.0.0", | ||
"eslint": "^9.12.0", | ||
"globals": "^15.9.0", | ||
"hmpo-reqres": "^2.0.0", | ||
"husky": "^9.1.6", | ||
"mocha": "^10.7.3", | ||
"nyc": "^17.1.0", | ||
"proxyquire": "^2.1.3", | ||
"reqres": "^3.0.1", | ||
"sinon": "^18.0.0", | ||
"sinon-chai": "^3.7.0" | ||
"sinon": "^19.0.2", | ||
"sinon-chai": "^3.7.0", | ||
"sinon-test": "^3.1.6" | ||
}, | ||
@@ -63,3 +67,4 @@ "nyc": { | ||
"bin/**", | ||
"test/**" | ||
"test/**", | ||
"eslint.config.js" | ||
], | ||
@@ -66,0 +71,0 @@ "lines": 100, |
@@ -8,4 +8,4 @@ 'use strict'; | ||
global.expect = chai.expect; | ||
global.reqres = require('reqres'); | ||
global.reqres = require('hmpo-reqres'); | ||
global.proxyquire = require('proxyquire'); | ||
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
69535
1562
11
30
1
Updatedbody-parser@^1.20.3
Updateddebug@^4.3.7
Updatedexpress@^4.21.1