Skip to content

Commit

Permalink
Release/2.0.0 (#44)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
osorokotyaga committed Mar 22, 2019
1 parent 97431b5 commit 6e5bf77
Show file tree
Hide file tree
Showing 1,462 changed files with 7,571 additions and 1,504,490 deletions.
26 changes: 0 additions & 26 deletions .babelrc

This file was deleted.

22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
; http://editorconfig.org

root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{js}]
indent_style = space
indent_size = 4

[package.json]
indent_size = 2

[*.md]
indent_size = 4

[node_modules/**.js]
codepaint = false
6 changes: 5 additions & 1 deletion .esdoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"source": "./src",
"source": "./ts_temp",
"destination": "docs/",
"excludes": [
"node_modules",
Expand All @@ -21,6 +21,10 @@
{
"from": "\\.js$",
"to": ""
},
{
"from": "^ts_temp/",
"to": ""
}
]
}
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
node_modules
build
/docs
ts_temp
coverage
.DS_Store
.DS_Store
.idea/
.vscode/
9 changes: 9 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"parser": "typescript",
"singleQuote": true,
"trailingComma": "es5",
"proseWrap": "never",
"arrowParens": "always",
"printWidth": 120,
"tabWidth": 4
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 2.0.0
+ add typings
+ move docs to branch gh-pages
+ add memoize functions
+ add is/shallowEqual
+ upgrade to babel@7
+ fix bug with `omit` string conversion
+ remove is/not
+ remove is/contains
+ remove sanitize
+ fix function/throttleEnd
+ fix array/shuffle random generator

## 1.0.2
+ Update docs and license

Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ $ npm run benchmark
| object/path | 12,023,128 ops/sec | 8,894,639 ops/sec | 7,587,076 ops/sec |
| string/trim | 4,215,928 ops/sec | 1,034,655 ops/sec | 6,029,794 ops/sec |

## Browser support

- Chrome >= 40
- Firefox >= 52
- Edge >= 14
- IE >= 11
- Safari >= 10
- iOS >= 10
- Android >= 4.4

## Node support
- 6.4.0 and higher

## Bundle size
| Library | Bundle size |
| --- | --- |
Expand Down
23 changes: 23 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
loose: true,
modules: false,
targets: {
chrome: 28,
safari: 6,
firefox: 28,
opera: 32,
ie: 11,
},
},
],
'@babel/preset-react',
],
plugins: [
'@babel/plugin-proposal-object-rest-spread',
'babel-plugin-transform-es2015-modules-simple-commonjs',
],
};

0 comments on commit 6e5bf77

Please sign in to comment.