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

goober

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

goober - npm Package Compare versions

Comparing version 2.1.14 to 2.1.15

17

goober.d.ts

@@ -14,7 +14,9 @@ import { Properties as CSSProperties } from 'csstype';

// used when creating a styled component from a native HTML element
<T extends keyof JSX.IntrinsicElements, P extends Object = {}>(
<T extends keyof React.JSX.IntrinsicElements, P extends Object = {}>(
tag: T,
forwardRef?: ForwardRefFunction
): Tagged<
JSX.LibraryManagedAttributes<T, JSX.IntrinsicElements[T]> & P & Theme<DefaultTheme>
React.JSX.LibraryManagedAttributes<T, React.JSX.IntrinsicElements[T]> &
P &
Theme<DefaultTheme>
>;

@@ -30,6 +32,8 @@

// component, such as when you want to style web components
<P extends Object = {}>(tag: string): Tagged<P & Partial<JSX.ElementChildrenAttribute>>;
<P extends Object = {}>(tag: string): Tagged<
P & Partial<React.JSX.ElementChildrenAttribute>
>;
// used to create a styled component from a JSX element (both functional and class-based)
<T extends JSX.Element | JSX.ElementClass, P extends Object = {}>(
<T extends React.JSX.Element | React.JSX.ElementClass, P extends Object = {}>(
tag: T,

@@ -42,4 +46,5 @@ forwardRef?: ForwardRefFunction

type BabelPluginTransformGooberStyledFunction = {
[T in keyof JSX.IntrinsicElements]: Tagged<
JSX.LibraryManagedAttributes<T, JSX.IntrinsicElements[T]> & Theme<DefaultTheme>
[T in keyof React.JSX.IntrinsicElements]: Tagged<
React.JSX.LibraryManagedAttributes<T, React.JSX.IntrinsicElements[T]> &
Theme<DefaultTheme>
>;

@@ -46,0 +51,0 @@ };

{
"name": "goober",
"version": "2.1.14",
"version": "2.1.15",
"description": "A less than 1KB css-in-js solution",

@@ -5,0 +5,0 @@ "sideEffects": false,

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