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 12.1.2 to 12.2.0

10

main.js

@@ -6,2 +6,7 @@ const assert = require('assert')

assert.equal(typeof store, 'function', 'store must be a function')
assert.equal(typeof component, 'function', 'component must be a function')
assert.equal(typeof diff, 'function', 'diff must be a function')
assert.equal(typeof raf, 'function', 'raf must be a function')
let rafCalled = false

@@ -25,2 +30,4 @@ let initialized = false

if (init != null) {
assert.equal(typeof init, 'function', 'init must be a function')
init({target, dispatch})

@@ -42,2 +49,3 @@ } else {

assert.ok(initialized, 'trying to commit before the app is initialized')
assert.equal(typeof current, 'function', 'current must be a function')

@@ -64,4 +72,6 @@ state = current(state)

function next (callback) {
assert.equal(typeof callback, 'function', 'callback must be a function')
process.nextTick(callback, {target, dispatch})
}
}

2

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

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