Socket
Socket
Sign inDemoInstall

araz

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

araz - npm Package Compare versions

Comparing version 1.2.2 to 2.0.0

9

package.json
{
"name": "araz",
"version": "1.2.2",
"version": "2.0.0",
"description": "",

@@ -26,7 +26,6 @@ "main": "index.ts",

"dependencies": {
"lodash-es": "^4.17.21",
"@types/lodash-es": "^4.17.8"
"@types/lodash-es": "^4.17.8",
"lodash-es": "^4.17.21"
},
"devDependencies": {
}
"devDependencies": {}
}
import { Mount } from "./types";
export const mount = ({$node, $target}: Mount): HTMLElement => {

@@ -3,0 +4,0 @@ $target.replaceWith($node);

import { isArray } from "lodash-es";
import { HTMLTags } from "./types";
import { el } from "./element";

@@ -24,3 +25,3 @@

export const RouterView = (props: HTML)=>{
export const RouterView = (props: HTMLTags)=>{

@@ -27,0 +28,0 @@ return el({

@@ -1,2 +0,2 @@

type HTMLTags = 'a' | 'abbr' | 'address' | 'area' | 'article' | 'aside' | 'audio' | 'b' |
export type HTMLTags = 'a' | 'abbr' | 'address' | 'area' | 'article' | 'aside' | 'audio' | 'b' |
'base' | 'bdi' | 'bdo' | 'blockquote' | 'body' | 'br' | 'button' | 'canvas' | 'caption' |

@@ -14,2 +14,6 @@ 'cite' | 'code' | 'col' | 'colgroup' | 'data' | 'datalist' | 'dd' | 'del' | 'details' |

export interface Mount {
$node: HTMLElement,
$target: HTMLElement
}

@@ -16,0 +20,0 @@ export type EventHandler = (event: Event) => void;

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