Skip to content

Commit 10a2f10

Browse files
committed
Merge remote-tracking branch 'origin/master' into cam/7732/migrate-from-cci-to-gha
2 parents ca7d608 + 50c19fb commit 10a2f10

File tree

7 files changed

+25
-25
lines changed

7 files changed

+25
-25
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
install_firefox: false
4545
install_geckodriver: false
4646
install_chrome: true
47-
chrome_version: "135.0.7049.95"
47+
chrome_version: "136.0.7103.113"
4848
- attach_workspace:
4949
at: ~/
5050
- run:
@@ -83,7 +83,7 @@ jobs:
8383
install_firefox: false
8484
install_geckodriver: false
8585
install_chrome: true
86-
chrome_version: "135.0.7049.95"
86+
chrome_version: "136.0.7103.113"
8787
- attach_workspace:
8888
at: ~/
8989
- run:
@@ -105,7 +105,7 @@ jobs:
105105
install_firefox: false
106106
install_geckodriver: false
107107
install_chrome: true
108-
chrome_version: "135.0.7049.95"
108+
chrome_version: "136.0.7103.113"
109109
- attach_workspace:
110110
at: ~/
111111
- run:
@@ -127,7 +127,7 @@ jobs:
127127
install_firefox: false
128128
install_geckodriver: false
129129
install_chrome: true
130-
chrome_version: "135.0.7049.95"
130+
chrome_version: "136.0.7103.113"
131131
- attach_workspace:
132132
at: ~/
133133
- run:
@@ -169,7 +169,7 @@ jobs:
169169
install_firefox: false
170170
install_geckodriver: false
171171
install_chrome: true
172-
chrome_version: "135.0.7049.95"
172+
chrome_version: "136.0.7103.113"
173173
- attach_workspace:
174174
at: ~/
175175
- run:
@@ -190,7 +190,7 @@ jobs:
190190
install_firefox: false
191191
install_geckodriver: false
192192
install_chrome: true
193-
chrome_version: "135.0.7049.95"
193+
chrome_version: "136.0.7103.113"
194194
- attach_workspace:
195195
at: ~/
196196
- run:

test/image/disallow_list.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"map_angles",
33
"map_fonts-supported-open-sans-weight",
44
"map_fonts-supported-open-sans",
5+
"map_layers",
56
"map_predefined-styles2",
67
"map_scattercluster",
78
"map_stamen-style"

test/jasmine/assets/custom_assertions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ exports.assertPlotSize = function(opts, msg) {
295295
var widthLessThan = opts.widthLessThan;
296296
var heightLessThan = opts.heightLessThan;
297297

298-
var plotBB = d3Select('.plotclip > rect').node().getBoundingClientRect();
298+
var plotBB = d3Select('.plotclip > rect').node().getBBox();
299299
var actualWidth = plotBB.width;
300300
var actualHeight = plotBB.height;
301301

test/jasmine/tests/geo_test.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2588,8 +2588,8 @@ describe('Test geo zoom/pan/drag interactions:', function() {
25882588
var center = geoLayout.center;
25892589
var scale = geoLayout.projection.scale;
25902590

2591-
expect(center.lon).toBeCloseTo(attr[0][0], 0.5, msg + 'center.lon');
2592-
expect(center.lat).toBeCloseTo(attr[0][1], 0.5, msg + 'center.lat');
2591+
expect(center.lon).toBeCloseTo(attr[0][0], 0, msg + 'center.lon');
2592+
expect(center.lat).toBeCloseTo(attr[0][1], 0, msg + 'center.lat');
25932593
expect(scale).toBeCloseTo(attr[1], 1, msg + 'zoom');
25942594

25952595
// albersUsa projection does not have a center() method
@@ -2608,15 +2608,15 @@ describe('Test geo zoom/pan/drag interactions:', function() {
26082608
_assert('base', [
26092609
[-96.6, 38.7], 1,
26102610
], [
2611-
[416, 309], 738.5
2611+
[410, 329], 738.5
26122612
], undefined);
26132613
return drag({path: [[250, 250], [200, 200]], noCover: true});
26142614
})
26152615
.then(function() {
26162616
_assert('after NW-SE drag', [
26172617
[-91.8, 34.8], 1,
26182618
], [
2619-
[366, 259], 738.5
2619+
[366, 279], 738.5
26202620
], [
26212621
'geo.center.lon', 'geo.center.lon'
26222622
]);
@@ -2626,7 +2626,7 @@ describe('Test geo zoom/pan/drag interactions:', function() {
26262626
_assert('after scroll', [
26272627
[-94.5, 35.0], 1.3
26282628
], [
2629-
[387.1, 245.9], 974.4
2629+
[380, 273], 974.4
26302630
], [
26312631
'geo.center.lon', 'geo.center.lon', 'geo.projection.scale'
26322632
]);
@@ -2637,7 +2637,7 @@ describe('Test geo zoom/pan/drag interactions:', function() {
26372637
[-94.5, 35.0], 1.3
26382638
], [
26392639
// new center values are reflected in translate()
2640-
[387.1, 245.9], 974.4
2640+
[380, 273], 974.4
26412641
], [
26422642
'geo.showlakes'
26432643
]);
@@ -2647,7 +2647,7 @@ describe('Test geo zoom/pan/drag interactions:', function() {
26472647
_assert('after double click', [
26482648
[-96.6, 38.7], 1,
26492649
], [
2650-
[416, 309], 738.5
2650+
[416, 329], 738.5
26512651
], 'dblclick');
26522652
})
26532653
.then(done, done.fail);

test/jasmine/tests/volume_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ describe('Test volume', function() {
336336
}
337337

338338
function _hover4() {
339-
mouseEvent('mouseover', 150, 300);
339+
mouseEvent('mouseover', 140, 300);
340340
return delay(20)();
341341
}
342342

topojson/bin/process_geodata.mjs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,12 @@ async function createLakesLayer({ name, resolution, source }) {
215215

216216
async function createSubunitsLayer({ name, resolution, source }) {
217217
// Only include USA for 'usa' scope since the UN and NE borders don't match exactly and slivers of Canada creep in
218-
const filter = (name === 'usa' ? ['USA'] : ['AUS', 'BRA', 'CAN', 'USA'])
219-
.map((id) => `adm0_a3 === "${id}"`)
220-
.join(' || ');
218+
const filter = name === 'usa' ? 'adm0_a3 === "USA"' : config.filters.subunits;
221219
const inputFilePath = `${outputDirGeojson}/${getNEFilename({ resolution, source })}.geojson`;
222220
const outputFilePath = `${outputDirGeojson}/${name}_${resolution}m/subunits.geojson`;
223221
const commands = [
224222
inputFilePath,
225-
`-filter "${filter}"`,
223+
`-filter '${filter}'`,
226224
`-clip ${outputDirGeojson}/${name}_${resolution}m/countries.geojson`, // Clip to the continent
227225
`-o ${outputFilePath}`
228226
].join(' ');

topojson/package-lock.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)