Socket
Socket
Sign inDemoInstall

@nivo/core

Package Overview
Dependencies
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nivo/core - npm Package Compare versions

Comparing version 0.75.0 to 0.76.0

31

index.d.ts

@@ -250,2 +250,6 @@ import * as React from 'react'

// ------------------------------------------------------------------------
// Patterns & Gradients
// ------------------------------------------------------------------------
export type GradientColor = {

@@ -287,2 +291,7 @@ offset: number

}
export function patternDotsDef(
id: string,
options?: Omit<PatternDotsDef, 'id' | 'type'>
): PatternDotsDef
export function PatternDots(props: Omit<PatternDotsDef, 'type'>): JSX.Element

@@ -292,2 +301,7 @@ export type PatternSquaresDef = Omit<PatternDotsDef, 'type'> & {

}
export function patternSquaresDef(
id: string,
options?: Omit<PatternSquaresDef, 'id' | 'type'>
): PatternSquaresDef
export function PatternSquares(props: Omit<PatternSquaresDef, 'type'>): JSX.Element

@@ -303,2 +317,7 @@ export type PatternLinesDef = {

}
export function patternLinesDef(
id: string,
options?: Omit<PatternLinesDef, 'id' | 'type'>
): PatternLinesDef
export function PatternLines(props: Omit<PatternLinesDef, 'type'>): JSX.Element

@@ -311,2 +330,8 @@ export type Def = LinearGradientDef | PatternDotsDef | PatternSquaresDef | PatternLinesDef

export function Defs(props: DefsProps): JSX.Element
// ------------------------------------------------------------------------
// Motion
// ------------------------------------------------------------------------
export const defaultAnimate = true

@@ -332,8 +357,2 @@ export const defaultMotionStiffness = 90

export function PatternLines(props: Omit<PatternLinesDef, 'type'>): JSX.Element
export function PatternSquares(props: Omit<PatternSquaresDef, 'type'>): JSX.Element
export function PatternDots(props: Omit<PatternDotsDef, 'type'>): JSX.Element
export function Defs(props: DefsProps): JSX.Element
export function degreesToRadians(degrees: number): number

@@ -340,0 +359,0 @@ export function radiansToDegrees(radians: number): number

10

package.json
{
"name": "@nivo/core",
"version": "0.75.0",
"version": "0.76.0",
"license": "MIT",

@@ -23,3 +23,3 @@ "author": {

"dependencies": {
"@nivo/recompose": "0.75.0",
"@nivo/recompose": "0.76.0",
"@react-spring/web": "9.3.1",

@@ -38,7 +38,7 @@ "d3-color": "^2.0.0",

"devDependencies": {
"@nivo/tooltip": "0.75.0",
"@nivo/tooltip": "0.76.0",
"@types/d3-shape": "^2.0.0"
},
"peerDependencies": {
"@nivo/tooltip": "0.75.0",
"@nivo/tooltip": "0.76.0",
"prop-types": ">= 15.5.10 < 16.0.0",

@@ -50,3 +50,3 @@ "react": ">= 16.14.0 < 18.0.0"

},
"gitHead": "bfe8126876bf0e46ad82251935ab78178e901bcf"
"gitHead": "0feb061ac0e4cd9ac6a27f5714e3629d1dcdcf4f"
}

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