Skip to content

Commit

Permalink
Add guards for unsafe dereferencing (ref plotly#2687)
Browse files Browse the repository at this point in the history
* In drawData
* In supplyDefaultsUpdateCalc
  • Loading branch information
jacobq committed Jun 27, 2018
1 parent edc166f commit b1164e7
Show file tree
Hide file tree
Showing 24 changed files with 17,834 additions and 88,061 deletions.
16 changes: 8 additions & 8 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ The main plotly.js bundle weights in at:

| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
|-----------|---------------|----------------------|---------------------|
| 6.3 MB | 2.6 MB | 791.6 kB | 6.5 MB |
| 5.5 MB | 2.6 MB | 788.3 kB | 5.7 MB |

## Partial bundles

Expand Down Expand Up @@ -104,7 +104,7 @@ The `basic` partial bundle contains the `scatter`, `bar` and `pie` trace modules

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.1 MB | 750 kB | 244.3 kB |
| 2.1 MB | 750 kB | 244.9 kB |

### plotly.js cartesian

Expand All @@ -122,7 +122,7 @@ The `cartesian` partial bundle contains the `scatter`, `bar`, `box`, `heatmap`,

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.4 MB | 861 kB | 278.9 kB |
| 2.4 MB | 860.4 kB | 279.3 kB |

### plotly.js geo

Expand All @@ -140,7 +140,7 @@ The `geo` partial bundle contains the `scatter`, `scattergeo` and `choropleth` t

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.1 MB | 773.7 kB | 253.4 kB |
| 2.1 MB | 773.2 kB | 253.9 kB |

### plotly.js gl3d

Expand All @@ -158,7 +158,7 @@ The `gl3d` partial bundle contains the `scatter`, `scatter3d`, `surface`, `mesh3

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.1 MB | 1.2 MB | 392.8 kB |
| 3.1 MB | 1.2 MB | 393 kB |

### plotly.js gl2d

Expand All @@ -176,7 +176,7 @@ The `gl2d` partial bundle contains the `scatter`, `scattergl`, `splom`, `pointcl

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.1 MB | 1.3 MB | 411.5 kB |
| 3.1 MB | 1.3 MB | 412.5 kB |

### plotly.js mapbox

Expand All @@ -194,7 +194,7 @@ The `mapbox` partial bundle contains the `scatter` and `scattermapbox` trace mod

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.4 MB | 1.3 MB | 396.4 kB |
| 2.6 MB | 1.3 MB | 391.8 kB |

### plotly.js finance

Expand All @@ -212,7 +212,7 @@ The `finance` partial bundle contains the `scatter`, `bar`, `histogram`, `pie`,

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.2 MB | 780.1 kB | 253.3 kB |
| 2.2 MB | 780.2 kB | 253.9 kB |

----------------

Expand Down
Loading

0 comments on commit b1164e7

Please sign in to comment.