Skip to content

Commit

Permalink
Merge pull request #5313 from nasa-gibs/UAT-v4.41.2
Browse files Browse the repository at this point in the history
UAT-v4.41.2
  • Loading branch information
PatchesMaps authored Jun 25, 2024
2 parents ac18f03 + 5074c62 commit a810e4b
Show file tree
Hide file tree
Showing 9 changed files with 709 additions and 355 deletions.
1,031 changes: 692 additions & 339 deletions package-lock.json

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "worldview",
"version": "4.41.1",
"version": "4.41.2",
"description": "Interactive interface for browsing full-resolution, global satellite imagery",
"keywords": [
"NASA",
Expand Down Expand Up @@ -95,22 +95,21 @@
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"css-url-relative-plugin": "^1.1.0",
"cssnano": "^7.0.2",
"cssnano": "^7.0.3",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-standard": "^17.1.0",
"eslint-import-resolver-webpack": "^0.13.8",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-no-storage": "^1.0.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.2.0",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react": "^7.34.3",
"express": "^4.19.2",
"fetch-mock": "^9.11.0",
"glob": "^10.4.1",
"glob": "^10.4.2",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
Expand All @@ -127,17 +126,17 @@
"react-test-renderer": "^18.3.0",
"redux-mock-store": "^1.5.4",
"run-script-os": "^1.1.6",
"sass": "^1.77.5",
"sass": "^1.77.6",
"sass-loader": "^14.2.1",
"shelljs": "^0.8.5",
"showdown": "^2.1.0",
"stylelint": "^15.11.0",
"stylelint-config-standard-scss": "^11.1.0",
"stylelint-high-performance-animation": "^1.10.0",
"tar": "^7.2.0",
"tar": "^7.4.0",
"terser-webpack-plugin": "^5.3.10",
"uuid": "^10.0.0",
"webpack": "^5.92.0",
"webpack": "^5.92.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-middleware": "^7.2.1",
Expand Down Expand Up @@ -166,6 +165,7 @@
"element-resize-detector": "^1.2.4",
"elm-pep": "^1.0.6",
"eslint-plugin-react-hooks": "^4.6.2",
"fetch-mock-jest": "^1.5.1",
"file-saver": "^2.0.5",
"geographiclib-geodesic": "^2.0.0",
"history": "^5.3.0",
Expand Down
3 changes: 2 additions & 1 deletion web/js/map/granule/granule-layer-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,10 @@ export default function granuleLayerBuilder(cache, store, createLayerWMTS) {
const availableCount = availableGranules?.length;
if (!availableCount) return granules;
const count = granuleCount > availableCount ? availableCount : granuleCount;
const sortedAvailableGranules = availableGranules.sort((a, b) => new Date(b.date) - new Date(a.date));

for (let i = 0; granules.length < count; i += 1) {
const item = availableGranules[i];
const item = sortedAvailableGranules[i];
if (!item) break;
const { date } = item;
if (new Date(date) <= leadingEdgeDate && isWithinBounds(crs, item)) {
Expand Down
2 changes: 1 addition & 1 deletion web/js/map/granule/granule-layer-builder.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import configureMockStore from 'redux-mock-store';
import { thunk } from 'redux-thunk';
import fetchMock from 'fetch-mock';
import fetchMock from 'fetch-mock-jest';
import fixtures from '../../fixtures';
import layerbuilder from '../layerbuilder';
import granuleLayerBuilder from './granule-layer-builder';
Expand Down
2 changes: 1 addition & 1 deletion web/js/map/layerbuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default function mapLayerBuilder(config, cache, store) {
}

if (def.period === 'subdaily') {
closestDate = nearestInterval(def, closestDate);
closestDate = def.id.includes('TEMPO_L2') ? closestDate : nearestInterval(def, closestDate);
} else if (previousDateFromRange) {
closestDate = util.clearTimeUTC(previousDateFromRange);
} else {
Expand Down
2 changes: 1 addition & 1 deletion web/js/modules/link/actions.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TextEncoder, TextDecoder } from 'util';
import configureMockStore from 'redux-mock-store';
import { thunk } from 'redux-thunk';
import fetchMock from 'fetch-mock';
import fetchMock from 'fetch-mock-jest';
import * as actions from './actions';
import * as constants from './constants';

Expand Down
2 changes: 1 addition & 1 deletion web/js/modules/modal/actions.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TextEncoder, TextDecoder } from 'util';
import configureMockStore from 'redux-mock-store';
import { thunk } from 'redux-thunk';
import fetchMock from 'fetch-mock';
import fetchMock from 'fetch-mock-jest';
import {
openBasicContent,
openCustomContent,
Expand Down
2 changes: 1 addition & 1 deletion web/js/modules/notifications/actions.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TextEncoder, TextDecoder } from 'util';
import configureMockStore from 'redux-mock-store';
import { thunk } from 'redux-thunk';
import fetchMock from 'fetch-mock';
import fetchMock from 'fetch-mock-jest';
import * as actions from './actions';
import * as constants from './constants';

Expand Down
2 changes: 1 addition & 1 deletion web/js/modules/palettes/actions.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TextEncoder, TextDecoder } from 'util';
import configureMockStore from 'redux-mock-store';
import { thunk } from 'redux-thunk';
import fetchMock from 'fetch-mock';
import fetchMock from 'fetch-mock-jest';
import { assign, cloneDeep } from 'lodash';
import update from 'immutability-helper';
import {
Expand Down

0 comments on commit a810e4b

Please sign in to comment.