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

@influxdata/giraffe

Package Overview
Dependencies
Maintainers
20
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@influxdata/giraffe - npm Package Compare versions

Comparing version 0.37.0 to 0.38.0

dist/components/Geo.d.ts

1

dist/index.d.ts

@@ -14,1 +14,2 @@ export { Plot } from './components/Plot';

export { BandLayerConfig, ColumnData, ColumnType, Config, DomainLabel, FluxDataType, Formatter, GaugeTheme, GaugeLayerConfig, GetColumn, HistogramLayerConfig, HistogramPosition, LayerConfig, LayerTypes, LineInterpolation, LineLayerConfig, LinePosition, Margins, NumericColumnData, RawFluxDataTableLayerConfig, Scale, Schema, SchemaValues, SingleStatLayerConfig, Table, Tag, } from './types';
export * from './types/geo';

6

dist/types/index.d.ts
import CSS from 'csstype';
import { CSSProperties, ReactNode } from 'react';
import { TimeZone } from './timeZones';
import { GeoLayerConfig } from './geo';
export declare type SizedConfig = Config & {

@@ -89,5 +90,6 @@ width: number;

Mosaic = "mosaic",
Table = "table"
Table = "table",
Geo = "geo"
}
export declare type LayerConfig = CustomLayerConfig | RawFluxDataTableLayerConfig | GaugeLayerConfig | SingleStatLayerConfig | HeatmapLayerConfig | HistogramLayerConfig | LineLayerConfig | BandLayerConfig | ScatterLayerConfig | MosaicLayerConfig | TableGraphLayerConfig;
export declare type LayerConfig = CustomLayerConfig | RawFluxDataTableLayerConfig | GaugeLayerConfig | SingleStatLayerConfig | HeatmapLayerConfig | HistogramLayerConfig | LineLayerConfig | BandLayerConfig | ScatterLayerConfig | MosaicLayerConfig | TableGraphLayerConfig | GeoLayerConfig;
export interface CustomLayerConfig {

@@ -94,0 +96,0 @@ type: 'custom';

{
"name": "@influxdata/giraffe",
"version": "0.37.0",
"version": "0.38.0",
"main": "dist/index.js",

@@ -67,2 +67,5 @@ "license": "MIT",

"jest": "^24.9.0",
"leaflet": "^1.6.0",
"leaflet-ant-path": "^1.3.0",
"leaflet.markercluster": "^1.4.1",
"memoize-one": "^5.0.2",

@@ -74,2 +77,7 @@ "node-sass": "^4.14.1",

"react-dom": "^16.8.0",
"react-leaflet": "^2.6.3",
"react-leaflet-ant-path": "^1.1.0",
"react-leaflet-control": "^2.1.2",
"react-leaflet-heatmap-layer": "^2.0.0",
"react-leaflet-markercluster": "^2.0.0",
"react-scrollbars-custom": "^4.0.20",

@@ -85,2 +93,3 @@ "react-virtualized": "^9.21.2",

"rollup-plugin-typescript2": "^0.27.1",
"s2-geometry": "^1.2.10",
"ts-jest": "^24.0.0",

@@ -87,0 +96,0 @@ "typescript": "3.8.3",

@@ -21,3 +21,5 @@ import resolve from '@rollup/plugin-node-resolve'

extract: false,
modules: true,
modules: {
globalModulePaths: ['leaflet/dist'],
},
use: ['sass'],

@@ -24,0 +26,0 @@ }),

@@ -54,1 +54,3 @@ // Components

} from './types'
export * from './types/geo'
import CSS from 'csstype'
import {CSSProperties, ReactNode} from 'react'
import {TimeZone} from './timeZones'
import {GeoLayerConfig} from './geo'

@@ -156,2 +157,3 @@ export type SizedConfig = Config & {width: number; height: number}

Table = 'table',
Geo = 'geo',
}

@@ -171,2 +173,3 @@

| TableGraphLayerConfig
| GeoLayerConfig

@@ -173,0 +176,0 @@ export interface CustomLayerConfig {

@@ -334,2 +334,3 @@ import {newTableFromConfig} from './newTable'

case LayerTypes.Gauge:
case LayerTypes.Geo:
case LayerTypes.Custom:

@@ -336,0 +337,0 @@ case LayerTypes.SingleStat:

import {useLayoutStyle} from './useLayoutStyle'
import {useRefMousePos} from './useMousePos'
import {LEAFLET_Z_INDEX} from '../components/Geo'

@@ -50,2 +51,4 @@ const MARGIN_X = 30

/* Geo widget maps are rendered with z-index: 399, we have to set it above
that so that tooltips are not rendered/are hidden below the map, */
return {

@@ -56,4 +59,5 @@ display: 'inline',

top: `${clampedY}px`,
zIndex: LEAFLET_Z_INDEX + 1,
}
})
}

Sorry, the diff of this file is too big to display

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