{"id":13395014,"url":"https://github.com/moment/moment","last_synced_at":"2026-07-10T14:12:41.622Z","repository":{"id":37979434,"uuid":"1424470","full_name":"moment/moment","owner":"moment","description":"Parse, validate, manipulate, and display dates in javascript.","archived":false,"fork":false,"pushed_at":"2024-08-14T17:12:19.000Z","size":22191,"stargazers_count":47952,"open_issues_count":304,"forks_count":6993,"subscribers_count":826,"default_branch":"develop","last_synced_at":"2026-07-06T05:26:14.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"momentjs.com","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/moment.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-03-01T02:46:06.000Z","updated_at":"2026-07-04T09:06:52.000Z","dependencies_parsed_at":"2022-07-12T00:01:39.125Z","dependency_job_id":"6f91c8cd-9649-4fe0-a0f3-5d7b63f8438d","html_url":"https://github.com/moment/moment","commit_stats":{"total_commits":3050,"total_committers":695,"mean_commits":4.388489208633094,"dds":0.7672131147540984,"last_synced_commit":"18aba135ab927ffe7f868ee09276979bed6993a6"},"previous_names":["timrwood/moment"],"tags_count":89,"template":false,"template_full_name":null,"purl":"pkg:github/moment/moment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moment%2Fmoment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moment%2Fmoment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moment%2Fmoment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moment%2Fmoment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moment","download_url":"https://codeload.github.com/moment/moment/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moment%2Fmoment/sbom","scorecard":{"id":657911,"data":{"date":"2025-08-11","repo":{"name":"github.com/moment/moment","commit":"18aba135ab927ffe7f868ee09276979bed6993a6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/npm-grunt.yml:1","Info: no jobLevel write permissions found"],"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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: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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-grunt.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/moment/moment/npm-grunt.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-grunt.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/moment/moment/npm-grunt.yml/develop?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/npm-grunt.yml:27","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 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"}},{"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":"Vulnerabilities","score":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"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-21T15:11:19.057Z","repository_id":37979434,"created_at":"2025-08-21T15:11:19.057Z","updated_at":"2025-08-21T15:11:19.057Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35193842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"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":[],"created_at":"2024-07-30T17:01:39.159Z","updated_at":"2026-07-10T14:12:41.595Z","avatar_url":"https://github.com/moment.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","时间","HarmonyOS","Repository","Javascript","Date","🔧 Utilities \u0026 Miscellaneous","others","GIT 仓库","Date [🔝](#readme)","Web Development","与框架无关的库","Stale","Georgian","日期","JavaScript Libs","📅 Date \u0026 Time","Categories","4. 工具","javascript"],"sub_categories":["Windows Manager","Date \u0026 Time","Runner","日期/时间","Misc","JS Libraries \u0026 Utilities","Internationalization and Localization (i18n/l10n)","运行器","运行器e2e测试","E2E Testing","4.1 Util"],"readme":"# [Moment.js](http://momentjs.com/)\n\n[![NPM version][npm-version-image]][npm-url]\n[![NPM downloads][npm-downloads-image]][npm-downloads-url]\n[![MIT License][license-image]][license-url]\n[![Build Status][travis-image]][travis-url]\n[![Coverage Status][coveralls-image]][coveralls-url]\n[![FOSSA Status][fossa-badge-image]][fossa-badge-url]\n[![SemVer compatibility][semver-image]][semver-url]\n\nA JavaScript date library for parsing, validating, manipulating, and formatting dates.\n\n## Project Status\n\nMoment.js is a legacy project, now in maintenance mode.  In most cases, you should choose a different library.\n\nFor more details and recommendations, please see [Project Status](https://momentjs.com/docs/#/-project-status/) in the docs.\n\n*Thank you.*\n\n## Resources\n\n- [Documentation](https://momentjs.com/docs/)\n- [Changelog](CHANGELOG.md)\n- [Stack Overflow](https://stackoverflow.com/questions/tagged/momentjs)\n\n## License\n\nMoment.js is freely distributable under the terms of the [MIT license][license-url].\n\n[![FOSSA Status][fossa-large-image]][fossa-large-url]\n\n[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat\n[license-url]: LICENSE\n\n[npm-url]: https://npmjs.org/package/moment\n[npm-version-image]: https://img.shields.io/npm/v/moment.svg?style=flat\n\n[npm-downloads-image]: https://img.shields.io/npm/dm/moment.svg?style=flat\n[npm-downloads-url]: https://npmcharts.com/compare/moment?minimal=true\n\n[travis-url]: https://travis-ci.org/moment/moment\n[travis-image]: https://img.shields.io/travis/moment/moment/develop.svg?style=flat\n\n[coveralls-image]: https://coveralls.io/repos/moment/moment/badge.svg?branch=develop\n[coveralls-url]: https://coveralls.io/r/moment/moment?branch=develop\n\n[fossa-badge-image]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment.svg?type=shield\n[fossa-badge-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment?ref=badge_shield\n\n[fossa-large-image]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment.svg?type=large\n[fossa-large-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment?ref=badge_large\n\n[semver-image]: https://api.dependabot.com/badges/compatibility_score?dependency-name=moment\u0026package-manager=npm_and_yarn\u0026version-scheme=semver\n[semver-url]: https://dependabot.com/compatibility-score.html?dependency-name=moment\u0026package-manager=npm_and_yarn\u0026version-scheme=semver\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoment%2Fmoment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoment%2Fmoment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoment%2Fmoment/lists"}