{ "id": "172630", "key": "TIMOB-26571", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-04-15T15:15:18.000+0000", "created": "2018-11-16T16:12:35.000+0000", "epic": { "id": 172628, "key": "TIMOB-26570", "name": "Node Compatibility", "summary": "Node compatibility and developer experience", "color": { "key": "color_3" }, "done": false }, "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2019-06-26T12:43:15.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "Node has a top-level global {{process}} object which we should attempt to emulate to some degree. A large amount of it's API is not particularly relevant to us, but for compatibility reasons we should support/expose it and try to implement as much as we can that makes sense.\r\n\r\nhttps://nodejs.org/api/process.html\r\n\r\nNotable are:\r\n- process.arch - equivalent to {{Ti.Platform.architecture}}\r\n- process.cwd()\r\n- process.debugPort\r\n- process.hrtime([time])\r\n- process.mainModule\r\n- process.memoryUsage()\r\n- process.nextTick(callback[, ...args])\r\n- process.pid\r\n- process.platform - Probably equivalent to {{Ti.Platform.name}}\r\n- process.release\r\n- process.setUncaughtExceptionCaptureCallback(fn)\r\n- process.stderr\r\n- process.stdin\r\n- process.stdout\r\n- process.title\r\n- process.uptime()\r\n- process.version - Equivalent to {{Ti.version}}\r\n- process.versions\r\n", "attachment": [], "flagged": false, "summary": "TiAPI: Global process object compatible with Node.js", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 1128, "state": "closed", "name": "2019 Sprint 9", "startDate": "2019-04-14T19:05:00.000Z", "endDate": "2019-04-26T19:05:00.000Z", "completeDate": "2019-04-26T22:05:13.933Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "443708", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "\"setUncaughtExceptionCaptureCallback\" could reuse the API for the {{Ti.App}} event [{{uncaughtException}}|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.App-event-uncaughtException].", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-11-16T19:47:36.000+0000", "updated": "2018-11-16T19:47:36.000+0000" }, { "id": "447239", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/10782", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-03-27T18:50:44.000+0000", "updated": "2019-03-27T18:50:44.000+0000" }, { "id": "449366", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*, feature verified in SDK version {{8.1.0.v20190619134801}} and SDK version {{8.2.0.v20190624144716}}. Tested using some of the examples from https://nodejs.org/api/process.html. \r\n\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile/pull/10782", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-06-26T12:43:15.000+0000", "updated": "2019-06-26T12:43:15.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }