{"action":"created","issue":{"url":"https://api.github.com/repos/expressjs/express/issues/3650","repository_url":"https://api.github.com/repos/expressjs/express","labels_url":"https://api.github.com/repos/expressjs/express/issues/3650/labels{/name}","comments_url":"https://api.github.com/repos/expressjs/express/issues/3650/comments","events_url":"https://api.github.com/repos/expressjs/express/issues/3650/events","html_url":"https://github.com/expressjs/express/issues/3650","id":322290733,"number":3650,"title":"body-parser deprecated undefined extended: provide extended option","user":{"login":"Tiendq","id":815910,"avatar_url":"https://avatars2.githubusercontent.com/u/815910?v=4","gravatar_id":"","url":"https://api.github.com/users/Tiendq","html_url":"https://github.com/Tiendq","followers_url":"https://api.github.com/users/Tiendq/followers","following_url":"https://api.github.com/users/Tiendq/following{/other_user}","gists_url":"https://api.github.com/users/Tiendq/gists{/gist_id}","starred_url":"https://api.github.com/users/Tiendq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tiendq/subscriptions","organizations_url":"https://api.github.com/users/Tiendq/orgs","repos_url":"https://api.github.com/users/Tiendq/repos","events_url":"https://api.github.com/users/Tiendq/events{/privacy}","received_events_url":"https://api.github.com/users/Tiendq/received_events","type":"User","site_admin":false},"labels":[{"id":206149,"url":"https://api.github.com/repos/expressjs/express/labels/4.x","name":"4.x","color":"ededed","default":false},{"id":572472845,"url":"https://api.github.com/repos/expressjs/express/labels/module:body-parser","name":"module:body-parser","color":"bfe5bf","default":false},{"id":133578712,"url":"https://api.github.com/repos/expressjs/express/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-05-11T13:09:56Z","updated_at":"2018-05-11T14:51:13Z","closed_at":"2018-05-11T13:16:58Z","author_association":"NONE","body":"`express.urlencoded([options])` documentation says that `extended` option is `true` by default. But `node` shows a deprecated warning.\r\n\r\n```javascript\r\nlet express = require('express');\r\nlet router = express.Router();\r\n\r\nrouter.post(\"/create\", express.urlencoded(), function (request, response) {\r\n});\r\n```\r\n\r\n`body-parser deprecated undefined extended: provide extended option`\r\n\r\nThere is no warning if I set `extended` explicitly:\r\n\r\n`express.urlencoded({ extended: true })`\r\n\r\nNodeJS v10.0.0\r\nexpress 4.16.3"},"comment":{"url":"https://api.github.com/repos/expressjs/express/issues/comments/388387089","html_url":"https://github.com/expressjs/express/issues/3650#issuecomment-388387089","issue_url":"https://api.github.com/repos/expressjs/express/issues/3650","id":388387089,"user":{"login":"dougwilson","id":67512,"avatar_url":"https://avatars3.githubusercontent.com/u/67512?v=4","gravatar_id":"","url":"https://api.github.com/users/dougwilson","html_url":"https://github.com/dougwilson","followers_url":"https://api.github.com/users/dougwilson/followers","following_url":"https://api.github.com/users/dougwilson/following{/other_user}","gists_url":"https://api.github.com/users/dougwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/dougwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougwilson/subscriptions","organizations_url":"https://api.github.com/users/dougwilson/orgs","repos_url":"https://api.github.com/users/dougwilson/repos","events_url":"https://api.github.com/users/dougwilson/events{/privacy}","received_events_url":"https://api.github.com/users/dougwilson/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T14:51:13Z","updated_at":"2018-05-11T14:51:13Z","author_association":"OWNER","body":"A deprecation warning doesn't make something required. (1) anyone can simply silence deprecation warnings and (2) the code functions just fine.\r\n\r\nIf you think the docs can be improved, please feel free to open a pull request with the suggested changes :+1:"}}
{"actor":{"display_login":"dougwilson"}}