Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

Commit

Permalink
Release v1.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
pouc committed Jan 30, 2017
1 parent f76577c commit 4129ef2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
**Author:** Loïc Formont
**License**: MIT Licensed
**Example**
```javascriptvar equal = require("arr-equal");```
```javascriptvar equal = require("arr-equal");equal([1, 2, 3], [1, 2, 3]) ==> trueequal([1, 2, 3], [1, 3, 2]) ==> falseequal([1, 2, 3], [1, 3, 2], {order: false}) ==> trueequal([1, [2, 3]], [1, [2, 3]]) ==> falseequal([1, [2, 3]], [1, [2, 3]], {deep: true}) ==> true```
Expand Down
8 changes: 8 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ const undef = require('ifnotundef');
* @example
* ```javascript
* var equal = require("arr-equal");
*
* equal([1, 2, 3], [1, 2, 3]) ==> true
*
* equal([1, 2, 3], [1, 3, 2]) ==> false
* equal([1, 2, 3], [1, 3, 2], {order: false}) ==> true
*
* equal([1, [2, 3]], [1, [2, 3]]) ==> false
* equal([1, [2, 3]], [1, [2, 3]], {deep: true}) ==> true
* ```
*/
module.exports = function(arr1, arr2, options) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arr-equal",
"version": "1.1.5",
"version": "1.1.6",
"description": "check if two arrays are equal with options (order? shallow? ...)",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 4129ef2

Please sign in to comment.