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

@peersyst/react-utils

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peersyst/react-utils - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

8

./@types/rack.d.ts

@@ -7,6 +7,8 @@ import { JSXElementConstructor, ReactNode } from "react";

} & {
[K in keyof E]: E[K] extends JSXElementConstructor<infer P> ? JSXElementConstructor<P> : JSXElementConstructor<any>;
[K in keyof E]: E[K];
};
export default function rack<P extends {
export default function <P extends {
children: ReactNode;
}, S extends string[], K extends S[number], E extends Partial<Record<K, JSXElementConstructor<any>>>>(factory: (props: P, slots: Slots<K[], E>) => JSX.Element, slots: K[], extensions?: E): JSXElementConstructor<P> & Slots<K[], E>;
}, S extends string[], K extends S[number], E extends {
[x: K]: JSXElementConstructor<any>;
}>(factory: (props: P, slots: Slots<K[], E>) => JSX.Element, slots: K[], extensions?: E): JSXElementConstructor<P> & Slots<K[], E>;

@@ -18,3 +18,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

import createSlot from "./createSlot";
export default function rack(factory, slots) {
export default function (factory, slots) {
var extensions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};

@@ -21,0 +21,0 @@

@@ -18,3 +18,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

import createSlot from "./createSlot";
export default function rack(factory, slots) {
export default function (factory, slots) {
var extensions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};

@@ -21,0 +21,0 @@

@@ -18,3 +18,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

import createSlot from "./createSlot";
export default function rack(factory, slots) {
export default function (factory, slots) {
var extensions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};

@@ -21,0 +21,0 @@

@@ -8,3 +8,3 @@ "use strict";

});
exports["default"] = rack;
exports["default"] = _default;

@@ -33,3 +33,3 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

function rack(factory, slots) {
function _default(factory, slots) {
var extensions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};

@@ -36,0 +36,0 @@

{
"name": "@peersyst/react-utils",
"author": "Peersyst",
"version": "1.8.0",
"version": "1.8.1",
"license": "MIT",

@@ -6,0 +6,0 @@ "main": "./node/index.js",

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