Skip to content

Commit

Permalink
bumping deps. updating style and docs (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreardon committed Mar 27, 2019
1 parent d143f88 commit 7b9e308
Show file tree
Hide file tree
Showing 25 changed files with 2,387 additions and 2,018 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Alexander Reardon
Copyright (c) 2019 Alexander Reardon

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -77,7 +77,7 @@ type EqualityFn = (newArgs: mixed[], oldArgs: mixed[]) => boolean;

An equality function should return `true` if the arguments are equal. If `true` is returned then the wrapped function will not be called.

The default equality function is a shallow equal check of all arguments (each argument is compared with `===`). The default equality function also does not check anything if the length of the arguments changes. You are welcome to decide if you want to return `false` if the `length` of the arguments is not equal
The default equality function is a shallow equal check of all arguments (each argument is compared with `===`). If the `length` of arguments change, then the default equality function makes no shallow equality checks. You are welcome to decide if you want to return `false` if the `length` of the arguments is not equal

```js
const simpleIsEqual: EqualityFn = (
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/@babel/core_vx.x.x.js
@@ -1,5 +1,5 @@
// flow-typed signature: 1effa075e42d0b9f6ad4e24551c990f4
// flow-typed version: <<STUB>>/@babel/core_v^7.2.0/flow_v0.88.0
// flow-typed signature: 0d47cf4858754deaf08dc7741a3daae7
// flow-typed version: <<STUB>>/@babel/core_v^7.4.0/flow_v0.95.1

/**
* This is an autogenerated libdef stub for:
Expand Down
110 changes: 83 additions & 27 deletions flow-typed/npm/@babel/preset-env_vx.x.x.js
@@ -1,5 +1,5 @@
// flow-typed signature: 9dc7bdcce56d3e132a0df197a91dcca4
// flow-typed version: <<STUB>>/@babel/preset-env_v^7.2.0/flow_v0.88.0
// flow-typed signature: ce891bd82326641d6ce065206cc9205c
// flow-typed version: <<STUB>>/@babel/preset-env_v^7.4.2/flow_v0.95.1

/**
* This is an autogenerated libdef stub for:
Expand All @@ -22,7 +22,11 @@ declare module '@babel/preset-env' {
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@babel/preset-env/data/built-in-features' {
declare module '@babel/preset-env/data/built-ins.json' {
declare module.exports: any;
}

declare module '@babel/preset-env/data/corejs2-built-in-features' {
declare module.exports: any;
}

Expand All @@ -42,19 +46,15 @@ declare module '@babel/preset-env/lib/available-plugins' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/built-in-definitions' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/debug' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/default-includes' {
declare module '@babel/preset-env/lib/filter-items' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/defaults' {
declare module '@babel/preset-env/lib/get-option-specific-excludes' {
declare module.exports: any;
}

Expand All @@ -74,15 +74,47 @@ declare module '@babel/preset-env/lib/options' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/targets-parser' {
declare module '@babel/preset-env/lib/polyfills/corejs2/built-in-definitions' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/polyfills/corejs2/entry-plugin' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/polyfills/corejs2/get-platform-specific-default' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/polyfills/corejs2/usage-plugin' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/polyfills/corejs3/built-in-definitions' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/polyfills/corejs3/entry-plugin' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/polyfills/corejs3/shipped-proposals' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/polyfills/corejs3/usage-plugin' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/polyfills/regenerator/entry-plugin' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/use-built-ins-entry-plugin' {
declare module '@babel/preset-env/lib/polyfills/regenerator/usage-plugin' {
declare module.exports: any;
}

declare module '@babel/preset-env/lib/use-built-ins-plugin' {
declare module '@babel/preset-env/lib/targets-parser' {
declare module.exports: any;
}

Expand All @@ -91,8 +123,11 @@ declare module '@babel/preset-env/lib/utils' {
}

// Filename aliases
declare module '@babel/preset-env/data/built-in-features.js' {
declare module.exports: $Exports<'@babel/preset-env/data/built-in-features'>;
declare module '@babel/preset-env/data/built-ins.json.js' {
declare module.exports: $Exports<'@babel/preset-env/data/built-ins.json'>;
}
declare module '@babel/preset-env/data/corejs2-built-in-features.js' {
declare module.exports: $Exports<'@babel/preset-env/data/corejs2-built-in-features'>;
}
declare module '@babel/preset-env/data/plugin-features.js' {
declare module.exports: $Exports<'@babel/preset-env/data/plugin-features'>;
Expand All @@ -106,17 +141,14 @@ declare module '@babel/preset-env/data/unreleased-labels.js' {
declare module '@babel/preset-env/lib/available-plugins.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/available-plugins'>;
}
declare module '@babel/preset-env/lib/built-in-definitions.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/built-in-definitions'>;
}
declare module '@babel/preset-env/lib/debug.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/debug'>;
}
declare module '@babel/preset-env/lib/default-includes.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/default-includes'>;
declare module '@babel/preset-env/lib/filter-items.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/filter-items'>;
}
declare module '@babel/preset-env/lib/defaults.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/defaults'>;
declare module '@babel/preset-env/lib/get-option-specific-excludes.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/get-option-specific-excludes'>;
}
declare module '@babel/preset-env/lib/index.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/index'>;
Expand All @@ -130,14 +162,38 @@ declare module '@babel/preset-env/lib/normalize-options.js' {
declare module '@babel/preset-env/lib/options.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/options'>;
}
declare module '@babel/preset-env/lib/targets-parser.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/targets-parser'>;
declare module '@babel/preset-env/lib/polyfills/corejs2/built-in-definitions.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/corejs2/built-in-definitions'>;
}
declare module '@babel/preset-env/lib/polyfills/corejs2/entry-plugin.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/corejs2/entry-plugin'>;
}
declare module '@babel/preset-env/lib/polyfills/corejs2/get-platform-specific-default.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/corejs2/get-platform-specific-default'>;
}
declare module '@babel/preset-env/lib/polyfills/corejs2/usage-plugin.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/corejs2/usage-plugin'>;
}
declare module '@babel/preset-env/lib/polyfills/corejs3/built-in-definitions.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/corejs3/built-in-definitions'>;
}
declare module '@babel/preset-env/lib/polyfills/corejs3/entry-plugin.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/corejs3/entry-plugin'>;
}
declare module '@babel/preset-env/lib/use-built-ins-entry-plugin.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/use-built-ins-entry-plugin'>;
declare module '@babel/preset-env/lib/polyfills/corejs3/shipped-proposals.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/corejs3/shipped-proposals'>;
}
declare module '@babel/preset-env/lib/use-built-ins-plugin.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/use-built-ins-plugin'>;
declare module '@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/corejs3/usage-plugin'>;
}
declare module '@babel/preset-env/lib/polyfills/regenerator/entry-plugin.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/regenerator/entry-plugin'>;
}
declare module '@babel/preset-env/lib/polyfills/regenerator/usage-plugin.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/polyfills/regenerator/usage-plugin'>;
}
declare module '@babel/preset-env/lib/targets-parser.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/targets-parser'>;
}
declare module '@babel/preset-env/lib/utils.js' {
declare module.exports: $Exports<'@babel/preset-env/lib/utils'>;
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/@babel/preset-flow_vx.x.x.js
@@ -1,5 +1,5 @@
// flow-typed signature: edb1e58212bd23fa6778c1a2d953961c
// flow-typed version: <<STUB>>/@babel/preset-flow_v^7.0.0/flow_v0.88.0
// flow-typed signature: d1fd6e0f7eed4569a406d412cf277486
// flow-typed version: <<STUB>>/@babel/preset-flow_v^7.0.0/flow_v0.95.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-core_vx.x.x.js
@@ -1,5 +1,5 @@
// flow-typed signature: 0eb641663d4f0b3548ddcf64ad7873ce
// flow-typed version: <<STUB>>/babel-core_v^7.0.0-bridge.0/flow_v0.88.0
// flow-typed signature: 74a306a6940721c14b879625bf622ac6
// flow-typed version: <<STUB>>/babel-core_v^7.0.0-bridge.0/flow_v0.95.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-eslint_vx.x.x.js
@@ -1,5 +1,5 @@
// flow-typed signature: 56ae87d58b3a427daaf6add207ee1e6f
// flow-typed version: <<STUB>>/babel-eslint_v10.0.1/flow_v0.88.0
// flow-typed signature: cef64d13023bee452a584a0a8be53282
// flow-typed version: <<STUB>>/babel-eslint_v10.0.1/flow_v0.95.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-jest_vx.x.x.js
@@ -1,5 +1,5 @@
// flow-typed signature: 9805b09b05ca3eec6370e31ac3a2dd73
// flow-typed version: <<STUB>>/babel-jest_v^23.6.0/flow_v0.88.0
// flow-typed signature: 55f6d127c85b2d6baa545c0f815e7c06
// flow-typed version: <<STUB>>/babel-jest_v^24.5.0/flow_v0.95.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/cross-env_vx.x.x.js
@@ -1,5 +1,5 @@
// flow-typed signature: 49ea25e6f52868896b005bfe1969eb8b
// flow-typed version: <<STUB>>/cross-env_v^5.2.0/flow_v0.88.0
// flow-typed signature: 1f02a3ee86caee2068ce94e0c7a7b30e
// flow-typed version: <<STUB>>/cross-env_v^5.2.0/flow_v0.95.1

/**
* This is an autogenerated libdef stub for:
Expand Down
94 changes: 94 additions & 0 deletions flow-typed/npm/eslint-config-prettier_vx.x.x.js
@@ -0,0 +1,94 @@
// flow-typed signature: c33eb5b3522ae552b2e3f8680b093e75
// flow-typed version: <<STUB>>/eslint-config-prettier_v^4.1.0/flow_v0.95.1

/**
* This is an autogenerated libdef stub for:
*
* 'eslint-config-prettier'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'eslint-config-prettier' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'eslint-config-prettier/@typescript-eslint' {
declare module.exports: any;
}

declare module 'eslint-config-prettier/babel' {
declare module.exports: any;
}

declare module 'eslint-config-prettier/bin/cli' {
declare module.exports: any;
}

declare module 'eslint-config-prettier/bin/validators' {
declare module.exports: any;
}

declare module 'eslint-config-prettier/flowtype' {
declare module.exports: any;
}

declare module 'eslint-config-prettier/react' {
declare module.exports: any;
}

declare module 'eslint-config-prettier/standard' {
declare module.exports: any;
}

declare module 'eslint-config-prettier/unicorn' {
declare module.exports: any;
}

declare module 'eslint-config-prettier/vue' {
declare module.exports: any;
}

// Filename aliases
declare module 'eslint-config-prettier/@typescript-eslint.js' {
declare module.exports: $Exports<'eslint-config-prettier/@typescript-eslint'>;
}
declare module 'eslint-config-prettier/babel.js' {
declare module.exports: $Exports<'eslint-config-prettier/babel'>;
}
declare module 'eslint-config-prettier/bin/cli.js' {
declare module.exports: $Exports<'eslint-config-prettier/bin/cli'>;
}
declare module 'eslint-config-prettier/bin/validators.js' {
declare module.exports: $Exports<'eslint-config-prettier/bin/validators'>;
}
declare module 'eslint-config-prettier/flowtype.js' {
declare module.exports: $Exports<'eslint-config-prettier/flowtype'>;
}
declare module 'eslint-config-prettier/index' {
declare module.exports: $Exports<'eslint-config-prettier'>;
}
declare module 'eslint-config-prettier/index.js' {
declare module.exports: $Exports<'eslint-config-prettier'>;
}
declare module 'eslint-config-prettier/react.js' {
declare module.exports: $Exports<'eslint-config-prettier/react'>;
}
declare module 'eslint-config-prettier/standard.js' {
declare module.exports: $Exports<'eslint-config-prettier/standard'>;
}
declare module 'eslint-config-prettier/unicorn.js' {
declare module.exports: $Exports<'eslint-config-prettier/unicorn'>;
}
declare module 'eslint-config-prettier/vue.js' {
declare module.exports: $Exports<'eslint-config-prettier/vue'>;
}
11 changes: 9 additions & 2 deletions flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js
@@ -1,5 +1,5 @@
// flow-typed signature: 11633217dc0b81aa41efb485de7d522f
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^3.2.0/flow_v0.88.0
// flow-typed signature: e889b1f7a27cdbaaef0d8003f5949d2b
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^3.4.2/flow_v0.95.1

/**
* This is an autogenerated libdef stub for:
Expand Down Expand Up @@ -94,6 +94,10 @@ declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments' {
declare module.exports: any;
}

declare module 'eslint-plugin-flowtype/dist/rules/noMixed' {
declare module.exports: any;
}

declare module 'eslint-plugin-flowtype/dist/rules/noMutableArray' {
declare module.exports: any;
}
Expand Down Expand Up @@ -321,6 +325,9 @@ declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType.js' {
declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noMixed.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noMixed'>;
}
declare module 'eslint-plugin-flowtype/dist/rules/noMutableArray.js' {
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noMutableArray'>;
}
Expand Down

0 comments on commit 7b9e308

Please sign in to comment.