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

@cloudflare/chart-time

Package Overview
Dependencies
Maintainers
19
Versions
579
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/chart-time - npm Package Compare versions

Comparing version 3.1.5 to 3.2.0

18

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

<a name="3.2.0"></a>
# [3.2.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/chart-time@3.1.5...@cloudflare/chart-time@3.2.0) (2018-11-27)
### Features
* **style-const:** UI-993 - Bump d3-scale to latest ([32b7620](http://stash.cfops.it:7999/fe/stratus/commits/32b7620))
* **util-color:** UI-993 - Consume categorical colors from theme ([cfdf496](http://stash.cfops.it:7999/fe/stratus/commits/cfdf496))
<a name="3.1.5"></a>

@@ -15,3 +27,3 @@ ## [3.1.5](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/chart-time@3.1.4...@cloudflare/chart-time@3.1.5) (2018-11-21)

<a name="3.1.4"></a>
<a name="3.1.4"></a>
## [3.1.4](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/chart-time@3.1.3...@cloudflare/chart-time@3.1.4) (2018-11-20)

@@ -24,3 +36,3 @@

<a name="3.1.3"></a>
<a name="3.1.3"></a>
## [3.1.3](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/chart-time@3.1.2...@cloudflare/chart-time@3.1.3) (2018-11-20)

@@ -36,3 +48,3 @@

<a name="3.1.2"></a>
<a name="3.1.2"></a>
## [3.1.2](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/chart-time@3.1.0...@cloudflare/chart-time@3.1.2) (2018-11-19)

@@ -39,0 +51,0 @@

5

es/TimeSeriesChart.js

@@ -27,4 +27,5 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

import Nvd3 from 'react-nvd3';
import { scaleTime, schemeCategory20 } from 'd3-scale';
import { scaleTime } from 'd3-scale';
import { transparentize } from 'polished';
import { variables as theme } from '@cloudflare/style-const';
import { StyleProvider } from '@cloudflare/style-provider';

@@ -364,3 +365,3 @@ import { applyStaticStyles, createComponent, withRenderer } from '@cloudflare/style-container';

maxSeries: 20,
seriesColor: schemeCategory20,
seriesColor: theme.colors.categorical,
fillArea: false,

@@ -367,0 +368,0 @@ dashedLine: false,

@@ -20,2 +20,4 @@ "use strict";

var _styleConst = require("@cloudflare/style-const");
var _styleProvider = require("@cloudflare/style-provider");

@@ -385,3 +387,3 @@

maxSeries: 20,
seriesColor: _d3Scale.schemeCategory20,
seriesColor: _styleConst.variables.colors.categorical,
fillArea: false,

@@ -388,0 +390,0 @@ dashedLine: false,

{
"name": "@cloudflare/chart-time",
"description": "Cloudflare time-based chart presentational components",
"version": "3.1.5",
"version": "3.2.0",
"main": "lib/index.js",

@@ -14,7 +14,8 @@ "module": "es/index.js",

"dependencies": {
"@cloudflare/component-box": "^2.1.4",
"@cloudflare/component-text": "^2.1.4",
"@cloudflare/style-container": "^4.1.2",
"@cloudflare/style-provider": "^1.2.2",
"d3-scale": "^1.0.7",
"@cloudflare/component-box": "^2.1.5",
"@cloudflare/component-text": "^2.1.5",
"@cloudflare/style-const": "^2.2.0",
"@cloudflare/style-container": "^4.2.0",
"@cloudflare/style-provider": "^1.2.3",
"d3-scale": "^2.1.2",
"d3-time": "^1.0.7",

@@ -21,0 +22,0 @@ "d3-time-format": "^2.1.0",

@@ -5,5 +5,6 @@ import React from 'react';

import Nvd3 from 'react-nvd3';
import { scaleTime, schemeCategory20 } from 'd3-scale';
import { scaleTime } from 'd3-scale';
import { transparentize } from 'polished';
import { variables as theme } from '@cloudflare/style-const';
import { StyleProvider } from '@cloudflare/style-provider';

@@ -269,3 +270,3 @@ import {

maxSeries: 20,
seriesColor: schemeCategory20,
seriesColor: theme.colors.categorical,
fillArea: false,

@@ -272,0 +273,0 @@ dashedLine: false,

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