{ "id": "172776", "key": "TIMOB-26669", "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-03-08T20:49:20.000+0000", "created": "2018-12-19T19:41:40.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": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "57083", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "172777", "key": "TIMOB-26670", "fields": { "summary": "TiAPI: Create Node-compatible util module API", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "57785", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "173719", "key": "TIMOB-27131", "fields": { "summary": "TiAPI: Create Node-compatible ws module API", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2019-07-29T14:41:11.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": "It'd be useful to create equivalents of some of the core Node modules in Titanium so that users could port/re-use node codebases on mobile devices. Some of the more common modules could map relatively easily to devices, and would be worth investigating.\r\n\r\nhttps://nodejs.org/api/assert.html", "attachment": [], "flagged": false, "summary": "TiAPI: Create Node-compatible assert module API", "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": 1119, "state": "closed", "name": "2019 Sprint 6", "startDate": "2019-03-03T22:20:00.193Z", "endDate": "2019-03-15T22:20:00.000Z", "completeDate": "2019-03-18T17:26:43.120Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "446322", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/10661", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-02-26T15:24:17.000+0000", "updated": "2019-02-26T15:24:17.000+0000" }, { "id": "449059", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*, featured verified in SDK version {{8.2.0.v20190612155743}} , {{8.1.0.v20190612160220}}. Tested using examples from https://nodejs.org/api/assert.html e.g: \r\n\r\n{code:java}\r\nconst assert = require('assert');\r\n\r\n// Generate an AssertionError to compare the error message later:\r\nconst { message } = new assert.AssertionError({\r\n actual: 1,\r\n expected: 2,\r\n operator: 'strictEqual'\r\n});\r\n\r\n// Verify error output:\r\ntry {\r\n assert.strictEqual(1, 2);\r\n} catch (err) {\r\n assert(err instanceof assert.AssertionError);\r\n assert.strictEqual(err.message, message);\r\n assert.strictEqual(err.name, 'AssertionError');\r\n assert.strictEqual(err.actual, 1);\r\n assert.strictEqual(err.expected, 2);\r\n assert.strictEqual(err.code, 'ERR_ASSERTION');\r\n assert.strictEqual(err.operator, 'strictEqual');\r\n assert.strictEqual(err.generatedMessage, true);\r\n}\r\n{code}\r\n\r\nTest and other information can be found at (Including unit tests): \r\nhttps://github.com/appcelerator/titanium_mobile/pull/10661", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-06-13T14:03:50.000+0000", "updated": "2019-06-13T14:03:50.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }