Skip to content

Commit

Permalink
Merge pull request #193 from Blu-J/dependabot/npm_and_yarn/typescript…
Browse files Browse the repository at this point in the history
…-3.5.2

Build(deps-dev): bump typescript from 3.4.5 to 3.5.2
  • Loading branch information
Blu-J authored Jun 30, 2019
2 parents 374a09b + 3f52972 commit 2fb5927
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const getOrKey = <T, Key extends keyof T, OrValue extends T[Key]>(
key: Key,
orValue: OrValue
) => (value: T): OrValue => {
if (value && value.hasOwnProperty(key)) {
if (value && Object.prototype.hasOwnProperty.call(value, key)) {
return (value && value[key]) as any;
}
return orValue;
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4170,8 +4170,8 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"

typescript@^3.0.3:
version "3.4.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.5.tgz#2d2618d10bb566572b8d7aad5180d84257d70a99"
version "3.5.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.2.tgz#a09e1dc69bc9551cadf17dba10ee42cf55e5d56c"

uglify-js@^3.1.4:
version "3.4.9"
Expand Down

0 comments on commit 2fb5927

Please sign in to comment.