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

@goji/core

Package Overview
Dependencies
Maintainers
2
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goji/core - npm Package Compare versions

Comparing version 0.4.13 to 0.4.14

1

dist/cjs/index.d.ts

@@ -15,1 +15,2 @@ /// <reference types="react" />

export { gojiEvents } from './events';
export { batchedUpdates, batchedUpdates as unstable_batchedUpdates } from './render';

@@ -39,2 +39,6 @@ "use strict";

exports.gojiEvents = events_1.gojiEvents;
// eslint-disable-next-line camelcase
var render_1 = require("./render");
exports.batchedUpdates = render_1.batchedUpdates;
exports.unstable_batchedUpdates = render_1.batchedUpdates;
//# sourceMappingURL=index.js.map

5

dist/cjs/instance.js

@@ -67,4 +67,7 @@ "use strict";

id,
simplifyId: simplify_1.findSimplifyId(type, props),
};
const simplifyId = simplify_1.findSimplifyId(type, props);
if (simplifyId) {
node.simplifyId = simplifyId;
}
if (parentTag === UpdateType.CREATED) {

@@ -71,0 +74,0 @@ return [node, updates];

import { ReactElement } from 'react';
import { Container } from './container';
export declare function internalRender(rootElement: ReactElement | null, container: Container): void;
export declare const batchedUpdates: <A>(fn: () => A) => A;

@@ -17,2 +17,3 @@ "use strict";

exports.internalRender = internalRender;
exports.batchedUpdates = ReactReconcilerInst.batchedUpdates;
//# sourceMappingURL=render.js.map

@@ -15,1 +15,2 @@ /// <reference types="react" />

export { gojiEvents } from './events';
export { batchedUpdates, batchedUpdates as unstable_batchedUpdates } from './render';

@@ -31,2 +31,4 @@ import { useContext } from 'react';

export { gojiEvents } from './events';
// eslint-disable-next-line camelcase
export { batchedUpdates, batchedUpdates as unstable_batchedUpdates } from './render';
//# sourceMappingURL=index.js.map

@@ -61,4 +61,7 @@ import { TYPE_TEXT } from './constants';

id,
simplifyId: findSimplifyId(type, props),
};
const simplifyId = findSimplifyId(type, props);
if (simplifyId) {
node.simplifyId = simplifyId;
}
if (parentTag === UpdateType.CREATED) {

@@ -65,0 +68,0 @@ return [node, updates];

import { ReactElement } from 'react';
import { Container } from './container';
export declare function internalRender(rootElement: ReactElement | null, container: Container): void;
export declare const batchedUpdates: <A>(fn: () => A) => A;

@@ -11,2 +11,3 @@ import ReactReconciler from 'react-reconciler';

}
export const { batchedUpdates } = ReactReconcilerInst;
//# sourceMappingURL=render.js.map
{
"name": "@goji/core",
"version": "0.4.13",
"version": "0.4.14",
"description": "Goji Core",

@@ -80,3 +80,3 @@ "main": "dist/cjs/index.js",

},
"gitHead": "498cbf0266e23f376b1c88fbe3a1aaa383c3a8d0"
"gitHead": "bc1abee46fb4e5f41bcac3561f883121b3c52ee4"
}

@@ -40,1 +40,3 @@ import { useContext } from 'react';

export { gojiEvents } from './events';
// eslint-disable-next-line camelcase
export { batchedUpdates, batchedUpdates as unstable_batchedUpdates } from './render';

@@ -9,3 +9,3 @@ import { BasedContainer } from './container';

// prop types from BUILD_IN_COMPONENTS
// prop types from BUILD_IN_COMPONENTS
export type PuredValue = undefined | null | boolean | number | string | Array<any> | PlainObject;

@@ -98,3 +98,3 @@ export type Updates = Record<string, PuredValue | ElementNode | TextNode>;

const node = {
const node: ElementNode = {
type,

@@ -104,4 +104,7 @@ props: this.pureProps(),

id,
simplifyId: findSimplifyId(type, props),
};
const simplifyId = findSimplifyId(type, props);
if (simplifyId) {
node.simplifyId = simplifyId;
}

@@ -108,0 +111,0 @@ if (parentTag === UpdateType.CREATED) {

@@ -16,1 +16,3 @@ import { ReactElement } from 'react';

}
export const { batchedUpdates } = ReactReconcilerInst;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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