Huge News!Announcing our $40M Series B led by Abstract Ventures.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 13.1.1 to 13.1.2

2

package.json
{
"name": "@erickmerchant/framework",
"version": "13.1.1",
"version": "13.1.2",
"description": "A simple data down, actions up framework.",

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

@@ -26,3 +26,3 @@ const test = require('tape')

target: initialElement,
store: function (commit) {
store (commit) {
t.equal(commit.name, 'commit')

@@ -44,3 +44,3 @@

},
component: function (app) {
component (app) {
t.deepEqual(Object.keys(app).length, 3)

@@ -60,3 +60,3 @@

},
diff: function (target, newElement) {
diff (target, newElement) {
t.equal(target, initialElement)

@@ -82,3 +82,3 @@

store: noopStore,
component: function ({next}) {
component ({next}) {
next(function (target) {

@@ -100,3 +100,3 @@ t.equal(target, initialElement)

target: initialElement,
store: function (commit) {
store (commit) {
commit(() => initialState)

@@ -114,3 +114,3 @@

},
component: function ({dispatch, state}) {
component ({dispatch, state}) {
if (state === initialState) {

@@ -134,3 +134,3 @@ process.nextTick(function () {

target: initialElement,
store: function (commit) {
store (commit) {
commit(() => '')

@@ -146,3 +146,3 @@

},
component: function (app) {
component (app) {
t.equal(app.state, newState)

@@ -149,0 +149,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