mgonto / restangular

AngularJS service to handle Rest API Restful Resources properly and easily
MIT License
7.87k stars 840 forks source link

Update bower.json on version 1.5.2 so lodash dependency be >=3.0.0 #1327

Closed leosvelperez closed 7 years ago

leosvelperez commented 8 years ago

When I updated to the 1.5.2 version the lodash dependency still was >=1.3.0 while it's no longer compatible with that.

DioNNiS commented 8 years ago

+1

bingomanatee commented 8 years ago

Lodash is now up to version 4; there are several deprecated methods that are used in Restangular now.

bostrom commented 7 years ago

Updated lodash version to ~4.17.0 in bower.json and package.json in e0b68a021ad9e4f7fc34d66cad4c24af1864ba18

@bingomanatee which methods do you consider deprecated in lodash version 4? I can't find any deprecation information.

bingomanatee commented 7 years ago

https://github.com/lodash/lodash/wiki/Deprecations

Sent from my iPad

On Dec 25, 2016, at 1:00 PM, Fredrik Boström notifications@github.com wrote:

Updated lodash version to ~4.17.0 in bower.json and package.json in e0b68a0

@bingomanatee which methods do you consider deprecated in lodash version 4? I can't find any deprecation information.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

bostrom commented 7 years ago

These are the lodash methods used in the current version of Restangular:

_.bind
_.defaults
_.each
_.every
_.extend
_.find
_.has
_.includes
_.initial
_.isArray
_.isBoolean
_.isEmpty
_.isFunction
_.isNull
_.isNumber
_.isObject
_.isRegExp
_.isUndefined
_.keys
_.last
_.map
_.omit
_.pick
_.reduce
_.union
_.values

none of which are listed in the deprecation list:

_#run
_.all
_.any
_.backflow
_.callback
_.collect
_.compose
_.contains
_.detect
_.findWhere
_.first
_.foldl
_.foldr
_.include
_.indexBy
_.inject
_.invoke
_.methods
_.modArgs
_.object
_.padLeft
_.padRight
_.pairs
_.pluck
_.rest
_.restParam
_.select
_.sortByOrder
_.support
_.trimLeft
_.trimRight
_.trunc
_.unique
_.where

So everything should be ok.