@nivo/axes
Advanced tools
Comparing version 0.59.0 to 0.59.1
@@ -63,3 +63,3 @@ 'use strict'; | ||
if (matches) { | ||
var timeType = timeByType[matches[2]][1]; | ||
var timeType = timeByType[matches[2]][scale.useUTC ? 1 : 0]; | ||
if (matches[1] === undefined) { | ||
@@ -66,0 +66,0 @@ return scale.ticks(timeType); |
@@ -56,3 +56,3 @@ import React, { memo, useMemo, Fragment } from 'react'; | ||
if (matches) { | ||
var timeType = timeByType[matches[2]][1]; | ||
var timeType = timeByType[matches[2]][scale.useUTC ? 1 : 0]; | ||
if (matches[1] === undefined) { | ||
@@ -59,0 +59,0 @@ return scale.ticks(timeType); |
@@ -57,3 +57,3 @@ (function (global, factory) { | ||
if (matches) { | ||
var timeType = timeByType[matches[2]][1]; | ||
var timeType = timeByType[matches[2]][scale.useUTC ? 1 : 0]; | ||
if (matches[1] === undefined) { | ||
@@ -60,0 +60,0 @@ return scale.ticks(timeType); |
@@ -7,2 +7,3 @@ import * as React from 'react' | ||
export interface AxisProps { | ||
orient?: 'top' | 'right' | 'bottom' | 'left' | ||
tickValues?: number | number[] | string[] | Date[] | string | ||
@@ -9,0 +10,0 @@ tickSize?: number |
{ | ||
"name": "@nivo/axes", | ||
"version": "0.59.0", | ||
"version": "0.59.1", | ||
"license": "MIT", | ||
@@ -24,3 +24,3 @@ "author": { | ||
"dependencies": { | ||
"@nivo/core": "0.59.0", | ||
"@nivo/core": "0.59.1", | ||
"d3-format": "^1.3.2", | ||
@@ -39,3 +39,3 @@ "d3-time": "^1.0.11", | ||
}, | ||
"gitHead": "9037d057530a9e73df8bef907e786138cfc83a72" | ||
"gitHead": "fd0fae79df817805e2e83115650cd22fb73059ce" | ||
} |
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
94689
2492
+ Added@nivo/core@0.59.1(transitive)
+ Added@nivo/tooltip@0.59.1(transitive)
- Removed@nivo/core@0.59.0(transitive)
- Removed@nivo/tooltip@0.59.0(transitive)
Updated@nivo/core@0.59.1