@react-jvectormap/core
Advanced tools
Comparing version
@@ -335,3 +335,5 @@ /// <reference types="jquery" /> | ||
attribute: string; | ||
values?: number[]; | ||
values?: number[] | { | ||
[key: string]: number; | ||
}; | ||
scale?: Scale; | ||
@@ -338,0 +340,0 @@ normalizeFunction?: NormalizeFunctionType | ((value?: number) => string); |
{ | ||
"name": "@react-jvectormap/core", | ||
"version": "1.0.0-alpha.6", | ||
"version": "1.0.0-alpha.7", | ||
"description": "> TODO: description", | ||
@@ -40,6 +40,6 @@ "author": "Mor Kadosh <kadoshms@gmail.com>", | ||
"dependencies": { | ||
"@react-jvectormap/lib": "^1.0.0-alpha.3", | ||
"@react-jvectormap/lib": "^1.0.0-alpha.4", | ||
"classnames": "^2.3.1" | ||
}, | ||
"gitHead": "4526fe54422041d0d9168561cec33ea99e10fe57" | ||
"gitHead": "f5df07f1a14766c66337a0aa70c6191843074801" | ||
} |
@@ -360,3 +360,3 @@ import { CSSProperties, MutableRefObject, Ref } from "react"; | ||
attribute: string; | ||
values?: number[]; | ||
values?: number[] | { [key: string]: number }; | ||
scale?: Scale; | ||
@@ -363,0 +363,0 @@ normalizeFunction?: NormalizeFunctionType | ((value?: number) => string); |
import jQuery from "@types/jquery"; | ||
import { IRegion, Marker } from "../src/types"; | ||
type DataSeries = { | ||
clearAndSet: (values: { [key: string]: number } | number[]) => void; | ||
}; | ||
declare global { | ||
@@ -11,2 +16,6 @@ interface Window { | ||
multiMap(...args: unknown[]): JQuery; | ||
series?: { | ||
regions?: DataSeries[]; | ||
markers?: DataSeries[]; | ||
}; | ||
} | ||
@@ -13,0 +22,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
300329
0.91%3158
1.06%