openapi2html
Advanced tools
Comparing version 1.1.14 to 1.1.16
const ReactDomServer = require('react-dom/server'); | ||
// eslint-disable-next-line import/no-unresolved | ||
// eslint-disable-next-line import/no-unresolved,import/extensions | ||
const Api = require('./components/Api'); | ||
@@ -4,0 +4,0 @@ |
@@ -6,3 +6,3 @@ const Hapi = require('@hapi/hapi'); // eslint-disable-line import/no-extraneous-dependencies | ||
const path = require('path'); | ||
const openapi2html = require('..'); | ||
const openapi2html = require('.'); | ||
@@ -9,0 +9,0 @@ const readFile = util.promisify(fs.readFile); |
{ | ||
"name": "openapi2html", | ||
"version": "1.1.14", | ||
"version": "1.1.16", | ||
"description": "Yet another static html generator for Open API 2.0 / Swagger 2.0", | ||
@@ -29,3 +29,3 @@ "main": "build/index.js", | ||
"lint": "eslint src/*.js src/components/*.jsx test/**/*.js --ignore-path ./.eslintignore", | ||
"test": "jest test/*", | ||
"test": "jest --coverage test/*", | ||
"coveralls": "nyc report --reporter=lcovonly && cat ./coverage/lcov.info | coveralls", | ||
@@ -36,3 +36,3 @@ "preversion": "npm run lint && npm test", | ||
"watch:jsx": "babel --watch src --out-dir build", | ||
"prepublishOnly": "npm run build", | ||
"prepublishOnly": "npm run build && git push --tags", | ||
"build": "babel src --out-dir build" | ||
@@ -44,36 +44,38 @@ }, | ||
"devDependencies": { | ||
"@hapi/hapi": "^19.0.5", | ||
"@hapi/hapi": "^20.1.5", | ||
"babel-cli": "^6.26.0", | ||
"babel-eslint": "^10.0.3", | ||
"babel-eslint": "^10.1.0", | ||
"babel-plugin-transform-react-jsx": "^6.24.1", | ||
"chai": "^4.2.0", | ||
"braces": ">=2.3.1", | ||
"chai": "^4.3.4", | ||
"chai-as-promised": "^7.1.1", | ||
"coveralls": "^3.0.9", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb": "^18.0.1", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-plugin-import": "^2.20.0", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-react": "^7.18.0", | ||
"coveralls": "^3.1.1", | ||
"eslint": "^7.32.0", | ||
"eslint-config-airbnb": "^18.2.1", | ||
"eslint-config-airbnb-base": "^14.2.1", | ||
"eslint-plugin-import": "^2.24.2", | ||
"eslint-plugin-jsx-a11y": "^6.4.1", | ||
"eslint-plugin-promise": "^5.1.0", | ||
"eslint-plugin-react": "^7.24.0", | ||
"eslint-plugin-should-promised": "^2.0.0", | ||
"html-entities": "^1.2.1", | ||
"glob-parent": ">=5.1.2", | ||
"html-entities": "^2.3.2", | ||
"jest": "^27.0.6", | ||
"nodemon": "^2.0.2", | ||
"nodemon": "^2.0.12", | ||
"npm-run-all": "^4.1.5", | ||
"request": "^2.88.0", | ||
"request-promise": "^4.2.5", | ||
"sinon": "^8.1.1", | ||
"sinon-chai": "^3.4.0", | ||
"swagger-parser": "^8.0.4" | ||
"request": "^2.88.2", | ||
"request-promise": "^4.2.6", | ||
"sinon": "^11.1.2", | ||
"sinon-chai": "^3.7.0", | ||
"swagger-parser": "^10.0.3" | ||
}, | ||
"dependencies": { | ||
"decamelize": "^4.0.0", | ||
"decamelize": "^5.0.0", | ||
"json-stringify-safe": "^5.0.1", | ||
"markdown-it": "^10.0.0", | ||
"markdown-it": "^12.2.0", | ||
"prop-types": "^15.7.2", | ||
"react": "^16.12.0", | ||
"react-dom": "^16.12.0", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react-render-html": "^0.6.0" | ||
} | ||
} |
@@ -5,7 +5,6 @@ # openapi2html | ||
[![Build Status](https://travis-ci.org/frankthelen/openapi2html.svg?branch=master)](https://travis-ci.org/frankthelen/openapi2html) | ||
[![Coverage Status](https://coveralls.io/repos/github/frankthelen/openapi2html/badge.svg?branch=master)](https://coveralls.io/github/frankthelen/openapi2html?branch=master) | ||
[![dependencies Status](https://david-dm.org/frankthelen/openapi2html/status.svg)](https://david-dm.org/frankthelen/openapi2html) | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/frankthelen/openapi2html.svg)](https://greenkeeper.io/) | ||
[![Maintainability](https://api.codeclimate.com/v1/badges/cd10c9d71a7f675c43dc/maintainability)](https://codeclimate.com/github/frankthelen/openapi2html/maintainability) | ||
![main workflow](https://github.com/funny-bytes/openapi2html/actions/workflows/main.yml/badge.svg) | ||
[![Coverage Status](https://coveralls.io/repos/github/funny-bytes/openapi2html/badge.svg?branch=master)](https://coveralls.io/github/funny-bytes/openapi2html?branch=master) | ||
[![dependencies Status](https://david-dm.org/funny-bytes/openapi2html/status.svg)](https://david-dm.org/funny-bytes/openapi2html) | ||
[![Maintainability](https://api.codeclimate.com/v1/badges/cd10c9d71a7f675c43dc/maintainability)](https://codeclimate.com/github/funny-bytes/openapi2html/maintainability) | ||
[![node](https://img.shields.io/node/v/openapi2html.svg)]() | ||
@@ -12,0 +11,0 @@ [![code style](https://img.shields.io/badge/code_style-airbnb-brightgreen.svg)](https://github.com/airbnb/javascript) |
36279
26
105
+ Addedargparse@2.0.1(transitive)
+ Addeddecamelize@5.0.1(transitive)
+ Addedentities@2.1.0(transitive)
+ Addedlinkify-it@3.0.3(transitive)
+ Addedmarkdown-it@12.3.2(transitive)
+ Addedreact@17.0.2(transitive)
+ Addedreact-dom@17.0.2(transitive)
+ Addedscheduler@0.20.2(transitive)
- Removedargparse@1.0.10(transitive)
- Removeddecamelize@4.0.0(transitive)
- Removedentities@2.0.3(transitive)
- Removedlinkify-it@2.2.0(transitive)
- Removedmarkdown-it@10.0.0(transitive)
- Removedreact-dom@16.14.0(transitive)
- Removedscheduler@0.19.1(transitive)
- Removedsprintf-js@1.0.3(transitive)
Updateddecamelize@^5.0.0
Updatedmarkdown-it@^12.2.0
Updatedreact@^17.0.2
Updatedreact-dom@^17.0.2