openapi-explorer 0.8.273 → 0.8.277

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openapi-explorer",
3
- "version": "0.8.273",
3
+ "version": "0.8.277",
4
4
  "description": "OpenAPI Explorer - API viewer with dynamically generated components, documentation, and interaction console",
5
5
  "author": "Rhosys Developers <developers@rhosys.ch>",
6
6
  "repository": {
@@ -48,7 +48,7 @@
48
48
  "lit-element": "2.4.0",
49
49
  "lit-html": "^1.1.1",
50
50
  "lodash.clonedeep": "^4.5.0",
51
- "marked": "^2.0.1",
51
+ "marked": "^4.0.16",
52
52
  "mime-types": "^2.1.32",
53
53
  "openapi-data-validator": "^2.0.40",
54
54
  "path-browserify": "^1.0.1",
@@ -1,5 +1,5 @@
1
1
  import { LitElement, html } from 'lit-element';
2
- import marked from 'marked';
2
+ import { marked } from 'marked';
3
3
  import Prism from 'prismjs';
4
4
  import mime from 'mime-types';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { LitElement, html, css } from 'lit-element';
2
- import marked from 'marked';
2
+ import { marked } from 'marked';
3
3
  import { unsafeHTML } from 'lit-html/directives/unsafe-html';
4
4
  import { schemaInObjectNotation, generateExample } from '../utils/schema-utils';
5
5
  import FontStyles from '../styles/font-styles';
@@ -1,5 +1,5 @@
1
1
  import { LitElement, html, css } from 'lit-element';
2
- import marked from 'marked';
2
+ import { marked } from 'marked';
3
3
  import { unsafeHTML } from 'lit-html/directives/unsafe-html';
4
4
  import FontStyles from '../styles/font-styles';
5
5
  import SchemaStyles from '../styles/schema-styles';
@@ -1,5 +1,5 @@
1
1
  import { LitElement, html, css } from 'lit-element';
2
- import marked from 'marked';
2
+ import { marked } from 'marked';
3
3
  import { unsafeHTML } from 'lit-html/directives/unsafe-html';
4
4
  import FontStyles from '../styles/font-styles';
5
5
  import SchemaStyles from '../styles/schema-styles';
@@ -1,5 +1,5 @@
1
1
  import { css, LitElement, unsafeCSS } from 'lit-element';
2
- import marked from 'marked';
2
+ import { marked } from 'marked';
3
3
  import Prism from 'prismjs';
4
4
 
5
5
  // It's possible none of these imports are actually necessary and should just be removed
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable no-console */
2
2
  import { html } from 'lit-element';
3
3
  import { unsafeHTML } from 'lit-html/directives/unsafe-html';
4
- import marked from 'marked';
4
+ import { marked } from 'marked';
5
5
  import '../components/json-tree';
6
6
  import '../components/schema-tree';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import { html } from 'lit-element';
2
2
  import { unsafeHTML } from 'lit-html/directives/unsafe-html';
3
- import marked from 'marked';
3
+ import { marked } from 'marked';
4
4
  import '../components/api-request';
5
5
  import '../components/api-response';
6
6
  import codeSamplesTemplate from './code-samples-template';
@@ -1,6 +1,6 @@
1
1
  import { html } from 'lit-element';
2
2
  import { unsafeHTML } from 'lit-html/directives/unsafe-html';
3
- import marked from 'marked';
3
+ import { marked } from 'marked';
4
4
  import { pathSecurityTemplate } from './security-scheme-template';
5
5
  import codeSamplesTemplate from './code-samples-template';
6
6
  import callbackTemplate from './callback-template';
@@ -1,6 +1,6 @@
1
1
  import { html } from 'lit-element';
2
2
  import { unsafeHTML } from 'lit-html/directives/unsafe-html';
3
- import marked from 'marked';
3
+ import { marked } from 'marked';
4
4
  import { expandedEndpointBodyTemplate } from './expanded-endpoint-template';
5
5
  import '../components/api-request';
6
6
  import '../components/api-response';
@@ -1,5 +1,5 @@
1
1
  import { html } from 'lit-element';
2
- import marked from 'marked';
2
+ import { marked } from 'marked';
3
3
  import { pathIsInSearch } from '../utils/common-utils';
4
4
 
5
5
  export function expandCollapseNavBarTag(navLinkEl, action = 'toggle') {
@@ -1,6 +1,6 @@
1
1
  import { html } from 'lit-element';
2
2
  import { unsafeHTML } from 'lit-html/directives/unsafe-html';
3
- import marked from 'marked';
3
+ import { marked } from 'marked';
4
4
 
5
5
  /* eslint-disable indent */
6
6
  function headingRenderer() {
@@ -1,6 +1,6 @@
1
1
  import { html } from 'lit-element';
2
2
  import { unsafeHTML } from 'lit-html/directives/unsafe-html';
3
- import marked from 'marked';
3
+ import { marked } from 'marked';
4
4
  import base64url from 'base64url';
5
5
  import randomBytes from 'randombytes';
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { html } from 'lit-element';
2
- import marked from 'marked';
2
+ import { marked } from 'marked';
3
3
  import { unsafeHTML } from 'lit-html/directives/unsafe-html';
4
4
 
5
5
  function onApiServerChange(e, server) {
@@ -1,5 +1,5 @@
1
1
  import SwaggerClient from 'swagger-client';
2
- import marked from 'marked';
2
+ import { marked } from 'marked';
3
3
  import yaml from 'js-yaml';
4
4
  import { invalidCharsRegEx } from './common-utils';
5
5