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

@symbolic/react-app

Package Overview
Dependencies
Maintainers
4
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbolic/react-app - npm Package Compare versions

Comparing version 1.3.20 to 1.3.21

2

package.json
{
"name": "@symbolic/react-app",
"version": "1.3.20",
"version": "1.3.21",
"description": "",

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

@@ -19,20 +19,21 @@ import _ from 'lodash';

if (isAsync) {
var _getPayload = async () => await getPayload({getState, prevState, [superType]: prevState, ...props});
(async () => {
var _getPayload = async () => await getPayload({getState, prevState, [superType]: prevState, ...props});
dispatch({type: `${type}.begin`, payload: {...prevState, isLoading: true}});
try {
var payload = await _getPayload();
dispatch({type: `${type}.begin`, payload: {...prevState, isLoading: true}});
dispatch({type: `${type}.success`, payload: {isLoading: false, ...payload}});
}
catch (error) {
console.error(error); //eslint-disable-line
dispatch({type: `${type}.failure`, payload: {isLoading: false}});
throw error;
}
try {
var payload = await _getPayload();
dispatch({type: `${type}.success`, payload: {isLoading: false, ...payload}});
}
catch (error) {
console.error(error); //eslint-disable-line
dispatch({type: `${type}.failure`, payload: {isLoading: false}});
throw error;
}
})();
}

@@ -39,0 +40,0 @@ else {

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