Comparing version 0.70.0 to 0.70.1
@@ -271,3 +271,3 @@ 'use strict'; | ||
var GeoMapCanvasDefaultProps = _objectSpread2(_objectSpread2({}, commonDefaultProps), {}, { | ||
pixelRatio: global.window && global.window.devicePixelRatio ? global.window.devicePixelRatio : 1 | ||
pixelRatio: typeof window !== 'undefined' ? window.devicePixelRatio || 1 : 1 | ||
}); | ||
@@ -274,0 +274,0 @@ var commonChoroplethDefaultProps = { |
@@ -264,3 +264,3 @@ import React, { useMemo, memo, useCallback, Fragment, useRef, useEffect } from 'react'; | ||
var GeoMapCanvasDefaultProps = _objectSpread2(_objectSpread2({}, commonDefaultProps), {}, { | ||
pixelRatio: global.window && global.window.devicePixelRatio ? global.window.devicePixelRatio : 1 | ||
pixelRatio: typeof window !== 'undefined' ? window.devicePixelRatio || 1 : 1 | ||
}); | ||
@@ -267,0 +267,0 @@ var commonChoroplethDefaultProps = { |
@@ -264,3 +264,3 @@ (function (global, factory) { | ||
var GeoMapCanvasDefaultProps = _objectSpread2(_objectSpread2({}, commonDefaultProps), {}, { | ||
pixelRatio: global.window && global.window.devicePixelRatio ? global.window.devicePixelRatio : 1 | ||
pixelRatio: typeof window !== 'undefined' ? window.devicePixelRatio || 1 : 1 | ||
}); | ||
@@ -267,0 +267,0 @@ var commonChoroplethDefaultProps = { |
import * as React from 'react' | ||
import { Dimensions, Theme, Box, BoxAlign } from '@nivo/core' | ||
import { Dimensions, Theme, Box } from '@nivo/core' | ||
import { LegendProps } from '@nivo/legends' | ||
@@ -39,3 +40,3 @@ declare module '@nivo/geo' { | ||
theme?: Partial<Theme> | ||
theme?: Theme | ||
} | ||
@@ -117,2 +118,3 @@ | ||
tooltip?: ChoroplethTooltip | ||
legends?: LegendProps[] | ||
@@ -119,0 +121,0 @@ onMouseEnter?: ChoroplethEventHandler |
{ | ||
"name": "@nivo/geo", | ||
"version": "0.70.0", | ||
"version": "0.70.1", | ||
"license": "MIT", | ||
@@ -32,5 +32,5 @@ "author": { | ||
"dependencies": { | ||
"@nivo/colors": "0.70.0", | ||
"@nivo/legends": "0.70.0", | ||
"@nivo/tooltip": "0.70.0", | ||
"@nivo/colors": "0.70.1", | ||
"@nivo/legends": "0.70.1", | ||
"@nivo/tooltip": "0.70.1", | ||
"d3-format": "^1.4.4", | ||
@@ -41,6 +41,6 @@ "d3-geo": "^1.11.3", | ||
"devDependencies": { | ||
"@nivo/core": "0.70.0" | ||
"@nivo/core": "0.70.1" | ||
}, | ||
"peerDependencies": { | ||
"@nivo/core": "0.70.0", | ||
"@nivo/core": "0.70.1", | ||
"prop-types": ">= 15.5.10 < 16.0.0", | ||
@@ -52,3 +52,3 @@ "react": ">= 16.8.4 < 18.0.0" | ||
}, | ||
"gitHead": "77cbd6a909c2b2d53ba94e2ee873f3d95b5aae3b" | ||
"gitHead": "460d79b04e335bd32a80226da417d41d312b893d" | ||
} |
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
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
2958
356288
+ Added@nivo/colors@0.70.1(transitive)
+ Added@nivo/core@0.70.1(transitive)
+ Added@nivo/tooltip@0.70.1(transitive)
- Removed@nivo/colors@0.70.0(transitive)
- Removed@nivo/core@0.70.0(transitive)
- Removed@nivo/tooltip@0.70.0(transitive)
Updated@nivo/colors@0.70.1
Updated@nivo/legends@0.70.1
Updated@nivo/tooltip@0.70.1