{"id":23520587,"url":"https://github.com/eldemcan/yarn_lock","last_synced_at":"2025-04-19T18:04:26.453Z","repository":{"id":56899046,"uuid":"272442486","full_name":"eldemcan/yarn_lock","owner":"eldemcan","description":"yarn.lock parser ported from js to ruby","archived":false,"fork":false,"pushed_at":"2024-02-21T22:24:17.000Z","size":26,"stargazers_count":4,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-01T02:42:51.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/eldemcan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-15T13:11:18.000Z","updated_at":"2023-04-01T12:14:23.000Z","dependencies_parsed_at":"2022-08-21T02:20:47.622Z","dependency_job_id":null,"html_url":"https://github.com/eldemcan/yarn_lock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldemcan%2Fyarn_lock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldemcan%2Fyarn_lock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldemcan%2Fyarn_lock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldemcan%2Fyarn_lock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eldemcan","download_url":"https://codeload.github.com/eldemcan/yarn_lock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231254747,"owners_count":18348525,"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","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-12-25T16:14:28.852Z","updated_at":"2024-12-25T16:14:29.396Z","avatar_url":"https://github.com/eldemcan.png","language":"Ruby","readme":"# YarnLockParser\n\nThis gem is used for parsing yarn.lock files. It is ported from [yarn repository](https://github.com/yarnpkg/yarn/blob/master/src/lockfile/parse.js)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'yarn_lock_parser'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install yarn_lock_parser\n\n## Usage\n\n```ruby\n res = YarnLockParser::Parser.parse('spec/fixtures/long_yarn.lock')\n\n[{:name=\u003e\"accepts\", :version=\u003e\"1.3.7\"}, {:name=\u003e\"array-flatten\", :version=\u003e\"1.1.1\"},\n {:name=\u003e\"body-parser\", :version=\u003e\"1.19.0\"}, {:name=\u003e\"bytes\", :version=\u003e\"3.1.0\"},\n {:name=\u003e\"content-disposition\", :version=\u003e\"0.5.3\"}, {:name=\u003e\"content-type\", :version=\u003e\"1.0.4\"},\n {:name=\u003e\"cookie-signature\", :version=\u003e\"1.0.6\"}, {:name=\u003e\"cookie\", :version=\u003e\"0.4.0\"}, {:name=\u003e\"debug\", :version=\u003e\"2.6.9\"}, {:name=\u003e\"depd\", :version=\u003e\"1.1.2\"}, {:name=\u003e\"destroy\", :version=\u003e\"1.0.4\"}, {:name=\u003e\"ee-first\", :version=\u003e\"1.1.1\"}, {:name=\u003e\"encodeurl\", :version=\u003e\"1.0.2\"}, {:name=\u003e\"escape-html\", :version=\u003e\"1.0.3\"}, {:name=\u003e\"etag\", :version=\u003e\"1.8.1\"}, {:name=\u003e\"express\", :version=\u003e\"4.17.1\"}, {:name=\u003e\"finalhandler\", :version=\u003e\"1.1.2\"}, {:name=\u003e\"forwarded\", :version=\u003e\"0.1.2\"}, {:name=\u003e\"fresh\", :version=\u003e\"0.5.2\"}, {:name=\u003e\"http-errors\", :version=\u003e\"1.7.2\"}, {:name=\u003e\"http-errors\", :version=\u003e\"1.7.3\"}, {:name=\u003e\"iconv-lite\", :version=\u003e\"0.4.24\"}, {:name=\u003e\"inherits\", :version=\u003e\"2.0.3\"}, {:name=\u003e\"inherits\", :version=\u003e\"2.0.4\"}, {:name=\u003e\"ipaddr.js\", :version=\u003e\"1.9.1\"}, {:name=\u003e\"jquery\", :version=\u003e\"3.4.0\"}, {:name=\u003e\"media-typer\", :version=\u003e\"0.3.0\"}, {:name=\u003e\"merge-descriptors\", :version=\u003e\"1.0.1\"}, {:name=\u003e\"methods\", :version=\u003e\"1.1.2\"}, {:name=\u003e\"mime-db\", :version=\u003e\"1.43.0\"}, {:name=\u003e\"mime-types\", :version=\u003e\"2.1.26\"}, {:name=\u003e\"mime\", :version=\u003e\"1.6.0\"}, {:name=\u003e\"ms\", :version=\u003e\"2.0.0\"}, {:name=\u003e\"ms\", :version=\u003e\"2.1.1\"}, {:name=\u003e\"negotiator\", :version=\u003e\"0.6.2\"}, {:name=\u003e\"on-finished\", :version=\u003e\"2.3.0\"}, {:name=\u003e\"parseurl\", :version=\u003e\"1.3.3\"}, {:name=\u003e\"path-to-regexp\", :version=\u003e\"0.1.7\"}, {:name=\u003e\"proxy-addr\", :version=\u003e\"2.0.6\"}, {:name=\u003e\"qs\", :version=\u003e\"6.7.0\"}, {:name=\u003e\"range-parser\", :version=\u003e\"1.2.1\"}, {:name=\u003e\"raw-body\", :version=\u003e\"2.4.0\"}, {:name=\u003e\"safe-buffer\", :version=\u003e\"5.1.2\"}, {:name=\u003e\"safer-buffer\", :version=\u003e\"2.1.2\"}, {:name=\u003e\"send\", :version=\u003e\"0.17.1\"}, {:name=\u003e\"serve-static\", :version=\u003e\"1.14.1\"}, {:name=\u003e\"setprototypeof\", :version=\u003e\"1.1.1\"}, {:name=\u003e\"statuses\", :version=\u003e\"1.5.0\"}, {:name=\u003e\"toidentifier\", :version=\u003e\"1.0.0\"},...]\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/eldemcan/yarn_lock_parser. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/eldemcan/yarn_lock_parser/blob/master/CODE_OF_CONDUCT.md).\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the YarnLockParser project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/yarn_lock_parser/blob/master/CODE_OF_CONDUCT.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldemcan%2Fyarn_lock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feldemcan%2Fyarn_lock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldemcan%2Fyarn_lock/lists"}