Socket
Socket
Sign inDemoInstall

uland

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uland - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "uland",
"version": "0.3.0",
"version": "0.3.1",
"main": "./cjs/index.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -43,2 +43,15 @@ # 🦄 <em>µ</em>land

In version 0.3, *µland* can return conditional templates.
```js
const Rando = Component(url => {
const {data, error} = useSWR(url, fetcher);
if (error) return html`<div>failed to load</div>`;
if (!data) return html`<div>loading...</div>`;
return html`<div>${data.title}</div>`;
});
```
Once proven to be useful and robust, this feature will be ported to *neverland* too, otherwise these are basically the same.
**Technically** speaking, just the following one:

@@ -45,0 +58,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