Socket
Socket
Sign inDemoInstall

realar

Package Overview
Dependencies
1
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.14 to 0.5.15

3

build/index.js

@@ -84,6 +84,7 @@ "use strict";

const [get, set] = reactive_box_1.box([init]);
const has_to = arguments.length > 1;
const fn = function (data) {
if (!resolved) {
resolved = 1;
if (to)
if (has_to)
data = to;

@@ -90,0 +91,0 @@ set([data]);

{
"name": "realar",
"version": "0.5.14",
"version": "0.5.15",
"description": "React state manager",

@@ -88,3 +88,3 @@ "repository": {

},
"gitHead": "42299966aa3b1dbc543e380de3de04cde8d737db"
"gitHead": "c5e61a00b00f6e1bebfd9e0cea37d95f71be3d29"
}

@@ -156,2 +156,3 @@ import React, { Context, FC } from 'react';

const [get, set] = box([init]);
const has_to = arguments.length > 1;

@@ -161,3 +162,3 @@ const fn = function (data: any) {

resolved = 1;
if (to) data = to;
if (has_to) data = to;
set([data]);

@@ -164,0 +165,0 @@ resolve(data);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc