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

literaljs

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

literaljs - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "literaljs",
"version": "1.0.2",
"version": "1.0.3",
"description": "Lightweight components using template literals with a virtual dom and diff system.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,3 +10,4 @@ # LiteralJS

```Literal.Component(
```
Literal.Component(
`<p class="corn">

@@ -25,17 +26,13 @@ <div>

var firstComponent = Literal.Component(
`
<div>
`<div>
This should render like React.
<p>Isn't this lovely?</p>
${otherComponent}
</div>
`
</div>`
);
var secondComponent = Literal.Component(
`
<div>
`<div>
Oh yeah!
</div>
`
</div>`
);

@@ -42,0 +39,0 @@ ```

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