Socket
Socket
Sign inDemoInstall

mini-van-plate

Package Overview
Dependencies
0
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0-rc.4 to 0.4.0-rc.5

2

package.json
{
"name": "mini-van-plate",
"version": "0.4.0-rc.4",
"version": "0.4.0-rc.5",
"description": "A minimalist template engine for DOM generation and manipulation, working for both client-side and server-side rendering",

@@ -5,0 +5,0 @@ "files": [

@@ -157,3 +157,3 @@ # **Mini-Van**: A Minimalist Template Engine for Client/Server-side Rendering without JSX

```typescript
import van from "https://deno.land/x/minivan@0.3.9/src/van-plate.js"
import van from "https://deno.land/x/minivan@0.4.0/src/van-plate.js"

@@ -199,3 +199,3 @@ const {a, body, li, p, ul} = van.tags

import { DOMParser } from "https://deno.land/x/deno_dom@v0.1.38/deno-dom-wasm.ts"
import van from "https://deno.land/x/minivan@0.3.9/src/mini-van.js"
import van from "https://deno.land/x/minivan@0.4.0/src/mini-van.js"

@@ -240,3 +240,3 @@ const document = new DOMParser().parseFromString("", "text/html")!

```javascript
import van from "https://cdn.jsdelivr.net/gh/vanjs-org/mini-van/public/mini-van-0.3.9.min.js"
import van from "https://cdn.jsdelivr.net/gh/vanjs-org/mini-van/public/mini-van-0.4.0.min.js"
```

@@ -247,6 +247,6 @@

```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/vanjs-org/mini-van/public/mini-van-0.3.9.nomodule.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/vanjs-org/mini-van/public/mini-van-0.4.0.nomodule.min.js"></script>
```
Alternative, you can download the files ([`mini-van-0.3.9.min.js`](https://vanjs.org/autodownload?file=mini-van-0.3.9.min.js), [`mini-van-0.3.9.nomodule.min.js`](https://vanjs.org/autodownload?file=mini-van-0.3.9.nomodule.min.js)) and serve them locally.
Alternative, you can download the files ([`mini-van-0.4.0.min.js`](https://vanjs.org/autodownload?file=mini-van-0.4.0.min.js), [`mini-van-0.4.0.nomodule.min.js`](https://vanjs.org/autodownload?file=mini-van-0.4.0.nomodule.min.js)) and serve them locally.

@@ -253,0 +253,0 @@ You can find all relevant **Mini-Van** files in this [Download Table](https://vanjs.org/minivan#download-table).

@@ -20,3 +20,3 @@ export interface State<T> {

export type BindingFunc<ElementType, TextNodeType> =
(dom: ElementType | TextNodeType) => ValidChildDomValue<ElementType, TextNodeType>
(dom: ElementType | TextNodeType | undefined) => ValidChildDomValue<ElementType, TextNodeType>

@@ -23,0 +23,0 @@ export type ChildDom<ElementType, TextNodeType> =

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc