Commit Graph
50 Commits
Author SHA1 Message Date
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy 2ce173a725 lodash: Fix lint failure (#20365) 2017-10-06 12:51:56 -07:00
Nathan Shively-Sanders b8ea87c68e Strict function variance fixes round 1 2017-10-02 15:50:34 -07:00
Scott a96d185882 Types/lodash -- update with new functions (#18738)
* feat(lodash): update types and list of lodash functions

* fix: add missing typings for flatMapDepth

* test(lodash): update test with newly added function

Note: pullAllWith is not included

* fix: add missing entries in tsconfig.json

* feat: add and generate new modules

* fix(lodash): improve typings

* fix: update with latest flatMap types

* fix(lodash): remove redundant types for updateWith method

* fix(lodash): improve types of flatMapDeep and flatMapDepth and tests

replace Many with ListOfRecursiveArraysOrValues
2017-09-25 13:55:37 -07:00
Jonathan Sheely 5d6648e218 mapValues can accept a single param and output entire object (#19786) 2017-09-25 12:20:55 -07:00
Nathan Shively-Sanders 9b6db41060 Merge pull request #19349 from eggers/mapValues-v3
Adding LoDashExplicitObjectWrapperBase.mapValues to v3
2017-09-07 09:23:17 -07:00
Andy cb2dbfbb50 Add ignores for new lint rules (#19504) 2017-09-01 07:47:52 -07:00
Jacob Eggers 60ecc1bb40 Adding _.mapValues to v3 2017-08-25 09:13:04 -07:00
Andy f89e38ca85 lodash: Fix test (#19191) 2017-08-21 10:08:26 -07:00
Andy 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
AJ Richardson be8fece482 [lodash] improved iteratee parameters, simplified forEach and flatMap overloads (#18663)
* [lodash] improved iterateee parameters, simplified forEach overloads

* Changed ListIterator to StringIterator, cleaned up more issues with flatMap

* Even more flatMap cleanup

* Fixed type inference for forEach callback arguments
2017-08-18 06:55:13 -07:00
Andy 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Oleg Vaskevich cc070e767f Add missing MapCache#clear method (for _.memoize) (#18943)
* Add missing MapCache#clear method (for _.memoize)

* fix tests

* fix tests (2)
2017-08-14 13:43:54 -07:00
Andy 49a86971ef Use lodash/scripts/generate-modules.ts to generate lodash-es too (#18751) 2017-08-08 14:06:51 -07:00
AJ Richardson cad18fc7ad lodash: fix issues with null/undefined parameters (#18120) 2017-07-21 19:00:07 -07:00
Ailrun c7c8a5ec56 fix lodash type for orderBy 2017-07-17 02:19:45 -04:00
Ryan Cavanaugh 6ec2a092cc Merge pull request #17922 from bcherny/master
[lodash] clean up _.sample typings
2017-07-13 16:47:20 -07:00
Boris Cherny debc05f547 [lodash] Alias builtin ArrayLike to List 2017-07-11 16:29:26 -07:00
Boris Cherny 61b5651f24 clean up _.sample typings 2017-07-11 16:23:10 -07:00
Paul van Brenk d3d79d772d Merge pull request #17503 from rzymek/lodash.toFinite
lodash - Add _.toFinite
2017-06-29 13:40:02 -07:00
Paul van Brenk 941cceb015 Merge pull request #17456 from aj-r/lodash-type-guard-issues
Lodash type guard issues
2017-06-29 13:31:10 -07:00
rzymek 4b999a376f lodash - Add _.toFinite 2017-06-27 09:54:21 +02:00
Paul van Brenk 36c917167b Merge pull request #17502 from rzymek/lodash.multiply
lodash - Add _.multiply
2017-06-26 16:25:25 -07:00
Paul van Brenk efcf7ac377 Merge pull request #17501 from rzymek/lodash.flow
lodash - Enabled _.flow & _.flowRight to accept an array of functions
2017-06-26 16:25:03 -07:00
Paul van Brenk fff2f75981 Merge pull request #17500 from rzymek/lodash.divide
lodash - Add _.divide
2017-06-26 16:23:54 -07:00
rzymek e57c630919 lodash - Enabled _.flow & _.flowRight to accept an array of functions 2017-06-26 18:36:18 +02:00
rzymek 2160e7b86f lodash - Add _.divide 2017-06-26 18:22:30 +02:00
rzymek f78f1e3523 lodash - Add _.multiply 2017-06-26 18:22:03 +02:00
AJ Richardson e9a5643e4d lodash: _.compact should remove more types (#17416) 2017-06-24 10:12:46 -04:00
AJ Richardson 4e5add2f77 Fixed isArray type guards (#16077) 2017-06-23 23:16:05 -04:00
Yui d191d80731 Merge pull request #16891 from evestraw/master
curry right fixed  #16867
2017-06-12 08:03:18 -07:00
Eric Roos ca4f0e634b fixed curryRight tests to not be the same as a mirrod curry 2017-06-07 15:38:33 +02:00
AJ Richardson 519b3e46da lodash: allow null and undefined parameters (#16364)
* lodash: allow null and undefined parameters (#15883)

* lodash: fix requested changes (#15883)

* Better way of handling array wrappers

* lodash: allow more null or undefined inputs
2017-06-01 08:27:33 -07:00
Eric 644f9e560d Update index.d.ts
fixed curry right
2017-06-01 14:42:15 +02:00
AJ Richardson c4a2a2a976 lodash: callback parameters should not be optional (#11516) (#15895) 2017-05-05 08:55:48 -07:00
Alex Lockwood ca53e5699a Add support for ReadonlyArray<T> to chain() method (#15892)
* Add support for ReadonlyArray<T> to chain() method

* Update index.d.ts

* Made plant method ReadonlyArray-aware as well

* Update index.d.ts
2017-04-20 14:50:09 -07:00
Dan Vanderkam 8595416269 Use dtslint for Lodash map and add pluck variant (#15574) 2017-04-20 11:34:52 -07:00
Andy fa2480ba61 Remove more namespaces from tests (#16029) 2017-04-20 09:06:00 -07:00
Andy bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Jason Killian 5e1049bce1 Fix typo in method name 2017-04-07 14:15:13 -04:00
Andy f2b6506ba5 Fix various lint errors (#15530) 2017-03-30 17:42:07 -07:00
Nathan Shively-Sanders b6dc00bc4f Merge pull request #15363 from tamird/lodash-topairs
lodash: fix toPairs, toPairsIn definitions
2017-03-30 15:39:09 -07:00
Nathan Shively-Sanders 6477d32c55 Merge pull request #15382 from rzymek/lodash.zipObjectDeep
lodash - Add _.zipObjectDeep
2017-03-30 15:37:49 -07:00
Andy efecc1d637 lodash: Apply new lint rules (#15491) 2017-03-29 15:41:22 -07:00
Andy 5f3ba45136 Use dtslint (#15482) 2017-03-29 13:07:39 -07:00
Eric Anderson 3a001868d3 Lodash compact should remove undefineds 2017-03-27 11:02:48 -04:00
Tamir Duberstein 701ad3fcc0 lodash: fix toPairs, toPairsIn definitions
toPairs:   https://github.com/lodash/lodash/blob/4.17.4/lodash.js#L13684:L13708
toPairsIn: https://github.com/lodash/lodash/blob/4.17.4/lodash.js#L13710:L13734

Fixes #14654.
2017-03-25 13:02:42 -04:00
rzymek 259d2a3ec8 add zipObjectDeep to tsconfig.json
fixed failed travis test: lodash/zipObjectDeep has unused file index.d.ts
2017-03-25 17:23:29 +01:00
rzymek 2667103188 lodash - _.zipObjectDeep
https://lodash.com/docs/4.17.4#zipObjectDeep
The same signature as _.zipObject
2017-03-25 09:49:19 +01:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00