Skip to content

Commit 940fce9

Browse files
committed
chore(version): bump to v0.7.15
1 parent 49b7975 commit 940fce9

11 files changed

+74
-16
lines changed

.bmp.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
version: 0.7.14
2+
version: 0.7.15
33
commit: 'chore(version): bump to v%.%.%'
44
files:
55
src/core.js: 'version: "%.%.%"'

c3.esm.js

+15-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license C3.js v0.7.14 | (c) C3 Team and other contributors | http://c3js.org/ */
1+
/* @license C3.js v0.7.15 | (c) C3 Team and other contributors | http://c3js.org/ */
22
import * as d3 from 'd3';
33

44
function ChartInternal(api) {
@@ -1069,7 +1069,7 @@ Axis.prototype.redraw = function redraw(duration, isHidden) {
10691069
};
10701070

10711071
var c3 = {
1072-
version: "0.7.14",
1072+
version: "0.7.15",
10731073
chart: {
10741074
fn: Chart.prototype,
10751075
internal: {
@@ -6103,7 +6103,20 @@ ChartInternal.prototype.convertJsonToData = function (json, keys) {
61036103
}
61046104
return data;
61056105
};
6106+
/**
6107+
* Finds value from the given nested object by the given path.
6108+
* If it's not found, then this returns undefined.
6109+
* @param {Object} object the object
6110+
* @param {string} path the path
6111+
*/
61066112
ChartInternal.prototype.findValueInJson = function (object, path) {
6113+
if (path in object) {
6114+
// If object has a key that contains . or [], return the key's value
6115+
// instead of searching for an inner object.
6116+
// See https://github.com/c3js/c3/issues/1691 for details.
6117+
return object[path];
6118+
}
6119+
61076120
path = path.replace(/\[(\w+)\]/g, '.$1'); // convert indexes to properties (replace [] with .)
61086121
path = path.replace(/^\./, ''); // strip a leading dot
61096122
var pathArray = path.split('.');

c3.js

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license C3.js v0.7.14 | (c) C3 Team and other contributors | http://c3js.org/ */
1+
/* @license C3.js v0.7.15 | (c) C3 Team and other contributors | http://c3js.org/ */
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
44
typeof define === 'function' && define.amd ? define(factory) :
@@ -1278,7 +1278,7 @@
12781278
};
12791279

12801280
var c3 = {
1281-
version: "0.7.14",
1281+
version: "0.7.15",
12821282
chart: {
12831283
fn: Chart.prototype,
12841284
internal: {
@@ -6844,8 +6844,22 @@
68446844

68456845
return data;
68466846
};
6847+
/**
6848+
* Finds value from the given nested object by the given path.
6849+
* If it's not found, then this returns undefined.
6850+
* @param {Object} object the object
6851+
* @param {string} path the path
6852+
*/
6853+
68476854

68486855
ChartInternal.prototype.findValueInJson = function (object, path) {
6856+
if (path in object) {
6857+
// If object has a key that contains . or [], return the key's value
6858+
// instead of searching for an inner object.
6859+
// See https://github.com/c3js/c3/issues/1691 for details.
6860+
return object[path];
6861+
}
6862+
68496863
path = path.replace(/\[(\w+)\]/g, '.$1'); // convert indexes to properties (replace [] with .)
68506864

68516865
path = path.replace(/^\./, ''); // strip a leading dot

c3.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "c3",
33
"repo": "masayuki0812/c3",
44
"description": "A D3-based reusable chart library",
5-
"version": "0.7.14",
5+
"version": "0.7.15",
66
"keywords": [],
77
"dependencies": {
88
"mbostock/d3": "v5.0.0"

docs/index.html.haml

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838

3939
%h3 Change Log
4040
%ul
41+
%li
42+
<a href="https://github.com/c3js/c3/releases/tag/v0.7.15">v0.7.15</a><span class="gray">&nbsp;-&nbsp;2020-02-28</span>
43+
%ul
44+
%li Bug fixes.
4145
%li
4246
<a href="https://github.com/c3js/c3/releases/tag/v0.7.14">v0.7.14</a><span class="gray">&nbsp;-&nbsp;2020-02-24</span>
4347
%ul

docs/js/c3.esm.js

+15-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license C3.js v0.7.14 | (c) C3 Team and other contributors | http://c3js.org/ */
1+
/* @license C3.js v0.7.15 | (c) C3 Team and other contributors | http://c3js.org/ */
22
import * as d3 from 'd3';
33

44
function ChartInternal(api) {
@@ -1069,7 +1069,7 @@ Axis.prototype.redraw = function redraw(duration, isHidden) {
10691069
};
10701070

10711071
var c3 = {
1072-
version: "0.7.14",
1072+
version: "0.7.15",
10731073
chart: {
10741074
fn: Chart.prototype,
10751075
internal: {
@@ -6103,7 +6103,20 @@ ChartInternal.prototype.convertJsonToData = function (json, keys) {
61036103
}
61046104
return data;
61056105
};
6106+
/**
6107+
* Finds value from the given nested object by the given path.
6108+
* If it's not found, then this returns undefined.
6109+
* @param {Object} object the object
6110+
* @param {string} path the path
6111+
*/
61066112
ChartInternal.prototype.findValueInJson = function (object, path) {
6113+
if (path in object) {
6114+
// If object has a key that contains . or [], return the key's value
6115+
// instead of searching for an inner object.
6116+
// See https://github.com/c3js/c3/issues/1691 for details.
6117+
return object[path];
6118+
}
6119+
61076120
path = path.replace(/\[(\w+)\]/g, '.$1'); // convert indexes to properties (replace [] with .)
61086121
path = path.replace(/^\./, ''); // strip a leading dot
61096122
var pathArray = path.split('.');

docs/js/c3.js

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license C3.js v0.7.14 | (c) C3 Team and other contributors | http://c3js.org/ */
1+
/* @license C3.js v0.7.15 | (c) C3 Team and other contributors | http://c3js.org/ */
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
44
typeof define === 'function' && define.amd ? define(factory) :
@@ -1278,7 +1278,7 @@
12781278
};
12791279

12801280
var c3 = {
1281-
version: "0.7.14",
1281+
version: "0.7.15",
12821282
chart: {
12831283
fn: Chart.prototype,
12841284
internal: {
@@ -6844,8 +6844,22 @@
68446844

68456845
return data;
68466846
};
6847+
/**
6848+
* Finds value from the given nested object by the given path.
6849+
* If it's not found, then this returns undefined.
6850+
* @param {Object} object the object
6851+
* @param {string} path the path
6852+
*/
6853+
68476854

68486855
ChartInternal.prototype.findValueInJson = function (object, path) {
6856+
if (path in object) {
6857+
// If object has a key that contains . or [], return the key's value
6858+
// instead of searching for an inner object.
6859+
// See https://github.com/c3js/c3/issues/1691 for details.
6860+
return object[path];
6861+
}
6862+
68496863
path = path.replace(/\[(\w+)\]/g, '.$1'); // convert indexes to properties (replace [] with .)
68506864

68516865
path = path.replace(/^\./, ''); // strip a leading dot

docs/js/c3.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "c3",
3-
"version": "0.7.14",
3+
"version": "0.7.15",
44
"description": "D3-based reusable chart library",
55
"main": "c3.js",
66
"files": [

src/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
} from './util';
2121

2222
var c3 = {
23-
version: "0.7.14",
23+
version: "0.7.15",
2424
chart: {
2525
fn: Chart.prototype,
2626
internal: {

0 commit comments

Comments
 (0)