@react-financial-charts/core
Advanced tools
Comparing version 1.0.0-alpha.14 to 1.0.0-alpha.15
@@ -6,2 +6,10 @@ # Change Log | ||
# [1.0.0-alpha.15](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2020-09-03) | ||
**Note:** Version bump only for package @react-financial-charts/core | ||
# [1.0.0-alpha.14](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) (2020-09-02) | ||
@@ -8,0 +16,0 @@ |
/// <reference types="react" /> | ||
export { default as rebind } from "./rebind"; | ||
export { default as zipper } from "./zipper"; | ||
export { default as merge } from "./merge"; | ||
export { default as slidingWindow } from "./slidingWindow"; | ||
@@ -16,3 +14,2 @@ export * from "./closestItem"; | ||
export * from "./PureComponent"; | ||
export declare function getLogger(prefix: string): () => void; | ||
export declare function sign(x: any): number; | ||
@@ -53,2 +50,2 @@ export declare function path(loc?: never[]): (obj: any, defaultValue?: any) => any; | ||
export declare function clearCanvas(canvasList: CanvasRenderingContext2D[], ratio: number): void; | ||
export declare function mapObject(object?: {}, iteratee?: (d: any) => any): any[]; | ||
export declare function mapObject(object?: {}, iteratee?: (x: any) => any): any[]; |
@@ -1,6 +0,2 @@ | ||
import { identity } from "./identity"; | ||
import { noop } from "./noop"; | ||
export { default as rebind } from "./rebind"; | ||
export { default as zipper } from "./zipper"; | ||
export { default as merge } from "./merge"; | ||
export { default as slidingWindow } from "./slidingWindow"; | ||
@@ -17,10 +13,2 @@ export * from "./closestItem"; | ||
export * from "./PureComponent"; | ||
export function getLogger(prefix) { | ||
let logger = noop; | ||
if (process.env.NODE_ENV !== "production") { | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
logger = require("debug")(`react-financial-charts:${prefix}`); | ||
} | ||
return logger; | ||
} | ||
export function sign(x) { | ||
@@ -138,3 +126,3 @@ // @ts-ignore | ||
// copied from https://github.com/lodash/lodash/blob/master/mapObject.js | ||
export function mapObject(object = {}, iteratee = identity) { | ||
export function mapObject(object = {}, iteratee = (x) => x) { | ||
const props = Object.keys(object); | ||
@@ -141,0 +129,0 @@ const result = new Array(props.length); |
{ | ||
"name": "@react-financial-charts/core", | ||
"version": "1.0.0-alpha.14", | ||
"version": "1.0.0-alpha.15", | ||
"description": "Core code for react-financial-charts", | ||
@@ -53,3 +53,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "3d5d01041abb8b11ae7528d0c08c6d984ff587a7" | ||
"gitHead": "629968753ea1c094dab3931cf7eea194062cdc38" | ||
} |
@@ -1,7 +0,2 @@ | ||
import { identity } from "./identity"; | ||
import { noop } from "./noop"; | ||
export { default as rebind } from "./rebind"; | ||
export { default as zipper } from "./zipper"; | ||
export { default as merge } from "./merge"; | ||
export { default as slidingWindow } from "./slidingWindow"; | ||
@@ -19,12 +14,2 @@ export * from "./closestItem"; | ||
export function getLogger(prefix: string) { | ||
let logger = noop; | ||
if (process.env.NODE_ENV !== "production") { | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
logger = require("debug")(`react-financial-charts:${prefix}`); | ||
} | ||
return logger; | ||
} | ||
export function sign(x: any) { | ||
@@ -168,3 +153,3 @@ // @ts-ignore | ||
// copied from https://github.com/lodash/lodash/blob/master/mapObject.js | ||
export function mapObject(object = {}, iteratee = identity) { | ||
export function mapObject(object = {}, iteratee = (x: any) => x) { | ||
const props = Object.keys(object); | ||
@@ -171,0 +156,0 @@ const result = new Array(props.length); |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
0
414688
106
7619