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

@nivo/geo

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nivo/geo - npm Package Compare versions

Comparing version 0.70.0 to 0.70.1

2

dist/nivo-geo.cjs.js

@@ -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

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