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

@react-financial-charts/core

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-financial-charts/core - npm Package Compare versions

Comparing version 1.0.0-alpha.14 to 1.0.0-alpha.15

8

CHANGELOG.md

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

5

lib/utils/index.d.ts
/// <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[];

14

lib/utils/index.js

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

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