Socket
Socket
Sign inDemoInstall

mini-van-plate

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-van-plate - npm Package Compare versions

Comparing version 0.2.10 to 0.2.11

2

package.json
{
"name": "mini-van-plate",
"version": "0.2.10",
"version": "0.2.11",
"description": "A Minimalist Template Engine for DOM Generation and Manipulation, Working for Both Client-side and Server-side Rendering",

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

@@ -39,3 +39,3 @@ # **Mini-Van**: A Minimalist Template Engine for DOM Generation, Working for Both Client-side and Server-side Rendering

import { serve } from "https://deno.land/std@0.184.0/http/server.ts"
import van from "https://deno.land/x/minivan@0.2.10/src/van-plate.js"
import van from "https://deno.land/x/minivan@0.2.11/src/van-plate.js"

@@ -86,3 +86,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.2.10/src/mini-van.js"
import van from "https://deno.land/x/minivan@0.2.11/src/mini-van.js"

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

To get started on the client side, download the latest version [`mini-van-0.2.10.min.js`](https://vanjs.org/autodownload?file=mini-van-0.2.10.min.js) and add the line below to your script:
To get started on the client side, download the latest version [`mini-van-0.2.11.min.js`](https://vanjs.org/autodownload?file=mini-van-0.2.11.min.js) and add the line below to your script:
```javascript
import van from "./mini-van-0.2.10.min.js"
import van from "./mini-van-0.2.11.min.js"
```
To code without ES6 modules, you can download the bundled version [`mini-van-0.2.10.nomodule.min.js`](https://vanjs.org/autodownload?file=mini-van-0.2.10.nomodule.min.js) and add the following line to your HTML file instead:
To code without ES6 modules, you can download the bundled version [`mini-van-0.2.11.nomodule.min.js`](https://vanjs.org/autodownload?file=mini-van-0.2.11.nomodule.min.js) and add the following line to your HTML file instead:
```html
<script type="text/javascript" src="mini-van-0.2.10.nomodule.min.js"></script>
<script type="text/javascript" src="mini-van-0.2.11.nomodule.min.js"></script>
```

@@ -140,0 +140,0 @@

@@ -28,2 +28,2 @@ /// <reference types="./mini-van.d.ts" />

export default {"vanWithDoc": vanWithDoc, ...vanWithDoc(window.document)}
export default {"vanWithDoc": vanWithDoc, ...vanWithDoc(window?.document)}
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