Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@api-viewer/demo

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@api-viewer/demo - npm Package Compare versions

Comparing version 1.0.0-pre.5 to 1.0.0-pre.6

6

lib/base.js

@@ -7,3 +7,3 @@ import { __decorate } from "tslib";

import './layout.js';
async function renderDemo(jsonFetched, onSelect, selected, id, exclude = '') {
async function renderDemo(jsonFetched, onSelect, only, selected, id, exclude = '') {
const manifest = await jsonFetched;

@@ -13,3 +13,3 @@ if (!hasCustomElements(manifest)) {

}
const elements = getCustomElements(manifest);
const elements = getCustomElements(manifest, only);
const data = getElementData(manifest, selected);

@@ -53,3 +53,3 @@ const props = getPublicFields(data.members);

return html `
${until(renderDemo(this.jsonFetched, this._onSelect, this.selected, this._id, this.excludeKnobs))}
${until(renderDemo(this.jsonFetched, this._onSelect, this.only, this.selected, this._id, this.excludeKnobs))}
`;

@@ -56,0 +56,0 @@ }

{
"name": "@api-viewer/demo",
"version": "1.0.0-pre.5",
"version": "1.0.0-pre.6",
"publishConfig": {

@@ -35,4 +35,4 @@ "access": "public"

"dependencies": {
"@api-viewer/common": "^1.0.0-pre.5",
"@api-viewer/tabs": "^1.0.0-pre.5",
"@api-viewer/common": "^1.0.0-pre.6",
"@api-viewer/tabs": "^1.0.0-pre.6",
"highlight-ts": "9.12.1-2",

@@ -39,0 +39,0 @@ "lit": "^2.0.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc