Skip to content

Commit

Permalink
Fixes #1516: upgrade of lodash
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarto committed Mar 2, 2017
1 parent a18ff80 commit f3060cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@
"leaflet-plugins": "https://github.com/Polyconseil/leaflet-plugins/tarball/master",
"leaflet-simple-graticule": "1.0.2",
"leaflet.locatecontrol": "0.45.1",
"lodash": "3.10.1",
"lodash.castarray": "4.4.0",
"lodash": "4.17.4",
"moment": "2.13.0",
"node-uuid": "1.4.3",
"object-assign": "4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion web/client/api/WMTS.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const capabilitiesCache = {};

const {isArray, head} = require('lodash');

const castArray = require('lodash.castarray');
const {castArray} = require('lodash');

const CoordinatesUtils = require('../utils/CoordinatesUtils');

Expand Down
2 changes: 1 addition & 1 deletion web/client/utils/CatalogUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const assign = require('object-assign');
const {head, isArray, isString} = require('lodash');
const urlUtil = require('url');
const CoordinatesUtils = require('./CoordinatesUtils');
const castArray = require('lodash.castarray');
const {castArray} = require('lodash');

const getWMSBBox = (record) => {
let layer = record;
Expand Down

0 comments on commit f3060cd

Please sign in to comment.