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

folonite.js

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

folonite.js - npm Package Compare versions

Comparing version 1.2.25 to 1.2.26

2

package.json
{
"name": "folonite.js",
"version": "1.2.25",
"version": "1.2.26",
"description": "Folonite.js - The first lightweight framework that integrates dynamic server-side rendering (SSR), streaming capabilities, and an external component marketplace.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -1,4 +0,8 @@

export default function HeaderComponent() {
return `<header><h1>Welcome to Folonite.js</h1></header>`;
}
// src/components/Header.js
export default function Header(props) {
return `
<header>
<h1>${props.title || 'Default Title'}</h1>
</header>
`;
}

@@ -0,5 +1,6 @@

// src/pages/home.js
export default function HomePage() {
return `
<Component name="Header" />
<Component name="Header" props='{"title":"Welcome to Folonite.js"}' />
<main>
<section style="margin-bottom: 30px;">

@@ -32,3 +33,2 @@ <p>

</section>
</main>

@@ -38,1 +38,2 @@ <Component name="Footer" />

}
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