Socket
Socket
Sign inDemoInstall

hyperapplicable

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperapplicable - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

dist/readout.d.ts

1

dist/index.d.ts

@@ -6,3 +6,4 @@ export * from "./box";

export * from "./next";
export * from "./readout";
export * from "./types";
export * from "./unite";

7

dist/index.esm.js

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

import { h } from 'hyperapp';
import { h, text } from 'hyperapp';

@@ -30,2 +30,5 @@ const box = (classes, contents) => h("div", { class: classes }, contents);

export { box, handleWith, isAction, isContent, isVNode, next, unite };
const readoutReplacer = (_key, value) => typeof value === "function" ? "function" : value;
const readout = (prop) => (obj) => h("pre", {}, text(`${prop}: ${JSON.stringify(obj[prop], readoutReplacer, 2)}`));
export { box, handleWith, isAction, isContent, isVNode, next, readout, unite };

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

import{h as r}from"hyperapp";const e=(e,n)=>r("div",{class:e},n),n=r=>null==r||Array.isArray(r)||"boolean"==typeof r||o(r),o=r=>null!=r&&"object"==typeof r&&"node"in r,t=(r,e,n)=>{if(!Array.isArray(e))return r(e,n);const[o,...t]=e,a=r(o,n);if(!Array.isArray(a))return[a,...t];const[i,...y]=a;return[i,...t,...y]},a=r=>(e,n)=>r.reduce(((r,e)=>t(e,r,n)),e),i=r=>"function"==typeof r||Array.isArray(r)&&r.length>0,y=(r,e)=>{window.requestAnimationFrame((()=>r(e)))},s=r=>[y,r];export{e as box,a as handleWith,i as isAction,n as isContent,o as isVNode,s as next,t as unite};
import{h as r,text as n}from"hyperapp";const t=(n,t)=>r("div",{class:n},t),e=r=>null==r||Array.isArray(r)||"boolean"==typeof r||o(r),o=r=>null!=r&&"object"==typeof r&&"node"in r,i=(r,n,t)=>{if(!Array.isArray(n))return r(n,t);const[e,...o]=n,i=r(e,t);if(!Array.isArray(i))return[i,...o];const[y,...a]=i;return[y,...o,...a]},y=r=>(n,t)=>r.reduce(((r,n)=>i(n,r,t)),n),a=r=>"function"==typeof r||Array.isArray(r)&&r.length>0,f=(r,n)=>{window.requestAnimationFrame((()=>r(n)))},s=r=>[f,r],p=(r,n)=>"function"==typeof n?"function":n,u=t=>e=>r("pre",{},n(`${t}: ${JSON.stringify(e[t],p,2)}`));export{t as box,y as handleWith,a as isAction,e as isContent,o as isVNode,s as next,u as readout,i as unite};

@@ -6,3 +6,4 @@ export * from "./box";

export * from "./next";
export * from "./readout";
export * from "./types";
export * from "./unite";
{
"name": "hyperapplicable",
"version": "0.1.3",
"version": "0.2.0",
"description": "A utility library for Hyperapp.",

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

Sorry, the diff of this file is not supported yet

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