[go: nahoru, domu]

Skip to content

Commit

Permalink
fix prototype pollution vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
ashaffer committed Nov 7, 2018
1 parent a63061a commit a43cffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var path = require('path')

var relative = path.relative
var lastCwd = process.cwd()
var cache = {}
var cache = Object.create(null)

/**
* Expose cachedPathRelative
Expand Down

0 comments on commit a43cffe

Please sign in to comment.