You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

create-dlightjs

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-dlightjs - npm Package Compare versions

Comparing version

to
1.0.0-next.1

2

package.json
{
"name": "create-dlightjs",
"version": "1.0.0-next.0",
"version": "1.0.0-next.1",
"description": "DLight cli",

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

@@ -6,2 +6,3 @@ import { View } from "@dlightjs/dlight"

@Main
@View

@@ -11,3 +12,3 @@ export default class App {

View() {
Body() {
div()

@@ -14,0 +15,0 @@ .class(wrap)

@@ -10,3 +10,3 @@ import { View } from "@dlightjs/dlight"

View() {
Body() {
button(this.content)

@@ -13,0 +13,0 @@ .class(this.btnStatus === 1 ? `${countBtn} ${btnHover}` : countBtn)

@@ -21,3 +21,3 @@ import { View } from "@dlightjs/dlight"

View() {
Body() {
div()

@@ -24,0 +24,0 @@ .class(headerWrap)

@@ -6,5 +6,5 @@ import { View, div } from "@dlightjs/dlight"

class App {
View() {
Body() {
div("hello dlight!")
}
}

@@ -6,5 +6,5 @@ import { View, Main, div } from "@dlightjs/dlight"

class App {
View() {
Body() {
div("hello dlight")
}
}

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

import { View, type Typed, div, p, button, span, type Pretty, type SubTyped } from "@dlightjs/dlight"
import { View, type Typed, div, p, button, span, type Pretty, type SnippetTyped, Snippet } from "@dlightjs/dlight"
import Header from "./Header.view"

@@ -16,3 +16,3 @@ import { wrap, slogan2, countWrap, countBtn, btnHover, btnWrap, countText, colorD, colorL, m0 } from "./style.module.css"

@View
@Snippet
Btn = (({ content, onClick, index }: BtnProps) => {

@@ -30,6 +30,6 @@ button(content)

})
}) as Pretty as SubTyped<BtnProps>
}) as Pretty as SnippetTyped<BtnProps>
View() {
Body() {
div()

@@ -36,0 +36,0 @@ .class(wrap)

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

import { View, type Typed, div, img, a, type Pretty } from "@dlightjs/dlight"
import { View, type Typed, div, img, a, Snippet, type Pretty, type SnippetTyped } from "@dlightjs/dlight"
import { headerWrap, navBtn, headerLogo } from "./style.module.css"

@@ -26,3 +26,3 @@

@View
@Snippet
Nav = (({ url, navName }: NavProps) => {

@@ -32,5 +32,5 @@ a(navName)

.href(url)
}) as Pretty as Typed<NavProps>
}) as Pretty as SnippetTyped<NavProps>
View() {
Body() {
div()

@@ -37,0 +37,0 @@ .class(headerWrap)