Socket
Socket
Sign inDemoInstall

hyperapp

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperapp - npm Package Compare versions

Comparing version 2.0.20 to 2.0.21

14

index.d.ts

@@ -123,7 +123,13 @@ // Minimum TypeScript Version: 4.2

// An effecter is the function that runs an effect.
type Effecter<S, P = any> = (
dispatch: Dispatch<S>,
payload: P
) => void | Promise<void>
// An effect is where side effects and any additional dispatching may occur.
type Effect<S, P = any> = readonly [
effecter: (dispatch: Dispatch<S>, payload: P) => void | Promise<void>,
payload: P
]
type Effect<S, P = any> =
| Effecter<S, P>
| readonly [effecter: Effecter<S, P>, payload: P]

@@ -130,0 +136,0 @@ // Effects can be declared conditionally.

@@ -412,3 +412,3 @@ var SSR_NODE = 1

.map(
(fx) => fx && fx !== true && fx[0](dispatch, fx[1]),
(fx) => fx && fx !== true && (fx[0] || fx)(dispatch, fx[1]),
update(action[0])

@@ -415,0 +415,0 @@ )

{
"name": "hyperapp",
"version": "2.0.20",
"version": "2.0.21",
"type": "module",

@@ -5,0 +5,0 @@ "main": "index.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