{ "id": "175458", "key": "TIMOB-28094", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "21051", "description": "", "name": "Release 9.2.0", "archived": false, "released": true, "releaseDate": "2020-09-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-08-24T15:01:00.000+0000", "created": "2020-08-22T22:09:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "Node.js", "griffin-app", "polyfill" ], "versions": [ { "id": "21039", "name": "Release 9.0.3", "archived": false, "released": true, "releaseDate": "2020-06-10" } ], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2020-09-08T16:53:16.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": [], "description": "When using some Node.js libraries, they check for valid process using something like \r\n{noformat}\r\n{}.toString.call(process)\r\n{noformat}\r\n\r\nIt is expected that this would return: \r\n{noformat}\r\n[object process]\r\n{noformat}\r\n\r\nbut instead it returns: \r\n{noformat}\r\n[object Object]\r\n{noformat}\r\n\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Polyfill for Node.js process does not return correct toString info", "creator": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": null, "closedSprints": [ { "id": 1204, "state": "closed", "name": "2020 Sprint 17", "startDate": "2020-08-17T15:48:00.000Z", "endDate": "2020-08-28T15:48:00.000Z", "completeDate": "2020-08-31T15:36:28.040Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "456552", "author": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "Created PR: https://github.com/appcelerator/titanium_mobile/pull/11942", "updateAuthor": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2020-08-22T22:23:31.000+0000", "updated": "2020-08-22T22:23:31.000+0000" }, { "id": "456554", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "This only appears to work for me in Node 14 below that it errors with a syntax error (just incase anyone tries to fully repro)", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-08-24T09:23:10.000+0000", "updated": "2020-08-24T09:23:10.000+0000" }, { "id": "456558", "author": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "I don’t think I am running Node.js 14 but I will double check. I thought Symbol.toStringTag was introduced in Node 6. \r\n\r\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag", "updateAuthor": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2020-08-24T12:39:34.000+0000", "updated": "2020-08-24T12:39:34.000+0000" }, { "id": "456559", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "That's funky syntax to get at the root problem (and errors on Node 10.x). You could just do {{process.toString()}}", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-08-24T13:20:12.000+0000", "updated": "2020-08-24T13:20:12.000+0000" }, { "id": "456560", "author": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "Are you talking about change for PR or for the 3rd party libraries we use?", "updateAuthor": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2020-08-24T13:27:20.000+0000", "updated": "2020-08-24T13:27:20.000+0000" }, { "id": "456562", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Merged to master, auto backport to 9_3_X", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-08-24T15:01:00.000+0000", "updated": "2020-08-24T15:01:00.000+0000" }, { "id": "456767", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*. Fix verified in SDK version {{9.2.0.v20200908050955}}, and {{9.3.0.v20200908051946}}.\r\n\r\n*Test and other information can be found at:*\\https://github.com/appcelerator/titanium_mobile/pull/11942", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-08T16:53:03.000+0000", "updated": "2020-09-08T16:53:03.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }