Skip to content

Commit b1164e7

Browse files
committed
Add guards for unsafe dereferencing (ref plotly#2687)
* In drawData * In supplyDefaultsUpdateCalc
1 parent edc166f commit b1164e7

24 files changed

+17834
-88061
lines changed

dist/README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The main plotly.js bundle weights in at:
7474

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

7979
## Partial bundles
8080

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

105105
| Raw size | Minified size | Minified + gzip size |
106106
|------|-----------------|------------------------|
107-
| 2.1 MB | 750 kB | 244.3 kB |
107+
| 2.1 MB | 750 kB | 244.9 kB |
108108

109109
### plotly.js cartesian
110110

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

123123
| Raw size | Minified size | Minified + gzip size |
124124
|------|-----------------|------------------------|
125-
| 2.4 MB | 861 kB | 278.9 kB |
125+
| 2.4 MB | 860.4 kB | 279.3 kB |
126126

127127
### plotly.js geo
128128

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

141141
| Raw size | Minified size | Minified + gzip size |
142142
|------|-----------------|------------------------|
143-
| 2.1 MB | 773.7 kB | 253.4 kB |
143+
| 2.1 MB | 773.2 kB | 253.9 kB |
144144

145145
### plotly.js gl3d
146146

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

159159
| Raw size | Minified size | Minified + gzip size |
160160
|------|-----------------|------------------------|
161-
| 3.1 MB | 1.2 MB | 392.8 kB |
161+
| 3.1 MB | 1.2 MB | 393 kB |
162162

163163
### plotly.js gl2d
164164

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

177177
| Raw size | Minified size | Minified + gzip size |
178178
|------|-----------------|------------------------|
179-
| 3.1 MB | 1.3 MB | 411.5 kB |
179+
| 3.1 MB | 1.3 MB | 412.5 kB |
180180

181181
### plotly.js mapbox
182182

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

195195
| Raw size | Minified size | Minified + gzip size |
196196
|------|-----------------|------------------------|
197-
| 3.4 MB | 1.3 MB | 396.4 kB |
197+
| 2.6 MB | 1.3 MB | 391.8 kB |
198198

199199
### plotly.js finance
200200

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

213213
| Raw size | Minified size | Minified + gzip size |
214214
|------|-----------------|------------------------|
215-
| 2.2 MB | 780.1 kB | 253.3 kB |
215+
| 2.2 MB | 780.2 kB | 253.9 kB |
216216

217217
----------------
218218

0 commit comments

Comments
 (0)