Socket
Socket
Sign inDemoInstall

cyano-mithril

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cyano-mithril - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

dist/cyano-mithril.cjs

323

dist/cyano-mithril.module.js

@@ -1,169 +0,172 @@

import m from 'mithril';
import { withHooks } from 'mithril-hooks';
export {
useCallback,
useEffect,
useLayoutEffect,
useMemo,
useReducer,
useRef,
useState,
} from 'mithril-hooks';
var htmlAttributes = {
accept: 'accept',
acceptcharset: 'acceptcharset',
accesskey: 'accesskey',
action: 'action',
allowfullscreen: 'allowfullscreen',
allowtransparency: 'allowtransparency',
alt: 'alt',
async: 'async',
autocomplete: 'autocomplete',
autofocus: 'autofocus',
autoplay: 'autoplay',
capture: 'capture',
cellpadding: 'cellpadding',
cellspacing: 'cellspacing',
challenge: 'challenge',
charset: 'charset',
checked: 'checked',
class: 'className',
classid: 'classid',
classname: 'className',
import m from "mithril";
import { withHooks } from "mithril-hooks";
import { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "mithril-hooks";
const htmlAttributes = {
accept: "accept",
acceptcharset: "acceptcharset",
accesskey: "accesskey",
action: "action",
allowfullscreen: "allowfullscreen",
allowtransparency: "allowtransparency",
alt: "alt",
async: "async",
autocomplete: "autocomplete",
autofocus: "autofocus",
autoplay: "autoplay",
capture: "capture",
cellpadding: "cellpadding",
cellspacing: "cellspacing",
challenge: "challenge",
charset: "charset",
checked: "checked",
class: "className",
classid: "classid",
classname: "className",
// Special case:
className: 'className',
colspan: 'colspan',
cols: 'cols',
content: 'content',
contenteditable: 'contenteditable',
contextmenu: 'contextmenu',
controls: 'controls',
coords: 'coords',
crossorigin: 'crossorigin',
data: 'data',
datetime: 'datetime',
default: 'default',
defer: 'defer',
dir: 'dir',
disabled: 'disabled',
download: 'download',
draggable: 'draggable',
enctype: 'enctype',
for: 'for',
form: 'form',
formaction: 'formaction',
formenctype: 'formenctype',
formmethod: 'formmethod',
formnovalidate: 'formnovalidate',
formtarget: 'formtarget',
frameborder: 'frameborder',
headers: 'headers',
height: 'height',
hidden: 'hidden',
high: 'high',
href: 'href',
hreflang: 'hreflang',
htmlfor: 'htmlfor',
httpequiv: 'httpequiv',
icon: 'icon',
id: 'id',
inputmode: 'inputmode',
integrity: 'integrity',
is: 'is',
keyparams: 'keyparams',
keytype: 'keytype',
kind: 'kind',
label: 'label',
lang: 'lang',
list: 'list',
loop: 'loop',
low: 'low',
manifest: 'manifest',
marginheight: 'marginheight',
marginwidth: 'marginwidth',
max: 'max',
maxlength: 'maxlength',
media: 'media',
mediagroup: 'mediagroup',
method: 'method',
min: 'min',
minlength: 'minlength',
multiple: 'multiple',
muted: 'muted',
name: 'name',
novalidate: 'novalidate',
nonce: 'nonce',
onblur: 'onblur',
onchange: 'onchange',
onclick: 'onclick',
onfocus: 'onfocus',
oninput: 'oninput',
onkeydown: 'onkeydown',
onkeyup: 'onkeyup',
onmousedown: 'onmousedown',
onmouseout: 'onmouseout',
onmouseover: 'onmouseover',
onmouseup: 'onmouseup',
onscroll: 'onscroll',
onsubmit: 'onsubmit',
ontouchend: 'ontouchend',
ontouchmove: 'ontouchmove',
ontouchstart: 'ontouchstart',
open: 'open',
optimum: 'optimum',
pattern: 'pattern',
placeholder: 'placeholder',
poster: 'poster',
preload: 'preload',
radiogroup: 'radiogroup',
readonly: 'readonly',
rel: 'rel',
required: 'required',
reversed: 'reversed',
role: 'role',
rowspan: 'rowspan',
rows: 'rows',
sandbox: 'sandbox',
scope: 'scope',
scoped: 'scoped',
scrolling: 'scrolling',
seamless: 'seamless',
selected: 'selected',
shape: 'shape',
size: 'size',
sizes: 'sizes',
span: 'span',
spellcheck: 'spellcheck',
src: 'src',
srcdoc: 'srcdoc',
srclang: 'srclang',
srcset: 'srcset',
start: 'start',
step: 'step',
style: 'style',
summary: 'summary',
tabindex: 'tabindex',
target: 'target',
title: 'title',
type: 'type',
usemap: 'usemap',
value: 'value',
width: 'width',
wmode: 'wmode',
wrap: 'wrap',
className: "className",
colspan: "colspan",
cols: "cols",
content: "content",
contenteditable: "contenteditable",
contextmenu: "contextmenu",
controls: "controls",
coords: "coords",
crossorigin: "crossorigin",
data: "data",
datetime: "datetime",
default: "default",
defer: "defer",
dir: "dir",
disabled: "disabled",
download: "download",
draggable: "draggable",
enctype: "enctype",
for: "for",
form: "form",
formaction: "formaction",
formenctype: "formenctype",
formmethod: "formmethod",
formnovalidate: "formnovalidate",
formtarget: "formtarget",
frameborder: "frameborder",
headers: "headers",
height: "height",
hidden: "hidden",
high: "high",
href: "href",
hreflang: "hreflang",
htmlfor: "htmlfor",
httpequiv: "httpequiv",
icon: "icon",
id: "id",
inputmode: "inputmode",
integrity: "integrity",
is: "is",
keyparams: "keyparams",
keytype: "keytype",
kind: "kind",
label: "label",
lang: "lang",
list: "list",
loop: "loop",
low: "low",
manifest: "manifest",
marginheight: "marginheight",
marginwidth: "marginwidth",
max: "max",
maxlength: "maxlength",
media: "media",
mediagroup: "mediagroup",
method: "method",
min: "min",
minlength: "minlength",
multiple: "multiple",
muted: "muted",
name: "name",
novalidate: "novalidate",
nonce: "nonce",
onblur: "onblur",
onchange: "onchange",
onclick: "onclick",
onfocus: "onfocus",
oninput: "oninput",
onkeydown: "onkeydown",
onkeyup: "onkeyup",
onmousedown: "onmousedown",
onmouseout: "onmouseout",
onmouseover: "onmouseover",
onmouseup: "onmouseup",
onscroll: "onscroll",
onsubmit: "onsubmit",
ontouchend: "ontouchend",
ontouchmove: "ontouchmove",
ontouchstart: "ontouchstart",
open: "open",
optimum: "optimum",
pattern: "pattern",
placeholder: "placeholder",
poster: "poster",
preload: "preload",
radiogroup: "radiogroup",
readonly: "readonly",
rel: "rel",
required: "required",
reversed: "reversed",
role: "role",
rowspan: "rowspan",
rows: "rows",
sandbox: "sandbox",
scope: "scope",
scoped: "scoped",
scrolling: "scrolling",
seamless: "seamless",
selected: "selected",
shape: "shape",
size: "size",
sizes: "sizes",
span: "span",
spellcheck: "spellcheck",
src: "src",
srcdoc: "srcdoc",
srclang: "srclang",
srcset: "srcset",
start: "start",
step: "step",
style: "style",
summary: "summary",
tabindex: "tabindex",
target: "target",
title: "title",
type: "type",
usemap: "usemap",
value: "value",
width: "width",
wmode: "wmode",
wrap: "wrap"
};
const a = htmlAttributes;
const h = m;
const { trust } = m;
h.trust = (html, wrapper) => (wrapper ? h(wrapper, trust(html)) : trust(html));
h.trust = (html, wrapper) => wrapper ? h(wrapper, trust(html)) : trust(html);
const jsx = m;
const getRef = fn => ({
oncreate: vnode => {
const getRef = (fn) => ({
oncreate: (vnode) => {
fn(vnode.dom);
},
}
});
const cast = withHooks;
export { a, cast, getRef, h, jsx };
export {
a,
cast,
getRef,
h,
jsx,
useCallback,
useEffect,
useLayoutEffect,
useMemo,
useReducer,
useRef,
useState
};
//# sourceMappingURL=cyano-mithril.module.js.map
declare const _default: {
accept: string;
acceptcharset: string;
accesskey: string;
action: string;
allowfullscreen: string;
allowtransparency: string;
alt: string;
async: string;
autocomplete: string;
autofocus: string;
autoplay: string;
capture: string;
cellpadding: string;
cellspacing: string;
challenge: string;
charset: string;
checked: string;
class: string;
classid: string;
classname: string;
className: string;
colspan: string;
cols: string;
content: string;
contenteditable: string;
contextmenu: string;
controls: string;
coords: string;
crossorigin: string;
data: string;
datetime: string;
default: string;
defer: string;
dir: string;
disabled: string;
download: string;
draggable: string;
enctype: string;
for: string;
form: string;
formaction: string;
formenctype: string;
formmethod: string;
formnovalidate: string;
formtarget: string;
frameborder: string;
headers: string;
height: string;
hidden: string;
high: string;
href: string;
hreflang: string;
htmlfor: string;
httpequiv: string;
icon: string;
id: string;
inputmode: string;
integrity: string;
is: string;
keyparams: string;
keytype: string;
kind: string;
label: string;
lang: string;
list: string;
loop: string;
low: string;
manifest: string;
marginheight: string;
marginwidth: string;
max: string;
maxlength: string;
media: string;
mediagroup: string;
method: string;
min: string;
minlength: string;
multiple: string;
muted: string;
name: string;
novalidate: string;
nonce: string;
onblur: string;
onchange: string;
onclick: string;
onfocus: string;
oninput: string;
onkeydown: string;
onkeyup: string;
onmousedown: string;
onmouseout: string;
onmouseover: string;
onmouseup: string;
onscroll: string;
onsubmit: string;
ontouchend: string;
ontouchmove: string;
ontouchstart: string;
open: string;
optimum: string;
pattern: string;
placeholder: string;
poster: string;
preload: string;
radiogroup: string;
readonly: string;
rel: string;
required: string;
reversed: string;
role: string;
rowspan: string;
rows: string;
sandbox: string;
scope: string;
scoped: string;
scrolling: string;
seamless: string;
selected: string;
shape: string;
size: string;
sizes: string;
span: string;
spellcheck: string;
src: string;
srcdoc: string;
srclang: string;
srcset: string;
start: string;
step: string;
style: string;
summary: string;
tabindex: string;
target: string;
title: string;
type: string;
usemap: string;
value: string;
width: string;
wmode: string;
wrap: string;
accept: string;
acceptcharset: string;
accesskey: string;
action: string;
allowfullscreen: string;
allowtransparency: string;
alt: string;
async: string;
autocomplete: string;
autofocus: string;
autoplay: string;
capture: string;
cellpadding: string;
cellspacing: string;
challenge: string;
charset: string;
checked: string;
class: string;
classid: string;
classname: string;
className: string;
colspan: string;
cols: string;
content: string;
contenteditable: string;
contextmenu: string;
controls: string;
coords: string;
crossorigin: string;
data: string;
datetime: string;
default: string;
defer: string;
dir: string;
disabled: string;
download: string;
draggable: string;
enctype: string;
for: string;
form: string;
formaction: string;
formenctype: string;
formmethod: string;
formnovalidate: string;
formtarget: string;
frameborder: string;
headers: string;
height: string;
hidden: string;
high: string;
href: string;
hreflang: string;
htmlfor: string;
httpequiv: string;
icon: string;
id: string;
inputmode: string;
integrity: string;
is: string;
keyparams: string;
keytype: string;
kind: string;
label: string;
lang: string;
list: string;
loop: string;
low: string;
manifest: string;
marginheight: string;
marginwidth: string;
max: string;
maxlength: string;
media: string;
mediagroup: string;
method: string;
min: string;
minlength: string;
multiple: string;
muted: string;
name: string;
novalidate: string;
nonce: string;
onblur: string;
onchange: string;
onclick: string;
onfocus: string;
oninput: string;
onkeydown: string;
onkeyup: string;
onmousedown: string;
onmouseout: string;
onmouseover: string;
onmouseup: string;
onscroll: string;
onsubmit: string;
ontouchend: string;
ontouchmove: string;
ontouchstart: string;
open: string;
optimum: string;
pattern: string;
placeholder: string;
poster: string;
preload: string;
radiogroup: string;
readonly: string;
rel: string;
required: string;
reversed: string;
role: string;
rowspan: string;
rows: string;
sandbox: string;
scope: string;
scoped: string;
scrolling: string;
seamless: string;
selected: string;
shape: string;
size: string;
sizes: string;
span: string;
spellcheck: string;
src: string;
srcdoc: string;
srclang: string;
srcset: string;
start: string;
step: string;
style: string;
summary: string;
tabindex: string;
target: string;
title: string;
type: string;
usemap: string;
value: string;
width: string;
wmode: string;
wrap: string;
};
export default _default;

@@ -0,184 +1,161 @@

/// <reference types="../../node_modules/@types/mithril" />
import m, { VnodeDOM } from 'mithril';
import {
useCallback,
useEffect,
useLayoutEffect,
useMemo,
useReducer,
useRef,
useState,
} from 'mithril-hooks';
export {
useCallback,
useEffect,
useLayoutEffect,
useMemo,
useReducer,
useRef,
useState,
};
import { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from 'mithril-hooks';
export { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, };
export declare const a: {
accept: string;
acceptcharset: string;
accesskey: string;
action: string;
allowfullscreen: string;
allowtransparency: string;
alt: string;
async: string;
autocomplete: string;
autofocus: string;
autoplay: string;
capture: string;
cellpadding: string;
cellspacing: string;
challenge: string;
charset: string;
checked: string;
class: string;
classid: string;
classname: string;
className: string;
colspan: string;
cols: string;
content: string;
contenteditable: string;
contextmenu: string;
controls: string;
coords: string;
crossorigin: string;
data: string;
datetime: string;
default: string;
defer: string;
dir: string;
disabled: string;
download: string;
draggable: string;
enctype: string;
for: string;
form: string;
formaction: string;
formenctype: string;
formmethod: string;
formnovalidate: string;
formtarget: string;
frameborder: string;
headers: string;
height: string;
hidden: string;
high: string;
href: string;
hreflang: string;
htmlfor: string;
httpequiv: string;
icon: string;
id: string;
inputmode: string;
integrity: string;
is: string;
keyparams: string;
keytype: string;
kind: string;
label: string;
lang: string;
list: string;
loop: string;
low: string;
manifest: string;
marginheight: string;
marginwidth: string;
max: string;
maxlength: string;
media: string;
mediagroup: string;
method: string;
min: string;
minlength: string;
multiple: string;
muted: string;
name: string;
novalidate: string;
nonce: string;
onblur: string;
onchange: string;
onclick: string;
onfocus: string;
oninput: string;
onkeydown: string;
onkeyup: string;
onmousedown: string;
onmouseout: string;
onmouseover: string;
onmouseup: string;
onscroll: string;
onsubmit: string;
ontouchend: string;
ontouchmove: string;
ontouchstart: string;
open: string;
optimum: string;
pattern: string;
placeholder: string;
poster: string;
preload: string;
radiogroup: string;
readonly: string;
rel: string;
required: string;
reversed: string;
role: string;
rowspan: string;
rows: string;
sandbox: string;
scope: string;
scoped: string;
scrolling: string;
seamless: string;
selected: string;
shape: string;
size: string;
sizes: string;
span: string;
spellcheck: string;
src: string;
srcdoc: string;
srclang: string;
srcset: string;
start: string;
step: string;
style: string;
summary: string;
tabindex: string;
target: string;
title: string;
type: string;
usemap: string;
value: string;
width: string;
wmode: string;
wrap: string;
accept: string;
acceptcharset: string;
accesskey: string;
action: string;
allowfullscreen: string;
allowtransparency: string;
alt: string;
async: string;
autocomplete: string;
autofocus: string;
autoplay: string;
capture: string;
cellpadding: string;
cellspacing: string;
challenge: string;
charset: string;
checked: string;
class: string;
classid: string;
classname: string;
className: string;
colspan: string;
cols: string;
content: string;
contenteditable: string;
contextmenu: string;
controls: string;
coords: string;
crossorigin: string;
data: string;
datetime: string;
default: string;
defer: string;
dir: string;
disabled: string;
download: string;
draggable: string;
enctype: string;
for: string;
form: string;
formaction: string;
formenctype: string;
formmethod: string;
formnovalidate: string;
formtarget: string;
frameborder: string;
headers: string;
height: string;
hidden: string;
high: string;
href: string;
hreflang: string;
htmlfor: string;
httpequiv: string;
icon: string;
id: string;
inputmode: string;
integrity: string;
is: string;
keyparams: string;
keytype: string;
kind: string;
label: string;
lang: string;
list: string;
loop: string;
low: string;
manifest: string;
marginheight: string;
marginwidth: string;
max: string;
maxlength: string;
media: string;
mediagroup: string;
method: string;
min: string;
minlength: string;
multiple: string;
muted: string;
name: string;
novalidate: string;
nonce: string;
onblur: string;
onchange: string;
onclick: string;
onfocus: string;
oninput: string;
onkeydown: string;
onkeyup: string;
onmousedown: string;
onmouseout: string;
onmouseover: string;
onmouseup: string;
onscroll: string;
onsubmit: string;
ontouchend: string;
ontouchmove: string;
ontouchstart: string;
open: string;
optimum: string;
pattern: string;
placeholder: string;
poster: string;
preload: string;
radiogroup: string;
readonly: string;
rel: string;
required: string;
reversed: string;
role: string;
rowspan: string;
rows: string;
sandbox: string;
scope: string;
scoped: string;
scrolling: string;
seamless: string;
selected: string;
shape: string;
size: string;
sizes: string;
span: string;
spellcheck: string;
src: string;
srcdoc: string;
srclang: string;
srcset: string;
start: string;
step: string;
style: string;
summary: string;
tabindex: string;
target: string;
title: string;
type: string;
usemap: string;
value: string;
width: string;
wmode: string;
wrap: string;
};
export declare const h: m.Static & {
trust: (html: string, wrapper?: string) => m.Vnode<unknown, unknown>;
trust: (html: string, wrapper?: string) => m.Vnode<unknown, unknown>;
};
export declare type Children = m.Children;
export declare type Component<Attrs = {}, State = {}> = m.Component<
Attrs,
State
>;
export type Children = m.Children;
export type Component<Attrs = {}, State = {}> = m.Component<Attrs, State>;
export declare const jsx: m.Static;
export declare const getRef: (fn: (dom: Element) => unknown) => {
oncreate: (vnode: VnodeDOM) => void;
oncreate: (vnode: VnodeDOM) => void;
};
export declare type ResultNode<T = unknown> = m.Vnode<T, unknown>;
export declare const cast: <T = unknown>(
renderFunction: (
attrs: T & {
vnode: m.Vnode<T, import('mithril-hooks/dist/types/MithrilHooks').State>;
children: m.Children;
},
) => m.Children,
initialAttrs?: T | undefined,
) => m.Component<T, import('mithril-hooks/dist/types/MithrilHooks').State>;
export declare type Cast = typeof cast;
export type ResultNode<T = unknown> = m.Vnode<T, unknown>;
export declare const cast: <T = unknown>(renderFunction: (attrs: T & {
vnode: m.Vnode<T, import("mithril-hooks/dist/types/MithrilHooks").State>;
children: m.Children;
}) => m.Children, initialAttrs?: T | undefined) => m.Component<T, import("mithril-hooks/dist/types/MithrilHooks").State>;
export type Cast = typeof cast;
declare const _default: {
accentheight: string;
accumulate: string;
additive: string;
alignmentbaseline: string;
allowreorder: string;
alphabetic: string;
amplitude: string;
arabicform: string;
ascent: string;
attributename: string;
attributetype: string;
autoreverse: string;
azimuth: string;
basefrequency: string;
baseprofile: string;
baselineshift: string;
bbox: string;
begin: string;
bias: string;
by: string;
calcmode: string;
capheight: string;
clip: string;
clippath: string;
clippathunits: string;
cliprule: string;
colorinterpolation: string;
colorinterpolationfilters: string;
colorprofile: string;
colorrendering: string;
contentscripttype: string;
contentstyletype: string;
cursor: string;
cx: string;
cy: string;
d: string;
decelerate: string;
descent: string;
diffuseconstant: string;
direction: string;
display: string;
divisor: string;
dominantbaseline: string;
dur: string;
dx: string;
dy: string;
edgemode: string;
elevation: string;
enablebackground: string;
end: string;
exponent: string;
externalresourcesrequired: string;
fill: string;
fillopacity: string;
fillrule: string;
filter: string;
filterres: string;
filterunits: string;
floodcolor: string;
floodopacity: string;
focusable: string;
fontfamily: string;
fontsize: string;
fontsizeadjust: string;
fontstretch: string;
fontstyle: string;
fontvariant: string;
fontweight: string;
format: string;
from: string;
fx: string;
fy: string;
g1: string;
g2: string;
glyphname: string;
glyphorientationhorizontal: string;
glyphorientationvertical: string;
glyphref: string;
gradienttransform: string;
gradientunits: string;
hanging: string;
horizadvx: string;
horizoriginx: string;
ideographic: string;
imagerendering: string;
in: string;
in2: string;
intercept: string;
k: string;
k1: string;
k2: string;
k3: string;
k4: string;
kernelmatrix: string;
kernelunitlength: string;
kerning: string;
keypoints: string;
keysplines: string;
keytimes: string;
lengthadjust: string;
letterspacing: string;
lightingcolor: string;
limitingconeangle: string;
local: string;
markerend: string;
markerheight: string;
markermid: string;
markerstart: string;
markerunits: string;
markerwidth: string;
mask: string;
maskcontentunits: string;
maskunits: string;
mathematical: string;
mode: string;
numoctaves: string;
offset: string;
opacity: string;
operator: string;
order: string;
orient: string;
orientation: string;
origin: string;
overflow: string;
overlineposition: string;
overlinethickness: string;
paintorder: string;
panose1: string;
pathlength: string;
patterncontentunits: string;
patterntransform: string;
patternunits: string;
pointerevents: string;
points: string;
pointsatx: string;
pointsaty: string;
pointsatz: string;
preservealpha: string;
preserveaspectratio: string;
primitiveunits: string;
r: string;
radius: string;
refx: string;
refy: string;
renderingintent: string;
repeatcount: string;
repeatdur: string;
requiredextensions: string;
requiredfeatures: string;
restart: string;
result: string;
rotate: string;
rx: string;
ry: string;
scale: string;
seed: string;
shaperendering: string;
slope: string;
spacing: string;
specularconstant: string;
specularexponent: string;
speed: string;
spreadmethod: string;
startoffset: string;
stddeviation: string;
stemh: string;
stemv: string;
stitchtiles: string;
stopcolor: string;
stopopacity: string;
strikethroughposition: string;
strikethroughthickness: string;
string: string;
stroke: string;
strokedasharray: string;
strokedashoffset: string;
strokelinecap: string;
strokelinejoin: string;
strokemiterlimit: string;
strokeopacity: string;
strokewidth: string;
surfacescale: string;
systemlanguage: string;
tablevalues: string;
targetx: string;
targety: string;
textanchor: string;
textdecoration: string;
textlength: string;
textrendering: string;
to: string;
transform: string;
u1: string;
u2: string;
underlineposition: string;
underlinethickness: string;
unicode: string;
unicodebidi: string;
unicoderange: string;
unitsperem: string;
valphabetic: string;
vhanging: string;
videographic: string;
vmathematical: string;
values: string;
vectoreffect: string;
version: string;
vertadvy: string;
vertoriginx: string;
vertoriginy: string;
viewbox: string;
viewtarget: string;
visibility: string;
widths: string;
wordspacing: string;
writingmode: string;
x: string;
x1: string;
x2: string;
xchannelselector: string;
xheight: string;
xlinkactuate: string;
xlinkarcrole: string;
xlinkhref: string;
xlinkrole: string;
xlinkshow: string;
xlinktitle: string;
xlinktype: string;
xmlns: string;
xmlnsxlink: string;
xmlbase: string;
xmllang: string;
xmlspace: string;
y: string;
y1: string;
y2: string;
ychannelselector: string;
z: string;
zoomandpan: string;
accentheight: string;
accumulate: string;
additive: string;
alignmentbaseline: string;
allowreorder: string;
alphabetic: string;
amplitude: string;
arabicform: string;
ascent: string;
attributename: string;
attributetype: string;
autoreverse: string;
azimuth: string;
basefrequency: string;
baseprofile: string;
baselineshift: string;
bbox: string;
begin: string;
bias: string;
by: string;
calcmode: string;
capheight: string;
clip: string;
clippath: string;
clippathunits: string;
cliprule: string;
colorinterpolation: string;
colorinterpolationfilters: string;
colorprofile: string;
colorrendering: string;
contentscripttype: string;
contentstyletype: string;
cursor: string;
cx: string;
cy: string;
d: string;
decelerate: string;
descent: string;
diffuseconstant: string;
direction: string;
display: string;
divisor: string;
dominantbaseline: string;
dur: string;
dx: string;
dy: string;
edgemode: string;
elevation: string;
enablebackground: string;
end: string;
exponent: string;
externalresourcesrequired: string;
fill: string;
fillopacity: string;
fillrule: string;
filter: string;
filterres: string;
filterunits: string;
floodcolor: string;
floodopacity: string;
focusable: string;
fontfamily: string;
fontsize: string;
fontsizeadjust: string;
fontstretch: string;
fontstyle: string;
fontvariant: string;
fontweight: string;
format: string;
from: string;
fx: string;
fy: string;
g1: string;
g2: string;
glyphname: string;
glyphorientationhorizontal: string;
glyphorientationvertical: string;
glyphref: string;
gradienttransform: string;
gradientunits: string;
hanging: string;
horizadvx: string;
horizoriginx: string;
ideographic: string;
imagerendering: string;
in: string;
in2: string;
intercept: string;
k: string;
k1: string;
k2: string;
k3: string;
k4: string;
kernelmatrix: string;
kernelunitlength: string;
kerning: string;
keypoints: string;
keysplines: string;
keytimes: string;
lengthadjust: string;
letterspacing: string;
lightingcolor: string;
limitingconeangle: string;
local: string;
markerend: string;
markerheight: string;
markermid: string;
markerstart: string;
markerunits: string;
markerwidth: string;
mask: string;
maskcontentunits: string;
maskunits: string;
mathematical: string;
mode: string;
numoctaves: string;
offset: string;
opacity: string;
operator: string;
order: string;
orient: string;
orientation: string;
origin: string;
overflow: string;
overlineposition: string;
overlinethickness: string;
paintorder: string;
panose1: string;
pathlength: string;
patterncontentunits: string;
patterntransform: string;
patternunits: string;
pointerevents: string;
points: string;
pointsatx: string;
pointsaty: string;
pointsatz: string;
preservealpha: string;
preserveaspectratio: string;
primitiveunits: string;
r: string;
radius: string;
refx: string;
refy: string;
renderingintent: string;
repeatcount: string;
repeatdur: string;
requiredextensions: string;
requiredfeatures: string;
restart: string;
result: string;
rotate: string;
rx: string;
ry: string;
scale: string;
seed: string;
shaperendering: string;
slope: string;
spacing: string;
specularconstant: string;
specularexponent: string;
speed: string;
spreadmethod: string;
startoffset: string;
stddeviation: string;
stemh: string;
stemv: string;
stitchtiles: string;
stopcolor: string;
stopopacity: string;
strikethroughposition: string;
strikethroughthickness: string;
string: string;
stroke: string;
strokedasharray: string;
strokedashoffset: string;
strokelinecap: string;
strokelinejoin: string;
strokemiterlimit: string;
strokeopacity: string;
strokewidth: string;
surfacescale: string;
systemlanguage: string;
tablevalues: string;
targetx: string;
targety: string;
textanchor: string;
textdecoration: string;
textlength: string;
textrendering: string;
to: string;
transform: string;
u1: string;
u2: string;
underlineposition: string;
underlinethickness: string;
unicode: string;
unicodebidi: string;
unicoderange: string;
unitsperem: string;
valphabetic: string;
vhanging: string;
videographic: string;
vmathematical: string;
values: string;
vectoreffect: string;
version: string;
vertadvy: string;
vertoriginx: string;
vertoriginy: string;
viewbox: string;
viewtarget: string;
visibility: string;
widths: string;
wordspacing: string;
writingmode: string;
x: string;
x1: string;
x2: string;
xchannelselector: string;
xheight: string;
xlinkactuate: string;
xlinkarcrole: string;
xlinkhref: string;
xlinkrole: string;
xlinkshow: string;
xlinktitle: string;
xlinktype: string;
xmlns: string;
xmlnsxlink: string;
xmlbase: string;
xmllang: string;
xmlspace: string;
y: string;
y1: string;
y2: string;
ychannelselector: string;
z: string;
zoomandpan: string;
};
export default _default;
{
"name": "cyano-mithril",
"version": "0.7.0",
"version": "0.7.1",
"description": "Takes a base component and returns a Mithril component",
"main": "dist/cyano-mithril",
"module": "dist/cyano-mithril.module.js",
"scripts": {
"build": "node ../../node_modules/npm-run-all/bin/run-s/index.js build:*",
"build:clean": "rimraf dist/*",
"build:types": "../../node_modules/typescript/bin/tsc --p tsconfig.gen.json",
"build:module": "TYPESCRIPT=1 ENTRY=src/index.ts MODULE=1 MODULE_NAME=cyanoMithril ../../node_modules/rollup/dist/bin/rollup -c ../../scripts/rollup.config.ts",
"build:umd": "TYPESCRIPT=1 ENTRY=src/index.ts MODULE=0 MODULE_NAME=cyanoMithril ../../node_modules/rollup/dist/bin/rollup -c ../../scripts/rollup.config.ts",
"build:prettier": "../../node_modules/prettier/bin-prettier.js --config ../../.prettierrc.json --write \"./dist/*.{d.ts,module.js}\"",
"build:size": "size-limit",
"size:why": "size-limit --why",
"lint": "eslint --fix --ext .ts ./src",
"prettier": "../../node_modules/prettier/bin-prettier.js --config ../../.prettierrc.json --write \"./{src,scripts}/**/*.{js,jsx,ts,tsx,ejs}\"",
"npm-check-updates": "../../node_modules/npm-check-updates/bin/cli.js -u"
},
"type": "module",
"files": [

@@ -25,2 +11,18 @@ "dist",

"types": "dist",
"main": "./dist/cyano-mithril.umd",
"module": "./dist/cyano-mithril.module.js",
"exports": {
".": {
"require": "./dist/cyano-mithril.cjs",
"import": "./dist/cyano-mithril.module.js",
"default": "./dist/cyano-mithril.umd.js"
}
},
"scripts": {
"deps": "../../node_modules/npm-check-updates/build/src/bin/cli.js -u",
"dev": "vite",
"build": "node ../../node_modules/npm-run-all/bin/run-s/index.js build:*",
"build:vite": "vite build",
"build:types": "../../node_modules/typescript/bin/tsc --p tsconfig.gen.json"
},
"author": "Arthur Clemens <arthurclemens@gmail.com> (http://visiblearea.com)",

@@ -30,17 +32,10 @@ "homepage": "https://github.com/ArthurClemens/cyano",

"dependencies": {
"mithril-hooks": "^0.7.1"
"mithril-hooks": "^0.7.2"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^4.10.2",
"@types/mithril": "^2.0.7",
"size-limit": "^4.10.2"
"@types/mithril": "^2.0.12"
},
"peerDependencies": {
"mithril": ">=2.0.4"
},
"size-limit": [
{
"path": "dist/cyano-mithril.js"
}
]
}
}
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