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 3.0.0 to 3.0.1

24

dist/main.js

@@ -7,11 +7,9 @@ 'use strict';

function framework(_ref) {
module.exports = function (_ref) {
var target = _ref.target;
var store = _ref.store;
var component = _ref.component;
var methods = _ref.methods;
var href = void 0;
methods.show = singlePage(function (h) {
var show = singlePage(function (h) {
href = h;

@@ -22,21 +20,17 @@

catchLinks(target, methods.show);
catchLinks(target, show);
methods.dispatch = function () {
function dispatch() {
render(store.apply(undefined, arguments));
};
}
function render(state) {
var element = component.call(methods, { state: state, href: href });
var element = component({ state: state, dispatch: dispatch, href: href, show: show, html: html, next: next });
html.update(target, element);
}
}
};
framework.html = html;
framework.next = function (callback) {
function next(callback) {
process.nextTick(callback);
};
module.exports = framework;
}
{
"name": "@erickmerchant/framework",
"version": "3.0.0",
"version": "3.0.1",
"description": "redux, hyperx, singlepage, catchlinks, etc",

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