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 9.0.0 to 9.0.1

20

dist/main.js

@@ -22,18 +22,16 @@ "use strict";

render();
if (!rafCalled) {
rafCalled = true;
raf(render);
}
}
function render() {
if (!rafCalled) {
rafCalled = true;
rafCalled = false;
raf(function () {
rafCalled = false;
var element = component({ state: state, dispatch: dispatch, next: next });
var element = component({ state: state, dispatch: dispatch, next: next });
if (element != null) {
diff(target, element);
}
});
if (element != null) {
diff(target, element);
}

@@ -40,0 +38,0 @@ }

@@ -14,18 +14,16 @@ module.exports = function ({target, store, component, diff, raf}) {

render()
if (!rafCalled) {
rafCalled = true
raf(render)
}
}
function render () {
if (!rafCalled) {
rafCalled = true
rafCalled = false
raf(() => {
rafCalled = false
const element = component({state, dispatch, next})
const element = component({state, dispatch, next})
if (element != null) {
diff(target, element)
}
})
if (element != null) {
diff(target, element)
}

@@ -32,0 +30,0 @@ }

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

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

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

},
diff: function (target, newTarget) {
},
diff: noop,
raf: function (callback) {

@@ -78,0 +77,0 @@ process.nextTick(function () { callback() })

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