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

rapidoc-core

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rapidoc-core - npm Package Compare versions

Comparing version 0.0.1-alfa.6 to 0.0.1-alfa.7

2

package.json
{
"name": "rapidoc-core",
"version": "0.0.1-alfa.6",
"version": "0.0.1-alfa.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/rapidoc-core.js",

import _ from 'lodash';
import html from '@popeindustries/lit-html-server';
import { html, renderToString } from '@popeindustries/lit-html-server';
// import html from '@popeindustries/lit-html-server';
import numRef from './ref.json';

@@ -14,7 +15,12 @@

export function card(data) {
function cardTemplate(data) {
return html`
<h1> ${data.title}</h1>
<p> ${data.text}</p>
<h3> ${data.text}</h3>
`;
}
export async function cardHtml(data) {
const resultHtml = await renderToString(cardTemplate(data));
return resultHtml;
}

Sorry, the diff of this file is too big to display

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