Skip to content

Commit

Permalink
Add vulnerability fix in changelog. Drop support to node < 10, at lea…
Browse files Browse the repository at this point in the history
…st officially (latest version of mocha does not work in node < 10). Remove sponsor.
  • Loading branch information
mariocasciaro committed Oct 10, 2020
1 parent 2be3354 commit 8e32400
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
- "8"
- "10"
- "12"
- "14"
after_script: NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Sponsored by [<img src="https://frontendrobot.com/assets/fr-full-logo-green.png"

## Changelog

### 0.11.5

* **Security Fix**. Fix a prototype pollution vulnerability in the `set()` function when using the "inherited props" mode (e.g. when a new `object-path` instance is created with the `includeInheritedProps` option set to `true` or when using the `withInheritedProps` default instance. The vulnerability does not exist in the default instance exposed by object path (e.g `objectPath.set()`).

### 0.11.0

* Introduce ability to specify options and create new instances of `object-path`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "git://github.com/mariocasciaro/object-path.git"
},
"engines": {
"node": ">=0.10.0"
"node": ">= 10.12.0"
},
"devDependencies": {
"@mariocasciaro/benchpress": "^0.1.3",
Expand Down

3 comments on commit 8e32400

@EdCafferata
Copy link

Choose a reason for hiding this comment

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

done

@EdCafferata
Copy link

Choose a reason for hiding this comment

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

done

@EdCafferata
Copy link

Choose a reason for hiding this comment

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

done

Please sign in to comment.