New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@erickmerchant/framework

Package Overview
Dependencies
Maintainers
1
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@erickmerchant/framework - npm Package Compare versions

Comparing version 7.8.1 to 8.0.0

2

dist/main.js

@@ -28,3 +28,3 @@ 'use strict';

return function (init) {
init({ state: state, dispatch: dispatch });
init(dispatch);
};

@@ -31,0 +31,0 @@

@@ -20,3 +20,3 @@ const catchLinks = require('catch-links')

return function (init) {
init({state, dispatch})
init(dispatch)
}

@@ -23,0 +23,0 @@

{
"name": "@erickmerchant/framework",
"version": "7.8.1",
"version": "8.0.0",
"description": "A simple data down, actions up framework.",

@@ -5,0 +5,0 @@ "main": "dist/main.js",

@@ -11,2 +11,3 @@ # @erickmerchant/framework

## An Example

@@ -56,2 +57,3 @@

## API Reference

@@ -128,7 +130,7 @@

Returns the [component callback](#component-callback)
Returns the [component result](#component-result)
#### component callback
#### component result
_callback({state, dispatch, show, next})_
_result({state, dispatch, show, next})_

@@ -147,11 +149,11 @@ - state: see [state](#state)

- target: the target passed to [framework](#framework)
- element: the new element returned from the [component callback](#component-callback)
- element: the new element returned from the [component result](#component-result)
#### init callback
_callback({state, dispatch})_
_callback(dispatch)_
- state: see [state](#state)
- dispatch: see [dispatch](#dispatch)
## Related Projects

@@ -158,0 +160,0 @@

@@ -39,4 +39,4 @@ const test = require('tape')

raf: noop
})(function (app) {
t.deepEqual(Object.keys(app), ['state', 'dispatch'])
})(function (dispatch) {
t.ok(typeof dispatch, 'function')
})

@@ -43,0 +43,0 @@

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