styled-jsx
Advanced tools
Comparing version 5.1.4 to 5.1.5
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1032395
3
30
+ Addedtypescript@~5.0.0
+ Addedtypescript@5.0.4(transitive)