{"id":17109007,"url":"https://github.com/reklatsmasters/trace-inline-parse","last_synced_at":"2026-04-19T17:02:39.354Z","repository":{"id":57378606,"uuid":"81597081","full_name":"reklatsmasters/trace-inline-parse","owner":"reklatsmasters","description":"Parser of `--trace-inlining` output from Crankshaft","archived":false,"fork":false,"pushed_at":"2017-02-14T17:46:40.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T12:09:03.884Z","etag":null,"topics":["debug","inline","inlining","js","node","nodejs","parse","parser","perfomance","tools","trace","v8"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reklatsmasters.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-10T19:01:03.000Z","updated_at":"2017-02-21T23:37:13.000Z","dependencies_parsed_at":"2022-09-26T16:41:37.967Z","dependency_job_id":null,"html_url":"https://github.com/reklatsmasters/trace-inline-parse","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/reklatsmasters/trace-inline-parse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reklatsmasters%2Ftrace-inline-parse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reklatsmasters%2Ftrace-inline-parse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reklatsmasters%2Ftrace-inline-parse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reklatsmasters%2Ftrace-inline-parse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reklatsmasters","download_url":"https://codeload.github.com/reklatsmasters/trace-inline-parse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reklatsmasters%2Ftrace-inline-parse/sbom","scorecard":{"id":769673,"data":{"date":"2025-08-11","repo":{"name":"github.com/reklatsmasters/trace-inline-parse","commit":"e029463fd6a08d7849c823ed1c3379878b30e8f2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/9 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-832h-xg76-4gv6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T01:53:26.991Z","repository_id":57378606,"created_at":"2025-08-23T01:53:26.991Z","updated_at":"2025-08-23T01:53:26.991Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272267704,"owners_count":24903759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debug","inline","inlining","js","node","nodejs","parse","parser","perfomance","tools","trace","v8"],"created_at":"2024-10-14T16:06:59.351Z","updated_at":"2026-04-19T17:02:34.307Z","avatar_url":"https://github.com/reklatsmasters.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## trace-inline-parse [![Build Status](https://travis-ci.org/ReklatsMasters/trace-inline-parse.svg?branch=master)](https://travis-ci.org/ReklatsMasters/trace-inline-parse) [![npm](https://img.shields.io/npm/v/trace-inline-parse.svg)](https://npmjs.org/package/trace-inline-parse) [![license](https://img.shields.io/npm/l/trace-inline-parse.svg)](https://npmjs.org/package/trace-inline-parse) [![downloads](https://img.shields.io/npm/dm/trace-inline-parse.svg)](https://npmjs.org/package/trace-inline-parse)\n\nParser of `--trace-inlining` output from [Crankshaft](https://github.com/nodejs/node/blob/24ef1e67757514db9ee1aeded555d4fb336ca817/deps/v8/src/crankshaft/hydrogen.cc#L8121)\n\n### example output from Crankshaft\n\n```\nInlining builtin 000002F5B86C1BE9 \u003cJS Function charCodeAt (SharedFunctionInfo 000002F5B8657279)\u003e\nInlined isNaN called from adjustOffset.\nInlined get length called from slice.\nDid not inline parse_int called from next_str (target text too big).\n```\n\n### Usage\n\n```js\nconst parser = require('trace-inline-parse')\n\nconsole.log(parser('Inlined isNaN called from adjustOffset.'))\n/*\n{\n  target: {\n    name: 'isNaN',\n    accessor: false\n  },\n  caller: {\n    name: 'adjustOffset',\n    accessor: false\n  },\n  type: 'func',\n  inlined: true,\n  tailcall: false\n}\n*/\n\nconsole.log(parser('Did not inline get foo called from (target text too big).'))\n/*\n{\n  target: {\n    name: 'foo',\n    accessor: 'get'\n  },\n  caller: false,\n  type: 'func',\n  inlined: false,\n  reason: 'target text too big'\n}\n*/\nconsole.log(parser('Inlining builtin 000002F5B86C1BE9 \u003cJS Function charCodeAt (SharedFunctionInfo 000002F5B8657279)\u003e'))\n/*\n{\n  target: {\n    name: 'charCodeAt',\n    accessor: false\n  },\n  caller: false,\n  type: 'native',\n  inlined: true,\n  place: 'builtin',\n  address: '000002F5B86C1BE9'\n}\n*/\n```\n\n## API\n\n##### `parser(line: string): Node|undefined`\n\nParse a line and return `Node` object.\n\n#### Node\n\n##### `target: FUNC_NODE  | false`\n\nprocessed function; equals `false` if function name is empty\n\n##### `caller: FUNC_NODE | false`\n\nparent function; equals `false` if function name is empty\n\n##### `type: 'func' | 'native'`\n\ntype of processed function: 'func' for plain js functions, 'native' for any native functions\n\n##### `inlined: bool`\n\nIs node inlined or not?\n\n##### `tailcall: bool`\n\nWas function [tail call](http://www.2ality.com/2015/06/tail-call-optimization.html) optimized or not?\n\n##### `place: 'api' | 'builtin'`\n\nplace of native inlined function: `builtin` for any internal V8 functions, `api` for any native nodejs function\n\n##### `address: string`\n\naddress of native function\n\n##### `reason: string`\n\nwhy function wasn't inlined?\n\n#### FUNC_NODE\n\n##### `name: string`\n\nName of function\n\n##### `accessor: bool`\n\n`get` for getters, `set` for setters, `false` for any other functions\n\n## License\nMIT, 2017 (c) Dmitry Tsvettsikh\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freklatsmasters%2Ftrace-inline-parse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freklatsmasters%2Ftrace-inline-parse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freklatsmasters%2Ftrace-inline-parse/lists"}