{"action":"created","issue":{"url":"https://api.github.com/repos/jasmine/jasmine-npm/issues/145","repository_url":"https://api.github.com/repos/jasmine/jasmine-npm","labels_url":"https://api.github.com/repos/jasmine/jasmine-npm/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/jasmine/jasmine-npm/issues/145/comments","events_url":"https://api.github.com/repos/jasmine/jasmine-npm/issues/145/events","html_url":"https://github.com/jasmine/jasmine-npm/issues/145","id":374689165,"node_id":"MDU6SXNzdWUzNzQ2ODkxNjU=","number":145,"title":"jasmine-npm triggers deprecation warnings in jasmine-core","user":{"login":"sgravrock","id":2879775,"node_id":"MDQ6VXNlcjI4Nzk3NzU=","avatar_url":"https://avatars2.githubusercontent.com/u/2879775?v=4","gravatar_id":"","url":"https://api.github.com/users/sgravrock","html_url":"https://github.com/sgravrock","followers_url":"https://api.github.com/users/sgravrock/followers","following_url":"https://api.github.com/users/sgravrock/following{/other_user}","gists_url":"https://api.github.com/users/sgravrock/gists{/gist_id}","starred_url":"https://api.github.com/users/sgravrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgravrock/subscriptions","organizations_url":"https://api.github.com/users/sgravrock/orgs","repos_url":"https://api.github.com/users/sgravrock/repos","events_url":"https://api.github.com/users/sgravrock/events{/privacy}","received_events_url":"https://api.github.com/users/sgravrock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-27T21:08:17Z","updated_at":"2018-11-22T16:31:37Z","closed_at":null,"author_association":"MEMBER","body":"It looks like jasmine-npm uses a couple of deprecated Env methods. If I install it in an empty directory, run `jasmine init`, and then run `jasmine`, I get a couple of deprecation warnings:\r\n\r\n```\r\ntunguska:jasmine steve$ yarn add jasmine\r\nyarn add v1.3.2\r\n(node:64721) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\r\ninfo No lockfile found.\r\n[1/4] 🔍  Resolving packages...\r\n[2/4] 🚚  Fetching packages...\r\n[3/4] 🔗  Linking dependencies...\r\n[4/4] 📃  Building fresh packages...\r\nsuccess Saved lockfile.\r\nsuccess Saved 13 new dependencies.\r\n├─ balanced-match@1.0.0\r\n├─ brace-expansion@1.1.11\r\n├─ concat-map@0.0.1\r\n├─ fs.realpath@1.0.0\r\n├─ glob@7.1.3\r\n├─ inflight@1.0.6\r\n├─ inherits@2.0.3\r\n├─ jasmine-core@3.3.0\r\n├─ jasmine@3.3.0\r\n├─ minimatch@3.0.4\r\n├─ once@1.4.0\r\n├─ path-is-absolute@1.0.1\r\n└─ wrappy@1.0.2\r\n✨  Done in 0.98s.\r\ntunguska:jasmine steve$ ./node_modules/.bin/jasmine init\r\ntunguska:jasmine steve$ ./node_modules/.bin/jasmine \r\nDEPRECATION: Setting throwOnExpectationFailure directly on Env is deprecated, please use the oneFailurePerSpec option in `configure`\r\nDEPRECATION: Setting randomizeTests directly is deprecated, please use the random option in `configure`\r\n[...]\r\n```"},"comment":{"url":"https://api.github.com/repos/jasmine/jasmine-npm/issues/comments/441079081","html_url":"https://github.com/jasmine/jasmine-npm/issues/145#issuecomment-441079081","issue_url":"https://api.github.com/repos/jasmine/jasmine-npm/issues/145","id":441079081,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTA3OTA4MQ==","user":{"login":"didaquis","id":6883041,"node_id":"MDQ6VXNlcjY4ODMwNDE=","avatar_url":"https://avatars1.githubusercontent.com/u/6883041?v=4","gravatar_id":"","url":"https://api.github.com/users/didaquis","html_url":"https://github.com/didaquis","followers_url":"https://api.github.com/users/didaquis/followers","following_url":"https://api.github.com/users/didaquis/following{/other_user}","gists_url":"https://api.github.com/users/didaquis/gists{/gist_id}","starred_url":"https://api.github.com/users/didaquis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/didaquis/subscriptions","organizations_url":"https://api.github.com/users/didaquis/orgs","repos_url":"https://api.github.com/users/didaquis/repos","events_url":"https://api.github.com/users/didaquis/events{/privacy}","received_events_url":"https://api.github.com/users/didaquis/received_events","type":"User","site_admin":false},"created_at":"2018-11-22T16:31:37Z","updated_at":"2018-11-22T16:31:37Z","author_association":"NONE","body":"> I changed \"random\": false to \"randomizeTests\": false and fixed things up for me.\r\n\r\nI did this, but now test are executing in random mode. I have setted to `false`! "}}
{"actor":{"display_login":"didaquis"}}