Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object.values is not a function #681

Closed
kk0829 opened this issue Jul 11, 2017 · 2 comments
Closed

Object.values is not a function #681

kk0829 opened this issue Jul 11, 2017 · 2 comments
Labels

Comments

@kk0829
Copy link

kk0829 commented Jul 11, 2017

node version: v6.10.0

TypeError: Object.values is not a function
    at Object.isMobilePhone (/Users/kk/workspace/zan/node_modules/validator/lib/isMobilePhone.js:77:21)
    at Validator.isMobilePhone (/Users/kk/workspace/zan/lib/base/Validator.js:158:34)
    at Object.<anonymous> (/Users/kk/workspace/zan/test/base/validator.js:25:10)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:394:7)
@hkwu
Copy link
Contributor

hkwu commented Jul 17, 2017

Looks like a regression in 7.2.0. @chriso I guess this should be patched for 7.2 and merged back into master?

@PauloLira
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants