rapidoc 9.3.3 → 9.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/.github/workflow/words.yaml +22 -0
  2. package/dist/rapidoc-min.js +815 -709
  3. package/dist/rapidoc-min.js.LICENSE.txt +8 -7
  4. package/dist/rapidoc-min.js.LICENSE.txt.gz +0 -0
  5. package/dist/rapidoc-min.js.gz +0 -0
  6. package/dist/rapidoc-min.js.map +1 -1
  7. package/dist/rapidoc-min.js.map.gz +0 -0
  8. package/dist/rapidoc.js +17680 -31489
  9. package/dist/report.html +5 -4
  10. package/package.json +18 -18
  11. package/src/components/api-request.js +218 -112
  12. package/src/components/api-response.js +11 -10
  13. package/src/components/json-tree.js +17 -12
  14. package/src/components/schema-table.js +47 -39
  15. package/src/components/schema-tree.js +55 -52
  16. package/src/components/tag-input.js +7 -4
  17. package/src/json-schema-viewer.js +1 -1
  18. package/src/rapidoc-mini.js +1 -1
  19. package/src/rapidoc.js +98 -30
  20. package/src/styles/endpoint-styles.js +1 -1
  21. package/src/styles/info-styles.js +2 -1
  22. package/src/styles/input-styles.js +2 -16
  23. package/src/styles/nav-styles.js +57 -10
  24. package/src/styles/schema-styles.js +27 -15
  25. package/src/styles/tab-styles.js +1 -0
  26. package/src/templates/callback-template.js +3 -3
  27. package/src/templates/code-samples-template.js +1 -0
  28. package/src/templates/components-template.js +3 -5
  29. package/src/templates/endpoint-template.js +38 -25
  30. package/src/templates/expanded-endpoint-template.js +57 -8
  31. package/src/templates/focused-endpoint-template.js +4 -1
  32. package/src/templates/header-template.js +2 -2
  33. package/src/templates/json-schema-viewer-template.js +2 -1
  34. package/src/templates/main-body-template.js +19 -18
  35. package/src/templates/navbar-template.js +98 -81
  36. package/src/templates/overview-template.js +1 -1
  37. package/src/templates/security-scheme-template.js +48 -25
  38. package/src/templates/server-template.js +1 -1
  39. package/src/utils/common-utils.js +1 -1
  40. package/src/utils/schema-utils.js +161 -63
  41. package/src/utils/spec-parser.js +1 -0
  42. package/src/utils/theme.js +9 -3
  43. package/webpack.config.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapidoc",
3
- "version": "9.3.3",
3
+ "version": "9.3.4",
4
4
  "description": "RapiDoc - Open API spec viewer with built in console",
5
5
  "author": "Mrinmoy Majumdar <mrin9@yahoo.com>",
6
6
  "homepage": "https://rapidocweb.com",
@@ -33,12 +33,12 @@
33
33
  "module": "dist/rapidoc-min.js",
34
34
  "mode": "production",
35
35
  "dependencies": {
36
- "@apitools/openapi-parser": "^0.0.25",
36
+ "@apitools/openapi-parser": "0.0.30",
37
37
  "base64-arraybuffer": "^1.0.2",
38
38
  "buffer": "^6.0.3",
39
- "lit": "^2.2.7",
40
- "marked": "^4.0.17",
41
- "prismjs": "^1.28.0",
39
+ "lit": "^2.6.1",
40
+ "marked": "^4.2.12",
41
+ "prismjs": "^1.29.0",
42
42
  "xml-but-prettier": "^1.0.1"
43
43
  },
44
44
  "scripts": {
@@ -51,30 +51,30 @@
51
51
  "lint-fix": "./node_modules/eslint/bin/eslint.js --fix ./src/**"
52
52
  },
53
53
  "devDependencies": {
54
- "@babel/core": "^7.18.6",
55
- "@babel/eslint-parser": "^7.18.2",
56
- "@babel/preset-env": "^7.18.6",
57
- "babel-loader": "^8.2.5",
54
+ "@babel/core": "^7.20.12",
55
+ "@babel/eslint-parser": "^7.19.1",
56
+ "@babel/preset-env": "^7.20.2",
57
+ "babel-loader": "^9.1.2",
58
58
  "babel-plugin-template-html-minifier": "^4.1.0",
59
59
  "clean-webpack-plugin": "^4.0.0",
60
60
  "compression-webpack-plugin": "^10.0.0",
61
- "css-loader": "^6.7.1",
62
- "eslint": "^8.19.0",
61
+ "css-loader": "^6.7.3",
62
+ "eslint": "^8.32.0",
63
63
  "eslint-config-airbnb": "^19.0.4",
64
64
  "eslint-import-resolver-webpack": "^0.13.2",
65
- "eslint-plugin-import": "^2.26.0",
65
+ "eslint-plugin-import": "^2.27.0",
66
66
  "eslint-webpack-plugin": "3.2.0",
67
67
  "file-loader": "^6.2.0",
68
- "filemanager-webpack-plugin": "^7.0.0",
68
+ "filemanager-webpack-plugin": "^8.0.0",
69
69
  "html-webpack-plugin": "^5.5.0",
70
70
  "inspectpack": "^4.7.1",
71
71
  "style-loader": "^3.3.1",
72
- "terser-webpack-plugin": "^5.3.3",
72
+ "terser-webpack-plugin": "^5.3.6",
73
73
  "unminified-webpack-plugin": "^3.0.0",
74
- "webpack": "^5.73.0",
75
- "webpack-bundle-analyzer": "^4.5.0",
76
- "webpack-cli": "^4.10.0",
77
- "webpack-dev-server": "^4.9.3"
74
+ "webpack": "^5.75.0",
75
+ "webpack-bundle-analyzer": "^4.7.0",
76
+ "webpack-cli": "^5.0.1",
77
+ "webpack-dev-server": "^4.11.1"
78
78
  },
79
79
  "engines": {
80
80
  "node": ">=10.21.0"