{"id":41494742,"url":"https://github.com/theasci/extendscript-logger","last_synced_at":"2026-01-23T18:39:44.958Z","repository":{"id":35175564,"uuid":"215811586","full_name":"theasci/extendscript-logger","owner":"theasci","description":"Logging for Adobe ExtendScript capable applications","archived":false,"fork":false,"pushed_at":"2022-07-07T13:14:09.000Z","size":42,"stargazers_count":7,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-26T14:18:53.363Z","etag":null,"topics":["adobe","extendscript","logger","logging"],"latest_commit_sha":null,"homepage":null,"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/theasci.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-17T14:23:17.000Z","updated_at":"2022-10-07T07:18:34.000Z","dependencies_parsed_at":"2022-07-27T19:49:48.844Z","dependency_job_id":null,"html_url":"https://github.com/theasci/extendscript-logger","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/theasci/extendscript-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasci%2Fextendscript-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasci%2Fextendscript-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasci%2Fextendscript-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasci%2Fextendscript-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theasci","download_url":"https://codeload.github.com/theasci/extendscript-logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theasci%2Fextendscript-logger/sbom","scorecard":{"id":877849,"data":{"date":"2025-08-11","repo":{"name":"github.com/theasci/extendscript-logger","commit":"b14052b14e05f359739b850a2bf652fef660a94d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"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":"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":"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":"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":"Code-Review","score":1,"reason":"Found 3/24 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T06:45:37.246Z","repository_id":35175564,"created_at":"2025-08-24T06:45:37.246Z","updated_at":"2025-08-24T06:45:37.246Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28697546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["adobe","extendscript","logger","logging"],"created_at":"2026-01-23T18:39:44.427Z","updated_at":"2026-01-23T18:39:44.936Z","avatar_url":"https://github.com/theasci.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\nextendscript-logger provides file logging functionality to Adobe applications that can use ExtendScript.\n\n# Installation\n\nSimply install it like any other npm package.\n\n```sh\nnpm install extendscript-logger\n\n```\n\nAdd the following code to any ExtendScript (`*.jsx`) file you want to have a Logger instance available.\n\n```js\nvar Global = Global || {};\nGlobal.rootPath = new File($.fileName).parent;\n$.evalFile(Global.rootPath + '/node_modules/extendscript-logger/index.jsx');\nGlobal.logger = new Logger(Global.rootPath+'/log/test.log', 'DEBUG');\n```\n\n# Usage\n\nLogger provides the following methods for logging output.\n\n```js\nGlobal.logger.debug('Debug message');\nGlobal.logger.info([1, \"Random string\"]);\nGlobal.logger.notice({foo:\"bar\"});\nGlobal.logger.valid('Validations complete.');\nGlobal.logger.warn(\"Danger, Will Robinson!\");\nGlobal.logger.error(\"Crap! Something went wrong.\");\nGlobal.logger.critical(\"DEFCON 1! Seek shelter.\");\n```\n\n# Testing\n\n`npm test` or `test/run`.\n\nOutput should look like:\n\n```\nme@host extendscript-logger|master$ test/run\n2020-03-03T11:44:99|INFO|***************************\n2020-03-03T11:44:00|INFO|Jasmine ExtendScript Runner\n2020-03-03T11:44:00|INFO|***************************\n2020-03-03T11:44:00|WARN|To prevent odd errors, usually methods not being defined, login into Adobe Creative Cloud and verify all modal dialog boxes are closed. If tests are not running as expected, try restarting the application.\n2020-03-03T11:44:00|INFO|Loading all specs in /Users/spyle/projects/extendscript-logger/test/spec\n2020-03-03T11:44:49|INFO|20 specs, 0 failures\n2020-03-03T11:44:49|INFO|Finished in 0.469 seconds\n```\n\n# NPM Release Tasks\n\n1. Update `package.json` version number\n1. `npm install` to update package lock.\n1. Ensure tests pass.\n1. Update `CHANGELOG.md` with changes since last release.\n1. Check them all into the repository.\n1. `git tag -a \u003cversion\u003e -m \u003cversion\u003e; git push --tags`\n1. `npm publish` to deploy the release to npm.\n\n# jasminejsx Cyclical Dependency\n\nWhen making changes to jasminejsx and extendscript-logger that depend on each others (e.g. global variables, libraries), publishing new versions can be tricky. Here is the easiest way I've found to do this:\n\n1. Clone both repositories to your projects directory.\n1. Remove existing `node_modules/extendscript-logger` and `node_modules/jasminejsx` directories.\n1. Symlink the those to the cloned versions:\n    ```sh\n    cd node_modules\n    ln -s ../../jasminejsx\n    ln -s ../.. extendscript-logger\n    ```\n1. Make changes to the cloned repositories.\n1. Ensure tests pass in both repositories.\n1. Release extendscript-logger first (e.g. 0.1.0). Since jasminejsx is a devDependency, it shouldn't break upstream packages. See NPM Release Tasks above.\n1. Release jasminejsx with the new version of extendscript-logger (e.g. 0.2.0). This should be done second as extendscript-logger is a dependency and required to have a working version.\n1. Release a patched version of extendscript-logger with the new version of jasminejsx (e.g. 0.1.1).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheasci%2Fextendscript-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheasci%2Fextendscript-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheasci%2Fextendscript-logger/lists"}