{"id":304535,"date":"2020-03-04T16:39:54","date_gmt":"2020-03-04T23:39:54","guid":{"rendered":"https:\/\/css-tricks.com\/?p=304535"},"modified":"2020-03-04T16:39:56","modified_gmt":"2020-03-04T23:39:56","slug":"javascript-libraries-are-almost-never-updated-once-installed","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/javascript-libraries-are-almost-never-updated-once-installed\/","title":{"rendered":"JavaScript Libraries Are Almost Never Updated Once Installed"},"content":{"rendered":"\n

Some commentary from Zack Bloom on the Cloudflare Blog<\/a>, looking at requests to CDNJS<\/a> for versions of jQuery. <\/p>\n\n\n\n

What we don\u2019t see is a decline in our old versions which come close to the volume of growth of new versions when they\u2019re released. In fact the release of 3.4.1, as popular as it quickly becomes, doesn\u2019t change the trend of old version deprecation at all.<\/p><\/blockquote>\n\n\n\n

Sorta makes sense. We make CDNJS easy to use at CodePen<\/a>, where people can quickly search for, find, and add libraries like jQuery to Pens. I very much doubt most users are rushing back to their old Pens to update versions when a new jQuery comes out. <\/p>\n\n\n\n

And upgrading versions is hard and scary on large sites. I saw an Instagram from someone at Etsy (the photo is private) commemorating their upcoming upgrade off of jQuery 1.8.2, which is eight years old! <\/p>\n","protected":false},"excerpt":{"rendered":"

Some commentary from Zack Bloom on the Cloudflare Blog, looking at requests to CDNJS for versions of jQuery. What we don\u2019t see is a decline in our old versions which come close to the volume of growth of new versions when they\u2019re released. In fact the release of 3.4.1, as popular as it quickly becomes, […]<\/p>\n","protected":false},"author":3,"featured_media":304572,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[17],"tags":[265,885],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2020\/03\/js-library-updates-jquery.png?fit=1200%2C600&ssl=1","jetpack-related-posts":[{"id":372485,"url":"https:\/\/css-tricks.com\/removing-jquery-from-gov-uk\/","url_meta":{"origin":304535,"position":0},"title":"Removing jQuery from GOV.UK","date":"August 23, 2022","format":false,"excerpt":"The GOV.UK team recently published \"How and why we removed jQuery from GOV.UK\". This was an insightful look at how an organization can assess its tooling and whether something is still the best tool for the job. This is not a nudge to strip libraries out of your current project\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2022\/08\/govuk-jquery-featured-image.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":7254,"url":"https:\/\/css-tricks.com\/new-poll-multiple-javascript-libraries\/","url_meta":{"origin":304535,"position":1},"title":"New Poll: Multiple JavaScript Libraries","date":"August 24, 2010","format":false,"excerpt":"Have you ever tried to debug a site where a beginner web designer has loaded the page with scripts? There's a couple copies of jQuery in various versions, maybe a little Prototype or MooTools thrown in. We can laugh a bit, but many of us went through that stage where\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":189389,"url":"https:\/\/css-tricks.com\/whats-great-bower\/","url_meta":{"origin":304535,"position":2},"title":"What’s So Great About Bower?","date":"November 28, 2014","format":false,"excerpt":"The following is a guest post by Dan Sundy from Helios Design Labs. Dan is both going to explain how to use Bower and make a case for doing so, from the perspective of someone who resisted the idea at first. When I first started working with Bower I didn't\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":333758,"url":"https:\/\/css-tricks.com\/algolia\/","url_meta":{"origin":304535,"position":3},"title":"Algolia","date":"February 4, 2021","format":false,"excerpt":"Algolia is for search. Literally any website can take advantage of Algolia-powered search. You put JSON data (\"records\") in, and then you can search them at lightning speed. The magic of Algolia is that they help you with both of those things: getting data in and getting search results out.\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/02\/Algolia-Series-B-announcement.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2282,"url":"https:\/\/css-tricks.com\/simple-jquery-dropdowns\/","url_meta":{"origin":304535,"position":4},"title":"Simple jQuery Dropdowns","date":"February 25, 2009","format":false,"excerpt":"There are lots of dropdown menus already out there. I'm not really trying to reinvent the wheel here, but I wanted to try to do something slightly different by making them as dead simple as possible. Very stripped down code and minimal styling, yet still have all the functionality typically\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/csstricks-uploads\/dropdownspic.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":263979,"url":"https:\/\/css-tricks.com\/jquery-still-relevant-2\/","url_meta":{"origin":304535,"position":5},"title":"Is jQuery still relevant?","date":"December 17, 2017","format":false,"excerpt":"Part of Remy Sharp's argument that jQuery is still relevant is this incredible usage data: I've been playing with BigQuery and querying HTTP Archive's dataset ... I've queried the HTTP Archive and included the top 20 [JavaScript libraries] ... jQuery accounts for a massive 83% of libraries found on the\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/304535"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=304535"}],"version-history":[{"count":3,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/304535\/revisions"}],"predecessor-version":[{"id":304571,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/304535\/revisions\/304571"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media\/304572"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=304535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=304535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=304535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}