Skip to content

Тайпинги #10

Merged
merged 9 commits into from
Oct 3, 2018
Merged

Тайпинги #10

merged 9 commits into from
Oct 3, 2018

Conversation

Ploffi
Copy link

@Ploffi Ploffi commented Aug 10, 2018

Добавил файлы декларации, пофиксил тесты (jsdom localStorage)

@dmitry-korolev dmitry-korolev self-requested a review August 14, 2018 11:21
@osorokotyaga osorokotyaga added this to the 2.0.0 milestone Aug 18, 2018
@osorokotyaga osorokotyaga added the enhancement New feature or request label Aug 18, 2018
@osorokotyaga osorokotyaga changed the base branch from master to release/2.0.0 September 20, 2018 08:18
@osorokotyaga
Copy link
Contributor

please update with target branch

src/array/any.ts Outdated
@@ -23,4 +24,4 @@ export default curryN(2, (fn, arr = []) => {
}

return false;
});
}) as typeof ramdaAny
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please, remove ramda mentions, let it be just 'any'

}
}) as each

interface each {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we move such definitons to typings/types to be more consistent?

@@ -1,3 +1,4 @@
import * as R from '../typings/types';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, remove ramda mentions

@markelog
Copy link
Contributor

Still conflicts, also it's kinda hard to review such big PR :/

@osorokotyaga
Copy link
Contributor

@Ploffi please, resolve conflicts

@osorokotyaga osorokotyaga merged commit eef0174 into Tinkoff:release/2.0.0 Oct 3, 2018
sp3ber added a commit to sp3ber/utils.js that referenced this pull request Oct 3, 2018
osorokotyaga pushed a commit that referenced this pull request Oct 22, 2018
* fix tests

* Тайпинги

* add ts-jest

* Перевел на typescript

* Добавил в сборку компиляцию typescript и копирование при блиде

* Поправил тайпинги, добавил ts-jest и @types/ramda в package.json

* Вынес ramda типы в файл types.ts

* move all definitions to types.ts
osorokotyaga added a commit that referenced this pull request Mar 22, 2019
* Call throttleEnd with last arguments within `wait` period (#11)

Now, when a function throttled with throttleEnd is invoked several times within a wait period it is finally called by throttleEnd with arguments, provided at last! invoke.

Resolves: #9

* Remove sanitize util. (#12)

src/sanitize was too dumb, better use specially oriented sanitize packages

Resolves: #3

* Extend find* utilities passed arguments to callback. (#16)

* Extend find* utilities passed arguments to callback.

According to spec Array.prototype.find and Array.prototype.findIndex passes three arguments to callback function: element, index and array. Extend current implementation according to spec.

Resolves: #15

* Code style change for array/findLast.

Replace while with for statement.

* Feature/remove docs from master (#13)

* Remove docs folder.

* Add script to generate docs and publish it to gh-pages branch.

Resolves: #4

* Тайпинги (#10)

* fix tests

* Тайпинги

* add ts-jest

* Перевел на typescript

* Добавил в сборку компиляцию typescript и копирование при блиде

* Поправил тайпинги, добавил ts-jest и @types/ramda в package.json

* Вынес ramda типы в файл types.ts

* move all definitions to types.ts

* Memoize without types (#28)

* Adds .editorconfig file

* Adds editors service folders to .gitignore

* Updates README.MD with support information

* Adds memoization functions

* Adds Map using to deepSizeLimit memoization function

* Fixes test descriptions and code indendation (4 spaces)

* Adds memoizeOne function (save only last result - like reselect)

* Renames "shallow" to "strict" (it's more proper name for this functionality)

* Omit string conversion (#27)

* object/omit add test for string conversion bug

* Fix object/omit props string conversion.

Resolves: #22

* Remove utils/is/not in favor of utils/not

Resolves: #18

* release 2.0.0-alpha

* rename memoize functions to ts

* Update CHANGELOG.md

* Upgrade to babel@7 and remove copying .babelrc to dist package (#35)

Resolves: #14

* fix bug in generating random index for array/shuffle (#34)

Resolves: #25

* Increase coverage of some utilities (#36)

Resolves: #26

* Fix array/maxBy edge cases (#37)

Resolves: #29

* add type guards for src/is utilities (#38)

Resolves: #30

* add is/shallowEqual (#39)

Resolves: #31

* Add default exports (#40)

* split typings to files, remove unused types

* split createCacheFrom and MemoizeWith to separate files

* improve modules build to prevent to generate useless code

Resolves: #32

* fix docs generation (#41)

enable docs generation for typescript
fix missing files on gh-pages

Resolves: #33

* publish 2.0.0-alpha.2

* fix typings for src/array

* fix typings for src/function

* fix typings for src/is

* fix typings for src/object

* fix typings for src/promise

* fix typings for src/string

* fix typings for src/

* fix typings

* add typings to benchmark runner

* fix typings

* publish 2.0.0-alpha.3

* fix typings

* publish 2.0.0-alpha.4

* fix typings

* publish 2.0.0-alpha.5

* fix typings

* fix build

* publish 2.0.0-alpha.6

* publish 2.0.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants