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

@cfcs/react

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cfcs/react - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

13

dist/cfcs.cjs.js

@@ -7,3 +7,3 @@ /*

repository: https://github.com/naver/egjs-conveyer
version: 0.0.8
version: 0.0.9
*/

@@ -23,5 +23,7 @@ 'use strict';

for (var name in reactiveState) {
var _loop_1 = function (name) {
// eslint-disable-next-line react-hooks/rules-of-hooks
var state = react.useState(reactiveState[name]);
var state = react.useState(function () {
return reactiveState[name];
});
states[name] = {

@@ -32,2 +34,6 @@ getter: false,

};
};
for (var name in reactiveState) {
_loop_1(name);
}

@@ -76,2 +82,3 @@

core.keys(methods).forEach(function (name) {
console.log(name);
result[name] = methods[name];

@@ -78,0 +85,0 @@ });

@@ -7,3 +7,3 @@ /*

repository: https://github.com/naver/egjs-conveyer
version: 0.0.8
version: 0.0.9
*/

@@ -21,5 +21,7 @@ import { adaptReactive, keys, camelize } from '@cfcs/core';

for (var name in reactiveState) {
var _loop_1 = function (name) {
// eslint-disable-next-line react-hooks/rules-of-hooks
var state = useState(reactiveState[name]);
var state = useState(function () {
return reactiveState[name];
});
states[name] = {

@@ -30,2 +32,6 @@ getter: false,

};
};
for (var name in reactiveState) {
_loop_1(name);
}

@@ -74,2 +80,3 @@

keys(methods).forEach(function (name) {
console.log(name);
result[name] = methods[name];

@@ -76,0 +83,0 @@ });

{
"name": "@cfcs/react",
"version": "0.0.8",
"version": "0.0.9",
"description": "Cross Framework Components",

@@ -35,3 +35,3 @@ "main": "dist/cfcs.cjs.js",

"dependencies": {
"@cfcs/core": "~0.0.8"
"@cfcs/core": "~0.0.9"
},

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

@@ -23,3 +23,3 @@ import { ReactiveSubscribe, ReactiveAdapter, keys, camelize, adaptReactive } from "@cfcs/core";

// eslint-disable-next-line react-hooks/rules-of-hooks
const state = useState(reactiveState[name]);
const state = useState(() => reactiveState[name]);
states[name] = {

@@ -83,2 +83,3 @@ getter: false,

keys(methods).forEach(name => {
console.log(name);
result[name] = methods[name];

@@ -85,0 +86,0 @@ });

Sorry, the diff of this file is not supported yet

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