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

styled-jsx

Package Overview
Dependencies
Maintainers
3
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

styled-jsx - npm Package Compare versions

Comparing version 5.1.4 to 5.1.5

3

css.d.ts

@@ -1,5 +0,6 @@

import type { JSX } from "react";
// Definitions by: @types/styled-jsx <https://www.npmjs.com/package/@types/styled-jsx>
declare module 'styled-jsx/css' {
import type { JSX } from "react";
function css(chunks: TemplateStringsArray, ...args: any[]): JSX.Element

@@ -6,0 +7,0 @@ namespace css {

@@ -1,2 +0,1 @@

import type { JSX } from "react";
/// <reference types="./css" />

@@ -8,2 +7,4 @@ /// <reference types="./macro" />

declare module 'styled-jsx' {
import type { JSX } from "react";
export type StyledJsxStyleRegistry = {

@@ -10,0 +11,0 @@ styles(options?: { nonce?: string }): JSX.Element[]

@@ -1,3 +0,4 @@

import type { JSX } from "react";
declare module 'styled-jsx/macro' {
import type { JSX } from "react";
namespace macro {

@@ -4,0 +5,0 @@ function resolve(

{
"name": "styled-jsx",
"version": "5.1.4",
"version": "5.1.5",
"license": "MIT",

@@ -31,2 +31,3 @@ "repository": "vercel/styled-jsx",

"test": "ava",
"test-types": "tsc --project tsconfig.json --noEmit",
"lint": "eslint ./src",

@@ -81,2 +82,3 @@ "format": "prettier --write \"./{src,test}/**/*.{js,css}\"",

"@babel/types": "7.15.0",
"@types/react": "18.3.3",
"ava": "4.3.1",

@@ -129,4 +131,5 @@ "babel-plugin-macros": "2.8.0",

"dependencies": {
"client-only": "0.0.1"
"client-only": "0.0.1",
"typescript": "~5.0.0"
}
}
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