exegesis-express
Advanced tools
Comparing version 2.0.0 to 2.0.1
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.middleware = void 0; | ||
const exegesis = __importStar(require("exegesis")); | ||
__export(require("exegesis/lib/types/index")); | ||
__exportStar(require("exegesis/lib/types/index"), exports); | ||
function middleware(openApiDoc, options, done) { | ||
@@ -16,0 +29,0 @@ if (done) { |
{ | ||
"name": "exegesis-express", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Express middleware to handle OpenAPI 3.x.", | ||
@@ -17,7 +17,6 @@ "main": "dist/index.js", | ||
"precommit:unittest": "tsc -p test && mocha --reporter progress 'test/**/*.@(ts|js)'", | ||
"lint": "npm run lint:source && npm run lint:markdown && npm run lint:tests", | ||
"lint": "npm run lint:source && npm run lint:tests", | ||
"lint:source": "tslint -c tslint.json -t stylish 'src/**/*.ts'", | ||
"lint:tests": "tslint -c test/tslint.json -t stylish 'test/**/*.ts'", | ||
"lint:markdown": "markdownlint src/**/*.md README.md", | ||
"prepare": "npm run build", | ||
"prepare": "husky install && npm run build", | ||
"prepublishOnly": "npm run build && npm test", | ||
@@ -54,9 +53,4 @@ "semantic-release": "semantic-release" | ||
"homepage": "https://github.com/exegesis-js/exegesis-express#readme", | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm run precommit:test" | ||
} | ||
}, | ||
"dependencies": { | ||
"exegesis": "^2.0.0" | ||
"exegesis": "^2.5.7" | ||
}, | ||
@@ -67,4 +61,4 @@ "devDependencies": { | ||
"@types/express": "^4.16.1", | ||
"@types/mocha": "^5.2.6", | ||
"@types/node": "^12.0.2", | ||
"@types/mocha": "^8.2.2", | ||
"@types/node": "^15.0.3", | ||
"chai": "^4.2.0", | ||
@@ -74,12 +68,11 @@ "chai-as-promised": "^7.1.1", | ||
"express": "^4.16.4", | ||
"husky": "^2.3.0", | ||
"lint-staged": "^8.1.5", | ||
"markdownlint-cli": "^0.16.0", | ||
"mocha": "^6.0.2", | ||
"nyc": "^14.0.0", | ||
"semantic-release": "^15.13.3", | ||
"husky": "^6.0.0", | ||
"lint-staged": "^11.0.0", | ||
"mocha": "^8.4.0", | ||
"nyc": "^15.0.1", | ||
"semantic-release": "^17.4.3", | ||
"supertest-fetch": "^1.2.4", | ||
"ts-node": "^8.0.3", | ||
"tslint": "^5.14.0", | ||
"typescript": "^3.4.1" | ||
"ts-node": "^9.1.1", | ||
"tslint": "^6.1.3", | ||
"typescript": "^4.2.4" | ||
}, | ||
@@ -86,0 +79,0 @@ "greenkeeper": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12323
18
59
Updatedexegesis@^2.5.7