Skip to content

Commit

Permalink
2.25.2
Browse files Browse the repository at this point in the history
  • Loading branch information
archmoj committed Aug 11, 2023
1 parent 920a50e commit e824199
Show file tree
Hide file tree
Showing 25 changed files with 236 additions and 86 deletions.
42 changes: 21 additions & 21 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
| 8.1 MB | 3.4 MB | 1 MB | 8.4 MB |

#### CDN links
> https://cdn.plot.ly/plotly-2.25.1.js
> https://cdn.plot.ly/plotly-2.25.2.js
> https://cdn.plot.ly/plotly-2.25.1.min.js
> https://cdn.plot.ly/plotly-2.25.2.min.js

#### npm packages
Expand Down Expand Up @@ -91,12 +91,12 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.6 MB | 969.3 kB | 324.3 kB |
| 2.6 MB | 969.5 kB | 324.4 kB |

#### CDN links
> https://cdn.plot.ly/plotly-basic-2.25.1.js
> https://cdn.plot.ly/plotly-basic-2.25.2.js
> https://cdn.plot.ly/plotly-basic-2.25.1.min.js
> https://cdn.plot.ly/plotly-basic-2.25.2.min.js

#### npm packages
Expand All @@ -114,12 +114,12 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.3 MB | 1.2 MB | 410.4 kB |
| 3.3 MB | 1.2 MB | 410.5 kB |

#### CDN links
> https://cdn.plot.ly/plotly-cartesian-2.25.1.js
> https://cdn.plot.ly/plotly-cartesian-2.25.2.js
> https://cdn.plot.ly/plotly-cartesian-2.25.1.min.js
> https://cdn.plot.ly/plotly-cartesian-2.25.2.min.js

#### npm packages
Expand All @@ -140,9 +140,9 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
| 3.1 MB | 1.1 MB | 368.4 kB |

#### CDN links
> https://cdn.plot.ly/plotly-geo-2.25.1.js
> https://cdn.plot.ly/plotly-geo-2.25.2.js
> https://cdn.plot.ly/plotly-geo-2.25.1.min.js
> https://cdn.plot.ly/plotly-geo-2.25.2.min.js

#### npm packages
Expand All @@ -163,9 +163,9 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
| 3.6 MB | 1.5 MB | 488.9 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl3d-2.25.1.js
> https://cdn.plot.ly/plotly-gl3d-2.25.2.js
> https://cdn.plot.ly/plotly-gl3d-2.25.1.min.js
> https://cdn.plot.ly/plotly-gl3d-2.25.2.min.js

#### npm packages
Expand All @@ -183,12 +183,12 @@ The `gl2d` partial bundle contains trace modules `heatmapgl`, `parcoords`, `poin

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 4.4 MB | 1.8 MB | 594.8 kB |
| 4.4 MB | 1.8 MB | 594.9 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl2d-2.25.1.js
> https://cdn.plot.ly/plotly-gl2d-2.25.2.js
> https://cdn.plot.ly/plotly-gl2d-2.25.1.min.js
> https://cdn.plot.ly/plotly-gl2d-2.25.2.min.js

#### npm packages
Expand All @@ -209,9 +209,9 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
| 4.3 MB | 1.7 MB | 525.6 kB |

#### CDN links
> https://cdn.plot.ly/plotly-mapbox-2.25.1.js
> https://cdn.plot.ly/plotly-mapbox-2.25.2.js
> https://cdn.plot.ly/plotly-mapbox-2.25.1.min.js
> https://cdn.plot.ly/plotly-mapbox-2.25.2.min.js

#### npm packages
Expand All @@ -232,9 +232,9 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
| 2.8 MB | 1 MB | 353 kB |

#### CDN links
> https://cdn.plot.ly/plotly-finance-2.25.1.js
> https://cdn.plot.ly/plotly-finance-2.25.2.js
> https://cdn.plot.ly/plotly-finance-2.25.1.min.js
> https://cdn.plot.ly/plotly-finance-2.25.2.min.js

#### npm packages
Expand All @@ -255,9 +255,9 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
| 8.6 MB | 3.7 MB | 1.1 MB |

#### CDN links
> https://cdn.plot.ly/plotly-strict-2.25.1.js
> https://cdn.plot.ly/plotly-strict-2.25.2.js
> https://cdn.plot.ly/plotly-strict-2.25.1.min.js
> https://cdn.plot.ly/plotly-strict-2.25.2.min.js

#### npm packages
Expand Down
23 changes: 19 additions & 4 deletions dist/plotly-basic.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* plotly.js (basic) v2.25.1
* plotly.js (basic) v2.25.2
* Copyright 2012-2023, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
Expand Down Expand Up @@ -25867,6 +25867,10 @@ lib.objectFromPath = function (path, value) {
// the inner loop.
var dottedPropertyRegex = /^([^\[\.]+)\.(.+)?/;
var indexedPropertyRegex = /^([^\.]+)\[([0-9]+)\](\.)?(.+)?/;
function notValid(prop) {
// guard against polluting __proto__ and other internals getters and setters
return prop.slice(0, 2) === '__';
}
lib.expandObjectPaths = function (data) {
var match, key, prop, datum, idx, dest, trailingPath;
if (typeof data === 'object' && !Array.isArray(data)) {
Expand All @@ -25875,11 +25879,13 @@ lib.expandObjectPaths = function (data) {
if (match = key.match(dottedPropertyRegex)) {
datum = data[key];
prop = match[1];
if (notValid(prop)) continue;
delete data[key];
data[prop] = lib.extendDeepNoArrays(data[prop] || {}, lib.objectFromPath(key, lib.expandObjectPaths(datum))[prop]);
} else if (match = key.match(indexedPropertyRegex)) {
datum = data[key];
prop = match[1];
if (notValid(prop)) continue;
idx = parseInt(match[2]);
delete data[key];
data[prop] = data[prop] || [];
Expand All @@ -25905,9 +25911,12 @@ lib.expandObjectPaths = function (data) {
} else {
// This is the case where this property is the end of the line,
// e.g. xaxis.range[0]

if (notValid(prop)) continue;
data[prop][idx] = lib.expandObjectPaths(datum);
}
} else {
if (notValid(key)) continue;
data[key] = lib.expandObjectPaths(data[key]);
}
}
Expand Down Expand Up @@ -26832,13 +26841,19 @@ module.exports = function nestedProperty(container, propStr) {
if (isNumeric(propStr)) propStr = String(propStr);else if (typeof propStr !== 'string' || propStr.substr(propStr.length - 4) === '[-1]') {
throw 'bad property string';
}
var j = 0;
var propParts = propStr.split('.');
var indexed;
var indices;
var i;
var i, j;
for (j = 0; j < propParts.length; j++) {
// guard against polluting __proto__ and other internals
if (String(propParts[j]).slice(0, 2) === '__') {
throw 'bad property string';
}
}

// check for parts of the nesting hierarchy that are numbers (ie array elements)
j = 0;
while (j < propParts.length) {
// look for non-bracket chars, then any number of [##] blocks
indexed = String(propParts[j]).match(/^([^\[\]]*)((\[\-?[0-9]*\])+)$/);
Expand Down Expand Up @@ -60286,7 +60301,7 @@ function getSortFunc(opts, d2c) {


// package version injected by `npm run preprocess`
exports.version = '2.25.1';
exports.version = '2.25.2';

/***/ }),

Expand Down
4 changes: 2 additions & 2 deletions dist/plotly-basic.min.js

Large diffs are not rendered by default.

23 changes: 19 additions & 4 deletions dist/plotly-cartesian.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* plotly.js (cartesian) v2.25.1
* plotly.js (cartesian) v2.25.2
* Copyright 2012-2023, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
Expand Down Expand Up @@ -25976,6 +25976,10 @@ lib.objectFromPath = function (path, value) {
// the inner loop.
var dottedPropertyRegex = /^([^\[\.]+)\.(.+)?/;
var indexedPropertyRegex = /^([^\.]+)\[([0-9]+)\](\.)?(.+)?/;
function notValid(prop) {
// guard against polluting __proto__ and other internals getters and setters
return prop.slice(0, 2) === '__';
}
lib.expandObjectPaths = function (data) {
var match, key, prop, datum, idx, dest, trailingPath;
if (typeof data === 'object' && !Array.isArray(data)) {
Expand All @@ -25984,11 +25988,13 @@ lib.expandObjectPaths = function (data) {
if (match = key.match(dottedPropertyRegex)) {
datum = data[key];
prop = match[1];
if (notValid(prop)) continue;
delete data[key];
data[prop] = lib.extendDeepNoArrays(data[prop] || {}, lib.objectFromPath(key, lib.expandObjectPaths(datum))[prop]);
} else if (match = key.match(indexedPropertyRegex)) {
datum = data[key];
prop = match[1];
if (notValid(prop)) continue;
idx = parseInt(match[2]);
delete data[key];
data[prop] = data[prop] || [];
Expand All @@ -26014,9 +26020,12 @@ lib.expandObjectPaths = function (data) {
} else {
// This is the case where this property is the end of the line,
// e.g. xaxis.range[0]

if (notValid(prop)) continue;
data[prop][idx] = lib.expandObjectPaths(datum);
}
} else {
if (notValid(key)) continue;
data[key] = lib.expandObjectPaths(data[key]);
}
}
Expand Down Expand Up @@ -26941,13 +26950,19 @@ module.exports = function nestedProperty(container, propStr) {
if (isNumeric(propStr)) propStr = String(propStr);else if (typeof propStr !== 'string' || propStr.substr(propStr.length - 4) === '[-1]') {
throw 'bad property string';
}
var j = 0;
var propParts = propStr.split('.');
var indexed;
var indices;
var i;
var i, j;
for (j = 0; j < propParts.length; j++) {
// guard against polluting __proto__ and other internals
if (String(propParts[j]).slice(0, 2) === '__') {
throw 'bad property string';
}
}

// check for parts of the nesting hierarchy that are numbers (ie array elements)
j = 0;
while (j < propParts.length) {
// look for non-bracket chars, then any number of [##] blocks
indexed = String(propParts[j]).match(/^([^\[\]]*)((\[\-?[0-9]*\])+)$/);
Expand Down Expand Up @@ -70699,7 +70714,7 @@ function getSortFunc(opts, d2c) {


// package version injected by `npm run preprocess`
exports.version = '2.25.1';
exports.version = '2.25.2';

/***/ }),

Expand Down
4 changes: 2 additions & 2 deletions dist/plotly-cartesian.min.js

Large diffs are not rendered by default.

23 changes: 19 additions & 4 deletions dist/plotly-finance.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* plotly.js (finance) v2.25.1
* plotly.js (finance) v2.25.2
* Copyright 2012-2023, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
Expand Down Expand Up @@ -25956,6 +25956,10 @@ lib.objectFromPath = function (path, value) {
// the inner loop.
var dottedPropertyRegex = /^([^\[\.]+)\.(.+)?/;
var indexedPropertyRegex = /^([^\.]+)\[([0-9]+)\](\.)?(.+)?/;
function notValid(prop) {
// guard against polluting __proto__ and other internals getters and setters
return prop.slice(0, 2) === '__';
}
lib.expandObjectPaths = function (data) {
var match, key, prop, datum, idx, dest, trailingPath;
if (typeof data === 'object' && !Array.isArray(data)) {
Expand All @@ -25964,11 +25968,13 @@ lib.expandObjectPaths = function (data) {
if (match = key.match(dottedPropertyRegex)) {
datum = data[key];
prop = match[1];
if (notValid(prop)) continue;
delete data[key];
data[prop] = lib.extendDeepNoArrays(data[prop] || {}, lib.objectFromPath(key, lib.expandObjectPaths(datum))[prop]);
} else if (match = key.match(indexedPropertyRegex)) {
datum = data[key];
prop = match[1];
if (notValid(prop)) continue;
idx = parseInt(match[2]);
delete data[key];
data[prop] = data[prop] || [];
Expand All @@ -25994,9 +26000,12 @@ lib.expandObjectPaths = function (data) {
} else {
// This is the case where this property is the end of the line,
// e.g. xaxis.range[0]

if (notValid(prop)) continue;
data[prop][idx] = lib.expandObjectPaths(datum);
}
} else {
if (notValid(key)) continue;
data[key] = lib.expandObjectPaths(data[key]);
}
}
Expand Down Expand Up @@ -26921,13 +26930,19 @@ module.exports = function nestedProperty(container, propStr) {
if (isNumeric(propStr)) propStr = String(propStr);else if (typeof propStr !== 'string' || propStr.substr(propStr.length - 4) === '[-1]') {
throw 'bad property string';
}
var j = 0;
var propParts = propStr.split('.');
var indexed;
var indices;
var i;
var i, j;
for (j = 0; j < propParts.length; j++) {
// guard against polluting __proto__ and other internals
if (String(propParts[j]).slice(0, 2) === '__') {
throw 'bad property string';
}
}

// check for parts of the nesting hierarchy that are numbers (ie array elements)
j = 0;
while (j < propParts.length) {
// look for non-bracket chars, then any number of [##] blocks
indexed = String(propParts[j]).match(/^([^\[\]]*)((\[\-?[0-9]*\])+)$/);
Expand Down Expand Up @@ -66593,7 +66608,7 @@ function getSortFunc(opts, d2c) {


// package version injected by `npm run preprocess`
exports.version = '2.25.1';
exports.version = '2.25.2';

/***/ }),

Expand Down
4 changes: 2 additions & 2 deletions dist/plotly-finance.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/plotly-geo-assets.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e824199

Please # to comment.