Skip to content

Commit

Permalink
fix: do not mutate objects
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekleon committed Feb 24, 2022
1 parent 5509e90 commit 2ada955
Show file tree
Hide file tree
Showing 7 changed files with 108 additions and 81 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "params-equal",
"version": "1.0.3",
"version": "1.1.0",
"description": "Checks if two elements are really equal",
"main": "src/paramsEqual.js",
"scripts": {
Expand All @@ -11,17 +11,17 @@
"test": "npm run build && nyc --include src/**/*.js --reporter=html --report-dir=coverage --check-coverage mocha \" src/**/*.spec.js\""
},
"devDependencies": {
"@types/benchmark": "1.0.33",
"@types/chai": "4.2.12",
"@types/mocha": "8.0.1",
"@types/benchmark": "2.1.1",
"@types/chai": "4.3.0",
"@types/mocha": "9.1.0",
"@types/node": "14.0.27",
"benchmark": "2.1.4",
"chai": "4.2.0",
"mocha": "8.1.1",
"chai": "4.3.6",
"mocha": "9.2.1",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"tslint": "6.1.3",
"typescript": "3.9.7"
"typescript": "4.5.5"
},
"dependencies": {
"param-type": "^1.1.1"
Expand Down
19 changes: 11 additions & 8 deletions src/paramsEqual.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/paramsEqual.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 66 additions & 58 deletions src/paramsEqual.spec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2ada955

Please sign in to comment.