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.9.0 to 0.9.1

2

dist/hyperapplicable.umd.js

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

(function(n,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("hyperapp")):typeof define=="function"&&define.amd?define(["exports","hyperapp"],i):(n=typeof globalThis<"u"?globalThis:n||self,i(n.hyperapplicable={},n.Hyperapp))})(this,function(n,i){"use strict";let u;const l=(t,e)=>{clearTimeout(u),u=setTimeout(()=>window.requestAnimationFrame(()=>t(e.action,e.payload)),e.delay)},A=(t,e,o)=>[l,{action:t,delay:e,payload:o}],m=(t,e)=>{window.requestAnimationFrame(()=>console.log(e))},b=t=>[m,t],g=(t,e)=>{window.requestAnimationFrame(()=>t(e))},h=t=>[g,t],p=(t,...e)=>{let o=t;for(let r=0;r<e.length;++r){const y=e[r];if(!Array.isArray(o))o=y(o);else{const[N,...d]=o,s=y(N);if(!Array.isArray(s))o=[s,...d];else{const[_,...j]=s;o=[_,...d,...j]}}}return o},V=(t,e)=>i.h("div",{class:t},e),S=(t,e)=>typeof e=="function"?"function":e,T=t=>e=>i.h("pre",{},i.text(`${t}: ${JSON.stringify(e[t],S,2)}`)),c=t=>e=>{if(typeof t=="function"){const o=t(e);return Array.isArray(o)?o:[o]}return typeof t=="number"||typeof t=="string"?[i.text(t)]:[t]},q=t=>t==null||typeof t=="boolean"||typeof t=="function"||typeof t=="number"||typeof t=="string"||a(t),a=t=>typeof t=="object"&&t!=null&&"node"in t,f=t=>e=>Array.isArray(t)?t.reduce((o,r)=>[...o,...Array.isArray(r)?f(r)(e):c(r)(e)],[]):c(t)(e),F=t=>typeof t=="function"||Array.isArray(t)&&t.length>0;n.box=V,n.contentView=c,n.debounce=A,n.isAction=F,n.isVNode=a,n.isVista=q,n.log=b,n.next=h,n.readout=T,n.unite=p,n.vista=f,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
(function(n,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("hyperapp")):typeof define=="function"&&define.amd?define(["exports","hyperapp"],i):(n=typeof globalThis<"u"?globalThis:n||self,i(n.hyperapplicable={},n.Hyperapp))})(this,function(n,i){"use strict";let u;const l=(t,e)=>{clearTimeout(u),u=setTimeout(()=>window.requestAnimationFrame(()=>t(e.action,e.payload)),e.delay)},A=(t,e,o)=>[l,{action:t,delay:e,payload:o}],m=(t,e)=>{window.requestAnimationFrame(()=>console.log(e))},b=t=>[m,t],g=(t,e)=>{window.requestAnimationFrame(()=>t(e))},h=t=>[g,t],p=(t,...e)=>{let o=t;for(let r=0;r<e.length;++r){const y=e[r];if(!Array.isArray(o))o=y(o);else{const[N,...d]=o,s=y(N);if(!Array.isArray(s))o=[s,...d];else{const[_,...j]=s;o=[_,...d,...j]}}}return o},V=(t,e)=>i.h("div",{class:t},e),S=(t,e)=>typeof e=="function"?"function":e,T=t=>e=>i.h("pre",{},i.text(`${t}: ${JSON.stringify(e[t],S,2)}`)),c=t=>e=>{if(typeof t=="function"){const o=t(e);return Array.isArray(o)?o:[o]}return typeof t=="number"||typeof t=="string"?[i.text(t)]:[t]},q=t=>t==null||typeof t=="boolean"||typeof t=="function"||typeof t=="number"||typeof t=="string"||Array.isArray(t)||a(t),a=t=>typeof t=="object"&&t!=null&&"node"in t,f=t=>e=>Array.isArray(t)?t.reduce((o,r)=>[...o,...Array.isArray(r)?f(r)(e):c(r)(e)],[]):c(t)(e),F=t=>typeof t=="function"||Array.isArray(t)&&t.length>0;n.box=V,n.contentView=c,n.debounce=A,n.isAction=F,n.isVNode=a,n.isVista=q,n.log=b,n.next=h,n.readout=T,n.unite=p,n.vista=f,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
{
"name": "hyperapplicable",
"version": "0.9.0",
"version": "0.9.1",
"description": "A utility library for Hyperapp.",

@@ -50,14 +50,14 @@ "keywords": [

"devDependencies": {
"@types/jest": "^28.1.6",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"eslint": "^8.20.0",
"fast-check": "^3.1.0",
"jest": "^28.1.3",
"rollup": "^2.77.0",
"terser": "^5.14.2",
"ts-jest": "^28.0.7",
"tsup": "^6.1.3",
"typescript": "^4.7.4",
"vite": "^3.0.2"
"@types/jest": "^29.0.3",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"eslint": "^8.23.1",
"fast-check": "^3.1.3",
"jest": "^29.0.3",
"rollup": "^2.79.0",
"terser": "^5.15.0",
"ts-jest": "^29.0.1",
"tsup": "^6.2.3",
"typescript": "^4.8.3",
"vite": "^3.1.2"
},

@@ -64,0 +64,0 @@ "dependencies": {

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