brackets-cdn icon indicating copy to clipboard operation
brackets-cdn copied to clipboard

Upcoming Lodash 3.x Update

Open marcelgerber opened this issue 10 years ago • 4 comments

Dear Brackets extension developer, we're planning to update the version of Lodash used in Brackets to 3.x (currently, we use 2.4.1). As we've had a look at your extension, we noticed there's some code that may cause issues while migrating. Thus, we suggest to update your extension so the migration can happen frictionless. For your extension, we've identified this issue: viewmodels/library.js: _.template with more than 1 parameter won't be supported any more. Instead, use the new syntax _.template(string)(data)

Further information: Lodash compatibility warnings Brackets issue about updating Lodash

marcelgerber avatar Apr 07 '15 21:04 marcelgerber

Oh, I see, you use your own version of Lodash.

marcelgerber avatar Apr 07 '15 21:04 marcelgerber

Actually I plan to start using the Brackets lodash (just forget to do it for this extensions) so I'll reopen this issue.

dnbard avatar Apr 08 '15 06:04 dnbard

I think I saw the same issue for other extensions of yours that currently use their own version of Lodash, so please be aware.

marcelgerber avatar Apr 08 '15 09:04 marcelgerber

Yeah, thanks. Will spend some time to update them.

dnbard avatar Apr 08 '15 09:04 dnbard