{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,4]],"date-time":"2026-11-04T19:57:44Z","timestamp":1793822264142,"version":"4.6.1"},"reference-count":45,"publisher":"Association for Computing Machinery (ACM)","issue":"6","license":[{"start":{"date-parts":[[2023,9,29]],"date-time":"2023-09-29T00:00:00Z","timestamp":1695945600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2023,11,30]]},"abstract":"<jats:p>Managing project dependencies is a key maintenance issue in software development. Developers need to choose an update strategy that allows them to receive important updates and fixes while protecting them from breaking changes. Semantic Versioning was proposed to address this dilemma, but many have opted for more restrictive or permissive alternatives. This empirical study explores the association between package characteristics and the dependency update strategy selected by its dependents to understand how developers select and change their update strategies. We study over 112,000 Node Package Manager (npm) packages and use 19 characteristics to build a prediction model that identifies the common dependency update strategy for each package. Our model achieves a minimum improvement of 72% over the baselines and is much better aligned with community decisions than the npm default strategy. We investigate how different package characteristics can influence the predicted update strategy and find that dependent count, age, and release status to be the highest influencing features. We complement the work with qualitative analyses of 160 packages to investigate the evolution of update strategies. While the common update strategy remains consistent for many packages, certain events such as the release of the 1.0.0 version or breaking changes influence the selected update strategy over time.<\/jats:p>","DOI":"10.1145\/3603110","type":"journal-article","created":{"date-parts":[[2023,6,1]],"date-time":"2023-06-01T11:00:46Z","timestamp":1685617246000},"page":"1-29","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":19,"title":["Dependency Update Strategies and Package Characteristics"],"prefix":"10.1145","volume":"32","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-3044-736X","authenticated-orcid":false,"given":"Abbas","family":"Javan Jafari","sequence":"first","affiliation":[{"name":"Data-driven Analysis of Software (DAS) Lab at the Department of Computer Science and Software Engineering, Concordia University, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7084-2594","authenticated-orcid":false,"given":"Diego Elias","family":"Costa","sequence":"additional","affiliation":[{"name":"LATECE Lab at the Department of Computer Science, Universit\u00e9 du Qu\u00e9bec \u00e0 Montr\u00e9al (UQAM), Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1285-9878","authenticated-orcid":false,"given":"Emad","family":"Shihab","sequence":"additional","affiliation":[{"name":"Data-driven Analysis of Software (DAS) Lab at the Department of Computer Science and Software Engineering, Concordia University, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9914-5434","authenticated-orcid":false,"given":"Rabe","family":"Abdalkareem","sequence":"additional","affiliation":[{"name":"Department of Computer Science at the Faculty of Science, Omar Al-Mukhtar University, Libya"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,9,29]]},"reference":[{"key":"e_1_3_2_2_2","doi-asserted-by":"publisher","DOI":"10.5555\/2664446.2664470"},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-021-10072-8"},{"key":"e_1_3_2_4_2","unstructured":"Christopher Bogart Anna Filippova Christian K\u00e4stner and James Herbsleb. 2017. How Ecosystem Cultures Differ: Results from a Survey on Values and Practices Across 18 Software Ecosystems. Retrieved October 16 2020 from http:\/\/breakingapis.org\/survey\/."},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/2950290.2950325"},{"key":"e_1_3_2_6_2","unstructured":"Daniel Chatfield. 2014. Fix the Versioning. Retrieved October 16 2020 from https:\/\/github.com\/jashkenas\/underscore\/issues\/1805."},{"key":"e_1_3_2_7_2","article-title":"On the lag of library vulnerability updates: An investigation into the repackage and delivery of security fixes within the npm JavaScript ecosystem","author":"Chinthanet Bodin","year":"2019","unstructured":"Bodin Chinthanet, Raula Gaikovina Kula, Takashi Ishio, Akinori Ihara, and Kenichi Matsumoto. 2019. On the lag of library vulnerability updates: An investigation into the repackage and delivery of security fixes within the npm JavaScript ecosystem. arXiv:1907.03407. Retrieved from https:\/\/arxiv.org\/abs\/1907.03407.","journal-title":"arXiv:1907.03407"},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2021.3068901"},{"key":"e_1_3_2_9_2","unstructured":"Catalin Cimpanu. 2021. Malware Found in Npm Package with Millions of Weekly Downloads. Retrieved from https:\/\/therecord.media\/malware-found-in-npm-package-with-millions-of-weekly-downloads."},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-021-09980-6"},{"key":"e_1_3_2_11_2","article-title":"An empirical study of dependency downgrades in the npm ecosystem","author":"Cogo Filipe Roseiro","year":"2019","unstructured":"Filipe Roseiro Cogo, Gustavo Ansaldi Oliva, and Ahmed E. Hassan. 2019. An empirical study of dependency downgrades in the npm ecosystem. IEEE Trans. Softw. Eng. (2019).","journal-title":"IEEE Trans. Softw. Eng."},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2015.140"},{"key":"e_1_3_2_13_2","article-title":"What do package dependencies tell us about semantic versioning?","author":"Decan Alexandre","year":"2019","unstructured":"Alexandre Decan and Tom Mens. 2019. What do package dependencies tell us about semantic versioning? IEEE Trans. Softw. Eng. (2019).","journal-title":"IEEE Trans. Softw. Eng."},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2021.102656"},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME.2018.00050"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3196398.3196401"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-017-9589-y"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1109\/MSR.2019.00061"},{"key":"e_1_3_2_19_2","unstructured":"NPM Documentation. 2019. npm-package.json. Retrieved October 2019 from https:\/\/docs.npmjs.com\/files\/package.json."},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.5555\/3378999"},{"key":"e_1_3_2_21_2","unstructured":"Github. 2021. Security Issue: Compromised Npm Packages of Ua-parser-js. Retrieved from https:\/\/github.com\/faisalman\/ua-parser-js\/issues\/536."},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/2501585.2501586"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2021.3106247"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.5643627"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-017-9521-5"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/3368089.3409711"},{"key":"e_1_3_2_27_2","unstructured":"Libraries.io. 2020. The Npm Ecosystem. Retrieved August 2021 from https:\/\/libraries.io\/npm."},{"key":"e_1_3_2_28_2","unstructured":"Libraries.io. 2020. Overview and Documentation. Retrieved August 2021 from https:\/\/docs.libraries.io\/overview.html."},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1109\/52.311048"},{"key":"e_1_3_2_30_2","unstructured":"Fiona MacDonald. 2018. How a Programmer Nearly Broke The Internet by Deleting Just 11 Lines of Code. Retrieved from https:\/\/www.sciencealert.com\/how-a-programmer-almost-broke-the-internet-by-deleting-11-lines-of-code."},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","DOI":"10.5555\/998675.999433"},{"key":"e_1_3_2_32_2","unstructured":"Christoph Molnar. 2020. Interpretable Machine Learning . Lulu.com."},{"key":"e_1_3_2_33_2","unstructured":"NLTK. 2022. Collocations Documentation. Retrieved August 2021 from http:\/\/www.nltk.org\/howto\/collocations.html."},{"key":"e_1_3_2_34_2","unstructured":"npm. 2022. About Semantic Versioning. Retrieved from https:\/\/docs.npmjs.com\/about-semantic-versioning."},{"key":"e_1_3_2_35_2","unstructured":"npm. 2022. The Npm Registry. Retrieved from https:\/\/www.npmjs.com\/."},{"key":"e_1_3_2_36_2","unstructured":"Tim Oxley. 2014. Semver: Tilde and Caret. Retrieved March 22 2021 from https:\/\/nodesource.com\/blog\/semver-tilde-and-caret."},{"key":"e_1_3_2_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/3372297.3417232"},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-021-09959-3"},{"key":"e_1_3_2_39_2","unstructured":"Tom Preston-Werner. 2019. Semantic Versioning 2.0. Retrieved November 2019 from https:\/\/semver.org\/."},{"key":"e_1_3_2_40_2","unstructured":"Scikit-learn. 2020. Permutation Importance vs Random Forest Feature Importance. Retrieved June 2021 from https:\/\/scikit-learn.org\/stable\/auto_examples\/inspection\/plot_permutation_importance.html."},{"key":"e_1_3_2_41_2","unstructured":"snyk. 2022. snykAdvisor. Retrieved from https:\/\/snyk.io\/advisor\/."},{"key":"e_1_3_2_42_2","unstructured":"Sonatype. 2021. 2021 State of the Software Supply Chain. Retrieved https:\/\/www.sonatype.com\/hubfs\/SSSC-Report-2021_0913_PM_2.pdf?hsLang=en-us."},{"key":"e_1_3_2_43_2","unstructured":"Tidelift. 2022. The 2022 Open Source Software Supply Chain Survey Report. Retrieved from https:\/\/tidelift.com\/2022-open-source-software-supply-chain-survey."},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/2901739.2901743"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-90421-4_6"},{"key":"e_1_3_2_46_2","article-title":"Small world with high risks: A study of security threats in the npm ecosystem.","author":"Zimmermann Markus","year":"2019","unstructured":"Markus Zimmermann, Cristian-Alexandru Staicu, Cam Tenny, and Michael Pradel. 2019. Small world with high risks: A study of security threats in the npm ecosystem. In Proceedings of the USENIX Security Symposium.","journal-title":"Proceedings of the USENIX Security Symposium"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3603110","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3603110","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T22:29:51Z","timestamp":1750285791000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3603110"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,9,29]]},"references-count":45,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2023,11,30]]}},"alternative-id":["10.1145\/3603110"],"URL":"https:\/\/doi.org\/10.1145\/3603110","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,9,29]]},"assertion":[{"value":"2022-05-18","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2023-05-02","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2023-09-29","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}