Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

forgo

Package Overview
Dependencies
Maintainers
1
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

forgo - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

7

dist/index.js

@@ -150,5 +150,2 @@ "use strict";

havePropsChanged(savedComponentState.props, forgoElement.props)) {
const args = {
element: { componentIndex: pendingAttachStates.length },
};
// Since we have compatible state already stored,

@@ -158,4 +155,4 @@ // we'll push the savedComponentState into pending states for later attachment.

// Get a new element by calling render on existing component.
const newForgoElement = savedComponentState.component.render(forgoElement.props, args);
return boundaryFallback(node, forgoElement.props, args, statesToAttach, fullRerender, boundary, () => {
const newForgoElement = savedComponentState.component.render(forgoElement.props, savedComponentState.args);
return boundaryFallback(node, forgoElement.props, savedComponentState.args, statesToAttach, fullRerender, boundary, () => {
// Pass it on for rendering...

@@ -162,0 +159,0 @@ return internalRender(newForgoElement, node, statesToAttach, fullRerender, boundary);

{
"name": "forgo",
"version": "0.0.18",
"version": "0.0.19",
"main": "./dist",

@@ -5,0 +5,0 @@ "devDependencies": {

@@ -339,6 +339,2 @@ /*

) {
const args: ForgoRenderArgs = {
element: { componentIndex: pendingAttachStates.length },
};
// Since we have compatible state already stored,

@@ -354,3 +350,3 @@ // we'll push the savedComponentState into pending states for later attachment.

forgoElement.props,
args
savedComponentState.args
);

@@ -361,3 +357,3 @@

forgoElement.props,
args,
savedComponentState.args,
statesToAttach,

@@ -364,0 +360,0 @@ fullRerender,

Sorry, the diff of this file is not supported yet

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